@sjcrh/proteinpaint-client 2.225.0 → 2.227.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (951) hide show
  1. package/dist/2dmaf-B34EJADN.js +1362 -0
  2. package/dist/AggMatrixInput-USCXGZT2.js +402 -0
  3. package/dist/AggregateMatrix-VLCSBD65.js +37 -0
  4. package/dist/AppHeader-KE7QVEW5.js +826 -0
  5. package/dist/BoxPlot-3H5QKYRD.js +1247 -0
  6. package/dist/CorrelationVolcano-ACEJOJS6.js +613 -0
  7. package/dist/CorrelationVolcano-ACEJOJS6.js.map +7 -0
  8. package/dist/Cuminc-6LPS4LR7.js +1217 -0
  9. package/dist/DE-TTKEQYC7.js +85 -0
  10. package/dist/DEinput-W7WEO2NO.js +483 -0
  11. package/dist/DEinput-W7WEO2NO.js.map +7 -0
  12. package/dist/DM-2TUF6Q3C.js +86 -0
  13. package/dist/DifferentialAnalysis-3LP4RAWF.js +236 -0
  14. package/dist/Disco-UP5C7UWX.js +3445 -0
  15. package/dist/Disco.UI-V4I4LOMF.js +239 -0
  16. package/dist/DmrPlot-TZR2NGIH.js +366 -0
  17. package/dist/GB-4NRY4YMF.js +1388 -0
  18. package/dist/GB-4NRY4YMF.js.map +7 -0
  19. package/dist/GSEA-YGKBRJJO.js +870 -0
  20. package/dist/GeneExpInput-L3J2ECVQ.js +38 -0
  21. package/dist/Geomap-4MHU6F57.js +80 -0
  22. package/dist/HicApp-27VGP5F6.js +2240 -0
  23. package/dist/IDCViewer-37GJPPUY.js +10810 -0
  24. package/dist/NumBinaryEditor-SEC2NDGG.js +274 -0
  25. package/dist/NumBinaryEditor.unit.spec-UDYSUC4S.js +308 -0
  26. package/dist/NumContEditor-YPSYWU2A.js +100 -0
  27. package/dist/NumContEditor.unit.spec-NHFBMHQ5.js +160 -0
  28. package/dist/NumCustomBinEditor-N7US5Q64.js +29 -0
  29. package/dist/NumCustomBinEditor.unit.spec-2BMMUBYU.js +393 -0
  30. package/dist/NumDiscreteEditor-BLQ5DEB7.js +165 -0
  31. package/dist/NumDiscreteEditor.unit.spec-JOFPUFU5.js +229 -0
  32. package/dist/NumRegularBinEditor-7BFPBUW2.js +29 -0
  33. package/dist/NumRegularBinEditor.unit.spec-6GZMNRHA.js +274 -0
  34. package/dist/NumSplineEditor-LO3ZR3T3.js +205 -0
  35. package/dist/NumSplineEditor.unit.spec-MRA3DQSB.js +220 -0
  36. package/dist/NumericDensity-NUCVJZ74.js +29 -0
  37. package/dist/NumericDensity.unit.spec-TZLKWH4U.js +414 -0
  38. package/dist/NumericHandler-NH533VBN.js +30 -0
  39. package/dist/NumericHandler.unit.spec-V7MNEHML.js +225 -0
  40. package/dist/ProteomeInput-FEXWZOA2.js +610 -0
  41. package/dist/Regression-NJAPUGT7.js +1412 -0
  42. package/dist/RunChart2-QIJ6NUWY.js +744 -0
  43. package/dist/SC-5NWBVOEE.js +1290 -0
  44. package/dist/Violin-TMACI43Q.js +1105 -0
  45. package/dist/Volcano-BMLHQEXU.js +2745 -0
  46. package/dist/Volcano-BMLHQEXU.js.map +7 -0
  47. package/dist/Wsi-5TWAOBFG.js +650 -0
  48. package/dist/Wsi-5TWAOBFG.js.map +7 -0
  49. package/dist/aboutSunburst-53YAWTV5.js +93 -0
  50. package/dist/adSandbox-7VHXEI7W.js +29 -0
  51. package/dist/animatedBubbleChart-CTFGJIRR.js +542 -0
  52. package/dist/app-AQAQAPUN.js +38 -0
  53. package/dist/app-SZDIV5U4.js +28 -0
  54. package/dist/app.js +12 -12
  55. package/dist/bam-3U5R2KNC.js +872 -0
  56. package/dist/barchart-ZL5VSR7P.js +38 -0
  57. package/dist/barchart2-YELP2HI7.js +305 -0
  58. package/dist/block-AGX6Z4BR.js +6208 -0
  59. package/dist/block-AGX6Z4BR.js.map +7 -0
  60. package/dist/block.init-IBITFICI.js +29 -0
  61. package/dist/block.mds.expressionrank-4L76ILD4.js +350 -0
  62. package/dist/block.mds.geneboxplot-XA7DFHPV.js +819 -0
  63. package/dist/block.mds.junction-GTZD3HEN.js +1534 -0
  64. package/dist/block.mds.svcnv-HTXQ3LGR.js +6325 -0
  65. package/dist/block.svg-BM6OMVRF.js +155 -0
  66. package/dist/block.tk.aicheck-CV53ULEP.js +274 -0
  67. package/dist/block.tk.bam-KJYFNJCX.js +1906 -0
  68. package/dist/block.tk.bigwig.ui-A352D6PT.js +202 -0
  69. package/dist/block.tk.hicstraw-QAFTQESL.js +814 -0
  70. package/dist/block.tk.junction-XURB4RWZ.js +2353 -0
  71. package/dist/block.tk.junction.textmatrixui-RNRWWNGY.js +190 -0
  72. package/dist/block.tk.ld-GWJMVPX3.js +90 -0
  73. package/dist/block.tk.menu-BJZYFMQX.js +1050 -0
  74. package/dist/block.tk.pgv-7XNJTHEW.js +934 -0
  75. package/dist/brainImaging-37EDZLGN.js +550 -0
  76. package/dist/brainRegions-FEW52QUB.js +213 -0
  77. package/dist/bubbleHeatmap-YN34AA4H.js +374 -0
  78. package/dist/bubbleHeatmap-YN34AA4H.js.map +7 -0
  79. package/dist/cellTypeBubbleHeatmap-X4K63FOK.js +274 -0
  80. package/dist/cellTypeBubbleHeatmap-X4K63FOK.js.map +7 -0
  81. package/dist/chunk-24CVFDVW.js +1219 -0
  82. package/dist/chunk-24CVFDVW.js.map +7 -0
  83. package/dist/chunk-2B3CYHUF.js +30 -0
  84. package/dist/chunk-2IAELUCN.js +348 -0
  85. package/dist/chunk-2W6U53AG.js +195 -0
  86. package/dist/chunk-46GCGTHJ.js +1339 -0
  87. package/dist/chunk-4ZX5KHD7.js +96 -0
  88. package/dist/chunk-544DSOC3.js +466 -0
  89. package/dist/chunk-6CV3YVJD.js +194 -0
  90. package/dist/chunk-6UHSGC6G.js +276 -0
  91. package/dist/chunk-6ZZGFZV2.js +35 -0
  92. package/dist/chunk-72FUMSAN.js +6375 -0
  93. package/dist/chunk-7DC4PD5R.js +182 -0
  94. package/dist/chunk-7ISYXUJ7.js +243 -0
  95. package/dist/chunk-7NVFEGCE.js +30 -0
  96. package/dist/chunk-7PQ6MLKG.js +1253 -0
  97. package/dist/chunk-BGPRKPKH.js +56 -0
  98. package/dist/chunk-BILGOVOR.js +480 -0
  99. package/dist/chunk-BKJLRLQQ.js +2008 -0
  100. package/dist/chunk-BQYMKS7S.js +4521 -0
  101. package/dist/chunk-BQYMKS7S.js.map +7 -0
  102. package/dist/chunk-C4BKP67I.js +123 -0
  103. package/dist/chunk-CFYWQJ7F.js +472 -0
  104. package/dist/chunk-CFYWQJ7F.js.map +7 -0
  105. package/dist/chunk-CQNTAIM3.js +328 -0
  106. package/dist/chunk-CW3IVTRX.js +2685 -0
  107. package/dist/chunk-D7KZWYP5.js +516 -0
  108. package/dist/chunk-DFHERVYA.js +961 -0
  109. package/dist/chunk-DFHERVYA.js.map +7 -0
  110. package/dist/chunk-DNXOZATD.js +848 -0
  111. package/dist/chunk-DXF3YDRG.js +2334 -0
  112. package/dist/chunk-ECBVUPDE.js +626 -0
  113. package/dist/chunk-ES22B563.js +257 -0
  114. package/dist/chunk-FA2B6PKK.js +42 -0
  115. package/dist/chunk-FMHSDIVG.js +2932 -0
  116. package/dist/chunk-G5UFOMON.js +255 -0
  117. package/dist/chunk-GKA6USKV.js +550 -0
  118. package/dist/chunk-HGIPR72Y.js +299 -0
  119. package/dist/chunk-IBUDYN5E.js +468 -0
  120. package/dist/chunk-J37WYVIZ.js +418 -0
  121. package/dist/chunk-JG5CF5Q3.js +397 -0
  122. package/dist/chunk-JI632MAR.js +400 -0
  123. package/dist/chunk-JI632MAR.js.map +7 -0
  124. package/dist/chunk-JKPMBNRM.js +100 -0
  125. package/dist/chunk-JKPMBNRM.js.map +7 -0
  126. package/dist/chunk-JSQH233D.js +263 -0
  127. package/dist/chunk-JWWLSDVM.js +296 -0
  128. package/dist/chunk-KGK4JJ4L.js +830 -0
  129. package/dist/chunk-KGK4JJ4L.js.map +7 -0
  130. package/dist/chunk-KTJUDDVQ.js +340 -0
  131. package/dist/chunk-MY5MF4RI.js +55 -0
  132. package/dist/chunk-P4ZGUPGA.js +56 -0
  133. package/dist/chunk-PQDYA3ZQ.js +274 -0
  134. package/dist/chunk-PVJ6IIFA.js +176 -0
  135. package/dist/chunk-QGG5MTIL.js +161 -0
  136. package/dist/chunk-QGG5MTIL.js.map +7 -0
  137. package/dist/chunk-QKVKQD6S.js +184 -0
  138. package/dist/chunk-QNACCFOA.js +48 -0
  139. package/dist/chunk-QNACCFOA.js.map +7 -0
  140. package/dist/chunk-R6O3FLKW.js +141 -0
  141. package/dist/chunk-RFQQRF6Q.js +54 -0
  142. package/dist/chunk-RG27DDKN.js +267 -0
  143. package/dist/chunk-SB5DR4NL.js +562 -0
  144. package/dist/chunk-SF42FFDZ.js +2799 -0
  145. package/dist/chunk-SORR4JHU.js +14 -0
  146. package/dist/chunk-SZEBQMZW.js +50 -0
  147. package/dist/chunk-THDOHHDN.js +102 -0
  148. package/dist/chunk-TXDCZOPG.js +305 -0
  149. package/dist/chunk-U6GSEOBY.js +54 -0
  150. package/dist/chunk-UBTNM5RO.js +203 -0
  151. package/dist/chunk-UHZDDPUU.js +444 -0
  152. package/dist/chunk-UVES3USV.js +134 -0
  153. package/dist/chunk-UYA5LCAR.js +281 -0
  154. package/dist/chunk-VHEXNBCO.js +379 -0
  155. package/dist/chunk-VJJJFEOU.js +96 -0
  156. package/dist/chunk-VJJJFEOU.js.map +7 -0
  157. package/dist/chunk-VPRP24DY.js +2095 -0
  158. package/dist/chunk-VPRP24DY.js.map +7 -0
  159. package/dist/chunk-VVWZ4BOI.js +2349 -0
  160. package/dist/chunk-WENNRY5E.js +170 -0
  161. package/dist/chunk-WTLUZOBK.js +103 -0
  162. package/dist/chunk-YBXQBSFY.js +26888 -0
  163. package/dist/chunk-YBXQBSFY.js.map +7 -0
  164. package/dist/chunk-ZLEGHQOO.js +217 -0
  165. package/dist/chunk-ZO7KUAIF.js +5258 -0
  166. package/dist/chunk-ZO7KUAIF.js.map +7 -0
  167. package/dist/chunk-ZX7527EE.js +240 -0
  168. package/dist/cohort-NKRTCX5Z.js +66 -0
  169. package/dist/cohortSunburst-DFJW6WXU.js +402 -0
  170. package/dist/condition-PYFOEVX5.js +323 -0
  171. package/dist/controls-RVNIN66W.js +30 -0
  172. package/dist/controls.config-XVEYYBI4.js +30 -0
  173. package/dist/correlation-MNL4DGSW.js +91 -0
  174. package/dist/customdata.inputui-WFIIJATQ.js +280 -0
  175. package/dist/dataDownload-CMSP5FA4.js +326 -0
  176. package/dist/databrowser.ui-FYZPXXEJ.js +424 -0
  177. package/dist/dictionary-76BXY6WU.js +109 -0
  178. package/dist/dnaMethylation-WTIJVNIU.js +29 -0
  179. package/dist/dnaMethylation.integration.spec-YXQEFLC5.js +194 -0
  180. package/dist/dnaMethylation.unit.spec-22FLJWVB.js +95 -0
  181. package/dist/dnaMethylation.unit.spec-22FLJWVB.js.map +7 -0
  182. package/dist/dofetch-XID2XEJT.js +49 -0
  183. package/dist/e2pca-DD6DA7X3.js +340 -0
  184. package/dist/ep-S4PI4AUJ.js +1247 -0
  185. package/dist/expclust.gdc.spec-BDV4RJO6.js +298 -0
  186. package/dist/facet-EOXEW2LN.js +556 -0
  187. package/dist/gb-AKE7RDPB.js +77 -0
  188. package/dist/geneExpClustering-73ED7HIN.js +240 -0
  189. package/dist/geneExpression-AEJILDKJ.js +29 -0
  190. package/dist/geneExpression-NXDXXKEA.js +309 -0
  191. package/dist/geneExpression.unit.spec-VUJWR4TA.js +150 -0
  192. package/dist/geneExpression.unit.spec-VUJWR4TA.js.map +7 -0
  193. package/dist/geneORA-7KFQ4PW2.js +269 -0
  194. package/dist/geneRanking-RKJU4PM2.js +544 -0
  195. package/dist/geneVariant-2AGC3ECG.js +32 -0
  196. package/dist/geneVariant-PWMXP6H4.js +289 -0
  197. package/dist/geneVariant-PWMXP6H4.js.map +7 -0
  198. package/dist/geneVariant.integration.spec-UJXGQEZG.js +672 -0
  199. package/dist/genefusion.ui-KEBOA3TK.js +299 -0
  200. package/dist/geneset-BU6V3CB5.js +199 -0
  201. package/dist/genomeBrowser.spec-BGQHJZKH.js +272 -0
  202. package/dist/grin2-OUZN5LOU.js +66 -0
  203. package/dist/grin2-WRGQ7BDG.js +945 -0
  204. package/dist/hierCluster-3ERW47JJ.js +51 -0
  205. package/dist/hierCluster-JAFKBC6C.js +55 -0
  206. package/dist/hierCluster.config-QIJNY5OD.js +32 -0
  207. package/dist/hierCluster.integration.spec-XA4K3UU6.js +479 -0
  208. package/dist/hierCluster.interactivity-RDFPQOOP.js +45 -0
  209. package/dist/hierCluster.renderers-SU5IYI33.js +18 -0
  210. package/dist/imagePlot-J4PHG7V2.js +152 -0
  211. package/dist/importPlot-U67MZZXY.js +8 -0
  212. package/dist/isoformExpression-K5BCDJLL.js +31 -0
  213. package/dist/isoformExpression.unit.spec-35FHEO27.js +233 -0
  214. package/dist/junction-6GGWFF2J.js +32 -0
  215. package/dist/junction.unit.spec-7EJK4HML.js +224 -0
  216. package/dist/junction.unit.spec-7EJK4HML.js.map +7 -0
  217. package/dist/launch.adhoc-ONCSL65L.js +33 -0
  218. package/dist/leftlabel.sample-H5G3U7AA.js +260 -0
  219. package/dist/leftlabel.sample-H5G3U7AA.js.map +7 -0
  220. package/dist/lollipop-BWP4BG7Q.js +162 -0
  221. package/dist/maf-GV6JHWYK.js +451 -0
  222. package/dist/maftimeline-HE7XLJWG.js +583 -0
  223. package/dist/matrix-IAM6SA7K.js +50 -0
  224. package/dist/matrix-QF5MBV5Y.js +55 -0
  225. package/dist/matrix.cells-A5E63KDN.js +25 -0
  226. package/dist/matrix.config-VLRMO7J2.js +33 -0
  227. package/dist/matrix.data-R4FW2PQH.js +22 -0
  228. package/dist/matrix.groups-3UH2KOIY.js +25 -0
  229. package/dist/matrix.integration.spec-57YYARQU.js +3156 -0
  230. package/dist/matrix.interactivity-KNRJSSTQ.js +33 -0
  231. package/dist/matrix.layout-OMNDDITA.js +35 -0
  232. package/dist/matrix.legend-SE7SQTNN.js +19 -0
  233. package/dist/matrix.renderers-6MMW7XMU.js +30 -0
  234. package/dist/matrix.serieses-BEZCQDLJ.js +18 -0
  235. package/dist/matrix.sort-KRNS4VPF.js +25 -0
  236. package/dist/matrix.sort.unit.spec-UXTQPKVV.js +464 -0
  237. package/dist/matrix.sorterUi.unit.spec-LJJ7GCEB.js +334 -0
  238. package/dist/matrix.unit.spec-2OSFPN5T.js +146 -0
  239. package/dist/mavb-CZAZO6AO.js +726 -0
  240. package/dist/mds.samplescatterplot-ENSEO2VX.js +1545 -0
  241. package/dist/mds.survivalplot-QSKD6FSX.js +472 -0
  242. package/dist/multivalue-FZTFADA2.js +79 -0
  243. package/dist/numericDictTermCluster-IFIEM3E4.js +62 -0
  244. package/dist/oncomatrix-GZKCAMSR.js +286 -0
  245. package/dist/oncomatrix.spec-FTLMVGTH.js +439 -0
  246. package/dist/plot.2dvaf-PWO4XOFU.js +368 -0
  247. package/dist/plot.app-JYBZEBHK.js +32 -0
  248. package/dist/plot.barplot-PA2PDVOB.js +93 -0
  249. package/dist/plot.boxplot-IHIEWQWG.js +142 -0
  250. package/dist/plot.brainImaging-WQ2WWEW3.js +51 -0
  251. package/dist/plot.disco-QIURLAHA.js +100 -0
  252. package/dist/plot.ssgq-T27XDC4K.js +130 -0
  253. package/dist/plot.vaf2cov-Y2DJRQED.js +249 -0
  254. package/dist/polar2-3MFBRZ4G.js +228 -0
  255. package/dist/profileForms-J3O7XDHY.js +937 -0
  256. package/dist/profilePlot-C45ERAOZ.js +45 -0
  257. package/dist/proteinView-F2EVY7V5.js +1346 -0
  258. package/dist/proteinView-F2EVY7V5.js.map +7 -0
  259. package/dist/proteomeCohortCompare-2IS7GNJZ.js +866 -0
  260. package/dist/pseudbulk.unit.spec-SY3ATAPK.js +82 -0
  261. package/dist/pseudobulk-N6WNHKAC.js +31 -0
  262. package/dist/qualitative-SKUTWJLA.js +34 -0
  263. package/dist/qualitative-XWN5V3EE.js +241 -0
  264. package/dist/radar2-AHZME5CF.js +323 -0
  265. package/dist/radarFacility2-CVEVC4U5.js +331 -0
  266. package/dist/render-S47OJIIP.js +29 -0
  267. package/dist/report-IPX3PKSW.js +213 -0
  268. package/dist/sampleView-OZQUKPVV.js +39 -0
  269. package/dist/samplelst-7XXJTJ4J.js +114 -0
  270. package/dist/samplematrix-JN35HJBG.js +2188 -0
  271. package/dist/sc-6ZHDNPYP.js +77 -0
  272. package/dist/scatter-4MP6TG67.js +84 -0
  273. package/dist/scatter-TRMY47CC.js +919 -0
  274. package/dist/selectGenomeWithTklst-UDNTL544.js +125 -0
  275. package/dist/singleCellCellType-UXABRPQQ.js +29 -0
  276. package/dist/singleCellCellType.unit.spec-N22EQMZW.js +150 -0
  277. package/dist/singleCellGeneExpression-OBPVP6IU.js +29 -0
  278. package/dist/singleCellGeneExpression.unit.spec-NVCFU5B4.js +144 -0
  279. package/dist/singleCellNumericValue-Z2X3LLRB.js +29 -0
  280. package/dist/singleCellNumericValue.unit.spec-Q7DCQHEE.js +412 -0
  281. package/dist/singleCellPlot-S5N6ZEEA.js +44 -0
  282. package/dist/singlecell-OK2P4AS2.js +1562 -0
  283. package/dist/singlecell-RI6HA3NI.js +77 -0
  284. package/dist/snp-XRM2UAEJ.js +29 -0
  285. package/dist/snp.unit.spec-CDTYGH4K.js +167 -0
  286. package/dist/snplocus-CAUGDRZE.js +200 -0
  287. package/dist/snplst-DP533FL2.js +36 -0
  288. package/dist/spliceevent.a53ss.diagram-XWEN4UMO.js +142 -0
  289. package/dist/spliceevent.exonskip.diagram-HBXQOUT4.js +274 -0
  290. package/dist/spliceevent.noeventdiagram-ORQJ62ON.js +451 -0
  291. package/dist/ssGSEA-PLDZ2556.js +29 -0
  292. package/dist/ssGSEA.unit.spec-ORFJFZJY.js +79 -0
  293. package/dist/stattable-GVRVRO2Y.js +112 -0
  294. package/dist/studyCatalog-K46WJHC6.js +457 -0
  295. package/dist/summarizeCnvGeneexp-7WSJTWKH.js +154 -0
  296. package/dist/summarizeGeneexpSurvival-H3TW7I4I.js +101 -0
  297. package/dist/summarizeMutationCnv-JOYXEMFP.js +155 -0
  298. package/dist/summarizeMutationDiagnosis-GBIGXFY5.js +31 -0
  299. package/dist/summarizeMutationSurvival-3RULG3KW.js +95 -0
  300. package/dist/summary-VKLFTPC2.js +40 -0
  301. package/dist/summary.integration.spec-EK3MPFVD.js +405 -0
  302. package/dist/summaryInput-POI5KQSP.js +238 -0
  303. package/dist/sunburst-BIVYHF5R.js +274 -0
  304. package/dist/sunburst-SYHQOCGQ.js +34 -0
  305. package/dist/survival-CG2GQ4YY.js +1248 -0
  306. package/dist/survival-NEO3E2HS.js +49 -0
  307. package/dist/survival.integration.spec-PPK5KO4V.js +609 -0
  308. package/dist/svgraph-Q2U2HEMF.js +1377 -0
  309. package/dist/svmr-HKFHKGLI.js +3574 -0
  310. package/dist/svmr-HKFHKGLI.js.map +7 -0
  311. package/dist/swimmer-GA4C6YH7.js +993 -0
  312. package/dist/table-DJJIES6L.js +192 -0
  313. package/dist/termCollection-CHVUM5C6.js +247 -0
  314. package/dist/termCollection-R3LTBPJ4.js +29 -0
  315. package/dist/termCollection.unit.spec-B7KAAOFT.js +295 -0
  316. package/dist/termCollectionFractionSelection-A72QM36J.js +38 -0
  317. package/dist/termCollectionFractionSelection.unit.spec-JR77QEIG.js +184 -0
  318. package/dist/tk-GRGKFATN.js +38 -0
  319. package/dist/tk-WV2G2UPY.js +1224 -0
  320. package/dist/tk-WV2G2UPY.js.map +7 -0
  321. package/dist/tp.ui-NATRJ5EN.js +1453 -0
  322. package/dist/tvs.categorical-U2ZYLPSW.js +28 -0
  323. package/dist/tvs.condition-6EBZALR4.js +160 -0
  324. package/dist/tvs.dt-H626ESMQ.js +34 -0
  325. package/dist/tvs.dtcnv.categorical-6S7INDYC.js +31 -0
  326. package/dist/tvs.dtcnv.continuous-MLYNEMHI.js +72 -0
  327. package/dist/tvs.dtfusion-2OLY6X7G.js +31 -0
  328. package/dist/tvs.dtitd-Z6MEL5SH.js +31 -0
  329. package/dist/tvs.dtsnvindel-HPBQSCYV.js +31 -0
  330. package/dist/tvs.dtsv-BRRNX64J.js +31 -0
  331. package/dist/tvs.multivalue-H2G7WKAL.js +84 -0
  332. package/dist/tvs.numeric-OKYGMQSK.js +32 -0
  333. package/dist/tvs.samplelst-46FGACU7.js +95 -0
  334. package/dist/tvs.survival-QL4KC3SQ.js +110 -0
  335. package/dist/tvs.termCollection-22DFW3PF.js +118 -0
  336. package/dist/vocabulary-LJEERZJ6.js +32 -0
  337. package/dist/wsi.direct-3GGVEVQ4.js +11600 -0
  338. package/dist/wsi.direct-3GGVEVQ4.js.map +7 -0
  339. package/package.json +3 -3
  340. package/dist/2dmaf-4W2R2HXG.js +0 -1362
  341. package/dist/AggMatrixInput-3SQ7UW5L.js +0 -402
  342. package/dist/AggregateMatrix-QI55DXDU.js +0 -37
  343. package/dist/AppHeader-C26OHIUQ.js +0 -826
  344. package/dist/BoxPlot-27OYBGJ3.js +0 -1247
  345. package/dist/CorrelationVolcano-XIMXCSHG.js +0 -613
  346. package/dist/CorrelationVolcano-XIMXCSHG.js.map +0 -7
  347. package/dist/Cuminc-737O733E.js +0 -1217
  348. package/dist/DE-EDTGDY6L.js +0 -85
  349. package/dist/DEinput-ZN76I5M5.js +0 -479
  350. package/dist/DEinput-ZN76I5M5.js.map +0 -7
  351. package/dist/DM-25IRANGL.js +0 -86
  352. package/dist/DifferentialAnalysis-7HQYEA5T.js +0 -236
  353. package/dist/Disco-4YNXWGRX.js +0 -3445
  354. package/dist/Disco.UI-67HBGS4Y.js +0 -239
  355. package/dist/DmrPlot-KZVDVPUT.js +0 -366
  356. package/dist/GB-HT3B7Y7R.js +0 -1388
  357. package/dist/GB-HT3B7Y7R.js.map +0 -7
  358. package/dist/GSEA-CMFMNK5Y.js +0 -870
  359. package/dist/GeneExpInput-HMGV23E7.js +0 -38
  360. package/dist/Geomap-RB4SGVPC.js +0 -80
  361. package/dist/HicApp-YRP6YQFA.js +0 -2240
  362. package/dist/IDCViewer-OUSOZNSR.js +0 -10810
  363. package/dist/NumBinaryEditor-YFQDPBB6.js +0 -274
  364. package/dist/NumBinaryEditor.unit.spec-6YC5PCPK.js +0 -308
  365. package/dist/NumContEditor-EH6MA2RW.js +0 -100
  366. package/dist/NumContEditor.unit.spec-Q2JBVIRT.js +0 -160
  367. package/dist/NumCustomBinEditor-USQA3BC6.js +0 -29
  368. package/dist/NumCustomBinEditor.unit.spec-PE2HFRCK.js +0 -393
  369. package/dist/NumDiscreteEditor-VKE4WT24.js +0 -165
  370. package/dist/NumDiscreteEditor.unit.spec-JNG673LE.js +0 -229
  371. package/dist/NumRegularBinEditor-KCCPGJSX.js +0 -29
  372. package/dist/NumRegularBinEditor.unit.spec-4BLKQRZU.js +0 -274
  373. package/dist/NumSplineEditor-4YELHGUO.js +0 -205
  374. package/dist/NumSplineEditor.unit.spec-CKHHK6GH.js +0 -220
  375. package/dist/NumericDensity-LCFM7VSY.js +0 -29
  376. package/dist/NumericDensity.unit.spec-R4ARTJ5I.js +0 -414
  377. package/dist/NumericHandler-2OHRSY6Z.js +0 -30
  378. package/dist/NumericHandler.unit.spec-M3TRIFZW.js +0 -225
  379. package/dist/ProteomeInput-G2EP6QH2.js +0 -610
  380. package/dist/Regression-2HKE6C7F.js +0 -1412
  381. package/dist/RunChart2-WRVW63PB.js +0 -744
  382. package/dist/SC-37RDNFGH.js +0 -1290
  383. package/dist/Violin-KD6FPWC7.js +0 -1105
  384. package/dist/Volcano-U62TCDEL.js +0 -2748
  385. package/dist/Volcano-U62TCDEL.js.map +0 -7
  386. package/dist/Wsi-PB77PVAA.js +0 -637
  387. package/dist/Wsi-PB77PVAA.js.map +0 -7
  388. package/dist/aboutSunburst-5Z24ODIN.js +0 -93
  389. package/dist/adSandbox-AFORHU3V.js +0 -29
  390. package/dist/animatedBubbleChart-F75OBRZW.js +0 -542
  391. package/dist/app-4RZ76DZZ.js +0 -28
  392. package/dist/app-IHE3RNI5.js +0 -38
  393. package/dist/bam-IIRZX3IK.js +0 -872
  394. package/dist/barchart-UIHRIMOE.js +0 -38
  395. package/dist/barchart2-DG3S6FDJ.js +0 -305
  396. package/dist/block-COZKGPXY.js +0 -6203
  397. package/dist/block-COZKGPXY.js.map +0 -7
  398. package/dist/block.init-UBXYVTPQ.js +0 -29
  399. package/dist/block.mds.expressionrank-KSXPPPGR.js +0 -350
  400. package/dist/block.mds.geneboxplot-5RDFDVDE.js +0 -819
  401. package/dist/block.mds.junction-LMM24KXJ.js +0 -1534
  402. package/dist/block.mds.svcnv-4XRXZMPS.js +0 -6325
  403. package/dist/block.svg-VAKLMPMS.js +0 -155
  404. package/dist/block.tk.aicheck-6GHZK2YY.js +0 -274
  405. package/dist/block.tk.bam-7H3BSHR2.js +0 -1906
  406. package/dist/block.tk.bigwig.ui-KX2GACY5.js +0 -202
  407. package/dist/block.tk.hicstraw-OOWEWGMF.js +0 -814
  408. package/dist/block.tk.junction-U7W36OZA.js +0 -2353
  409. package/dist/block.tk.junction.textmatrixui-PAMSBYZT.js +0 -190
  410. package/dist/block.tk.ld-RFQPDG7Q.js +0 -90
  411. package/dist/block.tk.menu-JDJU2OGK.js +0 -1050
  412. package/dist/block.tk.pgv-G2UFCQUT.js +0 -934
  413. package/dist/brainImaging-ASAHWZJH.js +0 -550
  414. package/dist/brainRegions-XTJDLUU4.js +0 -213
  415. package/dist/bubbleHeatmap-UPUITTU6.js +0 -374
  416. package/dist/bubbleHeatmap-UPUITTU6.js.map +0 -7
  417. package/dist/cellTypeBubbleHeatmap-25SOXC2Q.js +0 -274
  418. package/dist/cellTypeBubbleHeatmap-25SOXC2Q.js.map +0 -7
  419. package/dist/chunk-2ZYAC3DC.js +0 -299
  420. package/dist/chunk-325X3T7G.js +0 -692
  421. package/dist/chunk-325X3T7G.js.map +0 -7
  422. package/dist/chunk-3UXHTSZJ.js +0 -159
  423. package/dist/chunk-3UXHTSZJ.js.map +0 -7
  424. package/dist/chunk-4DFKK46J.js +0 -96
  425. package/dist/chunk-54W2RWRB.js +0 -123
  426. package/dist/chunk-5QGC2624.js +0 -54
  427. package/dist/chunk-5YKXYWP3.js +0 -480
  428. package/dist/chunk-6B4AME6E.js +0 -4389
  429. package/dist/chunk-6B4AME6E.js.map +0 -7
  430. package/dist/chunk-6H4FFHFQ.js +0 -82
  431. package/dist/chunk-6H4FFHFQ.js.map +0 -7
  432. package/dist/chunk-72QBXULB.js +0 -102
  433. package/dist/chunk-7APH7QLC.js +0 -141
  434. package/dist/chunk-7HBAALWJ.js +0 -2685
  435. package/dist/chunk-7UK7CU4F.js +0 -398
  436. package/dist/chunk-7UK7CU4F.js.map +0 -7
  437. package/dist/chunk-7ZTUUKLX.js +0 -203
  438. package/dist/chunk-A7GCFL3R.js +0 -30
  439. package/dist/chunk-AGWIWLOP.js +0 -14
  440. package/dist/chunk-CHQ43UJQ.js +0 -397
  441. package/dist/chunk-CQWR4QZO.js +0 -70
  442. package/dist/chunk-CQWR4QZO.js.map +0 -7
  443. package/dist/chunk-D6TLBMIX.js +0 -1339
  444. package/dist/chunk-DDABG5BR.js +0 -328
  445. package/dist/chunk-DR5JLHTB.js +0 -35
  446. package/dist/chunk-E2Z4X6C2.js +0 -55
  447. package/dist/chunk-E4WAVMI5.js +0 -194
  448. package/dist/chunk-EM76Y3HQ.js +0 -1253
  449. package/dist/chunk-ES7XNERS.js +0 -468
  450. package/dist/chunk-F2RTD23W.js +0 -848
  451. package/dist/chunk-FEE2HAON.js +0 -418
  452. package/dist/chunk-G5BQJGRA.js +0 -2799
  453. package/dist/chunk-GAYYXHOG.js +0 -257
  454. package/dist/chunk-GDIKNIEA.js +0 -263
  455. package/dist/chunk-GIZTZCE5.js +0 -195
  456. package/dist/chunk-GONC3LVY.js +0 -626
  457. package/dist/chunk-HGC4EON3.js +0 -348
  458. package/dist/chunk-HM23KADV.js +0 -281
  459. package/dist/chunk-I7R6YROK.js +0 -267
  460. package/dist/chunk-JWX6GEWQ.js +0 -276
  461. package/dist/chunk-K4LZR3HU.js +0 -56
  462. package/dist/chunk-K55KOEI6.js +0 -6375
  463. package/dist/chunk-K7YJILBY.js +0 -5254
  464. package/dist/chunk-K7YJILBY.js.map +0 -7
  465. package/dist/chunk-KLJM7HE5.js +0 -2349
  466. package/dist/chunk-LFH5VSSF.js +0 -176
  467. package/dist/chunk-MBWG3QHI.js +0 -1219
  468. package/dist/chunk-MBWG3QHI.js.map +0 -7
  469. package/dist/chunk-MZTVOOR6.js +0 -56
  470. package/dist/chunk-N2JOZ3QD.js +0 -444
  471. package/dist/chunk-NG2U3VHX.js +0 -170
  472. package/dist/chunk-NUGYNLTL.js +0 -2334
  473. package/dist/chunk-OCOB7XJW.js +0 -2008
  474. package/dist/chunk-OGDBTL5C.js +0 -54
  475. package/dist/chunk-OOVVKQSD.js +0 -26747
  476. package/dist/chunk-OOVVKQSD.js.map +0 -7
  477. package/dist/chunk-PAF5KZCR.js +0 -2932
  478. package/dist/chunk-PPICALUF.js +0 -2102
  479. package/dist/chunk-PPICALUF.js.map +0 -7
  480. package/dist/chunk-QFOT5WAZ.js +0 -134
  481. package/dist/chunk-QFQJO7LD.js +0 -472
  482. package/dist/chunk-QFQJO7LD.js.map +0 -7
  483. package/dist/chunk-QGCB5AKN.js +0 -243
  484. package/dist/chunk-QRZRAMHA.js +0 -184
  485. package/dist/chunk-RGOZHZCN.js +0 -103
  486. package/dist/chunk-RJKY22D4.js +0 -240
  487. package/dist/chunk-RZ2HG7G3.js +0 -102
  488. package/dist/chunk-RZ2HG7G3.js.map +0 -7
  489. package/dist/chunk-SI2KSG6E.js +0 -379
  490. package/dist/chunk-U4PLKSSS.js +0 -50
  491. package/dist/chunk-U7G65D2G.js +0 -466
  492. package/dist/chunk-UU3FWU6D.js +0 -305
  493. package/dist/chunk-UXLT7W2N.js +0 -562
  494. package/dist/chunk-VHQDN3OA.js +0 -182
  495. package/dist/chunk-VTMNHAFC.js +0 -30
  496. package/dist/chunk-W3K7KLIR.js +0 -217
  497. package/dist/chunk-WSLS55SH.js +0 -296
  498. package/dist/chunk-XQIB27PB.js +0 -516
  499. package/dist/chunk-XSBGICK5.js +0 -652
  500. package/dist/chunk-XSBGICK5.js.map +0 -7
  501. package/dist/chunk-YHW2RAAG.js +0 -274
  502. package/dist/chunk-Z7CCL464.js +0 -550
  503. package/dist/chunk-ZBNPXXMK.js +0 -42
  504. package/dist/chunk-ZNHC46CT.js +0 -340
  505. package/dist/chunk-ZSTD6Y3K.js +0 -255
  506. package/dist/cohort-ZFGFEEBD.js +0 -66
  507. package/dist/cohortSunburst-EEPGV2RB.js +0 -402
  508. package/dist/condition-7EWFLQSO.js +0 -323
  509. package/dist/controls-QHDSDWKI.js +0 -30
  510. package/dist/controls.config-LBSCZ6GP.js +0 -30
  511. package/dist/correlation-IJQJPNNP.js +0 -91
  512. package/dist/customdata.inputui-TZGX2CUD.js +0 -280
  513. package/dist/dataDownload-33EWD3AD.js +0 -326
  514. package/dist/databrowser.ui-YNKDTAAN.js +0 -424
  515. package/dist/dictionary-OTR6Z5EZ.js +0 -109
  516. package/dist/dnaMethylation-LQTCTOOE.js +0 -29
  517. package/dist/dnaMethylation.integration.spec-U5VQYAK3.js +0 -194
  518. package/dist/dofetch-HLG7G7RX.js +0 -49
  519. package/dist/e2pca-AXDPYR7U.js +0 -340
  520. package/dist/ep-4WK46CH7.js +0 -1247
  521. package/dist/expclust.gdc.spec-CYGWGREQ.js +0 -298
  522. package/dist/facet-IZSSZDHK.js +0 -556
  523. package/dist/gb-AUZBUZFM.js +0 -77
  524. package/dist/geneExpClustering-AQBFLXLP.js +0 -240
  525. package/dist/geneExpression-HDJVPVPK.js +0 -309
  526. package/dist/geneExpression-V4JMTMLI.js +0 -29
  527. package/dist/geneExpression.unit.spec-KFMSDVMX.js +0 -151
  528. package/dist/geneExpression.unit.spec-KFMSDVMX.js.map +0 -7
  529. package/dist/geneORA-LDFFSEMQ.js +0 -269
  530. package/dist/geneRanking-IVKDSNDV.js +0 -544
  531. package/dist/geneVariant-7X7EEUDW.js +0 -289
  532. package/dist/geneVariant-7X7EEUDW.js.map +0 -7
  533. package/dist/geneVariant-TK3FJ22L.js +0 -32
  534. package/dist/geneVariant.integration.spec-ZHAFWQ2O.js +0 -672
  535. package/dist/genefusion.ui-U5YPVXAF.js +0 -299
  536. package/dist/geneset-NSHQ2NDR.js +0 -199
  537. package/dist/genomeBrowser.spec-HP4OQPCV.js +0 -272
  538. package/dist/grin2-5WKONQPG.js +0 -66
  539. package/dist/grin2-V2ZBOJBO.js +0 -945
  540. package/dist/hierCluster-7IOPNYFN.js +0 -55
  541. package/dist/hierCluster-IDBCUKHJ.js +0 -51
  542. package/dist/hierCluster.config-Z4NRL5P5.js +0 -32
  543. package/dist/hierCluster.integration.spec-PHEXOGPI.js +0 -479
  544. package/dist/hierCluster.interactivity-NHZ5EPBV.js +0 -45
  545. package/dist/hierCluster.renderers-WXJUMDFN.js +0 -18
  546. package/dist/imagePlot-NMNCAYS7.js +0 -152
  547. package/dist/importPlot-HZML5XMJ.js +0 -8
  548. package/dist/isoformExpression-4IU4AUQ2.js +0 -31
  549. package/dist/isoformExpression.unit.spec-KKMKU5Z2.js +0 -233
  550. package/dist/junction-EXA2WANI.js +0 -32
  551. package/dist/junction.unit.spec-H3FGTLEP.js +0 -178
  552. package/dist/junction.unit.spec-H3FGTLEP.js.map +0 -7
  553. package/dist/launch.adhoc-YA6FRHSC.js +0 -33
  554. package/dist/leftlabel.sample-N6M4OL2X.js +0 -254
  555. package/dist/leftlabel.sample-N6M4OL2X.js.map +0 -7
  556. package/dist/lollipop-EWLGYDIR.js +0 -162
  557. package/dist/maf-PXMHR3PY.js +0 -451
  558. package/dist/maftimeline-QFKT7PW2.js +0 -583
  559. package/dist/matrix-KASG3KIY.js +0 -55
  560. package/dist/matrix-VSX63V3L.js +0 -50
  561. package/dist/matrix.cells-7TTOQRWU.js +0 -25
  562. package/dist/matrix.config-U3I726EC.js +0 -33
  563. package/dist/matrix.data-Y4DXSR2P.js +0 -22
  564. package/dist/matrix.groups-C5CHYWQZ.js +0 -25
  565. package/dist/matrix.integration.spec-4KWLFXMY.js +0 -3156
  566. package/dist/matrix.interactivity-JK6URU6Z.js +0 -33
  567. package/dist/matrix.layout-KKOA7GGL.js +0 -35
  568. package/dist/matrix.legend-3FFHXTLX.js +0 -19
  569. package/dist/matrix.renderers-F7EWYQWL.js +0 -30
  570. package/dist/matrix.serieses-I4JWWONC.js +0 -18
  571. package/dist/matrix.sort-5JTCLBPB.js +0 -25
  572. package/dist/matrix.sort.unit.spec-EW53F5DT.js +0 -464
  573. package/dist/matrix.sorterUi.unit.spec-OGTYY6GC.js +0 -334
  574. package/dist/matrix.unit.spec-RXKKHRUN.js +0 -146
  575. package/dist/mavb-YI2WEGFI.js +0 -726
  576. package/dist/mds.samplescatterplot-GGJE67MF.js +0 -1545
  577. package/dist/mds.survivalplot-A6DS6FHO.js +0 -472
  578. package/dist/multivalue-3WCYDVL3.js +0 -79
  579. package/dist/numericDictTermCluster-AOTEPNEI.js +0 -62
  580. package/dist/oncomatrix-BB4SB5AJ.js +0 -286
  581. package/dist/oncomatrix.spec-M4ZC3KFC.js +0 -439
  582. package/dist/plot.2dvaf-QUD743E6.js +0 -368
  583. package/dist/plot.app-35I4DJXK.js +0 -32
  584. package/dist/plot.barplot-7OL4HWZB.js +0 -93
  585. package/dist/plot.boxplot-N2VSPDYA.js +0 -142
  586. package/dist/plot.brainImaging-4PIAFROV.js +0 -51
  587. package/dist/plot.disco-6CFYMWU3.js +0 -100
  588. package/dist/plot.ssgq-MGUBQNWE.js +0 -130
  589. package/dist/plot.vaf2cov-KVI2GMG4.js +0 -249
  590. package/dist/polar2-IGAOHGPE.js +0 -228
  591. package/dist/profileForms-MW7JQURG.js +0 -937
  592. package/dist/profilePlot-OVOSFR47.js +0 -45
  593. package/dist/proteinView-LFP5YYMK.js +0 -1346
  594. package/dist/proteinView-LFP5YYMK.js.map +0 -7
  595. package/dist/proteomeCohortCompare-ONYL2UN4.js +0 -866
  596. package/dist/pseudbulk.unit.spec-CGV4JTEK.js +0 -82
  597. package/dist/pseudobulk-WFCQX5KR.js +0 -31
  598. package/dist/qualitative-4SLUE6BW.js +0 -241
  599. package/dist/qualitative-6H674T7D.js +0 -34
  600. package/dist/radar2-QXHO2MQA.js +0 -323
  601. package/dist/radarFacility2-JCVOYMH4.js +0 -331
  602. package/dist/render-IIFS3Y2N.js +0 -29
  603. package/dist/report-NFBB3PUI.js +0 -213
  604. package/dist/sampleView-XQXKIPC7.js +0 -39
  605. package/dist/samplelst-RIC5E2W4.js +0 -114
  606. package/dist/samplematrix-WLCFCPBR.js +0 -2188
  607. package/dist/sc-TXRF7D6F.js +0 -77
  608. package/dist/scatter-JUGGPR4B.js +0 -919
  609. package/dist/scatter-YQ47446T.js +0 -84
  610. package/dist/selectGenomeWithTklst-2ELB6HQK.js +0 -125
  611. package/dist/singleCellCellType-DUTH4SZF.js +0 -29
  612. package/dist/singleCellCellType.unit.spec-PWP6I5PZ.js +0 -150
  613. package/dist/singleCellGeneExpression-3563T7GE.js +0 -29
  614. package/dist/singleCellGeneExpression.unit.spec-66IDCFJC.js +0 -144
  615. package/dist/singleCellNumericValue-XVQTKLTS.js +0 -29
  616. package/dist/singleCellNumericValue.unit.spec-LJSTGKNS.js +0 -412
  617. package/dist/singleCellPlot-MKYJJXSG.js +0 -44
  618. package/dist/singlecell-ANCWPAAO.js +0 -1562
  619. package/dist/singlecell-KMRVFOC5.js +0 -77
  620. package/dist/snp-B5UHGWVD.js +0 -29
  621. package/dist/snp.unit.spec-YAHITASM.js +0 -167
  622. package/dist/snplocus-MLGICRGT.js +0 -200
  623. package/dist/snplst-DZPIQEKI.js +0 -36
  624. package/dist/spliceevent.a53ss.diagram-4NYPSFC2.js +0 -142
  625. package/dist/spliceevent.exonskip.diagram-WLLTP7NP.js +0 -274
  626. package/dist/spliceevent.noeventdiagram-NOSO752Y.js +0 -451
  627. package/dist/ssGSEA-4DVY6Z5U.js +0 -29
  628. package/dist/ssGSEA.unit.spec-UDXV4Q7S.js +0 -79
  629. package/dist/stattable-T5X76Q32.js +0 -112
  630. package/dist/studyCatalog-O3EPBJPW.js +0 -457
  631. package/dist/summarizeCnvGeneexp-ST36TPEJ.js +0 -154
  632. package/dist/summarizeGeneexpSurvival-AZOFCBMT.js +0 -101
  633. package/dist/summarizeMutationCnv-HRCW6BYV.js +0 -155
  634. package/dist/summarizeMutationDiagnosis-RQQO2MOR.js +0 -31
  635. package/dist/summarizeMutationSurvival-UHSUJ7FU.js +0 -95
  636. package/dist/summary-ZMM5ET67.js +0 -40
  637. package/dist/summary.integration.spec-GW5UGDDU.js +0 -405
  638. package/dist/summaryInput-ZO5TPARQ.js +0 -238
  639. package/dist/sunburst-6VJS2SUY.js +0 -34
  640. package/dist/sunburst-LXRG2SFE.js +0 -274
  641. package/dist/survival-QXHY7JRR.js +0 -49
  642. package/dist/survival-U6J6KFN2.js +0 -1248
  643. package/dist/survival.integration.spec-HN3LL6IY.js +0 -609
  644. package/dist/svgraph-CVI27CTM.js +0 -1377
  645. package/dist/svmr-GZHAP5IV.js +0 -3834
  646. package/dist/svmr-GZHAP5IV.js.map +0 -7
  647. package/dist/swimmer-M4JGBO72.js +0 -993
  648. package/dist/table-QO22C2ER.js +0 -192
  649. package/dist/termCollection-EN73BZV5.js +0 -247
  650. package/dist/termCollection-KWNFLRWJ.js +0 -29
  651. package/dist/termCollection.unit.spec-Z27AZUE6.js +0 -295
  652. package/dist/termCollectionFractionSelection-Q7QFEPKA.js +0 -38
  653. package/dist/termCollectionFractionSelection.unit.spec-PYLIFZN5.js +0 -184
  654. package/dist/tk-BISILMKL.js +0 -1198
  655. package/dist/tk-BISILMKL.js.map +0 -7
  656. package/dist/tk-WVEDS5OU.js +0 -38
  657. package/dist/tp.ui-CG36YXBY.js +0 -1453
  658. package/dist/tvs.categorical-GCJISWBS.js +0 -28
  659. package/dist/tvs.condition-YTCVMB3I.js +0 -160
  660. package/dist/tvs.dt-UCSZ5S44.js +0 -34
  661. package/dist/tvs.dtcnv.categorical-KYB6XPL3.js +0 -31
  662. package/dist/tvs.dtcnv.continuous-MJWJNMKJ.js +0 -72
  663. package/dist/tvs.dtfusion-IZCEMTH5.js +0 -31
  664. package/dist/tvs.dtitd-DZ4WWGNO.js +0 -31
  665. package/dist/tvs.dtsnvindel-PMJCV4E7.js +0 -31
  666. package/dist/tvs.dtsv-5K2RNWDH.js +0 -31
  667. package/dist/tvs.multivalue-6NSC6JPR.js +0 -84
  668. package/dist/tvs.numeric-7U2NDY4A.js +0 -32
  669. package/dist/tvs.samplelst-3SIYTFWZ.js +0 -95
  670. package/dist/tvs.survival-Q3F5SLBW.js +0 -110
  671. package/dist/tvs.termCollection-OR73LBNX.js +0 -118
  672. package/dist/vocabulary-RWRAQ4VJ.js +0 -32
  673. package/dist/wsi.direct-HABLR3IF.js +0 -11515
  674. package/dist/wsi.direct-HABLR3IF.js.map +0 -7
  675. /package/dist/{2dmaf-4W2R2HXG.js.map → 2dmaf-B34EJADN.js.map} +0 -0
  676. /package/dist/{AggMatrixInput-3SQ7UW5L.js.map → AggMatrixInput-USCXGZT2.js.map} +0 -0
  677. /package/dist/{AggregateMatrix-QI55DXDU.js.map → AggregateMatrix-VLCSBD65.js.map} +0 -0
  678. /package/dist/{AppHeader-C26OHIUQ.js.map → AppHeader-KE7QVEW5.js.map} +0 -0
  679. /package/dist/{BoxPlot-27OYBGJ3.js.map → BoxPlot-3H5QKYRD.js.map} +0 -0
  680. /package/dist/{Cuminc-737O733E.js.map → Cuminc-6LPS4LR7.js.map} +0 -0
  681. /package/dist/{DE-EDTGDY6L.js.map → DE-TTKEQYC7.js.map} +0 -0
  682. /package/dist/{DM-25IRANGL.js.map → DM-2TUF6Q3C.js.map} +0 -0
  683. /package/dist/{DifferentialAnalysis-7HQYEA5T.js.map → DifferentialAnalysis-3LP4RAWF.js.map} +0 -0
  684. /package/dist/{Disco-4YNXWGRX.js.map → Disco-UP5C7UWX.js.map} +0 -0
  685. /package/dist/{Disco.UI-67HBGS4Y.js.map → Disco.UI-V4I4LOMF.js.map} +0 -0
  686. /package/dist/{DmrPlot-KZVDVPUT.js.map → DmrPlot-TZR2NGIH.js.map} +0 -0
  687. /package/dist/{GSEA-CMFMNK5Y.js.map → GSEA-YGKBRJJO.js.map} +0 -0
  688. /package/dist/{GeneExpInput-HMGV23E7.js.map → GeneExpInput-L3J2ECVQ.js.map} +0 -0
  689. /package/dist/{Geomap-RB4SGVPC.js.map → Geomap-4MHU6F57.js.map} +0 -0
  690. /package/dist/{HicApp-YRP6YQFA.js.map → HicApp-27VGP5F6.js.map} +0 -0
  691. /package/dist/{IDCViewer-OUSOZNSR.js.map → IDCViewer-37GJPPUY.js.map} +0 -0
  692. /package/dist/{NumBinaryEditor-YFQDPBB6.js.map → NumBinaryEditor-SEC2NDGG.js.map} +0 -0
  693. /package/dist/{NumBinaryEditor.unit.spec-6YC5PCPK.js.map → NumBinaryEditor.unit.spec-UDYSUC4S.js.map} +0 -0
  694. /package/dist/{NumContEditor-EH6MA2RW.js.map → NumContEditor-YPSYWU2A.js.map} +0 -0
  695. /package/dist/{NumContEditor.unit.spec-Q2JBVIRT.js.map → NumContEditor.unit.spec-NHFBMHQ5.js.map} +0 -0
  696. /package/dist/{NumCustomBinEditor-USQA3BC6.js.map → NumCustomBinEditor-N7US5Q64.js.map} +0 -0
  697. /package/dist/{NumCustomBinEditor.unit.spec-PE2HFRCK.js.map → NumCustomBinEditor.unit.spec-2BMMUBYU.js.map} +0 -0
  698. /package/dist/{NumDiscreteEditor-VKE4WT24.js.map → NumDiscreteEditor-BLQ5DEB7.js.map} +0 -0
  699. /package/dist/{NumDiscreteEditor.unit.spec-JNG673LE.js.map → NumDiscreteEditor.unit.spec-JOFPUFU5.js.map} +0 -0
  700. /package/dist/{NumRegularBinEditor-KCCPGJSX.js.map → NumRegularBinEditor-7BFPBUW2.js.map} +0 -0
  701. /package/dist/{NumRegularBinEditor.unit.spec-4BLKQRZU.js.map → NumRegularBinEditor.unit.spec-6GZMNRHA.js.map} +0 -0
  702. /package/dist/{NumSplineEditor-4YELHGUO.js.map → NumSplineEditor-LO3ZR3T3.js.map} +0 -0
  703. /package/dist/{NumSplineEditor.unit.spec-CKHHK6GH.js.map → NumSplineEditor.unit.spec-MRA3DQSB.js.map} +0 -0
  704. /package/dist/{NumericDensity-LCFM7VSY.js.map → NumericDensity-NUCVJZ74.js.map} +0 -0
  705. /package/dist/{NumericDensity.unit.spec-R4ARTJ5I.js.map → NumericDensity.unit.spec-TZLKWH4U.js.map} +0 -0
  706. /package/dist/{NumericHandler-2OHRSY6Z.js.map → NumericHandler-NH533VBN.js.map} +0 -0
  707. /package/dist/{NumericHandler.unit.spec-M3TRIFZW.js.map → NumericHandler.unit.spec-V7MNEHML.js.map} +0 -0
  708. /package/dist/{ProteomeInput-G2EP6QH2.js.map → ProteomeInput-FEXWZOA2.js.map} +0 -0
  709. /package/dist/{Regression-2HKE6C7F.js.map → Regression-NJAPUGT7.js.map} +0 -0
  710. /package/dist/{RunChart2-WRVW63PB.js.map → RunChart2-QIJ6NUWY.js.map} +0 -0
  711. /package/dist/{SC-37RDNFGH.js.map → SC-5NWBVOEE.js.map} +0 -0
  712. /package/dist/{Violin-KD6FPWC7.js.map → Violin-TMACI43Q.js.map} +0 -0
  713. /package/dist/{aboutSunburst-5Z24ODIN.js.map → aboutSunburst-53YAWTV5.js.map} +0 -0
  714. /package/dist/{adSandbox-AFORHU3V.js.map → adSandbox-7VHXEI7W.js.map} +0 -0
  715. /package/dist/{animatedBubbleChart-F75OBRZW.js.map → animatedBubbleChart-CTFGJIRR.js.map} +0 -0
  716. /package/dist/{app-4RZ76DZZ.js.map → app-AQAQAPUN.js.map} +0 -0
  717. /package/dist/{app-IHE3RNI5.js.map → app-SZDIV5U4.js.map} +0 -0
  718. /package/dist/{bam-IIRZX3IK.js.map → bam-3U5R2KNC.js.map} +0 -0
  719. /package/dist/{barchart-UIHRIMOE.js.map → barchart-ZL5VSR7P.js.map} +0 -0
  720. /package/dist/{barchart2-DG3S6FDJ.js.map → barchart2-YELP2HI7.js.map} +0 -0
  721. /package/dist/{block.init-UBXYVTPQ.js.map → block.init-IBITFICI.js.map} +0 -0
  722. /package/dist/{block.mds.expressionrank-KSXPPPGR.js.map → block.mds.expressionrank-4L76ILD4.js.map} +0 -0
  723. /package/dist/{block.mds.geneboxplot-5RDFDVDE.js.map → block.mds.geneboxplot-XA7DFHPV.js.map} +0 -0
  724. /package/dist/{block.mds.junction-LMM24KXJ.js.map → block.mds.junction-GTZD3HEN.js.map} +0 -0
  725. /package/dist/{block.mds.svcnv-4XRXZMPS.js.map → block.mds.svcnv-HTXQ3LGR.js.map} +0 -0
  726. /package/dist/{block.svg-VAKLMPMS.js.map → block.svg-BM6OMVRF.js.map} +0 -0
  727. /package/dist/{block.tk.aicheck-6GHZK2YY.js.map → block.tk.aicheck-CV53ULEP.js.map} +0 -0
  728. /package/dist/{block.tk.bam-7H3BSHR2.js.map → block.tk.bam-KJYFNJCX.js.map} +0 -0
  729. /package/dist/{block.tk.bigwig.ui-KX2GACY5.js.map → block.tk.bigwig.ui-A352D6PT.js.map} +0 -0
  730. /package/dist/{block.tk.hicstraw-OOWEWGMF.js.map → block.tk.hicstraw-QAFTQESL.js.map} +0 -0
  731. /package/dist/{block.tk.junction-U7W36OZA.js.map → block.tk.junction-XURB4RWZ.js.map} +0 -0
  732. /package/dist/{block.tk.junction.textmatrixui-PAMSBYZT.js.map → block.tk.junction.textmatrixui-RNRWWNGY.js.map} +0 -0
  733. /package/dist/{block.tk.ld-RFQPDG7Q.js.map → block.tk.ld-GWJMVPX3.js.map} +0 -0
  734. /package/dist/{block.tk.menu-JDJU2OGK.js.map → block.tk.menu-BJZYFMQX.js.map} +0 -0
  735. /package/dist/{block.tk.pgv-G2UFCQUT.js.map → block.tk.pgv-7XNJTHEW.js.map} +0 -0
  736. /package/dist/{brainImaging-ASAHWZJH.js.map → brainImaging-37EDZLGN.js.map} +0 -0
  737. /package/dist/{brainRegions-XTJDLUU4.js.map → brainRegions-FEW52QUB.js.map} +0 -0
  738. /package/dist/{chunk-A7GCFL3R.js.map → chunk-2B3CYHUF.js.map} +0 -0
  739. /package/dist/{chunk-HGC4EON3.js.map → chunk-2IAELUCN.js.map} +0 -0
  740. /package/dist/{chunk-GIZTZCE5.js.map → chunk-2W6U53AG.js.map} +0 -0
  741. /package/dist/{chunk-D6TLBMIX.js.map → chunk-46GCGTHJ.js.map} +0 -0
  742. /package/dist/{chunk-4DFKK46J.js.map → chunk-4ZX5KHD7.js.map} +0 -0
  743. /package/dist/{chunk-U7G65D2G.js.map → chunk-544DSOC3.js.map} +0 -0
  744. /package/dist/{chunk-E4WAVMI5.js.map → chunk-6CV3YVJD.js.map} +0 -0
  745. /package/dist/{chunk-JWX6GEWQ.js.map → chunk-6UHSGC6G.js.map} +0 -0
  746. /package/dist/{chunk-DR5JLHTB.js.map → chunk-6ZZGFZV2.js.map} +0 -0
  747. /package/dist/{chunk-K55KOEI6.js.map → chunk-72FUMSAN.js.map} +0 -0
  748. /package/dist/{chunk-VHQDN3OA.js.map → chunk-7DC4PD5R.js.map} +0 -0
  749. /package/dist/{chunk-QGCB5AKN.js.map → chunk-7ISYXUJ7.js.map} +0 -0
  750. /package/dist/{chunk-VTMNHAFC.js.map → chunk-7NVFEGCE.js.map} +0 -0
  751. /package/dist/{chunk-EM76Y3HQ.js.map → chunk-7PQ6MLKG.js.map} +0 -0
  752. /package/dist/{chunk-K4LZR3HU.js.map → chunk-BGPRKPKH.js.map} +0 -0
  753. /package/dist/{chunk-5YKXYWP3.js.map → chunk-BILGOVOR.js.map} +0 -0
  754. /package/dist/{chunk-OCOB7XJW.js.map → chunk-BKJLRLQQ.js.map} +0 -0
  755. /package/dist/{chunk-54W2RWRB.js.map → chunk-C4BKP67I.js.map} +0 -0
  756. /package/dist/{chunk-DDABG5BR.js.map → chunk-CQNTAIM3.js.map} +0 -0
  757. /package/dist/{chunk-7HBAALWJ.js.map → chunk-CW3IVTRX.js.map} +0 -0
  758. /package/dist/{chunk-XQIB27PB.js.map → chunk-D7KZWYP5.js.map} +0 -0
  759. /package/dist/{chunk-F2RTD23W.js.map → chunk-DNXOZATD.js.map} +0 -0
  760. /package/dist/{chunk-NUGYNLTL.js.map → chunk-DXF3YDRG.js.map} +0 -0
  761. /package/dist/{chunk-GONC3LVY.js.map → chunk-ECBVUPDE.js.map} +0 -0
  762. /package/dist/{chunk-GAYYXHOG.js.map → chunk-ES22B563.js.map} +0 -0
  763. /package/dist/{chunk-ZBNPXXMK.js.map → chunk-FA2B6PKK.js.map} +0 -0
  764. /package/dist/{chunk-PAF5KZCR.js.map → chunk-FMHSDIVG.js.map} +0 -0
  765. /package/dist/{chunk-ZSTD6Y3K.js.map → chunk-G5UFOMON.js.map} +0 -0
  766. /package/dist/{chunk-Z7CCL464.js.map → chunk-GKA6USKV.js.map} +0 -0
  767. /package/dist/{chunk-2ZYAC3DC.js.map → chunk-HGIPR72Y.js.map} +0 -0
  768. /package/dist/{chunk-ES7XNERS.js.map → chunk-IBUDYN5E.js.map} +0 -0
  769. /package/dist/{chunk-FEE2HAON.js.map → chunk-J37WYVIZ.js.map} +0 -0
  770. /package/dist/{chunk-CHQ43UJQ.js.map → chunk-JG5CF5Q3.js.map} +0 -0
  771. /package/dist/{chunk-GDIKNIEA.js.map → chunk-JSQH233D.js.map} +0 -0
  772. /package/dist/{chunk-WSLS55SH.js.map → chunk-JWWLSDVM.js.map} +0 -0
  773. /package/dist/{chunk-ZNHC46CT.js.map → chunk-KTJUDDVQ.js.map} +0 -0
  774. /package/dist/{chunk-E2Z4X6C2.js.map → chunk-MY5MF4RI.js.map} +0 -0
  775. /package/dist/{chunk-MZTVOOR6.js.map → chunk-P4ZGUPGA.js.map} +0 -0
  776. /package/dist/{chunk-YHW2RAAG.js.map → chunk-PQDYA3ZQ.js.map} +0 -0
  777. /package/dist/{chunk-LFH5VSSF.js.map → chunk-PVJ6IIFA.js.map} +0 -0
  778. /package/dist/{chunk-QRZRAMHA.js.map → chunk-QKVKQD6S.js.map} +0 -0
  779. /package/dist/{chunk-7APH7QLC.js.map → chunk-R6O3FLKW.js.map} +0 -0
  780. /package/dist/{chunk-OGDBTL5C.js.map → chunk-RFQQRF6Q.js.map} +0 -0
  781. /package/dist/{chunk-I7R6YROK.js.map → chunk-RG27DDKN.js.map} +0 -0
  782. /package/dist/{chunk-UXLT7W2N.js.map → chunk-SB5DR4NL.js.map} +0 -0
  783. /package/dist/{chunk-G5BQJGRA.js.map → chunk-SF42FFDZ.js.map} +0 -0
  784. /package/dist/{chunk-AGWIWLOP.js.map → chunk-SORR4JHU.js.map} +0 -0
  785. /package/dist/{chunk-U4PLKSSS.js.map → chunk-SZEBQMZW.js.map} +0 -0
  786. /package/dist/{chunk-72QBXULB.js.map → chunk-THDOHHDN.js.map} +0 -0
  787. /package/dist/{chunk-UU3FWU6D.js.map → chunk-TXDCZOPG.js.map} +0 -0
  788. /package/dist/{chunk-5QGC2624.js.map → chunk-U6GSEOBY.js.map} +0 -0
  789. /package/dist/{chunk-7ZTUUKLX.js.map → chunk-UBTNM5RO.js.map} +0 -0
  790. /package/dist/{chunk-N2JOZ3QD.js.map → chunk-UHZDDPUU.js.map} +0 -0
  791. /package/dist/{chunk-QFOT5WAZ.js.map → chunk-UVES3USV.js.map} +0 -0
  792. /package/dist/{chunk-HM23KADV.js.map → chunk-UYA5LCAR.js.map} +0 -0
  793. /package/dist/{chunk-SI2KSG6E.js.map → chunk-VHEXNBCO.js.map} +0 -0
  794. /package/dist/{chunk-KLJM7HE5.js.map → chunk-VVWZ4BOI.js.map} +0 -0
  795. /package/dist/{chunk-NG2U3VHX.js.map → chunk-WENNRY5E.js.map} +0 -0
  796. /package/dist/{chunk-RGOZHZCN.js.map → chunk-WTLUZOBK.js.map} +0 -0
  797. /package/dist/{chunk-W3K7KLIR.js.map → chunk-ZLEGHQOO.js.map} +0 -0
  798. /package/dist/{chunk-RJKY22D4.js.map → chunk-ZX7527EE.js.map} +0 -0
  799. /package/dist/{cohort-ZFGFEEBD.js.map → cohort-NKRTCX5Z.js.map} +0 -0
  800. /package/dist/{cohortSunburst-EEPGV2RB.js.map → cohortSunburst-DFJW6WXU.js.map} +0 -0
  801. /package/dist/{condition-7EWFLQSO.js.map → condition-PYFOEVX5.js.map} +0 -0
  802. /package/dist/{controls-QHDSDWKI.js.map → controls-RVNIN66W.js.map} +0 -0
  803. /package/dist/{controls.config-LBSCZ6GP.js.map → controls.config-XVEYYBI4.js.map} +0 -0
  804. /package/dist/{correlation-IJQJPNNP.js.map → correlation-MNL4DGSW.js.map} +0 -0
  805. /package/dist/{customdata.inputui-TZGX2CUD.js.map → customdata.inputui-WFIIJATQ.js.map} +0 -0
  806. /package/dist/{dataDownload-33EWD3AD.js.map → dataDownload-CMSP5FA4.js.map} +0 -0
  807. /package/dist/{databrowser.ui-YNKDTAAN.js.map → databrowser.ui-FYZPXXEJ.js.map} +0 -0
  808. /package/dist/{dictionary-OTR6Z5EZ.js.map → dictionary-76BXY6WU.js.map} +0 -0
  809. /package/dist/{dnaMethylation-LQTCTOOE.js.map → dnaMethylation-WTIJVNIU.js.map} +0 -0
  810. /package/dist/{dnaMethylation.integration.spec-U5VQYAK3.js.map → dnaMethylation.integration.spec-YXQEFLC5.js.map} +0 -0
  811. /package/dist/{dofetch-HLG7G7RX.js.map → dofetch-XID2XEJT.js.map} +0 -0
  812. /package/dist/{e2pca-AXDPYR7U.js.map → e2pca-DD6DA7X3.js.map} +0 -0
  813. /package/dist/{ep-4WK46CH7.js.map → ep-S4PI4AUJ.js.map} +0 -0
  814. /package/dist/{expclust.gdc.spec-CYGWGREQ.js.map → expclust.gdc.spec-BDV4RJO6.js.map} +0 -0
  815. /package/dist/{facet-IZSSZDHK.js.map → facet-EOXEW2LN.js.map} +0 -0
  816. /package/dist/{gb-AUZBUZFM.js.map → gb-AKE7RDPB.js.map} +0 -0
  817. /package/dist/{geneExpClustering-AQBFLXLP.js.map → geneExpClustering-73ED7HIN.js.map} +0 -0
  818. /package/dist/{geneExpression-V4JMTMLI.js.map → geneExpression-AEJILDKJ.js.map} +0 -0
  819. /package/dist/{geneExpression-HDJVPVPK.js.map → geneExpression-NXDXXKEA.js.map} +0 -0
  820. /package/dist/{geneORA-LDFFSEMQ.js.map → geneORA-7KFQ4PW2.js.map} +0 -0
  821. /package/dist/{geneRanking-IVKDSNDV.js.map → geneRanking-RKJU4PM2.js.map} +0 -0
  822. /package/dist/{geneVariant-TK3FJ22L.js.map → geneVariant-2AGC3ECG.js.map} +0 -0
  823. /package/dist/{geneVariant.integration.spec-ZHAFWQ2O.js.map → geneVariant.integration.spec-UJXGQEZG.js.map} +0 -0
  824. /package/dist/{genefusion.ui-U5YPVXAF.js.map → genefusion.ui-KEBOA3TK.js.map} +0 -0
  825. /package/dist/{geneset-NSHQ2NDR.js.map → geneset-BU6V3CB5.js.map} +0 -0
  826. /package/dist/{genomeBrowser.spec-HP4OQPCV.js.map → genomeBrowser.spec-BGQHJZKH.js.map} +0 -0
  827. /package/dist/{grin2-5WKONQPG.js.map → grin2-OUZN5LOU.js.map} +0 -0
  828. /package/dist/{grin2-V2ZBOJBO.js.map → grin2-WRGQ7BDG.js.map} +0 -0
  829. /package/dist/{hierCluster-7IOPNYFN.js.map → hierCluster-3ERW47JJ.js.map} +0 -0
  830. /package/dist/{hierCluster-IDBCUKHJ.js.map → hierCluster-JAFKBC6C.js.map} +0 -0
  831. /package/dist/{hierCluster.config-Z4NRL5P5.js.map → hierCluster.config-QIJNY5OD.js.map} +0 -0
  832. /package/dist/{hierCluster.integration.spec-PHEXOGPI.js.map → hierCluster.integration.spec-XA4K3UU6.js.map} +0 -0
  833. /package/dist/{hierCluster.interactivity-NHZ5EPBV.js.map → hierCluster.interactivity-RDFPQOOP.js.map} +0 -0
  834. /package/dist/{hierCluster.renderers-WXJUMDFN.js.map → hierCluster.renderers-SU5IYI33.js.map} +0 -0
  835. /package/dist/{imagePlot-NMNCAYS7.js.map → imagePlot-J4PHG7V2.js.map} +0 -0
  836. /package/dist/{importPlot-HZML5XMJ.js.map → importPlot-U67MZZXY.js.map} +0 -0
  837. /package/dist/{isoformExpression-4IU4AUQ2.js.map → isoformExpression-K5BCDJLL.js.map} +0 -0
  838. /package/dist/{isoformExpression.unit.spec-KKMKU5Z2.js.map → isoformExpression.unit.spec-35FHEO27.js.map} +0 -0
  839. /package/dist/{junction-EXA2WANI.js.map → junction-6GGWFF2J.js.map} +0 -0
  840. /package/dist/{launch.adhoc-YA6FRHSC.js.map → launch.adhoc-ONCSL65L.js.map} +0 -0
  841. /package/dist/{lollipop-EWLGYDIR.js.map → lollipop-BWP4BG7Q.js.map} +0 -0
  842. /package/dist/{maf-PXMHR3PY.js.map → maf-GV6JHWYK.js.map} +0 -0
  843. /package/dist/{maftimeline-QFKT7PW2.js.map → maftimeline-HE7XLJWG.js.map} +0 -0
  844. /package/dist/{matrix-KASG3KIY.js.map → matrix-IAM6SA7K.js.map} +0 -0
  845. /package/dist/{matrix-VSX63V3L.js.map → matrix-QF5MBV5Y.js.map} +0 -0
  846. /package/dist/{matrix.cells-7TTOQRWU.js.map → matrix.cells-A5E63KDN.js.map} +0 -0
  847. /package/dist/{matrix.config-U3I726EC.js.map → matrix.config-VLRMO7J2.js.map} +0 -0
  848. /package/dist/{matrix.data-Y4DXSR2P.js.map → matrix.data-R4FW2PQH.js.map} +0 -0
  849. /package/dist/{matrix.groups-C5CHYWQZ.js.map → matrix.groups-3UH2KOIY.js.map} +0 -0
  850. /package/dist/{matrix.integration.spec-4KWLFXMY.js.map → matrix.integration.spec-57YYARQU.js.map} +0 -0
  851. /package/dist/{matrix.interactivity-JK6URU6Z.js.map → matrix.interactivity-KNRJSSTQ.js.map} +0 -0
  852. /package/dist/{matrix.layout-KKOA7GGL.js.map → matrix.layout-OMNDDITA.js.map} +0 -0
  853. /package/dist/{matrix.legend-3FFHXTLX.js.map → matrix.legend-SE7SQTNN.js.map} +0 -0
  854. /package/dist/{matrix.renderers-F7EWYQWL.js.map → matrix.renderers-6MMW7XMU.js.map} +0 -0
  855. /package/dist/{matrix.serieses-I4JWWONC.js.map → matrix.serieses-BEZCQDLJ.js.map} +0 -0
  856. /package/dist/{matrix.sort-5JTCLBPB.js.map → matrix.sort-KRNS4VPF.js.map} +0 -0
  857. /package/dist/{matrix.sort.unit.spec-EW53F5DT.js.map → matrix.sort.unit.spec-UXTQPKVV.js.map} +0 -0
  858. /package/dist/{matrix.sorterUi.unit.spec-OGTYY6GC.js.map → matrix.sorterUi.unit.spec-LJJ7GCEB.js.map} +0 -0
  859. /package/dist/{matrix.unit.spec-RXKKHRUN.js.map → matrix.unit.spec-2OSFPN5T.js.map} +0 -0
  860. /package/dist/{mavb-YI2WEGFI.js.map → mavb-CZAZO6AO.js.map} +0 -0
  861. /package/dist/{mds.samplescatterplot-GGJE67MF.js.map → mds.samplescatterplot-ENSEO2VX.js.map} +0 -0
  862. /package/dist/{mds.survivalplot-A6DS6FHO.js.map → mds.survivalplot-QSKD6FSX.js.map} +0 -0
  863. /package/dist/{multivalue-3WCYDVL3.js.map → multivalue-FZTFADA2.js.map} +0 -0
  864. /package/dist/{numericDictTermCluster-AOTEPNEI.js.map → numericDictTermCluster-IFIEM3E4.js.map} +0 -0
  865. /package/dist/{oncomatrix-BB4SB5AJ.js.map → oncomatrix-GZKCAMSR.js.map} +0 -0
  866. /package/dist/{oncomatrix.spec-M4ZC3KFC.js.map → oncomatrix.spec-FTLMVGTH.js.map} +0 -0
  867. /package/dist/{plot.2dvaf-QUD743E6.js.map → plot.2dvaf-PWO4XOFU.js.map} +0 -0
  868. /package/dist/{plot.app-35I4DJXK.js.map → plot.app-JYBZEBHK.js.map} +0 -0
  869. /package/dist/{plot.barplot-7OL4HWZB.js.map → plot.barplot-PA2PDVOB.js.map} +0 -0
  870. /package/dist/{plot.boxplot-N2VSPDYA.js.map → plot.boxplot-IHIEWQWG.js.map} +0 -0
  871. /package/dist/{plot.brainImaging-4PIAFROV.js.map → plot.brainImaging-WQ2WWEW3.js.map} +0 -0
  872. /package/dist/{plot.disco-6CFYMWU3.js.map → plot.disco-QIURLAHA.js.map} +0 -0
  873. /package/dist/{plot.ssgq-MGUBQNWE.js.map → plot.ssgq-T27XDC4K.js.map} +0 -0
  874. /package/dist/{plot.vaf2cov-KVI2GMG4.js.map → plot.vaf2cov-Y2DJRQED.js.map} +0 -0
  875. /package/dist/{polar2-IGAOHGPE.js.map → polar2-3MFBRZ4G.js.map} +0 -0
  876. /package/dist/{profileForms-MW7JQURG.js.map → profileForms-J3O7XDHY.js.map} +0 -0
  877. /package/dist/{profilePlot-OVOSFR47.js.map → profilePlot-C45ERAOZ.js.map} +0 -0
  878. /package/dist/{proteomeCohortCompare-ONYL2UN4.js.map → proteomeCohortCompare-2IS7GNJZ.js.map} +0 -0
  879. /package/dist/{pseudbulk.unit.spec-CGV4JTEK.js.map → pseudbulk.unit.spec-SY3ATAPK.js.map} +0 -0
  880. /package/dist/{pseudobulk-WFCQX5KR.js.map → pseudobulk-N6WNHKAC.js.map} +0 -0
  881. /package/dist/{qualitative-6H674T7D.js.map → qualitative-SKUTWJLA.js.map} +0 -0
  882. /package/dist/{qualitative-4SLUE6BW.js.map → qualitative-XWN5V3EE.js.map} +0 -0
  883. /package/dist/{radar2-QXHO2MQA.js.map → radar2-AHZME5CF.js.map} +0 -0
  884. /package/dist/{radarFacility2-JCVOYMH4.js.map → radarFacility2-CVEVC4U5.js.map} +0 -0
  885. /package/dist/{render-IIFS3Y2N.js.map → render-S47OJIIP.js.map} +0 -0
  886. /package/dist/{report-NFBB3PUI.js.map → report-IPX3PKSW.js.map} +0 -0
  887. /package/dist/{sampleView-XQXKIPC7.js.map → sampleView-OZQUKPVV.js.map} +0 -0
  888. /package/dist/{samplelst-RIC5E2W4.js.map → samplelst-7XXJTJ4J.js.map} +0 -0
  889. /package/dist/{samplematrix-WLCFCPBR.js.map → samplematrix-JN35HJBG.js.map} +0 -0
  890. /package/dist/{sc-TXRF7D6F.js.map → sc-6ZHDNPYP.js.map} +0 -0
  891. /package/dist/{scatter-YQ47446T.js.map → scatter-4MP6TG67.js.map} +0 -0
  892. /package/dist/{scatter-JUGGPR4B.js.map → scatter-TRMY47CC.js.map} +0 -0
  893. /package/dist/{selectGenomeWithTklst-2ELB6HQK.js.map → selectGenomeWithTklst-UDNTL544.js.map} +0 -0
  894. /package/dist/{singleCellCellType-DUTH4SZF.js.map → singleCellCellType-UXABRPQQ.js.map} +0 -0
  895. /package/dist/{singleCellCellType.unit.spec-PWP6I5PZ.js.map → singleCellCellType.unit.spec-N22EQMZW.js.map} +0 -0
  896. /package/dist/{singleCellGeneExpression-3563T7GE.js.map → singleCellGeneExpression-OBPVP6IU.js.map} +0 -0
  897. /package/dist/{singleCellGeneExpression.unit.spec-66IDCFJC.js.map → singleCellGeneExpression.unit.spec-NVCFU5B4.js.map} +0 -0
  898. /package/dist/{singleCellNumericValue-XVQTKLTS.js.map → singleCellNumericValue-Z2X3LLRB.js.map} +0 -0
  899. /package/dist/{singleCellNumericValue.unit.spec-LJSTGKNS.js.map → singleCellNumericValue.unit.spec-Q7DCQHEE.js.map} +0 -0
  900. /package/dist/{singleCellPlot-MKYJJXSG.js.map → singleCellPlot-S5N6ZEEA.js.map} +0 -0
  901. /package/dist/{singlecell-ANCWPAAO.js.map → singlecell-OK2P4AS2.js.map} +0 -0
  902. /package/dist/{singlecell-KMRVFOC5.js.map → singlecell-RI6HA3NI.js.map} +0 -0
  903. /package/dist/{snp-B5UHGWVD.js.map → snp-XRM2UAEJ.js.map} +0 -0
  904. /package/dist/{snp.unit.spec-YAHITASM.js.map → snp.unit.spec-CDTYGH4K.js.map} +0 -0
  905. /package/dist/{snplocus-MLGICRGT.js.map → snplocus-CAUGDRZE.js.map} +0 -0
  906. /package/dist/{snplst-DZPIQEKI.js.map → snplst-DP533FL2.js.map} +0 -0
  907. /package/dist/{spliceevent.a53ss.diagram-4NYPSFC2.js.map → spliceevent.a53ss.diagram-XWEN4UMO.js.map} +0 -0
  908. /package/dist/{spliceevent.exonskip.diagram-WLLTP7NP.js.map → spliceevent.exonskip.diagram-HBXQOUT4.js.map} +0 -0
  909. /package/dist/{spliceevent.noeventdiagram-NOSO752Y.js.map → spliceevent.noeventdiagram-ORQJ62ON.js.map} +0 -0
  910. /package/dist/{ssGSEA-4DVY6Z5U.js.map → ssGSEA-PLDZ2556.js.map} +0 -0
  911. /package/dist/{ssGSEA.unit.spec-UDXV4Q7S.js.map → ssGSEA.unit.spec-ORFJFZJY.js.map} +0 -0
  912. /package/dist/{stattable-T5X76Q32.js.map → stattable-GVRVRO2Y.js.map} +0 -0
  913. /package/dist/{studyCatalog-O3EPBJPW.js.map → studyCatalog-K46WJHC6.js.map} +0 -0
  914. /package/dist/{summarizeCnvGeneexp-ST36TPEJ.js.map → summarizeCnvGeneexp-7WSJTWKH.js.map} +0 -0
  915. /package/dist/{summarizeGeneexpSurvival-AZOFCBMT.js.map → summarizeGeneexpSurvival-H3TW7I4I.js.map} +0 -0
  916. /package/dist/{summarizeMutationCnv-HRCW6BYV.js.map → summarizeMutationCnv-JOYXEMFP.js.map} +0 -0
  917. /package/dist/{summarizeMutationDiagnosis-RQQO2MOR.js.map → summarizeMutationDiagnosis-GBIGXFY5.js.map} +0 -0
  918. /package/dist/{summarizeMutationSurvival-UHSUJ7FU.js.map → summarizeMutationSurvival-3RULG3KW.js.map} +0 -0
  919. /package/dist/{summary-ZMM5ET67.js.map → summary-VKLFTPC2.js.map} +0 -0
  920. /package/dist/{summary.integration.spec-GW5UGDDU.js.map → summary.integration.spec-EK3MPFVD.js.map} +0 -0
  921. /package/dist/{summaryInput-ZO5TPARQ.js.map → summaryInput-POI5KQSP.js.map} +0 -0
  922. /package/dist/{sunburst-LXRG2SFE.js.map → sunburst-BIVYHF5R.js.map} +0 -0
  923. /package/dist/{sunburst-6VJS2SUY.js.map → sunburst-SYHQOCGQ.js.map} +0 -0
  924. /package/dist/{survival-U6J6KFN2.js.map → survival-CG2GQ4YY.js.map} +0 -0
  925. /package/dist/{survival-QXHY7JRR.js.map → survival-NEO3E2HS.js.map} +0 -0
  926. /package/dist/{survival.integration.spec-HN3LL6IY.js.map → survival.integration.spec-PPK5KO4V.js.map} +0 -0
  927. /package/dist/{svgraph-CVI27CTM.js.map → svgraph-Q2U2HEMF.js.map} +0 -0
  928. /package/dist/{swimmer-M4JGBO72.js.map → swimmer-GA4C6YH7.js.map} +0 -0
  929. /package/dist/{table-QO22C2ER.js.map → table-DJJIES6L.js.map} +0 -0
  930. /package/dist/{termCollection-EN73BZV5.js.map → termCollection-CHVUM5C6.js.map} +0 -0
  931. /package/dist/{termCollection-KWNFLRWJ.js.map → termCollection-R3LTBPJ4.js.map} +0 -0
  932. /package/dist/{termCollection.unit.spec-Z27AZUE6.js.map → termCollection.unit.spec-B7KAAOFT.js.map} +0 -0
  933. /package/dist/{termCollectionFractionSelection-Q7QFEPKA.js.map → termCollectionFractionSelection-A72QM36J.js.map} +0 -0
  934. /package/dist/{termCollectionFractionSelection.unit.spec-PYLIFZN5.js.map → termCollectionFractionSelection.unit.spec-JR77QEIG.js.map} +0 -0
  935. /package/dist/{tk-WVEDS5OU.js.map → tk-GRGKFATN.js.map} +0 -0
  936. /package/dist/{tp.ui-CG36YXBY.js.map → tp.ui-NATRJ5EN.js.map} +0 -0
  937. /package/dist/{tvs.categorical-GCJISWBS.js.map → tvs.categorical-U2ZYLPSW.js.map} +0 -0
  938. /package/dist/{tvs.condition-YTCVMB3I.js.map → tvs.condition-6EBZALR4.js.map} +0 -0
  939. /package/dist/{tvs.dt-UCSZ5S44.js.map → tvs.dt-H626ESMQ.js.map} +0 -0
  940. /package/dist/{tvs.dtcnv.categorical-KYB6XPL3.js.map → tvs.dtcnv.categorical-6S7INDYC.js.map} +0 -0
  941. /package/dist/{tvs.dtcnv.continuous-MJWJNMKJ.js.map → tvs.dtcnv.continuous-MLYNEMHI.js.map} +0 -0
  942. /package/dist/{tvs.dtfusion-IZCEMTH5.js.map → tvs.dtfusion-2OLY6X7G.js.map} +0 -0
  943. /package/dist/{tvs.dtitd-DZ4WWGNO.js.map → tvs.dtitd-Z6MEL5SH.js.map} +0 -0
  944. /package/dist/{tvs.dtsnvindel-PMJCV4E7.js.map → tvs.dtsnvindel-HPBQSCYV.js.map} +0 -0
  945. /package/dist/{tvs.dtsv-5K2RNWDH.js.map → tvs.dtsv-BRRNX64J.js.map} +0 -0
  946. /package/dist/{tvs.multivalue-6NSC6JPR.js.map → tvs.multivalue-H2G7WKAL.js.map} +0 -0
  947. /package/dist/{tvs.numeric-7U2NDY4A.js.map → tvs.numeric-OKYGMQSK.js.map} +0 -0
  948. /package/dist/{tvs.samplelst-3SIYTFWZ.js.map → tvs.samplelst-46FGACU7.js.map} +0 -0
  949. /package/dist/{tvs.survival-Q3F5SLBW.js.map → tvs.survival-QL4KC3SQ.js.map} +0 -0
  950. /package/dist/{tvs.termCollection-OR73LBNX.js.map → tvs.termCollection-22DFW3PF.js.map} +0 -0
  951. /package/dist/{vocabulary-RWRAQ4VJ.js.map → vocabulary-LJEERZJ6.js.map} +0 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../plots/sunburst/sunburst.data.ts", "../plots/sunburst/SunburstChart.ts", "../plots/sunburst/sunburst.ts"],
4
+ "sourcesContent": ["import type { Filter, SunburstResponse, SunburstNode, SunburstCategory } from '#types'\nimport type { SunNode } from './SunburstRenderer'\n\n/*\nData helpers of the term-based sunburst, without any DOM code: the termdb/sunburst response as a renderer \ntree, and selected wedges as a group filter. Kept apart from sunburst.ts so they can be unit-tested directly.\n*/\n\n/** a wedge of the term sunburst. `id` names it by its path of [ring $id, key] pairs, as JSON so that no\n * category key can make two paths alike, and a selection can survive a re-fetch; `ring`, `key` and\n * `category` say which ring category it is */\nexport type TermSunNode = SunNode & {\n\tid: string\n\tring: number\n\tkey: string\n\tcategory: SunburstCategory\n\t/** samples under the wedge (SunNode.value is only those that end here) */\n\tcount: number\n\tchildren?: TermSunNode[]\n}\n\ntype TermSunRoot = SunNode & { children: TermSunNode[]; count: number }\n\n/** the response as a renderer tree; first-ring colours from the dataset (keyed by category key) win\n * over the term's own */\nexport function buildTermTree(\n\tres: SunburstResponse,\n\ttwLst: any[],\n\trootName: string,\n\tcolors?: { [key: string]: string }\n): TermSunRoot {\n\tconst convert = (n: SunburstNode, ring: number, parentPath: string[][]): TermSunNode => {\n\t\tconst tw = twLst[ring]\n\t\tconst category = res.rings[ring].categories[n.key] || { label: n.key }\n\t\tconst path = [...parentPath, [tw.$id, n.key]]\n\t\tconst children = (n.children || []).map(c => convert(c, ring + 1, path))\n\t\tconst node: TermSunNode = {\n\t\t\tname: category.label,\n\t\t\tlevel: tw.term.name,\n\t\t\t// d3 adds the children to a node's own value, so it holds only the samples that end here\n\t\t\tvalue: n.count - children.reduce((s, c) => s + c.count, 0),\n\t\t\tcount: n.count,\n\t\t\tid: JSON.stringify(path),\n\t\t\tring,\n\t\t\tkey: n.key,\n\t\t\tcategory\n\t\t}\n\t\tconst color = (ring == 0 && colors?.[n.key]) || category.color\n\t\tif (color) node.color = color\n\t\tif (children.length) node.children = children\n\t\treturn node\n\t}\n\treturn { name: rootName, value: 0, count: res.total, children: res.nodes.map(n => convert(n, 0, [])) }\n}\n\n/** one ring category as a filter entry: the tvs of the ring's term, or a filter group's own filter */\nexport function categoryFilterItem(tw: any, category: SunburstCategory): any {\n\tif (category.filter) return structuredClone(category.filter)\n\tif (!category.tvs) throw `no filter for category '${category.label}' of ${tw.term.name}`\n\treturn { type: 'tvs', tvs: { term: tw.term, ...structuredClone(category.tvs) } }\n}\n\n/** the samples of one wedge: its categories along the path from the first ring, joined by \"and\" */\nexport function wedgeFilter(path: TermSunNode[], twLst: any[]): Filter {\n\tconst lst = path.map(n => categoryFilterItem(twLst[n.ring], n.category))\n\treturn { type: 'tvslst', in: true, join: lst.length > 1 ? 'and' : '', lst }\n}\n\n/** the samples of any of the selected wedges, each given as its path from the first ring. One wedge\n * is just its own filter; several are joined by \"or\" */\nexport function selectionFilter(paths: TermSunNode[][], twLst: any[]): Filter {\n\tif (!paths.length) throw 'no wedge selected'\n\tif (paths.length == 1) return wedgeFilter(paths[0], twLst)\n\treturn { type: 'tvslst', in: true, join: 'or', lst: paths.map(p => wedgeFilter(p, twLst)) }\n}\n\n/** a readable name for a selection: the path of one wedge (e.g. \"BCP-ALL \u203A Hyperdiploid\"), or the\n * wedge names joined when several are selected */\nexport function selectionName(paths: TermSunNode[][], maxLen = 60): string {\n\tconst names =\n\t\tpaths.length == 1 ? paths[0].map(n => n.name).join(' \u203A ') : paths.map(p => p[p.length - 1].name).join(' or ')\n\treturn names.length > maxLen ? names.slice(0, maxLen - 1) + '\u2026' : names\n}\n\n/** the sample types a new or replacing ring may have, given the other rings: the line of descent through\n * the deepest of their sample types (its ancestors, itself and its descendants), since no value maps\n * between sibling types such as primary and PDX samples. Undefined (any type) when the dataset has one\n * sample type or no other ring is below the top level. `sampleTypes` is termdbConfig.sampleTypes */\nexport function allowedSampleTypes(otherTwLst: any[], sampleTypes?: { [id: string]: any }): number[] | undefined {\n\tif (!sampleTypes || Object.keys(sampleTypes).length < 2) return\n\tconst parent = (t: string) => {\n\t\tconst p = sampleTypes[t]?.parent_id\n\t\treturn p === null || p === undefined ? undefined : String(p)\n\t}\n\tconst ancestors = (t: string) => {\n\t\tconst lst: string[] = []\n\t\tfor (let p = parent(t); p !== undefined && !lst.includes(p); p = parent(p)) lst.push(p)\n\t\treturn lst\n\t}\n\tconst types = otherTwLst\n\t\t.map(tw => tw.term?.sample_type)\n\t\t.filter(t => t !== null && t !== undefined && sampleTypes[t])\n\t\t.map(String)\n\tconst below = types.filter(t => parent(t) !== undefined)\n\tif (!below.length) return\n\tconst deepest = below.reduce((a, b) => (ancestors(b).length > ancestors(a).length ? b : a))\n\tconst descendants = Object.keys(sampleTypes).filter(t => ancestors(t).includes(deepest))\n\treturn [...ancestors(deepest), deepest, ...descendants].map(Number)\n}\n", "import { dofetch3 } from '#common/dofetch'\nimport { select } from 'd3-selection'\nimport { escapeHtml, capitalizeFirstLetter, Menu } from '#dom'\nimport { getNormalRoot, filterJoin } from '#filter'\nimport {\n\taddNewGroup,\n\tgetGroupFilterOfConditions,\n\tgetSamplelstTWFromFilters,\n\tgetGeneExpressionPreAnalysis,\n\trenderPreAnalysisData\n} from '#mass/groups'\nimport { availabilitySections, fetchDataAvailability, type AvailabilityRow } from '#mass/groupDataAvailability'\nimport { TermTypes } from '#types'\nimport { getActiveCohortStr, getCurrentCohortChartTypes } from '#mass/charts'\nimport { dtsnvindel, dtcnv, dtfusionrna, dtsv } from '#shared/common.js'\nimport type { Filter, SunburstRequest, SunburstResponse } from '#types'\nimport {\n\tSunburstRenderer,\n\tcard,\n\tbadge,\n\tpill,\n\tSIZE,\n\tTEXT_DARK,\n\tTEXT_MUTED,\n\tLINK,\n\tRULE,\n\tSELECT_STROKE,\n\ticon,\n\ttype Card,\n\ttype HNode\n} from './SunburstRenderer'\nimport { buildTermTree, selectionFilter, selectionName, type TermSunNode } from './sunburst.data'\n\n/*\nThe term-based sunburst without its rx plot component: fetches the counts of the given rings, draws them,\nand keeps the wedge selection, one sample group. Below the selected wedges, \"Show available data\" lists how\nmany of the selected samples have each kind of data of the dataset (termdb/dataAvailability); a kind with a\nplot of its own opens that plot of the selected samples, which have the selection as the plot's filter.\nWhen enabled for the active cohort, GRIN2 is offered for a selection with SNV/indel, CNV or SV/fusion\ndata, alongside the mutation rows that open the genome browser.\nSummarize opens a dictionary popover beside its button to plot a term with the selection as its filter.\nGene Expression row likewise opens its gene-selection form beside the row, creating only the chosen plot.\nExactly two selected wedges can open the shared differential expression panel when supported and both\nhave RNA-seq counts; the first-selected wedge is the control and the second is the case.\nSurvival plots split two or more selected wedges into separate curves using a samplelst term, as custom variables do.\nThe selection can also become one sample group in the GROUPS tab. Used by the sunburst\nplot (sunburst.ts), which fills the Rings box with term pills, and by the About tab (about.ts), which\nlists the dataset's default rings.\n\nClick a wedge to zoom into it; a wedge without rings beneath it, a shift-click, or SELECT above the\nchart (for the wedge at the centre) selects it. Selecting a wedge drops its selected descendants, which\nit already contains.\n\nA sample with no value for a ring, or a value the ring hides (tw.q.hiddenValues, e.g. set in the dataset's\ndefault rings), ends at the previous ring, leaving a gap in the outer ring of its wedge; samples with no\nor a hidden value for the first ring are not in the chart.\n*/\n\n// stat box keys; their titles follow the unit\nconst STAT_SAMPLES = 'Samples'\nconst STAT_SELECTED = 'Selected samples'\n/** indent per ring in the Rings box, so the rings read as a path from the first to the last */\nconst RING_STEP = 6\nconst RING_LINE = '#cbd5e1'\n\nexport type SunburstChartOpts = {\n\tholder: any\n\t/** the mass app, for the term pickers and the created groups */\n\tapp: any\n\t/** px between the chart and its side columns (SunburstRendererOpts.gap) */\n\tgap?: number\n\t/** called before a plot of the selection is created, e.g. to show the plots tab */\n\tbeforeLaunch?: () => Promise<any> | void\n}\n\nexport type SunburstUpdateArg = {\n\tgenome: string\n\tdslabel: string\n\t/** ring term wrappers, inside out, filled */\n\ttwLst: any[]\n\t/** the filter the counts are of: the global filter, joined with the plot's own if any */\n\ttermfilter?: { filter?: Filter; filter0?: any }\n\t/** the plot's own filter, which a created group also has; the global filter is joined where the\n\t * group is used */\n\tgroupFilter?: Filter\n\t/** first-ring colours from the dataset, keyed by category key */\n\tcolors?: { [key: string]: string }\n}\n\nexport class SunburstChart {\n\tapp: any\n\tdom: {\n\t\terrdiv: any\n\t\tloadingDiv: any\n\t\tnoteDiv: any\n\t\t/** the rings, left of the chart; filled by the caller (ringRow) */\n\t\trings: Card\n\t\t/** the selected wedges, with the create-group action */\n\t\tsel: Card\n\t\t/** selects the wedge at the centre, in the toolbar above the chart */\n\t\tselectFocus: any\n\t}\n\trenderer: SunburstRenderer\n\ttwLst: any[] = []\n\tgroupFilter?: Filter\n\t/** selected wedges by node id, in selection order */\n\tselected: Map<string, HNode> = new Map()\n\t/** note shown in the selection card after a group is created */\n\tcreatedNote = ''\n\t/** the counted unit, from the server */\n\tunit = { one: 'sample', many: 'samples' }\n\t/** number of the latest update(), so that the response of an earlier one that arrives later is dropped */\n\tupdateId = 0\n\tbeforeLaunch?: () => Promise<any> | void\n\t/** whether the available data of the selection is shown; a change of the selection hides it */\n\tdataShown = false\n\t/** number of the latest renderData(), so that the response of an earlier one is dropped */\n\tdataId = 0\n\tdataMenu?: Menu\n\tdataPicker?: { destroy: () => void }\n\n\tconstructor(opts: SunburstChartOpts) {\n\t\tthis.app = opts.app\n\t\tthis.beforeLaunch = opts.beforeLaunch\n\t\tconst holder = opts.holder\n\t\tconst errdiv = holder.append('div').attr('class', 'sja_errorbar').style('display', 'none')\n\t\tconst loadingDiv = holder.append('div').style('display', 'none').style('padding', '24px').text('Loading ...')\n\t\tconst noteDiv = holder\n\t\t\t.append('div')\n\t\t\t.style('font-size', '.85em')\n\t\t\t.style('color', TEXT_MUTED)\n\t\t\t.style('margin-bottom', '6px')\n\t\tconst chartHolder = holder.append('div').attr('data-testid', 'sjpp-sunburst-chart')\n\t\tthis.renderer = new SunburstRenderer({\n\t\t\tholder: chartHolder,\n\t\t\tunit: this.unit,\n\t\t\trootName: 'All samples',\n\t\t\tstatLabels: [STAT_SAMPLES, STAT_SELECTED],\n\t\t\tpathCard: false,\n\t\t\tgap: opts.gap,\n\t\t\thooks: {\n\t\t\t\tonClick: (d: HNode, event: any) => this.onWedgeClick(d, event),\n\t\t\t\tisSelected: (d: HNode) => this.selected.has(d.data.id),\n\t\t\t\tcursor: (d: HNode) => (d.children ? 'zoom-in' : 'pointer'),\n\t\t\t\ttooltip: (d: HNode, box: any) => this.tooltip(d, box),\n\t\t\t\tonFocus: () => {\n\t\t\t\t\tthis.renderStats()\n\t\t\t\t\tthis.renderSidebar()\n\t\t\t\t\tthis.renderSelectFocus()\n\t\t\t\t\tthis.markShownRings()\n\t\t\t\t}\n\t\t\t}\n\t\t})\n\t\tconst rings = card(this.renderer.dom.left, 'Rings')\n\t\trings.body.attr('data-testid', 'sjpp-sunburst-rings')\n\t\tconst selectFocus = this.renderer\n\t\t\t.addControl()\n\t\t\t.attr('data-testid', 'sjpp-sunburst-select-focus')\n\t\t\t.on('click', () => {\n\t\t\t\tconst f = this.renderer.focus\n\t\t\t\tif (f?.depth && !this.selectedAncestor(f)) this.toggle(f)\n\t\t\t})\n\t\tthis.dom = {\n\t\t\terrdiv,\n\t\t\tloadingDiv,\n\t\t\tnoteDiv,\n\t\t\trings,\n\t\t\tsel: card(this.renderer.dom.right, 'Selected wedges'),\n\t\t\tselectFocus\n\t\t}\n\t}\n\n\t/** fetch and draw the counts of the rings; with no rings, an empty chart and `emptyNote`. Resolves true\n\t * when drawn, false when the request failed (the error is shown), and undefined when a later update\n\t * replaced this one, which then has its own outcome */\n\tasync update(arg: SunburstUpdateArg, emptyNote = ''): Promise<boolean | undefined> {\n\t\tthis.closeDataPicker()\n\t\tconst id = ++this.updateId\n\t\tthis.twLst = arg.twLst\n\t\tthis.groupFilter = arg.groupFilter\n\t\tthis.dom.errdiv.style('display', 'none')\n\t\tthis.dom.noteDiv.text('')\n\t\tif (!this.twLst.length) {\n\t\t\t// an earlier update may still be loading; its response is dropped\n\t\t\tthis.dom.loadingDiv.style('display', 'none')\n\t\t\tthis.selected.clear()\n\t\t\tthis.renderer.setTree({ name: this.renderer.opts.rootName, children: [] })\n\t\t\tthis.dom.noteDiv.text(emptyNote)\n\t\t\treturn true\n\t\t}\n\t\ttry {\n\t\t\tthis.dom.loadingDiv.style('display', '')\n\t\t\tconst res = await fetchSunburst({\n\t\t\t\tgenome: arg.genome,\n\t\t\t\tdslabel: arg.dslabel,\n\t\t\t\ttwLst: this.twLst,\n\t\t\t\tfilter: getNormalRoot(arg.termfilter?.filter),\n\t\t\t\tfilter0: arg.termfilter?.filter0\n\t\t\t})\n\t\t\tif (id != this.updateId) return\n\t\t\tthis.dom.loadingDiv.style('display', 'none')\n\t\t\tthis.render(res, arg.colors)\n\t\t\treturn true\n\t\t} catch (e: any) {\n\t\t\tif (id != this.updateId) return\n\t\t\tthis.dom.loadingDiv.style('display', 'none')\n\t\t\tthis.dom.errdiv.style('display', '').text(e?.message || String(e))\n\t\t\tif (e instanceof Error) console.error(e)\n\t\t\treturn false\n\t\t}\n\t}\n\n\trender(res: SunburstResponse, colors?: { [key: string]: string }) {\n\t\tthis.setUnit(res.unit || { one: 'sample', many: 'samples' })\n\t\tif (res.noFirstRingValue) {\n\t\t\tconst n = res.noFirstRingValue\n\t\t\tthis.dom.noteDiv.text(\n\t\t\t\t`${n.toLocaleString()} ${n == 1 ? this.unit.one : this.unit.many} with ${noValue(this.twLst[0])} ${\n\t\t\t\t\tn == 1 ? 'is' : 'are'\n\t\t\t\t} not shown.`\n\t\t\t)\n\t\t}\n\t\tconst focusId = this.renderer.focus?.data.id\n\t\tconst selectedIds = [...this.selected.keys()]\n\t\tthis.renderer.setTree(buildTermTree(res, this.twLst, this.renderer.opts.rootName, colors))\n\t\t// keep the selection and the centre of a re-fetch (e.g. after a filter change) where their\n\t\t// wedges still exist\n\t\tconst byId = new Map(this.renderer.root.descendants().map((d: HNode) => [d.data.id, d]))\n\t\tthis.selected = new Map(selectedIds.filter(id => byId.has(id)).map(id => [id, byId.get(id)]))\n\t\tthis.renderer.refresh()\n\t\tconst focus = focusId && byId.get(focusId)\n\t\tif (focus?.children) this.renderer.zoomTo(focus)\n\t\telse this.renderSidebar()\n\t}\n\n\t/** wording of the counted unit: centre, stat box titles, tooltip and the create-group action */\n\tsetUnit(unit: { one: string; many: string }) {\n\t\tthis.unit = unit\n\t\tthis.renderer.opts.unit = unit\n\t\tthis.renderer.opts.rootName = `All ${unit.many}`\n\t\tthis.renderer.setStatTitle(STAT_SAMPLES, capitalizeFirstLetter(unit.many))\n\t\tthis.renderer.setStatTitle(STAT_SELECTED, `Selected ${unit.many}`)\n\t}\n\n\t/** SELECT above the chart, for the wedge at the centre (which cannot be clicked) */\n\trenderSelectFocus() {\n\t\tconst f = this.renderer.focus\n\t\tconst el = this.dom.selectFocus\n\t\tif (!f?.depth) {\n\t\t\tel.style('display', 'none')\n\t\t\treturn\n\t\t}\n\t\tconst anc = this.selectedAncestor(f)\n\t\tconst on = this.selected.has(f.data.id)\n\t\tel.style('display', '')\n\t\t\t.style('opacity', anc ? 0.35 : 1)\n\t\t\t.style('cursor', anc ? 'default' : 'pointer')\n\t\t\t.style('color', on ? SELECT_STROKE : TEXT_MUTED)\n\t\t\t.attr('title', anc ? `Included in the selected ${anc.data.name}` : null)\n\t\t\t.html(\n\t\t\t\ton\n\t\t\t\t\t? `${icon('<polyline points=\"5 12 10 17 19 7\"/>')}SELECTED \u00B7 ${escapeHtml(f.data.name.toUpperCase())}`\n\t\t\t\t\t: `${icon('<circle cx=\"12\" cy=\"12\" r=\"9\"/><path d=\"M12 8v8M8 12h8\"/>')}SELECT ${escapeHtml(\n\t\t\t\t\t\t\tf.data.name.toUpperCase()\n\t\t\t\t\t )}`\n\t\t\t)\n\t}\n\n\t/************ rings box ************/\n\n\t/** a line of the Rings box, indented by its ring, with an elbow from the line above */\n\tringRow(level: number) {\n\t\tconst row = this.dom.rings.body\n\t\t\t.append('div')\n\t\t\t.style('position', 'relative')\n\t\t\t.style('margin', '2px 0')\n\t\t\t.style('margin-left', `${level * RING_STEP}px`)\n\t\tif (level) {\n\t\t\trow\n\t\t\t\t.append('div')\n\t\t\t\t.style('position', 'absolute')\n\t\t\t\t.style('left', `${-RING_STEP + 4}px`)\n\t\t\t\t.style('top', '-6px')\n\t\t\t\t.style('width', `${RING_STEP - 6}px`)\n\t\t\t\t.style('height', '18px')\n\t\t\t\t.style('border-left', `1px solid ${RING_LINE}`)\n\t\t\t\t.style('border-bottom', `1px solid ${RING_LINE}`)\n\t\t\t\t.style('border-bottom-left-radius', '4px')\n\t\t}\n\t\treturn row\n\t}\n\n\t/** the line of ring i: its number, which is marked while the ring is in the chart (markShownRings),\n\t * then a slot for the caller's term pill or name */\n\tringLine(i: number) {\n\t\tconst row = this.ringRow(i)\n\t\t\t.attr('class', 'sjpp-sunburst-ring')\n\t\t\t.style('display', 'flex')\n\t\t\t.style('align-items', 'center')\n\t\t\t.style('gap', '4px')\n\t\trow\n\t\t\t.append('span')\n\t\t\t.attr('class', 'sjpp-sunburst-ringnum')\n\t\t\t.style('font-size', '.8em')\n\t\t\t.style('width', '14px')\n\t\t\t.style('flex', '0 0 auto')\n\t\t\t.style('padding-left', '4px')\n\t\t\t.style('border-left', '3px solid transparent')\n\t\t\t.style('border-radius', '2px')\n\t\t\t.text(i + 1)\n\t\treturn row\n\t}\n\n\t/** mark the two rings around the current centre: a bar beside the ring number, which is bold */\n\tmarkShownRings() {\n\t\tconst first = this.renderer.focus?.depth || 0\n\t\tconst shown = (i: number) => i == first || i == first + 1\n\t\tthis.dom.rings.body\n\t\t\t.selectAll('.sjpp-sunburst-ring')\n\t\t\t.attr('title', (_: any, i: number) => (shown(i) ? 'Shown in the chart' : null))\n\t\t\t.select('.sjpp-sunburst-ringnum')\n\t\t\t.style('border-left-color', (_: any, i: number) => (shown(i) ? LINK : 'transparent'))\n\t\t\t.style('color', (_: any, i: number) => (shown(i) ? TEXT_DARK : TEXT_MUTED))\n\t\t\t.style('font-weight', (_: any, i: number) => (shown(i) ? 'bold' : 'normal'))\n\t}\n\n\t/************ selection ************/\n\n\t/** the selected ancestor that already contains a wedge, if any */\n\tselectedAncestor(d: HNode): HNode | undefined {\n\t\tfor (let a = d.parent; a?.depth; a = a.parent) if (this.selected.has(a.data.id)) return a\n\t}\n\n\ttoggle(d: HNode) {\n\t\tif (!d.depth) return\n\t\tconst id = d.data.id\n\t\tthis.createdNote = ''\n\t\tif (this.selected.has(id)) this.selected.delete(id)\n\t\telse {\n\t\t\tif (this.selectedAncestor(d)) return // already in the selection; the tooltip says so\n\t\t\t// a selected wedge contains its descendants, so drop any that were selected\n\t\t\tfor (const [k, n] of this.selected) if (n.ancestors().includes(d)) this.selected.delete(k)\n\t\t\tthis.selected.set(id, d)\n\t\t}\n\t\tthis.refreshSelection()\n\t}\n\n\trefreshSelection() {\n\t\tthis.dataShown = false\n\t\tthis.renderer.refresh()\n\t\tthis.renderStats()\n\t\tthis.renderSidebar()\n\t\tthis.renderSelectFocus()\n\t}\n\n\t/** wedge paths from the first ring, in selection order */\n\tselectedPaths(): TermSunNode[][] {\n\t\treturn [...this.selected.values()].map(\n\t\t\t(d: HNode) =>\n\t\t\t\td\n\t\t\t\t\t.ancestors()\n\t\t\t\t\t.reverse()\n\t\t\t\t\t.slice(1)\n\t\t\t\t\t.map((a: HNode) => a.data) as TermSunNode[]\n\t\t)\n\t}\n\n\tselectedCount(): number {\n\t\tlet n = 0\n\t\tfor (const d of this.selected.values()) n += d.value || 0\n\t\treturn n\n\t}\n\n\trenderStats() {\n\t\tconst r = this.renderer\n\t\tr.setStats(\n\t\t\tnew Map([\n\t\t\t\t[STAT_SAMPLES, r.focus.value || 0],\n\t\t\t\t[STAT_SELECTED, this.selectedCount()]\n\t\t\t])\n\t\t)\n\t}\n\n\t/************ interaction ************/\n\n\tonWedgeClick(d: HNode, event: any) {\n\t\tif (event?.shiftKey || !d.children) this.toggle(d)\n\t\telse this.renderer.zoomTo(d)\n\t}\n\n\ttooltip(d: HNode, box: any) {\n\t\tconst line = (text: string, color = '#6b7280') => box.append('div').style('color', color).text(text)\n\t\tline(d.data.level)\n\t\tconst total = this.renderer.root.value || 0\n\t\tconst pct = total ? ` (${((100 * (d.value || 0)) / total).toFixed(1)}%)` : ''\n\t\tconst s = box.append('div').style('color', '#374151')\n\t\ts.append('span').text(`${capitalizeFirstLetter(this.unit.many)}: `)\n\t\ts.append('b').text((d.value || 0).toLocaleString())\n\t\ts.append('span').text(pct)\n\t\tconst ended = d.data.value || 0\n\t\tconst next = this.twLst[d.data.ring + 1]\n\t\tif (d.children && ended && next) line(`${ended.toLocaleString()} with ${noValue(next)}`)\n\t\tconst note = (text: string, color: string) =>\n\t\t\tbox.append('div').style('margin-top', '4px').style('color', color).text(text)\n\t\tconst anc = this.selectedAncestor(d)\n\t\tif (anc) note(`Included in the selected ${anc.data.name}`, TEXT_MUTED)\n\t\telse if (this.selected.has(d.data.id))\n\t\t\tnote(d.children ? 'click to zoom in \u00B7 shift-click to deselect' : 'click to deselect', LINK)\n\t\telse note(d.children ? 'click to zoom in \u00B7 shift-click to select' : 'click to select', LINK)\n\t}\n\n\t/** the selected-wedges card: one line per wedge with its path and count, and the create-group\n\t * action as the footer */\n\trenderSidebar() {\n\t\tthis.closeDataPicker()\n\t\tconst sel = this.dom.sel\n\t\tconst { title, headRight, body } = sel\n\t\theadRight.selectAll('*').remove()\n\t\tbody.selectAll('*').remove()\n\t\theadRight.style('margin-bottom', '8px')\n\t\tconst n = this.selected.size\n\t\ttitle.text(n ? 'Selected wedges' : 'No wedges selected')\n\t\tif (n) {\n\t\t\tpill(headRight).text(n)\n\t\t\theadRight\n\t\t\t\t.append('span')\n\t\t\t\t.style('font-size', '11px')\n\t\t\t\t.style('color', LINK)\n\t\t\t\t.style('cursor', 'pointer')\n\t\t\t\t.text('Clear')\n\t\t\t\t.on('click', () => {\n\t\t\t\t\tthis.selected.clear()\n\t\t\t\t\tthis.refreshSelection()\n\t\t\t\t})\n\t\t}\n\t\tconst list = body\n\t\t\t.append('div')\n\t\t\t.style('max-height', `${SIZE - 200}px`)\n\t\t\t.style('overflow-y', 'auto')\n\t\tif (!n) {\n\t\t\tlist\n\t\t\t\t.append('div')\n\t\t\t\t.style('font-size', '0.85em')\n\t\t\t\t.style('color', TEXT_MUTED)\n\t\t\t\t.style('padding', '4px 0')\n\t\t\t\t.text('Shift-click a wedge, click an outermost one, or zoom into one and click SELECT above the chart.')\n\t\t}\n\t\tfor (const [id, d] of this.selected) {\n\t\t\tconst path = d\n\t\t\t\t.ancestors()\n\t\t\t\t.reverse()\n\t\t\t\t.slice(1)\n\t\t\t\t.map((a: HNode) => a.data.name)\n\t\t\tconst row = list\n\t\t\t\t.append('div')\n\t\t\t\t.style('display', 'flex')\n\t\t\t\t.style('align-items', 'center')\n\t\t\t\t.style('gap', '8px')\n\t\t\t\t.style('padding', '3px 6px')\n\t\t\t\t.style('margin', '2px 0')\n\t\t\t\t.style('border-radius', '6px')\n\t\t\t\t.on('mouseenter', (event: any) => {\n\t\t\t\t\tselect(event.currentTarget).style('background', '#f3f4f6').select('.sjpp-sunburst-remove').style('opacity', 1)\n\t\t\t\t})\n\t\t\t\t.on('mouseleave', (event: any) => {\n\t\t\t\t\tselect(event.currentTarget)\n\t\t\t\t\t\t.style('background', 'transparent')\n\t\t\t\t\t\t.select('.sjpp-sunburst-remove')\n\t\t\t\t\t\t.style('opacity', 0)\n\t\t\t\t})\n\t\t\tbadge(row, d.data.name, this.renderer.color(d), 24)\n\t\t\tconst text = row.append('div').style('flex', '1 1 auto').style('min-width', '0').style('line-height', '1.2')\n\t\t\ttext\n\t\t\t\t.append('div')\n\t\t\t\t.style('font-size', '0.9em')\n\t\t\t\t.style('color', TEXT_DARK)\n\t\t\t\t.style('overflow', 'hidden')\n\t\t\t\t.style('text-overflow', 'ellipsis')\n\t\t\t\t.style('white-space', 'nowrap')\n\t\t\t\t.attr('title', path.join(' \u203A '))\n\t\t\t\t.text(path.join(' \u203A '))\n\t\t\ttext\n\t\t\t\t.append('div')\n\t\t\t\t.style('font-size', '0.7em')\n\t\t\t\t.style('color', '#6b7280')\n\t\t\t\t.text(this.renderer.unitText(d.value || 0))\n\t\t\trow\n\t\t\t\t.append('span')\n\t\t\t\t.attr('class', 'sjpp-sunburst-remove')\n\t\t\t\t.style('opacity', 0)\n\t\t\t\t.style('cursor', 'pointer')\n\t\t\t\t.style('color', '#9ca3af')\n\t\t\t\t.style('font-size', '0.85em')\n\t\t\t\t.attr('title', 'Remove')\n\t\t\t\t.text('\u2715')\n\t\t\t\t.on('click', () => {\n\t\t\t\t\tthis.selected.delete(id)\n\t\t\t\t\tthis.refreshSelection()\n\t\t\t\t})\n\t\t}\n\n\t\tconst count = this.selectedCount()\n\t\tif (n) void this.renderData(body, count)\n\t\tif (!n && !this.createdNote) return\n\n\t\tconst footer = body\n\t\t\t.append('div')\n\t\t\t.style('margin-top', '10px')\n\t\t\t.style('padding-top', '10px')\n\t\t\t.style('border-top', `1px solid ${RULE}`)\n\t\tif (n) {\n\t\t\tpill(footer, { button: true })\n\t\t\t\t.attr('data-testid', 'sjpp-sunburst-create-group')\n\t\t\t\t.text(`Create group of ${this.renderer.unitText(count)}`)\n\t\t\t\t.on('click', () => this.createGroup())\n\t\t}\n\t\tif (this.createdNote) {\n\t\t\tfooter\n\t\t\t\t.append('div')\n\t\t\t\t.style('font-size', '0.8em')\n\t\t\t\t.style('color', TEXT_MUTED)\n\t\t\t\t.style('margin-top', '6px')\n\t\t\t\t.text(this.createdNote)\n\t\t}\n\t}\n\n\t/** \"Show available data\", then how many of the selected samples have each kind of data of the dataset;\n\t * a kind with a plot of the selected samples opens it */\n\tasync renderData(body: any, count: number) {\n\t\tconst div = body\n\t\t\t.append('div')\n\t\t\t.attr('data-testid', 'sjpp-sunburst-group-data')\n\t\t\t.style('margin-top', '10px')\n\t\t\t.style('padding-top', '10px')\n\t\t\t.style('border-top', `1px solid ${RULE}`)\n\t\tif (!this.dataShown) {\n\t\t\tpill(div, { button: true })\n\t\t\t\t.attr('data-testid', 'sjpp-sunburst-show-data')\n\t\t\t\t.style('cursor', 'pointer')\n\t\t\t\t.text('Show available data')\n\t\t\t\t.on('click', () => {\n\t\t\t\t\tthis.dataShown = true\n\t\t\t\t\tthis.renderSidebar()\n\t\t\t\t})\n\t\t\treturn\n\t\t}\n\t\tconst id = ++this.dataId\n\t\tconst head = div\n\t\t\t.append('div')\n\t\t\t.style('display', 'flex')\n\t\t\t.style('justify-content', 'space-between')\n\t\t\t.style('align-items', 'center')\n\t\t\t.style('gap', '8px')\n\t\t\t.style('margin-bottom', '6px')\n\t\thead\n\t\t\t.append('span')\n\t\t\t.attr('data-testid', 'sjpp-sunburst-data-title')\n\t\t\t.style('white-space', 'nowrap')\n\t\t\t.style('font-size', '0.95em')\n\t\t\t.style('font-weight', 600)\n\t\t\t.style('color', TEXT_DARK)\n\t\t\t.text(capitalizeFirstLetter(this.renderer.unitText(count)))\n\t\t// back to the button\n\t\thead\n\t\t\t.append('button')\n\t\t\t.attr('data-testid', 'sjpp-sunburst-hide-data')\n\t\t\t.style('flex', '0 0 auto')\n\t\t\t.style('font-size', '11px')\n\t\t\t.style('padding', '1px 10px')\n\t\t\t.style('border', `1px solid ${RULE}`)\n\t\t\t.style('border-radius', '10px')\n\t\t\t.style('background', 'white')\n\t\t\t.style('color', LINK)\n\t\t\t.style('cursor', 'pointer')\n\t\t\t.text('Hide \u25B4')\n\t\t\t.on('click', () => this.hideData())\n\t\tthis.dataRow(\n\t\t\tdiv.append('div').style('font-size', '0.85em'),\n\t\t\t{ kind: 'data', key: 'summarize', label: 'Summarize', counts: [] },\n\t\t\tfalse,\n\t\t\tundefined,\n\t\t\tanchor => this.showDataPicker(anchor)\n\t\t)\n\t\tconst list = div.append('div').text('Loading ...').style('font-size', '0.85em').style('color', TEXT_MUTED)\n\t\ttry {\n\t\t\tconst appState = this.app.getState()\n\t\t\tconst termfilter = appState.termfilter || {}\n\t\t\tconst filter = filterJoin([this.plotFilter(), termfilter.filter].filter(f => f?.lst?.length))\n\t\t\tconst chartTypes = getCurrentCohortChartTypes(appState)\n\t\t\tconst queries = this.app.vocabApi.termdbConfig?.queries || {}\n\t\t\tconst canCompare = this.selected.size == 2 && chartTypes.includes('DA') && queries.rnaseqGeneCount\n\t\t\tconst comparison = canCompare ? this.comparisonGroups() : []\n\t\t\tconst groups = [\n\t\t\t\t{ name: 'selection', filter },\n\t\t\t\t...comparison.map(g => ({\n\t\t\t\t\t...g,\n\t\t\t\t\tfilter: filterJoin([g.filter, termfilter.filter].filter(f => f?.lst?.length))\n\t\t\t\t}))\n\t\t\t]\n\t\t\tconst res = await fetchDataAvailability(\n\t\t\t\tthis.app.vocabApi,\n\t\t\t\tgroups,\n\t\t\t\ttermfilter.filter0,\n\t\t\t\tgetActiveCohortStr(appState)\n\t\t\t)\n\t\t\tif (id != this.dataId) return\n\t\t\tlist.text('').style('color', null)\n\t\t\tconst comparisonCounts = res.groups.slice(1)\n\t\t\tif (\n\t\t\t\tcanCompare &&\n\t\t\t\tcomparisonCounts.length == 2 &&\n\t\t\t\tcomparisonCounts.every(g => (g.data.rnaseqGeneCount || 0) > 0)\n\t\t\t) {\n\t\t\t\tconst tw = getSamplelstTWFromFilters(groups.slice(1))\n\t\t\t\tthis.dataRow(\n\t\t\t\t\tlist,\n\t\t\t\t\t{ kind: 'data', key: 'differentialExpression', label: 'Differential Gene Expression Analysis', counts: [] },\n\t\t\t\t\tfalse,\n\t\t\t\t\tundefined,\n\t\t\t\t\tanchor => this.showDataPicker(anchor, 'differentialExpression', tw)\n\t\t\t\t)\n\t\t\t}\n\t\t\tconst sections = availabilitySections({ ...res, groups: res.groups.slice(0, 1) }, ['rnaseqGeneCount'])\n\t\t\tif (!sections.length) {\n\t\t\t\tif (list.selectAll('*').empty()) list.style('color', TEXT_MUTED).text(`No data for these ${this.unit.many}`)\n\t\t\t\treturn\n\t\t\t}\n\t\t\tfor (const section of sections) {\n\t\t\t\tif (section.title) {\n\t\t\t\t\tlist\n\t\t\t\t\t\t.append('div')\n\t\t\t\t\t\t.attr('data-testid', `sjpp-sunburst-section-${section.key}`)\n\t\t\t\t\t\t.style('margin', '8px 0 2px 0')\n\t\t\t\t\t\t.style('padding', '0 6px')\n\t\t\t\t\t\t.style('font-size', '10px')\n\t\t\t\t\t\t.style('font-weight', 600)\n\t\t\t\t\t\t.style('letter-spacing', '.06em')\n\t\t\t\t\t\t.style('text-transform', 'uppercase')\n\t\t\t\t\t\t.style('color', TEXT_MUTED)\n\t\t\t\t\t\t.text(section.title)\n\t\t\t\t}\n\t\t\t\tfor (const row of section.rows) {\n\t\t\t\t\tconst launch = this.dataPlot(row)\n\t\t\t\t\tthis.dataRow(\n\t\t\t\t\t\tlist,\n\t\t\t\t\t\trow,\n\t\t\t\t\t\t!!section.title,\n\t\t\t\t\t\tlaunch,\n\t\t\t\t\t\trow.kind == 'data' && row.key == 'geneExpression'\n\t\t\t\t\t\t\t? anchor => this.showDataPicker(anchor, 'geneExpression')\n\t\t\t\t\t\t\t: undefined\n\t\t\t\t\t)\n\t\t\t\t}\n\t\t\t\tif (\n\t\t\t\t\tsection.key == 'mutations' &&\n\t\t\t\t\tchartTypes.includes('grin2') &&\n\t\t\t\t\tsection.rows.some(row => {\n\t\t\t\t\t\tconst dt = Number(row.key.split('.')[0])\n\t\t\t\t\t\tif (dt == dtsnvindel) return !!queries.snvindel\n\t\t\t\t\t\tif (dt == dtcnv) return !!(queries.cnv || queries.singleSampleMutation?.cnvTypes?.length)\n\t\t\t\t\t\treturn (dt == dtfusionrna || dt == dtsv) && queries.svfusion?.dtLst?.includes(dt)\n\t\t\t\t\t})\n\t\t\t\t) {\n\t\t\t\t\tpill(list, { button: true })\n\t\t\t\t\t\t.attr('data-testid', 'sjpp-sunburst-grin2')\n\t\t\t\t\t\t.style('font-family', 'inherit')\n\t\t\t\t\t\t.style('font-weight', 'normal')\n\t\t\t\t\t\t.style('width', 'auto')\n\t\t\t\t\t\t.style('padding', '2px 8px')\n\t\t\t\t\t\t.style('margin', '4px 6px 4px 16px')\n\t\t\t\t\t\t.text('Run GRIN2')\n\t\t\t\t\t\t.on('click', () => this.launchPlot({ chartType: 'grin2', filter: this.plotFilter() }))\n\t\t\t\t}\n\t\t\t}\n\t\t} catch (e: any) {\n\t\t\tif (id != this.dataId) return\n\t\t\tlist.attr('class', 'sja_errorbar').text(e?.message || String(e))\n\t\t}\n\t}\n\n\t/** Separate groups in selection order; for differential analysis, first control, then case. */\n\tcomparisonGroups() {\n\t\tconst termfilter = this.app.getState().termfilter || {}\n\t\tconst nodes = [...this.selected.values()]\n\t\treturn this.selectedPaths().map((path, i) => ({\n\t\t\tname: `${i + 1}: ${selectionName([path])}`,\n\t\t\tfilter: filterJoin([selectionFilter([path], this.twLst), this.groupFilter].filter(f => f?.lst?.length)),\n\t\t\tfilter0: termfilter.filter0,\n\t\t\tsampleCount: nodes[i].value || 0,\n\t\t\tcolor: this.renderer.color(nodes[i])\n\t\t}))\n\t}\n\n\tasync showDataPicker(\n\t\tanchor: HTMLElement,\n\t\tkind: 'summary' | 'geneExpression' | 'differentialExpression' = 'summary',\n\t\tsamplelstTW?: ReturnType<typeof getSamplelstTWFromFilters>\n\t) {\n\t\tthis.closeDataPicker()\n\t\tconst menu = new Menu({\n\t\t\tpadding: '8px',\n\t\t\ttestid:\n\t\t\t\tkind == 'geneExpression'\n\t\t\t\t\t? 'sjpp-sunburst-expression-menu'\n\t\t\t\t\t: kind == 'differentialExpression'\n\t\t\t\t\t? 'sjpp-sunburst-differential-menu'\n\t\t\t\t\t: 'sjpp-sunburst-summary-menu'\n\t\t})\n\t\tthis.dataMenu = menu\n\t\tconst position = () => {\n\t\t\tif (!menu.dnode) throw new Error('Missing data picker menu element')\n\t\t\tconst rect = anchor.getBoundingClientRect()\n\t\t\tconst width = menu.dnode.getBoundingClientRect().width\n\t\t\tconst x = rect.right + 5 + width <= window.innerWidth ? rect.right + 5 : Math.max(0, rect.left - width - 5)\n\t\t\tmenu.showunder(anchor, { offsetX: x - rect.left, offsetY: -rect.height - 5 })\n\t\t}\n\t\tconst loading = menu.d.append('div').text('Loading ...')\n\t\tposition()\n\t\ttry {\n\t\t\tconst state = this.app.getState()\n\t\t\tconst filter = this.plotFilter()\n\t\t\tif (kind == 'differentialExpression') {\n\t\t\t\tif (!samplelstTW) throw new Error('Missing differential analysis groups')\n\t\t\t\tconst preAnalysisData = await getGeneExpressionPreAnalysis(this.app, samplelstTW, state.termfilter)\n\t\t\t\tif (this.dataMenu != menu) return\n\t\t\t\trenderPreAnalysisData({\n\t\t\t\t\tpreAnalysisData,\n\t\t\t\t\tsamplelstTW,\n\t\t\t\t\tgroups: samplelstTW.q.groups,\n\t\t\t\t\ttip: menu,\n\t\t\t\t\tself: { app: this.app, state: { termfilter: state.termfilter } },\n\t\t\t\t\tonLaunch: async config => {\n\t\t\t\t\t\tthis.closeDataPicker()\n\t\t\t\t\t\tawait this.launchPlot(config)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t} else if (kind == 'geneExpression') {\n\t\t\t\tconst { geneExpInputInit } = await import('#plots/GeneExpInput.ts')\n\t\t\t\tif (this.dataMenu != menu) return\n\t\t\t\tconst picker = await geneExpInputInit({\n\t\t\t\t\tapp: this.app,\n\t\t\t\t\tholder: menu.d.append('div'),\n\t\t\t\t\theader: menu.d.insert('div', ':first-child'),\n\t\t\t\t\tconfig: { termType: TermTypes.GENE_EXPRESSION, spawnConfig: { filter } },\n\t\t\t\t\tonSubmit: async config => {\n\t\t\t\t\t\tthis.closeDataPicker()\n\t\t\t\t\t\tawait this.launchPlot(config)\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\tif (this.dataMenu != menu) {\n\t\t\t\t\tpicker.destroy()\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tthis.dataPicker = picker\n\t\t\t\tawait picker.update({ appState: state })\n\t\t\t} else {\n\t\t\t\tconst { appInit } = await import('#termdb/app')\n\t\t\t\tif (this.dataMenu != menu) return\n\t\t\t\tconst tree = await appInit({\n\t\t\t\t\tvocabApi: this.app.vocabApi,\n\t\t\t\t\tholder: menu.d.append('div'),\n\t\t\t\t\tstate: {\n\t\t\t\t\t\tvocab: state.vocab,\n\t\t\t\t\t\tactiveCohort: state.activeCohort,\n\t\t\t\t\t\ttermfilter: {\n\t\t\t\t\t\t\t...state.termfilter,\n\t\t\t\t\t\t\tfilter: filterJoin([filter, state.termfilter?.filter].filter(f => f?.lst?.length))\n\t\t\t\t\t\t},\n\t\t\t\t\t\tcustomTerms: state.customTerms,\n\t\t\t\t\t\ttree: { usecase: { target: 'dictionary' } }\n\t\t\t\t\t},\n\t\t\t\t\ttree: {\n\t\t\t\t\t\tclick_term: selected => {\n\t\t\t\t\t\t\tconst term = selected.term || selected\n\t\t\t\t\t\t\tthis.closeDataPicker()\n\t\t\t\t\t\t\tvoid this.launchPlot(\n\t\t\t\t\t\t\t\tterm.type == 'survival'\n\t\t\t\t\t\t\t\t\t? this.survivalConfig(selected.term ? selected : { term })\n\t\t\t\t\t\t\t\t\t: { chartType: 'summary', term: selected.term ? selected : { term }, filter }\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t\t\tif (this.dataMenu != menu) {\n\t\t\t\t\ttree.destroy()\n\t\t\t\t\treturn\n\t\t\t\t}\n\t\t\t\tthis.dataPicker = tree\n\t\t\t}\n\t\t\tif (this.dataMenu != menu) return\n\t\t\tloading.remove()\n\t\t\tif (menu.d.style('display') != 'none') position()\n\t\t} catch (e: any) {\n\t\t\tif (this.dataMenu != menu) return\n\t\t\tloading.attr('class', 'sja_errorbar').text(e?.message || String(e))\n\t\t}\n\t}\n\n\tcloseDataPicker() {\n\t\tthis.dataPicker?.destroy()\n\t\tthis.dataPicker = undefined\n\t\tthis.dataMenu?.destroy()\n\t\tthis.dataMenu = undefined\n\t}\n\n\thideData() {\n\t\tthis.dataShown = false\n\t\t// a response still on its way is not drawn\n\t\tthis.dataId++\n\t\tthis.renderSidebar()\n\t}\n\n\t/** a line of the available data: the kind of data and its count (omitted for empty counts), which opens `launch`, a plot_create config,\n\t * when given; a row of a section is indented under the section's title */\n\tdataRow(\n\t\tlist: any,\n\t\trow: AvailabilityRow,\n\t\tinSection: boolean,\n\t\tlaunch?: any,\n\t\tonActivate?: (anchor: HTMLElement) => void\n\t) {\n\t\tconst n = row.counts.length ? row.counts[0] || 0 : undefined\n\t\tconst clickable = !!launch || !!onActivate\n\t\tconst div = list\n\t\t\t.append('div')\n\t\t\t.attr('data-testid', `sjpp-sunburst-data-${row.kind == 'data' ? '' : row.kind + '-'}${row.key}`)\n\t\t\t.style('display', 'flex')\n\t\t\t.style('justify-content', 'space-between')\n\t\t\t.style('gap', '8px')\n\t\t\t.style('padding', `3px 6px 3px ${inSection ? 16 : 6}px`)\n\t\t\t.style('margin', '1px 0')\n\t\t\t.style('border-radius', '6px')\n\t\t\t.style('color', TEXT_DARK)\n\t\tdiv.append('span').text(row.label)\n\t\tdiv\n\t\t\t.append('span')\n\t\t\t.style('white-space', 'nowrap')\n\t\t\t.style('color', clickable ? LINK : null)\n\t\t\t.text(`${n === undefined ? '' : n.toLocaleString()}${row.unit ? ' ' + row.unit : ''}${clickable ? ' \u203A' : ''}`)\n\t\tif (!clickable) return\n\t\tconst activate = (anchor: HTMLElement) => (onActivate ? onActivate(anchor) : this.launchPlot(launch))\n\t\tdiv\n\t\t\t.attr('role', 'button')\n\t\t\t.attr('tabindex', 0)\n\t\t\t.attr('title', `Open the ${row.label} of these ${this.unit.many}`)\n\t\t\t.style('cursor', 'pointer')\n\t\t\t.on('mouseenter', (event: any) => select(event.currentTarget).style('background', '#f3f4f6'))\n\t\t\t.on('mouseleave', (event: any) => select(event.currentTarget).style('background', 'transparent'))\n\t\t\t.on('click', (event: MouseEvent) => activate(event.currentTarget as HTMLElement))\n\t\t\t.on('keydown', (event: KeyboardEvent) => {\n\t\t\t\tif (event.key == 'Enter' || event.key == ' ') {\n\t\t\t\t\tevent.preventDefault()\n\t\t\t\t\tactivate(event.currentTarget as HTMLElement)\n\t\t\t\t}\n\t\t\t})\n\t}\n\n\t/** the filter of the selected samples: the selection with the plot's own filter. A plot that is given it as\n\t * its own filter joins the global filter to it */\n\tplotFilter(): Filter {\n\t\tconst filters = [selectionFilter(this.selectedPaths(), this.twLst), this.groupFilter]\n\t\treturn filterJoin(filters.filter(f => f?.lst?.length)) as Filter\n\t}\n\n\tsurvivalConfig(term: any) {\n\t\treturn {\n\t\t\tchartType: 'survival',\n\t\t\tterm,\n\t\t\tfilter: this.plotFilter(),\n\t\t\t...(this.selected.size > 1 ? { term2: getSamplelstTWFromFilters(this.comparisonGroups()) } : {})\n\t\t}\n\t}\n\n\t/** the plot of the selected samples for a row of the available data, as a plot_create config; undefined\n\t * when the row has no plot of its own */\n\tdataPlot(row: AvailabilityRow): any {\n\t\tconst filter = this.plotFilter()\n\t\tconst q = this.app.vocabApi.termdbConfig?.queries || {}\n\t\t// the mutations of the selected samples, in the genome browser after a gene is entered\n\t\tif (row.kind == 'assay')\n\t\t\treturn q.snvindel || q.svfusion || q.cnv\n\t\t\t\t? {\n\t\t\t\t\t\tchartType: 'genomeBrowser',\n\t\t\t\t\t\tfilter,\n\t\t\t\t\t\t/* the mutation track shown, which the genome browser hides by default when the dataset also has\n\t\t\t\t\t\ttrackLst. The query is copied as the browser's config replaces it, not merged */\n\t\t\t\t\t\t...(q.snvindel ? { snvindel: { ...structuredClone(q.snvindel), shown: true } } : {})\n\t\t\t\t }\n\t\t\t\t: undefined\n\t\tif (row.kind == 'survival') return this.survivalConfig({ id: row.key })\n\t\t// the term search, whose DNA methylation tab lists methylation terms; a term opens its summary with the filter\n\t\tif (row.key == 'dnaMethylation') return { chartType: 'dictionary', spawnConfig: { filter } }\n\t\t// the table of the imaging samples that pass the filter, to render on a brain template\n\t\tif (row.key == 'NIdata') return { chartType: 'brainImaging', filter }\n\t\t// the lanes of the patients of the selected samples\n\t\tif (row.key == 'longitudinal') return { chartType: 'swimmer', filter }\n\t}\n\n\tasync launchPlot(config: any) {\n\t\ttry {\n\t\t\tawait this.beforeLaunch?.()\n\t\t\tawait this.app.dispatch({ type: 'plot_create', config })\n\t\t} catch (e: any) {\n\t\t\tthis.dom.errdiv.style('display', '').text(e?.message || String(e))\n\t\t}\n\t}\n\n\t/** one group of the union of the selected wedges, added to the GROUPS tab; the group also has the\n\t * plot's own filter, which the counts are of. The global filter is joined where the group is used */\n\tcreateGroup() {\n\t\tconst paths = this.selectedPaths()\n\t\tif (!paths.length) return\n\t\ttry {\n\t\t\tconst name = selectionName(paths)\n\t\t\tconst groups = this.app.getState().groups || []\n\t\t\tconst filter = getGroupFilterOfConditions([this.groupFilter, selectionFilter(paths, this.twLst)])\n\t\t\taddNewGroup(this.app, filter, groups, name)\n\t\t\tthis.selected.clear()\n\t\t\tthis.createdNote = `Group \"${name}\" added; find it in the GROUPS tab.`\n\t\t\tthis.refreshSelection()\n\t\t} catch (e: any) {\n\t\t\tthis.dom.errdiv.style('display', '').text(e?.message || String(e))\n\t\t}\n\t}\n\n\tdestroy() {\n\t\tthis.closeDataPicker()\n\t\tthis.renderer?.destroy()\n\t}\n}\n\n/** why a sample is not in a ring: \"no X value\", or \"no or a hidden X value\" when the ring hides some\n * categories (tw.q.hiddenValues), which the server treats as missing. The term's uncomputable values,\n * which fillTermWrapper puts in hiddenValues by default, are missing values anyway, so they do not count */\nfunction noValue(tw: any): string {\n\tconst values = tw.term.values || {}\n\tconst hidden = Object.keys(tw.q?.hiddenValues || {}).some(k => !values[k]?.uncomputable)\n\treturn `no ${hidden ? 'or a hidden ' : ''}${tw.term.name} value`\n}\n\n/** termdb/sunburst request; errors are thrown */\nasync function fetchSunburst(body: SunburstRequest): Promise<SunburstResponse> {\n\tconst res: any = await dofetch3('termdb/sunburst', { body })\n\tif (res?.error) throw res.error\n\tif (!res?.nodes) throw 'invalid response from termdb/sunburst'\n\treturn res\n}\n", "import { getCompInit, copyMerge, type RxComponent, type ComponentApi } from '#rx'\nimport { PlotBase } from '#plots/PlotBase.ts'\nimport { getCombinedTermFilter } from '#filter'\nimport { fillTermWrapper, termsettingInit } from '#termsetting'\nimport { SunburstChart } from './SunburstChart'\nimport { allowedSampleTypes } from './sunburst.data'\n\n/*\nSunburst of nested sample counts, one dictionary term per ring (categorical, or numeric binned),\ninside out. The dataset sets the default rings (termdb.sunburst.twLst); the Rings box left of the\nchart switches, edits, adds and removes them (from each term pill's menu). Counts follow the\nglobal and plot filters.\n\nThe chart itself, its wedge selection and the sample group made from it are in SunburstChart.ts, which\nthe About tab also uses.\n\nIn a dataset with a sample hierarchy, the rings are patient terms and the terms of one sample type (no\nvalue maps between sibling types such as primary and PDX samples): once a ring is of a sample type, the\npickers offer only terms of its line of descent. The server returns the counted unit (e.g. patients,\nprimary samples), which the chart's wording follows.\n*/\n\nclass Sunburst extends PlotBase implements RxComponent {\n\tstatic type = 'sunburst'\n\ttype: string\n\tchart!: SunburstChart\n\ttwLst: any[] = []\n\t/** the rings the Rings box shows, to rebuild its pills only when they change */\n\tringsShown = ''\n\t/** the Rings box pills and their main() argument without the filter, which follows the state */\n\tringPills: { pill: any; arg: any }[] = []\n\n\tconstructor(opts: any, api: ComponentApi) {\n\t\tsuper(opts, api)\n\t\tthis.type = Sunburst.type\n\t\tif (this.opts.header)\n\t\t\tthis.opts.header.style('padding-left', '7px').style('color', 'rgb(85, 85, 85)').html('Sunburst')\n\t}\n\n\tgetState(appState: any) {\n\t\tconst config = appState.plots.find((p: any) => p.id === this.id)\n\t\tif (!config) throw `No plot with id='${this.id}' found`\n\t\treturn {\n\t\t\tconfig,\n\t\t\t// global mass filter combined with this plot's local filter\n\t\t\ttermfilter: getCombinedTermFilter(appState, config.filter),\n\t\t\tgenome: appState.vocab.genome,\n\t\t\tdslabel: appState.vocab.dslabel,\n\t\t\tsunburst: appState.termdbConfig?.sunburst || {}\n\t\t}\n\t}\n\n\tasync init() {\n\t\t// the plot holder inherits nowrap from the sandbox; the cards need their text to wrap\n\t\tconst holder = this.opts.holder\n\t\t\t.append('div')\n\t\t\t.attr('data-testid', 'sjpp-sunburst-holder')\n\t\t\t.style('white-space', 'normal')\n\t\t\t.style('padding', '10px')\n\t\tthis.chart = new SunburstChart({ holder, app: this.app })\n\t\t// a ring pill is only the term: termsetting's info button (its holder's 4th child) is hidden\n\t\tthis.chart.dom.rings.box\n\t\t\t.append('style')\n\t\t\t.text('.sjpp-sunburst-ringpill > div:nth-child(4) { display: none !important; }')\n\t}\n\n\tasync main() {\n\t\tconst config = this.state.config\n\t\tthis.twLst = config.twLst || []\n\t\tawait this.renderRings()\n\t\tawait this.chart.update(\n\t\t\t{\n\t\t\t\tgenome: this.state.genome,\n\t\t\t\tdslabel: this.state.dslabel,\n\t\t\t\ttwLst: this.twLst,\n\t\t\t\ttermfilter: this.state.termfilter,\n\t\t\t\tgroupFilter: config.filter,\n\t\t\t\tcolors: this.state.sunburst.colors\n\t\t\t},\n\t\t\t'Add a ring in the Rings box to draw the sunburst.'\n\t\t)\n\t}\n\n\t/************ rings box ************/\n\n\t/** one line per ring: its number and a term pill, whose menu switches, edits or removes the\n\t * term; then + Add ring. Rebuilt only when the rings change; otherwise the pills get the current\n\t * filter, which their term pickers use */\n\tasync renderRings() {\n\t\tconst twLst = this.twLst\n\t\tconst filter = this.state.termfilter?.filter\n\t\tconst sig = JSON.stringify(twLst.map(tw => [tw.$id, tw.q]))\n\t\tif (sig == this.ringsShown) {\n\t\t\tawait Promise.all(this.ringPills.map(({ pill, arg }) => pill.main({ ...arg, filter })))\n\t\t\treturn\n\t\t}\n\t\tthis.ringsShown = sig\n\t\tthis.ringPills = []\n\t\tthis.chart.dom.rings.body.selectAll('*').remove()\n\t\tconst disable_terms = twLst.map(tw => tw.term)\n\t\tconst sampleTypes = this.app.vocabApi.termdbConfig?.sampleTypes\n\t\tconst edit = (lst: any[]) => this.app.dispatch({ type: 'plot_edit', id: this.id, config: { twLst: lst } })\n\t\tfor (const [i, tw] of twLst.entries()) {\n\t\t\tconst pillDiv = this.chart\n\t\t\t\t.ringLine(i)\n\t\t\t\t.append('div')\n\t\t\t\t.attr('class', 'sjpp-sunburst-ringpill')\n\t\t\t\t.style('min-width', '0')\n\t\t\t\t.style('overflow', 'hidden')\n\t\t\t\t.style('white-space', 'nowrap')\n\t\t\t\t.style('font-size', '.9em')\n\t\t\t\t.style('text-overflow', 'ellipsis')\n\t\t\t\t.attr('title', tw.term.name)\n\t\t\tconst others = twLst.filter((_, j) => j != i)\n\t\t\tconst p = await this.ringPill(\n\t\t\t\tpillDiv,\n\t\t\t\tnewTw => {\n\t\t\t\t\tconst lst = twLst.slice()\n\t\t\t\t\tif (newTw?.term) lst[i] = newTw\n\t\t\t\t\telse lst.splice(i, 1)\n\t\t\t\t\tedit(lst)\n\t\t\t\t},\n\t\t\t\tallowedSampleTypes(others, sampleTypes)\n\t\t\t)\n\t\t\tthis.ringPills.push({ pill: p, arg: { term: tw.term, q: tw.q, $id: tw.$id, disable_terms } })\n\t\t}\n\t\tconst addDiv = this.chart\n\t\t\t.ringRow(twLst.length)\n\t\t\t.style('margin-top', '6px')\n\t\t\t.append('div')\n\t\t\t.style('margin-left', '21px')\n\t\tconst add = await this.ringPill(\n\t\t\taddDiv,\n\t\t\tnewTw => {\n\t\t\t\tif (newTw?.term) edit([...twLst, newTw])\n\t\t\t},\n\t\t\tallowedSampleTypes(twLst, sampleTypes),\n\t\t\t'+ Add ring'\n\t\t)\n\t\tthis.ringPills.push({ pill: add, arg: { term: null, q: null, disable_terms } })\n\t\tawait Promise.all(this.ringPills.map(({ pill, arg }) => pill.main({ ...arg, filter })))\n\t\tthis.chart.markShownRings()\n\t}\n\n\t/** a ring term pill; `sampleTypes` limits the terms it offers (see allowedSampleTypes) */\n\tasync ringPill(holder: any, callback: (tw: any) => void, sampleTypes?: number[], placeholder?: string) {\n\t\treturn await termsettingInit({\n\t\t\tholder,\n\t\t\tvocabApi: this.app.vocabApi,\n\t\t\tusecase: { target: 'sunburst', ...(sampleTypes ? { sampleTypes } : {}) },\n\t\t\t// the full term name; a name too long for the box is clipped, with the name as its tooltip\n\t\t\tabbrCutoff: 1000,\n\t\t\tmenuOptions: '*',\n\t\t\tnumericEditMenuVersion: ['discrete'],\n\t\t\tdefaultQ4fillTW: { numeric: { mode: 'discrete' } },\n\t\t\t...(placeholder ? { placeholder } : {}),\n\t\t\tdebug: this.app.opts.debug,\n\t\t\tcallback\n\t\t})\n\t}\n\n\tdestroy() {\n\t\tthis.chart?.destroy()\n\t}\n}\n\n/** the plot config, with the dataset's default rings unless `opts` gives its own; also used by the\n * About tab for the same rings */\nexport async function getPlotConfig(opts: any, app: any) {\n\tconst config: any = {\n\t\tchartType: 'sunburst',\n\t\tsettings: {}\n\t}\n\tcopyMerge(config, opts)\n\t// default rings from the dataset; a saved session or another chart may give its own\n\tif (!config.twLst) config.twLst = structuredClone(app.vocabApi.termdbConfig?.sunburst?.twLst || [])\n\tconfig.twLst = await Promise.all(\n\t\tconfig.twLst.map((tw: any) => fillTermWrapper(tw, app.vocabApi, { numeric: { mode: 'discrete' } } as any))\n\t)\n\treturn config\n}\n\nexport const sunburstInit = getCompInit(Sunburst)\n// this alias will allow abstracted dynamic imports\nexport const componentInit = sunburstInit\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAyBO,SAAS,cACf,KACA,OACA,UACA,QACc;AACd,QAAM,UAAU,CAAC,GAAiB,MAAc,eAAwC;AACvF,UAAM,KAAK,MAAM,IAAI;AACrB,UAAM,WAAW,IAAI,MAAM,IAAI,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,OAAO,EAAE,IAAI;AACrE,UAAM,OAAO,CAAC,GAAG,YAAY,CAAC,GAAG,KAAK,EAAE,GAAG,CAAC;AAC5C,UAAM,YAAY,EAAE,YAAY,CAAC,GAAG,IAAI,OAAK,QAAQ,GAAG,OAAO,GAAG,IAAI,CAAC;AACvE,UAAM,OAAoB;AAAA,MACzB,MAAM,SAAS;AAAA,MACf,OAAO,GAAG,KAAK;AAAA;AAAA,MAEf,OAAO,EAAE,QAAQ,SAAS,OAAO,CAAC,GAAG,MAAM,IAAI,EAAE,OAAO,CAAC;AAAA,MACzD,OAAO,EAAE;AAAA,MACT,IAAI,KAAK,UAAU,IAAI;AAAA,MACvB;AAAA,MACA,KAAK,EAAE;AAAA,MACP;AAAA,IACD;AACA,UAAM,QAAS,QAAQ,KAAK,SAAS,EAAE,GAAG,KAAM,SAAS;AACzD,QAAI,MAAO,MAAK,QAAQ;AACxB,QAAI,SAAS,OAAQ,MAAK,WAAW;AACrC,WAAO;AAAA,EACR;AACA,SAAO,EAAE,MAAM,UAAU,OAAO,GAAG,OAAO,IAAI,OAAO,UAAU,IAAI,MAAM,IAAI,OAAK,QAAQ,GAAG,GAAG,CAAC,CAAC,CAAC,EAAE;AACtG;AAGO,SAAS,mBAAmB,IAAS,UAAiC;AAC5E,MAAI,SAAS,OAAQ,QAAO,gBAAgB,SAAS,MAAM;AAC3D,MAAI,CAAC,SAAS,IAAK,OAAM,2BAA2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AQ,CAAC;AAAA,EAC1G;AACA,SAAO;AACR;AAEO,IAAM,eAAe,YAAY,QAAQ;AAEzC,IAAM,gBAAgB;",
6
+ "names": ["pill"]
7
+ }
@@ -0,0 +1,340 @@
1
+ import {
2
+ summaryInit
3
+ } from "./chunk-IBUDYN5E.js";
4
+ import {
5
+ navInit
6
+ } from "./chunk-VPRP24DY.js";
7
+ import {
8
+ skipPrevActionAbort,
9
+ storeInit
10
+ } from "./chunk-GKA6USKV.js";
11
+ import {
12
+ AppBase,
13
+ downloadSVGsAsPdf,
14
+ filterRxCompInit,
15
+ newSandboxDiv,
16
+ sayerror,
17
+ vocabInit
18
+ } from "./chunk-YBXQBSFY.js";
19
+ import {
20
+ importPlot
21
+ } from "./chunk-QKVKQD6S.js";
22
+ import {
23
+ Menu
24
+ } from "./chunk-CNFTQSNE.js";
25
+ import {
26
+ AppApi,
27
+ getCompInit,
28
+ multiInit
29
+ } from "./chunk-HBNB5TRH.js";
30
+ import {
31
+ select_default
32
+ } from "./chunk-I6Y4O3RR.js";
33
+
34
+ // mass/plot.js
35
+ var MassPlot = class _MassPlot {
36
+ static type = "plot";
37
+ constructor(opts) {
38
+ this.type = _MassPlot.type;
39
+ setRenderers(this);
40
+ this.initUi(opts);
41
+ }
42
+ reactsTo(action) {
43
+ if (action.type.endsWith("_group")) return true;
44
+ if (action.type.startsWith("plot_")) {
45
+ return action.id === this.id || action.id == this.parentId || action.config?.parentId === this.id || action.parentId === this.id;
46
+ }
47
+ if (action.type.startsWith("filter")) return true;
48
+ if (action.type.startsWith("cohort")) return true;
49
+ if (action.type == "app_refresh") return true;
50
+ if (action.type.endsWith("customTerm")) return true;
51
+ }
52
+ // !!! NOTE: This getState() method is reused by the plot-specific recover component.
53
+ // When logging something within getState, it may have been called by either the plot or recover instance
54
+ getState(appState) {
55
+ const config = appState.plots.find((p) => p.id === this.id);
56
+ if (!config) {
57
+ throw `No plot with id='${this.id}' found. Did you set this.id before this.api = getComponentApi(this)?`;
58
+ }
59
+ return {
60
+ termfilter: appState.termfilter,
61
+ config,
62
+ groups: appState.groups,
63
+ // quick fix to skip history tracking as needed
64
+ _scope_: appState._scope_
65
+ };
66
+ }
67
+ async main() {
68
+ this.dom.errdiv.style("display", "none").style("background-color", "rgba(255,100,100,0.2)").html("");
69
+ if (!this.components) await this.setComponents(this.opts);
70
+ }
71
+ async setComponents(opts) {
72
+ const _ = await importPlot(opts.chartType);
73
+ const promises = {
74
+ // recover: recoverInit({
75
+ // app: this.app,
76
+ // holder: this.dom.localRecoverDiv,
77
+ // getState: appState => this.getState(appState),
78
+ // reactsTo: action =>
79
+ // action.id == this.id &&
80
+ // (action.type == 'plot_edit' || action.type == 'plot_nestedEdits') &&
81
+ // action._track_ != 'none',
82
+ // plot_id: this.id,
83
+ // maxHistoryLen: 10,
84
+ // hideLabel: true
85
+ // }),
86
+ chart: _.componentInit({
87
+ app: this.app,
88
+ holder: this.dom.viz,
89
+ header: this.dom.paneTitleDiv,
90
+ id: this.id,
91
+ plotDiv: select_default(this.dom.holder.app_div.node().parentNode),
92
+ /******* reason for passing plotDiv to chart ********
93
+ - this plot instance may allow to launch a new plot as a persistent sandbox
94
+ inside mass plotDiv, maintaining the uniform plot appearance despite it's ad-hoc
95
+ the new plot is not a formal mass plot type, and cannot be done via app.dispatch()
96
+ thus the need to directly access plotDiv
97
+ - example: mds3 tk from genome browser can launch disco etc
98
+ - having access to plotDiv may offer flexibility for the plot to do stuff
99
+
100
+ since plot.js has no access to mass app .dom.plotDiv in which all apps are shown,
101
+ this workarounds gets the parent node of sandbox.app_div which is app.dom.plotDiv
102
+ */
103
+ getFilterImage: async () => this.components.filter.getFilterImage()
104
+ })
105
+ };
106
+ const plotFilterCfg = this.app.vocabApi.termdbConfig?.plotFilter;
107
+ if (!this.state.config.hidePlotFilter && !plotFilterCfg?.hide) {
108
+ const filterDisabledMsg = plotFilterCfg?.disabledMessage;
109
+ const filterHolder = filterDisabledMsg ? this.dom.filterDiv.append("div").style("pointer-events", "none").style("opacity", 0.5) : this.dom.filterDiv;
110
+ if (filterDisabledMsg) this.dom.filterDiv.attr("title", filterDisabledMsg).style("cursor", "not-allowed");
111
+ promises.filter = filterRxCompInit({
112
+ app: this.app,
113
+ vocabApi: this.app.vocabApi,
114
+ parentId: this.id,
115
+ holder: filterHolder,
116
+ hideLabel: true,
117
+ emptyLabel: "+Add new filter",
118
+ callback: (filter) => {
119
+ this.app.dispatch({
120
+ id: this.id,
121
+ type: "plot_edit",
122
+ config: { filter }
123
+ });
124
+ }
125
+ });
126
+ }
127
+ this.components = await multiInit(promises);
128
+ }
129
+ destroy() {
130
+ this.dom.holder.app_div.selectAll("*").remove();
131
+ this.dom.holder.app_div.remove();
132
+ for (const key in this.dom) {
133
+ delete this.dom[key];
134
+ }
135
+ }
136
+ };
137
+ var plotInit = getCompInit(MassPlot);
138
+ function setRenderers(self) {
139
+ self.initUi = function(opts) {
140
+ const holder = opts.holder;
141
+ opts.holder.app_div.attr("data-testid", "sjpp-massplot-sandbox-" + opts.chartType);
142
+ holder.header.style("padding", 0);
143
+ try {
144
+ self.dom = {
145
+ tip: new Menu({ padding: "0px" }),
146
+ holder,
147
+ paneTitleDiv: holder.header.append("div").style("display", "inline-block").style("color", "#555").style("padding-left", "7px").style("vertical-align", "sub"),
148
+ localRecoverDiv: holder.header.append("div").style("display", "inline-block"),
149
+ filterDiv: holder.header.append("div").style("display", "inline-block").style("zoom", 0.9),
150
+ body: holder.body.style("white-space", "nowrap").style("overflow-x", "auto"),
151
+ // will hold no data notice or the page title in multichart views
152
+ errdiv: holder.body.append("div").style("display", "none").style("padding", "5px").style("background-color", "rgba(255,100,100,0.2)"),
153
+ // dom.viz will hold the rendered view
154
+ viz: holder.body.append("div")
155
+ };
156
+ } catch (e) {
157
+ self.dom.errdiv.style("display", "none").text(e);
158
+ }
159
+ };
160
+ }
161
+
162
+ // mass/app.ts
163
+ var MassApp = class extends AppBase {
164
+ // expected class-specific props
165
+ constructor(opts, api) {
166
+ super(opts);
167
+ this.components = {};
168
+ this.wasDestroyed = false;
169
+ this.api = api;
170
+ if (opts.addLoginCallback) {
171
+ opts.addLoginCallback(() => this.api.dispatch({ type: "app_refresh" }));
172
+ }
173
+ this.type = "app";
174
+ this.dom = {
175
+ holder: opts.holder,
176
+ // do not modify holder style
177
+ topbar: opts.holder.append("div"),
178
+ errdiv: opts.holder.append("div"),
179
+ plotDiv: opts.holder.append("div")
180
+ };
181
+ if (opts.getPlotConfig_mutateSummary) {
182
+ if (typeof opts.getPlotConfig_mutateSummary != "function")
183
+ throw new Error("opts.getPlotConfig_mutateSummary is not function");
184
+ }
185
+ this.plotIdToSandboxId = {};
186
+ }
187
+ static {
188
+ this.type = "app";
189
+ }
190
+ async preApiFreeze(api) {
191
+ try {
192
+ api.tip = new Menu({ padding: "5px" });
193
+ api.tip.d.on("keyup", (event) => {
194
+ if (event.key == "Escape") api.tip.hide();
195
+ });
196
+ api.printError = (e) => this.printError(e);
197
+ api.vocabApi = await vocabInit({
198
+ app: api,
199
+ state: { vocab: this.opts.state.vocab },
200
+ fetchOpts: this.opts.fetchOpts,
201
+ getDatasetAccessToken: this.opts.getDatasetAccessToken
202
+ });
203
+ api.hasWebGL = function() {
204
+ try {
205
+ const canvas = document.createElement("canvas");
206
+ return !!(window.WebGLRenderingContext && (canvas.getContext("webgl") || canvas.getContext("experimental-webgl")));
207
+ } catch (_) {
208
+ return false;
209
+ }
210
+ };
211
+ this.opts.state.vocab = api.vocabApi.vocab;
212
+ } catch (e) {
213
+ console.log(`preApiFreeze error`, e);
214
+ throw e;
215
+ }
216
+ }
217
+ async init() {
218
+ try {
219
+ const debounceInterval = "debounceInterval" in this.opts ? this.opts.debounceInterval : 0;
220
+ const embeddedSessionState = this.opts.embeddedSessionState;
221
+ if (embeddedSessionState) {
222
+ Object.assign(this.opts.state, embeddedSessionState);
223
+ }
224
+ this.store = await storeInit({ app: this.api, state: this.opts.state, debounceInterval });
225
+ this.state = await this.store.copyState();
226
+ this.components = {};
227
+ if (this.state.nav.header_mode != "hidden") {
228
+ this.components.nav = await navInit({
229
+ app: this.api,
230
+ holder: this.dom.topbar,
231
+ header_mode: this.state && this.state.nav && this.state.nav.header_mode,
232
+ vocab: this.state.vocab,
233
+ massSessionDuration: this.state.termdbConfig.massSessionDuration,
234
+ // this.opts.massSessionDuration
235
+ pkgver: this.opts.pkgver,
236
+ downloadPlots: () => {
237
+ this.downloadPlots();
238
+ }
239
+ });
240
+ }
241
+ this.components.plots = {};
242
+ if (this.opts.app?.doNotAwaitInitRender) {
243
+ this.api.dispatch();
244
+ } else {
245
+ await this.api.dispatch();
246
+ }
247
+ } catch (e) {
248
+ this.printError(e);
249
+ throw e;
250
+ }
251
+ }
252
+ async main() {
253
+ await this.api.vocabApi.main();
254
+ this.dom.plotDiv?.style(
255
+ "display",
256
+ this.state.nav?.header_mode != "hidden" && this.state.nav?.activeTab == 0 ? "none" : "block"
257
+ );
258
+ const newPlots = {};
259
+ let sandbox;
260
+ for (const plot of this.state.plots) {
261
+ if (plot.parentId) continue;
262
+ if (this.components.plots && !(plot.id in this.components.plots)) {
263
+ sandbox = newSandboxDiv(this.dom.plotDiv, {
264
+ close: () => {
265
+ this.api.dispatch({
266
+ type: "plot_delete",
267
+ id: plot.id
268
+ });
269
+ },
270
+ plotId: plot.id,
271
+ beforePlotId: plot.insertBefore || null,
272
+ style: {
273
+ width: "98.5%"
274
+ }
275
+ });
276
+ if (plot.chartType == "summary")
277
+ newPlots[plot.id] = summaryInit(Object.assign({ app: this.api, holder: sandbox }, plot));
278
+ else newPlots[plot.id] = plotInit(Object.assign({ app: this.api, holder: sandbox }, plot));
279
+ }
280
+ }
281
+ const numNewPlots = Object.keys(newPlots).length;
282
+ if (numNewPlots) {
283
+ await Promise.all(Object.values(newPlots));
284
+ for (const plotId in newPlots) {
285
+ this.components.plots[plotId] = await newPlots[plotId];
286
+ }
287
+ }
288
+ for (const plotId in this.components.plots) {
289
+ if (!this.state.plots.find((p) => p.id === plotId)) {
290
+ this.components.plots[plotId].destroy();
291
+ delete this.components.plots[plotId];
292
+ }
293
+ }
294
+ }
295
+ printError(e) {
296
+ const errdiv = e.errdiv || this.dom.errdiv;
297
+ if (errdiv) errdiv.style("display", "").html("").style("background-color", "");
298
+ sayerror(errdiv || this.opts.holder, "Error: " + (e.message || e.error || e));
299
+ if (e.stack) console.log(e.stack);
300
+ this.bus.emit("error");
301
+ if (this.opts?.debug) {
302
+ console.groupCollapsed("Stack trace from MassApp.printError() call.");
303
+ console.trace();
304
+ console.groupEnd();
305
+ }
306
+ }
307
+ skipPrevActionAbort(action) {
308
+ return skipPrevActionAbort(action);
309
+ }
310
+ async downloadPlots() {
311
+ const chartImagesAll = [];
312
+ let i = 1;
313
+ const values = Object.values(this.components.plots);
314
+ for (const plot of values) {
315
+ const chart = plot.type == "plot" ? plot.getComponents("chart") : plot;
316
+ const chartImages = chart.getChartImages ? chart.getChartImages() : null;
317
+ if (!chartImages) {
318
+ console.log(`The ${chart.type} does not support downloading images yet`);
319
+ continue;
320
+ }
321
+ for (const chartImage of chartImages) {
322
+ if (values.length > 1) chartImage.name = `${i}. ${chartImage.name}`;
323
+ chartImagesAll.push(chartImage);
324
+ }
325
+ i++;
326
+ }
327
+ if (chartImagesAll.length > 0) {
328
+ const filters = [];
329
+ const globalFilterImg = await this.components.nav.getComponents("filter").getFilterImage();
330
+ if (globalFilterImg) filters.push(globalFilterImg);
331
+ downloadSVGsAsPdf(chartImagesAll, "plots", "landscape", filters);
332
+ } else alert("No chart images available for download");
333
+ }
334
+ };
335
+ var appInit = AppApi.getInitFxn(MassApp);
336
+
337
+ export {
338
+ appInit
339
+ };
340
+ //# sourceMappingURL=chunk-KTJUDDVQ.js.map
@@ -0,0 +1,55 @@
1
+ import {
2
+ colorinframe
3
+ } from "./chunk-YBXQBSFY.js";
4
+ import {
5
+ IN_frame,
6
+ OUT_frame
7
+ } from "./chunk-2N345NXD.js";
8
+
9
+ // src/spliceevent.phrase.js
10
+ function spliceevent_phrase_default(evt) {
11
+ const htmls = [];
12
+ if (evt.isaltexon || evt.isskipexon) {
13
+ const exonstart = Math.min(...evt.skippedexon);
14
+ const exonstop = Math.max(...evt.skippedexon);
15
+ htmls.push(
16
+ '<div style="display:inline-block">' + (exonstart == exonstop ? "exon " + (exonstart + 1) : "exons " + (exonstart + 1) + "-" + (exonstop + 1)) + " " + (evt.isaltexon ? "alternative usage" : "skipping") + "</div>"
17
+ );
18
+ if (evt.isaltexon) {
19
+ htmls.push(
20
+ "<div class=sja_tinylogo_body>" + evt.gmB.isoform + ", " + evt.gmA.isoform + "</div><div class=sja_tinylogo_head>ISOFORMS</div>"
21
+ );
22
+ } else {
23
+ htmls.push("<div class=sja_tinylogo_body>" + evt.gm.isoform + "</div><div class=sja_tinylogo_head>ISOFORM</div>");
24
+ }
25
+ if (evt.junctionB.data) {
26
+ htmls.push(
27
+ "<div class=sja_tinylogo_body>" + evt.junctionB.data.length + "</div><div class=sja_tinylogo_head>SAMPLE" + (evt.junctionB.data.length > 1 ? "S" : "") + "</div>"
28
+ );
29
+ }
30
+ htmls.push("<div class=sja_tinylogo_body>" + evt.percentage + " %</div><div class=sja_tinylogo_head>PERCENT</div>");
31
+ if (evt.framenocheck) {
32
+ if (evt.utr3) {
33
+ htmls.push(`<div class=sja_tinylogo_body style="background-color:#ededed">3' UTR</div>`);
34
+ } else if (evt.utr5) {
35
+ htmls.push(`<div class=sja_tinylogo_body style="background-color:#ededed">5' UTR</div>`);
36
+ }
37
+ } else if (evt.frame == IN_frame) {
38
+ htmls.push(
39
+ '<div class=sja_tinylogo_body style="background-color:' + colorinframe + ';color:white">IN</div><div class=sja_tinylogo_head>FRAME</div>'
40
+ );
41
+ } else if (evt.frame == OUT_frame) {
42
+ htmls.push("<div class=sja_tinylogo_body>OUT</div><div class=sja_tinylogo_head>FRAME</div>");
43
+ } else {
44
+ htmls.push("<div class=sja_tinylogo_body>?</div><div class=sja_tinylogo_head>FRAME</div>");
45
+ }
46
+ } else {
47
+ return "unknown event type!!";
48
+ }
49
+ return htmls.join(" ");
50
+ }
51
+
52
+ export {
53
+ spliceevent_phrase_default
54
+ };
55
+ //# sourceMappingURL=chunk-MY5MF4RI.js.map
@@ -0,0 +1,56 @@
1
+ import {
2
+ sayerror
3
+ } from "./chunk-YBXQBSFY.js";
4
+ import {
5
+ TermTypeGroups
6
+ } from "./chunk-2N345NXD.js";
7
+
8
+ // termdb/handlers/singleCellNumericValue.ts
9
+ var SearchHandler = class {
10
+ async init(opts) {
11
+ this.validateOpts(opts);
12
+ this.callback = opts.callback;
13
+ this.app = opts.app;
14
+ const holder = opts.holder.append("div").style("padding", "10px 0px");
15
+ const scnvTerms = opts.app.vocabApi.termdbConfig?.termType2terms?.[TermTypeGroups.SINGLECELL_NUMERIC_VALUE];
16
+ if (!scnvTerms?.length) {
17
+ sayerror(
18
+ holder,
19
+ `termType2terms[${TermTypeGroups.SINGLECELL_NUMERIC_VALUE}]:[] is required in termdbConfig for singleCellNumericValue handler`
20
+ );
21
+ return;
22
+ }
23
+ const usecaseConfig = opts.usecase?.specialCase?.config;
24
+ const plots = usecaseConfig?.sample?.plots;
25
+ const isMeta = usecaseConfig?.sample?.isMetaResult;
26
+ const filtered = plots ? scnvTerms.filter((t) => plots.includes(t.plot)) : usecaseConfig?.name ? scnvTerms.filter((t) => t.plot === usecaseConfig.name) : scnvTerms;
27
+ const getLabel = (t) => isMeta || plots?.length == 1 ? t.name : `${t.name} (${t.plot})`;
28
+ const filteredTerms = new Set(
29
+ plots || !usecaseConfig?.name ? filtered.map((t) => ({ ...t, label: getLabel(t) })) : filtered
30
+ );
31
+ for (const t of Array.from(filteredTerms)) {
32
+ holder.append("div").classed("termdiv", true).style("padding", "0px 5px").append("div").classed("termlabel sja_filter_tag_btn sja_tree_click_term ts_pill", true).style("display", "inline-block").style("padding", "5px 8px").style("margin", "1px 0px").style("border-radius", "6px").text(t.label || t.name).on("click", () => {
33
+ const term = this.makeTerm(t, usecaseConfig);
34
+ this.callback(term);
35
+ });
36
+ }
37
+ }
38
+ makeTerm(_term, usecaseConfig) {
39
+ const term = { ..._term };
40
+ if (!term.sample && usecaseConfig?.sample) term.sample = usecaseConfig.sample;
41
+ return term;
42
+ }
43
+ validateOpts(opts) {
44
+ if (opts.callback == null) throw new Error("callback is required");
45
+ if (opts.app == null) throw new Error("app is required");
46
+ if (opts.holder == null) throw new Error("holder is required");
47
+ if (opts.usecase == null) throw new Error("usecase is required");
48
+ if (!opts.app.vocabApi.termdbConfig?.termType2terms)
49
+ throw new Error("termType2terms is required in termdbConfig for singleCellNumericValue handler");
50
+ }
51
+ };
52
+
53
+ export {
54
+ SearchHandler
55
+ };
56
+ //# sourceMappingURL=chunk-P4ZGUPGA.js.map