@sjcrh/proteinpaint-client 2.226.0 → 2.227.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (949) hide show
  1. package/dist/2dmaf-75YAQQ3P.js +1362 -0
  2. package/dist/AggMatrixInput-KYDS23KP.js +402 -0
  3. package/dist/AggregateMatrix-XGGF6KBX.js +37 -0
  4. package/dist/AppHeader-CNY5RTJN.js +826 -0
  5. package/dist/BoxPlot-OQIJJO66.js +1247 -0
  6. package/dist/CorrelationVolcano-QN5D37V7.js +613 -0
  7. package/dist/CorrelationVolcano-QN5D37V7.js.map +7 -0
  8. package/dist/Cuminc-J6DONJTA.js +1217 -0
  9. package/dist/DE-XUBJUUBB.js +85 -0
  10. package/dist/DEinput-DCOPTSWO.js +483 -0
  11. package/dist/DEinput-DCOPTSWO.js.map +7 -0
  12. package/dist/DM-2UUXUJOC.js +86 -0
  13. package/dist/DifferentialAnalysis-U6ZPFHNM.js +236 -0
  14. package/dist/Disco-RR2NN66T.js +3445 -0
  15. package/dist/Disco.UI-MQ7WZQOP.js +239 -0
  16. package/dist/DmrPlot-MKAKFUJR.js +366 -0
  17. package/dist/GB-2X3ZRFXN.js +1388 -0
  18. package/dist/GB-2X3ZRFXN.js.map +7 -0
  19. package/dist/GSEA-DTIA4MNS.js +870 -0
  20. package/dist/GeneExpInput-4GM5MBBX.js +38 -0
  21. package/dist/Geomap-FF6DBN7M.js +80 -0
  22. package/dist/HicApp-LGXNL36X.js +2240 -0
  23. package/dist/IDCViewer-FQABJNUI.js +10810 -0
  24. package/dist/NumBinaryEditor-7NOHUH76.js +274 -0
  25. package/dist/NumBinaryEditor.unit.spec-SVE5SZYB.js +308 -0
  26. package/dist/NumContEditor-MSWCQUKL.js +100 -0
  27. package/dist/NumContEditor.unit.spec-UFPASWBH.js +160 -0
  28. package/dist/NumCustomBinEditor-DF24SO2N.js +29 -0
  29. package/dist/NumCustomBinEditor.unit.spec-N3S3ROBI.js +393 -0
  30. package/dist/NumDiscreteEditor-HL257XGY.js +165 -0
  31. package/dist/NumDiscreteEditor.unit.spec-6PTPX547.js +229 -0
  32. package/dist/NumRegularBinEditor-EWCKTXWY.js +29 -0
  33. package/dist/NumRegularBinEditor.unit.spec-AMGPMY7U.js +274 -0
  34. package/dist/NumSplineEditor-YDNJ2DW2.js +205 -0
  35. package/dist/NumSplineEditor.unit.spec-L4JZ3OND.js +220 -0
  36. package/dist/NumericDensity-SQW67WKL.js +29 -0
  37. package/dist/NumericDensity.unit.spec-KBK3JZZG.js +414 -0
  38. package/dist/NumericHandler-HG7FK4D4.js +30 -0
  39. package/dist/NumericHandler.unit.spec-N7PYAGGF.js +225 -0
  40. package/dist/ProteomeInput-6XGREJFP.js +610 -0
  41. package/dist/Regression-4DDXNQNO.js +1412 -0
  42. package/dist/RunChart2-ARCUC4Z3.js +744 -0
  43. package/dist/SC-AV6COOPI.js +1290 -0
  44. package/dist/Violin-2P5I6NL5.js +1105 -0
  45. package/dist/Volcano-TZQF3HY6.js +2745 -0
  46. package/dist/Volcano-TZQF3HY6.js.map +7 -0
  47. package/dist/Wsi-KN26SIP3.js +650 -0
  48. package/dist/Wsi-KN26SIP3.js.map +7 -0
  49. package/dist/aboutSunburst-V557OK5L.js +93 -0
  50. package/dist/adSandbox-76PMWKTX.js +29 -0
  51. package/dist/animatedBubbleChart-CFRJJDAC.js +542 -0
  52. package/dist/app-2SUVPURX.js +38 -0
  53. package/dist/app-PR42RXHC.js +28 -0
  54. package/dist/app.js +12 -12
  55. package/dist/bam-AYHWKHXL.js +872 -0
  56. package/dist/barchart-S4CLMJO7.js +38 -0
  57. package/dist/barchart2-R2BGA2WO.js +305 -0
  58. package/dist/block-QKO2PO4A.js +6208 -0
  59. package/dist/block-QKO2PO4A.js.map +7 -0
  60. package/dist/block.init-SSWOFFJR.js +29 -0
  61. package/dist/block.mds.expressionrank-GJBLSUUM.js +350 -0
  62. package/dist/block.mds.geneboxplot-SAAU4OH5.js +819 -0
  63. package/dist/block.mds.junction-IIZPRLPH.js +1534 -0
  64. package/dist/block.mds.svcnv-KOG7O25F.js +6325 -0
  65. package/dist/block.svg-5GJ744H3.js +155 -0
  66. package/dist/block.tk.aicheck-CTIJCHIC.js +274 -0
  67. package/dist/block.tk.bam-RTB7C6CW.js +1906 -0
  68. package/dist/block.tk.bigwig.ui-OJVOCOWS.js +202 -0
  69. package/dist/block.tk.hicstraw-GUE6G2DA.js +814 -0
  70. package/dist/block.tk.junction-XILEKNJY.js +2353 -0
  71. package/dist/block.tk.junction.textmatrixui-OF6BW6OY.js +190 -0
  72. package/dist/block.tk.ld-QZVJUGZU.js +90 -0
  73. package/dist/block.tk.menu-B2NV6ZX3.js +1050 -0
  74. package/dist/block.tk.pgv-46OQHX7S.js +934 -0
  75. package/dist/brainImaging-TWTGRSHJ.js +550 -0
  76. package/dist/brainRegions-YTTLJMBU.js +213 -0
  77. package/dist/bubbleHeatmap-OZVG67KF.js +374 -0
  78. package/dist/bubbleHeatmap-OZVG67KF.js.map +7 -0
  79. package/dist/cellTypeBubbleHeatmap-4QFAAED5.js +274 -0
  80. package/dist/cellTypeBubbleHeatmap-4QFAAED5.js.map +7 -0
  81. package/dist/chunk-255OQYGC.js +267 -0
  82. package/dist/chunk-2B3CYHUF.js +30 -0
  83. package/dist/chunk-2BXMWQTJ.js +1339 -0
  84. package/dist/chunk-2E3AJFOA.js +550 -0
  85. package/dist/chunk-2IAELUCN.js +348 -0
  86. package/dist/chunk-2W6U53AG.js +195 -0
  87. package/dist/chunk-3R6VYZYB.js +96 -0
  88. package/dist/chunk-3YAQY5NZ.js +626 -0
  89. package/dist/chunk-52WVSXYC.js +305 -0
  90. package/dist/chunk-6CQ5ADIY.js +56 -0
  91. package/dist/chunk-6UHSGC6G.js +276 -0
  92. package/dist/chunk-6YRM7Z4F.js +4521 -0
  93. package/dist/chunk-6YRM7Z4F.js.map +7 -0
  94. package/dist/chunk-7E37WMAX.js +141 -0
  95. package/dist/chunk-7EP77LOA.js +194 -0
  96. package/dist/chunk-7LJ4LTD6.js +54 -0
  97. package/dist/chunk-7MEBMH77.js +14 -0
  98. package/dist/chunk-7NVFEGCE.js +30 -0
  99. package/dist/chunk-A52K2E32.js +340 -0
  100. package/dist/chunk-A6DDXPLN.js +961 -0
  101. package/dist/chunk-A6DDXPLN.js.map +7 -0
  102. package/dist/chunk-A7UNLPQQ.js +243 -0
  103. package/dist/chunk-BH4KIOUQ.js +480 -0
  104. package/dist/chunk-CFYWQJ7F.js +472 -0
  105. package/dist/chunk-CFYWQJ7F.js.map +7 -0
  106. package/dist/chunk-CG2H6EFQ.js +55 -0
  107. package/dist/chunk-CNDQFKUB.js +468 -0
  108. package/dist/chunk-CVLHDO2O.js +2685 -0
  109. package/dist/chunk-CVRTDBLZ.js +2008 -0
  110. package/dist/chunk-CXCAQOFB.js +26888 -0
  111. package/dist/chunk-CXCAQOFB.js.map +7 -0
  112. package/dist/chunk-DMG4ZMX5.js +830 -0
  113. package/dist/chunk-DMG4ZMX5.js.map +7 -0
  114. package/dist/chunk-DYX6B6RN.js +328 -0
  115. package/dist/chunk-FA2B6PKK.js +42 -0
  116. package/dist/chunk-FA6M7PSZ.js +134 -0
  117. package/dist/chunk-FCQPQD7Z.js +181 -0
  118. package/dist/chunk-FCQPQD7Z.js.map +7 -0
  119. package/dist/chunk-FF4J6QSF.js +240 -0
  120. package/dist/chunk-FYHUHKUC.js +6375 -0
  121. package/dist/chunk-G3CJDTG4.js +48 -0
  122. package/dist/chunk-HRD5MN33.js +1219 -0
  123. package/dist/chunk-HRD5MN33.js.map +7 -0
  124. package/dist/chunk-ILAYJZBC.js +184 -0
  125. package/dist/chunk-IT7EE7LY.js +2334 -0
  126. package/dist/chunk-JG5CF5Q3.js +397 -0
  127. package/dist/chunk-JI632MAR.js +400 -0
  128. package/dist/chunk-JI632MAR.js.map +7 -0
  129. package/dist/chunk-L3ORR2TC.js +2799 -0
  130. package/dist/chunk-L6BT6WZP.js +54 -0
  131. package/dist/chunk-LF2DWEKN.js +255 -0
  132. package/dist/chunk-MJZ66SUG.js +35 -0
  133. package/dist/chunk-N5T7TT5H.js +56 -0
  134. package/dist/chunk-NB4C446B.js +299 -0
  135. package/dist/chunk-NJYYF2LF.js +263 -0
  136. package/dist/chunk-NMVEXITA.js +379 -0
  137. package/dist/chunk-NS2H3C6X.js +182 -0
  138. package/dist/chunk-O7346S3P.js +1253 -0
  139. package/dist/chunk-OV3W5AMN.js +103 -0
  140. package/dist/chunk-PQDYA3ZQ.js +274 -0
  141. package/dist/chunk-QFRR3ZRE.js +466 -0
  142. package/dist/chunk-QLKEA3WE.js +102 -0
  143. package/dist/chunk-QM7CXRSF.js +96 -0
  144. package/dist/chunk-QV6VZLS5.js +2932 -0
  145. package/dist/chunk-RTE32A22.js +123 -0
  146. package/dist/chunk-RUFY5VCS.js +161 -0
  147. package/dist/chunk-RUFY5VCS.js.map +7 -0
  148. package/dist/chunk-SB5DR4NL.js +562 -0
  149. package/dist/chunk-SCATA75L.js +100 -0
  150. package/dist/chunk-SCATA75L.js.map +7 -0
  151. package/dist/chunk-SDUMZTIK.js +2095 -0
  152. package/dist/chunk-TIU2GGWN.js +5258 -0
  153. package/dist/chunk-TIU2GGWN.js.map +7 -0
  154. package/dist/chunk-TYLCIGGN.js +296 -0
  155. package/dist/chunk-UHZDDPUU.js +444 -0
  156. package/dist/chunk-UW6GRHZ4.js +516 -0
  157. package/dist/chunk-UYA5LCAR.js +281 -0
  158. package/dist/chunk-V7CB5D7A.js +50 -0
  159. package/dist/chunk-VBUDRJJG.js +203 -0
  160. package/dist/chunk-VVWZ4BOI.js +2349 -0
  161. package/dist/chunk-W3K3N275.js +418 -0
  162. package/dist/chunk-WENNRY5E.js +170 -0
  163. package/dist/chunk-Z4R7TCTB.js +257 -0
  164. package/dist/chunk-ZFNEHOW4.js +848 -0
  165. package/dist/chunk-ZLEGHQOO.js +217 -0
  166. package/dist/cohort-TLSGXKV5.js +66 -0
  167. package/dist/cohortSunburst-TNMXPHJW.js +402 -0
  168. package/dist/condition-NN7YK7AI.js +323 -0
  169. package/dist/controls-472G34VU.js +30 -0
  170. package/dist/controls.config-2BQ7QYOB.js +30 -0
  171. package/dist/correlation-5UPYEHC6.js +91 -0
  172. package/dist/customdata.inputui-EWYP4MRY.js +280 -0
  173. package/dist/dataDownload-X5UXBEK4.js +326 -0
  174. package/dist/databrowser.ui-PFHJKHIW.js +424 -0
  175. package/dist/dictionary-M2MCNRN2.js +109 -0
  176. package/dist/dnaMethylation-A7AWG2P5.js +29 -0
  177. package/dist/dnaMethylation.integration.spec-JWCMRFAM.js +194 -0
  178. package/dist/dnaMethylation.unit.spec-PIVJBW7Z.js +95 -0
  179. package/dist/dofetch-XID2XEJT.js +49 -0
  180. package/dist/e2pca-VJRNE6BU.js +340 -0
  181. package/dist/ep-BZE65IX2.js +1247 -0
  182. package/dist/expclust.gdc.spec-5BGBANUV.js +298 -0
  183. package/dist/facet-RXUO4LRY.js +556 -0
  184. package/dist/gb-NDRFDS5A.js +77 -0
  185. package/dist/geneExpClustering-ONJGTSGM.js +240 -0
  186. package/dist/geneExpression-NXDXXKEA.js +309 -0
  187. package/dist/geneExpression-PYI42HV6.js +29 -0
  188. package/dist/geneExpression.unit.spec-PTFHHTP7.js +150 -0
  189. package/dist/geneORA-SDR43UOL.js +269 -0
  190. package/dist/geneRanking-QI43IRNV.js +544 -0
  191. package/dist/geneVariant-OT4V554H.js +32 -0
  192. package/dist/geneVariant-V7EKM7RW.js +289 -0
  193. package/dist/geneVariant-V7EKM7RW.js.map +7 -0
  194. package/dist/geneVariant.integration.spec-6OE4HKYB.js +672 -0
  195. package/dist/genefusion.ui-IQDKCZPX.js +299 -0
  196. package/dist/geneset-TLZPZOQP.js +199 -0
  197. package/dist/genomeBrowser.spec-HIOTFKFK.js +272 -0
  198. package/dist/grin2-G2PVFRKR.js +945 -0
  199. package/dist/grin2-RJQZRVFF.js +66 -0
  200. package/dist/hierCluster-C6ICZSOB.js +51 -0
  201. package/dist/hierCluster-MESFVAO7.js +55 -0
  202. package/dist/hierCluster.config-7HROWR2T.js +32 -0
  203. package/dist/hierCluster.integration.spec-CJT22MJI.js +479 -0
  204. package/dist/hierCluster.interactivity-MDX5QSEF.js +45 -0
  205. package/dist/hierCluster.renderers-SU5IYI33.js +18 -0
  206. package/dist/imagePlot-3Y5FNIJL.js +152 -0
  207. package/dist/importPlot-WE5QSSFY.js +8 -0
  208. package/dist/isoformExpression-TMLFOZVK.js +31 -0
  209. package/dist/isoformExpression.unit.spec-MSVTQC3E.js +233 -0
  210. package/dist/junction-YKZV4LEL.js +32 -0
  211. package/dist/junction.unit.spec-3GPBCHXJ.js +224 -0
  212. package/dist/junction.unit.spec-3GPBCHXJ.js.map +7 -0
  213. package/dist/launch.adhoc-DS6UME2S.js +33 -0
  214. package/dist/leftlabel.sample-F6TEFWEW.js +260 -0
  215. package/dist/leftlabel.sample-F6TEFWEW.js.map +7 -0
  216. package/dist/lollipop-ZKDAU3O5.js +162 -0
  217. package/dist/maf-DKOORWGV.js +451 -0
  218. package/dist/maftimeline-EHJ2CWJJ.js +583 -0
  219. package/dist/matrix-7JDLGNU7.js +55 -0
  220. package/dist/matrix-EB7YOLMN.js +50 -0
  221. package/dist/matrix.cells-A5E63KDN.js +25 -0
  222. package/dist/matrix.config-GSW2WJM4.js +33 -0
  223. package/dist/matrix.data-R4FW2PQH.js +22 -0
  224. package/dist/matrix.groups-3UH2KOIY.js +25 -0
  225. package/dist/matrix.integration.spec-R32TIABT.js +3156 -0
  226. package/dist/matrix.interactivity-RDPMBDVK.js +33 -0
  227. package/dist/matrix.layout-FD275D3P.js +35 -0
  228. package/dist/matrix.legend-SE7SQTNN.js +19 -0
  229. package/dist/matrix.renderers-RK2BRCHZ.js +30 -0
  230. package/dist/matrix.serieses-BEZCQDLJ.js +18 -0
  231. package/dist/matrix.sort-KRNS4VPF.js +25 -0
  232. package/dist/matrix.sort.unit.spec-LZG3GOXM.js +464 -0
  233. package/dist/matrix.sorterUi.unit.spec-RR2KK4R5.js +334 -0
  234. package/dist/matrix.unit.spec-3PK6LUNE.js +146 -0
  235. package/dist/mavb-CUPAESFH.js +726 -0
  236. package/dist/mds.samplescatterplot-WGQ7A7UC.js +1545 -0
  237. package/dist/mds.survivalplot-ZEGSEJO2.js +472 -0
  238. package/dist/multivalue-DKUQCROX.js +79 -0
  239. package/dist/numericDictTermCluster-IFIEM3E4.js +62 -0
  240. package/dist/oncomatrix-WSPJAWHW.js +286 -0
  241. package/dist/oncomatrix.spec-LDWTZ7LO.js +439 -0
  242. package/dist/plot.2dvaf-N333YSMC.js +368 -0
  243. package/dist/plot.app-HU5RQS5I.js +32 -0
  244. package/dist/plot.barplot-4T2UEIYX.js +93 -0
  245. package/dist/plot.boxplot-C4OXCRFB.js +142 -0
  246. package/dist/plot.brainImaging-A6FEKFEA.js +51 -0
  247. package/dist/plot.disco-VDL7YKRX.js +100 -0
  248. package/dist/plot.ssgq-OII7PFPG.js +130 -0
  249. package/dist/plot.vaf2cov-RZ5JPWMC.js +249 -0
  250. package/dist/polar2-6KR2KX5D.js +228 -0
  251. package/dist/profileForms-YJDJIBSY.js +937 -0
  252. package/dist/profilePlot-U4U4AYMO.js +45 -0
  253. package/dist/proteinView-F5QEDDWR.js +1346 -0
  254. package/dist/proteinView-F5QEDDWR.js.map +7 -0
  255. package/dist/proteomeCohortCompare-QCXKLAWG.js +866 -0
  256. package/dist/pseudbulk.unit.spec-3A2FWQZI.js +82 -0
  257. package/dist/pseudobulk-WB6NXFJ6.js +31 -0
  258. package/dist/qualitative-CQUBCCGT.js +34 -0
  259. package/dist/qualitative-QQ3CWFVP.js +241 -0
  260. package/dist/radar2-FNC67FNX.js +323 -0
  261. package/dist/radarFacility2-3X77B4WP.js +331 -0
  262. package/dist/render-G5NCZTMW.js +29 -0
  263. package/dist/report-CR645KQ4.js +213 -0
  264. package/dist/sampleView-6PG2HJZL.js +39 -0
  265. package/dist/samplelst-FCQ7YPPQ.js +114 -0
  266. package/dist/samplematrix-GXMN5QTS.js +2188 -0
  267. package/dist/sc-4ZTSQOXC.js +77 -0
  268. package/dist/scatter-2PUQU22I.js +84 -0
  269. package/dist/scatter-ZSZTA37T.js +919 -0
  270. package/dist/selectGenomeWithTklst-XHWBEM2G.js +125 -0
  271. package/dist/singleCellCellType-NP7Y4N6Z.js +29 -0
  272. package/dist/singleCellCellType.unit.spec-5I3FECB4.js +150 -0
  273. package/dist/singleCellGeneExpression-7RWH633E.js +29 -0
  274. package/dist/singleCellGeneExpression.unit.spec-2X2BDTNO.js +144 -0
  275. package/dist/singleCellNumericValue-I6V4ME6T.js +29 -0
  276. package/dist/singleCellNumericValue.unit.spec-4HKAJXB3.js +412 -0
  277. package/dist/singleCellPlot-QRFR3AJH.js +44 -0
  278. package/dist/singlecell-AQEAB445.js +77 -0
  279. package/dist/singlecell-DX4EXNUV.js +1562 -0
  280. package/dist/snp-2URSYPBL.js +29 -0
  281. package/dist/snp.unit.spec-ZV2RCDT4.js +167 -0
  282. package/dist/snplocus-BB4I2QIP.js +200 -0
  283. package/dist/snplst-A5S7CQEM.js +36 -0
  284. package/dist/spliceevent.a53ss.diagram-6C4OQOVF.js +142 -0
  285. package/dist/spliceevent.exonskip.diagram-FKSR3JEL.js +274 -0
  286. package/dist/spliceevent.noeventdiagram-G3JQUZKK.js +451 -0
  287. package/dist/ssGSEA-KLMOSI53.js +29 -0
  288. package/dist/ssGSEA.unit.spec-HBALWLVB.js +79 -0
  289. package/dist/stattable-ZCMPIC3I.js +112 -0
  290. package/dist/studyCatalog-UZ4BSYY6.js +457 -0
  291. package/dist/summarizeCnvGeneexp-Z43GYKZB.js +154 -0
  292. package/dist/summarizeGeneexpSurvival-4OHRMCFV.js +101 -0
  293. package/dist/summarizeMutationCnv-EZXMLADC.js +155 -0
  294. package/dist/summarizeMutationDiagnosis-RPQP4TM5.js +31 -0
  295. package/dist/summarizeMutationSurvival-LX4TRGJZ.js +95 -0
  296. package/dist/summary-FZQVK5KR.js +40 -0
  297. package/dist/summary.integration.spec-46T65LR5.js +405 -0
  298. package/dist/summaryInput-BHU7G5FC.js +238 -0
  299. package/dist/sunburst-A5NS3KJQ.js +274 -0
  300. package/dist/sunburst-R5X2C7FK.js +34 -0
  301. package/dist/survival-MKW5J5ZH.js +1248 -0
  302. package/dist/survival-N2NKMVOV.js +49 -0
  303. package/dist/survival.integration.spec-K5FMOOTF.js +609 -0
  304. package/dist/svgraph-3WRCJA5D.js +1377 -0
  305. package/dist/svmr-TLMT7GE3.js +3574 -0
  306. package/dist/svmr-TLMT7GE3.js.map +7 -0
  307. package/dist/swimmer-XV5KVWEM.js +993 -0
  308. package/dist/table-XUGFZSGV.js +192 -0
  309. package/dist/termCollection-23ZRHZHF.js +247 -0
  310. package/dist/termCollection-NWTAUSSW.js +29 -0
  311. package/dist/termCollection.unit.spec-WE3JMSUI.js +295 -0
  312. package/dist/termCollectionFractionSelection-5FLFLMIY.js +38 -0
  313. package/dist/termCollectionFractionSelection.unit.spec-CCFGGXAA.js +184 -0
  314. package/dist/tk-CTHINOMN.js +1224 -0
  315. package/dist/tk-CTHINOMN.js.map +7 -0
  316. package/dist/tk-F3TSB4IB.js +38 -0
  317. package/dist/tp.ui-4QDX3FGM.js +1453 -0
  318. package/dist/tvs.categorical-24OT3XZI.js +28 -0
  319. package/dist/tvs.condition-X4SXCVGN.js +160 -0
  320. package/dist/tvs.dt-FRBJRSWI.js +34 -0
  321. package/dist/tvs.dtcnv.categorical-4RRSO735.js +31 -0
  322. package/dist/tvs.dtcnv.continuous-HXY2PBUA.js +72 -0
  323. package/dist/tvs.dtfusion-67LXBQA4.js +31 -0
  324. package/dist/tvs.dtitd-MCJZCNV2.js +31 -0
  325. package/dist/tvs.dtsnvindel-K5YIIBQJ.js +31 -0
  326. package/dist/tvs.dtsv-RP7FUB2N.js +31 -0
  327. package/dist/tvs.multivalue-CROMWUCP.js +84 -0
  328. package/dist/tvs.numeric-IYYYV6ZJ.js +32 -0
  329. package/dist/tvs.samplelst-5DXKRFYM.js +95 -0
  330. package/dist/tvs.survival-W5RXODBT.js +110 -0
  331. package/dist/tvs.termCollection-OSJYIWDX.js +118 -0
  332. package/dist/vocabulary-HTRYJUD7.js +32 -0
  333. package/dist/wsi.direct-UHVG525G.js +11600 -0
  334. package/dist/wsi.direct-UHVG525G.js.map +7 -0
  335. package/package.json +3 -3
  336. package/dist/2dmaf-CSBPMYHO.js +0 -1362
  337. package/dist/AggMatrixInput-2HST4LLJ.js +0 -402
  338. package/dist/AggregateMatrix-UPOAX44L.js +0 -37
  339. package/dist/AppHeader-H5QBVKUS.js +0 -826
  340. package/dist/BoxPlot-JTBQA6PL.js +0 -1247
  341. package/dist/CorrelationVolcano-AWBPVDMT.js +0 -613
  342. package/dist/CorrelationVolcano-AWBPVDMT.js.map +0 -7
  343. package/dist/Cuminc-3BXJVWIH.js +0 -1217
  344. package/dist/DE-237VV46D.js +0 -85
  345. package/dist/DEinput-W443UW5T.js +0 -479
  346. package/dist/DEinput-W443UW5T.js.map +0 -7
  347. package/dist/DM-TIW623IR.js +0 -86
  348. package/dist/DifferentialAnalysis-PHUA2GPK.js +0 -236
  349. package/dist/Disco-WHV52SCI.js +0 -3445
  350. package/dist/Disco.UI-UDUXNCZX.js +0 -239
  351. package/dist/DmrPlot-FZCD6FTX.js +0 -366
  352. package/dist/GB-6UW5LOUV.js +0 -1388
  353. package/dist/GB-6UW5LOUV.js.map +0 -7
  354. package/dist/GSEA-3CNHMK6M.js +0 -870
  355. package/dist/GeneExpInput-ZOVP7BFY.js +0 -38
  356. package/dist/Geomap-JREOIESM.js +0 -80
  357. package/dist/HicApp-RKAMIUXQ.js +0 -2240
  358. package/dist/IDCViewer-KXV4FU3V.js +0 -10810
  359. package/dist/NumBinaryEditor-FNVYUK2J.js +0 -274
  360. package/dist/NumBinaryEditor.unit.spec-PWR23U3J.js +0 -308
  361. package/dist/NumContEditor-YLBJW64K.js +0 -100
  362. package/dist/NumContEditor.unit.spec-6JWBCPFY.js +0 -160
  363. package/dist/NumCustomBinEditor-42AFCXRN.js +0 -29
  364. package/dist/NumCustomBinEditor.unit.spec-AFBTF2CL.js +0 -393
  365. package/dist/NumDiscreteEditor-FJIBZTBP.js +0 -165
  366. package/dist/NumDiscreteEditor.unit.spec-MC4INDCB.js +0 -229
  367. package/dist/NumRegularBinEditor-2WRE72TL.js +0 -29
  368. package/dist/NumRegularBinEditor.unit.spec-L3S6NRCM.js +0 -274
  369. package/dist/NumSplineEditor-TVMVAN7I.js +0 -205
  370. package/dist/NumSplineEditor.unit.spec-GEL36GZZ.js +0 -220
  371. package/dist/NumericDensity-BNFAVOFO.js +0 -29
  372. package/dist/NumericDensity.unit.spec-XBYUFBTQ.js +0 -414
  373. package/dist/NumericHandler-4VFFJNX6.js +0 -30
  374. package/dist/NumericHandler.unit.spec-76T2IVRS.js +0 -225
  375. package/dist/ProteomeInput-M5UIO73Q.js +0 -610
  376. package/dist/Regression-5LB5TLA6.js +0 -1412
  377. package/dist/RunChart2-HIFXOEKZ.js +0 -744
  378. package/dist/SC-SMMW5MJG.js +0 -1290
  379. package/dist/Violin-COAFYZOV.js +0 -1105
  380. package/dist/Volcano-62II76B4.js +0 -2748
  381. package/dist/Volcano-62II76B4.js.map +0 -7
  382. package/dist/Wsi-OYW2L7FR.js +0 -637
  383. package/dist/Wsi-OYW2L7FR.js.map +0 -7
  384. package/dist/aboutSunburst-3FYJGR6B.js +0 -93
  385. package/dist/adSandbox-4VHYWBQC.js +0 -29
  386. package/dist/animatedBubbleChart-QCCIC5IT.js +0 -542
  387. package/dist/app-IF7YPCGZ.js +0 -28
  388. package/dist/app-JZ43TSJP.js +0 -38
  389. package/dist/bam-2VPZGSW3.js +0 -872
  390. package/dist/barchart-VYTWYYGG.js +0 -38
  391. package/dist/barchart2-XC7J4VEO.js +0 -305
  392. package/dist/block-YGQFUK5L.js +0 -6203
  393. package/dist/block-YGQFUK5L.js.map +0 -7
  394. package/dist/block.init-BVP3YZHQ.js +0 -29
  395. package/dist/block.mds.expressionrank-RKDDKY4J.js +0 -350
  396. package/dist/block.mds.geneboxplot-3FZ3EZZ6.js +0 -819
  397. package/dist/block.mds.junction-MCOG37RA.js +0 -1534
  398. package/dist/block.mds.svcnv-IEOR5IQZ.js +0 -6325
  399. package/dist/block.svg-3XHRHYCV.js +0 -155
  400. package/dist/block.tk.aicheck-TMDUGNZX.js +0 -274
  401. package/dist/block.tk.bam-73KW4QEJ.js +0 -1906
  402. package/dist/block.tk.bigwig.ui-E5W6R7DQ.js +0 -202
  403. package/dist/block.tk.hicstraw-BNNE6ZMW.js +0 -814
  404. package/dist/block.tk.junction-DMPRZRNY.js +0 -2353
  405. package/dist/block.tk.junction.textmatrixui-XS2E7MQL.js +0 -190
  406. package/dist/block.tk.ld-QD3XDLO4.js +0 -90
  407. package/dist/block.tk.menu-S6XI732E.js +0 -1050
  408. package/dist/block.tk.pgv-KH4TMR3A.js +0 -934
  409. package/dist/brainImaging-NK4JENN3.js +0 -550
  410. package/dist/brainRegions-YUEMTKYH.js +0 -213
  411. package/dist/bubbleHeatmap-LQCVS4WK.js +0 -374
  412. package/dist/bubbleHeatmap-LQCVS4WK.js.map +0 -7
  413. package/dist/cellTypeBubbleHeatmap-DFRSPWAY.js +0 -274
  414. package/dist/cellTypeBubbleHeatmap-DFRSPWAY.js.map +0 -7
  415. package/dist/chunk-37ZEGLVY.js +0 -267
  416. package/dist/chunk-3RPX4ZVV.js +0 -2334
  417. package/dist/chunk-4LK5YFHF.js +0 -102
  418. package/dist/chunk-4WFG5Y3A.js +0 -2095
  419. package/dist/chunk-4WFXCUT4.js +0 -141
  420. package/dist/chunk-5LY2ASQX.js +0 -305
  421. package/dist/chunk-6V7ITU5F.js +0 -2349
  422. package/dist/chunk-7UK7CU4F.js +0 -398
  423. package/dist/chunk-7UK7CU4F.js.map +0 -7
  424. package/dist/chunk-AAQDXVQT.js +0 -134
  425. package/dist/chunk-ADJBQCFM.js +0 -243
  426. package/dist/chunk-ATIITEOR.js +0 -692
  427. package/dist/chunk-ATIITEOR.js.map +0 -7
  428. package/dist/chunk-BWVJAFEQ.js +0 -35
  429. package/dist/chunk-CDCNBN6G.js +0 -50
  430. package/dist/chunk-CGSBIFFO.js +0 -1339
  431. package/dist/chunk-DPWSIN62.js +0 -26787
  432. package/dist/chunk-DPWSIN62.js.map +0 -7
  433. package/dist/chunk-EARMOT6Q.js +0 -176
  434. package/dist/chunk-EARMOT6Q.js.map +0 -7
  435. package/dist/chunk-ECCXTB5S.js +0 -562
  436. package/dist/chunk-ECTOEM7X.js +0 -96
  437. package/dist/chunk-EKIWZUEO.js +0 -54
  438. package/dist/chunk-FALP6GXG.js +0 -96
  439. package/dist/chunk-FRD6LQF7.js +0 -103
  440. package/dist/chunk-FRPYXYYQ.js +0 -263
  441. package/dist/chunk-FV2GLMSI.js +0 -397
  442. package/dist/chunk-G6SP5IQT.js +0 -626
  443. package/dist/chunk-GZL6YFZJ.js +0 -30
  444. package/dist/chunk-H353EVLK.js +0 -240
  445. package/dist/chunk-HKR5R5YR.js +0 -466
  446. package/dist/chunk-HULTLO4D.js +0 -217
  447. package/dist/chunk-IIN4CG67.js +0 -56
  448. package/dist/chunk-ISWFHYEZ.js +0 -123
  449. package/dist/chunk-JBUTLI3V.js +0 -1253
  450. package/dist/chunk-JCNZJKLK.js +0 -55
  451. package/dist/chunk-JEVDRC64.js +0 -56
  452. package/dist/chunk-KBZAB2H2.js +0 -340
  453. package/dist/chunk-KDKJLITX.js +0 -54
  454. package/dist/chunk-KNFJN6CM.js +0 -299
  455. package/dist/chunk-KSYGLBZ4.js +0 -4389
  456. package/dist/chunk-KSYGLBZ4.js.map +0 -7
  457. package/dist/chunk-KUOXZIH4.js +0 -348
  458. package/dist/chunk-KZ54E2FU.js +0 -184
  459. package/dist/chunk-L7FMBWWK.js +0 -6375
  460. package/dist/chunk-LMONIWPI.js +0 -30
  461. package/dist/chunk-LTY7WOAT.js +0 -281
  462. package/dist/chunk-LYDN734A.js +0 -194
  463. package/dist/chunk-LYMYO6TY.js +0 -652
  464. package/dist/chunk-LYMYO6TY.js.map +0 -7
  465. package/dist/chunk-MRZUZDRA.js +0 -444
  466. package/dist/chunk-NGBI4FST.js +0 -195
  467. package/dist/chunk-OKM4ACTA.js +0 -170
  468. package/dist/chunk-OUDHHMZU.js +0 -159
  469. package/dist/chunk-OUDHHMZU.js.map +0 -7
  470. package/dist/chunk-OYXRYWGU.js +0 -2932
  471. package/dist/chunk-P2HMCEMM.js +0 -5254
  472. package/dist/chunk-P2HMCEMM.js.map +0 -7
  473. package/dist/chunk-P5FHYGJK.js +0 -848
  474. package/dist/chunk-P7QDNXSH.js +0 -276
  475. package/dist/chunk-Q7GK35TB.js +0 -257
  476. package/dist/chunk-QXRM5NMW.js +0 -274
  477. package/dist/chunk-RI3GAHQE.js +0 -255
  478. package/dist/chunk-SH7SL4I5.js +0 -1219
  479. package/dist/chunk-SH7SL4I5.js.map +0 -7
  480. package/dist/chunk-SJHWZZ4M.js +0 -70
  481. package/dist/chunk-SJHWZZ4M.js.map +0 -7
  482. package/dist/chunk-T2W4JHWJ.js +0 -472
  483. package/dist/chunk-T2W4JHWJ.js.map +0 -7
  484. package/dist/chunk-TDBS3UFZ.js +0 -379
  485. package/dist/chunk-THHYPA5K.js +0 -48
  486. package/dist/chunk-U2OB3S3M.js +0 -14
  487. package/dist/chunk-UA2ADBTO.js +0 -42
  488. package/dist/chunk-USGUVW5Q.js +0 -182
  489. package/dist/chunk-UWVDD4C2.js +0 -480
  490. package/dist/chunk-W2SBSEKT.js +0 -550
  491. package/dist/chunk-XAHZYGKW.js +0 -468
  492. package/dist/chunk-XKWLP433.js +0 -328
  493. package/dist/chunk-YWB2QHV2.js +0 -2799
  494. package/dist/chunk-Z6M77JDG.js +0 -2008
  495. package/dist/chunk-Z7RFFJXU.js +0 -516
  496. package/dist/chunk-ZG7EBTHK.js +0 -203
  497. package/dist/chunk-ZJLJHQWM.js +0 -418
  498. package/dist/chunk-ZKU6RST3.js +0 -2685
  499. package/dist/chunk-ZLWEUYPT.js +0 -296
  500. package/dist/cohort-X327AG3O.js +0 -66
  501. package/dist/cohortSunburst-GNWIVDNA.js +0 -402
  502. package/dist/condition-3M4L2HIM.js +0 -323
  503. package/dist/controls-OKNHZJOU.js +0 -30
  504. package/dist/controls.config-FUKM5LEP.js +0 -30
  505. package/dist/correlation-PC4MXCFM.js +0 -91
  506. package/dist/customdata.inputui-HCRTX56R.js +0 -280
  507. package/dist/dataDownload-HJO7UW7S.js +0 -326
  508. package/dist/databrowser.ui-EY3H6B4S.js +0 -424
  509. package/dist/dictionary-L6CTMFY7.js +0 -109
  510. package/dist/dnaMethylation-FEB5GGXK.js +0 -29
  511. package/dist/dnaMethylation.integration.spec-4DC6TJNZ.js +0 -194
  512. package/dist/dnaMethylation.unit.spec-REOHQOBC.js +0 -95
  513. package/dist/dofetch-YFGOKCKV.js +0 -49
  514. package/dist/e2pca-QSAVTCPL.js +0 -340
  515. package/dist/ep-LAFLKVSW.js +0 -1247
  516. package/dist/expclust.gdc.spec-OM4J6WBL.js +0 -298
  517. package/dist/facet-WHTV2VIX.js +0 -556
  518. package/dist/gb-DLXWWBB6.js +0 -77
  519. package/dist/geneExpClustering-KB2MB2VM.js +0 -240
  520. package/dist/geneExpression-3D7PDZ2I.js +0 -309
  521. package/dist/geneExpression-3RSRGYGQ.js +0 -29
  522. package/dist/geneExpression.unit.spec-EINAWLPR.js +0 -150
  523. package/dist/geneORA-J4KVSZT3.js +0 -269
  524. package/dist/geneRanking-HKLJ7CN6.js +0 -544
  525. package/dist/geneVariant-3BRGRFPT.js +0 -32
  526. package/dist/geneVariant-VI5DGDAB.js +0 -289
  527. package/dist/geneVariant-VI5DGDAB.js.map +0 -7
  528. package/dist/geneVariant.integration.spec-3IBX4NNE.js +0 -672
  529. package/dist/genefusion.ui-OESQL7TW.js +0 -299
  530. package/dist/geneset-3BMV3KP4.js +0 -199
  531. package/dist/genomeBrowser.spec-I3WKAITC.js +0 -272
  532. package/dist/grin2-4BBCH3H5.js +0 -66
  533. package/dist/grin2-5L2U32LY.js +0 -945
  534. package/dist/hierCluster-KM56NTN6.js +0 -51
  535. package/dist/hierCluster-XCJF5IQ6.js +0 -55
  536. package/dist/hierCluster.config-E2EYOXX6.js +0 -32
  537. package/dist/hierCluster.integration.spec-IIEJ2YEI.js +0 -479
  538. package/dist/hierCluster.interactivity-AJFEJTGX.js +0 -45
  539. package/dist/hierCluster.renderers-XKI344FM.js +0 -18
  540. package/dist/imagePlot-3B3BXI6I.js +0 -152
  541. package/dist/importPlot-JDVH7Q2Z.js +0 -8
  542. package/dist/isoformExpression-UFHY5LB2.js +0 -31
  543. package/dist/isoformExpression.unit.spec-U6GDCNQR.js +0 -233
  544. package/dist/junction-W2STW5WW.js +0 -32
  545. package/dist/junction.unit.spec-R4DIBFLB.js +0 -178
  546. package/dist/junction.unit.spec-R4DIBFLB.js.map +0 -7
  547. package/dist/launch.adhoc-KN7HFHJH.js +0 -33
  548. package/dist/leftlabel.sample-CK2EK7J6.js +0 -254
  549. package/dist/leftlabel.sample-CK2EK7J6.js.map +0 -7
  550. package/dist/lollipop-EKIGAAK6.js +0 -162
  551. package/dist/maf-MK2MM7J4.js +0 -451
  552. package/dist/maftimeline-7RTMXWFA.js +0 -583
  553. package/dist/matrix-UM2EZODJ.js +0 -50
  554. package/dist/matrix-YBL4FZYJ.js +0 -55
  555. package/dist/matrix.cells-45ZFADK5.js +0 -25
  556. package/dist/matrix.config-QTBIRXKU.js +0 -33
  557. package/dist/matrix.data-WAMOLSKW.js +0 -22
  558. package/dist/matrix.groups-RXFXZABD.js +0 -25
  559. package/dist/matrix.integration.spec-JZDZRVOK.js +0 -3156
  560. package/dist/matrix.interactivity-P4VYGTB2.js +0 -33
  561. package/dist/matrix.layout-WWPRXXHX.js +0 -35
  562. package/dist/matrix.legend-4MCMVVKO.js +0 -19
  563. package/dist/matrix.renderers-JQTUODDS.js +0 -30
  564. package/dist/matrix.serieses-3IDRKSGO.js +0 -18
  565. package/dist/matrix.sort-EAWOB56R.js +0 -25
  566. package/dist/matrix.sort.unit.spec-FOWLULHA.js +0 -464
  567. package/dist/matrix.sorterUi.unit.spec-U5CQDTMX.js +0 -334
  568. package/dist/matrix.unit.spec-VTLD4EOZ.js +0 -146
  569. package/dist/mavb-JIIXJHBK.js +0 -726
  570. package/dist/mds.samplescatterplot-PTWA2V6E.js +0 -1545
  571. package/dist/mds.survivalplot-XVZ66GP5.js +0 -472
  572. package/dist/multivalue-2H7QX7MG.js +0 -79
  573. package/dist/numericDictTermCluster-EHCDRT6J.js +0 -62
  574. package/dist/oncomatrix-RZLZUC32.js +0 -286
  575. package/dist/oncomatrix.spec-Z5UQGTW2.js +0 -439
  576. package/dist/plot.2dvaf-IRBZBJ6B.js +0 -368
  577. package/dist/plot.app-I23IAZ3Z.js +0 -32
  578. package/dist/plot.barplot-PYLRAZB7.js +0 -93
  579. package/dist/plot.boxplot-VBWU7DUG.js +0 -142
  580. package/dist/plot.brainImaging-HDJMEMTK.js +0 -51
  581. package/dist/plot.disco-5BVG3WMT.js +0 -100
  582. package/dist/plot.ssgq-S3BKXJMW.js +0 -130
  583. package/dist/plot.vaf2cov-VD7DU2XR.js +0 -249
  584. package/dist/polar2-PYLEVG7E.js +0 -228
  585. package/dist/profileForms-CI2YYD3Y.js +0 -937
  586. package/dist/profilePlot-UCC4ZVHQ.js +0 -45
  587. package/dist/proteinView-FBY6TK3S.js +0 -1346
  588. package/dist/proteinView-FBY6TK3S.js.map +0 -7
  589. package/dist/proteomeCohortCompare-2VUSLC6I.js +0 -866
  590. package/dist/pseudbulk.unit.spec-VPZWNTIA.js +0 -82
  591. package/dist/pseudobulk-RUXGZ7OY.js +0 -31
  592. package/dist/qualitative-3AVR4GRX.js +0 -34
  593. package/dist/qualitative-5QNBKDOZ.js +0 -241
  594. package/dist/radar2-AOYMS54Y.js +0 -323
  595. package/dist/radarFacility2-PP2MAXIP.js +0 -331
  596. package/dist/render-ASLVKYEX.js +0 -29
  597. package/dist/report-UVYKDMQC.js +0 -213
  598. package/dist/sampleView-6UHR7FSR.js +0 -39
  599. package/dist/samplelst-ABC2CCNN.js +0 -114
  600. package/dist/samplematrix-36UCHZLC.js +0 -2188
  601. package/dist/sc-XLSAM725.js +0 -77
  602. package/dist/scatter-ADOBAOW2.js +0 -84
  603. package/dist/scatter-ZNVLI627.js +0 -919
  604. package/dist/selectGenomeWithTklst-DPDBDYTR.js +0 -125
  605. package/dist/singleCellCellType-STVPYZD4.js +0 -29
  606. package/dist/singleCellCellType.unit.spec-ZLY37AXL.js +0 -150
  607. package/dist/singleCellGeneExpression-PCGLU35S.js +0 -29
  608. package/dist/singleCellGeneExpression.unit.spec-PSLKK362.js +0 -144
  609. package/dist/singleCellNumericValue-SR3SJEOB.js +0 -29
  610. package/dist/singleCellNumericValue.unit.spec-PXVXJ4HJ.js +0 -412
  611. package/dist/singleCellPlot-JXB7M6OH.js +0 -44
  612. package/dist/singlecell-EDSX56QO.js +0 -1562
  613. package/dist/singlecell-PH55NFRX.js +0 -77
  614. package/dist/snp-3VEYBTAQ.js +0 -29
  615. package/dist/snp.unit.spec-V7OB44US.js +0 -167
  616. package/dist/snplocus-HX67RBT5.js +0 -200
  617. package/dist/snplst-H5YXCY33.js +0 -36
  618. package/dist/spliceevent.a53ss.diagram-DBDEEHSK.js +0 -142
  619. package/dist/spliceevent.exonskip.diagram-EYEL6BY6.js +0 -274
  620. package/dist/spliceevent.noeventdiagram-64OEXK7U.js +0 -451
  621. package/dist/ssGSEA-3YWQH6KM.js +0 -29
  622. package/dist/ssGSEA.unit.spec-23V2IXP5.js +0 -79
  623. package/dist/stattable-GPSBCNYC.js +0 -112
  624. package/dist/studyCatalog-W5PATRNY.js +0 -457
  625. package/dist/summarizeCnvGeneexp-YGI23QH5.js +0 -154
  626. package/dist/summarizeGeneexpSurvival-KQ6OLWYR.js +0 -101
  627. package/dist/summarizeMutationCnv-XDHBNEPU.js +0 -155
  628. package/dist/summarizeMutationDiagnosis-VKIJRJ2Q.js +0 -31
  629. package/dist/summarizeMutationSurvival-57YKJGLE.js +0 -95
  630. package/dist/summary-4WQOVIUF.js +0 -40
  631. package/dist/summary.integration.spec-FRNWBU7F.js +0 -405
  632. package/dist/summaryInput-X7DS2YA7.js +0 -238
  633. package/dist/sunburst-3OEAQA3O.js +0 -34
  634. package/dist/sunburst-MSGTXYMM.js +0 -274
  635. package/dist/survival-5KC5CNZU.js +0 -1248
  636. package/dist/survival-QXDS6N46.js +0 -49
  637. package/dist/survival.integration.spec-PKENHLTZ.js +0 -609
  638. package/dist/svgraph-VJLB7BBN.js +0 -1377
  639. package/dist/svmr-6BDEZAS6.js +0 -3834
  640. package/dist/svmr-6BDEZAS6.js.map +0 -7
  641. package/dist/swimmer-R3DN7N36.js +0 -993
  642. package/dist/table-YF5VORU6.js +0 -192
  643. package/dist/termCollection-3KGLZFDW.js +0 -29
  644. package/dist/termCollection-KSHVOPS5.js +0 -247
  645. package/dist/termCollection.unit.spec-HTBDG5PL.js +0 -295
  646. package/dist/termCollectionFractionSelection-MK4NKWUX.js +0 -38
  647. package/dist/termCollectionFractionSelection.unit.spec-AMF32FDN.js +0 -184
  648. package/dist/tk-FDHBAKXQ.js +0 -1198
  649. package/dist/tk-FDHBAKXQ.js.map +0 -7
  650. package/dist/tk-Z54DOECH.js +0 -38
  651. package/dist/tp.ui-M4TZVT53.js +0 -1453
  652. package/dist/tvs.categorical-HY3BWCZR.js +0 -28
  653. package/dist/tvs.condition-Y36TRIX4.js +0 -160
  654. package/dist/tvs.dt-XKVJZP7Y.js +0 -34
  655. package/dist/tvs.dtcnv.categorical-OMRZR4Y7.js +0 -31
  656. package/dist/tvs.dtcnv.continuous-AGYOBI5K.js +0 -72
  657. package/dist/tvs.dtfusion-2JX5Y2IH.js +0 -31
  658. package/dist/tvs.dtitd-SDSLBBWC.js +0 -31
  659. package/dist/tvs.dtsnvindel-LI7K464K.js +0 -31
  660. package/dist/tvs.dtsv-VRCLX7QY.js +0 -31
  661. package/dist/tvs.multivalue-4OTY6J2S.js +0 -84
  662. package/dist/tvs.numeric-CDATYOR2.js +0 -32
  663. package/dist/tvs.samplelst-76JOJG2M.js +0 -95
  664. package/dist/tvs.survival-WTFJOKIZ.js +0 -110
  665. package/dist/tvs.termCollection-QQXAS7PE.js +0 -118
  666. package/dist/vocabulary-6ACAEFTL.js +0 -32
  667. package/dist/wsi.direct-OS32TQRM.js +0 -11515
  668. package/dist/wsi.direct-OS32TQRM.js.map +0 -7
  669. /package/dist/{2dmaf-CSBPMYHO.js.map → 2dmaf-75YAQQ3P.js.map} +0 -0
  670. /package/dist/{AggMatrixInput-2HST4LLJ.js.map → AggMatrixInput-KYDS23KP.js.map} +0 -0
  671. /package/dist/{AggregateMatrix-UPOAX44L.js.map → AggregateMatrix-XGGF6KBX.js.map} +0 -0
  672. /package/dist/{AppHeader-H5QBVKUS.js.map → AppHeader-CNY5RTJN.js.map} +0 -0
  673. /package/dist/{BoxPlot-JTBQA6PL.js.map → BoxPlot-OQIJJO66.js.map} +0 -0
  674. /package/dist/{Cuminc-3BXJVWIH.js.map → Cuminc-J6DONJTA.js.map} +0 -0
  675. /package/dist/{DE-237VV46D.js.map → DE-XUBJUUBB.js.map} +0 -0
  676. /package/dist/{DM-TIW623IR.js.map → DM-2UUXUJOC.js.map} +0 -0
  677. /package/dist/{DifferentialAnalysis-PHUA2GPK.js.map → DifferentialAnalysis-U6ZPFHNM.js.map} +0 -0
  678. /package/dist/{Disco-WHV52SCI.js.map → Disco-RR2NN66T.js.map} +0 -0
  679. /package/dist/{Disco.UI-UDUXNCZX.js.map → Disco.UI-MQ7WZQOP.js.map} +0 -0
  680. /package/dist/{DmrPlot-FZCD6FTX.js.map → DmrPlot-MKAKFUJR.js.map} +0 -0
  681. /package/dist/{GSEA-3CNHMK6M.js.map → GSEA-DTIA4MNS.js.map} +0 -0
  682. /package/dist/{GeneExpInput-ZOVP7BFY.js.map → GeneExpInput-4GM5MBBX.js.map} +0 -0
  683. /package/dist/{Geomap-JREOIESM.js.map → Geomap-FF6DBN7M.js.map} +0 -0
  684. /package/dist/{HicApp-RKAMIUXQ.js.map → HicApp-LGXNL36X.js.map} +0 -0
  685. /package/dist/{IDCViewer-KXV4FU3V.js.map → IDCViewer-FQABJNUI.js.map} +0 -0
  686. /package/dist/{NumBinaryEditor-FNVYUK2J.js.map → NumBinaryEditor-7NOHUH76.js.map} +0 -0
  687. /package/dist/{NumBinaryEditor.unit.spec-PWR23U3J.js.map → NumBinaryEditor.unit.spec-SVE5SZYB.js.map} +0 -0
  688. /package/dist/{NumContEditor-YLBJW64K.js.map → NumContEditor-MSWCQUKL.js.map} +0 -0
  689. /package/dist/{NumContEditor.unit.spec-6JWBCPFY.js.map → NumContEditor.unit.spec-UFPASWBH.js.map} +0 -0
  690. /package/dist/{NumCustomBinEditor-42AFCXRN.js.map → NumCustomBinEditor-DF24SO2N.js.map} +0 -0
  691. /package/dist/{NumCustomBinEditor.unit.spec-AFBTF2CL.js.map → NumCustomBinEditor.unit.spec-N3S3ROBI.js.map} +0 -0
  692. /package/dist/{NumDiscreteEditor-FJIBZTBP.js.map → NumDiscreteEditor-HL257XGY.js.map} +0 -0
  693. /package/dist/{NumDiscreteEditor.unit.spec-MC4INDCB.js.map → NumDiscreteEditor.unit.spec-6PTPX547.js.map} +0 -0
  694. /package/dist/{NumRegularBinEditor-2WRE72TL.js.map → NumRegularBinEditor-EWCKTXWY.js.map} +0 -0
  695. /package/dist/{NumRegularBinEditor.unit.spec-L3S6NRCM.js.map → NumRegularBinEditor.unit.spec-AMGPMY7U.js.map} +0 -0
  696. /package/dist/{NumSplineEditor-TVMVAN7I.js.map → NumSplineEditor-YDNJ2DW2.js.map} +0 -0
  697. /package/dist/{NumSplineEditor.unit.spec-GEL36GZZ.js.map → NumSplineEditor.unit.spec-L4JZ3OND.js.map} +0 -0
  698. /package/dist/{NumericDensity-BNFAVOFO.js.map → NumericDensity-SQW67WKL.js.map} +0 -0
  699. /package/dist/{NumericDensity.unit.spec-XBYUFBTQ.js.map → NumericDensity.unit.spec-KBK3JZZG.js.map} +0 -0
  700. /package/dist/{NumericHandler-4VFFJNX6.js.map → NumericHandler-HG7FK4D4.js.map} +0 -0
  701. /package/dist/{NumericHandler.unit.spec-76T2IVRS.js.map → NumericHandler.unit.spec-N7PYAGGF.js.map} +0 -0
  702. /package/dist/{ProteomeInput-M5UIO73Q.js.map → ProteomeInput-6XGREJFP.js.map} +0 -0
  703. /package/dist/{Regression-5LB5TLA6.js.map → Regression-4DDXNQNO.js.map} +0 -0
  704. /package/dist/{RunChart2-HIFXOEKZ.js.map → RunChart2-ARCUC4Z3.js.map} +0 -0
  705. /package/dist/{SC-SMMW5MJG.js.map → SC-AV6COOPI.js.map} +0 -0
  706. /package/dist/{Violin-COAFYZOV.js.map → Violin-2P5I6NL5.js.map} +0 -0
  707. /package/dist/{aboutSunburst-3FYJGR6B.js.map → aboutSunburst-V557OK5L.js.map} +0 -0
  708. /package/dist/{adSandbox-4VHYWBQC.js.map → adSandbox-76PMWKTX.js.map} +0 -0
  709. /package/dist/{animatedBubbleChart-QCCIC5IT.js.map → animatedBubbleChart-CFRJJDAC.js.map} +0 -0
  710. /package/dist/{app-IF7YPCGZ.js.map → app-2SUVPURX.js.map} +0 -0
  711. /package/dist/{app-JZ43TSJP.js.map → app-PR42RXHC.js.map} +0 -0
  712. /package/dist/{bam-2VPZGSW3.js.map → bam-AYHWKHXL.js.map} +0 -0
  713. /package/dist/{barchart-VYTWYYGG.js.map → barchart-S4CLMJO7.js.map} +0 -0
  714. /package/dist/{barchart2-XC7J4VEO.js.map → barchart2-R2BGA2WO.js.map} +0 -0
  715. /package/dist/{block.init-BVP3YZHQ.js.map → block.init-SSWOFFJR.js.map} +0 -0
  716. /package/dist/{block.mds.expressionrank-RKDDKY4J.js.map → block.mds.expressionrank-GJBLSUUM.js.map} +0 -0
  717. /package/dist/{block.mds.geneboxplot-3FZ3EZZ6.js.map → block.mds.geneboxplot-SAAU4OH5.js.map} +0 -0
  718. /package/dist/{block.mds.junction-MCOG37RA.js.map → block.mds.junction-IIZPRLPH.js.map} +0 -0
  719. /package/dist/{block.mds.svcnv-IEOR5IQZ.js.map → block.mds.svcnv-KOG7O25F.js.map} +0 -0
  720. /package/dist/{block.svg-3XHRHYCV.js.map → block.svg-5GJ744H3.js.map} +0 -0
  721. /package/dist/{block.tk.aicheck-TMDUGNZX.js.map → block.tk.aicheck-CTIJCHIC.js.map} +0 -0
  722. /package/dist/{block.tk.bam-73KW4QEJ.js.map → block.tk.bam-RTB7C6CW.js.map} +0 -0
  723. /package/dist/{block.tk.bigwig.ui-E5W6R7DQ.js.map → block.tk.bigwig.ui-OJVOCOWS.js.map} +0 -0
  724. /package/dist/{block.tk.hicstraw-BNNE6ZMW.js.map → block.tk.hicstraw-GUE6G2DA.js.map} +0 -0
  725. /package/dist/{block.tk.junction-DMPRZRNY.js.map → block.tk.junction-XILEKNJY.js.map} +0 -0
  726. /package/dist/{block.tk.junction.textmatrixui-XS2E7MQL.js.map → block.tk.junction.textmatrixui-OF6BW6OY.js.map} +0 -0
  727. /package/dist/{block.tk.ld-QD3XDLO4.js.map → block.tk.ld-QZVJUGZU.js.map} +0 -0
  728. /package/dist/{block.tk.menu-S6XI732E.js.map → block.tk.menu-B2NV6ZX3.js.map} +0 -0
  729. /package/dist/{block.tk.pgv-KH4TMR3A.js.map → block.tk.pgv-46OQHX7S.js.map} +0 -0
  730. /package/dist/{brainImaging-NK4JENN3.js.map → brainImaging-TWTGRSHJ.js.map} +0 -0
  731. /package/dist/{brainRegions-YUEMTKYH.js.map → brainRegions-YTTLJMBU.js.map} +0 -0
  732. /package/dist/{chunk-37ZEGLVY.js.map → chunk-255OQYGC.js.map} +0 -0
  733. /package/dist/{chunk-GZL6YFZJ.js.map → chunk-2B3CYHUF.js.map} +0 -0
  734. /package/dist/{chunk-CGSBIFFO.js.map → chunk-2BXMWQTJ.js.map} +0 -0
  735. /package/dist/{chunk-W2SBSEKT.js.map → chunk-2E3AJFOA.js.map} +0 -0
  736. /package/dist/{chunk-KUOXZIH4.js.map → chunk-2IAELUCN.js.map} +0 -0
  737. /package/dist/{chunk-NGBI4FST.js.map → chunk-2W6U53AG.js.map} +0 -0
  738. /package/dist/{chunk-FALP6GXG.js.map → chunk-3R6VYZYB.js.map} +0 -0
  739. /package/dist/{chunk-G6SP5IQT.js.map → chunk-3YAQY5NZ.js.map} +0 -0
  740. /package/dist/{chunk-5LY2ASQX.js.map → chunk-52WVSXYC.js.map} +0 -0
  741. /package/dist/{chunk-JEVDRC64.js.map → chunk-6CQ5ADIY.js.map} +0 -0
  742. /package/dist/{chunk-P7QDNXSH.js.map → chunk-6UHSGC6G.js.map} +0 -0
  743. /package/dist/{chunk-4WFXCUT4.js.map → chunk-7E37WMAX.js.map} +0 -0
  744. /package/dist/{chunk-LYDN734A.js.map → chunk-7EP77LOA.js.map} +0 -0
  745. /package/dist/{chunk-KDKJLITX.js.map → chunk-7LJ4LTD6.js.map} +0 -0
  746. /package/dist/{chunk-U2OB3S3M.js.map → chunk-7MEBMH77.js.map} +0 -0
  747. /package/dist/{chunk-LMONIWPI.js.map → chunk-7NVFEGCE.js.map} +0 -0
  748. /package/dist/{chunk-KBZAB2H2.js.map → chunk-A52K2E32.js.map} +0 -0
  749. /package/dist/{chunk-ADJBQCFM.js.map → chunk-A7UNLPQQ.js.map} +0 -0
  750. /package/dist/{chunk-UWVDD4C2.js.map → chunk-BH4KIOUQ.js.map} +0 -0
  751. /package/dist/{chunk-JCNZJKLK.js.map → chunk-CG2H6EFQ.js.map} +0 -0
  752. /package/dist/{chunk-XAHZYGKW.js.map → chunk-CNDQFKUB.js.map} +0 -0
  753. /package/dist/{chunk-ZKU6RST3.js.map → chunk-CVLHDO2O.js.map} +0 -0
  754. /package/dist/{chunk-Z6M77JDG.js.map → chunk-CVRTDBLZ.js.map} +0 -0
  755. /package/dist/{chunk-XKWLP433.js.map → chunk-DYX6B6RN.js.map} +0 -0
  756. /package/dist/{chunk-UA2ADBTO.js.map → chunk-FA2B6PKK.js.map} +0 -0
  757. /package/dist/{chunk-AAQDXVQT.js.map → chunk-FA6M7PSZ.js.map} +0 -0
  758. /package/dist/{chunk-H353EVLK.js.map → chunk-FF4J6QSF.js.map} +0 -0
  759. /package/dist/{chunk-L7FMBWWK.js.map → chunk-FYHUHKUC.js.map} +0 -0
  760. /package/dist/{chunk-THHYPA5K.js.map → chunk-G3CJDTG4.js.map} +0 -0
  761. /package/dist/{chunk-KZ54E2FU.js.map → chunk-ILAYJZBC.js.map} +0 -0
  762. /package/dist/{chunk-3RPX4ZVV.js.map → chunk-IT7EE7LY.js.map} +0 -0
  763. /package/dist/{chunk-FV2GLMSI.js.map → chunk-JG5CF5Q3.js.map} +0 -0
  764. /package/dist/{chunk-YWB2QHV2.js.map → chunk-L3ORR2TC.js.map} +0 -0
  765. /package/dist/{chunk-EKIWZUEO.js.map → chunk-L6BT6WZP.js.map} +0 -0
  766. /package/dist/{chunk-RI3GAHQE.js.map → chunk-LF2DWEKN.js.map} +0 -0
  767. /package/dist/{chunk-BWVJAFEQ.js.map → chunk-MJZ66SUG.js.map} +0 -0
  768. /package/dist/{chunk-IIN4CG67.js.map → chunk-N5T7TT5H.js.map} +0 -0
  769. /package/dist/{chunk-KNFJN6CM.js.map → chunk-NB4C446B.js.map} +0 -0
  770. /package/dist/{chunk-FRPYXYYQ.js.map → chunk-NJYYF2LF.js.map} +0 -0
  771. /package/dist/{chunk-TDBS3UFZ.js.map → chunk-NMVEXITA.js.map} +0 -0
  772. /package/dist/{chunk-USGUVW5Q.js.map → chunk-NS2H3C6X.js.map} +0 -0
  773. /package/dist/{chunk-JBUTLI3V.js.map → chunk-O7346S3P.js.map} +0 -0
  774. /package/dist/{chunk-FRD6LQF7.js.map → chunk-OV3W5AMN.js.map} +0 -0
  775. /package/dist/{chunk-QXRM5NMW.js.map → chunk-PQDYA3ZQ.js.map} +0 -0
  776. /package/dist/{chunk-HKR5R5YR.js.map → chunk-QFRR3ZRE.js.map} +0 -0
  777. /package/dist/{chunk-4LK5YFHF.js.map → chunk-QLKEA3WE.js.map} +0 -0
  778. /package/dist/{chunk-ECTOEM7X.js.map → chunk-QM7CXRSF.js.map} +0 -0
  779. /package/dist/{chunk-OYXRYWGU.js.map → chunk-QV6VZLS5.js.map} +0 -0
  780. /package/dist/{chunk-ISWFHYEZ.js.map → chunk-RTE32A22.js.map} +0 -0
  781. /package/dist/{chunk-ECCXTB5S.js.map → chunk-SB5DR4NL.js.map} +0 -0
  782. /package/dist/{chunk-4WFG5Y3A.js.map → chunk-SDUMZTIK.js.map} +0 -0
  783. /package/dist/{chunk-ZLWEUYPT.js.map → chunk-TYLCIGGN.js.map} +0 -0
  784. /package/dist/{chunk-MRZUZDRA.js.map → chunk-UHZDDPUU.js.map} +0 -0
  785. /package/dist/{chunk-Z7RFFJXU.js.map → chunk-UW6GRHZ4.js.map} +0 -0
  786. /package/dist/{chunk-LTY7WOAT.js.map → chunk-UYA5LCAR.js.map} +0 -0
  787. /package/dist/{chunk-CDCNBN6G.js.map → chunk-V7CB5D7A.js.map} +0 -0
  788. /package/dist/{chunk-ZG7EBTHK.js.map → chunk-VBUDRJJG.js.map} +0 -0
  789. /package/dist/{chunk-6V7ITU5F.js.map → chunk-VVWZ4BOI.js.map} +0 -0
  790. /package/dist/{chunk-ZJLJHQWM.js.map → chunk-W3K3N275.js.map} +0 -0
  791. /package/dist/{chunk-OKM4ACTA.js.map → chunk-WENNRY5E.js.map} +0 -0
  792. /package/dist/{chunk-Q7GK35TB.js.map → chunk-Z4R7TCTB.js.map} +0 -0
  793. /package/dist/{chunk-P5FHYGJK.js.map → chunk-ZFNEHOW4.js.map} +0 -0
  794. /package/dist/{chunk-HULTLO4D.js.map → chunk-ZLEGHQOO.js.map} +0 -0
  795. /package/dist/{cohort-X327AG3O.js.map → cohort-TLSGXKV5.js.map} +0 -0
  796. /package/dist/{cohortSunburst-GNWIVDNA.js.map → cohortSunburst-TNMXPHJW.js.map} +0 -0
  797. /package/dist/{condition-3M4L2HIM.js.map → condition-NN7YK7AI.js.map} +0 -0
  798. /package/dist/{controls-OKNHZJOU.js.map → controls-472G34VU.js.map} +0 -0
  799. /package/dist/{controls.config-FUKM5LEP.js.map → controls.config-2BQ7QYOB.js.map} +0 -0
  800. /package/dist/{correlation-PC4MXCFM.js.map → correlation-5UPYEHC6.js.map} +0 -0
  801. /package/dist/{customdata.inputui-HCRTX56R.js.map → customdata.inputui-EWYP4MRY.js.map} +0 -0
  802. /package/dist/{dataDownload-HJO7UW7S.js.map → dataDownload-X5UXBEK4.js.map} +0 -0
  803. /package/dist/{databrowser.ui-EY3H6B4S.js.map → databrowser.ui-PFHJKHIW.js.map} +0 -0
  804. /package/dist/{dictionary-L6CTMFY7.js.map → dictionary-M2MCNRN2.js.map} +0 -0
  805. /package/dist/{dnaMethylation-FEB5GGXK.js.map → dnaMethylation-A7AWG2P5.js.map} +0 -0
  806. /package/dist/{dnaMethylation.integration.spec-4DC6TJNZ.js.map → dnaMethylation.integration.spec-JWCMRFAM.js.map} +0 -0
  807. /package/dist/{dnaMethylation.unit.spec-REOHQOBC.js.map → dnaMethylation.unit.spec-PIVJBW7Z.js.map} +0 -0
  808. /package/dist/{dofetch-YFGOKCKV.js.map → dofetch-XID2XEJT.js.map} +0 -0
  809. /package/dist/{e2pca-QSAVTCPL.js.map → e2pca-VJRNE6BU.js.map} +0 -0
  810. /package/dist/{ep-LAFLKVSW.js.map → ep-BZE65IX2.js.map} +0 -0
  811. /package/dist/{expclust.gdc.spec-OM4J6WBL.js.map → expclust.gdc.spec-5BGBANUV.js.map} +0 -0
  812. /package/dist/{facet-WHTV2VIX.js.map → facet-RXUO4LRY.js.map} +0 -0
  813. /package/dist/{gb-DLXWWBB6.js.map → gb-NDRFDS5A.js.map} +0 -0
  814. /package/dist/{geneExpClustering-KB2MB2VM.js.map → geneExpClustering-ONJGTSGM.js.map} +0 -0
  815. /package/dist/{geneExpression-3D7PDZ2I.js.map → geneExpression-NXDXXKEA.js.map} +0 -0
  816. /package/dist/{geneExpression-3RSRGYGQ.js.map → geneExpression-PYI42HV6.js.map} +0 -0
  817. /package/dist/{geneExpression.unit.spec-EINAWLPR.js.map → geneExpression.unit.spec-PTFHHTP7.js.map} +0 -0
  818. /package/dist/{geneORA-J4KVSZT3.js.map → geneORA-SDR43UOL.js.map} +0 -0
  819. /package/dist/{geneRanking-HKLJ7CN6.js.map → geneRanking-QI43IRNV.js.map} +0 -0
  820. /package/dist/{geneVariant-3BRGRFPT.js.map → geneVariant-OT4V554H.js.map} +0 -0
  821. /package/dist/{geneVariant.integration.spec-3IBX4NNE.js.map → geneVariant.integration.spec-6OE4HKYB.js.map} +0 -0
  822. /package/dist/{genefusion.ui-OESQL7TW.js.map → genefusion.ui-IQDKCZPX.js.map} +0 -0
  823. /package/dist/{geneset-3BMV3KP4.js.map → geneset-TLZPZOQP.js.map} +0 -0
  824. /package/dist/{genomeBrowser.spec-I3WKAITC.js.map → genomeBrowser.spec-HIOTFKFK.js.map} +0 -0
  825. /package/dist/{grin2-5L2U32LY.js.map → grin2-G2PVFRKR.js.map} +0 -0
  826. /package/dist/{grin2-4BBCH3H5.js.map → grin2-RJQZRVFF.js.map} +0 -0
  827. /package/dist/{hierCluster-KM56NTN6.js.map → hierCluster-C6ICZSOB.js.map} +0 -0
  828. /package/dist/{hierCluster-XCJF5IQ6.js.map → hierCluster-MESFVAO7.js.map} +0 -0
  829. /package/dist/{hierCluster.config-E2EYOXX6.js.map → hierCluster.config-7HROWR2T.js.map} +0 -0
  830. /package/dist/{hierCluster.integration.spec-IIEJ2YEI.js.map → hierCluster.integration.spec-CJT22MJI.js.map} +0 -0
  831. /package/dist/{hierCluster.interactivity-AJFEJTGX.js.map → hierCluster.interactivity-MDX5QSEF.js.map} +0 -0
  832. /package/dist/{hierCluster.renderers-XKI344FM.js.map → hierCluster.renderers-SU5IYI33.js.map} +0 -0
  833. /package/dist/{imagePlot-3B3BXI6I.js.map → imagePlot-3Y5FNIJL.js.map} +0 -0
  834. /package/dist/{importPlot-JDVH7Q2Z.js.map → importPlot-WE5QSSFY.js.map} +0 -0
  835. /package/dist/{isoformExpression-UFHY5LB2.js.map → isoformExpression-TMLFOZVK.js.map} +0 -0
  836. /package/dist/{isoformExpression.unit.spec-U6GDCNQR.js.map → isoformExpression.unit.spec-MSVTQC3E.js.map} +0 -0
  837. /package/dist/{junction-W2STW5WW.js.map → junction-YKZV4LEL.js.map} +0 -0
  838. /package/dist/{launch.adhoc-KN7HFHJH.js.map → launch.adhoc-DS6UME2S.js.map} +0 -0
  839. /package/dist/{lollipop-EKIGAAK6.js.map → lollipop-ZKDAU3O5.js.map} +0 -0
  840. /package/dist/{maf-MK2MM7J4.js.map → maf-DKOORWGV.js.map} +0 -0
  841. /package/dist/{maftimeline-7RTMXWFA.js.map → maftimeline-EHJ2CWJJ.js.map} +0 -0
  842. /package/dist/{matrix-UM2EZODJ.js.map → matrix-7JDLGNU7.js.map} +0 -0
  843. /package/dist/{matrix-YBL4FZYJ.js.map → matrix-EB7YOLMN.js.map} +0 -0
  844. /package/dist/{matrix.cells-45ZFADK5.js.map → matrix.cells-A5E63KDN.js.map} +0 -0
  845. /package/dist/{matrix.config-QTBIRXKU.js.map → matrix.config-GSW2WJM4.js.map} +0 -0
  846. /package/dist/{matrix.data-WAMOLSKW.js.map → matrix.data-R4FW2PQH.js.map} +0 -0
  847. /package/dist/{matrix.groups-RXFXZABD.js.map → matrix.groups-3UH2KOIY.js.map} +0 -0
  848. /package/dist/{matrix.integration.spec-JZDZRVOK.js.map → matrix.integration.spec-R32TIABT.js.map} +0 -0
  849. /package/dist/{matrix.interactivity-P4VYGTB2.js.map → matrix.interactivity-RDPMBDVK.js.map} +0 -0
  850. /package/dist/{matrix.layout-WWPRXXHX.js.map → matrix.layout-FD275D3P.js.map} +0 -0
  851. /package/dist/{matrix.legend-4MCMVVKO.js.map → matrix.legend-SE7SQTNN.js.map} +0 -0
  852. /package/dist/{matrix.renderers-JQTUODDS.js.map → matrix.renderers-RK2BRCHZ.js.map} +0 -0
  853. /package/dist/{matrix.serieses-3IDRKSGO.js.map → matrix.serieses-BEZCQDLJ.js.map} +0 -0
  854. /package/dist/{matrix.sort-EAWOB56R.js.map → matrix.sort-KRNS4VPF.js.map} +0 -0
  855. /package/dist/{matrix.sort.unit.spec-FOWLULHA.js.map → matrix.sort.unit.spec-LZG3GOXM.js.map} +0 -0
  856. /package/dist/{matrix.sorterUi.unit.spec-U5CQDTMX.js.map → matrix.sorterUi.unit.spec-RR2KK4R5.js.map} +0 -0
  857. /package/dist/{matrix.unit.spec-VTLD4EOZ.js.map → matrix.unit.spec-3PK6LUNE.js.map} +0 -0
  858. /package/dist/{mavb-JIIXJHBK.js.map → mavb-CUPAESFH.js.map} +0 -0
  859. /package/dist/{mds.samplescatterplot-PTWA2V6E.js.map → mds.samplescatterplot-WGQ7A7UC.js.map} +0 -0
  860. /package/dist/{mds.survivalplot-XVZ66GP5.js.map → mds.survivalplot-ZEGSEJO2.js.map} +0 -0
  861. /package/dist/{multivalue-2H7QX7MG.js.map → multivalue-DKUQCROX.js.map} +0 -0
  862. /package/dist/{numericDictTermCluster-EHCDRT6J.js.map → numericDictTermCluster-IFIEM3E4.js.map} +0 -0
  863. /package/dist/{oncomatrix-RZLZUC32.js.map → oncomatrix-WSPJAWHW.js.map} +0 -0
  864. /package/dist/{oncomatrix.spec-Z5UQGTW2.js.map → oncomatrix.spec-LDWTZ7LO.js.map} +0 -0
  865. /package/dist/{plot.2dvaf-IRBZBJ6B.js.map → plot.2dvaf-N333YSMC.js.map} +0 -0
  866. /package/dist/{plot.app-I23IAZ3Z.js.map → plot.app-HU5RQS5I.js.map} +0 -0
  867. /package/dist/{plot.barplot-PYLRAZB7.js.map → plot.barplot-4T2UEIYX.js.map} +0 -0
  868. /package/dist/{plot.boxplot-VBWU7DUG.js.map → plot.boxplot-C4OXCRFB.js.map} +0 -0
  869. /package/dist/{plot.brainImaging-HDJMEMTK.js.map → plot.brainImaging-A6FEKFEA.js.map} +0 -0
  870. /package/dist/{plot.disco-5BVG3WMT.js.map → plot.disco-VDL7YKRX.js.map} +0 -0
  871. /package/dist/{plot.ssgq-S3BKXJMW.js.map → plot.ssgq-OII7PFPG.js.map} +0 -0
  872. /package/dist/{plot.vaf2cov-VD7DU2XR.js.map → plot.vaf2cov-RZ5JPWMC.js.map} +0 -0
  873. /package/dist/{polar2-PYLEVG7E.js.map → polar2-6KR2KX5D.js.map} +0 -0
  874. /package/dist/{profileForms-CI2YYD3Y.js.map → profileForms-YJDJIBSY.js.map} +0 -0
  875. /package/dist/{profilePlot-UCC4ZVHQ.js.map → profilePlot-U4U4AYMO.js.map} +0 -0
  876. /package/dist/{proteomeCohortCompare-2VUSLC6I.js.map → proteomeCohortCompare-QCXKLAWG.js.map} +0 -0
  877. /package/dist/{pseudbulk.unit.spec-VPZWNTIA.js.map → pseudbulk.unit.spec-3A2FWQZI.js.map} +0 -0
  878. /package/dist/{pseudobulk-RUXGZ7OY.js.map → pseudobulk-WB6NXFJ6.js.map} +0 -0
  879. /package/dist/{qualitative-3AVR4GRX.js.map → qualitative-CQUBCCGT.js.map} +0 -0
  880. /package/dist/{qualitative-5QNBKDOZ.js.map → qualitative-QQ3CWFVP.js.map} +0 -0
  881. /package/dist/{radar2-AOYMS54Y.js.map → radar2-FNC67FNX.js.map} +0 -0
  882. /package/dist/{radarFacility2-PP2MAXIP.js.map → radarFacility2-3X77B4WP.js.map} +0 -0
  883. /package/dist/{render-ASLVKYEX.js.map → render-G5NCZTMW.js.map} +0 -0
  884. /package/dist/{report-UVYKDMQC.js.map → report-CR645KQ4.js.map} +0 -0
  885. /package/dist/{sampleView-6UHR7FSR.js.map → sampleView-6PG2HJZL.js.map} +0 -0
  886. /package/dist/{samplelst-ABC2CCNN.js.map → samplelst-FCQ7YPPQ.js.map} +0 -0
  887. /package/dist/{samplematrix-36UCHZLC.js.map → samplematrix-GXMN5QTS.js.map} +0 -0
  888. /package/dist/{sc-XLSAM725.js.map → sc-4ZTSQOXC.js.map} +0 -0
  889. /package/dist/{scatter-ADOBAOW2.js.map → scatter-2PUQU22I.js.map} +0 -0
  890. /package/dist/{scatter-ZNVLI627.js.map → scatter-ZSZTA37T.js.map} +0 -0
  891. /package/dist/{selectGenomeWithTklst-DPDBDYTR.js.map → selectGenomeWithTklst-XHWBEM2G.js.map} +0 -0
  892. /package/dist/{singleCellCellType-STVPYZD4.js.map → singleCellCellType-NP7Y4N6Z.js.map} +0 -0
  893. /package/dist/{singleCellCellType.unit.spec-ZLY37AXL.js.map → singleCellCellType.unit.spec-5I3FECB4.js.map} +0 -0
  894. /package/dist/{singleCellGeneExpression-PCGLU35S.js.map → singleCellGeneExpression-7RWH633E.js.map} +0 -0
  895. /package/dist/{singleCellGeneExpression.unit.spec-PSLKK362.js.map → singleCellGeneExpression.unit.spec-2X2BDTNO.js.map} +0 -0
  896. /package/dist/{singleCellNumericValue-SR3SJEOB.js.map → singleCellNumericValue-I6V4ME6T.js.map} +0 -0
  897. /package/dist/{singleCellNumericValue.unit.spec-PXVXJ4HJ.js.map → singleCellNumericValue.unit.spec-4HKAJXB3.js.map} +0 -0
  898. /package/dist/{singleCellPlot-JXB7M6OH.js.map → singleCellPlot-QRFR3AJH.js.map} +0 -0
  899. /package/dist/{singlecell-PH55NFRX.js.map → singlecell-AQEAB445.js.map} +0 -0
  900. /package/dist/{singlecell-EDSX56QO.js.map → singlecell-DX4EXNUV.js.map} +0 -0
  901. /package/dist/{snp-3VEYBTAQ.js.map → snp-2URSYPBL.js.map} +0 -0
  902. /package/dist/{snp.unit.spec-V7OB44US.js.map → snp.unit.spec-ZV2RCDT4.js.map} +0 -0
  903. /package/dist/{snplocus-HX67RBT5.js.map → snplocus-BB4I2QIP.js.map} +0 -0
  904. /package/dist/{snplst-H5YXCY33.js.map → snplst-A5S7CQEM.js.map} +0 -0
  905. /package/dist/{spliceevent.a53ss.diagram-DBDEEHSK.js.map → spliceevent.a53ss.diagram-6C4OQOVF.js.map} +0 -0
  906. /package/dist/{spliceevent.exonskip.diagram-EYEL6BY6.js.map → spliceevent.exonskip.diagram-FKSR3JEL.js.map} +0 -0
  907. /package/dist/{spliceevent.noeventdiagram-64OEXK7U.js.map → spliceevent.noeventdiagram-G3JQUZKK.js.map} +0 -0
  908. /package/dist/{ssGSEA-3YWQH6KM.js.map → ssGSEA-KLMOSI53.js.map} +0 -0
  909. /package/dist/{ssGSEA.unit.spec-23V2IXP5.js.map → ssGSEA.unit.spec-HBALWLVB.js.map} +0 -0
  910. /package/dist/{stattable-GPSBCNYC.js.map → stattable-ZCMPIC3I.js.map} +0 -0
  911. /package/dist/{studyCatalog-W5PATRNY.js.map → studyCatalog-UZ4BSYY6.js.map} +0 -0
  912. /package/dist/{summarizeCnvGeneexp-YGI23QH5.js.map → summarizeCnvGeneexp-Z43GYKZB.js.map} +0 -0
  913. /package/dist/{summarizeGeneexpSurvival-KQ6OLWYR.js.map → summarizeGeneexpSurvival-4OHRMCFV.js.map} +0 -0
  914. /package/dist/{summarizeMutationCnv-XDHBNEPU.js.map → summarizeMutationCnv-EZXMLADC.js.map} +0 -0
  915. /package/dist/{summarizeMutationDiagnosis-VKIJRJ2Q.js.map → summarizeMutationDiagnosis-RPQP4TM5.js.map} +0 -0
  916. /package/dist/{summarizeMutationSurvival-57YKJGLE.js.map → summarizeMutationSurvival-LX4TRGJZ.js.map} +0 -0
  917. /package/dist/{summary-4WQOVIUF.js.map → summary-FZQVK5KR.js.map} +0 -0
  918. /package/dist/{summary.integration.spec-FRNWBU7F.js.map → summary.integration.spec-46T65LR5.js.map} +0 -0
  919. /package/dist/{summaryInput-X7DS2YA7.js.map → summaryInput-BHU7G5FC.js.map} +0 -0
  920. /package/dist/{sunburst-MSGTXYMM.js.map → sunburst-A5NS3KJQ.js.map} +0 -0
  921. /package/dist/{sunburst-3OEAQA3O.js.map → sunburst-R5X2C7FK.js.map} +0 -0
  922. /package/dist/{survival-5KC5CNZU.js.map → survival-MKW5J5ZH.js.map} +0 -0
  923. /package/dist/{survival-QXDS6N46.js.map → survival-N2NKMVOV.js.map} +0 -0
  924. /package/dist/{survival.integration.spec-PKENHLTZ.js.map → survival.integration.spec-K5FMOOTF.js.map} +0 -0
  925. /package/dist/{svgraph-VJLB7BBN.js.map → svgraph-3WRCJA5D.js.map} +0 -0
  926. /package/dist/{swimmer-R3DN7N36.js.map → swimmer-XV5KVWEM.js.map} +0 -0
  927. /package/dist/{table-YF5VORU6.js.map → table-XUGFZSGV.js.map} +0 -0
  928. /package/dist/{termCollection-KSHVOPS5.js.map → termCollection-23ZRHZHF.js.map} +0 -0
  929. /package/dist/{termCollection-3KGLZFDW.js.map → termCollection-NWTAUSSW.js.map} +0 -0
  930. /package/dist/{termCollection.unit.spec-HTBDG5PL.js.map → termCollection.unit.spec-WE3JMSUI.js.map} +0 -0
  931. /package/dist/{termCollectionFractionSelection-MK4NKWUX.js.map → termCollectionFractionSelection-5FLFLMIY.js.map} +0 -0
  932. /package/dist/{termCollectionFractionSelection.unit.spec-AMF32FDN.js.map → termCollectionFractionSelection.unit.spec-CCFGGXAA.js.map} +0 -0
  933. /package/dist/{tk-Z54DOECH.js.map → tk-F3TSB4IB.js.map} +0 -0
  934. /package/dist/{tp.ui-M4TZVT53.js.map → tp.ui-4QDX3FGM.js.map} +0 -0
  935. /package/dist/{tvs.categorical-HY3BWCZR.js.map → tvs.categorical-24OT3XZI.js.map} +0 -0
  936. /package/dist/{tvs.condition-Y36TRIX4.js.map → tvs.condition-X4SXCVGN.js.map} +0 -0
  937. /package/dist/{tvs.dt-XKVJZP7Y.js.map → tvs.dt-FRBJRSWI.js.map} +0 -0
  938. /package/dist/{tvs.dtcnv.categorical-OMRZR4Y7.js.map → tvs.dtcnv.categorical-4RRSO735.js.map} +0 -0
  939. /package/dist/{tvs.dtcnv.continuous-AGYOBI5K.js.map → tvs.dtcnv.continuous-HXY2PBUA.js.map} +0 -0
  940. /package/dist/{tvs.dtfusion-2JX5Y2IH.js.map → tvs.dtfusion-67LXBQA4.js.map} +0 -0
  941. /package/dist/{tvs.dtitd-SDSLBBWC.js.map → tvs.dtitd-MCJZCNV2.js.map} +0 -0
  942. /package/dist/{tvs.dtsnvindel-LI7K464K.js.map → tvs.dtsnvindel-K5YIIBQJ.js.map} +0 -0
  943. /package/dist/{tvs.dtsv-VRCLX7QY.js.map → tvs.dtsv-RP7FUB2N.js.map} +0 -0
  944. /package/dist/{tvs.multivalue-4OTY6J2S.js.map → tvs.multivalue-CROMWUCP.js.map} +0 -0
  945. /package/dist/{tvs.numeric-CDATYOR2.js.map → tvs.numeric-IYYYV6ZJ.js.map} +0 -0
  946. /package/dist/{tvs.samplelst-76JOJG2M.js.map → tvs.samplelst-5DXKRFYM.js.map} +0 -0
  947. /package/dist/{tvs.survival-WTFJOKIZ.js.map → tvs.survival-W5RXODBT.js.map} +0 -0
  948. /package/dist/{tvs.termCollection-QQXAS7PE.js.map → tvs.termCollection-OSJYIWDX.js.map} +0 -0
  949. /package/dist/{vocabulary-6ACAEFTL.js.map → vocabulary-HTRYJUD7.js.map} +0 -0
@@ -0,0 +1,2349 @@
1
+ import {
2
+ convertUnits,
3
+ isNumeric,
4
+ isStrictNumeric
5
+ } from "./chunk-W5J3LTYS.js";
6
+ import {
7
+ isNumericTerm
8
+ } from "./chunk-CFYWQJ7F.js";
9
+ import {
10
+ ISOFORM_EXPRESSION,
11
+ SINGLECELL_CELLTYPE,
12
+ SINGLECELL_GENE_EXPRESSION,
13
+ TermTypes,
14
+ dtcnv,
15
+ dtfusionrna,
16
+ dtitd,
17
+ dtsnvindel,
18
+ dtsv,
19
+ getColors,
20
+ mclass,
21
+ mclassdeletion,
22
+ mclassinsertion,
23
+ mclassitd,
24
+ mclassmnv,
25
+ mclassnonstandard,
26
+ mclasssnv,
27
+ morigingermline,
28
+ morigingermlinenonpathogenic,
29
+ morigingermlinepathogenic,
30
+ moriginrelapse,
31
+ moriginsomatic,
32
+ vepinfo
33
+ } from "./chunk-2N345NXD.js";
34
+ import {
35
+ deepFreeze,
36
+ sleep
37
+ } from "./chunk-HBNB5TRH.js";
38
+ import {
39
+ format
40
+ } from "./chunk-4OLM3KSB.js";
41
+ import {
42
+ select_default
43
+ } from "./chunk-I6Y4O3RR.js";
44
+ import {
45
+ __commonJS,
46
+ __toESM
47
+ } from "./chunk-HS5PO5ZQ.js";
48
+
49
+ // ../node_modules/secure-json-parse/index.js
50
+ var require_secure_json_parse = __commonJS({
51
+ "../node_modules/secure-json-parse/index.js"(exports, module) {
52
+ "use strict";
53
+ var hasBuffer = typeof Buffer !== "undefined";
54
+ var suspectProtoRx = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;
55
+ var suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
56
+ function _parse(text, reviver, options) {
57
+ if (options == null) {
58
+ if (reviver !== null && typeof reviver === "object") {
59
+ options = reviver;
60
+ reviver = void 0;
61
+ }
62
+ }
63
+ if (hasBuffer && Buffer.isBuffer(text)) {
64
+ text = text.toString();
65
+ }
66
+ if (text && text.charCodeAt(0) === 65279) {
67
+ text = text.slice(1);
68
+ }
69
+ const obj = JSON.parse(text, reviver);
70
+ if (obj === null || typeof obj !== "object") {
71
+ return obj;
72
+ }
73
+ const protoAction = options && options.protoAction || "error";
74
+ const constructorAction = options && options.constructorAction || "error";
75
+ if (protoAction === "ignore" && constructorAction === "ignore") {
76
+ return obj;
77
+ }
78
+ if (protoAction !== "ignore" && constructorAction !== "ignore") {
79
+ if (suspectProtoRx.test(text) === false && suspectConstructorRx.test(text) === false) {
80
+ return obj;
81
+ }
82
+ } else if (protoAction !== "ignore" && constructorAction === "ignore") {
83
+ if (suspectProtoRx.test(text) === false) {
84
+ return obj;
85
+ }
86
+ } else {
87
+ if (suspectConstructorRx.test(text) === false) {
88
+ return obj;
89
+ }
90
+ }
91
+ return filter(obj, { protoAction, constructorAction, safe: options && options.safe });
92
+ }
93
+ function filter(obj, { protoAction = "error", constructorAction = "error", safe } = {}) {
94
+ let next = [obj];
95
+ while (next.length) {
96
+ const nodes = next;
97
+ next = [];
98
+ for (const node of nodes) {
99
+ if (protoAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "__proto__")) {
100
+ if (safe === true) {
101
+ return null;
102
+ } else if (protoAction === "error") {
103
+ throw new SyntaxError("Object contains forbidden prototype property");
104
+ }
105
+ delete node.__proto__;
106
+ }
107
+ if (constructorAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "constructor") && node.constructor !== null && typeof node.constructor === "object" && Object.prototype.hasOwnProperty.call(node.constructor, "prototype")) {
108
+ if (safe === true) {
109
+ return null;
110
+ } else if (constructorAction === "error") {
111
+ throw new SyntaxError("Object contains forbidden prototype property");
112
+ }
113
+ delete node.constructor;
114
+ }
115
+ for (const key in node) {
116
+ const value = node[key];
117
+ if (value && typeof value === "object") {
118
+ next.push(value);
119
+ }
120
+ }
121
+ }
122
+ }
123
+ return obj;
124
+ }
125
+ function parse(text, reviver, options) {
126
+ const { stackTraceLimit } = Error;
127
+ Error.stackTraceLimit = 0;
128
+ try {
129
+ return _parse(text, reviver, options);
130
+ } finally {
131
+ Error.stackTraceLimit = stackTraceLimit;
132
+ }
133
+ }
134
+ function safeParse(text, reviver) {
135
+ const { stackTraceLimit } = Error;
136
+ Error.stackTraceLimit = 0;
137
+ try {
138
+ return _parse(text, reviver, { safe: true });
139
+ } catch {
140
+ return void 0;
141
+ } finally {
142
+ Error.stackTraceLimit = stackTraceLimit;
143
+ }
144
+ }
145
+ module.exports = parse;
146
+ module.exports.default = parse;
147
+ module.exports.parse = parse;
148
+ module.exports.safeParse = safeParse;
149
+ module.exports.scan = filter;
150
+ }
151
+ });
152
+
153
+ // ../shared/utils/dist/src/boxplot.js
154
+ function boxplot_getvalue(lst, removeOutliers = false) {
155
+ const l = lst.length;
156
+ if (l < 5) return { out: lst };
157
+ const isN = typeof lst[0] === "number";
158
+ const valueOf = isN ? (item) => item : (item) => item.value;
159
+ const p50 = valueOf(lst[Math.floor(l / 2)]);
160
+ const p25 = valueOf(lst[Math.floor(l / 4)]);
161
+ const p75 = valueOf(lst[Math.floor(l * 3 / 4)]);
162
+ const p05 = valueOf(lst[Math.floor(l * 0.05)]);
163
+ const p95 = valueOf(lst[Math.floor(l * 0.95)]);
164
+ const iqr = p75 - p25;
165
+ let w1, w2;
166
+ if (iqr === 0) {
167
+ w1 = p25;
168
+ w2 = p25;
169
+ } else {
170
+ const i = lst.findIndex((item) => valueOf(item) > p25 - iqr * 1.5);
171
+ w1 = valueOf(lst[i === -1 ? 0 : i]);
172
+ const j = lst.findIndex((item) => valueOf(item) > p75 + iqr * 1.5);
173
+ w2 = valueOf(lst[j === -1 ? l - 1 : j - 1]);
174
+ }
175
+ const out = removeOutliers ? [] : lst.filter((item) => valueOf(item) < p25 - iqr * 1.5 || valueOf(item) > p75 + iqr * 1.5);
176
+ return { w1, w2, p05, p25, p50, p75, p95, iqr, out };
177
+ }
178
+
179
+ // ../shared/utils/dist/src/bulk.js
180
+ function init_bulk_flag(genome) {
181
+ if (!genome) {
182
+ return null;
183
+ }
184
+ const mclasslabel2key2 = {};
185
+ for (const n in mclass) {
186
+ mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
187
+ }
188
+ return {
189
+ genome,
190
+ mclasslabel2key: mclasslabel2key2,
191
+ data: {},
192
+ // m.sample/m.patient come from parsed file lines; use null-prototype objects so a
193
+ // value of "__proto__"/"constructor" cannot pollute Object.prototype
194
+ sample2disease: /* @__PURE__ */ Object.create(null),
195
+ // (proof) k: sample, v: disease
196
+ // will only record this when origin is used
197
+ patient2st: /* @__PURE__ */ Object.create(null),
198
+ // k: patient, v: { k: sampletype, v: sample }
199
+ // new sample names always override old
200
+ good: 0,
201
+ geneToUpper: true,
202
+ // option to not force uppercase on gene names
203
+ snv: {
204
+ loaded: false,
205
+ header: null,
206
+ badlines: [],
207
+ // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
208
+ // hard-coded class codes
209
+ missense: 0,
210
+ silent: 0
211
+ },
212
+ svjson: {
213
+ loaded: false,
214
+ header: null,
215
+ badlines: []
216
+ },
217
+ fusion: {
218
+ loaded: false,
219
+ header: null,
220
+ badlines: [],
221
+ original: []
222
+ },
223
+ sv: {
224
+ loaded: false,
225
+ header: null,
226
+ badlines: [],
227
+ original: []
228
+ },
229
+ cnv: {
230
+ loaded: false,
231
+ header: null,
232
+ badlines: []
233
+ },
234
+ itd: {
235
+ loaded: false,
236
+ header: null,
237
+ badlines: []
238
+ },
239
+ del: {
240
+ loaded: false,
241
+ header: null,
242
+ badlines: []
243
+ },
244
+ truncation: {
245
+ loaded: false,
246
+ header: null,
247
+ badlines: []
248
+ }
249
+ };
250
+ }
251
+ function parsesample(m, flag, i, lst) {
252
+ let variantorigin = moriginsomatic;
253
+ if (m.sampletype) {
254
+ const s = m.sampletype.toLowerCase();
255
+ switch (s) {
256
+ case "relapse":
257
+ variantorigin = moriginrelapse;
258
+ break;
259
+ case "germline":
260
+ variantorigin = morigingermline;
261
+ break;
262
+ case "somatic":
263
+ case "diagnosis":
264
+ break;
265
+ }
266
+ if (m.sample) {
267
+ if (m.patient) {
268
+ } else {
269
+ m.patient = m.sample + " " + m.sampletype;
270
+ }
271
+ } else {
272
+ if (m.patient) {
273
+ m.sample = m.patient + " " + m.sampletype;
274
+ } else {
275
+ }
276
+ }
277
+ } else {
278
+ if (m.patient) {
279
+ if (m.sample) {
280
+ m.sampletype = m.sample;
281
+ } else {
282
+ m.sample = m.sampletype = m.patient;
283
+ }
284
+ } else {
285
+ if (m.sample) {
286
+ m.sampletype = m.sample;
287
+ } else {
288
+ }
289
+ }
290
+ }
291
+ if (m.origin) {
292
+ const s = m.origin.toLowerCase();
293
+ switch (s) {
294
+ case "r":
295
+ case "relapse":
296
+ variantorigin = moriginrelapse;
297
+ m.isrim2 = true;
298
+ break;
299
+ case "g":
300
+ case "germline":
301
+ variantorigin = morigingermline;
302
+ m.isrim1 = true;
303
+ break;
304
+ case "gp":
305
+ case "germline pathogenic":
306
+ variantorigin = morigingermlinepathogenic;
307
+ m.isrim1 = true;
308
+ break;
309
+ case "gnp":
310
+ case "germline nonpathogenic":
311
+ case "germline non-pathogenic":
312
+ variantorigin = morigingermlinenonpathogenic;
313
+ m.isrim1 = true;
314
+ break;
315
+ case "s":
316
+ case "somatic":
317
+ case "diagnosis":
318
+ variantorigin = moriginsomatic;
319
+ break;
320
+ }
321
+ }
322
+ m.origin = variantorigin;
323
+ if (!m.sample && !m.patient) {
324
+ return;
325
+ }
326
+ const nopatientname = "no patient/individual name";
327
+ if (m.patient) {
328
+ if (!flag.patient2st[m.patient]) {
329
+ flag.patient2st[m.patient] = /* @__PURE__ */ Object.create(null);
330
+ }
331
+ flag.patient2st[m.patient][m.sampletype] = m.sample;
332
+ } else {
333
+ if (!flag.patient2st[nopatientname]) {
334
+ flag.patient2st[nopatientname] = /* @__PURE__ */ Object.create(null);
335
+ }
336
+ flag.patient2st[nopatientname][m.sampletype] = m.sample;
337
+ }
338
+ if (m.sample) {
339
+ if (m.disease) {
340
+ if (m.sample in flag.sample2disease) {
341
+ if (m.disease != flag.sample2disease[m.sample]) {
342
+ flag.snv.badlines.push([
343
+ i,
344
+ 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
345
+ lst
346
+ ]);
347
+ return true;
348
+ }
349
+ } else {
350
+ flag.sample2disease[m.sample] = m.disease;
351
+ }
352
+ }
353
+ }
354
+ return false;
355
+ }
356
+
357
+ // ../shared/utils/dist/src/clustering.js
358
+ var clusterMethodLst = [
359
+ {
360
+ label: "Average",
361
+ value: "average",
362
+ title: `Cluster by average value`
363
+ },
364
+ {
365
+ label: `Complete`,
366
+ value: "complete",
367
+ title: `Use the complete clustering method`
368
+ },
369
+ {
370
+ label: `Single`,
371
+ value: "single",
372
+ title: `Use the single clustering method`
373
+ },
374
+ {
375
+ label: `Ward.D`,
376
+ value: "ward.D",
377
+ title: `Use the ward.D clustering method`
378
+ },
379
+ {
380
+ label: `Ward.D2`,
381
+ value: "ward.D2",
382
+ title: `Use the ward.D2 clustering method`
383
+ },
384
+ {
385
+ label: `Mcquitty`,
386
+ value: "mcquitty",
387
+ title: `Use the Mcquity clustering method`
388
+ }
389
+ /* These methods are currently disabled because the dendrogram lines tend to cross one another.
390
+ {
391
+ label: `Centroid`,
392
+ value: 'centroid',
393
+ title: `Use the centroid clustering method`
394
+ },
395
+ {
396
+ label: `Median`,
397
+ value: 'median',
398
+ title: `Use the median clustering method`
399
+ }
400
+ */
401
+ ];
402
+ var distanceMethodLst = [
403
+ {
404
+ label: "Euclidean",
405
+ value: "euclidean",
406
+ title: `Calculate distance using euclidean method`
407
+ },
408
+ {
409
+ label: "Maximum",
410
+ value: "maximum",
411
+ title: `Maximum distance between two components of x and y`
412
+ },
413
+ {
414
+ label: "Manhattan",
415
+ value: "manhattan",
416
+ title: `Calculate distance using the absolute distance between the two vectors`
417
+ },
418
+ {
419
+ label: "Canberra",
420
+ value: "canberra",
421
+ title: `Calculate distance using Canberra method`
422
+ }
423
+ ];
424
+
425
+ // ../shared/utils/dist/src/daSampleLimits.js
426
+ var maxSampleCutoff = 4e3;
427
+ function sampleLimitAlert(total, noun = "samples", limit = maxSampleCutoff) {
428
+ return total > limit ? `${total} ${noun} selected exceeds the limit of ${limit} per run. Please narrow the cohort.` : "";
429
+ }
430
+
431
+ // ../shared/utils/dist/src/dmrColors.js
432
+ var HYPER_COLOR = "#e66101";
433
+ var HYPO_COLOR = "#5e81f4";
434
+
435
+ // ../shared/utils/dist/src/compute.percentile.js
436
+ function computePercentile(values, percentile, sorted = false) {
437
+ if (!sorted) values.sort((a, b) => a - b);
438
+ const index = Math.abs(percentile / 100 * values.length - 1);
439
+ const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
440
+ return value;
441
+ }
442
+
443
+ // ../shared/utils/dist/src/hash.js
444
+ var encoder = new TextEncoder();
445
+ async function hash(message) {
446
+ const msgUint8 = encoder.encode(message);
447
+ const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
448
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
449
+ const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
450
+ return hexToBase64(hashHex).replace("=", "-");
451
+ }
452
+ function hexToBase64(hexStr) {
453
+ return btoa(
454
+ [...hexStr].reduce(
455
+ (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
456
+ ""
457
+ )
458
+ );
459
+ }
460
+
461
+ // ../shared/utils/dist/src/urljson.js
462
+ var import_secure_json_parse = __toESM(require_secure_json_parse(), 1);
463
+ var reserved = ["false", "true", "null", "undefined"];
464
+ var delimiters = ['"', "{", "["];
465
+ function encode(rawObject) {
466
+ const params = [];
467
+ for (const [key, value] of Object.entries(rawObject)) {
468
+ if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
469
+ params.push(`${key}=${encodeURIComponent(value)}`);
470
+ } else if (value !== void 0) {
471
+ params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
472
+ }
473
+ }
474
+ return params.join("&");
475
+ }
476
+
477
+ // ../shared/utils/dist/src/fetch-helpers.js
478
+ async function processResponse(r) {
479
+ const ct = r.headers.get("content-type");
480
+ if (!ct) throw `missing response.header['content-type']`;
481
+ if (ct.includes("/json")) {
482
+ const payload = await r.json();
483
+ return payload;
484
+ }
485
+ if (ct.includes("/text") || ct.includes("text/")) {
486
+ return r.text();
487
+ }
488
+ if (ct.includes("multipart")) {
489
+ if (ct.startsWith("multipart/form-data")) return processFormData(r);
490
+ else throw `cannot handle response content-type: '${ct}'`;
491
+ }
492
+ if (ct == "application/x-ndjson-nestedkey") {
493
+ return processNDJSON_nestedKey(r);
494
+ }
495
+ return r.blob();
496
+ }
497
+ async function processFormData(res) {
498
+ const data = {};
499
+ const form = await res.formData();
500
+ for (const [key, value] of form.entries()) {
501
+ if (value.type) {
502
+ data[key] = { headers: { "content-type": value.type }, body: value };
503
+ } else {
504
+ const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
505
+ data[key] = { headers: { "content-type": "application/json" }, body };
506
+ }
507
+ }
508
+ return data;
509
+ }
510
+ async function processNDJSON_nestedKey(r) {
511
+ const stream = r.body.pipeThrough(new TextDecoderStream());
512
+ const reader = stream.getReader();
513
+ let rootObj = {};
514
+ let buffer = "";
515
+ let done = false;
516
+ while (!done) {
517
+ const readResult = await reader.read();
518
+ done = readResult.done;
519
+ if (done) break;
520
+ const value = readResult.value;
521
+ buffer += value;
522
+ const parts = buffer.split("\n");
523
+ buffer = parts.pop() ?? "";
524
+ for (const line of parts) {
525
+ if (line.trim()) {
526
+ const [keys, data] = JSON.parse(line);
527
+ if (!keys.length) rootObj = data;
528
+ else {
529
+ const lastKey = keys.pop();
530
+ let target = rootObj;
531
+ for (const k of keys) target = target[k];
532
+ target[lastKey] = data;
533
+ }
534
+ }
535
+ }
536
+ }
537
+ return rootObj;
538
+ }
539
+ var cacheLifetime = 1e3 * 60 * 5;
540
+ async function getDataName(url, init) {
541
+ const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
542
+ return await hash(dataName);
543
+ }
544
+
545
+ // ../shared/utils/dist/src/fileSize.js
546
+ function fileSize(v) {
547
+ if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
548
+ if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
549
+ if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
550
+ return v + " Bytes";
551
+ }
552
+
553
+ // ../shared/utils/dist/src/mds3tk.js
554
+ var ssmIdFieldsSeparator = "__";
555
+ function summarize_mclass(mlst) {
556
+ const m2c = /* @__PURE__ */ new Map();
557
+ const cnvs = [];
558
+ for (const m of mlst) {
559
+ if (m.dt == dtcnv) {
560
+ cnvs.push(m);
561
+ continue;
562
+ }
563
+ const key = m.class || m.dt;
564
+ m2c.set(key, 1 + (m2c.get(key) || 0));
565
+ }
566
+ if (cnvs.length) {
567
+ if (Number.isFinite(cnvs[0].value)) {
568
+ m2c.set(dtcnv, cnvs.length);
569
+ } else {
570
+ for (const c of cnvs) {
571
+ if (!c.class) continue;
572
+ m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
573
+ }
574
+ }
575
+ }
576
+ return [...m2c].sort((i, j) => j[1] - i[1]);
577
+ }
578
+ function guessSsmid(ssmid) {
579
+ const l = ssmid.split(ssmIdFieldsSeparator);
580
+ if (l.length == 4) {
581
+ const [chr, tmp, ref, alt] = l;
582
+ const pos = Number(tmp);
583
+ if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
584
+ return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
585
+ }
586
+ if (l.length == 5) {
587
+ const [chr, _start, _stop, _class, _value] = l;
588
+ const start = Number(_start), stop = Number(_stop);
589
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
590
+ const value = _value == "" ? null : Number(_value);
591
+ if (_class == mclassitd) {
592
+ return { dt: dtitd, l: [chr, start, stop, _class, value] };
593
+ }
594
+ return { dt: dtcnv, l: [chr, start, stop, _class, value] };
595
+ }
596
+ if (l.length == 6) {
597
+ if (l[3] == "+" || l[3] == "-") {
598
+ const [_dt, chr2, _pos, strand, _pi, _mname] = l;
599
+ const mname = decodeURIComponent(_mname);
600
+ const dt = Number(_dt);
601
+ if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
602
+ const pos = Number(_pos);
603
+ if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
604
+ const pairlstIdx = Number(_pi);
605
+ if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
606
+ return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
607
+ }
608
+ const [chr, _start, _stop, _class, _value, sample] = l;
609
+ const start = Number(_start), stop = Number(_stop);
610
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
611
+ if (_class == mclassitd) {
612
+ return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
613
+ }
614
+ const value = _value == "" ? null : Number(_value);
615
+ return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
616
+ }
617
+ throw new Error("unknown ssmid");
618
+ }
619
+
620
+ // ../shared/utils/dist/src/pairwiseTests.js
621
+ var defaultMaxPairwiseTestGroups = 8;
622
+ var pairwiseTestGroupsLimit = 30;
623
+
624
+ // ../shared/utils/dist/src/scatter.js
625
+ var xAxisOffSet = 80;
626
+ var yAxisOffSet = 30;
627
+ function getCoordinate(val, min, max) {
628
+ if (min != null && val < min) return min;
629
+ if (max != null && val > max) return max;
630
+ return val;
631
+ }
632
+ function calculatePadding(minScale, maxScale, min, max) {
633
+ return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
634
+ }
635
+
636
+ // ../shared/utils/dist/src/termdb.bins.js
637
+ function validate_bins(binconfig) {
638
+ const bc = binconfig;
639
+ if (!bc || typeof bc !== "object") throw "bin schema must be an object";
640
+ if (!("type" in bc)) bc.type = "regular-bin";
641
+ if (bc.type == "custom-bin") {
642
+ if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
643
+ if (!bc.lst.length) throw "binconfig.lst must have entries";
644
+ const first_bin = bc.lst[0];
645
+ const last_bin = bc.lst[bc.lst.length - 1];
646
+ for (const bin of bc.lst) {
647
+ if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
648
+ throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
649
+ }
650
+ if (bin == first_bin) {
651
+ if ("startunbounded" in bin && !bin.startunbounded) {
652
+ throw `a custom first bin must not set bin.startunbounded to false`;
653
+ }
654
+ bin.startunbounded = true;
655
+ if ("start" in bin) {
656
+ throw "a custom first bin must not set a bin.start value";
657
+ }
658
+ if ("start_percentile" in bin) {
659
+ throw "the first bin must not set a bin.start_percentile value";
660
+ }
661
+ if (!("stop" in bin)) {
662
+ throw `a custom first bin must define a bin.stop value`;
663
+ }
664
+ if (!isStrictNumeric(bin.stop)) {
665
+ throw `a custom first bin.stop value should be numeric`;
666
+ }
667
+ } else if (bin == last_bin) {
668
+ if (!("start" in bin)) {
669
+ throw `a custom last bin must define a bin.start value`;
670
+ }
671
+ if (!isStrictNumeric(bin.start)) {
672
+ throw `a custom last bin.start must be numeric`;
673
+ }
674
+ if ("stopunbounded" in bin && !bin.stopunbounded) {
675
+ throw "a custom last bin must not set bin.stopunbounded to false";
676
+ }
677
+ bin.stopunbounded = true;
678
+ if ("stop" in bin) {
679
+ throw "a custom last bin must not set a bin.stop value";
680
+ }
681
+ } else {
682
+ if (bin.startunbounded || bin.stopunbounded) {
683
+ throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
684
+ }
685
+ if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
686
+ if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
687
+ }
688
+ }
689
+ } else if (bc.type == "regular-bin") {
690
+ if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
691
+ if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
692
+ if (!bc.startinclusive && !bc.stopinclusive) {
693
+ bc.startinclusive = true;
694
+ bc.stopinclusive = false;
695
+ }
696
+ if (!bc.first_bin) throw "first_bin{} missing";
697
+ if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
698
+ if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
699
+ {
700
+ const b = bc.first_bin;
701
+ b.startunbounded = true;
702
+ if (b.stop_percentile) {
703
+ if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
704
+ if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
705
+ } else if (!Number.isFinite(b.stop)) {
706
+ throw "first_bin.stop not a number when stop_percentile is not set";
707
+ }
708
+ }
709
+ if (bc.last_bin) {
710
+ const b = bc.last_bin;
711
+ if (b.start_percentile) {
712
+ if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
713
+ if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
714
+ } else if (!Number.isFinite(b.start)) {
715
+ throw "last_bin.start not a number when start_percentile is not set";
716
+ }
717
+ b.stopunbounded = true;
718
+ if ("stop" in b) {
719
+ throw "a regular last bin must not set a bin.stop value";
720
+ }
721
+ }
722
+ } else {
723
+ throw `invalid binconfig.type="${bc.type}"`;
724
+ }
725
+ }
726
+ var maxNumBins = 100;
727
+ function compute_bins(binconfig, summaryfxn, valueConversion) {
728
+ const bc = binconfig;
729
+ validate_bins(bc);
730
+ if (bc.lst) {
731
+ if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
732
+ if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
733
+ assignBinColors(bc.lst);
734
+ }
735
+ if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
736
+ if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
737
+ const percentiles = target_percentiles(bc);
738
+ const summary = summaryfxn(percentiles);
739
+ if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
740
+ bc.results = { summary };
741
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
742
+ const minFloor = Math.floor(summary.min * 100) / 100;
743
+ const maxCeil = Math.ceil(summary.max * 100) / 100;
744
+ const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
745
+ let max = maxCeil, last_start, last_stop;
746
+ if (bc.last_bin) {
747
+ max = bc.last_bin.stopunbounded ? maxCeil : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isNumeric(bc.last_bin.stop) && bc.last_bin.stop <= summary.max ? bc.last_bin.stop : maxCeil;
748
+ last_start = isStrictNumeric(bc.last_bin.start_percentile) ? summary["p" + bc.last_bin.start_percentile] : isStrictNumeric(bc.last_bin.start) ? bc.last_bin.start : void 0;
749
+ last_stop = bc.last_bin.stopunbounded ? null : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isStrictNumeric(bc.last_bin.stop) ? bc.last_bin.stop : null;
750
+ } else if (bc.lst) {
751
+ const last_bin = bc.lst[bc.lst.length - 1];
752
+ last_start = last_bin.start;
753
+ last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
754
+ max = last_stop;
755
+ } else {
756
+ last_start = maxCeil;
757
+ last_stop = maxCeil;
758
+ }
759
+ const numericMax = isStrictNumeric(max);
760
+ const numericLastStart = isStrictNumeric(last_start);
761
+ const numericLastStop = isStrictNumeric(last_stop);
762
+ if (!numericMax && !numericLastStart) return [];
763
+ const bins = [];
764
+ let currBin = {
765
+ startunbounded: bc.first_bin.startunbounded,
766
+ start: bc.first_bin.startunbounded ? void 0 : min,
767
+ stop: isStrictNumeric(bc.first_bin.stop_percentile) ? +summary["p" + bc.first_bin.stop_percentile] : isStrictNumeric(bc.first_bin.stop) ? +bc.first_bin.stop : min + bc.bin_size,
768
+ startinclusive: bc.startinclusive,
769
+ stopinclusive: bc.stopinclusive
770
+ };
771
+ if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
772
+ while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
773
+ bins.push(currBin);
774
+ if (currBin.stop >= max) {
775
+ currBin.stopunbounded = true;
776
+ if (bins.length > 1) {
777
+ delete currBin.stop;
778
+ }
779
+ }
780
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
781
+ if (currBin.stopunbounded) break;
782
+ const upper = currBin.stop + bc.bin_size;
783
+ const previousStop = currBin.stop;
784
+ currBin = {
785
+ startinclusive: bc.startinclusive,
786
+ stopinclusive: bc.stopinclusive,
787
+ start: previousStop,
788
+ stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
789
+ };
790
+ if (currBin.stop >= max) {
791
+ currBin.stop = max;
792
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
793
+ if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
794
+ }
795
+ if (numericLastStart && currBin.start == last_start) {
796
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
797
+ }
798
+ if (currBin.start > currBin.stop) {
799
+ if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
800
+ currBin.stopunbounded = true;
801
+ else break;
802
+ }
803
+ if (bins.length + 1 >= maxNumBins) {
804
+ delete currBin.stop;
805
+ currBin.stopunbounded = true;
806
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
807
+ if (!bins.includes(currBin)) bins.push(currBin);
808
+ const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
809
+ throw new Error(hint + " (max_num_bins_reached)");
810
+ }
811
+ }
812
+ delete bc.binLabelFormatter;
813
+ if (bins.length > 1) {
814
+ delete bins[bins.length - 1].stop;
815
+ }
816
+ assignBinColors(bins);
817
+ return bins;
818
+ }
819
+ function assignBinColors(lst) {
820
+ const k2c = getColors(lst.length);
821
+ for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
822
+ return lst;
823
+ }
824
+ function getNumDecimalsFormatter(bc) {
825
+ return "rounding" in bc ? format(bc.rounding) : (d) => d;
826
+ }
827
+ function get_bin_label(bin, binconfig, valueConversion) {
828
+ if (!bin) return "missing bin.label";
829
+ if (bin.label) return bin.label;
830
+ const bc = binconfig;
831
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
832
+ if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
833
+ if (bc.startinclusive) bin.startinclusive = true;
834
+ else if (bc.stopinclusive) bin.stopinclusive = true;
835
+ }
836
+ const start = bc.use_as == "bins" || bin.start;
837
+ const stop = bc.use_as == "bins" || bin.stop;
838
+ let label_offset = 0;
839
+ if ("label_offset" in bc) {
840
+ bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
841
+ if (!bc.label_offset_ignored) label_offset = bc.label_offset;
842
+ } else if (bc.bin_size === 1 && bc.termtype == "integer") {
843
+ label_offset = 1;
844
+ }
845
+ if (bin.startunbounded) {
846
+ const oper = bin.stopinclusive ? "\u2264" : "<";
847
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
848
+ return oper + v1;
849
+ }
850
+ if (bin.stopunbounded || start === stop) {
851
+ const oper = bin.startinclusive ? "\u2265" : ">";
852
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
853
+ return oper + v0;
854
+ }
855
+ if (label_offset && bin.startinclusive && !bin.stopinclusive) {
856
+ if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
857
+ return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
858
+ } else {
859
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
860
+ const v1 = valueConversion ? convertUnits(
861
+ stop - label_offset,
862
+ valueConversion.fromUnit,
863
+ valueConversion.toUnit,
864
+ valueConversion.scaleFactor,
865
+ true
866
+ ) : bc.binLabelFormatter(stop - label_offset);
867
+ return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
868
+ }
869
+ } else {
870
+ const oper0 = bin.startinclusive ? "" : ">";
871
+ const oper1 = bin.stopinclusive ? "" : "<";
872
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
873
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
874
+ if (+v0 >= +v1) {
875
+ const oper = bin.startinclusive ? "\u2265" : ">";
876
+ return oper + v0;
877
+ } else {
878
+ return oper0 + v0 + " to " + oper1 + v1;
879
+ }
880
+ }
881
+ }
882
+ function get_bin_range_equation(bin, binconfig, valueConversion) {
883
+ const x = '<span style="font-family:Times;font-style:italic;">x</span>';
884
+ let range_eq;
885
+ const copy = structuredClone(bin);
886
+ copy.label = "";
887
+ for (const k of ["start", "stop"]) {
888
+ if (k in copy && typeof copy[k] != "number") copy[k] = isNumeric(copy[k]) ? Number(copy[k]) : NaN;
889
+ }
890
+ const bin_label = get_bin_label(copy, binconfig, valueConversion);
891
+ if (bin.startunbounded || bin.stopunbounded) {
892
+ range_eq = x + " " + bin_label;
893
+ } else if (bin.startinclusive) {
894
+ range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
895
+ } else if (bin.stopinclusive) {
896
+ range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
897
+ }
898
+ return range_eq;
899
+ }
900
+ function target_percentiles(binconfig) {
901
+ const percentiles = [];
902
+ const f = binconfig.first_bin;
903
+ if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
904
+ if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
905
+ const l = binconfig.last_bin;
906
+ if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
907
+ if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
908
+ return percentiles;
909
+ }
910
+
911
+ // ../shared/utils/dist/src/termdb.initbinconfig.js
912
+ function initBinConfig(data, opts = {}) {
913
+ if (!data.length)
914
+ return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
915
+ if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
916
+ let binConfig;
917
+ const s = new Set(data);
918
+ if (s.size === 1) {
919
+ const value = [...s][0];
920
+ binConfig = {
921
+ type: "custom-bin",
922
+ lst: [
923
+ { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
924
+ { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
925
+ { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
926
+ ]
927
+ };
928
+ } else {
929
+ data.sort((a, b) => a - b);
930
+ const l = data.length;
931
+ const min = data[0];
932
+ const max = data[l - 1];
933
+ const p5idx = Math.ceil(l * 0.05) - 1;
934
+ const p98idx = Math.ceil(l * 0.98) - 1;
935
+ const p5 = data[p5idx];
936
+ const p98 = data[p98idx];
937
+ const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
938
+ const firstBinStop = Math.max(min + binSize, p5);
939
+ const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
940
+ binConfig = {
941
+ type: "regular-bin",
942
+ startinclusive: true,
943
+ bin_size: binSize_rnd,
944
+ first_bin: { stop: firstBinStop_rnd }
945
+ };
946
+ if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
947
+ if (rounding) binConfig.rounding = rounding;
948
+ }
949
+ if ("format" in opts) {
950
+ if (opts.format === "string") {
951
+ return JSON.stringify(binConfig);
952
+ } else {
953
+ throw "options are not in the correct format";
954
+ }
955
+ } else {
956
+ return binConfig;
957
+ }
958
+ }
959
+ function roundBinVals(binSize, firstBinStop, max, min) {
960
+ let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
961
+ const log = Math.floor(Math.log10(binSize));
962
+ if (binSize >= 0.1 && binSize <= 2) {
963
+ binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
964
+ firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
965
+ } else {
966
+ binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
967
+ firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
968
+ if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
969
+ if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
970
+ if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
971
+ }
972
+ if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
973
+ const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
974
+ if (max > eighthBinStop_rnd) {
975
+ lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
976
+ }
977
+ if (binSize < 1) {
978
+ const digits = Math.abs(log);
979
+ binSize_rnd = Number(binSize_rnd.toFixed(digits));
980
+ firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
981
+ if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
982
+ rounding = "." + digits + "f";
983
+ }
984
+ if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
985
+ return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
986
+ }
987
+
988
+ // ../shared/utils/dist/src/termdb.usecase.js
989
+ var graphableTypes = /* @__PURE__ */ new Set([
990
+ "categorical",
991
+ "integer",
992
+ "float",
993
+ "condition",
994
+ "survival",
995
+ "snplst",
996
+ "snplocus",
997
+ "geneVariant",
998
+ "samplelst",
999
+ "geneExpression",
1000
+ ISOFORM_EXPRESSION,
1001
+ "dtcnv",
1002
+ "dtsnvindel",
1003
+ "dtfusion",
1004
+ "dtsv",
1005
+ "date",
1006
+ TermTypes.SSGSEA,
1007
+ TermTypes.DNA_METHYLATION,
1008
+ TermTypes.METABOLITE_INTENSITY,
1009
+ TermTypes.PROTEOME_ABUNDANCE,
1010
+ TermTypes.PSEUDOBULK,
1011
+ TermTypes.JUNCTION,
1012
+ SINGLECELL_GENE_EXPRESSION,
1013
+ SINGLECELL_CELLTYPE,
1014
+ TermTypes.SINGLECELL_NUMERIC_VALUE,
1015
+ TermTypes.SNP,
1016
+ TermTypes.TERM_COLLECTION,
1017
+ TermTypes.COHORT,
1018
+ TermTypes.MULTIVALUE
1019
+ ]);
1020
+ function isUsableTerm(term, _usecase, termdbConfig, ds) {
1021
+ const usecase = _usecase || {};
1022
+ if (typeof ds?.usecase?.[usecase.target] == "function") {
1023
+ return ds.usecase[usecase.target](term, usecase);
1024
+ }
1025
+ const uses = /* @__PURE__ */ new Set();
1026
+ const child_types = term.child_types || [];
1027
+ switch (usecase.target) {
1028
+ case "barchart":
1029
+ case "violin":
1030
+ case "boxplot":
1031
+ case "summary": {
1032
+ const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
1033
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
1034
+ if (hasAllowedChildTypes({ child_types, excluded_types: excluded })) uses.add("branch");
1035
+ return uses;
1036
+ }
1037
+ case "summaryInput":
1038
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1039
+ const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
1040
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
1041
+ if (hasAllowedChildTypes({ child_types, excluded_types: excluded })) uses.add("branch");
1042
+ return uses;
1043
+ } else {
1044
+ if (graphableTypes.has(term.type)) uses.add("plot");
1045
+ if (!term.isleaf) uses.add("branch");
1046
+ return uses;
1047
+ }
1048
+ case "matrix":
1049
+ if (term.type) uses.add("plot");
1050
+ if (!term.isleaf) uses.add("branch");
1051
+ return uses;
1052
+ case "table":
1053
+ if (usecase.detail == "term") uses.add("plot");
1054
+ if (child_types.length > 1) uses.add("branch");
1055
+ return uses;
1056
+ case "sampleScatter":
1057
+ if (usecase.detail == "numeric") {
1058
+ if (isNumericTerm(term)) {
1059
+ uses.add("plot");
1060
+ }
1061
+ if (hasNumericChild(child_types)) uses.add("branch");
1062
+ } else {
1063
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1064
+ if (!term.isleaf) uses.add("branch");
1065
+ }
1066
+ return uses;
1067
+ case "runChart2":
1068
+ if (usecase.detail == "date" || usecase.detail == "xtw") {
1069
+ if (term.type == "date") {
1070
+ uses.add("plot");
1071
+ }
1072
+ if (child_types.includes("date")) uses.add("branch");
1073
+ } else if (usecase.detail == "numeric") {
1074
+ if (isNumericTerm(term) && term.type != "date") {
1075
+ uses.add("plot");
1076
+ }
1077
+ if (hasNumericChild(child_types)) uses.add("branch");
1078
+ } else {
1079
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1080
+ if (!term.isleaf) uses.add("branch");
1081
+ }
1082
+ return uses;
1083
+ case "numericDictTermCluster":
1084
+ if (!usecase.detail?.exclude?.includes(term.id)) {
1085
+ if (isNumericTerm(term)) {
1086
+ uses.add("plot");
1087
+ }
1088
+ if (hasNumericChild(child_types)) {
1089
+ uses.add("branch");
1090
+ }
1091
+ }
1092
+ return uses;
1093
+ case "termCollections":
1094
+ if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1095
+ if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1096
+ return uses;
1097
+ case "profileForms":
1098
+ if (!term.isleaf) {
1099
+ const ancestors = term.id.split("__").length;
1100
+ if (ancestors == 3) {
1101
+ uses.add("plot");
1102
+ } else if (ancestors < 3) uses.add("branch");
1103
+ }
1104
+ return uses;
1105
+ // case 'boxplot':
1106
+ // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1107
+ // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1108
+ // return uses
1109
+ case "cuminc":
1110
+ if (usecase.detail == "term") {
1111
+ if (term.type == "condition") uses.add("plot");
1112
+ if (child_types.includes("condition")) uses.add("branch");
1113
+ return uses;
1114
+ }
1115
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1116
+ if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
1117
+ uses.add("plot");
1118
+ if (hasAllowedChildTypes({
1119
+ child_types,
1120
+ excluded_types: ["condition", "survival", "multivalue"]
1121
+ }))
1122
+ uses.add("branch");
1123
+ return uses;
1124
+ }
1125
+ return uses;
1126
+ case "survival":
1127
+ if (usecase.detail == "term") {
1128
+ if (term.type == "survival") uses.add("plot");
1129
+ if (child_types.includes("survival")) uses.add("branch");
1130
+ return uses;
1131
+ }
1132
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1133
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1134
+ if (hasAllowedChildTypes({ child_types, excluded_types: ["survival", "multivalue"] })) uses.add("branch");
1135
+ return uses;
1136
+ }
1137
+ return uses;
1138
+ case "regression":
1139
+ if (usecase.detail == "outcome") {
1140
+ if (usecase.regressionType == "linear") {
1141
+ if (term.type == "float" || term.type == "integer") uses.add("plot");
1142
+ if (hasNumericChild(child_types)) uses.add("branch");
1143
+ return uses;
1144
+ }
1145
+ if (usecase.regressionType == "logistic") {
1146
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1147
+ if (hasAllowedChildTypes({ child_types, excluded_types: ["survival", "multivalue"] })) uses.add("branch");
1148
+ return uses;
1149
+ } else if (usecase.regressionType == "cox") {
1150
+ if (term.type == "condition" || term.type == "survival") uses.add("plot");
1151
+ if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1152
+ return uses;
1153
+ }
1154
+ }
1155
+ if (usecase.detail == "independent") {
1156
+ if (term.type == TermTypes.TERM_COLLECTION) {
1157
+ if (term.memberType == "numeric") uses.add("plot");
1158
+ return uses;
1159
+ }
1160
+ if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1161
+ uses.add("plot");
1162
+ if (hasAllowedChildTypes({ child_types, included_types: ["categorical", "float", "integer"] }))
1163
+ uses.add("branch");
1164
+ return uses;
1165
+ }
1166
+ return uses;
1167
+ case "filter": {
1168
+ if (term.type == "samplelst" && !samplelstListsSamples(term)) return uses;
1169
+ const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1170
+ if (exlst) {
1171
+ if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1172
+ if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1173
+ return uses;
1174
+ }
1175
+ if (graphableTypes.has(term.type)) uses.add("plot");
1176
+ if (!term.isleaf) uses.add("branch");
1177
+ return uses;
1178
+ }
1179
+ case "correlationVolcano":
1180
+ if (usecase.detail == "numeric") {
1181
+ if (isNumericTerm(term)) {
1182
+ uses.add("plot");
1183
+ }
1184
+ if (hasNumericChild(child_types)) uses.add("branch");
1185
+ } else {
1186
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1187
+ if (!term.isleaf) uses.add("branch");
1188
+ }
1189
+ return uses;
1190
+ case "proteinView":
1191
+ if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1192
+ if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1193
+ return uses;
1194
+ case "brainImaging": {
1195
+ const allowMultivalue = usecase.detail == "term0";
1196
+ if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1197
+ if (!term.isleaf) uses.add("branch");
1198
+ return uses;
1199
+ }
1200
+ case "swimmer": {
1201
+ if (usecase.detail == "pointTerm") {
1202
+ const excluded2 = ["survival", "multivalue"];
1203
+ if (graphableTypes.has(term.type) && !excluded2.includes(term.type) && hasSampleType(term.sample_type, usecase.sampleTypes))
1204
+ uses.add("plot");
1205
+ if (hasAllowedChildTypes({
1206
+ child_types,
1207
+ child_sample_types: term.child_sample_types,
1208
+ excluded_types: excluded2,
1209
+ included_sample_types: usecase.sampleTypes
1210
+ }))
1211
+ uses.add("branch");
1212
+ return uses;
1213
+ }
1214
+ const excluded = ["survival"];
1215
+ if (graphableTypes.has(term.type) && !excluded.includes(term.type)) uses.add("plot");
1216
+ if (hasAllowedChildTypes({ child_types, excluded_types: excluded })) uses.add("branch");
1217
+ return uses;
1218
+ }
1219
+ case "sunburst": {
1220
+ const allowed = ["categorical", "integer", "float"];
1221
+ if (allowed.includes(term.type) && hasSampleType(term.sample_type, usecase.sampleTypes)) uses.add("plot");
1222
+ if (hasAllowedChildTypes({
1223
+ child_types,
1224
+ child_sample_types: term.child_sample_types,
1225
+ included_types: allowed,
1226
+ included_sample_types: usecase.sampleTypes
1227
+ }))
1228
+ uses.add("branch");
1229
+ return uses;
1230
+ }
1231
+ case "dictionary":
1232
+ if (graphableTypes.has(term.type)) uses.add("plot");
1233
+ if (!term.isleaf) uses.add("branch");
1234
+ return uses;
1235
+ default:
1236
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1237
+ if (!term.isleaf) uses.add("branch");
1238
+ return uses;
1239
+ }
1240
+ }
1241
+ function hasAllowedChildTypes(arg) {
1242
+ const {
1243
+ child_types,
1244
+ child_sample_types,
1245
+ included_types,
1246
+ excluded_types,
1247
+ included_sample_types,
1248
+ excluded_sample_types
1249
+ } = arg;
1250
+ const hasTypeCriteria = child_types?.length || included_types?.length || excluded_types?.length;
1251
+ const hasSampleTypeCriteria = child_sample_types?.length || included_sample_types?.length || excluded_sample_types?.length;
1252
+ if (!hasTypeCriteria && !hasSampleTypeCriteria) return false;
1253
+ if (hasTypeCriteria && !hasAllowedChildValues(child_types, included_types, excluded_types)) return false;
1254
+ if (hasSampleTypeCriteria && !hasAllowedChildValues(child_sample_types, included_sample_types, excluded_sample_types))
1255
+ return false;
1256
+ return true;
1257
+ }
1258
+ function hasAllowedChildValues(child_values, included_values, excluded_values) {
1259
+ if (!child_values?.length) return false;
1260
+ return child_values.some(
1261
+ (value) => (!included_values?.length || included_values.includes(value)) && !excluded_values?.includes(value)
1262
+ );
1263
+ }
1264
+ function hasNumericChild(child_types) {
1265
+ return child_types.includes("float") || child_types.includes("integer");
1266
+ }
1267
+ function hasSampleType(sample_type, allowed) {
1268
+ if (!allowed?.length) return true;
1269
+ return allowed.includes(Number(sample_type));
1270
+ }
1271
+ function samplelstListsSamples(term) {
1272
+ const groups = Object.values(term.values || {});
1273
+ return groups.length > 0 && groups.every((g) => Array.isArray(g.list));
1274
+ }
1275
+
1276
+ // ../shared/utils/dist/src/time.js
1277
+ function formatElapsedTime(ms, precision = 2) {
1278
+ if (typeof ms !== "number" || isNaN(ms)) {
1279
+ return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1280
+ }
1281
+ if (!isFinite(ms)) {
1282
+ return ms > 0 ? "Infinite time" : "-Infinite time";
1283
+ }
1284
+ const absMs = Math.abs(ms);
1285
+ const sign = ms < 0 ? "-" : "";
1286
+ if (absMs < 1e3) {
1287
+ return `${sign}${absMs}ms`;
1288
+ }
1289
+ if (absMs < 6e4) {
1290
+ return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1291
+ }
1292
+ const minutes = Math.floor(absMs / 6e4);
1293
+ const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1294
+ return `${sign}${minutes}m ${seconds}s`;
1295
+ }
1296
+
1297
+ // ../shared/utils/dist/src/vcf.ann.js
1298
+ function parse_ANN(str, header, m) {
1299
+ if (!header) {
1300
+ return null;
1301
+ }
1302
+ for (const thisannotation of str.split(",")) {
1303
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1304
+ const o = {};
1305
+ for (let i = 0; i < header.length; i++) {
1306
+ if (lst[i]) {
1307
+ o[header[i].name] = lst[i];
1308
+ }
1309
+ }
1310
+ if (!o.Allele) {
1311
+ continue;
1312
+ }
1313
+ let allele = null;
1314
+ for (const a of m.alleles) {
1315
+ if (a.allele == o.Allele) {
1316
+ allele = a;
1317
+ break;
1318
+ }
1319
+ }
1320
+ if (!allele) {
1321
+ continue;
1322
+ }
1323
+ if (!allele.ann) {
1324
+ allele.ann = [];
1325
+ }
1326
+ allele.ann.push(o);
1327
+ o._gene = o.Gene_Name;
1328
+ if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1329
+ o._isoform = o.Feature_ID.split(".")[0];
1330
+ }
1331
+ if (o.Annotation) {
1332
+ const [dt, cls, rank] = vepinfo(o.Annotation);
1333
+ o._dt = dt;
1334
+ o._class = cls;
1335
+ o._csqrank = rank;
1336
+ } else {
1337
+ o._dt = dtsnvindel;
1338
+ o._class = mclassnonstandard;
1339
+ }
1340
+ if (o["HGVS.p"]) {
1341
+ o._mname = o["HGVS.p"];
1342
+ } else if (o["HGVS.c"]) {
1343
+ o._mname = o["HGVS.c"];
1344
+ }
1345
+ }
1346
+ return true;
1347
+ }
1348
+
1349
+ // ../shared/utils/dist/src/vcf.csq.js
1350
+ function parse_CSQ(str, header, m) {
1351
+ if (!header) {
1352
+ return null;
1353
+ }
1354
+ for (const thisannotation of str.split(",")) {
1355
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1356
+ const o = {};
1357
+ for (let i = 0; i < header.length; i++) {
1358
+ if (lst[i]) {
1359
+ o[header[i].name] = lst[i];
1360
+ }
1361
+ }
1362
+ if (!o.Allele) {
1363
+ continue;
1364
+ }
1365
+ let allele = null;
1366
+ for (const a of m.mlst || m.alleles) {
1367
+ if (a.allele_original == o.Allele) {
1368
+ allele = a;
1369
+ break;
1370
+ }
1371
+ }
1372
+ if (!allele) {
1373
+ if (o.Allele == "-") {
1374
+ if (m.mlst) {
1375
+ if (m.mlst.length == 1) {
1376
+ allele = m.mlst[0];
1377
+ }
1378
+ } else if (m.alleles) {
1379
+ if (m.alleles.length == 1) {
1380
+ allele = m.alleles[0];
1381
+ }
1382
+ }
1383
+ } else {
1384
+ for (const a of m.mlst || m.alleles) {
1385
+ if (a.allele_original.substr(1) == o.Allele) {
1386
+ allele = a;
1387
+ break;
1388
+ }
1389
+ }
1390
+ }
1391
+ if (!allele) {
1392
+ continue;
1393
+ }
1394
+ }
1395
+ if (!allele.csq) {
1396
+ allele.csq = [];
1397
+ }
1398
+ allele.csq.push(o);
1399
+ o._gene = o.SYMBOL || o.Gene;
1400
+ if (o.Feature_type && o.Feature_type == "Transcript") {
1401
+ o._isoform = o.Feature.split(".")[0];
1402
+ } else {
1403
+ o._isoform = o._gene;
1404
+ }
1405
+ if (o.Consequence) {
1406
+ const [dt, cls, rank] = vepinfo(o.Consequence);
1407
+ o._dt = dt;
1408
+ o._class = cls;
1409
+ o._csqrank = rank;
1410
+ } else {
1411
+ o._dt = dtsnvindel;
1412
+ o._class = mclassnonstandard;
1413
+ }
1414
+ if (o.HGVSp) {
1415
+ o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1416
+ } else if (o.Protein_position && o.Amino_acids) {
1417
+ o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1418
+ } else if (o.HGVSc) {
1419
+ o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1420
+ } else if (o.Existing_variation) {
1421
+ o._name = o.Existing_variation;
1422
+ }
1423
+ }
1424
+ return true;
1425
+ }
1426
+
1427
+ // ../shared/utils/dist/src/vcf.info.js
1428
+ function dissect_INFO(str) {
1429
+ let findsemicolon = false;
1430
+ let findequalorsemicolon = true;
1431
+ let i = 0;
1432
+ let idx = 0;
1433
+ const k2v = {};
1434
+ let lastkey;
1435
+ while (i < str.length) {
1436
+ const c = str[i];
1437
+ if (findequalorsemicolon) {
1438
+ if (c == "=") {
1439
+ findsemicolon = true;
1440
+ findequalorsemicolon = false;
1441
+ lastkey = str.substring(idx, i);
1442
+ idx = i + 1;
1443
+ } else if (c == ";") {
1444
+ k2v[str.substring(idx, i)] = 1;
1445
+ idx = i + 1;
1446
+ }
1447
+ } else if (findsemicolon && c == ";") {
1448
+ findequalorsemicolon = true;
1449
+ findsemicolon = false;
1450
+ k2v[lastkey] = str.substring(idx, i);
1451
+ lastkey = null;
1452
+ idx = i + 1;
1453
+ }
1454
+ i++;
1455
+ }
1456
+ const remainstr = str.substr(idx, i);
1457
+ if (lastkey) {
1458
+ k2v[lastkey] = remainstr;
1459
+ } else {
1460
+ k2v[remainstr] = 1;
1461
+ }
1462
+ return k2v;
1463
+ }
1464
+
1465
+ // ../shared/utils/dist/src/vcf.type.js
1466
+ function getVariantType(ref, alt) {
1467
+ if (ref.length == 1 && alt.length == 1) {
1468
+ if (alt == ".") {
1469
+ return mclassdeletion;
1470
+ }
1471
+ return mclasssnv;
1472
+ }
1473
+ if (ref.length == alt.length) return mclassmnv;
1474
+ if (ref.length < alt.length) return mclassinsertion;
1475
+ if (ref.length > alt.length) return mclassdeletion;
1476
+ return mclassnonstandard;
1477
+ }
1478
+
1479
+ // ../shared/utils/dist/src/vcf.js
1480
+ var getallelename = /^<(.+)>/;
1481
+ var mclasslabel2key = {};
1482
+ for (const k in mclass) {
1483
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1484
+ }
1485
+ function vcfparsemeta(lines) {
1486
+ let sample = [];
1487
+ const errlst = [];
1488
+ const info = {};
1489
+ let hasinfo = false;
1490
+ const format2 = {};
1491
+ let hasformat = false;
1492
+ for (const line of lines) {
1493
+ if (!line.startsWith("#")) {
1494
+ continue;
1495
+ }
1496
+ if (line.startsWith("#C")) {
1497
+ sample = line.split(" ").slice(9);
1498
+ continue;
1499
+ }
1500
+ if (line.startsWith("##INFO")) {
1501
+ const e = tohash(line.substring(8, line.length - 1), info);
1502
+ if (e) {
1503
+ errlst.push("INFO error: " + e);
1504
+ } else {
1505
+ hasinfo = true;
1506
+ }
1507
+ continue;
1508
+ }
1509
+ if (line.startsWith("##FORMAT")) {
1510
+ const e = tohash(line.substring(10, line.length - 1), format2);
1511
+ if (e) {
1512
+ errlst.push("FORMAT error: " + e);
1513
+ } else {
1514
+ hasformat = true;
1515
+ }
1516
+ }
1517
+ }
1518
+ const sampleobjlst = [];
1519
+ for (const samplename of sample) {
1520
+ const a = { name: samplename };
1521
+ sampleobjlst.push(a);
1522
+ }
1523
+ if (info.CSQ) {
1524
+ const lst = info.CSQ.Description.split(" Format: ");
1525
+ if (lst[1]) {
1526
+ const lst2 = lst[1].split("|");
1527
+ if (lst2.length > 1) {
1528
+ info.CSQ.csqheader = [];
1529
+ for (const str of lst2) {
1530
+ const attr = { name: str };
1531
+ info.CSQ.csqheader.push(attr);
1532
+ }
1533
+ } else {
1534
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1535
+ }
1536
+ } else {
1537
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1538
+ }
1539
+ }
1540
+ if (info.ANN) {
1541
+ const lst = info.ANN.Description.split("'");
1542
+ if (lst[1]) {
1543
+ const lst2 = lst[1].split(" | ");
1544
+ if (lst2.length) {
1545
+ info.ANN.annheader = [];
1546
+ for (const s of lst2) {
1547
+ const attr = { name: s };
1548
+ info.ANN.annheader.push(attr);
1549
+ }
1550
+ } else {
1551
+ errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1552
+ }
1553
+ } else {
1554
+ errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1555
+ }
1556
+ }
1557
+ return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1558
+ }
1559
+ function vcfparseline(line, vcf) {
1560
+ const lst = line.split(" ");
1561
+ if (lst.length < 8) {
1562
+ return ["line has less than 8 fields", null, null];
1563
+ }
1564
+ const rawpos = Number.parseInt(lst[2 - 1]);
1565
+ if (!Number.isInteger(rawpos)) {
1566
+ return ["invalid value for genomic position", null, null];
1567
+ }
1568
+ const refallele = lst[4 - 1];
1569
+ const m = {
1570
+ vcf_ID: lst[3 - 1],
1571
+ chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1572
+ pos: rawpos - 1,
1573
+ ref: refallele,
1574
+ //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1575
+ altstr: lst[5 - 1],
1576
+ alleles: [
1577
+ {
1578
+ /*
1579
+ ref allele only a placeholder, to be removed, this array only contains alt alleles
1580
+ this is a must
1581
+ also allows GT allele index to work
1582
+ */
1583
+ allele: refallele,
1584
+ sampledata: []
1585
+ }
1586
+ ],
1587
+ info: {},
1588
+ // locus info, do not contain allele info
1589
+ name: lst[3 - 1] == "." ? null : lst[3 - 1]
1590
+ };
1591
+ const altinvalid = [];
1592
+ for (const alt of lst[5 - 1].split(",")) {
1593
+ const a = {
1594
+ ref: m.ref,
1595
+ // may be corrected just below!
1596
+ allele: alt,
1597
+ // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1598
+ allele_original: alt,
1599
+ sampledata: [],
1600
+ _m: m,
1601
+ info: {}
1602
+ // allele info, do not contain locus info
1603
+ };
1604
+ m.alleles.push(a);
1605
+ if (alt[0] == "<") {
1606
+ const tmp2 = alt.match(getallelename);
1607
+ if (!tmp2) {
1608
+ altinvalid.push(alt);
1609
+ continue;
1610
+ }
1611
+ a.type = tmp2[1];
1612
+ a.allele = tmp2[1];
1613
+ a.issymbolicallele = true;
1614
+ } else {
1615
+ const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1616
+ a.pos = p;
1617
+ a.ref = ref;
1618
+ a.allele = alt2;
1619
+ }
1620
+ }
1621
+ if (lst[9 - 1] && lst[10 - 1]) {
1622
+ parse_FORMAT2(lst, m, vcf);
1623
+ }
1624
+ m.alleles.shift();
1625
+ const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1626
+ let badinfokeys = [];
1627
+ if (vcf.info) {
1628
+ badinfokeys = parse_INFO(tmp, m, vcf);
1629
+ } else {
1630
+ m.info = tmp;
1631
+ }
1632
+ const mlst = [];
1633
+ for (const a of m.alleles) {
1634
+ const m2 = {};
1635
+ for (const k in m) {
1636
+ if (k != "alleles") {
1637
+ m2[k] = m[k];
1638
+ }
1639
+ }
1640
+ for (const k in a) {
1641
+ if (k == "allele") {
1642
+ m2.alt = a[k];
1643
+ } else if (k == "info") {
1644
+ m2.altinfo = a[k];
1645
+ } else {
1646
+ m2[k] = a[k];
1647
+ }
1648
+ }
1649
+ if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1650
+ m2.type = getVariantType(m2.ref, m2.alt);
1651
+ }
1652
+ mlst.push(m2);
1653
+ }
1654
+ return [
1655
+ badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1656
+ mlst,
1657
+ altinvalid.length > 0 ? altinvalid : null
1658
+ ];
1659
+ }
1660
+ function correctRefAlt(p, ref, alt) {
1661
+ while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1662
+ ref = ref.substr(0, ref.length - 1);
1663
+ alt = alt.substr(0, alt.length - 1);
1664
+ }
1665
+ while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1666
+ ref = ref.substr(1);
1667
+ alt = alt.substr(1);
1668
+ p++;
1669
+ }
1670
+ return [p, ref, alt];
1671
+ }
1672
+ function parse_FORMAT2(lst, m, vcf) {
1673
+ const formatfields = lst[9 - 1].split(":");
1674
+ for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1675
+ const valuelst = lst[_sampleidx].split(":");
1676
+ {
1677
+ let none = true;
1678
+ for (const v of valuelst) {
1679
+ if (v != ".") {
1680
+ none = false;
1681
+ break;
1682
+ }
1683
+ }
1684
+ if (none) {
1685
+ continue;
1686
+ }
1687
+ }
1688
+ const sampleidx = _sampleidx - 9;
1689
+ for (let i = 1; i < m.alleles.length; i++) {
1690
+ const sobj = {};
1691
+ if (vcf.samples && vcf.samples[sampleidx]) {
1692
+ for (const k in vcf.samples[sampleidx]) {
1693
+ sobj[k] = vcf.samples[sampleidx][k];
1694
+ }
1695
+ } else {
1696
+ sobj.name = "missing_samplename_from_vcf_header";
1697
+ }
1698
+ m.alleles[i].sampledata.push({
1699
+ sampleobj: sobj
1700
+ });
1701
+ }
1702
+ for (let fi = 0; fi < formatfields.length; fi++) {
1703
+ const field = formatfields[fi];
1704
+ const value = valuelst[fi];
1705
+ if (value == ".") {
1706
+ continue;
1707
+ }
1708
+ if (field == "GT") {
1709
+ const splitter = value.indexOf("/") != -1 ? "/" : "|";
1710
+ let gtsum = 0;
1711
+ let unknowngt = false;
1712
+ const gtalleles = [];
1713
+ for (const i of value.split(splitter)) {
1714
+ if (i == ".") {
1715
+ unknowngt = true;
1716
+ continue;
1717
+ }
1718
+ const j = Number.parseInt(i);
1719
+ if (Number.isNaN(j)) {
1720
+ unknowngt = true;
1721
+ continue;
1722
+ }
1723
+ gtsum += j;
1724
+ const ale = m.alleles[j];
1725
+ if (ale) {
1726
+ gtalleles.push(ale.allele);
1727
+ }
1728
+ }
1729
+ let gtallref = false;
1730
+ if (!unknowngt) {
1731
+ gtallref = gtsum == 0;
1732
+ }
1733
+ const genotype = gtalleles.join(splitter);
1734
+ for (let i = 1; i < m.alleles.length; i++) {
1735
+ const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1736
+ ms.GT = value;
1737
+ ms.genotype = genotype;
1738
+ if (gtallref) {
1739
+ ms.gtallref = true;
1740
+ }
1741
+ ms.__gtalleles = gtalleles;
1742
+ }
1743
+ continue;
1744
+ }
1745
+ const formatdesc = vcf.format ? vcf.format[field] : null;
1746
+ if (!formatdesc) {
1747
+ for (let i = 1; i < m.alleles.length; i++) {
1748
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1749
+ }
1750
+ continue;
1751
+ }
1752
+ const isinteger = formatdesc.Type == "Integer";
1753
+ const isfloat = formatdesc.Type == "Float";
1754
+ if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1755
+ const fvlst = value.split(",").map((i) => {
1756
+ if (isinteger) return Number.parseInt(i);
1757
+ if (isfloat) return Number.parseFloat(i);
1758
+ return i;
1759
+ });
1760
+ for (let i = 1; i < m.alleles.length; i++) {
1761
+ if (fvlst[i] != void 0) {
1762
+ const m2 = m.alleles[i];
1763
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1764
+ m2s[field] = {};
1765
+ m2s[field][m2.ref] = fvlst[0];
1766
+ m2s[field][m2.allele] = fvlst[i];
1767
+ }
1768
+ }
1769
+ continue;
1770
+ }
1771
+ if (formatdesc.Number && formatdesc.Number == "A") {
1772
+ const fvlst = value.split(",").map((i) => {
1773
+ if (isinteger) return Number.parseInt(i);
1774
+ if (isfloat) return Number.parseFloat(i);
1775
+ return i;
1776
+ });
1777
+ for (let i = 1; i < m.alleles.length; i++) {
1778
+ if (fvlst[i - 1] != void 0) {
1779
+ const m2 = m.alleles[i];
1780
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1781
+ m2s[field] = {};
1782
+ m2s[field][m2.allele] = fvlst[i - 1];
1783
+ }
1784
+ }
1785
+ continue;
1786
+ }
1787
+ for (let i = 1; i < m.alleles.length; i++) {
1788
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1789
+ }
1790
+ }
1791
+ }
1792
+ for (const a of m.alleles) {
1793
+ for (const s of a.sampledata) {
1794
+ if (s.AD) {
1795
+ s.allele2readcount = {};
1796
+ for (const k in s.AD) {
1797
+ s.allele2readcount[k] = s.AD[k];
1798
+ }
1799
+ }
1800
+ }
1801
+ }
1802
+ }
1803
+ function tohash(s, hash2) {
1804
+ const h = {}, err = [];
1805
+ let prev = 0, prevdoublequote = false, k = null;
1806
+ for (let i = 0; i < s.length; i++) {
1807
+ if (s[i] == '"') {
1808
+ i++;
1809
+ const thisstart = i;
1810
+ while (s[i] != '"') {
1811
+ i++;
1812
+ }
1813
+ if (k) {
1814
+ h[k] = s.substring(thisstart, i);
1815
+ k = null;
1816
+ } else {
1817
+ err.push("k undefined before double quotes");
1818
+ }
1819
+ prevdoublequote = true;
1820
+ continue;
1821
+ }
1822
+ if (s[i] == "=") {
1823
+ k = s.substring(prev, i);
1824
+ prev = i + 1;
1825
+ continue;
1826
+ }
1827
+ if (s[i] == ",") {
1828
+ if (prevdoublequote) {
1829
+ prevdoublequote = false;
1830
+ } else {
1831
+ if (k) {
1832
+ h[k] = s.substring(prev, i);
1833
+ k = null;
1834
+ } else {
1835
+ err.push("k undefined");
1836
+ }
1837
+ }
1838
+ prev = i + 1;
1839
+ continue;
1840
+ }
1841
+ }
1842
+ if (k) {
1843
+ h[k] = s.substring(prev);
1844
+ }
1845
+ if (h.ID) {
1846
+ hash2[h.ID] = h;
1847
+ } else {
1848
+ return "no ID";
1849
+ }
1850
+ if (err.length) return err.join("\n");
1851
+ }
1852
+ function parse_INFO(tmp, m, vcf) {
1853
+ const badinfokeys = [];
1854
+ for (const key in tmp) {
1855
+ if (vcf.info[key] == void 0) {
1856
+ badinfokeys.push(key);
1857
+ continue;
1858
+ }
1859
+ const value = tmp[key];
1860
+ if (key == "CSQ") {
1861
+ const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1862
+ if (!okay) {
1863
+ m.info[key] = value;
1864
+ }
1865
+ continue;
1866
+ }
1867
+ if (key == "ANN") {
1868
+ const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1869
+ if (!okay) {
1870
+ m.info[key] = value;
1871
+ }
1872
+ continue;
1873
+ }
1874
+ if (vcf.info[key].Type == "Flag") {
1875
+ m.info[key] = key;
1876
+ continue;
1877
+ }
1878
+ const __number = vcf.info[key].Number;
1879
+ const isinteger = vcf.info[key].Type == "Integer";
1880
+ const isfloat = vcf.info[key].Type == "Float";
1881
+ if (__number == "0") {
1882
+ m.info[key] = key;
1883
+ continue;
1884
+ }
1885
+ if (__number == "A") {
1886
+ const tt = value.split(",");
1887
+ for (let j = 0; j < tt.length; j++) {
1888
+ if (m.alleles[j]) {
1889
+ m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1890
+ }
1891
+ }
1892
+ continue;
1893
+ }
1894
+ if (__number == "R") {
1895
+ }
1896
+ if (__number == "1") {
1897
+ m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1898
+ continue;
1899
+ }
1900
+ if (!value.split) {
1901
+ continue;
1902
+ }
1903
+ const lst = value.split(",");
1904
+ if (isinteger) {
1905
+ m.info[key] = lst.map(Number.parseInt);
1906
+ } else if (isfloat) {
1907
+ m.info[key] = lst.map(Number.parseFloat);
1908
+ } else {
1909
+ m.info[key] = lst;
1910
+ }
1911
+ }
1912
+ return badinfokeys;
1913
+ }
1914
+
1915
+ // ../shared/utils/dist/src/violinHiddenValues.js
1916
+ function getViolinHiddenValues(tw) {
1917
+ const hidden = { ...tw?.q?.hiddenValues || {} };
1918
+ for (const [k, v] of Object.entries(tw?.term?.values || {})) {
1919
+ if (v?.uncomputable && hidden[k]) {
1920
+ delete hidden[k];
1921
+ hidden[v.label] = 1;
1922
+ }
1923
+ }
1924
+ return hidden;
1925
+ }
1926
+
1927
+ // common/auth.js
1928
+ var jwtByDsRoute;
1929
+ function setJwtByDsRoute() {
1930
+ if (jwtByDsRoute) return;
1931
+ const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1932
+ jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1933
+ }
1934
+ function setTokenByDsRoute(dslabel, route, jwt) {
1935
+ setJwtByDsRoute();
1936
+ if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1937
+ if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1938
+ else delete jwtByDsRoute[dslabel][route];
1939
+ localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1940
+ }
1941
+ function getSavedToken(dslabel, route) {
1942
+ setJwtByDsRoute();
1943
+ return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1944
+ }
1945
+ function mayAddJwtToRequest(init, body, url) {
1946
+ if (init.headers.authorization) return;
1947
+ let dslabel = body?.dslabel;
1948
+ if (!dslabel) {
1949
+ const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1950
+ if (!param) return;
1951
+ let value = decodeURIComponent(param.split("=")[1]);
1952
+ if (value.startsWith("{") && value.endsWith("}")) {
1953
+ value = JSON.parse(value);
1954
+ dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1955
+ } else {
1956
+ dslabel = value;
1957
+ }
1958
+ }
1959
+ setJwtByDsRoute();
1960
+ if (!dslabel || !jwtByDsRoute[dslabel]) return;
1961
+ const h = url.split("//");
1962
+ const postProtocolStr = h[1] || h[0];
1963
+ const preQuestionMarkStr = postProtocolStr.split("?")[0];
1964
+ const pathSegments = preQuestionMarkStr.split("/");
1965
+ let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1966
+ const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1967
+ if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1968
+ }
1969
+ var dsAuthOk = /* @__PURE__ */ new Set();
1970
+ var dsAuth;
1971
+ var authUi;
1972
+ var authUiHolder;
1973
+ var includeEmbedder = false;
1974
+ async function setDsAuthOk(opts) {
1975
+ dsAuth = opts.dsAuth;
1976
+ authUi = opts.ui || defaultAuthUi;
1977
+ authUiHolder = opts.holder || select_default("body");
1978
+ for (const auth of dsAuth) {
1979
+ if (auth.insession) dsAuthOk.add(auth);
1980
+ }
1981
+ includeEmbedder = opts.dsAuth?.length > 0 || false;
1982
+ }
1983
+ function getRequiredAuth(dslabel, route) {
1984
+ if (!dsAuth || !Array.isArray(dsAuth)) return;
1985
+ for (const a of dsAuth) {
1986
+ if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1987
+ }
1988
+ }
1989
+ async function isInSession(dslabel, route) {
1990
+ if (!dslabel) return false;
1991
+ if (!Array.isArray(dsAuth)) return false;
1992
+ for (const a of dsAuth) {
1993
+ if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1994
+ if (dsAuthOk.has(a)) return true;
1995
+ if (a.checked) return false;
1996
+ const jwt = getSavedToken(dslabel, a.route);
1997
+ if (!jwt) return false;
1998
+ const { dofetch3: dofetch32 } = await import("./dofetch-XID2XEJT.js");
1999
+ const payload = decodeJwtPayload(jwt);
2000
+ if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
2001
+ const data = await dofetch32("/jwt-status", {
2002
+ method: "POST",
2003
+ credentials: "include",
2004
+ headers: {
2005
+ //authorization: `Bearer ${btoa(jwt)}`
2006
+ [a.headerKey]: jwt
2007
+ },
2008
+ body: {
2009
+ dslabel,
2010
+ route,
2011
+ embedder: location.hostname
2012
+ }
2013
+ });
2014
+ a.checked = true;
2015
+ if (data.ok || data.status == "ok") {
2016
+ dsAuthOk.add(a);
2017
+ a.insession = true;
2018
+ return true;
2019
+ }
2020
+ }
2021
+ return false;
2022
+ }
2023
+ async function mayShowAuthUi(init, path, opts = {}) {
2024
+ const ok = { status: "ok" };
2025
+ if (!dsAuth || path.endsWith("jwt-status")) return ok;
2026
+ const body = JSON.parse(init.body || `{}`);
2027
+ const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
2028
+ const [key, value] = kv.split("=");
2029
+ obj[key] = value;
2030
+ return obj;
2031
+ }, {});
2032
+ const q = Object.assign({}, body, params);
2033
+ const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
2034
+ for (const a of dsAuth) {
2035
+ if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
2036
+ if (dsAuthOk.has(a)) return ok;
2037
+ else if (a.route != "/**") return ok;
2038
+ else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
2039
+ else if (a.type == "jwt") {
2040
+ } else if (a.type == "forbidden") {
2041
+ alert("Forbidden access");
2042
+ } else throw `unsupported dsAuth type='${a.type}'`;
2043
+ }
2044
+ }
2045
+ return ok;
2046
+ }
2047
+ async function defaultAuthUi(dslabel, auth, opts = {}) {
2048
+ const mask = authUiHolder.append("div").style("position", "fixed").style("top", 0).style("left", 0).style("height", "100%").style("width", "100%").style("margin", 0).style("padding", "20px").style("background-color", "rgb(150,150,150)");
2049
+ const form = mask.append("div").style("opacity", 1);
2050
+ form.append("div").html(`Restricted dataset '${dslabel}'`);
2051
+ form.append("span").html("Please enter password ");
2052
+ const pwd = form.append("input").attr("type", "password");
2053
+ pwd.node().focus();
2054
+ const btn = form.append("button").html("Submit");
2055
+ return new Promise((resolve, reject) => {
2056
+ function login() {
2057
+ fetch("/dslogin", {
2058
+ method: "POST",
2059
+ headers: {
2060
+ "content-type": "application/json",
2061
+ authorization: `Basic ${btoa(pwd.property("value"))}`
2062
+ },
2063
+ body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
2064
+ }).then((res) => res.json()).then((res) => {
2065
+ if (res.error) throw res.error;
2066
+ mask.remove();
2067
+ dsAuthOk.add(auth);
2068
+ if (res.jwt) {
2069
+ setTokenByDsRoute(dslabel, res.route, res.jwt);
2070
+ }
2071
+ if (!opts.setDomRefs) window.location.reload();
2072
+ else resolve(dslabel);
2073
+ }).catch((e) => {
2074
+ alert("login error: " + e);
2075
+ });
2076
+ }
2077
+ btn.on("click", login);
2078
+ pwd.on("change", login);
2079
+ if (opts.setDomRefs)
2080
+ opts.setDomRefs({
2081
+ pwd,
2082
+ btn,
2083
+ mask,
2084
+ authUiHolder
2085
+ });
2086
+ });
2087
+ }
2088
+ function decodeJwtPayload(token) {
2089
+ const base64Url = token.split(".")[1];
2090
+ const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
2091
+ const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
2092
+ const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
2093
+ return JSON.parse(jsonPayload);
2094
+ }
2095
+ function convertAtoBresult(c) {
2096
+ return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
2097
+ }
2098
+
2099
+ // common/dofetch.js
2100
+ function dofetch(path, arg, opts = null) {
2101
+ if (opts && typeof opts == "object") {
2102
+ if (opts.serverData && typeof opts.serverData == "object") {
2103
+ if (!dofetch.serverData) {
2104
+ dofetch.serverData = opts.serverData;
2105
+ } else if (!opts.serverData) {
2106
+ opts.serverData = dofetch.serverData;
2107
+ }
2108
+ }
2109
+ return dofetch2(
2110
+ path,
2111
+ {
2112
+ method: "POST",
2113
+ headers: {
2114
+ "content-type": "application/json"
2115
+ },
2116
+ body: JSON.stringify(arg)
2117
+ },
2118
+ opts
2119
+ );
2120
+ } else {
2121
+ if (path[0] == "/") {
2122
+ path = path.slice(1);
2123
+ }
2124
+ const jwt = sessionStorage.getItem("jwt");
2125
+ if (jwt) {
2126
+ arg.jwt = jwt;
2127
+ }
2128
+ let url = path;
2129
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2130
+ if (host) {
2131
+ if (host.endsWith("/")) {
2132
+ url = host + path;
2133
+ } else {
2134
+ url = host + "/" + path;
2135
+ }
2136
+ }
2137
+ return fetch(
2138
+ new Request(url, {
2139
+ method: "POST",
2140
+ headers: {
2141
+ "content-type": "application/json"
2142
+ },
2143
+ body: JSON.stringify(arg)
2144
+ })
2145
+ ).then((r) => r.json());
2146
+ }
2147
+ }
2148
+ function dofetch2(path, init = {}, opts = {}) {
2149
+ if (path[0] == "/") {
2150
+ path = path.slice(1);
2151
+ }
2152
+ let url = path;
2153
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2154
+ if (host) {
2155
+ if (host.endsWith("/")) {
2156
+ url = host + path;
2157
+ } else {
2158
+ url = host + "/" + path;
2159
+ }
2160
+ }
2161
+ mayAdjustCredentials(init);
2162
+ const body = init.body || {};
2163
+ url = mayAdjustRequest(url, init);
2164
+ if (!init.headers) {
2165
+ init.headers = {};
2166
+ }
2167
+ const hasContentType = Object.keys(init.headers).some((k) => k.toLowerCase() == "content-type");
2168
+ if (!hasContentType && init.body) {
2169
+ init.headers["content-type"] = "application/json";
2170
+ }
2171
+ const jwt = sessionStorage.getItem("jwt");
2172
+ if (jwt) {
2173
+ init.headers.authorization = "Bearer " + jwt;
2174
+ }
2175
+ return mayShowAuthUi(init, url).then(async () => {
2176
+ if (!jwt) mayAddJwtToRequest(init, body, url);
2177
+ if (opts.serverData) {
2178
+ return namedFetch(url, init, opts);
2179
+ } else {
2180
+ return fetch(url, init).then(processResponse);
2181
+ }
2182
+ });
2183
+ }
2184
+ var optsServerDataNames = /* @__PURE__ */ new WeakMap();
2185
+ async function namedFetch(url, init, opts = {}) {
2186
+ if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
2187
+ if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
2188
+ let result;
2189
+ const dataName = await getDataName(url, init);
2190
+ if (opts.serverData[dataName]) {
2191
+ if (init.signal) {
2192
+ await sleep(0);
2193
+ if (init.signal.aborted) throw `stale sequenceId`;
2194
+ }
2195
+ result = structuredClone(opts.serverData[dataName]);
2196
+ }
2197
+ if (!result || typeof result != "object" && !(result instanceof Promise)) {
2198
+ delete opts.serverData[dataName];
2199
+ result = void 0;
2200
+ }
2201
+ if (!result) {
2202
+ try {
2203
+ const res = await fetch(url, init);
2204
+ result = await processResponse(res);
2205
+ if (typeof result == "object" && !(result instanceof Promise)) {
2206
+ deepFreeze(result);
2207
+ opts.serverData[dataName] = result;
2208
+ result = structuredClone(result);
2209
+ }
2210
+ } catch (e) {
2211
+ delete opts.serverData[dataName];
2212
+ throw e;
2213
+ }
2214
+ }
2215
+ if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2216
+ const keys = optsServerDataNames.get(opts.serverData);
2217
+ const i = keys.indexOf(dataName);
2218
+ if (i > 0) {
2219
+ keys.splice(i, 1);
2220
+ }
2221
+ keys.unshift(dataName);
2222
+ const maxKeys = 360;
2223
+ while (keys.length > maxKeys) {
2224
+ const oldestDataKey = keys.pop();
2225
+ delete opts.serverData[oldestDataKey];
2226
+ }
2227
+ return result;
2228
+ }
2229
+ var defaultServerDataCache = {};
2230
+ function dofetch3(path, init = {}, opts = {}) {
2231
+ if (!init.signal && this) {
2232
+ init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2233
+ }
2234
+ opts.serverData = defaultServerDataCache;
2235
+ return dofetch2(path, init, opts);
2236
+ }
2237
+ function clearServerDataCache(opts = {}) {
2238
+ const cache = opts?.serverData || defaultServerDataCache;
2239
+ if (!cache) return;
2240
+ for (const k of Object.keys(cache)) {
2241
+ delete cache[k];
2242
+ }
2243
+ }
2244
+ var urlMaxLength = 2e3;
2245
+ function mayAdjustCredentials(init, pageOrigin = window.location.origin) {
2246
+ if (init.credentials == "include" && pageOrigin == "null") init.credentials = "same-origin";
2247
+ }
2248
+ function mayAdjustRequest(url, init) {
2249
+ const hostname = window.location.hostname;
2250
+ const method = init.method && init.method.toUpperCase() || "GET";
2251
+ if (method == "POST") {
2252
+ if (typeof init.body == "string") init.body = JSON.parse(init.body);
2253
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2254
+ init.body = JSON.stringify(init.body);
2255
+ return url;
2256
+ }
2257
+ if (method != "GET" && method != "DELETE" && method != "PUT") {
2258
+ throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2259
+ }
2260
+ if (init.body) {
2261
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2262
+ const params = encode(init.body);
2263
+ if (!url.includes("?")) url += "?";
2264
+ url += params;
2265
+ }
2266
+ if (!url.includes("embedder=") && includeEmbedder) {
2267
+ const sep = url.includes("?") ? "&" : "?";
2268
+ url += `${sep}embedder=${hostname}`;
2269
+ }
2270
+ if (url.length < urlMaxLength) {
2271
+ if (init.body) delete init.body;
2272
+ return url;
2273
+ }
2274
+ if (method != "GET") {
2275
+ throw `the ${method} request URL is too long (${url.length} characters, max=${urlMaxLength})`;
2276
+ }
2277
+ init.method = "POST";
2278
+ const [hostpath, query] = url.split("?");
2279
+ if (init.body) {
2280
+ init.body = JSON.stringify(init.body);
2281
+ } else {
2282
+ const params = {};
2283
+ if (query)
2284
+ query.split("&").forEach((p) => {
2285
+ const [k, v] = p.split("=");
2286
+ const decodedVal = decodeURIComponent(v);
2287
+ try {
2288
+ params[k] = JSON.parse(decodedVal);
2289
+ } catch {
2290
+ params[k] = decodedVal;
2291
+ }
2292
+ });
2293
+ if (!params.embedder && includeEmbedder) params.embedder = hostname;
2294
+ init.body = JSON.stringify(params);
2295
+ }
2296
+ return hostpath;
2297
+ }
2298
+ function setAuth(opts) {
2299
+ setDsAuthOk(opts, dofetch3);
2300
+ }
2301
+
2302
+ export {
2303
+ boxplot_getvalue,
2304
+ init_bulk_flag,
2305
+ parsesample,
2306
+ clusterMethodLst,
2307
+ distanceMethodLst,
2308
+ maxSampleCutoff,
2309
+ sampleLimitAlert,
2310
+ HYPER_COLOR,
2311
+ HYPO_COLOR,
2312
+ computePercentile,
2313
+ processFormData,
2314
+ fileSize,
2315
+ ssmIdFieldsSeparator,
2316
+ summarize_mclass,
2317
+ guessSsmid,
2318
+ defaultMaxPairwiseTestGroups,
2319
+ pairwiseTestGroupsLimit,
2320
+ xAxisOffSet,
2321
+ yAxisOffSet,
2322
+ getCoordinate,
2323
+ calculatePadding,
2324
+ compute_bins,
2325
+ get_bin_label,
2326
+ get_bin_range_equation,
2327
+ initBinConfig,
2328
+ isUsableTerm,
2329
+ formatElapsedTime,
2330
+ vcfparsemeta,
2331
+ vcfparseline,
2332
+ getViolinHiddenValues,
2333
+ setTokenByDsRoute,
2334
+ getSavedToken,
2335
+ mayAddJwtToRequest,
2336
+ includeEmbedder,
2337
+ setDsAuthOk,
2338
+ getRequiredAuth,
2339
+ isInSession,
2340
+ mayShowAuthUi,
2341
+ dofetch,
2342
+ dofetch2,
2343
+ namedFetch,
2344
+ dofetch3,
2345
+ clearServerDataCache,
2346
+ mayAdjustCredentials,
2347
+ setAuth
2348
+ };
2349
+ //# sourceMappingURL=chunk-VVWZ4BOI.js.map