@sjcrh/proteinpaint-types 2.85.0 → 2.87.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (233) hide show
  1. package/README.md +22 -0
  2. package/dist/brainImaging.js +11 -0
  3. package/dist/brainImagingSamples.js +11 -0
  4. package/dist/burden.js +11 -0
  5. package/dist/chunk-37ZPCVP5.js +111 -0
  6. package/dist/chunk-5GG2FNAY.js +62 -0
  7. package/dist/chunk-5JWTIWVB.js +222 -0
  8. package/dist/chunk-5RZYB4M4.js +171 -0
  9. package/dist/chunk-6EFB6ZMB.js +62 -0
  10. package/dist/chunk-6LFMFM2C.js +122 -0
  11. package/dist/chunk-7PMGKVWQ.js +62 -0
  12. package/dist/chunk-7Z3IHB43.js +152 -0
  13. package/dist/chunk-B3D26X6X.js +337 -0
  14. package/dist/chunk-BY2JABTF.js +256 -0
  15. package/dist/chunk-CETMA2FU.js +144 -0
  16. package/dist/chunk-DCN75URO.js +1740 -0
  17. package/dist/chunk-DIDZMC3G.js +96 -0
  18. package/dist/chunk-DKSPASWZ.js +4058 -0
  19. package/dist/chunk-EWRK4PKZ.js +62 -0
  20. package/dist/chunk-FDTUTGQG.js +288 -0
  21. package/dist/chunk-FZ6QOTGM.js +205 -0
  22. package/dist/chunk-GU7LIGHN.js +174 -0
  23. package/dist/chunk-IL33L6MY.js +126 -0
  24. package/dist/chunk-INDBFC54.js +1538 -0
  25. package/dist/chunk-IT7IGDC4.js +1697 -0
  26. package/dist/chunk-IWG5IPXG.js +3409 -0
  27. package/dist/chunk-JEQ3TBVQ.js +1472 -0
  28. package/dist/chunk-JPW6LFDQ.js +1507 -0
  29. package/dist/chunk-K2KQTFQI.js +113 -0
  30. package/dist/chunk-M33KP65Z.js +3347 -0
  31. package/dist/chunk-MUJUKENL.js +62 -0
  32. package/dist/chunk-N45Z3JCY.js +62 -0
  33. package/dist/chunk-OMHEDUNA.js +62 -0
  34. package/dist/chunk-OY3EKV7F.js +130 -0
  35. package/dist/chunk-Q56YNQFK.js +3417 -0
  36. package/dist/chunk-QDIIM52V.js +165 -0
  37. package/dist/chunk-QX7QLUKY.js +228 -0
  38. package/dist/chunk-RLFGMVJZ.js +234 -0
  39. package/dist/chunk-SDOWCOGK.js +96 -0
  40. package/dist/chunk-UCG25D2C.js +109 -0
  41. package/dist/chunk-UIU3IQH4.js +62 -0
  42. package/dist/chunk-W3F2RMPU.js +3494 -0
  43. package/dist/chunk-W3QYIXXF.js +273 -0
  44. package/dist/chunk-XGAOGA3F.js +159 -0
  45. package/dist/chunk-XJCQEOPB.js +61 -0
  46. package/dist/chunk-XLBSZOMF.js +117 -0
  47. package/dist/chunk-XQQ5G6N6.js +109 -0
  48. package/dist/chunk-Z6B6IQIY.js +1785 -0
  49. package/dist/dataset.js +11 -0
  50. package/dist/dsdata.js +11 -0
  51. package/dist/dzimages.js +11 -0
  52. package/dist/gdc.maf.js +11 -0
  53. package/dist/gdc.mafBuild.js +11 -0
  54. package/dist/gdc.topMutatedGenes.js +11 -0
  55. package/dist/genelookup.js +11 -0
  56. package/dist/genesetEnrichment.js +11 -0
  57. package/dist/genesetOverrepresentation.js +11 -0
  58. package/dist/healthcheck.js +11 -0
  59. package/dist/hicdata.js +11 -0
  60. package/dist/hicgenome.js +11 -0
  61. package/dist/hicstat.js +11 -0
  62. package/dist/index.js +347 -0
  63. package/dist/isoformlst.js +11 -0
  64. package/dist/ntseq.js +11 -0
  65. package/dist/pdomain.js +11 -0
  66. package/dist/samplewsimages.js +11 -0
  67. package/dist/snp.js +11 -0
  68. package/dist/termdb.DE.js +11 -0
  69. package/dist/termdb.boxplot.js +11 -0
  70. package/dist/termdb.categories.js +11 -0
  71. package/dist/termdb.cluster.js +11 -0
  72. package/dist/termdb.cohort.summary.js +11 -0
  73. package/dist/termdb.cohorts.js +11 -0
  74. package/dist/termdb.descrstats.js +11 -0
  75. package/dist/termdb.numericcategories.js +11 -0
  76. package/dist/termdb.percentile.js +11 -0
  77. package/dist/termdb.rootterm.js +11 -0
  78. package/dist/termdb.sampleImages.js +11 -0
  79. package/dist/termdb.singleSampleMutation.js +11 -0
  80. package/dist/termdb.singlecellDEgenes.js +11 -0
  81. package/dist/termdb.singlecellData.js +11 -0
  82. package/dist/termdb.singlecellSamples.js +11 -0
  83. package/dist/termdb.termchildren.js +11 -0
  84. package/dist/termdb.termsbyids.js +11 -0
  85. package/dist/termdb.topTermsByType.js +11 -0
  86. package/dist/termdb.topVariablyExpressedGenes.js +11 -0
  87. package/dist/termdb.violin.js +11 -0
  88. package/dist/tileserver.js +11 -0
  89. package/dist/wsimages.js +11 -0
  90. package/package.json +19 -14
  91. package/src/Mclass.ts +8 -0
  92. package/src/dataset.ts +1578 -0
  93. package/src/docs.json +16417 -0
  94. package/src/fileOrUrl.ts +15 -0
  95. package/src/filter.ts +125 -0
  96. package/src/genome.ts +123 -0
  97. package/src/index.ts +67 -0
  98. package/src/routes/brainImaging.ts +47 -0
  99. package/src/routes/brainImagingSamples.ts +25 -0
  100. package/src/routes/burden.ts +111 -0
  101. package/src/routes/dataset.ts +14 -0
  102. package/src/routes/dsdata.ts +14 -0
  103. package/src/routes/dzimages.ts +25 -0
  104. package/src/routes/errorResponse.ts +6 -0
  105. package/src/routes/filter.gdc.ts +15 -0
  106. package/src/routes/gdc.maf.ts +52 -0
  107. package/src/routes/gdc.mafBuild.ts +20 -0
  108. package/src/routes/gdc.topMutatedGenes.ts +37 -0
  109. package/src/routes/genelookup.ts +22 -0
  110. package/src/routes/genesetEnrichment.ts +60 -0
  111. package/src/routes/genesetOverrepresentation.ts +48 -0
  112. package/src/routes/healthcheck.ts +79 -0
  113. package/src/routes/hicdata.ts +48 -0
  114. package/src/routes/hicgenome.ts +50 -0
  115. package/src/routes/hicstat.ts +57 -0
  116. package/src/routes/isoformlst.ts +14 -0
  117. package/src/routes/ntseq.ts +14 -0
  118. package/src/routes/pdomain.ts +14 -0
  119. package/src/routes/routeApi.ts +41 -0
  120. package/src/routes/samplewsimages.ts +27 -0
  121. package/src/routes/snp.ts +13 -0
  122. package/src/routes/termdb.DE.ts +57 -0
  123. package/src/routes/termdb.boxplot.ts +78 -0
  124. package/src/routes/termdb.categories.ts +73 -0
  125. package/src/routes/termdb.cluster.ts +103 -0
  126. package/src/routes/termdb.cohort.summary.ts +14 -0
  127. package/src/routes/termdb.cohorts.ts +14 -0
  128. package/src/routes/termdb.descrstats.ts +78 -0
  129. package/src/routes/termdb.numericcategories.ts +32 -0
  130. package/src/routes/termdb.percentile.ts +65 -0
  131. package/src/routes/termdb.rootterm.ts +49 -0
  132. package/src/routes/termdb.sampleImages.ts +26 -0
  133. package/src/routes/termdb.singleSampleMutation.ts +29 -0
  134. package/src/routes/termdb.singlecellDEgenes.ts +41 -0
  135. package/src/routes/termdb.singlecellData.ts +69 -0
  136. package/src/routes/termdb.singlecellSamples.ts +46 -0
  137. package/src/routes/termdb.termchildren.ts +49 -0
  138. package/src/routes/termdb.termsbyids.ts +26 -0
  139. package/src/routes/termdb.topTermsByType.ts +32 -0
  140. package/src/routes/termdb.topVariablyExpressedGenes.ts +56 -0
  141. package/src/routes/termdb.violin.ts +122 -0
  142. package/src/routes/tileserver.ts +14 -0
  143. package/src/routes/wsimages.ts +24 -0
  144. package/src/terms/categorical.ts +106 -0
  145. package/src/terms/condition.ts +55 -0
  146. package/src/terms/geneExpression.ts +32 -0
  147. package/src/terms/geneVariant.ts +51 -0
  148. package/src/terms/metaboliteIntensity.ts +31 -0
  149. package/src/terms/numeric.ts +253 -0
  150. package/src/terms/q.ts +38 -0
  151. package/src/terms/samplelst.ts +41 -0
  152. package/src/terms/singleCellCellType.ts +22 -0
  153. package/src/terms/singleCellGeneExpression.ts +28 -0
  154. package/src/terms/snp.ts +28 -0
  155. package/src/terms/snps.ts +110 -0
  156. package/src/terms/term.ts +184 -0
  157. package/src/terms/tw.ts +38 -0
  158. package/src/terms/updated-types.ts +9 -0
  159. package/src/termsetting.ts +197 -0
  160. package/src/test/numeric.type.spec.ts +275 -0
  161. package/src/vocab.ts +37 -0
  162. package/dist/routes.ts +0 -28847
  163. package/src/Mclass.js +0 -0
  164. package/src/checkers/routes.js +0 -167
  165. package/src/dataset.js +0 -0
  166. package/src/fileOrUrl.js +0 -0
  167. package/src/filter.js +0 -0
  168. package/src/genome.js +0 -0
  169. package/src/index.js +0 -66
  170. package/src/routes/brainImaging.js +0 -11
  171. package/src/routes/brainImagingSamples.js +0 -11
  172. package/src/routes/burden.js +0 -44
  173. package/src/routes/dataset.js +0 -12
  174. package/src/routes/dsdata.js +0 -12
  175. package/src/routes/dzimages.js +0 -12
  176. package/src/routes/errorResponse.js +0 -0
  177. package/src/routes/filter.gdc.js +0 -0
  178. package/src/routes/gdc.maf.js +0 -17
  179. package/src/routes/gdc.mafBuild.js +0 -12
  180. package/src/routes/gdc.topMutatedGenes.js +0 -12
  181. package/src/routes/genelookup.js +0 -12
  182. package/src/routes/genesetEnrichment.js +0 -12
  183. package/src/routes/genesetOverrepresentation.js +0 -12
  184. package/src/routes/healthcheck.js +0 -23
  185. package/src/routes/hicdata.js +0 -12
  186. package/src/routes/hicgenome.js +0 -29
  187. package/src/routes/hicstat.js +0 -12
  188. package/src/routes/isoformlst.js +0 -12
  189. package/src/routes/ntseq.js +0 -12
  190. package/src/routes/pdomain.js +0 -12
  191. package/src/routes/routeApi.js +0 -0
  192. package/src/routes/samplewsimages.js +0 -12
  193. package/src/routes/snp.js +0 -11
  194. package/src/routes/termdb.DE.js +0 -13
  195. package/src/routes/termdb.boxplot.js +0 -12
  196. package/src/routes/termdb.categories.js +0 -48
  197. package/src/routes/termdb.cluster.js +0 -12
  198. package/src/routes/termdb.cohort.summary.js +0 -12
  199. package/src/routes/termdb.cohorts.js +0 -12
  200. package/src/routes/termdb.descrstats.js +0 -48
  201. package/src/routes/termdb.numericcategories.js +0 -12
  202. package/src/routes/termdb.percentile.js +0 -49
  203. package/src/routes/termdb.rootterm.js +0 -27
  204. package/src/routes/termdb.sampleImages.js +0 -12
  205. package/src/routes/termdb.singleSampleMutation.js +0 -12
  206. package/src/routes/termdb.singlecellDEgenes.js +0 -12
  207. package/src/routes/termdb.singlecellData.js +0 -12
  208. package/src/routes/termdb.singlecellSamples.js +0 -12
  209. package/src/routes/termdb.termchildren.js +0 -28
  210. package/src/routes/termdb.termsbyids.js +0 -12
  211. package/src/routes/termdb.topTermsByType.js +0 -12
  212. package/src/routes/termdb.topVariablyExpressedGenes.js +0 -12
  213. package/src/routes/termdb.violin.js +0 -49
  214. package/src/routes/tileserver.js +0 -12
  215. package/src/routes/wsimages.js +0 -12
  216. package/src/terms/categorical.js +0 -0
  217. package/src/terms/condition.js +0 -0
  218. package/src/terms/geneExpression.js +0 -0
  219. package/src/terms/geneVariant.js +0 -0
  220. package/src/terms/metaboliteIntensity.js +0 -0
  221. package/src/terms/numeric.js +0 -0
  222. package/src/terms/q.js +0 -0
  223. package/src/terms/samplelst.js +0 -0
  224. package/src/terms/singleCellCellType.js +0 -0
  225. package/src/terms/singleCellGeneExpression.js +0 -0
  226. package/src/terms/snp.js +0 -0
  227. package/src/terms/snps.js +0 -0
  228. package/src/terms/term.js +0 -0
  229. package/src/terms/tw.js +0 -0
  230. package/src/terms/updated-types.js +0 -0
  231. package/src/termsetting.js +0 -0
  232. package/src/test/numeric.type.spec.js +0 -117
  233. package/src/vocab.js +0 -0
@@ -0,0 +1,3417 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/termdb.descrstats.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/termdb.descrstats.ts
10
+ var descrStatsPayload = {
11
+ request: {
12
+ typeId: "DescrStatsRequest"
13
+ },
14
+ response: {
15
+ typeId: "DescrStatsResponse"
16
+ },
17
+ examples: [
18
+ {
19
+ request: {
20
+ body: {
21
+ genome: "hg38-test",
22
+ dslabel: "TermdbTest",
23
+ embedder: "localhost",
24
+ tw: { term: { id: "hrtavg" }, q: { mode: "continuous" } },
25
+ filter: {
26
+ type: "tvslst",
27
+ in: true,
28
+ join: "",
29
+ lst: [
30
+ {
31
+ tag: "cohortFilter",
32
+ type: "tvs",
33
+ tvs: {
34
+ term: {
35
+ name: "Cohort",
36
+ type: "categorical",
37
+ values: { ABC: { label: "ABC" }, XYZ: { label: "XYZ" } },
38
+ id: "subcohort",
39
+ isleaf: false,
40
+ groupsetting: { disabled: true }
41
+ },
42
+ values: [{ key: "ABC", label: "ABC" }]
43
+ }
44
+ }
45
+ ]
46
+ }
47
+ }
48
+ },
49
+ response: {
50
+ header: { status: 200 }
51
+ }
52
+ }
53
+ ]
54
+ };
55
+
56
+ // dist/termdb.descrstats.ts
57
+ var validDescrStatsRequest = (input) => {
58
+ const errors = [];
59
+ const __is = (input2) => {
60
+ const $join = import_typia.createValidate.join;
61
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.embedder && ("object" === typeof input3.tw && null !== input3.tw && $iu6(input3.tw)) && (void 0 === input3.logScale || "boolean" === typeof input3.logScale) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io11(input3.filter)) && true;
62
+ const $io1 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type) && ("object" === typeof input3.q && null !== input3.q && $iu7(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io13(input3.term));
63
+ const $io2 = (input3) => Object.keys(input3).every((key) => {
64
+ const value = input3[key];
65
+ if (void 0 === value)
66
+ return true;
67
+ if (RegExp(/(.*)/).test(key))
68
+ return true;
69
+ return true;
70
+ });
71
+ const $io3 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
72
+ const $io4 = (input3) => Object.keys(input3).every((key) => {
73
+ const value = input3[key];
74
+ if (void 0 === value)
75
+ return true;
76
+ if (RegExp(/(.*)/).test(key))
77
+ return "number" === typeof value;
78
+ return true;
79
+ });
80
+ const $io5 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
81
+ const $io6 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io7(input3.customset));
82
+ const $io7 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
83
+ const $io8 = (input3) => "string" === typeof input3.name && "string" === typeof input3.type && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io9(elem))) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable);
84
+ const $io9 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
85
+ const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io11(input3.filter));
86
+ const $io11 = (input3) => "lst" === input3.type && (void 0 === input3["in"] || "boolean" === typeof input3["in"]) && ("and" === input3.join || "or" === input3.join) && (void 0 === input3.tag || "string" === typeof input3.tag) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $iu1(elem)));
87
+ const $io12 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io13(input3.term)) && (void 0 === input3.groupset_label || "string" === typeof input3.groupset_label) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && false === Array.isArray(elem) && $io15(elem)));
88
+ const $io13 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
89
+ const $io14 = (input3) => Object.keys(input3).every((key) => {
90
+ const value = input3[key];
91
+ if (void 0 === value)
92
+ return true;
93
+ if (RegExp(/(.*)/).test(key))
94
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io15(value);
95
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
96
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io15(value);
97
+ return true;
98
+ });
99
+ const $io15 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io11(input3.filter));
100
+ const $io16 = (input3) => (void 0 === input3.disabled || "boolean" === typeof input3.disabled) && (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io17(elem)));
101
+ const $io17 = (input3) => "string" === typeof input3.name && (void 0 === input3.is_grade || "boolean" === typeof input3.is_grade) && (void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition) && (Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem)));
102
+ const $io18 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
103
+ const $io19 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term)) && (Array.isArray(input3.ranges) && input3.ranges.every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io27(elem)));
104
+ const $io20 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io21(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
105
+ const $io21 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu9(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu9(input3.less)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset) && (void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored) && (void 0 === input3.rounding || "string" === typeof input3.rounding) && (void 0 === input3.min || "number" === typeof input3.min) && (void 0 === input3.max || "number" === typeof input3.max);
106
+ const $io22 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "regular-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode) && "number" === typeof input3.bin_size && ("object" === typeof input3.first_bin && null !== input3.first_bin && $iu4(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu5(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
107
+ const $io23 = (input3) => true === input3.startunbounded && (void 0 === input3.startinclusive || false === input3.startinclusive) && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
108
+ const $io24 = (input3) => (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && "number" === typeof input3.start && "number" === typeof input3.stop && (void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive) && (void 0 === input3.stopunbounded || false === input3.stopunbounded) && (void 0 === input3.label || "string" === typeof input3.label);
109
+ const $io25 = (input3) => "number" === typeof input3.start && true === input3.stopunbounded && (void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive) && (void 0 === input3.startunbounded || false === input3.startunbounded) && (void 0 === input3.stopinclusive || false === input3.stopinclusive) && (void 0 === input3.label || "string" === typeof input3.label);
110
+ const $io26 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "custom-bin" === input3.type && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && (Array.isArray(input3.lst) && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu2(input3.lst[0]) && (Array.isArray(input3.lst.slice(1)) && input3.lst.slice(1).every((elem) => "object" === typeof elem && null !== elem && $iu2(elem))))) && (void 0 === input3.preferredBins || "median" === input3.preferredBins);
111
+ const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
112
+ const $io28 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $io29(input3.term)) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && (void 0 === input3.grade_and_child || Array.isArray(input3.grade_and_child) && input3.grade_and_child.every((elem) => "object" === typeof elem && null !== elem && $io30(elem)));
113
+ const $io29 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values));
114
+ const $io30 = (input3) => "number" === typeof input3.grade && "string" === typeof input3.grade_label && (void 0 === input3.child_id || "string" === typeof input3.child_id) && "string" === typeof input3.child_label;
115
+ const $io31 = (input3) => (void 0 === input3.join || "string" === typeof input3.join) && (void 0 === input3.isnot || "boolean" === typeof input3.isnot) && ("object" === typeof input3.term && null !== input3.term && $iu10(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
116
+ const $io32 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
117
+ const $io33 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
118
+ const $io34 = (input3) => 1 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
119
+ const $io35 = (input3) => 4 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
120
+ const $io36 = (input3) => 5 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "SV" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
121
+ const $io37 = (input3) => 2 === input3.dt && (Array.isArray(input3.mclassLst) && input3.mclassLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (Array.isArray(input3.mclassExcludeLst) && input3.mclassExcludeLst.every((elem) => "Blank" === elem || "WT" === elem || "Fuserna" === elem)) && (void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin);
122
+ const $io38 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $io20(input3.term)) && ("object" === typeof input3.q && null !== input3.q && $iu11(input3.q));
123
+ const $io39 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "binary" === input3.mode && "custom-bin" === input3.type && (Array.isArray(input3.lst) && (input3.lst.length === 2 && ("object" === typeof input3.lst[0] && null !== input3.lst[0] && $iu4(input3.lst[0])) && ("object" === typeof input3.lst[1] && null !== input3.lst[1] && $iu5(input3.lst[1]))));
124
+ const $io40 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "continuous" === input3.mode && (void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore) && (null !== input3.type && void 0 === input3.type);
125
+ const $io41 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && "spline" === input3.mode && (Array.isArray(input3.knots) && input3.knots.every((elem) => "object" === typeof elem && null !== elem && $io42(elem))) && (null !== input3.type && void 0 === input3.type);
126
+ const $io42 = (input3) => "number" === typeof input3.value;
127
+ const $io43 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.q && null !== input3.q && $io44(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io46(input3.term));
128
+ const $io44 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type) && "number" === typeof input3.AFcutoff && "number" === typeof input3.alleleType && "string" === typeof input3.cacheid && true && "number" === typeof input3.geneticModel && true && (void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype) && "number" === typeof input3.numOfSampleWithAnyValidGT && ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry && $io45(input3.restrictAncestry)) && true && true && ("object" === typeof input3.variant_filter && null !== input3.variant_filter && $io11(input3.variant_filter)) && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
129
+ const $io45 = (input3) => "string" === typeof input3.name && ("object" === typeof input3.tvs && null !== input3.tvs && $iu12(input3.tvs));
130
+ const $io46 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io47(elem)));
131
+ const $io47 = (input3) => (void 0 === input3.altAlleles || Array.isArray(input3.altAlleles) && input3.altAlleles.every((elem) => "string" === typeof elem)) && (void 0 === input3.alleles || Array.isArray(input3.alleles) && input3.alleles.every((elem) => "object" === typeof elem && null !== elem && $io48(elem))) && "boolean" === typeof input3.effectAllele && (void 0 === input3.gt2count || "object" === typeof input3.gt2count && null !== input3.gt2count && $io49(input3.gt2count)) && (void 0 === input3.invalid || "boolean" === typeof input3.invalid) && (void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele) && "string" === typeof input3.rsid && "string" === typeof input3.snpid && true && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.pos || "number" === typeof input3.pos);
132
+ const $io48 = (input3) => "string" === typeof input3.allele && "number" === typeof input3.count && "boolean" === typeof input3.isRef;
133
+ const $io49 = (input3) => "string" === typeof input3.k && ("string" === typeof input3.v || "number" === typeof input3.v);
134
+ const $io50 = (input3) => (void 0 === input3.id || "string" === typeof input3.id) && (void 0 === input3.$id || "string" === typeof input3.$id) && (void 0 === input3.isAtomic || true === input3.isAtomic) && true && (void 0 === input3.settings || "object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) && $io2(input3.settings)) && true && (void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples) && true && ("object" === typeof input3.term && null !== input3.term && $iu13(input3.term)) && ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) && $iu14(input3.q));
135
+ const $io51 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "categorical" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $iu8(input3.groupsetting));
136
+ const $io52 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type) && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.bins && null !== input3.bins && $io21(input3.bins)) && (void 0 === input3.unit || "string" === typeof input3.unit);
137
+ const $io53 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "condition" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values));
138
+ const $io54 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "gene" === input3.kind && "string" === typeof input3.gene && (void 0 === input3.chr || "string" === typeof input3.chr) && (void 0 === input3.start || "number" === typeof input3.start) && (void 0 === input3.stop || "number" === typeof input3.stop);
139
+ const $io55 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "geneVariant" === input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && ("object" === typeof input3.groupsetting && null !== input3.groupsetting && $io16(input3.groupsetting)) && "coord" === input3.kind && "string" === typeof input3.chr && "number" === typeof input3.start && "number" === typeof input3.stop;
140
+ const $io56 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io14(input3.values)) && (void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit) && (void 0 === input3.snps || Array.isArray(input3.snps) && input3.snps.every((elem) => "object" === typeof elem && null !== elem && $io47(elem)));
141
+ const $io57 = (input3) => "string" === typeof input3.id && "string" === typeof input3.name && "string" === typeof input3.type && (void 0 === input3.child_types || Array.isArray(input3.child_types) && input3.child_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail) && (void 0 === input3.included_types || Array.isArray(input3.included_types) && input3.included_types.every((elem) => "string" === typeof elem)) && (void 0 === input3.isleaf || "boolean" === typeof input3.isleaf) && (void 0 === input3.values || "object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) && $io58(input3.values));
142
+ const $io58 = (input3) => Object.keys(input3).every((key) => {
143
+ const value = input3[key];
144
+ if (void 0 === value)
145
+ return true;
146
+ if (RegExp(/(.*)/).test(key))
147
+ return "object" === typeof value && null !== value && $io59(value);
148
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
149
+ return "object" === typeof value && null !== value && $io59(value);
150
+ return true;
151
+ });
152
+ const $io59 = (input3) => (void 0 === input3.key || "string" === typeof input3.key) && (void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable) && (void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label) && (void 0 === input3.order || "string" === typeof input3.order) && (void 0 === input3.color || "string" === typeof input3.color) && (void 0 === input3.group || "number" === typeof input3.group) && (void 0 === input3.filter || "object" === typeof input3.filter && null !== input3.filter && $io11(input3.filter)) && "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io60(elem))) && true;
153
+ const $io60 = (input3) => "string" === typeof input3.sampleId && "string" === typeof input3.sample;
154
+ const $io61 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type);
155
+ const $io62 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type) && (void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children) && (void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade) && (void 0 === input3.breaks || Array.isArray(input3.breaks) && input3.breaks.every((elem) => "number" === typeof elem)) && ("age" === input3.timeScale || "time" === input3.timeScale) && (void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade) && (void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent) && (void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade) && true;
156
+ const $io63 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.origin || "string" === typeof input3.origin) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "values" === input3.type;
157
+ const $io64 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.origin || "string" === typeof input3.origin) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "predefined-groupset" === input3.type && "number" === typeof input3.predefined_groupset_idx;
158
+ const $io65 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || true === input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff) && (void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength) && (void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue) && (void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff) && (Array.isArray(input3.exclude) && input3.exclude.every((elem) => "string" === typeof elem)) && (void 0 === input3.dt || "number" === typeof input3.dt) && (void 0 === input3.origin || "string" === typeof input3.origin) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode) && "custom-groupset" === input3.type && ("object" === typeof input3.customset && null !== input3.customset && $io7(input3.customset));
159
+ const $io66 = (input3) => (void 0 === input3.hiddenValues || "object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) && $io4(input3.hiddenValues)) && (void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic) && (void 0 === input3.name || "string" === typeof input3.name) && (void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode) && (void 0 === input3.reuseId || "string" === typeof input3.reuseId) && (void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type) && ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) && $io67(input3.groups));
160
+ const $io67 = (input3) => Object.keys(input3).every((key) => {
161
+ const value = input3[key];
162
+ if (void 0 === value)
163
+ return true;
164
+ if (RegExp(/(.*)/).test(key))
165
+ return "object" === typeof value && null !== value && $io68(value);
166
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
167
+ return "object" === typeof value && null !== value && $io68(value);
168
+ return true;
169
+ });
170
+ const $io68 = (input3) => "string" === typeof input3.name && "boolean" === typeof input3.inuse && (Array.isArray(input3.list) && input3.list.every((elem) => "object" === typeof elem && null !== elem && $io60(elem))) && true;
171
+ const $iu0 = (input3) => (() => {
172
+ if ("string" === typeof input3.type)
173
+ return $io8(input3);
174
+ if ("filter" === input3.type)
175
+ return $io10(input3);
176
+ return false;
177
+ })();
178
+ const $iu1 = (input3) => (() => {
179
+ if (void 0 !== input3.type)
180
+ return $io11(input3);
181
+ if (void 0 !== input3.ranges)
182
+ return $io19(input3);
183
+ return (() => {
184
+ if ($io12(input3))
185
+ return $io12(input3);
186
+ if ($io28(input3))
187
+ return $io28(input3);
188
+ if ($io31(input3))
189
+ return $io31(input3);
190
+ return false;
191
+ })();
192
+ })();
193
+ const $iu2 = (input3) => (() => {
194
+ if (true === input3.startunbounded)
195
+ return $io23(input3);
196
+ if (true === input3.stopunbounded)
197
+ return $io25(input3);
198
+ return $io24(input3);
199
+ })();
200
+ const $iu3 = (input3) => (() => {
201
+ if (2 === input3.dt)
202
+ return $io37(input3);
203
+ if (5 === input3.dt)
204
+ return $io36(input3);
205
+ if (4 === input3.dt)
206
+ return $io35(input3);
207
+ if (1 === input3.dt)
208
+ return $io34(input3);
209
+ return false;
210
+ })();
211
+ const $iu4 = (input3) => (() => {
212
+ if (true === input3.startunbounded)
213
+ return $io23(input3);
214
+ if (void 0 !== input3.start)
215
+ return $io24(input3);
216
+ return false;
217
+ })();
218
+ const $iu5 = (input3) => (() => {
219
+ if (void 0 !== input3.stop)
220
+ return $io24(input3);
221
+ if (true === input3.stopunbounded)
222
+ return $io25(input3);
223
+ return false;
224
+ })();
225
+ const $iu6 = (input3) => (() => {
226
+ if (void 0 !== input3.type)
227
+ return $io1(input3);
228
+ return (() => {
229
+ if ($io50(input3))
230
+ return $io50(input3);
231
+ if ($io43(input3))
232
+ return $io43(input3);
233
+ if ($io38(input3))
234
+ return $io38(input3);
235
+ return false;
236
+ })();
237
+ })();
238
+ const $iu7 = (input3) => (() => {
239
+ if ("values" === input3.type)
240
+ return $io3(input3);
241
+ if ("predefined-groupset" === input3.type)
242
+ return $io5(input3);
243
+ if ("custom-groupset" === input3.type)
244
+ return $io6(input3);
245
+ return false;
246
+ })();
247
+ const $iu8 = (input3) => (() => {
248
+ if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io17(elem)))
249
+ return $io16(input3);
250
+ return $io18(input3);
251
+ })();
252
+ const $iu9 = (input3) => (() => {
253
+ if ("regular-bin" === input3.type)
254
+ return $io22(input3);
255
+ if ("custom-bin" === input3.type)
256
+ return $io26(input3);
257
+ return false;
258
+ })();
259
+ const $iu10 = (input3) => (() => {
260
+ if ("gene" === input3.kind)
261
+ return $io32(input3);
262
+ if ("coord" === input3.kind)
263
+ return $io33(input3);
264
+ return false;
265
+ })();
266
+ const $iu11 = (input3) => (() => {
267
+ if ("regular-bin" === input3.type)
268
+ return $io22(input3);
269
+ if ("continuous" === input3.mode)
270
+ return $io40(input3);
271
+ if ("spline" === input3.mode)
272
+ return $io41(input3);
273
+ return (() => {
274
+ if ($io26(input3))
275
+ return $io26(input3);
276
+ if ($io39(input3))
277
+ return $io39(input3);
278
+ return false;
279
+ })();
280
+ })();
281
+ const $iu12 = (input3) => (() => {
282
+ if (void 0 !== input3.ranges)
283
+ return $io19(input3);
284
+ return (() => {
285
+ if ($io12(input3))
286
+ return $io12(input3);
287
+ if ($io28(input3))
288
+ return $io28(input3);
289
+ if ($io31(input3))
290
+ return $io31(input3);
291
+ return false;
292
+ })();
293
+ })();
294
+ const $iu13 = (input3) => (() => {
295
+ if ("categorical" === input3.type)
296
+ return $io51(input3);
297
+ if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
298
+ return $io52(input3);
299
+ if ("condition" === input3.type)
300
+ return $io53(input3);
301
+ if ("gene" === input3.kind)
302
+ return $io54(input3);
303
+ if ("coord" === input3.kind)
304
+ return $io55(input3);
305
+ return (() => {
306
+ if ($io56(input3))
307
+ return $io56(input3);
308
+ if ($io57(input3))
309
+ return $io57(input3);
310
+ return false;
311
+ })();
312
+ })();
313
+ const $iu14 = (input3) => (() => {
314
+ if (void 0 !== input3.bin_size)
315
+ return $io22(input3);
316
+ if (void 0 !== input3.knots)
317
+ return $io41(input3);
318
+ if (void 0 !== input3.AFcutoff)
319
+ return $io44(input3);
320
+ if (void 0 !== input3.timeScale)
321
+ return $io62(input3);
322
+ return (() => {
323
+ if (void 0 !== input3.groups)
324
+ return $io66(input3);
325
+ return (() => {
326
+ if ($io3(input3))
327
+ return $io3(input3);
328
+ if ($io5(input3))
329
+ return $io5(input3);
330
+ if ($io6(input3))
331
+ return $io6(input3);
332
+ if ($io26(input3))
333
+ return $io26(input3);
334
+ if ($io39(input3))
335
+ return $io39(input3);
336
+ if ($io40(input3))
337
+ return $io40(input3);
338
+ if ($io61(input3))
339
+ return $io61(input3);
340
+ if ($io63(input3))
341
+ return $io63(input3);
342
+ if ($io64(input3))
343
+ return $io64(input3);
344
+ if ($io65(input3))
345
+ return $io65(input3);
346
+ return false;
347
+ })();
348
+ })();
349
+ })();
350
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
351
+ };
352
+ if (false === __is(input)) {
353
+ const $report = import_typia.createValidate.report(errors);
354
+ ((input2, _path, _exceptionable = true) => {
355
+ const $join = import_typia.createValidate.join;
356
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
357
+ path: _path2 + ".genome",
358
+ expected: "string",
359
+ value: input3.genome
360
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
361
+ path: _path2 + ".dslabel",
362
+ expected: "string",
363
+ value: input3.dslabel
364
+ }), "string" === typeof input3.embedder || $report(_exceptionable2, {
365
+ path: _path2 + ".embedder",
366
+ expected: "string",
367
+ value: input3.embedder
368
+ }), ("object" === typeof input3.tw && null !== input3.tw || $report(_exceptionable2, {
369
+ path: _path2 + ".tw",
370
+ expected: "(BaseTW & { term: Term; q: Q; } | CategoricalTW | NumericTW | SnpsTW)",
371
+ value: input3.tw
372
+ })) && $vu6(input3.tw, _path2 + ".tw", _exceptionable2) || $report(_exceptionable2, {
373
+ path: _path2 + ".tw",
374
+ expected: "(BaseTW & { term: Term; q: Q; } | CategoricalTW | NumericTW | SnpsTW)",
375
+ value: input3.tw
376
+ }), void 0 === input3.logScale || "boolean" === typeof input3.logScale || $report(_exceptionable2, {
377
+ path: _path2 + ".logScale",
378
+ expected: "(boolean | undefined)",
379
+ value: input3.logScale
380
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
381
+ path: _path2 + ".filter",
382
+ expected: "(Filter | undefined)",
383
+ value: input3.filter
384
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
385
+ path: _path2 + ".filter",
386
+ expected: "(Filter | undefined)",
387
+ value: input3.filter
388
+ }), true].every((flag) => flag);
389
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
390
+ path: _path2 + ".id",
391
+ expected: "(string | undefined)",
392
+ value: input3.id
393
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
394
+ path: _path2 + ".$id",
395
+ expected: "(string | undefined)",
396
+ value: input3.$id
397
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
398
+ path: _path2 + ".isAtomic",
399
+ expected: "(true | undefined)",
400
+ value: input3.isAtomic
401
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
402
+ path: _path2 + ".settings",
403
+ expected: "(__type | undefined)",
404
+ value: input3.settings
405
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
406
+ path: _path2 + ".settings",
407
+ expected: "(__type | undefined)",
408
+ value: input3.settings
409
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
410
+ path: _path2 + ".minNumSamples",
411
+ expected: "(number | undefined)",
412
+ value: input3.minNumSamples
413
+ }), true, "CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type || $report(_exceptionable2, {
414
+ path: _path2 + ".type",
415
+ expected: '("CatTWCustomGS" | "CatTWPredefinedGS" | "CatTWValues")',
416
+ value: input3.type
417
+ }), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
418
+ path: _path2 + ".q",
419
+ expected: "(CustomGroupSettingQ | PredefinedGroupSettingQ | ValuesQ)",
420
+ value: input3.q
421
+ })) && $vu7(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
422
+ path: _path2 + ".q",
423
+ expected: "(CustomGroupSettingQ | PredefinedGroupSettingQ | ValuesQ)",
424
+ value: input3.q
425
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
426
+ path: _path2 + ".term",
427
+ expected: "CategoricalTerm",
428
+ value: input3.term
429
+ })) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
430
+ path: _path2 + ".term",
431
+ expected: "CategoricalTerm",
432
+ value: input3.term
433
+ })].every((flag) => flag);
434
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
435
+ const value = input3[key];
436
+ if (void 0 === value)
437
+ return true;
438
+ if (RegExp(/(.*)/).test(key))
439
+ return true;
440
+ return true;
441
+ }).every((flag) => flag)].every((flag) => flag);
442
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
443
+ path: _path2 + ".hiddenValues",
444
+ expected: "(HiddenValues | undefined)",
445
+ value: input3.hiddenValues
446
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
447
+ path: _path2 + ".hiddenValues",
448
+ expected: "(HiddenValues | undefined)",
449
+ value: input3.hiddenValues
450
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
451
+ path: _path2 + ".isAtomic",
452
+ expected: "(true | undefined)",
453
+ value: input3.isAtomic
454
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
455
+ path: _path2 + ".name",
456
+ expected: "(string | undefined)",
457
+ value: input3.name
458
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
459
+ path: _path2 + ".reuseId",
460
+ expected: "(string | undefined)",
461
+ value: input3.reuseId
462
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
463
+ path: _path2 + ".mode",
464
+ expected: '("binary" | "discrete" | undefined)',
465
+ value: input3.mode
466
+ }), "values" === input3.type || $report(_exceptionable2, {
467
+ path: _path2 + ".type",
468
+ expected: '"values"',
469
+ value: input3.type
470
+ })].every((flag) => flag);
471
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
472
+ const value = input3[key];
473
+ if (void 0 === value)
474
+ return true;
475
+ if (RegExp(/(.*)/).test(key))
476
+ return "number" === typeof value || $report(_exceptionable2, {
477
+ path: _path2 + $join(key),
478
+ expected: "number",
479
+ value
480
+ });
481
+ return true;
482
+ }).every((flag) => flag)].every((flag) => flag);
483
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
484
+ path: _path2 + ".hiddenValues",
485
+ expected: "(HiddenValues | undefined)",
486
+ value: input3.hiddenValues
487
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
488
+ path: _path2 + ".hiddenValues",
489
+ expected: "(HiddenValues | undefined)",
490
+ value: input3.hiddenValues
491
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
492
+ path: _path2 + ".isAtomic",
493
+ expected: "(true | undefined)",
494
+ value: input3.isAtomic
495
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
496
+ path: _path2 + ".name",
497
+ expected: "(string | undefined)",
498
+ value: input3.name
499
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
500
+ path: _path2 + ".reuseId",
501
+ expected: "(string | undefined)",
502
+ value: input3.reuseId
503
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
504
+ path: _path2 + ".mode",
505
+ expected: '("binary" | "discrete" | undefined)',
506
+ value: input3.mode
507
+ }), "predefined-groupset" === input3.type || $report(_exceptionable2, {
508
+ path: _path2 + ".type",
509
+ expected: '"predefined-groupset"',
510
+ value: input3.type
511
+ }), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
512
+ path: _path2 + ".predefined_groupset_idx",
513
+ expected: "number",
514
+ value: input3.predefined_groupset_idx
515
+ })].every((flag) => flag);
516
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
517
+ path: _path2 + ".hiddenValues",
518
+ expected: "(HiddenValues | undefined)",
519
+ value: input3.hiddenValues
520
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
521
+ path: _path2 + ".hiddenValues",
522
+ expected: "(HiddenValues | undefined)",
523
+ value: input3.hiddenValues
524
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
525
+ path: _path2 + ".isAtomic",
526
+ expected: "(true | undefined)",
527
+ value: input3.isAtomic
528
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
529
+ path: _path2 + ".name",
530
+ expected: "(string | undefined)",
531
+ value: input3.name
532
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
533
+ path: _path2 + ".reuseId",
534
+ expected: "(string | undefined)",
535
+ value: input3.reuseId
536
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
537
+ path: _path2 + ".mode",
538
+ expected: '("binary" | "discrete" | undefined)',
539
+ value: input3.mode
540
+ }), "custom-groupset" === input3.type || $report(_exceptionable2, {
541
+ path: _path2 + ".type",
542
+ expected: '"custom-groupset"',
543
+ value: input3.type
544
+ }), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
545
+ path: _path2 + ".customset",
546
+ expected: "BaseGroupSet",
547
+ value: input3.customset
548
+ })) && $vo7(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
549
+ path: _path2 + ".customset",
550
+ expected: "BaseGroupSet",
551
+ value: input3.customset
552
+ })].every((flag) => flag);
553
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
554
+ path: _path2 + ".groups",
555
+ expected: "Array<GroupEntry>",
556
+ value: input3.groups
557
+ })) && input3.groups.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
558
+ path: _path2 + ".groups[" + _index1 + "]",
559
+ expected: "(FilterGroup | ValuesGroup)",
560
+ value: elem
561
+ })) && $vu0(elem, _path2 + ".groups[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
562
+ path: _path2 + ".groups[" + _index1 + "]",
563
+ expected: "(FilterGroup | ValuesGroup)",
564
+ value: elem
565
+ })).every((flag) => flag) || $report(_exceptionable2, {
566
+ path: _path2 + ".groups",
567
+ expected: "Array<GroupEntry>",
568
+ value: input3.groups
569
+ })].every((flag) => flag);
570
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
571
+ path: _path2 + ".name",
572
+ expected: "string",
573
+ value: input3.name
574
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
575
+ path: _path2 + ".type",
576
+ expected: "string",
577
+ value: input3.type
578
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
579
+ path: _path2 + ".values",
580
+ expected: "Array<__type>",
581
+ value: input3.values
582
+ })) && input3.values.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
583
+ path: _path2 + ".values[" + _index2 + "]",
584
+ expected: "__type.o1",
585
+ value: elem
586
+ })) && $vo9(elem, _path2 + ".values[" + _index2 + "]", _exceptionable2) || $report(_exceptionable2, {
587
+ path: _path2 + ".values[" + _index2 + "]",
588
+ expected: "__type.o1",
589
+ value: elem
590
+ })).every((flag) => flag) || $report(_exceptionable2, {
591
+ path: _path2 + ".values",
592
+ expected: "Array<__type>",
593
+ value: input3.values
594
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
595
+ path: _path2 + ".uncomputable",
596
+ expected: "(boolean | undefined)",
597
+ value: input3.uncomputable
598
+ })].every((flag) => flag);
599
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
600
+ path: _path2 + ".key",
601
+ expected: "(number | string)",
602
+ value: input3.key
603
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
604
+ path: _path2 + ".label",
605
+ expected: "string",
606
+ value: input3.label
607
+ })].every((flag) => flag);
608
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
609
+ path: _path2 + ".name",
610
+ expected: "string",
611
+ value: input3.name
612
+ }), "filter" === input3.type || $report(_exceptionable2, {
613
+ path: _path2 + ".type",
614
+ expected: '"filter"',
615
+ value: input3.type
616
+ }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
617
+ path: _path2 + ".filter",
618
+ expected: "Filter",
619
+ value: input3.filter
620
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
621
+ path: _path2 + ".filter",
622
+ expected: "Filter",
623
+ value: input3.filter
624
+ })].every((flag) => flag);
625
+ const $vo11 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
626
+ path: _path2 + ".type",
627
+ expected: '"lst"',
628
+ value: input3.type
629
+ }), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
630
+ path: _path2 + '["in"]',
631
+ expected: "(boolean | undefined)",
632
+ value: input3["in"]
633
+ }), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
634
+ path: _path2 + ".join",
635
+ expected: '("and" | "or")',
636
+ value: input3.join
637
+ }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
638
+ path: _path2 + ".tag",
639
+ expected: "(string | undefined)",
640
+ value: input3.tag
641
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
642
+ path: _path2 + ".lst",
643
+ expected: "Array<Filter | Tvs>",
644
+ value: input3.lst
645
+ })) && input3.lst.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
646
+ path: _path2 + ".lst[" + _index3 + "]",
647
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
648
+ value: elem
649
+ })) && $vu1(elem, _path2 + ".lst[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
650
+ path: _path2 + ".lst[" + _index3 + "]",
651
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
652
+ value: elem
653
+ })).every((flag) => flag) || $report(_exceptionable2, {
654
+ path: _path2 + ".lst",
655
+ expected: "Array<Filter | Tvs>",
656
+ value: input3.lst
657
+ })].every((flag) => flag);
658
+ const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
659
+ path: _path2 + ".join",
660
+ expected: "(string | undefined)",
661
+ value: input3.join
662
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
663
+ path: _path2 + ".isnot",
664
+ expected: "(boolean | undefined)",
665
+ value: input3.isnot
666
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
667
+ path: _path2 + ".term",
668
+ expected: "CategoricalTerm",
669
+ value: input3.term
670
+ })) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
671
+ path: _path2 + ".term",
672
+ expected: "CategoricalTerm",
673
+ value: input3.term
674
+ }), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
675
+ path: _path2 + ".groupset_label",
676
+ expected: "(string | undefined)",
677
+ value: input3.groupset_label
678
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
679
+ path: _path2 + ".values",
680
+ expected: "Array<BaseValue>",
681
+ value: input3.values
682
+ })) && input3.values.map((elem, _index4) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
683
+ path: _path2 + ".values[" + _index4 + "]",
684
+ expected: "BaseValue",
685
+ value: elem
686
+ })) && $vo15(elem, _path2 + ".values[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
687
+ path: _path2 + ".values[" + _index4 + "]",
688
+ expected: "BaseValue",
689
+ value: elem
690
+ })).every((flag) => flag) || $report(_exceptionable2, {
691
+ path: _path2 + ".values",
692
+ expected: "Array<BaseValue>",
693
+ value: input3.values
694
+ })].every((flag) => flag);
695
+ const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
696
+ path: _path2 + ".id",
697
+ expected: "string",
698
+ value: input3.id
699
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
700
+ path: _path2 + ".name",
701
+ expected: "string",
702
+ value: input3.name
703
+ }), "categorical" === input3.type || $report(_exceptionable2, {
704
+ path: _path2 + ".type",
705
+ expected: '"categorical"',
706
+ value: input3.type
707
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
708
+ path: _path2 + ".child_types",
709
+ expected: "(Array<string> | undefined)",
710
+ value: input3.child_types
711
+ })) && input3.child_types.map((elem, _index5) => "string" === typeof elem || $report(_exceptionable2, {
712
+ path: _path2 + ".child_types[" + _index5 + "]",
713
+ expected: "string",
714
+ value: elem
715
+ })).every((flag) => flag) || $report(_exceptionable2, {
716
+ path: _path2 + ".child_types",
717
+ expected: "(Array<string> | undefined)",
718
+ value: input3.child_types
719
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
720
+ path: _path2 + ".hashtmldetail",
721
+ expected: "(boolean | undefined)",
722
+ value: input3.hashtmldetail
723
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
724
+ path: _path2 + ".included_types",
725
+ expected: "(Array<string> | undefined)",
726
+ value: input3.included_types
727
+ })) && input3.included_types.map((elem, _index6) => "string" === typeof elem || $report(_exceptionable2, {
728
+ path: _path2 + ".included_types[" + _index6 + "]",
729
+ expected: "string",
730
+ value: elem
731
+ })).every((flag) => flag) || $report(_exceptionable2, {
732
+ path: _path2 + ".included_types",
733
+ expected: "(Array<string> | undefined)",
734
+ value: input3.included_types
735
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
736
+ path: _path2 + ".isleaf",
737
+ expected: "(boolean | undefined)",
738
+ value: input3.isleaf
739
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
740
+ path: _path2 + ".values",
741
+ expected: "(TermValues | undefined)",
742
+ value: input3.values
743
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
744
+ path: _path2 + ".values",
745
+ expected: "(TermValues | undefined)",
746
+ value: input3.values
747
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
748
+ path: _path2 + ".groupsetting",
749
+ expected: "(EnabledTermGroupSetting | __type.o2)",
750
+ value: input3.groupsetting
751
+ })) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
752
+ path: _path2 + ".groupsetting",
753
+ expected: "(EnabledTermGroupSetting | __type.o2)",
754
+ value: input3.groupsetting
755
+ })].every((flag) => flag);
756
+ const $vo14 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
757
+ const value = input3[key];
758
+ if (void 0 === value)
759
+ return true;
760
+ if (RegExp(/(.*)/).test(key))
761
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
762
+ path: _path2 + $join(key),
763
+ expected: "BaseValue",
764
+ value
765
+ })) && $vo15(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
766
+ path: _path2 + $join(key),
767
+ expected: "BaseValue",
768
+ value
769
+ });
770
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
771
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
772
+ path: _path2 + $join(key),
773
+ expected: "BaseValue",
774
+ value
775
+ })) && $vo15(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
776
+ path: _path2 + $join(key),
777
+ expected: "BaseValue",
778
+ value
779
+ });
780
+ return true;
781
+ }).every((flag) => flag)].every((flag) => flag);
782
+ const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
783
+ path: _path2 + ".key",
784
+ expected: "(string | undefined)",
785
+ value: input3.key
786
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
787
+ path: _path2 + ".uncomputable",
788
+ expected: "(boolean | undefined)",
789
+ value: input3.uncomputable
790
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
791
+ path: _path2 + ".label",
792
+ expected: "(number | string | undefined)",
793
+ value: input3.label
794
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
795
+ path: _path2 + ".order",
796
+ expected: "(string | undefined)",
797
+ value: input3.order
798
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
799
+ path: _path2 + ".color",
800
+ expected: "(string | undefined)",
801
+ value: input3.color
802
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
803
+ path: _path2 + ".group",
804
+ expected: "(number | undefined)",
805
+ value: input3.group
806
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
807
+ path: _path2 + ".filter",
808
+ expected: "(Filter | undefined)",
809
+ value: input3.filter
810
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
811
+ path: _path2 + ".filter",
812
+ expected: "(Filter | undefined)",
813
+ value: input3.filter
814
+ })].every((flag) => flag);
815
+ const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
816
+ path: _path2 + ".disabled",
817
+ expected: "(boolean | undefined)",
818
+ value: input3.disabled
819
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
820
+ path: _path2 + ".lst",
821
+ expected: "Array<Groupset>",
822
+ value: input3.lst
823
+ })) && input3.lst.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
824
+ path: _path2 + ".lst[" + _index7 + "]",
825
+ expected: "Groupset",
826
+ value: elem
827
+ })) && $vo17(elem, _path2 + ".lst[" + _index7 + "]", _exceptionable2) || $report(_exceptionable2, {
828
+ path: _path2 + ".lst[" + _index7 + "]",
829
+ expected: "Groupset",
830
+ value: elem
831
+ })).every((flag) => flag) || $report(_exceptionable2, {
832
+ path: _path2 + ".lst",
833
+ expected: "Array<Groupset>",
834
+ value: input3.lst
835
+ })].every((flag) => flag);
836
+ const $vo17 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
837
+ path: _path2 + ".name",
838
+ expected: "string",
839
+ value: input3.name
840
+ }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
841
+ path: _path2 + ".is_grade",
842
+ expected: "(boolean | undefined)",
843
+ value: input3.is_grade
844
+ }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
845
+ path: _path2 + ".is_subcondition",
846
+ expected: "(boolean | undefined)",
847
+ value: input3.is_subcondition
848
+ }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
849
+ path: _path2 + ".groups",
850
+ expected: "Array<GroupEntry>",
851
+ value: input3.groups
852
+ })) && input3.groups.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
853
+ path: _path2 + ".groups[" + _index8 + "]",
854
+ expected: "(FilterGroup | ValuesGroup)",
855
+ value: elem
856
+ })) && $vu0(elem, _path2 + ".groups[" + _index8 + "]", _exceptionable2) || $report(_exceptionable2, {
857
+ path: _path2 + ".groups[" + _index8 + "]",
858
+ expected: "(FilterGroup | ValuesGroup)",
859
+ value: elem
860
+ })).every((flag) => flag) || $report(_exceptionable2, {
861
+ path: _path2 + ".groups",
862
+ expected: "Array<GroupEntry>",
863
+ value: input3.groups
864
+ })].every((flag) => flag);
865
+ const $vo18 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
866
+ path: _path2 + ".disabled",
867
+ expected: "boolean",
868
+ value: input3.disabled
869
+ }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
870
+ path: _path2 + ".lst",
871
+ expected: "([] | undefined)",
872
+ value: input3.lst
873
+ })) && ((input3.lst.length === 0 || $report(_exceptionable2, {
874
+ path: _path2 + ".lst",
875
+ expected: "[]",
876
+ value: input3.lst
877
+ })) && [].every((flag) => flag)) || $report(_exceptionable2, {
878
+ path: _path2 + ".lst",
879
+ expected: "([] | undefined)",
880
+ value: input3.lst
881
+ })].every((flag) => flag);
882
+ const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
883
+ path: _path2 + ".join",
884
+ expected: "(string | undefined)",
885
+ value: input3.join
886
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
887
+ path: _path2 + ".isnot",
888
+ expected: "(boolean | undefined)",
889
+ value: input3.isnot
890
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
891
+ path: _path2 + ".term",
892
+ expected: "NumericTerm",
893
+ value: input3.term
894
+ })) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
895
+ path: _path2 + ".term",
896
+ expected: "NumericTerm",
897
+ value: input3.term
898
+ }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
899
+ path: _path2 + ".ranges",
900
+ expected: "Array<NumericBin>",
901
+ value: input3.ranges
902
+ })) && input3.ranges.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
903
+ path: _path2 + ".ranges[" + _index9 + "]",
904
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
905
+ value: elem
906
+ })) && $vu2(elem, _path2 + ".ranges[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
907
+ path: _path2 + ".ranges[" + _index9 + "]",
908
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
909
+ value: elem
910
+ })).every((flag) => flag) || $report(_exceptionable2, {
911
+ path: _path2 + ".ranges",
912
+ expected: "Array<NumericBin>",
913
+ value: input3.ranges
914
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
915
+ path: _path2 + ".values",
916
+ expected: "Array<__type>.o1",
917
+ value: input3.values
918
+ })) && input3.values.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
919
+ path: _path2 + ".values[" + _index10 + "]",
920
+ expected: "__type.o3",
921
+ value: elem
922
+ })) && $vo27(elem, _path2 + ".values[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
923
+ path: _path2 + ".values[" + _index10 + "]",
924
+ expected: "__type.o3",
925
+ value: elem
926
+ })).every((flag) => flag) || $report(_exceptionable2, {
927
+ path: _path2 + ".values",
928
+ expected: "Array<__type>.o1",
929
+ value: input3.values
930
+ })].every((flag) => flag);
931
+ const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
932
+ path: _path2 + ".id",
933
+ expected: "string",
934
+ value: input3.id
935
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
936
+ path: _path2 + ".name",
937
+ expected: "string",
938
+ value: input3.name
939
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
940
+ path: _path2 + ".type",
941
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
942
+ value: input3.type
943
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
944
+ path: _path2 + ".child_types",
945
+ expected: "(Array<string> | undefined)",
946
+ value: input3.child_types
947
+ })) && input3.child_types.map((elem, _index11) => "string" === typeof elem || $report(_exceptionable2, {
948
+ path: _path2 + ".child_types[" + _index11 + "]",
949
+ expected: "string",
950
+ value: elem
951
+ })).every((flag) => flag) || $report(_exceptionable2, {
952
+ path: _path2 + ".child_types",
953
+ expected: "(Array<string> | undefined)",
954
+ value: input3.child_types
955
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
956
+ path: _path2 + ".hashtmldetail",
957
+ expected: "(boolean | undefined)",
958
+ value: input3.hashtmldetail
959
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
960
+ path: _path2 + ".included_types",
961
+ expected: "(Array<string> | undefined)",
962
+ value: input3.included_types
963
+ })) && input3.included_types.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable2, {
964
+ path: _path2 + ".included_types[" + _index12 + "]",
965
+ expected: "string",
966
+ value: elem
967
+ })).every((flag) => flag) || $report(_exceptionable2, {
968
+ path: _path2 + ".included_types",
969
+ expected: "(Array<string> | undefined)",
970
+ value: input3.included_types
971
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
972
+ path: _path2 + ".isleaf",
973
+ expected: "(boolean | undefined)",
974
+ value: input3.isleaf
975
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
976
+ path: _path2 + ".values",
977
+ expected: "(TermValues | undefined)",
978
+ value: input3.values
979
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
980
+ path: _path2 + ".values",
981
+ expected: "(TermValues | undefined)",
982
+ value: input3.values
983
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
984
+ path: _path2 + ".bins",
985
+ expected: "PresetNumericBins",
986
+ value: input3.bins
987
+ })) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
988
+ path: _path2 + ".bins",
989
+ expected: "PresetNumericBins",
990
+ value: input3.bins
991
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
992
+ path: _path2 + ".unit",
993
+ expected: "(string | undefined)",
994
+ value: input3.unit
995
+ })].every((flag) => flag);
996
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
997
+ path: _path2 + '["default"]',
998
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
999
+ value: input3["default"]
1000
+ })) && $vu9(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
1001
+ path: _path2 + '["default"]',
1002
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
1003
+ value: input3["default"]
1004
+ }), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
1005
+ path: _path2 + ".less",
1006
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
1007
+ value: input3.less
1008
+ })) && $vu9(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
1009
+ path: _path2 + ".less",
1010
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
1011
+ value: input3.less
1012
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
1013
+ path: _path2 + ".label_offset",
1014
+ expected: "(number | undefined)",
1015
+ value: input3.label_offset
1016
+ }), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
1017
+ path: _path2 + ".label_offset_ignored",
1018
+ expected: "(boolean | undefined)",
1019
+ value: input3.label_offset_ignored
1020
+ }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
1021
+ path: _path2 + ".rounding",
1022
+ expected: "(string | undefined)",
1023
+ value: input3.rounding
1024
+ }), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
1025
+ path: _path2 + ".min",
1026
+ expected: "(number | undefined)",
1027
+ value: input3.min
1028
+ }), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
1029
+ path: _path2 + ".max",
1030
+ expected: "(number | undefined)",
1031
+ value: input3.max
1032
+ })].every((flag) => flag);
1033
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1034
+ path: _path2 + ".hiddenValues",
1035
+ expected: "(HiddenValues | undefined)",
1036
+ value: input3.hiddenValues
1037
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1038
+ path: _path2 + ".hiddenValues",
1039
+ expected: "(HiddenValues | undefined)",
1040
+ value: input3.hiddenValues
1041
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1042
+ path: _path2 + ".isAtomic",
1043
+ expected: "(true | undefined)",
1044
+ value: input3.isAtomic
1045
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1046
+ path: _path2 + ".name",
1047
+ expected: "(string | undefined)",
1048
+ value: input3.name
1049
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1050
+ path: _path2 + ".reuseId",
1051
+ expected: "(string | undefined)",
1052
+ value: input3.reuseId
1053
+ }), "regular-bin" === input3.type || $report(_exceptionable2, {
1054
+ path: _path2 + ".type",
1055
+ expected: '"regular-bin"',
1056
+ value: input3.type
1057
+ }), void 0 === input3.mode || "discrete" === input3.mode || $report(_exceptionable2, {
1058
+ path: _path2 + ".mode",
1059
+ expected: '("discrete" | undefined)',
1060
+ value: input3.mode
1061
+ }), "number" === typeof input3.bin_size || $report(_exceptionable2, {
1062
+ path: _path2 + ".bin_size",
1063
+ expected: "number",
1064
+ value: input3.bin_size
1065
+ }), ("object" === typeof input3.first_bin && null !== input3.first_bin || $report(_exceptionable2, {
1066
+ path: _path2 + ".first_bin",
1067
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1068
+ value: input3.first_bin
1069
+ })) && $vu4(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
1070
+ path: _path2 + ".first_bin",
1071
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1072
+ value: input3.first_bin
1073
+ }), void 0 === input3.last_bin || ("object" === typeof input3.last_bin && null !== input3.last_bin || $report(_exceptionable2, {
1074
+ path: _path2 + ".last_bin",
1075
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
1076
+ value: input3.last_bin
1077
+ })) && $vu5(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
1078
+ path: _path2 + ".last_bin",
1079
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
1080
+ value: input3.last_bin
1081
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
1082
+ path: _path2 + ".label_offset",
1083
+ expected: "(number | undefined)",
1084
+ value: input3.label_offset
1085
+ })].every((flag) => flag);
1086
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
1087
+ path: _path2 + ".startunbounded",
1088
+ expected: "true",
1089
+ value: input3.startunbounded
1090
+ }), void 0 === input3.startinclusive || false === input3.startinclusive || $report(_exceptionable2, {
1091
+ path: _path2 + ".startinclusive",
1092
+ expected: "(false | undefined)",
1093
+ value: input3.startinclusive
1094
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1095
+ path: _path2 + ".stop",
1096
+ expected: "number",
1097
+ value: input3.stop
1098
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
1099
+ path: _path2 + ".stopinclusive",
1100
+ expected: "(boolean | undefined)",
1101
+ value: input3.stopinclusive
1102
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
1103
+ path: _path2 + ".stopunbounded",
1104
+ expected: "(false | undefined)",
1105
+ value: input3.stopunbounded
1106
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1107
+ path: _path2 + ".label",
1108
+ expected: "(string | undefined)",
1109
+ value: input3.label
1110
+ })].every((flag) => flag);
1111
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1112
+ path: _path2 + ".startunbounded",
1113
+ expected: "(false | undefined)",
1114
+ value: input3.startunbounded
1115
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
1116
+ path: _path2 + ".startinclusive",
1117
+ expected: "(boolean | undefined)",
1118
+ value: input3.startinclusive
1119
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1120
+ path: _path2 + ".start",
1121
+ expected: "number",
1122
+ value: input3.start
1123
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1124
+ path: _path2 + ".stop",
1125
+ expected: "number",
1126
+ value: input3.stop
1127
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
1128
+ path: _path2 + ".stopinclusive",
1129
+ expected: "(boolean | undefined)",
1130
+ value: input3.stopinclusive
1131
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
1132
+ path: _path2 + ".stopunbounded",
1133
+ expected: "(false | undefined)",
1134
+ value: input3.stopunbounded
1135
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1136
+ path: _path2 + ".label",
1137
+ expected: "(string | undefined)",
1138
+ value: input3.label
1139
+ })].every((flag) => flag);
1140
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
1141
+ path: _path2 + ".start",
1142
+ expected: "number",
1143
+ value: input3.start
1144
+ }), true === input3.stopunbounded || $report(_exceptionable2, {
1145
+ path: _path2 + ".stopunbounded",
1146
+ expected: "true",
1147
+ value: input3.stopunbounded
1148
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
1149
+ path: _path2 + ".startinclusive",
1150
+ expected: "(boolean | undefined)",
1151
+ value: input3.startinclusive
1152
+ }), void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1153
+ path: _path2 + ".startunbounded",
1154
+ expected: "(false | undefined)",
1155
+ value: input3.startunbounded
1156
+ }), void 0 === input3.stopinclusive || false === input3.stopinclusive || $report(_exceptionable2, {
1157
+ path: _path2 + ".stopinclusive",
1158
+ expected: "(false | undefined)",
1159
+ value: input3.stopinclusive
1160
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1161
+ path: _path2 + ".label",
1162
+ expected: "(string | undefined)",
1163
+ value: input3.label
1164
+ })].every((flag) => flag);
1165
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1166
+ path: _path2 + ".hiddenValues",
1167
+ expected: "(HiddenValues | undefined)",
1168
+ value: input3.hiddenValues
1169
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1170
+ path: _path2 + ".hiddenValues",
1171
+ expected: "(HiddenValues | undefined)",
1172
+ value: input3.hiddenValues
1173
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1174
+ path: _path2 + ".isAtomic",
1175
+ expected: "(true | undefined)",
1176
+ value: input3.isAtomic
1177
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1178
+ path: _path2 + ".name",
1179
+ expected: "(string | undefined)",
1180
+ value: input3.name
1181
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1182
+ path: _path2 + ".reuseId",
1183
+ expected: "(string | undefined)",
1184
+ value: input3.reuseId
1185
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
1186
+ path: _path2 + ".type",
1187
+ expected: '"custom-bin"',
1188
+ value: input3.type
1189
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
1190
+ path: _path2 + ".mode",
1191
+ expected: '("binary" | "discrete" | undefined)',
1192
+ value: input3.mode
1193
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
1194
+ path: _path2 + ".lst",
1195
+ expected: "[NumericBin, ...NumericBin[]]",
1196
+ value: input3.lst
1197
+ })) && ([
1198
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
1199
+ path: _path2 + ".lst[0]",
1200
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1201
+ value: input3.lst[0]
1202
+ })) && $vu2(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1203
+ path: _path2 + ".lst[0]",
1204
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1205
+ value: input3.lst[0]
1206
+ })
1207
+ ].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
1208
+ path: _path2 + ".lst",
1209
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1210
+ value: input3.lst.slice(1)
1211
+ })) && input3.lst.slice(1).map((elem, _index13) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1212
+ path: _path2 + ".lst[" + (1 + _index13) + "]",
1213
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1214
+ value: elem
1215
+ })) && $vu2(elem, _path2 + ".lst[" + (1 + _index13) + "]", _exceptionable2) || $report(_exceptionable2, {
1216
+ path: _path2 + ".lst[" + (1 + _index13) + "]",
1217
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1218
+ value: elem
1219
+ })).every((flag) => flag) || $report(_exceptionable2, {
1220
+ path: _path2 + ".lst",
1221
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1222
+ value: input3.lst.slice(1)
1223
+ }))) || $report(_exceptionable2, {
1224
+ path: _path2 + ".lst",
1225
+ expected: "[NumericBin, ...NumericBin[]]",
1226
+ value: input3.lst
1227
+ }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
1228
+ path: _path2 + ".preferredBins",
1229
+ expected: '("median" | undefined)',
1230
+ value: input3.preferredBins
1231
+ })].every((flag) => flag);
1232
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1233
+ path: _path2 + ".key",
1234
+ expected: "string",
1235
+ value: input3.key
1236
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
1237
+ path: _path2 + ".value",
1238
+ expected: "number",
1239
+ value: input3.value
1240
+ }), true === input3.uncomputable || $report(_exceptionable2, {
1241
+ path: _path2 + ".uncomputable",
1242
+ expected: "true",
1243
+ value: input3.uncomputable
1244
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1245
+ path: _path2 + ".label",
1246
+ expected: "(string | undefined)",
1247
+ value: input3.label
1248
+ })].every((flag) => flag);
1249
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1250
+ path: _path2 + ".join",
1251
+ expected: "(string | undefined)",
1252
+ value: input3.join
1253
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1254
+ path: _path2 + ".isnot",
1255
+ expected: "(boolean | undefined)",
1256
+ value: input3.isnot
1257
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1258
+ path: _path2 + ".term",
1259
+ expected: "ConditionTerm",
1260
+ value: input3.term
1261
+ })) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1262
+ path: _path2 + ".term",
1263
+ expected: "ConditionTerm",
1264
+ value: input3.term
1265
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
1266
+ path: _path2 + ".value_by_max_grade",
1267
+ expected: "(boolean | undefined)",
1268
+ value: input3.value_by_max_grade
1269
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
1270
+ path: _path2 + ".value_by_most_recent",
1271
+ expected: "(boolean | undefined)",
1272
+ value: input3.value_by_most_recent
1273
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
1274
+ path: _path2 + ".value_by_computable_grade",
1275
+ expected: "(boolean | undefined)",
1276
+ value: input3.value_by_computable_grade
1277
+ }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
1278
+ path: _path2 + ".grade_and_child",
1279
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1280
+ value: input3.grade_and_child
1281
+ })) && input3.grade_and_child.map((elem, _index14) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1282
+ path: _path2 + ".grade_and_child[" + _index14 + "]",
1283
+ expected: "GradeAndChildEntry",
1284
+ value: elem
1285
+ })) && $vo30(elem, _path2 + ".grade_and_child[" + _index14 + "]", _exceptionable2) || $report(_exceptionable2, {
1286
+ path: _path2 + ".grade_and_child[" + _index14 + "]",
1287
+ expected: "GradeAndChildEntry",
1288
+ value: elem
1289
+ })).every((flag) => flag) || $report(_exceptionable2, {
1290
+ path: _path2 + ".grade_and_child",
1291
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1292
+ value: input3.grade_and_child
1293
+ })].every((flag) => flag);
1294
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1295
+ path: _path2 + ".id",
1296
+ expected: "string",
1297
+ value: input3.id
1298
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1299
+ path: _path2 + ".name",
1300
+ expected: "string",
1301
+ value: input3.name
1302
+ }), "condition" === input3.type || $report(_exceptionable2, {
1303
+ path: _path2 + ".type",
1304
+ expected: '"condition"',
1305
+ value: input3.type
1306
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1307
+ path: _path2 + ".child_types",
1308
+ expected: "(Array<string> | undefined)",
1309
+ value: input3.child_types
1310
+ })) && input3.child_types.map((elem, _index15) => "string" === typeof elem || $report(_exceptionable2, {
1311
+ path: _path2 + ".child_types[" + _index15 + "]",
1312
+ expected: "string",
1313
+ value: elem
1314
+ })).every((flag) => flag) || $report(_exceptionable2, {
1315
+ path: _path2 + ".child_types",
1316
+ expected: "(Array<string> | undefined)",
1317
+ value: input3.child_types
1318
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1319
+ path: _path2 + ".hashtmldetail",
1320
+ expected: "(boolean | undefined)",
1321
+ value: input3.hashtmldetail
1322
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1323
+ path: _path2 + ".included_types",
1324
+ expected: "(Array<string> | undefined)",
1325
+ value: input3.included_types
1326
+ })) && input3.included_types.map((elem, _index16) => "string" === typeof elem || $report(_exceptionable2, {
1327
+ path: _path2 + ".included_types[" + _index16 + "]",
1328
+ expected: "string",
1329
+ value: elem
1330
+ })).every((flag) => flag) || $report(_exceptionable2, {
1331
+ path: _path2 + ".included_types",
1332
+ expected: "(Array<string> | undefined)",
1333
+ value: input3.included_types
1334
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1335
+ path: _path2 + ".isleaf",
1336
+ expected: "(boolean | undefined)",
1337
+ value: input3.isleaf
1338
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1339
+ path: _path2 + ".values",
1340
+ expected: "(TermValues | undefined)",
1341
+ value: input3.values
1342
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1343
+ path: _path2 + ".values",
1344
+ expected: "(TermValues | undefined)",
1345
+ value: input3.values
1346
+ })].every((flag) => flag);
1347
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1348
+ path: _path2 + ".grade",
1349
+ expected: "number",
1350
+ value: input3.grade
1351
+ }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
1352
+ path: _path2 + ".grade_label",
1353
+ expected: "string",
1354
+ value: input3.grade_label
1355
+ }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
1356
+ path: _path2 + ".child_id",
1357
+ expected: "(string | undefined)",
1358
+ value: input3.child_id
1359
+ }), "string" === typeof input3.child_label || $report(_exceptionable2, {
1360
+ path: _path2 + ".child_label",
1361
+ expected: "string",
1362
+ value: input3.child_label
1363
+ })].every((flag) => flag);
1364
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1365
+ path: _path2 + ".join",
1366
+ expected: "(string | undefined)",
1367
+ value: input3.join
1368
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1369
+ path: _path2 + ".isnot",
1370
+ expected: "(boolean | undefined)",
1371
+ value: input3.isnot
1372
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1373
+ path: _path2 + ".term",
1374
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1375
+ value: input3.term
1376
+ })) && $vu10(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1377
+ path: _path2 + ".term",
1378
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1379
+ value: input3.term
1380
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
1381
+ path: _path2 + ".values",
1382
+ expected: "Array<GeneVariantTvsValue>",
1383
+ value: input3.values
1384
+ })) && input3.values.map((elem, _index17) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1385
+ path: _path2 + ".values[" + _index17 + "]",
1386
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1387
+ value: elem
1388
+ })) && $vu3(elem, _path2 + ".values[" + _index17 + "]", _exceptionable2) || $report(_exceptionable2, {
1389
+ path: _path2 + ".values[" + _index17 + "]",
1390
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1391
+ value: elem
1392
+ })).every((flag) => flag) || $report(_exceptionable2, {
1393
+ path: _path2 + ".values",
1394
+ expected: "Array<GeneVariantTvsValue>",
1395
+ value: input3.values
1396
+ })].every((flag) => flag);
1397
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1398
+ path: _path2 + ".id",
1399
+ expected: "string",
1400
+ value: input3.id
1401
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1402
+ path: _path2 + ".name",
1403
+ expected: "string",
1404
+ value: input3.name
1405
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1406
+ path: _path2 + ".type",
1407
+ expected: '"geneVariant"',
1408
+ value: input3.type
1409
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1410
+ path: _path2 + ".child_types",
1411
+ expected: "(Array<string> | undefined)",
1412
+ value: input3.child_types
1413
+ })) && input3.child_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1414
+ path: _path2 + ".child_types[" + _index18 + "]",
1415
+ expected: "string",
1416
+ value: elem
1417
+ })).every((flag) => flag) || $report(_exceptionable2, {
1418
+ path: _path2 + ".child_types",
1419
+ expected: "(Array<string> | undefined)",
1420
+ value: input3.child_types
1421
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1422
+ path: _path2 + ".hashtmldetail",
1423
+ expected: "(boolean | undefined)",
1424
+ value: input3.hashtmldetail
1425
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1426
+ path: _path2 + ".included_types",
1427
+ expected: "(Array<string> | undefined)",
1428
+ value: input3.included_types
1429
+ })) && input3.included_types.map((elem, _index19) => "string" === typeof elem || $report(_exceptionable2, {
1430
+ path: _path2 + ".included_types[" + _index19 + "]",
1431
+ expected: "string",
1432
+ value: elem
1433
+ })).every((flag) => flag) || $report(_exceptionable2, {
1434
+ path: _path2 + ".included_types",
1435
+ expected: "(Array<string> | undefined)",
1436
+ value: input3.included_types
1437
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1438
+ path: _path2 + ".isleaf",
1439
+ expected: "(boolean | undefined)",
1440
+ value: input3.isleaf
1441
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1442
+ path: _path2 + ".values",
1443
+ expected: "(TermValues | undefined)",
1444
+ value: input3.values
1445
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1446
+ path: _path2 + ".values",
1447
+ expected: "(TermValues | undefined)",
1448
+ value: input3.values
1449
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1450
+ path: _path2 + ".groupsetting",
1451
+ expected: "EnabledTermGroupSetting",
1452
+ value: input3.groupsetting
1453
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1454
+ path: _path2 + ".groupsetting",
1455
+ expected: "EnabledTermGroupSetting",
1456
+ value: input3.groupsetting
1457
+ }), "gene" === input3.kind || $report(_exceptionable2, {
1458
+ path: _path2 + ".kind",
1459
+ expected: '"gene"',
1460
+ value: input3.kind
1461
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1462
+ path: _path2 + ".gene",
1463
+ expected: "string",
1464
+ value: input3.gene
1465
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1466
+ path: _path2 + ".chr",
1467
+ expected: "(string | undefined)",
1468
+ value: input3.chr
1469
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1470
+ path: _path2 + ".start",
1471
+ expected: "(number | undefined)",
1472
+ value: input3.start
1473
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1474
+ path: _path2 + ".stop",
1475
+ expected: "(number | undefined)",
1476
+ value: input3.stop
1477
+ })].every((flag) => flag);
1478
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1479
+ path: _path2 + ".id",
1480
+ expected: "string",
1481
+ value: input3.id
1482
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1483
+ path: _path2 + ".name",
1484
+ expected: "string",
1485
+ value: input3.name
1486
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1487
+ path: _path2 + ".type",
1488
+ expected: '"geneVariant"',
1489
+ value: input3.type
1490
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1491
+ path: _path2 + ".child_types",
1492
+ expected: "(Array<string> | undefined)",
1493
+ value: input3.child_types
1494
+ })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1495
+ path: _path2 + ".child_types[" + _index20 + "]",
1496
+ expected: "string",
1497
+ value: elem
1498
+ })).every((flag) => flag) || $report(_exceptionable2, {
1499
+ path: _path2 + ".child_types",
1500
+ expected: "(Array<string> | undefined)",
1501
+ value: input3.child_types
1502
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1503
+ path: _path2 + ".hashtmldetail",
1504
+ expected: "(boolean | undefined)",
1505
+ value: input3.hashtmldetail
1506
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1507
+ path: _path2 + ".included_types",
1508
+ expected: "(Array<string> | undefined)",
1509
+ value: input3.included_types
1510
+ })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1511
+ path: _path2 + ".included_types[" + _index21 + "]",
1512
+ expected: "string",
1513
+ value: elem
1514
+ })).every((flag) => flag) || $report(_exceptionable2, {
1515
+ path: _path2 + ".included_types",
1516
+ expected: "(Array<string> | undefined)",
1517
+ value: input3.included_types
1518
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1519
+ path: _path2 + ".isleaf",
1520
+ expected: "(boolean | undefined)",
1521
+ value: input3.isleaf
1522
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1523
+ path: _path2 + ".values",
1524
+ expected: "(TermValues | undefined)",
1525
+ value: input3.values
1526
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1527
+ path: _path2 + ".values",
1528
+ expected: "(TermValues | undefined)",
1529
+ value: input3.values
1530
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1531
+ path: _path2 + ".groupsetting",
1532
+ expected: "EnabledTermGroupSetting",
1533
+ value: input3.groupsetting
1534
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1535
+ path: _path2 + ".groupsetting",
1536
+ expected: "EnabledTermGroupSetting",
1537
+ value: input3.groupsetting
1538
+ }), "coord" === input3.kind || $report(_exceptionable2, {
1539
+ path: _path2 + ".kind",
1540
+ expected: '"coord"',
1541
+ value: input3.kind
1542
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1543
+ path: _path2 + ".chr",
1544
+ expected: "string",
1545
+ value: input3.chr
1546
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1547
+ path: _path2 + ".start",
1548
+ expected: "number",
1549
+ value: input3.start
1550
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1551
+ path: _path2 + ".stop",
1552
+ expected: "number",
1553
+ value: input3.stop
1554
+ })].every((flag) => flag);
1555
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1556
+ path: _path2 + ".dt",
1557
+ expected: "1",
1558
+ value: input3.dt
1559
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1560
+ path: _path2 + ".mclassLst",
1561
+ expected: "Array<SNVIndelClasses>",
1562
+ value: input3.mclassLst
1563
+ })) && input3.mclassLst.map((elem, _index22) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
1564
+ path: _path2 + ".mclassLst[" + _index22 + "]",
1565
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1566
+ value: elem
1567
+ })).every((flag) => flag) || $report(_exceptionable2, {
1568
+ path: _path2 + ".mclassLst",
1569
+ expected: "Array<SNVIndelClasses>",
1570
+ value: input3.mclassLst
1571
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1572
+ path: _path2 + ".mclassExcludeLst",
1573
+ expected: "Array<SNVIndelClasses>",
1574
+ value: input3.mclassExcludeLst
1575
+ })) && input3.mclassExcludeLst.map((elem, _index23) => "M" === elem || "E" === elem || "F" === elem || "N" === elem || "S" === elem || "D" === elem || "I" === elem || "P" === elem || "L" === elem || "Intron" === elem || "Blank" === elem || "WT" === elem || "ITD" === elem || "DEL" === elem || "NLOSS" === elem || "CLOSS" === elem || "Utr3" === elem || "Utr5" === elem || "X" === elem || "noncoding" === elem || $report(_exceptionable2, {
1576
+ path: _path2 + ".mclassExcludeLst[" + _index23 + "]",
1577
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1578
+ value: elem
1579
+ })).every((flag) => flag) || $report(_exceptionable2, {
1580
+ path: _path2 + ".mclassExcludeLst",
1581
+ expected: "Array<SNVIndelClasses>",
1582
+ value: input3.mclassExcludeLst
1583
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1584
+ path: _path2 + ".origin",
1585
+ expected: '("germline" | "somatic" | undefined)',
1586
+ value: input3.origin
1587
+ })].every((flag) => flag);
1588
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1589
+ path: _path2 + ".dt",
1590
+ expected: "4",
1591
+ value: input3.dt
1592
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1593
+ path: _path2 + ".mclassLst",
1594
+ expected: "Array<CNVClasses>",
1595
+ value: input3.mclassLst
1596
+ })) && input3.mclassLst.map((elem, _index24) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1597
+ path: _path2 + ".mclassLst[" + _index24 + "]",
1598
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1599
+ value: elem
1600
+ })).every((flag) => flag) || $report(_exceptionable2, {
1601
+ path: _path2 + ".mclassLst",
1602
+ expected: "Array<CNVClasses>",
1603
+ value: input3.mclassLst
1604
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1605
+ path: _path2 + ".mclassExcludeLst",
1606
+ expected: "Array<CNVClasses>",
1607
+ value: input3.mclassExcludeLst
1608
+ })) && input3.mclassExcludeLst.map((elem, _index25) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1609
+ path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
1610
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1611
+ value: elem
1612
+ })).every((flag) => flag) || $report(_exceptionable2, {
1613
+ path: _path2 + ".mclassExcludeLst",
1614
+ expected: "Array<CNVClasses>",
1615
+ value: input3.mclassExcludeLst
1616
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1617
+ path: _path2 + ".origin",
1618
+ expected: '("germline" | "somatic" | undefined)',
1619
+ value: input3.origin
1620
+ })].every((flag) => flag);
1621
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1622
+ path: _path2 + ".dt",
1623
+ expected: "5",
1624
+ value: input3.dt
1625
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1626
+ path: _path2 + ".mclassLst",
1627
+ expected: "Array<SVClasses>",
1628
+ value: input3.mclassLst
1629
+ })) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1630
+ path: _path2 + ".mclassLst[" + _index26 + "]",
1631
+ expected: '("Blank" | "SV" | "WT")',
1632
+ value: elem
1633
+ })).every((flag) => flag) || $report(_exceptionable2, {
1634
+ path: _path2 + ".mclassLst",
1635
+ expected: "Array<SVClasses>",
1636
+ value: input3.mclassLst
1637
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1638
+ path: _path2 + ".mclassExcludeLst",
1639
+ expected: "Array<SVClasses>",
1640
+ value: input3.mclassExcludeLst
1641
+ })) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1642
+ path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
1643
+ expected: '("Blank" | "SV" | "WT")',
1644
+ value: elem
1645
+ })).every((flag) => flag) || $report(_exceptionable2, {
1646
+ path: _path2 + ".mclassExcludeLst",
1647
+ expected: "Array<SVClasses>",
1648
+ value: input3.mclassExcludeLst
1649
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1650
+ path: _path2 + ".origin",
1651
+ expected: '("germline" | "somatic" | undefined)',
1652
+ value: input3.origin
1653
+ })].every((flag) => flag);
1654
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1655
+ path: _path2 + ".dt",
1656
+ expected: "2",
1657
+ value: input3.dt
1658
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1659
+ path: _path2 + ".mclassLst",
1660
+ expected: "Array<FusionRNAClasses>",
1661
+ value: input3.mclassLst
1662
+ })) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1663
+ path: _path2 + ".mclassLst[" + _index28 + "]",
1664
+ expected: '("Blank" | "Fuserna" | "WT")',
1665
+ value: elem
1666
+ })).every((flag) => flag) || $report(_exceptionable2, {
1667
+ path: _path2 + ".mclassLst",
1668
+ expected: "Array<FusionRNAClasses>",
1669
+ value: input3.mclassLst
1670
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1671
+ path: _path2 + ".mclassExcludeLst",
1672
+ expected: "Array<FusionRNAClasses>",
1673
+ value: input3.mclassExcludeLst
1674
+ })) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1675
+ path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
1676
+ expected: '("Blank" | "Fuserna" | "WT")',
1677
+ value: elem
1678
+ })).every((flag) => flag) || $report(_exceptionable2, {
1679
+ path: _path2 + ".mclassExcludeLst",
1680
+ expected: "Array<FusionRNAClasses>",
1681
+ value: input3.mclassExcludeLst
1682
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1683
+ path: _path2 + ".origin",
1684
+ expected: '("germline" | "somatic" | undefined)',
1685
+ value: input3.origin
1686
+ })].every((flag) => flag);
1687
+ const $vo38 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
1688
+ path: _path2 + ".id",
1689
+ expected: "(string | undefined)",
1690
+ value: input3.id
1691
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
1692
+ path: _path2 + ".$id",
1693
+ expected: "(string | undefined)",
1694
+ value: input3.$id
1695
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1696
+ path: _path2 + ".isAtomic",
1697
+ expected: "(true | undefined)",
1698
+ value: input3.isAtomic
1699
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
1700
+ path: _path2 + ".settings",
1701
+ expected: "(__type | undefined)",
1702
+ value: input3.settings
1703
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
1704
+ path: _path2 + ".settings",
1705
+ expected: "(__type | undefined)",
1706
+ value: input3.settings
1707
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
1708
+ path: _path2 + ".minNumSamples",
1709
+ expected: "(number | undefined)",
1710
+ value: input3.minNumSamples
1711
+ }), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1712
+ path: _path2 + ".term",
1713
+ expected: "NumericTerm",
1714
+ value: input3.term
1715
+ })) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1716
+ path: _path2 + ".term",
1717
+ expected: "NumericTerm",
1718
+ value: input3.term
1719
+ }), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
1720
+ path: _path2 + ".q",
1721
+ expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
1722
+ value: input3.q
1723
+ })) && $vu11(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
1724
+ path: _path2 + ".q",
1725
+ expected: "(BinaryNumericQ | ContinuousNumericQ | CustomNumericBinConfig | RegularNumericBinConfig | SplineNumericQ)",
1726
+ value: input3.q
1727
+ })].every((flag) => flag);
1728
+ const $vo39 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1729
+ path: _path2 + ".hiddenValues",
1730
+ expected: "(HiddenValues | undefined)",
1731
+ value: input3.hiddenValues
1732
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1733
+ path: _path2 + ".hiddenValues",
1734
+ expected: "(HiddenValues | undefined)",
1735
+ value: input3.hiddenValues
1736
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1737
+ path: _path2 + ".isAtomic",
1738
+ expected: "(true | undefined)",
1739
+ value: input3.isAtomic
1740
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1741
+ path: _path2 + ".name",
1742
+ expected: "(string | undefined)",
1743
+ value: input3.name
1744
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1745
+ path: _path2 + ".reuseId",
1746
+ expected: "(string | undefined)",
1747
+ value: input3.reuseId
1748
+ }), "binary" === input3.mode || $report(_exceptionable2, {
1749
+ path: _path2 + ".mode",
1750
+ expected: '"binary"',
1751
+ value: input3.mode
1752
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
1753
+ path: _path2 + ".type",
1754
+ expected: '"custom-bin"',
1755
+ value: input3.type
1756
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
1757
+ path: _path2 + ".lst",
1758
+ expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
1759
+ value: input3.lst
1760
+ })) && ((input3.lst.length === 2 || $report(_exceptionable2, {
1761
+ path: _path2 + ".lst",
1762
+ expected: "[(FullyBoundedBin | StartUnboundedBin), (FullyBoundedBin | StopUnboundedBin)]",
1763
+ value: input3.lst
1764
+ })) && [
1765
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
1766
+ path: _path2 + ".lst[0]",
1767
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1768
+ value: input3.lst[0]
1769
+ })) && $vu4(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1770
+ path: _path2 + ".lst[0]",
1771
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
1772
+ value: input3.lst[0]
1773
+ }),
1774
+ ("object" === typeof input3.lst[1] && null !== input3.lst[1] || $report(_exceptionable2, {
1775
+ path: _path2 + ".lst[1]",
1776
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1777
+ value: input3.lst[1]
1778
+ })) && $vu5(input3.lst[1], _path2 + ".lst[1]", _exceptionable2) || $report(_exceptionable2, {
1779
+ path: _path2 + ".lst[1]",
1780
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1781
+ value: input3.lst[1]
1782
+ })
1783
+ ].every((flag) => flag)) || $report(_exceptionable2, {
1784
+ path: _path2 + ".lst",
1785
+ expected: "[StartUnboundedBin | FullyBoundedBin, FullyBoundedBin | StopUnboundedBin]",
1786
+ value: input3.lst
1787
+ })].every((flag) => flag);
1788
+ const $vo40 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1789
+ path: _path2 + ".hiddenValues",
1790
+ expected: "(HiddenValues | undefined)",
1791
+ value: input3.hiddenValues
1792
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1793
+ path: _path2 + ".hiddenValues",
1794
+ expected: "(HiddenValues | undefined)",
1795
+ value: input3.hiddenValues
1796
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1797
+ path: _path2 + ".isAtomic",
1798
+ expected: "(true | undefined)",
1799
+ value: input3.isAtomic
1800
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1801
+ path: _path2 + ".name",
1802
+ expected: "(string | undefined)",
1803
+ value: input3.name
1804
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1805
+ path: _path2 + ".reuseId",
1806
+ expected: "(string | undefined)",
1807
+ value: input3.reuseId
1808
+ }), "continuous" === input3.mode || $report(_exceptionable2, {
1809
+ path: _path2 + ".mode",
1810
+ expected: '"continuous"',
1811
+ value: input3.mode
1812
+ }), void 0 === input3.convert2ZScore || "boolean" === typeof input3.convert2ZScore || $report(_exceptionable2, {
1813
+ path: _path2 + ".convert2ZScore",
1814
+ expected: "(boolean | undefined)",
1815
+ value: input3.convert2ZScore
1816
+ }), (null !== input3.type || $report(_exceptionable2, {
1817
+ path: _path2 + ".type",
1818
+ expected: "undefined",
1819
+ value: input3.type
1820
+ })) && (void 0 === input3.type || $report(_exceptionable2, {
1821
+ path: _path2 + ".type",
1822
+ expected: "undefined",
1823
+ value: input3.type
1824
+ }))].every((flag) => flag);
1825
+ const $vo41 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1826
+ path: _path2 + ".hiddenValues",
1827
+ expected: "(HiddenValues | undefined)",
1828
+ value: input3.hiddenValues
1829
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1830
+ path: _path2 + ".hiddenValues",
1831
+ expected: "(HiddenValues | undefined)",
1832
+ value: input3.hiddenValues
1833
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1834
+ path: _path2 + ".isAtomic",
1835
+ expected: "(true | undefined)",
1836
+ value: input3.isAtomic
1837
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1838
+ path: _path2 + ".name",
1839
+ expected: "(string | undefined)",
1840
+ value: input3.name
1841
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1842
+ path: _path2 + ".reuseId",
1843
+ expected: "(string | undefined)",
1844
+ value: input3.reuseId
1845
+ }), "spline" === input3.mode || $report(_exceptionable2, {
1846
+ path: _path2 + ".mode",
1847
+ expected: '"spline"',
1848
+ value: input3.mode
1849
+ }), (Array.isArray(input3.knots) || $report(_exceptionable2, {
1850
+ path: _path2 + ".knots",
1851
+ expected: "Array<__type>.o2",
1852
+ value: input3.knots
1853
+ })) && input3.knots.map((elem, _index30) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1854
+ path: _path2 + ".knots[" + _index30 + "]",
1855
+ expected: "__type.o4",
1856
+ value: elem
1857
+ })) && $vo42(elem, _path2 + ".knots[" + _index30 + "]", _exceptionable2) || $report(_exceptionable2, {
1858
+ path: _path2 + ".knots[" + _index30 + "]",
1859
+ expected: "__type.o4",
1860
+ value: elem
1861
+ })).every((flag) => flag) || $report(_exceptionable2, {
1862
+ path: _path2 + ".knots",
1863
+ expected: "Array<__type>.o2",
1864
+ value: input3.knots
1865
+ }), (null !== input3.type || $report(_exceptionable2, {
1866
+ path: _path2 + ".type",
1867
+ expected: "undefined",
1868
+ value: input3.type
1869
+ })) && (void 0 === input3.type || $report(_exceptionable2, {
1870
+ path: _path2 + ".type",
1871
+ expected: "undefined",
1872
+ value: input3.type
1873
+ }))].every((flag) => flag);
1874
+ const $vo42 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.value || $report(_exceptionable2, {
1875
+ path: _path2 + ".value",
1876
+ expected: "number",
1877
+ value: input3.value
1878
+ })].every((flag) => flag);
1879
+ const $vo43 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
1880
+ path: _path2 + ".id",
1881
+ expected: "(string | undefined)",
1882
+ value: input3.id
1883
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
1884
+ path: _path2 + ".$id",
1885
+ expected: "(string | undefined)",
1886
+ value: input3.$id
1887
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1888
+ path: _path2 + ".isAtomic",
1889
+ expected: "(true | undefined)",
1890
+ value: input3.isAtomic
1891
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
1892
+ path: _path2 + ".settings",
1893
+ expected: "(__type | undefined)",
1894
+ value: input3.settings
1895
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
1896
+ path: _path2 + ".settings",
1897
+ expected: "(__type | undefined)",
1898
+ value: input3.settings
1899
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
1900
+ path: _path2 + ".minNumSamples",
1901
+ expected: "(number | undefined)",
1902
+ value: input3.minNumSamples
1903
+ }), true, ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
1904
+ path: _path2 + ".q",
1905
+ expected: "SnpsQ",
1906
+ value: input3.q
1907
+ })) && $vo44(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
1908
+ path: _path2 + ".q",
1909
+ expected: "SnpsQ",
1910
+ value: input3.q
1911
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1912
+ path: _path2 + ".term",
1913
+ expected: "SnpsTerm",
1914
+ value: input3.term
1915
+ })) && $vo46(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1916
+ path: _path2 + ".term",
1917
+ expected: "SnpsTerm",
1918
+ value: input3.term
1919
+ })].every((flag) => flag);
1920
+ const $vo44 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1921
+ path: _path2 + ".hiddenValues",
1922
+ expected: "(HiddenValues | undefined)",
1923
+ value: input3.hiddenValues
1924
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1925
+ path: _path2 + ".hiddenValues",
1926
+ expected: "(HiddenValues | undefined)",
1927
+ value: input3.hiddenValues
1928
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
1929
+ path: _path2 + ".isAtomic",
1930
+ expected: "(boolean | undefined)",
1931
+ value: input3.isAtomic
1932
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1933
+ path: _path2 + ".name",
1934
+ expected: "(string | undefined)",
1935
+ value: input3.name
1936
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
1937
+ path: _path2 + ".mode",
1938
+ expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
1939
+ value: input3.mode
1940
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1941
+ path: _path2 + ".reuseId",
1942
+ expected: "(string | undefined)",
1943
+ value: input3.reuseId
1944
+ }), void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type || $report(_exceptionable2, {
1945
+ path: _path2 + ".type",
1946
+ expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
1947
+ value: input3.type
1948
+ }), "number" === typeof input3.AFcutoff || $report(_exceptionable2, {
1949
+ path: _path2 + ".AFcutoff",
1950
+ expected: "number",
1951
+ value: input3.AFcutoff
1952
+ }), "number" === typeof input3.alleleType || $report(_exceptionable2, {
1953
+ path: _path2 + ".alleleType",
1954
+ expected: "number",
1955
+ value: input3.alleleType
1956
+ }), "string" === typeof input3.cacheid || $report(_exceptionable2, {
1957
+ path: _path2 + ".cacheid",
1958
+ expected: "string",
1959
+ value: input3.cacheid
1960
+ }), true, "number" === typeof input3.geneticModel || $report(_exceptionable2, {
1961
+ path: _path2 + ".geneticModel",
1962
+ expected: "number",
1963
+ value: input3.geneticModel
1964
+ }), true, void 0 === input3.missingGenotype || "number" === typeof input3.missingGenotype || $report(_exceptionable2, {
1965
+ path: _path2 + ".missingGenotype",
1966
+ expected: "(number | undefined)",
1967
+ value: input3.missingGenotype
1968
+ }), "number" === typeof input3.numOfSampleWithAnyValidGT || $report(_exceptionable2, {
1969
+ path: _path2 + ".numOfSampleWithAnyValidGT",
1970
+ expected: "number",
1971
+ value: input3.numOfSampleWithAnyValidGT
1972
+ }), ("object" === typeof input3.restrictAncestry && null !== input3.restrictAncestry || $report(_exceptionable2, {
1973
+ path: _path2 + ".restrictAncestry",
1974
+ expected: "RestrictAncestry",
1975
+ value: input3.restrictAncestry
1976
+ })) && $vo45(input3.restrictAncestry, _path2 + ".restrictAncestry", _exceptionable2) || $report(_exceptionable2, {
1977
+ path: _path2 + ".restrictAncestry",
1978
+ expected: "RestrictAncestry",
1979
+ value: input3.restrictAncestry
1980
+ }), true, true, ("object" === typeof input3.variant_filter && null !== input3.variant_filter || $report(_exceptionable2, {
1981
+ path: _path2 + ".variant_filter",
1982
+ expected: "Filter",
1983
+ value: input3.variant_filter
1984
+ })) && $vo11(input3.variant_filter, _path2 + ".variant_filter", _exceptionable2) || $report(_exceptionable2, {
1985
+ path: _path2 + ".variant_filter",
1986
+ expected: "Filter",
1987
+ value: input3.variant_filter
1988
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1989
+ path: _path2 + ".chr",
1990
+ expected: "string",
1991
+ value: input3.chr
1992
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1993
+ path: _path2 + ".start",
1994
+ expected: "number",
1995
+ value: input3.start
1996
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1997
+ path: _path2 + ".stop",
1998
+ expected: "number",
1999
+ value: input3.stop
2000
+ })].every((flag) => flag);
2001
+ const $vo45 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
2002
+ path: _path2 + ".name",
2003
+ expected: "string",
2004
+ value: input3.name
2005
+ }), ("object" === typeof input3.tvs && null !== input3.tvs || $report(_exceptionable2, {
2006
+ path: _path2 + ".tvs",
2007
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
2008
+ value: input3.tvs
2009
+ })) && $vu12(input3.tvs, _path2 + ".tvs", _exceptionable2) || $report(_exceptionable2, {
2010
+ path: _path2 + ".tvs",
2011
+ expected: "(CategoricalTvs | ConditionTvs | GeneVariantTvs | NumericTvs)",
2012
+ value: input3.tvs
2013
+ })].every((flag) => flag);
2014
+ const $vo46 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2015
+ path: _path2 + ".id",
2016
+ expected: "string",
2017
+ value: input3.id
2018
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2019
+ path: _path2 + ".name",
2020
+ expected: "string",
2021
+ value: input3.name
2022
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
2023
+ path: _path2 + ".type",
2024
+ expected: "string",
2025
+ value: input3.type
2026
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2027
+ path: _path2 + ".child_types",
2028
+ expected: "(Array<string> | undefined)",
2029
+ value: input3.child_types
2030
+ })) && input3.child_types.map((elem, _index31) => "string" === typeof elem || $report(_exceptionable2, {
2031
+ path: _path2 + ".child_types[" + _index31 + "]",
2032
+ expected: "string",
2033
+ value: elem
2034
+ })).every((flag) => flag) || $report(_exceptionable2, {
2035
+ path: _path2 + ".child_types",
2036
+ expected: "(Array<string> | undefined)",
2037
+ value: input3.child_types
2038
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2039
+ path: _path2 + ".hashtmldetail",
2040
+ expected: "(boolean | undefined)",
2041
+ value: input3.hashtmldetail
2042
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2043
+ path: _path2 + ".included_types",
2044
+ expected: "(Array<string> | undefined)",
2045
+ value: input3.included_types
2046
+ })) && input3.included_types.map((elem, _index32) => "string" === typeof elem || $report(_exceptionable2, {
2047
+ path: _path2 + ".included_types[" + _index32 + "]",
2048
+ expected: "string",
2049
+ value: elem
2050
+ })).every((flag) => flag) || $report(_exceptionable2, {
2051
+ path: _path2 + ".included_types",
2052
+ expected: "(Array<string> | undefined)",
2053
+ value: input3.included_types
2054
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2055
+ path: _path2 + ".isleaf",
2056
+ expected: "(boolean | undefined)",
2057
+ value: input3.isleaf
2058
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2059
+ path: _path2 + ".values",
2060
+ expected: "(TermValues | undefined)",
2061
+ value: input3.values
2062
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2063
+ path: _path2 + ".values",
2064
+ expected: "(TermValues | undefined)",
2065
+ value: input3.values
2066
+ }), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
2067
+ path: _path2 + ".reachedVariantLimit",
2068
+ expected: "(boolean | undefined)",
2069
+ value: input3.reachedVariantLimit
2070
+ }), void 0 === input3.snps || (Array.isArray(input3.snps) || $report(_exceptionable2, {
2071
+ path: _path2 + ".snps",
2072
+ expected: "(Array<SnpsEntry> | undefined)",
2073
+ value: input3.snps
2074
+ })) && input3.snps.map((elem, _index33) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2075
+ path: _path2 + ".snps[" + _index33 + "]",
2076
+ expected: "SnpsEntry",
2077
+ value: elem
2078
+ })) && $vo47(elem, _path2 + ".snps[" + _index33 + "]", _exceptionable2) || $report(_exceptionable2, {
2079
+ path: _path2 + ".snps[" + _index33 + "]",
2080
+ expected: "SnpsEntry",
2081
+ value: elem
2082
+ })).every((flag) => flag) || $report(_exceptionable2, {
2083
+ path: _path2 + ".snps",
2084
+ expected: "(Array<SnpsEntry> | undefined)",
2085
+ value: input3.snps
2086
+ })].every((flag) => flag);
2087
+ const $vo47 = (input3, _path2, _exceptionable2 = true) => [true, void 0 === input3.altAlleles || (Array.isArray(input3.altAlleles) || $report(_exceptionable2, {
2088
+ path: _path2 + ".altAlleles",
2089
+ expected: "(Array<string> | undefined)",
2090
+ value: input3.altAlleles
2091
+ })) && input3.altAlleles.map((elem, _index34) => "string" === typeof elem || $report(_exceptionable2, {
2092
+ path: _path2 + ".altAlleles[" + _index34 + "]",
2093
+ expected: "string",
2094
+ value: elem
2095
+ })).every((flag) => flag) || $report(_exceptionable2, {
2096
+ path: _path2 + ".altAlleles",
2097
+ expected: "(Array<string> | undefined)",
2098
+ value: input3.altAlleles
2099
+ }), void 0 === input3.alleles || (Array.isArray(input3.alleles) || $report(_exceptionable2, {
2100
+ path: _path2 + ".alleles",
2101
+ expected: "(Array<AllelesEntry> | undefined)",
2102
+ value: input3.alleles
2103
+ })) && input3.alleles.map((elem, _index35) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2104
+ path: _path2 + ".alleles[" + _index35 + "]",
2105
+ expected: "AllelesEntry",
2106
+ value: elem
2107
+ })) && $vo48(elem, _path2 + ".alleles[" + _index35 + "]", _exceptionable2) || $report(_exceptionable2, {
2108
+ path: _path2 + ".alleles[" + _index35 + "]",
2109
+ expected: "AllelesEntry",
2110
+ value: elem
2111
+ })).every((flag) => flag) || $report(_exceptionable2, {
2112
+ path: _path2 + ".alleles",
2113
+ expected: "(Array<AllelesEntry> | undefined)",
2114
+ value: input3.alleles
2115
+ }), "boolean" === typeof input3.effectAllele || $report(_exceptionable2, {
2116
+ path: _path2 + ".effectAllele",
2117
+ expected: "boolean",
2118
+ value: input3.effectAllele
2119
+ }), void 0 === input3.gt2count || ("object" === typeof input3.gt2count && null !== input3.gt2count || $report(_exceptionable2, {
2120
+ path: _path2 + ".gt2count",
2121
+ expected: "(__type.o5 | undefined)",
2122
+ value: input3.gt2count
2123
+ })) && $vo49(input3.gt2count, _path2 + ".gt2count", _exceptionable2) || $report(_exceptionable2, {
2124
+ path: _path2 + ".gt2count",
2125
+ expected: "(__type.o5 | undefined)",
2126
+ value: input3.gt2count
2127
+ }), void 0 === input3.invalid || "boolean" === typeof input3.invalid || $report(_exceptionable2, {
2128
+ path: _path2 + ".invalid",
2129
+ expected: "(boolean | undefined)",
2130
+ value: input3.invalid
2131
+ }), void 0 === input3.referenceAllele || "string" === typeof input3.referenceAllele || $report(_exceptionable2, {
2132
+ path: _path2 + ".referenceAllele",
2133
+ expected: "(string | undefined)",
2134
+ value: input3.referenceAllele
2135
+ }), "string" === typeof input3.rsid || $report(_exceptionable2, {
2136
+ path: _path2 + ".rsid",
2137
+ expected: "string",
2138
+ value: input3.rsid
2139
+ }), "string" === typeof input3.snpid || $report(_exceptionable2, {
2140
+ path: _path2 + ".snpid",
2141
+ expected: "string",
2142
+ value: input3.snpid
2143
+ }), true, void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2144
+ path: _path2 + ".chr",
2145
+ expected: "(string | undefined)",
2146
+ value: input3.chr
2147
+ }), void 0 === input3.pos || "number" === typeof input3.pos || $report(_exceptionable2, {
2148
+ path: _path2 + ".pos",
2149
+ expected: "(number | undefined)",
2150
+ value: input3.pos
2151
+ })].every((flag) => flag);
2152
+ const $vo48 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.allele || $report(_exceptionable2, {
2153
+ path: _path2 + ".allele",
2154
+ expected: "string",
2155
+ value: input3.allele
2156
+ }), "number" === typeof input3.count || $report(_exceptionable2, {
2157
+ path: _path2 + ".count",
2158
+ expected: "number",
2159
+ value: input3.count
2160
+ }), "boolean" === typeof input3.isRef || $report(_exceptionable2, {
2161
+ path: _path2 + ".isRef",
2162
+ expected: "boolean",
2163
+ value: input3.isRef
2164
+ })].every((flag) => flag);
2165
+ const $vo49 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.k || $report(_exceptionable2, {
2166
+ path: _path2 + ".k",
2167
+ expected: "string",
2168
+ value: input3.k
2169
+ }), "string" === typeof input3.v || "number" === typeof input3.v || $report(_exceptionable2, {
2170
+ path: _path2 + ".v",
2171
+ expected: "(number | string)",
2172
+ value: input3.v
2173
+ })].every((flag) => flag);
2174
+ const $vo50 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
2175
+ path: _path2 + ".id",
2176
+ expected: "(string | undefined)",
2177
+ value: input3.id
2178
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
2179
+ path: _path2 + ".$id",
2180
+ expected: "(string | undefined)",
2181
+ value: input3.$id
2182
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2183
+ path: _path2 + ".isAtomic",
2184
+ expected: "(true | undefined)",
2185
+ value: input3.isAtomic
2186
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
2187
+ path: _path2 + ".settings",
2188
+ expected: "(__type | undefined)",
2189
+ value: input3.settings
2190
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
2191
+ path: _path2 + ".settings",
2192
+ expected: "(__type | undefined)",
2193
+ value: input3.settings
2194
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
2195
+ path: _path2 + ".minNumSamples",
2196
+ expected: "(number | undefined)",
2197
+ value: input3.minNumSamples
2198
+ }), true, ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
2199
+ path: _path2 + ".term",
2200
+ expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
2201
+ value: input3.term
2202
+ })) && $vu13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
2203
+ path: _path2 + ".term",
2204
+ expected: '(BaseTerm & { id: string; reachedVariantLimit?: boolean | undefined; snps?: SnpsEntry[] | undefined; } | BaseTerm & { id?: string | undefined; type: "integer" | "float" | "geneExpression" | "metaboliteIntensity"; bins: PresetNumericBins; values?: TermValues | undefined; unit?: string | undefined; } | BaseTerm & { type: "categorical"; values: TermValues; groupsetting: TermGroupSetting; } | BaseTerm & { type: "condition"; values: TermValues; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "coord"; chr: string; start: number; stop: number; } | BaseTerm & { type: "geneVariant"; groupsetting: EnabledTermGroupSetting; } & { kind: "gene"; gene: string; chr?: string | undefined; start?: number | undefined; stop?: number | undefined; } | BaseTerm & { values: SampleLstTermValues; })',
2205
+ value: input3.term
2206
+ }), ("object" === typeof input3.q && null !== input3.q && false === Array.isArray(input3.q) || $report(_exceptionable2, {
2207
+ path: _path2 + ".q",
2208
+ expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
2209
+ value: input3.q
2210
+ })) && $vu14(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
2211
+ path: _path2 + ".q",
2212
+ expected: "(BaseQ | BinaryNumericQ | ConditionQ | ContinuousNumericQ | CustomGroupSettingQ | CustomNumericBinConfig | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; } | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; }.o1 | MinBaseQ & { cnvGainCutoff?: number | undefined; cnvMaxLength?: number | undefined; cnvMinAbsValue?: number | undefined; cnvLossCutoff?: number | undefined; exclude: string[]; dt?: number | undefined; origin?: string | undefined; } & { ...; } & { ...; }.o2 | PredefinedGroupSettingQ | RegularNumericBinConfig | SampleLstQ | SnpsQ | SplineNumericQ | ValuesQ)",
2213
+ value: input3.q
2214
+ })].every((flag) => flag);
2215
+ const $vo51 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2216
+ path: _path2 + ".id",
2217
+ expected: "string",
2218
+ value: input3.id
2219
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2220
+ path: _path2 + ".name",
2221
+ expected: "string",
2222
+ value: input3.name
2223
+ }), "categorical" === input3.type || $report(_exceptionable2, {
2224
+ path: _path2 + ".type",
2225
+ expected: '"categorical"',
2226
+ value: input3.type
2227
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2228
+ path: _path2 + ".child_types",
2229
+ expected: "(Array<string> | undefined)",
2230
+ value: input3.child_types
2231
+ })) && input3.child_types.map((elem, _index36) => "string" === typeof elem || $report(_exceptionable2, {
2232
+ path: _path2 + ".child_types[" + _index36 + "]",
2233
+ expected: "string",
2234
+ value: elem
2235
+ })).every((flag) => flag) || $report(_exceptionable2, {
2236
+ path: _path2 + ".child_types",
2237
+ expected: "(Array<string> | undefined)",
2238
+ value: input3.child_types
2239
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2240
+ path: _path2 + ".hashtmldetail",
2241
+ expected: "(boolean | undefined)",
2242
+ value: input3.hashtmldetail
2243
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2244
+ path: _path2 + ".included_types",
2245
+ expected: "(Array<string> | undefined)",
2246
+ value: input3.included_types
2247
+ })) && input3.included_types.map((elem, _index37) => "string" === typeof elem || $report(_exceptionable2, {
2248
+ path: _path2 + ".included_types[" + _index37 + "]",
2249
+ expected: "string",
2250
+ value: elem
2251
+ })).every((flag) => flag) || $report(_exceptionable2, {
2252
+ path: _path2 + ".included_types",
2253
+ expected: "(Array<string> | undefined)",
2254
+ value: input3.included_types
2255
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2256
+ path: _path2 + ".isleaf",
2257
+ expected: "(boolean | undefined)",
2258
+ value: input3.isleaf
2259
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2260
+ path: _path2 + ".values",
2261
+ expected: "(TermValues | undefined)",
2262
+ value: input3.values
2263
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2264
+ path: _path2 + ".values",
2265
+ expected: "(TermValues | undefined)",
2266
+ value: input3.values
2267
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2268
+ path: _path2 + ".groupsetting",
2269
+ expected: "(EnabledTermGroupSetting | __type.o2)",
2270
+ value: input3.groupsetting
2271
+ })) && $vu8(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2272
+ path: _path2 + ".groupsetting",
2273
+ expected: "(EnabledTermGroupSetting | __type.o2)",
2274
+ value: input3.groupsetting
2275
+ })].every((flag) => flag);
2276
+ const $vo52 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2277
+ path: _path2 + ".id",
2278
+ expected: "string",
2279
+ value: input3.id
2280
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2281
+ path: _path2 + ".name",
2282
+ expected: "string",
2283
+ value: input3.name
2284
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
2285
+ path: _path2 + ".type",
2286
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
2287
+ value: input3.type
2288
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2289
+ path: _path2 + ".child_types",
2290
+ expected: "(Array<string> | undefined)",
2291
+ value: input3.child_types
2292
+ })) && input3.child_types.map((elem, _index38) => "string" === typeof elem || $report(_exceptionable2, {
2293
+ path: _path2 + ".child_types[" + _index38 + "]",
2294
+ expected: "string",
2295
+ value: elem
2296
+ })).every((flag) => flag) || $report(_exceptionable2, {
2297
+ path: _path2 + ".child_types",
2298
+ expected: "(Array<string> | undefined)",
2299
+ value: input3.child_types
2300
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2301
+ path: _path2 + ".hashtmldetail",
2302
+ expected: "(boolean | undefined)",
2303
+ value: input3.hashtmldetail
2304
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2305
+ path: _path2 + ".included_types",
2306
+ expected: "(Array<string> | undefined)",
2307
+ value: input3.included_types
2308
+ })) && input3.included_types.map((elem, _index39) => "string" === typeof elem || $report(_exceptionable2, {
2309
+ path: _path2 + ".included_types[" + _index39 + "]",
2310
+ expected: "string",
2311
+ value: elem
2312
+ })).every((flag) => flag) || $report(_exceptionable2, {
2313
+ path: _path2 + ".included_types",
2314
+ expected: "(Array<string> | undefined)",
2315
+ value: input3.included_types
2316
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2317
+ path: _path2 + ".isleaf",
2318
+ expected: "(boolean | undefined)",
2319
+ value: input3.isleaf
2320
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2321
+ path: _path2 + ".values",
2322
+ expected: "(TermValues | undefined)",
2323
+ value: input3.values
2324
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2325
+ path: _path2 + ".values",
2326
+ expected: "(TermValues | undefined)",
2327
+ value: input3.values
2328
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
2329
+ path: _path2 + ".bins",
2330
+ expected: "PresetNumericBins",
2331
+ value: input3.bins
2332
+ })) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
2333
+ path: _path2 + ".bins",
2334
+ expected: "PresetNumericBins",
2335
+ value: input3.bins
2336
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
2337
+ path: _path2 + ".unit",
2338
+ expected: "(string | undefined)",
2339
+ value: input3.unit
2340
+ })].every((flag) => flag);
2341
+ const $vo53 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2342
+ path: _path2 + ".id",
2343
+ expected: "string",
2344
+ value: input3.id
2345
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2346
+ path: _path2 + ".name",
2347
+ expected: "string",
2348
+ value: input3.name
2349
+ }), "condition" === input3.type || $report(_exceptionable2, {
2350
+ path: _path2 + ".type",
2351
+ expected: '"condition"',
2352
+ value: input3.type
2353
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2354
+ path: _path2 + ".child_types",
2355
+ expected: "(Array<string> | undefined)",
2356
+ value: input3.child_types
2357
+ })) && input3.child_types.map((elem, _index40) => "string" === typeof elem || $report(_exceptionable2, {
2358
+ path: _path2 + ".child_types[" + _index40 + "]",
2359
+ expected: "string",
2360
+ value: elem
2361
+ })).every((flag) => flag) || $report(_exceptionable2, {
2362
+ path: _path2 + ".child_types",
2363
+ expected: "(Array<string> | undefined)",
2364
+ value: input3.child_types
2365
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2366
+ path: _path2 + ".hashtmldetail",
2367
+ expected: "(boolean | undefined)",
2368
+ value: input3.hashtmldetail
2369
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2370
+ path: _path2 + ".included_types",
2371
+ expected: "(Array<string> | undefined)",
2372
+ value: input3.included_types
2373
+ })) && input3.included_types.map((elem, _index41) => "string" === typeof elem || $report(_exceptionable2, {
2374
+ path: _path2 + ".included_types[" + _index41 + "]",
2375
+ expected: "string",
2376
+ value: elem
2377
+ })).every((flag) => flag) || $report(_exceptionable2, {
2378
+ path: _path2 + ".included_types",
2379
+ expected: "(Array<string> | undefined)",
2380
+ value: input3.included_types
2381
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2382
+ path: _path2 + ".isleaf",
2383
+ expected: "(boolean | undefined)",
2384
+ value: input3.isleaf
2385
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2386
+ path: _path2 + ".values",
2387
+ expected: "(TermValues | undefined)",
2388
+ value: input3.values
2389
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2390
+ path: _path2 + ".values",
2391
+ expected: "(TermValues | undefined)",
2392
+ value: input3.values
2393
+ })].every((flag) => flag);
2394
+ const $vo54 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2395
+ path: _path2 + ".id",
2396
+ expected: "string",
2397
+ value: input3.id
2398
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2399
+ path: _path2 + ".name",
2400
+ expected: "string",
2401
+ value: input3.name
2402
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
2403
+ path: _path2 + ".type",
2404
+ expected: '"geneVariant"',
2405
+ value: input3.type
2406
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2407
+ path: _path2 + ".child_types",
2408
+ expected: "(Array<string> | undefined)",
2409
+ value: input3.child_types
2410
+ })) && input3.child_types.map((elem, _index42) => "string" === typeof elem || $report(_exceptionable2, {
2411
+ path: _path2 + ".child_types[" + _index42 + "]",
2412
+ expected: "string",
2413
+ value: elem
2414
+ })).every((flag) => flag) || $report(_exceptionable2, {
2415
+ path: _path2 + ".child_types",
2416
+ expected: "(Array<string> | undefined)",
2417
+ value: input3.child_types
2418
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2419
+ path: _path2 + ".hashtmldetail",
2420
+ expected: "(boolean | undefined)",
2421
+ value: input3.hashtmldetail
2422
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2423
+ path: _path2 + ".included_types",
2424
+ expected: "(Array<string> | undefined)",
2425
+ value: input3.included_types
2426
+ })) && input3.included_types.map((elem, _index43) => "string" === typeof elem || $report(_exceptionable2, {
2427
+ path: _path2 + ".included_types[" + _index43 + "]",
2428
+ expected: "string",
2429
+ value: elem
2430
+ })).every((flag) => flag) || $report(_exceptionable2, {
2431
+ path: _path2 + ".included_types",
2432
+ expected: "(Array<string> | undefined)",
2433
+ value: input3.included_types
2434
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2435
+ path: _path2 + ".isleaf",
2436
+ expected: "(boolean | undefined)",
2437
+ value: input3.isleaf
2438
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2439
+ path: _path2 + ".values",
2440
+ expected: "(TermValues | undefined)",
2441
+ value: input3.values
2442
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2443
+ path: _path2 + ".values",
2444
+ expected: "(TermValues | undefined)",
2445
+ value: input3.values
2446
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2447
+ path: _path2 + ".groupsetting",
2448
+ expected: "EnabledTermGroupSetting",
2449
+ value: input3.groupsetting
2450
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2451
+ path: _path2 + ".groupsetting",
2452
+ expected: "EnabledTermGroupSetting",
2453
+ value: input3.groupsetting
2454
+ }), "gene" === input3.kind || $report(_exceptionable2, {
2455
+ path: _path2 + ".kind",
2456
+ expected: '"gene"',
2457
+ value: input3.kind
2458
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
2459
+ path: _path2 + ".gene",
2460
+ expected: "string",
2461
+ value: input3.gene
2462
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
2463
+ path: _path2 + ".chr",
2464
+ expected: "(string | undefined)",
2465
+ value: input3.chr
2466
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
2467
+ path: _path2 + ".start",
2468
+ expected: "(number | undefined)",
2469
+ value: input3.start
2470
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
2471
+ path: _path2 + ".stop",
2472
+ expected: "(number | undefined)",
2473
+ value: input3.stop
2474
+ })].every((flag) => flag);
2475
+ const $vo55 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2476
+ path: _path2 + ".id",
2477
+ expected: "string",
2478
+ value: input3.id
2479
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2480
+ path: _path2 + ".name",
2481
+ expected: "string",
2482
+ value: input3.name
2483
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
2484
+ path: _path2 + ".type",
2485
+ expected: '"geneVariant"',
2486
+ value: input3.type
2487
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2488
+ path: _path2 + ".child_types",
2489
+ expected: "(Array<string> | undefined)",
2490
+ value: input3.child_types
2491
+ })) && input3.child_types.map((elem, _index44) => "string" === typeof elem || $report(_exceptionable2, {
2492
+ path: _path2 + ".child_types[" + _index44 + "]",
2493
+ expected: "string",
2494
+ value: elem
2495
+ })).every((flag) => flag) || $report(_exceptionable2, {
2496
+ path: _path2 + ".child_types",
2497
+ expected: "(Array<string> | undefined)",
2498
+ value: input3.child_types
2499
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2500
+ path: _path2 + ".hashtmldetail",
2501
+ expected: "(boolean | undefined)",
2502
+ value: input3.hashtmldetail
2503
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2504
+ path: _path2 + ".included_types",
2505
+ expected: "(Array<string> | undefined)",
2506
+ value: input3.included_types
2507
+ })) && input3.included_types.map((elem, _index45) => "string" === typeof elem || $report(_exceptionable2, {
2508
+ path: _path2 + ".included_types[" + _index45 + "]",
2509
+ expected: "string",
2510
+ value: elem
2511
+ })).every((flag) => flag) || $report(_exceptionable2, {
2512
+ path: _path2 + ".included_types",
2513
+ expected: "(Array<string> | undefined)",
2514
+ value: input3.included_types
2515
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2516
+ path: _path2 + ".isleaf",
2517
+ expected: "(boolean | undefined)",
2518
+ value: input3.isleaf
2519
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2520
+ path: _path2 + ".values",
2521
+ expected: "(TermValues | undefined)",
2522
+ value: input3.values
2523
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2524
+ path: _path2 + ".values",
2525
+ expected: "(TermValues | undefined)",
2526
+ value: input3.values
2527
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
2528
+ path: _path2 + ".groupsetting",
2529
+ expected: "EnabledTermGroupSetting",
2530
+ value: input3.groupsetting
2531
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
2532
+ path: _path2 + ".groupsetting",
2533
+ expected: "EnabledTermGroupSetting",
2534
+ value: input3.groupsetting
2535
+ }), "coord" === input3.kind || $report(_exceptionable2, {
2536
+ path: _path2 + ".kind",
2537
+ expected: '"coord"',
2538
+ value: input3.kind
2539
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
2540
+ path: _path2 + ".chr",
2541
+ expected: "string",
2542
+ value: input3.chr
2543
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
2544
+ path: _path2 + ".start",
2545
+ expected: "number",
2546
+ value: input3.start
2547
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
2548
+ path: _path2 + ".stop",
2549
+ expected: "number",
2550
+ value: input3.stop
2551
+ })].every((flag) => flag);
2552
+ const $vo56 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2553
+ path: _path2 + ".id",
2554
+ expected: "string",
2555
+ value: input3.id
2556
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2557
+ path: _path2 + ".name",
2558
+ expected: "string",
2559
+ value: input3.name
2560
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
2561
+ path: _path2 + ".type",
2562
+ expected: "string",
2563
+ value: input3.type
2564
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2565
+ path: _path2 + ".child_types",
2566
+ expected: "(Array<string> | undefined)",
2567
+ value: input3.child_types
2568
+ })) && input3.child_types.map((elem, _index46) => "string" === typeof elem || $report(_exceptionable2, {
2569
+ path: _path2 + ".child_types[" + _index46 + "]",
2570
+ expected: "string",
2571
+ value: elem
2572
+ })).every((flag) => flag) || $report(_exceptionable2, {
2573
+ path: _path2 + ".child_types",
2574
+ expected: "(Array<string> | undefined)",
2575
+ value: input3.child_types
2576
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2577
+ path: _path2 + ".hashtmldetail",
2578
+ expected: "(boolean | undefined)",
2579
+ value: input3.hashtmldetail
2580
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2581
+ path: _path2 + ".included_types",
2582
+ expected: "(Array<string> | undefined)",
2583
+ value: input3.included_types
2584
+ })) && input3.included_types.map((elem, _index47) => "string" === typeof elem || $report(_exceptionable2, {
2585
+ path: _path2 + ".included_types[" + _index47 + "]",
2586
+ expected: "string",
2587
+ value: elem
2588
+ })).every((flag) => flag) || $report(_exceptionable2, {
2589
+ path: _path2 + ".included_types",
2590
+ expected: "(Array<string> | undefined)",
2591
+ value: input3.included_types
2592
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2593
+ path: _path2 + ".isleaf",
2594
+ expected: "(boolean | undefined)",
2595
+ value: input3.isleaf
2596
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2597
+ path: _path2 + ".values",
2598
+ expected: "(TermValues | undefined)",
2599
+ value: input3.values
2600
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2601
+ path: _path2 + ".values",
2602
+ expected: "(TermValues | undefined)",
2603
+ value: input3.values
2604
+ }), void 0 === input3.reachedVariantLimit || "boolean" === typeof input3.reachedVariantLimit || $report(_exceptionable2, {
2605
+ path: _path2 + ".reachedVariantLimit",
2606
+ expected: "(boolean | undefined)",
2607
+ value: input3.reachedVariantLimit
2608
+ }), void 0 === input3.snps || (Array.isArray(input3.snps) || $report(_exceptionable2, {
2609
+ path: _path2 + ".snps",
2610
+ expected: "(Array<SnpsEntry> | undefined)",
2611
+ value: input3.snps
2612
+ })) && input3.snps.map((elem, _index48) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2613
+ path: _path2 + ".snps[" + _index48 + "]",
2614
+ expected: "SnpsEntry",
2615
+ value: elem
2616
+ })) && $vo47(elem, _path2 + ".snps[" + _index48 + "]", _exceptionable2) || $report(_exceptionable2, {
2617
+ path: _path2 + ".snps[" + _index48 + "]",
2618
+ expected: "SnpsEntry",
2619
+ value: elem
2620
+ })).every((flag) => flag) || $report(_exceptionable2, {
2621
+ path: _path2 + ".snps",
2622
+ expected: "(Array<SnpsEntry> | undefined)",
2623
+ value: input3.snps
2624
+ })].every((flag) => flag);
2625
+ const $vo57 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
2626
+ path: _path2 + ".id",
2627
+ expected: "string",
2628
+ value: input3.id
2629
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2630
+ path: _path2 + ".name",
2631
+ expected: "string",
2632
+ value: input3.name
2633
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
2634
+ path: _path2 + ".type",
2635
+ expected: "string",
2636
+ value: input3.type
2637
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
2638
+ path: _path2 + ".child_types",
2639
+ expected: "(Array<string> | undefined)",
2640
+ value: input3.child_types
2641
+ })) && input3.child_types.map((elem, _index49) => "string" === typeof elem || $report(_exceptionable2, {
2642
+ path: _path2 + ".child_types[" + _index49 + "]",
2643
+ expected: "string",
2644
+ value: elem
2645
+ })).every((flag) => flag) || $report(_exceptionable2, {
2646
+ path: _path2 + ".child_types",
2647
+ expected: "(Array<string> | undefined)",
2648
+ value: input3.child_types
2649
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
2650
+ path: _path2 + ".hashtmldetail",
2651
+ expected: "(boolean | undefined)",
2652
+ value: input3.hashtmldetail
2653
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
2654
+ path: _path2 + ".included_types",
2655
+ expected: "(Array<string> | undefined)",
2656
+ value: input3.included_types
2657
+ })) && input3.included_types.map((elem, _index50) => "string" === typeof elem || $report(_exceptionable2, {
2658
+ path: _path2 + ".included_types[" + _index50 + "]",
2659
+ expected: "string",
2660
+ value: elem
2661
+ })).every((flag) => flag) || $report(_exceptionable2, {
2662
+ path: _path2 + ".included_types",
2663
+ expected: "(Array<string> | undefined)",
2664
+ value: input3.included_types
2665
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
2666
+ path: _path2 + ".isleaf",
2667
+ expected: "(boolean | undefined)",
2668
+ value: input3.isleaf
2669
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
2670
+ path: _path2 + ".values",
2671
+ expected: "(TermValues & SampleLstTermValues | undefined)",
2672
+ value: input3.values
2673
+ })) && $vo58(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
2674
+ path: _path2 + ".values",
2675
+ expected: "(TermValues & SampleLstTermValues | undefined)",
2676
+ value: input3.values
2677
+ })].every((flag) => flag);
2678
+ const $vo58 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
2679
+ const value = input3[key];
2680
+ if (void 0 === value)
2681
+ return true;
2682
+ if (RegExp(/(.*)/).test(key))
2683
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
2684
+ path: _path2 + $join(key),
2685
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2686
+ value
2687
+ })) && $vo59(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2688
+ path: _path2 + $join(key),
2689
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2690
+ value
2691
+ });
2692
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
2693
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
2694
+ path: _path2 + $join(key),
2695
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2696
+ value
2697
+ })) && $vo59(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
2698
+ path: _path2 + $join(key),
2699
+ expected: "BaseValue & { name: string; inuse: boolean; list: { sampleId: string; sample: string; }[]; values: any; }",
2700
+ value
2701
+ });
2702
+ return true;
2703
+ }).every((flag) => flag)].every((flag) => flag);
2704
+ const $vo59 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
2705
+ path: _path2 + ".key",
2706
+ expected: "(string | undefined)",
2707
+ value: input3.key
2708
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
2709
+ path: _path2 + ".uncomputable",
2710
+ expected: "(boolean | undefined)",
2711
+ value: input3.uncomputable
2712
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
2713
+ path: _path2 + ".label",
2714
+ expected: "(number | string | undefined)",
2715
+ value: input3.label
2716
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
2717
+ path: _path2 + ".order",
2718
+ expected: "(string | undefined)",
2719
+ value: input3.order
2720
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
2721
+ path: _path2 + ".color",
2722
+ expected: "(string | undefined)",
2723
+ value: input3.color
2724
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
2725
+ path: _path2 + ".group",
2726
+ expected: "(number | undefined)",
2727
+ value: input3.group
2728
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
2729
+ path: _path2 + ".filter",
2730
+ expected: "(Filter | undefined)",
2731
+ value: input3.filter
2732
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
2733
+ path: _path2 + ".filter",
2734
+ expected: "(Filter | undefined)",
2735
+ value: input3.filter
2736
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
2737
+ path: _path2 + ".name",
2738
+ expected: "string",
2739
+ value: input3.name
2740
+ }), "boolean" === typeof input3.inuse || $report(_exceptionable2, {
2741
+ path: _path2 + ".inuse",
2742
+ expected: "boolean",
2743
+ value: input3.inuse
2744
+ }), (Array.isArray(input3.list) || $report(_exceptionable2, {
2745
+ path: _path2 + ".list",
2746
+ expected: "Array<__type>.o3",
2747
+ value: input3.list
2748
+ })) && input3.list.map((elem, _index51) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
2749
+ path: _path2 + ".list[" + _index51 + "]",
2750
+ expected: "__type.o6",
2751
+ value: elem
2752
+ })) && $vo60(elem, _path2 + ".list[" + _index51 + "]", _exceptionable2) || $report(_exceptionable2, {
2753
+ path: _path2 + ".list[" + _index51 + "]",
2754
+ expected: "__type.o6",
2755
+ value: elem
2756
+ })).every((flag) => flag) || $report(_exceptionable2, {
2757
+ path: _path2 + ".list",
2758
+ expected: "Array<__type>.o3",
2759
+ value: input3.list
2760
+ }), true].every((flag) => flag);
2761
+ const $vo60 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.sampleId || $report(_exceptionable2, {
2762
+ path: _path2 + ".sampleId",
2763
+ expected: "string",
2764
+ value: input3.sampleId
2765
+ }), "string" === typeof input3.sample || $report(_exceptionable2, {
2766
+ path: _path2 + ".sample",
2767
+ expected: "string",
2768
+ value: input3.sample
2769
+ })].every((flag) => flag);
2770
+ const $vo61 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2771
+ path: _path2 + ".hiddenValues",
2772
+ expected: "(HiddenValues | undefined)",
2773
+ value: input3.hiddenValues
2774
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2775
+ path: _path2 + ".hiddenValues",
2776
+ expected: "(HiddenValues | undefined)",
2777
+ value: input3.hiddenValues
2778
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
2779
+ path: _path2 + ".isAtomic",
2780
+ expected: "(boolean | undefined)",
2781
+ value: input3.isAtomic
2782
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2783
+ path: _path2 + ".name",
2784
+ expected: "(string | undefined)",
2785
+ value: input3.name
2786
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
2787
+ path: _path2 + ".mode",
2788
+ expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
2789
+ value: input3.mode
2790
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2791
+ path: _path2 + ".reuseId",
2792
+ expected: "(string | undefined)",
2793
+ value: input3.reuseId
2794
+ }), void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type || $report(_exceptionable2, {
2795
+ path: _path2 + ".type",
2796
+ expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
2797
+ value: input3.type
2798
+ })].every((flag) => flag);
2799
+ const $vo62 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2800
+ path: _path2 + ".hiddenValues",
2801
+ expected: "(HiddenValues | undefined)",
2802
+ value: input3.hiddenValues
2803
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2804
+ path: _path2 + ".hiddenValues",
2805
+ expected: "(HiddenValues | undefined)",
2806
+ value: input3.hiddenValues
2807
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
2808
+ path: _path2 + ".isAtomic",
2809
+ expected: "(boolean | undefined)",
2810
+ value: input3.isAtomic
2811
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2812
+ path: _path2 + ".name",
2813
+ expected: "(string | undefined)",
2814
+ value: input3.name
2815
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
2816
+ path: _path2 + ".mode",
2817
+ expected: '("binary" | "cox" | "cuminc" | "discrete" | undefined)',
2818
+ value: input3.mode
2819
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2820
+ path: _path2 + ".reuseId",
2821
+ expected: "(string | undefined)",
2822
+ value: input3.reuseId
2823
+ }), void 0 === input3.type || "values" === input3.type || $report(_exceptionable2, {
2824
+ path: _path2 + ".type",
2825
+ expected: '("values" | undefined)',
2826
+ value: input3.type
2827
+ }), void 0 === input3.bar_by_children || "boolean" === typeof input3.bar_by_children || $report(_exceptionable2, {
2828
+ path: _path2 + ".bar_by_children",
2829
+ expected: "(boolean | undefined)",
2830
+ value: input3.bar_by_children
2831
+ }), void 0 === input3.bar_by_grade || "boolean" === typeof input3.bar_by_grade || $report(_exceptionable2, {
2832
+ path: _path2 + ".bar_by_grade",
2833
+ expected: "(boolean | undefined)",
2834
+ value: input3.bar_by_grade
2835
+ }), void 0 === input3.breaks || (Array.isArray(input3.breaks) || $report(_exceptionable2, {
2836
+ path: _path2 + ".breaks",
2837
+ expected: "(Array<number> | undefined)",
2838
+ value: input3.breaks
2839
+ })) && input3.breaks.map((elem, _index52) => "number" === typeof elem || $report(_exceptionable2, {
2840
+ path: _path2 + ".breaks[" + _index52 + "]",
2841
+ expected: "number",
2842
+ value: elem
2843
+ })).every((flag) => flag) || $report(_exceptionable2, {
2844
+ path: _path2 + ".breaks",
2845
+ expected: "(Array<number> | undefined)",
2846
+ value: input3.breaks
2847
+ }), "age" === input3.timeScale || "time" === input3.timeScale || $report(_exceptionable2, {
2848
+ path: _path2 + ".timeScale",
2849
+ expected: '("age" | "time")',
2850
+ value: input3.timeScale
2851
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
2852
+ path: _path2 + ".value_by_max_grade",
2853
+ expected: "(boolean | undefined)",
2854
+ value: input3.value_by_max_grade
2855
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
2856
+ path: _path2 + ".value_by_most_recent",
2857
+ expected: "(boolean | undefined)",
2858
+ value: input3.value_by_most_recent
2859
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
2860
+ path: _path2 + ".value_by_computable_grade",
2861
+ expected: "(boolean | undefined)",
2862
+ value: input3.value_by_computable_grade
2863
+ }), true].every((flag) => flag);
2864
+ const $vo63 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2865
+ path: _path2 + ".hiddenValues",
2866
+ expected: "(HiddenValues | undefined)",
2867
+ value: input3.hiddenValues
2868
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2869
+ path: _path2 + ".hiddenValues",
2870
+ expected: "(HiddenValues | undefined)",
2871
+ value: input3.hiddenValues
2872
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2873
+ path: _path2 + ".isAtomic",
2874
+ expected: "(true | undefined)",
2875
+ value: input3.isAtomic
2876
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2877
+ path: _path2 + ".name",
2878
+ expected: "(string | undefined)",
2879
+ value: input3.name
2880
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2881
+ path: _path2 + ".reuseId",
2882
+ expected: "(string | undefined)",
2883
+ value: input3.reuseId
2884
+ }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
2885
+ path: _path2 + ".cnvGainCutoff",
2886
+ expected: "(number | undefined)",
2887
+ value: input3.cnvGainCutoff
2888
+ }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
2889
+ path: _path2 + ".cnvMaxLength",
2890
+ expected: "(number | undefined)",
2891
+ value: input3.cnvMaxLength
2892
+ }), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
2893
+ path: _path2 + ".cnvMinAbsValue",
2894
+ expected: "(number | undefined)",
2895
+ value: input3.cnvMinAbsValue
2896
+ }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
2897
+ path: _path2 + ".cnvLossCutoff",
2898
+ expected: "(number | undefined)",
2899
+ value: input3.cnvLossCutoff
2900
+ }), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
2901
+ path: _path2 + ".exclude",
2902
+ expected: "Array<string>",
2903
+ value: input3.exclude
2904
+ })) && input3.exclude.map((elem, _index53) => "string" === typeof elem || $report(_exceptionable2, {
2905
+ path: _path2 + ".exclude[" + _index53 + "]",
2906
+ expected: "string",
2907
+ value: elem
2908
+ })).every((flag) => flag) || $report(_exceptionable2, {
2909
+ path: _path2 + ".exclude",
2910
+ expected: "Array<string>",
2911
+ value: input3.exclude
2912
+ }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
2913
+ path: _path2 + ".dt",
2914
+ expected: "(number | undefined)",
2915
+ value: input3.dt
2916
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2917
+ path: _path2 + ".origin",
2918
+ expected: "(string | undefined)",
2919
+ value: input3.origin
2920
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
2921
+ path: _path2 + ".mode",
2922
+ expected: '("binary" | "discrete" | undefined)',
2923
+ value: input3.mode
2924
+ }), "values" === input3.type || $report(_exceptionable2, {
2925
+ path: _path2 + ".type",
2926
+ expected: '"values"',
2927
+ value: input3.type
2928
+ })].every((flag) => flag);
2929
+ const $vo64 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2930
+ path: _path2 + ".hiddenValues",
2931
+ expected: "(HiddenValues | undefined)",
2932
+ value: input3.hiddenValues
2933
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
2934
+ path: _path2 + ".hiddenValues",
2935
+ expected: "(HiddenValues | undefined)",
2936
+ value: input3.hiddenValues
2937
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
2938
+ path: _path2 + ".isAtomic",
2939
+ expected: "(true | undefined)",
2940
+ value: input3.isAtomic
2941
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
2942
+ path: _path2 + ".name",
2943
+ expected: "(string | undefined)",
2944
+ value: input3.name
2945
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
2946
+ path: _path2 + ".reuseId",
2947
+ expected: "(string | undefined)",
2948
+ value: input3.reuseId
2949
+ }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
2950
+ path: _path2 + ".cnvGainCutoff",
2951
+ expected: "(number | undefined)",
2952
+ value: input3.cnvGainCutoff
2953
+ }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
2954
+ path: _path2 + ".cnvMaxLength",
2955
+ expected: "(number | undefined)",
2956
+ value: input3.cnvMaxLength
2957
+ }), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
2958
+ path: _path2 + ".cnvMinAbsValue",
2959
+ expected: "(number | undefined)",
2960
+ value: input3.cnvMinAbsValue
2961
+ }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
2962
+ path: _path2 + ".cnvLossCutoff",
2963
+ expected: "(number | undefined)",
2964
+ value: input3.cnvLossCutoff
2965
+ }), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
2966
+ path: _path2 + ".exclude",
2967
+ expected: "Array<string>",
2968
+ value: input3.exclude
2969
+ })) && input3.exclude.map((elem, _index54) => "string" === typeof elem || $report(_exceptionable2, {
2970
+ path: _path2 + ".exclude[" + _index54 + "]",
2971
+ expected: "string",
2972
+ value: elem
2973
+ })).every((flag) => flag) || $report(_exceptionable2, {
2974
+ path: _path2 + ".exclude",
2975
+ expected: "Array<string>",
2976
+ value: input3.exclude
2977
+ }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
2978
+ path: _path2 + ".dt",
2979
+ expected: "(number | undefined)",
2980
+ value: input3.dt
2981
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
2982
+ path: _path2 + ".origin",
2983
+ expected: "(string | undefined)",
2984
+ value: input3.origin
2985
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
2986
+ path: _path2 + ".mode",
2987
+ expected: '("binary" | "discrete" | undefined)',
2988
+ value: input3.mode
2989
+ }), "predefined-groupset" === input3.type || $report(_exceptionable2, {
2990
+ path: _path2 + ".type",
2991
+ expected: '"predefined-groupset"',
2992
+ value: input3.type
2993
+ }), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
2994
+ path: _path2 + ".predefined_groupset_idx",
2995
+ expected: "number",
2996
+ value: input3.predefined_groupset_idx
2997
+ })].every((flag) => flag);
2998
+ const $vo65 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
2999
+ path: _path2 + ".hiddenValues",
3000
+ expected: "(HiddenValues | undefined)",
3001
+ value: input3.hiddenValues
3002
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3003
+ path: _path2 + ".hiddenValues",
3004
+ expected: "(HiddenValues | undefined)",
3005
+ value: input3.hiddenValues
3006
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
3007
+ path: _path2 + ".isAtomic",
3008
+ expected: "(true | undefined)",
3009
+ value: input3.isAtomic
3010
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3011
+ path: _path2 + ".name",
3012
+ expected: "(string | undefined)",
3013
+ value: input3.name
3014
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3015
+ path: _path2 + ".reuseId",
3016
+ expected: "(string | undefined)",
3017
+ value: input3.reuseId
3018
+ }), void 0 === input3.cnvGainCutoff || "number" === typeof input3.cnvGainCutoff || $report(_exceptionable2, {
3019
+ path: _path2 + ".cnvGainCutoff",
3020
+ expected: "(number | undefined)",
3021
+ value: input3.cnvGainCutoff
3022
+ }), void 0 === input3.cnvMaxLength || "number" === typeof input3.cnvMaxLength || $report(_exceptionable2, {
3023
+ path: _path2 + ".cnvMaxLength",
3024
+ expected: "(number | undefined)",
3025
+ value: input3.cnvMaxLength
3026
+ }), void 0 === input3.cnvMinAbsValue || "number" === typeof input3.cnvMinAbsValue || $report(_exceptionable2, {
3027
+ path: _path2 + ".cnvMinAbsValue",
3028
+ expected: "(number | undefined)",
3029
+ value: input3.cnvMinAbsValue
3030
+ }), void 0 === input3.cnvLossCutoff || "number" === typeof input3.cnvLossCutoff || $report(_exceptionable2, {
3031
+ path: _path2 + ".cnvLossCutoff",
3032
+ expected: "(number | undefined)",
3033
+ value: input3.cnvLossCutoff
3034
+ }), (Array.isArray(input3.exclude) || $report(_exceptionable2, {
3035
+ path: _path2 + ".exclude",
3036
+ expected: "Array<string>",
3037
+ value: input3.exclude
3038
+ })) && input3.exclude.map((elem, _index55) => "string" === typeof elem || $report(_exceptionable2, {
3039
+ path: _path2 + ".exclude[" + _index55 + "]",
3040
+ expected: "string",
3041
+ value: elem
3042
+ })).every((flag) => flag) || $report(_exceptionable2, {
3043
+ path: _path2 + ".exclude",
3044
+ expected: "Array<string>",
3045
+ value: input3.exclude
3046
+ }), void 0 === input3.dt || "number" === typeof input3.dt || $report(_exceptionable2, {
3047
+ path: _path2 + ".dt",
3048
+ expected: "(number | undefined)",
3049
+ value: input3.dt
3050
+ }), void 0 === input3.origin || "string" === typeof input3.origin || $report(_exceptionable2, {
3051
+ path: _path2 + ".origin",
3052
+ expected: "(string | undefined)",
3053
+ value: input3.origin
3054
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
3055
+ path: _path2 + ".mode",
3056
+ expected: '("binary" | "discrete" | undefined)',
3057
+ value: input3.mode
3058
+ }), "custom-groupset" === input3.type || $report(_exceptionable2, {
3059
+ path: _path2 + ".type",
3060
+ expected: '"custom-groupset"',
3061
+ value: input3.type
3062
+ }), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
3063
+ path: _path2 + ".customset",
3064
+ expected: "BaseGroupSet",
3065
+ value: input3.customset
3066
+ })) && $vo7(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
3067
+ path: _path2 + ".customset",
3068
+ expected: "BaseGroupSet",
3069
+ value: input3.customset
3070
+ })].every((flag) => flag);
3071
+ const $vo66 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
3072
+ path: _path2 + ".hiddenValues",
3073
+ expected: "(HiddenValues | undefined)",
3074
+ value: input3.hiddenValues
3075
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
3076
+ path: _path2 + ".hiddenValues",
3077
+ expected: "(HiddenValues | undefined)",
3078
+ value: input3.hiddenValues
3079
+ }), void 0 === input3.isAtomic || "boolean" === typeof input3.isAtomic || $report(_exceptionable2, {
3080
+ path: _path2 + ".isAtomic",
3081
+ expected: "(boolean | undefined)",
3082
+ value: input3.isAtomic
3083
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
3084
+ path: _path2 + ".name",
3085
+ expected: "(string | undefined)",
3086
+ value: input3.name
3087
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || "continuous" === input3.mode || "spline" === input3.mode || "cuminc" === input3.mode || "cox" === input3.mode || $report(_exceptionable2, {
3088
+ path: _path2 + ".mode",
3089
+ expected: '("binary" | "continuous" | "cox" | "cuminc" | "discrete" | "spline" | undefined)',
3090
+ value: input3.mode
3091
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
3092
+ path: _path2 + ".reuseId",
3093
+ expected: "(string | undefined)",
3094
+ value: input3.reuseId
3095
+ }), void 0 === input3.type || "values" === input3.type || "predefined-groupset" === input3.type || "custom-groupset" === input3.type || "regular-bin" === input3.type || "custom-bin" === input3.type || "custom-samplelst" === input3.type || $report(_exceptionable2, {
3096
+ path: _path2 + ".type",
3097
+ expected: '("custom-bin" | "custom-groupset" | "custom-samplelst" | "predefined-groupset" | "regular-bin" | "values" | undefined)',
3098
+ value: input3.type
3099
+ }), ("object" === typeof input3.groups && null !== input3.groups && false === Array.isArray(input3.groups) || $report(_exceptionable2, {
3100
+ path: _path2 + ".groups",
3101
+ expected: "SampleLstTermValues",
3102
+ value: input3.groups
3103
+ })) && $vo67(input3.groups, _path2 + ".groups", _exceptionable2) || $report(_exceptionable2, {
3104
+ path: _path2 + ".groups",
3105
+ expected: "SampleLstTermValues",
3106
+ value: input3.groups
3107
+ })].every((flag) => flag);
3108
+ const $vo67 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
3109
+ const value = input3[key];
3110
+ if (void 0 === value)
3111
+ return true;
3112
+ if (RegExp(/(.*)/).test(key))
3113
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
3114
+ path: _path2 + $join(key),
3115
+ expected: "__type.o7",
3116
+ value
3117
+ })) && $vo68(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3118
+ path: _path2 + $join(key),
3119
+ expected: "__type.o7",
3120
+ value
3121
+ });
3122
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
3123
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
3124
+ path: _path2 + $join(key),
3125
+ expected: "__type.o7",
3126
+ value
3127
+ })) && $vo68(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
3128
+ path: _path2 + $join(key),
3129
+ expected: "__type.o7",
3130
+ value
3131
+ });
3132
+ return true;
3133
+ }).every((flag) => flag)].every((flag) => flag);
3134
+ const $vo68 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
3135
+ path: _path2 + ".name",
3136
+ expected: "string",
3137
+ value: input3.name
3138
+ }), "boolean" === typeof input3.inuse || $report(_exceptionable2, {
3139
+ path: _path2 + ".inuse",
3140
+ expected: "boolean",
3141
+ value: input3.inuse
3142
+ }), (Array.isArray(input3.list) || $report(_exceptionable2, {
3143
+ path: _path2 + ".list",
3144
+ expected: "Array<__type>.o3",
3145
+ value: input3.list
3146
+ })) && input3.list.map((elem, _index56) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3147
+ path: _path2 + ".list[" + _index56 + "]",
3148
+ expected: "__type.o6",
3149
+ value: elem
3150
+ })) && $vo60(elem, _path2 + ".list[" + _index56 + "]", _exceptionable2) || $report(_exceptionable2, {
3151
+ path: _path2 + ".list[" + _index56 + "]",
3152
+ expected: "__type.o6",
3153
+ value: elem
3154
+ })).every((flag) => flag) || $report(_exceptionable2, {
3155
+ path: _path2 + ".list",
3156
+ expected: "Array<__type>.o3",
3157
+ value: input3.list
3158
+ }), true].every((flag) => flag);
3159
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
3160
+ if ("string" === typeof input3.type)
3161
+ return $vo8(input3, _path2, _exceptionable2);
3162
+ if ("filter" === input3.type)
3163
+ return $vo10(input3, _path2, _exceptionable2);
3164
+ return $report(_exceptionable2, {
3165
+ path: _path2,
3166
+ expected: "(ValuesGroup | FilterGroup)",
3167
+ value: input3
3168
+ });
3169
+ })();
3170
+ const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
3171
+ if (void 0 !== input3.type)
3172
+ return $vo11(input3, _path2, _exceptionable2);
3173
+ if (void 0 !== input3.ranges)
3174
+ return $vo19(input3, _path2, _exceptionable2);
3175
+ return $vo12(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
3176
+ })();
3177
+ const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
3178
+ if (true === input3.startunbounded)
3179
+ return $vo23(input3, _path2, _exceptionable2);
3180
+ if (true === input3.stopunbounded)
3181
+ return $vo25(input3, _path2, _exceptionable2);
3182
+ return $vo24(input3, _path2, _exceptionable2);
3183
+ })();
3184
+ const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
3185
+ if (2 === input3.dt)
3186
+ return $vo37(input3, _path2, _exceptionable2);
3187
+ if (5 === input3.dt)
3188
+ return $vo36(input3, _path2, _exceptionable2);
3189
+ if (4 === input3.dt)
3190
+ return $vo35(input3, _path2, _exceptionable2);
3191
+ if (1 === input3.dt)
3192
+ return $vo34(input3, _path2, _exceptionable2);
3193
+ return $report(_exceptionable2, {
3194
+ path: _path2,
3195
+ expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
3196
+ value: input3
3197
+ });
3198
+ })();
3199
+ const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
3200
+ if (true === input3.startunbounded)
3201
+ return $vo23(input3, _path2, _exceptionable2);
3202
+ if (void 0 !== input3.start)
3203
+ return $vo24(input3, _path2, _exceptionable2);
3204
+ return $report(_exceptionable2, {
3205
+ path: _path2,
3206
+ expected: "(StartUnboundedBin | FullyBoundedBin)",
3207
+ value: input3
3208
+ });
3209
+ })();
3210
+ const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
3211
+ if (void 0 !== input3.stop)
3212
+ return $vo24(input3, _path2, _exceptionable2);
3213
+ if (true === input3.stopunbounded)
3214
+ return $vo25(input3, _path2, _exceptionable2);
3215
+ return $report(_exceptionable2, {
3216
+ path: _path2,
3217
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
3218
+ value: input3
3219
+ });
3220
+ })();
3221
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
3222
+ if (void 0 !== input3.type)
3223
+ return $vo1(input3, _path2, _exceptionable2);
3224
+ return $vo50(input3, _path2, false) || $vo43(input3, _path2, false) || $vo38(input3, _path2, false);
3225
+ })();
3226
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
3227
+ if ("values" === input3.type)
3228
+ return $vo3(input3, _path2, _exceptionable2);
3229
+ if ("predefined-groupset" === input3.type)
3230
+ return $vo5(input3, _path2, _exceptionable2);
3231
+ if ("custom-groupset" === input3.type)
3232
+ return $vo6(input3, _path2, _exceptionable2);
3233
+ return $report(_exceptionable2, {
3234
+ path: _path2,
3235
+ expected: "(ValuesQ | PredefinedGroupSettingQ | CustomGroupSettingQ)",
3236
+ value: input3
3237
+ });
3238
+ })();
3239
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
3240
+ if (Array.isArray(input3.lst) && input3.lst.map((elem, _index57) => "object" === typeof elem && null !== elem && $vo17(elem, _path2 + ".lst[" + _index57 + "]", false)).every((flag) => flag))
3241
+ return $vo16(input3, _path2, _exceptionable2);
3242
+ return $vo18(input3, _path2, _exceptionable2);
3243
+ })();
3244
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
3245
+ if ("regular-bin" === input3.type)
3246
+ return $vo22(input3, _path2, _exceptionable2);
3247
+ if ("custom-bin" === input3.type)
3248
+ return $vo26(input3, _path2, _exceptionable2);
3249
+ return $report(_exceptionable2, {
3250
+ path: _path2,
3251
+ expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
3252
+ value: input3
3253
+ });
3254
+ })();
3255
+ const $vu10 = (input3, _path2, _exceptionable2 = true) => (() => {
3256
+ if ("gene" === input3.kind)
3257
+ return $vo32(input3, _path2, _exceptionable2);
3258
+ if ("coord" === input3.kind)
3259
+ return $vo33(input3, _path2, _exceptionable2);
3260
+ return $report(_exceptionable2, {
3261
+ path: _path2,
3262
+ expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
3263
+ value: input3
3264
+ });
3265
+ })();
3266
+ const $vu11 = (input3, _path2, _exceptionable2 = true) => (() => {
3267
+ if ("regular-bin" === input3.type)
3268
+ return $vo22(input3, _path2, _exceptionable2);
3269
+ if ("continuous" === input3.mode)
3270
+ return $vo40(input3, _path2, _exceptionable2);
3271
+ if ("spline" === input3.mode)
3272
+ return $vo41(input3, _path2, _exceptionable2);
3273
+ return $vo26(input3, _path2, false) || $vo39(input3, _path2, false);
3274
+ })();
3275
+ const $vu12 = (input3, _path2, _exceptionable2 = true) => (() => {
3276
+ if (void 0 !== input3.ranges)
3277
+ return $vo19(input3, _path2, _exceptionable2);
3278
+ return $vo12(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
3279
+ })();
3280
+ const $vu13 = (input3, _path2, _exceptionable2 = true) => (() => {
3281
+ if ("categorical" === input3.type)
3282
+ return $vo51(input3, _path2, _exceptionable2);
3283
+ if ("integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type)
3284
+ return $vo52(input3, _path2, _exceptionable2);
3285
+ if ("condition" === input3.type)
3286
+ return $vo53(input3, _path2, _exceptionable2);
3287
+ if ("gene" === input3.kind)
3288
+ return $vo54(input3, _path2, _exceptionable2);
3289
+ if ("coord" === input3.kind)
3290
+ return $vo55(input3, _path2, _exceptionable2);
3291
+ return $vo56(input3, _path2, false) || $vo57(input3, _path2, false);
3292
+ })();
3293
+ const $vu14 = (input3, _path2, _exceptionable2 = true) => (() => {
3294
+ if (void 0 !== input3.bin_size)
3295
+ return $vo22(input3, _path2, _exceptionable2);
3296
+ if (void 0 !== input3.knots)
3297
+ return $vo41(input3, _path2, _exceptionable2);
3298
+ if (void 0 !== input3.AFcutoff)
3299
+ return $vo44(input3, _path2, _exceptionable2);
3300
+ if (void 0 !== input3.timeScale)
3301
+ return $vo62(input3, _path2, _exceptionable2);
3302
+ return (() => {
3303
+ if (void 0 !== input3.groups)
3304
+ return $vo66(input3, _path2, _exceptionable2);
3305
+ return $vo3(input3, _path2, false) || $vo5(input3, _path2, false) || $vo6(input3, _path2, false) || $vo26(input3, _path2, false) || $vo39(input3, _path2, false) || $vo40(input3, _path2, false) || $vo61(input3, _path2, false) || $vo63(input3, _path2, false) || $vo64(input3, _path2, false) || $vo65(input3, _path2, false);
3306
+ })();
3307
+ })();
3308
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
3309
+ path: _path + "",
3310
+ expected: "DescrStatsRequest",
3311
+ value: input2
3312
+ })) && $vo0(input2, _path + "", true) || $report(true, {
3313
+ path: _path + "",
3314
+ expected: "DescrStatsRequest",
3315
+ value: input2
3316
+ });
3317
+ })(input, "$input", true);
3318
+ }
3319
+ const success = 0 === errors.length;
3320
+ return {
3321
+ success,
3322
+ errors,
3323
+ data: success ? input : void 0
3324
+ };
3325
+ };
3326
+ var validDescrStatsResponse = (input) => {
3327
+ const errors = [];
3328
+ const __is = (input2) => {
3329
+ const $io0 = (input3) => "number" === typeof input3.status && "string" === typeof input3.error;
3330
+ const $io1 = (input3) => Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $io2(elem));
3331
+ const $io2 = (input3) => "string" === typeof input3.id && "string" === typeof input3.label && "number" === typeof input3.value;
3332
+ const $iu0 = (input3) => (() => {
3333
+ if (void 0 !== input3.status)
3334
+ return $io0(input3);
3335
+ if (void 0 !== input3.values)
3336
+ return $io1(input3);
3337
+ return false;
3338
+ })();
3339
+ return "object" === typeof input2 && null !== input2 && $iu0(input2);
3340
+ };
3341
+ if (false === __is(input)) {
3342
+ const $report = import_typia.createValidate.report(errors);
3343
+ ((input2, _path, _exceptionable = true) => {
3344
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.status || $report(_exceptionable2, {
3345
+ path: _path2 + ".status",
3346
+ expected: "number",
3347
+ value: input3.status
3348
+ }), "string" === typeof input3.error || $report(_exceptionable2, {
3349
+ path: _path2 + ".error",
3350
+ expected: "string",
3351
+ value: input3.error
3352
+ })].every((flag) => flag);
3353
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.values) || $report(_exceptionable2, {
3354
+ path: _path2 + ".values",
3355
+ expected: "Array<entries>",
3356
+ value: input3.values
3357
+ })) && input3.values.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
3358
+ path: _path2 + ".values[" + _index1 + "]",
3359
+ expected: "entries",
3360
+ value: elem
3361
+ })) && $vo2(elem, _path2 + ".values[" + _index1 + "]", _exceptionable2) || $report(_exceptionable2, {
3362
+ path: _path2 + ".values[" + _index1 + "]",
3363
+ expected: "entries",
3364
+ value: elem
3365
+ })).every((flag) => flag) || $report(_exceptionable2, {
3366
+ path: _path2 + ".values",
3367
+ expected: "Array<entries>",
3368
+ value: input3.values
3369
+ })].every((flag) => flag);
3370
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
3371
+ path: _path2 + ".id",
3372
+ expected: "string",
3373
+ value: input3.id
3374
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
3375
+ path: _path2 + ".label",
3376
+ expected: "string",
3377
+ value: input3.label
3378
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
3379
+ path: _path2 + ".value",
3380
+ expected: "number",
3381
+ value: input3.value
3382
+ })].every((flag) => flag);
3383
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
3384
+ if (void 0 !== input3.status)
3385
+ return $vo0(input3, _path2, _exceptionable2);
3386
+ if (void 0 !== input3.values)
3387
+ return $vo1(input3, _path2, _exceptionable2);
3388
+ return $report(_exceptionable2, {
3389
+ path: _path2,
3390
+ expected: "(ErrorResponse | ValidResponse)",
3391
+ value: input3
3392
+ });
3393
+ })();
3394
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
3395
+ path: _path + "",
3396
+ expected: "(ErrorResponse | ValidResponse)",
3397
+ value: input2
3398
+ })) && $vu0(input2, _path + "", true) || $report(true, {
3399
+ path: _path + "",
3400
+ expected: "(ErrorResponse | ValidResponse)",
3401
+ value: input2
3402
+ });
3403
+ })(input, "$input", true);
3404
+ }
3405
+ const success = 0 === errors.length;
3406
+ return {
3407
+ success,
3408
+ errors,
3409
+ data: success ? input : void 0
3410
+ };
3411
+ };
3412
+
3413
+ export {
3414
+ descrStatsPayload,
3415
+ validDescrStatsRequest,
3416
+ validDescrStatsResponse
3417
+ };