@sjcrh/proteinpaint-types 2.98.0 → 2.98.1

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