@bahmni/services 0.0.1-dev.214 → 0.0.1-dev.216

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 pi } from "react-i18next";
2
- import { useTranslation as Uv } from "react-i18next";
2
+ import { useTranslation as Mv } from "react-i18next";
3
3
  import { useRef as bn, useCallback as Wr, useEffect as _n } from "react";
4
4
  function aa(e, t) {
5
5
  return function() {
@@ -100,7 +100,7 @@ const Li = (e, t, r, { allOwnKeys: n } = {}) => (Ot(
100
100
  });
101
101
  },
102
102
  { allOwnKeys: n }
103
- ), e), ki = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), xi = (e, t, r, n) => {
103
+ ), e), ki = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ui = (e, t, r, n) => {
104
104
  e.prototype = Object.create(t.prototype, n), Object.defineProperty(e.prototype, "constructor", {
105
105
  value: e,
106
106
  writable: !0,
@@ -109,7 +109,7 @@ const Li = (e, t, r, { allOwnKeys: n } = {}) => (Ot(
109
109
  }), Object.defineProperty(e, "super", {
110
110
  value: t.prototype
111
111
  }), r && Object.assign(e.prototype, r);
112
- }, Ui = (e, t, r, n) => {
112
+ }, xi = (e, t, r, n) => {
113
113
  let s, o, a;
114
114
  const i = {};
115
115
  if (t = t || {}, e == null) return t;
@@ -240,8 +240,8 @@ const Qi = (e) => {
240
240
  extend: Li,
241
241
  trim: Ci,
242
242
  stripBOM: ki,
243
- inherits: xi,
244
- toFlatObject: Ui,
243
+ inherits: Ui,
244
+ toFlatObject: xi,
245
245
  kindOf: Cr,
246
246
  kindOfTest: $e,
247
247
  endsWith: qi,
@@ -1205,7 +1205,7 @@ const Sa = (e) => {
1205
1205
  const { signal: c } = n;
1206
1206
  return c.unsubscribe = () => I.asap(i), c;
1207
1207
  }
1208
- }, xc = function* (e, t) {
1208
+ }, Uc = function* (e, t) {
1209
1209
  let r = e.byteLength;
1210
1210
  if (r < t) {
1211
1211
  yield e;
@@ -1214,9 +1214,9 @@ const Sa = (e) => {
1214
1214
  let n = 0, s;
1215
1215
  for (; n < r; )
1216
1216
  s = n + t, yield e.slice(n, s), n = s;
1217
- }, Uc = async function* (e, t) {
1217
+ }, xc = async function* (e, t) {
1218
1218
  for await (const r of qc(e))
1219
- yield* xc(r, t);
1219
+ yield* Uc(r, t);
1220
1220
  }, qc = async function* (e) {
1221
1221
  if (e[Symbol.asyncIterator]) {
1222
1222
  yield* e;
@@ -1234,7 +1234,7 @@ const Sa = (e) => {
1234
1234
  await t.cancel();
1235
1235
  }
1236
1236
  }, is = (e, t, r, n) => {
1237
- const s = Uc(e, t);
1237
+ const s = xc(e, t);
1238
1238
  let o = 0, a, i = (c) => {
1239
1239
  a || (a = !0, n && n(c));
1240
1240
  };
@@ -1397,13 +1397,13 @@ const Sa = (e) => {
1397
1397
  );
1398
1398
  }
1399
1399
  R = R || "text";
1400
- let x = await m[I.findKey(m, R) || "text"](
1400
+ let U = await m[I.findKey(m, R) || "text"](
1401
1401
  J,
1402
1402
  y
1403
1403
  );
1404
1404
  return !ie && G && G(), await new Promise((A, C) => {
1405
1405
  ba(A, C, {
1406
- data: x,
1406
+ data: U,
1407
1407
  headers: be.from(J.headers),
1408
1408
  status: J.status,
1409
1409
  statusText: J.statusText,
@@ -1435,14 +1435,14 @@ const Sa = (e) => {
1435
1435
  return d;
1436
1436
  };
1437
1437
  Ra();
1438
- const xn = {
1438
+ const Un = {
1439
1439
  http: rc,
1440
1440
  xhr: Lc,
1441
1441
  fetch: {
1442
1442
  get: Ra
1443
1443
  }
1444
1444
  };
1445
- I.forEach(xn, (e, t) => {
1445
+ I.forEach(Un, (e, t) => {
1446
1446
  if (e) {
1447
1447
  try {
1448
1448
  Object.defineProperty(e, "name", { value: t });
@@ -1460,7 +1460,7 @@ function Hc(e, t) {
1460
1460
  for (let a = 0; a < r; a++) {
1461
1461
  n = e[a];
1462
1462
  let i;
1463
- if (s = n, !Vc(n) && (s = xn[(i = String(n)).toLowerCase()], s === void 0))
1463
+ if (s = n, !Vc(n) && (s = Un[(i = String(n)).toLowerCase()], s === void 0))
1464
1464
  throw new K(`Unknown adapter '${i}'`);
1465
1465
  if (s && (I.isFunction(s) || (s = s.get(t))))
1466
1466
  break;
@@ -1490,7 +1490,7 @@ const Ta = {
1490
1490
  * Exposes all known adapters
1491
1491
  * @type {Object<string, Function|Object>}
1492
1492
  */
1493
- adapters: xn
1493
+ adapters: Un
1494
1494
  };
1495
1495
  function Zr(e) {
1496
1496
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
@@ -1510,14 +1510,14 @@ function ps(e) {
1510
1510
  }
1511
1511
  );
1512
1512
  }
1513
- const Oa = "1.15.0", xr = {};
1513
+ const Oa = "1.15.0", Ur = {};
1514
1514
  ["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
1515
- xr[e] = function(n) {
1515
+ Ur[e] = function(n) {
1516
1516
  return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
1517
1517
  };
1518
1518
  });
1519
1519
  const hs = {};
1520
- xr.transitional = function(t, r, n) {
1520
+ Ur.transitional = function(t, r, n) {
1521
1521
  function s(o, a) {
1522
1522
  return "[Axios v" + Oa + "] Transitional option '" + o + "'" + a + (n ? ". " + n : "");
1523
1523
  }
@@ -1535,7 +1535,7 @@ xr.transitional = function(t, r, n) {
1535
1535
  )), t ? t(o, a, i) : !0;
1536
1536
  };
1537
1537
  };
1538
- xr.spelling = function(t) {
1538
+ Ur.spelling = function(t) {
1539
1539
  return (r, n) => (console.warn(`${n} is likely a misspelling of ${t}`), !0);
1540
1540
  };
1541
1541
  function Bc(e, t, r) {
@@ -1560,7 +1560,7 @@ function Bc(e, t, r) {
1560
1560
  }
1561
1561
  const Er = {
1562
1562
  assertOptions: Bc,
1563
- validators: xr
1563
+ validators: Ur
1564
1564
  }, Re = Er.validators;
1565
1565
  let Ge = class {
1566
1566
  constructor(t) {
@@ -1896,22 +1896,22 @@ ue.getAdapter = Ta.getAdapter;
1896
1896
  ue.HttpStatusCode = On;
1897
1897
  ue.default = ue;
1898
1898
  const {
1899
- Axios: Fm,
1900
- AxiosError: jm,
1901
- CanceledError: Vm,
1902
- isCancel: Hm,
1903
- CancelToken: Bm,
1904
- VERSION: zm,
1905
- all: Gm,
1906
- Cancel: Km,
1907
- isAxiosError: Ym,
1908
- spread: Wm,
1909
- toFormData: Jm,
1910
- AxiosHeaders: Qm,
1911
- HttpStatusCode: Xm,
1912
- formToJSON: Zm,
1913
- getAdapter: eg,
1914
- mergeConfig: tg
1899
+ Axios: jm,
1900
+ AxiosError: Vm,
1901
+ CanceledError: Hm,
1902
+ isCancel: Bm,
1903
+ CancelToken: zm,
1904
+ VERSION: Gm,
1905
+ all: Km,
1906
+ Cancel: Ym,
1907
+ isAxiosError: Wm,
1908
+ spread: Jm,
1909
+ toFormData: Qm,
1910
+ AxiosHeaders: Xm,
1911
+ HttpStatusCode: Zm,
1912
+ formToJSON: eg,
1913
+ getAdapter: tg,
1914
+ mergeConfig: rg
1915
1915
  } = ue, Yc = (e) => typeof e == "object" && e !== null && "resourceType" in e && e.resourceType === "OperationOutcome", Wc = (e) => {
1916
1916
  if (!e.issue || !Array.isArray(e.issue))
1917
1917
  return null;
@@ -1973,7 +1973,7 @@ var st = function() {
1973
1973
  return e;
1974
1974
  }, st.apply(this, arguments);
1975
1975
  }, Qc = "~", Xc = "~~";
1976
- function Un(e, t) {
1976
+ function xn(e, t) {
1977
1977
  for (var r = {}, n = {}, s = e.split(Xc), o = !1, a = 0; s.length > a; a++) {
1978
1978
  for (var i = s[a].split(Qc), c = 0; c < i.length; c += 2) {
1979
1979
  var d = i[c], l = i[c + 1], m = "&" + d + ";";
@@ -1988,9 +1988,9 @@ var en = {
1988
1988
  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,
1989
1989
  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
1990
1990
  }, at = {};
1991
- at.xml = Un(`lt~<~gt~>~quot~"~apos~'~amp~&`);
1992
- at.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~>`);
1993
- at.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~®', at.html4);
1991
+ at.xml = xn(`lt~<~gt~>~quot~"~apos~'~amp~&`);
1992
+ at.html4 = xn(`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~>`);
1993
+ at.html5 = xn('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~®', at.html4);
1994
1994
  var Zc = {
1995
1995
  0: 65533,
1996
1996
  128: 8364,
@@ -2116,7 +2116,7 @@ Me.interceptors.response.use(
2116
2116
  return r.startsWith("ERROR_") || /^[A-Z_]+$/.test(r) ? Promise.reject(new Error(r)) : Promise.reject(`${t}: ${r}`);
2117
2117
  }
2118
2118
  );
2119
- const V = async (e) => (await Me.get(e)).data, xe = async (e, t) => (await Me.post(e, t)).data, rg = async (e, t) => (await Me.put(e, t)).data, ng = async (e, t) => (await Me.patch(e, t)).data, uu = async (e) => (await Me.delete(e)).data, Y = (e) => typeof e == "string", ft = () => {
2119
+ const j = async (e) => (await Me.get(e)).data, Ue = async (e, t) => (await Me.post(e, t)).data, ng = async (e, t) => (await Me.put(e, t)).data, sg = async (e, t) => (await Me.patch(e, t)).data, uu = async (e) => (await Me.delete(e)).data, Y = (e) => typeof e == "string", ft = () => {
2120
2120
  let e, t;
2121
2121
  const r = new Promise((n, s) => {
2122
2122
  e = n, t = s;
@@ -2283,7 +2283,7 @@ class Ar {
2283
2283
  }
2284
2284
  }
2285
2285
  var Ie = new Ar();
2286
- class Ur {
2286
+ class xr {
2287
2287
  constructor() {
2288
2288
  this.observers = {};
2289
2289
  }
@@ -2317,7 +2317,7 @@ class Ur {
2317
2317
  });
2318
2318
  }
2319
2319
  }
2320
- class Es extends Ur {
2320
+ class Es extends xr {
2321
2321
  constructor(t) {
2322
2322
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
2323
2323
  ns: ["translation"],
@@ -2402,7 +2402,7 @@ var Ia = {
2402
2402
  }
2403
2403
  };
2404
2404
  const bs = {}, _s = (e) => !Y(e) && typeof e != "boolean" && typeof e != "number";
2405
- class Nr extends Ur {
2405
+ class Nr extends xr {
2406
2406
  constructor(t) {
2407
2407
  let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
2408
2408
  super(), lu(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Ie.create("translator");
@@ -2522,13 +2522,13 @@ class Nr extends Ur {
2522
2522
  for (let ie = 0; ie < fe.length; ie++)
2523
2523
  ne.push(fe[ie]);
2524
2524
  else this.options.saveMissingTo === "all" ? ne = this.languageUtils.toResolveHierarchy(r.lng || this.language) : ne.push(r.lng || this.language);
2525
- const J = (ie, x, A) => {
2525
+ const J = (ie, U, A) => {
2526
2526
  const C = h && A !== v ? A : G;
2527
- this.options.missingKeyHandler ? this.options.missingKeyHandler(ie, c, x, C, re, r) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(ie, c, x, C, re, r), this.emit("missingKey", ie, c, x, v);
2527
+ this.options.missingKeyHandler ? this.options.missingKeyHandler(ie, c, U, C, re, r) : this.backendConnector?.saveMissing && this.backendConnector.saveMissing(ie, c, U, C, re, r), this.emit("missingKey", ie, c, U, v);
2528
2528
  };
2529
2529
  this.options.saveMissing && (this.options.saveMissingPlurals && u ? ne.forEach((ie) => {
2530
- const x = this.pluralResolver.getSuffixes(ie, r);
2531
- b && r[`defaultValue${this.options.pluralSeparator}zero`] && x.indexOf(`${this.options.pluralSeparator}zero`) < 0 && x.push(`${this.options.pluralSeparator}zero`), x.forEach((A) => {
2530
+ const U = this.pluralResolver.getSuffixes(ie, r);
2531
+ b && r[`defaultValue${this.options.pluralSeparator}zero`] && U.indexOf(`${this.options.pluralSeparator}zero`) < 0 && U.push(`${this.options.pluralSeparator}zero`), U.forEach((A) => {
2532
2532
  J([ie], a + A, r[`defaultValue${A}`] || R);
2533
2533
  });
2534
2534
  }) : J(ne, a, R));
@@ -3020,7 +3020,7 @@ class Ru {
3020
3020
  const Tu = (e, t) => {
3021
3021
  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
3022
3022
  };
3023
- class Ou extends Ur {
3023
+ class Ou extends xr {
3024
3024
  constructor(t, r, n) {
3025
3025
  let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
3026
3026
  super(), this.backend = t, this.store = r, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = Ie.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);
@@ -3217,7 +3217,7 @@ const As = () => ({
3217
3217
  typeof e[r] == "function" && (e[r] = e[r].bind(e));
3218
3218
  });
3219
3219
  };
3220
- class _t extends Ur {
3220
+ class _t extends xr {
3221
3221
  constructor() {
3222
3222
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
3223
3223
  if (super(), this.options = Ns(t), this.services = {}, this.logger = Ie, this.modules = {
@@ -3644,7 +3644,7 @@ const Is = () => {
3644
3644
  }
3645
3645
  return Qe;
3646
3646
  };
3647
- var xu = {
3647
+ var Uu = {
3648
3648
  name: "localStorage",
3649
3649
  // Deconstruct the options object and extract the lookupLocalStorage property
3650
3650
  lookup(e) {
@@ -3675,7 +3675,7 @@ const Ds = () => {
3675
3675
  }
3676
3676
  return Xe;
3677
3677
  };
3678
- var Uu = {
3678
+ var xu = {
3679
3679
  name: "sessionStorage",
3680
3680
  lookup(e) {
3681
3681
  let {
@@ -3768,7 +3768,7 @@ class La {
3768
3768
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
3769
3769
  languageUtils: {}
3770
3770
  }, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
3771
- this.services = t, this.options = Pu(r, this.options || {}, Vu()), 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(Cu), this.addDetector(Lu), this.addDetector(xu), this.addDetector(Uu), this.addDetector(qu), this.addDetector(Mu), this.addDetector(Fu), this.addDetector(ju), this.addDetector(ku);
3771
+ this.services = t, this.options = Pu(r, this.options || {}, Vu()), 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(Cu), this.addDetector(Lu), this.addDetector(Uu), this.addDetector(xu), this.addDetector(qu), this.addDetector(Mu), this.addDetector(Fu), this.addDetector(ju), this.addDetector(ku);
3772
3772
  }
3773
3773
  addDetector(t) {
3774
3774
  return this.detectors[t.name] = t, this;
@@ -3790,9 +3790,9 @@ class La {
3790
3790
  }
3791
3791
  }
3792
3792
  La.type = "languageDetector";
3793
- const Hu = process.env.PUBLIC_URL ?? "/", ce = "/openmrs/ws/fhir2/R4", X = "/openmrs/ws/rest/v1", Bu = "/openmrs/ws/rest/v2", zu = "bahmni.user", sg = "/bahmni/home/index.html", Gu = X + "/session", Ku = "en", ka = "NG_TRANSLATE_LANG_KEY", Yu = (e, t) => Hu + `${e}/locales/locale_${t}.json`, Wu = (e, t) => `/bahmni_config/openmrs/i18n/${e}/locale_${t}.json`, qr = () => localStorage.getItem(ka) ?? Ku, Cs = async (e) => {
3793
+ const Hu = process.env.PUBLIC_URL ?? "/", ce = "/openmrs/ws/fhir2/R4", X = "/openmrs/ws/rest/v1", Bu = "/openmrs/ws/rest/v2", zu = "bahmni.user", og = "/bahmni/home/index.html", Gu = X + "/session", Ku = "en", ka = "NG_TRANSLATE_LANG_KEY", Yu = (e, t) => Hu + `${e}/locales/locale_${t}.json`, Wu = (e, t) => `/bahmni_config/openmrs/i18n/${e}/locale_${t}.json`, qr = () => localStorage.getItem(ka) ?? Ku, Cs = async (e) => {
3794
3794
  try {
3795
- const t = await V(e);
3795
+ const t = await j(e);
3796
3796
  return t || (console.error(`Invalid response from ${e}`), {});
3797
3797
  } catch (t) {
3798
3798
  return console.error(`Failed to load translations from ${e}:`, t), {};
@@ -3814,7 +3814,7 @@ const Hu = process.env.PUBLIC_URL ?? "/", ce = "/openmrs/ws/fhir2/R4", X = "/ope
3814
3814
  }, e !== "en" && (r.en = {
3815
3815
  [t]: await Ls(t, "en")
3816
3816
  }), r;
3817
- }, og = (e, t) => {
3817
+ }, ag = (e, t) => {
3818
3818
  const r = e.toUpperCase(), n = t.toUpperCase().replace(/\s+/g, "_").replace(/[^A-Z0-9_]/g, "");
3819
3819
  return `${r}_${n}`;
3820
3820
  }, Qu = (e, t) => {
@@ -3831,7 +3831,7 @@ const Hu = process.env.PUBLIC_URL ?? "/", ce = "/openmrs/ws/fhir2/R4", X = "/ope
3831
3831
  labels: n.labels ?? {},
3832
3832
  concepts: n.concepts ?? {}
3833
3833
  };
3834
- }, ag = async (e) => {
3834
+ }, ig = async (e) => {
3835
3835
  const t = qr(), r = await Ju(t, e);
3836
3836
  return await le.use(La).use(pi).init({
3837
3837
  fallbackLng: "en",
@@ -3850,7 +3850,7 @@ const Hu = process.env.PUBLIC_URL ?? "/", ce = "/openmrs/ws/fhir2/R4", X = "/ope
3850
3850
  }
3851
3851
  }), le;
3852
3852
  };
3853
- function ig() {
3853
+ function cg() {
3854
3854
  const e = bn(null), t = bn(null), r = Wr(async () => {
3855
3855
  t.current && (t.current.getTracks().forEach((a) => a.stop()), t.current = null);
3856
3856
  const o = await navigator.mediaDevices.getUserMedia({
@@ -3873,10 +3873,10 @@ function ig() {
3873
3873
  }, []);
3874
3874
  return _n(() => () => n(), [n]), { videoRef: e, start: r, stop: n, capture: s };
3875
3875
  }
3876
- const Xu = "bahmni.enableAuditLog", xa = (e) => `${X}/bahmnicore/sql/globalproperty?property=${e}`, cg = async (e, t, r) => {
3876
+ const Xu = "bahmni.enableAuditLog", Ua = (e) => `${X}/bahmnicore/sql/globalproperty?property=${e}`, ug = async (e, t, r) => {
3877
3877
  const { exact: n = !0, refetchActiveNow: s = !0 } = r ?? {};
3878
3878
  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" });
3879
- }, ug = () => Math.random().toString(36).substring(2, 9), lg = () => {
3879
+ }, lg = () => Math.random().toString(36).substring(2, 9), dg = () => {
3880
3880
  if (typeof globalThis < "u" && globalThis.crypto?.randomUUID)
3881
3881
  return globalThis.crypto.randomUUID();
3882
3882
  const e = globalThis.crypto || globalThis.msCrypto;
@@ -3888,10 +3888,10 @@ const Xu = "bahmni.enableAuditLog", xa = (e) => `${X}/bahmnicore/sql/globalprope
3888
3888
  "Crypto API (crypto.randomUUID or crypto.getRandomValues) is not available. UUID generation requires cryptographically secure random number generation."
3889
3889
  );
3890
3890
  };
3891
- function dg(e, t = " -") {
3891
+ function fg(e, t = " -") {
3892
3892
  return e ? e.toLowerCase().split(new RegExp(`[${t}]+`)).map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join(" ") : "";
3893
3893
  }
3894
- function Ua(e) {
3894
+ function xa(e) {
3895
3895
  const r = document.cookie.split(";");
3896
3896
  for (const n of r) {
3897
3897
  const [s, o] = n.trim().split("=");
@@ -3900,7 +3900,7 @@ function Ua(e) {
3900
3900
  }
3901
3901
  return "";
3902
3902
  }
3903
- const fg = (e) => !e || e.trim().length === 0, pg = (e, t) => {
3903
+ const pg = (e) => !e || e.trim().length === 0, hg = (e, t) => {
3904
3904
  if (!e || !t || t.length === 0)
3905
3905
  return 999;
3906
3906
  const r = t.findIndex(
@@ -3908,7 +3908,7 @@ const fg = (e) => !e || e.trim().length === 0, pg = (e, t) => {
3908
3908
  );
3909
3909
  return r === -1 ? 999 : r;
3910
3910
  };
3911
- function hg(e, t) {
3911
+ function mg(e, t) {
3912
3912
  if (!e || e.length === 0)
3913
3913
  return [];
3914
3914
  const r = /* @__PURE__ */ new Map();
@@ -3920,7 +3920,7 @@ function hg(e, t) {
3920
3920
  items: s
3921
3921
  }));
3922
3922
  }
3923
- function mg(e, t, r) {
3923
+ function gg(e, t, r) {
3924
3924
  if (!e || e.length === 0)
3925
3925
  return [];
3926
3926
  const n = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
@@ -3941,7 +3941,7 @@ function Zu(e) {
3941
3941
  o[n(a[1])] = n(a[2]);
3942
3942
  return o;
3943
3943
  }
3944
- function gg(e, t, r) {
3944
+ function yg(e, t, r) {
3945
3945
  const n = /{{([^}]*)}}/g, s = e.match(n);
3946
3946
  let o = e;
3947
3947
  const a = r ?? !1, i = a ? Zu() : {};
@@ -3954,7 +3954,7 @@ function gg(e, t, r) {
3954
3954
  const el = (e) => new Promise((t, r) => {
3955
3955
  const n = new FileReader();
3956
3956
  n.onloadend = () => t(n.result), n.onerror = r, n.readAsDataURL(e);
3957
- }), yg = (e) => {
3957
+ }), vg = (e) => {
3958
3958
  if (typeof e == "number" && !isNaN(e))
3959
3959
  return "number";
3960
3960
  if (typeof e != "string")
@@ -3962,29 +3962,29 @@ const el = (e) => new Promise((t, r) => {
3962
3962
  const t = e.toLowerCase();
3963
3963
  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";
3964
3964
  };
3965
- function vg(e) {
3965
+ function wg(e) {
3966
3966
  return e.replace(/[\s-]+/g, "_").replace(/([a-z])([A-Z])/g, "$1_$2").replace(/([A-Z])([A-Z][a-z])/g, "$1_$2").toUpperCase();
3967
3967
  }
3968
- function wg(e) {
3968
+ function Eg(e) {
3969
3969
  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()) : "";
3970
3970
  }
3971
3971
  const tl = (e) => X + `/user?username=${e}&v=custom:(username,uuid)`, rl = "bahmni.user.location", nl = (e) => X + `/bahmni/app/setting?module=${e}`, sl = "default_dateFormat";
3972
- async function Eg() {
3973
- const e = Ua(zu);
3972
+ async function bg() {
3973
+ const e = xa(zu);
3974
3974
  if (!e)
3975
3975
  return null;
3976
3976
  try {
3977
3977
  const t = decodeURIComponent(e).replace(
3978
3978
  /^"(.*)"$/,
3979
3979
  "$1"
3980
- ), r = await V(tl(t));
3980
+ ), r = await j(tl(t));
3981
3981
  return !r.results || r.results.length === 0 ? null : r.results[0];
3982
3982
  } catch {
3983
3983
  throw new Error(le.t("ERROR_FETCHING_USER_DETAILS"));
3984
3984
  }
3985
3985
  }
3986
3986
  const qn = () => {
3987
- const e = Ua(rl) ?? null;
3987
+ const e = xa(rl) ?? null;
3988
3988
  if (!e)
3989
3989
  throw new Error(le.t("ERROR_FETCHING_USER_LOCATION_DETAILS"));
3990
3990
  const t = JSON.parse(
@@ -3993,7 +3993,7 @@ const qn = () => {
3993
3993
  if (!t.uuid)
3994
3994
  throw new Error(le.t("ERROR_FETCHING_USER_LOCATION_DETAILS"));
3995
3995
  return t;
3996
- }, bg = async () => (await V(nl("commons"))).find(
3996
+ }, _g = async () => (await j(nl("commons"))).find(
3997
3997
  (r) => r.property === sl
3998
3998
  )?.value ?? null, Mn = {
3999
3999
  person: {
@@ -4041,12 +4041,12 @@ const qn = () => {
4041
4041
  }, qa = X + "/idgen/identifiertype", ul = (e) => X + `/bahmni/app/setting?module=${e}`, ll = "bahmni.primaryIdentifierType", dl = X + "/bahmnicore/patientprofile", fl = (e) => X + `/bahmnicore/patientprofile/${e}`, pl = (e) => X + `/patientprofile/${e}?v=full`, hl = (e, t, r = 20, n) => {
4042
4042
  let s = `/openmrs/module/addresshierarchy/ajax/getPossibleAddressHierarchyEntriesWithParents.form?addressField=${e}&limit=${r}&searchString=${encodeURIComponent(t)}`;
4043
4043
  return n && (s += `&parent=${n}`), s;
4044
- }, ml = "/openmrs/module/addresshierarchy/ajax/getOrderedAddressHierarchyLevels.form", gl = X + "/relationshiptype?v=custom:(aIsToB,bIsToA,uuid)&limit=150", yl = 20, vl = 2, _g = 120, Sg = 50, Rg = 15, wl = /^[a-f0-9-]{36}$/i, El = (e) => Bu + `/patientImage?patientUuid=${e}`, bl = X + "/personattributetype?v=custom:(uuid,name,sortWeight,description,format,concept:(uuid,display,answers:(uuid,name)))", _l = async (e) => {
4044
+ }, ml = "/openmrs/module/addresshierarchy/ajax/getOrderedAddressHierarchyLevels.form", gl = X + "/relationshiptype?v=custom:(aIsToB,bIsToA,uuid)&limit=150", yl = 20, vl = 2, Sg = 120, Rg = 50, Tg = 15, wl = /^[a-f0-9-]{36}$/i, El = (e) => Bu + `/patientImage?patientUuid=${e}`, bl = X + "/personattributetype?v=custom:(uuid,name,sortWeight,description,format,concept:(uuid,display,answers:(uuid,name)))", _l = async (e) => {
4045
4045
  if (!e || e.trim() === "")
4046
4046
  throw new Error("Invalid patient UUID: UUID cannot be empty");
4047
4047
  if (!wl.test(e))
4048
4048
  throw new Error(`Invalid patient UUID format: ${e}`);
4049
- return V(al(e));
4049
+ return j(al(e));
4050
4050
  }, Sl = (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) : []), Rl = (e) => {
4051
4051
  if (!e.name || e.name.length === 0)
4052
4052
  return null;
@@ -4074,22 +4074,22 @@ const qn = () => {
4074
4074
  formattedContact: r,
4075
4075
  identifiers: s
4076
4076
  };
4077
- }, Tg = async (e) => {
4077
+ }, Og = async (e) => {
4078
4078
  const t = await _l(e);
4079
4079
  return Al(t);
4080
- }, Og = async (e) => {
4080
+ }, Ag = async (e) => {
4081
4081
  const t = await fetch(El(e));
4082
4082
  if (!t.ok) return null;
4083
4083
  const r = await t.blob();
4084
4084
  return await el(r);
4085
- }, Ag = async (e, t) => {
4085
+ }, Ng = async (e, t) => {
4086
4086
  const r = qn();
4087
- return await V(
4087
+ return await j(
4088
4088
  il(e, r.uuid, t)
4089
4089
  );
4090
- }, Ng = async (e, t, r, n, s) => {
4090
+ }, $g = async (e, t, r, n, s) => {
4091
4091
  const o = qn();
4092
- return await V(
4092
+ return await j(
4093
4093
  cl(
4094
4094
  e,
4095
4095
  t,
@@ -4098,11 +4098,11 @@ const qn = () => {
4098
4098
  o.uuid
4099
4099
  )
4100
4100
  );
4101
- }, $g = async () => V(qa), Nl = async () => (await V(ul("core"))).find(
4101
+ }, Pg = async () => j(qa), Nl = async () => (await j(ul("core"))).find(
4102
4102
  (r) => r.property === ll
4103
- )?.value ?? null, Pg = async () => {
4103
+ )?.value ?? null, Ig = async () => {
4104
4104
  const [e, t] = await Promise.all([
4105
- V(qa),
4105
+ j(qa),
4106
4106
  Nl()
4107
4107
  ]), r = [], n = /* @__PURE__ */ new Map();
4108
4108
  if (!t)
@@ -4117,14 +4117,14 @@ const qn = () => {
4117
4117
  sourcesByPrefix: n,
4118
4118
  primaryIdentifierTypeUuid: t
4119
4119
  }) : { prefixes: r, sourcesByPrefix: n, primaryIdentifierTypeUuid: t };
4120
- }, Ig = async (e) => xe(dl, e), Dg = async (e, t) => xe(
4120
+ }, Dg = async (e) => Ue(dl, e), Cg = async (e, t) => Ue(
4121
4121
  fl(e),
4122
4122
  t
4123
- ), Cg = async () => V(xa("mrs.genders")), Lg = async (e, t, r = yl, n) => {
4123
+ ), Lg = async () => j(Ua("mrs.genders")), kg = async (e, t, r = yl, n) => {
4124
4124
  if (!t || t.length < vl)
4125
4125
  return [];
4126
4126
  try {
4127
- return await V(
4127
+ return await j(
4128
4128
  hl(e, t, r, n)
4129
4129
  );
4130
4130
  } catch (s) {
@@ -4132,9 +4132,9 @@ const qn = () => {
4132
4132
  `Failed to fetch address hierarchy for field "${e}": ${s instanceof Error ? s.message : "Unknown error"}`
4133
4133
  );
4134
4134
  }
4135
- }, kg = async () => V(ml), xg = async (e) => V(pl(e)), Ug = async () => {
4135
+ }, Ug = async () => j(ml), xg = async (e) => j(pl(e)), qg = async () => {
4136
4136
  try {
4137
- return (await V(
4137
+ return (await j(
4138
4138
  gl
4139
4139
  )).results.map((t) => ({
4140
4140
  uuid: t.uuid,
@@ -4146,9 +4146,9 @@ const qn = () => {
4146
4146
  `Failed to fetch relationship types: ${e instanceof Error ? e.message : "Unknown error"}`
4147
4147
  );
4148
4148
  }
4149
- }, qg = async () => V(bl);
4149
+ }, Mg = async () => j(bl);
4150
4150
  var $l = /* @__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))($l || {}), Pl = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.DROPDOWN = "dropdown", e.TEXT = "text", e.NUMBER = "number", e.DATE = "date", e))(Pl || {});
4151
- const Mg = (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", Fg = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype.datatype.BooleanDatatype", jg = (e) => e === "org.openmrs.Concept" || e === "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype" || e === "org.openmrs.customdatatype.datatype.ConceptDatatype", Vg = (e) => e === "java.lang.Integer" || e === "java.lang.Float", Hg = (e) => e === "org.openmrs.util.AttributableDate" || e === "org.openmrs.customdatatype.datatype.DateDatatype", Bg = (e) => e === "java.lang.String" || e === "org.openmrs.customdatatype.datatype.FreeTextDatatype" || e === "org.openmrs.customdatatype.datatype.RegexValidatedTextDatatype", Il = (e) => {
4151
+ const Fg = (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", jg = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype.datatype.BooleanDatatype", Vg = (e) => e === "org.openmrs.Concept" || e === "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype" || e === "org.openmrs.customdatatype.datatype.ConceptDatatype", Hg = (e) => e === "java.lang.Integer" || e === "java.lang.Float", Bg = (e) => e === "org.openmrs.util.AttributableDate" || e === "org.openmrs.customdatatype.datatype.DateDatatype", zg = (e) => e === "java.lang.String" || e === "org.openmrs.customdatatype.datatype.FreeTextDatatype" || e === "org.openmrs.customdatatype.datatype.RegexValidatedTextDatatype", Il = (e) => {
4152
4152
  const t = new CustomEvent("bahmni-audit-log", { detail: e });
4153
4153
  window.dispatchEvent(t);
4154
4154
  }, Dl = (e) => {
@@ -4201,10 +4201,10 @@ const Mg = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype
4201
4201
  }
4202
4202
  }, Cl = X + "/auditlog", Ll = {
4203
4203
  UNKNOWN_EVENT_TYPE: "AUDIT_LOG_ERROR_UNKNOWN_EVENT_TYPE"
4204
- }, kl = () => X + "/bahmnicore/config/bahmniencounter?callerContext=REGISTRATION_CONCEPTS", xl = X + "/visit", Ul = (e) => X + `/visit?patient=${e}&includeInactive=false&v=custom:(uuid,visitType,startDatetime,stopDatetime)`, ql = (e) => X + `/bahmnicore/visitLocation/${e}`, zg = async () => V(kl()), Ml = async (e) => V(Ul(e)), Fl = async (e) => V(ql(e)), jl = async (e) => xe(xl, e), Gg = async (e) => {
4204
+ }, kl = () => X + "/bahmnicore/config/bahmniencounter?callerContext=REGISTRATION_CONCEPTS", Ul = X + "/visit", xl = (e) => X + `/visit?patient=${e}&includeInactive=false&v=custom:(uuid,visitType,startDatetime,stopDatetime)`, ql = (e) => X + `/bahmnicore/visitLocation/${e}`, Gg = async () => j(kl()), Ml = async (e) => j(xl(e)), Fl = async (e) => j(ql(e)), jl = async (e) => Ue(Ul, e), Kg = async (e) => {
4205
4205
  const t = await Ml(e);
4206
4206
  return t?.results && t.results.length > 0;
4207
- }, Kg = async (e, t) => {
4207
+ }, Yg = async (e, t) => {
4208
4208
  const r = await Fl(
4209
4209
  qn().uuid
4210
4210
  ), n = {
@@ -4262,7 +4262,7 @@ function Va(e, t) {
4262
4262
  const i = $r(a);
4263
4263
  return r.getTime() >= o.getTime() ? n + 1 : r.getTime() >= i.getTime() ? n : n - 1;
4264
4264
  }
4265
- function xs(e) {
4265
+ function Us(e) {
4266
4266
  const t = de(e), r = new Date(
4267
4267
  Date.UTC(
4268
4268
  t.getFullYear(),
@@ -4283,7 +4283,7 @@ function ut(e, ...t) {
4283
4283
  );
4284
4284
  return t.map(r);
4285
4285
  }
4286
- function Us(e, t) {
4286
+ function xs(e, t) {
4287
4287
  const r = de(e, t?.in);
4288
4288
  return r.setHours(0, 0, 0, 0), r;
4289
4289
  }
@@ -4292,7 +4292,7 @@ function Ha(e, t, r) {
4292
4292
  r?.in,
4293
4293
  e,
4294
4294
  t
4295
- ), o = Us(n), a = Us(s), i = +o - xs(o), c = +a - xs(a);
4295
+ ), o = xs(n), a = xs(s), i = +o - Us(o), c = +a - Us(a);
4296
4296
  return Math.round((i - c) / Vl);
4297
4297
  }
4298
4298
  function Bl(e, t) {
@@ -4849,7 +4849,7 @@ function ae(e, t) {
4849
4849
  const r = e < 0 ? "-" : "", n = Math.abs(e).toString().padStart(t, "0");
4850
4850
  return r + n;
4851
4851
  }
4852
- const Ue = {
4852
+ const xe = {
4853
4853
  // Year
4854
4854
  y(e, t) {
4855
4855
  const r = e.getFullYear(), n = r > 0 ? r : 1 - r;
@@ -4932,7 +4932,7 @@ const Ue = {
4932
4932
  const n = e.getFullYear(), s = n > 0 ? n : 1 - n;
4933
4933
  return r.ordinalNumber(s, { unit: "year" });
4934
4934
  }
4935
- return Ue.y(e, t);
4935
+ return xe.y(e, t);
4936
4936
  },
4937
4937
  // Local week-numbering year
4938
4938
  Y: function(e, t, r, n) {
@@ -5031,7 +5031,7 @@ const Ue = {
5031
5031
  switch (t) {
5032
5032
  case "M":
5033
5033
  case "MM":
5034
- return Ue.M(e, t);
5034
+ return xe.M(e, t);
5035
5035
  // 1st, 2nd, ..., 12th
5036
5036
  case "Mo":
5037
5037
  return r.ordinalNumber(n + 1, { unit: "month" });
@@ -5092,7 +5092,7 @@ const Ue = {
5092
5092
  },
5093
5093
  // Day of the month
5094
5094
  d: function(e, t, r) {
5095
- return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) : Ue.d(e, t);
5095
+ return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) : xe.d(e, t);
5096
5096
  },
5097
5097
  // Day of year
5098
5098
  D: function(e, t, r) {
@@ -5327,11 +5327,11 @@ const Ue = {
5327
5327
  let n = e.getHours() % 12;
5328
5328
  return n === 0 && (n = 12), r.ordinalNumber(n, { unit: "hour" });
5329
5329
  }
5330
- return Ue.h(e, t);
5330
+ return xe.h(e, t);
5331
5331
  },
5332
5332
  // Hour [0-23]
5333
5333
  H: function(e, t, r) {
5334
- return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) : Ue.H(e, t);
5334
+ return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) : xe.H(e, t);
5335
5335
  },
5336
5336
  // Hour [0-11]
5337
5337
  K: function(e, t, r) {
@@ -5345,15 +5345,15 @@ const Ue = {
5345
5345
  },
5346
5346
  // Minute
5347
5347
  m: function(e, t, r) {
5348
- return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) : Ue.m(e, t);
5348
+ return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) : xe.m(e, t);
5349
5349
  },
5350
5350
  // Second
5351
5351
  s: function(e, t, r) {
5352
- return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) : Ue.s(e, t);
5352
+ return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) : xe.s(e, t);
5353
5353
  },
5354
5354
  // Fraction of second
5355
5355
  S: function(e, t) {
5356
- return Ue.S(e, t);
5356
+ return xe.S(e, t);
5357
5357
  },
5358
5358
  // Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
5359
5359
  X: function(e, t, r) {
@@ -5462,7 +5462,7 @@ const Vs = (e, t) => {
5462
5462
  default:
5463
5463
  return t.time({ width: "full" });
5464
5464
  }
5465
- }, xd = (e, t) => {
5465
+ }, Ud = (e, t) => {
5466
5466
  const r = e.match(/(P+)(p+)?/) || [], n = r[1], s = r[2];
5467
5467
  if (!s)
5468
5468
  return Vs(e, t);
@@ -5482,9 +5482,9 @@ const Vs = (e, t) => {
5482
5482
  break;
5483
5483
  }
5484
5484
  return o.replace("{{date}}", Vs(n, t)).replace("{{time}}", za(s, t));
5485
- }, Ud = {
5485
+ }, xd = {
5486
5486
  p: za,
5487
- P: xd
5487
+ P: Ud
5488
5488
  }, qd = /^D+$/, Md = /^Y+$/, Fd = ["D", "DD", "YY", "YYYY"];
5489
5489
  function jd(e) {
5490
5490
  return qd.test(e);
@@ -5508,7 +5508,7 @@ function Jd(e, t, r) {
5508
5508
  let c = t.match(Gd).map((l) => {
5509
5509
  const m = l[0];
5510
5510
  if (m === "p" || m === "P") {
5511
- const v = Ud[m];
5511
+ const v = xd[m];
5512
5512
  return v(l, s.formatLong);
5513
5513
  }
5514
5514
  return l;
@@ -5671,7 +5671,7 @@ function gf(e, t, r) {
5671
5671
  function yf(e, t, r) {
5672
5672
  return jn(e, -t, r);
5673
5673
  }
5674
- const Yg = {
5674
+ const Wg = {
5675
5675
  PROPOSED: "proposed",
5676
5676
  PENDING: "pending",
5677
5677
  BOOKED: "booked",
@@ -5682,37 +5682,37 @@ const Yg = {
5682
5682
  CHECKED_IN: "checked-in",
5683
5683
  WAITLIST: "waitlist",
5684
5684
  ENTERED_IN_ERROR: "entered-in-error"
5685
- }, vf = X + "/appointments/search", Ka = X + "/appointments", Wg = "http://fhir.bahmni.org/code-system/appointments", wf = (e) => `${Ka}/${e}`, jr = (e, t, r, n) => {
5685
+ }, vf = X + "/appointments/search", Ka = X + "/appointments", Jg = "http://fhir.bahmni.org/code-system/appointments", wf = (e) => `${Ka}/${e}`, jr = (e, t, r, n) => {
5686
5686
  const s = t === "upcoming", o = s ? "ge" : "le", a = s ? "date" : "-date", i = s ? (/* @__PURE__ */ new Date()).toISOString() : gf(/* @__PURE__ */ new Date()).toISOString();
5687
5687
  let c = `${ce}/Appointment?patient=${e}&date=${o}${i}&_sort=${a}`;
5688
5688
  return r !== void 0 && r > 0 && (c += `&_count=${r}`), n !== void 0 && n > 0 && (c += `&_getpagesoffset=${n}`), c;
5689
- }, Ef = (e) => jr(e, "upcoming"), bf = (e, t) => jr(e, "past", t), _f = (e) => `${Ka}/${e}/status-change`, Sf = X + "/appointmentService/all/full", Rf = (e) => `${X}/appointmentService?uuid=${e}`, Tf = (e, t = 10, r = 0) => jr(e, "upcoming", t, r), Of = (e, t = 10, r = 0) => jr(e, "past", t, r), Jg = async (e) => await xe(vf, e);
5690
- async function Qg(e) {
5691
- return await V(Ef(e));
5689
+ }, Ef = (e) => jr(e, "upcoming"), bf = (e, t) => jr(e, "past", t), _f = (e) => `${Ka}/${e}/status-change`, Sf = X + "/appointmentService/all/full", Rf = (e) => `${X}/appointmentService?uuid=${e}`, Tf = (e, t = 10, r = 0) => jr(e, "upcoming", t, r), Of = (e, t = 10, r = 0) => jr(e, "past", t, r), Qg = async (e) => await Ue(vf, e);
5690
+ async function Xg(e) {
5691
+ return await j(Ef(e));
5692
5692
  }
5693
- async function Xg(e, t) {
5694
- return await V(
5693
+ async function Zg(e, t) {
5694
+ return await j(
5695
5695
  bf(e, t)
5696
5696
  );
5697
5697
  }
5698
- const Zg = async (e, t, r) => await xe(_f(e), {
5698
+ const ey = async (e, t, r) => await Ue(_f(e), {
5699
5699
  toStatus: t,
5700
5700
  onDate: r
5701
5701
  });
5702
- async function ey(e) {
5703
- return await V(wf(e));
5702
+ async function ty(e) {
5703
+ return await j(wf(e));
5704
5704
  }
5705
- const ty = async () => await V(Sf), ry = async (e) => {
5705
+ const ry = async () => await j(Sf), ny = async (e) => {
5706
5706
  await uu(Rf(e));
5707
5707
  };
5708
- async function ny(e, t = 10, r = 1) {
5709
- const n = (r - 1) * t, s = await V(
5708
+ async function sy(e, t = 10, r = 1) {
5709
+ const n = (r - 1) * t, s = await j(
5710
5710
  Tf(e, t, n)
5711
5711
  );
5712
5712
  return { bundle: s, total: s.total ?? s.entry?.length ?? 0 };
5713
5713
  }
5714
- async function sy(e, t = 10, r = 1) {
5715
- const n = (r - 1) * t, s = await V(
5714
+ async function oy(e, t = 10, r = 1) {
5715
+ const n = (r - 1) * t, s = await j(
5716
5716
  Of(e, t, n)
5717
5717
  );
5718
5718
  return { bundle: s, total: s.total ?? s.entry?.length ?? 0 };
@@ -5724,7 +5724,7 @@ const Af = "dd/MM/yyyy", Nf = "default_dateFormat", $f = "P", Pf = "h:mm a", Te
5724
5724
  INVALID_FORMAT: "DATE_ERROR_INVALID_FORMAT",
5725
5725
  NULL_OR_UNDEFINED: "DATE_ERROR_NULL_OR_UNDEFINED"
5726
5726
  };
5727
- function oy(e) {
5727
+ function ay(e) {
5728
5728
  if (typeof e != "string" || !/^\d{4}-\d{2}-\d{2}$/.test(e))
5729
5729
  return null;
5730
5730
  const t = Bn(e);
@@ -5780,7 +5780,7 @@ function If(e, t, r) {
5780
5780
  }
5781
5781
  } : { formattedResult: Jd(n, t) };
5782
5782
  }
5783
- function ay(e, t, r = !1, n) {
5783
+ function iy(e, t, r = !1, n) {
5784
5784
  const s = t ?? ((a) => a);
5785
5785
  let o;
5786
5786
  try {
@@ -5790,7 +5790,7 @@ function ay(e, t, r = !1, n) {
5790
5790
  }
5791
5791
  return r && !n && (o = `${o} ${Pf}`), If(e, o, s);
5792
5792
  }
5793
- function iy(e, t, r) {
5793
+ function cy(e, t, r) {
5794
5794
  if (!e || !$t(e) || t === null || t === void 0 || !r || typeof t != "number")
5795
5795
  return;
5796
5796
  const n = new Date(e);
@@ -5805,7 +5805,7 @@ function iy(e, t, r) {
5805
5805
  return;
5806
5806
  }
5807
5807
  }
5808
- function cy(e, t) {
5808
+ function uy(e, t) {
5809
5809
  if (e == null)
5810
5810
  return {
5811
5811
  formattedResult: "",
@@ -5857,11 +5857,11 @@ function cy(e, t) {
5857
5857
  }
5858
5858
  return { formattedResult: c };
5859
5859
  }
5860
- const uy = () => {
5860
+ const ly = () => {
5861
5861
  const e = /* @__PURE__ */ new Date();
5862
5862
  return e.setHours(0, 0, 0, 0), e;
5863
5863
  };
5864
- function ly(e, t) {
5864
+ function dy(e, t) {
5865
5865
  const r = typeof e == "string" ? Bn(e) : new Date(e), n = /* @__PURE__ */ new Date(), s = Hn(n, r), o = jn(r, s), a = Vn(n, o), i = Mr(o, a), c = Pn(n, i), d = {
5866
5866
  years: "YEARS",
5867
5867
  months: "MONTHS",
@@ -5895,14 +5895,14 @@ const Df = {
5895
5895
  h: 1 / 24,
5896
5896
  min: 1 / 1440,
5897
5897
  s: 1 / 86400
5898
- }, dy = (e, t, r) => {
5898
+ }, fy = (e, t, r) => {
5899
5899
  const n = typeof e == "string" ? new Date(e) : e;
5900
5900
  if (isNaN(n.getTime()))
5901
5901
  throw new Error(`Invalid date: ${e}`);
5902
5902
  const s = Df[r] ?? 1, o = t * s;
5903
5903
  return ja(n, o);
5904
- }, fy = (e, t, r, n) => e <= n && r <= t;
5905
- function py(e, t, r = !1) {
5904
+ }, py = (e, t, r, n) => e <= n && r <= t;
5905
+ function hy(e, t, r = !1) {
5906
5906
  return !e || !Array.isArray(e) ? [] : e.sort((n, s) => {
5907
5907
  const o = new Date(n[t]), a = new Date(s[t]);
5908
5908
  if (isNaN(o.getTime()) && isNaN(a.getTime())) return 0;
@@ -5941,21 +5941,21 @@ const Cf = () => {
5941
5941
  );
5942
5942
  }
5943
5943
  };
5944
- }, hy = Cf(), Lf = (e) => ce + `/ValueSet/${e}/$expand`, kf = (e) => ce + `/ValueSet/$expand?filter=${encodeURIComponent(e)}`, xf = (e, t, r) => X + `/bahmni/terminologies/concepts?limit=${t}&locale=${r}&term=${e}`, Uf = (e) => X + `/concept/${e}`, qf = (e) => `${X}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(e)}`, Mf = "SHORT", Ff = "FULLY_SPECIFIED", my = async (e, t = 20) => {
5945
- const r = qr(), n = xf(e, t, r);
5946
- return V(n);
5944
+ }, my = Cf(), Lf = (e) => ce + `/ValueSet/${e}/$expand`, kf = (e) => ce + `/ValueSet/$expand?filter=${encodeURIComponent(e)}`, Uf = (e, t, r) => X + `/bahmni/terminologies/concepts?limit=${t}&locale=${r}&term=${e}`, xf = (e) => X + `/concept/${e}`, qf = (e) => `${X}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(e)}`, Mf = "SHORT", Ff = "FULLY_SPECIFIED", gy = async (e, t = 20) => {
5945
+ const r = qr(), n = Uf(e, t, r);
5946
+ return j(n);
5947
5947
  }, br = async (e) => {
5948
5948
  const t = Lf(e);
5949
- return V(t);
5949
+ return j(t);
5950
5950
  }, jf = async (e) => {
5951
5951
  const t = `${kf(e)}`;
5952
- return V(t);
5952
+ return j(t);
5953
5953
  };
5954
- async function gy(e) {
5955
- return await V(Uf(e));
5956
- }
5957
5954
  async function yy(e) {
5958
- const t = qf(e), r = await V(t);
5955
+ return await j(xf(e));
5956
+ }
5957
+ async function vy(e) {
5958
+ const t = qf(e), r = await j(t);
5959
5959
  return !r.results || r.results.length === 0 ? null : r.results[0];
5960
5960
  }
5961
5961
  function Vf(e) {
@@ -5990,7 +5990,7 @@ const Hf = (e) => ce + `/AllergyIntolerance?patient=${e}&_count=100&_sort=-_last
5990
5990
  }), an = (e, t) => {
5991
5991
  const r = e.expansion?.contains ?? [];
5992
5992
  return zf(r).map((s) => Gf(s, t));
5993
- }, vy = async (e, t, r) => {
5993
+ }, wy = async (e, t, r) => {
5994
5994
  const n = e ?? et.MEDICATION.code, s = t ?? et.FOOD.code, o = r ?? et.ENVIRONMENT.code, [a, i, c] = await Promise.all([
5995
5995
  br(n),
5996
5996
  br(s),
@@ -6010,12 +6010,12 @@ const Hf = (e) => ce + `/AllergyIntolerance?patient=${e}&_count=100&_sort=-_last
6010
6010
  et.ENVIRONMENT.display
6011
6011
  )
6012
6012
  ];
6013
- }, wy = async (e) => {
6013
+ }, Ey = async (e) => {
6014
6014
  const t = e ?? Bf.code;
6015
6015
  return (await br(t)).compose?.include[0]?.concept ?? [];
6016
6016
  };
6017
6017
  async function Kf(e) {
6018
- return await V(`${Hf(e)}`);
6018
+ return await j(`${Hf(e)}`);
6019
6019
  }
6020
6020
  async function Yf(e) {
6021
6021
  return (await Kf(e)).entry?.map(
@@ -6044,23 +6044,23 @@ function Wf(e) {
6044
6044
  };
6045
6045
  });
6046
6046
  }
6047
- async function Ey(e) {
6047
+ async function by(e) {
6048
6048
  const t = await Yf(e);
6049
6049
  return Wf(t);
6050
6050
  }
6051
6051
  var Jf = /* @__PURE__ */ ((e) => (e.Active = "Active", e.Inactive = "Inactive", e))(Jf || {}), Qf = /* @__PURE__ */ ((e) => (e.mild = "mild", e.moderate = "moderate", e.severe = "severe", e))(Qf || {});
6052
- const by = "http://fhir.openmrs.org/code-system/encounter-type", Wa = "problem-list-item", _y = "http://terminology.hl7.org/CodeSystem/condition-ver-status", Ja = "encounter-diagnosis", Sy = "http://terminology.hl7.org/CodeSystem/condition-clinical", Ry = "http://terminology.hl7.org/CodeSystem/condition-category", Ty = "http://fhir.bahmni.org/ext/lab-order-concept-type", Oy = "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", Ay = "http://fhir.bahmni.org/ext/observation/form-namespace-path", Ny = "http://fhir.bahmni.org/ext/observation/obs-value-attachment", $y = "Numeric", Py = "Complex", Iy = "final", Dy = "Observation", Cy = /^\d{4}-\d{2}-\d{2}/, Xf = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/, Ly = {
6052
+ const _y = "http://fhir.openmrs.org/code-system/encounter-type", Wa = "problem-list-item", Sy = "http://terminology.hl7.org/CodeSystem/condition-ver-status", Ja = "encounter-diagnosis", Ry = "http://terminology.hl7.org/CodeSystem/condition-clinical", Ty = "http://terminology.hl7.org/CodeSystem/condition-category", Oy = "http://fhir.bahmni.org/ext/lab-order-concept-type", Ay = "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", Ny = "http://fhir.bahmni.org/ext/observation/form-namespace-path", $y = "http://fhir.bahmni.org/ext/observation/obs-value-attachment", Py = "Numeric", Iy = "Complex", Dy = "final", Cy = "Observation", Ly = /^\d{4}-\d{2}-\d{2}/, Xf = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/, ky = {
6053
6053
  ABNORMAL: { code: "A", display: "Abnormal" },
6054
6054
  NORMAL: { code: "N", display: "Normal" }
6055
6055
  }, Zf = (e) => ce + `/Condition?category=${Wa}&patient=${e}&_count=100&_sort=-_lastUpdated`, ep = (e, t = 10, r = 0) => ce + `/Condition?category=${Wa}&patient=${e}&_count=${t}&_getpagesoffset=${r}&_sort=-_lastUpdated`;
6056
6056
  async function tp(e) {
6057
- return await V(`${Zf(e)}`);
6057
+ return await j(`${Zf(e)}`);
6058
6058
  }
6059
- async function ky(e) {
6059
+ async function Uy(e) {
6060
6060
  return (await tp(e)).entry?.filter((n) => n.resource?.resourceType === "Condition").map((n) => n.resource) ?? [];
6061
6061
  }
6062
6062
  async function xy(e, t = 10, r = 1) {
6063
- const n = (r - 1) * t, s = await V(
6063
+ const n = (r - 1) * t, s = await j(
6064
6064
  ep(e, t, n)
6065
6065
  );
6066
6066
  return {
@@ -6081,10 +6081,10 @@ const rp = (e) => ce + `/Condition?category=${Ja}&patient=${e}&_count=100&_sort=
6081
6081
  }
6082
6082
  ], sp = "confirmed", op = "provisional";
6083
6083
  async function ap(e) {
6084
- return await V(rp(e));
6084
+ return await j(rp(e));
6085
6085
  }
6086
6086
  async function ip(e, t, r) {
6087
- return await V(
6087
+ return await j(
6088
6088
  np(e, t, r)
6089
6089
  );
6090
6090
  }
@@ -6125,11 +6125,11 @@ function lp(e) {
6125
6125
  }
6126
6126
  return Array.from(t.values());
6127
6127
  }
6128
- async function Uy(e) {
6128
+ async function qy(e) {
6129
6129
  const t = await ap(e), r = Qa(t);
6130
6130
  return lp(r);
6131
6131
  }
6132
- async function qy(e, t = 10, r = 1) {
6132
+ async function My(e, t = 10, r = 1) {
6133
6133
  const n = (r - 1) * t, s = await ip(
6134
6134
  e,
6135
6135
  t,
@@ -6181,7 +6181,7 @@ async function yp(e, t, r, n = !1) {
6181
6181
  let o;
6182
6182
  t && t.length > 0 && (o = t.join(","));
6183
6183
  const i = (n ? fp : dp)(e, o, s);
6184
- return await V(i);
6184
+ return await j(i);
6185
6185
  }
6186
6186
  function vp(e) {
6187
6187
  const t = e?.[0]?.doseAndRate?.[0]?.doseQuantity;
@@ -6303,7 +6303,7 @@ function Np(e) {
6303
6303
  });
6304
6304
  }
6305
6305
  const Hs = (e) => e.priority === "stat" || e.dosageInstruction?.[0]?.timing?.code?.text === "Immediately" || !1;
6306
- async function My(e, t, r, n = !1) {
6306
+ async function Fy(e, t, r, n = !1) {
6307
6307
  const s = await yp(
6308
6308
  e,
6309
6309
  t,
@@ -6312,18 +6312,18 @@ async function My(e, t, r, n = !1) {
6312
6312
  );
6313
6313
  return Np(s);
6314
6314
  }
6315
- async function Fy() {
6316
- return await V(
6315
+ async function jy() {
6316
+ return await j(
6317
6317
  pp
6318
6318
  );
6319
6319
  }
6320
- async function jy(e, t = 20) {
6321
- return await V(
6320
+ async function Vy(e, t = 20) {
6321
+ return await j(
6322
6322
  hp(e, t)
6323
6323
  );
6324
6324
  }
6325
- async function Vy() {
6326
- return await V(mp);
6325
+ async function Hy() {
6326
+ return await j(mp);
6327
6327
  }
6328
6328
  const $p = 200, Pp = (e, t, r, n, s) => {
6329
6329
  let a = `${ce + `/ServiceRequest?_count=${$p}&_sort=-_lastUpdated`}&category=${e}&patient=${t}`;
@@ -6344,7 +6344,7 @@ function Ip(e) {
6344
6344
  async function Pt(e, t, r, n, s) {
6345
6345
  let o;
6346
6346
  r && r.length > 0 && (o = r.join(","));
6347
- const a = await V(
6347
+ const a = await j(
6348
6348
  Pp(
6349
6349
  e,
6350
6350
  t,
@@ -6355,7 +6355,8 @@ async function Pt(e, t, r, n, s) {
6355
6355
  );
6356
6356
  return a.entry && (a.entry = Ip(a.entry), a.total = a.entry.length), a;
6357
6357
  }
6358
- async function Hy(e, t, r, n) {
6358
+ const Dp = (e) => `${ce}/ImagingStudy/${e}/$fetch-quality-assessment`;
6359
+ async function By(e, t, r, n) {
6359
6360
  return await Pt(
6360
6361
  t,
6361
6362
  e,
@@ -6363,7 +6364,7 @@ async function Hy(e, t, r, n) {
6363
6364
  n
6364
6365
  );
6365
6366
  }
6366
- async function By(e, t, r, n) {
6367
+ async function zy(e, t, r, n) {
6367
6368
  return await Pt(
6368
6369
  t,
6369
6370
  e,
@@ -6372,7 +6373,7 @@ async function By(e, t, r, n) {
6372
6373
  "ImagingStudy:basedon"
6373
6374
  );
6374
6375
  }
6375
- async function zy(e, t, r, n) {
6376
+ async function Gy(e, t, r, n) {
6376
6377
  return (await Pt(
6377
6378
  t,
6378
6379
  e,
@@ -6380,7 +6381,10 @@ async function zy(e, t, r, n) {
6380
6381
  n
6381
6382
  )).entry?.filter((a) => a.resource?.resourceType === "ServiceRequest").map((a) => a.resource) ?? [];
6382
6383
  }
6383
- async function Gy(e, t, r, n) {
6384
+ async function Ky(e) {
6385
+ return await j(Dp(e));
6386
+ }
6387
+ async function Yy(e, t, r, n) {
6384
6388
  return await Pt(
6385
6389
  t,
6386
6390
  e,
@@ -6388,36 +6392,36 @@ async function Gy(e, t, r, n) {
6388
6392
  n
6389
6393
  );
6390
6394
  }
6391
- const Dp = (e, t) => {
6395
+ const Cp = (e, t) => {
6392
6396
  const r = `${ce}/DiagnosticReport?patient=${e}`;
6393
6397
  return t ? `${r}&based-on=${t}` : r;
6394
- }, Cp = (e) => `${ce}/DiagnosticReport/${e}/$fetch-bundle`, Lp = (e) => `${ce}/DiagnosticReport/${e}/$update-bundle`;
6395
- async function Ky(e, t = []) {
6396
- const r = t.length > 0 ? t.join(",") : void 0, n = Dp(e, r);
6397
- return await V(n);
6398
+ }, Lp = (e) => `${ce}/DiagnosticReport/${e}/$fetch-bundle`, kp = (e) => `${ce}/DiagnosticReport/${e}/$update-bundle`;
6399
+ async function Wy(e, t = []) {
6400
+ const r = t.length > 0 ? t.join(",") : void 0, n = Cp(e, r);
6401
+ return await j(n);
6398
6402
  }
6399
- async function Yy(e) {
6400
- const t = Cp(e);
6401
- return await V(t);
6403
+ async function Jy(e) {
6404
+ const t = Lp(e);
6405
+ return await j(t);
6402
6406
  }
6403
- async function Wy(e, t) {
6404
- const r = Lp(e);
6405
- return await xe(r, t);
6407
+ async function Qy(e, t) {
6408
+ const r = kp(e);
6409
+ return await Ue(r, t);
6406
6410
  }
6407
- const Jy = [
6411
+ const Xy = [
6408
6412
  "preliminary",
6409
6413
  "final",
6410
6414
  "amended",
6411
6415
  "corrected",
6412
6416
  "appended"
6413
- ], Qy = [
6417
+ ], Zy = [
6414
6418
  "registered",
6415
6419
  "unknown",
6416
6420
  "partial"
6417
- ], kp = "All Orderables", xp = "/openmrs/ws/rest/v1/ordertype?v=custom:(uuid,display,conceptClasses:(uuid,name))", Up = "LabSet", qp = "http://fhir.bahmni.org/ext/ValueSet/concept-class", Xy = ["orderTypes"], Mp = async () => await jf(kp), zn = async () => await V(xp), Fp = (e) => {
6421
+ ], Up = "All Orderables", xp = "/openmrs/ws/rest/v1/ordertype?v=custom:(uuid,display,conceptClasses:(uuid,name))", qp = "LabSet", Mp = "http://fhir.bahmni.org/ext/ValueSet/concept-class", ev = ["orderTypes"], Fp = async () => await jf(Up), zn = async () => await j(xp), jp = (e) => {
6418
6422
  let t = e.display ?? "Unknown investigation";
6419
- return Xa(e) === Up && (t += ` (${le.t("INVESTIGATION_PANEL")})`), t;
6420
- }, jp = (e) => {
6423
+ return Xa(e) === qp && (t += ` (${le.t("INVESTIGATION_PANEL")})`), t;
6424
+ }, Vp = (e) => {
6421
6425
  const t = /* @__PURE__ */ new Map();
6422
6426
  return e.results.forEach((r) => {
6423
6427
  r.conceptClasses.forEach((n) => {
@@ -6426,10 +6430,10 @@ const Jy = [
6426
6430
  }), t;
6427
6431
  }, Xa = (e) => {
6428
6432
  const t = e.extension?.find(
6429
- (r) => r.url === qp
6433
+ (r) => r.url === Mp
6430
6434
  );
6431
6435
  return t ? t.valueString ?? "" : "";
6432
- }, Vp = (e, t) => {
6436
+ }, Hp = (e, t) => {
6433
6437
  const r = [];
6434
6438
  return !e.expansion?.contains || e.expansion.contains.length === 0 || t.size === 0 || e.expansion.contains.forEach((n) => {
6435
6439
  n.contains?.forEach((s) => {
@@ -6439,19 +6443,19 @@ const Jy = [
6439
6443
  return;
6440
6444
  r.filter((d) => d.code === o.code && d.categoryCode === i.uuid).length > 0 || r.push({
6441
6445
  code: o.code ?? "",
6442
- display: Fp(o),
6446
+ display: jp(o),
6443
6447
  category: i.display,
6444
6448
  categoryCode: i.uuid
6445
6449
  });
6446
6450
  });
6447
6451
  });
6448
6452
  }), r;
6449
- }, Zy = async () => {
6450
- const e = await Mp(), t = await zn();
6451
- return Vp(e, jp(t));
6452
- }, ev = async (e) => e ? (await zn()).results.find(
6453
+ }, tv = async () => {
6454
+ const e = await Fp(), t = await zn();
6455
+ return Hp(e, Vp(t));
6456
+ }, rv = async (e) => e ? (await zn()).results.find(
6453
6457
  (n) => n.display.toLowerCase() === e.toLowerCase()
6454
- )?.uuid : void 0, tv = async () => (await zn()).results.map((t) => t.display), rv = async (e, t, r) => {
6458
+ )?.uuid : void 0, nv = async () => (await zn()).results.map((t) => t.display), sv = async (e, t, r) => {
6455
6459
  const n = [];
6456
6460
  for (const s of e) {
6457
6461
  const o = s.uuid;
@@ -6471,7 +6475,7 @@ const Jy = [
6471
6475
  }
6472
6476
  return n;
6473
6477
  };
6474
- function Hp(e) {
6478
+ function Bp(e) {
6475
6479
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
6476
6480
  }
6477
6481
  var Lt = { exports: {} }, un = {}, De = {}, je = {}, ln = {}, dn = {}, fn = {}, Bs;
@@ -6777,8 +6781,8 @@ function Z() {
6777
6781
  super(), this.varKind = w, this.name = T, this.rhs = D;
6778
6782
  }
6779
6783
  render({ es5: w, _n: T }) {
6780
- const D = w ? r.varKinds.var : this.varKind, j = this.rhs === void 0 ? "" : ` = ${this.rhs}`;
6781
- return `${D} ${this.name}${j};` + T;
6784
+ const D = w ? r.varKinds.var : this.varKind, V = this.rhs === void 0 ? "" : ` = ${this.rhs}`;
6785
+ return `${D} ${this.name}${V};` + T;
6782
6786
  }
6783
6787
  optimizeNames(w, T) {
6784
6788
  if (w[this.name.str])
@@ -6805,8 +6809,8 @@ function Z() {
6805
6809
  }
6806
6810
  }
6807
6811
  class c extends i {
6808
- constructor(w, T, D, j) {
6809
- super(w, D, j), this.op = T;
6812
+ constructor(w, T, D, V) {
6813
+ super(w, D, V), this.op = T;
6810
6814
  }
6811
6815
  render({ _n: w }) {
6812
6816
  return `${this.lhs} ${this.op}= ${this.rhs};` + w;
@@ -6874,10 +6878,10 @@ function Z() {
6874
6878
  }
6875
6879
  optimizeNames(w, T) {
6876
6880
  const { nodes: D } = this;
6877
- let j = D.length;
6878
- for (; j--; ) {
6879
- const z = D[j];
6880
- z.optimizeNames(w, T) || (re(w, z.names), D.splice(j, 1));
6881
+ let V = D.length;
6882
+ for (; V--; ) {
6883
+ const z = D[V];
6884
+ z.optimizeNames(w, T) || (re(w, z.names), D.splice(V, 1));
6881
6885
  }
6882
6886
  return D.length > 0 ? this : void 0;
6883
6887
  }
@@ -6948,12 +6952,12 @@ function Z() {
6948
6952
  }
6949
6953
  }
6950
6954
  class E extends u {
6951
- constructor(w, T, D, j) {
6952
- super(), this.varKind = w, this.name = T, this.from = D, this.to = j;
6955
+ constructor(w, T, D, V) {
6956
+ super(), this.varKind = w, this.name = T, this.from = D, this.to = V;
6953
6957
  }
6954
6958
  render(w) {
6955
- const T = w.es5 ? r.varKinds.var : this.varKind, { name: D, from: j, to: z } = this;
6956
- return `for(${T} ${D}=${j}; ${D}<${z}; ${D}++)` + super.render(w);
6959
+ const T = w.es5 ? r.varKinds.var : this.varKind, { name: D, from: V, to: z } = this;
6960
+ return `for(${T} ${D}=${V}; ${D}<${z}; ${D}++)` + super.render(w);
6957
6961
  }
6958
6962
  get names() {
6959
6963
  const w = H(super.names, this.from);
@@ -6961,8 +6965,8 @@ function Z() {
6961
6965
  }
6962
6966
  }
6963
6967
  class _ extends u {
6964
- constructor(w, T, D, j) {
6965
- super(), this.loop = w, this.varKind = T, this.name = D, this.iterable = j;
6968
+ constructor(w, T, D, V) {
6969
+ super(), this.loop = w, this.varKind = T, this.name = D, this.iterable = V;
6966
6970
  }
6967
6971
  render(w) {
6968
6972
  return `for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})` + super.render(w);
@@ -7000,8 +7004,8 @@ function Z() {
7000
7004
  return super.optimizeNodes(), (w = this.catch) === null || w === void 0 || w.optimizeNodes(), (T = this.finally) === null || T === void 0 || T.optimizeNodes(), this;
7001
7005
  }
7002
7006
  optimizeNames(w, T) {
7003
- var D, j;
7004
- return super.optimizeNames(w, T), (D = this.catch) === null || D === void 0 || D.optimizeNames(w, T), (j = this.finally) === null || j === void 0 || j.optimizeNames(w, T), this;
7007
+ var D, V;
7008
+ return super.optimizeNames(w, T), (D = this.catch) === null || D === void 0 || D.optimizeNames(w, T), (V = this.finally) === null || V === void 0 || V.optimizeNames(w, T), this;
7005
7009
  }
7006
7010
  get names() {
7007
7011
  const w = super.names;
@@ -7055,9 +7059,9 @@ function Z() {
7055
7059
  scopeCode() {
7056
7060
  return this._extScope.scopeCode(this._values);
7057
7061
  }
7058
- _def(w, T, D, j) {
7062
+ _def(w, T, D, V) {
7059
7063
  const z = this._scope.toName(T);
7060
- return D !== void 0 && j && (this._constants[z.str] = D), this._leafNode(new a(w, z, D)), z;
7064
+ return D !== void 0 && V && (this._constants[z.str] = D), this._leafNode(new a(w, z, D)), z;
7061
7065
  }
7062
7066
  // `const` declaration (`var` in es5 mode)
7063
7067
  const(w, T, D) {
@@ -7086,8 +7090,8 @@ function Z() {
7086
7090
  // returns code for object literal for the passed argument list of key-value pairs
7087
7091
  object(...w) {
7088
7092
  const T = ["{"];
7089
- for (const [D, j] of w)
7090
- T.length > 1 && T.push(","), T.push(D), (D !== j || this.opts.es5) && (T.push(":"), (0, t.addCodeArg)(T, j));
7093
+ for (const [D, V] of w)
7094
+ T.length > 1 && T.push(","), T.push(D), (D !== V || this.opts.es5) && (T.push(":"), (0, t.addCodeArg)(T, V));
7091
7095
  return T.push("}"), new t._Code(T);
7092
7096
  }
7093
7097
  // `if` clause (or statement if `thenBody` and, optionally, `elseBody` are passed)
@@ -7120,12 +7124,12 @@ function Z() {
7120
7124
  return this._for(new h(w), T);
7121
7125
  }
7122
7126
  // `for` statement for a range of values
7123
- forRange(w, T, D, j, z = this.opts.es5 ? r.varKinds.var : r.varKinds.let) {
7127
+ forRange(w, T, D, V, z = this.opts.es5 ? r.varKinds.var : r.varKinds.let) {
7124
7128
  const se = this._scope.toName(w);
7125
- return this._for(new E(z, se, T, D), () => j(se));
7129
+ return this._for(new E(z, se, T, D), () => V(se));
7126
7130
  }
7127
7131
  // `for-of` statement (in es5 mode replace with a normal for loop)
7128
- forOf(w, T, D, j = r.varKinds.const) {
7132
+ forOf(w, T, D, V = r.varKinds.const) {
7129
7133
  const z = this._scope.toName(w);
7130
7134
  if (this.opts.es5) {
7131
7135
  const se = T instanceof t.Name ? T : this.var("_arr", T);
@@ -7133,15 +7137,15 @@ function Z() {
7133
7137
  this.var(z, (0, t._)`${se}[${ee}]`), D(z);
7134
7138
  });
7135
7139
  }
7136
- return this._for(new _("of", j, z, T), () => D(z));
7140
+ return this._for(new _("of", V, z, T), () => D(z));
7137
7141
  }
7138
7142
  // `for-in` statement.
7139
7143
  // With option `ownProperties` replaced with a `for-of` loop for object keys
7140
- forIn(w, T, D, j = this.opts.es5 ? r.varKinds.var : r.varKinds.const) {
7144
+ forIn(w, T, D, V = this.opts.es5 ? r.varKinds.var : r.varKinds.const) {
7141
7145
  if (this.opts.ownProperties)
7142
7146
  return this.forOf(w, (0, t._)`Object.keys(${T})`, D);
7143
7147
  const z = this._scope.toName(w);
7144
- return this._for(new _("in", j, z, T), () => D(z));
7148
+ return this._for(new _("in", V, z, T), () => D(z));
7145
7149
  }
7146
7150
  // end `for` loop
7147
7151
  endFor() {
@@ -7166,12 +7170,12 @@ function Z() {
7166
7170
  try(w, T, D) {
7167
7171
  if (!T && !D)
7168
7172
  throw new Error('CodeGen: "try" without "catch" and "finally"');
7169
- const j = new N();
7170
- if (this._blockNode(j), this.code(w), T) {
7173
+ const V = new N();
7174
+ if (this._blockNode(V), this.code(w), T) {
7171
7175
  const z = this.name("e");
7172
- this._currNode = j.catch = new k(z), T(z);
7176
+ this._currNode = V.catch = new k(z), T(z);
7173
7177
  }
7174
- return D && (this._currNode = j.finally = new M(), this.code(D)), this._endBlockNode(k, M);
7178
+ return D && (this._currNode = V.finally = new M(), this.code(D)), this._endBlockNode(k, M);
7175
7179
  }
7176
7180
  // `throw` statement
7177
7181
  throw(w) {
@@ -7192,8 +7196,8 @@ function Z() {
7192
7196
  return this._nodes.length = T, this;
7193
7197
  }
7194
7198
  // `function` heading (or definition if funcBody is passed)
7195
- func(w, T = t.nil, D, j) {
7196
- return this._blockNode(new b(w, T, D)), j && this.code(j).endFunc(), this;
7199
+ func(w, T = t.nil, D, V) {
7200
+ return this._blockNode(new b(w, T, D)), V && this.code(V).endFunc(), this;
7197
7201
  }
7198
7202
  // end function definition
7199
7203
  endFunc() {
@@ -7245,14 +7249,14 @@ function Z() {
7245
7249
  function G(P, w, T) {
7246
7250
  if (P instanceof t.Name)
7247
7251
  return D(P);
7248
- if (!j(P))
7252
+ if (!V(P))
7249
7253
  return P;
7250
7254
  return new t._Code(P._items.reduce((z, se) => (se instanceof t.Name && (se = D(se)), se instanceof t._Code ? z.push(...se._items) : z.push(se), z), []));
7251
7255
  function D(z) {
7252
7256
  const se = T[z.str];
7253
7257
  return se === void 0 || w[z.str] !== 1 ? z : (delete w[z.str], se);
7254
7258
  }
7255
- function j(z) {
7259
+ function V(z) {
7256
7260
  return z instanceof t._Code && z._items.some((se) => se instanceof t.Name && w[se.str] === 1 && T[se.str] !== void 0);
7257
7261
  }
7258
7262
  }
@@ -7270,10 +7274,10 @@ function Z() {
7270
7274
  }
7271
7275
  e.and = J;
7272
7276
  const ie = A(e.operators.OR);
7273
- function x(...P) {
7277
+ function U(...P) {
7274
7278
  return P.reduce(ie);
7275
7279
  }
7276
- e.or = x;
7280
+ e.or = U;
7277
7281
  function A(P) {
7278
7282
  return (w, T) => w === t.nil ? T : T === t.nil ? w : (0, t._)`${C(w)} ${P} ${C(T)}`;
7279
7283
  }
@@ -7535,7 +7539,7 @@ function Vr() {
7535
7539
  })(ln)), ln;
7536
7540
  }
7537
7541
  var Qs;
7538
- function Bp() {
7542
+ function zp() {
7539
7543
  if (Qs) return je;
7540
7544
  Qs = 1, Object.defineProperty(je, "__esModule", { value: !0 }), je.boolOrEmptySchema = je.topBoolOrEmptySchema = void 0;
7541
7545
  const e = Vr(), t = Z(), r = Fe(), n = {
@@ -7760,7 +7764,7 @@ function Ir() {
7760
7764
  return me;
7761
7765
  }
7762
7766
  var gt = {}, to;
7763
- function zp() {
7767
+ function Gp() {
7764
7768
  if (to) return gt;
7765
7769
  to = 1, Object.defineProperty(gt, "__esModule", { value: !0 }), gt.assignDefaults = void 0;
7766
7770
  const e = Z(), t = te();
@@ -7896,7 +7900,7 @@ function Pe() {
7896
7900
  return oe.validateUnion = p, oe;
7897
7901
  }
7898
7902
  var no;
7899
- function Gp() {
7903
+ function Kp() {
7900
7904
  if (no) return Ne;
7901
7905
  no = 1, Object.defineProperty(Ne, "__esModule", { value: !0 }), Ne.validateKeywordUsage = Ne.validSchemaType = Ne.funcKeywordCode = Ne.macroKeywordCode = void 0;
7902
7906
  const e = Z(), t = Fe(), r = Pe(), n = Vr();
@@ -7985,7 +7989,7 @@ function Gp() {
7985
7989
  return Ne.validateKeywordUsage = m, Ne;
7986
7990
  }
7987
7991
  var Le = {}, so;
7988
- function Kp() {
7992
+ function Yp() {
7989
7993
  if (so) return Le;
7990
7994
  so = 1, Object.defineProperty(Le, "__esModule", { value: !0 }), Le.extendSubschemaMode = Le.extendSubschemaData = Le.getSubschema = void 0;
7991
7995
  const e = Z(), t = te();
@@ -8069,7 +8073,7 @@ function ti() {
8069
8073
  }), hn;
8070
8074
  }
8071
8075
  var mn = { exports: {} }, ao;
8072
- function Yp() {
8076
+ function Wp() {
8073
8077
  if (ao) return mn.exports;
8074
8078
  ao = 1;
8075
8079
  var e = mn.exports = function(n, s, o) {
@@ -8147,7 +8151,7 @@ var io;
8147
8151
  function Hr() {
8148
8152
  if (io) return ye;
8149
8153
  io = 1, Object.defineProperty(ye, "__esModule", { value: !0 }), ye.getSchemaRefs = ye.resolveUrl = ye.normalizeId = ye._getFullPath = ye.getFullPath = ye.inlineRef = void 0;
8150
- const e = te(), t = ti(), r = Yp(), n = /* @__PURE__ */ new Set([
8154
+ const e = te(), t = ti(), r = Wp(), n = /* @__PURE__ */ new Set([
8151
8155
  "type",
8152
8156
  "format",
8153
8157
  "pattern",
@@ -8231,8 +8235,8 @@ function Hr() {
8231
8235
  if (J = m(re ? ie(re, J) : J), R.has(J))
8232
8236
  throw k(J);
8233
8237
  R.add(J);
8234
- let x = this.refs[J];
8235
- return typeof x == "string" && (x = this.refs[x]), typeof x == "object" ? N(M, x.schema, J) : J !== m(G) && (J[0] === "#" ? (N(M, b[J], J), b[J] = M) : this.refs[J] = G), J;
8238
+ let U = this.refs[J];
8239
+ return typeof U == "string" && (U = this.refs[U]), typeof U == "object" ? N(M, U.schema, J) : J !== m(G) && (J[0] === "#" ? (N(M, b[J], J), b[J] = M) : this.refs[J] = G), J;
8236
8240
  }
8237
8241
  function fe(J) {
8238
8242
  if (typeof J == "string") {
@@ -8256,7 +8260,7 @@ var co;
8256
8260
  function Br() {
8257
8261
  if (co) return De;
8258
8262
  co = 1, Object.defineProperty(De, "__esModule", { value: !0 }), De.getData = De.KeywordCxt = De.validateFunctionCode = void 0;
8259
- const e = Bp(), t = Ir(), r = ei(), n = Ir(), s = zp(), o = Gp(), a = Kp(), i = Z(), c = Fe(), d = Hr(), l = te(), m = Vr();
8263
+ const e = zp(), t = Ir(), r = ei(), n = Ir(), s = Gp(), o = Kp(), a = Yp(), i = Z(), c = Fe(), d = Hr(), l = te(), m = Vr();
8260
8264
  function v(O) {
8261
8265
  if (_(O) && (R(O), E(O))) {
8262
8266
  f(O);
@@ -8265,10 +8269,10 @@ function Br() {
8265
8269
  S(O, () => (0, e.topBoolOrEmptySchema)(O));
8266
8270
  }
8267
8271
  De.validateFunctionCode = v;
8268
- function S({ gen: O, validateName: $, schema: L, schemaEnv: U, opts: B }, Q) {
8269
- B.code.es5 ? O.func($, (0, i._)`${c.default.data}, ${c.default.valCxt}`, U.$async, () => {
8272
+ function S({ gen: O, validateName: $, schema: L, schemaEnv: x, opts: B }, Q) {
8273
+ B.code.es5 ? O.func($, (0, i._)`${c.default.data}, ${c.default.valCxt}`, x.$async, () => {
8270
8274
  O.code((0, i._)`"use strict"; ${u(L, B)}`), g(O, B), O.code(Q);
8271
- }) : O.func($, (0, i._)`${c.default.data}, ${y(B)}`, U.$async, () => O.code(u(L, B)).code(Q));
8275
+ }) : O.func($, (0, i._)`${c.default.data}, ${y(B)}`, x.$async, () => O.code(u(L, B)).code(Q));
8272
8276
  }
8273
8277
  function y(O) {
8274
8278
  return (0, i._)`{${c.default.instancePath}="", ${c.default.parentData}, ${c.default.parentDataProperty}, ${c.default.rootData}=${c.default.data}${O.dynamicRef ? (0, i._)`, ${c.default.dynamicAnchors}={}` : i.nil}}={}`;
@@ -8281,9 +8285,9 @@ function Br() {
8281
8285
  });
8282
8286
  }
8283
8287
  function f(O) {
8284
- const { schema: $, opts: L, gen: U } = O;
8288
+ const { schema: $, opts: L, gen: x } = O;
8285
8289
  S(O, () => {
8286
- L.$comment && $.$comment && H(O), M(O), U.let(c.default.vErrors, null), U.let(c.default.errors, 0), L.unevaluated && p(O), N(O), G(O);
8290
+ L.$comment && $.$comment && H(O), M(O), x.let(c.default.vErrors, null), x.let(c.default.errors, 0), L.unevaluated && p(O), N(O), G(O);
8287
8291
  });
8288
8292
  }
8289
8293
  function p(O) {
@@ -8313,10 +8317,10 @@ function Br() {
8313
8317
  return typeof O.schema != "boolean";
8314
8318
  }
8315
8319
  function b(O, $) {
8316
- const { schema: L, gen: U, opts: B } = O;
8320
+ const { schema: L, gen: x, opts: B } = O;
8317
8321
  B.$comment && L.$comment && H(O), q(O), F(O);
8318
- const Q = U.const("_errs", c.default.errors);
8319
- N(O, Q), U.var($, (0, i._)`${Q} === ${c.default.errors}`);
8322
+ const Q = x.const("_errs", c.default.errors);
8323
+ N(O, Q), x.var($, (0, i._)`${Q} === ${c.default.errors}`);
8320
8324
  }
8321
8325
  function R(O) {
8322
8326
  (0, l.checkUnknownRules)(O), k(O);
@@ -8324,12 +8328,12 @@ function Br() {
8324
8328
  function N(O, $) {
8325
8329
  if (O.opts.jtd)
8326
8330
  return ne(O, [], !1, $);
8327
- const L = (0, t.getSchemaTypes)(O.schema), U = (0, t.coerceAndCheckDataType)(O, L);
8328
- ne(O, L, !U, $);
8331
+ const L = (0, t.getSchemaTypes)(O.schema), x = (0, t.coerceAndCheckDataType)(O, L);
8332
+ ne(O, L, !x, $);
8329
8333
  }
8330
8334
  function k(O) {
8331
- const { schema: $, errSchemaPath: L, opts: U, self: B } = O;
8332
- $.$ref && U.ignoreKeywordsWithRef && (0, l.schemaHasRulesButRef)($, B.RULES) && B.logger.warn(`$ref: keywords ignored in schema at path "${L}"`);
8335
+ const { schema: $, errSchemaPath: L, opts: x, self: B } = O;
8336
+ $.$ref && x.ignoreKeywordsWithRef && (0, l.schemaHasRulesButRef)($, B.RULES) && B.logger.warn(`$ref: keywords ignored in schema at path "${L}"`);
8333
8337
  }
8334
8338
  function M(O) {
8335
8339
  const { schema: $, opts: L } = O;
@@ -8343,26 +8347,26 @@ function Br() {
8343
8347
  if (O.schema.$async && !O.schemaEnv.$async)
8344
8348
  throw new Error("async schema in sync schema");
8345
8349
  }
8346
- function H({ gen: O, schemaEnv: $, schema: L, errSchemaPath: U, opts: B }) {
8350
+ function H({ gen: O, schemaEnv: $, schema: L, errSchemaPath: x, opts: B }) {
8347
8351
  const Q = L.$comment;
8348
8352
  if (B.$comment === !0)
8349
8353
  O.code((0, i._)`${c.default.self}.logger.log(${Q})`);
8350
8354
  else if (typeof B.$comment == "function") {
8351
- const pe = (0, i.str)`${U}/$comment`, Ae = O.scopeValue("root", { ref: $.root });
8355
+ const pe = (0, i.str)`${x}/$comment`, Ae = O.scopeValue("root", { ref: $.root });
8352
8356
  O.code((0, i._)`${c.default.self}.opts.$comment(${Q}, ${pe}, ${Ae}.schema)`);
8353
8357
  }
8354
8358
  }
8355
8359
  function G(O) {
8356
- const { gen: $, schemaEnv: L, validateName: U, ValidationError: B, opts: Q } = O;
8357
- L.$async ? $.if((0, i._)`${c.default.errors} === 0`, () => $.return(c.default.data), () => $.throw((0, i._)`new ${B}(${c.default.vErrors})`)) : ($.assign((0, i._)`${U}.errors`, c.default.vErrors), Q.unevaluated && re(O), $.return((0, i._)`${c.default.errors} === 0`));
8360
+ const { gen: $, schemaEnv: L, validateName: x, ValidationError: B, opts: Q } = O;
8361
+ L.$async ? $.if((0, i._)`${c.default.errors} === 0`, () => $.return(c.default.data), () => $.throw((0, i._)`new ${B}(${c.default.vErrors})`)) : ($.assign((0, i._)`${x}.errors`, c.default.vErrors), Q.unevaluated && re(O), $.return((0, i._)`${c.default.errors} === 0`));
8358
8362
  }
8359
- function re({ gen: O, evaluated: $, props: L, items: U }) {
8360
- L instanceof i.Name && O.assign((0, i._)`${$}.props`, L), U instanceof i.Name && O.assign((0, i._)`${$}.items`, U);
8363
+ function re({ gen: O, evaluated: $, props: L, items: x }) {
8364
+ L instanceof i.Name && O.assign((0, i._)`${$}.props`, L), x instanceof i.Name && O.assign((0, i._)`${$}.items`, x);
8361
8365
  }
8362
- function ne(O, $, L, U) {
8366
+ function ne(O, $, L, x) {
8363
8367
  const { gen: B, schema: Q, data: pe, allErrors: Ae, opts: ve, self: we } = O, { RULES: he } = we;
8364
8368
  if (Q.$ref && (ve.ignoreKeywordsWithRef || !(0, l.schemaHasRulesButRef)(Q, he))) {
8365
- B.block(() => j(O, "$ref", he.all.$ref.definition));
8369
+ B.block(() => V(O, "$ref", he.all.$ref.definition));
8366
8370
  return;
8367
8371
  }
8368
8372
  ve.jtd || J(O, $), B.block(() => {
@@ -8371,18 +8375,18 @@ function Br() {
8371
8375
  Ye(he.post);
8372
8376
  });
8373
8377
  function Ye(Se) {
8374
- (0, r.shouldUseGroup)(Q, Se) && (Se.type ? (B.if((0, n.checkDataType)(Se.type, pe, ve.strictNumbers)), fe(O, Se), $.length === 1 && $[0] === Se.type && L && (B.else(), (0, n.reportTypeError)(O)), B.endIf()) : fe(O, Se), Ae || B.if((0, i._)`${c.default.errors} === ${U || 0}`));
8378
+ (0, r.shouldUseGroup)(Q, Se) && (Se.type ? (B.if((0, n.checkDataType)(Se.type, pe, ve.strictNumbers)), fe(O, Se), $.length === 1 && $[0] === Se.type && L && (B.else(), (0, n.reportTypeError)(O)), B.endIf()) : fe(O, Se), Ae || B.if((0, i._)`${c.default.errors} === ${x || 0}`));
8375
8379
  }
8376
8380
  }
8377
8381
  function fe(O, $) {
8378
- const { gen: L, schema: U, opts: { useDefaults: B } } = O;
8382
+ const { gen: L, schema: x, opts: { useDefaults: B } } = O;
8379
8383
  B && (0, s.assignDefaults)(O, $.type), L.block(() => {
8380
8384
  for (const Q of $.rules)
8381
- (0, r.shouldUseRule)(U, Q) && j(O, Q.keyword, Q.definition, $.type);
8385
+ (0, r.shouldUseRule)(x, Q) && V(O, Q.keyword, Q.definition, $.type);
8382
8386
  });
8383
8387
  }
8384
8388
  function J(O, $) {
8385
- O.schemaEnv.meta || !O.opts.strictTypes || (ie(O, $), O.opts.allowUnionTypes || x(O, $), A(O, O.dataTypes));
8389
+ O.schemaEnv.meta || !O.opts.strictTypes || (ie(O, $), O.opts.allowUnionTypes || U(O, $), A(O, O.dataTypes));
8386
8390
  }
8387
8391
  function ie(O, $) {
8388
8392
  if ($.length) {
@@ -8395,16 +8399,16 @@ function Br() {
8395
8399
  }), w(O, $);
8396
8400
  }
8397
8401
  }
8398
- function x(O, $) {
8402
+ function U(O, $) {
8399
8403
  $.length > 1 && !($.length === 2 && $.includes("null")) && T(O, "use allowUnionTypes to allow union type keyword");
8400
8404
  }
8401
8405
  function A(O, $) {
8402
8406
  const L = O.self.RULES.all;
8403
- for (const U in L) {
8404
- const B = L[U];
8407
+ for (const x in L) {
8408
+ const B = L[x];
8405
8409
  if (typeof B == "object" && (0, r.shouldUseRule)(O.schema, B)) {
8406
8410
  const { type: Q } = B.definition;
8407
- Q.length && !Q.some((pe) => C($, pe)) && T(O, `missing type "${Q.join(",")}" for keyword "${U}"`);
8411
+ Q.length && !Q.some((pe) => C($, pe)) && T(O, `missing type "${Q.join(",")}" for keyword "${x}"`);
8408
8412
  }
8409
8413
  }
8410
8414
  }
@@ -8416,8 +8420,8 @@ function Br() {
8416
8420
  }
8417
8421
  function w(O, $) {
8418
8422
  const L = [];
8419
- for (const U of O.dataTypes)
8420
- P($, U) ? L.push(U) : $.includes("integer") && U === "number" && L.push("integer");
8423
+ for (const x of O.dataTypes)
8424
+ P($, x) ? L.push(x) : $.includes("integer") && x === "number" && L.push("integer");
8421
8425
  O.dataTypes = L;
8422
8426
  }
8423
8427
  function T(O, $) {
@@ -8425,18 +8429,18 @@ function Br() {
8425
8429
  $ += ` at "${L}" (strictTypes)`, (0, l.checkStrictMode)(O, $, O.opts.strictTypes);
8426
8430
  }
8427
8431
  class D {
8428
- constructor($, L, U) {
8429
- if ((0, o.validateKeywordUsage)($, L, U), this.gen = $.gen, this.allErrors = $.allErrors, this.keyword = U, this.data = $.data, this.schema = $.schema[U], this.$data = L.$data && $.opts.$data && this.schema && this.schema.$data, this.schemaValue = (0, l.schemaRefOrVal)($, this.schema, U, this.$data), this.schemaType = L.schemaType, this.parentSchema = $.schema, this.params = {}, this.it = $, this.def = L, this.$data)
8432
+ constructor($, L, x) {
8433
+ if ((0, o.validateKeywordUsage)($, L, x), this.gen = $.gen, this.allErrors = $.allErrors, this.keyword = x, this.data = $.data, this.schema = $.schema[x], this.$data = L.$data && $.opts.$data && this.schema && this.schema.$data, this.schemaValue = (0, l.schemaRefOrVal)($, this.schema, x, this.$data), this.schemaType = L.schemaType, this.parentSchema = $.schema, this.params = {}, this.it = $, this.def = L, this.$data)
8430
8434
  this.schemaCode = $.gen.const("vSchema", ee(this.$data, $));
8431
8435
  else if (this.schemaCode = this.schemaValue, !(0, o.validSchemaType)(this.schema, L.schemaType, L.allowUndefined))
8432
- throw new Error(`${U} value must be ${JSON.stringify(L.schemaType)}`);
8436
+ throw new Error(`${x} value must be ${JSON.stringify(L.schemaType)}`);
8433
8437
  ("code" in L ? L.trackErrors : L.errors !== !1) && (this.errsCount = $.gen.const("_errs", c.default.errors));
8434
8438
  }
8435
- result($, L, U) {
8436
- this.failResult((0, i.not)($), L, U);
8439
+ result($, L, x) {
8440
+ this.failResult((0, i.not)($), L, x);
8437
8441
  }
8438
- failResult($, L, U) {
8439
- this.gen.if($), U ? U() : this.error(), L ? (this.gen.else(), L(), this.allErrors && this.gen.endIf()) : this.allErrors ? this.gen.endIf() : this.gen.else();
8442
+ failResult($, L, x) {
8443
+ this.gen.if($), x ? x() : this.error(), L ? (this.gen.else(), L(), this.allErrors && this.gen.endIf()) : this.allErrors ? this.gen.endIf() : this.gen.else();
8440
8444
  }
8441
8445
  pass($, L) {
8442
8446
  this.failResult((0, i.not)($), void 0, L);
@@ -8454,12 +8458,12 @@ function Br() {
8454
8458
  const { schemaCode: L } = this;
8455
8459
  this.fail((0, i._)`${L} !== undefined && (${(0, i.or)(this.invalid$data(), $)})`);
8456
8460
  }
8457
- error($, L, U) {
8461
+ error($, L, x) {
8458
8462
  if (L) {
8459
- this.setParams(L), this._error($, U), this.setParams({});
8463
+ this.setParams(L), this._error($, x), this.setParams({});
8460
8464
  return;
8461
8465
  }
8462
- this._error($, U);
8466
+ this._error($, x);
8463
8467
  }
8464
8468
  _error($, L) {
8465
8469
  ($ ? m.reportExtraError : m.reportError)(this, this.def.error, L);
@@ -8478,25 +8482,25 @@ function Br() {
8478
8482
  setParams($, L) {
8479
8483
  L ? Object.assign(this.params, $) : this.params = $;
8480
8484
  }
8481
- block$data($, L, U = i.nil) {
8485
+ block$data($, L, x = i.nil) {
8482
8486
  this.gen.block(() => {
8483
- this.check$data($, U), L();
8487
+ this.check$data($, x), L();
8484
8488
  });
8485
8489
  }
8486
8490
  check$data($ = i.nil, L = i.nil) {
8487
8491
  if (!this.$data)
8488
8492
  return;
8489
- const { gen: U, schemaCode: B, schemaType: Q, def: pe } = this;
8490
- U.if((0, i.or)((0, i._)`${B} === undefined`, L)), $ !== i.nil && U.assign($, !0), (Q.length || pe.validateSchema) && (U.elseIf(this.invalid$data()), this.$dataError(), $ !== i.nil && U.assign($, !1)), U.else();
8493
+ const { gen: x, schemaCode: B, schemaType: Q, def: pe } = this;
8494
+ x.if((0, i.or)((0, i._)`${B} === undefined`, L)), $ !== i.nil && x.assign($, !0), (Q.length || pe.validateSchema) && (x.elseIf(this.invalid$data()), this.$dataError(), $ !== i.nil && x.assign($, !1)), x.else();
8491
8495
  }
8492
8496
  invalid$data() {
8493
- const { gen: $, schemaCode: L, schemaType: U, def: B, it: Q } = this;
8497
+ const { gen: $, schemaCode: L, schemaType: x, def: B, it: Q } = this;
8494
8498
  return (0, i.or)(pe(), Ae());
8495
8499
  function pe() {
8496
- if (U.length) {
8500
+ if (x.length) {
8497
8501
  if (!(L instanceof i.Name))
8498
8502
  throw new Error("ajv implementation error");
8499
- const ve = Array.isArray(U) ? U : [U];
8503
+ const ve = Array.isArray(x) ? x : [x];
8500
8504
  return (0, i._)`${(0, n.checkDataTypes)(ve, L, Q.opts.strictNumbers, n.DataType.Wrong)}`;
8501
8505
  }
8502
8506
  return i.nil;
@@ -8510,28 +8514,28 @@ function Br() {
8510
8514
  }
8511
8515
  }
8512
8516
  subschema($, L) {
8513
- const U = (0, a.getSubschema)(this.it, $);
8514
- (0, a.extendSubschemaData)(U, this.it, $), (0, a.extendSubschemaMode)(U, $);
8515
- const B = { ...this.it, ...U, items: void 0, props: void 0 };
8517
+ const x = (0, a.getSubschema)(this.it, $);
8518
+ (0, a.extendSubschemaData)(x, this.it, $), (0, a.extendSubschemaMode)(x, $);
8519
+ const B = { ...this.it, ...x, items: void 0, props: void 0 };
8516
8520
  return h(B, L), B;
8517
8521
  }
8518
8522
  mergeEvaluated($, L) {
8519
- const { it: U, gen: B } = this;
8520
- U.opts.unevaluated && (U.props !== !0 && $.props !== void 0 && (U.props = l.mergeEvaluated.props(B, $.props, U.props, L)), U.items !== !0 && $.items !== void 0 && (U.items = l.mergeEvaluated.items(B, $.items, U.items, L)));
8523
+ const { it: x, gen: B } = this;
8524
+ x.opts.unevaluated && (x.props !== !0 && $.props !== void 0 && (x.props = l.mergeEvaluated.props(B, $.props, x.props, L)), x.items !== !0 && $.items !== void 0 && (x.items = l.mergeEvaluated.items(B, $.items, x.items, L)));
8521
8525
  }
8522
8526
  mergeValidEvaluated($, L) {
8523
- const { it: U, gen: B } = this;
8524
- if (U.opts.unevaluated && (U.props !== !0 || U.items !== !0))
8527
+ const { it: x, gen: B } = this;
8528
+ if (x.opts.unevaluated && (x.props !== !0 || x.items !== !0))
8525
8529
  return B.if(L, () => this.mergeEvaluated($, i.Name)), !0;
8526
8530
  }
8527
8531
  }
8528
8532
  De.KeywordCxt = D;
8529
- function j(O, $, L, U) {
8533
+ function V(O, $, L, x) {
8530
8534
  const B = new D(O, L, $);
8531
- "code" in L ? L.code(B, U) : B.$data && L.validate ? (0, o.funcKeywordCode)(B, L) : "macro" in L ? (0, o.macroKeywordCode)(B, L) : (L.compile || L.validate) && (0, o.funcKeywordCode)(B, L);
8535
+ "code" in L ? L.code(B, x) : B.$data && L.validate ? (0, o.funcKeywordCode)(B, L) : "macro" in L ? (0, o.macroKeywordCode)(B, L) : (L.compile || L.validate) && (0, o.funcKeywordCode)(B, L);
8532
8536
  }
8533
8537
  const z = /^\/(?:[^~]|~0|~1)*$/, se = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
8534
- function ee(O, { dataLevel: $, dataNames: L, dataPathArr: U }) {
8538
+ function ee(O, { dataLevel: $, dataNames: L, dataPathArr: x }) {
8535
8539
  let B, Q;
8536
8540
  if (O === "")
8537
8541
  return c.default.rootData;
@@ -8547,7 +8551,7 @@ function Br() {
8547
8551
  if (B = we[2], B === "#") {
8548
8552
  if (he >= $)
8549
8553
  throw new Error(ve("property/index", he));
8550
- return U[$ - he];
8554
+ return x[$ - he];
8551
8555
  }
8552
8556
  if (he > $)
8553
8557
  throw new Error(ve("data", he));
@@ -8565,28 +8569,28 @@ function Br() {
8565
8569
  }
8566
8570
  return De.getData = ee, De;
8567
8571
  }
8568
- var xt = {}, uo;
8572
+ var Ut = {}, uo;
8569
8573
  function Gn() {
8570
- if (uo) return xt;
8571
- uo = 1, Object.defineProperty(xt, "__esModule", { value: !0 });
8574
+ if (uo) return Ut;
8575
+ uo = 1, Object.defineProperty(Ut, "__esModule", { value: !0 });
8572
8576
  class e extends Error {
8573
8577
  constructor(r) {
8574
8578
  super("validation failed"), this.errors = r, this.ajv = this.validation = !0;
8575
8579
  }
8576
8580
  }
8577
- return xt.default = e, xt;
8581
+ return Ut.default = e, Ut;
8578
8582
  }
8579
- var Ut = {}, lo;
8583
+ var xt = {}, lo;
8580
8584
  function zr() {
8581
- if (lo) return Ut;
8582
- lo = 1, Object.defineProperty(Ut, "__esModule", { value: !0 });
8585
+ if (lo) return xt;
8586
+ lo = 1, Object.defineProperty(xt, "__esModule", { value: !0 });
8583
8587
  const e = Hr();
8584
8588
  class t extends Error {
8585
8589
  constructor(n, s, o, a) {
8586
8590
  super(a || `can't resolve reference ${o} from id ${s}`), this.missingRef = (0, e.resolveUrl)(n, s, o), this.missingSchema = (0, e.normalizeId)((0, e.getFullPath)(n, this.missingRef));
8587
8591
  }
8588
8592
  }
8589
- return Ut.default = t, Ut;
8593
+ return xt.default = t, xt;
8590
8594
  }
8591
8595
  var _e = {}, fo;
8592
8596
  function Kn() {
@@ -8746,16 +8750,16 @@ function Kn() {
8746
8750
  }
8747
8751
  return _e;
8748
8752
  }
8749
- const Wp = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Jp = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Qp = "object", Xp = ["$data"], Zp = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, eh = !1, th = {
8750
- $id: Wp,
8751
- description: Jp,
8752
- type: Qp,
8753
- required: Xp,
8754
- properties: Zp,
8755
- additionalProperties: eh
8753
+ const Jp = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Qp = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Xp = "object", Zp = ["$data"], eh = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, th = !1, rh = {
8754
+ $id: Jp,
8755
+ description: Qp,
8756
+ type: Xp,
8757
+ required: Zp,
8758
+ properties: eh,
8759
+ additionalProperties: th
8756
8760
  };
8757
8761
  var qt = {}, yt = { exports: {} }, gn, po;
8758
- function rh() {
8762
+ function nh() {
8759
8763
  return po || (po = 1, gn = {
8760
8764
  HEX: {
8761
8765
  0: 0,
@@ -8784,10 +8788,10 @@ function rh() {
8784
8788
  }), gn;
8785
8789
  }
8786
8790
  var yn, ho;
8787
- function nh() {
8791
+ function sh() {
8788
8792
  if (ho) return yn;
8789
8793
  ho = 1;
8790
- const { HEX: e } = rh(), 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;
8794
+ const { HEX: e } = nh(), 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;
8791
8795
  function r(g) {
8792
8796
  if (i(g, ".") < 3)
8793
8797
  return { host: g, isIPV4: !1 };
@@ -8919,7 +8923,7 @@ function nh() {
8919
8923
  }, yn;
8920
8924
  }
8921
8925
  var vn, mo;
8922
- function sh() {
8926
+ function oh() {
8923
8927
  if (mo) return vn;
8924
8928
  mo = 1;
8925
8929
  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;
@@ -9011,10 +9015,10 @@ function sh() {
9011
9015
  return vn = p, vn;
9012
9016
  }
9013
9017
  var go;
9014
- function oh() {
9018
+ function ah() {
9015
9019
  if (go) return yt.exports;
9016
9020
  go = 1;
9017
- const { normalizeIPv6: e, normalizeIPv4: t, removeDotSegments: r, recomposeAuthority: n, normalizeComponentEncoding: s } = nh(), o = sh();
9021
+ const { normalizeIPv6: e, normalizeIPv4: t, removeDotSegments: r, recomposeAuthority: n, normalizeComponentEncoding: s } = sh(), o = oh();
9018
9022
  function a(f, p) {
9019
9023
  return typeof f == "string" ? f = l(y(f, p), p) : typeof f == "object" && (f = y(l(f, p), p)), f;
9020
9024
  }
@@ -9110,14 +9114,14 @@ function oh() {
9110
9114
  return yt.exports = g, yt.exports.default = g, yt.exports.fastUri = g, yt.exports;
9111
9115
  }
9112
9116
  var yo;
9113
- function ah() {
9117
+ function ih() {
9114
9118
  if (yo) return qt;
9115
9119
  yo = 1, Object.defineProperty(qt, "__esModule", { value: !0 });
9116
- const e = oh();
9120
+ const e = ah();
9117
9121
  return e.code = 'require("ajv/dist/runtime/uri").default', qt.default = e, qt;
9118
9122
  }
9119
9123
  var vo;
9120
- function ih() {
9124
+ function ch() {
9121
9125
  return vo || (vo = 1, (function(e) {
9122
9126
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
9123
9127
  var t = Br();
@@ -9138,7 +9142,7 @@ function ih() {
9138
9142
  } }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
9139
9143
  return r.CodeGen;
9140
9144
  } });
9141
- const n = Gn(), s = zr(), o = Za(), a = Kn(), i = Z(), c = Hr(), d = Ir(), l = te(), m = th, v = ah(), S = (x, A) => new RegExp(x, A);
9145
+ const n = Gn(), s = zr(), o = Za(), a = Kn(), i = Z(), c = Hr(), d = Ir(), l = te(), m = rh, v = ih(), S = (U, A) => new RegExp(U, A);
9142
9146
  S.code = "new RegExp";
9143
9147
  const y = ["removeAdditional", "useDefaults", "coerceTypes"], g = /* @__PURE__ */ new Set([
9144
9148
  "validate",
@@ -9175,27 +9179,27 @@ function ih() {
9175
9179
  jsPropertySyntax: "",
9176
9180
  unicode: '"minLength"/"maxLength" account for unicode characters by default.'
9177
9181
  }, u = 200;
9178
- function h(x) {
9179
- var A, C, P, w, T, D, j, z, se, ee, O, $, L, U, B, Q, pe, Ae, ve, we, he, Ye, Se, Gr, Kr;
9180
- const lt = x.strict, Yr = (A = x.code) === null || A === void 0 ? void 0 : A.optimize, Jn = Yr === !0 || Yr === void 0 ? 1 : Yr || 0, Qn = (P = (C = x.code) === null || C === void 0 ? void 0 : C.regExp) !== null && P !== void 0 ? P : S, fi = (w = x.uriResolver) !== null && w !== void 0 ? w : v.default;
9182
+ function h(U) {
9183
+ var A, C, P, w, T, D, V, z, se, ee, O, $, L, x, B, Q, pe, Ae, ve, we, he, Ye, Se, Gr, Kr;
9184
+ const lt = U.strict, Yr = (A = U.code) === null || A === void 0 ? void 0 : A.optimize, Jn = Yr === !0 || Yr === void 0 ? 1 : Yr || 0, Qn = (P = (C = U.code) === null || C === void 0 ? void 0 : C.regExp) !== null && P !== void 0 ? P : S, fi = (w = U.uriResolver) !== null && w !== void 0 ? w : v.default;
9181
9185
  return {
9182
- strictSchema: (D = (T = x.strictSchema) !== null && T !== void 0 ? T : lt) !== null && D !== void 0 ? D : !0,
9183
- strictNumbers: (z = (j = x.strictNumbers) !== null && j !== void 0 ? j : lt) !== null && z !== void 0 ? z : !0,
9184
- strictTypes: (ee = (se = x.strictTypes) !== null && se !== void 0 ? se : lt) !== null && ee !== void 0 ? ee : "log",
9185
- strictTuples: ($ = (O = x.strictTuples) !== null && O !== void 0 ? O : lt) !== null && $ !== void 0 ? $ : "log",
9186
- strictRequired: (U = (L = x.strictRequired) !== null && L !== void 0 ? L : lt) !== null && U !== void 0 ? U : !1,
9187
- code: x.code ? { ...x.code, optimize: Jn, regExp: Qn } : { optimize: Jn, regExp: Qn },
9188
- loopRequired: (B = x.loopRequired) !== null && B !== void 0 ? B : u,
9189
- loopEnum: (Q = x.loopEnum) !== null && Q !== void 0 ? Q : u,
9190
- meta: (pe = x.meta) !== null && pe !== void 0 ? pe : !0,
9191
- messages: (Ae = x.messages) !== null && Ae !== void 0 ? Ae : !0,
9192
- inlineRefs: (ve = x.inlineRefs) !== null && ve !== void 0 ? ve : !0,
9193
- schemaId: (we = x.schemaId) !== null && we !== void 0 ? we : "$id",
9194
- addUsedSchema: (he = x.addUsedSchema) !== null && he !== void 0 ? he : !0,
9195
- validateSchema: (Ye = x.validateSchema) !== null && Ye !== void 0 ? Ye : !0,
9196
- validateFormats: (Se = x.validateFormats) !== null && Se !== void 0 ? Se : !0,
9197
- unicodeRegExp: (Gr = x.unicodeRegExp) !== null && Gr !== void 0 ? Gr : !0,
9198
- int32range: (Kr = x.int32range) !== null && Kr !== void 0 ? Kr : !0,
9186
+ strictSchema: (D = (T = U.strictSchema) !== null && T !== void 0 ? T : lt) !== null && D !== void 0 ? D : !0,
9187
+ strictNumbers: (z = (V = U.strictNumbers) !== null && V !== void 0 ? V : lt) !== null && z !== void 0 ? z : !0,
9188
+ strictTypes: (ee = (se = U.strictTypes) !== null && se !== void 0 ? se : lt) !== null && ee !== void 0 ? ee : "log",
9189
+ strictTuples: ($ = (O = U.strictTuples) !== null && O !== void 0 ? O : lt) !== null && $ !== void 0 ? $ : "log",
9190
+ strictRequired: (x = (L = U.strictRequired) !== null && L !== void 0 ? L : lt) !== null && x !== void 0 ? x : !1,
9191
+ code: U.code ? { ...U.code, optimize: Jn, regExp: Qn } : { optimize: Jn, regExp: Qn },
9192
+ loopRequired: (B = U.loopRequired) !== null && B !== void 0 ? B : u,
9193
+ loopEnum: (Q = U.loopEnum) !== null && Q !== void 0 ? Q : u,
9194
+ meta: (pe = U.meta) !== null && pe !== void 0 ? pe : !0,
9195
+ messages: (Ae = U.messages) !== null && Ae !== void 0 ? Ae : !0,
9196
+ inlineRefs: (ve = U.inlineRefs) !== null && ve !== void 0 ? ve : !0,
9197
+ schemaId: (we = U.schemaId) !== null && we !== void 0 ? we : "$id",
9198
+ addUsedSchema: (he = U.addUsedSchema) !== null && he !== void 0 ? he : !0,
9199
+ validateSchema: (Ye = U.validateSchema) !== null && Ye !== void 0 ? Ye : !0,
9200
+ validateFormats: (Se = U.validateFormats) !== null && Se !== void 0 ? Se : !0,
9201
+ unicodeRegExp: (Gr = U.unicodeRegExp) !== null && Gr !== void 0 ? Gr : !0,
9202
+ int32range: (Kr = U.int32range) !== null && Kr !== void 0 ? Kr : !0,
9199
9203
  uriResolver: fi
9200
9204
  };
9201
9205
  }
@@ -9252,10 +9256,10 @@ function ih() {
9252
9256
  } catch (O) {
9253
9257
  if (!(O instanceof s.default))
9254
9258
  throw O;
9255
- return j.call(this, O), await z.call(this, O.missingSchema), D.call(this, ee);
9259
+ return V.call(this, O), await z.call(this, O.missingSchema), D.call(this, ee);
9256
9260
  }
9257
9261
  }
9258
- function j({ missingSchema: ee, missingRef: O }) {
9262
+ function V({ missingSchema: ee, missingRef: O }) {
9259
9263
  if (this.refs[ee])
9260
9264
  throw new Error(`AnySchema ${ee} is loaded but ${O} cannot be resolved`);
9261
9265
  }
@@ -9403,14 +9407,14 @@ function ih() {
9403
9407
  for (const w of C) {
9404
9408
  const T = w.split("/").slice(1);
9405
9409
  let D = A;
9406
- for (const j of T)
9407
- D = D[j];
9408
- for (const j in P) {
9409
- const z = P[j];
9410
+ for (const V of T)
9411
+ D = D[V];
9412
+ for (const V in P) {
9413
+ const z = P[V];
9410
9414
  if (typeof z != "object")
9411
9415
  continue;
9412
- const { $data: se } = z.definition, ee = D[j];
9413
- se && ee && (D[j] = ie(ee));
9416
+ const { $data: se } = z.definition, ee = D[V];
9417
+ se && ee && (D[V] = ie(ee));
9414
9418
  }
9415
9419
  }
9416
9420
  return A;
@@ -9423,9 +9427,9 @@ function ih() {
9423
9427
  }
9424
9428
  _addSchema(A, C, P, w = this.opts.validateSchema, T = this.opts.addUsedSchema) {
9425
9429
  let D;
9426
- const { schemaId: j } = this.opts;
9430
+ const { schemaId: V } = this.opts;
9427
9431
  if (typeof A == "object")
9428
- D = A[j];
9432
+ D = A[V];
9429
9433
  else {
9430
9434
  if (this.opts.jtd)
9431
9435
  throw new Error("schema must be object");
@@ -9437,7 +9441,7 @@ function ih() {
9437
9441
  return z;
9438
9442
  P = (0, c.normalizeId)(D || P);
9439
9443
  const se = c.getSchemaRefs.call(this, A, P);
9440
- return z = new a.SchemaEnv({ schema: A, schemaId: j, meta: C, baseId: P, localRefs: se }), this._cache.set(z.schema, z), T && !P.startsWith("#") && (P && this._checkUnique(P), this.refs[P] = z), w && this.validateSchema(A, !0), z;
9444
+ return z = new a.SchemaEnv({ schema: A, schemaId: V, meta: C, baseId: P, localRefs: se }), this._cache.set(z.schema, z), T && !P.startsWith("#") && (P && this._checkUnique(P), this.refs[P] = z), w && this.validateSchema(A, !0), z;
9441
9445
  }
9442
9446
  _checkUnique(A) {
9443
9447
  if (this.schemas[A] || this.refs[A])
@@ -9459,64 +9463,64 @@ function ih() {
9459
9463
  }
9460
9464
  }
9461
9465
  E.ValidationError = n.default, E.MissingRefError = s.default, e.default = E;
9462
- function _(x, A, C, P = "error") {
9463
- for (const w in x) {
9466
+ function _(U, A, C, P = "error") {
9467
+ for (const w in U) {
9464
9468
  const T = w;
9465
- T in A && this.logger[P](`${C}: option ${w}. ${x[T]}`);
9469
+ T in A && this.logger[P](`${C}: option ${w}. ${U[T]}`);
9466
9470
  }
9467
9471
  }
9468
- function b(x) {
9469
- return x = (0, c.normalizeId)(x), this.schemas[x] || this.refs[x];
9472
+ function b(U) {
9473
+ return U = (0, c.normalizeId)(U), this.schemas[U] || this.refs[U];
9470
9474
  }
9471
9475
  function R() {
9472
- const x = this.opts.schemas;
9473
- if (x)
9474
- if (Array.isArray(x))
9475
- this.addSchema(x);
9476
+ const U = this.opts.schemas;
9477
+ if (U)
9478
+ if (Array.isArray(U))
9479
+ this.addSchema(U);
9476
9480
  else
9477
- for (const A in x)
9478
- this.addSchema(x[A], A);
9481
+ for (const A in U)
9482
+ this.addSchema(U[A], A);
9479
9483
  }
9480
9484
  function N() {
9481
- for (const x in this.opts.formats) {
9482
- const A = this.opts.formats[x];
9483
- A && this.addFormat(x, A);
9485
+ for (const U in this.opts.formats) {
9486
+ const A = this.opts.formats[U];
9487
+ A && this.addFormat(U, A);
9484
9488
  }
9485
9489
  }
9486
- function k(x) {
9487
- if (Array.isArray(x)) {
9488
- this.addVocabulary(x);
9490
+ function k(U) {
9491
+ if (Array.isArray(U)) {
9492
+ this.addVocabulary(U);
9489
9493
  return;
9490
9494
  }
9491
9495
  this.logger.warn("keywords option as map is deprecated, pass array");
9492
- for (const A in x) {
9493
- const C = x[A];
9496
+ for (const A in U) {
9497
+ const C = U[A];
9494
9498
  C.keyword || (C.keyword = A), this.addKeyword(C);
9495
9499
  }
9496
9500
  }
9497
9501
  function M() {
9498
- const x = { ...this.opts };
9502
+ const U = { ...this.opts };
9499
9503
  for (const A of y)
9500
- delete x[A];
9501
- return x;
9504
+ delete U[A];
9505
+ return U;
9502
9506
  }
9503
9507
  const q = { log() {
9504
9508
  }, warn() {
9505
9509
  }, error() {
9506
9510
  } };
9507
- function F(x) {
9508
- if (x === !1)
9511
+ function F(U) {
9512
+ if (U === !1)
9509
9513
  return q;
9510
- if (x === void 0)
9514
+ if (U === void 0)
9511
9515
  return console;
9512
- if (x.log && x.warn && x.error)
9513
- return x;
9516
+ if (U.log && U.warn && U.error)
9517
+ return U;
9514
9518
  throw new Error("logger must implement log, warn and error methods");
9515
9519
  }
9516
9520
  const H = /^[a-z_$][a-z0-9_$:-]*$/i;
9517
- function G(x, A) {
9521
+ function G(U, A) {
9518
9522
  const { RULES: C } = this;
9519
- if ((0, l.eachItem)(x, (P) => {
9523
+ if ((0, l.eachItem)(U, (P) => {
9520
9524
  if (C.keywords[P])
9521
9525
  throw new Error(`Keyword ${P} is already defined`);
9522
9526
  if (!H.test(P))
@@ -9524,43 +9528,43 @@ function ih() {
9524
9528
  }), !!A && A.$data && !("code" in A || "validate" in A))
9525
9529
  throw new Error('$data keyword must have "code" or "validate" function');
9526
9530
  }
9527
- function re(x, A, C) {
9531
+ function re(U, A, C) {
9528
9532
  var P;
9529
9533
  const w = A?.post;
9530
9534
  if (C && w)
9531
9535
  throw new Error('keyword with "post" flag cannot have "type"');
9532
9536
  const { RULES: T } = this;
9533
9537
  let D = w ? T.post : T.rules.find(({ type: z }) => z === C);
9534
- if (D || (D = { type: C, rules: [] }, T.rules.push(D)), T.keywords[x] = !0, !A)
9538
+ if (D || (D = { type: C, rules: [] }, T.rules.push(D)), T.keywords[U] = !0, !A)
9535
9539
  return;
9536
- const j = {
9537
- keyword: x,
9540
+ const V = {
9541
+ keyword: U,
9538
9542
  definition: {
9539
9543
  ...A,
9540
9544
  type: (0, d.getJSONTypes)(A.type),
9541
9545
  schemaType: (0, d.getJSONTypes)(A.schemaType)
9542
9546
  }
9543
9547
  };
9544
- A.before ? ne.call(this, D, j, A.before) : D.rules.push(j), T.all[x] = j, (P = A.implements) === null || P === void 0 || P.forEach((z) => this.addKeyword(z));
9548
+ A.before ? ne.call(this, D, V, A.before) : D.rules.push(V), T.all[U] = V, (P = A.implements) === null || P === void 0 || P.forEach((z) => this.addKeyword(z));
9545
9549
  }
9546
- function ne(x, A, C) {
9547
- const P = x.rules.findIndex((w) => w.keyword === C);
9548
- P >= 0 ? x.rules.splice(P, 0, A) : (x.rules.push(A), this.logger.warn(`rule ${C} is not defined`));
9550
+ function ne(U, A, C) {
9551
+ const P = U.rules.findIndex((w) => w.keyword === C);
9552
+ P >= 0 ? U.rules.splice(P, 0, A) : (U.rules.push(A), this.logger.warn(`rule ${C} is not defined`));
9549
9553
  }
9550
- function fe(x) {
9551
- let { metaSchema: A } = x;
9552
- A !== void 0 && (x.$data && this.opts.$data && (A = ie(A)), x.validateSchema = this.compile(A, !0));
9554
+ function fe(U) {
9555
+ let { metaSchema: A } = U;
9556
+ A !== void 0 && (U.$data && this.opts.$data && (A = ie(A)), U.validateSchema = this.compile(A, !0));
9553
9557
  }
9554
9558
  const J = {
9555
9559
  $ref: "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#"
9556
9560
  };
9557
- function ie(x) {
9558
- return { anyOf: [x, J] };
9561
+ function ie(U) {
9562
+ return { anyOf: [U, J] };
9559
9563
  }
9560
9564
  })(un)), un;
9561
9565
  }
9562
9566
  var Mt = {}, Ft = {}, jt = {}, wo;
9563
- function ch() {
9567
+ function uh() {
9564
9568
  if (wo) return jt;
9565
9569
  wo = 1, Object.defineProperty(jt, "__esModule", { value: !0 });
9566
9570
  const e = {
@@ -9572,7 +9576,7 @@ function ch() {
9572
9576
  return jt.default = e, jt;
9573
9577
  }
9574
9578
  var qe = {}, Eo;
9575
- function uh() {
9579
+ function lh() {
9576
9580
  if (Eo) return qe;
9577
9581
  Eo = 1, Object.defineProperty(qe, "__esModule", { value: !0 }), qe.callRef = qe.getValidate = void 0;
9578
9582
  const e = zr(), t = Pe(), r = Z(), n = Fe(), s = Kn(), o = te(), a = {
@@ -9659,10 +9663,10 @@ function uh() {
9659
9663
  return qe.callRef = c, qe.default = a, qe;
9660
9664
  }
9661
9665
  var bo;
9662
- function lh() {
9666
+ function dh() {
9663
9667
  if (bo) return Ft;
9664
9668
  bo = 1, Object.defineProperty(Ft, "__esModule", { value: !0 });
9665
- const e = ch(), t = uh(), r = [
9669
+ const e = uh(), t = lh(), r = [
9666
9670
  "$schema",
9667
9671
  "$id",
9668
9672
  "$defs",
@@ -9675,7 +9679,7 @@ function lh() {
9675
9679
  return Ft.default = r, Ft;
9676
9680
  }
9677
9681
  var Vt = {}, Ht = {}, _o;
9678
- function dh() {
9682
+ function fh() {
9679
9683
  if (_o) return Ht;
9680
9684
  _o = 1, Object.defineProperty(Ht, "__esModule", { value: !0 });
9681
9685
  const e = Z(), t = e.operators, r = {
@@ -9700,7 +9704,7 @@ function dh() {
9700
9704
  return Ht.default = s, Ht;
9701
9705
  }
9702
9706
  var Bt = {}, So;
9703
- function fh() {
9707
+ function ph() {
9704
9708
  if (So) return Bt;
9705
9709
  So = 1, Object.defineProperty(Bt, "__esModule", { value: !0 });
9706
9710
  const e = Z(), r = {
@@ -9720,7 +9724,7 @@ function fh() {
9720
9724
  return Bt.default = r, Bt;
9721
9725
  }
9722
9726
  var zt = {}, Gt = {}, Ro;
9723
- function ph() {
9727
+ function hh() {
9724
9728
  if (Ro) return Gt;
9725
9729
  Ro = 1, Object.defineProperty(Gt, "__esModule", { value: !0 });
9726
9730
  function e(t) {
@@ -9733,10 +9737,10 @@ function ph() {
9733
9737
  return Gt.default = e, e.code = 'require("ajv/dist/runtime/ucs2length").default', Gt;
9734
9738
  }
9735
9739
  var To;
9736
- function hh() {
9740
+ function mh() {
9737
9741
  if (To) return zt;
9738
9742
  To = 1, Object.defineProperty(zt, "__esModule", { value: !0 });
9739
- const e = Z(), t = te(), r = ph(), s = {
9743
+ const e = Z(), t = te(), r = hh(), s = {
9740
9744
  keyword: ["maxLength", "minLength"],
9741
9745
  type: "string",
9742
9746
  schemaType: "number",
@@ -9756,7 +9760,7 @@ function hh() {
9756
9760
  return zt.default = s, zt;
9757
9761
  }
9758
9762
  var Kt = {}, Oo;
9759
- function mh() {
9763
+ function gh() {
9760
9764
  if (Oo) return Kt;
9761
9765
  Oo = 1, Object.defineProperty(Kt, "__esModule", { value: !0 });
9762
9766
  const e = Pe(), t = Z(), n = {
@@ -9776,7 +9780,7 @@ function mh() {
9776
9780
  return Kt.default = n, Kt;
9777
9781
  }
9778
9782
  var Yt = {}, Ao;
9779
- function gh() {
9783
+ function yh() {
9780
9784
  if (Ao) return Yt;
9781
9785
  Ao = 1, Object.defineProperty(Yt, "__esModule", { value: !0 });
9782
9786
  const e = Z(), r = {
@@ -9799,7 +9803,7 @@ function gh() {
9799
9803
  return Yt.default = r, Yt;
9800
9804
  }
9801
9805
  var Wt = {}, No;
9802
- function yh() {
9806
+ function vh() {
9803
9807
  if (No) return Wt;
9804
9808
  No = 1, Object.defineProperty(Wt, "__esModule", { value: !0 });
9805
9809
  const e = Pe(), t = Z(), r = te(), s = {
@@ -9856,7 +9860,7 @@ function yh() {
9856
9860
  return Wt.default = s, Wt;
9857
9861
  }
9858
9862
  var Jt = {}, $o;
9859
- function vh() {
9863
+ function wh() {
9860
9864
  if ($o) return Jt;
9861
9865
  $o = 1, Object.defineProperty(Jt, "__esModule", { value: !0 });
9862
9866
  const e = Z(), r = {
@@ -9886,7 +9890,7 @@ function Yn() {
9886
9890
  return e.code = 'require("ajv/dist/runtime/equal").default', Xt.default = e, Xt;
9887
9891
  }
9888
9892
  var Io;
9889
- function wh() {
9893
+ function Eh() {
9890
9894
  if (Io) return Qt;
9891
9895
  Io = 1, Object.defineProperty(Qt, "__esModule", { value: !0 });
9892
9896
  const e = Ir(), t = Z(), r = te(), n = Yn(), o = {
@@ -9930,7 +9934,7 @@ function wh() {
9930
9934
  return Qt.default = o, Qt;
9931
9935
  }
9932
9936
  var Zt = {}, Do;
9933
- function Eh() {
9937
+ function bh() {
9934
9938
  if (Do) return Zt;
9935
9939
  Do = 1, Object.defineProperty(Zt, "__esModule", { value: !0 });
9936
9940
  const e = Z(), t = te(), r = Yn(), s = {
@@ -9948,7 +9952,7 @@ function Eh() {
9948
9952
  return Zt.default = s, Zt;
9949
9953
  }
9950
9954
  var er = {}, Co;
9951
- function bh() {
9955
+ function _h() {
9952
9956
  if (Co) return er;
9953
9957
  Co = 1, Object.defineProperty(er, "__esModule", { value: !0 });
9954
9958
  const e = Z(), t = te(), r = Yn(), s = {
@@ -9988,10 +9992,10 @@ function bh() {
9988
9992
  return er.default = s, er;
9989
9993
  }
9990
9994
  var Lo;
9991
- function _h() {
9995
+ function Sh() {
9992
9996
  if (Lo) return Vt;
9993
9997
  Lo = 1, Object.defineProperty(Vt, "__esModule", { value: !0 });
9994
- const e = dh(), t = fh(), r = hh(), n = mh(), s = gh(), o = yh(), a = vh(), i = wh(), c = Eh(), d = bh(), l = [
9998
+ const e = fh(), t = ph(), r = mh(), n = gh(), s = yh(), o = vh(), a = wh(), i = Eh(), c = bh(), d = _h(), l = [
9995
9999
  // number
9996
10000
  e.default,
9997
10001
  t.default,
@@ -10052,10 +10056,10 @@ function ri() {
10052
10056
  }
10053
10057
  return tt.validateAdditionalItems = s, tt.default = n, tt;
10054
10058
  }
10055
- var rr = {}, rt = {}, xo;
10059
+ var rr = {}, rt = {}, Uo;
10056
10060
  function ni() {
10057
- if (xo) return rt;
10058
- xo = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.validateTuple = void 0;
10061
+ if (Uo) return rt;
10062
+ Uo = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.validateTuple = void 0;
10059
10063
  const e = Z(), t = te(), r = Pe(), n = {
10060
10064
  keyword: "items",
10061
10065
  type: "array",
@@ -10089,10 +10093,10 @@ function ni() {
10089
10093
  }
10090
10094
  return rt.validateTuple = s, rt.default = n, rt;
10091
10095
  }
10092
- var Uo;
10093
- function Sh() {
10094
- if (Uo) return rr;
10095
- Uo = 1, Object.defineProperty(rr, "__esModule", { value: !0 });
10096
+ var xo;
10097
+ function Rh() {
10098
+ if (xo) return rr;
10099
+ xo = 1, Object.defineProperty(rr, "__esModule", { value: !0 });
10096
10100
  const e = ni(), t = {
10097
10101
  keyword: "prefixItems",
10098
10102
  type: "array",
@@ -10103,7 +10107,7 @@ function Sh() {
10103
10107
  return rr.default = t, rr;
10104
10108
  }
10105
10109
  var nr = {}, qo;
10106
- function Rh() {
10110
+ function Th() {
10107
10111
  if (qo) return nr;
10108
10112
  qo = 1, Object.defineProperty(nr, "__esModule", { value: !0 });
10109
10113
  const e = Z(), t = te(), r = Pe(), n = ri(), o = {
@@ -10123,7 +10127,7 @@ function Rh() {
10123
10127
  return nr.default = o, nr;
10124
10128
  }
10125
10129
  var sr = {}, Mo;
10126
- function Th() {
10130
+ function Oh() {
10127
10131
  if (Mo) return sr;
10128
10132
  Mo = 1, Object.defineProperty(sr, "__esModule", { value: !0 });
10129
10133
  const e = Z(), t = te(), n = {
@@ -10180,7 +10184,7 @@ function Th() {
10180
10184
  return sr.default = n, sr;
10181
10185
  }
10182
10186
  var wn = {}, Fo;
10183
- function Oh() {
10187
+ function Ah() {
10184
10188
  return Fo || (Fo = 1, (function(e) {
10185
10189
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
10186
10190
  const t = Z(), r = te(), n = Pe();
@@ -10253,7 +10257,7 @@ function Oh() {
10253
10257
  })(wn)), wn;
10254
10258
  }
10255
10259
  var or = {}, jo;
10256
- function Ah() {
10260
+ function Nh() {
10257
10261
  if (jo) return or;
10258
10262
  jo = 1, Object.defineProperty(or, "__esModule", { value: !0 });
10259
10263
  const e = Z(), t = te(), n = {
@@ -10356,7 +10360,7 @@ function si() {
10356
10360
  return ar.default = o, ar;
10357
10361
  }
10358
10362
  var ir = {}, Ho;
10359
- function Nh() {
10363
+ function $h() {
10360
10364
  if (Ho) return ir;
10361
10365
  Ho = 1, Object.defineProperty(ir, "__esModule", { value: !0 });
10362
10366
  const e = Br(), t = Pe(), r = te(), n = si(), s = {
@@ -10391,7 +10395,7 @@ function Nh() {
10391
10395
  return ir.default = s, ir;
10392
10396
  }
10393
10397
  var cr = {}, Bo;
10394
- function $h() {
10398
+ function Ph() {
10395
10399
  if (Bo) return cr;
10396
10400
  Bo = 1, Object.defineProperty(cr, "__esModule", { value: !0 });
10397
10401
  const e = Pe(), t = Z(), r = te(), n = te(), s = {
@@ -10432,7 +10436,7 @@ function $h() {
10432
10436
  return cr.default = s, cr;
10433
10437
  }
10434
10438
  var ur = {}, zo;
10435
- function Ph() {
10439
+ function Ih() {
10436
10440
  if (zo) return ur;
10437
10441
  zo = 1, Object.defineProperty(ur, "__esModule", { value: !0 });
10438
10442
  const e = te(), t = {
@@ -10458,7 +10462,7 @@ function Ph() {
10458
10462
  return ur.default = t, ur;
10459
10463
  }
10460
10464
  var lr = {}, Go;
10461
- function Ih() {
10465
+ function Dh() {
10462
10466
  if (Go) return lr;
10463
10467
  Go = 1, Object.defineProperty(lr, "__esModule", { value: !0 });
10464
10468
  const t = {
@@ -10471,7 +10475,7 @@ function Ih() {
10471
10475
  return lr.default = t, lr;
10472
10476
  }
10473
10477
  var dr = {}, Ko;
10474
- function Dh() {
10478
+ function Ch() {
10475
10479
  if (Ko) return dr;
10476
10480
  Ko = 1, Object.defineProperty(dr, "__esModule", { value: !0 });
10477
10481
  const e = Z(), t = te(), n = {
@@ -10507,7 +10511,7 @@ function Dh() {
10507
10511
  return dr.default = n, dr;
10508
10512
  }
10509
10513
  var fr = {}, Yo;
10510
- function Ch() {
10514
+ function Lh() {
10511
10515
  if (Yo) return fr;
10512
10516
  Yo = 1, Object.defineProperty(fr, "__esModule", { value: !0 });
10513
10517
  const e = te(), t = {
@@ -10529,7 +10533,7 @@ function Ch() {
10529
10533
  return fr.default = t, fr;
10530
10534
  }
10531
10535
  var pr = {}, Wo;
10532
- function Lh() {
10536
+ function kh() {
10533
10537
  if (Wo) return pr;
10534
10538
  Wo = 1, Object.defineProperty(pr, "__esModule", { value: !0 });
10535
10539
  const e = Z(), t = te(), n = {
@@ -10576,7 +10580,7 @@ function Lh() {
10576
10580
  return pr.default = n, pr;
10577
10581
  }
10578
10582
  var hr = {}, Jo;
10579
- function kh() {
10583
+ function Uh() {
10580
10584
  if (Jo) return hr;
10581
10585
  Jo = 1, Object.defineProperty(hr, "__esModule", { value: !0 });
10582
10586
  const e = te(), t = {
@@ -10592,7 +10596,7 @@ var Qo;
10592
10596
  function xh() {
10593
10597
  if (Qo) return tr;
10594
10598
  Qo = 1, Object.defineProperty(tr, "__esModule", { value: !0 });
10595
- const e = ri(), t = Sh(), r = ni(), n = Rh(), s = Th(), o = Oh(), a = Ah(), i = si(), c = Nh(), d = $h(), l = Ph(), m = Ih(), v = Dh(), S = Ch(), y = Lh(), g = kh();
10599
+ const e = ri(), t = Rh(), r = ni(), n = Th(), s = Oh(), o = Ah(), a = Nh(), i = si(), c = $h(), d = Ph(), l = Ih(), m = Dh(), v = Ch(), S = Lh(), y = kh(), g = Uh();
10596
10600
  function f(p = !1) {
10597
10601
  const u = [
10598
10602
  // any
@@ -10614,7 +10618,7 @@ function xh() {
10614
10618
  return tr.default = f, tr;
10615
10619
  }
10616
10620
  var mr = {}, gr = {}, Xo;
10617
- function Uh() {
10621
+ function qh() {
10618
10622
  if (Xo) return gr;
10619
10623
  Xo = 1, Object.defineProperty(gr, "__esModule", { value: !0 });
10620
10624
  const e = Z(), r = {
@@ -10683,14 +10687,14 @@ function Uh() {
10683
10687
  return gr.default = r, gr;
10684
10688
  }
10685
10689
  var Zo;
10686
- function qh() {
10690
+ function Mh() {
10687
10691
  if (Zo) return mr;
10688
10692
  Zo = 1, Object.defineProperty(mr, "__esModule", { value: !0 });
10689
- const t = [Uh().default];
10693
+ const t = [qh().default];
10690
10694
  return mr.default = t, mr;
10691
10695
  }
10692
10696
  var He = {}, ea;
10693
- function Mh() {
10697
+ function Fh() {
10694
10698
  return ea || (ea = 1, Object.defineProperty(He, "__esModule", { value: !0 }), He.contentVocabulary = He.metadataVocabulary = void 0, He.metadataVocabulary = [
10695
10699
  "title",
10696
10700
  "description",
@@ -10706,10 +10710,10 @@ function Mh() {
10706
10710
  ]), He;
10707
10711
  }
10708
10712
  var ta;
10709
- function Fh() {
10713
+ function jh() {
10710
10714
  if (ta) return Mt;
10711
10715
  ta = 1, Object.defineProperty(Mt, "__esModule", { value: !0 });
10712
- const e = lh(), t = _h(), r = xh(), n = qh(), s = Mh(), o = [
10716
+ const e = dh(), t = Sh(), r = xh(), n = Mh(), s = Fh(), o = [
10713
10717
  e.default,
10714
10718
  t.default,
10715
10719
  (0, r.default)(),
@@ -10720,7 +10724,7 @@ function Fh() {
10720
10724
  return Mt.default = o, Mt;
10721
10725
  }
10722
10726
  var yr = {}, vt = {}, ra;
10723
- function jh() {
10727
+ function Vh() {
10724
10728
  if (ra) return vt;
10725
10729
  ra = 1, Object.defineProperty(vt, "__esModule", { value: !0 }), vt.DiscrError = void 0;
10726
10730
  var e;
@@ -10729,10 +10733,10 @@ function jh() {
10729
10733
  })(e || (vt.DiscrError = e = {})), vt;
10730
10734
  }
10731
10735
  var na;
10732
- function Vh() {
10736
+ function Hh() {
10733
10737
  if (na) return yr;
10734
10738
  na = 1, Object.defineProperty(yr, "__esModule", { value: !0 });
10735
- const e = Z(), t = jh(), r = Kn(), n = zr(), s = te(), a = {
10739
+ const e = Z(), t = Vh(), r = Kn(), n = zr(), s = te(), a = {
10736
10740
  keyword: "discriminator",
10737
10741
  type: "object",
10738
10742
  schemaType: "object",
@@ -10805,20 +10809,20 @@ function Vh() {
10805
10809
  };
10806
10810
  return yr.default = a, yr;
10807
10811
  }
10808
- const Hh = "http://json-schema.org/draft-07/schema#", Bh = "http://json-schema.org/draft-07/schema#", zh = "Core schema meta-schema", Gh = { 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: [] } }, Kh = ["object", "boolean"], Yh = { $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: "#" } }, Wh = {
10809
- $schema: Hh,
10810
- $id: Bh,
10811
- title: zh,
10812
- definitions: Gh,
10813
- type: Kh,
10814
- properties: Yh,
10812
+ const Bh = "http://json-schema.org/draft-07/schema#", zh = "http://json-schema.org/draft-07/schema#", Gh = "Core schema meta-schema", Kh = { 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: [] } }, Yh = ["object", "boolean"], Wh = { $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: "#" } }, Jh = {
10813
+ $schema: Bh,
10814
+ $id: zh,
10815
+ title: Gh,
10816
+ definitions: Kh,
10817
+ type: Yh,
10818
+ properties: Wh,
10815
10819
  default: !0
10816
10820
  };
10817
10821
  var sa;
10818
- function Jh() {
10822
+ function Qh() {
10819
10823
  return sa || (sa = 1, (function(e, t) {
10820
10824
  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;
10821
- const r = ih(), n = Fh(), s = Vh(), o = Wh, a = ["/properties"], i = "http://json-schema.org/draft-07/schema";
10825
+ const r = ch(), n = jh(), s = Hh(), o = Jh, a = ["/properties"], i = "http://json-schema.org/draft-07/schema";
10822
10826
  class c extends r.default {
10823
10827
  _addVocabularies() {
10824
10828
  super._addVocabularies(), n.default.forEach((y) => this.addVocabulary(y)), this.opts.discriminator && this.addKeyword(s.default);
@@ -10862,86 +10866,86 @@ function Jh() {
10862
10866
  } });
10863
10867
  })(Lt, Lt.exports)), Lt.exports;
10864
10868
  }
10865
- var Qh = Jh();
10866
- const Xh = /* @__PURE__ */ Hp(Qh), oa = {
10869
+ var Xh = Qh();
10870
+ const Zh = /* @__PURE__ */ Bp(Xh), oa = {
10867
10871
  CONFIG_NOT_FOUND: "CONFIG_ERROR_NOT_FOUND",
10868
10872
  VALIDATION_FAILED: "CONFIG_ERROR_VALIDATION_FAILED"
10869
- }, nv = async (e, t) => {
10870
- const r = await Zh(e);
10873
+ }, ov = async (e, t) => {
10874
+ const r = await em(e);
10871
10875
  if (!r)
10872
10876
  throw new Error(oa.CONFIG_NOT_FOUND);
10873
- if (!await em(r, t))
10877
+ if (!await tm(r, t))
10874
10878
  throw new Error(oa.VALIDATION_FAILED);
10875
10879
  return r;
10876
- }, Zh = async (e) => await V(e), em = async (e, t) => new Xh().compile(t)(e), tm = (e) => X + `/form/${e}?v=custom:(resources:(value))`, rm = (e) => {
10880
+ }, em = async (e) => await j(e), tm = async (e, t) => new Zh().compile(t)(e), rm = (e) => X + `/form/${e}?v=custom:(resources:(value))`, nm = (e) => {
10877
10881
  const t = X + "/bahmniie/form/latestPublishedForms";
10878
10882
  return e ? t + `?episodeUuid=${e}` : t;
10879
- }, sv = (e) => X + `/user/${e}?v=full`, nm = (e, t, r, n) => X + `/bahmniie/form/translations?formName=${encodeURIComponent(e)}&formUuid=${t}&formVersion=${r}&locale=${n}`, _r = "Bahmni", sm = (e, t, r) => {
10883
+ }, av = (e) => X + `/user/${e}?v=full`, sm = (e, t, r, n) => X + `/bahmniie/form/translations?formName=${encodeURIComponent(e)}&formUuid=${t}&formVersion=${r}&locale=${n}`, _r = "Bahmni", om = (e, t, r) => {
10880
10884
  let s = X + "/bahmnicore/patient/" + e + "/forms";
10881
10885
  return r ? s += `?patientProgramUuid=${r}` : t && (s += `?numberOfVisits=${t}`), s;
10882
- }, om = (e, t) => {
10886
+ }, am = (e, t) => {
10883
10887
  const r = t.join(",");
10884
10888
  return `${ce}/Observation?patient=${e}&code=${r}&_include=Observation:has-member&_sort=-_lastUpdated`;
10885
- }, am = (e, t) => {
10889
+ }, im = (e, t) => {
10886
10890
  const r = t.join(",");
10887
10891
  return `${ce}/Observation?patient=${e}&code=${r}&_include=Observation:has-member&_include=Observation:encounter&_sort=-_lastUpdated`;
10888
10892
  };
10889
- async function im(e, t) {
10890
- const r = om(e, t);
10891
- return await V(r);
10892
- }
10893
- async function ov(e, t) {
10893
+ async function cm(e, t) {
10894
10894
  const r = am(e, t);
10895
- return await V(r);
10895
+ return await j(r);
10896
10896
  }
10897
- async function av(e, t) {
10898
- return (await im(e, t)).entry?.filter((s) => s.resource?.resourceType === "Observation").map((s) => s.resource) ?? [];
10897
+ async function iv(e, t) {
10898
+ const r = im(e, t);
10899
+ return await j(r);
10899
10900
  }
10900
- const cm = (e) => X + `/provider?user=${e}&v=custom:(uuid,display,person)`;
10901
- async function iv(e) {
10902
- const t = await V(
10903
- cm(e)
10901
+ async function cv(e, t) {
10902
+ return (await cm(e, t)).entry?.filter((s) => s.resource?.resourceType === "Observation").map((s) => s.resource) ?? [];
10903
+ }
10904
+ const um = (e) => X + `/provider?user=${e}&v=custom:(uuid,display,person)`;
10905
+ async function uv(e) {
10906
+ const t = await j(
10907
+ um(e)
10904
10908
  );
10905
10909
  return !t.results || t.results.length === 0 ? null : t.results[0];
10906
10910
  }
10907
- const um = (e) => ce + `/Encounter?subject:Patient=${e}&_tag=visit`, lm = (e) => `${ce}/Observation/$fetch-all?encounter=${e}`;
10908
- async function dm(e) {
10909
- return await V(um(e));
10910
- }
10911
+ const lm = (e) => ce + `/Encounter?subject:Patient=${e}&_tag=visit`, dm = (e) => `${ce}/Observation/$fetch-all?encounter=${e}`;
10911
10912
  async function fm(e) {
10912
- return (await dm(e)).entry?.map((r) => r.resource).filter((r) => r !== void 0) ?? [];
10913
+ return await j(lm(e));
10913
10914
  }
10914
10915
  async function pm(e) {
10915
- return (await fm(e)).find((r) => !r.period?.end) ?? null;
10916
+ return (await fm(e)).entry?.map((r) => r.resource).filter((r) => r !== void 0) ?? [];
10916
10917
  }
10917
- async function cv(e) {
10918
- return await V(
10919
- lm(e)
10918
+ async function hm(e) {
10919
+ return (await pm(e)).find((r) => !r.period?.end) ?? null;
10920
+ }
10921
+ async function lv(e) {
10922
+ return await j(
10923
+ dm(e)
10920
10924
  );
10921
10925
  }
10922
- const uv = (e, t) => e?.length === 0 ? !1 : t?.length === 0, hm = ce + "/Encounter", mm = X + "/systemsetting/bahmni.encountersession.duration", gm = "d34fe3ab-5e07-11ef-8f7c-0242ac120002";
10923
- async function ym(e) {
10926
+ const dv = (e, t) => e?.length === 0 ? !1 : t?.length === 0, mm = ce + "/Encounter", gm = X + "/systemsetting/bahmni.encountersession.duration", ym = "d34fe3ab-5e07-11ef-8f7c-0242ac120002";
10927
+ async function vm(e) {
10924
10928
  const t = new URLSearchParams();
10925
10929
  Object.entries(e).forEach(([s, o]) => {
10926
10930
  o && t.append(s, o);
10927
10931
  });
10928
- const r = `${hm}?${t.toString()}`;
10929
- return (await V(r)).entry?.map((s) => s.resource).filter((s) => s !== void 0) ?? [];
10932
+ const r = `${mm}?${t.toString()}`;
10933
+ return (await j(r)).entry?.map((s) => s.resource).filter((s) => s !== void 0) ?? [];
10930
10934
  }
10931
- async function vm() {
10935
+ async function wm() {
10932
10936
  try {
10933
- const e = await V(
10934
- mm
10937
+ const e = await j(
10938
+ gm
10935
10939
  ), t = Number(e.value);
10936
10940
  return !isNaN(t) && t > 0 ? t : 60;
10937
10941
  } catch {
10938
10942
  return 30;
10939
10943
  }
10940
10944
  }
10941
- async function wm(e, t) {
10945
+ async function Em(e, t) {
10942
10946
  if (!e.length) return null;
10943
10947
  try {
10944
- const r = await pm(t);
10948
+ const r = await hm(t);
10945
10949
  return r ? e.find((n) => {
10946
10950
  const s = n.partOf?.reference?.split("/")[1];
10947
10951
  return r.id === s;
@@ -10950,25 +10954,25 @@ async function wm(e, t) {
10950
10954
  return null;
10951
10955
  }
10952
10956
  }
10953
- async function lv(e, t, r) {
10957
+ async function fv(e, t, r) {
10954
10958
  try {
10955
10959
  if (!e) return null;
10956
- const n = r ?? await vm(), o = `ge${new Date(Date.now() - n * 60 * 1e3).toISOString()}`, a = {
10960
+ const n = r ?? await wm(), o = `ge${new Date(Date.now() - n * 60 * 1e3).toISOString()}`, a = {
10957
10961
  patient: e,
10958
10962
  _tag: "encounter",
10959
10963
  _lastUpdated: o,
10960
- type: gm
10964
+ type: ym
10961
10965
  };
10962
10966
  t && (a.participant = t);
10963
- const i = await ym(a);
10964
- return i.length === 0 ? null : await wm(i, e);
10967
+ const i = await vm(a);
10968
+ return i.length === 0 ? null : await Em(i, e);
10965
10969
  } catch {
10966
10970
  return null;
10967
10971
  }
10968
10972
  }
10969
- const Em = (e) => ce + `/EpisodeOfCare?_revinclude=Encounter:episode-of-care&_id=${e}`;
10970
- async function dv(e) {
10971
- const t = e.join(","), r = await V(Em(t));
10973
+ const bm = (e) => ce + `/EpisodeOfCare?_revinclude=Encounter:episode-of-care&_id=${e}`;
10974
+ async function pv(e) {
10975
+ const t = e.join(","), r = await j(bm(t));
10972
10976
  if (r.total === 0)
10973
10977
  throw new Error(
10974
10978
  "No episode of care found for the provided UUIDs: " + e.join(", ")
@@ -10980,13 +10984,13 @@ async function dv(e) {
10980
10984
  c && s.add(c);
10981
10985
  }), { visitUuids: Array.from(s), encounterUuids: o };
10982
10986
  }
10983
- const En = /* @__PURE__ */ new Map(), bm = async (e) => {
10987
+ const En = /* @__PURE__ */ new Map(), _m = async (e) => {
10984
10988
  if (En.has(e))
10985
10989
  return En.get(e) ?? null;
10986
- const t = await V(xa(e)), r = t ? String(t) : null;
10990
+ const t = await j(Ua(e)), r = t ? String(t) : null;
10987
10991
  return En.set(e, r), r;
10988
- }, _m = async () => await bm(Xu) === "true", Sm = async (e, t, r, n = nt.CLINICAL) => {
10989
- if (!await _m())
10992
+ }, Sm = async () => await _m(Xu) === "true", Rm = async (e, t, r, n = nt.CLINICAL) => {
10993
+ if (!await Sm())
10990
10994
  return { logged: !1 };
10991
10995
  const o = $n[t];
10992
10996
  if (!o)
@@ -11002,22 +11006,22 @@ const En = /* @__PURE__ */ new Map(), bm = async (e) => {
11002
11006
  message: r ? `${o.message}~${JSON.stringify(r)}` : o.message,
11003
11007
  module: n
11004
11008
  };
11005
- return await xe(Cl, a), { logged: !0 };
11006
- }, fv = () => Dl(async (t) => {
11007
- await Sm(
11009
+ return await Ue(Cl, a), { logged: !0 };
11010
+ }, hv = () => Dl(async (t) => {
11011
+ await Rm(
11008
11012
  t.patientUuid,
11009
11013
  t.eventType,
11010
11014
  t.messageParams,
11011
11015
  t.module
11012
11016
  );
11013
- }), pv = async () => {
11017
+ }), mv = async () => {
11014
11018
  try {
11015
- return (await V(Gu)).user.privileges;
11019
+ return (await j(Gu)).user.privileges;
11016
11020
  } catch (e) {
11017
11021
  const { message: t } = Rr(e);
11018
11022
  throw new Error(t);
11019
11023
  }
11020
- }, hv = (e, t) => {
11024
+ }, gv = (e, t) => {
11021
11025
  if (!e || e.length === 0)
11022
11026
  return !1;
11023
11027
  if (!t || t.length === 0)
@@ -11026,17 +11030,17 @@ const En = /* @__PURE__ */ new Map(), bm = async (e) => {
11026
11030
  return e.some(
11027
11031
  (n) => r.includes(n.name)
11028
11032
  );
11029
- }, Rm = async (e) => {
11033
+ }, Tm = async (e) => {
11030
11034
  let t;
11031
11035
  e && e.length > 0 && (t = e.join(","));
11032
- const r = await fetch(rm(t));
11036
+ const r = await fetch(nm(t));
11033
11037
  if (!r.ok)
11034
11038
  throw new Error(
11035
11039
  `HTTP error! status for latestPublishedForms: ${r.status}`
11036
11040
  );
11037
11041
  const n = await r.json();
11038
11042
  return Array.isArray(n) ? n : [];
11039
- }, Tm = (e, t) => {
11043
+ }, Om = (e, t) => {
11040
11044
  const r = JSON.parse(e.nameTranslation);
11041
11045
  if (Array.isArray(r) && r.length > 0) {
11042
11046
  const n = r.find(
@@ -11046,8 +11050,8 @@ const En = /* @__PURE__ */ new Map(), bm = async (e) => {
11046
11050
  return n.display;
11047
11051
  }
11048
11052
  return e.name;
11049
- }, Om = (e, t) => {
11050
- const r = Tm(e, t);
11053
+ }, Am = (e, t) => {
11054
+ const r = Om(e, t);
11051
11055
  return {
11052
11056
  uuid: e.uuid,
11053
11057
  name: r,
@@ -11057,13 +11061,13 @@ const En = /* @__PURE__ */ new Map(), bm = async (e) => {
11057
11061
  editable: n.editable
11058
11062
  }))
11059
11063
  };
11060
- }, mv = async (e) => {
11061
- const t = await Rm(e), r = qr();
11064
+ }, yv = async (e) => {
11065
+ const t = await Tm(e), r = qr();
11062
11066
  return t.map(
11063
- (n) => Om(n, r)
11067
+ (n) => Am(n, r)
11064
11068
  );
11065
- }, gv = async (e) => {
11066
- const t = await fetch(tm(e));
11069
+ }, vv = async (e) => {
11070
+ const t = await fetch(rm(e));
11067
11071
  if (!t.ok)
11068
11072
  throw new Error(
11069
11073
  `Failed to fetch form metadata for ${e}: ${t.status}`
@@ -11074,7 +11078,7 @@ const En = /* @__PURE__ */ new Map(), bm = async (e) => {
11074
11078
  const n = JSON.parse(r.resources[0].value), s = qr(), o = r.name ?? n.name, a = r.uuid ?? n.uuid, i = r.version ?? n.version ?? "1", c = r.published ?? !1;
11075
11079
  let d = { labels: {}, concepts: {} };
11076
11080
  if (n && typeof n == "object" && "translationsUrl" in n && typeof n.translationsUrl == "string") {
11077
- const l = nm(
11081
+ const l = sm(
11078
11082
  o,
11079
11083
  a,
11080
11084
  i,
@@ -11096,10 +11100,10 @@ const En = /* @__PURE__ */ new Map(), bm = async (e) => {
11096
11100
  schema: n,
11097
11101
  translations: d
11098
11102
  };
11099
- }, yv = async (e, t, r) => {
11103
+ }, wv = async (e, t, r) => {
11100
11104
  let n;
11101
11105
  t && t.length > 0 && (n = t.join(","));
11102
- const s = sm(e, r, n), o = await V(s);
11106
+ const s = om(e, r, n), o = await j(s);
11103
11107
  return Array.isArray(o) ? o : [];
11104
11108
  };
11105
11109
  function oi(e) {
@@ -11141,7 +11145,7 @@ function ii(e, t) {
11141
11145
  };
11142
11146
  return n(r.controls);
11143
11147
  }
11144
- function vv(e, t) {
11148
+ function Ev(e, t) {
11145
11149
  if (!e.controls || e.controls.length === 0)
11146
11150
  return [];
11147
11151
  const r = [], n = (/* @__PURE__ */ new Date()).toISOString();
@@ -11186,7 +11190,7 @@ function vv(e, t) {
11186
11190
  s.interpretation && (a.interpretation = s.interpretation), s.comment && (a.comment = s.comment), r.push(a);
11187
11191
  }), r;
11188
11192
  }
11189
- function wv(e, t) {
11193
+ function bv(e, t) {
11190
11194
  if (!e || e.length === 0)
11191
11195
  return {
11192
11196
  controls: [],
@@ -11219,7 +11223,7 @@ function wv(e, t) {
11219
11223
  metadata: { formMetadata: t }
11220
11224
  };
11221
11225
  }
11222
- function Ev(e) {
11226
+ function _v(e) {
11223
11227
  const t = (n) => {
11224
11228
  const s = (d) => d == null ? null : typeof d == "string" || typeof d == "number" || typeof d == "boolean" || typeof d == "object" ? d : null, o = n.concept, a = typeof o == "object" && o !== null && "uuid" in o ? o.uuid : o, i = typeof o == "object" && o !== null && "datatype" in o ? o.datatype : void 0, c = {
11225
11229
  concept: {
@@ -11239,11 +11243,11 @@ function Ev(e) {
11239
11243
  };
11240
11244
  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);
11241
11245
  }
11242
- function bv(e) {
11246
+ function Sv(e) {
11243
11247
  if (!(!e || typeof e != "object"))
11244
11248
  return "toJS" in e && typeof e.toJS == "function" ? e.toJS() : e;
11245
11249
  }
11246
- function _v(e, t) {
11250
+ function Rv(e, t) {
11247
11251
  !e || !Array.isArray(e.children) || e.children.forEach((r) => {
11248
11252
  r && typeof r == "object" && ci(
11249
11253
  r,
@@ -11273,7 +11277,7 @@ function ci(e, t) {
11273
11277
  );
11274
11278
  });
11275
11279
  }
11276
- const Am = X + "/bahmnicore/diseaseSummaryData?", Sv = async (e, t, r, n) => {
11280
+ const Nm = X + "/bahmnicore/diseaseSummaryData?", Tv = async (e, t, r, n) => {
11277
11281
  const s = new URLSearchParams({
11278
11282
  groupBy: n,
11279
11283
  latestCount: t.toString(),
@@ -11282,17 +11286,17 @@ const Am = X + "/bahmnicore/diseaseSummaryData?", Sv = async (e, t, r, n) => {
11282
11286
  r.forEach((a) => {
11283
11287
  s.append("obsConcepts", a);
11284
11288
  });
11285
- const o = Am + s.toString();
11286
- return V(o);
11287
- }, Wn = "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)", Nm = (e) => `${X}/bahmniprogramenrollment?patient=${e}&v=${Wn}`, $m = (e, t = 15, r = 0) => `${X}/bahmniprogramenrollment?patient=${e}&v=${Wn}&limit=${t}&startIndex=${r}&totalCount=true`, ui = (e) => `${X}/bahmniprogramenrollment/${e}`, Pm = (e) => `${ui(e)}?v=${Wn}`, Rv = async (e) => await V(Nm(e)), Tv = async (e, t = 15, r = 1) => {
11288
- const n = (r - 1) * t, s = await V(
11289
- $m(e, t, n)
11289
+ const o = Nm + s.toString();
11290
+ return j(o);
11291
+ }, Wn = "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)", $m = (e) => `${X}/bahmniprogramenrollment?patient=${e}&v=${Wn}`, Pm = (e, t = 15, r = 0) => `${X}/bahmniprogramenrollment?patient=${e}&v=${Wn}&limit=${t}&startIndex=${r}&totalCount=true`, ui = (e) => `${X}/bahmniprogramenrollment/${e}`, Im = (e) => `${ui(e)}?v=${Wn}`, Ov = async (e) => await j($m(e)), Av = async (e, t = 15, r = 1) => {
11292
+ const n = (r - 1) * t, s = await j(
11293
+ Pm(e, t, n)
11290
11294
  );
11291
11295
  return {
11292
11296
  programs: s.results,
11293
11297
  total: s.totalCount
11294
11298
  };
11295
- }, Ov = async (e) => await V(Pm(e)), Av = async (e, t) => {
11299
+ }, Nv = async (e) => await j(Im(e)), $v = async (e, t) => {
11296
11300
  const r = {
11297
11301
  uuid: e,
11298
11302
  states: [
@@ -11301,12 +11305,12 @@ const Am = X + "/bahmnicore/diseaseSummaryData?", Sv = async (e, t, r, n) => {
11301
11305
  }
11302
11306
  ]
11303
11307
  };
11304
- return await xe(
11308
+ return await Ue(
11305
11309
  ui(e),
11306
11310
  r
11307
11311
  );
11308
11312
  };
11309
- function Nv(e) {
11313
+ function Pv(e) {
11310
11314
  if (e.states.length === 0)
11311
11315
  return null;
11312
11316
  let t;
@@ -11322,7 +11326,7 @@ function Nv(e) {
11322
11326
  t = e.states.find((r) => r.endDate === null);
11323
11327
  return t ? Vf(t.state.concept.names) ?? t.state.concept.display : null;
11324
11328
  }
11325
- function $v(e, t) {
11329
+ function Iv(e, t) {
11326
11330
  if (t.length === 0)
11327
11331
  return {};
11328
11332
  const r = {};
@@ -11334,12 +11338,12 @@ function $v(e, t) {
11334
11338
  }
11335
11339
  return r;
11336
11340
  }
11337
- const In = "consultation:saved", Pv = (e) => {
11341
+ const In = "consultation:saved", Dv = (e) => {
11338
11342
  const t = new CustomEvent(In, {
11339
11343
  detail: e
11340
11344
  });
11341
11345
  window.dispatchEvent(t);
11342
- }, Iv = (e, t = []) => {
11346
+ }, Cv = (e, t = []) => {
11343
11347
  const r = bn(e);
11344
11348
  _n(() => {
11345
11349
  r.current = e;
@@ -11371,23 +11375,23 @@ function di(e) {
11371
11375
  };
11372
11376
  });
11373
11377
  }
11374
- async function Im(e, t) {
11378
+ async function Dm(e, t) {
11375
11379
  const r = li(e, t);
11376
- return V(r);
11380
+ return j(r);
11377
11381
  }
11378
- async function Dv(e, t) {
11379
- const n = ((await Im(e, t)).entry ?? []).filter(
11382
+ async function Lv(e, t) {
11383
+ const n = ((await Dm(e, t)).entry ?? []).filter(
11380
11384
  (s) => !!s.resource
11381
11385
  );
11382
11386
  return di(n);
11383
11387
  }
11384
- async function Cv(e, t, r = 10, n = 1) {
11388
+ async function kv(e, t, r = 10, n = 1) {
11385
11389
  const s = (n - 1) * r, o = li(
11386
11390
  e,
11387
11391
  t,
11388
11392
  r,
11389
11393
  s
11390
- ), a = await V(o), i = (a.entry ?? []).filter(
11394
+ ), a = await j(o), i = (a.entry ?? []).filter(
11391
11395
  (c) => !!c.resource
11392
11396
  );
11393
11397
  return {
@@ -11395,8 +11399,8 @@ async function Cv(e, t, r = 10, n = 1) {
11395
11399
  total: a.total ?? i.length
11396
11400
  };
11397
11401
  }
11398
- const Dm = X + "/bahmnicore/visitDocument/uploadDocument", Cm = "application";
11399
- async function Lm(e) {
11402
+ const Cm = X + "/bahmnicore/visitDocument/uploadDocument", Lm = "application";
11403
+ async function km(e) {
11400
11404
  return new Promise((t, r) => {
11401
11405
  const n = new FileReader();
11402
11406
  n.onload = () => {
@@ -11409,7 +11413,7 @@ async function Lm(e) {
11409
11413
  let a = o, i = "";
11410
11414
  const c = o.lastIndexOf(".");
11411
11415
  c !== -1 && (a = o.substring(0, c), i = o.substring(c + 1).toLowerCase());
11412
- const d = e.type ? e.type.split("/")[0] : Cm;
11416
+ const d = e.type ? e.type.split("/")[0] : Lm;
11413
11417
  t({
11414
11418
  content: s,
11415
11419
  fileName: a,
@@ -11421,8 +11425,8 @@ async function Lm(e) {
11421
11425
  }, n.readAsDataURL(e);
11422
11426
  });
11423
11427
  }
11424
- async function Lv(e, t, r) {
11425
- const n = await Lm(e), s = {
11428
+ async function Uv(e, t, r) {
11429
+ const n = await km(e), s = {
11426
11430
  content: n.content,
11427
11431
  encounterTypeName: t,
11428
11432
  fileName: n.fileName,
@@ -11430,187 +11434,188 @@ async function Lv(e, t, r) {
11430
11434
  format: n.format,
11431
11435
  patientUuid: r
11432
11436
  };
11433
- return xe(Dm, s);
11437
+ return Ue(Cm, s);
11434
11438
  }
11435
11439
  export {
11436
- Wg as APPOINTMENT_IDENTIFIER_SYSTEM,
11437
- Yg as APPOINTMENT_STATUSES,
11440
+ Jg as APPOINTMENT_IDENTIFIER_SYSTEM,
11441
+ Wg as APPOINTMENT_STATUSES,
11438
11442
  $n as AUDIT_LOG_EVENT_DETAILS,
11439
11443
  Qf as AllergySeverity,
11440
11444
  Jf as AllergyStatus,
11441
11445
  $l as AttributeFormat,
11442
11446
  Pl as AttributeInputType,
11443
- sg as BAHMNI_HOME_PATH,
11444
- Py as CONCEPT_DATATYPE_COMPLEX,
11445
- $y as CONCEPT_DATATYPE_NUMERIC,
11447
+ og as BAHMNI_HOME_PATH,
11448
+ Iy as CONCEPT_DATATYPE_COMPLEX,
11449
+ Py as CONCEPT_DATATYPE_NUMERIC,
11446
11450
  In as CONSULTATION_SAVED_EVENT,
11447
11451
  Xf as DATETIME_REGEX_PATTERN,
11448
- Cy as DATE_REGEX_PATTERN,
11452
+ Ly as DATE_REGEX_PATTERN,
11449
11453
  Af as DEFAULT_DATE_FORMAT,
11450
11454
  Nf as DEFAULT_DATE_FORMAT_STORAGE_KEY,
11451
11455
  Pf as DEFAULT_TIME_FORMAT,
11452
11456
  Df as DURATION_UNIT_TO_DAYS,
11453
- by as FHIR_ENCOUNTER_TYPE_CODE_SYSTEM,
11454
- Ty as FHIR_LAB_ORDER_CONCEPT_TYPE_EXTENSION_URL,
11455
- Ay as FHIR_OBSERVATION_FORM_NAMESPACE_PATH_URL,
11456
- Oy as FHIR_OBSERVATION_INTERPRETATION_SYSTEM,
11457
- Iy as FHIR_OBSERVATION_STATUS_FINAL,
11458
- Ny as FHIR_OBSERVATION_VALUE_ATTACHMENT_URL,
11459
- Dy as FHIR_RESOURCE_TYPE_OBSERVATION,
11460
- Ry as HL7_CONDITION_CATEGORY_CODE_SYSTEM,
11457
+ _y as FHIR_ENCOUNTER_TYPE_CODE_SYSTEM,
11458
+ Oy as FHIR_LAB_ORDER_CONCEPT_TYPE_EXTENSION_URL,
11459
+ Ny as FHIR_OBSERVATION_FORM_NAMESPACE_PATH_URL,
11460
+ Ay as FHIR_OBSERVATION_INTERPRETATION_SYSTEM,
11461
+ Dy as FHIR_OBSERVATION_STATUS_FINAL,
11462
+ $y as FHIR_OBSERVATION_VALUE_ATTACHMENT_URL,
11463
+ Cy as FHIR_RESOURCE_TYPE_OBSERVATION,
11464
+ Ty as HL7_CONDITION_CATEGORY_CODE_SYSTEM,
11461
11465
  Wa as HL7_CONDITION_CATEGORY_CONDITION_CODE,
11462
11466
  Ja as HL7_CONDITION_CATEGORY_DIAGNOSIS_CODE,
11463
- Sy as HL7_CONDITION_CLINICAL_STATUS_CODE_SYSTEM,
11464
- _y as HL7_CONDITION_VERIFICATION_STATUS_CODE_SYSTEM,
11465
- Ly as INTERPRETATION_TO_CODE,
11466
- Sg as MAX_NAME_LENGTH,
11467
- _g as MAX_PATIENT_AGE_YEARS,
11468
- Rg as MAX_PHONE_NUMBER_LENGTH,
11467
+ Ry as HL7_CONDITION_CLINICAL_STATUS_CODE_SYSTEM,
11468
+ Sy as HL7_CONDITION_VERIFICATION_STATUS_CODE_SYSTEM,
11469
+ ky as INTERPRETATION_TO_CODE,
11470
+ Rg as MAX_NAME_LENGTH,
11471
+ Sg as MAX_PATIENT_AGE_YEARS,
11472
+ Tg as MAX_PHONE_NUMBER_LENGTH,
11469
11473
  ke as MedicationStatus,
11470
11474
  ce as OPENMRS_FHIR_R4,
11471
11475
  X as OPENMRS_REST_V1,
11472
- Xy as ORDER_TYPE_QUERY_KEY,
11473
- Qy as PENDING_REPORT_STATUSES,
11474
- Jy as PROCESSED_REPORT_STATUSES,
11475
- sv as USER_PINNED_PREFERENCE_URL,
11476
- oy as calculateAge,
11477
- dy as calculateEndDate,
11478
- iy as calculateOnsetDate,
11479
- vg as camelToScreamingSnakeCase,
11480
- dg as capitalize,
11481
- Gg as checkIfActiveVisitExists,
11482
- bv as convertImmutableToPlainObject,
11483
- wg as convertToSentenceCase,
11484
- Ig as createPatient,
11485
- Kg as createVisitForPatient,
11476
+ ev as ORDER_TYPE_QUERY_KEY,
11477
+ Zy as PENDING_REPORT_STATUSES,
11478
+ Xy as PROCESSED_REPORT_STATUSES,
11479
+ av as USER_PINNED_PREFERENCE_URL,
11480
+ ay as calculateAge,
11481
+ fy as calculateEndDate,
11482
+ cy as calculateOnsetDate,
11483
+ wg as camelToScreamingSnakeCase,
11484
+ fg as capitalize,
11485
+ Kg as checkIfActiveVisitExists,
11486
+ Sv as convertImmutableToPlainObject,
11487
+ Eg as convertToSentenceCase,
11488
+ Dg as createPatient,
11489
+ Yg as createVisitForPatient,
11486
11490
  uu as del,
11487
- ry as deleteAppointmentService,
11491
+ ny as deleteAppointmentService,
11488
11492
  Il as dispatchAuditEvent,
11489
- Pv as dispatchConsultationSaved,
11490
- fy as doDateRangesOverlap,
11491
- $v as extractAttributes,
11492
- _v as extractNotesFromFormData,
11493
- vy as fetchAndFormatAllergenConcepts,
11494
- gv as fetchFormMetadata,
11495
- Fy as fetchMedicationOrdersMetadata,
11496
- mv as fetchObservationForms,
11497
- wy as fetchReactionConcepts,
11498
- mg as filterReplacementEntries,
11499
- lv as findActiveEncounterInSession,
11500
- cy as formatDateDistance,
11501
- ay as formatDateTime,
11502
- gg as formatUrl,
11503
- ug as generateId,
11504
- lg as generateUUID,
11505
- V as get,
11506
- pm as getActiveVisit,
11493
+ Dv as dispatchConsultationSaved,
11494
+ py as doDateRangesOverlap,
11495
+ Iv as extractAttributes,
11496
+ Rv as extractNotesFromFormData,
11497
+ wy as fetchAndFormatAllergenConcepts,
11498
+ vv as fetchFormMetadata,
11499
+ jy as fetchMedicationOrdersMetadata,
11500
+ yv as fetchObservationForms,
11501
+ Ky as fetchQualityAssessment,
11502
+ Ey as fetchReactionConcepts,
11503
+ gg as filterReplacementEntries,
11504
+ fv as findActiveEncounterInSession,
11505
+ uy as formatDateDistance,
11506
+ iy as formatDateTime,
11507
+ yg as formatUrl,
11508
+ lg as generateId,
11509
+ dg as generateUUID,
11510
+ j as get,
11511
+ hm as getActiveVisit,
11507
11512
  Ml as getActiveVisitByPatient,
11508
- Lg as getAddressHierarchyEntries,
11509
- ty as getAllAppointmentServices,
11513
+ kg as getAddressHierarchyEntries,
11514
+ ry as getAllAppointmentServices,
11510
11515
  Yf as getAllergies,
11511
- ey as getAppointmentById,
11512
- ev as getCategoryUuidFromOrderTypes,
11513
- gy as getConceptById,
11516
+ ty as getAppointmentById,
11517
+ rv as getCategoryUuidFromOrderTypes,
11518
+ yy as getConceptById,
11514
11519
  xy as getConditionPage,
11515
- ky as getConditions,
11516
- nv as getConfig,
11517
- Ua as getCookieByName,
11518
- iv as getCurrentProvider,
11519
- Nv as getCurrentStateName,
11520
- Eg as getCurrentUser,
11521
- pv as getCurrentUserPrivileges,
11522
- bg as getDefaultDateFormat,
11523
- qy as getDiagnosesPage,
11524
- Yy as getDiagnosticReportBundle,
11525
- Ky as getDiagnosticReports,
11526
- Cv as getDocumentReferencePage,
11527
- Im as getDocumentReferences,
11528
- dv as getEncountersAndVisitsForEOC,
11529
- rv as getExistingServiceRequestsForAllCategories,
11530
- Zy as getFlattenedInvestigations,
11531
- ly as getFormattedAge,
11532
- Ey as getFormattedAllergies,
11533
- Dv as getFormattedDocumentReferences,
11520
+ Uy as getConditions,
11521
+ ov as getConfig,
11522
+ xa as getCookieByName,
11523
+ uv as getCurrentProvider,
11524
+ Pv as getCurrentStateName,
11525
+ bg as getCurrentUser,
11526
+ mv as getCurrentUserPrivileges,
11527
+ _g as getDefaultDateFormat,
11528
+ My as getDiagnosesPage,
11529
+ Jy as getDiagnosticReportBundle,
11530
+ Wy as getDiagnosticReports,
11531
+ kv as getDocumentReferencePage,
11532
+ Dm as getDocumentReferences,
11533
+ pv as getEncountersAndVisitsForEOC,
11534
+ sv as getExistingServiceRequestsForAllCategories,
11535
+ tv as getFlattenedInvestigations,
11536
+ dy as getFormattedAge,
11537
+ by as getFormattedAllergies,
11538
+ Lv as getFormattedDocumentReferences,
11534
11539
  Rr as getFormattedError,
11535
- Tg as getFormattedPatientById,
11536
- Cg as getGenders,
11537
- Pg as getIdentifierData,
11538
- $g as getIdentifierTypes,
11539
- Mg as getInputTypeForFormat,
11540
- Gy as getLabInvestigationsBundle,
11541
- cv as getObservationsBundleByEncounterUuid,
11542
- tv as getOrderTypeNames,
11540
+ Og as getFormattedPatientById,
11541
+ Lg as getGenders,
11542
+ Ig as getIdentifierData,
11543
+ Pg as getIdentifierTypes,
11544
+ Fg as getInputTypeForFormat,
11545
+ Yy as getLabInvestigationsBundle,
11546
+ lv as getObservationsBundleByEncounterUuid,
11547
+ nv as getOrderTypeNames,
11543
11548
  zn as getOrderTypes,
11544
- kg as getOrderedAddressHierarchyLevels,
11545
- Xg as getPastAppointments,
11546
- sy as getPastAppointmentsPage,
11549
+ Ug as getOrderedAddressHierarchyLevels,
11550
+ Zg as getPastAppointments,
11551
+ oy as getPastAppointmentsPage,
11547
11552
  _l as getPatientById,
11548
- Uy as getPatientDiagnoses,
11549
- yv as getPatientFormData,
11550
- Og as getPatientImageAsDataUrl,
11553
+ qy as getPatientDiagnoses,
11554
+ wv as getPatientFormData,
11555
+ Ag as getPatientImageAsDataUrl,
11551
11556
  yp as getPatientMedicationBundle,
11552
- My as getPatientMedications,
11553
- av as getPatientObservations,
11554
- im as getPatientObservationsBundle,
11555
- ov as getPatientObservationsWithEncounterBundle,
11557
+ Fy as getPatientMedications,
11558
+ cv as getPatientObservations,
11559
+ cm as getPatientObservationsBundle,
11560
+ iv as getPatientObservationsWithEncounterBundle,
11556
11561
  xg as getPatientProfile,
11557
- Rv as getPatientPrograms,
11558
- Tv as getPatientProgramsPage,
11559
- Hy as getPatientRadiologyInvestigationBundle,
11560
- By as getPatientRadiologyInvestigationBundleWithImagingStudy,
11561
- zy as getPatientRadiologyInvestigations,
11562
- qg as getPersonAttributeTypes,
11562
+ Ov as getPatientPrograms,
11563
+ Av as getPatientProgramsPage,
11564
+ By as getPatientRadiologyInvestigationBundle,
11565
+ zy as getPatientRadiologyInvestigationBundleWithImagingStudy,
11566
+ Gy as getPatientRadiologyInvestigations,
11567
+ Mg as getPersonAttributeTypes,
11563
11568
  Nl as getPrimaryIdentifierType,
11564
- pg as getPriorityByOrder,
11565
- Ov as getProgramByUUID,
11566
- Ug as getRelationshipTypes,
11569
+ hg as getPriorityByOrder,
11570
+ Nv as getProgramByUUID,
11571
+ qg as getRelationshipTypes,
11567
11572
  Pt as getServiceRequests,
11568
- uy as getTodayDate,
11569
- Qg as getUpcomingAppointments,
11570
- ny as getUpcomingAppointmentsPage,
11573
+ ly as getTodayDate,
11574
+ Xg as getUpcomingAppointments,
11575
+ sy as getUpcomingAppointmentsPage,
11571
11576
  qn as getUserLoginLocation,
11572
11577
  qr as getUserPreferredLocale,
11573
- Vy as getVaccinations,
11574
- yg as getValueType,
11575
- zg as getVisitTypes,
11576
- Sv as getVitalFlowSheetData,
11577
- hg as groupByDate,
11578
- hv as hasPrivilege,
11579
- ag as initAppI18n,
11580
- fv as initializeAuditListener,
11581
- Fg as isBooleanFormat,
11582
- jg as isConceptFormat,
11583
- Hg as isDateFormat,
11584
- Vg as isNumberFormat,
11585
- fg as isStringEmpty,
11586
- Bg as isTextFormat,
11587
- Sm as logAuditEvent,
11588
- og as normalizeTranslationKey,
11589
- hy as notificationService,
11578
+ Hy as getVaccinations,
11579
+ vg as getValueType,
11580
+ Gg as getVisitTypes,
11581
+ Tv as getVitalFlowSheetData,
11582
+ mg as groupByDate,
11583
+ gv as hasPrivilege,
11584
+ ig as initAppI18n,
11585
+ hv as initializeAuditListener,
11586
+ jg as isBooleanFormat,
11587
+ Vg as isConceptFormat,
11588
+ Bg as isDateFormat,
11589
+ Hg as isNumberFormat,
11590
+ pg as isStringEmpty,
11591
+ zg as isTextFormat,
11592
+ Rm as logAuditEvent,
11593
+ ag as normalizeTranslationKey,
11594
+ my as notificationService,
11590
11595
  Zu as parseQueryParams,
11591
- ng as patch,
11592
- xe as post,
11593
- rg as put,
11594
- cg as refreshQueries,
11595
- Jg as searchAppointmentsByAttribute,
11596
- yy as searchConceptByName,
11597
- my as searchConcepts,
11596
+ sg as patch,
11597
+ Ue as post,
11598
+ ng as put,
11599
+ ug as refreshQueries,
11600
+ Qg as searchAppointmentsByAttribute,
11601
+ vy as searchConceptByName,
11602
+ gy as searchConcepts,
11598
11603
  br as searchFHIRConcepts,
11599
11604
  jf as searchFHIRConceptsByName,
11600
- jy as searchMedications,
11601
- Ng as searchPatientByCustomAttribute,
11602
- Ag as searchPatientByNameOrId,
11603
- uv as shouldEnableEncounterFilter,
11604
- py as sortByDate,
11605
- Ev as transformContainerObservationsToForm2Observations,
11606
- vv as transformFormDataToObservations,
11607
- wv as transformObservationsToFormData,
11608
- Zg as updateAppointmentStatus,
11609
- Wy as updateDiagnosticReportBundle,
11610
- Dg as updatePatient,
11611
- Av as updateProgramState,
11612
- Lv as uploadDocument,
11613
- ig as useCamera,
11614
- Iv as useSubscribeConsultationSaved,
11615
- Uv as useTranslation
11605
+ Vy as searchMedications,
11606
+ $g as searchPatientByCustomAttribute,
11607
+ Ng as searchPatientByNameOrId,
11608
+ dv as shouldEnableEncounterFilter,
11609
+ hy as sortByDate,
11610
+ _v as transformContainerObservationsToForm2Observations,
11611
+ Ev as transformFormDataToObservations,
11612
+ bv as transformObservationsToFormData,
11613
+ ey as updateAppointmentStatus,
11614
+ Qy as updateDiagnosticReportBundle,
11615
+ Cg as updatePatient,
11616
+ $v as updateProgramState,
11617
+ Uv as uploadDocument,
11618
+ cg as useCamera,
11619
+ Cv as useSubscribeConsultationSaved,
11620
+ Mv as useTranslation
11616
11621
  };