@bahmni/services 0.0.1-dev.154 → 0.0.1-dev.156
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/events/consultationEvents.d.ts.map +1 -1
- package/dist/index.js +897 -885
- package/dist/orderRequestService/orderRequestService.d.ts.map +1 -1
- package/dist/orderRequestService/serviceRequestUtils.d.ts +3 -0
- package/dist/orderRequestService/serviceRequestUtils.d.ts.map +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { initReactI18next as Ri } from "react-i18next";
|
|
2
|
-
import { useTranslation as
|
|
2
|
+
import { useTranslation as Iw } from "react-i18next";
|
|
3
3
|
import { useRef as _n, useCallback as Xr, useEffect as Sn } from "react";
|
|
4
4
|
function fo(e, t) {
|
|
5
5
|
return function() {
|
|
@@ -23,7 +23,7 @@ const Oi = Mr("string"), Se = Mr("function"), mo = Mr("number"), Ot = (e) => e !
|
|
|
23
23
|
return !1;
|
|
24
24
|
const t = Ln(e);
|
|
25
25
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(po in e) && !(Lr in e);
|
|
26
|
-
},
|
|
26
|
+
}, $i = (e) => {
|
|
27
27
|
if (!Ot(e) || At(e))
|
|
28
28
|
return !1;
|
|
29
29
|
try {
|
|
@@ -31,11 +31,11 @@ const Oi = Mr("string"), Se = Mr("function"), mo = Mr("number"), Ot = (e) => e !
|
|
|
31
31
|
} catch {
|
|
32
32
|
return !1;
|
|
33
33
|
}
|
|
34
|
-
},
|
|
34
|
+
}, Ni = De("Date"), Ii = De("File"), Di = De("Blob"), Ci = De("FileList"), Li = (e) => Ot(e) && Se(e.pipe), ki = (e) => {
|
|
35
35
|
let t;
|
|
36
36
|
return e && (typeof FormData == "function" && e instanceof FormData || Se(e.append) && ((t = kr(e)) === "formdata" || // detect form-data instance
|
|
37
37
|
t === "object" && Se(e.toString) && e.toString() === "[object FormData]"));
|
|
38
|
-
}, Mi = De("URLSearchParams"), [xi,
|
|
38
|
+
}, Mi = De("URLSearchParams"), [xi, qi, Ui, ji] = [
|
|
39
39
|
"ReadableStream",
|
|
40
40
|
"Request",
|
|
41
41
|
"Response",
|
|
@@ -217,13 +217,13 @@ const ac = (e) => {
|
|
|
217
217
|
isBoolean: Pi,
|
|
218
218
|
isObject: Ot,
|
|
219
219
|
isPlainObject: Er,
|
|
220
|
-
isEmptyObject:
|
|
220
|
+
isEmptyObject: $i,
|
|
221
221
|
isReadableStream: xi,
|
|
222
|
-
isRequest:
|
|
223
|
-
isResponse:
|
|
222
|
+
isRequest: qi,
|
|
223
|
+
isResponse: Ui,
|
|
224
224
|
isHeaders: ji,
|
|
225
225
|
isUndefined: ct,
|
|
226
|
-
isDate:
|
|
226
|
+
isDate: Ni,
|
|
227
227
|
isFile: Ii,
|
|
228
228
|
isBlob: Di,
|
|
229
229
|
isRegExp: Zi,
|
|
@@ -568,7 +568,7 @@ function Tc(e, t, r) {
|
|
|
568
568
|
}
|
|
569
569
|
return (r || JSON.stringify)(e);
|
|
570
570
|
}
|
|
571
|
-
const
|
|
571
|
+
const $t = {
|
|
572
572
|
transitional: Mn,
|
|
573
573
|
adapter: ["xhr", "http", "fetch"],
|
|
574
574
|
transformRequest: [function(t, r) {
|
|
@@ -597,7 +597,7 @@ const Nt = {
|
|
|
597
597
|
return a || s ? (r.setContentType("application/json", !1), Tc(t)) : t;
|
|
598
598
|
}],
|
|
599
599
|
transformResponse: [function(t) {
|
|
600
|
-
const r = this.transitional ||
|
|
600
|
+
const r = this.transitional || $t.transitional, n = r && r.forcedJSONParsing, s = this.responseType === "json";
|
|
601
601
|
if (I.isResponse(t) || I.isReadableStream(t))
|
|
602
602
|
return t;
|
|
603
603
|
if (t && I.isString(t) && (n && !this.responseType || s)) {
|
|
@@ -635,7 +635,7 @@ const Nt = {
|
|
|
635
635
|
}
|
|
636
636
|
};
|
|
637
637
|
I.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
|
|
638
|
-
|
|
638
|
+
$t.headers[e] = {};
|
|
639
639
|
});
|
|
640
640
|
const Ac = I.toObjectSet([
|
|
641
641
|
"age",
|
|
@@ -676,7 +676,7 @@ function Pc(e) {
|
|
|
676
676
|
t[n[1]] = n[2];
|
|
677
677
|
return t;
|
|
678
678
|
}
|
|
679
|
-
const
|
|
679
|
+
const $c = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
680
680
|
function Qr(e, t, r, n, s) {
|
|
681
681
|
if (I.isFunction(n))
|
|
682
682
|
return n.call(this, t, r);
|
|
@@ -687,7 +687,7 @@ function Qr(e, t, r, n, s) {
|
|
|
687
687
|
return n.test(t);
|
|
688
688
|
}
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function Nc(e) {
|
|
691
691
|
return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, r, n) => r.toUpperCase() + n);
|
|
692
692
|
}
|
|
693
693
|
function Ic(e, t) {
|
|
@@ -717,7 +717,7 @@ let Re = class {
|
|
|
717
717
|
const o = (i, c) => I.forEach(i, (l, d) => a(l, d, c));
|
|
718
718
|
if (I.isPlainObject(t) || t instanceof this.constructor)
|
|
719
719
|
o(t, r);
|
|
720
|
-
else if (I.isString(t) && (t = t.trim()) &&
|
|
720
|
+
else if (I.isString(t) && (t = t.trim()) && !$c(t))
|
|
721
721
|
o(Oc(t), r);
|
|
722
722
|
else if (I.isObject(t) && I.isIterable(t)) {
|
|
723
723
|
let i = {}, c, l;
|
|
@@ -783,7 +783,7 @@ let Re = class {
|
|
|
783
783
|
r[o] = _r(s), delete r[a];
|
|
784
784
|
return;
|
|
785
785
|
}
|
|
786
|
-
const i = t ?
|
|
786
|
+
const i = t ? Nc(a) : String(a).trim();
|
|
787
787
|
i !== a && delete r[a], r[i] = _r(s), n[i] = !0;
|
|
788
788
|
}), this;
|
|
789
789
|
}
|
|
@@ -839,7 +839,7 @@ I.reduceDescriptors(Re.prototype, ({ value: e }, t) => {
|
|
|
839
839
|
});
|
|
840
840
|
I.freezeMethods(Re);
|
|
841
841
|
function Zr(e, t) {
|
|
842
|
-
const r = this ||
|
|
842
|
+
const r = this || $t, n = t || r, s = Re.from(n.headers);
|
|
843
843
|
let a = n.data;
|
|
844
844
|
return I.forEach(e, function(i) {
|
|
845
845
|
a = i.call(r, a, s.normalize(), t ? t.status : void 0);
|
|
@@ -848,7 +848,7 @@ function Zr(e, t) {
|
|
|
848
848
|
function To(e) {
|
|
849
849
|
return !!(e && e.__CANCEL__);
|
|
850
850
|
}
|
|
851
|
-
let
|
|
851
|
+
let Nt = class extends G {
|
|
852
852
|
/**
|
|
853
853
|
* A `CanceledError` is an object that is thrown when an operation is canceled.
|
|
854
854
|
*
|
|
@@ -965,12 +965,12 @@ const Ar = (e, t, r = 3) => {
|
|
|
965
965
|
function xc(e) {
|
|
966
966
|
return typeof e != "string" ? !1 : /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
967
967
|
}
|
|
968
|
-
function
|
|
968
|
+
function qc(e, t) {
|
|
969
969
|
return t ? e.replace(/\/?\/$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
970
970
|
}
|
|
971
971
|
function Oo(e, t, r) {
|
|
972
972
|
let n = !xc(t);
|
|
973
|
-
return e && (n || r == !1) ?
|
|
973
|
+
return e && (n || r == !1) ? qc(e, t) : t;
|
|
974
974
|
}
|
|
975
975
|
const as = (e) => e instanceof Re ? { ...e } : e;
|
|
976
976
|
function Ye(e, t) {
|
|
@@ -1063,7 +1063,7 @@ const Po = (e) => {
|
|
|
1063
1063
|
c && o.set(s, c);
|
|
1064
1064
|
}
|
|
1065
1065
|
return t;
|
|
1066
|
-
},
|
|
1066
|
+
}, Uc = typeof XMLHttpRequest < "u", jc = Uc && function(e) {
|
|
1067
1067
|
return new Promise(function(r, n) {
|
|
1068
1068
|
const s = Po(e);
|
|
1069
1069
|
let a = s.data;
|
|
@@ -1112,7 +1112,7 @@ const Po = (e) => {
|
|
|
1112
1112
|
}, a === void 0 && o.setContentType(null), "setRequestHeader" in f && I.forEach(o.toJSON(), function(w, _) {
|
|
1113
1113
|
f.setRequestHeader(_, w);
|
|
1114
1114
|
}), I.isUndefined(s.withCredentials) || (f.withCredentials = !!s.withCredentials), i && i !== "json" && (f.responseType = s.responseType), l && ([y, v] = Ar(l, !0), f.addEventListener("progress", y)), c && f.upload && ([m, S] = Ar(c), f.upload.addEventListener("progress", m), f.upload.addEventListener("loadend", S)), (s.cancelToken || s.signal) && (d = (h) => {
|
|
1115
|
-
f && (n(!h || h.type ? new
|
|
1115
|
+
f && (n(!h || h.type ? new Nt(null, e, f) : h), f.abort(), f = null);
|
|
1116
1116
|
}, s.cancelToken && s.cancelToken.subscribe(d), s.signal && (s.signal.aborted ? d() : s.signal.addEventListener("abort", d)));
|
|
1117
1117
|
const u = Dc(s.url);
|
|
1118
1118
|
if (u && ve.protocols.indexOf(u) === -1) {
|
|
@@ -1129,7 +1129,7 @@ const Po = (e) => {
|
|
|
1129
1129
|
if (!s) {
|
|
1130
1130
|
s = !0, i();
|
|
1131
1131
|
const d = l instanceof Error ? l : this.reason;
|
|
1132
|
-
n.abort(d instanceof G ? d : new
|
|
1132
|
+
n.abort(d instanceof G ? d : new Nt(d instanceof Error ? d.message : d));
|
|
1133
1133
|
}
|
|
1134
1134
|
};
|
|
1135
1135
|
let o = t && setTimeout(() => {
|
|
@@ -1272,8 +1272,8 @@ const Po = (e) => {
|
|
|
1272
1272
|
responseType: R,
|
|
1273
1273
|
headers: P,
|
|
1274
1274
|
withCredentials: k = "same-origin",
|
|
1275
|
-
fetchOptions:
|
|
1276
|
-
} = Po(v),
|
|
1275
|
+
fetchOptions: U
|
|
1276
|
+
} = Po(v), q = t || fetch;
|
|
1277
1277
|
R = R ? (R + "").toLowerCase() : "text";
|
|
1278
1278
|
let j = Fc([u, h && h.toAbortSignal()], w), V = null;
|
|
1279
1279
|
const W = j && j.unsubscribe && (() => {
|
|
@@ -1288,16 +1288,16 @@ const Po = (e) => {
|
|
|
1288
1288
|
duplex: "half"
|
|
1289
1289
|
}), C;
|
|
1290
1290
|
if (I.isFormData(p) && (C = O.headers.get("content-type")) && P.setContentType(C), O.body) {
|
|
1291
|
-
const [
|
|
1291
|
+
const [N, b] = ns(
|
|
1292
1292
|
re,
|
|
1293
1293
|
Ar(ss(E))
|
|
1294
1294
|
);
|
|
1295
|
-
p = os(O.body, is,
|
|
1295
|
+
p = os(O.body, is, N, b);
|
|
1296
1296
|
}
|
|
1297
1297
|
}
|
|
1298
1298
|
I.isString(k) || (k = k ? "include" : "omit");
|
|
1299
1299
|
const ne = a && "credentials" in r.prototype, he = {
|
|
1300
|
-
...
|
|
1300
|
+
...U,
|
|
1301
1301
|
signal: j,
|
|
1302
1302
|
method: f.toUpperCase(),
|
|
1303
1303
|
headers: P.normalize().toJSON(),
|
|
@@ -1306,19 +1306,19 @@ const Po = (e) => {
|
|
|
1306
1306
|
credentials: ne ? k : void 0
|
|
1307
1307
|
};
|
|
1308
1308
|
V = a && new r(g, he);
|
|
1309
|
-
let J = await (a ?
|
|
1309
|
+
let J = await (a ? q(V, U) : q(g, he));
|
|
1310
1310
|
const ce = d && (R === "stream" || R === "response");
|
|
1311
1311
|
if (d && (_ || ce && W)) {
|
|
1312
1312
|
const O = {};
|
|
1313
1313
|
["status", "statusText", "headers"].forEach((T) => {
|
|
1314
1314
|
O[T] = J[T];
|
|
1315
1315
|
});
|
|
1316
|
-
const C = I.toFiniteNumber(J.headers.get("content-length")), [
|
|
1316
|
+
const C = I.toFiniteNumber(J.headers.get("content-length")), [N, b] = _ && ns(
|
|
1317
1317
|
C,
|
|
1318
1318
|
Ar(ss(_), !0)
|
|
1319
1319
|
) || [];
|
|
1320
1320
|
J = new n(
|
|
1321
|
-
os(J.body, is,
|
|
1321
|
+
os(J.body, is, N, () => {
|
|
1322
1322
|
b && b(), W && W();
|
|
1323
1323
|
}),
|
|
1324
1324
|
O
|
|
@@ -1345,7 +1345,7 @@ const Po = (e) => {
|
|
|
1345
1345
|
) : G.from(ne, ne && ne.code, v, V, ne && ne.response);
|
|
1346
1346
|
}
|
|
1347
1347
|
};
|
|
1348
|
-
}, Gc = /* @__PURE__ */ new Map(),
|
|
1348
|
+
}, Gc = /* @__PURE__ */ new Map(), $o = (e) => {
|
|
1349
1349
|
let t = e && e.env || {};
|
|
1350
1350
|
const { fetch: r, Request: n, Response: s } = t, a = [
|
|
1351
1351
|
n,
|
|
@@ -1357,15 +1357,15 @@ const Po = (e) => {
|
|
|
1357
1357
|
c = a[i], l = d.get(c), l === void 0 && d.set(c, l = i ? /* @__PURE__ */ new Map() : zc(t)), d = l;
|
|
1358
1358
|
return l;
|
|
1359
1359
|
};
|
|
1360
|
-
|
|
1361
|
-
const
|
|
1360
|
+
$o();
|
|
1361
|
+
const qn = {
|
|
1362
1362
|
http: lc,
|
|
1363
1363
|
xhr: jc,
|
|
1364
1364
|
fetch: {
|
|
1365
|
-
get:
|
|
1365
|
+
get: $o
|
|
1366
1366
|
}
|
|
1367
1367
|
};
|
|
1368
|
-
I.forEach(
|
|
1368
|
+
I.forEach(qn, (e, t) => {
|
|
1369
1369
|
if (e) {
|
|
1370
1370
|
try {
|
|
1371
1371
|
Object.defineProperty(e, "name", { value: t });
|
|
@@ -1383,7 +1383,7 @@ function Yc(e, t) {
|
|
|
1383
1383
|
for (let o = 0; o < r; o++) {
|
|
1384
1384
|
n = e[o];
|
|
1385
1385
|
let i;
|
|
1386
|
-
if (s = n, !Kc(n) && (s =
|
|
1386
|
+
if (s = n, !Kc(n) && (s = qn[(i = String(n)).toLowerCase()], s === void 0))
|
|
1387
1387
|
throw new G(`Unknown adapter '${i}'`);
|
|
1388
1388
|
if (s && (I.isFunction(s) || (s = s.get(t))))
|
|
1389
1389
|
break;
|
|
@@ -1403,7 +1403,7 @@ function Yc(e, t) {
|
|
|
1403
1403
|
}
|
|
1404
1404
|
return s;
|
|
1405
1405
|
}
|
|
1406
|
-
const
|
|
1406
|
+
const No = {
|
|
1407
1407
|
/**
|
|
1408
1408
|
* Resolve an adapter from a list of adapter names or functions.
|
|
1409
1409
|
* @type {Function}
|
|
@@ -1413,17 +1413,17 @@ const $o = {
|
|
|
1413
1413
|
* Exposes all known adapters
|
|
1414
1414
|
* @type {Object<string, Function|Object>}
|
|
1415
1415
|
*/
|
|
1416
|
-
adapters:
|
|
1416
|
+
adapters: qn
|
|
1417
1417
|
};
|
|
1418
1418
|
function en(e) {
|
|
1419
1419
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
1420
|
-
throw new
|
|
1420
|
+
throw new Nt(null, e);
|
|
1421
1421
|
}
|
|
1422
1422
|
function fs(e) {
|
|
1423
1423
|
return en(e), e.headers = Re.from(e.headers), e.data = Zr.call(
|
|
1424
1424
|
e,
|
|
1425
1425
|
e.transformRequest
|
|
1426
|
-
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1),
|
|
1426
|
+
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), No.getAdapter(e.adapter || $t.adapter, e)(e).then(function(n) {
|
|
1427
1427
|
return en(e), n.data = Zr.call(
|
|
1428
1428
|
e,
|
|
1429
1429
|
e.transformResponse,
|
|
@@ -1437,14 +1437,14 @@ function fs(e) {
|
|
|
1437
1437
|
), n.response.headers = Re.from(n.response.headers))), Promise.reject(n);
|
|
1438
1438
|
});
|
|
1439
1439
|
}
|
|
1440
|
-
const Io = "1.13.5",
|
|
1440
|
+
const Io = "1.13.5", qr = {};
|
|
1441
1441
|
["object", "boolean", "number", "function", "string", "symbol"].forEach((e, t) => {
|
|
1442
|
-
|
|
1442
|
+
qr[e] = function(n) {
|
|
1443
1443
|
return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
|
|
1444
1444
|
};
|
|
1445
1445
|
});
|
|
1446
1446
|
const ps = {};
|
|
1447
|
-
|
|
1447
|
+
qr.transitional = function(t, r, n) {
|
|
1448
1448
|
function s(a, o) {
|
|
1449
1449
|
return "[Axios v" + Io + "] Transitional option '" + a + "'" + o + (n ? ". " + n : "");
|
|
1450
1450
|
}
|
|
@@ -1462,7 +1462,7 @@ Ur.transitional = function(t, r, n) {
|
|
|
1462
1462
|
)), t ? t(a, o, i) : !0;
|
|
1463
1463
|
};
|
|
1464
1464
|
};
|
|
1465
|
-
|
|
1465
|
+
qr.spelling = function(t) {
|
|
1466
1466
|
return (r, n) => (console.warn(`${n} is likely a misspelling of ${t}`), !0);
|
|
1467
1467
|
};
|
|
1468
1468
|
function Jc(e, t, r) {
|
|
@@ -1484,7 +1484,7 @@ function Jc(e, t, r) {
|
|
|
1484
1484
|
}
|
|
1485
1485
|
const Sr = {
|
|
1486
1486
|
assertOptions: Jc,
|
|
1487
|
-
validators:
|
|
1487
|
+
validators: qr
|
|
1488
1488
|
}, Oe = Sr.validators;
|
|
1489
1489
|
let Ke = class {
|
|
1490
1490
|
constructor(t) {
|
|
@@ -1639,7 +1639,7 @@ let Xc = class Do {
|
|
|
1639
1639
|
n.unsubscribe(a);
|
|
1640
1640
|
}, o;
|
|
1641
1641
|
}, t(function(a, o, i) {
|
|
1642
|
-
n.reason || (n.reason = new
|
|
1642
|
+
n.reason || (n.reason = new Nt(a, o, i), r(n.reason));
|
|
1643
1643
|
});
|
|
1644
1644
|
}
|
|
1645
1645
|
/**
|
|
@@ -1776,9 +1776,9 @@ function Co(e) {
|
|
|
1776
1776
|
return Co(Ye(e, s));
|
|
1777
1777
|
}, r;
|
|
1778
1778
|
}
|
|
1779
|
-
const ue = Co(
|
|
1779
|
+
const ue = Co($t);
|
|
1780
1780
|
ue.Axios = Ke;
|
|
1781
|
-
ue.CanceledError =
|
|
1781
|
+
ue.CanceledError = Nt;
|
|
1782
1782
|
ue.CancelToken = Xc;
|
|
1783
1783
|
ue.isCancel = To;
|
|
1784
1784
|
ue.VERSION = Io;
|
|
@@ -1793,26 +1793,26 @@ ue.isAxiosError = Zc;
|
|
|
1793
1793
|
ue.mergeConfig = Ye;
|
|
1794
1794
|
ue.AxiosHeaders = Re;
|
|
1795
1795
|
ue.formToJSON = (e) => Ro(I.isHTMLForm(e) ? new FormData(e) : e);
|
|
1796
|
-
ue.getAdapter =
|
|
1796
|
+
ue.getAdapter = No.getAdapter;
|
|
1797
1797
|
ue.HttpStatusCode = On;
|
|
1798
1798
|
ue.default = ue;
|
|
1799
1799
|
const {
|
|
1800
|
-
Axios:
|
|
1801
|
-
AxiosError:
|
|
1802
|
-
CanceledError:
|
|
1803
|
-
isCancel:
|
|
1804
|
-
CancelToken:
|
|
1805
|
-
VERSION:
|
|
1806
|
-
all:
|
|
1807
|
-
Cancel:
|
|
1808
|
-
isAxiosError:
|
|
1809
|
-
spread:
|
|
1810
|
-
toFormData:
|
|
1811
|
-
AxiosHeaders:
|
|
1812
|
-
HttpStatusCode:
|
|
1813
|
-
formToJSON:
|
|
1814
|
-
getAdapter:
|
|
1815
|
-
mergeConfig:
|
|
1800
|
+
Axios: Hy,
|
|
1801
|
+
AxiosError: By,
|
|
1802
|
+
CanceledError: Wy,
|
|
1803
|
+
isCancel: zy,
|
|
1804
|
+
CancelToken: Gy,
|
|
1805
|
+
VERSION: Ky,
|
|
1806
|
+
all: Yy,
|
|
1807
|
+
Cancel: Jy,
|
|
1808
|
+
isAxiosError: Xy,
|
|
1809
|
+
spread: Qy,
|
|
1810
|
+
toFormData: Zy,
|
|
1811
|
+
AxiosHeaders: ev,
|
|
1812
|
+
HttpStatusCode: tv,
|
|
1813
|
+
formToJSON: rv,
|
|
1814
|
+
getAdapter: nv,
|
|
1815
|
+
mergeConfig: sv
|
|
1816
1816
|
} = ue, eu = (e) => typeof e == "object" && e !== null && "resourceType" in e && e.resourceType === "OperationOutcome", tu = (e) => {
|
|
1817
1817
|
if (!e.issue || !Array.isArray(e.issue))
|
|
1818
1818
|
return null;
|
|
@@ -1874,7 +1874,7 @@ var it = function() {
|
|
|
1874
1874
|
return e;
|
|
1875
1875
|
}, it.apply(this, arguments);
|
|
1876
1876
|
}, nu = "~", su = "~~";
|
|
1877
|
-
function
|
|
1877
|
+
function Un(e, t) {
|
|
1878
1878
|
for (var r = {}, n = {}, s = e.split(su), a = !1, o = 0; s.length > o; o++) {
|
|
1879
1879
|
for (var i = s[o].split(nu), c = 0; c < i.length; c += 2) {
|
|
1880
1880
|
var l = i[c], d = i[c + 1], m = "&" + l + ";";
|
|
@@ -1889,9 +1889,9 @@ var tn = {
|
|
|
1889
1889
|
html4: /∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,
|
|
1890
1890
|
html5: /·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g
|
|
1891
1891
|
}, lt = {};
|
|
1892
|
-
lt.xml =
|
|
1893
|
-
lt.html4 =
|
|
1894
|
-
lt.html5 = qn('Abreve~Ă~Acy~А~Afr~𝔄~Amacr~Ā~And~⩓~Aogon~Ą~Aopf~𝔸~ApplyFunction~~Ascr~𝒜~Assign~≔~Backslash~∖~Barv~⫧~Barwed~⌆~Bcy~Б~Because~∵~Bernoullis~ℬ~Bfr~𝔅~Bopf~𝔹~Breve~˘~Bscr~ℬ~Bumpeq~≎~CHcy~Ч~Cacute~Ć~Cap~⋒~CapitalDifferentialD~ⅅ~Cayleys~ℭ~Ccaron~Č~Ccirc~Ĉ~Cconint~∰~Cdot~Ċ~Cedilla~¸~CenterDot~·~Cfr~ℭ~CircleDot~⊙~CircleMinus~⊖~CirclePlus~⊕~CircleTimes~⊗~ClockwiseContourIntegral~∲~CloseCurlyDoubleQuote~”~CloseCurlyQuote~’~Colon~∷~Colone~⩴~Congruent~≡~Conint~∯~ContourIntegral~∮~Copf~ℂ~Coproduct~∐~CounterClockwiseContourIntegral~∳~Cross~⨯~Cscr~𝒞~Cup~⋓~CupCap~≍~DD~ⅅ~DDotrahd~⤑~DJcy~Ђ~DScy~Ѕ~DZcy~Џ~Darr~↡~Dashv~⫤~Dcaron~Ď~Dcy~Д~Del~∇~Dfr~𝔇~DiacriticalAcute~´~DiacriticalDot~˙~DiacriticalDoubleAcute~˝~DiacriticalGrave~`~DiacriticalTilde~˜~Diamond~⋄~DifferentialD~ⅆ~Dopf~𝔻~Dot~¨~DotDot~⃜~DotEqual~≐~DoubleContourIntegral~∯~DoubleDot~¨~DoubleDownArrow~⇓~DoubleLeftArrow~⇐~DoubleLeftRightArrow~⇔~DoubleLeftTee~⫤~DoubleLongLeftArrow~⟸~DoubleLongLeftRightArrow~⟺~DoubleLongRightArrow~⟹~DoubleRightArrow~⇒~DoubleRightTee~⊨~DoubleUpArrow~⇑~DoubleUpDownArrow~⇕~DoubleVerticalBar~∥~DownArrow~↓~DownArrowBar~⤓~DownArrowUpArrow~⇵~DownBreve~̑~DownLeftRightVector~⥐~DownLeftTeeVector~⥞~DownLeftVector~↽~DownLeftVectorBar~⥖~DownRightTeeVector~⥟~DownRightVector~⇁~DownRightVectorBar~⥗~DownTee~⊤~DownTeeArrow~↧~Downarrow~⇓~Dscr~𝒟~Dstrok~Đ~ENG~Ŋ~Ecaron~Ě~Ecy~Э~Edot~Ė~Efr~𝔈~Element~∈~Emacr~Ē~EmptySmallSquare~◻~EmptyVerySmallSquare~▫~Eogon~Ę~Eopf~𝔼~Equal~⩵~EqualTilde~≂~Equilibrium~⇌~Escr~ℰ~Esim~⩳~Exists~∃~ExponentialE~ⅇ~Fcy~Ф~Ffr~𝔉~FilledSmallSquare~◼~FilledVerySmallSquare~▪~Fopf~𝔽~ForAll~∀~Fouriertrf~ℱ~Fscr~ℱ~GJcy~Ѓ~Gammad~Ϝ~Gbreve~Ğ~Gcedil~Ģ~Gcirc~Ĝ~Gcy~Г~Gdot~Ġ~Gfr~𝔊~Gg~⋙~Gopf~𝔾~GreaterEqual~≥~GreaterEqualLess~⋛~GreaterFullEqual~≧~GreaterGreater~⪢~GreaterLess~≷~GreaterSlantEqual~⩾~GreaterTilde~≳~Gscr~𝒢~Gt~≫~HARDcy~Ъ~Hacek~ˇ~Hat~^~Hcirc~Ĥ~Hfr~ℌ~HilbertSpace~ℋ~Hopf~ℍ~HorizontalLine~─~Hscr~ℋ~Hstrok~Ħ~HumpDownHump~≎~HumpEqual~≏~IEcy~Е~IJlig~IJ~IOcy~Ё~Icy~И~Idot~İ~Ifr~ℑ~Im~ℑ~Imacr~Ī~ImaginaryI~ⅈ~Implies~⇒~Int~∬~Integral~∫~Intersection~⋂~InvisibleComma~~InvisibleTimes~~Iogon~Į~Iopf~𝕀~Iscr~ℐ~Itilde~Ĩ~Iukcy~І~Jcirc~Ĵ~Jcy~Й~Jfr~𝔍~Jopf~𝕁~Jscr~𝒥~Jsercy~Ј~Jukcy~Є~KHcy~Х~KJcy~Ќ~Kcedil~Ķ~Kcy~К~Kfr~𝔎~Kopf~𝕂~Kscr~𝒦~LJcy~Љ~Lacute~Ĺ~Lang~⟪~Laplacetrf~ℒ~Larr~↞~Lcaron~Ľ~Lcedil~Ļ~Lcy~Л~LeftAngleBracket~⟨~LeftArrow~←~LeftArrowBar~⇤~LeftArrowRightArrow~⇆~LeftCeiling~⌈~LeftDoubleBracket~⟦~LeftDownTeeVector~⥡~LeftDownVector~⇃~LeftDownVectorBar~⥙~LeftFloor~⌊~LeftRightArrow~↔~LeftRightVector~⥎~LeftTee~⊣~LeftTeeArrow~↤~LeftTeeVector~⥚~LeftTriangle~⊲~LeftTriangleBar~⧏~LeftTriangleEqual~⊴~LeftUpDownVector~⥑~LeftUpTeeVector~⥠~LeftUpVector~↿~LeftUpVectorBar~⥘~LeftVector~↼~LeftVectorBar~⥒~Leftarrow~⇐~Leftrightarrow~⇔~LessEqualGreater~⋚~LessFullEqual~≦~LessGreater~≶~LessLess~⪡~LessSlantEqual~⩽~LessTilde~≲~Lfr~𝔏~Ll~⋘~Lleftarrow~⇚~Lmidot~Ŀ~LongLeftArrow~⟵~LongLeftRightArrow~⟷~LongRightArrow~⟶~Longleftarrow~⟸~Longleftrightarrow~⟺~Longrightarrow~⟹~Lopf~𝕃~LowerLeftArrow~↙~LowerRightArrow~↘~Lscr~ℒ~Lsh~↰~Lstrok~Ł~Lt~≪~Map~⤅~Mcy~М~MediumSpace~ ~Mellintrf~ℳ~Mfr~𝔐~MinusPlus~∓~Mopf~𝕄~Mscr~ℳ~NJcy~Њ~Nacute~Ń~Ncaron~Ň~Ncedil~Ņ~Ncy~Н~NegativeMediumSpace~~NegativeThickSpace~~NegativeThinSpace~~NegativeVeryThinSpace~~NestedGreaterGreater~≫~NestedLessLess~≪~NewLine~\n~Nfr~𝔑~NoBreak~~NonBreakingSpace~ ~Nopf~ℕ~Not~⫬~NotCongruent~≢~NotCupCap~≭~NotDoubleVerticalBar~∦~NotElement~∉~NotEqual~≠~NotEqualTilde~≂̸~NotExists~∄~NotGreater~≯~NotGreaterEqual~≱~NotGreaterFullEqual~≧̸~NotGreaterGreater~≫̸~NotGreaterLess~≹~NotGreaterSlantEqual~⩾̸~NotGreaterTilde~≵~NotHumpDownHump~≎̸~NotHumpEqual~≏̸~NotLeftTriangle~⋪~NotLeftTriangleBar~⧏̸~NotLeftTriangleEqual~⋬~NotLess~≮~NotLessEqual~≰~NotLessGreater~≸~NotLessLess~≪̸~NotLessSlantEqual~⩽̸~NotLessTilde~≴~NotNestedGreaterGreater~⪢̸~NotNestedLessLess~⪡̸~NotPrecedes~⊀~NotPrecedesEqual~⪯̸~NotPrecedesSlantEqual~⋠~NotReverseElement~∌~NotRightTriangle~⋫~NotRightTriangleBar~⧐̸~NotRightTriangleEqual~⋭~NotSquareSubset~⊏̸~NotSquareSubsetEqual~⋢~NotSquareSuperset~⊐̸~NotSquareSupersetEqual~⋣~NotSubset~⊂⃒~NotSubsetEqual~⊈~NotSucceeds~⊁~NotSucceedsEqual~⪰̸~NotSucceedsSlantEqual~⋡~NotSucceedsTilde~≿̸~NotSuperset~⊃⃒~NotSupersetEqual~⊉~NotTilde~≁~NotTildeEqual~≄~NotTildeFullEqual~≇~NotTildeTilde~≉~NotVerticalBar~∤~Nscr~𝒩~Ocy~О~Odblac~Ő~Ofr~𝔒~Omacr~Ō~Oopf~𝕆~OpenCurlyDoubleQuote~“~OpenCurlyQuote~‘~Or~⩔~Oscr~𝒪~Otimes~⨷~OverBar~‾~OverBrace~⏞~OverBracket~⎴~OverParenthesis~⏜~PartialD~∂~Pcy~П~Pfr~𝔓~PlusMinus~±~Poincareplane~ℌ~Popf~ℙ~Pr~⪻~Precedes~≺~PrecedesEqual~⪯~PrecedesSlantEqual~≼~PrecedesTilde~≾~Product~∏~Proportion~∷~Proportional~∝~Pscr~𝒫~Qfr~𝔔~Qopf~ℚ~Qscr~𝒬~RBarr~⤐~Racute~Ŕ~Rang~⟫~Rarr~↠~Rarrtl~⤖~Rcaron~Ř~Rcedil~Ŗ~Rcy~Р~Re~ℜ~ReverseElement~∋~ReverseEquilibrium~⇋~ReverseUpEquilibrium~⥯~Rfr~ℜ~RightAngleBracket~⟩~RightArrow~→~RightArrowBar~⇥~RightArrowLeftArrow~⇄~RightCeiling~⌉~RightDoubleBracket~⟧~RightDownTeeVector~⥝~RightDownVector~⇂~RightDownVectorBar~⥕~RightFloor~⌋~RightTee~⊢~RightTeeArrow~↦~RightTeeVector~⥛~RightTriangle~⊳~RightTriangleBar~⧐~RightTriangleEqual~⊵~RightUpDownVector~⥏~RightUpTeeVector~⥜~RightUpVector~↾~RightUpVectorBar~⥔~RightVector~⇀~RightVectorBar~⥓~Rightarrow~⇒~Ropf~ℝ~RoundImplies~⥰~Rrightarrow~⇛~Rscr~ℛ~Rsh~↱~RuleDelayed~⧴~SHCHcy~Щ~SHcy~Ш~SOFTcy~Ь~Sacute~Ś~Sc~⪼~Scedil~Ş~Scirc~Ŝ~Scy~С~Sfr~𝔖~ShortDownArrow~↓~ShortLeftArrow~←~ShortRightArrow~→~ShortUpArrow~↑~SmallCircle~∘~Sopf~𝕊~Sqrt~√~Square~□~SquareIntersection~⊓~SquareSubset~⊏~SquareSubsetEqual~⊑~SquareSuperset~⊐~SquareSupersetEqual~⊒~SquareUnion~⊔~Sscr~𝒮~Star~⋆~Sub~⋐~Subset~⋐~SubsetEqual~⊆~Succeeds~≻~SucceedsEqual~⪰~SucceedsSlantEqual~≽~SucceedsTilde~≿~SuchThat~∋~Sum~∑~Sup~⋑~Superset~⊃~SupersetEqual~⊇~Supset~⋑~TRADE~™~TSHcy~Ћ~TScy~Ц~Tab~ ~Tcaron~Ť~Tcedil~Ţ~Tcy~Т~Tfr~𝔗~Therefore~∴~ThickSpace~ ~ThinSpace~ ~Tilde~∼~TildeEqual~≃~TildeFullEqual~≅~TildeTilde~≈~Topf~𝕋~TripleDot~⃛~Tscr~𝒯~Tstrok~Ŧ~Uarr~↟~Uarrocir~⥉~Ubrcy~Ў~Ubreve~Ŭ~Ucy~У~Udblac~Ű~Ufr~𝔘~Umacr~Ū~UnderBar~_~UnderBrace~⏟~UnderBracket~⎵~UnderParenthesis~⏝~Union~⋃~UnionPlus~⊎~Uogon~Ų~Uopf~𝕌~UpArrow~↑~UpArrowBar~⤒~UpArrowDownArrow~⇅~UpDownArrow~↕~UpEquilibrium~⥮~UpTee~⊥~UpTeeArrow~↥~Uparrow~⇑~Updownarrow~⇕~UpperLeftArrow~↖~UpperRightArrow~↗~Upsi~ϒ~Uring~Ů~Uscr~𝒰~Utilde~Ũ~VDash~⊫~Vbar~⫫~Vcy~В~Vdash~⊩~Vdashl~⫦~Vee~⋁~Verbar~‖~Vert~‖~VerticalBar~∣~VerticalLine~|~VerticalSeparator~❘~VerticalTilde~≀~VeryThinSpace~ ~Vfr~𝔙~Vopf~𝕍~Vscr~𝒱~Vvdash~⊪~Wcirc~Ŵ~Wedge~⋀~Wfr~𝔚~Wopf~𝕎~Wscr~𝒲~Xfr~𝔛~Xopf~𝕏~Xscr~𝒳~YAcy~Я~YIcy~Ї~YUcy~Ю~Ycirc~Ŷ~Ycy~Ы~Yfr~𝔜~Yopf~𝕐~Yscr~𝒴~ZHcy~Ж~Zacute~Ź~Zcaron~Ž~Zcy~З~Zdot~Ż~ZeroWidthSpace~~Zfr~ℨ~Zopf~ℤ~Zscr~𝒵~abreve~ă~ac~∾~acE~∾̳~acd~∿~acy~а~af~~afr~𝔞~aleph~ℵ~amacr~ā~amalg~⨿~andand~⩕~andd~⩜~andslope~⩘~andv~⩚~ange~⦤~angle~∠~angmsd~∡~angmsdaa~⦨~angmsdab~⦩~angmsdac~⦪~angmsdad~⦫~angmsdae~⦬~angmsdaf~⦭~angmsdag~⦮~angmsdah~⦯~angrt~∟~angrtvb~⊾~angrtvbd~⦝~angsph~∢~angst~Å~angzarr~⍼~aogon~ą~aopf~𝕒~ap~≈~apE~⩰~apacir~⩯~ape~≊~apid~≋~approx~≈~approxeq~≊~ascr~𝒶~ast~*~asympeq~≍~awconint~∳~awint~⨑~bNot~⫭~backcong~≌~backepsilon~϶~backprime~‵~backsim~∽~backsimeq~⋍~barvee~⊽~barwed~⌅~barwedge~⌅~bbrk~⎵~bbrktbrk~⎶~bcong~≌~bcy~б~becaus~∵~because~∵~bemptyv~⦰~bepsi~϶~bernou~ℬ~beth~ℶ~between~≬~bfr~𝔟~bigcap~⋂~bigcirc~◯~bigcup~⋃~bigodot~⨀~bigoplus~⨁~bigotimes~⨂~bigsqcup~⨆~bigstar~★~bigtriangledown~▽~bigtriangleup~△~biguplus~⨄~bigvee~⋁~bigwedge~⋀~bkarow~⤍~blacklozenge~⧫~blacksquare~▪~blacktriangle~▴~blacktriangledown~▾~blacktriangleleft~◂~blacktriangleright~▸~blank~␣~blk12~▒~blk14~░~blk34~▓~block~█~bne~=⃥~bnequiv~≡⃥~bnot~⌐~bopf~𝕓~bot~⊥~bottom~⊥~bowtie~⋈~boxDL~╗~boxDR~╔~boxDl~╖~boxDr~╓~boxH~═~boxHD~╦~boxHU~╩~boxHd~╤~boxHu~╧~boxUL~╝~boxUR~╚~boxUl~╜~boxUr~╙~boxV~║~boxVH~╬~boxVL~╣~boxVR~╠~boxVh~╫~boxVl~╢~boxVr~╟~boxbox~⧉~boxdL~╕~boxdR~╒~boxdl~┐~boxdr~┌~boxh~─~boxhD~╥~boxhU~╨~boxhd~┬~boxhu~┴~boxminus~⊟~boxplus~⊞~boxtimes~⊠~boxuL~╛~boxuR~╘~boxul~┘~boxur~└~boxv~│~boxvH~╪~boxvL~╡~boxvR~╞~boxvh~┼~boxvl~┤~boxvr~├~bprime~‵~breve~˘~bscr~𝒷~bsemi~⁏~bsim~∽~bsime~⋍~bsol~\\~bsolb~⧅~bsolhsub~⟈~bullet~•~bump~≎~bumpE~⪮~bumpe~≏~bumpeq~≏~cacute~ć~capand~⩄~capbrcup~⩉~capcap~⩋~capcup~⩇~capdot~⩀~caps~∩︀~caret~⁁~caron~ˇ~ccaps~⩍~ccaron~č~ccirc~ĉ~ccups~⩌~ccupssm~⩐~cdot~ċ~cemptyv~⦲~centerdot~·~cfr~𝔠~chcy~ч~check~✓~checkmark~✓~cir~○~cirE~⧃~circeq~≗~circlearrowleft~↺~circlearrowright~↻~circledR~®~circledS~Ⓢ~circledast~⊛~circledcirc~⊚~circleddash~⊝~cire~≗~cirfnint~⨐~cirmid~⫯~cirscir~⧂~clubsuit~♣~colon~:~colone~≔~coloneq~≔~comma~,~commat~@~comp~∁~compfn~∘~complement~∁~complexes~ℂ~congdot~⩭~conint~∮~copf~𝕔~coprod~∐~copysr~℗~cross~✗~cscr~𝒸~csub~⫏~csube~⫑~csup~⫐~csupe~⫒~ctdot~⋯~cudarrl~⤸~cudarrr~⤵~cuepr~⋞~cuesc~⋟~cularr~↶~cularrp~⤽~cupbrcap~⩈~cupcap~⩆~cupcup~⩊~cupdot~⊍~cupor~⩅~cups~∪︀~curarr~↷~curarrm~⤼~curlyeqprec~⋞~curlyeqsucc~⋟~curlyvee~⋎~curlywedge~⋏~curvearrowleft~↶~curvearrowright~↷~cuvee~⋎~cuwed~⋏~cwconint~∲~cwint~∱~cylcty~⌭~dHar~⥥~daleth~ℸ~dash~‐~dashv~⊣~dbkarow~⤏~dblac~˝~dcaron~ď~dcy~д~dd~ⅆ~ddagger~‡~ddarr~⇊~ddotseq~⩷~demptyv~⦱~dfisht~⥿~dfr~𝔡~dharl~⇃~dharr~⇂~diam~⋄~diamond~⋄~diamondsuit~♦~die~¨~digamma~ϝ~disin~⋲~div~÷~divideontimes~⋇~divonx~⋇~djcy~ђ~dlcorn~⌞~dlcrop~⌍~dollar~$~dopf~𝕕~dot~˙~doteq~≐~doteqdot~≑~dotminus~∸~dotplus~∔~dotsquare~⊡~doublebarwedge~⌆~downarrow~↓~downdownarrows~⇊~downharpoonleft~⇃~downharpoonright~⇂~drbkarow~⤐~drcorn~⌟~drcrop~⌌~dscr~𝒹~dscy~ѕ~dsol~⧶~dstrok~đ~dtdot~⋱~dtri~▿~dtrif~▾~duarr~⇵~duhar~⥯~dwangle~⦦~dzcy~џ~dzigrarr~⟿~eDDot~⩷~eDot~≑~easter~⩮~ecaron~ě~ecir~≖~ecolon~≕~ecy~э~edot~ė~ee~ⅇ~efDot~≒~efr~𝔢~eg~⪚~egs~⪖~egsdot~⪘~el~⪙~elinters~⏧~ell~ℓ~els~⪕~elsdot~⪗~emacr~ē~emptyset~∅~emptyv~∅~emsp13~ ~emsp14~ ~eng~ŋ~eogon~ę~eopf~𝕖~epar~⋕~eparsl~⧣~eplus~⩱~epsi~ε~epsiv~ϵ~eqcirc~≖~eqcolon~≕~eqsim~≂~eqslantgtr~⪖~eqslantless~⪕~equals~=~equest~≟~equivDD~⩸~eqvparsl~⧥~erDot~≓~erarr~⥱~escr~ℯ~esdot~≐~esim~≂~excl~!~expectation~ℰ~exponentiale~ⅇ~fallingdotseq~≒~fcy~ф~female~♀~ffilig~ffi~fflig~ff~ffllig~ffl~ffr~𝔣~filig~fi~fjlig~fj~flat~♭~fllig~fl~fltns~▱~fopf~𝕗~fork~⋔~forkv~⫙~fpartint~⨍~frac13~⅓~frac15~⅕~frac16~⅙~frac18~⅛~frac23~⅔~frac25~⅖~frac35~⅗~frac38~⅜~frac45~⅘~frac56~⅚~frac58~⅝~frac78~⅞~frown~⌢~fscr~𝒻~gE~≧~gEl~⪌~gacute~ǵ~gammad~ϝ~gap~⪆~gbreve~ğ~gcirc~ĝ~gcy~г~gdot~ġ~gel~⋛~geq~≥~geqq~≧~geqslant~⩾~ges~⩾~gescc~⪩~gesdot~⪀~gesdoto~⪂~gesdotol~⪄~gesl~⋛︀~gesles~⪔~gfr~𝔤~gg~≫~ggg~⋙~gimel~ℷ~gjcy~ѓ~gl~≷~glE~⪒~gla~⪥~glj~⪤~gnE~≩~gnap~⪊~gnapprox~⪊~gne~⪈~gneq~⪈~gneqq~≩~gnsim~⋧~gopf~𝕘~grave~`~gscr~ℊ~gsim~≳~gsime~⪎~gsiml~⪐~gtcc~⪧~gtcir~⩺~gtdot~⋗~gtlPar~⦕~gtquest~⩼~gtrapprox~⪆~gtrarr~⥸~gtrdot~⋗~gtreqless~⋛~gtreqqless~⪌~gtrless~≷~gtrsim~≳~gvertneqq~≩︀~gvnE~≩︀~hairsp~ ~half~½~hamilt~ℋ~hardcy~ъ~harrcir~⥈~harrw~↭~hbar~ℏ~hcirc~ĥ~heartsuit~♥~hercon~⊹~hfr~𝔥~hksearow~⤥~hkswarow~⤦~hoarr~⇿~homtht~∻~hookleftarrow~↩~hookrightarrow~↪~hopf~𝕙~horbar~―~hscr~𝒽~hslash~ℏ~hstrok~ħ~hybull~⁃~hyphen~‐~ic~~icy~и~iecy~е~iff~⇔~ifr~𝔦~ii~ⅈ~iiiint~⨌~iiint~∭~iinfin~⧜~iiota~℩~ijlig~ij~imacr~ī~imagline~ℐ~imagpart~ℑ~imath~ı~imof~⊷~imped~Ƶ~in~∈~incare~℅~infintie~⧝~inodot~ı~intcal~⊺~integers~ℤ~intercal~⊺~intlarhk~⨗~intprod~⨼~iocy~ё~iogon~į~iopf~𝕚~iprod~⨼~iscr~𝒾~isinE~⋹~isindot~⋵~isins~⋴~isinsv~⋳~isinv~∈~it~~itilde~ĩ~iukcy~і~jcirc~ĵ~jcy~й~jfr~𝔧~jmath~ȷ~jopf~𝕛~jscr~𝒿~jsercy~ј~jukcy~є~kappav~ϰ~kcedil~ķ~kcy~к~kfr~𝔨~kgreen~ĸ~khcy~х~kjcy~ќ~kopf~𝕜~kscr~𝓀~lAarr~⇚~lAtail~⤛~lBarr~⤎~lE~≦~lEg~⪋~lHar~⥢~lacute~ĺ~laemptyv~⦴~lagran~ℒ~langd~⦑~langle~⟨~lap~⪅~larrb~⇤~larrbfs~⤟~larrfs~⤝~larrhk~↩~larrlp~↫~larrpl~⤹~larrsim~⥳~larrtl~↢~lat~⪫~latail~⤙~late~⪭~lates~⪭︀~lbarr~⤌~lbbrk~❲~lbrace~{~lbrack~[~lbrke~⦋~lbrksld~⦏~lbrkslu~⦍~lcaron~ľ~lcedil~ļ~lcub~{~lcy~л~ldca~⤶~ldquor~„~ldrdhar~⥧~ldrushar~⥋~ldsh~↲~leftarrow~←~leftarrowtail~↢~leftharpoondown~↽~leftharpoonup~↼~leftleftarrows~⇇~leftrightarrow~↔~leftrightarrows~⇆~leftrightharpoons~⇋~leftrightsquigarrow~↭~leftthreetimes~⋋~leg~⋚~leq~≤~leqq~≦~leqslant~⩽~les~⩽~lescc~⪨~lesdot~⩿~lesdoto~⪁~lesdotor~⪃~lesg~⋚︀~lesges~⪓~lessapprox~⪅~lessdot~⋖~lesseqgtr~⋚~lesseqqgtr~⪋~lessgtr~≶~lesssim~≲~lfisht~⥼~lfr~𝔩~lg~≶~lgE~⪑~lhard~↽~lharu~↼~lharul~⥪~lhblk~▄~ljcy~љ~ll~≪~llarr~⇇~llcorner~⌞~llhard~⥫~lltri~◺~lmidot~ŀ~lmoust~⎰~lmoustache~⎰~lnE~≨~lnap~⪉~lnapprox~⪉~lne~⪇~lneq~⪇~lneqq~≨~lnsim~⋦~loang~⟬~loarr~⇽~lobrk~⟦~longleftarrow~⟵~longleftrightarrow~⟷~longmapsto~⟼~longrightarrow~⟶~looparrowleft~↫~looparrowright~↬~lopar~⦅~lopf~𝕝~loplus~⨭~lotimes~⨴~lowbar~_~lozenge~◊~lozf~⧫~lpar~(~lparlt~⦓~lrarr~⇆~lrcorner~⌟~lrhar~⇋~lrhard~⥭~lrtri~⊿~lscr~𝓁~lsh~↰~lsim~≲~lsime~⪍~lsimg~⪏~lsqb~[~lsquor~‚~lstrok~ł~ltcc~⪦~ltcir~⩹~ltdot~⋖~lthree~⋋~ltimes~⋉~ltlarr~⥶~ltquest~⩻~ltrPar~⦖~ltri~◃~ltrie~⊴~ltrif~◂~lurdshar~⥊~luruhar~⥦~lvertneqq~≨︀~lvnE~≨︀~mDDot~∺~male~♂~malt~✠~maltese~✠~map~↦~mapsto~↦~mapstodown~↧~mapstoleft~↤~mapstoup~↥~marker~▮~mcomma~⨩~mcy~м~measuredangle~∡~mfr~𝔪~mho~℧~mid~∣~midast~*~midcir~⫰~minusb~⊟~minusd~∸~minusdu~⨪~mlcp~⫛~mldr~…~mnplus~∓~models~⊧~mopf~𝕞~mp~∓~mscr~𝓂~mstpos~∾~multimap~⊸~mumap~⊸~nGg~⋙̸~nGt~≫⃒~nGtv~≫̸~nLeftarrow~⇍~nLeftrightarrow~⇎~nLl~⋘̸~nLt~≪⃒~nLtv~≪̸~nRightarrow~⇏~nVDash~⊯~nVdash~⊮~nacute~ń~nang~∠⃒~nap~≉~napE~⩰̸~napid~≋̸~napos~ʼn~napprox~≉~natur~♮~natural~♮~naturals~ℕ~nbump~≎̸~nbumpe~≏̸~ncap~⩃~ncaron~ň~ncedil~ņ~ncong~≇~ncongdot~⩭̸~ncup~⩂~ncy~н~neArr~⇗~nearhk~⤤~nearr~↗~nearrow~↗~nedot~≐̸~nequiv~≢~nesear~⤨~nesim~≂̸~nexist~∄~nexists~∄~nfr~𝔫~ngE~≧̸~nge~≱~ngeq~≱~ngeqq~≧̸~ngeqslant~⩾̸~nges~⩾̸~ngsim~≵~ngt~≯~ngtr~≯~nhArr~⇎~nharr~↮~nhpar~⫲~nis~⋼~nisd~⋺~niv~∋~njcy~њ~nlArr~⇍~nlE~≦̸~nlarr~↚~nldr~‥~nle~≰~nleftarrow~↚~nleftrightarrow~↮~nleq~≰~nleqq~≦̸~nleqslant~⩽̸~nles~⩽̸~nless~≮~nlsim~≴~nlt~≮~nltri~⋪~nltrie~⋬~nmid~∤~nopf~𝕟~notinE~⋹̸~notindot~⋵̸~notinva~∉~notinvb~⋷~notinvc~⋶~notni~∌~notniva~∌~notnivb~⋾~notnivc~⋽~npar~∦~nparallel~∦~nparsl~⫽⃥~npart~∂̸~npolint~⨔~npr~⊀~nprcue~⋠~npre~⪯̸~nprec~⊀~npreceq~⪯̸~nrArr~⇏~nrarr~↛~nrarrc~⤳̸~nrarrw~↝̸~nrightarrow~↛~nrtri~⋫~nrtrie~⋭~nsc~⊁~nsccue~⋡~nsce~⪰̸~nscr~𝓃~nshortmid~∤~nshortparallel~∦~nsim~≁~nsime~≄~nsimeq~≄~nsmid~∤~nspar~∦~nsqsube~⋢~nsqsupe~⋣~nsubE~⫅̸~nsube~⊈~nsubset~⊂⃒~nsubseteq~⊈~nsubseteqq~⫅̸~nsucc~⊁~nsucceq~⪰̸~nsup~⊅~nsupE~⫆̸~nsupe~⊉~nsupset~⊃⃒~nsupseteq~⊉~nsupseteqq~⫆̸~ntgl~≹~ntlg~≸~ntriangleleft~⋪~ntrianglelefteq~⋬~ntriangleright~⋫~ntrianglerighteq~⋭~num~#~numero~№~numsp~ ~nvDash~⊭~nvHarr~⤄~nvap~≍⃒~nvdash~⊬~nvge~≥⃒~nvgt~>⃒~nvinfin~⧞~nvlArr~⤂~nvle~≤⃒~nvlt~<⃒~nvltrie~⊴⃒~nvrArr~⤃~nvrtrie~⊵⃒~nvsim~∼⃒~nwArr~⇖~nwarhk~⤣~nwarr~↖~nwarrow~↖~nwnear~⤧~oS~Ⓢ~oast~⊛~ocir~⊚~ocy~о~odash~⊝~odblac~ő~odiv~⨸~odot~⊙~odsold~⦼~ofcir~⦿~ofr~𝔬~ogon~˛~ogt~⧁~ohbar~⦵~ohm~Ω~oint~∮~olarr~↺~olcir~⦾~olcross~⦻~olt~⧀~omacr~ō~omid~⦶~ominus~⊖~oopf~𝕠~opar~⦷~operp~⦹~orarr~↻~ord~⩝~order~ℴ~orderof~ℴ~origof~⊶~oror~⩖~orslope~⩗~orv~⩛~oscr~ℴ~osol~⊘~otimesas~⨶~ovbar~⌽~par~∥~parallel~∥~parsim~⫳~parsl~⫽~pcy~п~percnt~%~period~.~pertenk~‱~pfr~𝔭~phiv~ϕ~phmmat~ℳ~phone~☎~pitchfork~⋔~planck~ℏ~planckh~ℎ~plankv~ℏ~plus~+~plusacir~⨣~plusb~⊞~pluscir~⨢~plusdo~∔~plusdu~⨥~pluse~⩲~plussim~⨦~plustwo~⨧~pm~±~pointint~⨕~popf~𝕡~pr~≺~prE~⪳~prap~⪷~prcue~≼~pre~⪯~prec~≺~precapprox~⪷~preccurlyeq~≼~preceq~⪯~precnapprox~⪹~precneqq~⪵~precnsim~⋨~precsim~≾~primes~ℙ~prnE~⪵~prnap~⪹~prnsim~⋨~profalar~⌮~profline~⌒~profsurf~⌓~propto~∝~prsim~≾~prurel~⊰~pscr~𝓅~puncsp~ ~qfr~𝔮~qint~⨌~qopf~𝕢~qprime~⁗~qscr~𝓆~quaternions~ℍ~quatint~⨖~quest~?~questeq~≟~rAarr~⇛~rAtail~⤜~rBarr~⤏~rHar~⥤~race~∽̱~racute~ŕ~raemptyv~⦳~rangd~⦒~range~⦥~rangle~⟩~rarrap~⥵~rarrb~⇥~rarrbfs~⤠~rarrc~⤳~rarrfs~⤞~rarrhk~↪~rarrlp~↬~rarrpl~⥅~rarrsim~⥴~rarrtl~↣~rarrw~↝~ratail~⤚~ratio~∶~rationals~ℚ~rbarr~⤍~rbbrk~❳~rbrace~}~rbrack~]~rbrke~⦌~rbrksld~⦎~rbrkslu~⦐~rcaron~ř~rcedil~ŗ~rcub~}~rcy~р~rdca~⤷~rdldhar~⥩~rdquor~”~rdsh~↳~realine~ℛ~realpart~ℜ~reals~ℝ~rect~▭~rfisht~⥽~rfr~𝔯~rhard~⇁~rharu~⇀~rharul~⥬~rhov~ϱ~rightarrow~→~rightarrowtail~↣~rightharpoondown~⇁~rightharpoonup~⇀~rightleftarrows~⇄~rightleftharpoons~⇌~rightrightarrows~⇉~rightsquigarrow~↝~rightthreetimes~⋌~ring~˚~risingdotseq~≓~rlarr~⇄~rlhar~⇌~rmoust~⎱~rmoustache~⎱~rnmid~⫮~roang~⟭~roarr~⇾~robrk~⟧~ropar~⦆~ropf~𝕣~roplus~⨮~rotimes~⨵~rpar~)~rpargt~⦔~rppolint~⨒~rrarr~⇉~rscr~𝓇~rsh~↱~rsqb~]~rsquor~’~rthree~⋌~rtimes~⋊~rtri~▹~rtrie~⊵~rtrif~▸~rtriltri~⧎~ruluhar~⥨~rx~℞~sacute~ś~sc~≻~scE~⪴~scap~⪸~sccue~≽~sce~⪰~scedil~ş~scirc~ŝ~scnE~⪶~scnap~⪺~scnsim~⋩~scpolint~⨓~scsim~≿~scy~с~sdotb~⊡~sdote~⩦~seArr~⇘~searhk~⤥~searr~↘~searrow~↘~semi~;~seswar~⤩~setminus~∖~setmn~∖~sext~✶~sfr~𝔰~sfrown~⌢~sharp~♯~shchcy~щ~shcy~ш~shortmid~∣~shortparallel~∥~sigmav~ς~simdot~⩪~sime~≃~simeq~≃~simg~⪞~simgE~⪠~siml~⪝~simlE~⪟~simne~≆~simplus~⨤~simrarr~⥲~slarr~←~smallsetminus~∖~smashp~⨳~smeparsl~⧤~smid~∣~smile~⌣~smt~⪪~smte~⪬~smtes~⪬︀~softcy~ь~sol~/~solb~⧄~solbar~⌿~sopf~𝕤~spadesuit~♠~spar~∥~sqcap~⊓~sqcaps~⊓︀~sqcup~⊔~sqcups~⊔︀~sqsub~⊏~sqsube~⊑~sqsubset~⊏~sqsubseteq~⊑~sqsup~⊐~sqsupe~⊒~sqsupset~⊐~sqsupseteq~⊒~squ~□~square~□~squarf~▪~squf~▪~srarr~→~sscr~𝓈~ssetmn~∖~ssmile~⌣~sstarf~⋆~star~☆~starf~★~straightepsilon~ϵ~straightphi~ϕ~strns~¯~subE~⫅~subdot~⪽~subedot~⫃~submult~⫁~subnE~⫋~subne~⊊~subplus~⪿~subrarr~⥹~subset~⊂~subseteq~⊆~subseteqq~⫅~subsetneq~⊊~subsetneqq~⫋~subsim~⫇~subsub~⫕~subsup~⫓~succ~≻~succapprox~⪸~succcurlyeq~≽~succeq~⪰~succnapprox~⪺~succneqq~⪶~succnsim~⋩~succsim~≿~sung~♪~supE~⫆~supdot~⪾~supdsub~⫘~supedot~⫄~suphsol~⟉~suphsub~⫗~suplarr~⥻~supmult~⫂~supnE~⫌~supne~⊋~supplus~⫀~supset~⊃~supseteq~⊇~supseteqq~⫆~supsetneq~⊋~supsetneqq~⫌~supsim~⫈~supsub~⫔~supsup~⫖~swArr~⇙~swarhk~⤦~swarr~↙~swarrow~↙~swnwar~⤪~target~⌖~tbrk~⎴~tcaron~ť~tcedil~ţ~tcy~т~tdot~⃛~telrec~⌕~tfr~𝔱~therefore~∴~thetav~ϑ~thickapprox~≈~thicksim~∼~thkap~≈~thksim~∼~timesb~⊠~timesbar~⨱~timesd~⨰~tint~∭~toea~⤨~top~⊤~topbot~⌶~topcir~⫱~topf~𝕥~topfork~⫚~tosa~⤩~tprime~‴~triangle~▵~triangledown~▿~triangleleft~◃~trianglelefteq~⊴~triangleq~≜~triangleright~▹~trianglerighteq~⊵~tridot~◬~trie~≜~triminus~⨺~triplus~⨹~trisb~⧍~tritime~⨻~trpezium~⏢~tscr~𝓉~tscy~ц~tshcy~ћ~tstrok~ŧ~twixt~≬~twoheadleftarrow~↞~twoheadrightarrow~↠~uHar~⥣~ubrcy~ў~ubreve~ŭ~ucy~у~udarr~⇅~udblac~ű~udhar~⥮~ufisht~⥾~ufr~𝔲~uharl~↿~uharr~↾~uhblk~▀~ulcorn~⌜~ulcorner~⌜~ulcrop~⌏~ultri~◸~umacr~ū~uogon~ų~uopf~𝕦~uparrow~↑~updownarrow~↕~upharpoonleft~↿~upharpoonright~↾~uplus~⊎~upsi~υ~upuparrows~⇈~urcorn~⌝~urcorner~⌝~urcrop~⌎~uring~ů~urtri~◹~uscr~𝓊~utdot~⋰~utilde~ũ~utri~▵~utrif~▴~uuarr~⇈~uwangle~⦧~vArr~⇕~vBar~⫨~vBarv~⫩~vDash~⊨~vangrt~⦜~varepsilon~ϵ~varkappa~ϰ~varnothing~∅~varphi~ϕ~varpi~ϖ~varpropto~∝~varr~↕~varrho~ϱ~varsigma~ς~varsubsetneq~⊊︀~varsubsetneqq~⫋︀~varsupsetneq~⊋︀~varsupsetneqq~⫌︀~vartheta~ϑ~vartriangleleft~⊲~vartriangleright~⊳~vcy~в~vdash~⊢~vee~∨~veebar~⊻~veeeq~≚~vellip~⋮~verbar~|~vert~|~vfr~𝔳~vltri~⊲~vnsub~⊂⃒~vnsup~⊃⃒~vopf~𝕧~vprop~∝~vrtri~⊳~vscr~𝓋~vsubnE~⫋︀~vsubne~⊊︀~vsupnE~⫌︀~vsupne~⊋︀~vzigzag~⦚~wcirc~ŵ~wedbar~⩟~wedge~∧~wedgeq~≙~wfr~𝔴~wopf~𝕨~wp~℘~wr~≀~wreath~≀~wscr~𝓌~xcap~⋂~xcirc~◯~xcup~⋃~xdtri~▽~xfr~𝔵~xhArr~⟺~xharr~⟷~xlArr~⟸~xlarr~⟵~xmap~⟼~xnis~⋻~xodot~⨀~xopf~𝕩~xoplus~⨁~xotime~⨂~xrArr~⟹~xrarr~⟶~xscr~𝓍~xsqcup~⨆~xuplus~⨄~xutri~△~xvee~⋁~xwedge~⋀~yacy~я~ycirc~ŷ~ycy~ы~yfr~𝔶~yicy~ї~yopf~𝕪~yscr~𝓎~yucy~ю~zacute~ź~zcaron~ž~zcy~з~zdot~ż~zeetrf~ℨ~zfr~𝔷~zhcy~ж~zigrarr~⇝~zopf~𝕫~zscr~𝓏~~AMP~&~COPY~©~GT~>~LT~<~QUOT~"~REG~®', lt.html4);
|
|
1892
|
+
lt.xml = Un(`lt~<~gt~>~quot~"~apos~'~amp~&`);
|
|
1893
|
+
lt.html4 = Un(`apos~'~OElig~Œ~oelig~œ~Scaron~Š~scaron~š~Yuml~Ÿ~circ~ˆ~tilde~˜~ensp~ ~emsp~ ~thinsp~ ~zwnj~~zwj~~lrm~~rlm~~ndash~–~mdash~—~lsquo~‘~rsquo~’~sbquo~‚~ldquo~“~rdquo~”~bdquo~„~dagger~†~Dagger~‡~permil~‰~lsaquo~‹~rsaquo~›~euro~€~fnof~ƒ~Alpha~Α~Beta~Β~Gamma~Γ~Delta~Δ~Epsilon~Ε~Zeta~Ζ~Eta~Η~Theta~Θ~Iota~Ι~Kappa~Κ~Lambda~Λ~Mu~Μ~Nu~Ν~Xi~Ξ~Omicron~Ο~Pi~Π~Rho~Ρ~Sigma~Σ~Tau~Τ~Upsilon~Υ~Phi~Φ~Chi~Χ~Psi~Ψ~Omega~Ω~alpha~α~beta~β~gamma~γ~delta~δ~epsilon~ε~zeta~ζ~eta~η~theta~θ~iota~ι~kappa~κ~lambda~λ~mu~μ~nu~ν~xi~ξ~omicron~ο~pi~π~rho~ρ~sigmaf~ς~sigma~σ~tau~τ~upsilon~υ~phi~φ~chi~χ~psi~ψ~omega~ω~thetasym~ϑ~upsih~ϒ~piv~ϖ~bull~•~hellip~…~prime~′~Prime~″~oline~‾~frasl~⁄~weierp~℘~image~ℑ~real~ℜ~trade~™~alefsym~ℵ~larr~←~uarr~↑~rarr~→~darr~↓~harr~↔~crarr~↵~lArr~⇐~uArr~⇑~rArr~⇒~dArr~⇓~hArr~⇔~forall~∀~part~∂~exist~∃~empty~∅~nabla~∇~isin~∈~notin~∉~ni~∋~prod~∏~sum~∑~minus~−~lowast~∗~radic~√~prop~∝~infin~∞~ang~∠~and~∧~or~∨~cap~∩~cup~∪~int~∫~there4~∴~sim~∼~cong~≅~asymp~≈~ne~≠~equiv~≡~le~≤~ge~≥~sub~⊂~sup~⊃~nsub~⊄~sube~⊆~supe~⊇~oplus~⊕~otimes~⊗~perp~⊥~sdot~⋅~lceil~⌈~rceil~⌉~lfloor~⌊~rfloor~⌋~lang~〈~rang~〉~loz~◊~spades~♠~clubs~♣~hearts~♥~diams~♦~~nbsp~ ~iexcl~¡~cent~¢~pound~£~curren~¤~yen~¥~brvbar~¦~sect~§~uml~¨~copy~©~ordf~ª~laquo~«~not~¬~shy~~reg~®~macr~¯~deg~°~plusmn~±~sup2~²~sup3~³~acute~´~micro~µ~para~¶~middot~·~cedil~¸~sup1~¹~ordm~º~raquo~»~frac14~¼~frac12~½~frac34~¾~iquest~¿~Agrave~À~Aacute~Á~Acirc~Â~Atilde~Ã~Auml~Ä~Aring~Å~AElig~Æ~Ccedil~Ç~Egrave~È~Eacute~É~Ecirc~Ê~Euml~Ë~Igrave~Ì~Iacute~Í~Icirc~Î~Iuml~Ï~ETH~Ð~Ntilde~Ñ~Ograve~Ò~Oacute~Ó~Ocirc~Ô~Otilde~Õ~Ouml~Ö~times~×~Oslash~Ø~Ugrave~Ù~Uacute~Ú~Ucirc~Û~Uuml~Ü~Yacute~Ý~THORN~Þ~szlig~ß~agrave~à~aacute~á~acirc~â~atilde~ã~auml~ä~aring~å~aelig~æ~ccedil~ç~egrave~è~eacute~é~ecirc~ê~euml~ë~igrave~ì~iacute~í~icirc~î~iuml~ï~eth~ð~ntilde~ñ~ograve~ò~oacute~ó~ocirc~ô~otilde~õ~ouml~ö~divide~÷~oslash~ø~ugrave~ù~uacute~ú~ucirc~û~uuml~ü~yacute~ý~thorn~þ~yuml~ÿ~quot~"~amp~&~lt~<~gt~>`);
|
|
1894
|
+
lt.html5 = Un('Abreve~Ă~Acy~А~Afr~𝔄~Amacr~Ā~And~⩓~Aogon~Ą~Aopf~𝔸~ApplyFunction~~Ascr~𝒜~Assign~≔~Backslash~∖~Barv~⫧~Barwed~⌆~Bcy~Б~Because~∵~Bernoullis~ℬ~Bfr~𝔅~Bopf~𝔹~Breve~˘~Bscr~ℬ~Bumpeq~≎~CHcy~Ч~Cacute~Ć~Cap~⋒~CapitalDifferentialD~ⅅ~Cayleys~ℭ~Ccaron~Č~Ccirc~Ĉ~Cconint~∰~Cdot~Ċ~Cedilla~¸~CenterDot~·~Cfr~ℭ~CircleDot~⊙~CircleMinus~⊖~CirclePlus~⊕~CircleTimes~⊗~ClockwiseContourIntegral~∲~CloseCurlyDoubleQuote~”~CloseCurlyQuote~’~Colon~∷~Colone~⩴~Congruent~≡~Conint~∯~ContourIntegral~∮~Copf~ℂ~Coproduct~∐~CounterClockwiseContourIntegral~∳~Cross~⨯~Cscr~𝒞~Cup~⋓~CupCap~≍~DD~ⅅ~DDotrahd~⤑~DJcy~Ђ~DScy~Ѕ~DZcy~Џ~Darr~↡~Dashv~⫤~Dcaron~Ď~Dcy~Д~Del~∇~Dfr~𝔇~DiacriticalAcute~´~DiacriticalDot~˙~DiacriticalDoubleAcute~˝~DiacriticalGrave~`~DiacriticalTilde~˜~Diamond~⋄~DifferentialD~ⅆ~Dopf~𝔻~Dot~¨~DotDot~⃜~DotEqual~≐~DoubleContourIntegral~∯~DoubleDot~¨~DoubleDownArrow~⇓~DoubleLeftArrow~⇐~DoubleLeftRightArrow~⇔~DoubleLeftTee~⫤~DoubleLongLeftArrow~⟸~DoubleLongLeftRightArrow~⟺~DoubleLongRightArrow~⟹~DoubleRightArrow~⇒~DoubleRightTee~⊨~DoubleUpArrow~⇑~DoubleUpDownArrow~⇕~DoubleVerticalBar~∥~DownArrow~↓~DownArrowBar~⤓~DownArrowUpArrow~⇵~DownBreve~̑~DownLeftRightVector~⥐~DownLeftTeeVector~⥞~DownLeftVector~↽~DownLeftVectorBar~⥖~DownRightTeeVector~⥟~DownRightVector~⇁~DownRightVectorBar~⥗~DownTee~⊤~DownTeeArrow~↧~Downarrow~⇓~Dscr~𝒟~Dstrok~Đ~ENG~Ŋ~Ecaron~Ě~Ecy~Э~Edot~Ė~Efr~𝔈~Element~∈~Emacr~Ē~EmptySmallSquare~◻~EmptyVerySmallSquare~▫~Eogon~Ę~Eopf~𝔼~Equal~⩵~EqualTilde~≂~Equilibrium~⇌~Escr~ℰ~Esim~⩳~Exists~∃~ExponentialE~ⅇ~Fcy~Ф~Ffr~𝔉~FilledSmallSquare~◼~FilledVerySmallSquare~▪~Fopf~𝔽~ForAll~∀~Fouriertrf~ℱ~Fscr~ℱ~GJcy~Ѓ~Gammad~Ϝ~Gbreve~Ğ~Gcedil~Ģ~Gcirc~Ĝ~Gcy~Г~Gdot~Ġ~Gfr~𝔊~Gg~⋙~Gopf~𝔾~GreaterEqual~≥~GreaterEqualLess~⋛~GreaterFullEqual~≧~GreaterGreater~⪢~GreaterLess~≷~GreaterSlantEqual~⩾~GreaterTilde~≳~Gscr~𝒢~Gt~≫~HARDcy~Ъ~Hacek~ˇ~Hat~^~Hcirc~Ĥ~Hfr~ℌ~HilbertSpace~ℋ~Hopf~ℍ~HorizontalLine~─~Hscr~ℋ~Hstrok~Ħ~HumpDownHump~≎~HumpEqual~≏~IEcy~Е~IJlig~IJ~IOcy~Ё~Icy~И~Idot~İ~Ifr~ℑ~Im~ℑ~Imacr~Ī~ImaginaryI~ⅈ~Implies~⇒~Int~∬~Integral~∫~Intersection~⋂~InvisibleComma~~InvisibleTimes~~Iogon~Į~Iopf~𝕀~Iscr~ℐ~Itilde~Ĩ~Iukcy~І~Jcirc~Ĵ~Jcy~Й~Jfr~𝔍~Jopf~𝕁~Jscr~𝒥~Jsercy~Ј~Jukcy~Є~KHcy~Х~KJcy~Ќ~Kcedil~Ķ~Kcy~К~Kfr~𝔎~Kopf~𝕂~Kscr~𝒦~LJcy~Љ~Lacute~Ĺ~Lang~⟪~Laplacetrf~ℒ~Larr~↞~Lcaron~Ľ~Lcedil~Ļ~Lcy~Л~LeftAngleBracket~⟨~LeftArrow~←~LeftArrowBar~⇤~LeftArrowRightArrow~⇆~LeftCeiling~⌈~LeftDoubleBracket~⟦~LeftDownTeeVector~⥡~LeftDownVector~⇃~LeftDownVectorBar~⥙~LeftFloor~⌊~LeftRightArrow~↔~LeftRightVector~⥎~LeftTee~⊣~LeftTeeArrow~↤~LeftTeeVector~⥚~LeftTriangle~⊲~LeftTriangleBar~⧏~LeftTriangleEqual~⊴~LeftUpDownVector~⥑~LeftUpTeeVector~⥠~LeftUpVector~↿~LeftUpVectorBar~⥘~LeftVector~↼~LeftVectorBar~⥒~Leftarrow~⇐~Leftrightarrow~⇔~LessEqualGreater~⋚~LessFullEqual~≦~LessGreater~≶~LessLess~⪡~LessSlantEqual~⩽~LessTilde~≲~Lfr~𝔏~Ll~⋘~Lleftarrow~⇚~Lmidot~Ŀ~LongLeftArrow~⟵~LongLeftRightArrow~⟷~LongRightArrow~⟶~Longleftarrow~⟸~Longleftrightarrow~⟺~Longrightarrow~⟹~Lopf~𝕃~LowerLeftArrow~↙~LowerRightArrow~↘~Lscr~ℒ~Lsh~↰~Lstrok~Ł~Lt~≪~Map~⤅~Mcy~М~MediumSpace~ ~Mellintrf~ℳ~Mfr~𝔐~MinusPlus~∓~Mopf~𝕄~Mscr~ℳ~NJcy~Њ~Nacute~Ń~Ncaron~Ň~Ncedil~Ņ~Ncy~Н~NegativeMediumSpace~~NegativeThickSpace~~NegativeThinSpace~~NegativeVeryThinSpace~~NestedGreaterGreater~≫~NestedLessLess~≪~NewLine~\n~Nfr~𝔑~NoBreak~~NonBreakingSpace~ ~Nopf~ℕ~Not~⫬~NotCongruent~≢~NotCupCap~≭~NotDoubleVerticalBar~∦~NotElement~∉~NotEqual~≠~NotEqualTilde~≂̸~NotExists~∄~NotGreater~≯~NotGreaterEqual~≱~NotGreaterFullEqual~≧̸~NotGreaterGreater~≫̸~NotGreaterLess~≹~NotGreaterSlantEqual~⩾̸~NotGreaterTilde~≵~NotHumpDownHump~≎̸~NotHumpEqual~≏̸~NotLeftTriangle~⋪~NotLeftTriangleBar~⧏̸~NotLeftTriangleEqual~⋬~NotLess~≮~NotLessEqual~≰~NotLessGreater~≸~NotLessLess~≪̸~NotLessSlantEqual~⩽̸~NotLessTilde~≴~NotNestedGreaterGreater~⪢̸~NotNestedLessLess~⪡̸~NotPrecedes~⊀~NotPrecedesEqual~⪯̸~NotPrecedesSlantEqual~⋠~NotReverseElement~∌~NotRightTriangle~⋫~NotRightTriangleBar~⧐̸~NotRightTriangleEqual~⋭~NotSquareSubset~⊏̸~NotSquareSubsetEqual~⋢~NotSquareSuperset~⊐̸~NotSquareSupersetEqual~⋣~NotSubset~⊂⃒~NotSubsetEqual~⊈~NotSucceeds~⊁~NotSucceedsEqual~⪰̸~NotSucceedsSlantEqual~⋡~NotSucceedsTilde~≿̸~NotSuperset~⊃⃒~NotSupersetEqual~⊉~NotTilde~≁~NotTildeEqual~≄~NotTildeFullEqual~≇~NotTildeTilde~≉~NotVerticalBar~∤~Nscr~𝒩~Ocy~О~Odblac~Ő~Ofr~𝔒~Omacr~Ō~Oopf~𝕆~OpenCurlyDoubleQuote~“~OpenCurlyQuote~‘~Or~⩔~Oscr~𝒪~Otimes~⨷~OverBar~‾~OverBrace~⏞~OverBracket~⎴~OverParenthesis~⏜~PartialD~∂~Pcy~П~Pfr~𝔓~PlusMinus~±~Poincareplane~ℌ~Popf~ℙ~Pr~⪻~Precedes~≺~PrecedesEqual~⪯~PrecedesSlantEqual~≼~PrecedesTilde~≾~Product~∏~Proportion~∷~Proportional~∝~Pscr~𝒫~Qfr~𝔔~Qopf~ℚ~Qscr~𝒬~RBarr~⤐~Racute~Ŕ~Rang~⟫~Rarr~↠~Rarrtl~⤖~Rcaron~Ř~Rcedil~Ŗ~Rcy~Р~Re~ℜ~ReverseElement~∋~ReverseEquilibrium~⇋~ReverseUpEquilibrium~⥯~Rfr~ℜ~RightAngleBracket~⟩~RightArrow~→~RightArrowBar~⇥~RightArrowLeftArrow~⇄~RightCeiling~⌉~RightDoubleBracket~⟧~RightDownTeeVector~⥝~RightDownVector~⇂~RightDownVectorBar~⥕~RightFloor~⌋~RightTee~⊢~RightTeeArrow~↦~RightTeeVector~⥛~RightTriangle~⊳~RightTriangleBar~⧐~RightTriangleEqual~⊵~RightUpDownVector~⥏~RightUpTeeVector~⥜~RightUpVector~↾~RightUpVectorBar~⥔~RightVector~⇀~RightVectorBar~⥓~Rightarrow~⇒~Ropf~ℝ~RoundImplies~⥰~Rrightarrow~⇛~Rscr~ℛ~Rsh~↱~RuleDelayed~⧴~SHCHcy~Щ~SHcy~Ш~SOFTcy~Ь~Sacute~Ś~Sc~⪼~Scedil~Ş~Scirc~Ŝ~Scy~С~Sfr~𝔖~ShortDownArrow~↓~ShortLeftArrow~←~ShortRightArrow~→~ShortUpArrow~↑~SmallCircle~∘~Sopf~𝕊~Sqrt~√~Square~□~SquareIntersection~⊓~SquareSubset~⊏~SquareSubsetEqual~⊑~SquareSuperset~⊐~SquareSupersetEqual~⊒~SquareUnion~⊔~Sscr~𝒮~Star~⋆~Sub~⋐~Subset~⋐~SubsetEqual~⊆~Succeeds~≻~SucceedsEqual~⪰~SucceedsSlantEqual~≽~SucceedsTilde~≿~SuchThat~∋~Sum~∑~Sup~⋑~Superset~⊃~SupersetEqual~⊇~Supset~⋑~TRADE~™~TSHcy~Ћ~TScy~Ц~Tab~ ~Tcaron~Ť~Tcedil~Ţ~Tcy~Т~Tfr~𝔗~Therefore~∴~ThickSpace~ ~ThinSpace~ ~Tilde~∼~TildeEqual~≃~TildeFullEqual~≅~TildeTilde~≈~Topf~𝕋~TripleDot~⃛~Tscr~𝒯~Tstrok~Ŧ~Uarr~↟~Uarrocir~⥉~Ubrcy~Ў~Ubreve~Ŭ~Ucy~У~Udblac~Ű~Ufr~𝔘~Umacr~Ū~UnderBar~_~UnderBrace~⏟~UnderBracket~⎵~UnderParenthesis~⏝~Union~⋃~UnionPlus~⊎~Uogon~Ų~Uopf~𝕌~UpArrow~↑~UpArrowBar~⤒~UpArrowDownArrow~⇅~UpDownArrow~↕~UpEquilibrium~⥮~UpTee~⊥~UpTeeArrow~↥~Uparrow~⇑~Updownarrow~⇕~UpperLeftArrow~↖~UpperRightArrow~↗~Upsi~ϒ~Uring~Ů~Uscr~𝒰~Utilde~Ũ~VDash~⊫~Vbar~⫫~Vcy~В~Vdash~⊩~Vdashl~⫦~Vee~⋁~Verbar~‖~Vert~‖~VerticalBar~∣~VerticalLine~|~VerticalSeparator~❘~VerticalTilde~≀~VeryThinSpace~ ~Vfr~𝔙~Vopf~𝕍~Vscr~𝒱~Vvdash~⊪~Wcirc~Ŵ~Wedge~⋀~Wfr~𝔚~Wopf~𝕎~Wscr~𝒲~Xfr~𝔛~Xopf~𝕏~Xscr~𝒳~YAcy~Я~YIcy~Ї~YUcy~Ю~Ycirc~Ŷ~Ycy~Ы~Yfr~𝔜~Yopf~𝕐~Yscr~𝒴~ZHcy~Ж~Zacute~Ź~Zcaron~Ž~Zcy~З~Zdot~Ż~ZeroWidthSpace~~Zfr~ℨ~Zopf~ℤ~Zscr~𝒵~abreve~ă~ac~∾~acE~∾̳~acd~∿~acy~а~af~~afr~𝔞~aleph~ℵ~amacr~ā~amalg~⨿~andand~⩕~andd~⩜~andslope~⩘~andv~⩚~ange~⦤~angle~∠~angmsd~∡~angmsdaa~⦨~angmsdab~⦩~angmsdac~⦪~angmsdad~⦫~angmsdae~⦬~angmsdaf~⦭~angmsdag~⦮~angmsdah~⦯~angrt~∟~angrtvb~⊾~angrtvbd~⦝~angsph~∢~angst~Å~angzarr~⍼~aogon~ą~aopf~𝕒~ap~≈~apE~⩰~apacir~⩯~ape~≊~apid~≋~approx~≈~approxeq~≊~ascr~𝒶~ast~*~asympeq~≍~awconint~∳~awint~⨑~bNot~⫭~backcong~≌~backepsilon~϶~backprime~‵~backsim~∽~backsimeq~⋍~barvee~⊽~barwed~⌅~barwedge~⌅~bbrk~⎵~bbrktbrk~⎶~bcong~≌~bcy~б~becaus~∵~because~∵~bemptyv~⦰~bepsi~϶~bernou~ℬ~beth~ℶ~between~≬~bfr~𝔟~bigcap~⋂~bigcirc~◯~bigcup~⋃~bigodot~⨀~bigoplus~⨁~bigotimes~⨂~bigsqcup~⨆~bigstar~★~bigtriangledown~▽~bigtriangleup~△~biguplus~⨄~bigvee~⋁~bigwedge~⋀~bkarow~⤍~blacklozenge~⧫~blacksquare~▪~blacktriangle~▴~blacktriangledown~▾~blacktriangleleft~◂~blacktriangleright~▸~blank~␣~blk12~▒~blk14~░~blk34~▓~block~█~bne~=⃥~bnequiv~≡⃥~bnot~⌐~bopf~𝕓~bot~⊥~bottom~⊥~bowtie~⋈~boxDL~╗~boxDR~╔~boxDl~╖~boxDr~╓~boxH~═~boxHD~╦~boxHU~╩~boxHd~╤~boxHu~╧~boxUL~╝~boxUR~╚~boxUl~╜~boxUr~╙~boxV~║~boxVH~╬~boxVL~╣~boxVR~╠~boxVh~╫~boxVl~╢~boxVr~╟~boxbox~⧉~boxdL~╕~boxdR~╒~boxdl~┐~boxdr~┌~boxh~─~boxhD~╥~boxhU~╨~boxhd~┬~boxhu~┴~boxminus~⊟~boxplus~⊞~boxtimes~⊠~boxuL~╛~boxuR~╘~boxul~┘~boxur~└~boxv~│~boxvH~╪~boxvL~╡~boxvR~╞~boxvh~┼~boxvl~┤~boxvr~├~bprime~‵~breve~˘~bscr~𝒷~bsemi~⁏~bsim~∽~bsime~⋍~bsol~\\~bsolb~⧅~bsolhsub~⟈~bullet~•~bump~≎~bumpE~⪮~bumpe~≏~bumpeq~≏~cacute~ć~capand~⩄~capbrcup~⩉~capcap~⩋~capcup~⩇~capdot~⩀~caps~∩︀~caret~⁁~caron~ˇ~ccaps~⩍~ccaron~č~ccirc~ĉ~ccups~⩌~ccupssm~⩐~cdot~ċ~cemptyv~⦲~centerdot~·~cfr~𝔠~chcy~ч~check~✓~checkmark~✓~cir~○~cirE~⧃~circeq~≗~circlearrowleft~↺~circlearrowright~↻~circledR~®~circledS~Ⓢ~circledast~⊛~circledcirc~⊚~circleddash~⊝~cire~≗~cirfnint~⨐~cirmid~⫯~cirscir~⧂~clubsuit~♣~colon~:~colone~≔~coloneq~≔~comma~,~commat~@~comp~∁~compfn~∘~complement~∁~complexes~ℂ~congdot~⩭~conint~∮~copf~𝕔~coprod~∐~copysr~℗~cross~✗~cscr~𝒸~csub~⫏~csube~⫑~csup~⫐~csupe~⫒~ctdot~⋯~cudarrl~⤸~cudarrr~⤵~cuepr~⋞~cuesc~⋟~cularr~↶~cularrp~⤽~cupbrcap~⩈~cupcap~⩆~cupcup~⩊~cupdot~⊍~cupor~⩅~cups~∪︀~curarr~↷~curarrm~⤼~curlyeqprec~⋞~curlyeqsucc~⋟~curlyvee~⋎~curlywedge~⋏~curvearrowleft~↶~curvearrowright~↷~cuvee~⋎~cuwed~⋏~cwconint~∲~cwint~∱~cylcty~⌭~dHar~⥥~daleth~ℸ~dash~‐~dashv~⊣~dbkarow~⤏~dblac~˝~dcaron~ď~dcy~д~dd~ⅆ~ddagger~‡~ddarr~⇊~ddotseq~⩷~demptyv~⦱~dfisht~⥿~dfr~𝔡~dharl~⇃~dharr~⇂~diam~⋄~diamond~⋄~diamondsuit~♦~die~¨~digamma~ϝ~disin~⋲~div~÷~divideontimes~⋇~divonx~⋇~djcy~ђ~dlcorn~⌞~dlcrop~⌍~dollar~$~dopf~𝕕~dot~˙~doteq~≐~doteqdot~≑~dotminus~∸~dotplus~∔~dotsquare~⊡~doublebarwedge~⌆~downarrow~↓~downdownarrows~⇊~downharpoonleft~⇃~downharpoonright~⇂~drbkarow~⤐~drcorn~⌟~drcrop~⌌~dscr~𝒹~dscy~ѕ~dsol~⧶~dstrok~đ~dtdot~⋱~dtri~▿~dtrif~▾~duarr~⇵~duhar~⥯~dwangle~⦦~dzcy~џ~dzigrarr~⟿~eDDot~⩷~eDot~≑~easter~⩮~ecaron~ě~ecir~≖~ecolon~≕~ecy~э~edot~ė~ee~ⅇ~efDot~≒~efr~𝔢~eg~⪚~egs~⪖~egsdot~⪘~el~⪙~elinters~⏧~ell~ℓ~els~⪕~elsdot~⪗~emacr~ē~emptyset~∅~emptyv~∅~emsp13~ ~emsp14~ ~eng~ŋ~eogon~ę~eopf~𝕖~epar~⋕~eparsl~⧣~eplus~⩱~epsi~ε~epsiv~ϵ~eqcirc~≖~eqcolon~≕~eqsim~≂~eqslantgtr~⪖~eqslantless~⪕~equals~=~equest~≟~equivDD~⩸~eqvparsl~⧥~erDot~≓~erarr~⥱~escr~ℯ~esdot~≐~esim~≂~excl~!~expectation~ℰ~exponentiale~ⅇ~fallingdotseq~≒~fcy~ф~female~♀~ffilig~ffi~fflig~ff~ffllig~ffl~ffr~𝔣~filig~fi~fjlig~fj~flat~♭~fllig~fl~fltns~▱~fopf~𝕗~fork~⋔~forkv~⫙~fpartint~⨍~frac13~⅓~frac15~⅕~frac16~⅙~frac18~⅛~frac23~⅔~frac25~⅖~frac35~⅗~frac38~⅜~frac45~⅘~frac56~⅚~frac58~⅝~frac78~⅞~frown~⌢~fscr~𝒻~gE~≧~gEl~⪌~gacute~ǵ~gammad~ϝ~gap~⪆~gbreve~ğ~gcirc~ĝ~gcy~г~gdot~ġ~gel~⋛~geq~≥~geqq~≧~geqslant~⩾~ges~⩾~gescc~⪩~gesdot~⪀~gesdoto~⪂~gesdotol~⪄~gesl~⋛︀~gesles~⪔~gfr~𝔤~gg~≫~ggg~⋙~gimel~ℷ~gjcy~ѓ~gl~≷~glE~⪒~gla~⪥~glj~⪤~gnE~≩~gnap~⪊~gnapprox~⪊~gne~⪈~gneq~⪈~gneqq~≩~gnsim~⋧~gopf~𝕘~grave~`~gscr~ℊ~gsim~≳~gsime~⪎~gsiml~⪐~gtcc~⪧~gtcir~⩺~gtdot~⋗~gtlPar~⦕~gtquest~⩼~gtrapprox~⪆~gtrarr~⥸~gtrdot~⋗~gtreqless~⋛~gtreqqless~⪌~gtrless~≷~gtrsim~≳~gvertneqq~≩︀~gvnE~≩︀~hairsp~ ~half~½~hamilt~ℋ~hardcy~ъ~harrcir~⥈~harrw~↭~hbar~ℏ~hcirc~ĥ~heartsuit~♥~hercon~⊹~hfr~𝔥~hksearow~⤥~hkswarow~⤦~hoarr~⇿~homtht~∻~hookleftarrow~↩~hookrightarrow~↪~hopf~𝕙~horbar~―~hscr~𝒽~hslash~ℏ~hstrok~ħ~hybull~⁃~hyphen~‐~ic~~icy~и~iecy~е~iff~⇔~ifr~𝔦~ii~ⅈ~iiiint~⨌~iiint~∭~iinfin~⧜~iiota~℩~ijlig~ij~imacr~ī~imagline~ℐ~imagpart~ℑ~imath~ı~imof~⊷~imped~Ƶ~in~∈~incare~℅~infintie~⧝~inodot~ı~intcal~⊺~integers~ℤ~intercal~⊺~intlarhk~⨗~intprod~⨼~iocy~ё~iogon~į~iopf~𝕚~iprod~⨼~iscr~𝒾~isinE~⋹~isindot~⋵~isins~⋴~isinsv~⋳~isinv~∈~it~~itilde~ĩ~iukcy~і~jcirc~ĵ~jcy~й~jfr~𝔧~jmath~ȷ~jopf~𝕛~jscr~𝒿~jsercy~ј~jukcy~є~kappav~ϰ~kcedil~ķ~kcy~к~kfr~𝔨~kgreen~ĸ~khcy~х~kjcy~ќ~kopf~𝕜~kscr~𝓀~lAarr~⇚~lAtail~⤛~lBarr~⤎~lE~≦~lEg~⪋~lHar~⥢~lacute~ĺ~laemptyv~⦴~lagran~ℒ~langd~⦑~langle~⟨~lap~⪅~larrb~⇤~larrbfs~⤟~larrfs~⤝~larrhk~↩~larrlp~↫~larrpl~⤹~larrsim~⥳~larrtl~↢~lat~⪫~latail~⤙~late~⪭~lates~⪭︀~lbarr~⤌~lbbrk~❲~lbrace~{~lbrack~[~lbrke~⦋~lbrksld~⦏~lbrkslu~⦍~lcaron~ľ~lcedil~ļ~lcub~{~lcy~л~ldca~⤶~ldquor~„~ldrdhar~⥧~ldrushar~⥋~ldsh~↲~leftarrow~←~leftarrowtail~↢~leftharpoondown~↽~leftharpoonup~↼~leftleftarrows~⇇~leftrightarrow~↔~leftrightarrows~⇆~leftrightharpoons~⇋~leftrightsquigarrow~↭~leftthreetimes~⋋~leg~⋚~leq~≤~leqq~≦~leqslant~⩽~les~⩽~lescc~⪨~lesdot~⩿~lesdoto~⪁~lesdotor~⪃~lesg~⋚︀~lesges~⪓~lessapprox~⪅~lessdot~⋖~lesseqgtr~⋚~lesseqqgtr~⪋~lessgtr~≶~lesssim~≲~lfisht~⥼~lfr~𝔩~lg~≶~lgE~⪑~lhard~↽~lharu~↼~lharul~⥪~lhblk~▄~ljcy~љ~ll~≪~llarr~⇇~llcorner~⌞~llhard~⥫~lltri~◺~lmidot~ŀ~lmoust~⎰~lmoustache~⎰~lnE~≨~lnap~⪉~lnapprox~⪉~lne~⪇~lneq~⪇~lneqq~≨~lnsim~⋦~loang~⟬~loarr~⇽~lobrk~⟦~longleftarrow~⟵~longleftrightarrow~⟷~longmapsto~⟼~longrightarrow~⟶~looparrowleft~↫~looparrowright~↬~lopar~⦅~lopf~𝕝~loplus~⨭~lotimes~⨴~lowbar~_~lozenge~◊~lozf~⧫~lpar~(~lparlt~⦓~lrarr~⇆~lrcorner~⌟~lrhar~⇋~lrhard~⥭~lrtri~⊿~lscr~𝓁~lsh~↰~lsim~≲~lsime~⪍~lsimg~⪏~lsqb~[~lsquor~‚~lstrok~ł~ltcc~⪦~ltcir~⩹~ltdot~⋖~lthree~⋋~ltimes~⋉~ltlarr~⥶~ltquest~⩻~ltrPar~⦖~ltri~◃~ltrie~⊴~ltrif~◂~lurdshar~⥊~luruhar~⥦~lvertneqq~≨︀~lvnE~≨︀~mDDot~∺~male~♂~malt~✠~maltese~✠~map~↦~mapsto~↦~mapstodown~↧~mapstoleft~↤~mapstoup~↥~marker~▮~mcomma~⨩~mcy~м~measuredangle~∡~mfr~𝔪~mho~℧~mid~∣~midast~*~midcir~⫰~minusb~⊟~minusd~∸~minusdu~⨪~mlcp~⫛~mldr~…~mnplus~∓~models~⊧~mopf~𝕞~mp~∓~mscr~𝓂~mstpos~∾~multimap~⊸~mumap~⊸~nGg~⋙̸~nGt~≫⃒~nGtv~≫̸~nLeftarrow~⇍~nLeftrightarrow~⇎~nLl~⋘̸~nLt~≪⃒~nLtv~≪̸~nRightarrow~⇏~nVDash~⊯~nVdash~⊮~nacute~ń~nang~∠⃒~nap~≉~napE~⩰̸~napid~≋̸~napos~ʼn~napprox~≉~natur~♮~natural~♮~naturals~ℕ~nbump~≎̸~nbumpe~≏̸~ncap~⩃~ncaron~ň~ncedil~ņ~ncong~≇~ncongdot~⩭̸~ncup~⩂~ncy~н~neArr~⇗~nearhk~⤤~nearr~↗~nearrow~↗~nedot~≐̸~nequiv~≢~nesear~⤨~nesim~≂̸~nexist~∄~nexists~∄~nfr~𝔫~ngE~≧̸~nge~≱~ngeq~≱~ngeqq~≧̸~ngeqslant~⩾̸~nges~⩾̸~ngsim~≵~ngt~≯~ngtr~≯~nhArr~⇎~nharr~↮~nhpar~⫲~nis~⋼~nisd~⋺~niv~∋~njcy~њ~nlArr~⇍~nlE~≦̸~nlarr~↚~nldr~‥~nle~≰~nleftarrow~↚~nleftrightarrow~↮~nleq~≰~nleqq~≦̸~nleqslant~⩽̸~nles~⩽̸~nless~≮~nlsim~≴~nlt~≮~nltri~⋪~nltrie~⋬~nmid~∤~nopf~𝕟~notinE~⋹̸~notindot~⋵̸~notinva~∉~notinvb~⋷~notinvc~⋶~notni~∌~notniva~∌~notnivb~⋾~notnivc~⋽~npar~∦~nparallel~∦~nparsl~⫽⃥~npart~∂̸~npolint~⨔~npr~⊀~nprcue~⋠~npre~⪯̸~nprec~⊀~npreceq~⪯̸~nrArr~⇏~nrarr~↛~nrarrc~⤳̸~nrarrw~↝̸~nrightarrow~↛~nrtri~⋫~nrtrie~⋭~nsc~⊁~nsccue~⋡~nsce~⪰̸~nscr~𝓃~nshortmid~∤~nshortparallel~∦~nsim~≁~nsime~≄~nsimeq~≄~nsmid~∤~nspar~∦~nsqsube~⋢~nsqsupe~⋣~nsubE~⫅̸~nsube~⊈~nsubset~⊂⃒~nsubseteq~⊈~nsubseteqq~⫅̸~nsucc~⊁~nsucceq~⪰̸~nsup~⊅~nsupE~⫆̸~nsupe~⊉~nsupset~⊃⃒~nsupseteq~⊉~nsupseteqq~⫆̸~ntgl~≹~ntlg~≸~ntriangleleft~⋪~ntrianglelefteq~⋬~ntriangleright~⋫~ntrianglerighteq~⋭~num~#~numero~№~numsp~ ~nvDash~⊭~nvHarr~⤄~nvap~≍⃒~nvdash~⊬~nvge~≥⃒~nvgt~>⃒~nvinfin~⧞~nvlArr~⤂~nvle~≤⃒~nvlt~<⃒~nvltrie~⊴⃒~nvrArr~⤃~nvrtrie~⊵⃒~nvsim~∼⃒~nwArr~⇖~nwarhk~⤣~nwarr~↖~nwarrow~↖~nwnear~⤧~oS~Ⓢ~oast~⊛~ocir~⊚~ocy~о~odash~⊝~odblac~ő~odiv~⨸~odot~⊙~odsold~⦼~ofcir~⦿~ofr~𝔬~ogon~˛~ogt~⧁~ohbar~⦵~ohm~Ω~oint~∮~olarr~↺~olcir~⦾~olcross~⦻~olt~⧀~omacr~ō~omid~⦶~ominus~⊖~oopf~𝕠~opar~⦷~operp~⦹~orarr~↻~ord~⩝~order~ℴ~orderof~ℴ~origof~⊶~oror~⩖~orslope~⩗~orv~⩛~oscr~ℴ~osol~⊘~otimesas~⨶~ovbar~⌽~par~∥~parallel~∥~parsim~⫳~parsl~⫽~pcy~п~percnt~%~period~.~pertenk~‱~pfr~𝔭~phiv~ϕ~phmmat~ℳ~phone~☎~pitchfork~⋔~planck~ℏ~planckh~ℎ~plankv~ℏ~plus~+~plusacir~⨣~plusb~⊞~pluscir~⨢~plusdo~∔~plusdu~⨥~pluse~⩲~plussim~⨦~plustwo~⨧~pm~±~pointint~⨕~popf~𝕡~pr~≺~prE~⪳~prap~⪷~prcue~≼~pre~⪯~prec~≺~precapprox~⪷~preccurlyeq~≼~preceq~⪯~precnapprox~⪹~precneqq~⪵~precnsim~⋨~precsim~≾~primes~ℙ~prnE~⪵~prnap~⪹~prnsim~⋨~profalar~⌮~profline~⌒~profsurf~⌓~propto~∝~prsim~≾~prurel~⊰~pscr~𝓅~puncsp~ ~qfr~𝔮~qint~⨌~qopf~𝕢~qprime~⁗~qscr~𝓆~quaternions~ℍ~quatint~⨖~quest~?~questeq~≟~rAarr~⇛~rAtail~⤜~rBarr~⤏~rHar~⥤~race~∽̱~racute~ŕ~raemptyv~⦳~rangd~⦒~range~⦥~rangle~⟩~rarrap~⥵~rarrb~⇥~rarrbfs~⤠~rarrc~⤳~rarrfs~⤞~rarrhk~↪~rarrlp~↬~rarrpl~⥅~rarrsim~⥴~rarrtl~↣~rarrw~↝~ratail~⤚~ratio~∶~rationals~ℚ~rbarr~⤍~rbbrk~❳~rbrace~}~rbrack~]~rbrke~⦌~rbrksld~⦎~rbrkslu~⦐~rcaron~ř~rcedil~ŗ~rcub~}~rcy~р~rdca~⤷~rdldhar~⥩~rdquor~”~rdsh~↳~realine~ℛ~realpart~ℜ~reals~ℝ~rect~▭~rfisht~⥽~rfr~𝔯~rhard~⇁~rharu~⇀~rharul~⥬~rhov~ϱ~rightarrow~→~rightarrowtail~↣~rightharpoondown~⇁~rightharpoonup~⇀~rightleftarrows~⇄~rightleftharpoons~⇌~rightrightarrows~⇉~rightsquigarrow~↝~rightthreetimes~⋌~ring~˚~risingdotseq~≓~rlarr~⇄~rlhar~⇌~rmoust~⎱~rmoustache~⎱~rnmid~⫮~roang~⟭~roarr~⇾~robrk~⟧~ropar~⦆~ropf~𝕣~roplus~⨮~rotimes~⨵~rpar~)~rpargt~⦔~rppolint~⨒~rrarr~⇉~rscr~𝓇~rsh~↱~rsqb~]~rsquor~’~rthree~⋌~rtimes~⋊~rtri~▹~rtrie~⊵~rtrif~▸~rtriltri~⧎~ruluhar~⥨~rx~℞~sacute~ś~sc~≻~scE~⪴~scap~⪸~sccue~≽~sce~⪰~scedil~ş~scirc~ŝ~scnE~⪶~scnap~⪺~scnsim~⋩~scpolint~⨓~scsim~≿~scy~с~sdotb~⊡~sdote~⩦~seArr~⇘~searhk~⤥~searr~↘~searrow~↘~semi~;~seswar~⤩~setminus~∖~setmn~∖~sext~✶~sfr~𝔰~sfrown~⌢~sharp~♯~shchcy~щ~shcy~ш~shortmid~∣~shortparallel~∥~sigmav~ς~simdot~⩪~sime~≃~simeq~≃~simg~⪞~simgE~⪠~siml~⪝~simlE~⪟~simne~≆~simplus~⨤~simrarr~⥲~slarr~←~smallsetminus~∖~smashp~⨳~smeparsl~⧤~smid~∣~smile~⌣~smt~⪪~smte~⪬~smtes~⪬︀~softcy~ь~sol~/~solb~⧄~solbar~⌿~sopf~𝕤~spadesuit~♠~spar~∥~sqcap~⊓~sqcaps~⊓︀~sqcup~⊔~sqcups~⊔︀~sqsub~⊏~sqsube~⊑~sqsubset~⊏~sqsubseteq~⊑~sqsup~⊐~sqsupe~⊒~sqsupset~⊐~sqsupseteq~⊒~squ~□~square~□~squarf~▪~squf~▪~srarr~→~sscr~𝓈~ssetmn~∖~ssmile~⌣~sstarf~⋆~star~☆~starf~★~straightepsilon~ϵ~straightphi~ϕ~strns~¯~subE~⫅~subdot~⪽~subedot~⫃~submult~⫁~subnE~⫋~subne~⊊~subplus~⪿~subrarr~⥹~subset~⊂~subseteq~⊆~subseteqq~⫅~subsetneq~⊊~subsetneqq~⫋~subsim~⫇~subsub~⫕~subsup~⫓~succ~≻~succapprox~⪸~succcurlyeq~≽~succeq~⪰~succnapprox~⪺~succneqq~⪶~succnsim~⋩~succsim~≿~sung~♪~supE~⫆~supdot~⪾~supdsub~⫘~supedot~⫄~suphsol~⟉~suphsub~⫗~suplarr~⥻~supmult~⫂~supnE~⫌~supne~⊋~supplus~⫀~supset~⊃~supseteq~⊇~supseteqq~⫆~supsetneq~⊋~supsetneqq~⫌~supsim~⫈~supsub~⫔~supsup~⫖~swArr~⇙~swarhk~⤦~swarr~↙~swarrow~↙~swnwar~⤪~target~⌖~tbrk~⎴~tcaron~ť~tcedil~ţ~tcy~т~tdot~⃛~telrec~⌕~tfr~𝔱~therefore~∴~thetav~ϑ~thickapprox~≈~thicksim~∼~thkap~≈~thksim~∼~timesb~⊠~timesbar~⨱~timesd~⨰~tint~∭~toea~⤨~top~⊤~topbot~⌶~topcir~⫱~topf~𝕥~topfork~⫚~tosa~⤩~tprime~‴~triangle~▵~triangledown~▿~triangleleft~◃~trianglelefteq~⊴~triangleq~≜~triangleright~▹~trianglerighteq~⊵~tridot~◬~trie~≜~triminus~⨺~triplus~⨹~trisb~⧍~tritime~⨻~trpezium~⏢~tscr~𝓉~tscy~ц~tshcy~ћ~tstrok~ŧ~twixt~≬~twoheadleftarrow~↞~twoheadrightarrow~↠~uHar~⥣~ubrcy~ў~ubreve~ŭ~ucy~у~udarr~⇅~udblac~ű~udhar~⥮~ufisht~⥾~ufr~𝔲~uharl~↿~uharr~↾~uhblk~▀~ulcorn~⌜~ulcorner~⌜~ulcrop~⌏~ultri~◸~umacr~ū~uogon~ų~uopf~𝕦~uparrow~↑~updownarrow~↕~upharpoonleft~↿~upharpoonright~↾~uplus~⊎~upsi~υ~upuparrows~⇈~urcorn~⌝~urcorner~⌝~urcrop~⌎~uring~ů~urtri~◹~uscr~𝓊~utdot~⋰~utilde~ũ~utri~▵~utrif~▴~uuarr~⇈~uwangle~⦧~vArr~⇕~vBar~⫨~vBarv~⫩~vDash~⊨~vangrt~⦜~varepsilon~ϵ~varkappa~ϰ~varnothing~∅~varphi~ϕ~varpi~ϖ~varpropto~∝~varr~↕~varrho~ϱ~varsigma~ς~varsubsetneq~⊊︀~varsubsetneqq~⫋︀~varsupsetneq~⊋︀~varsupsetneqq~⫌︀~vartheta~ϑ~vartriangleleft~⊲~vartriangleright~⊳~vcy~в~vdash~⊢~vee~∨~veebar~⊻~veeeq~≚~vellip~⋮~verbar~|~vert~|~vfr~𝔳~vltri~⊲~vnsub~⊂⃒~vnsup~⊃⃒~vopf~𝕧~vprop~∝~vrtri~⊳~vscr~𝓋~vsubnE~⫋︀~vsubne~⊊︀~vsupnE~⫌︀~vsupne~⊋︀~vzigzag~⦚~wcirc~ŵ~wedbar~⩟~wedge~∧~wedgeq~≙~wfr~𝔴~wopf~𝕨~wp~℘~wr~≀~wreath~≀~wscr~𝓌~xcap~⋂~xcirc~◯~xcup~⋃~xdtri~▽~xfr~𝔵~xhArr~⟺~xharr~⟷~xlArr~⟸~xlarr~⟵~xmap~⟼~xnis~⋻~xodot~⨀~xopf~𝕩~xoplus~⨁~xotime~⨂~xrArr~⟹~xrarr~⟶~xscr~𝓍~xsqcup~⨆~xuplus~⨄~xutri~△~xvee~⋁~xwedge~⋀~yacy~я~ycirc~ŷ~ycy~ы~yfr~𝔶~yicy~ї~yopf~𝕪~yscr~𝓎~yucy~ю~zacute~ź~zcaron~ž~zcy~з~zdot~ż~zeetrf~ℨ~zfr~𝔷~zhcy~ж~zigrarr~⇝~zopf~𝕫~zscr~𝓏~~AMP~&~COPY~©~GT~>~LT~<~QUOT~"~REG~®', lt.html4);
|
|
1895
1895
|
var au = {
|
|
1896
1896
|
0: 65533,
|
|
1897
1897
|
128: 8364,
|
|
@@ -2017,7 +2017,7 @@ Fe.interceptors.response.use(
|
|
|
2017
2017
|
return r.startsWith("ERROR_") || /^[A-Z_]+$/.test(r) ? Promise.reject(new Error(r)) : Promise.reject(`${t}: ${r}`);
|
|
2018
2018
|
}
|
|
2019
2019
|
);
|
|
2020
|
-
const z = async (e) => (await Fe.get(e)).data, Je = async (e, t) => (await Fe.post(e, t)).data,
|
|
2020
|
+
const z = async (e) => (await Fe.get(e)).data, Je = async (e, t) => (await Fe.post(e, t)).data, av = async (e, t) => (await Fe.put(e, t)).data, ov = async (e, t) => (await Fe.patch(e, t)).data, iv = async (e) => (await Fe.delete(e)).data, K = (e) => typeof e == "string", gt = () => {
|
|
2021
2021
|
let e, t;
|
|
2022
2022
|
const r = new Promise((n, s) => {
|
|
2023
2023
|
e = n, t = s;
|
|
@@ -2105,7 +2105,7 @@ const _u = [" ", ",", "?", "!", ";"], Su = new Eu(20), Ru = (e, t, r) => {
|
|
|
2105
2105
|
o > 0 && !s.test(e.substring(0, o)) && (a = !0);
|
|
2106
2106
|
}
|
|
2107
2107
|
return a;
|
|
2108
|
-
},
|
|
2108
|
+
}, $n = function(e, t) {
|
|
2109
2109
|
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
|
|
2110
2110
|
if (!e) return;
|
|
2111
2111
|
if (e[t])
|
|
@@ -2141,7 +2141,7 @@ const _u = [" ", ",", "?", "!", ";"], Su = new Eu(20), Ru = (e, t, r) => {
|
|
|
2141
2141
|
console?.[e]?.apply?.(console, t);
|
|
2142
2142
|
}
|
|
2143
2143
|
};
|
|
2144
|
-
class
|
|
2144
|
+
class $r {
|
|
2145
2145
|
constructor(t) {
|
|
2146
2146
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2147
2147
|
this.init(t, r);
|
|
@@ -2174,17 +2174,17 @@ class Nr {
|
|
|
2174
2174
|
return s && !this.debug ? null : (K(t[0]) && (t[0] = `${n}${this.prefix} ${t[0]}`), this.logger[r](t));
|
|
2175
2175
|
}
|
|
2176
2176
|
create(t) {
|
|
2177
|
-
return new
|
|
2177
|
+
return new $r(this.logger, {
|
|
2178
2178
|
prefix: `${this.prefix}:${t}:`,
|
|
2179
2179
|
...this.options
|
|
2180
2180
|
});
|
|
2181
2181
|
}
|
|
2182
2182
|
clone(t) {
|
|
2183
|
-
return t = t || this.options, t.prefix = t.prefix || this.prefix, new
|
|
2183
|
+
return t = t || this.options, t.prefix = t.prefix || this.prefix, new $r(this.logger, t);
|
|
2184
2184
|
}
|
|
2185
2185
|
}
|
|
2186
|
-
var Le = new
|
|
2187
|
-
class
|
|
2186
|
+
var Le = new $r();
|
|
2187
|
+
class Ur {
|
|
2188
2188
|
constructor() {
|
|
2189
2189
|
this.observers = {};
|
|
2190
2190
|
}
|
|
@@ -2218,7 +2218,7 @@ class qr {
|
|
|
2218
2218
|
});
|
|
2219
2219
|
}
|
|
2220
2220
|
}
|
|
2221
|
-
class bs extends
|
|
2221
|
+
class bs extends Ur {
|
|
2222
2222
|
constructor(t) {
|
|
2223
2223
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
|
|
2224
2224
|
ns: ["translation"],
|
|
@@ -2239,7 +2239,7 @@ class bs extends qr {
|
|
|
2239
2239
|
let i;
|
|
2240
2240
|
t.indexOf(".") > -1 ? i = t.split(".") : (i = [t, r], n && (Array.isArray(n) ? i.push(...n) : K(n) && a ? i.push(...n.split(a)) : i.push(n)));
|
|
2241
2241
|
const c = Or(this.data, i);
|
|
2242
|
-
return !c && !r && !n && t.indexOf(".") > -1 && (t = i[0], r = i[1], n = i.slice(2).join(".")), c || !o || !K(n) ? c :
|
|
2242
|
+
return !c && !r && !n && t.indexOf(".") > -1 && (t = i[0], r = i[1], n = i.slice(2).join(".")), c || !o || !K(n) ? c : $n(this.data?.[t]?.[r], n, a);
|
|
2243
2243
|
}
|
|
2244
2244
|
addResource(t, r, n, s) {
|
|
2245
2245
|
let a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
@@ -2303,7 +2303,7 @@ var Mo = {
|
|
|
2303
2303
|
}
|
|
2304
2304
|
};
|
|
2305
2305
|
const ws = {}, Es = (e) => !K(e) && typeof e != "boolean" && typeof e != "number";
|
|
2306
|
-
class
|
|
2306
|
+
class Nr extends Ur {
|
|
2307
2307
|
constructor(t) {
|
|
2308
2308
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
2309
2309
|
super(), mu(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Le.create("translator");
|
|
@@ -2349,15 +2349,15 @@ class $r extends qr {
|
|
|
2349
2349
|
} = this.extractFromKey(t[t.length - 1], r), c = i[i.length - 1], l = r.lng || this.language, d = r.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
2350
2350
|
if (l?.toLowerCase() === "cimode") {
|
|
2351
2351
|
if (d) {
|
|
2352
|
-
const
|
|
2352
|
+
const q = r.nsSeparator || this.options.nsSeparator;
|
|
2353
2353
|
return s ? {
|
|
2354
|
-
res: `${c}${
|
|
2354
|
+
res: `${c}${q}${o}`,
|
|
2355
2355
|
usedKey: o,
|
|
2356
2356
|
exactUsedKey: o,
|
|
2357
2357
|
usedLng: l,
|
|
2358
2358
|
usedNS: c,
|
|
2359
2359
|
usedParams: this.getUsedParamsDetails(r)
|
|
2360
|
-
} : `${c}${
|
|
2360
|
+
} : `${c}${q}${o}`;
|
|
2361
2361
|
}
|
|
2362
2362
|
return s ? {
|
|
2363
2363
|
res: o,
|
|
@@ -2370,23 +2370,23 @@ class $r extends qr {
|
|
|
2370
2370
|
}
|
|
2371
2371
|
const m = this.resolve(t, r);
|
|
2372
2372
|
let y = m?.res;
|
|
2373
|
-
const S = m?.usedKey || o, v = m?.exactUsedKey || o, g = ["[object Number]", "[object Function]", "[object RegExp]"], f = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, p = !this.i18nFormat || this.i18nFormat.handleAsObject, u = r.count !== void 0 && !K(r.count), h =
|
|
2373
|
+
const S = m?.usedKey || o, v = m?.exactUsedKey || o, g = ["[object Number]", "[object Function]", "[object RegExp]"], f = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, p = !this.i18nFormat || this.i18nFormat.handleAsObject, u = r.count !== void 0 && !K(r.count), h = Nr.hasDefaultValue(r), w = u ? this.pluralResolver.getSuffix(l, r.count, r) : "", _ = r.ordinal && u ? this.pluralResolver.getSuffix(l, r.count, {
|
|
2374
2374
|
ordinal: !1
|
|
2375
2375
|
}) : "", E = u && !r.ordinal && r.count === 0, R = E && r[`defaultValue${this.options.pluralSeparator}zero`] || r[`defaultValue${w}`] || r[`defaultValue${_}`] || r.defaultValue;
|
|
2376
2376
|
let P = y;
|
|
2377
2377
|
p && !y && h && (P = R);
|
|
2378
|
-
const k = Es(P),
|
|
2379
|
-
if (p && P && k && g.indexOf(
|
|
2378
|
+
const k = Es(P), U = Object.prototype.toString.apply(P);
|
|
2379
|
+
if (p && P && k && g.indexOf(U) < 0 && !(K(f) && Array.isArray(P))) {
|
|
2380
2380
|
if (!r.returnObjects && !this.options.returnObjects) {
|
|
2381
2381
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
2382
|
-
const
|
|
2382
|
+
const q = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(S, P, {
|
|
2383
2383
|
...r,
|
|
2384
2384
|
ns: i
|
|
2385
2385
|
}) : `key '${o} (${this.language})' returned an object instead of string.`;
|
|
2386
|
-
return s ? (m.res =
|
|
2386
|
+
return s ? (m.res = q, m.usedParams = this.getUsedParamsDetails(r), m) : q;
|
|
2387
2387
|
}
|
|
2388
2388
|
if (a) {
|
|
2389
|
-
const
|
|
2389
|
+
const q = Array.isArray(P), j = q ? [] : {}, V = q ? v : S;
|
|
2390
2390
|
for (const W in P)
|
|
2391
2391
|
if (Object.prototype.hasOwnProperty.call(P, W)) {
|
|
2392
2392
|
const re = `${V}${a}${W}`;
|
|
@@ -2406,10 +2406,10 @@ class $r extends qr {
|
|
|
2406
2406
|
} else if (p && K(f) && Array.isArray(y))
|
|
2407
2407
|
y = y.join(f), y && (y = this.extendTranslation(y, t, r, n));
|
|
2408
2408
|
else {
|
|
2409
|
-
let
|
|
2410
|
-
!this.isValidLookup(y) && h && (
|
|
2409
|
+
let q = !1, j = !1;
|
|
2410
|
+
!this.isValidLookup(y) && h && (q = !0, y = R), this.isValidLookup(y) || (j = !0, y = o);
|
|
2411
2411
|
const W = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && j ? void 0 : y, re = h && R !== y && this.options.updateMissing;
|
|
2412
|
-
if (j ||
|
|
2412
|
+
if (j || q || re) {
|
|
2413
2413
|
if (this.logger.log(re ? "updateKey" : "missingKey", l, c, o, re ? R : y), a) {
|
|
2414
2414
|
const ce = this.resolve(o, {
|
|
2415
2415
|
...r,
|
|
@@ -2434,7 +2434,7 @@ class $r extends qr {
|
|
|
2434
2434
|
});
|
|
2435
2435
|
}) : J(ne, o, R));
|
|
2436
2436
|
}
|
|
2437
|
-
y = this.extendTranslation(y, t, r, m, n), j && y === o && this.options.appendNamespaceToMissingKey && (y = `${c}:${o}`), (j ||
|
|
2437
|
+
y = this.extendTranslation(y, t, r, m, n), j && y === o && this.options.appendNamespaceToMissingKey && (y = `${c}:${o}`), (j || q) && this.options.parseMissingKeyHandler && (y = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${c}:${o}` : o, q ? y : void 0));
|
|
2438
2438
|
}
|
|
2439
2439
|
return s ? (m.res = y, m.usedParams = this.getUsedParamsDetails(r), m) : y;
|
|
2440
2440
|
}
|
|
@@ -2681,7 +2681,7 @@ class Au {
|
|
|
2681
2681
|
}
|
|
2682
2682
|
const Ts = function(e, t, r) {
|
|
2683
2683
|
let n = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, a = vu(e, t, r);
|
|
2684
|
-
return !a && s && K(r) && (a =
|
|
2684
|
+
return !a && s && K(r) && (a = $n(e, r, n), a === void 0 && (a = $n(t, r, n))), a;
|
|
2685
2685
|
}, sn = (e) => e.replace(/\$/g, "$$$$");
|
|
2686
2686
|
class Ou {
|
|
2687
2687
|
constructor() {
|
|
@@ -2838,7 +2838,7 @@ const Pu = (e) => {
|
|
|
2838
2838
|
return i || (i = e(Pr(n), s), t[o] = i), i(r);
|
|
2839
2839
|
};
|
|
2840
2840
|
};
|
|
2841
|
-
class
|
|
2841
|
+
class $u {
|
|
2842
2842
|
constructor() {
|
|
2843
2843
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2844
2844
|
this.logger = Le.create("formatter"), this.options = t, this.formats = {
|
|
@@ -2918,10 +2918,10 @@ class Nu {
|
|
|
2918
2918
|
}, t);
|
|
2919
2919
|
}
|
|
2920
2920
|
}
|
|
2921
|
-
const
|
|
2921
|
+
const Nu = (e, t) => {
|
|
2922
2922
|
e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
|
|
2923
2923
|
};
|
|
2924
|
-
class Iu extends
|
|
2924
|
+
class Iu extends Ur {
|
|
2925
2925
|
constructor(t, r, n) {
|
|
2926
2926
|
let s = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
|
|
2927
2927
|
super(), this.backend = t, this.store = r, this.services = n, this.languageUtils = n.languageUtils, this.options = s, this.logger = Le.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = s.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = s.maxRetries >= 0 ? s.maxRetries : 5, this.retryTimeout = s.retryTimeout >= 1 ? s.retryTimeout : 350, this.state = {}, this.queue = [], this.backend?.init?.(n, s.backend, s);
|
|
@@ -2954,7 +2954,7 @@ class Iu extends qr {
|
|
|
2954
2954
|
}), this.state[t] = r ? -1 : 2, r && n && (this.state[t] = 0);
|
|
2955
2955
|
const i = {};
|
|
2956
2956
|
this.queue.forEach((c) => {
|
|
2957
|
-
yu(c.loaded, [a], o),
|
|
2957
|
+
yu(c.loaded, [a], o), Nu(c, t), r && c.errors.push(r), c.pendingCount === 0 && !c.done && (Object.keys(c.loaded).forEach((l) => {
|
|
2958
2958
|
i[l] || (i[l] = {});
|
|
2959
2959
|
const d = c.loaded[l];
|
|
2960
2960
|
d.length && d.forEach((m) => {
|
|
@@ -3118,7 +3118,7 @@ const As = () => ({
|
|
|
3118
3118
|
typeof e[r] == "function" && (e[r] = e[r].bind(e));
|
|
3119
3119
|
});
|
|
3120
3120
|
};
|
|
3121
|
-
class Rt extends
|
|
3121
|
+
class Rt extends Ur {
|
|
3122
3122
|
constructor() {
|
|
3123
3123
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
|
|
3124
3124
|
if (super(), this.options = Os(t), this.services = {}, this.logger = Le, this.modules = {
|
|
@@ -3148,7 +3148,7 @@ class Rt extends qr {
|
|
|
3148
3148
|
if (!this.options.isClone) {
|
|
3149
3149
|
this.modules.logger ? Le.init(a(this.modules.logger), this.options) : Le.init(null, this.options);
|
|
3150
3150
|
let d;
|
|
3151
|
-
this.modules.formatter ? d = this.modules.formatter : d =
|
|
3151
|
+
this.modules.formatter ? d = this.modules.formatter : d = $u;
|
|
3152
3152
|
const m = new _s(this.options);
|
|
3153
3153
|
this.store = new bs(this.options.resources, this.options);
|
|
3154
3154
|
const y = this.services;
|
|
@@ -3161,7 +3161,7 @@ class Rt extends qr {
|
|
|
3161
3161
|
for (var v = arguments.length, g = new Array(v > 1 ? v - 1 : 0), f = 1; f < v; f++)
|
|
3162
3162
|
g[f - 1] = arguments[f];
|
|
3163
3163
|
t.emit(S, ...g);
|
|
3164
|
-
}), this.modules.languageDetector && (y.languageDetector = a(this.modules.languageDetector), y.languageDetector.init && y.languageDetector.init(y, this.options.detection, this.options)), this.modules.i18nFormat && (y.i18nFormat = a(this.modules.i18nFormat), y.i18nFormat.init && y.i18nFormat.init(this)), this.translator = new
|
|
3164
|
+
}), this.modules.languageDetector && (y.languageDetector = a(this.modules.languageDetector), y.languageDetector.init && y.languageDetector.init(y, this.options.detection, this.options)), this.modules.i18nFormat && (y.i18nFormat = a(this.modules.i18nFormat), y.i18nFormat.init && y.i18nFormat.init(this)), this.translator = new Nr(this.services, this.options), this.translator.on("*", function(S) {
|
|
3165
3165
|
for (var v = arguments.length, g = new Array(v > 1 ? v - 1 : 0), f = 1; f < v; f++)
|
|
3166
3166
|
g[f - 1] = arguments[f];
|
|
3167
3167
|
t.emit(S, ...g);
|
|
@@ -3349,7 +3349,7 @@ class Rt extends qr {
|
|
|
3349
3349
|
}, d), {})), {});
|
|
3350
3350
|
a.store = new bs(i, s), a.services.resourceStore = a.store;
|
|
3351
3351
|
}
|
|
3352
|
-
return a.translator = new
|
|
3352
|
+
return a.translator = new Nr(a.services, s), a.translator.on("*", function(i) {
|
|
3353
3353
|
for (var c = arguments.length, l = new Array(c > 1 ? c - 1 : 0), d = 1; d < c; d++)
|
|
3354
3354
|
l[d - 1] = arguments[d];
|
|
3355
3355
|
a.emit(i, ...l);
|
|
@@ -3440,7 +3440,7 @@ const Ps = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xu = function(e, t) {
|
|
|
3440
3440
|
throw new TypeError("option sameSite is invalid");
|
|
3441
3441
|
}
|
|
3442
3442
|
return n.partitioned && (a += "; Partitioned"), a;
|
|
3443
|
-
},
|
|
3443
|
+
}, $s = {
|
|
3444
3444
|
create(e, t, r, n) {
|
|
3445
3445
|
let s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
|
|
3446
3446
|
path: "/",
|
|
@@ -3461,7 +3461,7 @@ const Ps = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, xu = function(e, t) {
|
|
|
3461
3461
|
this.create(e, "", -1, t);
|
|
3462
3462
|
}
|
|
3463
3463
|
};
|
|
3464
|
-
var
|
|
3464
|
+
var qu = {
|
|
3465
3465
|
name: "cookie",
|
|
3466
3466
|
// Deconstruct the options object and extract the lookupCookie property
|
|
3467
3467
|
lookup(e) {
|
|
@@ -3469,7 +3469,7 @@ var Uu = {
|
|
|
3469
3469
|
lookupCookie: t
|
|
3470
3470
|
} = e;
|
|
3471
3471
|
if (t && typeof document < "u")
|
|
3472
|
-
return
|
|
3472
|
+
return $s.read(t) || void 0;
|
|
3473
3473
|
},
|
|
3474
3474
|
// Deconstruct the options object and extract the lookupCookie, cookieMinutes, cookieDomain, and cookieOptions properties
|
|
3475
3475
|
cacheUserLanguage(e, t) {
|
|
@@ -3479,9 +3479,9 @@ var Uu = {
|
|
|
3479
3479
|
cookieDomain: s,
|
|
3480
3480
|
cookieOptions: a
|
|
3481
3481
|
} = t;
|
|
3482
|
-
r && typeof document < "u" &&
|
|
3482
|
+
r && typeof document < "u" && $s.create(r, e, n, s, a);
|
|
3483
3483
|
}
|
|
3484
|
-
},
|
|
3484
|
+
}, Uu = {
|
|
3485
3485
|
name: "querystring",
|
|
3486
3486
|
// Deconstruct the options object and extract the lookupQuerystring property
|
|
3487
3487
|
lookup(e) {
|
|
@@ -3533,7 +3533,7 @@ var Uu = {
|
|
|
3533
3533
|
}
|
|
3534
3534
|
};
|
|
3535
3535
|
let et = null;
|
|
3536
|
-
const
|
|
3536
|
+
const Ns = () => {
|
|
3537
3537
|
if (et !== null) return et;
|
|
3538
3538
|
try {
|
|
3539
3539
|
if (et = typeof window < "u" && window.localStorage !== null, !et)
|
|
@@ -3552,7 +3552,7 @@ var Fu = {
|
|
|
3552
3552
|
let {
|
|
3553
3553
|
lookupLocalStorage: t
|
|
3554
3554
|
} = e;
|
|
3555
|
-
if (t &&
|
|
3555
|
+
if (t && Ns())
|
|
3556
3556
|
return window.localStorage.getItem(t) || void 0;
|
|
3557
3557
|
},
|
|
3558
3558
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
@@ -3560,7 +3560,7 @@ var Fu = {
|
|
|
3560
3560
|
let {
|
|
3561
3561
|
lookupLocalStorage: r
|
|
3562
3562
|
} = t;
|
|
3563
|
-
r &&
|
|
3563
|
+
r && Ns() && window.localStorage.setItem(r, e);
|
|
3564
3564
|
}
|
|
3565
3565
|
};
|
|
3566
3566
|
let tt = null;
|
|
@@ -3645,10 +3645,10 @@ try {
|
|
|
3645
3645
|
document.cookie, xo = !0;
|
|
3646
3646
|
} catch {
|
|
3647
3647
|
}
|
|
3648
|
-
const
|
|
3649
|
-
xo ||
|
|
3648
|
+
const qo = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
3649
|
+
xo || qo.splice(1, 1);
|
|
3650
3650
|
const Gu = () => ({
|
|
3651
|
-
order:
|
|
3651
|
+
order: qo,
|
|
3652
3652
|
lookupQuerystring: "lng",
|
|
3653
3653
|
lookupCookie: "i18next",
|
|
3654
3654
|
lookupLocalStorage: "i18nextLng",
|
|
@@ -3660,7 +3660,7 @@ const Gu = () => ({
|
|
|
3660
3660
|
// cookieDomain: 'myDomain'
|
|
3661
3661
|
convertDetectedLanguage: (e) => e
|
|
3662
3662
|
});
|
|
3663
|
-
class
|
|
3663
|
+
class Uo {
|
|
3664
3664
|
constructor(t) {
|
|
3665
3665
|
let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
3666
3666
|
this.type = "languageDetector", this.detectors = {}, this.init(t, r);
|
|
@@ -3669,7 +3669,7 @@ class qo {
|
|
|
3669
3669
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
3670
3670
|
languageUtils: {}
|
|
3671
3671
|
}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
3672
|
-
this.services = t, this.options = ku(r, this.options || {}, Gu()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (s) => s.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(
|
|
3672
|
+
this.services = t, this.options = ku(r, this.options || {}, Gu()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (s) => s.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = n, this.addDetector(qu), this.addDetector(Uu), this.addDetector(Fu), this.addDetector(Vu), this.addDetector(Hu), this.addDetector(Bu), this.addDetector(Wu), this.addDetector(zu), this.addDetector(ju);
|
|
3673
3673
|
}
|
|
3674
3674
|
addDetector(t) {
|
|
3675
3675
|
return this.detectors[t.name] = t, this;
|
|
@@ -3690,8 +3690,8 @@ class qo {
|
|
|
3690
3690
|
}));
|
|
3691
3691
|
}
|
|
3692
3692
|
}
|
|
3693
|
-
|
|
3694
|
-
const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/openmrs/ws/rest/v1", Yu = "/openmrs/ws/rest/v2", Ju = "bahmni.user",
|
|
3693
|
+
Uo.type = "languageDetector";
|
|
3694
|
+
const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/openmrs/ws/rest/v1", Yu = "/openmrs/ws/rest/v2", Ju = "bahmni.user", cv = "/bahmni/home/index.html", Xu = ee + "/bahmnicore/whoami", jo = ee + "/bahmnicore/sql", Qu = "en", Fo = "NG_TRANSLATE_LANG_KEY", Zu = (e, t) => Ku + `${e}/locales/locale_${t}.json`, el = (e, t) => `/bahmni_config/openmrs/i18n/${e}/locale_${t}.json`, It = () => localStorage.getItem(Fo) ?? Qu, Ds = async (e) => {
|
|
3695
3695
|
try {
|
|
3696
3696
|
const t = await z(e);
|
|
3697
3697
|
return t || (console.error(`Invalid response from ${e}`), {});
|
|
@@ -3715,7 +3715,7 @@ const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/op
|
|
|
3715
3715
|
}, e !== "en" && (r.en = {
|
|
3716
3716
|
[t]: await Cs(t, "en")
|
|
3717
3717
|
}), r;
|
|
3718
|
-
},
|
|
3718
|
+
}, uv = (e, t) => {
|
|
3719
3719
|
const r = e.toUpperCase(), n = t.toUpperCase().replace(/\s+/g, "_").replace(/[^A-Z0-9_]/g, "");
|
|
3720
3720
|
return `${r}_${n}`;
|
|
3721
3721
|
}, rl = (e, t) => {
|
|
@@ -3732,9 +3732,9 @@ const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/op
|
|
|
3732
3732
|
labels: n.labels ?? {},
|
|
3733
3733
|
concepts: n.concepts ?? {}
|
|
3734
3734
|
};
|
|
3735
|
-
},
|
|
3735
|
+
}, lv = async (e) => {
|
|
3736
3736
|
const t = It(), r = await tl(t, e);
|
|
3737
|
-
return await ie.use(
|
|
3737
|
+
return await ie.use(Uo).use(Ri).init({
|
|
3738
3738
|
fallbackLng: "en",
|
|
3739
3739
|
ns: [e],
|
|
3740
3740
|
defaultNS: e,
|
|
@@ -3751,7 +3751,7 @@ const Ku = process.env.PUBLIC_URL ?? "/", pe = "/openmrs/ws/fhir2/R4", ee = "/op
|
|
|
3751
3751
|
}
|
|
3752
3752
|
}), ie;
|
|
3753
3753
|
};
|
|
3754
|
-
function
|
|
3754
|
+
function dv() {
|
|
3755
3755
|
const e = _n(null), t = _n(null), r = Xr(async () => {
|
|
3756
3756
|
t.current && (t.current.getTracks().forEach((o) => o.stop()), t.current = null);
|
|
3757
3757
|
const a = await navigator.mediaDevices.getUserMedia({
|
|
@@ -3775,22 +3775,22 @@ function lv() {
|
|
|
3775
3775
|
return Sn(() => () => n(), [n]), { videoRef: e, start: r, stop: n, capture: s };
|
|
3776
3776
|
}
|
|
3777
3777
|
const nl = "bahmni.enableAuditLog", Vo = (e) => `${ee}/bahmnicore/sql/globalproperty?property=${e}`, Ho = 6048e5, sl = 864e5, Bo = 6e4, Wo = 36e5, Ls = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
3778
|
-
function
|
|
3778
|
+
function $e(e, t) {
|
|
3779
3779
|
return typeof e == "function" ? e(t) : e && typeof e == "object" && Ls in e ? e[Ls](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
|
|
3780
3780
|
}
|
|
3781
3781
|
function fe(e, t) {
|
|
3782
|
-
return
|
|
3782
|
+
return $e(t || e, e);
|
|
3783
3783
|
}
|
|
3784
3784
|
function zo(e, t, r) {
|
|
3785
3785
|
const n = fe(e, r?.in);
|
|
3786
|
-
return isNaN(t) ?
|
|
3786
|
+
return isNaN(t) ? $e(e, NaN) : (t && n.setDate(n.getDate() + t), n);
|
|
3787
3787
|
}
|
|
3788
3788
|
function jr(e, t, r) {
|
|
3789
3789
|
const n = fe(e, r?.in);
|
|
3790
|
-
if (isNaN(t)) return
|
|
3790
|
+
if (isNaN(t)) return $e(e, NaN);
|
|
3791
3791
|
if (!t)
|
|
3792
3792
|
return n;
|
|
3793
|
-
const s = n.getDate(), a =
|
|
3793
|
+
const s = n.getDate(), a = $e(e, n.getTime());
|
|
3794
3794
|
a.setMonth(n.getMonth() + t + 1, 0);
|
|
3795
3795
|
const o = a.getDate();
|
|
3796
3796
|
return s >= o ? a : (n.setFullYear(
|
|
@@ -3811,9 +3811,9 @@ function Ir(e, t) {
|
|
|
3811
3811
|
return Tt(e, { ...t, weekStartsOn: 1 });
|
|
3812
3812
|
}
|
|
3813
3813
|
function Go(e, t) {
|
|
3814
|
-
const r = fe(e, t?.in), n = r.getFullYear(), s =
|
|
3814
|
+
const r = fe(e, t?.in), n = r.getFullYear(), s = $e(r, 0);
|
|
3815
3815
|
s.setFullYear(n + 1, 0, 4), s.setHours(0, 0, 0, 0);
|
|
3816
|
-
const a = Ir(s), o =
|
|
3816
|
+
const a = Ir(s), o = $e(r, 0);
|
|
3817
3817
|
o.setFullYear(n, 0, 4), o.setHours(0, 0, 0, 0);
|
|
3818
3818
|
const i = Ir(o);
|
|
3819
3819
|
return r.getTime() >= a.getTime() ? n + 1 : r.getTime() >= i.getTime() ? n : n - 1;
|
|
@@ -3833,7 +3833,7 @@ function ks(e) {
|
|
|
3833
3833
|
return r.setUTCFullYear(t.getFullYear()), +e - +r;
|
|
3834
3834
|
}
|
|
3835
3835
|
function pt(e, ...t) {
|
|
3836
|
-
const r =
|
|
3836
|
+
const r = $e.bind(
|
|
3837
3837
|
null,
|
|
3838
3838
|
t.find((n) => typeof n == "object")
|
|
3839
3839
|
);
|
|
@@ -3852,7 +3852,7 @@ function Ko(e, t, r) {
|
|
|
3852
3852
|
return Math.round((i - c) / sl);
|
|
3853
3853
|
}
|
|
3854
3854
|
function ol(e, t) {
|
|
3855
|
-
const r = Go(e, t), n =
|
|
3855
|
+
const r = Go(e, t), n = $e(e, 0);
|
|
3856
3856
|
return n.setFullYear(r, 0, 4), n.setHours(0, 0, 0, 0), Ir(n);
|
|
3857
3857
|
}
|
|
3858
3858
|
function jn(e, t, r) {
|
|
@@ -3884,7 +3884,7 @@ function ul(e, t, r) {
|
|
|
3884
3884
|
);
|
|
3885
3885
|
return n.getFullYear() - s.getFullYear();
|
|
3886
3886
|
}
|
|
3887
|
-
function
|
|
3887
|
+
function Nn(e, t, r) {
|
|
3888
3888
|
const [n, s] = pt(
|
|
3889
3889
|
r?.in,
|
|
3890
3890
|
e,
|
|
@@ -4257,7 +4257,7 @@ function Vr(e) {
|
|
|
4257
4257
|
return { value: o, rest: i };
|
|
4258
4258
|
};
|
|
4259
4259
|
}
|
|
4260
|
-
const
|
|
4260
|
+
const $l = /^(\d+)(th|st|nd|rd)?/i, Nl = /\d+/i, Il = {
|
|
4261
4261
|
narrow: /^(b|a)/i,
|
|
4262
4262
|
abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
|
|
4263
4263
|
wide: /^(before christ|before common era|anno domini|common era)/i
|
|
@@ -4307,10 +4307,10 @@ const Nl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, Il = {
|
|
|
4307
4307
|
short: /^(su|mo|tu|we|th|fr|sa)/i,
|
|
4308
4308
|
abbreviated: /^(sun|mon|tue|wed|thu|fri|sat)/i,
|
|
4309
4309
|
wide: /^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i
|
|
4310
|
-
},
|
|
4310
|
+
}, ql = {
|
|
4311
4311
|
narrow: [/^s/i, /^m/i, /^t/i, /^w/i, /^t/i, /^f/i, /^s/i],
|
|
4312
4312
|
any: [/^su/i, /^m/i, /^tu/i, /^w/i, /^th/i, /^f/i, /^sa/i]
|
|
4313
|
-
},
|
|
4313
|
+
}, Ul = {
|
|
4314
4314
|
narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
|
|
4315
4315
|
any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
|
|
4316
4316
|
}, jl = {
|
|
@@ -4326,8 +4326,8 @@ const Nl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, Il = {
|
|
|
4326
4326
|
}
|
|
4327
4327
|
}, Qo = {
|
|
4328
4328
|
ordinalNumber: Vr({
|
|
4329
|
-
matchPattern:
|
|
4330
|
-
parsePattern:
|
|
4329
|
+
matchPattern: $l,
|
|
4330
|
+
parsePattern: Nl,
|
|
4331
4331
|
valueCallback: (e) => parseInt(e, 10)
|
|
4332
4332
|
}),
|
|
4333
4333
|
era: de({
|
|
@@ -4352,11 +4352,11 @@ const Nl = /^(\d+)(th|st|nd|rd)?/i, $l = /\d+/i, Il = {
|
|
|
4352
4352
|
day: de({
|
|
4353
4353
|
matchPatterns: xl,
|
|
4354
4354
|
defaultMatchWidth: "wide",
|
|
4355
|
-
parsePatterns:
|
|
4355
|
+
parsePatterns: ql,
|
|
4356
4356
|
defaultParseWidth: "any"
|
|
4357
4357
|
}),
|
|
4358
4358
|
dayPeriod: de({
|
|
4359
|
-
matchPatterns:
|
|
4359
|
+
matchPatterns: Ul,
|
|
4360
4360
|
defaultMatchWidth: "any",
|
|
4361
4361
|
parsePatterns: jl,
|
|
4362
4362
|
defaultParseWidth: "any"
|
|
@@ -4382,15 +4382,15 @@ function Vl(e, t) {
|
|
|
4382
4382
|
return Math.round(n / Ho) + 1;
|
|
4383
4383
|
}
|
|
4384
4384
|
function ei(e, t) {
|
|
4385
|
-
const r = fe(e, t?.in), n = r.getFullYear(), s = Fr(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? s.firstWeekContainsDate ?? s.locale?.options?.firstWeekContainsDate ?? 1, o =
|
|
4385
|
+
const r = fe(e, t?.in), n = r.getFullYear(), s = Fr(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? s.firstWeekContainsDate ?? s.locale?.options?.firstWeekContainsDate ?? 1, o = $e(t?.in || e, 0);
|
|
4386
4386
|
o.setFullYear(n + 1, 0, a), o.setHours(0, 0, 0, 0);
|
|
4387
|
-
const i = Tt(o, t), c =
|
|
4387
|
+
const i = Tt(o, t), c = $e(t?.in || e, 0);
|
|
4388
4388
|
c.setFullYear(n, 0, a), c.setHours(0, 0, 0, 0);
|
|
4389
4389
|
const l = Tt(c, t);
|
|
4390
4390
|
return +r >= +i ? n + 1 : +r >= +l ? n : n - 1;
|
|
4391
4391
|
}
|
|
4392
4392
|
function Hl(e, t) {
|
|
4393
|
-
const r = Fr(), n = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, s = ei(e, t), a =
|
|
4393
|
+
const r = Fr(), n = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, s = ei(e, t), a = $e(t?.in || e, 0);
|
|
4394
4394
|
return a.setFullYear(s, 0, n), a.setHours(0, 0, 0, 0), Tt(a, t);
|
|
4395
4395
|
}
|
|
4396
4396
|
function Bl(e, t) {
|
|
@@ -4401,7 +4401,7 @@ function oe(e, t) {
|
|
|
4401
4401
|
const r = e < 0 ? "-" : "", n = Math.abs(e).toString().padStart(t, "0");
|
|
4402
4402
|
return r + n;
|
|
4403
4403
|
}
|
|
4404
|
-
const
|
|
4404
|
+
const Ue = {
|
|
4405
4405
|
// Year
|
|
4406
4406
|
y(e, t) {
|
|
4407
4407
|
const r = e.getFullYear(), n = r > 0 ? r : 1 - r;
|
|
@@ -4461,7 +4461,7 @@ const qe = {
|
|
|
4461
4461
|
afternoon: "afternoon",
|
|
4462
4462
|
evening: "evening",
|
|
4463
4463
|
night: "night"
|
|
4464
|
-
},
|
|
4464
|
+
}, qs = {
|
|
4465
4465
|
// Era
|
|
4466
4466
|
G: function(e, t, r) {
|
|
4467
4467
|
const n = e.getFullYear() > 0 ? 1 : 0;
|
|
@@ -4484,7 +4484,7 @@ const qe = {
|
|
|
4484
4484
|
const n = e.getFullYear(), s = n > 0 ? n : 1 - n;
|
|
4485
4485
|
return r.ordinalNumber(s, { unit: "year" });
|
|
4486
4486
|
}
|
|
4487
|
-
return
|
|
4487
|
+
return Ue.y(e, t);
|
|
4488
4488
|
},
|
|
4489
4489
|
// Local week-numbering year
|
|
4490
4490
|
Y: function(e, t, r, n) {
|
|
@@ -4583,7 +4583,7 @@ const qe = {
|
|
|
4583
4583
|
switch (t) {
|
|
4584
4584
|
case "M":
|
|
4585
4585
|
case "MM":
|
|
4586
|
-
return
|
|
4586
|
+
return Ue.M(e, t);
|
|
4587
4587
|
// 1st, 2nd, ..., 12th
|
|
4588
4588
|
case "Mo":
|
|
4589
4589
|
return r.ordinalNumber(n + 1, { unit: "month" });
|
|
@@ -4644,7 +4644,7 @@ const qe = {
|
|
|
4644
4644
|
},
|
|
4645
4645
|
// Day of the month
|
|
4646
4646
|
d: function(e, t, r) {
|
|
4647
|
-
return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) :
|
|
4647
|
+
return t === "do" ? r.ordinalNumber(e.getDate(), { unit: "date" }) : Ue.d(e, t);
|
|
4648
4648
|
},
|
|
4649
4649
|
// Day of year
|
|
4650
4650
|
D: function(e, t, r) {
|
|
@@ -4879,11 +4879,11 @@ const qe = {
|
|
|
4879
4879
|
let n = e.getHours() % 12;
|
|
4880
4880
|
return n === 0 && (n = 12), r.ordinalNumber(n, { unit: "hour" });
|
|
4881
4881
|
}
|
|
4882
|
-
return
|
|
4882
|
+
return Ue.h(e, t);
|
|
4883
4883
|
},
|
|
4884
4884
|
// Hour [0-23]
|
|
4885
4885
|
H: function(e, t, r) {
|
|
4886
|
-
return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) :
|
|
4886
|
+
return t === "Ho" ? r.ordinalNumber(e.getHours(), { unit: "hour" }) : Ue.H(e, t);
|
|
4887
4887
|
},
|
|
4888
4888
|
// Hour [0-11]
|
|
4889
4889
|
K: function(e, t, r) {
|
|
@@ -4897,15 +4897,15 @@ const qe = {
|
|
|
4897
4897
|
},
|
|
4898
4898
|
// Minute
|
|
4899
4899
|
m: function(e, t, r) {
|
|
4900
|
-
return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) :
|
|
4900
|
+
return t === "mo" ? r.ordinalNumber(e.getMinutes(), { unit: "minute" }) : Ue.m(e, t);
|
|
4901
4901
|
},
|
|
4902
4902
|
// Second
|
|
4903
4903
|
s: function(e, t, r) {
|
|
4904
|
-
return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) :
|
|
4904
|
+
return t === "so" ? r.ordinalNumber(e.getSeconds(), { unit: "second" }) : Ue.s(e, t);
|
|
4905
4905
|
},
|
|
4906
4906
|
// Fraction of second
|
|
4907
4907
|
S: function(e, t) {
|
|
4908
|
-
return
|
|
4908
|
+
return Ue.S(e, t);
|
|
4909
4909
|
},
|
|
4910
4910
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
4911
4911
|
X: function(e, t, r) {
|
|
@@ -4953,7 +4953,7 @@ const qe = {
|
|
|
4953
4953
|
case "O":
|
|
4954
4954
|
case "OO":
|
|
4955
4955
|
case "OOO":
|
|
4956
|
-
return "GMT" +
|
|
4956
|
+
return "GMT" + Us(n, ":");
|
|
4957
4957
|
default:
|
|
4958
4958
|
return "GMT" + ze(n, ":");
|
|
4959
4959
|
}
|
|
@@ -4966,7 +4966,7 @@ const qe = {
|
|
|
4966
4966
|
case "z":
|
|
4967
4967
|
case "zz":
|
|
4968
4968
|
case "zzz":
|
|
4969
|
-
return "GMT" +
|
|
4969
|
+
return "GMT" + Us(n, ":");
|
|
4970
4970
|
default:
|
|
4971
4971
|
return "GMT" + ze(n, ":");
|
|
4972
4972
|
}
|
|
@@ -4981,7 +4981,7 @@ const qe = {
|
|
|
4981
4981
|
return oe(+e, t.length);
|
|
4982
4982
|
}
|
|
4983
4983
|
};
|
|
4984
|
-
function
|
|
4984
|
+
function Us(e, t = "") {
|
|
4985
4985
|
const r = e > 0 ? "-" : "+", n = Math.abs(e), s = Math.trunc(n / 60), a = n % 60;
|
|
4986
4986
|
return a === 0 ? r + String(s) : r + String(s) + t + oe(a, 2);
|
|
4987
4987
|
}
|
|
@@ -5070,7 +5070,7 @@ function ad(e, t, r) {
|
|
|
5070
5070
|
const m = d[0];
|
|
5071
5071
|
if (m === "'")
|
|
5072
5072
|
return { isToken: !1, value: od(d) };
|
|
5073
|
-
if (
|
|
5073
|
+
if (qs[m])
|
|
5074
5074
|
return { isToken: !0, value: d };
|
|
5075
5075
|
if (m.match(sd))
|
|
5076
5076
|
throw new RangeError(
|
|
@@ -5088,7 +5088,7 @@ function ad(e, t, r) {
|
|
|
5088
5088
|
if (!d.isToken) return d.value;
|
|
5089
5089
|
const m = d.value;
|
|
5090
5090
|
(!r?.useAdditionalWeekYearTokens && Xl(m) || !r?.useAdditionalDayOfYearTokens && Jl(m)) && Ql(m, t, String(e));
|
|
5091
|
-
const y =
|
|
5091
|
+
const y = qs[m[0]];
|
|
5092
5092
|
return y(i, m, s.localize, l);
|
|
5093
5093
|
}).join("");
|
|
5094
5094
|
}
|
|
@@ -5100,7 +5100,7 @@ function id(e, t, r) {
|
|
|
5100
5100
|
return zo(e, -t, r);
|
|
5101
5101
|
}
|
|
5102
5102
|
function ri(e, t) {
|
|
5103
|
-
const r = () =>
|
|
5103
|
+
const r = () => $e(t?.in, NaN), s = dd(e);
|
|
5104
5104
|
let a;
|
|
5105
5105
|
if (s.date) {
|
|
5106
5106
|
const l = fd(s.date, 2);
|
|
@@ -5398,7 +5398,7 @@ const Vs = {
|
|
|
5398
5398
|
long: "{{date}} 'um' {{time}}",
|
|
5399
5399
|
medium: "{{date}} {{time}}",
|
|
5400
5400
|
short: "{{date}} {{time}}"
|
|
5401
|
-
},
|
|
5401
|
+
}, $d = {
|
|
5402
5402
|
date: we({
|
|
5403
5403
|
formats: Ad,
|
|
5404
5404
|
defaultWidth: "full"
|
|
@@ -5411,14 +5411,14 @@ const Vs = {
|
|
|
5411
5411
|
formats: Pd,
|
|
5412
5412
|
defaultWidth: "full"
|
|
5413
5413
|
})
|
|
5414
|
-
},
|
|
5414
|
+
}, Nd = {
|
|
5415
5415
|
lastWeek: "'letzten' eeee 'um' p",
|
|
5416
5416
|
yesterday: "'gestern um' p",
|
|
5417
5417
|
today: "'heute um' p",
|
|
5418
5418
|
tomorrow: "'morgen um' p",
|
|
5419
5419
|
nextWeek: "eeee 'um' p",
|
|
5420
5420
|
other: "P"
|
|
5421
|
-
}, Id = (e, t, r, n) =>
|
|
5421
|
+
}, Id = (e, t, r, n) => Nd[e], Dd = {
|
|
5422
5422
|
narrow: ["v.Chr.", "n.Chr."],
|
|
5423
5423
|
abbreviated: ["v.Chr.", "n.Chr."],
|
|
5424
5424
|
wide: ["vor Christus", "nach Christus"]
|
|
@@ -5548,8 +5548,8 @@ const Vs = {
|
|
|
5548
5548
|
evening: "abends",
|
|
5549
5549
|
night: "nachts"
|
|
5550
5550
|
}
|
|
5551
|
-
},
|
|
5552
|
-
ordinalNumber:
|
|
5551
|
+
}, qd = (e) => Number(e) + ".", Ud = {
|
|
5552
|
+
ordinalNumber: qd,
|
|
5553
5553
|
era: le({
|
|
5554
5554
|
values: Dd,
|
|
5555
5555
|
defaultWidth: "wide"
|
|
@@ -5683,9 +5683,9 @@ const Vs = {
|
|
|
5683
5683
|
}, Hs = {
|
|
5684
5684
|
code: "de",
|
|
5685
5685
|
formatDistance: Td,
|
|
5686
|
-
formatLong:
|
|
5686
|
+
formatLong: $d,
|
|
5687
5687
|
formatRelative: Id,
|
|
5688
|
-
localize:
|
|
5688
|
+
localize: Ud,
|
|
5689
5689
|
match: Qd,
|
|
5690
5690
|
options: {
|
|
5691
5691
|
weekStartsOn: 1,
|
|
@@ -6025,12 +6025,12 @@ const Vs = {
|
|
|
6025
6025
|
/^nov/i,
|
|
6026
6026
|
/^dic/i
|
|
6027
6027
|
]
|
|
6028
|
-
},
|
|
6028
|
+
}, $f = {
|
|
6029
6029
|
narrow: /^[dlmjvs]/i,
|
|
6030
6030
|
short: /^(do|lu|ma|mi|ju|vi|s[áa])/i,
|
|
6031
6031
|
abbreviated: /^(dom|lun|mar|mi[ée]|jue|vie|s[áa]b)/i,
|
|
6032
6032
|
wide: /^(domingo|lunes|martes|mi[ée]rcoles|jueves|viernes|s[áa]bado)/i
|
|
6033
|
-
},
|
|
6033
|
+
}, Nf = {
|
|
6034
6034
|
narrow: [/^d/i, /^l/i, /^m/i, /^m/i, /^j/i, /^v/i, /^s/i],
|
|
6035
6035
|
any: [/^do/i, /^lu/i, /^ma/i, /^mi/i, /^ju/i, /^vi/i, /^sa/i]
|
|
6036
6036
|
}, If = {
|
|
@@ -6075,9 +6075,9 @@ const Vs = {
|
|
|
6075
6075
|
defaultParseWidth: "any"
|
|
6076
6076
|
}),
|
|
6077
6077
|
day: de({
|
|
6078
|
-
matchPatterns:
|
|
6078
|
+
matchPatterns: $f,
|
|
6079
6079
|
defaultMatchWidth: "wide",
|
|
6080
|
-
parsePatterns:
|
|
6080
|
+
parsePatterns: Nf,
|
|
6081
6081
|
defaultParseWidth: "any"
|
|
6082
6082
|
}),
|
|
6083
6083
|
dayPeriod: de({
|
|
@@ -6173,12 +6173,12 @@ const Vs = {
|
|
|
6173
6173
|
long: "HH:mm:ss z",
|
|
6174
6174
|
medium: "HH:mm:ss",
|
|
6175
6175
|
short: "HH:mm"
|
|
6176
|
-
},
|
|
6176
|
+
}, qf = {
|
|
6177
6177
|
full: "{{date}} 'à' {{time}}",
|
|
6178
6178
|
long: "{{date}} 'à' {{time}}",
|
|
6179
6179
|
medium: "{{date}}, {{time}}",
|
|
6180
6180
|
short: "{{date}}, {{time}}"
|
|
6181
|
-
},
|
|
6181
|
+
}, Uf = {
|
|
6182
6182
|
date: we({
|
|
6183
6183
|
formats: Mf,
|
|
6184
6184
|
defaultWidth: "full"
|
|
@@ -6188,7 +6188,7 @@ const Vs = {
|
|
|
6188
6188
|
defaultWidth: "full"
|
|
6189
6189
|
}),
|
|
6190
6190
|
dateTime: we({
|
|
6191
|
-
formats:
|
|
6191
|
+
formats: qf,
|
|
6192
6192
|
defaultWidth: "full"
|
|
6193
6193
|
})
|
|
6194
6194
|
}, jf = {
|
|
@@ -6421,7 +6421,7 @@ const Vs = {
|
|
|
6421
6421
|
}, zs = {
|
|
6422
6422
|
code: "fr",
|
|
6423
6423
|
formatDistance: kf,
|
|
6424
|
-
formatLong:
|
|
6424
|
+
formatLong: Uf,
|
|
6425
6425
|
formatRelative: Ff,
|
|
6426
6426
|
localize: Yf,
|
|
6427
6427
|
match: cp,
|
|
@@ -6429,7 +6429,7 @@ const Vs = {
|
|
|
6429
6429
|
weekStartsOn: 1,
|
|
6430
6430
|
firstWeekContainsDate: 4
|
|
6431
6431
|
}
|
|
6432
|
-
}, up = "dd/MM/yyyy",
|
|
6432
|
+
}, up = "dd/MM/yyyy", fv = "MMMM dd, yyyy", pv = "do MMM, yyyy", lp = "dd/MM/yyyy HH:mm", hv = "yyyy-MM-dd", mv = "d/m/Y", Pe = {
|
|
6433
6433
|
PARSE_ERROR: "DATE_ERROR_PARSE",
|
|
6434
6434
|
FORMAT_ERROR: "DATE_ERROR_FORMAT",
|
|
6435
6435
|
EMPTY_OR_INVALID: "DATE_ERROR_EMPTY_OR_INVALID",
|
|
@@ -6457,7 +6457,7 @@ function fp(e) {
|
|
|
6457
6457
|
if (!Dt(t)) return null;
|
|
6458
6458
|
const r = /* @__PURE__ */ new Date();
|
|
6459
6459
|
if (t > r) return null;
|
|
6460
|
-
const n = Vn(r, t), s = jn(t, n), a = Fn(r, s), o = jr(s, a), i =
|
|
6460
|
+
const n = Vn(r, t), s = jn(t, n), a = Fn(r, s), o = jr(s, a), i = Nn(r, o);
|
|
6461
6461
|
return { years: n, months: a, days: i };
|
|
6462
6462
|
}
|
|
6463
6463
|
function si(e, t) {
|
|
@@ -6509,13 +6509,13 @@ function ai(e, t, r) {
|
|
|
6509
6509
|
const s = dp();
|
|
6510
6510
|
return { formattedResult: ad(n, t, { locale: s }) };
|
|
6511
6511
|
}
|
|
6512
|
-
function
|
|
6512
|
+
function gv(e, t) {
|
|
6513
6513
|
return ai(e, lp, t);
|
|
6514
6514
|
}
|
|
6515
|
-
function
|
|
6515
|
+
function yv(e, t, r = up) {
|
|
6516
6516
|
return ai(e, r, t);
|
|
6517
6517
|
}
|
|
6518
|
-
function
|
|
6518
|
+
function vv(e, t, r) {
|
|
6519
6519
|
if (!e || !Dt(e) || t === null || t === void 0 || !r || typeof t != "number")
|
|
6520
6520
|
return;
|
|
6521
6521
|
const n = new Date(e);
|
|
@@ -6530,7 +6530,7 @@ function yv(e, t, r) {
|
|
|
6530
6530
|
return;
|
|
6531
6531
|
}
|
|
6532
6532
|
}
|
|
6533
|
-
function
|
|
6533
|
+
function bv(e, t) {
|
|
6534
6534
|
if (e == null)
|
|
6535
6535
|
return {
|
|
6536
6536
|
formattedResult: "",
|
|
@@ -6582,11 +6582,11 @@ function vv(e, t) {
|
|
|
6582
6582
|
}
|
|
6583
6583
|
return { formattedResult: c };
|
|
6584
6584
|
}
|
|
6585
|
-
const
|
|
6585
|
+
const wv = () => {
|
|
6586
6586
|
const e = /* @__PURE__ */ new Date();
|
|
6587
6587
|
return e.setHours(0, 0, 0, 0), e;
|
|
6588
6588
|
};
|
|
6589
|
-
function
|
|
6589
|
+
function Ev(e, t) {
|
|
6590
6590
|
const r = new Date(e), s = new Intl.DateTimeFormat("en-US", {
|
|
6591
6591
|
day: "2-digit",
|
|
6592
6592
|
month: "short",
|
|
@@ -6602,10 +6602,10 @@ function wv(e, t) {
|
|
|
6602
6602
|
}
|
|
6603
6603
|
return c;
|
|
6604
6604
|
}
|
|
6605
|
-
function
|
|
6606
|
-
const r = new Date(e), n = /* @__PURE__ */ new Date(), s = Vn(n, r), a = jn(r, s), o = Fn(n, a), i = jr(a, o), c =
|
|
6605
|
+
function _v(e, t) {
|
|
6606
|
+
const r = new Date(e), n = /* @__PURE__ */ new Date(), s = Vn(n, r), a = jn(r, s), o = Fn(n, a), i = jr(a, o), c = Nn(n, i);
|
|
6607
6607
|
if (s === 0 && o < 3) {
|
|
6608
|
-
const m =
|
|
6608
|
+
const m = Nn(n, r);
|
|
6609
6609
|
if (!t)
|
|
6610
6610
|
return `${m} days`;
|
|
6611
6611
|
const y = t("REGISTRATION_DAYS_SHORT", { count: m });
|
|
@@ -6625,14 +6625,14 @@ const pp = {
|
|
|
6625
6625
|
h: 1 / 24,
|
|
6626
6626
|
min: 1 / 1440,
|
|
6627
6627
|
s: 1 / 86400
|
|
6628
|
-
},
|
|
6628
|
+
}, Sv = (e, t, r) => {
|
|
6629
6629
|
const n = typeof e == "string" ? new Date(e) : e;
|
|
6630
6630
|
if (isNaN(n.getTime()))
|
|
6631
6631
|
throw new Error(`Invalid date: ${e}`);
|
|
6632
6632
|
const s = pp[r] ?? 1, a = t * s;
|
|
6633
6633
|
return zo(n, a);
|
|
6634
|
-
},
|
|
6635
|
-
function
|
|
6634
|
+
}, Rv = (e, t, r, n) => e <= n && r <= t;
|
|
6635
|
+
function Tv(e, t, r = !1) {
|
|
6636
6636
|
return !e || !Array.isArray(e) ? [] : e.sort((n, s) => {
|
|
6637
6637
|
const a = new Date(n[t]), o = new Date(s[t]);
|
|
6638
6638
|
if (isNaN(a.getTime()) && isNaN(o.getTime())) return 0;
|
|
@@ -6642,11 +6642,11 @@ function Rv(e, t, r = !1) {
|
|
|
6642
6642
|
return r ? i : -i;
|
|
6643
6643
|
});
|
|
6644
6644
|
}
|
|
6645
|
-
const
|
|
6645
|
+
const Av = async (e, t, r) => {
|
|
6646
6646
|
const { exact: n = !0, refetchActiveNow: s = !0 } = r ?? {};
|
|
6647
6647
|
await e.cancelQueries({ queryKey: t, exact: n }), await e.removeQueries({ queryKey: t, exact: n }), await e.invalidateQueries({ queryKey: t, exact: n }), s && await e.refetchQueries({ queryKey: t, exact: n, type: "active" });
|
|
6648
6648
|
}, hp = () => Math.random().toString(36).substring(2, 9);
|
|
6649
|
-
function
|
|
6649
|
+
function Ov(e, t = " -") {
|
|
6650
6650
|
return e ? e.toLowerCase().split(new RegExp(`[${t}]+`)).map((n) => n.charAt(0).toUpperCase() + n.slice(1)).join(" ") : "";
|
|
6651
6651
|
}
|
|
6652
6652
|
function oi(e) {
|
|
@@ -6658,7 +6658,7 @@ function oi(e) {
|
|
|
6658
6658
|
}
|
|
6659
6659
|
return "";
|
|
6660
6660
|
}
|
|
6661
|
-
const
|
|
6661
|
+
const Pv = (e) => !e || e.trim().length === 0, $v = (e, t) => {
|
|
6662
6662
|
if (!e || !t || t.length === 0)
|
|
6663
6663
|
return 999;
|
|
6664
6664
|
const r = t.findIndex(
|
|
@@ -6678,7 +6678,7 @@ function Nv(e, t) {
|
|
|
6678
6678
|
items: s
|
|
6679
6679
|
}));
|
|
6680
6680
|
}
|
|
6681
|
-
function
|
|
6681
|
+
function Iv(e, t, r) {
|
|
6682
6682
|
if (!e || e.length === 0)
|
|
6683
6683
|
return [];
|
|
6684
6684
|
const n = /* @__PURE__ */ new Set(), s = /* @__PURE__ */ new Set();
|
|
@@ -6699,7 +6699,7 @@ function mp(e) {
|
|
|
6699
6699
|
a[n(o[1])] = n(o[2]);
|
|
6700
6700
|
return a;
|
|
6701
6701
|
}
|
|
6702
|
-
function
|
|
6702
|
+
function Dv(e, t, r) {
|
|
6703
6703
|
const n = /{{([^}]*)}}/g, s = e.match(n);
|
|
6704
6704
|
let a = e;
|
|
6705
6705
|
const o = r ?? !1, i = o ? mp() : {};
|
|
@@ -6712,7 +6712,7 @@ function Iv(e, t, r) {
|
|
|
6712
6712
|
const gp = (e) => new Promise((t, r) => {
|
|
6713
6713
|
const n = new FileReader();
|
|
6714
6714
|
n.onloadend = () => t(n.result), n.onerror = r, n.readAsDataURL(e);
|
|
6715
|
-
}),
|
|
6715
|
+
}), Cv = (e) => {
|
|
6716
6716
|
if (typeof e == "number" && !isNaN(e))
|
|
6717
6717
|
return "number";
|
|
6718
6718
|
if (typeof e != "string")
|
|
@@ -6720,11 +6720,11 @@ const gp = (e) => new Promise((t, r) => {
|
|
|
6720
6720
|
const t = e.toLowerCase();
|
|
6721
6721
|
return t.endsWith(".pdf") ? "PDF" : [".png", ".jpg", ".jpeg", ".gif", ".bmp", ".svg"].some((s) => t.endsWith(s)) ? "Image" : [".mp4", ".ogg", ".webm", ".mkv", ".flv"].some((s) => t.endsWith(s)) ? "Video" : typeof e == "string" ? "string" : "object";
|
|
6722
6722
|
};
|
|
6723
|
-
function
|
|
6723
|
+
function Lv(e) {
|
|
6724
6724
|
return e.replace(/\s+/g, "_").replace(/([a-z])([A-Z])/g, "$1_$2").replace(/([A-Z])([A-Z][a-z])/g, "$1_$2").toUpperCase();
|
|
6725
6725
|
}
|
|
6726
6726
|
const yp = (e) => ee + `/user?username=${e}&v=custom:(username,uuid)`, vp = "bahmni.user.location";
|
|
6727
|
-
async function
|
|
6727
|
+
async function kv() {
|
|
6728
6728
|
const e = oi(Ju);
|
|
6729
6729
|
if (!e)
|
|
6730
6730
|
return null;
|
|
@@ -6794,18 +6794,18 @@ const Hn = () => {
|
|
|
6794
6794
|
}, ii = ee + "/idgen/identifiertype", Sp = (e) => ee + `/bahmni/app/setting?module=${e}`, Rp = "bahmni.primaryIdentifierType", Tp = ee + "/bahmnicore/patientprofile", Ap = (e) => ee + `/bahmnicore/patientprofile/${e}`, Op = (e) => ee + `/patientprofile/${e}?v=full`, Pp = (e, t, r = 20, n) => {
|
|
6795
6795
|
let s = `/openmrs/module/addresshierarchy/ajax/getPossibleAddressHierarchyEntriesWithParents.form?addressField=${e}&limit=${r}&searchString=${encodeURIComponent(t)}`;
|
|
6796
6796
|
return n && (s += `&parent=${n}`), s;
|
|
6797
|
-
},
|
|
6797
|
+
}, $p = "/openmrs/module/addresshierarchy/ajax/getOrderedAddressHierarchyLevels.form", Np = ee + "/relationshiptype?v=custom:(aIsToB,bIsToA,uuid)&limit=150", Ip = 20, Dp = 2, Mv = 120, xv = 50, qv = 15, Cp = /^[a-f0-9-]{36}$/i, Lp = (e) => Yu + `/patientImage?patientUuid=${e}`, kp = ee + "/personattributetype?v=custom:(uuid,name,sortWeight,description,format,concept:(uuid,display,answers:(uuid,name)))", Mp = async (e) => {
|
|
6798
6798
|
if (!e || e.trim() === "")
|
|
6799
6799
|
throw new Error("Invalid patient UUID: UUID cannot be empty");
|
|
6800
6800
|
if (!Cp.test(e))
|
|
6801
6801
|
throw new Error(`Invalid patient UUID format: ${e}`);
|
|
6802
6802
|
return z(wp(e));
|
|
6803
|
-
}, xp = (e) => !e.extension || !Array.isArray(e.extension) ? [] : e.extension.flatMap((t) => t.extension && Array.isArray(t.extension) ? t.extension.filter((r) => r.valueString).map((r) => r.valueString) : []),
|
|
6803
|
+
}, xp = (e) => !e.extension || !Array.isArray(e.extension) ? [] : e.extension.flatMap((t) => t.extension && Array.isArray(t.extension) ? t.extension.filter((r) => r.valueString).map((r) => r.valueString) : []), qp = (e) => {
|
|
6804
6804
|
if (!e.name || e.name.length === 0)
|
|
6805
6805
|
return null;
|
|
6806
6806
|
const t = e.name[0], r = t.given?.join(" ") ?? "", n = t.family ?? "";
|
|
6807
6807
|
return !r && !n ? null : `${r} ${n}`.trim();
|
|
6808
|
-
},
|
|
6808
|
+
}, Up = (e) => {
|
|
6809
6809
|
if (!e) return null;
|
|
6810
6810
|
const t = [
|
|
6811
6811
|
...e.line ?? [],
|
|
@@ -6815,14 +6815,14 @@ const Hn = () => {
|
|
|
6815
6815
|
], r = e.city ?? "", n = e.state ?? "", s = e.postalCode ?? "", a = t.filter(Boolean);
|
|
6816
6816
|
return r && a.push(r), n && s ? a.push(`${n} ${s}`) : n ? a.push(n) : s && a.push(s), a.length > 0 ? a.join(", ").trim() : null;
|
|
6817
6817
|
}, jp = (e) => !e?.system || !e.value ? null : `${e.system}: ${e.value}`, Fp = (e) => {
|
|
6818
|
-
const t = e.address && e.address.length > 0 ?
|
|
6818
|
+
const t = e.address && e.address.length > 0 ? Up(e.address[0]) : null, r = e.telecom && e.telecom.length > 0 ? jp(e.telecom[0]) : null, n = e.identifier ?? [], s = /* @__PURE__ */ new Map();
|
|
6819
6819
|
n.length > 0 && n.forEach((o) => {
|
|
6820
6820
|
!o.type?.text || !o.value || s.set(o.type.text, o.value);
|
|
6821
6821
|
});
|
|
6822
6822
|
const a = e.birthDate ? fp(e.birthDate) : null;
|
|
6823
6823
|
return {
|
|
6824
6824
|
id: e.id ?? "",
|
|
6825
|
-
fullName:
|
|
6825
|
+
fullName: qp(e),
|
|
6826
6826
|
gender: e.gender ?? null,
|
|
6827
6827
|
birthDate: e.birthDate ?? null,
|
|
6828
6828
|
formattedAddress: t,
|
|
@@ -6833,17 +6833,17 @@ const Hn = () => {
|
|
|
6833
6833
|
}, Uv = async (e) => {
|
|
6834
6834
|
const t = await Mp(e);
|
|
6835
6835
|
return Fp(t);
|
|
6836
|
-
},
|
|
6836
|
+
}, jv = async (e) => {
|
|
6837
6837
|
const t = await fetch(Lp(e));
|
|
6838
6838
|
if (!t.ok) return null;
|
|
6839
6839
|
const r = await t.blob();
|
|
6840
6840
|
return await gp(r);
|
|
6841
|
-
},
|
|
6841
|
+
}, Fv = async (e, t) => {
|
|
6842
6842
|
const r = Hn();
|
|
6843
6843
|
return await z(
|
|
6844
6844
|
Ep(e, r.uuid, t)
|
|
6845
6845
|
);
|
|
6846
|
-
},
|
|
6846
|
+
}, Vv = async (e, t, r, n, s) => {
|
|
6847
6847
|
const a = Hn();
|
|
6848
6848
|
return await z(
|
|
6849
6849
|
_p(
|
|
@@ -6854,9 +6854,9 @@ const Hn = () => {
|
|
|
6854
6854
|
a.uuid
|
|
6855
6855
|
)
|
|
6856
6856
|
);
|
|
6857
|
-
},
|
|
6857
|
+
}, Hv = async () => z(ii), Vp = async () => (await z(Sp("core"))).find(
|
|
6858
6858
|
(r) => r.property === Rp
|
|
6859
|
-
)?.value ?? null,
|
|
6859
|
+
)?.value ?? null, Bv = async () => {
|
|
6860
6860
|
const [e, t] = await Promise.all([
|
|
6861
6861
|
z(ii),
|
|
6862
6862
|
Vp()
|
|
@@ -6873,10 +6873,10 @@ const Hn = () => {
|
|
|
6873
6873
|
sourcesByPrefix: n,
|
|
6874
6874
|
primaryIdentifierTypeUuid: t
|
|
6875
6875
|
}) : { prefixes: r, sourcesByPrefix: n, primaryIdentifierTypeUuid: t };
|
|
6876
|
-
},
|
|
6876
|
+
}, Wv = async (e) => Je(Tp, e), zv = async (e, t) => Je(
|
|
6877
6877
|
Ap(e),
|
|
6878
6878
|
t
|
|
6879
|
-
),
|
|
6879
|
+
), Gv = async () => z(Vo("mrs.genders")), Kv = async (e, t, r = Ip, n) => {
|
|
6880
6880
|
if (!t || t.length < Dp)
|
|
6881
6881
|
return [];
|
|
6882
6882
|
try {
|
|
@@ -6888,10 +6888,10 @@ const Hn = () => {
|
|
|
6888
6888
|
`Failed to fetch address hierarchy for field "${e}": ${s instanceof Error ? s.message : "Unknown error"}`
|
|
6889
6889
|
);
|
|
6890
6890
|
}
|
|
6891
|
-
},
|
|
6891
|
+
}, Yv = async () => z($p), Jv = async (e) => z(Op(e)), Xv = async () => {
|
|
6892
6892
|
try {
|
|
6893
6893
|
return (await z(
|
|
6894
|
-
|
|
6894
|
+
Np
|
|
6895
6895
|
)).results.map((t) => ({
|
|
6896
6896
|
uuid: t.uuid,
|
|
6897
6897
|
aIsToB: t.aIsToB,
|
|
@@ -6902,9 +6902,9 @@ const Hn = () => {
|
|
|
6902
6902
|
`Failed to fetch relationship types: ${e instanceof Error ? e.message : "Unknown error"}`
|
|
6903
6903
|
);
|
|
6904
6904
|
}
|
|
6905
|
-
},
|
|
6905
|
+
}, Qv = async () => z(kp);
|
|
6906
6906
|
var Hp = /* @__PURE__ */ ((e) => (e.BOOLEAN = "java.lang.Boolean", e.BOOLEAN_DATATYPE = "org.openmrs.customdatatype.datatype.BooleanDatatype", e.CONCEPT = "org.openmrs.Concept", e.CODED_CONCEPT = "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype", e.CONCEPT_DATATYPE = "org.openmrs.customdatatype.datatype.ConceptDatatype", e.STRING = "java.lang.String", e.FREE_TEXT = "org.openmrs.customdatatype.datatype.FreeTextDatatype", e.REGEX_VALIDATED_TEXT = "org.openmrs.customdatatype.datatype.RegexValidatedTextDatatype", e.INTEGER = "java.lang.Integer", e.FLOAT = "java.lang.Float", e.ATTRIBUTABLE_DATE = "org.openmrs.util.AttributableDate", e.DATE_DATATYPE = "org.openmrs.customdatatype.datatype.DateDatatype", e))(Hp || {}), Bp = /* @__PURE__ */ ((e) => (e.CHECKBOX = "checkbox", e.DROPDOWN = "dropdown", e.TEXT = "text", e.NUMBER = "number", e.DATE = "date", e))(Bp || {});
|
|
6907
|
-
const
|
|
6907
|
+
const Zv = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype.datatype.BooleanDatatype" ? "checkbox" : e === "org.openmrs.Concept" || e === "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype" || e === "org.openmrs.customdatatype.datatype.ConceptDatatype" ? "dropdown" : e === "java.lang.Integer" || e === "java.lang.Float" ? "number" : e === "org.openmrs.util.AttributableDate" || e === "org.openmrs.customdatatype.datatype.DateDatatype" ? "date" : "text", eb = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype.datatype.BooleanDatatype", tb = (e) => e === "org.openmrs.Concept" || e === "org.bahmni.module.bahmnicore.customdatatype.datatype.CodedConceptDatatype" || e === "org.openmrs.customdatatype.datatype.ConceptDatatype", rb = (e) => e === "java.lang.Integer" || e === "java.lang.Float", nb = (e) => e === "org.openmrs.util.AttributableDate" || e === "org.openmrs.customdatatype.datatype.DateDatatype", sb = (e) => e === "java.lang.String" || e === "org.openmrs.customdatatype.datatype.FreeTextDatatype" || e === "org.openmrs.customdatatype.datatype.RegexValidatedTextDatatype", Wp = (e) => {
|
|
6908
6908
|
const t = new CustomEvent("bahmni-audit-log", { detail: e });
|
|
6909
6909
|
window.dispatchEvent(t);
|
|
6910
6910
|
}, zp = (e) => {
|
|
@@ -6957,10 +6957,10 @@ const Qv = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype
|
|
|
6957
6957
|
}
|
|
6958
6958
|
}, Gp = ee + "/auditlog", Kp = {
|
|
6959
6959
|
UNKNOWN_EVENT_TYPE: "AUDIT_LOG_ERROR_UNKNOWN_EVENT_TYPE"
|
|
6960
|
-
}, Yp = () => ee + "/bahmnicore/config/bahmniencounter?callerContext=REGISTRATION_CONCEPTS", Jp = ee + "/visit", Xp = (e) => ee + `/visit?patient=${e}&includeInactive=false&v=custom:(uuid,visitType,startDatetime,stopDatetime)`, Qp = (e) => ee + `/bahmnicore/visitLocation/${e}`,
|
|
6960
|
+
}, Yp = () => ee + "/bahmnicore/config/bahmniencounter?callerContext=REGISTRATION_CONCEPTS", Jp = ee + "/visit", Xp = (e) => ee + `/visit?patient=${e}&includeInactive=false&v=custom:(uuid,visitType,startDatetime,stopDatetime)`, Qp = (e) => ee + `/bahmnicore/visitLocation/${e}`, ab = async () => z(Yp()), Zp = async (e) => z(Xp(e)), eh = async (e) => z(Qp(e)), th = async (e) => Je(Jp, e), ob = async (e) => {
|
|
6961
6961
|
const t = await Zp(e);
|
|
6962
6962
|
return t?.results && t.results.length > 0;
|
|
6963
|
-
},
|
|
6963
|
+
}, ib = async (e, t) => {
|
|
6964
6964
|
const r = await eh(
|
|
6965
6965
|
Hn().uuid
|
|
6966
6966
|
), n = {
|
|
@@ -6974,7 +6974,7 @@ const Qv = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype
|
|
|
6974
6974
|
messageParams: { visitType: t.name },
|
|
6975
6975
|
module: Dn.OPEN_VISIT.module
|
|
6976
6976
|
}), s;
|
|
6977
|
-
}, rh = ee + "/appointments/search", ci = ee + "/appointments", nh = "bahmni.sqlGet.upComingAppointments", sh = "bahmni.sqlGet.pastAppointments", ah = (e) => `${ci}/${e}`, oh = (e) => `${jo}?patientUuid=${e}&q=${nh}&v=full`, ih = (e) => `${jo}?patientUuid=${e}&q=${sh}&v=full`, ch = (e) => `${ci}/${e}/status-change`,
|
|
6977
|
+
}, rh = ee + "/appointments/search", ci = ee + "/appointments", nh = "bahmni.sqlGet.upComingAppointments", sh = "bahmni.sqlGet.pastAppointments", ah = (e) => `${ci}/${e}`, oh = (e) => `${jo}?patientUuid=${e}&q=${nh}&v=full`, ih = (e) => `${jo}?patientUuid=${e}&q=${sh}&v=full`, ch = (e) => `${ci}/${e}/status-change`, cb = async (e) => await Je(
|
|
6978
6978
|
rh,
|
|
6979
6979
|
e
|
|
6980
6980
|
), ui = (e) => {
|
|
@@ -7032,15 +7032,15 @@ const Qv = (e) => e === "java.lang.Boolean" || e === "org.openmrs.customdatatype
|
|
|
7032
7032
|
customAttributes: []
|
|
7033
7033
|
}
|
|
7034
7034
|
};
|
|
7035
|
-
},
|
|
7035
|
+
}, ub = async (e) => (await z(
|
|
7036
7036
|
oh(e)
|
|
7037
|
-
) || []).map(ui),
|
|
7037
|
+
) || []).map(ui), lb = async (e) => (await z(
|
|
7038
7038
|
ih(e)
|
|
7039
|
-
) || []).map(ui),
|
|
7039
|
+
) || []).map(ui), db = async (e, t, r) => await Je(
|
|
7040
7040
|
ch(e),
|
|
7041
7041
|
{ toStatus: t, onDate: r }
|
|
7042
7042
|
);
|
|
7043
|
-
async function
|
|
7043
|
+
async function fb(e) {
|
|
7044
7044
|
return await z(ah(e));
|
|
7045
7045
|
}
|
|
7046
7046
|
const uh = () => {
|
|
@@ -7072,7 +7072,7 @@ const uh = () => {
|
|
|
7072
7072
|
);
|
|
7073
7073
|
}
|
|
7074
7074
|
};
|
|
7075
|
-
}, on = uh(), lh = (e) => pe + `/ValueSet/${e}/$expand`, dh = (e) => pe + `/ValueSet/$expand?filter=${encodeURIComponent(e)}`, fh = (e, t, r) => ee + `/bahmni/terminologies/concepts?limit=${t}&locale=${r}&term=${e}`, ph = (e) => ee + `/concept/${e}`, hh = (e) => `${ee}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(e)}`, mh = "SHORT", gh = "FULLY_SPECIFIED",
|
|
7075
|
+
}, on = uh(), lh = (e) => pe + `/ValueSet/${e}/$expand`, dh = (e) => pe + `/ValueSet/$expand?filter=${encodeURIComponent(e)}`, fh = (e, t, r) => ee + `/bahmni/terminologies/concepts?limit=${t}&locale=${r}&term=${e}`, ph = (e) => ee + `/concept/${e}`, hh = (e) => `${ee}/concept?s=byFullySpecifiedName&name=${encodeURIComponent(e)}`, mh = "SHORT", gh = "FULLY_SPECIFIED", pb = async (e, t = 20) => {
|
|
7076
7076
|
const r = It(), n = fh(e, t, r);
|
|
7077
7077
|
return z(n);
|
|
7078
7078
|
}, Rr = async (e) => {
|
|
@@ -7082,10 +7082,10 @@ const uh = () => {
|
|
|
7082
7082
|
const t = `${dh(e)}`;
|
|
7083
7083
|
return z(t);
|
|
7084
7084
|
};
|
|
7085
|
-
async function
|
|
7085
|
+
async function hb(e) {
|
|
7086
7086
|
return await z(ph(e));
|
|
7087
7087
|
}
|
|
7088
|
-
async function
|
|
7088
|
+
async function mb(e) {
|
|
7089
7089
|
const t = hh(e), r = await z(t);
|
|
7090
7090
|
return !r.results || r.results.length === 0 ? null : r.results[0];
|
|
7091
7091
|
}
|
|
@@ -7121,7 +7121,7 @@ const bh = (e) => pe + `/AllergyIntolerance?patient=${e}&_count=100&_sort=-_last
|
|
|
7121
7121
|
}), cn = (e, t) => {
|
|
7122
7122
|
const r = e.expansion?.contains ?? [];
|
|
7123
7123
|
return Eh(r).map((s) => _h(s, t));
|
|
7124
|
-
},
|
|
7124
|
+
}, gb = async (e, t, r) => {
|
|
7125
7125
|
const n = e ?? nt.MEDICATION.code, s = t ?? nt.FOOD.code, a = r ?? nt.ENVIRONMENT.code, [o, i, c] = await Promise.all([
|
|
7126
7126
|
Rr(n),
|
|
7127
7127
|
Rr(s),
|
|
@@ -7141,7 +7141,7 @@ const bh = (e) => pe + `/AllergyIntolerance?patient=${e}&_count=100&_sort=-_last
|
|
|
7141
7141
|
nt.ENVIRONMENT.display
|
|
7142
7142
|
)
|
|
7143
7143
|
];
|
|
7144
|
-
},
|
|
7144
|
+
}, yb = async (e) => {
|
|
7145
7145
|
const t = e ?? wh.code;
|
|
7146
7146
|
return (await Rr(t)).compose?.include[0]?.concept ?? [];
|
|
7147
7147
|
};
|
|
@@ -7175,22 +7175,22 @@ function Th(e) {
|
|
|
7175
7175
|
};
|
|
7176
7176
|
});
|
|
7177
7177
|
}
|
|
7178
|
-
async function
|
|
7178
|
+
async function vb(e) {
|
|
7179
7179
|
const t = await Rh(e);
|
|
7180
7180
|
return Th(t);
|
|
7181
7181
|
}
|
|
7182
7182
|
var Ah = /* @__PURE__ */ ((e) => (e.Active = "Active", e.Inactive = "Inactive", e))(Ah || {}), Oh = /* @__PURE__ */ ((e) => (e.mild = "mild", e.moderate = "moderate", e.severe = "severe", e))(Oh || {});
|
|
7183
|
-
const
|
|
7183
|
+
const bb = "http://fhir.openmrs.org/code-system/encounter-type", Ph = "problem-list-item", wb = "http://terminology.hl7.org/CodeSystem/condition-ver-status", $h = "encounter-diagnosis", Eb = "http://terminology.hl7.org/CodeSystem/condition-clinical", _b = "http://terminology.hl7.org/CodeSystem/condition-category", Sb = "http://fhir.bahmni.org/ext/lab-order-concept-type", Rb = "http://terminology.hl7.org/CodeSystem/v3-ObservationInterpretation", Tb = "http://fhir.bahmni.org/ext/observation/form-namespace-path", Ab = "http://fhir.bahmni.org/ext/observation/obs-value-attachment", Ob = "Numeric", Pb = "Complex", $b = "final", Nb = "Observation", Ib = /^\d{4}-\d{2}-\d{2}/, Nh = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/, Db = {
|
|
7184
7184
|
ABNORMAL: { code: "A", display: "Abnormal" },
|
|
7185
7185
|
NORMAL: { code: "N", display: "Normal" }
|
|
7186
7186
|
}, Ih = (e) => pe + `/Condition?category=${Ph}&patient=${e}&_count=100&_sort=-_lastUpdated`;
|
|
7187
7187
|
async function Dh(e) {
|
|
7188
7188
|
return await z(`${Ih(e)}`);
|
|
7189
7189
|
}
|
|
7190
|
-
async function
|
|
7190
|
+
async function Cb(e) {
|
|
7191
7191
|
return (await Dh(e)).entry?.filter((n) => n.resource?.resourceType === "Condition").map((n) => n.resource) ?? [];
|
|
7192
7192
|
}
|
|
7193
|
-
const Ch = (e) => pe + `/Condition?category=${
|
|
7193
|
+
const Ch = (e) => pe + `/Condition?category=${$h}&patient=${e}&_count=100&_sort=-_lastUpdated`, un = [
|
|
7194
7194
|
{
|
|
7195
7195
|
code: "confirmed",
|
|
7196
7196
|
display: "CERTAINITY_CONFIRMED",
|
|
@@ -7215,10 +7215,10 @@ const xh = (e) => {
|
|
|
7215
7215
|
default:
|
|
7216
7216
|
return un[1];
|
|
7217
7217
|
}
|
|
7218
|
-
},
|
|
7219
|
-
function
|
|
7218
|
+
}, qh = (e) => !!(e.id && e.code && e.recordedDate);
|
|
7219
|
+
function Uh(e) {
|
|
7220
7220
|
return (e.entry?.filter((r) => r.resource?.resourceType === "Condition").map((r) => r.resource) ?? []).map((r) => {
|
|
7221
|
-
if (!
|
|
7221
|
+
if (!qh(r))
|
|
7222
7222
|
throw new Error("Incomplete diagnosis data");
|
|
7223
7223
|
const n = xh(r), s = r.recordedDate;
|
|
7224
7224
|
return {
|
|
@@ -7243,11 +7243,11 @@ function jh(e) {
|
|
|
7243
7243
|
}
|
|
7244
7244
|
return Array.from(t.values());
|
|
7245
7245
|
}
|
|
7246
|
-
async function
|
|
7247
|
-
const t = await Mh(e), r =
|
|
7246
|
+
async function Lb(e) {
|
|
7247
|
+
const t = await Mh(e), r = Uh(t);
|
|
7248
7248
|
return jh(r);
|
|
7249
7249
|
}
|
|
7250
|
-
var
|
|
7250
|
+
var qe = /* @__PURE__ */ ((e) => (e.Active = "active", e.OnHold = "on-hold", e.Completed = "completed", e.Stopped = "stopped", e.Cancelled = "cancelled", e.EnteredInError = "entered-in-error", e.Draft = "draft", e.Unknown = "unknown", e))(qe || {});
|
|
7251
7251
|
const St = {
|
|
7252
7252
|
// Base parameters for all medication request queries
|
|
7253
7253
|
SORT: "_sort=-_lastUpdated",
|
|
@@ -7265,21 +7265,21 @@ const St = {
|
|
|
7265
7265
|
}, Hh = ee + "/bahmnicore/config/drugOrders", Bh = (e, t) => pe + `/Medication?name=${encodeURIComponent(e)}&_count=${t}&_sort=-_lastUpdated`, Wh = pe + "/Medication?code=http://hl7.org/fhir/sid/cvx|&_count=100", zh = (e) => {
|
|
7266
7266
|
switch (e.status) {
|
|
7267
7267
|
case "active":
|
|
7268
|
-
return
|
|
7268
|
+
return qe.Active;
|
|
7269
7269
|
case "on-hold":
|
|
7270
|
-
return
|
|
7270
|
+
return qe.OnHold;
|
|
7271
7271
|
case "cancelled":
|
|
7272
|
-
return
|
|
7272
|
+
return qe.Cancelled;
|
|
7273
7273
|
case "completed":
|
|
7274
|
-
return
|
|
7274
|
+
return qe.Completed;
|
|
7275
7275
|
case "entered-in-error":
|
|
7276
|
-
return
|
|
7276
|
+
return qe.EnteredInError;
|
|
7277
7277
|
case "stopped":
|
|
7278
|
-
return
|
|
7278
|
+
return qe.Stopped;
|
|
7279
7279
|
case "draft":
|
|
7280
|
-
return
|
|
7280
|
+
return qe.Draft;
|
|
7281
7281
|
case "unknown":
|
|
7282
|
-
return
|
|
7282
|
+
return qe.Unknown;
|
|
7283
7283
|
}
|
|
7284
7284
|
};
|
|
7285
7285
|
async function Gh(e, t, r, n = !1) {
|
|
@@ -7407,7 +7407,7 @@ function sm(e) {
|
|
|
7407
7407
|
});
|
|
7408
7408
|
}
|
|
7409
7409
|
const Ks = (e) => e.priority === "stat" || e.dosageInstruction?.[0]?.timing?.code?.text === "Immediately" || !1;
|
|
7410
|
-
async function
|
|
7410
|
+
async function kb(e, t, r, n = !1) {
|
|
7411
7411
|
const s = await Gh(
|
|
7412
7412
|
e,
|
|
7413
7413
|
t,
|
|
@@ -7416,26 +7416,39 @@ async function Lb(e, t, r, n = !1) {
|
|
|
7416
7416
|
);
|
|
7417
7417
|
return sm(s);
|
|
7418
7418
|
}
|
|
7419
|
-
async function
|
|
7419
|
+
async function Mb() {
|
|
7420
7420
|
return await z(
|
|
7421
7421
|
Hh
|
|
7422
7422
|
);
|
|
7423
7423
|
}
|
|
7424
|
-
async function
|
|
7424
|
+
async function xb(e, t = 20) {
|
|
7425
7425
|
return await z(
|
|
7426
7426
|
Bh(e, t)
|
|
7427
7427
|
);
|
|
7428
7428
|
}
|
|
7429
|
-
async function
|
|
7429
|
+
async function qb() {
|
|
7430
7430
|
return await z(Wh);
|
|
7431
7431
|
}
|
|
7432
7432
|
const am = (e, t, r, n, s) => {
|
|
7433
7433
|
let o = `${pe + "/ServiceRequest?_sort=-_lastUpdated"}&category=${e}&patient=${t}`;
|
|
7434
7434
|
return s && (o += `&_revinclude=${s}`), r ? o += `&encounter=${r}` : n && (o += `&numberOfVisits=${n}`), o;
|
|
7435
7435
|
};
|
|
7436
|
+
function om(e) {
|
|
7437
|
+
if (!e || e.length === 0)
|
|
7438
|
+
return [];
|
|
7439
|
+
const t = /* @__PURE__ */ new Set();
|
|
7440
|
+
return e.filter((r) => {
|
|
7441
|
+
const n = r.resource;
|
|
7442
|
+
if (!n || n.resourceType !== "ServiceRequest")
|
|
7443
|
+
return !0;
|
|
7444
|
+
const s = n, a = s.code?.coding?.[0]?.code?.toLowerCase() ?? "", o = s.encounter?.reference?.toLowerCase() ?? "", i = s.requester?.reference?.toLowerCase() ?? "", c = `${a}|${o}|${i}`;
|
|
7445
|
+
return t.has(c) ? !1 : (t.add(c), !0);
|
|
7446
|
+
});
|
|
7447
|
+
}
|
|
7436
7448
|
async function Ct(e, t, r, n, s) {
|
|
7437
7449
|
let a;
|
|
7438
|
-
|
|
7450
|
+
r && r.length > 0 && (a = r.join(","));
|
|
7451
|
+
const o = await z(
|
|
7439
7452
|
am(
|
|
7440
7453
|
e,
|
|
7441
7454
|
t,
|
|
@@ -7444,6 +7457,7 @@ async function Ct(e, t, r, n, s) {
|
|
|
7444
7457
|
s
|
|
7445
7458
|
)
|
|
7446
7459
|
);
|
|
7460
|
+
return o.entry && (o.entry = om(o.entry), o.total = o.entry.length), o;
|
|
7447
7461
|
}
|
|
7448
7462
|
async function Ub(e, t, r, n) {
|
|
7449
7463
|
return await Ct(
|
|
@@ -7453,7 +7467,7 @@ async function Ub(e, t, r, n) {
|
|
|
7453
7467
|
n
|
|
7454
7468
|
);
|
|
7455
7469
|
}
|
|
7456
|
-
async function
|
|
7470
|
+
async function jb(e, t, r, n) {
|
|
7457
7471
|
return await Ct(
|
|
7458
7472
|
t,
|
|
7459
7473
|
e,
|
|
@@ -7462,7 +7476,7 @@ async function qb(e, t, r, n) {
|
|
|
7462
7476
|
"ImagingStudy:basedon"
|
|
7463
7477
|
);
|
|
7464
7478
|
}
|
|
7465
|
-
async function
|
|
7479
|
+
async function Fb(e, t, r, n) {
|
|
7466
7480
|
return (await Ct(
|
|
7467
7481
|
t,
|
|
7468
7482
|
e,
|
|
@@ -7470,7 +7484,7 @@ async function jb(e, t, r, n) {
|
|
|
7470
7484
|
n
|
|
7471
7485
|
)).entry?.filter((o) => o.resource?.resourceType === "ServiceRequest").map((o) => o.resource) ?? [];
|
|
7472
7486
|
}
|
|
7473
|
-
async function
|
|
7487
|
+
async function Vb(e, t, r, n) {
|
|
7474
7488
|
return await Ct(
|
|
7475
7489
|
t,
|
|
7476
7490
|
e,
|
|
@@ -7478,32 +7492,32 @@ async function Fb(e, t, r, n) {
|
|
|
7478
7492
|
n
|
|
7479
7493
|
);
|
|
7480
7494
|
}
|
|
7481
|
-
const
|
|
7495
|
+
const im = (e, t) => {
|
|
7482
7496
|
const r = `${pe}/DiagnosticReport?patient=${e}`;
|
|
7483
7497
|
return t ? `${r}&based-on=${t}` : r;
|
|
7484
|
-
},
|
|
7485
|
-
async function
|
|
7486
|
-
const r = t.length > 0 ? t.join(",") : void 0, n =
|
|
7498
|
+
}, cm = (e) => `${pe}/DiagnosticReport/${e}/$fetch-bundle`;
|
|
7499
|
+
async function Hb(e, t = []) {
|
|
7500
|
+
const r = t.length > 0 ? t.join(",") : void 0, n = im(e, r);
|
|
7487
7501
|
return await z(n);
|
|
7488
7502
|
}
|
|
7489
|
-
async function
|
|
7490
|
-
const t =
|
|
7503
|
+
async function Bb(e) {
|
|
7504
|
+
const t = cm(e);
|
|
7491
7505
|
return await z(t);
|
|
7492
7506
|
}
|
|
7493
|
-
const
|
|
7507
|
+
const Wb = [
|
|
7494
7508
|
"preliminary",
|
|
7495
7509
|
"final",
|
|
7496
7510
|
"amended",
|
|
7497
7511
|
"corrected",
|
|
7498
7512
|
"appended"
|
|
7499
|
-
],
|
|
7513
|
+
], zb = [
|
|
7500
7514
|
"registered",
|
|
7501
7515
|
"unknown",
|
|
7502
7516
|
"partial"
|
|
7503
|
-
],
|
|
7517
|
+
], um = "All Orderables", lm = "/openmrs/ws/rest/v1/ordertype?v=custom:(uuid,display,conceptClasses:(uuid,name))", dm = "LabSet", fm = "http://fhir.bahmni.org/ext/ValueSet/concept-class", Gb = ["orderTypes"], pm = async () => await yh(um), Wn = async () => await z(lm), hm = (e) => {
|
|
7504
7518
|
let t = e.display ?? "Unknown investigation";
|
|
7505
|
-
return li(e) ===
|
|
7506
|
-
},
|
|
7519
|
+
return li(e) === dm && (t += ` (${ie.t("INVESTIGATION_PANEL")})`), t;
|
|
7520
|
+
}, mm = (e) => {
|
|
7507
7521
|
const t = /* @__PURE__ */ new Map();
|
|
7508
7522
|
return e.results.forEach((r) => {
|
|
7509
7523
|
r.conceptClasses.forEach((n) => {
|
|
@@ -7512,10 +7526,10 @@ const Bb = [
|
|
|
7512
7526
|
}), t;
|
|
7513
7527
|
}, li = (e) => {
|
|
7514
7528
|
const t = e.extension?.find(
|
|
7515
|
-
(r) => r.url ===
|
|
7529
|
+
(r) => r.url === fm
|
|
7516
7530
|
);
|
|
7517
7531
|
return t ? t.valueString ?? "" : "";
|
|
7518
|
-
},
|
|
7532
|
+
}, gm = (e, t) => {
|
|
7519
7533
|
const r = [];
|
|
7520
7534
|
return !e.expansion?.contains || e.expansion.contains.length === 0 || t.size === 0 || e.expansion.contains.forEach((n) => {
|
|
7521
7535
|
n.contains?.forEach((s) => {
|
|
@@ -7525,19 +7539,19 @@ const Bb = [
|
|
|
7525
7539
|
return;
|
|
7526
7540
|
r.filter((l) => l.code === a.code && l.categoryCode === i.uuid).length > 0 || r.push({
|
|
7527
7541
|
code: a.code ?? "",
|
|
7528
|
-
display:
|
|
7542
|
+
display: hm(a),
|
|
7529
7543
|
category: i.display,
|
|
7530
7544
|
categoryCode: i.uuid
|
|
7531
7545
|
});
|
|
7532
7546
|
});
|
|
7533
7547
|
});
|
|
7534
7548
|
}), r;
|
|
7535
|
-
},
|
|
7536
|
-
const e = await
|
|
7537
|
-
return
|
|
7538
|
-
},
|
|
7549
|
+
}, Kb = async () => {
|
|
7550
|
+
const e = await pm(), t = await Wn();
|
|
7551
|
+
return gm(e, mm(t));
|
|
7552
|
+
}, Yb = async (e) => e ? (await Wn()).results.find(
|
|
7539
7553
|
(n) => n.display.toLowerCase() === e.toLowerCase()
|
|
7540
|
-
)?.uuid : void 0,
|
|
7554
|
+
)?.uuid : void 0, Jb = async () => (await Wn()).results.map((t) => t.display), Xb = async (e, t, r) => {
|
|
7541
7555
|
const n = [];
|
|
7542
7556
|
for (const s of e) {
|
|
7543
7557
|
const a = s.uuid;
|
|
@@ -7557,7 +7571,7 @@ const Bb = [
|
|
|
7557
7571
|
}
|
|
7558
7572
|
return n;
|
|
7559
7573
|
};
|
|
7560
|
-
function
|
|
7574
|
+
function ym(e) {
|
|
7561
7575
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
7562
7576
|
}
|
|
7563
7577
|
var xt = { exports: {} }, ln = {}, ke = {}, He = {}, dn = {}, fn = {}, pn = {}, Ys;
|
|
@@ -8103,13 +8117,13 @@ function Q() {
|
|
|
8103
8117
|
}
|
|
8104
8118
|
}
|
|
8105
8119
|
k.kind = "catch";
|
|
8106
|
-
class
|
|
8120
|
+
class U extends v {
|
|
8107
8121
|
render(b) {
|
|
8108
8122
|
return "finally" + super.render(b);
|
|
8109
8123
|
}
|
|
8110
8124
|
}
|
|
8111
|
-
|
|
8112
|
-
class
|
|
8125
|
+
U.kind = "finally";
|
|
8126
|
+
class q {
|
|
8113
8127
|
constructor(b, T = {}) {
|
|
8114
8128
|
this._values = {}, this._blockStarts = [], this._constants = {}, this.opts = { ...T, _n: T.lines ? `
|
|
8115
8129
|
` : "" }, this._extScope = b, this._scope = new r.Scope({ parent: b }), this._nodes = [new g()];
|
|
@@ -8257,7 +8271,7 @@ function Q() {
|
|
|
8257
8271
|
const B = this.name("e");
|
|
8258
8272
|
this._currNode = F.catch = new k(B), T(B);
|
|
8259
8273
|
}
|
|
8260
|
-
return D && (this._currNode = F.finally = new
|
|
8274
|
+
return D && (this._currNode = F.finally = new U(), this.code(D)), this._endBlockNode(k, U);
|
|
8261
8275
|
}
|
|
8262
8276
|
// `throw` statement
|
|
8263
8277
|
throw(b) {
|
|
@@ -8319,21 +8333,21 @@ function Q() {
|
|
|
8319
8333
|
T[T.length - 1] = b;
|
|
8320
8334
|
}
|
|
8321
8335
|
}
|
|
8322
|
-
e.CodeGen =
|
|
8323
|
-
function j(
|
|
8336
|
+
e.CodeGen = q;
|
|
8337
|
+
function j(N, b) {
|
|
8324
8338
|
for (const T in b)
|
|
8325
|
-
|
|
8326
|
-
return
|
|
8327
|
-
}
|
|
8328
|
-
function V(
|
|
8329
|
-
return b instanceof t._CodeOrName ? j(
|
|
8330
|
-
}
|
|
8331
|
-
function W(
|
|
8332
|
-
if (
|
|
8333
|
-
return D(
|
|
8334
|
-
if (!F(
|
|
8335
|
-
return
|
|
8336
|
-
return new t._Code(
|
|
8339
|
+
N[T] = (N[T] || 0) + (b[T] || 0);
|
|
8340
|
+
return N;
|
|
8341
|
+
}
|
|
8342
|
+
function V(N, b) {
|
|
8343
|
+
return b instanceof t._CodeOrName ? j(N, b.names) : N;
|
|
8344
|
+
}
|
|
8345
|
+
function W(N, b, T) {
|
|
8346
|
+
if (N instanceof t.Name)
|
|
8347
|
+
return D(N);
|
|
8348
|
+
if (!F(N))
|
|
8349
|
+
return N;
|
|
8350
|
+
return new t._Code(N._items.reduce((B, se) => (se instanceof t.Name && (se = D(se)), se instanceof t._Code ? B.push(...se._items) : B.push(se), B), []));
|
|
8337
8351
|
function D(B) {
|
|
8338
8352
|
const se = T[B.str];
|
|
8339
8353
|
return se === void 0 || b[B.str] !== 1 ? B : (delete b[B.str], se);
|
|
@@ -8342,29 +8356,29 @@ function Q() {
|
|
|
8342
8356
|
return B instanceof t._Code && B._items.some((se) => se instanceof t.Name && b[se.str] === 1 && T[se.str] !== void 0);
|
|
8343
8357
|
}
|
|
8344
8358
|
}
|
|
8345
|
-
function re(
|
|
8359
|
+
function re(N, b) {
|
|
8346
8360
|
for (const T in b)
|
|
8347
|
-
|
|
8361
|
+
N[T] = (N[T] || 0) - (b[T] || 0);
|
|
8348
8362
|
}
|
|
8349
|
-
function ne(
|
|
8350
|
-
return typeof
|
|
8363
|
+
function ne(N) {
|
|
8364
|
+
return typeof N == "boolean" || typeof N == "number" || N === null ? !N : (0, t._)`!${C(N)}`;
|
|
8351
8365
|
}
|
|
8352
8366
|
e.not = ne;
|
|
8353
8367
|
const he = O(e.operators.AND);
|
|
8354
|
-
function J(
|
|
8355
|
-
return
|
|
8368
|
+
function J(...N) {
|
|
8369
|
+
return N.reduce(he);
|
|
8356
8370
|
}
|
|
8357
8371
|
e.and = J;
|
|
8358
8372
|
const ce = O(e.operators.OR);
|
|
8359
|
-
function M(
|
|
8360
|
-
return
|
|
8373
|
+
function M(...N) {
|
|
8374
|
+
return N.reduce(ce);
|
|
8361
8375
|
}
|
|
8362
8376
|
e.or = M;
|
|
8363
|
-
function O(
|
|
8364
|
-
return (b, T) => b === t.nil ? T : T === t.nil ? b : (0, t._)`${C(b)} ${
|
|
8377
|
+
function O(N) {
|
|
8378
|
+
return (b, T) => b === t.nil ? T : T === t.nil ? b : (0, t._)`${C(b)} ${N} ${C(T)}`;
|
|
8365
8379
|
}
|
|
8366
|
-
function C(
|
|
8367
|
-
return
|
|
8380
|
+
function C(N) {
|
|
8381
|
+
return N instanceof t.Name ? N : (0, t._)`(${N})`;
|
|
8368
8382
|
}
|
|
8369
8383
|
})(fn)), fn;
|
|
8370
8384
|
}
|
|
@@ -8389,8 +8403,8 @@ function te() {
|
|
|
8389
8403
|
if (!R.strictSchema || typeof E == "boolean")
|
|
8390
8404
|
return;
|
|
8391
8405
|
const k = P.RULES.keywords;
|
|
8392
|
-
for (const
|
|
8393
|
-
k[
|
|
8406
|
+
for (const U in E)
|
|
8407
|
+
k[U] || w(_, `unknown keyword: "${U}"`);
|
|
8394
8408
|
}
|
|
8395
8409
|
Y.checkUnknownRules = s;
|
|
8396
8410
|
function a(_, E) {
|
|
@@ -8446,8 +8460,8 @@ function te() {
|
|
|
8446
8460
|
}
|
|
8447
8461
|
Y.eachItem = y;
|
|
8448
8462
|
function S({ mergeNames: _, mergeToName: E, mergeValues: R, resultToName: P }) {
|
|
8449
|
-
return (k,
|
|
8450
|
-
const V =
|
|
8463
|
+
return (k, U, q, j) => {
|
|
8464
|
+
const V = q === void 0 ? U : q instanceof e.Name ? (U instanceof e.Name ? _(k, U, q) : E(k, U, q), q) : U instanceof e.Name ? (E(k, q, U), U) : R(U, q);
|
|
8451
8465
|
return j === e.Name && !(V instanceof e.Name) ? P(k, V) : V;
|
|
8452
8466
|
};
|
|
8453
8467
|
}
|
|
@@ -8509,10 +8523,10 @@ function te() {
|
|
|
8509
8523
|
}
|
|
8510
8524
|
return Y.checkStrictMode = w, Y;
|
|
8511
8525
|
}
|
|
8512
|
-
var
|
|
8526
|
+
var qt = {}, ea;
|
|
8513
8527
|
function Ve() {
|
|
8514
|
-
if (ea) return
|
|
8515
|
-
ea = 1, Object.defineProperty(
|
|
8528
|
+
if (ea) return qt;
|
|
8529
|
+
ea = 1, Object.defineProperty(qt, "__esModule", { value: !0 });
|
|
8516
8530
|
const e = Q(), t = {
|
|
8517
8531
|
// validation function arguments
|
|
8518
8532
|
data: new e.Name("data"),
|
|
@@ -8542,7 +8556,7 @@ function Ve() {
|
|
|
8542
8556
|
jsonLen: new e.Name("jsonLen"),
|
|
8543
8557
|
jsonPart: new e.Name("jsonPart")
|
|
8544
8558
|
};
|
|
8545
|
-
return
|
|
8559
|
+
return qt.default = t, qt;
|
|
8546
8560
|
}
|
|
8547
8561
|
var ta;
|
|
8548
8562
|
function Hr() {
|
|
@@ -8615,13 +8629,13 @@ function Hr() {
|
|
|
8615
8629
|
return u && (w = (0, t.str)`${w}${(0, r.getErrorPath)(u, r.Type.Str)}`), [d.schemaPath, w];
|
|
8616
8630
|
}
|
|
8617
8631
|
function g(f, { params: p, message: u }, h) {
|
|
8618
|
-
const { keyword: w, data: _, schemaValue: E, it: R } = f, { opts: P, propertyName: k, topSchemaRef:
|
|
8619
|
-
h.push([d.keyword, w], [d.params, typeof p == "function" ? p(f) : p || (0, t._)`{}`]), P.messages && h.push([d.message, typeof u == "function" ? u(f) : u]), P.verbose && h.push([d.schema, E], [d.parentSchema, (0, t._)`${
|
|
8632
|
+
const { keyword: w, data: _, schemaValue: E, it: R } = f, { opts: P, propertyName: k, topSchemaRef: U, schemaPath: q } = R;
|
|
8633
|
+
h.push([d.keyword, w], [d.params, typeof p == "function" ? p(f) : p || (0, t._)`{}`]), P.messages && h.push([d.message, typeof u == "function" ? u(f) : u]), P.verbose && h.push([d.schema, E], [d.parentSchema, (0, t._)`${U}${q}`], [n.default.data, _]), k && h.push([d.propertyName, k]);
|
|
8620
8634
|
}
|
|
8621
8635
|
})(dn)), dn;
|
|
8622
8636
|
}
|
|
8623
8637
|
var ra;
|
|
8624
|
-
function
|
|
8638
|
+
function vm() {
|
|
8625
8639
|
if (ra) return He;
|
|
8626
8640
|
ra = 1, Object.defineProperty(He, "__esModule", { value: !0 }), He.boolOrEmptySchema = He.topBoolOrEmptySchema = void 0;
|
|
8627
8641
|
const e = Hr(), t = Q(), r = Ve(), n = {
|
|
@@ -8744,13 +8758,13 @@ function Cr() {
|
|
|
8744
8758
|
function m(u, h, w) {
|
|
8745
8759
|
const { gen: _, data: E, opts: R } = u, P = _.let("dataType", (0, n._)`typeof ${E}`), k = _.let("coerced", (0, n._)`undefined`);
|
|
8746
8760
|
R.coerceTypes === "array" && _.if((0, n._)`${P} == 'object' && Array.isArray(${E}) && ${E}.length == 1`, () => _.assign(E, (0, n._)`${E}[0]`).assign(P, (0, n._)`typeof ${E}`).if(v(h, E, R.strictNumbers), () => _.assign(k, E))), _.if((0, n._)`${k} !== undefined`);
|
|
8747
|
-
for (const
|
|
8748
|
-
(l.has(
|
|
8761
|
+
for (const q of w)
|
|
8762
|
+
(l.has(q) || q === "array" && R.coerceTypes === "array") && U(q);
|
|
8749
8763
|
_.else(), f(u), _.endIf(), _.if((0, n._)`${k} !== undefined`, () => {
|
|
8750
8764
|
_.assign(E, k), y(u, k);
|
|
8751
8765
|
});
|
|
8752
|
-
function q
|
|
8753
|
-
switch (
|
|
8766
|
+
function U(q) {
|
|
8767
|
+
switch (q) {
|
|
8754
8768
|
case "string":
|
|
8755
8769
|
_.elseIf((0, n._)`${P} == "number" || ${P} == "boolean"`).assign(k, (0, n._)`"" + ${E}`).elseIf((0, n._)`${E} === null`).assign(k, (0, n._)`""`);
|
|
8756
8770
|
return;
|
|
@@ -8846,7 +8860,7 @@ function Cr() {
|
|
|
8846
8860
|
return ye;
|
|
8847
8861
|
}
|
|
8848
8862
|
var vt = {}, oa;
|
|
8849
|
-
function
|
|
8863
|
+
function bm() {
|
|
8850
8864
|
if (oa) return vt;
|
|
8851
8865
|
oa = 1, Object.defineProperty(vt, "__esModule", { value: !0 }), vt.assignDefaults = void 0;
|
|
8852
8866
|
const e = Q(), t = te();
|
|
@@ -8922,8 +8936,8 @@ function Ce() {
|
|
|
8922
8936
|
return m(h).filter((w) => !(0, t.alwaysValidSchema)(u, h[w]));
|
|
8923
8937
|
}
|
|
8924
8938
|
ae.schemaProperties = y;
|
|
8925
|
-
function S({ schemaCode: u, data: h, it: { gen: w, topSchemaRef: _, schemaPath: E, errorPath: R }, it: P }, k,
|
|
8926
|
-
const j =
|
|
8939
|
+
function S({ schemaCode: u, data: h, it: { gen: w, topSchemaRef: _, schemaPath: E, errorPath: R }, it: P }, k, U, q) {
|
|
8940
|
+
const j = q ? (0, e._)`${u}, ${h}, ${_}${E}` : h, V = [
|
|
8927
8941
|
[r.default.instancePath, (0, e.strConcat)(r.default.instancePath, R)],
|
|
8928
8942
|
[r.default.parentData, P.parentData],
|
|
8929
8943
|
[r.default.parentDataProperty, P.parentDataProperty],
|
|
@@ -8931,7 +8945,7 @@ function Ce() {
|
|
|
8931
8945
|
];
|
|
8932
8946
|
P.opts.dynamicRef && V.push([r.default.dynamicAnchors, r.default.dynamicAnchors]);
|
|
8933
8947
|
const W = (0, e._)`${j}, ${w.object(...V)}`;
|
|
8934
|
-
return
|
|
8948
|
+
return U !== e.nil ? (0, e._)`${k}.call(${U}, ${W})` : (0, e._)`${k}(${W})`;
|
|
8935
8949
|
}
|
|
8936
8950
|
ae.callValidateCode = S;
|
|
8937
8951
|
const v = (0, e._)`new RegExp`;
|
|
@@ -8952,11 +8966,11 @@ function Ce() {
|
|
|
8952
8966
|
}
|
|
8953
8967
|
return h.var(R, !0), P(() => h.break()), R;
|
|
8954
8968
|
function P(k) {
|
|
8955
|
-
const
|
|
8956
|
-
h.forRange("i", 0,
|
|
8969
|
+
const U = h.const("len", (0, e._)`${w}.length`);
|
|
8970
|
+
h.forRange("i", 0, U, (q) => {
|
|
8957
8971
|
u.subschema({
|
|
8958
8972
|
keyword: _,
|
|
8959
|
-
dataProp:
|
|
8973
|
+
dataProp: q,
|
|
8960
8974
|
dataPropType: t.Type.Num
|
|
8961
8975
|
}, R), h.if((0, e.not)(R), k);
|
|
8962
8976
|
});
|
|
@@ -8967,13 +8981,13 @@ function Ce() {
|
|
|
8967
8981
|
const { gen: h, schema: w, keyword: _, it: E } = u;
|
|
8968
8982
|
if (!Array.isArray(w))
|
|
8969
8983
|
throw new Error("ajv implementation error");
|
|
8970
|
-
if (w.some((
|
|
8984
|
+
if (w.some((U) => (0, t.alwaysValidSchema)(E, U)) && !E.opts.unevaluated)
|
|
8971
8985
|
return;
|
|
8972
8986
|
const P = h.let("valid", !1), k = h.name("_valid");
|
|
8973
|
-
h.block(() => w.forEach((
|
|
8987
|
+
h.block(() => w.forEach((U, q) => {
|
|
8974
8988
|
const j = u.subschema({
|
|
8975
8989
|
keyword: _,
|
|
8976
|
-
schemaProp:
|
|
8990
|
+
schemaProp: q,
|
|
8977
8991
|
compositeRule: !0
|
|
8978
8992
|
}, k);
|
|
8979
8993
|
h.assign(P, (0, e._)`${P} || ${k}`), u.mergeValidEvaluated(j, k) || h.if((0, e.not)(P));
|
|
@@ -8982,7 +8996,7 @@ function Ce() {
|
|
|
8982
8996
|
return ae.validateUnion = p, ae;
|
|
8983
8997
|
}
|
|
8984
8998
|
var ca;
|
|
8985
|
-
function
|
|
8999
|
+
function wm() {
|
|
8986
9000
|
if (ca) return Ie;
|
|
8987
9001
|
ca = 1, Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.validateKeywordUsage = Ie.validSchemaType = Ie.funcKeywordCode = Ie.macroKeywordCode = void 0;
|
|
8988
9002
|
const e = Q(), t = Ve(), r = Ce(), n = Hr();
|
|
@@ -9007,21 +9021,21 @@ function bm() {
|
|
|
9007
9021
|
y.block$data(R, P), y.ok((v = S.valid) !== null && v !== void 0 ? v : R);
|
|
9008
9022
|
function P() {
|
|
9009
9023
|
if (S.errors === !1)
|
|
9010
|
-
|
|
9024
|
+
q(), S.modifying && o(y), j(() => y.error());
|
|
9011
9025
|
else {
|
|
9012
|
-
const V = S.async ? k() :
|
|
9026
|
+
const V = S.async ? k() : U();
|
|
9013
9027
|
S.modifying && o(y), j(() => i(y, V));
|
|
9014
9028
|
}
|
|
9015
9029
|
}
|
|
9016
9030
|
function k() {
|
|
9017
9031
|
const V = g.let("ruleErrs", null);
|
|
9018
|
-
return g.try(() =>
|
|
9032
|
+
return g.try(() => q((0, e._)`await `), (W) => g.assign(R, !1).if((0, e._)`${W} instanceof ${w.ValidationError}`, () => g.assign(V, (0, e._)`${W}.errors`), () => g.throw(W))), V;
|
|
9019
9033
|
}
|
|
9020
|
-
function
|
|
9034
|
+
function U() {
|
|
9021
9035
|
const V = (0, e._)`${E}.errors`;
|
|
9022
|
-
return g.assign(V, null),
|
|
9036
|
+
return g.assign(V, null), q(e.nil), V;
|
|
9023
9037
|
}
|
|
9024
|
-
function
|
|
9038
|
+
function q(V = S.async ? (0, e._)`await ` : e.nil) {
|
|
9025
9039
|
const W = w.opts.passContext ? t.default.this : t.default.self, re = !("compile" in S && !h || S.schema === !1);
|
|
9026
9040
|
g.assign(R, (0, e._)`${V}${(0, r.callValidateCode)(y, E, W, re)}`, S.modifying);
|
|
9027
9041
|
}
|
|
@@ -9071,7 +9085,7 @@ function bm() {
|
|
|
9071
9085
|
return Ie.validateKeywordUsage = m, Ie;
|
|
9072
9086
|
}
|
|
9073
9087
|
var xe = {}, ua;
|
|
9074
|
-
function
|
|
9088
|
+
function Em() {
|
|
9075
9089
|
if (ua) return xe;
|
|
9076
9090
|
ua = 1, Object.defineProperty(xe, "__esModule", { value: !0 }), xe.extendSubschemaMode = xe.extendSubschemaData = xe.getSubschema = void 0;
|
|
9077
9091
|
const e = Q(), t = te();
|
|
@@ -9155,7 +9169,7 @@ function pi() {
|
|
|
9155
9169
|
}), mn;
|
|
9156
9170
|
}
|
|
9157
9171
|
var gn = { exports: {} }, da;
|
|
9158
|
-
function
|
|
9172
|
+
function _m() {
|
|
9159
9173
|
if (da) return gn.exports;
|
|
9160
9174
|
da = 1;
|
|
9161
9175
|
var e = gn.exports = function(n, s, a) {
|
|
@@ -9233,7 +9247,7 @@ var fa;
|
|
|
9233
9247
|
function Br() {
|
|
9234
9248
|
if (fa) return be;
|
|
9235
9249
|
fa = 1, Object.defineProperty(be, "__esModule", { value: !0 }), be.getSchemaRefs = be.resolveUrl = be.normalizeId = be._getFullPath = be.getFullPath = be.inlineRef = void 0;
|
|
9236
|
-
const e = te(), t = pi(), r =
|
|
9250
|
+
const e = te(), t = pi(), r = _m(), n = /* @__PURE__ */ new Set([
|
|
9237
9251
|
"type",
|
|
9238
9252
|
"format",
|
|
9239
9253
|
"pattern",
|
|
@@ -9306,19 +9320,19 @@ function Br() {
|
|
|
9306
9320
|
if (typeof g == "boolean")
|
|
9307
9321
|
return {};
|
|
9308
9322
|
const { schemaId: p, uriResolver: u } = this.opts, h = m(g[p] || f), w = { "": h }, _ = c(u, h, !1), E = {}, R = /* @__PURE__ */ new Set();
|
|
9309
|
-
return r(g, { allKeys: !0 }, (
|
|
9323
|
+
return r(g, { allKeys: !0 }, (U, q, j, V) => {
|
|
9310
9324
|
if (V === void 0)
|
|
9311
9325
|
return;
|
|
9312
|
-
const W = _ +
|
|
9326
|
+
const W = _ + q;
|
|
9313
9327
|
let re = w[V];
|
|
9314
|
-
typeof
|
|
9328
|
+
typeof U[p] == "string" && (re = ne.call(this, U[p])), he.call(this, U.$anchor), he.call(this, U.$dynamicAnchor), w[q] = re;
|
|
9315
9329
|
function ne(J) {
|
|
9316
9330
|
const ce = this.opts.uriResolver.resolve;
|
|
9317
9331
|
if (J = m(re ? ce(re, J) : J), R.has(J))
|
|
9318
9332
|
throw k(J);
|
|
9319
9333
|
R.add(J);
|
|
9320
9334
|
let M = this.refs[J];
|
|
9321
|
-
return typeof M == "string" && (M = this.refs[M]), typeof M == "object" ? P(
|
|
9335
|
+
return typeof M == "string" && (M = this.refs[M]), typeof M == "object" ? P(U, M.schema, J) : J !== m(W) && (J[0] === "#" ? (P(U, E[J], J), E[J] = U) : this.refs[J] = W), J;
|
|
9322
9336
|
}
|
|
9323
9337
|
function he(J) {
|
|
9324
9338
|
if (typeof J == "string") {
|
|
@@ -9328,12 +9342,12 @@ function Br() {
|
|
|
9328
9342
|
}
|
|
9329
9343
|
}
|
|
9330
9344
|
}), E;
|
|
9331
|
-
function P(
|
|
9332
|
-
if (
|
|
9345
|
+
function P(U, q, j) {
|
|
9346
|
+
if (q !== void 0 && !t(U, q))
|
|
9333
9347
|
throw k(j);
|
|
9334
9348
|
}
|
|
9335
|
-
function k(
|
|
9336
|
-
return new Error(`reference "${
|
|
9349
|
+
function k(U) {
|
|
9350
|
+
return new Error(`reference "${U}" resolves to more than one schema`);
|
|
9337
9351
|
}
|
|
9338
9352
|
}
|
|
9339
9353
|
return be.getSchemaRefs = v, be;
|
|
@@ -9342,7 +9356,7 @@ var pa;
|
|
|
9342
9356
|
function Wr() {
|
|
9343
9357
|
if (pa) return ke;
|
|
9344
9358
|
pa = 1, Object.defineProperty(ke, "__esModule", { value: !0 }), ke.getData = ke.KeywordCxt = ke.validateFunctionCode = void 0;
|
|
9345
|
-
const e =
|
|
9359
|
+
const e = vm(), t = Cr(), r = fi(), n = Cr(), s = bm(), a = wm(), o = Em(), i = Q(), c = Ve(), l = Br(), d = te(), m = Hr();
|
|
9346
9360
|
function y(A) {
|
|
9347
9361
|
if (_(A) && (R(A), w(A))) {
|
|
9348
9362
|
f(A);
|
|
@@ -9351,204 +9365,204 @@ function Wr() {
|
|
|
9351
9365
|
S(A, () => (0, e.topBoolOrEmptySchema)(A));
|
|
9352
9366
|
}
|
|
9353
9367
|
ke.validateFunctionCode = y;
|
|
9354
|
-
function S({ gen: A, validateName:
|
|
9355
|
-
H.code.es5 ? A.func(
|
|
9368
|
+
function S({ gen: A, validateName: $, schema: L, schemaEnv: x, opts: H }, X) {
|
|
9369
|
+
H.code.es5 ? A.func($, (0, i._)`${c.default.data}, ${c.default.valCxt}`, x.$async, () => {
|
|
9356
9370
|
A.code((0, i._)`"use strict"; ${u(L, H)}`), g(A, H), A.code(X);
|
|
9357
|
-
}) : A.func(
|
|
9371
|
+
}) : A.func($, (0, i._)`${c.default.data}, ${v(H)}`, x.$async, () => A.code(u(L, H)).code(X));
|
|
9358
9372
|
}
|
|
9359
9373
|
function v(A) {
|
|
9360
9374
|
return (0, i._)`{${c.default.instancePath}="", ${c.default.parentData}, ${c.default.parentDataProperty}, ${c.default.rootData}=${c.default.data}${A.dynamicRef ? (0, i._)`, ${c.default.dynamicAnchors}={}` : i.nil}}={}`;
|
|
9361
9375
|
}
|
|
9362
|
-
function g(A,
|
|
9376
|
+
function g(A, $) {
|
|
9363
9377
|
A.if(c.default.valCxt, () => {
|
|
9364
|
-
A.var(c.default.instancePath, (0, i._)`${c.default.valCxt}.${c.default.instancePath}`), A.var(c.default.parentData, (0, i._)`${c.default.valCxt}.${c.default.parentData}`), A.var(c.default.parentDataProperty, (0, i._)`${c.default.valCxt}.${c.default.parentDataProperty}`), A.var(c.default.rootData, (0, i._)`${c.default.valCxt}.${c.default.rootData}`),
|
|
9378
|
+
A.var(c.default.instancePath, (0, i._)`${c.default.valCxt}.${c.default.instancePath}`), A.var(c.default.parentData, (0, i._)`${c.default.valCxt}.${c.default.parentData}`), A.var(c.default.parentDataProperty, (0, i._)`${c.default.valCxt}.${c.default.parentDataProperty}`), A.var(c.default.rootData, (0, i._)`${c.default.valCxt}.${c.default.rootData}`), $.dynamicRef && A.var(c.default.dynamicAnchors, (0, i._)`${c.default.valCxt}.${c.default.dynamicAnchors}`);
|
|
9365
9379
|
}, () => {
|
|
9366
|
-
A.var(c.default.instancePath, (0, i._)`""`), A.var(c.default.parentData, (0, i._)`undefined`), A.var(c.default.parentDataProperty, (0, i._)`undefined`), A.var(c.default.rootData, c.default.data),
|
|
9380
|
+
A.var(c.default.instancePath, (0, i._)`""`), A.var(c.default.parentData, (0, i._)`undefined`), A.var(c.default.parentDataProperty, (0, i._)`undefined`), A.var(c.default.rootData, c.default.data), $.dynamicRef && A.var(c.default.dynamicAnchors, (0, i._)`{}`);
|
|
9367
9381
|
});
|
|
9368
9382
|
}
|
|
9369
9383
|
function f(A) {
|
|
9370
|
-
const { schema:
|
|
9384
|
+
const { schema: $, opts: L, gen: x } = A;
|
|
9371
9385
|
S(A, () => {
|
|
9372
|
-
L.$comment &&
|
|
9386
|
+
L.$comment && $.$comment && V(A), U(A), x.let(c.default.vErrors, null), x.let(c.default.errors, 0), L.unevaluated && p(A), P(A), W(A);
|
|
9373
9387
|
});
|
|
9374
9388
|
}
|
|
9375
9389
|
function p(A) {
|
|
9376
|
-
const { gen:
|
|
9377
|
-
A.evaluated =
|
|
9390
|
+
const { gen: $, validateName: L } = A;
|
|
9391
|
+
A.evaluated = $.const("evaluated", (0, i._)`${L}.evaluated`), $.if((0, i._)`${A.evaluated}.dynamicProps`, () => $.assign((0, i._)`${A.evaluated}.props`, (0, i._)`undefined`)), $.if((0, i._)`${A.evaluated}.dynamicItems`, () => $.assign((0, i._)`${A.evaluated}.items`, (0, i._)`undefined`));
|
|
9378
9392
|
}
|
|
9379
|
-
function u(A,
|
|
9380
|
-
const L = typeof A == "object" && A[
|
|
9381
|
-
return L && (
|
|
9393
|
+
function u(A, $) {
|
|
9394
|
+
const L = typeof A == "object" && A[$.schemaId];
|
|
9395
|
+
return L && ($.code.source || $.code.process) ? (0, i._)`/*# sourceURL=${L} */` : i.nil;
|
|
9382
9396
|
}
|
|
9383
|
-
function h(A,
|
|
9397
|
+
function h(A, $) {
|
|
9384
9398
|
if (_(A) && (R(A), w(A))) {
|
|
9385
|
-
E(A,
|
|
9399
|
+
E(A, $);
|
|
9386
9400
|
return;
|
|
9387
9401
|
}
|
|
9388
|
-
(0, e.boolOrEmptySchema)(A,
|
|
9402
|
+
(0, e.boolOrEmptySchema)(A, $);
|
|
9389
9403
|
}
|
|
9390
|
-
function w({ schema: A, self:
|
|
9404
|
+
function w({ schema: A, self: $ }) {
|
|
9391
9405
|
if (typeof A == "boolean")
|
|
9392
9406
|
return !A;
|
|
9393
9407
|
for (const L in A)
|
|
9394
|
-
if (
|
|
9408
|
+
if ($.RULES.all[L])
|
|
9395
9409
|
return !0;
|
|
9396
9410
|
return !1;
|
|
9397
9411
|
}
|
|
9398
9412
|
function _(A) {
|
|
9399
9413
|
return typeof A.schema != "boolean";
|
|
9400
9414
|
}
|
|
9401
|
-
function E(A,
|
|
9415
|
+
function E(A, $) {
|
|
9402
9416
|
const { schema: L, gen: x, opts: H } = A;
|
|
9403
|
-
H.$comment && L.$comment && V(A),
|
|
9417
|
+
H.$comment && L.$comment && V(A), q(A), j(A);
|
|
9404
9418
|
const X = x.const("_errs", c.default.errors);
|
|
9405
|
-
P(A, X), x.var(
|
|
9419
|
+
P(A, X), x.var($, (0, i._)`${X} === ${c.default.errors}`);
|
|
9406
9420
|
}
|
|
9407
9421
|
function R(A) {
|
|
9408
9422
|
(0, d.checkUnknownRules)(A), k(A);
|
|
9409
9423
|
}
|
|
9410
|
-
function P(A,
|
|
9424
|
+
function P(A, $) {
|
|
9411
9425
|
if (A.opts.jtd)
|
|
9412
|
-
return ne(A, [], !1,
|
|
9426
|
+
return ne(A, [], !1, $);
|
|
9413
9427
|
const L = (0, t.getSchemaTypes)(A.schema), x = (0, t.coerceAndCheckDataType)(A, L);
|
|
9414
|
-
ne(A, L, !x,
|
|
9428
|
+
ne(A, L, !x, $);
|
|
9415
9429
|
}
|
|
9416
9430
|
function k(A) {
|
|
9417
|
-
const { schema:
|
|
9418
|
-
|
|
9419
|
-
}
|
|
9420
|
-
function q(A) {
|
|
9421
|
-
const { schema: N, opts: L } = A;
|
|
9422
|
-
N.default !== void 0 && L.useDefaults && L.strictSchema && (0, d.checkStrictMode)(A, "default is ignored in the schema root");
|
|
9431
|
+
const { schema: $, errSchemaPath: L, opts: x, self: H } = A;
|
|
9432
|
+
$.$ref && x.ignoreKeywordsWithRef && (0, d.schemaHasRulesButRef)($, H.RULES) && H.logger.warn(`$ref: keywords ignored in schema at path "${L}"`);
|
|
9423
9433
|
}
|
|
9424
9434
|
function U(A) {
|
|
9425
|
-
const
|
|
9426
|
-
|
|
9435
|
+
const { schema: $, opts: L } = A;
|
|
9436
|
+
$.default !== void 0 && L.useDefaults && L.strictSchema && (0, d.checkStrictMode)(A, "default is ignored in the schema root");
|
|
9437
|
+
}
|
|
9438
|
+
function q(A) {
|
|
9439
|
+
const $ = A.schema[A.opts.schemaId];
|
|
9440
|
+
$ && (A.baseId = (0, l.resolveUrl)(A.opts.uriResolver, A.baseId, $));
|
|
9427
9441
|
}
|
|
9428
9442
|
function j(A) {
|
|
9429
9443
|
if (A.schema.$async && !A.schemaEnv.$async)
|
|
9430
9444
|
throw new Error("async schema in sync schema");
|
|
9431
9445
|
}
|
|
9432
|
-
function V({ gen: A, schemaEnv:
|
|
9446
|
+
function V({ gen: A, schemaEnv: $, schema: L, errSchemaPath: x, opts: H }) {
|
|
9433
9447
|
const X = L.$comment;
|
|
9434
9448
|
if (H.$comment === !0)
|
|
9435
9449
|
A.code((0, i._)`${c.default.self}.logger.log(${X})`);
|
|
9436
9450
|
else if (typeof H.$comment == "function") {
|
|
9437
|
-
const me = (0, i.str)`${x}/$comment`,
|
|
9438
|
-
A.code((0, i._)`${c.default.self}.opts.$comment(${X}, ${me}, ${
|
|
9451
|
+
const me = (0, i.str)`${x}/$comment`, Ne = A.scopeValue("root", { ref: $.root });
|
|
9452
|
+
A.code((0, i._)`${c.default.self}.opts.$comment(${X}, ${me}, ${Ne}.schema)`);
|
|
9439
9453
|
}
|
|
9440
9454
|
}
|
|
9441
9455
|
function W(A) {
|
|
9442
|
-
const { gen:
|
|
9443
|
-
L.$async ?
|
|
9456
|
+
const { gen: $, schemaEnv: L, validateName: x, ValidationError: H, opts: X } = A;
|
|
9457
|
+
L.$async ? $.if((0, i._)`${c.default.errors} === 0`, () => $.return(c.default.data), () => $.throw((0, i._)`new ${H}(${c.default.vErrors})`)) : ($.assign((0, i._)`${x}.errors`, c.default.vErrors), X.unevaluated && re(A), $.return((0, i._)`${c.default.errors} === 0`));
|
|
9444
9458
|
}
|
|
9445
|
-
function re({ gen: A, evaluated:
|
|
9446
|
-
L instanceof i.Name && A.assign((0, i._)`${
|
|
9459
|
+
function re({ gen: A, evaluated: $, props: L, items: x }) {
|
|
9460
|
+
L instanceof i.Name && A.assign((0, i._)`${$}.props`, L), x instanceof i.Name && A.assign((0, i._)`${$}.items`, x);
|
|
9447
9461
|
}
|
|
9448
|
-
function ne(A,
|
|
9449
|
-
const { gen: H, schema: X, data: me, allErrors:
|
|
9462
|
+
function ne(A, $, L, x) {
|
|
9463
|
+
const { gen: H, schema: X, data: me, allErrors: Ne, opts: Ee, self: _e } = A, { RULES: ge } = _e;
|
|
9450
9464
|
if (X.$ref && (Ee.ignoreKeywordsWithRef || !(0, d.schemaHasRulesButRef)(X, ge))) {
|
|
9451
9465
|
H.block(() => F(A, "$ref", ge.all.$ref.definition));
|
|
9452
9466
|
return;
|
|
9453
9467
|
}
|
|
9454
|
-
Ee.jtd || J(A,
|
|
9468
|
+
Ee.jtd || J(A, $), H.block(() => {
|
|
9455
9469
|
for (const Ae of ge.rules)
|
|
9456
9470
|
Xe(Ae);
|
|
9457
9471
|
Xe(ge.post);
|
|
9458
9472
|
});
|
|
9459
9473
|
function Xe(Ae) {
|
|
9460
|
-
(0, r.shouldUseGroup)(X, Ae) && (Ae.type ? (H.if((0, n.checkDataType)(Ae.type, me, Ee.strictNumbers)), he(A, Ae),
|
|
9474
|
+
(0, r.shouldUseGroup)(X, Ae) && (Ae.type ? (H.if((0, n.checkDataType)(Ae.type, me, Ee.strictNumbers)), he(A, Ae), $.length === 1 && $[0] === Ae.type && L && (H.else(), (0, n.reportTypeError)(A)), H.endIf()) : he(A, Ae), Ne || H.if((0, i._)`${c.default.errors} === ${x || 0}`));
|
|
9461
9475
|
}
|
|
9462
9476
|
}
|
|
9463
|
-
function he(A,
|
|
9477
|
+
function he(A, $) {
|
|
9464
9478
|
const { gen: L, schema: x, opts: { useDefaults: H } } = A;
|
|
9465
|
-
H && (0, s.assignDefaults)(A,
|
|
9466
|
-
for (const X of
|
|
9467
|
-
(0, r.shouldUseRule)(x, X) && F(A, X.keyword, X.definition,
|
|
9479
|
+
H && (0, s.assignDefaults)(A, $.type), L.block(() => {
|
|
9480
|
+
for (const X of $.rules)
|
|
9481
|
+
(0, r.shouldUseRule)(x, X) && F(A, X.keyword, X.definition, $.type);
|
|
9468
9482
|
});
|
|
9469
9483
|
}
|
|
9470
|
-
function J(A,
|
|
9471
|
-
A.schemaEnv.meta || !A.opts.strictTypes || (ce(A,
|
|
9484
|
+
function J(A, $) {
|
|
9485
|
+
A.schemaEnv.meta || !A.opts.strictTypes || (ce(A, $), A.opts.allowUnionTypes || M(A, $), O(A, A.dataTypes));
|
|
9472
9486
|
}
|
|
9473
|
-
function ce(A,
|
|
9474
|
-
if (
|
|
9487
|
+
function ce(A, $) {
|
|
9488
|
+
if ($.length) {
|
|
9475
9489
|
if (!A.dataTypes.length) {
|
|
9476
|
-
A.dataTypes =
|
|
9490
|
+
A.dataTypes = $;
|
|
9477
9491
|
return;
|
|
9478
9492
|
}
|
|
9479
|
-
|
|
9480
|
-
|
|
9481
|
-
}), b(A,
|
|
9493
|
+
$.forEach((L) => {
|
|
9494
|
+
N(A.dataTypes, L) || T(A, `type "${L}" not allowed by context "${A.dataTypes.join(",")}"`);
|
|
9495
|
+
}), b(A, $);
|
|
9482
9496
|
}
|
|
9483
9497
|
}
|
|
9484
|
-
function M(A,
|
|
9485
|
-
|
|
9498
|
+
function M(A, $) {
|
|
9499
|
+
$.length > 1 && !($.length === 2 && $.includes("null")) && T(A, "use allowUnionTypes to allow union type keyword");
|
|
9486
9500
|
}
|
|
9487
|
-
function O(A,
|
|
9501
|
+
function O(A, $) {
|
|
9488
9502
|
const L = A.self.RULES.all;
|
|
9489
9503
|
for (const x in L) {
|
|
9490
9504
|
const H = L[x];
|
|
9491
9505
|
if (typeof H == "object" && (0, r.shouldUseRule)(A.schema, H)) {
|
|
9492
9506
|
const { type: X } = H.definition;
|
|
9493
|
-
X.length && !X.some((me) => C(
|
|
9507
|
+
X.length && !X.some((me) => C($, me)) && T(A, `missing type "${X.join(",")}" for keyword "${x}"`);
|
|
9494
9508
|
}
|
|
9495
9509
|
}
|
|
9496
9510
|
}
|
|
9497
|
-
function C(A,
|
|
9498
|
-
return A.includes(
|
|
9511
|
+
function C(A, $) {
|
|
9512
|
+
return A.includes($) || $ === "number" && A.includes("integer");
|
|
9499
9513
|
}
|
|
9500
|
-
function
|
|
9501
|
-
return A.includes(
|
|
9514
|
+
function N(A, $) {
|
|
9515
|
+
return A.includes($) || $ === "integer" && A.includes("number");
|
|
9502
9516
|
}
|
|
9503
|
-
function b(A,
|
|
9517
|
+
function b(A, $) {
|
|
9504
9518
|
const L = [];
|
|
9505
9519
|
for (const x of A.dataTypes)
|
|
9506
|
-
|
|
9520
|
+
N($, x) ? L.push(x) : $.includes("integer") && x === "number" && L.push("integer");
|
|
9507
9521
|
A.dataTypes = L;
|
|
9508
9522
|
}
|
|
9509
|
-
function T(A,
|
|
9523
|
+
function T(A, $) {
|
|
9510
9524
|
const L = A.schemaEnv.baseId + A.errSchemaPath;
|
|
9511
|
-
|
|
9525
|
+
$ += ` at "${L}" (strictTypes)`, (0, d.checkStrictMode)(A, $, A.opts.strictTypes);
|
|
9512
9526
|
}
|
|
9513
9527
|
class D {
|
|
9514
|
-
constructor(
|
|
9515
|
-
if ((0, a.validateKeywordUsage)(
|
|
9516
|
-
this.schemaCode =
|
|
9528
|
+
constructor($, L, x) {
|
|
9529
|
+
if ((0, a.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, d.schemaRefOrVal)($, this.schema, x, this.$data), this.schemaType = L.schemaType, this.parentSchema = $.schema, this.params = {}, this.it = $, this.def = L, this.$data)
|
|
9530
|
+
this.schemaCode = $.gen.const("vSchema", Z(this.$data, $));
|
|
9517
9531
|
else if (this.schemaCode = this.schemaValue, !(0, a.validSchemaType)(this.schema, L.schemaType, L.allowUndefined))
|
|
9518
9532
|
throw new Error(`${x} value must be ${JSON.stringify(L.schemaType)}`);
|
|
9519
|
-
("code" in L ? L.trackErrors : L.errors !== !1) && (this.errsCount =
|
|
9533
|
+
("code" in L ? L.trackErrors : L.errors !== !1) && (this.errsCount = $.gen.const("_errs", c.default.errors));
|
|
9520
9534
|
}
|
|
9521
|
-
result(
|
|
9522
|
-
this.failResult((0, i.not)(
|
|
9535
|
+
result($, L, x) {
|
|
9536
|
+
this.failResult((0, i.not)($), L, x);
|
|
9523
9537
|
}
|
|
9524
|
-
failResult(
|
|
9525
|
-
this.gen.if(
|
|
9538
|
+
failResult($, L, x) {
|
|
9539
|
+
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();
|
|
9526
9540
|
}
|
|
9527
|
-
pass(
|
|
9528
|
-
this.failResult((0, i.not)(
|
|
9541
|
+
pass($, L) {
|
|
9542
|
+
this.failResult((0, i.not)($), void 0, L);
|
|
9529
9543
|
}
|
|
9530
|
-
fail(
|
|
9531
|
-
if (
|
|
9544
|
+
fail($) {
|
|
9545
|
+
if ($ === void 0) {
|
|
9532
9546
|
this.error(), this.allErrors || this.gen.if(!1);
|
|
9533
9547
|
return;
|
|
9534
9548
|
}
|
|
9535
|
-
this.gen.if(
|
|
9549
|
+
this.gen.if($), this.error(), this.allErrors ? this.gen.endIf() : this.gen.else();
|
|
9536
9550
|
}
|
|
9537
|
-
fail$data(
|
|
9551
|
+
fail$data($) {
|
|
9538
9552
|
if (!this.$data)
|
|
9539
|
-
return this.fail(
|
|
9553
|
+
return this.fail($);
|
|
9540
9554
|
const { schemaCode: L } = this;
|
|
9541
|
-
this.fail((0, i._)`${L} !== undefined && (${(0, i.or)(this.invalid$data(),
|
|
9555
|
+
this.fail((0, i._)`${L} !== undefined && (${(0, i.or)(this.invalid$data(), $)})`);
|
|
9542
9556
|
}
|
|
9543
|
-
error(
|
|
9557
|
+
error($, L, x) {
|
|
9544
9558
|
if (L) {
|
|
9545
|
-
this.setParams(L), this._error(
|
|
9559
|
+
this.setParams(L), this._error($, x), this.setParams({});
|
|
9546
9560
|
return;
|
|
9547
9561
|
}
|
|
9548
|
-
this._error(
|
|
9562
|
+
this._error($, x);
|
|
9549
9563
|
}
|
|
9550
|
-
_error(
|
|
9551
|
-
(
|
|
9564
|
+
_error($, L) {
|
|
9565
|
+
($ ? m.reportExtraError : m.reportError)(this, this.def.error, L);
|
|
9552
9566
|
}
|
|
9553
9567
|
$dataError() {
|
|
9554
9568
|
(0, m.reportError)(this, this.def.$dataError || m.keyword$DataError);
|
|
@@ -9558,26 +9572,26 @@ function Wr() {
|
|
|
9558
9572
|
throw new Error('add "trackErrors" to keyword definition');
|
|
9559
9573
|
(0, m.resetErrorsCount)(this.gen, this.errsCount);
|
|
9560
9574
|
}
|
|
9561
|
-
ok(
|
|
9562
|
-
this.allErrors || this.gen.if(
|
|
9575
|
+
ok($) {
|
|
9576
|
+
this.allErrors || this.gen.if($);
|
|
9563
9577
|
}
|
|
9564
|
-
setParams(
|
|
9565
|
-
L ? Object.assign(this.params,
|
|
9578
|
+
setParams($, L) {
|
|
9579
|
+
L ? Object.assign(this.params, $) : this.params = $;
|
|
9566
9580
|
}
|
|
9567
|
-
block$data(
|
|
9581
|
+
block$data($, L, x = i.nil) {
|
|
9568
9582
|
this.gen.block(() => {
|
|
9569
|
-
this.check$data(
|
|
9583
|
+
this.check$data($, x), L();
|
|
9570
9584
|
});
|
|
9571
9585
|
}
|
|
9572
|
-
check$data(
|
|
9586
|
+
check$data($ = i.nil, L = i.nil) {
|
|
9573
9587
|
if (!this.$data)
|
|
9574
9588
|
return;
|
|
9575
9589
|
const { gen: x, schemaCode: H, schemaType: X, def: me } = this;
|
|
9576
|
-
x.if((0, i.or)((0, i._)`${H} === undefined`, L)),
|
|
9590
|
+
x.if((0, i.or)((0, i._)`${H} === undefined`, L)), $ !== i.nil && x.assign($, !0), (X.length || me.validateSchema) && (x.elseIf(this.invalid$data()), this.$dataError(), $ !== i.nil && x.assign($, !1)), x.else();
|
|
9577
9591
|
}
|
|
9578
9592
|
invalid$data() {
|
|
9579
|
-
const { gen:
|
|
9580
|
-
return (0, i.or)(me(),
|
|
9593
|
+
const { gen: $, schemaCode: L, schemaType: x, def: H, it: X } = this;
|
|
9594
|
+
return (0, i.or)(me(), Ne());
|
|
9581
9595
|
function me() {
|
|
9582
9596
|
if (x.length) {
|
|
9583
9597
|
if (!(L instanceof i.Name))
|
|
@@ -9587,37 +9601,37 @@ function Wr() {
|
|
|
9587
9601
|
}
|
|
9588
9602
|
return i.nil;
|
|
9589
9603
|
}
|
|
9590
|
-
function
|
|
9604
|
+
function Ne() {
|
|
9591
9605
|
if (H.validateSchema) {
|
|
9592
|
-
const Ee =
|
|
9606
|
+
const Ee = $.scopeValue("validate$data", { ref: H.validateSchema });
|
|
9593
9607
|
return (0, i._)`!${Ee}(${L})`;
|
|
9594
9608
|
}
|
|
9595
9609
|
return i.nil;
|
|
9596
9610
|
}
|
|
9597
9611
|
}
|
|
9598
|
-
subschema(
|
|
9599
|
-
const x = (0, o.getSubschema)(this.it,
|
|
9600
|
-
(0, o.extendSubschemaData)(x, this.it,
|
|
9612
|
+
subschema($, L) {
|
|
9613
|
+
const x = (0, o.getSubschema)(this.it, $);
|
|
9614
|
+
(0, o.extendSubschemaData)(x, this.it, $), (0, o.extendSubschemaMode)(x, $);
|
|
9601
9615
|
const H = { ...this.it, ...x, items: void 0, props: void 0 };
|
|
9602
9616
|
return h(H, L), H;
|
|
9603
9617
|
}
|
|
9604
|
-
mergeEvaluated(
|
|
9618
|
+
mergeEvaluated($, L) {
|
|
9605
9619
|
const { it: x, gen: H } = this;
|
|
9606
|
-
x.opts.unevaluated && (x.props !== !0 &&
|
|
9620
|
+
x.opts.unevaluated && (x.props !== !0 && $.props !== void 0 && (x.props = d.mergeEvaluated.props(H, $.props, x.props, L)), x.items !== !0 && $.items !== void 0 && (x.items = d.mergeEvaluated.items(H, $.items, x.items, L)));
|
|
9607
9621
|
}
|
|
9608
|
-
mergeValidEvaluated(
|
|
9622
|
+
mergeValidEvaluated($, L) {
|
|
9609
9623
|
const { it: x, gen: H } = this;
|
|
9610
9624
|
if (x.opts.unevaluated && (x.props !== !0 || x.items !== !0))
|
|
9611
|
-
return H.if(L, () => this.mergeEvaluated(
|
|
9625
|
+
return H.if(L, () => this.mergeEvaluated($, i.Name)), !0;
|
|
9612
9626
|
}
|
|
9613
9627
|
}
|
|
9614
9628
|
ke.KeywordCxt = D;
|
|
9615
|
-
function F(A,
|
|
9616
|
-
const H = new D(A, L,
|
|
9629
|
+
function F(A, $, L, x) {
|
|
9630
|
+
const H = new D(A, L, $);
|
|
9617
9631
|
"code" in L ? L.code(H, x) : H.$data && L.validate ? (0, a.funcKeywordCode)(H, L) : "macro" in L ? (0, a.macroKeywordCode)(H, L) : (L.compile || L.validate) && (0, a.funcKeywordCode)(H, L);
|
|
9618
9632
|
}
|
|
9619
9633
|
const B = /^\/(?:[^~]|~0|~1)*$/, se = /^([0-9]+)(#|\/(?:[^~]|~0|~1)*)?$/;
|
|
9620
|
-
function Z(A, { dataLevel:
|
|
9634
|
+
function Z(A, { dataLevel: $, dataNames: L, dataPathArr: x }) {
|
|
9621
9635
|
let H, X;
|
|
9622
9636
|
if (A === "")
|
|
9623
9637
|
return c.default.rootData;
|
|
@@ -9631,36 +9645,36 @@ function Wr() {
|
|
|
9631
9645
|
throw new Error(`Invalid JSON-pointer: ${A}`);
|
|
9632
9646
|
const ge = +_e[1];
|
|
9633
9647
|
if (H = _e[2], H === "#") {
|
|
9634
|
-
if (ge >=
|
|
9648
|
+
if (ge >= $)
|
|
9635
9649
|
throw new Error(Ee("property/index", ge));
|
|
9636
|
-
return x[
|
|
9650
|
+
return x[$ - ge];
|
|
9637
9651
|
}
|
|
9638
|
-
if (ge >
|
|
9652
|
+
if (ge > $)
|
|
9639
9653
|
throw new Error(Ee("data", ge));
|
|
9640
|
-
if (X = L[
|
|
9654
|
+
if (X = L[$ - ge], !H)
|
|
9641
9655
|
return X;
|
|
9642
9656
|
}
|
|
9643
9657
|
let me = X;
|
|
9644
|
-
const
|
|
9645
|
-
for (const _e of
|
|
9658
|
+
const Ne = H.split("/");
|
|
9659
|
+
for (const _e of Ne)
|
|
9646
9660
|
_e && (X = (0, i._)`${X}${(0, i.getProperty)((0, d.unescapeJsonPointer)(_e))}`, me = (0, i._)`${me} && ${X}`);
|
|
9647
9661
|
return me;
|
|
9648
9662
|
function Ee(_e, ge) {
|
|
9649
|
-
return `Cannot access ${_e} ${ge} levels up, current level is ${
|
|
9663
|
+
return `Cannot access ${_e} ${ge} levels up, current level is ${$}`;
|
|
9650
9664
|
}
|
|
9651
9665
|
}
|
|
9652
9666
|
return ke.getData = Z, ke;
|
|
9653
9667
|
}
|
|
9654
|
-
var
|
|
9668
|
+
var Ut = {}, ha;
|
|
9655
9669
|
function zn() {
|
|
9656
|
-
if (ha) return
|
|
9657
|
-
ha = 1, Object.defineProperty(
|
|
9670
|
+
if (ha) return Ut;
|
|
9671
|
+
ha = 1, Object.defineProperty(Ut, "__esModule", { value: !0 });
|
|
9658
9672
|
class e extends Error {
|
|
9659
9673
|
constructor(r) {
|
|
9660
9674
|
super("validation failed"), this.errors = r, this.ajv = this.validation = !0;
|
|
9661
9675
|
}
|
|
9662
9676
|
}
|
|
9663
|
-
return
|
|
9677
|
+
return Ut.default = e, Ut;
|
|
9664
9678
|
}
|
|
9665
9679
|
var jt = {}, ma;
|
|
9666
9680
|
function zr() {
|
|
@@ -9725,13 +9739,13 @@ function Gn() {
|
|
|
9725
9739
|
opts: this.opts,
|
|
9726
9740
|
self: this
|
|
9727
9741
|
};
|
|
9728
|
-
let
|
|
9742
|
+
let U;
|
|
9729
9743
|
try {
|
|
9730
9744
|
this._compilations.add(f), (0, a.validateFunctionCode)(k), E.optimize(this.opts.code.optimize);
|
|
9731
|
-
const
|
|
9732
|
-
|
|
9733
|
-
const V = new Function(`${r.default.self}`, `${r.default.scope}`,
|
|
9734
|
-
if (this.scope.value(P, { ref: V }), V.errors = null, V.schema = f.schema, V.schemaEnv = f, f.$async && (V.$async = !0), this.opts.code.source === !0 && (V.source = { validateName: P, validateCode:
|
|
9745
|
+
const q = E.toString();
|
|
9746
|
+
U = `${E.scopeRefs(r.default.scope)}return ${q}`, this.opts.code.process && (U = this.opts.code.process(U, f));
|
|
9747
|
+
const V = new Function(`${r.default.self}`, `${r.default.scope}`, U)(this, this.scope.get());
|
|
9748
|
+
if (this.scope.value(P, { ref: V }), V.errors = null, V.schema = f.schema, V.schemaEnv = f, f.$async && (V.$async = !0), this.opts.code.source === !0 && (V.source = { validateName: P, validateCode: q, scopeValues: E._values }), this.opts.unevaluated) {
|
|
9735
9749
|
const { props: W, items: re } = k;
|
|
9736
9750
|
V.evaluated = {
|
|
9737
9751
|
props: W instanceof e.Name ? void 0 : W,
|
|
@@ -9741,8 +9755,8 @@ function Gn() {
|
|
|
9741
9755
|
}, V.source && (V.source.evaluated = (0, e.stringify)(V.evaluated));
|
|
9742
9756
|
}
|
|
9743
9757
|
return f.validate = V, f;
|
|
9744
|
-
} catch (
|
|
9745
|
-
throw delete f.validate, delete f.validateName,
|
|
9758
|
+
} catch (q) {
|
|
9759
|
+
throw delete f.validate, delete f.validateName, U && this.logger.error("Error compiling schema, function code:", U), q;
|
|
9746
9760
|
} finally {
|
|
9747
9761
|
this._compilations.delete(f);
|
|
9748
9762
|
}
|
|
@@ -9832,13 +9846,13 @@ function Gn() {
|
|
|
9832
9846
|
}
|
|
9833
9847
|
return Te;
|
|
9834
9848
|
}
|
|
9835
|
-
const
|
|
9836
|
-
$id:
|
|
9837
|
-
description:
|
|
9838
|
-
type:
|
|
9839
|
-
required:
|
|
9840
|
-
properties:
|
|
9841
|
-
additionalProperties:
|
|
9849
|
+
const Sm = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", Rm = "Meta-schema for $data reference (JSON AnySchema extension proposal)", Tm = "object", Am = ["$data"], Om = { $data: { type: "string", anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }] } }, Pm = !1, $m = {
|
|
9850
|
+
$id: Sm,
|
|
9851
|
+
description: Rm,
|
|
9852
|
+
type: Tm,
|
|
9853
|
+
required: Am,
|
|
9854
|
+
properties: Om,
|
|
9855
|
+
additionalProperties: Pm
|
|
9842
9856
|
};
|
|
9843
9857
|
var Ft = {}, bt = { exports: {} }, yn, ya;
|
|
9844
9858
|
function Nm() {
|
|
@@ -9870,7 +9884,7 @@ function Nm() {
|
|
|
9870
9884
|
}), yn;
|
|
9871
9885
|
}
|
|
9872
9886
|
var vn, va;
|
|
9873
|
-
function
|
|
9887
|
+
function Im() {
|
|
9874
9888
|
if (va) return vn;
|
|
9875
9889
|
va = 1;
|
|
9876
9890
|
const { HEX: e } = Nm(), t = /^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u;
|
|
@@ -10005,7 +10019,7 @@ function $m() {
|
|
|
10005
10019
|
}, vn;
|
|
10006
10020
|
}
|
|
10007
10021
|
var bn, ba;
|
|
10008
|
-
function
|
|
10022
|
+
function Dm() {
|
|
10009
10023
|
if (ba) return bn;
|
|
10010
10024
|
ba = 1;
|
|
10011
10025
|
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;
|
|
@@ -10097,10 +10111,10 @@ function Im() {
|
|
|
10097
10111
|
return bn = p, bn;
|
|
10098
10112
|
}
|
|
10099
10113
|
var wa;
|
|
10100
|
-
function
|
|
10114
|
+
function Cm() {
|
|
10101
10115
|
if (wa) return bt.exports;
|
|
10102
10116
|
wa = 1;
|
|
10103
|
-
const { normalizeIPv6: e, normalizeIPv4: t, removeDotSegments: r, recomposeAuthority: n, normalizeComponentEncoding: s } =
|
|
10117
|
+
const { normalizeIPv6: e, normalizeIPv4: t, removeDotSegments: r, recomposeAuthority: n, normalizeComponentEncoding: s } = Im(), a = Dm();
|
|
10104
10118
|
function o(f, p) {
|
|
10105
10119
|
return typeof f == "string" ? f = d(v(f, p), p) : typeof f == "object" && (f = v(d(f, p), p)), f;
|
|
10106
10120
|
}
|
|
@@ -10196,14 +10210,14 @@ function Dm() {
|
|
|
10196
10210
|
return bt.exports = g, bt.exports.default = g, bt.exports.fastUri = g, bt.exports;
|
|
10197
10211
|
}
|
|
10198
10212
|
var Ea;
|
|
10199
|
-
function
|
|
10213
|
+
function Lm() {
|
|
10200
10214
|
if (Ea) return Ft;
|
|
10201
10215
|
Ea = 1, Object.defineProperty(Ft, "__esModule", { value: !0 });
|
|
10202
|
-
const e =
|
|
10216
|
+
const e = Cm();
|
|
10203
10217
|
return e.code = 'require("ajv/dist/runtime/uri").default', Ft.default = e, Ft;
|
|
10204
10218
|
}
|
|
10205
10219
|
var _a;
|
|
10206
|
-
function
|
|
10220
|
+
function km() {
|
|
10207
10221
|
return _a || (_a = 1, (function(e) {
|
|
10208
10222
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
|
|
10209
10223
|
var t = Wr();
|
|
@@ -10224,7 +10238,7 @@ function Lm() {
|
|
|
10224
10238
|
} }), Object.defineProperty(e, "CodeGen", { enumerable: !0, get: function() {
|
|
10225
10239
|
return r.CodeGen;
|
|
10226
10240
|
} });
|
|
10227
|
-
const n = zn(), s = zr(), a = di(), o = Gn(), i = Q(), c = Br(), l = Cr(), d = te(), m =
|
|
10241
|
+
const n = zn(), s = zr(), a = di(), o = Gn(), i = Q(), c = Br(), l = Cr(), d = te(), m = $m, y = Lm(), S = (M, O) => new RegExp(M, O);
|
|
10228
10242
|
S.code = "new RegExp";
|
|
10229
10243
|
const v = ["removeAdditional", "useDefaults", "coerceTypes"], g = /* @__PURE__ */ new Set([
|
|
10230
10244
|
"validate",
|
|
@@ -10262,19 +10276,19 @@ function Lm() {
|
|
|
10262
10276
|
unicode: '"minLength"/"maxLength" account for unicode characters by default.'
|
|
10263
10277
|
}, u = 200;
|
|
10264
10278
|
function h(M) {
|
|
10265
|
-
var O, C,
|
|
10266
|
-
const ht = M.strict, Jr = (O = M.code) === null || O === void 0 ? void 0 : O.optimize, Jn = Jr === !0 || Jr === void 0 ? 1 : Jr || 0, Xn = (
|
|
10279
|
+
var O, C, N, b, T, D, F, B, se, Z, A, $, L, x, H, X, me, Ne, Ee, _e, ge, Xe, Ae, Kr, Yr;
|
|
10280
|
+
const ht = M.strict, Jr = (O = M.code) === null || O === void 0 ? void 0 : O.optimize, Jn = Jr === !0 || Jr === void 0 ? 1 : Jr || 0, Xn = (N = (C = M.code) === null || C === void 0 ? void 0 : C.regExp) !== null && N !== void 0 ? N : S, Si = (b = M.uriResolver) !== null && b !== void 0 ? b : y.default;
|
|
10267
10281
|
return {
|
|
10268
10282
|
strictSchema: (D = (T = M.strictSchema) !== null && T !== void 0 ? T : ht) !== null && D !== void 0 ? D : !0,
|
|
10269
10283
|
strictNumbers: (B = (F = M.strictNumbers) !== null && F !== void 0 ? F : ht) !== null && B !== void 0 ? B : !0,
|
|
10270
10284
|
strictTypes: (Z = (se = M.strictTypes) !== null && se !== void 0 ? se : ht) !== null && Z !== void 0 ? Z : "log",
|
|
10271
|
-
strictTuples: (
|
|
10285
|
+
strictTuples: ($ = (A = M.strictTuples) !== null && A !== void 0 ? A : ht) !== null && $ !== void 0 ? $ : "log",
|
|
10272
10286
|
strictRequired: (x = (L = M.strictRequired) !== null && L !== void 0 ? L : ht) !== null && x !== void 0 ? x : !1,
|
|
10273
10287
|
code: M.code ? { ...M.code, optimize: Jn, regExp: Xn } : { optimize: Jn, regExp: Xn },
|
|
10274
10288
|
loopRequired: (H = M.loopRequired) !== null && H !== void 0 ? H : u,
|
|
10275
10289
|
loopEnum: (X = M.loopEnum) !== null && X !== void 0 ? X : u,
|
|
10276
10290
|
meta: (me = M.meta) !== null && me !== void 0 ? me : !0,
|
|
10277
|
-
messages: (
|
|
10291
|
+
messages: (Ne = M.messages) !== null && Ne !== void 0 ? Ne : !0,
|
|
10278
10292
|
inlineRefs: (Ee = M.inlineRefs) !== null && Ee !== void 0 ? Ee : !0,
|
|
10279
10293
|
schemaId: (_e = M.schemaId) !== null && _e !== void 0 ? _e : "$id",
|
|
10280
10294
|
addUsedSchema: (ge = M.addUsedSchema) !== null && ge !== void 0 ? ge : !0,
|
|
@@ -10288,46 +10302,46 @@ function Lm() {
|
|
|
10288
10302
|
class w {
|
|
10289
10303
|
constructor(O = {}) {
|
|
10290
10304
|
this.schemas = {}, this.refs = {}, this.formats = {}, this._compilations = /* @__PURE__ */ new Set(), this._loading = {}, this._cache = /* @__PURE__ */ new Map(), O = this.opts = { ...O, ...h(O) };
|
|
10291
|
-
const { es5: C, lines:
|
|
10292
|
-
this.scope = new i.ValueScope({ scope: {}, prefixes: g, es5: C, lines:
|
|
10305
|
+
const { es5: C, lines: N } = this.opts.code;
|
|
10306
|
+
this.scope = new i.ValueScope({ scope: {}, prefixes: g, es5: C, lines: N }), this.logger = j(O.logger);
|
|
10293
10307
|
const b = O.validateFormats;
|
|
10294
|
-
O.validateFormats = !1, this.RULES = (0, a.getRules)(), _.call(this, f, O, "NOT SUPPORTED"), _.call(this, p, O, "DEPRECATED", "warn"), this._metaOpts =
|
|
10308
|
+
O.validateFormats = !1, this.RULES = (0, a.getRules)(), _.call(this, f, O, "NOT SUPPORTED"), _.call(this, p, O, "DEPRECATED", "warn"), this._metaOpts = U.call(this), O.formats && P.call(this), this._addVocabularies(), this._addDefaultMetaSchema(), O.keywords && k.call(this, O.keywords), typeof O.meta == "object" && this.addMetaSchema(O.meta), R.call(this), O.validateFormats = b;
|
|
10295
10309
|
}
|
|
10296
10310
|
_addVocabularies() {
|
|
10297
10311
|
this.addKeyword("$async");
|
|
10298
10312
|
}
|
|
10299
10313
|
_addDefaultMetaSchema() {
|
|
10300
|
-
const { $data: O, meta: C, schemaId:
|
|
10314
|
+
const { $data: O, meta: C, schemaId: N } = this.opts;
|
|
10301
10315
|
let b = m;
|
|
10302
|
-
|
|
10316
|
+
N === "id" && (b = { ...m }, b.id = b.$id, delete b.$id), C && O && this.addMetaSchema(b, b[N], !1);
|
|
10303
10317
|
}
|
|
10304
10318
|
defaultMeta() {
|
|
10305
10319
|
const { meta: O, schemaId: C } = this.opts;
|
|
10306
10320
|
return this.opts.defaultMeta = typeof O == "object" ? O[C] || O : void 0;
|
|
10307
10321
|
}
|
|
10308
10322
|
validate(O, C) {
|
|
10309
|
-
let
|
|
10323
|
+
let N;
|
|
10310
10324
|
if (typeof O == "string") {
|
|
10311
|
-
if (
|
|
10325
|
+
if (N = this.getSchema(O), !N)
|
|
10312
10326
|
throw new Error(`no schema with key or ref "${O}"`);
|
|
10313
10327
|
} else
|
|
10314
|
-
|
|
10315
|
-
const b =
|
|
10316
|
-
return "$async" in
|
|
10328
|
+
N = this.compile(O);
|
|
10329
|
+
const b = N(C);
|
|
10330
|
+
return "$async" in N || (this.errors = N.errors), b;
|
|
10317
10331
|
}
|
|
10318
10332
|
compile(O, C) {
|
|
10319
|
-
const
|
|
10320
|
-
return
|
|
10333
|
+
const N = this._addSchema(O, C);
|
|
10334
|
+
return N.validate || this._compileSchemaEnv(N);
|
|
10321
10335
|
}
|
|
10322
10336
|
compileAsync(O, C) {
|
|
10323
10337
|
if (typeof this.opts.loadSchema != "function")
|
|
10324
10338
|
throw new Error("options.loadSchema should be a function");
|
|
10325
|
-
const { loadSchema:
|
|
10339
|
+
const { loadSchema: N } = this.opts;
|
|
10326
10340
|
return b.call(this, O, C);
|
|
10327
10341
|
async function b(Z, A) {
|
|
10328
10342
|
await T.call(this, Z.$schema);
|
|
10329
|
-
const
|
|
10330
|
-
return
|
|
10343
|
+
const $ = this._addSchema(Z, A);
|
|
10344
|
+
return $.validate || D.call(this, $);
|
|
10331
10345
|
}
|
|
10332
10346
|
async function T(Z) {
|
|
10333
10347
|
Z && !this.getSchema(Z) && await b.call(this, { $ref: Z }, !0);
|
|
@@ -10354,17 +10368,17 @@ function Lm() {
|
|
|
10354
10368
|
if (A)
|
|
10355
10369
|
return A;
|
|
10356
10370
|
try {
|
|
10357
|
-
return await (this._loading[Z] =
|
|
10371
|
+
return await (this._loading[Z] = N(Z));
|
|
10358
10372
|
} finally {
|
|
10359
10373
|
delete this._loading[Z];
|
|
10360
10374
|
}
|
|
10361
10375
|
}
|
|
10362
10376
|
}
|
|
10363
10377
|
// Adds schema to the instance
|
|
10364
|
-
addSchema(O, C,
|
|
10378
|
+
addSchema(O, C, N, b = this.opts.validateSchema) {
|
|
10365
10379
|
if (Array.isArray(O)) {
|
|
10366
10380
|
for (const D of O)
|
|
10367
|
-
this.addSchema(D, void 0,
|
|
10381
|
+
this.addSchema(D, void 0, N, b);
|
|
10368
10382
|
return this;
|
|
10369
10383
|
}
|
|
10370
10384
|
let T;
|
|
@@ -10373,23 +10387,23 @@ function Lm() {
|
|
|
10373
10387
|
if (T = O[D], T !== void 0 && typeof T != "string")
|
|
10374
10388
|
throw new Error(`schema ${D} must be string`);
|
|
10375
10389
|
}
|
|
10376
|
-
return C = (0, c.normalizeId)(C || T), this._checkUnique(C), this.schemas[C] = this._addSchema(O,
|
|
10390
|
+
return C = (0, c.normalizeId)(C || T), this._checkUnique(C), this.schemas[C] = this._addSchema(O, N, C, b, !0), this;
|
|
10377
10391
|
}
|
|
10378
10392
|
// Add schema that will be used to validate other schemas
|
|
10379
10393
|
// options in META_IGNORE_OPTIONS are alway set to false
|
|
10380
|
-
addMetaSchema(O, C,
|
|
10381
|
-
return this.addSchema(O, C, !0,
|
|
10394
|
+
addMetaSchema(O, C, N = this.opts.validateSchema) {
|
|
10395
|
+
return this.addSchema(O, C, !0, N), this;
|
|
10382
10396
|
}
|
|
10383
10397
|
// Validate schema against its meta-schema
|
|
10384
10398
|
validateSchema(O, C) {
|
|
10385
10399
|
if (typeof O == "boolean")
|
|
10386
10400
|
return !0;
|
|
10387
|
-
let
|
|
10388
|
-
if (
|
|
10401
|
+
let N;
|
|
10402
|
+
if (N = O.$schema, N !== void 0 && typeof N != "string")
|
|
10389
10403
|
throw new Error("$schema must be a string");
|
|
10390
|
-
if (
|
|
10404
|
+
if (N = N || this.opts.defaultMeta || this.defaultMeta(), !N)
|
|
10391
10405
|
return this.logger.warn("meta-schema not available"), this.errors = null, !0;
|
|
10392
|
-
const b = this.validate(
|
|
10406
|
+
const b = this.validate(N, O);
|
|
10393
10407
|
if (!b && C) {
|
|
10394
10408
|
const T = "schema is invalid: " + this.errorsText();
|
|
10395
10409
|
if (this.opts.validateSchema === "log")
|
|
@@ -10406,7 +10420,7 @@ function Lm() {
|
|
|
10406
10420
|
for (; typeof (C = E.call(this, O)) == "string"; )
|
|
10407
10421
|
O = C;
|
|
10408
10422
|
if (C === void 0) {
|
|
10409
|
-
const { schemaId:
|
|
10423
|
+
const { schemaId: N } = this.opts, b = new o.SchemaEnv({ schema: {}, schemaId: N });
|
|
10410
10424
|
if (C = o.resolveSchema.call(this, b, O), !C)
|
|
10411
10425
|
return;
|
|
10412
10426
|
this.refs[O] = C;
|
|
@@ -10430,8 +10444,8 @@ function Lm() {
|
|
|
10430
10444
|
case "object": {
|
|
10431
10445
|
const C = O;
|
|
10432
10446
|
this._cache.delete(C);
|
|
10433
|
-
let
|
|
10434
|
-
return
|
|
10447
|
+
let N = O[this.opts.schemaId];
|
|
10448
|
+
return N && (N = (0, c.normalizeId)(N), delete this.schemas[N], delete this.refs[N]), this;
|
|
10435
10449
|
}
|
|
10436
10450
|
default:
|
|
10437
10451
|
throw new Error("ajv.removeSchema: invalid parameter");
|
|
@@ -10444,23 +10458,23 @@ function Lm() {
|
|
|
10444
10458
|
return this;
|
|
10445
10459
|
}
|
|
10446
10460
|
addKeyword(O, C) {
|
|
10447
|
-
let
|
|
10461
|
+
let N;
|
|
10448
10462
|
if (typeof O == "string")
|
|
10449
|
-
|
|
10463
|
+
N = O, typeof C == "object" && (this.logger.warn("these parameters are deprecated, see docs for addKeyword"), C.keyword = N);
|
|
10450
10464
|
else if (typeof O == "object" && C === void 0) {
|
|
10451
|
-
if (C = O,
|
|
10465
|
+
if (C = O, N = C.keyword, Array.isArray(N) && !N.length)
|
|
10452
10466
|
throw new Error("addKeywords: keyword must be string or non-empty array");
|
|
10453
10467
|
} else
|
|
10454
10468
|
throw new Error("invalid addKeywords parameters");
|
|
10455
|
-
if (W.call(this,
|
|
10456
|
-
return (0, d.eachItem)(
|
|
10469
|
+
if (W.call(this, N, C), !C)
|
|
10470
|
+
return (0, d.eachItem)(N, (T) => re.call(this, T)), this;
|
|
10457
10471
|
he.call(this, C);
|
|
10458
10472
|
const b = {
|
|
10459
10473
|
...C,
|
|
10460
10474
|
type: (0, l.getJSONTypes)(C.type),
|
|
10461
10475
|
schemaType: (0, l.getJSONTypes)(C.schemaType)
|
|
10462
10476
|
};
|
|
10463
|
-
return (0, d.eachItem)(
|
|
10477
|
+
return (0, d.eachItem)(N, b.type.length === 0 ? (T) => re.call(this, T, b) : (T) => b.type.forEach((D) => re.call(this, T, b, D))), this;
|
|
10464
10478
|
}
|
|
10465
10479
|
getKeyword(O) {
|
|
10466
10480
|
const C = this.RULES.all[O];
|
|
@@ -10470,9 +10484,9 @@ function Lm() {
|
|
|
10470
10484
|
removeKeyword(O) {
|
|
10471
10485
|
const { RULES: C } = this;
|
|
10472
10486
|
delete C.keywords[O], delete C.all[O];
|
|
10473
|
-
for (const
|
|
10474
|
-
const b =
|
|
10475
|
-
b >= 0 &&
|
|
10487
|
+
for (const N of C.rules) {
|
|
10488
|
+
const b = N.rules.findIndex((T) => T.keyword === O);
|
|
10489
|
+
b >= 0 && N.rules.splice(b, 1);
|
|
10476
10490
|
}
|
|
10477
10491
|
return this;
|
|
10478
10492
|
}
|
|
@@ -10480,19 +10494,19 @@ function Lm() {
|
|
|
10480
10494
|
addFormat(O, C) {
|
|
10481
10495
|
return typeof C == "string" && (C = new RegExp(C)), this.formats[O] = C, this;
|
|
10482
10496
|
}
|
|
10483
|
-
errorsText(O = this.errors, { separator: C = ", ", dataVar:
|
|
10484
|
-
return !O || O.length === 0 ? "No errors" : O.map((b) => `${
|
|
10497
|
+
errorsText(O = this.errors, { separator: C = ", ", dataVar: N = "data" } = {}) {
|
|
10498
|
+
return !O || O.length === 0 ? "No errors" : O.map((b) => `${N}${b.instancePath} ${b.message}`).reduce((b, T) => b + C + T);
|
|
10485
10499
|
}
|
|
10486
10500
|
$dataMetaSchema(O, C) {
|
|
10487
|
-
const
|
|
10501
|
+
const N = this.RULES.all;
|
|
10488
10502
|
O = JSON.parse(JSON.stringify(O));
|
|
10489
10503
|
for (const b of C) {
|
|
10490
10504
|
const T = b.split("/").slice(1);
|
|
10491
10505
|
let D = O;
|
|
10492
10506
|
for (const F of T)
|
|
10493
10507
|
D = D[F];
|
|
10494
|
-
for (const F in
|
|
10495
|
-
const B =
|
|
10508
|
+
for (const F in N) {
|
|
10509
|
+
const B = N[F];
|
|
10496
10510
|
if (typeof B != "object")
|
|
10497
10511
|
continue;
|
|
10498
10512
|
const { $data: se } = B.definition, Z = D[F];
|
|
@@ -10502,12 +10516,12 @@ function Lm() {
|
|
|
10502
10516
|
return O;
|
|
10503
10517
|
}
|
|
10504
10518
|
_removeAllSchemas(O, C) {
|
|
10505
|
-
for (const
|
|
10506
|
-
const b = O[
|
|
10507
|
-
(!C || C.test(
|
|
10519
|
+
for (const N in O) {
|
|
10520
|
+
const b = O[N];
|
|
10521
|
+
(!C || C.test(N)) && (typeof b == "string" ? delete O[N] : b && !b.meta && (this._cache.delete(b.schema), delete O[N]));
|
|
10508
10522
|
}
|
|
10509
10523
|
}
|
|
10510
|
-
_addSchema(O, C,
|
|
10524
|
+
_addSchema(O, C, N, b = this.opts.validateSchema, T = this.opts.addUsedSchema) {
|
|
10511
10525
|
let D;
|
|
10512
10526
|
const { schemaId: F } = this.opts;
|
|
10513
10527
|
if (typeof O == "object")
|
|
@@ -10521,9 +10535,9 @@ function Lm() {
|
|
|
10521
10535
|
let B = this._cache.get(O);
|
|
10522
10536
|
if (B !== void 0)
|
|
10523
10537
|
return B;
|
|
10524
|
-
|
|
10525
|
-
const se = c.getSchemaRefs.call(this, O,
|
|
10526
|
-
return B = new o.SchemaEnv({ schema: O, schemaId: F, meta: C, baseId:
|
|
10538
|
+
N = (0, c.normalizeId)(D || N);
|
|
10539
|
+
const se = c.getSchemaRefs.call(this, O, N);
|
|
10540
|
+
return B = new o.SchemaEnv({ schema: O, schemaId: F, meta: C, baseId: N, localRefs: se }), this._cache.set(B.schema, B), T && !N.startsWith("#") && (N && this._checkUnique(N), this.refs[N] = B), b && this.validateSchema(O, !0), B;
|
|
10527
10541
|
}
|
|
10528
10542
|
_checkUnique(O) {
|
|
10529
10543
|
if (this.schemas[O] || this.refs[O])
|
|
@@ -10545,10 +10559,10 @@ function Lm() {
|
|
|
10545
10559
|
}
|
|
10546
10560
|
}
|
|
10547
10561
|
w.ValidationError = n.default, w.MissingRefError = s.default, e.default = w;
|
|
10548
|
-
function _(M, O, C,
|
|
10562
|
+
function _(M, O, C, N = "error") {
|
|
10549
10563
|
for (const b in M) {
|
|
10550
10564
|
const T = b;
|
|
10551
|
-
T in O && this.logger[
|
|
10565
|
+
T in O && this.logger[N](`${C}: option ${b}. ${M[T]}`);
|
|
10552
10566
|
}
|
|
10553
10567
|
}
|
|
10554
10568
|
function E(M) {
|
|
@@ -10580,19 +10594,19 @@ function Lm() {
|
|
|
10580
10594
|
C.keyword || (C.keyword = O), this.addKeyword(C);
|
|
10581
10595
|
}
|
|
10582
10596
|
}
|
|
10583
|
-
function
|
|
10597
|
+
function U() {
|
|
10584
10598
|
const M = { ...this.opts };
|
|
10585
10599
|
for (const O of v)
|
|
10586
10600
|
delete M[O];
|
|
10587
10601
|
return M;
|
|
10588
10602
|
}
|
|
10589
|
-
const
|
|
10603
|
+
const q = { log() {
|
|
10590
10604
|
}, warn() {
|
|
10591
10605
|
}, error() {
|
|
10592
10606
|
} };
|
|
10593
10607
|
function j(M) {
|
|
10594
10608
|
if (M === !1)
|
|
10595
|
-
return
|
|
10609
|
+
return q;
|
|
10596
10610
|
if (M === void 0)
|
|
10597
10611
|
return console;
|
|
10598
10612
|
if (M.log && M.warn && M.error)
|
|
@@ -10602,16 +10616,16 @@ function Lm() {
|
|
|
10602
10616
|
const V = /^[a-z_$][a-z0-9_$:-]*$/i;
|
|
10603
10617
|
function W(M, O) {
|
|
10604
10618
|
const { RULES: C } = this;
|
|
10605
|
-
if ((0, d.eachItem)(M, (
|
|
10606
|
-
if (C.keywords[
|
|
10607
|
-
throw new Error(`Keyword ${
|
|
10608
|
-
if (!V.test(
|
|
10609
|
-
throw new Error(`Keyword ${
|
|
10619
|
+
if ((0, d.eachItem)(M, (N) => {
|
|
10620
|
+
if (C.keywords[N])
|
|
10621
|
+
throw new Error(`Keyword ${N} is already defined`);
|
|
10622
|
+
if (!V.test(N))
|
|
10623
|
+
throw new Error(`Keyword ${N} has invalid name`);
|
|
10610
10624
|
}), !!O && O.$data && !("code" in O || "validate" in O))
|
|
10611
10625
|
throw new Error('$data keyword must have "code" or "validate" function');
|
|
10612
10626
|
}
|
|
10613
10627
|
function re(M, O, C) {
|
|
10614
|
-
var
|
|
10628
|
+
var N;
|
|
10615
10629
|
const b = O?.post;
|
|
10616
10630
|
if (C && b)
|
|
10617
10631
|
throw new Error('keyword with "post" flag cannot have "type"');
|
|
@@ -10627,11 +10641,11 @@ function Lm() {
|
|
|
10627
10641
|
schemaType: (0, l.getJSONTypes)(O.schemaType)
|
|
10628
10642
|
}
|
|
10629
10643
|
};
|
|
10630
|
-
O.before ? ne.call(this, D, F, O.before) : D.rules.push(F), T.all[M] = F, (
|
|
10644
|
+
O.before ? ne.call(this, D, F, O.before) : D.rules.push(F), T.all[M] = F, (N = O.implements) === null || N === void 0 || N.forEach((B) => this.addKeyword(B));
|
|
10631
10645
|
}
|
|
10632
10646
|
function ne(M, O, C) {
|
|
10633
|
-
const
|
|
10634
|
-
|
|
10647
|
+
const N = M.rules.findIndex((b) => b.keyword === C);
|
|
10648
|
+
N >= 0 ? M.rules.splice(N, 0, O) : (M.rules.push(O), this.logger.warn(`rule ${C} is not defined`));
|
|
10635
10649
|
}
|
|
10636
10650
|
function he(M) {
|
|
10637
10651
|
let { metaSchema: O } = M;
|
|
@@ -10646,7 +10660,7 @@ function Lm() {
|
|
|
10646
10660
|
})(ln)), ln;
|
|
10647
10661
|
}
|
|
10648
10662
|
var Vt = {}, Ht = {}, Bt = {}, Sa;
|
|
10649
|
-
function
|
|
10663
|
+
function Mm() {
|
|
10650
10664
|
if (Sa) return Bt;
|
|
10651
10665
|
Sa = 1, Object.defineProperty(Bt, "__esModule", { value: !0 });
|
|
10652
10666
|
const e = {
|
|
@@ -10658,7 +10672,7 @@ function km() {
|
|
|
10658
10672
|
return Bt.default = e, Bt;
|
|
10659
10673
|
}
|
|
10660
10674
|
var je = {}, Ra;
|
|
10661
|
-
function
|
|
10675
|
+
function xm() {
|
|
10662
10676
|
if (Ra) return je;
|
|
10663
10677
|
Ra = 1, Object.defineProperty(je, "__esModule", { value: !0 }), je.callRef = je.getValidate = void 0;
|
|
10664
10678
|
const e = zr(), t = Ce(), r = Q(), n = Ve(), s = Gn(), a = te(), o = {
|
|
@@ -10685,14 +10699,14 @@ function Mm() {
|
|
|
10685
10699
|
c(l, P, R, R.$async);
|
|
10686
10700
|
}
|
|
10687
10701
|
function E(R) {
|
|
10688
|
-
const P = d.scopeValue("schema", f.code.source === !0 ? { ref: R, code: (0, r.stringify)(R) } : { ref: R }), k = d.name("valid"),
|
|
10702
|
+
const P = d.scopeValue("schema", f.code.source === !0 ? { ref: R, code: (0, r.stringify)(R) } : { ref: R }), k = d.name("valid"), U = l.subschema({
|
|
10689
10703
|
schema: R,
|
|
10690
10704
|
dataTypes: [],
|
|
10691
10705
|
schemaPath: r.nil,
|
|
10692
10706
|
topSchemaRef: P,
|
|
10693
10707
|
errSchemaPath: m
|
|
10694
10708
|
}, k);
|
|
10695
|
-
l.mergeEvaluated(
|
|
10709
|
+
l.mergeEvaluated(U), l.ok(k);
|
|
10696
10710
|
}
|
|
10697
10711
|
}
|
|
10698
10712
|
};
|
|
@@ -10730,25 +10744,25 @@ function Mm() {
|
|
|
10730
10744
|
if (k && !k.dynamicProps)
|
|
10731
10745
|
k.props !== void 0 && (v.props = a.mergeEvaluated.props(S, k.props, v.props));
|
|
10732
10746
|
else {
|
|
10733
|
-
const
|
|
10734
|
-
v.props = a.mergeEvaluated.props(S,
|
|
10747
|
+
const U = S.var("props", (0, r._)`${R}.evaluated.props`);
|
|
10748
|
+
v.props = a.mergeEvaluated.props(S, U, v.props, r.Name);
|
|
10735
10749
|
}
|
|
10736
10750
|
if (v.items !== !0)
|
|
10737
10751
|
if (k && !k.dynamicItems)
|
|
10738
10752
|
k.items !== void 0 && (v.items = a.mergeEvaluated.items(S, k.items, v.items));
|
|
10739
10753
|
else {
|
|
10740
|
-
const
|
|
10741
|
-
v.items = a.mergeEvaluated.items(S,
|
|
10754
|
+
const U = S.var("items", (0, r._)`${R}.evaluated.items`);
|
|
10755
|
+
v.items = a.mergeEvaluated.items(S, U, v.items, r.Name);
|
|
10742
10756
|
}
|
|
10743
10757
|
}
|
|
10744
10758
|
}
|
|
10745
10759
|
return je.callRef = c, je.default = o, je;
|
|
10746
10760
|
}
|
|
10747
10761
|
var Ta;
|
|
10748
|
-
function
|
|
10762
|
+
function qm() {
|
|
10749
10763
|
if (Ta) return Ht;
|
|
10750
10764
|
Ta = 1, Object.defineProperty(Ht, "__esModule", { value: !0 });
|
|
10751
|
-
const e =
|
|
10765
|
+
const e = Mm(), t = xm(), r = [
|
|
10752
10766
|
"$schema",
|
|
10753
10767
|
"$id",
|
|
10754
10768
|
"$defs",
|
|
@@ -10786,7 +10800,7 @@ function Um() {
|
|
|
10786
10800
|
return zt.default = s, zt;
|
|
10787
10801
|
}
|
|
10788
10802
|
var Gt = {}, Oa;
|
|
10789
|
-
function
|
|
10803
|
+
function jm() {
|
|
10790
10804
|
if (Oa) return Gt;
|
|
10791
10805
|
Oa = 1, Object.defineProperty(Gt, "__esModule", { value: !0 });
|
|
10792
10806
|
const e = Q(), r = {
|
|
@@ -10806,7 +10820,7 @@ function qm() {
|
|
|
10806
10820
|
return Gt.default = r, Gt;
|
|
10807
10821
|
}
|
|
10808
10822
|
var Kt = {}, Yt = {}, Pa;
|
|
10809
|
-
function
|
|
10823
|
+
function Fm() {
|
|
10810
10824
|
if (Pa) return Yt;
|
|
10811
10825
|
Pa = 1, Object.defineProperty(Yt, "__esModule", { value: !0 });
|
|
10812
10826
|
function e(t) {
|
|
@@ -10818,11 +10832,11 @@ function jm() {
|
|
|
10818
10832
|
}
|
|
10819
10833
|
return Yt.default = e, e.code = 'require("ajv/dist/runtime/ucs2length").default', Yt;
|
|
10820
10834
|
}
|
|
10821
|
-
var
|
|
10822
|
-
function
|
|
10823
|
-
if (
|
|
10824
|
-
|
|
10825
|
-
const e = Q(), t = te(), r =
|
|
10835
|
+
var $a;
|
|
10836
|
+
function Vm() {
|
|
10837
|
+
if ($a) return Kt;
|
|
10838
|
+
$a = 1, Object.defineProperty(Kt, "__esModule", { value: !0 });
|
|
10839
|
+
const e = Q(), t = te(), r = Fm(), s = {
|
|
10826
10840
|
keyword: ["maxLength", "minLength"],
|
|
10827
10841
|
type: "string",
|
|
10828
10842
|
schemaType: "number",
|
|
@@ -10841,10 +10855,10 @@ function Fm() {
|
|
|
10841
10855
|
};
|
|
10842
10856
|
return Kt.default = s, Kt;
|
|
10843
10857
|
}
|
|
10844
|
-
var Jt = {},
|
|
10845
|
-
function
|
|
10846
|
-
if (
|
|
10847
|
-
|
|
10858
|
+
var Jt = {}, Na;
|
|
10859
|
+
function Hm() {
|
|
10860
|
+
if (Na) return Jt;
|
|
10861
|
+
Na = 1, Object.defineProperty(Jt, "__esModule", { value: !0 });
|
|
10848
10862
|
const e = Ce(), t = Q(), n = {
|
|
10849
10863
|
keyword: "pattern",
|
|
10850
10864
|
type: "string",
|
|
@@ -10862,7 +10876,7 @@ function Vm() {
|
|
|
10862
10876
|
return Jt.default = n, Jt;
|
|
10863
10877
|
}
|
|
10864
10878
|
var Xt = {}, Ia;
|
|
10865
|
-
function
|
|
10879
|
+
function Bm() {
|
|
10866
10880
|
if (Ia) return Xt;
|
|
10867
10881
|
Ia = 1, Object.defineProperty(Xt, "__esModule", { value: !0 });
|
|
10868
10882
|
const e = Q(), r = {
|
|
@@ -10885,7 +10899,7 @@ function Hm() {
|
|
|
10885
10899
|
return Xt.default = r, Xt;
|
|
10886
10900
|
}
|
|
10887
10901
|
var Qt = {}, Da;
|
|
10888
|
-
function
|
|
10902
|
+
function Wm() {
|
|
10889
10903
|
if (Da) return Qt;
|
|
10890
10904
|
Da = 1, Object.defineProperty(Qt, "__esModule", { value: !0 });
|
|
10891
10905
|
const e = Ce(), t = Q(), r = te(), s = {
|
|
@@ -10942,7 +10956,7 @@ function Bm() {
|
|
|
10942
10956
|
return Qt.default = s, Qt;
|
|
10943
10957
|
}
|
|
10944
10958
|
var Zt = {}, Ca;
|
|
10945
|
-
function
|
|
10959
|
+
function zm() {
|
|
10946
10960
|
if (Ca) return Zt;
|
|
10947
10961
|
Ca = 1, Object.defineProperty(Zt, "__esModule", { value: !0 });
|
|
10948
10962
|
const e = Q(), r = {
|
|
@@ -10972,7 +10986,7 @@ function Kn() {
|
|
|
10972
10986
|
return e.code = 'require("ajv/dist/runtime/equal").default', tr.default = e, tr;
|
|
10973
10987
|
}
|
|
10974
10988
|
var ka;
|
|
10975
|
-
function
|
|
10989
|
+
function Gm() {
|
|
10976
10990
|
if (ka) return er;
|
|
10977
10991
|
ka = 1, Object.defineProperty(er, "__esModule", { value: !0 });
|
|
10978
10992
|
const e = Cr(), t = Q(), r = te(), n = Kn(), a = {
|
|
@@ -11016,7 +11030,7 @@ function zm() {
|
|
|
11016
11030
|
return er.default = a, er;
|
|
11017
11031
|
}
|
|
11018
11032
|
var rr = {}, Ma;
|
|
11019
|
-
function
|
|
11033
|
+
function Km() {
|
|
11020
11034
|
if (Ma) return rr;
|
|
11021
11035
|
Ma = 1, Object.defineProperty(rr, "__esModule", { value: !0 });
|
|
11022
11036
|
const e = Q(), t = te(), r = Kn(), s = {
|
|
@@ -11034,7 +11048,7 @@ function Gm() {
|
|
|
11034
11048
|
return rr.default = s, rr;
|
|
11035
11049
|
}
|
|
11036
11050
|
var nr = {}, xa;
|
|
11037
|
-
function
|
|
11051
|
+
function Ym() {
|
|
11038
11052
|
if (xa) return nr;
|
|
11039
11053
|
xa = 1, Object.defineProperty(nr, "__esModule", { value: !0 });
|
|
11040
11054
|
const e = Q(), t = te(), r = Kn(), s = {
|
|
@@ -11073,11 +11087,11 @@ function Km() {
|
|
|
11073
11087
|
};
|
|
11074
11088
|
return nr.default = s, nr;
|
|
11075
11089
|
}
|
|
11076
|
-
var
|
|
11077
|
-
function
|
|
11078
|
-
if (
|
|
11079
|
-
|
|
11080
|
-
const e = Um(), t =
|
|
11090
|
+
var qa;
|
|
11091
|
+
function Jm() {
|
|
11092
|
+
if (qa) return Wt;
|
|
11093
|
+
qa = 1, Object.defineProperty(Wt, "__esModule", { value: !0 });
|
|
11094
|
+
const e = Um(), t = jm(), r = Vm(), n = Hm(), s = Bm(), a = Wm(), o = zm(), i = Gm(), c = Km(), l = Ym(), d = [
|
|
11081
11095
|
// number
|
|
11082
11096
|
e.default,
|
|
11083
11097
|
t.default,
|
|
@@ -11098,10 +11112,10 @@ function Ym() {
|
|
|
11098
11112
|
];
|
|
11099
11113
|
return Wt.default = d, Wt;
|
|
11100
11114
|
}
|
|
11101
|
-
var sr = {}, st = {},
|
|
11115
|
+
var sr = {}, st = {}, Ua;
|
|
11102
11116
|
function hi() {
|
|
11103
|
-
if (
|
|
11104
|
-
|
|
11117
|
+
if (Ua) return st;
|
|
11118
|
+
Ua = 1, Object.defineProperty(st, "__esModule", { value: !0 }), st.validateAdditionalItems = void 0;
|
|
11105
11119
|
const e = Q(), t = te(), n = {
|
|
11106
11120
|
keyword: "additionalItems",
|
|
11107
11121
|
type: "array",
|
|
@@ -11176,7 +11190,7 @@ function mi() {
|
|
|
11176
11190
|
return at.validateTuple = s, at.default = n, at;
|
|
11177
11191
|
}
|
|
11178
11192
|
var Fa;
|
|
11179
|
-
function
|
|
11193
|
+
function Xm() {
|
|
11180
11194
|
if (Fa) return ar;
|
|
11181
11195
|
Fa = 1, Object.defineProperty(ar, "__esModule", { value: !0 });
|
|
11182
11196
|
const e = mi(), t = {
|
|
@@ -11189,7 +11203,7 @@ function Jm() {
|
|
|
11189
11203
|
return ar.default = t, ar;
|
|
11190
11204
|
}
|
|
11191
11205
|
var or = {}, Va;
|
|
11192
|
-
function
|
|
11206
|
+
function Qm() {
|
|
11193
11207
|
if (Va) return or;
|
|
11194
11208
|
Va = 1, Object.defineProperty(or, "__esModule", { value: !0 });
|
|
11195
11209
|
const e = Q(), t = te(), r = Ce(), n = hi(), a = {
|
|
@@ -11209,7 +11223,7 @@ function Xm() {
|
|
|
11209
11223
|
return or.default = a, or;
|
|
11210
11224
|
}
|
|
11211
11225
|
var ir = {}, Ha;
|
|
11212
|
-
function
|
|
11226
|
+
function Zm() {
|
|
11213
11227
|
if (Ha) return ir;
|
|
11214
11228
|
Ha = 1, Object.defineProperty(ir, "__esModule", { value: !0 });
|
|
11215
11229
|
const e = Q(), t = te(), n = {
|
|
@@ -11266,7 +11280,7 @@ function Qm() {
|
|
|
11266
11280
|
return ir.default = n, ir;
|
|
11267
11281
|
}
|
|
11268
11282
|
var wn = {}, Ba;
|
|
11269
|
-
function
|
|
11283
|
+
function eg() {
|
|
11270
11284
|
return Ba || (Ba = 1, (function(e) {
|
|
11271
11285
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
|
|
11272
11286
|
const t = Q(), r = te(), n = Ce();
|
|
@@ -11339,7 +11353,7 @@ function Zm() {
|
|
|
11339
11353
|
})(wn)), wn;
|
|
11340
11354
|
}
|
|
11341
11355
|
var cr = {}, Wa;
|
|
11342
|
-
function
|
|
11356
|
+
function tg() {
|
|
11343
11357
|
if (Wa) return cr;
|
|
11344
11358
|
Wa = 1, Object.defineProperty(cr, "__esModule", { value: !0 });
|
|
11345
11359
|
const e = Q(), t = te(), n = {
|
|
@@ -11442,7 +11456,7 @@ function gi() {
|
|
|
11442
11456
|
return ur.default = a, ur;
|
|
11443
11457
|
}
|
|
11444
11458
|
var lr = {}, Ga;
|
|
11445
|
-
function
|
|
11459
|
+
function rg() {
|
|
11446
11460
|
if (Ga) return lr;
|
|
11447
11461
|
Ga = 1, Object.defineProperty(lr, "__esModule", { value: !0 });
|
|
11448
11462
|
const e = Wr(), t = Ce(), r = te(), n = gi(), s = {
|
|
@@ -11477,7 +11491,7 @@ function tg() {
|
|
|
11477
11491
|
return lr.default = s, lr;
|
|
11478
11492
|
}
|
|
11479
11493
|
var dr = {}, Ka;
|
|
11480
|
-
function
|
|
11494
|
+
function ng() {
|
|
11481
11495
|
if (Ka) return dr;
|
|
11482
11496
|
Ka = 1, Object.defineProperty(dr, "__esModule", { value: !0 });
|
|
11483
11497
|
const e = Ce(), t = Q(), r = te(), n = te(), s = {
|
|
@@ -11518,7 +11532,7 @@ function rg() {
|
|
|
11518
11532
|
return dr.default = s, dr;
|
|
11519
11533
|
}
|
|
11520
11534
|
var fr = {}, Ya;
|
|
11521
|
-
function
|
|
11535
|
+
function sg() {
|
|
11522
11536
|
if (Ya) return fr;
|
|
11523
11537
|
Ya = 1, Object.defineProperty(fr, "__esModule", { value: !0 });
|
|
11524
11538
|
const e = te(), t = {
|
|
@@ -11544,7 +11558,7 @@ function ng() {
|
|
|
11544
11558
|
return fr.default = t, fr;
|
|
11545
11559
|
}
|
|
11546
11560
|
var pr = {}, Ja;
|
|
11547
|
-
function
|
|
11561
|
+
function ag() {
|
|
11548
11562
|
if (Ja) return pr;
|
|
11549
11563
|
Ja = 1, Object.defineProperty(pr, "__esModule", { value: !0 });
|
|
11550
11564
|
const t = {
|
|
@@ -11557,7 +11571,7 @@ function sg() {
|
|
|
11557
11571
|
return pr.default = t, pr;
|
|
11558
11572
|
}
|
|
11559
11573
|
var hr = {}, Xa;
|
|
11560
|
-
function
|
|
11574
|
+
function og() {
|
|
11561
11575
|
if (Xa) return hr;
|
|
11562
11576
|
Xa = 1, Object.defineProperty(hr, "__esModule", { value: !0 });
|
|
11563
11577
|
const e = Q(), t = te(), n = {
|
|
@@ -11593,7 +11607,7 @@ function ag() {
|
|
|
11593
11607
|
return hr.default = n, hr;
|
|
11594
11608
|
}
|
|
11595
11609
|
var mr = {}, Qa;
|
|
11596
|
-
function
|
|
11610
|
+
function ig() {
|
|
11597
11611
|
if (Qa) return mr;
|
|
11598
11612
|
Qa = 1, Object.defineProperty(mr, "__esModule", { value: !0 });
|
|
11599
11613
|
const e = te(), t = {
|
|
@@ -11615,7 +11629,7 @@ function og() {
|
|
|
11615
11629
|
return mr.default = t, mr;
|
|
11616
11630
|
}
|
|
11617
11631
|
var gr = {}, Za;
|
|
11618
|
-
function
|
|
11632
|
+
function cg() {
|
|
11619
11633
|
if (Za) return gr;
|
|
11620
11634
|
Za = 1, Object.defineProperty(gr, "__esModule", { value: !0 });
|
|
11621
11635
|
const e = Q(), t = te(), n = {
|
|
@@ -11662,7 +11676,7 @@ function ig() {
|
|
|
11662
11676
|
return gr.default = n, gr;
|
|
11663
11677
|
}
|
|
11664
11678
|
var yr = {}, eo;
|
|
11665
|
-
function
|
|
11679
|
+
function ug() {
|
|
11666
11680
|
if (eo) return yr;
|
|
11667
11681
|
eo = 1, Object.defineProperty(yr, "__esModule", { value: !0 });
|
|
11668
11682
|
const e = te(), t = {
|
|
@@ -11675,10 +11689,10 @@ function cg() {
|
|
|
11675
11689
|
return yr.default = t, yr;
|
|
11676
11690
|
}
|
|
11677
11691
|
var to;
|
|
11678
|
-
function
|
|
11692
|
+
function lg() {
|
|
11679
11693
|
if (to) return sr;
|
|
11680
11694
|
to = 1, Object.defineProperty(sr, "__esModule", { value: !0 });
|
|
11681
|
-
const e = hi(), t =
|
|
11695
|
+
const e = hi(), t = Xm(), r = mi(), n = Qm(), s = Zm(), a = eg(), o = tg(), i = gi(), c = rg(), l = ng(), d = sg(), m = ag(), y = og(), S = ig(), v = cg(), g = ug();
|
|
11682
11696
|
function f(p = !1) {
|
|
11683
11697
|
const u = [
|
|
11684
11698
|
// any
|
|
@@ -11700,7 +11714,7 @@ function ug() {
|
|
|
11700
11714
|
return sr.default = f, sr;
|
|
11701
11715
|
}
|
|
11702
11716
|
var vr = {}, br = {}, ro;
|
|
11703
|
-
function
|
|
11717
|
+
function dg() {
|
|
11704
11718
|
if (ro) return br;
|
|
11705
11719
|
ro = 1, Object.defineProperty(br, "__esModule", { value: !0 });
|
|
11706
11720
|
const e = Q(), r = {
|
|
@@ -11752,8 +11766,8 @@ function lg() {
|
|
|
11752
11766
|
}
|
|
11753
11767
|
}
|
|
11754
11768
|
function E(P) {
|
|
11755
|
-
const k = P instanceof RegExp ? (0, e.regexpCode)(P) : m.code.formats ? (0, e._)`${m.code.formats}${(0, e.getProperty)(c)}` : void 0,
|
|
11756
|
-
return typeof P == "object" && !(P instanceof RegExp) ? [P.type || "string", P.validate, (0, e._)`${
|
|
11769
|
+
const k = P instanceof RegExp ? (0, e.regexpCode)(P) : m.code.formats ? (0, e._)`${m.code.formats}${(0, e.getProperty)(c)}` : void 0, U = a.scopeValue("formats", { key: c, ref: P, code: k });
|
|
11770
|
+
return typeof P == "object" && !(P instanceof RegExp) ? [P.type || "string", P.validate, (0, e._)`${U}.validate`] : ["string", P, U];
|
|
11757
11771
|
}
|
|
11758
11772
|
function R() {
|
|
11759
11773
|
if (typeof p == "object" && !(p instanceof RegExp) && p.async) {
|
|
@@ -11769,14 +11783,14 @@ function lg() {
|
|
|
11769
11783
|
return br.default = r, br;
|
|
11770
11784
|
}
|
|
11771
11785
|
var no;
|
|
11772
|
-
function
|
|
11786
|
+
function fg() {
|
|
11773
11787
|
if (no) return vr;
|
|
11774
11788
|
no = 1, Object.defineProperty(vr, "__esModule", { value: !0 });
|
|
11775
|
-
const t = [
|
|
11789
|
+
const t = [dg().default];
|
|
11776
11790
|
return vr.default = t, vr;
|
|
11777
11791
|
}
|
|
11778
11792
|
var We = {}, so;
|
|
11779
|
-
function
|
|
11793
|
+
function pg() {
|
|
11780
11794
|
return so || (so = 1, Object.defineProperty(We, "__esModule", { value: !0 }), We.contentVocabulary = We.metadataVocabulary = void 0, We.metadataVocabulary = [
|
|
11781
11795
|
"title",
|
|
11782
11796
|
"description",
|
|
@@ -11792,10 +11806,10 @@ function fg() {
|
|
|
11792
11806
|
]), We;
|
|
11793
11807
|
}
|
|
11794
11808
|
var ao;
|
|
11795
|
-
function
|
|
11809
|
+
function hg() {
|
|
11796
11810
|
if (ao) return Vt;
|
|
11797
11811
|
ao = 1, Object.defineProperty(Vt, "__esModule", { value: !0 });
|
|
11798
|
-
const e =
|
|
11812
|
+
const e = qm(), t = Jm(), r = lg(), n = fg(), s = pg(), a = [
|
|
11799
11813
|
e.default,
|
|
11800
11814
|
t.default,
|
|
11801
11815
|
(0, r.default)(),
|
|
@@ -11806,7 +11820,7 @@ function pg() {
|
|
|
11806
11820
|
return Vt.default = a, Vt;
|
|
11807
11821
|
}
|
|
11808
11822
|
var wr = {}, wt = {}, oo;
|
|
11809
|
-
function
|
|
11823
|
+
function mg() {
|
|
11810
11824
|
if (oo) return wt;
|
|
11811
11825
|
oo = 1, Object.defineProperty(wt, "__esModule", { value: !0 }), wt.DiscrError = void 0;
|
|
11812
11826
|
var e;
|
|
@@ -11815,10 +11829,10 @@ function hg() {
|
|
|
11815
11829
|
})(e || (wt.DiscrError = e = {})), wt;
|
|
11816
11830
|
}
|
|
11817
11831
|
var io;
|
|
11818
|
-
function
|
|
11832
|
+
function gg() {
|
|
11819
11833
|
if (io) return wr;
|
|
11820
11834
|
io = 1, Object.defineProperty(wr, "__esModule", { value: !0 });
|
|
11821
|
-
const e = Q(), t =
|
|
11835
|
+
const e = Q(), t = mg(), r = Gn(), n = zr(), s = te(), o = {
|
|
11822
11836
|
keyword: "discriminator",
|
|
11823
11837
|
type: "object",
|
|
11824
11838
|
schemaType: "object",
|
|
@@ -11854,8 +11868,8 @@ function mg() {
|
|
|
11854
11868
|
var w;
|
|
11855
11869
|
const _ = {}, E = P(m);
|
|
11856
11870
|
let R = !0;
|
|
11857
|
-
for (let
|
|
11858
|
-
let j = S[
|
|
11871
|
+
for (let q = 0; q < S.length; q++) {
|
|
11872
|
+
let j = S[q];
|
|
11859
11873
|
if (j?.$ref && !(0, s.schemaHasRulesButRef)(j, y.self.RULES)) {
|
|
11860
11874
|
const W = j.$ref;
|
|
11861
11875
|
if (j = r.resolveRef.call(y.self, y.schemaEnv.root, y.baseId, W), j instanceof r.SchemaEnv && (j = j.schema), j === void 0)
|
|
@@ -11864,47 +11878,47 @@ function mg() {
|
|
|
11864
11878
|
const V = (w = j?.properties) === null || w === void 0 ? void 0 : w[v];
|
|
11865
11879
|
if (typeof V != "object")
|
|
11866
11880
|
throw new Error(`discriminator: oneOf subschemas (or referenced schemas) must have "properties/${v}"`);
|
|
11867
|
-
R = R && (E || P(j)), k(V,
|
|
11881
|
+
R = R && (E || P(j)), k(V, q);
|
|
11868
11882
|
}
|
|
11869
11883
|
if (!R)
|
|
11870
11884
|
throw new Error(`discriminator: "${v}" must be required`);
|
|
11871
11885
|
return _;
|
|
11872
|
-
function P({ required:
|
|
11873
|
-
return Array.isArray(
|
|
11886
|
+
function P({ required: q }) {
|
|
11887
|
+
return Array.isArray(q) && q.includes(v);
|
|
11874
11888
|
}
|
|
11875
|
-
function k(
|
|
11876
|
-
if (
|
|
11877
|
-
q
|
|
11878
|
-
else if (
|
|
11879
|
-
for (const V of
|
|
11880
|
-
|
|
11889
|
+
function k(q, j) {
|
|
11890
|
+
if (q.const)
|
|
11891
|
+
U(q.const, j);
|
|
11892
|
+
else if (q.enum)
|
|
11893
|
+
for (const V of q.enum)
|
|
11894
|
+
U(V, j);
|
|
11881
11895
|
else
|
|
11882
11896
|
throw new Error(`discriminator: "properties/${v}" must have "const" or "enum"`);
|
|
11883
11897
|
}
|
|
11884
|
-
function q
|
|
11885
|
-
if (typeof
|
|
11898
|
+
function U(q, j) {
|
|
11899
|
+
if (typeof q != "string" || q in _)
|
|
11886
11900
|
throw new Error(`discriminator: "${v}" values must be unique strings`);
|
|
11887
|
-
_[
|
|
11901
|
+
_[q] = j;
|
|
11888
11902
|
}
|
|
11889
11903
|
}
|
|
11890
11904
|
}
|
|
11891
11905
|
};
|
|
11892
11906
|
return wr.default = o, wr;
|
|
11893
11907
|
}
|
|
11894
|
-
const
|
|
11895
|
-
$schema:
|
|
11896
|
-
$id:
|
|
11897
|
-
title:
|
|
11898
|
-
definitions:
|
|
11899
|
-
type:
|
|
11900
|
-
properties:
|
|
11908
|
+
const yg = "http://json-schema.org/draft-07/schema#", vg = "http://json-schema.org/draft-07/schema#", bg = "Core schema meta-schema", wg = { schemaArray: { type: "array", minItems: 1, items: { $ref: "#" } }, nonNegativeInteger: { type: "integer", minimum: 0 }, nonNegativeIntegerDefault0: { allOf: [{ $ref: "#/definitions/nonNegativeInteger" }, { default: 0 }] }, simpleTypes: { enum: ["array", "boolean", "integer", "null", "number", "object", "string"] }, stringArray: { type: "array", items: { type: "string" }, uniqueItems: !0, default: [] } }, Eg = ["object", "boolean"], _g = { $id: { type: "string", format: "uri-reference" }, $schema: { type: "string", format: "uri" }, $ref: { type: "string", format: "uri-reference" }, $comment: { type: "string" }, title: { type: "string" }, description: { type: "string" }, default: !0, readOnly: { type: "boolean", default: !1 }, examples: { type: "array", items: !0 }, multipleOf: { type: "number", exclusiveMinimum: 0 }, maximum: { type: "number" }, exclusiveMaximum: { type: "number" }, minimum: { type: "number" }, exclusiveMinimum: { type: "number" }, maxLength: { $ref: "#/definitions/nonNegativeInteger" }, minLength: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, pattern: { type: "string", format: "regex" }, additionalItems: { $ref: "#" }, items: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/schemaArray" }], default: !0 }, maxItems: { $ref: "#/definitions/nonNegativeInteger" }, minItems: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, uniqueItems: { type: "boolean", default: !1 }, contains: { $ref: "#" }, maxProperties: { $ref: "#/definitions/nonNegativeInteger" }, minProperties: { $ref: "#/definitions/nonNegativeIntegerDefault0" }, required: { $ref: "#/definitions/stringArray" }, additionalProperties: { $ref: "#" }, definitions: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, properties: { type: "object", additionalProperties: { $ref: "#" }, default: {} }, patternProperties: { type: "object", additionalProperties: { $ref: "#" }, propertyNames: { format: "regex" }, default: {} }, dependencies: { type: "object", additionalProperties: { anyOf: [{ $ref: "#" }, { $ref: "#/definitions/stringArray" }] } }, propertyNames: { $ref: "#" }, const: !0, enum: { type: "array", items: !0, minItems: 1, uniqueItems: !0 }, type: { anyOf: [{ $ref: "#/definitions/simpleTypes" }, { type: "array", items: { $ref: "#/definitions/simpleTypes" }, minItems: 1, uniqueItems: !0 }] }, format: { type: "string" }, contentMediaType: { type: "string" }, contentEncoding: { type: "string" }, if: { $ref: "#" }, then: { $ref: "#" }, else: { $ref: "#" }, allOf: { $ref: "#/definitions/schemaArray" }, anyOf: { $ref: "#/definitions/schemaArray" }, oneOf: { $ref: "#/definitions/schemaArray" }, not: { $ref: "#" } }, Sg = {
|
|
11909
|
+
$schema: yg,
|
|
11910
|
+
$id: vg,
|
|
11911
|
+
title: bg,
|
|
11912
|
+
definitions: wg,
|
|
11913
|
+
type: Eg,
|
|
11914
|
+
properties: _g,
|
|
11901
11915
|
default: !0
|
|
11902
11916
|
};
|
|
11903
11917
|
var co;
|
|
11904
|
-
function
|
|
11918
|
+
function Rg() {
|
|
11905
11919
|
return co || (co = 1, (function(e, t) {
|
|
11906
11920
|
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;
|
|
11907
|
-
const r =
|
|
11921
|
+
const r = km(), n = hg(), s = gg(), a = Sg, o = ["/properties"], i = "http://json-schema.org/draft-07/schema";
|
|
11908
11922
|
class c extends r.default {
|
|
11909
11923
|
_addVocabularies() {
|
|
11910
11924
|
super._addVocabularies(), n.default.forEach((v) => this.addVocabulary(v)), this.opts.discriminator && this.addKeyword(s.default);
|
|
@@ -11948,8 +11962,8 @@ function Sg() {
|
|
|
11948
11962
|
} });
|
|
11949
11963
|
})(xt, xt.exports)), xt.exports;
|
|
11950
11964
|
}
|
|
11951
|
-
var
|
|
11952
|
-
const
|
|
11965
|
+
var Tg = Rg();
|
|
11966
|
+
const Ag = /* @__PURE__ */ ym(Tg), Yn = "/bahmni_config/openmrs/apps/clinical/v2", Og = "/bahmni_config/openmrs/apps/registration/v2", Pg = Yn + "/app.json", $g = Og + "/app.json", Ng = Yn + "/medication.json", Ig = (e) => `${Yn}/dashboards/${e}`, uo = {
|
|
11953
11967
|
CONFIG_NOT_FOUND: "CONFIG_ERROR_NOT_FOUND",
|
|
11954
11968
|
VALIDATION_FAILED: "CONFIG_ERROR_VALIDATION_FAILED",
|
|
11955
11969
|
SCHEMA_VALIDATION_FAILED: "CONFIG_ERROR_SCHEMA_VALIDATION_FAILED"
|
|
@@ -11957,54 +11971,54 @@ const Tg = /* @__PURE__ */ gm(Rg), Yn = "/bahmni_config/openmrs/apps/clinical/v2
|
|
|
11957
11971
|
CONFIG_ERROR: "ERROR_CONFIG_TITLE",
|
|
11958
11972
|
VALIDATION_ERROR: "ERROR_VALIDATION_TITLE",
|
|
11959
11973
|
DASHBOARD_ERROR: "ERROR_DASHBOARD_CONFIG_TITLE"
|
|
11960
|
-
},
|
|
11961
|
-
$schema:
|
|
11962
|
-
title:
|
|
11963
|
-
description:
|
|
11964
|
-
type:
|
|
11965
|
-
required:
|
|
11966
|
-
additionalProperties:
|
|
11967
|
-
properties:
|
|
11968
|
-
},
|
|
11969
|
-
$schema:
|
|
11970
|
-
title:
|
|
11971
|
-
description:
|
|
11972
|
-
type:
|
|
11973
|
-
additionalProperties:
|
|
11974
|
-
required:
|
|
11975
|
-
properties:
|
|
11976
|
-
},
|
|
11977
|
-
$schema:
|
|
11978
|
-
title:
|
|
11979
|
-
type:
|
|
11980
|
-
additionalProperties:
|
|
11981
|
-
properties:
|
|
11982
|
-
},
|
|
11983
|
-
$schema:
|
|
11984
|
-
title:
|
|
11985
|
-
description:
|
|
11986
|
-
type:
|
|
11987
|
-
additionalProperties:
|
|
11988
|
-
properties:
|
|
11989
|
-
},
|
|
11974
|
+
}, Dg = "http://json-schema.org/draft-07/schema#", Cg = "Clinical App Configuration Schema", Lg = "Schema for global clinical app configuration including patient information, actions and available dashboards", kg = "object", Mg = ["patientInformation", "actions", "dashboards", "consultationPad"], xg = !1, qg = { patientInformation: { type: "object", description: "Patient information configuration", additionalProperties: !1 }, contextInformation: { type: "object", description: "Context information configuration for displaying additional patient context", additionalProperties: !1, properties: { program: { type: "object", description: "Program details configuration", required: ["fields"], additionalProperties: !1, properties: { fields: { type: "array", description: "List of fields to display in program details", items: { type: "string" } } } } } }, actions: { type: "array", description: "List of available actions" }, dashboards: { type: "array", description: "List of available dashboards", items: { type: "object", required: ["name", "requiredPrivileges", "url"], additionalProperties: !1, properties: { name: { type: "string", description: "Display name of the dashboard" }, requiredPrivileges: { type: "array", items: { type: "string" }, description: "List of permissions required to access this dashboard" }, icon: { type: "string", description: "Icon class name for the dashboard" }, default: { type: "boolean", description: "Whether this is the default dashboard" }, url: { type: "string", description: "URL to access the dashboard data" } } } }, consultationPad: { type: "object", description: "Configuration for consultation pad forms", required: ["allergyConceptMap"], additionalProperties: !1, properties: { allergyConceptMap: { type: "object", description: "UUID mappings for allergy concepts", required: ["medicationAllergenUuid", "foodAllergenUuid", "environmentalAllergenUuid", "allergyReactionUuid"], additionalProperties: !1, properties: { medicationAllergenUuid: { type: "string", description: "UUID for medication allergen concept" }, foodAllergenUuid: { type: "string", description: "UUID for food allergen concept" }, environmentalAllergenUuid: { type: "string", description: "UUID for environmental allergen concept" }, allergyReactionUuid: { type: "string", description: "UUID for allergy reaction concept" } } } } } }, Ug = {
|
|
11975
|
+
$schema: Dg,
|
|
11976
|
+
title: Cg,
|
|
11977
|
+
description: Lg,
|
|
11978
|
+
type: kg,
|
|
11979
|
+
required: Mg,
|
|
11980
|
+
additionalProperties: xg,
|
|
11981
|
+
properties: qg
|
|
11982
|
+
}, jg = "http://json-schema.org/draft-07/schema#", Fg = "Clinical Dashboard Configuration Schema", Vg = "Schema for dashboards in clinical app which contains sections and associated controls", Hg = "object", Bg = !1, Wg = ["sections"], zg = { sections: { type: "array", description: "Section in a dashboard", items: { type: "object", additionalProperties: !1, required: ["name", "icon", "controls"], properties: { name: { type: "string", description: "Display name of the section" }, translationKey: { type: "string", description: "Translation key for the section name" }, icon: { type: "string", description: "Fontawesome Icon name for the section" }, controls: { type: "array", description: "List of controls in the section", items: [{ type: "object", additionalProperties: !1, required: ["type"], properties: { type: { type: "string", description: "Type of the control" }, config: { type: "object", description: "Configuration for the control" } } }] } } } } }, Gg = {
|
|
11983
|
+
$schema: jg,
|
|
11984
|
+
title: Fg,
|
|
11985
|
+
description: Vg,
|
|
11986
|
+
type: Hg,
|
|
11987
|
+
additionalProperties: Bg,
|
|
11988
|
+
required: Wg,
|
|
11989
|
+
properties: zg
|
|
11990
|
+
}, Kg = "http://json-schema.org/draft-07/schema#", Yg = "Medication Configuration Schema", Jg = "object", Xg = !1, Qg = { defaultDurationUnit: { type: "string", enum: ["min", "h", "d", "wk", "mo"], description: "Default unit for medication duration" }, defaultInstructions: { type: "string", description: "Default instructions for medication" }, drugFormDefaults: { type: "object", description: "Default dose units and routes for different drug forms", patternProperties: { "^.*$": { type: "object", additionalProperties: !1, properties: { doseUnits: { type: "string", description: "Default dose units for this drug form" }, route: { type: "string", description: "Default route of administration for this drug form" } } } } } }, Zg = {
|
|
11991
|
+
$schema: Kg,
|
|
11992
|
+
title: Yg,
|
|
11993
|
+
type: Jg,
|
|
11994
|
+
additionalProperties: Xg,
|
|
11995
|
+
properties: Qg
|
|
11996
|
+
}, ey = "http://json-schema.org/draft-07/schema#", ty = "Registration Configuration Schema", ry = "Schema for validating registration app configuration", ny = "object", sy = !1, ay = { id: { type: "string", description: "Unique identifier for the registration configuration" }, contextModel: { type: "array", description: "Array of context model configurations", items: { type: "string" } }, patientSearch: { type: "object", description: "Patient search configuration", additionalProperties: !1, properties: { customAttributes: { type: "array", description: "Array of available search fields", items: { type: "object", additionalProperties: !1, properties: { translationKey: { type: "string", description: "Translation key for the dropdown label" }, fields: { type: "array", description: "Array of field names to search against", items: { type: "string" } }, expectedFields: { type: "array", description: "Array of fields configurations with translation keys to display on table headers", items: { type: "object", additionalProperties: !1, properties: { field: { type: "string", description: "field corresponding to table header" }, translationKey: { type: "string", description: "Translation key for the table header" } } } }, type: { type: "string", enum: ["person", "address", "program", "appointment"], description: "Type of the search field (person, address, program, appointment)" } } } }, appointment: { type: "array", description: "Array of available search fields for appointments", items: { type: "object", additionalProperties: !0, required: ["translationKey", "fields"], properties: { translationKey: { type: "string", description: "Translation key for the field label" }, fields: { type: "array", description: "Array of field names to search against", items: { type: "string" } }, expectedFields: { type: "array", description: "Array of expected fields with optional types", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "The field name (e.g., apptNumber, apptDate)" }, translationKey: { type: "string", description: "Translation key for the field's display label" }, type: { type: "string", description: "Optional field type (e.g., date, string)" } } } }, type: { type: "string", enum: ["appointment"], description: "Type of the search field (appointment)" }, actions: { type: "array", description: "Array of actions allowed on this search field", items: { type: "object", required: ["translationKey", "type", "enabledRule", "onAction"], properties: { translationKey: { type: "string", description: "Translation key for the action button label" }, type: { type: "string", enum: ["changeStatus", "navigate"], description: "Type of action to perform" }, enabledRule: { type: "array", description: "Conditions to enable this action (rules)", items: { type: "object", properties: { type: { type: "string", enum: ["privilegeCheck", "statusCheck", "appDateCheck"], description: "Type of rule to evaluate" }, values: { type: "array", items: { type: "string" }, description: "Values to check against for the rule" } } } }, onAction: { type: "object", description: "What happens when action is triggered", additionalProperties: !0, properties: { status: { type: "string", description: "Status to set (for changeStatus type)" }, navigation: { type: "string", description: "URL path to navigate to (for navigate type)" } } }, onSuccess: { type: "object", description: "Notification or other success response", additionalProperties: !0, properties: { notification: { type: "string", description: "Translation key for success notification message" } } } } } } } } } } }, defaultVisitType: { type: "string", description: "Default visit type for patient registration" }, patientInformation: { type: "object", description: "Patient name related fields configuration", additionalProperties: !0, properties: { defaultIdentifierPrefix: { type: "string", description: "Default prefix for patient identifiers" }, showEnterManually: { type: "boolean" }, showMiddleName: { type: "boolean" }, showLastName: { type: "boolean" }, isFirstNameMandatory: { type: "boolean" }, isMiddleNameMandatory: { type: "boolean" }, isGenderMandatory: { type: "boolean" }, isDateOfBirthMandatory: { type: "boolean" }, isLastNameMandatory: { type: "boolean" }, patientNameDisplayOrder: { type: "array", description: "Order in which patient name fields should be displayed", items: { type: "string" } }, showBirthTime: { type: "boolean" }, showDOBEstimated: { type: "boolean" }, addressHierarchy: { type: "object", description: "Address hierarchy levels to be displayed", additionalProperties: !1, properties: { showAddressFieldsTopDown: { type: "boolean" }, strictAutocompleteFromLevel: { type: "string" }, expectedFields: { type: "array", description: "Array of expected fields with translation keys", items: { type: "object", properties: { addressField: { type: "string", description: "Field name" }, translationKey: { type: "string", description: "Translation key for the field label" } } } } } }, additionalPatientInformation: { type: "object", description: "Additional patient information configuration", additionalProperties: !0, properties: { translationKey: { type: "string", description: "Translation key for the section title" }, attributes: { type: "array", description: "Array of attribute fields with translation keys", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "Field name" }, translationKey: { type: "string", description: "Translation key for the field label" } } } } } }, contactInformation: { type: "object", additionalProperties: !0, properties: { translationKey: { type: "string", description: "Translation key for the section title" }, attributes: { type: "array", description: "Array of attribute fields with translation keys", items: { type: "object", required: ["field", "translationKey"], properties: { field: { type: "string", description: "Field name" }, translationKey: { type: "string", description: "Translation key for the field label" } } } } } }, showExtraPatientIdentifiersSection: { type: "boolean", description: "Whether to show extra patient identifiers section" } } }, fieldValidation: { type: "object", description: "Field validation rules with regex patterns and error messages", additionalProperties: !0, patternProperties: { "^.*$": { type: "object", properties: { pattern: { type: "string", description: "Regular expression pattern for field validation" }, errorMessage: { type: "string", description: "Error message to display when validation fails" } } } } }, extensionPoints: { type: "array", description: "Array of extension point definitions that extensions can attach to", items: { type: "object", required: ["id"], additionalProperties: !1, properties: { id: { type: "string", description: "Unique identifier for the extension point (e.g., 'org.bahmni.registration.navigation')" }, description: { type: "string", description: "Human-readable description of what this extension point is for" } } } }, registrationAppExtensions: { type: "array", description: "Array of app extension configurations for registration", items: { type: "object", description: "Extension configuration", additionalProperties: !1, required: ["id", "extensionPointId", "type", "requiredPrivilege"], properties: { id: { type: "string", description: "Unique identifier for the extension" }, extensionPointId: { type: "string", description: "Extension point identifier this extension attaches to" }, type: { type: "string", enum: ["link", "startVisit"], description: "Type of extension (e.g., 'link', 'startVisit')" }, translationKey: { type: "string", description: "Translation key for the extension label" }, url: { type: "string", description: "URL path for the extension" }, shortcutKey: { type: "string", description: "Keyboard shortcut key for the extension" }, icon: { type: "string", description: "Icon class name (e.g., FontAwesome class like 'fa-search')" }, order: { type: "number", description: "Display order of the extension" }, kind: { type: "string", enum: ["primary", "secondary", "tertiary", "ghost", "danger"], description: "Button kind/variant (defaults to 'primary' if not specified)" }, requiredPrivilege: { type: "string", description: "Required privilege to access this extension" } } } } }, oy = {
|
|
11997
|
+
$schema: ey,
|
|
11998
|
+
title: ty,
|
|
11999
|
+
description: ry,
|
|
12000
|
+
type: ny,
|
|
12001
|
+
additionalProperties: sy,
|
|
12002
|
+
properties: ay
|
|
12003
|
+
}, Qb = async () => Gr(Pg, Ug), Zb = async (e) => {
|
|
11990
12004
|
const t = await Gr(
|
|
11991
|
-
|
|
11992
|
-
|
|
12005
|
+
Ig(e),
|
|
12006
|
+
Gg
|
|
11993
12007
|
);
|
|
11994
12008
|
return t && t.sections && t.sections.length > 0 && (t.sections = t.sections.map((r) => r.id ? r : {
|
|
11995
12009
|
...r,
|
|
11996
12010
|
id: hp()
|
|
11997
12011
|
})), t;
|
|
11998
|
-
},
|
|
12012
|
+
}, ew = async () => Gr(
|
|
11999
12013
|
Ng,
|
|
12000
|
-
|
|
12001
|
-
),
|
|
12002
|
-
|
|
12003
|
-
|
|
12014
|
+
Zg
|
|
12015
|
+
), tw = async () => Gr(
|
|
12016
|
+
$g,
|
|
12017
|
+
oy
|
|
12004
12018
|
), Gr = async (e, t) => {
|
|
12005
12019
|
try {
|
|
12006
|
-
const r = await
|
|
12007
|
-
return r ? await
|
|
12020
|
+
const r = await iy(e);
|
|
12021
|
+
return r ? await cy(r, t) ? r : (on.showError(
|
|
12008
12022
|
ie.t(lo.VALIDATION_ERROR),
|
|
12009
12023
|
ie.t(uo.VALIDATION_FAILED)
|
|
12010
12024
|
), null) : (on.showError(
|
|
@@ -12015,80 +12029,80 @@ const Tg = /* @__PURE__ */ gm(Rg), Yn = "/bahmni_config/openmrs/apps/clinical/v2
|
|
|
12015
12029
|
const { title: n, message: s } = ut(r);
|
|
12016
12030
|
return on.showError(n, s), null;
|
|
12017
12031
|
}
|
|
12018
|
-
},
|
|
12032
|
+
}, iy = async (e) => {
|
|
12019
12033
|
try {
|
|
12020
12034
|
return await z(e);
|
|
12021
12035
|
} catch (t) {
|
|
12022
12036
|
const { message: r } = ut(t);
|
|
12023
12037
|
throw new Error(r);
|
|
12024
12038
|
}
|
|
12025
|
-
},
|
|
12039
|
+
}, cy = async (e, t) => new Ag().compile(t)(e), uy = (e) => ee + `/form/${e}?v=custom:(resources:(value))`, ly = (e) => {
|
|
12026
12040
|
const t = ee + "/bahmniie/form/latestPublishedForms";
|
|
12027
12041
|
return e ? t + `?episodeUuid=${e}` : t;
|
|
12028
|
-
},
|
|
12042
|
+
}, rw = (e) => ee + `/user/${e}?v=full`, dy = (e, t, r, n) => ee + `/bahmniie/form/translations?formName=${encodeURIComponent(e)}&formUuid=${t}&formVersion=${r}&locale=${n}`, Tr = "Bahmni", fy = (e, t, r) => {
|
|
12029
12043
|
let s = ee + "/bahmnicore/patient/" + e + "/forms";
|
|
12030
12044
|
return r ? s += `?patientProgramUuid=${r}` : t && (s += `?numberOfVisits=${t}`), s;
|
|
12031
|
-
},
|
|
12045
|
+
}, py = (e, t) => {
|
|
12032
12046
|
const r = t.join(",");
|
|
12033
12047
|
return `${pe}/Observation?patient=${e}&code=${r}&_include=Observation:has-member&_sort=-_lastUpdated`;
|
|
12034
|
-
},
|
|
12048
|
+
}, hy = (e, t) => {
|
|
12035
12049
|
const r = t.join(",");
|
|
12036
12050
|
return `${pe}/Observation?patient=${e}&code=${r}&_include=Observation:has-member&_include=Observation:encounter&_sort=-_lastUpdated`;
|
|
12037
12051
|
};
|
|
12038
|
-
async function
|
|
12039
|
-
const r = fy(e, t);
|
|
12040
|
-
return await z(r);
|
|
12041
|
-
}
|
|
12042
|
-
async function rw(e, t) {
|
|
12052
|
+
async function my(e, t) {
|
|
12043
12053
|
const r = py(e, t);
|
|
12044
12054
|
return await z(r);
|
|
12045
12055
|
}
|
|
12046
12056
|
async function nw(e, t) {
|
|
12047
|
-
|
|
12057
|
+
const r = hy(e, t);
|
|
12058
|
+
return await z(r);
|
|
12048
12059
|
}
|
|
12049
|
-
|
|
12050
|
-
|
|
12060
|
+
async function sw(e, t) {
|
|
12061
|
+
return (await my(e, t)).entry?.filter((s) => s.resource?.resourceType === "Observation").map((s) => s.resource) ?? [];
|
|
12062
|
+
}
|
|
12063
|
+
const gy = (e) => ee + `/provider?user=${e}&v=custom:(uuid,display,person)`;
|
|
12064
|
+
async function aw(e) {
|
|
12051
12065
|
const t = await z(
|
|
12052
|
-
|
|
12066
|
+
gy(e)
|
|
12053
12067
|
);
|
|
12054
12068
|
return !t.results || t.results.length === 0 ? null : t.results[0];
|
|
12055
12069
|
}
|
|
12056
|
-
const
|
|
12057
|
-
async function vy(e) {
|
|
12058
|
-
return await z(gy(e));
|
|
12059
|
-
}
|
|
12070
|
+
const yy = (e) => pe + `/Encounter?subject:Patient=${e}&_tag=visit`, vy = (e) => `${pe}/Observation?encounter=${e}`;
|
|
12060
12071
|
async function by(e) {
|
|
12061
|
-
return
|
|
12072
|
+
return await z(yy(e));
|
|
12062
12073
|
}
|
|
12063
12074
|
async function wy(e) {
|
|
12064
|
-
return (await by(e)).
|
|
12075
|
+
return (await by(e)).entry?.map((r) => r.resource).filter((r) => r !== void 0) ?? [];
|
|
12065
12076
|
}
|
|
12066
|
-
async function
|
|
12067
|
-
return await
|
|
12077
|
+
async function Ey(e) {
|
|
12078
|
+
return (await wy(e)).find((r) => !r.period?.end) ?? null;
|
|
12079
|
+
}
|
|
12080
|
+
async function ow(e) {
|
|
12081
|
+
return await z(vy(e));
|
|
12068
12082
|
}
|
|
12069
|
-
const
|
|
12070
|
-
async function
|
|
12083
|
+
const iw = (e, t) => e?.length === 0 ? !1 : t?.length === 0, _y = pe + "/Encounter", Sy = ee + "/systemsetting/bahmni.encountersession.duration", Ry = "d34fe3ab-5e07-11ef-8f7c-0242ac120002";
|
|
12084
|
+
async function Ty(e) {
|
|
12071
12085
|
const t = new URLSearchParams();
|
|
12072
12086
|
Object.entries(e).forEach(([s, a]) => {
|
|
12073
12087
|
a && t.append(s, a);
|
|
12074
12088
|
});
|
|
12075
|
-
const r = `${
|
|
12089
|
+
const r = `${_y}?${t.toString()}`;
|
|
12076
12090
|
return (await z(r)).entry?.map((s) => s.resource).filter((s) => s !== void 0) ?? [];
|
|
12077
12091
|
}
|
|
12078
|
-
async function
|
|
12092
|
+
async function Ay() {
|
|
12079
12093
|
try {
|
|
12080
12094
|
const e = await z(
|
|
12081
|
-
|
|
12095
|
+
Sy
|
|
12082
12096
|
), t = Number(e.value);
|
|
12083
12097
|
return !isNaN(t) && t > 0 ? t : 60;
|
|
12084
12098
|
} catch {
|
|
12085
12099
|
return 30;
|
|
12086
12100
|
}
|
|
12087
12101
|
}
|
|
12088
|
-
async function
|
|
12102
|
+
async function Oy(e, t) {
|
|
12089
12103
|
if (!e.length) return null;
|
|
12090
12104
|
try {
|
|
12091
|
-
const r = await
|
|
12105
|
+
const r = await Ey(t);
|
|
12092
12106
|
return r ? e.find((n) => {
|
|
12093
12107
|
const s = n.partOf?.reference?.split("/")[1];
|
|
12094
12108
|
return r.id === s;
|
|
@@ -12097,25 +12111,25 @@ async function Ay(e, t) {
|
|
|
12097
12111
|
return null;
|
|
12098
12112
|
}
|
|
12099
12113
|
}
|
|
12100
|
-
async function
|
|
12114
|
+
async function cw(e, t, r) {
|
|
12101
12115
|
try {
|
|
12102
12116
|
if (!e) return null;
|
|
12103
|
-
const n = r ?? await
|
|
12117
|
+
const n = r ?? await Ay(), a = `ge${new Date(Date.now() - n * 60 * 1e3).toISOString()}`, o = {
|
|
12104
12118
|
patient: e,
|
|
12105
12119
|
_tag: "encounter",
|
|
12106
12120
|
_lastUpdated: a,
|
|
12107
|
-
type:
|
|
12121
|
+
type: Ry
|
|
12108
12122
|
};
|
|
12109
12123
|
t && (o.participant = t);
|
|
12110
|
-
const i = await
|
|
12111
|
-
return i.length === 0 ? null : await
|
|
12124
|
+
const i = await Ty(o);
|
|
12125
|
+
return i.length === 0 ? null : await Oy(i, e);
|
|
12112
12126
|
} catch {
|
|
12113
12127
|
return null;
|
|
12114
12128
|
}
|
|
12115
12129
|
}
|
|
12116
|
-
const
|
|
12117
|
-
async function
|
|
12118
|
-
const t = e.join(","), r = await z(
|
|
12130
|
+
const Py = (e) => pe + `/EpisodeOfCare?_revinclude=Encounter:episode-of-care&_id=${e}`;
|
|
12131
|
+
async function uw(e) {
|
|
12132
|
+
const t = e.join(","), r = await z(Py(t));
|
|
12119
12133
|
if (r.total === 0)
|
|
12120
12134
|
throw new Error(
|
|
12121
12135
|
"No episode of care found for the provided UUIDs: " + e.join(", ")
|
|
@@ -12127,12 +12141,12 @@ async function cw(e) {
|
|
|
12127
12141
|
c && s.add(c);
|
|
12128
12142
|
}), { visitUuids: Array.from(s), encounterUuids: a };
|
|
12129
12143
|
}
|
|
12130
|
-
const En = /* @__PURE__ */ new Map(),
|
|
12144
|
+
const En = /* @__PURE__ */ new Map(), $y = async (e) => {
|
|
12131
12145
|
if (En.has(e))
|
|
12132
12146
|
return En.get(e) ?? null;
|
|
12133
12147
|
const t = await z(Vo(e)), r = t ? String(t) : null;
|
|
12134
12148
|
return En.set(e, r), r;
|
|
12135
|
-
}, Ny = async () => await
|
|
12149
|
+
}, Ny = async () => await $y(nl) === "true", Iy = async (e, t, r, n = ot.CLINICAL) => {
|
|
12136
12150
|
if (!await Ny())
|
|
12137
12151
|
return { logged: !1 };
|
|
12138
12152
|
const a = Dn[t];
|
|
@@ -12150,31 +12164,31 @@ const En = /* @__PURE__ */ new Map(), Py = async (e) => {
|
|
|
12150
12164
|
module: n
|
|
12151
12165
|
};
|
|
12152
12166
|
return await Je(Gp, o), { logged: !0 };
|
|
12153
|
-
},
|
|
12154
|
-
await
|
|
12167
|
+
}, lw = () => zp(async (t) => {
|
|
12168
|
+
await Iy(
|
|
12155
12169
|
t.patientUuid,
|
|
12156
12170
|
t.eventType,
|
|
12157
12171
|
t.messageParams,
|
|
12158
12172
|
t.module
|
|
12159
12173
|
);
|
|
12160
|
-
}),
|
|
12174
|
+
}), dw = async () => {
|
|
12161
12175
|
try {
|
|
12162
12176
|
return await z(Xu);
|
|
12163
12177
|
} catch (e) {
|
|
12164
12178
|
const { message: t } = ut(e);
|
|
12165
12179
|
throw new Error(t);
|
|
12166
12180
|
}
|
|
12167
|
-
},
|
|
12181
|
+
}, fw = (e, t) => !e || e.length === 0 ? !1 : e.some((r) => r.name === t), Dy = async (e) => {
|
|
12168
12182
|
let t;
|
|
12169
12183
|
e && e.length > 0 && (t = e.join(","));
|
|
12170
|
-
const r = await fetch(
|
|
12184
|
+
const r = await fetch(ly(t));
|
|
12171
12185
|
if (!r.ok)
|
|
12172
12186
|
throw new Error(
|
|
12173
12187
|
`HTTP error! status for latestPublishedForms: ${r.status}`
|
|
12174
12188
|
);
|
|
12175
12189
|
const n = await r.json();
|
|
12176
12190
|
return Array.isArray(n) ? n : [];
|
|
12177
|
-
},
|
|
12191
|
+
}, Cy = (e, t) => {
|
|
12178
12192
|
const r = JSON.parse(e.nameTranslation);
|
|
12179
12193
|
if (Array.isArray(r) && r.length > 0) {
|
|
12180
12194
|
const n = r.find(
|
|
@@ -12184,8 +12198,8 @@ const En = /* @__PURE__ */ new Map(), Py = async (e) => {
|
|
|
12184
12198
|
return n.display;
|
|
12185
12199
|
}
|
|
12186
12200
|
return e.name;
|
|
12187
|
-
},
|
|
12188
|
-
const r =
|
|
12201
|
+
}, Ly = (e, t) => {
|
|
12202
|
+
const r = Cy(e, t);
|
|
12189
12203
|
return {
|
|
12190
12204
|
uuid: e.uuid,
|
|
12191
12205
|
name: r,
|
|
@@ -12195,13 +12209,13 @@ const En = /* @__PURE__ */ new Map(), Py = async (e) => {
|
|
|
12195
12209
|
editable: n.editable
|
|
12196
12210
|
}))
|
|
12197
12211
|
};
|
|
12198
|
-
},
|
|
12199
|
-
const t = await
|
|
12212
|
+
}, pw = async (e) => {
|
|
12213
|
+
const t = await Dy(e), r = It();
|
|
12200
12214
|
return t.map(
|
|
12201
|
-
(n) =>
|
|
12215
|
+
(n) => Ly(n, r)
|
|
12202
12216
|
);
|
|
12203
|
-
},
|
|
12204
|
-
const t = await fetch(
|
|
12217
|
+
}, hw = async (e) => {
|
|
12218
|
+
const t = await fetch(uy(e));
|
|
12205
12219
|
if (!t.ok)
|
|
12206
12220
|
throw new Error(
|
|
12207
12221
|
`Failed to fetch form metadata for ${e}: ${t.status}`
|
|
@@ -12212,7 +12226,7 @@ const En = /* @__PURE__ */ new Map(), Py = async (e) => {
|
|
|
12212
12226
|
const n = JSON.parse(r.resources[0].value), s = It(), a = r.name ?? n.name, o = r.uuid ?? n.uuid, i = r.version ?? n.version ?? "1", c = r.published ?? !1;
|
|
12213
12227
|
let l = { labels: {}, concepts: {} };
|
|
12214
12228
|
if (n && typeof n == "object" && "translationsUrl" in n && typeof n.translationsUrl == "string") {
|
|
12215
|
-
const d =
|
|
12229
|
+
const d = dy(
|
|
12216
12230
|
a,
|
|
12217
12231
|
o,
|
|
12218
12232
|
i,
|
|
@@ -12234,10 +12248,10 @@ const En = /* @__PURE__ */ new Map(), Py = async (e) => {
|
|
|
12234
12248
|
schema: n,
|
|
12235
12249
|
translations: l
|
|
12236
12250
|
};
|
|
12237
|
-
},
|
|
12251
|
+
}, mw = async (e, t, r) => {
|
|
12238
12252
|
let n;
|
|
12239
12253
|
t && t.length > 0 && (n = t.join(","));
|
|
12240
|
-
const s =
|
|
12254
|
+
const s = fy(e, r, n), a = await z(s);
|
|
12241
12255
|
return Array.isArray(a) ? a : [];
|
|
12242
12256
|
};
|
|
12243
12257
|
function yi(e) {
|
|
@@ -12279,7 +12293,7 @@ function bi(e, t) {
|
|
|
12279
12293
|
};
|
|
12280
12294
|
return n(r.controls);
|
|
12281
12295
|
}
|
|
12282
|
-
function
|
|
12296
|
+
function gw(e, t) {
|
|
12283
12297
|
if (!e.controls || e.controls.length === 0)
|
|
12284
12298
|
return [];
|
|
12285
12299
|
const r = [], n = (/* @__PURE__ */ new Date()).toISOString();
|
|
@@ -12324,7 +12338,7 @@ function mw(e, t) {
|
|
|
12324
12338
|
s.interpretation && (o.interpretation = s.interpretation), s.comment && (o.comment = s.comment), r.push(o);
|
|
12325
12339
|
}), r;
|
|
12326
12340
|
}
|
|
12327
|
-
function
|
|
12341
|
+
function yw(e, t) {
|
|
12328
12342
|
if (!e || e.length === 0)
|
|
12329
12343
|
return {
|
|
12330
12344
|
controls: [],
|
|
@@ -12340,7 +12354,7 @@ function gw(e, t) {
|
|
|
12340
12354
|
), a.type = "multiselect";
|
|
12341
12355
|
} else {
|
|
12342
12356
|
let a = n.value;
|
|
12343
|
-
if (typeof n.value == "string" &&
|
|
12357
|
+
if (typeof n.value == "string" && Nh.test(n.value)) {
|
|
12344
12358
|
const i = new Date(n.value);
|
|
12345
12359
|
isNaN(i.getTime()) || (a = i);
|
|
12346
12360
|
}
|
|
@@ -12357,7 +12371,7 @@ function gw(e, t) {
|
|
|
12357
12371
|
metadata: { formMetadata: t }
|
|
12358
12372
|
};
|
|
12359
12373
|
}
|
|
12360
|
-
function
|
|
12374
|
+
function vw(e) {
|
|
12361
12375
|
const t = (n) => {
|
|
12362
12376
|
const s = (l) => l == null ? null : typeof l == "string" || typeof l == "number" || typeof l == "boolean" || typeof l == "object" ? l : null, a = n.concept, o = typeof a == "object" && a !== null && "uuid" in a ? a.uuid : a, i = typeof a == "object" && a !== null && "datatype" in a ? a.datatype : void 0, c = {
|
|
12363
12377
|
concept: {
|
|
@@ -12377,11 +12391,11 @@ function yw(e) {
|
|
|
12377
12391
|
};
|
|
12378
12392
|
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);
|
|
12379
12393
|
}
|
|
12380
|
-
function
|
|
12394
|
+
function bw(e) {
|
|
12381
12395
|
if (!(!e || typeof e != "object"))
|
|
12382
12396
|
return "toJS" in e && typeof e.toJS == "function" ? e.toJS() : e;
|
|
12383
12397
|
}
|
|
12384
|
-
function
|
|
12398
|
+
function ww(e, t) {
|
|
12385
12399
|
!e || !Array.isArray(e.children) || e.children.forEach((r) => {
|
|
12386
12400
|
r && typeof r == "object" && wi(
|
|
12387
12401
|
r,
|
|
@@ -12411,7 +12425,7 @@ function wi(e, t) {
|
|
|
12411
12425
|
);
|
|
12412
12426
|
});
|
|
12413
12427
|
}
|
|
12414
|
-
const
|
|
12428
|
+
const ky = ee + "/bahmnicore/diseaseSummaryData?", Ew = async (e, t, r, n) => {
|
|
12415
12429
|
const s = new URLSearchParams({
|
|
12416
12430
|
groupBy: n,
|
|
12417
12431
|
latestCount: t.toString(),
|
|
@@ -12420,9 +12434,9 @@ const Ly = ee + "/bahmnicore/diseaseSummaryData?", ww = async (e, t, r, n) => {
|
|
|
12420
12434
|
r.forEach((o) => {
|
|
12421
12435
|
s.append("obsConcepts", o);
|
|
12422
12436
|
});
|
|
12423
|
-
const a =
|
|
12437
|
+
const a = ky + s.toString();
|
|
12424
12438
|
return z(a);
|
|
12425
|
-
}, Ei = "custom:(uuid,episodeUuid,patient,program,display,dateEnrolled,dateCompleted,location,voided,allowedStates,outcome,states:(uuid,startDate,endDate,voided,state:(uuid,concept:(uuid,display,name,names)),auditInfo),auditInfo,attributes)",
|
|
12439
|
+
}, Ei = "custom:(uuid,episodeUuid,patient,program,display,dateEnrolled,dateCompleted,location,voided,allowedStates,outcome,states:(uuid,startDate,endDate,voided,state:(uuid,concept:(uuid,display,name,names)),auditInfo),auditInfo,attributes)", My = (e) => `${ee}/bahmniprogramenrollment?patient=${e}&v=${Ei}`, _i = (e) => `${ee}/bahmniprogramenrollment/${e}`, xy = (e) => `${_i(e)}?v=${Ei}`, _w = async (e) => await z(My(e)), Sw = async (e) => await z(xy(e)), Rw = async (e, t) => {
|
|
12426
12440
|
const r = {
|
|
12427
12441
|
uuid: e,
|
|
12428
12442
|
states: [
|
|
@@ -12436,7 +12450,7 @@ const Ly = ee + "/bahmnicore/diseaseSummaryData?", ww = async (e, t, r, n) => {
|
|
|
12436
12450
|
r
|
|
12437
12451
|
);
|
|
12438
12452
|
};
|
|
12439
|
-
function
|
|
12453
|
+
function Tw(e) {
|
|
12440
12454
|
if (e.states.length === 0)
|
|
12441
12455
|
return null;
|
|
12442
12456
|
let t;
|
|
@@ -12452,7 +12466,7 @@ function Rw(e) {
|
|
|
12452
12466
|
t = e.states.find((r) => r.endDate === null);
|
|
12453
12467
|
return t ? vh(t.state.concept.names) ?? t.state.concept.display : null;
|
|
12454
12468
|
}
|
|
12455
|
-
function
|
|
12469
|
+
function Aw(e, t) {
|
|
12456
12470
|
if (t.length === 0)
|
|
12457
12471
|
return {};
|
|
12458
12472
|
const r = {};
|
|
@@ -12464,14 +12478,12 @@ function Tw(e, t) {
|
|
|
12464
12478
|
}
|
|
12465
12479
|
return r;
|
|
12466
12480
|
}
|
|
12467
|
-
const Cn = "consultation:saved",
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
}, 0);
|
|
12474
|
-
}, Ow = (e, t = []) => {
|
|
12481
|
+
const Cn = "consultation:saved", Ow = (e) => {
|
|
12482
|
+
const t = new CustomEvent(Cn, {
|
|
12483
|
+
detail: e
|
|
12484
|
+
});
|
|
12485
|
+
window.dispatchEvent(t);
|
|
12486
|
+
}, Pw = (e, t = []) => {
|
|
12475
12487
|
const r = _n(e);
|
|
12476
12488
|
Sn(() => {
|
|
12477
12489
|
r.current = e;
|
|
@@ -12491,170 +12503,170 @@ export {
|
|
|
12491
12503
|
Ah as AllergyStatus,
|
|
12492
12504
|
Hp as AttributeFormat,
|
|
12493
12505
|
Bp as AttributeInputType,
|
|
12494
|
-
|
|
12495
|
-
|
|
12496
|
-
|
|
12506
|
+
cv as BAHMNI_HOME_PATH,
|
|
12507
|
+
Pb as CONCEPT_DATATYPE_COMPLEX,
|
|
12508
|
+
Ob as CONCEPT_DATATYPE_NUMERIC,
|
|
12497
12509
|
Cn as CONSULTATION_SAVED_EVENT,
|
|
12498
|
-
|
|
12510
|
+
Nh as DATETIME_REGEX_PATTERN,
|
|
12499
12511
|
up as DATE_FORMAT,
|
|
12500
|
-
|
|
12501
|
-
|
|
12512
|
+
mv as DATE_PICKER_INPUT_FORMAT,
|
|
12513
|
+
Ib as DATE_REGEX_PATTERN,
|
|
12502
12514
|
lp as DATE_TIME_FORMAT,
|
|
12503
12515
|
pp as DURATION_UNIT_TO_DAYS,
|
|
12504
|
-
|
|
12505
|
-
|
|
12506
|
-
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
|
|
12516
|
+
bb as FHIR_ENCOUNTER_TYPE_CODE_SYSTEM,
|
|
12517
|
+
Sb as FHIR_LAB_ORDER_CONCEPT_TYPE_EXTENSION_URL,
|
|
12518
|
+
Tb as FHIR_OBSERVATION_FORM_NAMESPACE_PATH_URL,
|
|
12519
|
+
Rb as FHIR_OBSERVATION_INTERPRETATION_SYSTEM,
|
|
12520
|
+
$b as FHIR_OBSERVATION_STATUS_FINAL,
|
|
12521
|
+
Ab as FHIR_OBSERVATION_VALUE_ATTACHMENT_URL,
|
|
12510
12522
|
Nb as FHIR_RESOURCE_TYPE_OBSERVATION,
|
|
12511
|
-
|
|
12512
|
-
|
|
12523
|
+
fv as FULL_MONTH_DATE_FORMAT,
|
|
12524
|
+
_b as HL7_CONDITION_CATEGORY_CODE_SYSTEM,
|
|
12513
12525
|
Ph as HL7_CONDITION_CATEGORY_CONDITION_CODE,
|
|
12514
|
-
|
|
12515
|
-
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
|
|
12519
|
-
|
|
12520
|
-
|
|
12521
|
-
|
|
12522
|
-
|
|
12526
|
+
$h as HL7_CONDITION_CATEGORY_DIAGNOSIS_CODE,
|
|
12527
|
+
Eb as HL7_CONDITION_CLINICAL_STATUS_CODE_SYSTEM,
|
|
12528
|
+
wb as HL7_CONDITION_VERIFICATION_STATUS_CODE_SYSTEM,
|
|
12529
|
+
Db as INTERPRETATION_TO_CODE,
|
|
12530
|
+
hv as ISO_DATE_FORMAT,
|
|
12531
|
+
xv as MAX_NAME_LENGTH,
|
|
12532
|
+
Mv as MAX_PATIENT_AGE_YEARS,
|
|
12533
|
+
qv as MAX_PHONE_NUMBER_LENGTH,
|
|
12534
|
+
qe as MedicationStatus,
|
|
12523
12535
|
pe as OPENMRS_FHIR_R4,
|
|
12524
12536
|
ee as OPENMRS_REST_V1,
|
|
12525
|
-
|
|
12526
|
-
|
|
12527
|
-
|
|
12528
|
-
|
|
12529
|
-
|
|
12537
|
+
Gb as ORDER_TYPE_QUERY_KEY,
|
|
12538
|
+
zb as PENDING_REPORT_STATUSES,
|
|
12539
|
+
Wb as PROCESSED_REPORT_STATUSES,
|
|
12540
|
+
pv as REGISTRATION_DATE_FORMAT,
|
|
12541
|
+
rw as USER_PINNED_PREFERENCE_URL,
|
|
12530
12542
|
fp as calculateAge,
|
|
12531
|
-
|
|
12532
|
-
|
|
12533
|
-
|
|
12534
|
-
|
|
12535
|
-
|
|
12536
|
-
|
|
12537
|
-
|
|
12538
|
-
|
|
12539
|
-
|
|
12540
|
-
|
|
12543
|
+
_v as calculateAgeinYearsAndMonths,
|
|
12544
|
+
Sv as calculateEndDate,
|
|
12545
|
+
vv as calculateOnsetDate,
|
|
12546
|
+
Lv as camelToScreamingSnakeCase,
|
|
12547
|
+
Ov as capitalize,
|
|
12548
|
+
ob as checkIfActiveVisitExists,
|
|
12549
|
+
bw as convertImmutableToPlainObject,
|
|
12550
|
+
Wv as createPatient,
|
|
12551
|
+
ib as createVisitForPatient,
|
|
12552
|
+
iv as del,
|
|
12541
12553
|
Wp as dispatchAuditEvent,
|
|
12542
|
-
|
|
12543
|
-
|
|
12544
|
-
|
|
12545
|
-
|
|
12546
|
-
|
|
12547
|
-
|
|
12548
|
-
|
|
12549
|
-
|
|
12550
|
-
|
|
12551
|
-
|
|
12552
|
-
|
|
12553
|
-
|
|
12554
|
-
|
|
12555
|
-
|
|
12556
|
-
|
|
12557
|
-
|
|
12554
|
+
Ow as dispatchConsultationSaved,
|
|
12555
|
+
Rv as doDateRangesOverlap,
|
|
12556
|
+
Aw as extractAttributes,
|
|
12557
|
+
ww as extractNotesFromFormData,
|
|
12558
|
+
gb as fetchAndFormatAllergenConcepts,
|
|
12559
|
+
hw as fetchFormMetadata,
|
|
12560
|
+
Mb as fetchMedicationOrdersMetadata,
|
|
12561
|
+
pw as fetchObservationForms,
|
|
12562
|
+
yb as fetchReactionConcepts,
|
|
12563
|
+
Iv as filterReplacementEntries,
|
|
12564
|
+
cw as findActiveEncounterInSession,
|
|
12565
|
+
yv as formatDate,
|
|
12566
|
+
Ev as formatDateAndTime,
|
|
12567
|
+
bv as formatDateDistance,
|
|
12568
|
+
gv as formatDateTime,
|
|
12569
|
+
Dv as formatUrl,
|
|
12558
12570
|
hp as generateId,
|
|
12559
12571
|
z as get,
|
|
12560
|
-
|
|
12572
|
+
Ey as getActiveVisit,
|
|
12561
12573
|
Zp as getActiveVisitByPatient,
|
|
12562
|
-
|
|
12574
|
+
Kv as getAddressHierarchyEntries,
|
|
12563
12575
|
Rh as getAllergies,
|
|
12564
|
-
|
|
12565
|
-
|
|
12566
|
-
|
|
12567
|
-
|
|
12568
|
-
|
|
12576
|
+
fb as getAppointmentById,
|
|
12577
|
+
Yb as getCategoryUuidFromOrderTypes,
|
|
12578
|
+
Qb as getClinicalConfig,
|
|
12579
|
+
hb as getConceptById,
|
|
12580
|
+
Cb as getConditions,
|
|
12569
12581
|
oi as getCookieByName,
|
|
12570
|
-
|
|
12571
|
-
|
|
12572
|
-
|
|
12573
|
-
|
|
12574
|
-
|
|
12575
|
-
|
|
12576
|
-
|
|
12577
|
-
|
|
12578
|
-
|
|
12579
|
-
|
|
12580
|
-
|
|
12582
|
+
aw as getCurrentProvider,
|
|
12583
|
+
Tw as getCurrentStateName,
|
|
12584
|
+
kv as getCurrentUser,
|
|
12585
|
+
dw as getCurrentUserPrivileges,
|
|
12586
|
+
Zb as getDashboardConfig,
|
|
12587
|
+
Bb as getDiagnosticReportBundle,
|
|
12588
|
+
Hb as getDiagnosticReports,
|
|
12589
|
+
uw as getEncountersAndVisitsForEOC,
|
|
12590
|
+
Xb as getExistingServiceRequestsForAllCategories,
|
|
12591
|
+
Kb as getFlattenedInvestigations,
|
|
12592
|
+
vb as getFormattedAllergies,
|
|
12581
12593
|
ut as getFormattedError,
|
|
12582
12594
|
Uv as getFormattedPatientById,
|
|
12583
|
-
|
|
12584
|
-
|
|
12585
|
-
|
|
12586
|
-
|
|
12587
|
-
|
|
12588
|
-
|
|
12589
|
-
|
|
12590
|
-
|
|
12595
|
+
Gv as getGenders,
|
|
12596
|
+
Bv as getIdentifierData,
|
|
12597
|
+
Hv as getIdentifierTypes,
|
|
12598
|
+
Zv as getInputTypeForFormat,
|
|
12599
|
+
Vb as getLabInvestigationsBundle,
|
|
12600
|
+
ew as getMedicationConfig,
|
|
12601
|
+
ow as getObservationsBundleByEncounterUuid,
|
|
12602
|
+
Jb as getOrderTypeNames,
|
|
12591
12603
|
Wn as getOrderTypes,
|
|
12592
|
-
|
|
12593
|
-
|
|
12604
|
+
Yv as getOrderedAddressHierarchyLevels,
|
|
12605
|
+
lb as getPastAppointments,
|
|
12594
12606
|
Mp as getPatientById,
|
|
12595
|
-
|
|
12596
|
-
|
|
12597
|
-
|
|
12607
|
+
Lb as getPatientDiagnoses,
|
|
12608
|
+
mw as getPatientFormData,
|
|
12609
|
+
jv as getPatientImageAsDataUrl,
|
|
12598
12610
|
Gh as getPatientMedicationBundle,
|
|
12599
|
-
|
|
12600
|
-
|
|
12601
|
-
|
|
12602
|
-
|
|
12603
|
-
|
|
12604
|
-
|
|
12611
|
+
kb as getPatientMedications,
|
|
12612
|
+
sw as getPatientObservations,
|
|
12613
|
+
my as getPatientObservationsBundle,
|
|
12614
|
+
nw as getPatientObservationsWithEncounterBundle,
|
|
12615
|
+
Jv as getPatientProfile,
|
|
12616
|
+
_w as getPatientPrograms,
|
|
12605
12617
|
Ub as getPatientRadiologyInvestigationBundle,
|
|
12606
|
-
|
|
12607
|
-
|
|
12608
|
-
|
|
12618
|
+
jb as getPatientRadiologyInvestigationBundleWithImagingStudy,
|
|
12619
|
+
Fb as getPatientRadiologyInvestigations,
|
|
12620
|
+
Qv as getPersonAttributeTypes,
|
|
12609
12621
|
Vp as getPrimaryIdentifierType,
|
|
12610
|
-
|
|
12611
|
-
|
|
12612
|
-
|
|
12613
|
-
|
|
12622
|
+
$v as getPriorityByOrder,
|
|
12623
|
+
Sw as getProgramByUUID,
|
|
12624
|
+
tw as getRegistrationConfig,
|
|
12625
|
+
Xv as getRelationshipTypes,
|
|
12614
12626
|
Ct as getServiceRequests,
|
|
12615
|
-
|
|
12616
|
-
|
|
12627
|
+
wv as getTodayDate,
|
|
12628
|
+
ub as getUpcomingAppointments,
|
|
12617
12629
|
Hn as getUserLoginLocation,
|
|
12618
12630
|
It as getUserPreferredLocale,
|
|
12619
|
-
|
|
12620
|
-
|
|
12621
|
-
|
|
12622
|
-
|
|
12631
|
+
qb as getVaccinations,
|
|
12632
|
+
Cv as getValueType,
|
|
12633
|
+
ab as getVisitTypes,
|
|
12634
|
+
Ew as getVitalFlowSheetData,
|
|
12623
12635
|
Nv as groupByDate,
|
|
12624
|
-
|
|
12625
|
-
|
|
12626
|
-
|
|
12627
|
-
|
|
12628
|
-
|
|
12629
|
-
|
|
12630
|
-
|
|
12631
|
-
|
|
12632
|
-
|
|
12633
|
-
|
|
12634
|
-
|
|
12636
|
+
fw as hasPrivilege,
|
|
12637
|
+
lv as initAppI18n,
|
|
12638
|
+
lw as initializeAuditListener,
|
|
12639
|
+
eb as isBooleanFormat,
|
|
12640
|
+
tb as isConceptFormat,
|
|
12641
|
+
nb as isDateFormat,
|
|
12642
|
+
rb as isNumberFormat,
|
|
12643
|
+
Pv as isStringEmpty,
|
|
12644
|
+
sb as isTextFormat,
|
|
12645
|
+
Iy as logAuditEvent,
|
|
12646
|
+
uv as normalizeTranslationKey,
|
|
12635
12647
|
on as notificationService,
|
|
12636
12648
|
mp as parseQueryParams,
|
|
12637
|
-
|
|
12649
|
+
ov as patch,
|
|
12638
12650
|
Je as post,
|
|
12639
|
-
|
|
12640
|
-
|
|
12641
|
-
|
|
12642
|
-
|
|
12643
|
-
|
|
12651
|
+
av as put,
|
|
12652
|
+
Av as refreshQueries,
|
|
12653
|
+
cb as searchAppointmentsByAttribute,
|
|
12654
|
+
mb as searchConceptByName,
|
|
12655
|
+
pb as searchConcepts,
|
|
12644
12656
|
Rr as searchFHIRConcepts,
|
|
12645
12657
|
yh as searchFHIRConceptsByName,
|
|
12646
|
-
|
|
12647
|
-
|
|
12648
|
-
|
|
12649
|
-
|
|
12650
|
-
|
|
12651
|
-
|
|
12652
|
-
|
|
12653
|
-
|
|
12654
|
-
|
|
12655
|
-
|
|
12656
|
-
|
|
12657
|
-
|
|
12658
|
-
|
|
12659
|
-
|
|
12658
|
+
xb as searchMedications,
|
|
12659
|
+
Vv as searchPatientByCustomAttribute,
|
|
12660
|
+
Fv as searchPatientByNameOrId,
|
|
12661
|
+
iw as shouldEnableEncounterFilter,
|
|
12662
|
+
Tv as sortByDate,
|
|
12663
|
+
vw as transformContainerObservationsToForm2Observations,
|
|
12664
|
+
gw as transformFormDataToObservations,
|
|
12665
|
+
yw as transformObservationsToFormData,
|
|
12666
|
+
db as updateAppointmentStatus,
|
|
12667
|
+
zv as updatePatient,
|
|
12668
|
+
Rw as updateProgramState,
|
|
12669
|
+
dv as useCamera,
|
|
12670
|
+
Pw as useSubscribeConsultationSaved,
|
|
12671
|
+
Iw as useTranslation
|
|
12660
12672
|
};
|