@sjcrh/proteinpaint-client 2.224.2 → 2.225.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (970) hide show
  1. package/dist/2dmaf-4W2R2HXG.js +1362 -0
  2. package/dist/AggMatrixInput-3SQ7UW5L.js +402 -0
  3. package/dist/AggregateMatrix-QI55DXDU.js +37 -0
  4. package/dist/AppHeader-C26OHIUQ.js +826 -0
  5. package/dist/BoxPlot-27OYBGJ3.js +1247 -0
  6. package/dist/CorrelationVolcano-XIMXCSHG.js +613 -0
  7. package/dist/Cuminc-737O733E.js +1217 -0
  8. package/dist/DE-EDTGDY6L.js +85 -0
  9. package/dist/DEinput-ZN76I5M5.js +479 -0
  10. package/dist/DM-25IRANGL.js +86 -0
  11. package/dist/DifferentialAnalysis-7HQYEA5T.js +236 -0
  12. package/dist/Disco-4YNXWGRX.js +3445 -0
  13. package/dist/Disco-4YNXWGRX.js.map +7 -0
  14. package/dist/Disco.UI-67HBGS4Y.js +239 -0
  15. package/dist/DmrPlot-KZVDVPUT.js +366 -0
  16. package/dist/DmrPlot-KZVDVPUT.js.map +7 -0
  17. package/dist/GB-HT3B7Y7R.js +1388 -0
  18. package/dist/GSEA-CMFMNK5Y.js +870 -0
  19. package/dist/GeneExpInput-HMGV23E7.js +38 -0
  20. package/dist/Geomap-RB4SGVPC.js +80 -0
  21. package/dist/HicApp-YRP6YQFA.js +2240 -0
  22. package/dist/IDCViewer-OUSOZNSR.js +10810 -0
  23. package/dist/NumBinaryEditor-YFQDPBB6.js +274 -0
  24. package/dist/NumBinaryEditor.unit.spec-6YC5PCPK.js +308 -0
  25. package/dist/NumContEditor-EH6MA2RW.js +100 -0
  26. package/dist/NumContEditor.unit.spec-Q2JBVIRT.js +160 -0
  27. package/dist/NumCustomBinEditor-USQA3BC6.js +29 -0
  28. package/dist/NumCustomBinEditor.unit.spec-PE2HFRCK.js +393 -0
  29. package/dist/NumDiscreteEditor-VKE4WT24.js +165 -0
  30. package/dist/NumDiscreteEditor.unit.spec-JNG673LE.js +229 -0
  31. package/dist/NumRegularBinEditor-KCCPGJSX.js +29 -0
  32. package/dist/NumRegularBinEditor.unit.spec-4BLKQRZU.js +274 -0
  33. package/dist/NumSplineEditor-4YELHGUO.js +205 -0
  34. package/dist/NumSplineEditor.unit.spec-CKHHK6GH.js +220 -0
  35. package/dist/NumericDensity-LCFM7VSY.js +29 -0
  36. package/dist/NumericDensity.unit.spec-R4ARTJ5I.js +414 -0
  37. package/dist/NumericHandler-2OHRSY6Z.js +30 -0
  38. package/dist/NumericHandler.unit.spec-M3TRIFZW.js +225 -0
  39. package/dist/ProteomeInput-G2EP6QH2.js +610 -0
  40. package/dist/Regression-2HKE6C7F.js +1412 -0
  41. package/dist/RunChart2-WRVW63PB.js +744 -0
  42. package/dist/SC-37RDNFGH.js +1290 -0
  43. package/dist/Violin-KD6FPWC7.js +1105 -0
  44. package/dist/Violin-KD6FPWC7.js.map +7 -0
  45. package/dist/Volcano-U62TCDEL.js +2748 -0
  46. package/dist/Volcano-U62TCDEL.js.map +7 -0
  47. package/dist/Wsi-PB77PVAA.js +637 -0
  48. package/dist/aboutSunburst-5Z24ODIN.js +93 -0
  49. package/dist/adSandbox-AFORHU3V.js +29 -0
  50. package/dist/animatedBubbleChart-F75OBRZW.js +542 -0
  51. package/dist/app-4RZ76DZZ.js +28 -0
  52. package/dist/app-IHE3RNI5.js +38 -0
  53. package/dist/app.js +14 -14
  54. package/dist/bam-IIRZX3IK.js +872 -0
  55. package/dist/barchart-UIHRIMOE.js +38 -0
  56. package/dist/barchart2-DG3S6FDJ.js +305 -0
  57. package/dist/block-COZKGPXY.js +6203 -0
  58. package/dist/block.init-UBXYVTPQ.js +29 -0
  59. package/dist/block.mds.expressionrank-KSXPPPGR.js +350 -0
  60. package/dist/block.mds.geneboxplot-5RDFDVDE.js +819 -0
  61. package/dist/block.mds.junction-LMM24KXJ.js +1534 -0
  62. package/dist/block.mds.svcnv-4XRXZMPS.js +6325 -0
  63. package/dist/block.svg-VAKLMPMS.js +155 -0
  64. package/dist/block.tk.aicheck-6GHZK2YY.js +274 -0
  65. package/dist/block.tk.bam-7H3BSHR2.js +1906 -0
  66. package/dist/block.tk.bigwig.ui-KX2GACY5.js +202 -0
  67. package/dist/block.tk.hicstraw-OOWEWGMF.js +814 -0
  68. package/dist/block.tk.junction-U7W36OZA.js +2353 -0
  69. package/dist/block.tk.junction.textmatrixui-PAMSBYZT.js +190 -0
  70. package/dist/block.tk.ld-RFQPDG7Q.js +90 -0
  71. package/dist/block.tk.menu-JDJU2OGK.js +1050 -0
  72. package/dist/block.tk.pgv-G2UFCQUT.js +934 -0
  73. package/dist/brainImaging-ASAHWZJH.js +550 -0
  74. package/dist/brainRegions-XTJDLUU4.js +213 -0
  75. package/dist/bubbleHeatmap-UPUITTU6.js +374 -0
  76. package/dist/cellTypeBubbleHeatmap-25SOXC2Q.js +274 -0
  77. package/dist/chunk-2N345NXD.js +5790 -0
  78. package/dist/chunk-2N345NXD.js.map +7 -0
  79. package/dist/chunk-2ZYAC3DC.js +299 -0
  80. package/dist/chunk-325X3T7G.js +692 -0
  81. package/dist/chunk-3UXHTSZJ.js +159 -0
  82. package/dist/chunk-4DFKK46J.js +96 -0
  83. package/dist/chunk-54W2RWRB.js +123 -0
  84. package/dist/chunk-5QGC2624.js +54 -0
  85. package/dist/chunk-5YKXYWP3.js +480 -0
  86. package/dist/chunk-6B4AME6E.js +4389 -0
  87. package/dist/chunk-6H4FFHFQ.js +82 -0
  88. package/dist/chunk-6PVVV3UW.js +37 -0
  89. package/dist/chunk-72QBXULB.js +102 -0
  90. package/dist/chunk-7APH7QLC.js +141 -0
  91. package/dist/chunk-7HBAALWJ.js +2685 -0
  92. package/dist/chunk-7UK7CU4F.js +398 -0
  93. package/dist/chunk-7ZTUUKLX.js +203 -0
  94. package/dist/chunk-A7GCFL3R.js +30 -0
  95. package/dist/chunk-AGWIWLOP.js +14 -0
  96. package/dist/chunk-CHQ43UJQ.js +397 -0
  97. package/dist/chunk-CQWR4QZO.js +70 -0
  98. package/dist/chunk-D6TLBMIX.js +1339 -0
  99. package/dist/chunk-DDABG5BR.js +328 -0
  100. package/dist/chunk-DDABG5BR.js.map +7 -0
  101. package/dist/chunk-DOC3HBOV.js +119 -0
  102. package/dist/chunk-DR5JLHTB.js +35 -0
  103. package/dist/chunk-E2Z4X6C2.js +55 -0
  104. package/dist/chunk-E4WAVMI5.js +194 -0
  105. package/dist/chunk-EM76Y3HQ.js +1253 -0
  106. package/dist/chunk-ES7XNERS.js +468 -0
  107. package/dist/chunk-F2RTD23W.js +848 -0
  108. package/dist/chunk-FEE2HAON.js +418 -0
  109. package/dist/chunk-FIWVGOSE.js +54 -0
  110. package/dist/chunk-FT5HOBHJ.js +31 -0
  111. package/dist/chunk-G5BQJGRA.js +2799 -0
  112. package/dist/chunk-GAYYXHOG.js +257 -0
  113. package/dist/chunk-GDIKNIEA.js +263 -0
  114. package/dist/chunk-GIZTZCE5.js +195 -0
  115. package/dist/chunk-GONC3LVY.js +626 -0
  116. package/dist/chunk-HGC4EON3.js +348 -0
  117. package/dist/chunk-HM23KADV.js +281 -0
  118. package/dist/chunk-I7R6YROK.js +267 -0
  119. package/dist/chunk-I7R6YROK.js.map +7 -0
  120. package/dist/chunk-JWX6GEWQ.js +276 -0
  121. package/dist/chunk-K4LZR3HU.js +56 -0
  122. package/dist/chunk-K55KOEI6.js +6375 -0
  123. package/dist/chunk-K7YJILBY.js +5254 -0
  124. package/dist/chunk-K7YJILBY.js.map +7 -0
  125. package/dist/chunk-KLJM7HE5.js +2349 -0
  126. package/dist/chunk-LFH5VSSF.js +176 -0
  127. package/dist/chunk-LVFWXUUX.js +34 -0
  128. package/dist/chunk-LVFWXUUX.js.map +7 -0
  129. package/dist/chunk-MBWG3QHI.js +1219 -0
  130. package/dist/chunk-MZTVOOR6.js +56 -0
  131. package/dist/chunk-N2JOZ3QD.js +444 -0
  132. package/dist/chunk-NG2U3VHX.js +170 -0
  133. package/dist/chunk-NUGYNLTL.js +2334 -0
  134. package/dist/chunk-OCOB7XJW.js +2008 -0
  135. package/dist/chunk-OGDBTL5C.js +54 -0
  136. package/dist/chunk-OOVVKQSD.js +26747 -0
  137. package/dist/chunk-OOVVKQSD.js.map +7 -0
  138. package/dist/chunk-OVXHMJJJ.js +59 -0
  139. package/dist/chunk-PAF5KZCR.js +2932 -0
  140. package/dist/chunk-PI2MCZXG.js +140 -0
  141. package/dist/chunk-PPICALUF.js +2102 -0
  142. package/dist/chunk-QFOT5WAZ.js +134 -0
  143. package/dist/chunk-QFQJO7LD.js +472 -0
  144. package/dist/chunk-QFQJO7LD.js.map +7 -0
  145. package/dist/chunk-QGCB5AKN.js +243 -0
  146. package/dist/chunk-QRZRAMHA.js +184 -0
  147. package/dist/chunk-RGOZHZCN.js +103 -0
  148. package/dist/chunk-RJKY22D4.js +240 -0
  149. package/dist/chunk-RZ2HG7G3.js +102 -0
  150. package/dist/chunk-SI2KSG6E.js +379 -0
  151. package/dist/chunk-U4PLKSSS.js +50 -0
  152. package/dist/chunk-U7G65D2G.js +466 -0
  153. package/dist/chunk-UU3FWU6D.js +305 -0
  154. package/dist/chunk-UXLT7W2N.js +562 -0
  155. package/dist/chunk-VHQDN3OA.js +182 -0
  156. package/dist/chunk-VTMNHAFC.js +30 -0
  157. package/dist/chunk-W3K7KLIR.js +217 -0
  158. package/dist/chunk-WSLS55SH.js +296 -0
  159. package/dist/chunk-WUCIHN7D.js +382 -0
  160. package/dist/chunk-XQIB27PB.js +516 -0
  161. package/dist/chunk-XSBGICK5.js +652 -0
  162. package/dist/chunk-YHW2RAAG.js +274 -0
  163. package/dist/chunk-Z7CCL464.js +550 -0
  164. package/dist/chunk-ZBNPXXMK.js +42 -0
  165. package/dist/chunk-ZNHC46CT.js +340 -0
  166. package/dist/chunk-ZSTD6Y3K.js +255 -0
  167. package/dist/chunk-ZSTD6Y3K.js.map +7 -0
  168. package/dist/cohort-ZFGFEEBD.js +66 -0
  169. package/dist/cohortSunburst-EEPGV2RB.js +402 -0
  170. package/dist/condition-7EWFLQSO.js +323 -0
  171. package/dist/controls-QHDSDWKI.js +30 -0
  172. package/dist/controls.config-LBSCZ6GP.js +30 -0
  173. package/dist/correlation-IJQJPNNP.js +91 -0
  174. package/dist/customdata.inputui-TZGX2CUD.js +280 -0
  175. package/dist/dataDownload-33EWD3AD.js +326 -0
  176. package/dist/databrowser.ui-YNKDTAAN.js +424 -0
  177. package/dist/dictionary-OTR6Z5EZ.js +109 -0
  178. package/dist/dnaMethylation-LQTCTOOE.js +29 -0
  179. package/dist/dnaMethylation.integration.spec-U5VQYAK3.js +194 -0
  180. package/dist/dofetch-HLG7G7RX.js +49 -0
  181. package/dist/e2pca-AXDPYR7U.js +340 -0
  182. package/dist/ep-4WK46CH7.js +1247 -0
  183. package/dist/expclust.gdc.spec-CYGWGREQ.js +298 -0
  184. package/dist/facet-IZSSZDHK.js +556 -0
  185. package/dist/gb-AUZBUZFM.js +77 -0
  186. package/dist/geneExpClustering-AQBFLXLP.js +240 -0
  187. package/dist/geneExpression-HDJVPVPK.js +309 -0
  188. package/dist/geneExpression-V4JMTMLI.js +29 -0
  189. package/dist/geneExpression.unit.spec-KFMSDVMX.js +151 -0
  190. package/dist/geneORA-LDFFSEMQ.js +269 -0
  191. package/dist/geneRanking-IVKDSNDV.js +544 -0
  192. package/dist/geneVariant-7X7EEUDW.js +289 -0
  193. package/dist/geneVariant-TK3FJ22L.js +32 -0
  194. package/dist/geneVariant.integration.spec-ZHAFWQ2O.js +672 -0
  195. package/dist/genefusion.ui-U5YPVXAF.js +299 -0
  196. package/dist/geneset-NSHQ2NDR.js +199 -0
  197. package/dist/genomeBrowser.spec-HP4OQPCV.js +272 -0
  198. package/dist/grin2-5WKONQPG.js +66 -0
  199. package/dist/grin2-V2ZBOJBO.js +945 -0
  200. package/dist/hierCluster-7IOPNYFN.js +55 -0
  201. package/dist/hierCluster-IDBCUKHJ.js +51 -0
  202. package/dist/hierCluster.config-Z4NRL5P5.js +32 -0
  203. package/dist/hierCluster.integration.spec-PHEXOGPI.js +479 -0
  204. package/dist/hierCluster.interactivity-NHZ5EPBV.js +45 -0
  205. package/dist/hierCluster.renderers-WXJUMDFN.js +18 -0
  206. package/dist/imagePlot-NMNCAYS7.js +152 -0
  207. package/dist/importPlot-HZML5XMJ.js +8 -0
  208. package/dist/isoformExpression-4IU4AUQ2.js +31 -0
  209. package/dist/isoformExpression.unit.spec-KKMKU5Z2.js +233 -0
  210. package/dist/junction-EXA2WANI.js +32 -0
  211. package/dist/junction.customTerm-LQYKCZX4.js +15 -0
  212. package/dist/junction.unit.spec-H3FGTLEP.js +178 -0
  213. package/dist/launch.adhoc-YA6FRHSC.js +33 -0
  214. package/dist/leftlabel.sample-N6M4OL2X.js +254 -0
  215. package/dist/leftlabel.sample-N6M4OL2X.js.map +7 -0
  216. package/dist/lollipop-EWLGYDIR.js +162 -0
  217. package/dist/maf-PXMHR3PY.js +451 -0
  218. package/dist/maftimeline-QFKT7PW2.js +583 -0
  219. package/dist/matrix-KASG3KIY.js +55 -0
  220. package/dist/matrix-VSX63V3L.js +50 -0
  221. package/dist/matrix.cells-7TTOQRWU.js +25 -0
  222. package/dist/matrix.config-U3I726EC.js +33 -0
  223. package/dist/matrix.data-Y4DXSR2P.js +22 -0
  224. package/dist/matrix.groups-C5CHYWQZ.js +25 -0
  225. package/dist/matrix.integration.spec-4KWLFXMY.js +3156 -0
  226. package/dist/matrix.interactivity-JK6URU6Z.js +33 -0
  227. package/dist/matrix.layout-KKOA7GGL.js +35 -0
  228. package/dist/matrix.legend-3FFHXTLX.js +19 -0
  229. package/dist/matrix.renderers-F7EWYQWL.js +30 -0
  230. package/dist/matrix.serieses-I4JWWONC.js +18 -0
  231. package/dist/matrix.sort-5JTCLBPB.js +25 -0
  232. package/dist/matrix.sort.unit.spec-EW53F5DT.js +464 -0
  233. package/dist/matrix.sorterUi-Z4JDY7VW.js +15 -0
  234. package/dist/matrix.sorterUi.unit.spec-OGTYY6GC.js +334 -0
  235. package/dist/matrix.unit.spec-RXKKHRUN.js +146 -0
  236. package/dist/mavb-YI2WEGFI.js +726 -0
  237. package/dist/mds.samplescatterplot-GGJE67MF.js +1545 -0
  238. package/dist/mds.survivalplot-A6DS6FHO.js +472 -0
  239. package/dist/multivalue-3WCYDVL3.js +79 -0
  240. package/dist/numericDictTermCluster-AOTEPNEI.js +62 -0
  241. package/dist/oncomatrix-BB4SB5AJ.js +286 -0
  242. package/dist/oncomatrix.spec-M4ZC3KFC.js +439 -0
  243. package/dist/plot.2dvaf-QUD743E6.js +368 -0
  244. package/dist/plot.app-35I4DJXK.js +32 -0
  245. package/dist/plot.barplot-7OL4HWZB.js +93 -0
  246. package/dist/plot.boxplot-N2VSPDYA.js +142 -0
  247. package/dist/plot.brainImaging-4PIAFROV.js +51 -0
  248. package/dist/plot.disco-6CFYMWU3.js +100 -0
  249. package/dist/plot.disco-6CFYMWU3.js.map +7 -0
  250. package/dist/plot.ssgq-MGUBQNWE.js +130 -0
  251. package/dist/plot.vaf2cov-KVI2GMG4.js +249 -0
  252. package/dist/polar2-IGAOHGPE.js +228 -0
  253. package/dist/profileForms-MW7JQURG.js +937 -0
  254. package/dist/profilePlot-OVOSFR47.js +45 -0
  255. package/dist/proteinView-LFP5YYMK.js +1346 -0
  256. package/dist/proteomeCohortCompare-ONYL2UN4.js +866 -0
  257. package/dist/proteomeCohortCompare-ONYL2UN4.js.map +7 -0
  258. package/dist/pseudbulk.unit.spec-CGV4JTEK.js +82 -0
  259. package/dist/pseudobulk-WFCQX5KR.js +31 -0
  260. package/dist/qualitative-4SLUE6BW.js +241 -0
  261. package/dist/qualitative-6H674T7D.js +34 -0
  262. package/dist/radar2-QXHO2MQA.js +323 -0
  263. package/dist/radarFacility2-JCVOYMH4.js +331 -0
  264. package/dist/rememberedGvQ.unit.spec-Q3UZJPE2.js +210 -0
  265. package/dist/render-IIFS3Y2N.js +29 -0
  266. package/dist/report-NFBB3PUI.js +213 -0
  267. package/dist/sampleView-XQXKIPC7.js +39 -0
  268. package/dist/samplelst-RIC5E2W4.js +114 -0
  269. package/dist/samplematrix-WLCFCPBR.js +2188 -0
  270. package/dist/sc-TXRF7D6F.js +77 -0
  271. package/dist/scatter-JUGGPR4B.js +919 -0
  272. package/dist/scatter-YQ47446T.js +84 -0
  273. package/dist/selectGenomeWithTklst-2ELB6HQK.js +125 -0
  274. package/dist/singleCellCellType-DUTH4SZF.js +29 -0
  275. package/dist/singleCellCellType.unit.spec-PWP6I5PZ.js +150 -0
  276. package/dist/singleCellGeneExpression-3563T7GE.js +29 -0
  277. package/dist/singleCellGeneExpression.unit.spec-66IDCFJC.js +144 -0
  278. package/dist/singleCellNumericValue-XVQTKLTS.js +29 -0
  279. package/dist/singleCellNumericValue.unit.spec-LJSTGKNS.js +412 -0
  280. package/dist/singleCellPlot-MKYJJXSG.js +44 -0
  281. package/dist/singlecell-ANCWPAAO.js +1562 -0
  282. package/dist/singlecell-KMRVFOC5.js +77 -0
  283. package/dist/snp-B5UHGWVD.js +29 -0
  284. package/dist/snp.unit.spec-YAHITASM.js +167 -0
  285. package/dist/snplocus-MLGICRGT.js +200 -0
  286. package/dist/snplst-DZPIQEKI.js +36 -0
  287. package/dist/spliceevent.a53ss.diagram-4NYPSFC2.js +142 -0
  288. package/dist/spliceevent.exonskip.diagram-WLLTP7NP.js +274 -0
  289. package/dist/spliceevent.noeventdiagram-NOSO752Y.js +451 -0
  290. package/dist/ssGSEA-4DVY6Z5U.js +29 -0
  291. package/dist/ssGSEA.unit.spec-UDXV4Q7S.js +79 -0
  292. package/dist/stattable-T5X76Q32.js +112 -0
  293. package/dist/studyCatalog-O3EPBJPW.js +457 -0
  294. package/dist/summarizeCnvGeneexp-ST36TPEJ.js +154 -0
  295. package/dist/summarizeGeneexpSurvival-AZOFCBMT.js +101 -0
  296. package/dist/summarizeMutationCnv-HRCW6BYV.js +155 -0
  297. package/dist/summarizeMutationDiagnosis-RQQO2MOR.js +31 -0
  298. package/dist/summarizeMutationSurvival-UHSUJ7FU.js +95 -0
  299. package/dist/summary-ZMM5ET67.js +40 -0
  300. package/dist/summary.integration.spec-GW5UGDDU.js +405 -0
  301. package/dist/summaryInput-ZO5TPARQ.js +238 -0
  302. package/dist/sunburst-6VJS2SUY.js +34 -0
  303. package/dist/sunburst-LXRG2SFE.js +274 -0
  304. package/dist/survival-QXHY7JRR.js +49 -0
  305. package/dist/survival-U6J6KFN2.js +1248 -0
  306. package/dist/survival.integration.spec-HN3LL6IY.js +609 -0
  307. package/dist/svgraph-CVI27CTM.js +1377 -0
  308. package/dist/svmr-GZHAP5IV.js +3834 -0
  309. package/dist/swimmer-M4JGBO72.js +993 -0
  310. package/dist/table-QO22C2ER.js +192 -0
  311. package/dist/termCollection-EN73BZV5.js +247 -0
  312. package/dist/termCollection-KWNFLRWJ.js +29 -0
  313. package/dist/termCollection.unit.spec-Z27AZUE6.js +295 -0
  314. package/dist/termCollectionFractionSelection-Q7QFEPKA.js +38 -0
  315. package/dist/termCollectionFractionSelection.unit.spec-PYLIFZN5.js +184 -0
  316. package/dist/tk-BISILMKL.js +1198 -0
  317. package/dist/tk-BISILMKL.js.map +7 -0
  318. package/dist/tk-WVEDS5OU.js +38 -0
  319. package/dist/tp.ui-CG36YXBY.js +1453 -0
  320. package/dist/tvs.categorical-GCJISWBS.js +28 -0
  321. package/dist/tvs.condition-YTCVMB3I.js +160 -0
  322. package/dist/tvs.dt-UCSZ5S44.js +34 -0
  323. package/dist/tvs.dtcnv.categorical-KYB6XPL3.js +31 -0
  324. package/dist/tvs.dtcnv.continuous-MJWJNMKJ.js +72 -0
  325. package/dist/tvs.dtfusion-IZCEMTH5.js +31 -0
  326. package/dist/tvs.dtitd-DZ4WWGNO.js +31 -0
  327. package/dist/tvs.dtsnvindel-PMJCV4E7.js +31 -0
  328. package/dist/tvs.dtsv-5K2RNWDH.js +31 -0
  329. package/dist/tvs.multivalue-6NSC6JPR.js +84 -0
  330. package/dist/tvs.numeric-7U2NDY4A.js +32 -0
  331. package/dist/tvs.samplelst-3SIYTFWZ.js +95 -0
  332. package/dist/tvs.survival-Q3F5SLBW.js +110 -0
  333. package/dist/tvs.termCollection-OR73LBNX.js +118 -0
  334. package/dist/vocabulary-RWRAQ4VJ.js +32 -0
  335. package/dist/wsi.direct-HABLR3IF.js +11515 -0
  336. package/package.json +3 -3
  337. package/dist/2dmaf-OWA6REJ5.js +0 -1362
  338. package/dist/AggMatrixInput-5GC33U5A.js +0 -402
  339. package/dist/AggregateMatrix-CMJFO53B.js +0 -37
  340. package/dist/AppHeader-KJCXF35P.js +0 -826
  341. package/dist/BoxPlot-NZTO6CLZ.js +0 -1247
  342. package/dist/CorrelationVolcano-GHTPFM2V.js +0 -613
  343. package/dist/Cuminc-HHBYFFFM.js +0 -1217
  344. package/dist/DE-VVKIMVXD.js +0 -85
  345. package/dist/DEinput-F7HSM2SO.js +0 -479
  346. package/dist/DM-UBCIWZEY.js +0 -86
  347. package/dist/DifferentialAnalysis-UUXXMOQS.js +0 -236
  348. package/dist/Disco-NHXU7LG7.js +0 -3384
  349. package/dist/Disco-NHXU7LG7.js.map +0 -7
  350. package/dist/Disco.UI-GSSSK4YJ.js +0 -239
  351. package/dist/DmrPlot-QFSU62PY.js +0 -344
  352. package/dist/DmrPlot-QFSU62PY.js.map +0 -7
  353. package/dist/GB-CIQGJBJP.js +0 -1388
  354. package/dist/GSEA-3GVFEJTX.js +0 -870
  355. package/dist/GeneExpInput-CFU3Q7FM.js +0 -38
  356. package/dist/Geomap-NMVFA77Q.js +0 -80
  357. package/dist/HicApp-4FCGUUJD.js +0 -2240
  358. package/dist/IDCViewer-WFB6AXHD.js +0 -10810
  359. package/dist/NumBinaryEditor-4WUDJRSU.js +0 -274
  360. package/dist/NumBinaryEditor.unit.spec-MV53GTGQ.js +0 -308
  361. package/dist/NumContEditor-U4R6HPDM.js +0 -100
  362. package/dist/NumContEditor.unit.spec-J4ANPBSF.js +0 -160
  363. package/dist/NumCustomBinEditor-QRGDNFP4.js +0 -29
  364. package/dist/NumCustomBinEditor.unit.spec-PPF233FW.js +0 -393
  365. package/dist/NumDiscreteEditor-LNK4KHSL.js +0 -165
  366. package/dist/NumDiscreteEditor.unit.spec-QY6O62JU.js +0 -229
  367. package/dist/NumRegularBinEditor-XTINNM5L.js +0 -29
  368. package/dist/NumRegularBinEditor.unit.spec-FSLARHOC.js +0 -274
  369. package/dist/NumSplineEditor-YSQTKBFA.js +0 -205
  370. package/dist/NumSplineEditor.unit.spec-QNITPY7R.js +0 -220
  371. package/dist/NumericDensity-J5WS74JZ.js +0 -29
  372. package/dist/NumericDensity.unit.spec-4WQWLSSJ.js +0 -414
  373. package/dist/NumericHandler-ZEWC25U2.js +0 -30
  374. package/dist/NumericHandler.unit.spec-A3G5FWGV.js +0 -225
  375. package/dist/ProteomeInput-7DXGQIOO.js +0 -610
  376. package/dist/Regression-VQ5MC6KW.js +0 -1412
  377. package/dist/RunChart2-B33CQUXH.js +0 -744
  378. package/dist/SC-LEVWXS4P.js +0 -1290
  379. package/dist/Violin-L43OHY63.js +0 -1105
  380. package/dist/Violin-L43OHY63.js.map +0 -7
  381. package/dist/Volcano-NTXVM3UR.js +0 -2657
  382. package/dist/Volcano-NTXVM3UR.js.map +0 -7
  383. package/dist/Wsi-VPF6RX3B.js +0 -637
  384. package/dist/aboutSunburst-NGH3V74S.js +0 -93
  385. package/dist/adSandbox-VOAL4P5A.js +0 -29
  386. package/dist/animatedBubbleChart-HKOGYPSS.js +0 -542
  387. package/dist/app-AZLUP2BA.js +0 -28
  388. package/dist/app-JJPKGBEV.js +0 -38
  389. package/dist/bam-GIZSH2MF.js +0 -872
  390. package/dist/barchart-CVTXLIIQ.js +0 -38
  391. package/dist/barchart2-XYC6WITL.js +0 -305
  392. package/dist/block-DXRSU62C.js +0 -6203
  393. package/dist/block.init-U4Y6ROG4.js +0 -29
  394. package/dist/block.mds.expressionrank-BB26LVTM.js +0 -350
  395. package/dist/block.mds.geneboxplot-VVKEU3SL.js +0 -819
  396. package/dist/block.mds.junction-XUZX6EAQ.js +0 -1534
  397. package/dist/block.mds.svcnv-WDSACPWG.js +0 -6325
  398. package/dist/block.svg-T5BA7VLS.js +0 -155
  399. package/dist/block.tk.aicheck-3VN2RDPD.js +0 -274
  400. package/dist/block.tk.bam-5XZ3N4Y7.js +0 -1906
  401. package/dist/block.tk.bigwig.ui-JODVOS4R.js +0 -202
  402. package/dist/block.tk.hicstraw-AFNWJ2YP.js +0 -814
  403. package/dist/block.tk.junction-T2G6XEVS.js +0 -2353
  404. package/dist/block.tk.junction.textmatrixui-FL5MZH7K.js +0 -190
  405. package/dist/block.tk.ld-JKBXDOB5.js +0 -90
  406. package/dist/block.tk.menu-2X4BN7BN.js +0 -1050
  407. package/dist/block.tk.pgv-ASUVEGQF.js +0 -934
  408. package/dist/brainImaging-27442GMQ.js +0 -550
  409. package/dist/brainRegions-3367RQCU.js +0 -213
  410. package/dist/bubbleHeatmap-IOVS6SHX.js +0 -374
  411. package/dist/cellTypeBubbleHeatmap-7XJP6B5W.js +0 -274
  412. package/dist/chunk-2CTAWHGB.js +0 -56
  413. package/dist/chunk-2ESAB2PP.js +0 -848
  414. package/dist/chunk-2GP3LH7J.js +0 -194
  415. package/dist/chunk-2UGYE6EJ.js +0 -54
  416. package/dist/chunk-3TJBSAIO.js +0 -170
  417. package/dist/chunk-46KQE4DV.js +0 -418
  418. package/dist/chunk-4ICGMPPE.js +0 -56
  419. package/dist/chunk-4RQTQDHF.js +0 -5214
  420. package/dist/chunk-4RQTQDHF.js.map +0 -7
  421. package/dist/chunk-5FD6NRGE.js +0 -472
  422. package/dist/chunk-5FD6NRGE.js.map +0 -7
  423. package/dist/chunk-5JBOGNSG.js +0 -159
  424. package/dist/chunk-5OWPH4IH.js +0 -626
  425. package/dist/chunk-63TCOVAK.js +0 -30
  426. package/dist/chunk-7ONTCJWB.js +0 -1219
  427. package/dist/chunk-7Q4KAFCS.js +0 -281
  428. package/dist/chunk-7UXV4IX5.js +0 -102
  429. package/dist/chunk-7ZCYC2DQ.js +0 -70
  430. package/dist/chunk-AQSZLUDV.js +0 -184
  431. package/dist/chunk-BBA5MAFS.js +0 -240
  432. package/dist/chunk-BNJC6OX5.js +0 -2102
  433. package/dist/chunk-BOQYGAYA.js +0 -119
  434. package/dist/chunk-C4YACFGH.js +0 -692
  435. package/dist/chunk-CKO54XWB.js +0 -54
  436. package/dist/chunk-COWLQ74R.js +0 -82
  437. package/dist/chunk-CU434U4N.js +0 -35
  438. package/dist/chunk-CZOJUH3C.js +0 -30
  439. package/dist/chunk-D22DJFFZ.js +0 -254
  440. package/dist/chunk-D22DJFFZ.js.map +0 -7
  441. package/dist/chunk-D2YPS46O.js +0 -266
  442. package/dist/chunk-D2YPS46O.js.map +0 -7
  443. package/dist/chunk-DVSTBGZT.js +0 -182
  444. package/dist/chunk-EIO6DMIQ.js +0 -31
  445. package/dist/chunk-EM56Y4X6.js +0 -2685
  446. package/dist/chunk-F6CYUMSM.js +0 -37
  447. package/dist/chunk-FUTHP5J4.js +0 -274
  448. package/dist/chunk-G5GFCBJT.js +0 -217
  449. package/dist/chunk-GOL6A746.js +0 -96
  450. package/dist/chunk-GVLXSPTN.js +0 -141
  451. package/dist/chunk-HNU4RYI5.js +0 -203
  452. package/dist/chunk-HTIZFNBC.js +0 -4389
  453. package/dist/chunk-HUF5BTO6.js +0 -562
  454. package/dist/chunk-HWP3U2VY.js +0 -382
  455. package/dist/chunk-JEXS72M5.js +0 -550
  456. package/dist/chunk-JNIYPQWY.js +0 -176
  457. package/dist/chunk-K5RCZIZN.js +0 -2799
  458. package/dist/chunk-KA3KYNOP.js +0 -195
  459. package/dist/chunk-KGFH5VTH.js +0 -444
  460. package/dist/chunk-KTRDLHCP.js +0 -397
  461. package/dist/chunk-L6TGKNRA.js +0 -516
  462. package/dist/chunk-LN4KNFOQ.js +0 -55
  463. package/dist/chunk-M4ML4ACA.js +0 -134
  464. package/dist/chunk-MIDVLNN3.js +0 -123
  465. package/dist/chunk-MUVXIOXM.js +0 -276
  466. package/dist/chunk-N2RAPA7D.js +0 -42
  467. package/dist/chunk-N6AHRJAM.js +0 -1339
  468. package/dist/chunk-NB4UU4DH.js +0 -54
  469. package/dist/chunk-NGG4737W.js +0 -296
  470. package/dist/chunk-O4BDFBVK.js +0 -1253
  471. package/dist/chunk-OGU7IDV7.js +0 -102
  472. package/dist/chunk-OT2DMA2D.js +0 -652
  473. package/dist/chunk-OVO6NYUR.js +0 -480
  474. package/dist/chunk-OXRZSZKA.js +0 -2008
  475. package/dist/chunk-QMR3QMJG.js +0 -50
  476. package/dist/chunk-QUVGLTCF.js +0 -103
  477. package/dist/chunk-R2H22S4J.js +0 -5786
  478. package/dist/chunk-R2H22S4J.js.map +0 -7
  479. package/dist/chunk-RCLCEA55.js +0 -305
  480. package/dist/chunk-RCVA2RWU.js +0 -466
  481. package/dist/chunk-RSCSTOUN.js +0 -6375
  482. package/dist/chunk-SCXWXLMR.js +0 -237
  483. package/dist/chunk-SCXWXLMR.js.map +0 -7
  484. package/dist/chunk-SQUMXZXI.js +0 -257
  485. package/dist/chunk-T2DORAV4.js +0 -398
  486. package/dist/chunk-TBXJ2CUA.js +0 -14
  487. package/dist/chunk-TQLHKDNS.js +0 -140
  488. package/dist/chunk-TTSKLWP7.js +0 -2932
  489. package/dist/chunk-VQD6GZMU.js +0 -59
  490. package/dist/chunk-VZBRG6HQ.js +0 -263
  491. package/dist/chunk-WQHL6SR3.js +0 -468
  492. package/dist/chunk-X7JGAQ5N.js +0 -340
  493. package/dist/chunk-Z6ZFRHXK.js +0 -2334
  494. package/dist/chunk-ZCY72DDM.js +0 -379
  495. package/dist/chunk-ZHY7ZHWC.js +0 -243
  496. package/dist/chunk-ZIMAIUZD.js +0 -26744
  497. package/dist/chunk-ZIMAIUZD.js.map +0 -7
  498. package/dist/chunk-ZLQ6PAI6.js +0 -299
  499. package/dist/chunk-ZUG4EY4T.js +0 -348
  500. package/dist/chunk-ZUXXBQ7D.js +0 -2349
  501. package/dist/cohort-2DQOQ5AO.js +0 -66
  502. package/dist/cohortSunburst-W6XC7VD6.js +0 -402
  503. package/dist/condition-3A7I5UQA.js +0 -323
  504. package/dist/controls-G5WYBX4P.js +0 -30
  505. package/dist/controls.config-TAFGM2S2.js +0 -30
  506. package/dist/correlation-K4EOOQJU.js +0 -91
  507. package/dist/customdata.inputui-E7RRN3KY.js +0 -280
  508. package/dist/dataDownload-OXZGAE5R.js +0 -326
  509. package/dist/databrowser.ui-IPUF6LUC.js +0 -424
  510. package/dist/dictionary-MUNAUI43.js +0 -109
  511. package/dist/dnaMethylation-SOV4HBAX.js +0 -29
  512. package/dist/dnaMethylation.integration.spec-T4KKTMRL.js +0 -194
  513. package/dist/dofetch-2CR2TVWC.js +0 -49
  514. package/dist/e2pca-EIOJCV4O.js +0 -340
  515. package/dist/ep-5QX3CW6D.js +0 -1247
  516. package/dist/expclust.gdc.spec-TNHPZLYQ.js +0 -298
  517. package/dist/facet-I3OC4DK2.js +0 -556
  518. package/dist/gb-WPIUHR3O.js +0 -77
  519. package/dist/geneExpClustering-EYGZENSP.js +0 -240
  520. package/dist/geneExpression-54L3DH32.js +0 -309
  521. package/dist/geneExpression-6S6H2EVY.js +0 -29
  522. package/dist/geneExpression.unit.spec-VVI2MXIH.js +0 -151
  523. package/dist/geneORA-7M64LXZC.js +0 -269
  524. package/dist/geneRanking-676CAA3B.js +0 -544
  525. package/dist/geneVariant-4UPJE6MJ.js +0 -289
  526. package/dist/geneVariant-PFVPL22U.js +0 -32
  527. package/dist/geneVariant.integration.spec-EAJ4OSFQ.js +0 -672
  528. package/dist/genefusion.ui-LP4EJUTO.js +0 -299
  529. package/dist/geneset-ANDOMTPO.js +0 -199
  530. package/dist/genomeBrowser.spec-NUXOOL5N.js +0 -272
  531. package/dist/grin2-K4LRVCES.js +0 -66
  532. package/dist/grin2-YFCWJZFR.js +0 -945
  533. package/dist/hierCluster-POD3DRO4.js +0 -55
  534. package/dist/hierCluster-QA7HXKRD.js +0 -51
  535. package/dist/hierCluster.config-HQ3SVKCE.js +0 -32
  536. package/dist/hierCluster.integration.spec-MOYDWJL3.js +0 -479
  537. package/dist/hierCluster.interactivity-OZTNHXZQ.js +0 -45
  538. package/dist/hierCluster.renderers-46E37NL4.js +0 -18
  539. package/dist/imagePlot-HNAYBWY3.js +0 -152
  540. package/dist/importPlot-XTW46VF4.js +0 -8
  541. package/dist/isoformExpression-2TMTILKG.js +0 -31
  542. package/dist/isoformExpression.unit.spec-SIJWP7TH.js +0 -233
  543. package/dist/junction-AICKHNXX.js +0 -32
  544. package/dist/junction.customTerm-5STKYZ4B.js +0 -15
  545. package/dist/junction.unit.spec-EXFN4MLW.js +0 -178
  546. package/dist/launch.adhoc-PB6PGR7Q.js +0 -33
  547. package/dist/leftlabel.sample-ISUD4A7F.js +0 -253
  548. package/dist/leftlabel.sample-ISUD4A7F.js.map +0 -7
  549. package/dist/lollipop-5UXUAFYY.js +0 -162
  550. package/dist/maf-L6YD25JK.js +0 -451
  551. package/dist/maftimeline-63YZDGJ3.js +0 -583
  552. package/dist/matrix-OPEBHZCW.js +0 -55
  553. package/dist/matrix-TLMWPG7C.js +0 -50
  554. package/dist/matrix.cells-IELMNYC6.js +0 -25
  555. package/dist/matrix.config-J7SVFXLM.js +0 -33
  556. package/dist/matrix.data-DJTJCPO4.js +0 -22
  557. package/dist/matrix.groups-2REICNZK.js +0 -25
  558. package/dist/matrix.integration.spec-ZXU2OEFU.js +0 -3156
  559. package/dist/matrix.interactivity-SX3OR6OI.js +0 -33
  560. package/dist/matrix.layout-ZJ6X5RON.js +0 -35
  561. package/dist/matrix.legend-ZOP72TIO.js +0 -19
  562. package/dist/matrix.renderers-YUSROXKN.js +0 -30
  563. package/dist/matrix.serieses-UMAZNCMR.js +0 -18
  564. package/dist/matrix.sort-2JNIZHNL.js +0 -25
  565. package/dist/matrix.sort.unit.spec-SNB643Y6.js +0 -464
  566. package/dist/matrix.sorterUi-JXEIY6UL.js +0 -15
  567. package/dist/matrix.sorterUi.unit.spec-LDAT4R3H.js +0 -334
  568. package/dist/matrix.unit.spec-QBQIMDLD.js +0 -146
  569. package/dist/mavb-EQUF3VGG.js +0 -726
  570. package/dist/mds.samplescatterplot-73E45ZT7.js +0 -1545
  571. package/dist/mds.survivalplot-DL53IRVD.js +0 -472
  572. package/dist/multivalue-PQN75ENP.js +0 -79
  573. package/dist/numericDictTermCluster-FGMIOTBO.js +0 -62
  574. package/dist/oncomatrix-CCHWOA3N.js +0 -286
  575. package/dist/oncomatrix.spec-GQT3UTCR.js +0 -439
  576. package/dist/plot.2dvaf-L6ZI5ROR.js +0 -368
  577. package/dist/plot.app-A73VXJCP.js +0 -32
  578. package/dist/plot.barplot-HSCHPOO7.js +0 -93
  579. package/dist/plot.boxplot-AXBVNTNH.js +0 -142
  580. package/dist/plot.brainImaging-PEMURKM3.js +0 -51
  581. package/dist/plot.disco-YKMYYVMV.js +0 -98
  582. package/dist/plot.disco-YKMYYVMV.js.map +0 -7
  583. package/dist/plot.ssgq-FGMQXKZU.js +0 -130
  584. package/dist/plot.vaf2cov-IBM7NQEB.js +0 -249
  585. package/dist/polar2-N7KWY36S.js +0 -228
  586. package/dist/profileForms-Q4NN7653.js +0 -937
  587. package/dist/profilePlot-SQ77M6LI.js +0 -45
  588. package/dist/proteinView-KSIZRDNP.js +0 -1346
  589. package/dist/proteomeCohortCompare-GYSBJSDY.js +0 -866
  590. package/dist/proteomeCohortCompare-GYSBJSDY.js.map +0 -7
  591. package/dist/pseudbulk.unit.spec-XELPZVXM.js +0 -82
  592. package/dist/pseudobulk-H3USXM5U.js +0 -31
  593. package/dist/qualitative-ABXENRAF.js +0 -34
  594. package/dist/qualitative-OSEJTJ4D.js +0 -241
  595. package/dist/radar2-VTDQGHWN.js +0 -323
  596. package/dist/radarFacility2-BWGEC5A2.js +0 -331
  597. package/dist/rememberedGvQ.unit.spec-TWUDSEDP.js +0 -210
  598. package/dist/render-C3XJQ2QY.js +0 -29
  599. package/dist/report-7ZZ44X4R.js +0 -213
  600. package/dist/sampleView-CUCNI65Q.js +0 -39
  601. package/dist/samplelst-S7AJQ36J.js +0 -114
  602. package/dist/samplematrix-U7WM6GNB.js +0 -2188
  603. package/dist/sc-FMJHN2SW.js +0 -77
  604. package/dist/scatter-4UMCJNEH.js +0 -919
  605. package/dist/scatter-KMAZ3ZNR.js +0 -84
  606. package/dist/selectGenomeWithTklst-5SRM45BI.js +0 -125
  607. package/dist/singleCellCellType-GIIICJK5.js +0 -29
  608. package/dist/singleCellCellType.unit.spec-MVA7BMGL.js +0 -150
  609. package/dist/singleCellGeneExpression-2QFQHJJH.js +0 -29
  610. package/dist/singleCellGeneExpression.unit.spec-SAIETYHV.js +0 -144
  611. package/dist/singleCellNumericValue-45H5EPIB.js +0 -29
  612. package/dist/singleCellNumericValue.unit.spec-FNKEJ2WC.js +0 -412
  613. package/dist/singleCellPlot-SP7OEGYQ.js +0 -44
  614. package/dist/singlecell-AVZQX4AH.js +0 -1562
  615. package/dist/singlecell-JQKUHGIH.js +0 -77
  616. package/dist/snp-4SA7VABN.js +0 -29
  617. package/dist/snp.unit.spec-YIYGR6GW.js +0 -167
  618. package/dist/snplocus-TDGQ57ZJ.js +0 -200
  619. package/dist/snplst-SWBGRYPA.js +0 -36
  620. package/dist/spliceevent.a53ss.diagram-YODOBS6U.js +0 -142
  621. package/dist/spliceevent.exonskip.diagram-PMZIQ5UG.js +0 -274
  622. package/dist/spliceevent.noeventdiagram-A4T2PNUX.js +0 -451
  623. package/dist/ssGSEA-U7D6HOIV.js +0 -29
  624. package/dist/ssGSEA.unit.spec-SMNAM5DJ.js +0 -79
  625. package/dist/stattable-DBYMPJU6.js +0 -112
  626. package/dist/studyCatalog-7RABX4W5.js +0 -457
  627. package/dist/summarizeCnvGeneexp-YVRW7LWY.js +0 -154
  628. package/dist/summarizeGeneexpSurvival-ZB7IWGPS.js +0 -101
  629. package/dist/summarizeMutationCnv-CUSYURDK.js +0 -155
  630. package/dist/summarizeMutationDiagnosis-NSPCT5WI.js +0 -31
  631. package/dist/summarizeMutationSurvival-2PZZCC4G.js +0 -95
  632. package/dist/summary-CYDZSICI.js +0 -40
  633. package/dist/summary.integration.spec-2TLKJS3X.js +0 -405
  634. package/dist/summaryInput-BRQ5JRGV.js +0 -238
  635. package/dist/sunburst-435LKL2S.js +0 -34
  636. package/dist/sunburst-D5WAGHX6.js +0 -274
  637. package/dist/survival-M63B6DY5.js +0 -1248
  638. package/dist/survival-MHESSYWF.js +0 -49
  639. package/dist/survival.integration.spec-WMS3FTNR.js +0 -609
  640. package/dist/svgraph-LYFGVTHI.js +0 -1377
  641. package/dist/svmr-UR67QZIP.js +0 -3834
  642. package/dist/swimmer-RP4SUEZS.js +0 -993
  643. package/dist/table-V4OOMF3B.js +0 -192
  644. package/dist/termCollection-VHGVBSWW.js +0 -29
  645. package/dist/termCollection-WSNM3YFK.js +0 -247
  646. package/dist/termCollection.unit.spec-NCZUZL6P.js +0 -295
  647. package/dist/termCollectionFractionSelection-XM3FJWBQ.js +0 -38
  648. package/dist/termCollectionFractionSelection.unit.spec-VO4SAV72.js +0 -184
  649. package/dist/tk-G5PKWSXJ.js +0 -1193
  650. package/dist/tk-G5PKWSXJ.js.map +0 -7
  651. package/dist/tk-KIELQHVI.js +0 -37
  652. package/dist/tp.ui-HAKSWLFB.js +0 -1453
  653. package/dist/tvs.categorical-G4DM4JY5.js +0 -28
  654. package/dist/tvs.condition-E5NUQONB.js +0 -160
  655. package/dist/tvs.dt-T4BK24VZ.js +0 -34
  656. package/dist/tvs.dtcnv.categorical-V57TZFRA.js +0 -31
  657. package/dist/tvs.dtcnv.continuous-D4YIB4PN.js +0 -72
  658. package/dist/tvs.dtfusion-6DUFLUNH.js +0 -31
  659. package/dist/tvs.dtitd-GOEPAQGR.js +0 -31
  660. package/dist/tvs.dtsnvindel-ASTXGC4O.js +0 -31
  661. package/dist/tvs.dtsv-7TGDEWXK.js +0 -31
  662. package/dist/tvs.multivalue-SEIGL2W6.js +0 -84
  663. package/dist/tvs.numeric-MLLX5L7Z.js +0 -32
  664. package/dist/tvs.samplelst-HAV7C2EA.js +0 -95
  665. package/dist/tvs.survival-3B522MT2.js +0 -110
  666. package/dist/tvs.termCollection-R5NG4VXP.js +0 -118
  667. package/dist/vocabulary-LBNHNSEN.js +0 -32
  668. package/dist/wsi.direct-ZEZO4NLR.js +0 -11515
  669. /package/dist/{2dmaf-OWA6REJ5.js.map → 2dmaf-4W2R2HXG.js.map} +0 -0
  670. /package/dist/{AggMatrixInput-5GC33U5A.js.map → AggMatrixInput-3SQ7UW5L.js.map} +0 -0
  671. /package/dist/{AggregateMatrix-CMJFO53B.js.map → AggregateMatrix-QI55DXDU.js.map} +0 -0
  672. /package/dist/{AppHeader-KJCXF35P.js.map → AppHeader-C26OHIUQ.js.map} +0 -0
  673. /package/dist/{BoxPlot-NZTO6CLZ.js.map → BoxPlot-27OYBGJ3.js.map} +0 -0
  674. /package/dist/{CorrelationVolcano-GHTPFM2V.js.map → CorrelationVolcano-XIMXCSHG.js.map} +0 -0
  675. /package/dist/{Cuminc-HHBYFFFM.js.map → Cuminc-737O733E.js.map} +0 -0
  676. /package/dist/{DE-VVKIMVXD.js.map → DE-EDTGDY6L.js.map} +0 -0
  677. /package/dist/{DEinput-F7HSM2SO.js.map → DEinput-ZN76I5M5.js.map} +0 -0
  678. /package/dist/{DM-UBCIWZEY.js.map → DM-25IRANGL.js.map} +0 -0
  679. /package/dist/{DifferentialAnalysis-UUXXMOQS.js.map → DifferentialAnalysis-7HQYEA5T.js.map} +0 -0
  680. /package/dist/{Disco.UI-GSSSK4YJ.js.map → Disco.UI-67HBGS4Y.js.map} +0 -0
  681. /package/dist/{GB-CIQGJBJP.js.map → GB-HT3B7Y7R.js.map} +0 -0
  682. /package/dist/{GSEA-3GVFEJTX.js.map → GSEA-CMFMNK5Y.js.map} +0 -0
  683. /package/dist/{GeneExpInput-CFU3Q7FM.js.map → GeneExpInput-HMGV23E7.js.map} +0 -0
  684. /package/dist/{Geomap-NMVFA77Q.js.map → Geomap-RB4SGVPC.js.map} +0 -0
  685. /package/dist/{HicApp-4FCGUUJD.js.map → HicApp-YRP6YQFA.js.map} +0 -0
  686. /package/dist/{IDCViewer-WFB6AXHD.js.map → IDCViewer-OUSOZNSR.js.map} +0 -0
  687. /package/dist/{NumBinaryEditor-4WUDJRSU.js.map → NumBinaryEditor-YFQDPBB6.js.map} +0 -0
  688. /package/dist/{NumBinaryEditor.unit.spec-MV53GTGQ.js.map → NumBinaryEditor.unit.spec-6YC5PCPK.js.map} +0 -0
  689. /package/dist/{NumContEditor-U4R6HPDM.js.map → NumContEditor-EH6MA2RW.js.map} +0 -0
  690. /package/dist/{NumContEditor.unit.spec-J4ANPBSF.js.map → NumContEditor.unit.spec-Q2JBVIRT.js.map} +0 -0
  691. /package/dist/{NumCustomBinEditor-QRGDNFP4.js.map → NumCustomBinEditor-USQA3BC6.js.map} +0 -0
  692. /package/dist/{NumCustomBinEditor.unit.spec-PPF233FW.js.map → NumCustomBinEditor.unit.spec-PE2HFRCK.js.map} +0 -0
  693. /package/dist/{NumDiscreteEditor-LNK4KHSL.js.map → NumDiscreteEditor-VKE4WT24.js.map} +0 -0
  694. /package/dist/{NumDiscreteEditor.unit.spec-QY6O62JU.js.map → NumDiscreteEditor.unit.spec-JNG673LE.js.map} +0 -0
  695. /package/dist/{NumRegularBinEditor-XTINNM5L.js.map → NumRegularBinEditor-KCCPGJSX.js.map} +0 -0
  696. /package/dist/{NumRegularBinEditor.unit.spec-FSLARHOC.js.map → NumRegularBinEditor.unit.spec-4BLKQRZU.js.map} +0 -0
  697. /package/dist/{NumSplineEditor-YSQTKBFA.js.map → NumSplineEditor-4YELHGUO.js.map} +0 -0
  698. /package/dist/{NumSplineEditor.unit.spec-QNITPY7R.js.map → NumSplineEditor.unit.spec-CKHHK6GH.js.map} +0 -0
  699. /package/dist/{NumericDensity-J5WS74JZ.js.map → NumericDensity-LCFM7VSY.js.map} +0 -0
  700. /package/dist/{NumericDensity.unit.spec-4WQWLSSJ.js.map → NumericDensity.unit.spec-R4ARTJ5I.js.map} +0 -0
  701. /package/dist/{NumericHandler-ZEWC25U2.js.map → NumericHandler-2OHRSY6Z.js.map} +0 -0
  702. /package/dist/{NumericHandler.unit.spec-A3G5FWGV.js.map → NumericHandler.unit.spec-M3TRIFZW.js.map} +0 -0
  703. /package/dist/{ProteomeInput-7DXGQIOO.js.map → ProteomeInput-G2EP6QH2.js.map} +0 -0
  704. /package/dist/{Regression-VQ5MC6KW.js.map → Regression-2HKE6C7F.js.map} +0 -0
  705. /package/dist/{RunChart2-B33CQUXH.js.map → RunChart2-WRVW63PB.js.map} +0 -0
  706. /package/dist/{SC-LEVWXS4P.js.map → SC-37RDNFGH.js.map} +0 -0
  707. /package/dist/{Wsi-VPF6RX3B.js.map → Wsi-PB77PVAA.js.map} +0 -0
  708. /package/dist/{aboutSunburst-NGH3V74S.js.map → aboutSunburst-5Z24ODIN.js.map} +0 -0
  709. /package/dist/{adSandbox-VOAL4P5A.js.map → adSandbox-AFORHU3V.js.map} +0 -0
  710. /package/dist/{animatedBubbleChart-HKOGYPSS.js.map → animatedBubbleChart-F75OBRZW.js.map} +0 -0
  711. /package/dist/{app-AZLUP2BA.js.map → app-4RZ76DZZ.js.map} +0 -0
  712. /package/dist/{app-JJPKGBEV.js.map → app-IHE3RNI5.js.map} +0 -0
  713. /package/dist/{bam-GIZSH2MF.js.map → bam-IIRZX3IK.js.map} +0 -0
  714. /package/dist/{barchart-CVTXLIIQ.js.map → barchart-UIHRIMOE.js.map} +0 -0
  715. /package/dist/{barchart2-XYC6WITL.js.map → barchart2-DG3S6FDJ.js.map} +0 -0
  716. /package/dist/{block-DXRSU62C.js.map → block-COZKGPXY.js.map} +0 -0
  717. /package/dist/{block.init-U4Y6ROG4.js.map → block.init-UBXYVTPQ.js.map} +0 -0
  718. /package/dist/{block.mds.expressionrank-BB26LVTM.js.map → block.mds.expressionrank-KSXPPPGR.js.map} +0 -0
  719. /package/dist/{block.mds.geneboxplot-VVKEU3SL.js.map → block.mds.geneboxplot-5RDFDVDE.js.map} +0 -0
  720. /package/dist/{block.mds.junction-XUZX6EAQ.js.map → block.mds.junction-LMM24KXJ.js.map} +0 -0
  721. /package/dist/{block.mds.svcnv-WDSACPWG.js.map → block.mds.svcnv-4XRXZMPS.js.map} +0 -0
  722. /package/dist/{block.svg-T5BA7VLS.js.map → block.svg-VAKLMPMS.js.map} +0 -0
  723. /package/dist/{block.tk.aicheck-3VN2RDPD.js.map → block.tk.aicheck-6GHZK2YY.js.map} +0 -0
  724. /package/dist/{block.tk.bam-5XZ3N4Y7.js.map → block.tk.bam-7H3BSHR2.js.map} +0 -0
  725. /package/dist/{block.tk.bigwig.ui-JODVOS4R.js.map → block.tk.bigwig.ui-KX2GACY5.js.map} +0 -0
  726. /package/dist/{block.tk.hicstraw-AFNWJ2YP.js.map → block.tk.hicstraw-OOWEWGMF.js.map} +0 -0
  727. /package/dist/{block.tk.junction-T2G6XEVS.js.map → block.tk.junction-U7W36OZA.js.map} +0 -0
  728. /package/dist/{block.tk.junction.textmatrixui-FL5MZH7K.js.map → block.tk.junction.textmatrixui-PAMSBYZT.js.map} +0 -0
  729. /package/dist/{block.tk.ld-JKBXDOB5.js.map → block.tk.ld-RFQPDG7Q.js.map} +0 -0
  730. /package/dist/{block.tk.menu-2X4BN7BN.js.map → block.tk.menu-JDJU2OGK.js.map} +0 -0
  731. /package/dist/{block.tk.pgv-ASUVEGQF.js.map → block.tk.pgv-G2UFCQUT.js.map} +0 -0
  732. /package/dist/{brainImaging-27442GMQ.js.map → brainImaging-ASAHWZJH.js.map} +0 -0
  733. /package/dist/{brainRegions-3367RQCU.js.map → brainRegions-XTJDLUU4.js.map} +0 -0
  734. /package/dist/{bubbleHeatmap-IOVS6SHX.js.map → bubbleHeatmap-UPUITTU6.js.map} +0 -0
  735. /package/dist/{cellTypeBubbleHeatmap-7XJP6B5W.js.map → cellTypeBubbleHeatmap-25SOXC2Q.js.map} +0 -0
  736. /package/dist/{chunk-ZLQ6PAI6.js.map → chunk-2ZYAC3DC.js.map} +0 -0
  737. /package/dist/{chunk-C4YACFGH.js.map → chunk-325X3T7G.js.map} +0 -0
  738. /package/dist/{chunk-5JBOGNSG.js.map → chunk-3UXHTSZJ.js.map} +0 -0
  739. /package/dist/{chunk-GOL6A746.js.map → chunk-4DFKK46J.js.map} +0 -0
  740. /package/dist/{chunk-MIDVLNN3.js.map → chunk-54W2RWRB.js.map} +0 -0
  741. /package/dist/{chunk-CKO54XWB.js.map → chunk-5QGC2624.js.map} +0 -0
  742. /package/dist/{chunk-OVO6NYUR.js.map → chunk-5YKXYWP3.js.map} +0 -0
  743. /package/dist/{chunk-HTIZFNBC.js.map → chunk-6B4AME6E.js.map} +0 -0
  744. /package/dist/{chunk-COWLQ74R.js.map → chunk-6H4FFHFQ.js.map} +0 -0
  745. /package/dist/{chunk-F6CYUMSM.js.map → chunk-6PVVV3UW.js.map} +0 -0
  746. /package/dist/{chunk-7UXV4IX5.js.map → chunk-72QBXULB.js.map} +0 -0
  747. /package/dist/{chunk-GVLXSPTN.js.map → chunk-7APH7QLC.js.map} +0 -0
  748. /package/dist/{chunk-EM56Y4X6.js.map → chunk-7HBAALWJ.js.map} +0 -0
  749. /package/dist/{chunk-T2DORAV4.js.map → chunk-7UK7CU4F.js.map} +0 -0
  750. /package/dist/{chunk-HNU4RYI5.js.map → chunk-7ZTUUKLX.js.map} +0 -0
  751. /package/dist/{chunk-CZOJUH3C.js.map → chunk-A7GCFL3R.js.map} +0 -0
  752. /package/dist/{chunk-TBXJ2CUA.js.map → chunk-AGWIWLOP.js.map} +0 -0
  753. /package/dist/{chunk-KTRDLHCP.js.map → chunk-CHQ43UJQ.js.map} +0 -0
  754. /package/dist/{chunk-7ZCYC2DQ.js.map → chunk-CQWR4QZO.js.map} +0 -0
  755. /package/dist/{chunk-N6AHRJAM.js.map → chunk-D6TLBMIX.js.map} +0 -0
  756. /package/dist/{chunk-BOQYGAYA.js.map → chunk-DOC3HBOV.js.map} +0 -0
  757. /package/dist/{chunk-CU434U4N.js.map → chunk-DR5JLHTB.js.map} +0 -0
  758. /package/dist/{chunk-LN4KNFOQ.js.map → chunk-E2Z4X6C2.js.map} +0 -0
  759. /package/dist/{chunk-2GP3LH7J.js.map → chunk-E4WAVMI5.js.map} +0 -0
  760. /package/dist/{chunk-O4BDFBVK.js.map → chunk-EM76Y3HQ.js.map} +0 -0
  761. /package/dist/{chunk-WQHL6SR3.js.map → chunk-ES7XNERS.js.map} +0 -0
  762. /package/dist/{chunk-2ESAB2PP.js.map → chunk-F2RTD23W.js.map} +0 -0
  763. /package/dist/{chunk-46KQE4DV.js.map → chunk-FEE2HAON.js.map} +0 -0
  764. /package/dist/{chunk-2UGYE6EJ.js.map → chunk-FIWVGOSE.js.map} +0 -0
  765. /package/dist/{chunk-EIO6DMIQ.js.map → chunk-FT5HOBHJ.js.map} +0 -0
  766. /package/dist/{chunk-K5RCZIZN.js.map → chunk-G5BQJGRA.js.map} +0 -0
  767. /package/dist/{chunk-SQUMXZXI.js.map → chunk-GAYYXHOG.js.map} +0 -0
  768. /package/dist/{chunk-VZBRG6HQ.js.map → chunk-GDIKNIEA.js.map} +0 -0
  769. /package/dist/{chunk-KA3KYNOP.js.map → chunk-GIZTZCE5.js.map} +0 -0
  770. /package/dist/{chunk-5OWPH4IH.js.map → chunk-GONC3LVY.js.map} +0 -0
  771. /package/dist/{chunk-ZUG4EY4T.js.map → chunk-HGC4EON3.js.map} +0 -0
  772. /package/dist/{chunk-7Q4KAFCS.js.map → chunk-HM23KADV.js.map} +0 -0
  773. /package/dist/{chunk-MUVXIOXM.js.map → chunk-JWX6GEWQ.js.map} +0 -0
  774. /package/dist/{chunk-4ICGMPPE.js.map → chunk-K4LZR3HU.js.map} +0 -0
  775. /package/dist/{chunk-RSCSTOUN.js.map → chunk-K55KOEI6.js.map} +0 -0
  776. /package/dist/{chunk-ZUXXBQ7D.js.map → chunk-KLJM7HE5.js.map} +0 -0
  777. /package/dist/{chunk-JNIYPQWY.js.map → chunk-LFH5VSSF.js.map} +0 -0
  778. /package/dist/{chunk-7ONTCJWB.js.map → chunk-MBWG3QHI.js.map} +0 -0
  779. /package/dist/{chunk-2CTAWHGB.js.map → chunk-MZTVOOR6.js.map} +0 -0
  780. /package/dist/{chunk-KGFH5VTH.js.map → chunk-N2JOZ3QD.js.map} +0 -0
  781. /package/dist/{chunk-3TJBSAIO.js.map → chunk-NG2U3VHX.js.map} +0 -0
  782. /package/dist/{chunk-Z6ZFRHXK.js.map → chunk-NUGYNLTL.js.map} +0 -0
  783. /package/dist/{chunk-OXRZSZKA.js.map → chunk-OCOB7XJW.js.map} +0 -0
  784. /package/dist/{chunk-NB4UU4DH.js.map → chunk-OGDBTL5C.js.map} +0 -0
  785. /package/dist/{chunk-VQD6GZMU.js.map → chunk-OVXHMJJJ.js.map} +0 -0
  786. /package/dist/{chunk-TTSKLWP7.js.map → chunk-PAF5KZCR.js.map} +0 -0
  787. /package/dist/{chunk-TQLHKDNS.js.map → chunk-PI2MCZXG.js.map} +0 -0
  788. /package/dist/{chunk-BNJC6OX5.js.map → chunk-PPICALUF.js.map} +0 -0
  789. /package/dist/{chunk-M4ML4ACA.js.map → chunk-QFOT5WAZ.js.map} +0 -0
  790. /package/dist/{chunk-ZHY7ZHWC.js.map → chunk-QGCB5AKN.js.map} +0 -0
  791. /package/dist/{chunk-AQSZLUDV.js.map → chunk-QRZRAMHA.js.map} +0 -0
  792. /package/dist/{chunk-QUVGLTCF.js.map → chunk-RGOZHZCN.js.map} +0 -0
  793. /package/dist/{chunk-BBA5MAFS.js.map → chunk-RJKY22D4.js.map} +0 -0
  794. /package/dist/{chunk-OGU7IDV7.js.map → chunk-RZ2HG7G3.js.map} +0 -0
  795. /package/dist/{chunk-ZCY72DDM.js.map → chunk-SI2KSG6E.js.map} +0 -0
  796. /package/dist/{chunk-QMR3QMJG.js.map → chunk-U4PLKSSS.js.map} +0 -0
  797. /package/dist/{chunk-RCVA2RWU.js.map → chunk-U7G65D2G.js.map} +0 -0
  798. /package/dist/{chunk-RCLCEA55.js.map → chunk-UU3FWU6D.js.map} +0 -0
  799. /package/dist/{chunk-HUF5BTO6.js.map → chunk-UXLT7W2N.js.map} +0 -0
  800. /package/dist/{chunk-DVSTBGZT.js.map → chunk-VHQDN3OA.js.map} +0 -0
  801. /package/dist/{chunk-63TCOVAK.js.map → chunk-VTMNHAFC.js.map} +0 -0
  802. /package/dist/{chunk-G5GFCBJT.js.map → chunk-W3K7KLIR.js.map} +0 -0
  803. /package/dist/{chunk-NGG4737W.js.map → chunk-WSLS55SH.js.map} +0 -0
  804. /package/dist/{chunk-HWP3U2VY.js.map → chunk-WUCIHN7D.js.map} +0 -0
  805. /package/dist/{chunk-L6TGKNRA.js.map → chunk-XQIB27PB.js.map} +0 -0
  806. /package/dist/{chunk-OT2DMA2D.js.map → chunk-XSBGICK5.js.map} +0 -0
  807. /package/dist/{chunk-FUTHP5J4.js.map → chunk-YHW2RAAG.js.map} +0 -0
  808. /package/dist/{chunk-JEXS72M5.js.map → chunk-Z7CCL464.js.map} +0 -0
  809. /package/dist/{chunk-N2RAPA7D.js.map → chunk-ZBNPXXMK.js.map} +0 -0
  810. /package/dist/{chunk-X7JGAQ5N.js.map → chunk-ZNHC46CT.js.map} +0 -0
  811. /package/dist/{cohort-2DQOQ5AO.js.map → cohort-ZFGFEEBD.js.map} +0 -0
  812. /package/dist/{cohortSunburst-W6XC7VD6.js.map → cohortSunburst-EEPGV2RB.js.map} +0 -0
  813. /package/dist/{condition-3A7I5UQA.js.map → condition-7EWFLQSO.js.map} +0 -0
  814. /package/dist/{controls-G5WYBX4P.js.map → controls-QHDSDWKI.js.map} +0 -0
  815. /package/dist/{controls.config-TAFGM2S2.js.map → controls.config-LBSCZ6GP.js.map} +0 -0
  816. /package/dist/{correlation-K4EOOQJU.js.map → correlation-IJQJPNNP.js.map} +0 -0
  817. /package/dist/{customdata.inputui-E7RRN3KY.js.map → customdata.inputui-TZGX2CUD.js.map} +0 -0
  818. /package/dist/{dataDownload-OXZGAE5R.js.map → dataDownload-33EWD3AD.js.map} +0 -0
  819. /package/dist/{databrowser.ui-IPUF6LUC.js.map → databrowser.ui-YNKDTAAN.js.map} +0 -0
  820. /package/dist/{dictionary-MUNAUI43.js.map → dictionary-OTR6Z5EZ.js.map} +0 -0
  821. /package/dist/{dnaMethylation-SOV4HBAX.js.map → dnaMethylation-LQTCTOOE.js.map} +0 -0
  822. /package/dist/{dnaMethylation.integration.spec-T4KKTMRL.js.map → dnaMethylation.integration.spec-U5VQYAK3.js.map} +0 -0
  823. /package/dist/{dofetch-2CR2TVWC.js.map → dofetch-HLG7G7RX.js.map} +0 -0
  824. /package/dist/{e2pca-EIOJCV4O.js.map → e2pca-AXDPYR7U.js.map} +0 -0
  825. /package/dist/{ep-5QX3CW6D.js.map → ep-4WK46CH7.js.map} +0 -0
  826. /package/dist/{expclust.gdc.spec-TNHPZLYQ.js.map → expclust.gdc.spec-CYGWGREQ.js.map} +0 -0
  827. /package/dist/{facet-I3OC4DK2.js.map → facet-IZSSZDHK.js.map} +0 -0
  828. /package/dist/{gb-WPIUHR3O.js.map → gb-AUZBUZFM.js.map} +0 -0
  829. /package/dist/{geneExpClustering-EYGZENSP.js.map → geneExpClustering-AQBFLXLP.js.map} +0 -0
  830. /package/dist/{geneExpression-54L3DH32.js.map → geneExpression-HDJVPVPK.js.map} +0 -0
  831. /package/dist/{geneExpression-6S6H2EVY.js.map → geneExpression-V4JMTMLI.js.map} +0 -0
  832. /package/dist/{geneExpression.unit.spec-VVI2MXIH.js.map → geneExpression.unit.spec-KFMSDVMX.js.map} +0 -0
  833. /package/dist/{geneORA-7M64LXZC.js.map → geneORA-LDFFSEMQ.js.map} +0 -0
  834. /package/dist/{geneRanking-676CAA3B.js.map → geneRanking-IVKDSNDV.js.map} +0 -0
  835. /package/dist/{geneVariant-4UPJE6MJ.js.map → geneVariant-7X7EEUDW.js.map} +0 -0
  836. /package/dist/{geneVariant-PFVPL22U.js.map → geneVariant-TK3FJ22L.js.map} +0 -0
  837. /package/dist/{geneVariant.integration.spec-EAJ4OSFQ.js.map → geneVariant.integration.spec-ZHAFWQ2O.js.map} +0 -0
  838. /package/dist/{genefusion.ui-LP4EJUTO.js.map → genefusion.ui-U5YPVXAF.js.map} +0 -0
  839. /package/dist/{geneset-ANDOMTPO.js.map → geneset-NSHQ2NDR.js.map} +0 -0
  840. /package/dist/{genomeBrowser.spec-NUXOOL5N.js.map → genomeBrowser.spec-HP4OQPCV.js.map} +0 -0
  841. /package/dist/{grin2-K4LRVCES.js.map → grin2-5WKONQPG.js.map} +0 -0
  842. /package/dist/{grin2-YFCWJZFR.js.map → grin2-V2ZBOJBO.js.map} +0 -0
  843. /package/dist/{hierCluster-POD3DRO4.js.map → hierCluster-7IOPNYFN.js.map} +0 -0
  844. /package/dist/{hierCluster-QA7HXKRD.js.map → hierCluster-IDBCUKHJ.js.map} +0 -0
  845. /package/dist/{hierCluster.config-HQ3SVKCE.js.map → hierCluster.config-Z4NRL5P5.js.map} +0 -0
  846. /package/dist/{hierCluster.integration.spec-MOYDWJL3.js.map → hierCluster.integration.spec-PHEXOGPI.js.map} +0 -0
  847. /package/dist/{hierCluster.interactivity-OZTNHXZQ.js.map → hierCluster.interactivity-NHZ5EPBV.js.map} +0 -0
  848. /package/dist/{hierCluster.renderers-46E37NL4.js.map → hierCluster.renderers-WXJUMDFN.js.map} +0 -0
  849. /package/dist/{imagePlot-HNAYBWY3.js.map → imagePlot-NMNCAYS7.js.map} +0 -0
  850. /package/dist/{importPlot-XTW46VF4.js.map → importPlot-HZML5XMJ.js.map} +0 -0
  851. /package/dist/{isoformExpression-2TMTILKG.js.map → isoformExpression-4IU4AUQ2.js.map} +0 -0
  852. /package/dist/{isoformExpression.unit.spec-SIJWP7TH.js.map → isoformExpression.unit.spec-KKMKU5Z2.js.map} +0 -0
  853. /package/dist/{junction-AICKHNXX.js.map → junction-EXA2WANI.js.map} +0 -0
  854. /package/dist/{junction.customTerm-5STKYZ4B.js.map → junction.customTerm-LQYKCZX4.js.map} +0 -0
  855. /package/dist/{junction.unit.spec-EXFN4MLW.js.map → junction.unit.spec-H3FGTLEP.js.map} +0 -0
  856. /package/dist/{launch.adhoc-PB6PGR7Q.js.map → launch.adhoc-YA6FRHSC.js.map} +0 -0
  857. /package/dist/{lollipop-5UXUAFYY.js.map → lollipop-EWLGYDIR.js.map} +0 -0
  858. /package/dist/{maf-L6YD25JK.js.map → maf-PXMHR3PY.js.map} +0 -0
  859. /package/dist/{maftimeline-63YZDGJ3.js.map → maftimeline-QFKT7PW2.js.map} +0 -0
  860. /package/dist/{matrix-OPEBHZCW.js.map → matrix-KASG3KIY.js.map} +0 -0
  861. /package/dist/{matrix-TLMWPG7C.js.map → matrix-VSX63V3L.js.map} +0 -0
  862. /package/dist/{matrix.cells-IELMNYC6.js.map → matrix.cells-7TTOQRWU.js.map} +0 -0
  863. /package/dist/{matrix.config-J7SVFXLM.js.map → matrix.config-U3I726EC.js.map} +0 -0
  864. /package/dist/{matrix.data-DJTJCPO4.js.map → matrix.data-Y4DXSR2P.js.map} +0 -0
  865. /package/dist/{matrix.groups-2REICNZK.js.map → matrix.groups-C5CHYWQZ.js.map} +0 -0
  866. /package/dist/{matrix.integration.spec-ZXU2OEFU.js.map → matrix.integration.spec-4KWLFXMY.js.map} +0 -0
  867. /package/dist/{matrix.interactivity-SX3OR6OI.js.map → matrix.interactivity-JK6URU6Z.js.map} +0 -0
  868. /package/dist/{matrix.layout-ZJ6X5RON.js.map → matrix.layout-KKOA7GGL.js.map} +0 -0
  869. /package/dist/{matrix.legend-ZOP72TIO.js.map → matrix.legend-3FFHXTLX.js.map} +0 -0
  870. /package/dist/{matrix.renderers-YUSROXKN.js.map → matrix.renderers-F7EWYQWL.js.map} +0 -0
  871. /package/dist/{matrix.serieses-UMAZNCMR.js.map → matrix.serieses-I4JWWONC.js.map} +0 -0
  872. /package/dist/{matrix.sort-2JNIZHNL.js.map → matrix.sort-5JTCLBPB.js.map} +0 -0
  873. /package/dist/{matrix.sort.unit.spec-SNB643Y6.js.map → matrix.sort.unit.spec-EW53F5DT.js.map} +0 -0
  874. /package/dist/{matrix.sorterUi-JXEIY6UL.js.map → matrix.sorterUi-Z4JDY7VW.js.map} +0 -0
  875. /package/dist/{matrix.sorterUi.unit.spec-LDAT4R3H.js.map → matrix.sorterUi.unit.spec-OGTYY6GC.js.map} +0 -0
  876. /package/dist/{matrix.unit.spec-QBQIMDLD.js.map → matrix.unit.spec-RXKKHRUN.js.map} +0 -0
  877. /package/dist/{mavb-EQUF3VGG.js.map → mavb-YI2WEGFI.js.map} +0 -0
  878. /package/dist/{mds.samplescatterplot-73E45ZT7.js.map → mds.samplescatterplot-GGJE67MF.js.map} +0 -0
  879. /package/dist/{mds.survivalplot-DL53IRVD.js.map → mds.survivalplot-A6DS6FHO.js.map} +0 -0
  880. /package/dist/{multivalue-PQN75ENP.js.map → multivalue-3WCYDVL3.js.map} +0 -0
  881. /package/dist/{numericDictTermCluster-FGMIOTBO.js.map → numericDictTermCluster-AOTEPNEI.js.map} +0 -0
  882. /package/dist/{oncomatrix-CCHWOA3N.js.map → oncomatrix-BB4SB5AJ.js.map} +0 -0
  883. /package/dist/{oncomatrix.spec-GQT3UTCR.js.map → oncomatrix.spec-M4ZC3KFC.js.map} +0 -0
  884. /package/dist/{plot.2dvaf-L6ZI5ROR.js.map → plot.2dvaf-QUD743E6.js.map} +0 -0
  885. /package/dist/{plot.app-A73VXJCP.js.map → plot.app-35I4DJXK.js.map} +0 -0
  886. /package/dist/{plot.barplot-HSCHPOO7.js.map → plot.barplot-7OL4HWZB.js.map} +0 -0
  887. /package/dist/{plot.boxplot-AXBVNTNH.js.map → plot.boxplot-N2VSPDYA.js.map} +0 -0
  888. /package/dist/{plot.brainImaging-PEMURKM3.js.map → plot.brainImaging-4PIAFROV.js.map} +0 -0
  889. /package/dist/{plot.ssgq-FGMQXKZU.js.map → plot.ssgq-MGUBQNWE.js.map} +0 -0
  890. /package/dist/{plot.vaf2cov-IBM7NQEB.js.map → plot.vaf2cov-KVI2GMG4.js.map} +0 -0
  891. /package/dist/{polar2-N7KWY36S.js.map → polar2-IGAOHGPE.js.map} +0 -0
  892. /package/dist/{profileForms-Q4NN7653.js.map → profileForms-MW7JQURG.js.map} +0 -0
  893. /package/dist/{profilePlot-SQ77M6LI.js.map → profilePlot-OVOSFR47.js.map} +0 -0
  894. /package/dist/{proteinView-KSIZRDNP.js.map → proteinView-LFP5YYMK.js.map} +0 -0
  895. /package/dist/{pseudbulk.unit.spec-XELPZVXM.js.map → pseudbulk.unit.spec-CGV4JTEK.js.map} +0 -0
  896. /package/dist/{pseudobulk-H3USXM5U.js.map → pseudobulk-WFCQX5KR.js.map} +0 -0
  897. /package/dist/{qualitative-OSEJTJ4D.js.map → qualitative-4SLUE6BW.js.map} +0 -0
  898. /package/dist/{qualitative-ABXENRAF.js.map → qualitative-6H674T7D.js.map} +0 -0
  899. /package/dist/{radar2-VTDQGHWN.js.map → radar2-QXHO2MQA.js.map} +0 -0
  900. /package/dist/{radarFacility2-BWGEC5A2.js.map → radarFacility2-JCVOYMH4.js.map} +0 -0
  901. /package/dist/{rememberedGvQ.unit.spec-TWUDSEDP.js.map → rememberedGvQ.unit.spec-Q3UZJPE2.js.map} +0 -0
  902. /package/dist/{render-C3XJQ2QY.js.map → render-IIFS3Y2N.js.map} +0 -0
  903. /package/dist/{report-7ZZ44X4R.js.map → report-NFBB3PUI.js.map} +0 -0
  904. /package/dist/{sampleView-CUCNI65Q.js.map → sampleView-XQXKIPC7.js.map} +0 -0
  905. /package/dist/{samplelst-S7AJQ36J.js.map → samplelst-RIC5E2W4.js.map} +0 -0
  906. /package/dist/{samplematrix-U7WM6GNB.js.map → samplematrix-WLCFCPBR.js.map} +0 -0
  907. /package/dist/{sc-FMJHN2SW.js.map → sc-TXRF7D6F.js.map} +0 -0
  908. /package/dist/{scatter-4UMCJNEH.js.map → scatter-JUGGPR4B.js.map} +0 -0
  909. /package/dist/{scatter-KMAZ3ZNR.js.map → scatter-YQ47446T.js.map} +0 -0
  910. /package/dist/{selectGenomeWithTklst-5SRM45BI.js.map → selectGenomeWithTklst-2ELB6HQK.js.map} +0 -0
  911. /package/dist/{singleCellCellType-GIIICJK5.js.map → singleCellCellType-DUTH4SZF.js.map} +0 -0
  912. /package/dist/{singleCellCellType.unit.spec-MVA7BMGL.js.map → singleCellCellType.unit.spec-PWP6I5PZ.js.map} +0 -0
  913. /package/dist/{singleCellGeneExpression-2QFQHJJH.js.map → singleCellGeneExpression-3563T7GE.js.map} +0 -0
  914. /package/dist/{singleCellGeneExpression.unit.spec-SAIETYHV.js.map → singleCellGeneExpression.unit.spec-66IDCFJC.js.map} +0 -0
  915. /package/dist/{singleCellNumericValue-45H5EPIB.js.map → singleCellNumericValue-XVQTKLTS.js.map} +0 -0
  916. /package/dist/{singleCellNumericValue.unit.spec-FNKEJ2WC.js.map → singleCellNumericValue.unit.spec-LJSTGKNS.js.map} +0 -0
  917. /package/dist/{singleCellPlot-SP7OEGYQ.js.map → singleCellPlot-MKYJJXSG.js.map} +0 -0
  918. /package/dist/{singlecell-AVZQX4AH.js.map → singlecell-ANCWPAAO.js.map} +0 -0
  919. /package/dist/{singlecell-JQKUHGIH.js.map → singlecell-KMRVFOC5.js.map} +0 -0
  920. /package/dist/{snp-4SA7VABN.js.map → snp-B5UHGWVD.js.map} +0 -0
  921. /package/dist/{snp.unit.spec-YIYGR6GW.js.map → snp.unit.spec-YAHITASM.js.map} +0 -0
  922. /package/dist/{snplocus-TDGQ57ZJ.js.map → snplocus-MLGICRGT.js.map} +0 -0
  923. /package/dist/{snplst-SWBGRYPA.js.map → snplst-DZPIQEKI.js.map} +0 -0
  924. /package/dist/{spliceevent.a53ss.diagram-YODOBS6U.js.map → spliceevent.a53ss.diagram-4NYPSFC2.js.map} +0 -0
  925. /package/dist/{spliceevent.exonskip.diagram-PMZIQ5UG.js.map → spliceevent.exonskip.diagram-WLLTP7NP.js.map} +0 -0
  926. /package/dist/{spliceevent.noeventdiagram-A4T2PNUX.js.map → spliceevent.noeventdiagram-NOSO752Y.js.map} +0 -0
  927. /package/dist/{ssGSEA-U7D6HOIV.js.map → ssGSEA-4DVY6Z5U.js.map} +0 -0
  928. /package/dist/{ssGSEA.unit.spec-SMNAM5DJ.js.map → ssGSEA.unit.spec-UDXV4Q7S.js.map} +0 -0
  929. /package/dist/{stattable-DBYMPJU6.js.map → stattable-T5X76Q32.js.map} +0 -0
  930. /package/dist/{studyCatalog-7RABX4W5.js.map → studyCatalog-O3EPBJPW.js.map} +0 -0
  931. /package/dist/{summarizeCnvGeneexp-YVRW7LWY.js.map → summarizeCnvGeneexp-ST36TPEJ.js.map} +0 -0
  932. /package/dist/{summarizeGeneexpSurvival-ZB7IWGPS.js.map → summarizeGeneexpSurvival-AZOFCBMT.js.map} +0 -0
  933. /package/dist/{summarizeMutationCnv-CUSYURDK.js.map → summarizeMutationCnv-HRCW6BYV.js.map} +0 -0
  934. /package/dist/{summarizeMutationDiagnosis-NSPCT5WI.js.map → summarizeMutationDiagnosis-RQQO2MOR.js.map} +0 -0
  935. /package/dist/{summarizeMutationSurvival-2PZZCC4G.js.map → summarizeMutationSurvival-UHSUJ7FU.js.map} +0 -0
  936. /package/dist/{summary-CYDZSICI.js.map → summary-ZMM5ET67.js.map} +0 -0
  937. /package/dist/{summary.integration.spec-2TLKJS3X.js.map → summary.integration.spec-GW5UGDDU.js.map} +0 -0
  938. /package/dist/{summaryInput-BRQ5JRGV.js.map → summaryInput-ZO5TPARQ.js.map} +0 -0
  939. /package/dist/{sunburst-435LKL2S.js.map → sunburst-6VJS2SUY.js.map} +0 -0
  940. /package/dist/{sunburst-D5WAGHX6.js.map → sunburst-LXRG2SFE.js.map} +0 -0
  941. /package/dist/{survival-MHESSYWF.js.map → survival-QXHY7JRR.js.map} +0 -0
  942. /package/dist/{survival-M63B6DY5.js.map → survival-U6J6KFN2.js.map} +0 -0
  943. /package/dist/{survival.integration.spec-WMS3FTNR.js.map → survival.integration.spec-HN3LL6IY.js.map} +0 -0
  944. /package/dist/{svgraph-LYFGVTHI.js.map → svgraph-CVI27CTM.js.map} +0 -0
  945. /package/dist/{svmr-UR67QZIP.js.map → svmr-GZHAP5IV.js.map} +0 -0
  946. /package/dist/{swimmer-RP4SUEZS.js.map → swimmer-M4JGBO72.js.map} +0 -0
  947. /package/dist/{table-V4OOMF3B.js.map → table-QO22C2ER.js.map} +0 -0
  948. /package/dist/{termCollection-WSNM3YFK.js.map → termCollection-EN73BZV5.js.map} +0 -0
  949. /package/dist/{termCollection-VHGVBSWW.js.map → termCollection-KWNFLRWJ.js.map} +0 -0
  950. /package/dist/{termCollection.unit.spec-NCZUZL6P.js.map → termCollection.unit.spec-Z27AZUE6.js.map} +0 -0
  951. /package/dist/{termCollectionFractionSelection-XM3FJWBQ.js.map → termCollectionFractionSelection-Q7QFEPKA.js.map} +0 -0
  952. /package/dist/{termCollectionFractionSelection.unit.spec-VO4SAV72.js.map → termCollectionFractionSelection.unit.spec-PYLIFZN5.js.map} +0 -0
  953. /package/dist/{tk-KIELQHVI.js.map → tk-WVEDS5OU.js.map} +0 -0
  954. /package/dist/{tp.ui-HAKSWLFB.js.map → tp.ui-CG36YXBY.js.map} +0 -0
  955. /package/dist/{tvs.categorical-G4DM4JY5.js.map → tvs.categorical-GCJISWBS.js.map} +0 -0
  956. /package/dist/{tvs.condition-E5NUQONB.js.map → tvs.condition-YTCVMB3I.js.map} +0 -0
  957. /package/dist/{tvs.dt-T4BK24VZ.js.map → tvs.dt-UCSZ5S44.js.map} +0 -0
  958. /package/dist/{tvs.dtcnv.categorical-V57TZFRA.js.map → tvs.dtcnv.categorical-KYB6XPL3.js.map} +0 -0
  959. /package/dist/{tvs.dtcnv.continuous-D4YIB4PN.js.map → tvs.dtcnv.continuous-MJWJNMKJ.js.map} +0 -0
  960. /package/dist/{tvs.dtfusion-6DUFLUNH.js.map → tvs.dtfusion-IZCEMTH5.js.map} +0 -0
  961. /package/dist/{tvs.dtitd-GOEPAQGR.js.map → tvs.dtitd-DZ4WWGNO.js.map} +0 -0
  962. /package/dist/{tvs.dtsnvindel-ASTXGC4O.js.map → tvs.dtsnvindel-PMJCV4E7.js.map} +0 -0
  963. /package/dist/{tvs.dtsv-7TGDEWXK.js.map → tvs.dtsv-5K2RNWDH.js.map} +0 -0
  964. /package/dist/{tvs.multivalue-SEIGL2W6.js.map → tvs.multivalue-6NSC6JPR.js.map} +0 -0
  965. /package/dist/{tvs.numeric-MLLX5L7Z.js.map → tvs.numeric-7U2NDY4A.js.map} +0 -0
  966. /package/dist/{tvs.samplelst-HAV7C2EA.js.map → tvs.samplelst-3SIYTFWZ.js.map} +0 -0
  967. /package/dist/{tvs.survival-3B522MT2.js.map → tvs.survival-Q3F5SLBW.js.map} +0 -0
  968. /package/dist/{tvs.termCollection-R5NG4VXP.js.map → tvs.termCollection-OR73LBNX.js.map} +0 -0
  969. /package/dist/{vocabulary-LBNHNSEN.js.map → vocabulary-RWRAQ4VJ.js.map} +0 -0
  970. /package/dist/{wsi.direct-ZEZO4NLR.js.map → wsi.direct-HABLR3IF.js.map} +0 -0
@@ -1,2349 +0,0 @@
1
- import {
2
- convertUnits,
3
- isNumeric,
4
- isStrictNumeric
5
- } from "./chunk-W5J3LTYS.js";
6
- import {
7
- isNumericTerm
8
- } from "./chunk-5FD6NRGE.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-R2H22S4J.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-2CR2TVWC.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-ZUXXBQ7D.js.map