@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,1740 @@
1
+ import {
2
+ __toESM,
3
+ require_lib
4
+ } from "./chunk-Z6B6IQIY.js";
5
+
6
+ // dist/brainImaging.ts
7
+ var import_typia = __toESM(require_lib(), 1);
8
+
9
+ // src/routes/brainImaging.ts
10
+ var brainImagingPayload = {
11
+ request: {
12
+ typeId: "BrainImagingRequest"
13
+ },
14
+ response: {
15
+ typeId: "BrainImagingResponse"
16
+ }
17
+ };
18
+
19
+ // dist/brainImaging.ts
20
+ var validBrainImagingRequest = (input) => {
21
+ const errors = [];
22
+ const __is = (input2) => {
23
+ const $join = import_typia.createValidate.join;
24
+ const $io0 = (input3) => "string" === typeof input3.genome && "string" === typeof input3.dslabel && "string" === typeof input3.refKey && (void 0 === input3.l || "string" === typeof input3.l) && (void 0 === input3.f || "string" === typeof input3.f) && (void 0 === input3.t || "string" === typeof input3.t) && (Array.isArray(input3.selectedSampleFileNames) && input3.selectedSampleFileNames.every((elem) => "string" === typeof elem)) && (void 0 === input3.divideByTW || "object" === typeof input3.divideByTW && null !== input3.divideByTW && $io1(input3.divideByTW)) && (void 0 === input3.overlayTW || "object" === typeof input3.overlayTW && null !== input3.overlayTW && $io1(input3.overlayTW)) && (void 0 === input3.legendFilter || Array.isArray(input3.legendFilter) && input3.legendFilter.every((elem) => "string" === typeof elem));
25
+ 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 && $iu4(input3.q)) && ("object" === typeof input3.term && null !== input3.term && $io13(input3.term));
26
+ const $io2 = (input3) => Object.keys(input3).every((key) => {
27
+ const value = input3[key];
28
+ if (void 0 === value)
29
+ return true;
30
+ if (RegExp(/(.*)/).test(key))
31
+ return true;
32
+ return true;
33
+ });
34
+ 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;
35
+ const $io4 = (input3) => Object.keys(input3).every((key) => {
36
+ const value = input3[key];
37
+ if (void 0 === value)
38
+ return true;
39
+ if (RegExp(/(.*)/).test(key))
40
+ return "number" === typeof value;
41
+ return true;
42
+ });
43
+ 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;
44
+ 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));
45
+ const $io7 = (input3) => Array.isArray(input3.groups) && input3.groups.every((elem) => "object" === typeof elem && null !== elem && $iu0(elem));
46
+ 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);
47
+ const $io9 = (input3) => ("string" === typeof input3.key || "number" === typeof input3.key) && "string" === typeof input3.label;
48
+ const $io10 = (input3) => "string" === typeof input3.name && "filter" === input3.type && ("object" === typeof input3.filter && null !== input3.filter && $io11(input3.filter));
49
+ 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)));
50
+ 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)));
51
+ 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 && $iu5(input3.groupsetting));
52
+ const $io14 = (input3) => Object.keys(input3).every((key) => {
53
+ const value = input3[key];
54
+ if (void 0 === value)
55
+ return true;
56
+ if (RegExp(/(.*)/).test(key))
57
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io15(value);
58
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
59
+ return "object" === typeof value && null !== value && false === Array.isArray(value) && $io15(value);
60
+ return true;
61
+ });
62
+ 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));
63
+ 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)));
64
+ 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)));
65
+ const $io18 = (input3) => "boolean" === typeof input3.disabled && (void 0 === input3.lst || Array.isArray(input3.lst) && input3.lst.length === 0);
66
+ 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)));
67
+ 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);
68
+ const $io21 = (input3) => "object" === typeof input3["default"] && null !== input3["default"] && $iu6(input3["default"]) && ("object" === typeof input3.less && null !== input3.less && $iu6(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);
69
+ 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 && $iu7(input3.first_bin)) && (void 0 === input3.last_bin || "object" === typeof input3.last_bin && null !== input3.last_bin && $iu8(input3.last_bin)) && (void 0 === input3.label_offset || "number" === typeof input3.label_offset);
70
+ 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);
71
+ 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);
72
+ 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);
73
+ 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);
74
+ const $io27 = (input3) => "string" === typeof input3.key && "number" === typeof input3.value && true === input3.uncomputable && (void 0 === input3.label || "string" === typeof input3.label);
75
+ 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)));
76
+ 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));
77
+ 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;
78
+ 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 && $iu9(input3.term)) && (Array.isArray(input3.values) && input3.values.every((elem) => "object" === typeof elem && null !== elem && $iu3(elem)));
79
+ 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);
80
+ 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;
81
+ 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);
82
+ 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);
83
+ 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);
84
+ 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);
85
+ const $iu0 = (input3) => (() => {
86
+ if ("string" === typeof input3.type)
87
+ return $io8(input3);
88
+ if ("filter" === input3.type)
89
+ return $io10(input3);
90
+ return false;
91
+ })();
92
+ const $iu1 = (input3) => (() => {
93
+ if (void 0 !== input3.type)
94
+ return $io11(input3);
95
+ if (void 0 !== input3.ranges)
96
+ return $io19(input3);
97
+ return (() => {
98
+ if ($io12(input3))
99
+ return $io12(input3);
100
+ if ($io28(input3))
101
+ return $io28(input3);
102
+ if ($io31(input3))
103
+ return $io31(input3);
104
+ return false;
105
+ })();
106
+ })();
107
+ const $iu2 = (input3) => (() => {
108
+ if (true === input3.startunbounded)
109
+ return $io23(input3);
110
+ if (true === input3.stopunbounded)
111
+ return $io25(input3);
112
+ return $io24(input3);
113
+ })();
114
+ const $iu3 = (input3) => (() => {
115
+ if (2 === input3.dt)
116
+ return $io37(input3);
117
+ if (5 === input3.dt)
118
+ return $io36(input3);
119
+ if (4 === input3.dt)
120
+ return $io35(input3);
121
+ if (1 === input3.dt)
122
+ return $io34(input3);
123
+ return false;
124
+ })();
125
+ const $iu4 = (input3) => (() => {
126
+ if ("values" === input3.type)
127
+ return $io3(input3);
128
+ if ("predefined-groupset" === input3.type)
129
+ return $io5(input3);
130
+ if ("custom-groupset" === input3.type)
131
+ return $io6(input3);
132
+ return false;
133
+ })();
134
+ const $iu5 = (input3) => (() => {
135
+ if (Array.isArray(input3.lst) && input3.lst.every((elem) => "object" === typeof elem && null !== elem && $io17(elem)))
136
+ return $io16(input3);
137
+ return $io18(input3);
138
+ })();
139
+ const $iu6 = (input3) => (() => {
140
+ if ("regular-bin" === input3.type)
141
+ return $io22(input3);
142
+ if ("custom-bin" === input3.type)
143
+ return $io26(input3);
144
+ return false;
145
+ })();
146
+ const $iu7 = (input3) => (() => {
147
+ if (true === input3.startunbounded)
148
+ return $io23(input3);
149
+ if (void 0 !== input3.start)
150
+ return $io24(input3);
151
+ return false;
152
+ })();
153
+ const $iu8 = (input3) => (() => {
154
+ if (void 0 !== input3.stop)
155
+ return $io24(input3);
156
+ if (true === input3.stopunbounded)
157
+ return $io25(input3);
158
+ return false;
159
+ })();
160
+ const $iu9 = (input3) => (() => {
161
+ if ("gene" === input3.kind)
162
+ return $io32(input3);
163
+ if ("coord" === input3.kind)
164
+ return $io33(input3);
165
+ return false;
166
+ })();
167
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
168
+ };
169
+ if (false === __is(input)) {
170
+ const $report = import_typia.createValidate.report(errors);
171
+ ((input2, _path, _exceptionable = true) => {
172
+ const $join = import_typia.createValidate.join;
173
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.genome || $report(_exceptionable2, {
174
+ path: _path2 + ".genome",
175
+ expected: "string",
176
+ value: input3.genome
177
+ }), "string" === typeof input3.dslabel || $report(_exceptionable2, {
178
+ path: _path2 + ".dslabel",
179
+ expected: "string",
180
+ value: input3.dslabel
181
+ }), "string" === typeof input3.refKey || $report(_exceptionable2, {
182
+ path: _path2 + ".refKey",
183
+ expected: "string",
184
+ value: input3.refKey
185
+ }), void 0 === input3.l || "string" === typeof input3.l || $report(_exceptionable2, {
186
+ path: _path2 + ".l",
187
+ expected: "(string | undefined)",
188
+ value: input3.l
189
+ }), void 0 === input3.f || "string" === typeof input3.f || $report(_exceptionable2, {
190
+ path: _path2 + ".f",
191
+ expected: "(string | undefined)",
192
+ value: input3.f
193
+ }), void 0 === input3.t || "string" === typeof input3.t || $report(_exceptionable2, {
194
+ path: _path2 + ".t",
195
+ expected: "(string | undefined)",
196
+ value: input3.t
197
+ }), (Array.isArray(input3.selectedSampleFileNames) || $report(_exceptionable2, {
198
+ path: _path2 + ".selectedSampleFileNames",
199
+ expected: "Array<string>",
200
+ value: input3.selectedSampleFileNames
201
+ })) && input3.selectedSampleFileNames.map((elem, _index1) => "string" === typeof elem || $report(_exceptionable2, {
202
+ path: _path2 + ".selectedSampleFileNames[" + _index1 + "]",
203
+ expected: "string",
204
+ value: elem
205
+ })).every((flag) => flag) || $report(_exceptionable2, {
206
+ path: _path2 + ".selectedSampleFileNames",
207
+ expected: "Array<string>",
208
+ value: input3.selectedSampleFileNames
209
+ }), void 0 === input3.divideByTW || ("object" === typeof input3.divideByTW && null !== input3.divideByTW || $report(_exceptionable2, {
210
+ path: _path2 + ".divideByTW",
211
+ expected: "(CategoricalTW | undefined)",
212
+ value: input3.divideByTW
213
+ })) && $vo1(input3.divideByTW, _path2 + ".divideByTW", _exceptionable2) || $report(_exceptionable2, {
214
+ path: _path2 + ".divideByTW",
215
+ expected: "(CategoricalTW | undefined)",
216
+ value: input3.divideByTW
217
+ }), void 0 === input3.overlayTW || ("object" === typeof input3.overlayTW && null !== input3.overlayTW || $report(_exceptionable2, {
218
+ path: _path2 + ".overlayTW",
219
+ expected: "(CategoricalTW | undefined)",
220
+ value: input3.overlayTW
221
+ })) && $vo1(input3.overlayTW, _path2 + ".overlayTW", _exceptionable2) || $report(_exceptionable2, {
222
+ path: _path2 + ".overlayTW",
223
+ expected: "(CategoricalTW | undefined)",
224
+ value: input3.overlayTW
225
+ }), void 0 === input3.legendFilter || (Array.isArray(input3.legendFilter) || $report(_exceptionable2, {
226
+ path: _path2 + ".legendFilter",
227
+ expected: "(Array<string> | undefined)",
228
+ value: input3.legendFilter
229
+ })) && input3.legendFilter.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable2, {
230
+ path: _path2 + ".legendFilter[" + _index2 + "]",
231
+ expected: "string",
232
+ value: elem
233
+ })).every((flag) => flag) || $report(_exceptionable2, {
234
+ path: _path2 + ".legendFilter",
235
+ expected: "(Array<string> | undefined)",
236
+ value: input3.legendFilter
237
+ })].every((flag) => flag);
238
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.id || "string" === typeof input3.id || $report(_exceptionable2, {
239
+ path: _path2 + ".id",
240
+ expected: "(string | undefined)",
241
+ value: input3.id
242
+ }), void 0 === input3.$id || "string" === typeof input3.$id || $report(_exceptionable2, {
243
+ path: _path2 + ".$id",
244
+ expected: "(string | undefined)",
245
+ value: input3.$id
246
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
247
+ path: _path2 + ".isAtomic",
248
+ expected: "(true | undefined)",
249
+ value: input3.isAtomic
250
+ }), true, void 0 === input3.settings || ("object" === typeof input3.settings && null !== input3.settings && false === Array.isArray(input3.settings) || $report(_exceptionable2, {
251
+ path: _path2 + ".settings",
252
+ expected: "(__type | undefined)",
253
+ value: input3.settings
254
+ })) && $vo2(input3.settings, _path2 + ".settings", _exceptionable2) || $report(_exceptionable2, {
255
+ path: _path2 + ".settings",
256
+ expected: "(__type | undefined)",
257
+ value: input3.settings
258
+ }), true, void 0 === input3.minNumSamples || "number" === typeof input3.minNumSamples || $report(_exceptionable2, {
259
+ path: _path2 + ".minNumSamples",
260
+ expected: "(number | undefined)",
261
+ value: input3.minNumSamples
262
+ }), true, "CatTWValues" === input3.type || "CatTWPredefinedGS" === input3.type || "CatTWCustomGS" === input3.type || $report(_exceptionable2, {
263
+ path: _path2 + ".type",
264
+ expected: '("CatTWCustomGS" | "CatTWPredefinedGS" | "CatTWValues")',
265
+ value: input3.type
266
+ }), ("object" === typeof input3.q && null !== input3.q || $report(_exceptionable2, {
267
+ path: _path2 + ".q",
268
+ expected: "(CustomGroupSettingQ | PredefinedGroupSettingQ | ValuesQ)",
269
+ value: input3.q
270
+ })) && $vu4(input3.q, _path2 + ".q", _exceptionable2) || $report(_exceptionable2, {
271
+ path: _path2 + ".q",
272
+ expected: "(CustomGroupSettingQ | PredefinedGroupSettingQ | ValuesQ)",
273
+ value: input3.q
274
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
275
+ path: _path2 + ".term",
276
+ expected: "CategoricalTerm",
277
+ value: input3.term
278
+ })) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
279
+ path: _path2 + ".term",
280
+ expected: "CategoricalTerm",
281
+ value: input3.term
282
+ })].every((flag) => flag);
283
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
284
+ const value = input3[key];
285
+ if (void 0 === value)
286
+ return true;
287
+ if (RegExp(/(.*)/).test(key))
288
+ return true;
289
+ return true;
290
+ }).every((flag) => flag)].every((flag) => flag);
291
+ const $vo3 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
292
+ path: _path2 + ".hiddenValues",
293
+ expected: "(HiddenValues | undefined)",
294
+ value: input3.hiddenValues
295
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
296
+ path: _path2 + ".hiddenValues",
297
+ expected: "(HiddenValues | undefined)",
298
+ value: input3.hiddenValues
299
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
300
+ path: _path2 + ".isAtomic",
301
+ expected: "(true | undefined)",
302
+ value: input3.isAtomic
303
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
304
+ path: _path2 + ".name",
305
+ expected: "(string | undefined)",
306
+ value: input3.name
307
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
308
+ path: _path2 + ".reuseId",
309
+ expected: "(string | undefined)",
310
+ value: input3.reuseId
311
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
312
+ path: _path2 + ".mode",
313
+ expected: '("binary" | "discrete" | undefined)',
314
+ value: input3.mode
315
+ }), "values" === input3.type || $report(_exceptionable2, {
316
+ path: _path2 + ".type",
317
+ expected: '"values"',
318
+ value: input3.type
319
+ })].every((flag) => flag);
320
+ const $vo4 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
321
+ const value = input3[key];
322
+ if (void 0 === value)
323
+ return true;
324
+ if (RegExp(/(.*)/).test(key))
325
+ return "number" === typeof value || $report(_exceptionable2, {
326
+ path: _path2 + $join(key),
327
+ expected: "number",
328
+ value
329
+ });
330
+ return true;
331
+ }).every((flag) => flag)].every((flag) => flag);
332
+ const $vo5 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
333
+ path: _path2 + ".hiddenValues",
334
+ expected: "(HiddenValues | undefined)",
335
+ value: input3.hiddenValues
336
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
337
+ path: _path2 + ".hiddenValues",
338
+ expected: "(HiddenValues | undefined)",
339
+ value: input3.hiddenValues
340
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
341
+ path: _path2 + ".isAtomic",
342
+ expected: "(true | undefined)",
343
+ value: input3.isAtomic
344
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
345
+ path: _path2 + ".name",
346
+ expected: "(string | undefined)",
347
+ value: input3.name
348
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
349
+ path: _path2 + ".reuseId",
350
+ expected: "(string | undefined)",
351
+ value: input3.reuseId
352
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
353
+ path: _path2 + ".mode",
354
+ expected: '("binary" | "discrete" | undefined)',
355
+ value: input3.mode
356
+ }), "predefined-groupset" === input3.type || $report(_exceptionable2, {
357
+ path: _path2 + ".type",
358
+ expected: '"predefined-groupset"',
359
+ value: input3.type
360
+ }), "number" === typeof input3.predefined_groupset_idx || $report(_exceptionable2, {
361
+ path: _path2 + ".predefined_groupset_idx",
362
+ expected: "number",
363
+ value: input3.predefined_groupset_idx
364
+ })].every((flag) => flag);
365
+ const $vo6 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
366
+ path: _path2 + ".hiddenValues",
367
+ expected: "(HiddenValues | undefined)",
368
+ value: input3.hiddenValues
369
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
370
+ path: _path2 + ".hiddenValues",
371
+ expected: "(HiddenValues | undefined)",
372
+ value: input3.hiddenValues
373
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
374
+ path: _path2 + ".isAtomic",
375
+ expected: "(true | undefined)",
376
+ value: input3.isAtomic
377
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
378
+ path: _path2 + ".name",
379
+ expected: "(string | undefined)",
380
+ value: input3.name
381
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
382
+ path: _path2 + ".reuseId",
383
+ expected: "(string | undefined)",
384
+ value: input3.reuseId
385
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
386
+ path: _path2 + ".mode",
387
+ expected: '("binary" | "discrete" | undefined)',
388
+ value: input3.mode
389
+ }), "custom-groupset" === input3.type || $report(_exceptionable2, {
390
+ path: _path2 + ".type",
391
+ expected: '"custom-groupset"',
392
+ value: input3.type
393
+ }), ("object" === typeof input3.customset && null !== input3.customset || $report(_exceptionable2, {
394
+ path: _path2 + ".customset",
395
+ expected: "BaseGroupSet",
396
+ value: input3.customset
397
+ })) && $vo7(input3.customset, _path2 + ".customset", _exceptionable2) || $report(_exceptionable2, {
398
+ path: _path2 + ".customset",
399
+ expected: "BaseGroupSet",
400
+ value: input3.customset
401
+ })].every((flag) => flag);
402
+ const $vo7 = (input3, _path2, _exceptionable2 = true) => [(Array.isArray(input3.groups) || $report(_exceptionable2, {
403
+ path: _path2 + ".groups",
404
+ expected: "Array<GroupEntry>",
405
+ value: input3.groups
406
+ })) && input3.groups.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
407
+ path: _path2 + ".groups[" + _index3 + "]",
408
+ expected: "(FilterGroup | ValuesGroup)",
409
+ value: elem
410
+ })) && $vu0(elem, _path2 + ".groups[" + _index3 + "]", _exceptionable2) || $report(_exceptionable2, {
411
+ path: _path2 + ".groups[" + _index3 + "]",
412
+ expected: "(FilterGroup | ValuesGroup)",
413
+ value: elem
414
+ })).every((flag) => flag) || $report(_exceptionable2, {
415
+ path: _path2 + ".groups",
416
+ expected: "Array<GroupEntry>",
417
+ value: input3.groups
418
+ })].every((flag) => flag);
419
+ const $vo8 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
420
+ path: _path2 + ".name",
421
+ expected: "string",
422
+ value: input3.name
423
+ }), "string" === typeof input3.type || $report(_exceptionable2, {
424
+ path: _path2 + ".type",
425
+ expected: "string",
426
+ value: input3.type
427
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
428
+ path: _path2 + ".values",
429
+ expected: "Array<__type>",
430
+ value: input3.values
431
+ })) && input3.values.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
432
+ path: _path2 + ".values[" + _index4 + "]",
433
+ expected: "__type.o1",
434
+ value: elem
435
+ })) && $vo9(elem, _path2 + ".values[" + _index4 + "]", _exceptionable2) || $report(_exceptionable2, {
436
+ path: _path2 + ".values[" + _index4 + "]",
437
+ expected: "__type.o1",
438
+ value: elem
439
+ })).every((flag) => flag) || $report(_exceptionable2, {
440
+ path: _path2 + ".values",
441
+ expected: "Array<__type>",
442
+ value: input3.values
443
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
444
+ path: _path2 + ".uncomputable",
445
+ expected: "(boolean | undefined)",
446
+ value: input3.uncomputable
447
+ })].every((flag) => flag);
448
+ const $vo9 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || "number" === typeof input3.key || $report(_exceptionable2, {
449
+ path: _path2 + ".key",
450
+ expected: "(number | string)",
451
+ value: input3.key
452
+ }), "string" === typeof input3.label || $report(_exceptionable2, {
453
+ path: _path2 + ".label",
454
+ expected: "string",
455
+ value: input3.label
456
+ })].every((flag) => flag);
457
+ const $vo10 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
458
+ path: _path2 + ".name",
459
+ expected: "string",
460
+ value: input3.name
461
+ }), "filter" === input3.type || $report(_exceptionable2, {
462
+ path: _path2 + ".type",
463
+ expected: '"filter"',
464
+ value: input3.type
465
+ }), ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
466
+ path: _path2 + ".filter",
467
+ expected: "Filter",
468
+ value: input3.filter
469
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
470
+ path: _path2 + ".filter",
471
+ expected: "Filter",
472
+ value: input3.filter
473
+ })].every((flag) => flag);
474
+ const $vo11 = (input3, _path2, _exceptionable2 = true) => ["lst" === input3.type || $report(_exceptionable2, {
475
+ path: _path2 + ".type",
476
+ expected: '"lst"',
477
+ value: input3.type
478
+ }), void 0 === input3["in"] || "boolean" === typeof input3["in"] || $report(_exceptionable2, {
479
+ path: _path2 + '["in"]',
480
+ expected: "(boolean | undefined)",
481
+ value: input3["in"]
482
+ }), "and" === input3.join || "or" === input3.join || $report(_exceptionable2, {
483
+ path: _path2 + ".join",
484
+ expected: '("and" | "or")',
485
+ value: input3.join
486
+ }), void 0 === input3.tag || "string" === typeof input3.tag || $report(_exceptionable2, {
487
+ path: _path2 + ".tag",
488
+ expected: "(string | undefined)",
489
+ value: input3.tag
490
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
491
+ path: _path2 + ".lst",
492
+ expected: "Array<Filter | Tvs>",
493
+ value: input3.lst
494
+ })) && input3.lst.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
495
+ path: _path2 + ".lst[" + _index5 + "]",
496
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
497
+ value: elem
498
+ })) && $vu1(elem, _path2 + ".lst[" + _index5 + "]", _exceptionable2) || $report(_exceptionable2, {
499
+ path: _path2 + ".lst[" + _index5 + "]",
500
+ expected: "(CategoricalTvs | ConditionTvs | Filter | GeneVariantTvs | NumericTvs)",
501
+ value: elem
502
+ })).every((flag) => flag) || $report(_exceptionable2, {
503
+ path: _path2 + ".lst",
504
+ expected: "Array<Filter | Tvs>",
505
+ value: input3.lst
506
+ })].every((flag) => flag);
507
+ const $vo12 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
508
+ path: _path2 + ".join",
509
+ expected: "(string | undefined)",
510
+ value: input3.join
511
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
512
+ path: _path2 + ".isnot",
513
+ expected: "(boolean | undefined)",
514
+ value: input3.isnot
515
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
516
+ path: _path2 + ".term",
517
+ expected: "CategoricalTerm",
518
+ value: input3.term
519
+ })) && $vo13(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
520
+ path: _path2 + ".term",
521
+ expected: "CategoricalTerm",
522
+ value: input3.term
523
+ }), void 0 === input3.groupset_label || "string" === typeof input3.groupset_label || $report(_exceptionable2, {
524
+ path: _path2 + ".groupset_label",
525
+ expected: "(string | undefined)",
526
+ value: input3.groupset_label
527
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
528
+ path: _path2 + ".values",
529
+ expected: "Array<BaseValue>",
530
+ value: input3.values
531
+ })) && input3.values.map((elem, _index6) => ("object" === typeof elem && null !== elem && false === Array.isArray(elem) || $report(_exceptionable2, {
532
+ path: _path2 + ".values[" + _index6 + "]",
533
+ expected: "BaseValue",
534
+ value: elem
535
+ })) && $vo15(elem, _path2 + ".values[" + _index6 + "]", _exceptionable2) || $report(_exceptionable2, {
536
+ path: _path2 + ".values[" + _index6 + "]",
537
+ expected: "BaseValue",
538
+ value: elem
539
+ })).every((flag) => flag) || $report(_exceptionable2, {
540
+ path: _path2 + ".values",
541
+ expected: "Array<BaseValue>",
542
+ value: input3.values
543
+ })].every((flag) => flag);
544
+ const $vo13 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
545
+ path: _path2 + ".id",
546
+ expected: "string",
547
+ value: input3.id
548
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
549
+ path: _path2 + ".name",
550
+ expected: "string",
551
+ value: input3.name
552
+ }), "categorical" === input3.type || $report(_exceptionable2, {
553
+ path: _path2 + ".type",
554
+ expected: '"categorical"',
555
+ value: input3.type
556
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
557
+ path: _path2 + ".child_types",
558
+ expected: "(Array<string> | undefined)",
559
+ value: input3.child_types
560
+ })) && input3.child_types.map((elem, _index7) => "string" === typeof elem || $report(_exceptionable2, {
561
+ path: _path2 + ".child_types[" + _index7 + "]",
562
+ expected: "string",
563
+ value: elem
564
+ })).every((flag) => flag) || $report(_exceptionable2, {
565
+ path: _path2 + ".child_types",
566
+ expected: "(Array<string> | undefined)",
567
+ value: input3.child_types
568
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
569
+ path: _path2 + ".hashtmldetail",
570
+ expected: "(boolean | undefined)",
571
+ value: input3.hashtmldetail
572
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
573
+ path: _path2 + ".included_types",
574
+ expected: "(Array<string> | undefined)",
575
+ value: input3.included_types
576
+ })) && input3.included_types.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable2, {
577
+ path: _path2 + ".included_types[" + _index8 + "]",
578
+ expected: "string",
579
+ value: elem
580
+ })).every((flag) => flag) || $report(_exceptionable2, {
581
+ path: _path2 + ".included_types",
582
+ expected: "(Array<string> | undefined)",
583
+ value: input3.included_types
584
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
585
+ path: _path2 + ".isleaf",
586
+ expected: "(boolean | undefined)",
587
+ value: input3.isleaf
588
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
589
+ path: _path2 + ".values",
590
+ expected: "(TermValues | undefined)",
591
+ value: input3.values
592
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
593
+ path: _path2 + ".values",
594
+ expected: "(TermValues | undefined)",
595
+ value: input3.values
596
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
597
+ path: _path2 + ".groupsetting",
598
+ expected: "(EnabledTermGroupSetting | __type.o2)",
599
+ value: input3.groupsetting
600
+ })) && $vu5(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
601
+ path: _path2 + ".groupsetting",
602
+ expected: "(EnabledTermGroupSetting | __type.o2)",
603
+ value: input3.groupsetting
604
+ })].every((flag) => flag);
605
+ const $vo14 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
606
+ const value = input3[key];
607
+ if (void 0 === value)
608
+ return true;
609
+ if (RegExp(/(.*)/).test(key))
610
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
611
+ path: _path2 + $join(key),
612
+ expected: "BaseValue",
613
+ value
614
+ })) && $vo15(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
615
+ path: _path2 + $join(key),
616
+ expected: "BaseValue",
617
+ value
618
+ });
619
+ if (RegExp(/^-?\d+\.?\d*$/).test(key))
620
+ return ("object" === typeof value && null !== value && false === Array.isArray(value) || $report(_exceptionable2, {
621
+ path: _path2 + $join(key),
622
+ expected: "BaseValue",
623
+ value
624
+ })) && $vo15(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
625
+ path: _path2 + $join(key),
626
+ expected: "BaseValue",
627
+ value
628
+ });
629
+ return true;
630
+ }).every((flag) => flag)].every((flag) => flag);
631
+ const $vo15 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.key || "string" === typeof input3.key || $report(_exceptionable2, {
632
+ path: _path2 + ".key",
633
+ expected: "(string | undefined)",
634
+ value: input3.key
635
+ }), void 0 === input3.uncomputable || "boolean" === typeof input3.uncomputable || $report(_exceptionable2, {
636
+ path: _path2 + ".uncomputable",
637
+ expected: "(boolean | undefined)",
638
+ value: input3.uncomputable
639
+ }), void 0 === input3.label || "string" === typeof input3.label || "number" === typeof input3.label || $report(_exceptionable2, {
640
+ path: _path2 + ".label",
641
+ expected: "(number | string | undefined)",
642
+ value: input3.label
643
+ }), void 0 === input3.order || "string" === typeof input3.order || $report(_exceptionable2, {
644
+ path: _path2 + ".order",
645
+ expected: "(string | undefined)",
646
+ value: input3.order
647
+ }), void 0 === input3.color || "string" === typeof input3.color || $report(_exceptionable2, {
648
+ path: _path2 + ".color",
649
+ expected: "(string | undefined)",
650
+ value: input3.color
651
+ }), void 0 === input3.group || "number" === typeof input3.group || $report(_exceptionable2, {
652
+ path: _path2 + ".group",
653
+ expected: "(number | undefined)",
654
+ value: input3.group
655
+ }), void 0 === input3.filter || ("object" === typeof input3.filter && null !== input3.filter || $report(_exceptionable2, {
656
+ path: _path2 + ".filter",
657
+ expected: "(Filter | undefined)",
658
+ value: input3.filter
659
+ })) && $vo11(input3.filter, _path2 + ".filter", _exceptionable2) || $report(_exceptionable2, {
660
+ path: _path2 + ".filter",
661
+ expected: "(Filter | undefined)",
662
+ value: input3.filter
663
+ })].every((flag) => flag);
664
+ const $vo16 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.disabled || "boolean" === typeof input3.disabled || $report(_exceptionable2, {
665
+ path: _path2 + ".disabled",
666
+ expected: "(boolean | undefined)",
667
+ value: input3.disabled
668
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
669
+ path: _path2 + ".lst",
670
+ expected: "Array<Groupset>",
671
+ value: input3.lst
672
+ })) && input3.lst.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
673
+ path: _path2 + ".lst[" + _index9 + "]",
674
+ expected: "Groupset",
675
+ value: elem
676
+ })) && $vo17(elem, _path2 + ".lst[" + _index9 + "]", _exceptionable2) || $report(_exceptionable2, {
677
+ path: _path2 + ".lst[" + _index9 + "]",
678
+ expected: "Groupset",
679
+ value: elem
680
+ })).every((flag) => flag) || $report(_exceptionable2, {
681
+ path: _path2 + ".lst",
682
+ expected: "Array<Groupset>",
683
+ value: input3.lst
684
+ })].every((flag) => flag);
685
+ const $vo17 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.name || $report(_exceptionable2, {
686
+ path: _path2 + ".name",
687
+ expected: "string",
688
+ value: input3.name
689
+ }), void 0 === input3.is_grade || "boolean" === typeof input3.is_grade || $report(_exceptionable2, {
690
+ path: _path2 + ".is_grade",
691
+ expected: "(boolean | undefined)",
692
+ value: input3.is_grade
693
+ }), void 0 === input3.is_subcondition || "boolean" === typeof input3.is_subcondition || $report(_exceptionable2, {
694
+ path: _path2 + ".is_subcondition",
695
+ expected: "(boolean | undefined)",
696
+ value: input3.is_subcondition
697
+ }), (Array.isArray(input3.groups) || $report(_exceptionable2, {
698
+ path: _path2 + ".groups",
699
+ expected: "Array<GroupEntry>",
700
+ value: input3.groups
701
+ })) && input3.groups.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
702
+ path: _path2 + ".groups[" + _index10 + "]",
703
+ expected: "(FilterGroup | ValuesGroup)",
704
+ value: elem
705
+ })) && $vu0(elem, _path2 + ".groups[" + _index10 + "]", _exceptionable2) || $report(_exceptionable2, {
706
+ path: _path2 + ".groups[" + _index10 + "]",
707
+ expected: "(FilterGroup | ValuesGroup)",
708
+ value: elem
709
+ })).every((flag) => flag) || $report(_exceptionable2, {
710
+ path: _path2 + ".groups",
711
+ expected: "Array<GroupEntry>",
712
+ value: input3.groups
713
+ })].every((flag) => flag);
714
+ const $vo18 = (input3, _path2, _exceptionable2 = true) => ["boolean" === typeof input3.disabled || $report(_exceptionable2, {
715
+ path: _path2 + ".disabled",
716
+ expected: "boolean",
717
+ value: input3.disabled
718
+ }), void 0 === input3.lst || (Array.isArray(input3.lst) || $report(_exceptionable2, {
719
+ path: _path2 + ".lst",
720
+ expected: "([] | undefined)",
721
+ value: input3.lst
722
+ })) && ((input3.lst.length === 0 || $report(_exceptionable2, {
723
+ path: _path2 + ".lst",
724
+ expected: "[]",
725
+ value: input3.lst
726
+ })) && [].every((flag) => flag)) || $report(_exceptionable2, {
727
+ path: _path2 + ".lst",
728
+ expected: "([] | undefined)",
729
+ value: input3.lst
730
+ })].every((flag) => flag);
731
+ const $vo19 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
732
+ path: _path2 + ".join",
733
+ expected: "(string | undefined)",
734
+ value: input3.join
735
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
736
+ path: _path2 + ".isnot",
737
+ expected: "(boolean | undefined)",
738
+ value: input3.isnot
739
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
740
+ path: _path2 + ".term",
741
+ expected: "NumericTerm",
742
+ value: input3.term
743
+ })) && $vo20(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
744
+ path: _path2 + ".term",
745
+ expected: "NumericTerm",
746
+ value: input3.term
747
+ }), (Array.isArray(input3.ranges) || $report(_exceptionable2, {
748
+ path: _path2 + ".ranges",
749
+ expected: "Array<NumericBin>",
750
+ value: input3.ranges
751
+ })) && input3.ranges.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
752
+ path: _path2 + ".ranges[" + _index11 + "]",
753
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
754
+ value: elem
755
+ })) && $vu2(elem, _path2 + ".ranges[" + _index11 + "]", _exceptionable2) || $report(_exceptionable2, {
756
+ path: _path2 + ".ranges[" + _index11 + "]",
757
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
758
+ value: elem
759
+ })).every((flag) => flag) || $report(_exceptionable2, {
760
+ path: _path2 + ".ranges",
761
+ expected: "Array<NumericBin>",
762
+ value: input3.ranges
763
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
764
+ path: _path2 + ".values",
765
+ expected: "Array<__type>.o1",
766
+ value: input3.values
767
+ })) && input3.values.map((elem, _index12) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
768
+ path: _path2 + ".values[" + _index12 + "]",
769
+ expected: "__type.o3",
770
+ value: elem
771
+ })) && $vo27(elem, _path2 + ".values[" + _index12 + "]", _exceptionable2) || $report(_exceptionable2, {
772
+ path: _path2 + ".values[" + _index12 + "]",
773
+ expected: "__type.o3",
774
+ value: elem
775
+ })).every((flag) => flag) || $report(_exceptionable2, {
776
+ path: _path2 + ".values",
777
+ expected: "Array<__type>.o1",
778
+ value: input3.values
779
+ })].every((flag) => flag);
780
+ const $vo20 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
781
+ path: _path2 + ".id",
782
+ expected: "string",
783
+ value: input3.id
784
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
785
+ path: _path2 + ".name",
786
+ expected: "string",
787
+ value: input3.name
788
+ }), "integer" === input3.type || "float" === input3.type || "geneExpression" === input3.type || "metaboliteIntensity" === input3.type || $report(_exceptionable2, {
789
+ path: _path2 + ".type",
790
+ expected: '("float" | "geneExpression" | "integer" | "metaboliteIntensity")',
791
+ value: input3.type
792
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
793
+ path: _path2 + ".child_types",
794
+ expected: "(Array<string> | undefined)",
795
+ value: input3.child_types
796
+ })) && input3.child_types.map((elem, _index13) => "string" === typeof elem || $report(_exceptionable2, {
797
+ path: _path2 + ".child_types[" + _index13 + "]",
798
+ expected: "string",
799
+ value: elem
800
+ })).every((flag) => flag) || $report(_exceptionable2, {
801
+ path: _path2 + ".child_types",
802
+ expected: "(Array<string> | undefined)",
803
+ value: input3.child_types
804
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
805
+ path: _path2 + ".hashtmldetail",
806
+ expected: "(boolean | undefined)",
807
+ value: input3.hashtmldetail
808
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
809
+ path: _path2 + ".included_types",
810
+ expected: "(Array<string> | undefined)",
811
+ value: input3.included_types
812
+ })) && input3.included_types.map((elem, _index14) => "string" === typeof elem || $report(_exceptionable2, {
813
+ path: _path2 + ".included_types[" + _index14 + "]",
814
+ expected: "string",
815
+ value: elem
816
+ })).every((flag) => flag) || $report(_exceptionable2, {
817
+ path: _path2 + ".included_types",
818
+ expected: "(Array<string> | undefined)",
819
+ value: input3.included_types
820
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
821
+ path: _path2 + ".isleaf",
822
+ expected: "(boolean | undefined)",
823
+ value: input3.isleaf
824
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
825
+ path: _path2 + ".values",
826
+ expected: "(TermValues | undefined)",
827
+ value: input3.values
828
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
829
+ path: _path2 + ".values",
830
+ expected: "(TermValues | undefined)",
831
+ value: input3.values
832
+ }), ("object" === typeof input3.bins && null !== input3.bins || $report(_exceptionable2, {
833
+ path: _path2 + ".bins",
834
+ expected: "PresetNumericBins",
835
+ value: input3.bins
836
+ })) && $vo21(input3.bins, _path2 + ".bins", _exceptionable2) || $report(_exceptionable2, {
837
+ path: _path2 + ".bins",
838
+ expected: "PresetNumericBins",
839
+ value: input3.bins
840
+ }), void 0 === input3.unit || "string" === typeof input3.unit || $report(_exceptionable2, {
841
+ path: _path2 + ".unit",
842
+ expected: "(string | undefined)",
843
+ value: input3.unit
844
+ })].every((flag) => flag);
845
+ const $vo21 = (input3, _path2, _exceptionable2 = true) => [("object" === typeof input3["default"] && null !== input3["default"] || $report(_exceptionable2, {
846
+ path: _path2 + '["default"]',
847
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
848
+ value: input3["default"]
849
+ })) && $vu6(input3["default"], _path2 + '["default"]', _exceptionable2) || $report(_exceptionable2, {
850
+ path: _path2 + '["default"]',
851
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
852
+ value: input3["default"]
853
+ }), ("object" === typeof input3.less && null !== input3.less || $report(_exceptionable2, {
854
+ path: _path2 + ".less",
855
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
856
+ value: input3.less
857
+ })) && $vu6(input3.less, _path2 + ".less", _exceptionable2) || $report(_exceptionable2, {
858
+ path: _path2 + ".less",
859
+ expected: "(CustomNumericBinConfig | RegularNumericBinConfig)",
860
+ value: input3.less
861
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
862
+ path: _path2 + ".label_offset",
863
+ expected: "(number | undefined)",
864
+ value: input3.label_offset
865
+ }), void 0 === input3.label_offset_ignored || "boolean" === typeof input3.label_offset_ignored || $report(_exceptionable2, {
866
+ path: _path2 + ".label_offset_ignored",
867
+ expected: "(boolean | undefined)",
868
+ value: input3.label_offset_ignored
869
+ }), void 0 === input3.rounding || "string" === typeof input3.rounding || $report(_exceptionable2, {
870
+ path: _path2 + ".rounding",
871
+ expected: "(string | undefined)",
872
+ value: input3.rounding
873
+ }), void 0 === input3.min || "number" === typeof input3.min || $report(_exceptionable2, {
874
+ path: _path2 + ".min",
875
+ expected: "(number | undefined)",
876
+ value: input3.min
877
+ }), void 0 === input3.max || "number" === typeof input3.max || $report(_exceptionable2, {
878
+ path: _path2 + ".max",
879
+ expected: "(number | undefined)",
880
+ value: input3.max
881
+ })].every((flag) => flag);
882
+ const $vo22 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
883
+ path: _path2 + ".hiddenValues",
884
+ expected: "(HiddenValues | undefined)",
885
+ value: input3.hiddenValues
886
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
887
+ path: _path2 + ".hiddenValues",
888
+ expected: "(HiddenValues | undefined)",
889
+ value: input3.hiddenValues
890
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
891
+ path: _path2 + ".isAtomic",
892
+ expected: "(true | undefined)",
893
+ value: input3.isAtomic
894
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
895
+ path: _path2 + ".name",
896
+ expected: "(string | undefined)",
897
+ value: input3.name
898
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
899
+ path: _path2 + ".reuseId",
900
+ expected: "(string | undefined)",
901
+ value: input3.reuseId
902
+ }), "regular-bin" === input3.type || $report(_exceptionable2, {
903
+ path: _path2 + ".type",
904
+ expected: '"regular-bin"',
905
+ value: input3.type
906
+ }), void 0 === input3.mode || "discrete" === input3.mode || $report(_exceptionable2, {
907
+ path: _path2 + ".mode",
908
+ expected: '("discrete" | undefined)',
909
+ value: input3.mode
910
+ }), "number" === typeof input3.bin_size || $report(_exceptionable2, {
911
+ path: _path2 + ".bin_size",
912
+ expected: "number",
913
+ value: input3.bin_size
914
+ }), ("object" === typeof input3.first_bin && null !== input3.first_bin || $report(_exceptionable2, {
915
+ path: _path2 + ".first_bin",
916
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
917
+ value: input3.first_bin
918
+ })) && $vu7(input3.first_bin, _path2 + ".first_bin", _exceptionable2) || $report(_exceptionable2, {
919
+ path: _path2 + ".first_bin",
920
+ expected: "(FullyBoundedBin | StartUnboundedBin)",
921
+ value: input3.first_bin
922
+ }), void 0 === input3.last_bin || ("object" === typeof input3.last_bin && null !== input3.last_bin || $report(_exceptionable2, {
923
+ path: _path2 + ".last_bin",
924
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
925
+ value: input3.last_bin
926
+ })) && $vu8(input3.last_bin, _path2 + ".last_bin", _exceptionable2) || $report(_exceptionable2, {
927
+ path: _path2 + ".last_bin",
928
+ expected: "(FullyBoundedBin | StopUnboundedBin | undefined)",
929
+ value: input3.last_bin
930
+ }), void 0 === input3.label_offset || "number" === typeof input3.label_offset || $report(_exceptionable2, {
931
+ path: _path2 + ".label_offset",
932
+ expected: "(number | undefined)",
933
+ value: input3.label_offset
934
+ })].every((flag) => flag);
935
+ const $vo23 = (input3, _path2, _exceptionable2 = true) => [true === input3.startunbounded || $report(_exceptionable2, {
936
+ path: _path2 + ".startunbounded",
937
+ expected: "true",
938
+ value: input3.startunbounded
939
+ }), void 0 === input3.startinclusive || false === input3.startinclusive || $report(_exceptionable2, {
940
+ path: _path2 + ".startinclusive",
941
+ expected: "(false | undefined)",
942
+ value: input3.startinclusive
943
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
944
+ path: _path2 + ".stop",
945
+ expected: "number",
946
+ value: input3.stop
947
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
948
+ path: _path2 + ".stopinclusive",
949
+ expected: "(boolean | undefined)",
950
+ value: input3.stopinclusive
951
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
952
+ path: _path2 + ".stopunbounded",
953
+ expected: "(false | undefined)",
954
+ value: input3.stopunbounded
955
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
956
+ path: _path2 + ".label",
957
+ expected: "(string | undefined)",
958
+ value: input3.label
959
+ })].every((flag) => flag);
960
+ const $vo24 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
961
+ path: _path2 + ".startunbounded",
962
+ expected: "(false | undefined)",
963
+ value: input3.startunbounded
964
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
965
+ path: _path2 + ".startinclusive",
966
+ expected: "(boolean | undefined)",
967
+ value: input3.startinclusive
968
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
969
+ path: _path2 + ".start",
970
+ expected: "number",
971
+ value: input3.start
972
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
973
+ path: _path2 + ".stop",
974
+ expected: "number",
975
+ value: input3.stop
976
+ }), void 0 === input3.stopinclusive || "boolean" === typeof input3.stopinclusive || $report(_exceptionable2, {
977
+ path: _path2 + ".stopinclusive",
978
+ expected: "(boolean | undefined)",
979
+ value: input3.stopinclusive
980
+ }), void 0 === input3.stopunbounded || false === input3.stopunbounded || $report(_exceptionable2, {
981
+ path: _path2 + ".stopunbounded",
982
+ expected: "(false | undefined)",
983
+ value: input3.stopunbounded
984
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
985
+ path: _path2 + ".label",
986
+ expected: "(string | undefined)",
987
+ value: input3.label
988
+ })].every((flag) => flag);
989
+ const $vo25 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.start || $report(_exceptionable2, {
990
+ path: _path2 + ".start",
991
+ expected: "number",
992
+ value: input3.start
993
+ }), true === input3.stopunbounded || $report(_exceptionable2, {
994
+ path: _path2 + ".stopunbounded",
995
+ expected: "true",
996
+ value: input3.stopunbounded
997
+ }), void 0 === input3.startinclusive || "boolean" === typeof input3.startinclusive || $report(_exceptionable2, {
998
+ path: _path2 + ".startinclusive",
999
+ expected: "(boolean | undefined)",
1000
+ value: input3.startinclusive
1001
+ }), void 0 === input3.startunbounded || false === input3.startunbounded || $report(_exceptionable2, {
1002
+ path: _path2 + ".startunbounded",
1003
+ expected: "(false | undefined)",
1004
+ value: input3.startunbounded
1005
+ }), void 0 === input3.stopinclusive || false === input3.stopinclusive || $report(_exceptionable2, {
1006
+ path: _path2 + ".stopinclusive",
1007
+ expected: "(false | undefined)",
1008
+ value: input3.stopinclusive
1009
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1010
+ path: _path2 + ".label",
1011
+ expected: "(string | undefined)",
1012
+ value: input3.label
1013
+ })].every((flag) => flag);
1014
+ const $vo26 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.hiddenValues || ("object" === typeof input3.hiddenValues && null !== input3.hiddenValues && false === Array.isArray(input3.hiddenValues) || $report(_exceptionable2, {
1015
+ path: _path2 + ".hiddenValues",
1016
+ expected: "(HiddenValues | undefined)",
1017
+ value: input3.hiddenValues
1018
+ })) && $vo4(input3.hiddenValues, _path2 + ".hiddenValues", _exceptionable2) || $report(_exceptionable2, {
1019
+ path: _path2 + ".hiddenValues",
1020
+ expected: "(HiddenValues | undefined)",
1021
+ value: input3.hiddenValues
1022
+ }), void 0 === input3.isAtomic || true === input3.isAtomic || $report(_exceptionable2, {
1023
+ path: _path2 + ".isAtomic",
1024
+ expected: "(true | undefined)",
1025
+ value: input3.isAtomic
1026
+ }), void 0 === input3.name || "string" === typeof input3.name || $report(_exceptionable2, {
1027
+ path: _path2 + ".name",
1028
+ expected: "(string | undefined)",
1029
+ value: input3.name
1030
+ }), void 0 === input3.reuseId || "string" === typeof input3.reuseId || $report(_exceptionable2, {
1031
+ path: _path2 + ".reuseId",
1032
+ expected: "(string | undefined)",
1033
+ value: input3.reuseId
1034
+ }), "custom-bin" === input3.type || $report(_exceptionable2, {
1035
+ path: _path2 + ".type",
1036
+ expected: '"custom-bin"',
1037
+ value: input3.type
1038
+ }), void 0 === input3.mode || "discrete" === input3.mode || "binary" === input3.mode || $report(_exceptionable2, {
1039
+ path: _path2 + ".mode",
1040
+ expected: '("binary" | "discrete" | undefined)',
1041
+ value: input3.mode
1042
+ }), (Array.isArray(input3.lst) || $report(_exceptionable2, {
1043
+ path: _path2 + ".lst",
1044
+ expected: "[NumericBin, ...NumericBin[]]",
1045
+ value: input3.lst
1046
+ })) && ([
1047
+ ("object" === typeof input3.lst[0] && null !== input3.lst[0] || $report(_exceptionable2, {
1048
+ path: _path2 + ".lst[0]",
1049
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1050
+ value: input3.lst[0]
1051
+ })) && $vu2(input3.lst[0], _path2 + ".lst[0]", _exceptionable2) || $report(_exceptionable2, {
1052
+ path: _path2 + ".lst[0]",
1053
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1054
+ value: input3.lst[0]
1055
+ })
1056
+ ].every((flag) => flag) && ((Array.isArray(input3.lst.slice(1)) || $report(_exceptionable2, {
1057
+ path: _path2 + ".lst",
1058
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1059
+ value: input3.lst.slice(1)
1060
+ })) && input3.lst.slice(1).map((elem, _index15) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1061
+ path: _path2 + ".lst[" + (1 + _index15) + "]",
1062
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1063
+ value: elem
1064
+ })) && $vu2(elem, _path2 + ".lst[" + (1 + _index15) + "]", _exceptionable2) || $report(_exceptionable2, {
1065
+ path: _path2 + ".lst[" + (1 + _index15) + "]",
1066
+ expected: "(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1067
+ value: elem
1068
+ })).every((flag) => flag) || $report(_exceptionable2, {
1069
+ path: _path2 + ".lst",
1070
+ expected: "...(FullyBoundedBin | StartUnboundedBin | StopUnboundedBin)",
1071
+ value: input3.lst.slice(1)
1072
+ }))) || $report(_exceptionable2, {
1073
+ path: _path2 + ".lst",
1074
+ expected: "[NumericBin, ...NumericBin[]]",
1075
+ value: input3.lst
1076
+ }), void 0 === input3.preferredBins || "median" === input3.preferredBins || $report(_exceptionable2, {
1077
+ path: _path2 + ".preferredBins",
1078
+ expected: '("median" | undefined)',
1079
+ value: input3.preferredBins
1080
+ })].every((flag) => flag);
1081
+ const $vo27 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.key || $report(_exceptionable2, {
1082
+ path: _path2 + ".key",
1083
+ expected: "string",
1084
+ value: input3.key
1085
+ }), "number" === typeof input3.value || $report(_exceptionable2, {
1086
+ path: _path2 + ".value",
1087
+ expected: "number",
1088
+ value: input3.value
1089
+ }), true === input3.uncomputable || $report(_exceptionable2, {
1090
+ path: _path2 + ".uncomputable",
1091
+ expected: "true",
1092
+ value: input3.uncomputable
1093
+ }), void 0 === input3.label || "string" === typeof input3.label || $report(_exceptionable2, {
1094
+ path: _path2 + ".label",
1095
+ expected: "(string | undefined)",
1096
+ value: input3.label
1097
+ })].every((flag) => flag);
1098
+ const $vo28 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1099
+ path: _path2 + ".join",
1100
+ expected: "(string | undefined)",
1101
+ value: input3.join
1102
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1103
+ path: _path2 + ".isnot",
1104
+ expected: "(boolean | undefined)",
1105
+ value: input3.isnot
1106
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1107
+ path: _path2 + ".term",
1108
+ expected: "ConditionTerm",
1109
+ value: input3.term
1110
+ })) && $vo29(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1111
+ path: _path2 + ".term",
1112
+ expected: "ConditionTerm",
1113
+ value: input3.term
1114
+ }), void 0 === input3.value_by_max_grade || "boolean" === typeof input3.value_by_max_grade || $report(_exceptionable2, {
1115
+ path: _path2 + ".value_by_max_grade",
1116
+ expected: "(boolean | undefined)",
1117
+ value: input3.value_by_max_grade
1118
+ }), void 0 === input3.value_by_most_recent || "boolean" === typeof input3.value_by_most_recent || $report(_exceptionable2, {
1119
+ path: _path2 + ".value_by_most_recent",
1120
+ expected: "(boolean | undefined)",
1121
+ value: input3.value_by_most_recent
1122
+ }), void 0 === input3.value_by_computable_grade || "boolean" === typeof input3.value_by_computable_grade || $report(_exceptionable2, {
1123
+ path: _path2 + ".value_by_computable_grade",
1124
+ expected: "(boolean | undefined)",
1125
+ value: input3.value_by_computable_grade
1126
+ }), void 0 === input3.grade_and_child || (Array.isArray(input3.grade_and_child) || $report(_exceptionable2, {
1127
+ path: _path2 + ".grade_and_child",
1128
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1129
+ value: input3.grade_and_child
1130
+ })) && input3.grade_and_child.map((elem, _index16) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1131
+ path: _path2 + ".grade_and_child[" + _index16 + "]",
1132
+ expected: "GradeAndChildEntry",
1133
+ value: elem
1134
+ })) && $vo30(elem, _path2 + ".grade_and_child[" + _index16 + "]", _exceptionable2) || $report(_exceptionable2, {
1135
+ path: _path2 + ".grade_and_child[" + _index16 + "]",
1136
+ expected: "GradeAndChildEntry",
1137
+ value: elem
1138
+ })).every((flag) => flag) || $report(_exceptionable2, {
1139
+ path: _path2 + ".grade_and_child",
1140
+ expected: "(Array<GradeAndChildEntry> | undefined)",
1141
+ value: input3.grade_and_child
1142
+ })].every((flag) => flag);
1143
+ const $vo29 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1144
+ path: _path2 + ".id",
1145
+ expected: "string",
1146
+ value: input3.id
1147
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1148
+ path: _path2 + ".name",
1149
+ expected: "string",
1150
+ value: input3.name
1151
+ }), "condition" === input3.type || $report(_exceptionable2, {
1152
+ path: _path2 + ".type",
1153
+ expected: '"condition"',
1154
+ value: input3.type
1155
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1156
+ path: _path2 + ".child_types",
1157
+ expected: "(Array<string> | undefined)",
1158
+ value: input3.child_types
1159
+ })) && input3.child_types.map((elem, _index17) => "string" === typeof elem || $report(_exceptionable2, {
1160
+ path: _path2 + ".child_types[" + _index17 + "]",
1161
+ expected: "string",
1162
+ value: elem
1163
+ })).every((flag) => flag) || $report(_exceptionable2, {
1164
+ path: _path2 + ".child_types",
1165
+ expected: "(Array<string> | undefined)",
1166
+ value: input3.child_types
1167
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1168
+ path: _path2 + ".hashtmldetail",
1169
+ expected: "(boolean | undefined)",
1170
+ value: input3.hashtmldetail
1171
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1172
+ path: _path2 + ".included_types",
1173
+ expected: "(Array<string> | undefined)",
1174
+ value: input3.included_types
1175
+ })) && input3.included_types.map((elem, _index18) => "string" === typeof elem || $report(_exceptionable2, {
1176
+ path: _path2 + ".included_types[" + _index18 + "]",
1177
+ expected: "string",
1178
+ value: elem
1179
+ })).every((flag) => flag) || $report(_exceptionable2, {
1180
+ path: _path2 + ".included_types",
1181
+ expected: "(Array<string> | undefined)",
1182
+ value: input3.included_types
1183
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1184
+ path: _path2 + ".isleaf",
1185
+ expected: "(boolean | undefined)",
1186
+ value: input3.isleaf
1187
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1188
+ path: _path2 + ".values",
1189
+ expected: "(TermValues | undefined)",
1190
+ value: input3.values
1191
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1192
+ path: _path2 + ".values",
1193
+ expected: "(TermValues | undefined)",
1194
+ value: input3.values
1195
+ })].every((flag) => flag);
1196
+ const $vo30 = (input3, _path2, _exceptionable2 = true) => ["number" === typeof input3.grade || $report(_exceptionable2, {
1197
+ path: _path2 + ".grade",
1198
+ expected: "number",
1199
+ value: input3.grade
1200
+ }), "string" === typeof input3.grade_label || $report(_exceptionable2, {
1201
+ path: _path2 + ".grade_label",
1202
+ expected: "string",
1203
+ value: input3.grade_label
1204
+ }), void 0 === input3.child_id || "string" === typeof input3.child_id || $report(_exceptionable2, {
1205
+ path: _path2 + ".child_id",
1206
+ expected: "(string | undefined)",
1207
+ value: input3.child_id
1208
+ }), "string" === typeof input3.child_label || $report(_exceptionable2, {
1209
+ path: _path2 + ".child_label",
1210
+ expected: "string",
1211
+ value: input3.child_label
1212
+ })].every((flag) => flag);
1213
+ const $vo31 = (input3, _path2, _exceptionable2 = true) => [void 0 === input3.join || "string" === typeof input3.join || $report(_exceptionable2, {
1214
+ path: _path2 + ".join",
1215
+ expected: "(string | undefined)",
1216
+ value: input3.join
1217
+ }), void 0 === input3.isnot || "boolean" === typeof input3.isnot || $report(_exceptionable2, {
1218
+ path: _path2 + ".isnot",
1219
+ expected: "(boolean | undefined)",
1220
+ value: input3.isnot
1221
+ }), ("object" === typeof input3.term && null !== input3.term || $report(_exceptionable2, {
1222
+ path: _path2 + ".term",
1223
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1224
+ value: input3.term
1225
+ })) && $vu9(input3.term, _path2 + ".term", _exceptionable2) || $report(_exceptionable2, {
1226
+ path: _path2 + ".term",
1227
+ expected: "(GeneVariantCoordTerm | GeneVariantGeneTerm)",
1228
+ value: input3.term
1229
+ }), (Array.isArray(input3.values) || $report(_exceptionable2, {
1230
+ path: _path2 + ".values",
1231
+ expected: "Array<GeneVariantTvsValue>",
1232
+ value: input3.values
1233
+ })) && input3.values.map((elem, _index19) => ("object" === typeof elem && null !== elem || $report(_exceptionable2, {
1234
+ path: _path2 + ".values[" + _index19 + "]",
1235
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1236
+ value: elem
1237
+ })) && $vu3(elem, _path2 + ".values[" + _index19 + "]", _exceptionable2) || $report(_exceptionable2, {
1238
+ path: _path2 + ".values[" + _index19 + "]",
1239
+ expected: "(CNVTvsValue | FusionTvsValue | SNVIndelTvsValue | SVTvsValue)",
1240
+ value: elem
1241
+ })).every((flag) => flag) || $report(_exceptionable2, {
1242
+ path: _path2 + ".values",
1243
+ expected: "Array<GeneVariantTvsValue>",
1244
+ value: input3.values
1245
+ })].every((flag) => flag);
1246
+ const $vo32 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1247
+ path: _path2 + ".id",
1248
+ expected: "string",
1249
+ value: input3.id
1250
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1251
+ path: _path2 + ".name",
1252
+ expected: "string",
1253
+ value: input3.name
1254
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1255
+ path: _path2 + ".type",
1256
+ expected: '"geneVariant"',
1257
+ value: input3.type
1258
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1259
+ path: _path2 + ".child_types",
1260
+ expected: "(Array<string> | undefined)",
1261
+ value: input3.child_types
1262
+ })) && input3.child_types.map((elem, _index20) => "string" === typeof elem || $report(_exceptionable2, {
1263
+ path: _path2 + ".child_types[" + _index20 + "]",
1264
+ expected: "string",
1265
+ value: elem
1266
+ })).every((flag) => flag) || $report(_exceptionable2, {
1267
+ path: _path2 + ".child_types",
1268
+ expected: "(Array<string> | undefined)",
1269
+ value: input3.child_types
1270
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1271
+ path: _path2 + ".hashtmldetail",
1272
+ expected: "(boolean | undefined)",
1273
+ value: input3.hashtmldetail
1274
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1275
+ path: _path2 + ".included_types",
1276
+ expected: "(Array<string> | undefined)",
1277
+ value: input3.included_types
1278
+ })) && input3.included_types.map((elem, _index21) => "string" === typeof elem || $report(_exceptionable2, {
1279
+ path: _path2 + ".included_types[" + _index21 + "]",
1280
+ expected: "string",
1281
+ value: elem
1282
+ })).every((flag) => flag) || $report(_exceptionable2, {
1283
+ path: _path2 + ".included_types",
1284
+ expected: "(Array<string> | undefined)",
1285
+ value: input3.included_types
1286
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1287
+ path: _path2 + ".isleaf",
1288
+ expected: "(boolean | undefined)",
1289
+ value: input3.isleaf
1290
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1291
+ path: _path2 + ".values",
1292
+ expected: "(TermValues | undefined)",
1293
+ value: input3.values
1294
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1295
+ path: _path2 + ".values",
1296
+ expected: "(TermValues | undefined)",
1297
+ value: input3.values
1298
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1299
+ path: _path2 + ".groupsetting",
1300
+ expected: "EnabledTermGroupSetting",
1301
+ value: input3.groupsetting
1302
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1303
+ path: _path2 + ".groupsetting",
1304
+ expected: "EnabledTermGroupSetting",
1305
+ value: input3.groupsetting
1306
+ }), "gene" === input3.kind || $report(_exceptionable2, {
1307
+ path: _path2 + ".kind",
1308
+ expected: '"gene"',
1309
+ value: input3.kind
1310
+ }), "string" === typeof input3.gene || $report(_exceptionable2, {
1311
+ path: _path2 + ".gene",
1312
+ expected: "string",
1313
+ value: input3.gene
1314
+ }), void 0 === input3.chr || "string" === typeof input3.chr || $report(_exceptionable2, {
1315
+ path: _path2 + ".chr",
1316
+ expected: "(string | undefined)",
1317
+ value: input3.chr
1318
+ }), void 0 === input3.start || "number" === typeof input3.start || $report(_exceptionable2, {
1319
+ path: _path2 + ".start",
1320
+ expected: "(number | undefined)",
1321
+ value: input3.start
1322
+ }), void 0 === input3.stop || "number" === typeof input3.stop || $report(_exceptionable2, {
1323
+ path: _path2 + ".stop",
1324
+ expected: "(number | undefined)",
1325
+ value: input3.stop
1326
+ })].every((flag) => flag);
1327
+ const $vo33 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.id || $report(_exceptionable2, {
1328
+ path: _path2 + ".id",
1329
+ expected: "string",
1330
+ value: input3.id
1331
+ }), "string" === typeof input3.name || $report(_exceptionable2, {
1332
+ path: _path2 + ".name",
1333
+ expected: "string",
1334
+ value: input3.name
1335
+ }), "geneVariant" === input3.type || $report(_exceptionable2, {
1336
+ path: _path2 + ".type",
1337
+ expected: '"geneVariant"',
1338
+ value: input3.type
1339
+ }), void 0 === input3.child_types || (Array.isArray(input3.child_types) || $report(_exceptionable2, {
1340
+ path: _path2 + ".child_types",
1341
+ expected: "(Array<string> | undefined)",
1342
+ value: input3.child_types
1343
+ })) && input3.child_types.map((elem, _index22) => "string" === typeof elem || $report(_exceptionable2, {
1344
+ path: _path2 + ".child_types[" + _index22 + "]",
1345
+ expected: "string",
1346
+ value: elem
1347
+ })).every((flag) => flag) || $report(_exceptionable2, {
1348
+ path: _path2 + ".child_types",
1349
+ expected: "(Array<string> | undefined)",
1350
+ value: input3.child_types
1351
+ }), void 0 === input3.hashtmldetail || "boolean" === typeof input3.hashtmldetail || $report(_exceptionable2, {
1352
+ path: _path2 + ".hashtmldetail",
1353
+ expected: "(boolean | undefined)",
1354
+ value: input3.hashtmldetail
1355
+ }), void 0 === input3.included_types || (Array.isArray(input3.included_types) || $report(_exceptionable2, {
1356
+ path: _path2 + ".included_types",
1357
+ expected: "(Array<string> | undefined)",
1358
+ value: input3.included_types
1359
+ })) && input3.included_types.map((elem, _index23) => "string" === typeof elem || $report(_exceptionable2, {
1360
+ path: _path2 + ".included_types[" + _index23 + "]",
1361
+ expected: "string",
1362
+ value: elem
1363
+ })).every((flag) => flag) || $report(_exceptionable2, {
1364
+ path: _path2 + ".included_types",
1365
+ expected: "(Array<string> | undefined)",
1366
+ value: input3.included_types
1367
+ }), void 0 === input3.isleaf || "boolean" === typeof input3.isleaf || $report(_exceptionable2, {
1368
+ path: _path2 + ".isleaf",
1369
+ expected: "(boolean | undefined)",
1370
+ value: input3.isleaf
1371
+ }), void 0 === input3.values || ("object" === typeof input3.values && null !== input3.values && false === Array.isArray(input3.values) || $report(_exceptionable2, {
1372
+ path: _path2 + ".values",
1373
+ expected: "(TermValues | undefined)",
1374
+ value: input3.values
1375
+ })) && $vo14(input3.values, _path2 + ".values", _exceptionable2) || $report(_exceptionable2, {
1376
+ path: _path2 + ".values",
1377
+ expected: "(TermValues | undefined)",
1378
+ value: input3.values
1379
+ }), ("object" === typeof input3.groupsetting && null !== input3.groupsetting || $report(_exceptionable2, {
1380
+ path: _path2 + ".groupsetting",
1381
+ expected: "EnabledTermGroupSetting",
1382
+ value: input3.groupsetting
1383
+ })) && $vo16(input3.groupsetting, _path2 + ".groupsetting", _exceptionable2) || $report(_exceptionable2, {
1384
+ path: _path2 + ".groupsetting",
1385
+ expected: "EnabledTermGroupSetting",
1386
+ value: input3.groupsetting
1387
+ }), "coord" === input3.kind || $report(_exceptionable2, {
1388
+ path: _path2 + ".kind",
1389
+ expected: '"coord"',
1390
+ value: input3.kind
1391
+ }), "string" === typeof input3.chr || $report(_exceptionable2, {
1392
+ path: _path2 + ".chr",
1393
+ expected: "string",
1394
+ value: input3.chr
1395
+ }), "number" === typeof input3.start || $report(_exceptionable2, {
1396
+ path: _path2 + ".start",
1397
+ expected: "number",
1398
+ value: input3.start
1399
+ }), "number" === typeof input3.stop || $report(_exceptionable2, {
1400
+ path: _path2 + ".stop",
1401
+ expected: "number",
1402
+ value: input3.stop
1403
+ })].every((flag) => flag);
1404
+ const $vo34 = (input3, _path2, _exceptionable2 = true) => [1 === input3.dt || $report(_exceptionable2, {
1405
+ path: _path2 + ".dt",
1406
+ expected: "1",
1407
+ value: input3.dt
1408
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1409
+ path: _path2 + ".mclassLst",
1410
+ expected: "Array<SNVIndelClasses>",
1411
+ value: input3.mclassLst
1412
+ })) && input3.mclassLst.map((elem, _index24) => "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, {
1413
+ path: _path2 + ".mclassLst[" + _index24 + "]",
1414
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1415
+ value: elem
1416
+ })).every((flag) => flag) || $report(_exceptionable2, {
1417
+ path: _path2 + ".mclassLst",
1418
+ expected: "Array<SNVIndelClasses>",
1419
+ value: input3.mclassLst
1420
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1421
+ path: _path2 + ".mclassExcludeLst",
1422
+ expected: "Array<SNVIndelClasses>",
1423
+ value: input3.mclassExcludeLst
1424
+ })) && input3.mclassExcludeLst.map((elem, _index25) => "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, {
1425
+ path: _path2 + ".mclassExcludeLst[" + _index25 + "]",
1426
+ expected: '("Blank" | "CLOSS" | "D" | "DEL" | "E" | "F" | "I" | "ITD" | "Intron" | "L" | "M" | "N" | "NLOSS" | "P" | "S" | "Utr3" | "Utr5" | "WT" | "X" | "noncoding")',
1427
+ value: elem
1428
+ })).every((flag) => flag) || $report(_exceptionable2, {
1429
+ path: _path2 + ".mclassExcludeLst",
1430
+ expected: "Array<SNVIndelClasses>",
1431
+ value: input3.mclassExcludeLst
1432
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1433
+ path: _path2 + ".origin",
1434
+ expected: '("germline" | "somatic" | undefined)',
1435
+ value: input3.origin
1436
+ })].every((flag) => flag);
1437
+ const $vo35 = (input3, _path2, _exceptionable2 = true) => [4 === input3.dt || $report(_exceptionable2, {
1438
+ path: _path2 + ".dt",
1439
+ expected: "4",
1440
+ value: input3.dt
1441
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1442
+ path: _path2 + ".mclassLst",
1443
+ expected: "Array<CNVClasses>",
1444
+ value: input3.mclassLst
1445
+ })) && input3.mclassLst.map((elem, _index26) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1446
+ path: _path2 + ".mclassLst[" + _index26 + "]",
1447
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1448
+ value: elem
1449
+ })).every((flag) => flag) || $report(_exceptionable2, {
1450
+ path: _path2 + ".mclassLst",
1451
+ expected: "Array<CNVClasses>",
1452
+ value: input3.mclassLst
1453
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1454
+ path: _path2 + ".mclassExcludeLst",
1455
+ expected: "Array<CNVClasses>",
1456
+ value: input3.mclassExcludeLst
1457
+ })) && input3.mclassExcludeLst.map((elem, _index27) => "Blank" === elem || "WT" === elem || "CNV_amp" === elem || "CNV_losss" === elem || "CNV_loh" === elem || $report(_exceptionable2, {
1458
+ path: _path2 + ".mclassExcludeLst[" + _index27 + "]",
1459
+ expected: '("Blank" | "CNV_amp" | "CNV_loh" | "CNV_losss" | "WT")',
1460
+ value: elem
1461
+ })).every((flag) => flag) || $report(_exceptionable2, {
1462
+ path: _path2 + ".mclassExcludeLst",
1463
+ expected: "Array<CNVClasses>",
1464
+ value: input3.mclassExcludeLst
1465
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1466
+ path: _path2 + ".origin",
1467
+ expected: '("germline" | "somatic" | undefined)',
1468
+ value: input3.origin
1469
+ })].every((flag) => flag);
1470
+ const $vo36 = (input3, _path2, _exceptionable2 = true) => [5 === input3.dt || $report(_exceptionable2, {
1471
+ path: _path2 + ".dt",
1472
+ expected: "5",
1473
+ value: input3.dt
1474
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1475
+ path: _path2 + ".mclassLst",
1476
+ expected: "Array<SVClasses>",
1477
+ value: input3.mclassLst
1478
+ })) && input3.mclassLst.map((elem, _index28) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1479
+ path: _path2 + ".mclassLst[" + _index28 + "]",
1480
+ expected: '("Blank" | "SV" | "WT")',
1481
+ value: elem
1482
+ })).every((flag) => flag) || $report(_exceptionable2, {
1483
+ path: _path2 + ".mclassLst",
1484
+ expected: "Array<SVClasses>",
1485
+ value: input3.mclassLst
1486
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1487
+ path: _path2 + ".mclassExcludeLst",
1488
+ expected: "Array<SVClasses>",
1489
+ value: input3.mclassExcludeLst
1490
+ })) && input3.mclassExcludeLst.map((elem, _index29) => "Blank" === elem || "WT" === elem || "SV" === elem || $report(_exceptionable2, {
1491
+ path: _path2 + ".mclassExcludeLst[" + _index29 + "]",
1492
+ expected: '("Blank" | "SV" | "WT")',
1493
+ value: elem
1494
+ })).every((flag) => flag) || $report(_exceptionable2, {
1495
+ path: _path2 + ".mclassExcludeLst",
1496
+ expected: "Array<SVClasses>",
1497
+ value: input3.mclassExcludeLst
1498
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1499
+ path: _path2 + ".origin",
1500
+ expected: '("germline" | "somatic" | undefined)',
1501
+ value: input3.origin
1502
+ })].every((flag) => flag);
1503
+ const $vo37 = (input3, _path2, _exceptionable2 = true) => [2 === input3.dt || $report(_exceptionable2, {
1504
+ path: _path2 + ".dt",
1505
+ expected: "2",
1506
+ value: input3.dt
1507
+ }), (Array.isArray(input3.mclassLst) || $report(_exceptionable2, {
1508
+ path: _path2 + ".mclassLst",
1509
+ expected: "Array<FusionRNAClasses>",
1510
+ value: input3.mclassLst
1511
+ })) && input3.mclassLst.map((elem, _index30) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1512
+ path: _path2 + ".mclassLst[" + _index30 + "]",
1513
+ expected: '("Blank" | "Fuserna" | "WT")',
1514
+ value: elem
1515
+ })).every((flag) => flag) || $report(_exceptionable2, {
1516
+ path: _path2 + ".mclassLst",
1517
+ expected: "Array<FusionRNAClasses>",
1518
+ value: input3.mclassLst
1519
+ }), (Array.isArray(input3.mclassExcludeLst) || $report(_exceptionable2, {
1520
+ path: _path2 + ".mclassExcludeLst",
1521
+ expected: "Array<FusionRNAClasses>",
1522
+ value: input3.mclassExcludeLst
1523
+ })) && input3.mclassExcludeLst.map((elem, _index31) => "Blank" === elem || "WT" === elem || "Fuserna" === elem || $report(_exceptionable2, {
1524
+ path: _path2 + ".mclassExcludeLst[" + _index31 + "]",
1525
+ expected: '("Blank" | "Fuserna" | "WT")',
1526
+ value: elem
1527
+ })).every((flag) => flag) || $report(_exceptionable2, {
1528
+ path: _path2 + ".mclassExcludeLst",
1529
+ expected: "Array<FusionRNAClasses>",
1530
+ value: input3.mclassExcludeLst
1531
+ }), void 0 === input3.origin || "somatic" === input3.origin || "germline" === input3.origin || $report(_exceptionable2, {
1532
+ path: _path2 + ".origin",
1533
+ expected: '("germline" | "somatic" | undefined)',
1534
+ value: input3.origin
1535
+ })].every((flag) => flag);
1536
+ const $vu0 = (input3, _path2, _exceptionable2 = true) => (() => {
1537
+ if ("string" === typeof input3.type)
1538
+ return $vo8(input3, _path2, _exceptionable2);
1539
+ if ("filter" === input3.type)
1540
+ return $vo10(input3, _path2, _exceptionable2);
1541
+ return $report(_exceptionable2, {
1542
+ path: _path2,
1543
+ expected: "(ValuesGroup | FilterGroup)",
1544
+ value: input3
1545
+ });
1546
+ })();
1547
+ const $vu1 = (input3, _path2, _exceptionable2 = true) => (() => {
1548
+ if (void 0 !== input3.type)
1549
+ return $vo11(input3, _path2, _exceptionable2);
1550
+ if (void 0 !== input3.ranges)
1551
+ return $vo19(input3, _path2, _exceptionable2);
1552
+ return $vo12(input3, _path2, false) || $vo28(input3, _path2, false) || $vo31(input3, _path2, false);
1553
+ })();
1554
+ const $vu2 = (input3, _path2, _exceptionable2 = true) => (() => {
1555
+ if (true === input3.startunbounded)
1556
+ return $vo23(input3, _path2, _exceptionable2);
1557
+ if (true === input3.stopunbounded)
1558
+ return $vo25(input3, _path2, _exceptionable2);
1559
+ return $vo24(input3, _path2, _exceptionable2);
1560
+ })();
1561
+ const $vu3 = (input3, _path2, _exceptionable2 = true) => (() => {
1562
+ if (2 === input3.dt)
1563
+ return $vo37(input3, _path2, _exceptionable2);
1564
+ if (5 === input3.dt)
1565
+ return $vo36(input3, _path2, _exceptionable2);
1566
+ if (4 === input3.dt)
1567
+ return $vo35(input3, _path2, _exceptionable2);
1568
+ if (1 === input3.dt)
1569
+ return $vo34(input3, _path2, _exceptionable2);
1570
+ return $report(_exceptionable2, {
1571
+ path: _path2,
1572
+ expected: "(FusionTvsValue | SVTvsValue | CNVTvsValue | SNVIndelTvsValue)",
1573
+ value: input3
1574
+ });
1575
+ })();
1576
+ const $vu4 = (input3, _path2, _exceptionable2 = true) => (() => {
1577
+ if ("values" === input3.type)
1578
+ return $vo3(input3, _path2, _exceptionable2);
1579
+ if ("predefined-groupset" === input3.type)
1580
+ return $vo5(input3, _path2, _exceptionable2);
1581
+ if ("custom-groupset" === input3.type)
1582
+ return $vo6(input3, _path2, _exceptionable2);
1583
+ return $report(_exceptionable2, {
1584
+ path: _path2,
1585
+ expected: "(ValuesQ | PredefinedGroupSettingQ | CustomGroupSettingQ)",
1586
+ value: input3
1587
+ });
1588
+ })();
1589
+ const $vu5 = (input3, _path2, _exceptionable2 = true) => (() => {
1590
+ if (Array.isArray(input3.lst) && input3.lst.map((elem, _index32) => "object" === typeof elem && null !== elem && $vo17(elem, _path2 + ".lst[" + _index32 + "]", false)).every((flag) => flag))
1591
+ return $vo16(input3, _path2, _exceptionable2);
1592
+ return $vo18(input3, _path2, _exceptionable2);
1593
+ })();
1594
+ const $vu6 = (input3, _path2, _exceptionable2 = true) => (() => {
1595
+ if ("regular-bin" === input3.type)
1596
+ return $vo22(input3, _path2, _exceptionable2);
1597
+ if ("custom-bin" === input3.type)
1598
+ return $vo26(input3, _path2, _exceptionable2);
1599
+ return $report(_exceptionable2, {
1600
+ path: _path2,
1601
+ expected: "(RegularNumericBinConfig | CustomNumericBinConfig)",
1602
+ value: input3
1603
+ });
1604
+ })();
1605
+ const $vu7 = (input3, _path2, _exceptionable2 = true) => (() => {
1606
+ if (true === input3.startunbounded)
1607
+ return $vo23(input3, _path2, _exceptionable2);
1608
+ if (void 0 !== input3.start)
1609
+ return $vo24(input3, _path2, _exceptionable2);
1610
+ return $report(_exceptionable2, {
1611
+ path: _path2,
1612
+ expected: "(StartUnboundedBin | FullyBoundedBin)",
1613
+ value: input3
1614
+ });
1615
+ })();
1616
+ const $vu8 = (input3, _path2, _exceptionable2 = true) => (() => {
1617
+ if (void 0 !== input3.stop)
1618
+ return $vo24(input3, _path2, _exceptionable2);
1619
+ if (true === input3.stopunbounded)
1620
+ return $vo25(input3, _path2, _exceptionable2);
1621
+ return $report(_exceptionable2, {
1622
+ path: _path2,
1623
+ expected: "(FullyBoundedBin | StopUnboundedBin)",
1624
+ value: input3
1625
+ });
1626
+ })();
1627
+ const $vu9 = (input3, _path2, _exceptionable2 = true) => (() => {
1628
+ if ("gene" === input3.kind)
1629
+ return $vo32(input3, _path2, _exceptionable2);
1630
+ if ("coord" === input3.kind)
1631
+ return $vo33(input3, _path2, _exceptionable2);
1632
+ return $report(_exceptionable2, {
1633
+ path: _path2,
1634
+ expected: "(GeneVariantGeneTerm | GeneVariantCoordTerm)",
1635
+ value: input3
1636
+ });
1637
+ })();
1638
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
1639
+ path: _path + "",
1640
+ expected: "BrainImagingRequest",
1641
+ value: input2
1642
+ })) && $vo0(input2, _path + "", true) || $report(true, {
1643
+ path: _path + "",
1644
+ expected: "BrainImagingRequest",
1645
+ value: input2
1646
+ });
1647
+ })(input, "$input", true);
1648
+ }
1649
+ const success = 0 === errors.length;
1650
+ return {
1651
+ success,
1652
+ errors,
1653
+ data: success ? input : void 0
1654
+ };
1655
+ };
1656
+ var validBrainImagingResponse = (input) => {
1657
+ const errors = [];
1658
+ const __is = (input2) => {
1659
+ const $join = import_typia.createValidate.join;
1660
+ const $io0 = (input3) => "string" === typeof input3.brainImage && true && (void 0 === input3.legend || "object" === typeof input3.legend && null !== input3.legend && false === Array.isArray(input3.legend) && $io1(input3.legend));
1661
+ const $io1 = (input3) => Object.keys(input3).every((key) => {
1662
+ const value = input3[key];
1663
+ if (void 0 === value)
1664
+ return true;
1665
+ if (RegExp(/(.*)/).test(key))
1666
+ return "object" === typeof value && null !== value && ("string" === typeof value.color && "number" === typeof value.maxLength && "boolean" === typeof value.crossedOut);
1667
+ return true;
1668
+ });
1669
+ return "object" === typeof input2 && null !== input2 && $io0(input2);
1670
+ };
1671
+ if (false === __is(input)) {
1672
+ const $report = import_typia.createValidate.report(errors);
1673
+ ((input2, _path, _exceptionable = true) => {
1674
+ const $join = import_typia.createValidate.join;
1675
+ const $vo0 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.brainImage || $report(_exceptionable2, {
1676
+ path: _path2 + ".brainImage",
1677
+ expected: "string",
1678
+ value: input3.brainImage
1679
+ }), true, void 0 === input3.legend || ("object" === typeof input3.legend && null !== input3.legend && false === Array.isArray(input3.legend) || $report(_exceptionable2, {
1680
+ path: _path2 + ".legend",
1681
+ expected: "(__type | undefined)",
1682
+ value: input3.legend
1683
+ })) && $vo1(input3.legend, _path2 + ".legend", _exceptionable2) || $report(_exceptionable2, {
1684
+ path: _path2 + ".legend",
1685
+ expected: "(__type | undefined)",
1686
+ value: input3.legend
1687
+ })].every((flag) => flag);
1688
+ const $vo1 = (input3, _path2, _exceptionable2 = true) => [false === _exceptionable2 || Object.keys(input3).map((key) => {
1689
+ const value = input3[key];
1690
+ if (void 0 === value)
1691
+ return true;
1692
+ if (RegExp(/(.*)/).test(key))
1693
+ return ("object" === typeof value && null !== value || $report(_exceptionable2, {
1694
+ path: _path2 + $join(key),
1695
+ expected: "__type.o1",
1696
+ value
1697
+ })) && $vo2(value, _path2 + $join(key), _exceptionable2) || $report(_exceptionable2, {
1698
+ path: _path2 + $join(key),
1699
+ expected: "__type.o1",
1700
+ value
1701
+ });
1702
+ return true;
1703
+ }).every((flag) => flag)].every((flag) => flag);
1704
+ const $vo2 = (input3, _path2, _exceptionable2 = true) => ["string" === typeof input3.color || $report(_exceptionable2, {
1705
+ path: _path2 + ".color",
1706
+ expected: "string",
1707
+ value: input3.color
1708
+ }), "number" === typeof input3.maxLength || $report(_exceptionable2, {
1709
+ path: _path2 + ".maxLength",
1710
+ expected: "number",
1711
+ value: input3.maxLength
1712
+ }), "boolean" === typeof input3.crossedOut || $report(_exceptionable2, {
1713
+ path: _path2 + ".crossedOut",
1714
+ expected: "boolean",
1715
+ value: input3.crossedOut
1716
+ })].every((flag) => flag);
1717
+ return ("object" === typeof input2 && null !== input2 || $report(true, {
1718
+ path: _path + "",
1719
+ expected: "BrainImagingResponse",
1720
+ value: input2
1721
+ })) && $vo0(input2, _path + "", true) || $report(true, {
1722
+ path: _path + "",
1723
+ expected: "BrainImagingResponse",
1724
+ value: input2
1725
+ });
1726
+ })(input, "$input", true);
1727
+ }
1728
+ const success = 0 === errors.length;
1729
+ return {
1730
+ success,
1731
+ errors,
1732
+ data: success ? input : void 0
1733
+ };
1734
+ };
1735
+
1736
+ export {
1737
+ brainImagingPayload,
1738
+ validBrainImagingRequest,
1739
+ validBrainImagingResponse
1740
+ };