@sjcrh/proteinpaint-client 2.224.1 → 2.224.2

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 (980) hide show
  1. package/dist/2dmaf-OWA6REJ5.js +1362 -0
  2. package/dist/AggMatrixInput-5GC33U5A.js +402 -0
  3. package/dist/AggregateMatrix-CMJFO53B.js +37 -0
  4. package/dist/AppHeader-KJCXF35P.js +826 -0
  5. package/dist/BoxPlot-NZTO6CLZ.js +1247 -0
  6. package/dist/BoxPlot-NZTO6CLZ.js.map +7 -0
  7. package/dist/CorrelationVolcano-GHTPFM2V.js +613 -0
  8. package/dist/Cuminc-HHBYFFFM.js +1217 -0
  9. package/dist/DE-VVKIMVXD.js +85 -0
  10. package/dist/DEinput-F7HSM2SO.js +479 -0
  11. package/dist/DM-UBCIWZEY.js +86 -0
  12. package/dist/DifferentialAnalysis-UUXXMOQS.js +236 -0
  13. package/dist/Disco-NHXU7LG7.js +3384 -0
  14. package/dist/Disco.UI-GSSSK4YJ.js +239 -0
  15. package/dist/DmrPlot-QFSU62PY.js +344 -0
  16. package/dist/DmrPlot-QFSU62PY.js.map +7 -0
  17. package/dist/GB-CIQGJBJP.js +1388 -0
  18. package/dist/GSEA-3GVFEJTX.js +870 -0
  19. package/dist/GeneExpInput-CFU3Q7FM.js +38 -0
  20. package/dist/Geomap-NMVFA77Q.js +80 -0
  21. package/dist/HicApp-4FCGUUJD.js +2240 -0
  22. package/dist/IDCViewer-WFB6AXHD.js +10810 -0
  23. package/dist/IDCViewer-WFB6AXHD.js.map +7 -0
  24. package/dist/NumBinaryEditor-4WUDJRSU.js +274 -0
  25. package/dist/NumBinaryEditor.unit.spec-MV53GTGQ.js +308 -0
  26. package/dist/NumContEditor-U4R6HPDM.js +100 -0
  27. package/dist/NumContEditor.unit.spec-J4ANPBSF.js +160 -0
  28. package/dist/NumCustomBinEditor-QRGDNFP4.js +29 -0
  29. package/dist/NumCustomBinEditor.unit.spec-PPF233FW.js +393 -0
  30. package/dist/NumDiscreteEditor-LNK4KHSL.js +165 -0
  31. package/dist/NumDiscreteEditor.unit.spec-QY6O62JU.js +229 -0
  32. package/dist/NumRegularBinEditor-XTINNM5L.js +29 -0
  33. package/dist/NumRegularBinEditor.unit.spec-FSLARHOC.js +274 -0
  34. package/dist/NumSplineEditor-YSQTKBFA.js +205 -0
  35. package/dist/NumSplineEditor.unit.spec-QNITPY7R.js +220 -0
  36. package/dist/NumericDensity-J5WS74JZ.js +29 -0
  37. package/dist/NumericDensity.unit.spec-4WQWLSSJ.js +414 -0
  38. package/dist/NumericHandler-ZEWC25U2.js +30 -0
  39. package/dist/NumericHandler.unit.spec-A3G5FWGV.js +225 -0
  40. package/dist/ProteomeInput-7DXGQIOO.js +610 -0
  41. package/dist/Regression-VQ5MC6KW.js +1412 -0
  42. package/dist/RunChart2-B33CQUXH.js +744 -0
  43. package/dist/SC-LEVWXS4P.js +1290 -0
  44. package/dist/Violin-L43OHY63.js +1105 -0
  45. package/dist/Violin-L43OHY63.js.map +7 -0
  46. package/dist/Volcano-NTXVM3UR.js +2657 -0
  47. package/dist/Wsi-VPF6RX3B.js +637 -0
  48. package/dist/Wsi-VPF6RX3B.js.map +7 -0
  49. package/dist/aboutSunburst-NGH3V74S.js +93 -0
  50. package/dist/adSandbox-VOAL4P5A.js +29 -0
  51. package/dist/animatedBubbleChart-HKOGYPSS.js +542 -0
  52. package/dist/app-AZLUP2BA.js +28 -0
  53. package/dist/app-JJPKGBEV.js +38 -0
  54. package/dist/app.js +14 -14
  55. package/dist/bam-GIZSH2MF.js +872 -0
  56. package/dist/barchart-CVTXLIIQ.js +38 -0
  57. package/dist/barchart2-XYC6WITL.js +305 -0
  58. package/dist/block-DXRSU62C.js +6203 -0
  59. package/dist/block.init-U4Y6ROG4.js +29 -0
  60. package/dist/block.mds.expressionrank-BB26LVTM.js +350 -0
  61. package/dist/block.mds.geneboxplot-VVKEU3SL.js +819 -0
  62. package/dist/block.mds.junction-XUZX6EAQ.js +1534 -0
  63. package/dist/block.mds.svcnv-WDSACPWG.js +6325 -0
  64. package/dist/block.svg-T5BA7VLS.js +155 -0
  65. package/dist/block.tk.aicheck-3VN2RDPD.js +274 -0
  66. package/dist/block.tk.bam-5XZ3N4Y7.js +1906 -0
  67. package/dist/block.tk.bigwig.ui-JODVOS4R.js +202 -0
  68. package/dist/block.tk.hicstraw-AFNWJ2YP.js +814 -0
  69. package/dist/block.tk.junction-T2G6XEVS.js +2353 -0
  70. package/dist/block.tk.junction.textmatrixui-FL5MZH7K.js +190 -0
  71. package/dist/block.tk.ld-JKBXDOB5.js +90 -0
  72. package/dist/block.tk.menu-2X4BN7BN.js +1050 -0
  73. package/dist/block.tk.pgv-ASUVEGQF.js +934 -0
  74. package/dist/brainImaging-27442GMQ.js +550 -0
  75. package/dist/brainRegions-3367RQCU.js +213 -0
  76. package/dist/bubbleHeatmap-IOVS6SHX.js +374 -0
  77. package/dist/cellTypeBubbleHeatmap-7XJP6B5W.js +274 -0
  78. package/dist/chunk-2CTAWHGB.js +56 -0
  79. package/dist/chunk-2ESAB2PP.js +848 -0
  80. package/dist/chunk-2GP3LH7J.js +194 -0
  81. package/dist/chunk-2UGYE6EJ.js +54 -0
  82. package/dist/chunk-3TJBSAIO.js +170 -0
  83. package/dist/chunk-46KQE4DV.js +418 -0
  84. package/dist/chunk-4ICGMPPE.js +56 -0
  85. package/dist/chunk-4RQTQDHF.js +5214 -0
  86. package/dist/chunk-5FD6NRGE.js +472 -0
  87. package/dist/chunk-5JBOGNSG.js +159 -0
  88. package/dist/chunk-5OWPH4IH.js +626 -0
  89. package/dist/chunk-63TCOVAK.js +30 -0
  90. package/dist/chunk-7ONTCJWB.js +1219 -0
  91. package/dist/chunk-7Q4KAFCS.js +281 -0
  92. package/dist/chunk-7UXV4IX5.js +102 -0
  93. package/dist/chunk-7ZCYC2DQ.js +70 -0
  94. package/dist/chunk-AQSZLUDV.js +184 -0
  95. package/dist/chunk-BBA5MAFS.js +240 -0
  96. package/dist/chunk-BNJC6OX5.js +2102 -0
  97. package/dist/chunk-BOQYGAYA.js +119 -0
  98. package/dist/chunk-C4YACFGH.js +692 -0
  99. package/dist/chunk-CKO54XWB.js +54 -0
  100. package/dist/chunk-COWLQ74R.js +82 -0
  101. package/dist/chunk-CU434U4N.js +35 -0
  102. package/dist/chunk-CZOJUH3C.js +30 -0
  103. package/dist/chunk-CZOJUH3C.js.map +7 -0
  104. package/dist/chunk-D22DJFFZ.js +254 -0
  105. package/dist/chunk-D22DJFFZ.js.map +7 -0
  106. package/dist/chunk-D2YPS46O.js +266 -0
  107. package/dist/chunk-DVSTBGZT.js +182 -0
  108. package/dist/chunk-EIO6DMIQ.js +31 -0
  109. package/dist/chunk-EM56Y4X6.js +2685 -0
  110. package/dist/chunk-F6CYUMSM.js +37 -0
  111. package/dist/chunk-FUTHP5J4.js +274 -0
  112. package/dist/chunk-G5GFCBJT.js +217 -0
  113. package/dist/chunk-GOL6A746.js +96 -0
  114. package/dist/chunk-GVLXSPTN.js +141 -0
  115. package/dist/chunk-HNU4RYI5.js +203 -0
  116. package/dist/chunk-HTIZFNBC.js +4389 -0
  117. package/dist/chunk-HUF5BTO6.js +562 -0
  118. package/dist/chunk-HWP3U2VY.js +382 -0
  119. package/dist/chunk-JEXS72M5.js +550 -0
  120. package/dist/chunk-JNIYPQWY.js +176 -0
  121. package/dist/chunk-K5RCZIZN.js +2799 -0
  122. package/dist/chunk-KA3KYNOP.js +195 -0
  123. package/dist/chunk-KGFH5VTH.js +444 -0
  124. package/dist/chunk-KTRDLHCP.js +397 -0
  125. package/dist/chunk-L6TGKNRA.js +516 -0
  126. package/dist/chunk-LN4KNFOQ.js +55 -0
  127. package/dist/chunk-M4ML4ACA.js +134 -0
  128. package/dist/chunk-MIDVLNN3.js +123 -0
  129. package/dist/chunk-MUVXIOXM.js +276 -0
  130. package/dist/chunk-N2RAPA7D.js +42 -0
  131. package/dist/chunk-N2RAPA7D.js.map +7 -0
  132. package/dist/chunk-N6AHRJAM.js +1339 -0
  133. package/dist/chunk-NB4UU4DH.js +54 -0
  134. package/dist/chunk-NGG4737W.js +296 -0
  135. package/dist/chunk-O4BDFBVK.js +1253 -0
  136. package/dist/chunk-OGU7IDV7.js +102 -0
  137. package/dist/chunk-OT2DMA2D.js +652 -0
  138. package/dist/chunk-OT2DMA2D.js.map +7 -0
  139. package/dist/chunk-OVO6NYUR.js +480 -0
  140. package/dist/chunk-OXRZSZKA.js +2008 -0
  141. package/dist/chunk-QMR3QMJG.js +50 -0
  142. package/dist/chunk-QUVGLTCF.js +103 -0
  143. package/dist/chunk-R2H22S4J.js +5786 -0
  144. package/dist/chunk-R2H22S4J.js.map +7 -0
  145. package/dist/chunk-RCLCEA55.js +305 -0
  146. package/dist/chunk-RCVA2RWU.js +466 -0
  147. package/dist/chunk-RSCSTOUN.js +6375 -0
  148. package/dist/chunk-SCXWXLMR.js +237 -0
  149. package/dist/chunk-SQUMXZXI.js +257 -0
  150. package/dist/chunk-T2DORAV4.js +398 -0
  151. package/dist/chunk-T4OGXIFB.js +13624 -0
  152. package/dist/chunk-T4OGXIFB.js.map +7 -0
  153. package/dist/chunk-TBXJ2CUA.js +14 -0
  154. package/dist/chunk-TQLHKDNS.js +140 -0
  155. package/dist/chunk-TTSKLWP7.js +2932 -0
  156. package/dist/chunk-TTSKLWP7.js.map +7 -0
  157. package/dist/chunk-VQD6GZMU.js +59 -0
  158. package/dist/chunk-VZBRG6HQ.js +263 -0
  159. package/dist/chunk-WQHL6SR3.js +468 -0
  160. package/dist/chunk-X7JGAQ5N.js +340 -0
  161. package/dist/chunk-Z6ZFRHXK.js +2334 -0
  162. package/dist/chunk-ZCY72DDM.js +379 -0
  163. package/dist/chunk-ZHY7ZHWC.js +243 -0
  164. package/dist/chunk-ZIMAIUZD.js +26744 -0
  165. package/dist/chunk-ZIMAIUZD.js.map +7 -0
  166. package/dist/chunk-ZLQ6PAI6.js +299 -0
  167. package/dist/chunk-ZUG4EY4T.js +348 -0
  168. package/dist/chunk-ZUXXBQ7D.js +2349 -0
  169. package/dist/chunk-ZUXXBQ7D.js.map +7 -0
  170. package/dist/cohort-2DQOQ5AO.js +66 -0
  171. package/dist/cohortSunburst-W6XC7VD6.js +402 -0
  172. package/dist/condition-3A7I5UQA.js +323 -0
  173. package/dist/controls-G5WYBX4P.js +30 -0
  174. package/dist/controls.config-TAFGM2S2.js +30 -0
  175. package/dist/correlation-K4EOOQJU.js +91 -0
  176. package/dist/customdata.inputui-E7RRN3KY.js +280 -0
  177. package/dist/dataDownload-OXZGAE5R.js +326 -0
  178. package/dist/databrowser.ui-IPUF6LUC.js +424 -0
  179. package/dist/databrowser.ui-IPUF6LUC.js.map +7 -0
  180. package/dist/dictionary-MUNAUI43.js +109 -0
  181. package/dist/dnaMethylation-SOV4HBAX.js +29 -0
  182. package/dist/dnaMethylation.integration.spec-T4KKTMRL.js +194 -0
  183. package/dist/dofetch-2CR2TVWC.js +49 -0
  184. package/dist/e2pca-EIOJCV4O.js +340 -0
  185. package/dist/ep-5QX3CW6D.js +1247 -0
  186. package/dist/expclust.gdc.spec-TNHPZLYQ.js +298 -0
  187. package/dist/facet-I3OC4DK2.js +556 -0
  188. package/dist/gb-WPIUHR3O.js +77 -0
  189. package/dist/geneExpClustering-EYGZENSP.js +240 -0
  190. package/dist/geneExpression-54L3DH32.js +309 -0
  191. package/dist/geneExpression-6S6H2EVY.js +29 -0
  192. package/dist/geneExpression.unit.spec-VVI2MXIH.js +151 -0
  193. package/dist/geneORA-7M64LXZC.js +269 -0
  194. package/dist/geneRanking-676CAA3B.js +544 -0
  195. package/dist/geneVariant-4UPJE6MJ.js +289 -0
  196. package/dist/geneVariant-PFVPL22U.js +32 -0
  197. package/dist/geneVariant.integration.spec-EAJ4OSFQ.js +672 -0
  198. package/dist/genefusion.ui-LP4EJUTO.js +299 -0
  199. package/dist/geneset-ANDOMTPO.js +199 -0
  200. package/dist/genomeBrowser.spec-NUXOOL5N.js +272 -0
  201. package/dist/grin2-K4LRVCES.js +66 -0
  202. package/dist/grin2-YFCWJZFR.js +945 -0
  203. package/dist/hierCluster-POD3DRO4.js +55 -0
  204. package/dist/hierCluster-QA7HXKRD.js +51 -0
  205. package/dist/hierCluster.config-HQ3SVKCE.js +32 -0
  206. package/dist/hierCluster.integration.spec-MOYDWJL3.js +479 -0
  207. package/dist/hierCluster.interactivity-OZTNHXZQ.js +45 -0
  208. package/dist/hierCluster.renderers-46E37NL4.js +18 -0
  209. package/dist/imagePlot-HNAYBWY3.js +152 -0
  210. package/dist/importPlot-XTW46VF4.js +8 -0
  211. package/dist/isoformExpression-2TMTILKG.js +31 -0
  212. package/dist/isoformExpression.unit.spec-SIJWP7TH.js +233 -0
  213. package/dist/jspdf.es.min-GSH2SAQO.js +40 -0
  214. package/dist/junction-AICKHNXX.js +32 -0
  215. package/dist/junction.customTerm-5STKYZ4B.js +15 -0
  216. package/dist/junction.unit.spec-EXFN4MLW.js +178 -0
  217. package/dist/launch.adhoc-PB6PGR7Q.js +33 -0
  218. package/dist/leftlabel.sample-ISUD4A7F.js +253 -0
  219. package/dist/lollipop-5UXUAFYY.js +162 -0
  220. package/dist/maf-L6YD25JK.js +451 -0
  221. package/dist/maftimeline-63YZDGJ3.js +583 -0
  222. package/dist/matrix-OPEBHZCW.js +55 -0
  223. package/dist/matrix-TLMWPG7C.js +50 -0
  224. package/dist/matrix.cells-IELMNYC6.js +25 -0
  225. package/dist/matrix.config-J7SVFXLM.js +33 -0
  226. package/dist/matrix.data-DJTJCPO4.js +22 -0
  227. package/dist/matrix.groups-2REICNZK.js +25 -0
  228. package/dist/matrix.integration.spec-ZXU2OEFU.js +3156 -0
  229. package/dist/matrix.interactivity-SX3OR6OI.js +33 -0
  230. package/dist/matrix.layout-ZJ6X5RON.js +35 -0
  231. package/dist/matrix.legend-ZOP72TIO.js +19 -0
  232. package/dist/matrix.renderers-YUSROXKN.js +30 -0
  233. package/dist/matrix.serieses-UMAZNCMR.js +18 -0
  234. package/dist/matrix.sort-2JNIZHNL.js +25 -0
  235. package/dist/matrix.sort.unit.spec-SNB643Y6.js +464 -0
  236. package/dist/matrix.sorterUi-JXEIY6UL.js +15 -0
  237. package/dist/matrix.sorterUi.unit.spec-LDAT4R3H.js +334 -0
  238. package/dist/matrix.unit.spec-QBQIMDLD.js +146 -0
  239. package/dist/mavb-EQUF3VGG.js +726 -0
  240. package/dist/mds.samplescatterplot-73E45ZT7.js +1545 -0
  241. package/dist/mds.survivalplot-DL53IRVD.js +472 -0
  242. package/dist/multivalue-PQN75ENP.js +79 -0
  243. package/dist/numericDictTermCluster-FGMIOTBO.js +62 -0
  244. package/dist/oncomatrix-CCHWOA3N.js +286 -0
  245. package/dist/oncomatrix.spec-GQT3UTCR.js +439 -0
  246. package/dist/plot.2dvaf-L6ZI5ROR.js +368 -0
  247. package/dist/plot.app-A73VXJCP.js +32 -0
  248. package/dist/plot.barplot-HSCHPOO7.js +93 -0
  249. package/dist/plot.boxplot-AXBVNTNH.js +142 -0
  250. package/dist/plot.brainImaging-PEMURKM3.js +51 -0
  251. package/dist/plot.disco-YKMYYVMV.js +98 -0
  252. package/dist/plot.ssgq-FGMQXKZU.js +130 -0
  253. package/dist/plot.vaf2cov-IBM7NQEB.js +249 -0
  254. package/dist/polar2-N7KWY36S.js +228 -0
  255. package/dist/profileForms-Q4NN7653.js +937 -0
  256. package/dist/profilePlot-SQ77M6LI.js +45 -0
  257. package/dist/proteinView-KSIZRDNP.js +1346 -0
  258. package/dist/proteomeCohortCompare-GYSBJSDY.js +866 -0
  259. package/dist/pseudbulk.unit.spec-XELPZVXM.js +82 -0
  260. package/dist/pseudobulk-H3USXM5U.js +31 -0
  261. package/dist/qualitative-ABXENRAF.js +34 -0
  262. package/dist/qualitative-OSEJTJ4D.js +241 -0
  263. package/dist/radar2-VTDQGHWN.js +323 -0
  264. package/dist/radarFacility2-BWGEC5A2.js +331 -0
  265. package/dist/rememberedGvQ.unit.spec-TWUDSEDP.js +210 -0
  266. package/dist/render-C3XJQ2QY.js +29 -0
  267. package/dist/report-7ZZ44X4R.js +213 -0
  268. package/dist/sampleView-CUCNI65Q.js +39 -0
  269. package/dist/samplelst-S7AJQ36J.js +114 -0
  270. package/dist/samplematrix-U7WM6GNB.js +2188 -0
  271. package/dist/sc-FMJHN2SW.js +77 -0
  272. package/dist/scatter-4UMCJNEH.js +919 -0
  273. package/dist/scatter-KMAZ3ZNR.js +84 -0
  274. package/dist/selectGenomeWithTklst-5SRM45BI.js +125 -0
  275. package/dist/singleCellCellType-GIIICJK5.js +29 -0
  276. package/dist/singleCellCellType.unit.spec-MVA7BMGL.js +150 -0
  277. package/dist/singleCellGeneExpression-2QFQHJJH.js +29 -0
  278. package/dist/singleCellGeneExpression.unit.spec-SAIETYHV.js +144 -0
  279. package/dist/singleCellNumericValue-45H5EPIB.js +29 -0
  280. package/dist/singleCellNumericValue.unit.spec-FNKEJ2WC.js +412 -0
  281. package/dist/singleCellPlot-SP7OEGYQ.js +44 -0
  282. package/dist/singlecell-AVZQX4AH.js +1562 -0
  283. package/dist/singlecell-JQKUHGIH.js +77 -0
  284. package/dist/snp-4SA7VABN.js +29 -0
  285. package/dist/snp.unit.spec-YIYGR6GW.js +167 -0
  286. package/dist/snplocus-TDGQ57ZJ.js +200 -0
  287. package/dist/snplst-SWBGRYPA.js +36 -0
  288. package/dist/spliceevent.a53ss.diagram-YODOBS6U.js +142 -0
  289. package/dist/spliceevent.exonskip.diagram-PMZIQ5UG.js +274 -0
  290. package/dist/spliceevent.noeventdiagram-A4T2PNUX.js +451 -0
  291. package/dist/ssGSEA-U7D6HOIV.js +29 -0
  292. package/dist/ssGSEA.unit.spec-SMNAM5DJ.js +79 -0
  293. package/dist/stattable-DBYMPJU6.js +112 -0
  294. package/dist/studyCatalog-7RABX4W5.js +457 -0
  295. package/dist/summarizeCnvGeneexp-YVRW7LWY.js +154 -0
  296. package/dist/summarizeGeneexpSurvival-ZB7IWGPS.js +101 -0
  297. package/dist/summarizeMutationCnv-CUSYURDK.js +155 -0
  298. package/dist/summarizeMutationDiagnosis-NSPCT5WI.js +31 -0
  299. package/dist/summarizeMutationSurvival-2PZZCC4G.js +95 -0
  300. package/dist/summary-CYDZSICI.js +40 -0
  301. package/dist/summary.integration.spec-2TLKJS3X.js +405 -0
  302. package/dist/summaryInput-BRQ5JRGV.js +238 -0
  303. package/dist/sunburst-435LKL2S.js +34 -0
  304. package/dist/sunburst-D5WAGHX6.js +274 -0
  305. package/dist/survival-M63B6DY5.js +1248 -0
  306. package/dist/survival-M63B6DY5.js.map +7 -0
  307. package/dist/survival-MHESSYWF.js +49 -0
  308. package/dist/survival.integration.spec-WMS3FTNR.js +609 -0
  309. package/dist/svg2pdf.es.min-PHWTISHJ.js +3157 -0
  310. package/dist/svgraph-LYFGVTHI.js +1377 -0
  311. package/dist/svmr-UR67QZIP.js +3834 -0
  312. package/dist/swimmer-RP4SUEZS.js +993 -0
  313. package/dist/table-V4OOMF3B.js +192 -0
  314. package/dist/termCollection-VHGVBSWW.js +29 -0
  315. package/dist/termCollection-WSNM3YFK.js +247 -0
  316. package/dist/termCollection.unit.spec-NCZUZL6P.js +295 -0
  317. package/dist/termCollectionFractionSelection-XM3FJWBQ.js +38 -0
  318. package/dist/termCollectionFractionSelection.unit.spec-VO4SAV72.js +184 -0
  319. package/dist/tk-G5PKWSXJ.js +1193 -0
  320. package/dist/tk-KIELQHVI.js +37 -0
  321. package/dist/tp.ui-HAKSWLFB.js +1453 -0
  322. package/dist/tvs.categorical-G4DM4JY5.js +28 -0
  323. package/dist/tvs.condition-E5NUQONB.js +160 -0
  324. package/dist/tvs.dt-T4BK24VZ.js +34 -0
  325. package/dist/tvs.dtcnv.categorical-V57TZFRA.js +31 -0
  326. package/dist/tvs.dtcnv.continuous-D4YIB4PN.js +72 -0
  327. package/dist/tvs.dtfusion-6DUFLUNH.js +31 -0
  328. package/dist/tvs.dtitd-GOEPAQGR.js +31 -0
  329. package/dist/tvs.dtsnvindel-ASTXGC4O.js +31 -0
  330. package/dist/tvs.dtsv-7TGDEWXK.js +31 -0
  331. package/dist/tvs.multivalue-SEIGL2W6.js +84 -0
  332. package/dist/tvs.numeric-MLLX5L7Z.js +32 -0
  333. package/dist/tvs.samplelst-HAV7C2EA.js +95 -0
  334. package/dist/tvs.survival-3B522MT2.js +110 -0
  335. package/dist/tvs.termCollection-R5NG4VXP.js +118 -0
  336. package/dist/vocabulary-LBNHNSEN.js +32 -0
  337. package/dist/wsi.direct-ZEZO4NLR.js +11515 -0
  338. package/dist/wsi.direct-ZEZO4NLR.js.map +7 -0
  339. package/package.json +3 -3
  340. package/src/databrowser/dictionary.parse.js +4 -1
  341. package/dist/2dmaf-7HOQRW25.js +0 -1362
  342. package/dist/AggMatrixInput-LMVRNQBN.js +0 -402
  343. package/dist/AggregateMatrix-AMQTLJV2.js +0 -37
  344. package/dist/AppHeader-AK7O2HUI.js +0 -826
  345. package/dist/BoxPlot-CE5JWPJH.js +0 -1229
  346. package/dist/BoxPlot-CE5JWPJH.js.map +0 -7
  347. package/dist/CorrelationVolcano-DO7I63FR.js +0 -613
  348. package/dist/Cuminc-NHABXYET.js +0 -1217
  349. package/dist/DE-A327BZNW.js +0 -85
  350. package/dist/DEinput-VKRBFYUE.js +0 -479
  351. package/dist/DM-NU23H5PL.js +0 -86
  352. package/dist/DifferentialAnalysis-SH47YDQQ.js +0 -236
  353. package/dist/Disco-DOLET5UY.js +0 -3384
  354. package/dist/Disco.UI-6J6INV56.js +0 -239
  355. package/dist/DmrPlot-KYZOQB2Y.js +0 -361
  356. package/dist/DmrPlot-KYZOQB2Y.js.map +0 -7
  357. package/dist/GB-LQCK6YNB.js +0 -1388
  358. package/dist/GSEA-KLTV4JDP.js +0 -870
  359. package/dist/GeneExpInput-ZMTWWDO7.js +0 -38
  360. package/dist/Geomap-4NP2JPMA.js +0 -80
  361. package/dist/HicApp-DXF6B4YR.js +0 -2240
  362. package/dist/IDCViewer-HEQYB6AY.js +0 -10808
  363. package/dist/IDCViewer-HEQYB6AY.js.map +0 -7
  364. package/dist/NumBinaryEditor-JZZS67NB.js +0 -274
  365. package/dist/NumBinaryEditor.unit.spec-S2MKCJYX.js +0 -308
  366. package/dist/NumContEditor-IRZPIDJU.js +0 -100
  367. package/dist/NumContEditor.unit.spec-JDSSEJLJ.js +0 -160
  368. package/dist/NumCustomBinEditor-E2FJNISZ.js +0 -29
  369. package/dist/NumCustomBinEditor.unit.spec-26GWME2W.js +0 -393
  370. package/dist/NumDiscreteEditor-JECWQKST.js +0 -165
  371. package/dist/NumDiscreteEditor.unit.spec-DG52CSV5.js +0 -229
  372. package/dist/NumRegularBinEditor-W726TJIB.js +0 -29
  373. package/dist/NumRegularBinEditor.unit.spec-GG7XXYLQ.js +0 -274
  374. package/dist/NumSplineEditor-7UYPJI57.js +0 -205
  375. package/dist/NumSplineEditor.unit.spec-MESJVLZV.js +0 -220
  376. package/dist/NumericDensity-VFXO6VZ7.js +0 -29
  377. package/dist/NumericDensity.unit.spec-OQDBGUQJ.js +0 -414
  378. package/dist/NumericHandler-EJHWVASI.js +0 -30
  379. package/dist/NumericHandler.unit.spec-VUIGKU4C.js +0 -225
  380. package/dist/ProteomeInput-ATBCNQLN.js +0 -610
  381. package/dist/Regression-ZL6XKZA6.js +0 -1412
  382. package/dist/RunChart2-NUSOF6LW.js +0 -744
  383. package/dist/SC-A55NDRZ2.js +0 -1290
  384. package/dist/Violin-DRTD42BR.js +0 -1092
  385. package/dist/Violin-DRTD42BR.js.map +0 -7
  386. package/dist/Volcano-UNZ6OAWB.js +0 -2657
  387. package/dist/Wsi-CC7GX3HL.js +0 -636
  388. package/dist/Wsi-CC7GX3HL.js.map +0 -7
  389. package/dist/aboutSunburst-VTBLSKCY.js +0 -93
  390. package/dist/adSandbox-7RA6NVM4.js +0 -29
  391. package/dist/animatedBubbleChart-BRGFUEYW.js +0 -542
  392. package/dist/app-2GMWQIJZ.js +0 -28
  393. package/dist/app-4KI25R4S.js +0 -38
  394. package/dist/bam-B3JWSAZ5.js +0 -872
  395. package/dist/barchart-E2IWHDLL.js +0 -38
  396. package/dist/barchart2-QDATDPDT.js +0 -305
  397. package/dist/block-IS3WJCNW.js +0 -6203
  398. package/dist/block.init-ZCEUPHX2.js +0 -29
  399. package/dist/block.mds.expressionrank-WCJNZ63X.js +0 -350
  400. package/dist/block.mds.geneboxplot-BCXVN3GL.js +0 -819
  401. package/dist/block.mds.junction-J7H7WNMN.js +0 -1534
  402. package/dist/block.mds.svcnv-GJ6BSNGY.js +0 -6325
  403. package/dist/block.svg-SR5EQSKQ.js +0 -155
  404. package/dist/block.tk.aicheck-RPKZMKLM.js +0 -274
  405. package/dist/block.tk.bam-BDF3UFRA.js +0 -1906
  406. package/dist/block.tk.bigwig.ui-2MG6M4CP.js +0 -202
  407. package/dist/block.tk.hicstraw-JFMLXXLH.js +0 -814
  408. package/dist/block.tk.junction-ZDFTQJGA.js +0 -2353
  409. package/dist/block.tk.junction.textmatrixui-OHAZEQNT.js +0 -190
  410. package/dist/block.tk.ld-BRYYNH55.js +0 -90
  411. package/dist/block.tk.menu-XQKB62BG.js +0 -1050
  412. package/dist/block.tk.pgv-76I52IUX.js +0 -934
  413. package/dist/brainImaging-65UMKH6J.js +0 -550
  414. package/dist/brainRegions-AURQKH5R.js +0 -213
  415. package/dist/bubbleHeatmap-T3LEYZBU.js +0 -374
  416. package/dist/cellTypeBubbleHeatmap-UPY53IPQ.js +0 -274
  417. package/dist/chunk-2CQ4YA7M.js +0 -257
  418. package/dist/chunk-2FTQ5RMP.js +0 -340
  419. package/dist/chunk-2GWAEK4R.js +0 -276
  420. package/dist/chunk-2OMX5AYB.js +0 -195
  421. package/dist/chunk-2VBU42YX.js +0 -299
  422. package/dist/chunk-36CCFKWS.js +0 -134
  423. package/dist/chunk-3A2CWTBI.js +0 -159
  424. package/dist/chunk-3I26BABG.js +0 -182
  425. package/dist/chunk-3TO7TWHS.js +0 -2008
  426. package/dist/chunk-3WU2KUY2.js +0 -13624
  427. package/dist/chunk-3WU2KUY2.js.map +0 -7
  428. package/dist/chunk-3YQYWX4M.js +0 -26716
  429. package/dist/chunk-3YQYWX4M.js.map +0 -7
  430. package/dist/chunk-4MGXKCPS.js +0 -2685
  431. package/dist/chunk-53VTLOOW.js +0 -1339
  432. package/dist/chunk-5DI4UNH5.js +0 -562
  433. package/dist/chunk-6T4MN7LV.js +0 -397
  434. package/dist/chunk-76SL5VYA.js +0 -255
  435. package/dist/chunk-76SL5VYA.js.map +0 -7
  436. package/dist/chunk-7BD532EJ.js +0 -70
  437. package/dist/chunk-7CE2X6HL.js +0 -56
  438. package/dist/chunk-7MJENXZ6.js +0 -2799
  439. package/dist/chunk-7SFK32JP.js +0 -398
  440. package/dist/chunk-7TG44KO3.js +0 -2334
  441. package/dist/chunk-AFEPQY5B.js +0 -2922
  442. package/dist/chunk-AFEPQY5B.js.map +0 -7
  443. package/dist/chunk-C7KUMZQM.js +0 -59
  444. package/dist/chunk-C7ROKWV2.js +0 -140
  445. package/dist/chunk-CAH6LJ5Z.js +0 -31
  446. package/dist/chunk-CDUBFFZ7.js +0 -82
  447. package/dist/chunk-CPVUBEDA.js +0 -54
  448. package/dist/chunk-CPWM4S3K.js +0 -123
  449. package/dist/chunk-DEIIID6R.js +0 -1219
  450. package/dist/chunk-E54XQGQM.js +0 -4389
  451. package/dist/chunk-EYKJQJ7R.js +0 -382
  452. package/dist/chunk-FE5TCBIT.js +0 -30
  453. package/dist/chunk-FZYVPRVQ.js +0 -38
  454. package/dist/chunk-FZYVPRVQ.js.map +0 -7
  455. package/dist/chunk-G4QRB64M.js +0 -418
  456. package/dist/chunk-GBKQHVKJ.js +0 -274
  457. package/dist/chunk-GUW7VTUL.js +0 -281
  458. package/dist/chunk-H7HTCD2Q.js +0 -55
  459. package/dist/chunk-HQNH2UX6.js +0 -194
  460. package/dist/chunk-HYW74ZT2.js +0 -103
  461. package/dist/chunk-HZTSMLBZ.js +0 -466
  462. package/dist/chunk-I2QKZURX.js +0 -5214
  463. package/dist/chunk-II5ZAY52.js +0 -516
  464. package/dist/chunk-IW5XJT3H.js +0 -468
  465. package/dist/chunk-JDRUY7IR.js +0 -266
  466. package/dist/chunk-JHLF2ZC2.js +0 -472
  467. package/dist/chunk-JUPLOOCO.js +0 -141
  468. package/dist/chunk-JXVRNCAZ.js +0 -96
  469. package/dist/chunk-K2ARLT2A.js +0 -26
  470. package/dist/chunk-K2ARLT2A.js.map +0 -7
  471. package/dist/chunk-KBTFT76L.js +0 -2305
  472. package/dist/chunk-KBTFT76L.js.map +0 -7
  473. package/dist/chunk-L2H4W3UM.js +0 -237
  474. package/dist/chunk-LXS2GSF4.js +0 -240
  475. package/dist/chunk-MANAUI7R.js +0 -54
  476. package/dist/chunk-MEUSRAOE.js +0 -170
  477. package/dist/chunk-MG5U4JYY.js +0 -102
  478. package/dist/chunk-MHWYRNGA.js +0 -348
  479. package/dist/chunk-MNN6NFZK.js +0 -203
  480. package/dist/chunk-N4ULQIGJ.js +0 -379
  481. package/dist/chunk-NX5IB4IY.js +0 -37
  482. package/dist/chunk-O3XTTT4K.js +0 -217
  483. package/dist/chunk-PGMHFGW7.js +0 -102
  484. package/dist/chunk-PUIQ3UF7.js +0 -176
  485. package/dist/chunk-QBGMD5UV.js +0 -50
  486. package/dist/chunk-QQH32U6O.js +0 -296
  487. package/dist/chunk-R3RD3VEX.js +0 -184
  488. package/dist/chunk-RIHO7ZD5.js +0 -119
  489. package/dist/chunk-RRKUFU4L.js +0 -243
  490. package/dist/chunk-S72DZX6B.js +0 -848
  491. package/dist/chunk-T4KD2FBB.js +0 -263
  492. package/dist/chunk-TLWU7JWO.js +0 -692
  493. package/dist/chunk-TUZ3MJVF.js +0 -6375
  494. package/dist/chunk-TZVSDB7S.js +0 -2102
  495. package/dist/chunk-UHPFEULI.js +0 -480
  496. package/dist/chunk-WJLRU5OF.js +0 -5786
  497. package/dist/chunk-WJLRU5OF.js.map +0 -7
  498. package/dist/chunk-XYAT642G.js +0 -305
  499. package/dist/chunk-Y3CSXSOZ.js +0 -652
  500. package/dist/chunk-Y3CSXSOZ.js.map +0 -7
  501. package/dist/chunk-YJFK6C2M.js +0 -35
  502. package/dist/chunk-Z44FLO2F.js +0 -626
  503. package/dist/chunk-Z5ECCUNG.js +0 -444
  504. package/dist/chunk-Z6CMJQKG.js +0 -1253
  505. package/dist/chunk-Z6LQ3URB.js +0 -14
  506. package/dist/chunk-ZESHWW2R.js +0 -54
  507. package/dist/chunk-ZK4JKSUK.js +0 -56
  508. package/dist/chunk-ZV7LZY67.js +0 -550
  509. package/dist/cohort-T3SEGYG3.js +0 -66
  510. package/dist/cohortSunburst-HIWGWD7A.js +0 -402
  511. package/dist/condition-KEFHKNUU.js +0 -323
  512. package/dist/controls-MDUZLMY7.js +0 -30
  513. package/dist/controls.config-4XZZXUZV.js +0 -30
  514. package/dist/correlation-55LF7GPF.js +0 -91
  515. package/dist/customdata.inputui-6KIPVY2Q.js +0 -280
  516. package/dist/dataDownload-XCFCSKDO.js +0 -326
  517. package/dist/databrowser.ui-HLWUAHSZ.js +0 -421
  518. package/dist/databrowser.ui-HLWUAHSZ.js.map +0 -7
  519. package/dist/dictionary-P5JGXQSW.js +0 -109
  520. package/dist/dnaMethylation-ZNR5U6HS.js +0 -29
  521. package/dist/dnaMethylation.integration.spec-7AMBXA4M.js +0 -194
  522. package/dist/dofetch-4P5F5ZGU.js +0 -49
  523. package/dist/e2pca-AJQ22AHJ.js +0 -340
  524. package/dist/ep-3ZEN3C4U.js +0 -1247
  525. package/dist/expclust.gdc.spec-IQXJYSCH.js +0 -298
  526. package/dist/facet-RPFQA3DH.js +0 -556
  527. package/dist/gb-R4D647D2.js +0 -77
  528. package/dist/geneExpClustering-JLJL6S3Q.js +0 -240
  529. package/dist/geneExpression-NWNOCRVM.js +0 -309
  530. package/dist/geneExpression-TK75VNQG.js +0 -29
  531. package/dist/geneExpression.unit.spec-4HTUTQ5K.js +0 -151
  532. package/dist/geneORA-7FP6KZSE.js +0 -269
  533. package/dist/geneRanking-SBFOUZTQ.js +0 -544
  534. package/dist/geneVariant-3DHX4LQL.js +0 -289
  535. package/dist/geneVariant-SUQWO6ON.js +0 -32
  536. package/dist/geneVariant.integration.spec-KOUVJAFB.js +0 -672
  537. package/dist/genefusion.ui-DAIBYS5I.js +0 -299
  538. package/dist/geneset-MKSYRPV4.js +0 -199
  539. package/dist/genomeBrowser.spec-JSHMD3CR.js +0 -272
  540. package/dist/grin2-RFRYBHBV.js +0 -945
  541. package/dist/grin2-Z4ETF6OM.js +0 -66
  542. package/dist/hierCluster-C67VO3VF.js +0 -55
  543. package/dist/hierCluster-CEJTROX7.js +0 -51
  544. package/dist/hierCluster.config-G3X5I72U.js +0 -32
  545. package/dist/hierCluster.integration.spec-HTS2GNUR.js +0 -479
  546. package/dist/hierCluster.interactivity-4JVDLIPZ.js +0 -45
  547. package/dist/hierCluster.renderers-YGX6MZZW.js +0 -18
  548. package/dist/imagePlot-HNKJX6YK.js +0 -152
  549. package/dist/importPlot-XUL6XFBL.js +0 -8
  550. package/dist/isoformExpression-ZJJUXJDF.js +0 -31
  551. package/dist/isoformExpression.unit.spec-INU6WFAM.js +0 -233
  552. package/dist/jspdf.es.min-THXUXEDC.js +0 -40
  553. package/dist/junction-FKYIKDC4.js +0 -32
  554. package/dist/junction.customTerm-3R2GNE3A.js +0 -15
  555. package/dist/junction.unit.spec-VRFIOT4T.js +0 -178
  556. package/dist/launch.adhoc-SDMXDSHS.js +0 -33
  557. package/dist/leftlabel.sample-S33KB225.js +0 -253
  558. package/dist/lollipop-WXQOGEY7.js +0 -162
  559. package/dist/maf-K6ZUNABR.js +0 -451
  560. package/dist/maftimeline-Y2LETT7W.js +0 -583
  561. package/dist/matrix-LADX4K5W.js +0 -50
  562. package/dist/matrix-M63KP6IL.js +0 -55
  563. package/dist/matrix.cells-5RTZUJVN.js +0 -25
  564. package/dist/matrix.config-ZMT7A2D5.js +0 -33
  565. package/dist/matrix.data-Y5TPRGMW.js +0 -22
  566. package/dist/matrix.groups-6DXCAY4P.js +0 -25
  567. package/dist/matrix.integration.spec-LJ5EQ65D.js +0 -3156
  568. package/dist/matrix.interactivity-2ISWFOK2.js +0 -33
  569. package/dist/matrix.layout-EAYTUK2H.js +0 -35
  570. package/dist/matrix.legend-S3E76TVO.js +0 -19
  571. package/dist/matrix.renderers-XUMZZUDW.js +0 -30
  572. package/dist/matrix.serieses-3UGLZW25.js +0 -18
  573. package/dist/matrix.sort-A7CNLDUJ.js +0 -25
  574. package/dist/matrix.sort.unit.spec-UPG3D6GE.js +0 -464
  575. package/dist/matrix.sorterUi-6PZR3YOD.js +0 -15
  576. package/dist/matrix.sorterUi.unit.spec-WPMREECT.js +0 -334
  577. package/dist/matrix.unit.spec-Z2HXOXM4.js +0 -146
  578. package/dist/mavb-WT4XM6U3.js +0 -726
  579. package/dist/mds.samplescatterplot-UTEBJF66.js +0 -1545
  580. package/dist/mds.survivalplot-DXWJA4IJ.js +0 -472
  581. package/dist/multivalue-LR7Z3OLZ.js +0 -79
  582. package/dist/numericDictTermCluster-6XDVVWLE.js +0 -62
  583. package/dist/oncomatrix-WV2LSH3X.js +0 -286
  584. package/dist/oncomatrix.spec-S7KHSJJG.js +0 -439
  585. package/dist/plot.2dvaf-FH7PMZ3U.js +0 -368
  586. package/dist/plot.app-DDB6YZJ3.js +0 -32
  587. package/dist/plot.barplot-XVSZDYKB.js +0 -93
  588. package/dist/plot.boxplot-M6URTYED.js +0 -142
  589. package/dist/plot.brainImaging-GNIBY3XC.js +0 -51
  590. package/dist/plot.disco-EH4E7B3O.js +0 -98
  591. package/dist/plot.ssgq-7HIGQHOT.js +0 -130
  592. package/dist/plot.vaf2cov-MGJHP2PV.js +0 -249
  593. package/dist/polar2-VYUW5GZO.js +0 -228
  594. package/dist/profileForms-LHJCFAP6.js +0 -937
  595. package/dist/profilePlot-UF2KERDD.js +0 -45
  596. package/dist/proteinView-5AF4I3PB.js +0 -1346
  597. package/dist/proteomeCohortCompare-4DYWZTLQ.js +0 -866
  598. package/dist/pseudbulk.unit.spec-ZTAP2YYA.js +0 -82
  599. package/dist/pseudobulk-A2KE233U.js +0 -31
  600. package/dist/qualitative-3FDE4JUM.js +0 -34
  601. package/dist/qualitative-NVWG57TK.js +0 -241
  602. package/dist/radar2-3CQ7T5QY.js +0 -323
  603. package/dist/radarFacility2-ERBWZQFH.js +0 -331
  604. package/dist/rememberedGvQ.unit.spec-SHTMMZGG.js +0 -210
  605. package/dist/render-LIUPN5SK.js +0 -29
  606. package/dist/report-JWNWR6NA.js +0 -213
  607. package/dist/sampleView-BQ6HCCKT.js +0 -39
  608. package/dist/samplelst-RQWH7WOX.js +0 -114
  609. package/dist/samplematrix-7FDWXSZA.js +0 -2188
  610. package/dist/sc-J2ZPQFGP.js +0 -77
  611. package/dist/scatter-7FQLITP7.js +0 -919
  612. package/dist/scatter-BDIZX73F.js +0 -84
  613. package/dist/selectGenomeWithTklst-52BHWMVR.js +0 -125
  614. package/dist/singleCellCellType-OC6QG6MU.js +0 -29
  615. package/dist/singleCellCellType.unit.spec-R3QPRXVY.js +0 -150
  616. package/dist/singleCellGeneExpression-QDRIVFQ5.js +0 -29
  617. package/dist/singleCellGeneExpression.unit.spec-FHUA6VWD.js +0 -144
  618. package/dist/singleCellNumericValue-2PKMS7NM.js +0 -29
  619. package/dist/singleCellNumericValue.unit.spec-YXDYOFJ5.js +0 -412
  620. package/dist/singleCellPlot-5RVA7KM7.js +0 -44
  621. package/dist/singlecell-5OUPDXEQ.js +0 -1562
  622. package/dist/singlecell-MLKBNJAG.js +0 -77
  623. package/dist/snp-ARLPF6ZU.js +0 -29
  624. package/dist/snp.unit.spec-MUB7YKMP.js +0 -167
  625. package/dist/snplocus-EZ33TXDU.js +0 -200
  626. package/dist/snplst-GLTNXAE5.js +0 -36
  627. package/dist/spliceevent.a53ss.diagram-FMP6CNCV.js +0 -142
  628. package/dist/spliceevent.exonskip.diagram-QRQ3DZ3I.js +0 -274
  629. package/dist/spliceevent.noeventdiagram-LAPCKJS3.js +0 -451
  630. package/dist/ssGSEA-WUE2PKUU.js +0 -29
  631. package/dist/ssGSEA.unit.spec-Y7KCKEGK.js +0 -79
  632. package/dist/stattable-GZF4ZWTT.js +0 -112
  633. package/dist/studyCatalog-PPV7WB2O.js +0 -457
  634. package/dist/summarizeCnvGeneexp-LZ7UWWZS.js +0 -154
  635. package/dist/summarizeGeneexpSurvival-VBRJFZR6.js +0 -101
  636. package/dist/summarizeMutationCnv-6LUM4YR7.js +0 -155
  637. package/dist/summarizeMutationDiagnosis-B47HKNM6.js +0 -31
  638. package/dist/summarizeMutationSurvival-6GH3MTLN.js +0 -95
  639. package/dist/summary-BBI7MS3B.js +0 -40
  640. package/dist/summary.integration.spec-SYLP7X3F.js +0 -405
  641. package/dist/summaryInput-5PPK7KRL.js +0 -238
  642. package/dist/sunburst-BVPS44ZR.js +0 -34
  643. package/dist/sunburst-H57DYWLE.js +0 -274
  644. package/dist/survival-C26WPJFT.js +0 -1248
  645. package/dist/survival-C26WPJFT.js.map +0 -7
  646. package/dist/survival-PRHRAD2T.js +0 -49
  647. package/dist/survival.integration.spec-KH6GPVZ4.js +0 -609
  648. package/dist/svg2pdf.es.min-BRE45YLJ.js +0 -3157
  649. package/dist/svgraph-VVGRE672.js +0 -1377
  650. package/dist/svmr-OKTQIHLN.js +0 -3834
  651. package/dist/swimmer-U5COUOM6.js +0 -993
  652. package/dist/table-I7SINEY4.js +0 -192
  653. package/dist/termCollection-QCSPDISY.js +0 -29
  654. package/dist/termCollection-TFNI2VIX.js +0 -247
  655. package/dist/termCollection.unit.spec-22E76H2W.js +0 -295
  656. package/dist/termCollectionFractionSelection-VZ5JJ7KV.js +0 -38
  657. package/dist/termCollectionFractionSelection.unit.spec-KCAQU2BV.js +0 -184
  658. package/dist/tk-GBNB42AI.js +0 -37
  659. package/dist/tk-YOBCGYFC.js +0 -1193
  660. package/dist/tp.ui-OEL4S73T.js +0 -1453
  661. package/dist/tvs.categorical-3X6CO5EA.js +0 -28
  662. package/dist/tvs.condition-YZQSSONN.js +0 -160
  663. package/dist/tvs.dt-GCMLLAJC.js +0 -34
  664. package/dist/tvs.dtcnv.categorical-ZSYUQQXP.js +0 -31
  665. package/dist/tvs.dtcnv.continuous-T67YFFAE.js +0 -72
  666. package/dist/tvs.dtfusion-VR2NAX3F.js +0 -31
  667. package/dist/tvs.dtitd-O3MIZPZO.js +0 -31
  668. package/dist/tvs.dtsnvindel-6G7UNHSQ.js +0 -31
  669. package/dist/tvs.dtsv-VZ2I4AMH.js +0 -31
  670. package/dist/tvs.multivalue-6KFI5ELB.js +0 -84
  671. package/dist/tvs.numeric-SFSOLXVF.js +0 -32
  672. package/dist/tvs.samplelst-WD5UMMTP.js +0 -95
  673. package/dist/tvs.survival-A2RUXAXJ.js +0 -110
  674. package/dist/tvs.termCollection-NVW4LO44.js +0 -118
  675. package/dist/vocabulary-FASF5IUM.js +0 -32
  676. package/dist/wsi.direct-O6HFKPCP.js +0 -11514
  677. package/dist/wsi.direct-O6HFKPCP.js.map +0 -7
  678. /package/dist/{2dmaf-7HOQRW25.js.map → 2dmaf-OWA6REJ5.js.map} +0 -0
  679. /package/dist/{AggMatrixInput-LMVRNQBN.js.map → AggMatrixInput-5GC33U5A.js.map} +0 -0
  680. /package/dist/{AggregateMatrix-AMQTLJV2.js.map → AggregateMatrix-CMJFO53B.js.map} +0 -0
  681. /package/dist/{AppHeader-AK7O2HUI.js.map → AppHeader-KJCXF35P.js.map} +0 -0
  682. /package/dist/{CorrelationVolcano-DO7I63FR.js.map → CorrelationVolcano-GHTPFM2V.js.map} +0 -0
  683. /package/dist/{Cuminc-NHABXYET.js.map → Cuminc-HHBYFFFM.js.map} +0 -0
  684. /package/dist/{DE-A327BZNW.js.map → DE-VVKIMVXD.js.map} +0 -0
  685. /package/dist/{DEinput-VKRBFYUE.js.map → DEinput-F7HSM2SO.js.map} +0 -0
  686. /package/dist/{DM-NU23H5PL.js.map → DM-UBCIWZEY.js.map} +0 -0
  687. /package/dist/{DifferentialAnalysis-SH47YDQQ.js.map → DifferentialAnalysis-UUXXMOQS.js.map} +0 -0
  688. /package/dist/{Disco-DOLET5UY.js.map → Disco-NHXU7LG7.js.map} +0 -0
  689. /package/dist/{Disco.UI-6J6INV56.js.map → Disco.UI-GSSSK4YJ.js.map} +0 -0
  690. /package/dist/{GB-LQCK6YNB.js.map → GB-CIQGJBJP.js.map} +0 -0
  691. /package/dist/{GSEA-KLTV4JDP.js.map → GSEA-3GVFEJTX.js.map} +0 -0
  692. /package/dist/{GeneExpInput-ZMTWWDO7.js.map → GeneExpInput-CFU3Q7FM.js.map} +0 -0
  693. /package/dist/{Geomap-4NP2JPMA.js.map → Geomap-NMVFA77Q.js.map} +0 -0
  694. /package/dist/{HicApp-DXF6B4YR.js.map → HicApp-4FCGUUJD.js.map} +0 -0
  695. /package/dist/{NumBinaryEditor-JZZS67NB.js.map → NumBinaryEditor-4WUDJRSU.js.map} +0 -0
  696. /package/dist/{NumBinaryEditor.unit.spec-S2MKCJYX.js.map → NumBinaryEditor.unit.spec-MV53GTGQ.js.map} +0 -0
  697. /package/dist/{NumContEditor-IRZPIDJU.js.map → NumContEditor-U4R6HPDM.js.map} +0 -0
  698. /package/dist/{NumContEditor.unit.spec-JDSSEJLJ.js.map → NumContEditor.unit.spec-J4ANPBSF.js.map} +0 -0
  699. /package/dist/{NumCustomBinEditor-E2FJNISZ.js.map → NumCustomBinEditor-QRGDNFP4.js.map} +0 -0
  700. /package/dist/{NumCustomBinEditor.unit.spec-26GWME2W.js.map → NumCustomBinEditor.unit.spec-PPF233FW.js.map} +0 -0
  701. /package/dist/{NumDiscreteEditor-JECWQKST.js.map → NumDiscreteEditor-LNK4KHSL.js.map} +0 -0
  702. /package/dist/{NumDiscreteEditor.unit.spec-DG52CSV5.js.map → NumDiscreteEditor.unit.spec-QY6O62JU.js.map} +0 -0
  703. /package/dist/{NumRegularBinEditor-W726TJIB.js.map → NumRegularBinEditor-XTINNM5L.js.map} +0 -0
  704. /package/dist/{NumRegularBinEditor.unit.spec-GG7XXYLQ.js.map → NumRegularBinEditor.unit.spec-FSLARHOC.js.map} +0 -0
  705. /package/dist/{NumSplineEditor-7UYPJI57.js.map → NumSplineEditor-YSQTKBFA.js.map} +0 -0
  706. /package/dist/{NumSplineEditor.unit.spec-MESJVLZV.js.map → NumSplineEditor.unit.spec-QNITPY7R.js.map} +0 -0
  707. /package/dist/{NumericDensity-VFXO6VZ7.js.map → NumericDensity-J5WS74JZ.js.map} +0 -0
  708. /package/dist/{NumericDensity.unit.spec-OQDBGUQJ.js.map → NumericDensity.unit.spec-4WQWLSSJ.js.map} +0 -0
  709. /package/dist/{NumericHandler-EJHWVASI.js.map → NumericHandler-ZEWC25U2.js.map} +0 -0
  710. /package/dist/{NumericHandler.unit.spec-VUIGKU4C.js.map → NumericHandler.unit.spec-A3G5FWGV.js.map} +0 -0
  711. /package/dist/{ProteomeInput-ATBCNQLN.js.map → ProteomeInput-7DXGQIOO.js.map} +0 -0
  712. /package/dist/{Regression-ZL6XKZA6.js.map → Regression-VQ5MC6KW.js.map} +0 -0
  713. /package/dist/{RunChart2-NUSOF6LW.js.map → RunChart2-B33CQUXH.js.map} +0 -0
  714. /package/dist/{SC-A55NDRZ2.js.map → SC-LEVWXS4P.js.map} +0 -0
  715. /package/dist/{Volcano-UNZ6OAWB.js.map → Volcano-NTXVM3UR.js.map} +0 -0
  716. /package/dist/{aboutSunburst-VTBLSKCY.js.map → aboutSunburst-NGH3V74S.js.map} +0 -0
  717. /package/dist/{adSandbox-7RA6NVM4.js.map → adSandbox-VOAL4P5A.js.map} +0 -0
  718. /package/dist/{animatedBubbleChart-BRGFUEYW.js.map → animatedBubbleChart-HKOGYPSS.js.map} +0 -0
  719. /package/dist/{app-2GMWQIJZ.js.map → app-AZLUP2BA.js.map} +0 -0
  720. /package/dist/{app-4KI25R4S.js.map → app-JJPKGBEV.js.map} +0 -0
  721. /package/dist/{bam-B3JWSAZ5.js.map → bam-GIZSH2MF.js.map} +0 -0
  722. /package/dist/{barchart-E2IWHDLL.js.map → barchart-CVTXLIIQ.js.map} +0 -0
  723. /package/dist/{barchart2-QDATDPDT.js.map → barchart2-XYC6WITL.js.map} +0 -0
  724. /package/dist/{block-IS3WJCNW.js.map → block-DXRSU62C.js.map} +0 -0
  725. /package/dist/{block.init-ZCEUPHX2.js.map → block.init-U4Y6ROG4.js.map} +0 -0
  726. /package/dist/{block.mds.expressionrank-WCJNZ63X.js.map → block.mds.expressionrank-BB26LVTM.js.map} +0 -0
  727. /package/dist/{block.mds.geneboxplot-BCXVN3GL.js.map → block.mds.geneboxplot-VVKEU3SL.js.map} +0 -0
  728. /package/dist/{block.mds.junction-J7H7WNMN.js.map → block.mds.junction-XUZX6EAQ.js.map} +0 -0
  729. /package/dist/{block.mds.svcnv-GJ6BSNGY.js.map → block.mds.svcnv-WDSACPWG.js.map} +0 -0
  730. /package/dist/{block.svg-SR5EQSKQ.js.map → block.svg-T5BA7VLS.js.map} +0 -0
  731. /package/dist/{block.tk.aicheck-RPKZMKLM.js.map → block.tk.aicheck-3VN2RDPD.js.map} +0 -0
  732. /package/dist/{block.tk.bam-BDF3UFRA.js.map → block.tk.bam-5XZ3N4Y7.js.map} +0 -0
  733. /package/dist/{block.tk.bigwig.ui-2MG6M4CP.js.map → block.tk.bigwig.ui-JODVOS4R.js.map} +0 -0
  734. /package/dist/{block.tk.hicstraw-JFMLXXLH.js.map → block.tk.hicstraw-AFNWJ2YP.js.map} +0 -0
  735. /package/dist/{block.tk.junction-ZDFTQJGA.js.map → block.tk.junction-T2G6XEVS.js.map} +0 -0
  736. /package/dist/{block.tk.junction.textmatrixui-OHAZEQNT.js.map → block.tk.junction.textmatrixui-FL5MZH7K.js.map} +0 -0
  737. /package/dist/{block.tk.ld-BRYYNH55.js.map → block.tk.ld-JKBXDOB5.js.map} +0 -0
  738. /package/dist/{block.tk.menu-XQKB62BG.js.map → block.tk.menu-2X4BN7BN.js.map} +0 -0
  739. /package/dist/{block.tk.pgv-76I52IUX.js.map → block.tk.pgv-ASUVEGQF.js.map} +0 -0
  740. /package/dist/{brainImaging-65UMKH6J.js.map → brainImaging-27442GMQ.js.map} +0 -0
  741. /package/dist/{brainRegions-AURQKH5R.js.map → brainRegions-3367RQCU.js.map} +0 -0
  742. /package/dist/{bubbleHeatmap-T3LEYZBU.js.map → bubbleHeatmap-IOVS6SHX.js.map} +0 -0
  743. /package/dist/{cellTypeBubbleHeatmap-UPY53IPQ.js.map → cellTypeBubbleHeatmap-7XJP6B5W.js.map} +0 -0
  744. /package/dist/{chunk-7CE2X6HL.js.map → chunk-2CTAWHGB.js.map} +0 -0
  745. /package/dist/{chunk-S72DZX6B.js.map → chunk-2ESAB2PP.js.map} +0 -0
  746. /package/dist/{chunk-HQNH2UX6.js.map → chunk-2GP3LH7J.js.map} +0 -0
  747. /package/dist/{chunk-MANAUI7R.js.map → chunk-2UGYE6EJ.js.map} +0 -0
  748. /package/dist/{chunk-MEUSRAOE.js.map → chunk-3TJBSAIO.js.map} +0 -0
  749. /package/dist/{chunk-G4QRB64M.js.map → chunk-46KQE4DV.js.map} +0 -0
  750. /package/dist/{chunk-ZK4JKSUK.js.map → chunk-4ICGMPPE.js.map} +0 -0
  751. /package/dist/{chunk-I2QKZURX.js.map → chunk-4RQTQDHF.js.map} +0 -0
  752. /package/dist/{chunk-JHLF2ZC2.js.map → chunk-5FD6NRGE.js.map} +0 -0
  753. /package/dist/{chunk-3A2CWTBI.js.map → chunk-5JBOGNSG.js.map} +0 -0
  754. /package/dist/{chunk-Z44FLO2F.js.map → chunk-5OWPH4IH.js.map} +0 -0
  755. /package/dist/{chunk-FE5TCBIT.js.map → chunk-63TCOVAK.js.map} +0 -0
  756. /package/dist/{chunk-DEIIID6R.js.map → chunk-7ONTCJWB.js.map} +0 -0
  757. /package/dist/{chunk-GUW7VTUL.js.map → chunk-7Q4KAFCS.js.map} +0 -0
  758. /package/dist/{chunk-PGMHFGW7.js.map → chunk-7UXV4IX5.js.map} +0 -0
  759. /package/dist/{chunk-7BD532EJ.js.map → chunk-7ZCYC2DQ.js.map} +0 -0
  760. /package/dist/{chunk-R3RD3VEX.js.map → chunk-AQSZLUDV.js.map} +0 -0
  761. /package/dist/{chunk-LXS2GSF4.js.map → chunk-BBA5MAFS.js.map} +0 -0
  762. /package/dist/{chunk-TZVSDB7S.js.map → chunk-BNJC6OX5.js.map} +0 -0
  763. /package/dist/{chunk-RIHO7ZD5.js.map → chunk-BOQYGAYA.js.map} +0 -0
  764. /package/dist/{chunk-TLWU7JWO.js.map → chunk-C4YACFGH.js.map} +0 -0
  765. /package/dist/{chunk-ZESHWW2R.js.map → chunk-CKO54XWB.js.map} +0 -0
  766. /package/dist/{chunk-CDUBFFZ7.js.map → chunk-COWLQ74R.js.map} +0 -0
  767. /package/dist/{chunk-YJFK6C2M.js.map → chunk-CU434U4N.js.map} +0 -0
  768. /package/dist/{chunk-JDRUY7IR.js.map → chunk-D2YPS46O.js.map} +0 -0
  769. /package/dist/{chunk-3I26BABG.js.map → chunk-DVSTBGZT.js.map} +0 -0
  770. /package/dist/{chunk-CAH6LJ5Z.js.map → chunk-EIO6DMIQ.js.map} +0 -0
  771. /package/dist/{chunk-4MGXKCPS.js.map → chunk-EM56Y4X6.js.map} +0 -0
  772. /package/dist/{chunk-NX5IB4IY.js.map → chunk-F6CYUMSM.js.map} +0 -0
  773. /package/dist/{chunk-GBKQHVKJ.js.map → chunk-FUTHP5J4.js.map} +0 -0
  774. /package/dist/{chunk-O3XTTT4K.js.map → chunk-G5GFCBJT.js.map} +0 -0
  775. /package/dist/{chunk-JXVRNCAZ.js.map → chunk-GOL6A746.js.map} +0 -0
  776. /package/dist/{chunk-JUPLOOCO.js.map → chunk-GVLXSPTN.js.map} +0 -0
  777. /package/dist/{chunk-MNN6NFZK.js.map → chunk-HNU4RYI5.js.map} +0 -0
  778. /package/dist/{chunk-E54XQGQM.js.map → chunk-HTIZFNBC.js.map} +0 -0
  779. /package/dist/{chunk-5DI4UNH5.js.map → chunk-HUF5BTO6.js.map} +0 -0
  780. /package/dist/{chunk-EYKJQJ7R.js.map → chunk-HWP3U2VY.js.map} +0 -0
  781. /package/dist/{chunk-ZV7LZY67.js.map → chunk-JEXS72M5.js.map} +0 -0
  782. /package/dist/{chunk-PUIQ3UF7.js.map → chunk-JNIYPQWY.js.map} +0 -0
  783. /package/dist/{chunk-7MJENXZ6.js.map → chunk-K5RCZIZN.js.map} +0 -0
  784. /package/dist/{chunk-2OMX5AYB.js.map → chunk-KA3KYNOP.js.map} +0 -0
  785. /package/dist/{chunk-Z5ECCUNG.js.map → chunk-KGFH5VTH.js.map} +0 -0
  786. /package/dist/{chunk-6T4MN7LV.js.map → chunk-KTRDLHCP.js.map} +0 -0
  787. /package/dist/{chunk-II5ZAY52.js.map → chunk-L6TGKNRA.js.map} +0 -0
  788. /package/dist/{chunk-H7HTCD2Q.js.map → chunk-LN4KNFOQ.js.map} +0 -0
  789. /package/dist/{chunk-36CCFKWS.js.map → chunk-M4ML4ACA.js.map} +0 -0
  790. /package/dist/{chunk-CPWM4S3K.js.map → chunk-MIDVLNN3.js.map} +0 -0
  791. /package/dist/{chunk-2GWAEK4R.js.map → chunk-MUVXIOXM.js.map} +0 -0
  792. /package/dist/{chunk-53VTLOOW.js.map → chunk-N6AHRJAM.js.map} +0 -0
  793. /package/dist/{chunk-CPVUBEDA.js.map → chunk-NB4UU4DH.js.map} +0 -0
  794. /package/dist/{chunk-QQH32U6O.js.map → chunk-NGG4737W.js.map} +0 -0
  795. /package/dist/{chunk-Z6CMJQKG.js.map → chunk-O4BDFBVK.js.map} +0 -0
  796. /package/dist/{chunk-MG5U4JYY.js.map → chunk-OGU7IDV7.js.map} +0 -0
  797. /package/dist/{chunk-UHPFEULI.js.map → chunk-OVO6NYUR.js.map} +0 -0
  798. /package/dist/{chunk-3TO7TWHS.js.map → chunk-OXRZSZKA.js.map} +0 -0
  799. /package/dist/{chunk-QBGMD5UV.js.map → chunk-QMR3QMJG.js.map} +0 -0
  800. /package/dist/{chunk-HYW74ZT2.js.map → chunk-QUVGLTCF.js.map} +0 -0
  801. /package/dist/{chunk-XYAT642G.js.map → chunk-RCLCEA55.js.map} +0 -0
  802. /package/dist/{chunk-HZTSMLBZ.js.map → chunk-RCVA2RWU.js.map} +0 -0
  803. /package/dist/{chunk-TUZ3MJVF.js.map → chunk-RSCSTOUN.js.map} +0 -0
  804. /package/dist/{chunk-L2H4W3UM.js.map → chunk-SCXWXLMR.js.map} +0 -0
  805. /package/dist/{chunk-2CQ4YA7M.js.map → chunk-SQUMXZXI.js.map} +0 -0
  806. /package/dist/{chunk-7SFK32JP.js.map → chunk-T2DORAV4.js.map} +0 -0
  807. /package/dist/{chunk-Z6LQ3URB.js.map → chunk-TBXJ2CUA.js.map} +0 -0
  808. /package/dist/{chunk-C7ROKWV2.js.map → chunk-TQLHKDNS.js.map} +0 -0
  809. /package/dist/{chunk-C7KUMZQM.js.map → chunk-VQD6GZMU.js.map} +0 -0
  810. /package/dist/{chunk-T4KD2FBB.js.map → chunk-VZBRG6HQ.js.map} +0 -0
  811. /package/dist/{chunk-IW5XJT3H.js.map → chunk-WQHL6SR3.js.map} +0 -0
  812. /package/dist/{chunk-2FTQ5RMP.js.map → chunk-X7JGAQ5N.js.map} +0 -0
  813. /package/dist/{chunk-7TG44KO3.js.map → chunk-Z6ZFRHXK.js.map} +0 -0
  814. /package/dist/{chunk-N4ULQIGJ.js.map → chunk-ZCY72DDM.js.map} +0 -0
  815. /package/dist/{chunk-RRKUFU4L.js.map → chunk-ZHY7ZHWC.js.map} +0 -0
  816. /package/dist/{chunk-2VBU42YX.js.map → chunk-ZLQ6PAI6.js.map} +0 -0
  817. /package/dist/{chunk-MHWYRNGA.js.map → chunk-ZUG4EY4T.js.map} +0 -0
  818. /package/dist/{cohort-T3SEGYG3.js.map → cohort-2DQOQ5AO.js.map} +0 -0
  819. /package/dist/{cohortSunburst-HIWGWD7A.js.map → cohortSunburst-W6XC7VD6.js.map} +0 -0
  820. /package/dist/{condition-KEFHKNUU.js.map → condition-3A7I5UQA.js.map} +0 -0
  821. /package/dist/{controls-MDUZLMY7.js.map → controls-G5WYBX4P.js.map} +0 -0
  822. /package/dist/{controls.config-4XZZXUZV.js.map → controls.config-TAFGM2S2.js.map} +0 -0
  823. /package/dist/{correlation-55LF7GPF.js.map → correlation-K4EOOQJU.js.map} +0 -0
  824. /package/dist/{customdata.inputui-6KIPVY2Q.js.map → customdata.inputui-E7RRN3KY.js.map} +0 -0
  825. /package/dist/{dataDownload-XCFCSKDO.js.map → dataDownload-OXZGAE5R.js.map} +0 -0
  826. /package/dist/{dictionary-P5JGXQSW.js.map → dictionary-MUNAUI43.js.map} +0 -0
  827. /package/dist/{dnaMethylation-ZNR5U6HS.js.map → dnaMethylation-SOV4HBAX.js.map} +0 -0
  828. /package/dist/{dnaMethylation.integration.spec-7AMBXA4M.js.map → dnaMethylation.integration.spec-T4KKTMRL.js.map} +0 -0
  829. /package/dist/{dofetch-4P5F5ZGU.js.map → dofetch-2CR2TVWC.js.map} +0 -0
  830. /package/dist/{e2pca-AJQ22AHJ.js.map → e2pca-EIOJCV4O.js.map} +0 -0
  831. /package/dist/{ep-3ZEN3C4U.js.map → ep-5QX3CW6D.js.map} +0 -0
  832. /package/dist/{expclust.gdc.spec-IQXJYSCH.js.map → expclust.gdc.spec-TNHPZLYQ.js.map} +0 -0
  833. /package/dist/{facet-RPFQA3DH.js.map → facet-I3OC4DK2.js.map} +0 -0
  834. /package/dist/{gb-R4D647D2.js.map → gb-WPIUHR3O.js.map} +0 -0
  835. /package/dist/{geneExpClustering-JLJL6S3Q.js.map → geneExpClustering-EYGZENSP.js.map} +0 -0
  836. /package/dist/{geneExpression-NWNOCRVM.js.map → geneExpression-54L3DH32.js.map} +0 -0
  837. /package/dist/{geneExpression-TK75VNQG.js.map → geneExpression-6S6H2EVY.js.map} +0 -0
  838. /package/dist/{geneExpression.unit.spec-4HTUTQ5K.js.map → geneExpression.unit.spec-VVI2MXIH.js.map} +0 -0
  839. /package/dist/{geneORA-7FP6KZSE.js.map → geneORA-7M64LXZC.js.map} +0 -0
  840. /package/dist/{geneRanking-SBFOUZTQ.js.map → geneRanking-676CAA3B.js.map} +0 -0
  841. /package/dist/{geneVariant-3DHX4LQL.js.map → geneVariant-4UPJE6MJ.js.map} +0 -0
  842. /package/dist/{geneVariant-SUQWO6ON.js.map → geneVariant-PFVPL22U.js.map} +0 -0
  843. /package/dist/{geneVariant.integration.spec-KOUVJAFB.js.map → geneVariant.integration.spec-EAJ4OSFQ.js.map} +0 -0
  844. /package/dist/{genefusion.ui-DAIBYS5I.js.map → genefusion.ui-LP4EJUTO.js.map} +0 -0
  845. /package/dist/{geneset-MKSYRPV4.js.map → geneset-ANDOMTPO.js.map} +0 -0
  846. /package/dist/{genomeBrowser.spec-JSHMD3CR.js.map → genomeBrowser.spec-NUXOOL5N.js.map} +0 -0
  847. /package/dist/{grin2-Z4ETF6OM.js.map → grin2-K4LRVCES.js.map} +0 -0
  848. /package/dist/{grin2-RFRYBHBV.js.map → grin2-YFCWJZFR.js.map} +0 -0
  849. /package/dist/{hierCluster-C67VO3VF.js.map → hierCluster-POD3DRO4.js.map} +0 -0
  850. /package/dist/{hierCluster-CEJTROX7.js.map → hierCluster-QA7HXKRD.js.map} +0 -0
  851. /package/dist/{hierCluster.config-G3X5I72U.js.map → hierCluster.config-HQ3SVKCE.js.map} +0 -0
  852. /package/dist/{hierCluster.integration.spec-HTS2GNUR.js.map → hierCluster.integration.spec-MOYDWJL3.js.map} +0 -0
  853. /package/dist/{hierCluster.interactivity-4JVDLIPZ.js.map → hierCluster.interactivity-OZTNHXZQ.js.map} +0 -0
  854. /package/dist/{hierCluster.renderers-YGX6MZZW.js.map → hierCluster.renderers-46E37NL4.js.map} +0 -0
  855. /package/dist/{imagePlot-HNKJX6YK.js.map → imagePlot-HNAYBWY3.js.map} +0 -0
  856. /package/dist/{importPlot-XUL6XFBL.js.map → importPlot-XTW46VF4.js.map} +0 -0
  857. /package/dist/{isoformExpression-ZJJUXJDF.js.map → isoformExpression-2TMTILKG.js.map} +0 -0
  858. /package/dist/{isoformExpression.unit.spec-INU6WFAM.js.map → isoformExpression.unit.spec-SIJWP7TH.js.map} +0 -0
  859. /package/dist/{jspdf.es.min-THXUXEDC.js.map → jspdf.es.min-GSH2SAQO.js.map} +0 -0
  860. /package/dist/{junction-FKYIKDC4.js.map → junction-AICKHNXX.js.map} +0 -0
  861. /package/dist/{junction.customTerm-3R2GNE3A.js.map → junction.customTerm-5STKYZ4B.js.map} +0 -0
  862. /package/dist/{junction.unit.spec-VRFIOT4T.js.map → junction.unit.spec-EXFN4MLW.js.map} +0 -0
  863. /package/dist/{launch.adhoc-SDMXDSHS.js.map → launch.adhoc-PB6PGR7Q.js.map} +0 -0
  864. /package/dist/{leftlabel.sample-S33KB225.js.map → leftlabel.sample-ISUD4A7F.js.map} +0 -0
  865. /package/dist/{lollipop-WXQOGEY7.js.map → lollipop-5UXUAFYY.js.map} +0 -0
  866. /package/dist/{maf-K6ZUNABR.js.map → maf-L6YD25JK.js.map} +0 -0
  867. /package/dist/{maftimeline-Y2LETT7W.js.map → maftimeline-63YZDGJ3.js.map} +0 -0
  868. /package/dist/{matrix-LADX4K5W.js.map → matrix-OPEBHZCW.js.map} +0 -0
  869. /package/dist/{matrix-M63KP6IL.js.map → matrix-TLMWPG7C.js.map} +0 -0
  870. /package/dist/{matrix.cells-5RTZUJVN.js.map → matrix.cells-IELMNYC6.js.map} +0 -0
  871. /package/dist/{matrix.config-ZMT7A2D5.js.map → matrix.config-J7SVFXLM.js.map} +0 -0
  872. /package/dist/{matrix.data-Y5TPRGMW.js.map → matrix.data-DJTJCPO4.js.map} +0 -0
  873. /package/dist/{matrix.groups-6DXCAY4P.js.map → matrix.groups-2REICNZK.js.map} +0 -0
  874. /package/dist/{matrix.integration.spec-LJ5EQ65D.js.map → matrix.integration.spec-ZXU2OEFU.js.map} +0 -0
  875. /package/dist/{matrix.interactivity-2ISWFOK2.js.map → matrix.interactivity-SX3OR6OI.js.map} +0 -0
  876. /package/dist/{matrix.layout-EAYTUK2H.js.map → matrix.layout-ZJ6X5RON.js.map} +0 -0
  877. /package/dist/{matrix.legend-S3E76TVO.js.map → matrix.legend-ZOP72TIO.js.map} +0 -0
  878. /package/dist/{matrix.renderers-XUMZZUDW.js.map → matrix.renderers-YUSROXKN.js.map} +0 -0
  879. /package/dist/{matrix.serieses-3UGLZW25.js.map → matrix.serieses-UMAZNCMR.js.map} +0 -0
  880. /package/dist/{matrix.sort-A7CNLDUJ.js.map → matrix.sort-2JNIZHNL.js.map} +0 -0
  881. /package/dist/{matrix.sort.unit.spec-UPG3D6GE.js.map → matrix.sort.unit.spec-SNB643Y6.js.map} +0 -0
  882. /package/dist/{matrix.sorterUi-6PZR3YOD.js.map → matrix.sorterUi-JXEIY6UL.js.map} +0 -0
  883. /package/dist/{matrix.sorterUi.unit.spec-WPMREECT.js.map → matrix.sorterUi.unit.spec-LDAT4R3H.js.map} +0 -0
  884. /package/dist/{matrix.unit.spec-Z2HXOXM4.js.map → matrix.unit.spec-QBQIMDLD.js.map} +0 -0
  885. /package/dist/{mavb-WT4XM6U3.js.map → mavb-EQUF3VGG.js.map} +0 -0
  886. /package/dist/{mds.samplescatterplot-UTEBJF66.js.map → mds.samplescatterplot-73E45ZT7.js.map} +0 -0
  887. /package/dist/{mds.survivalplot-DXWJA4IJ.js.map → mds.survivalplot-DL53IRVD.js.map} +0 -0
  888. /package/dist/{multivalue-LR7Z3OLZ.js.map → multivalue-PQN75ENP.js.map} +0 -0
  889. /package/dist/{numericDictTermCluster-6XDVVWLE.js.map → numericDictTermCluster-FGMIOTBO.js.map} +0 -0
  890. /package/dist/{oncomatrix-WV2LSH3X.js.map → oncomatrix-CCHWOA3N.js.map} +0 -0
  891. /package/dist/{oncomatrix.spec-S7KHSJJG.js.map → oncomatrix.spec-GQT3UTCR.js.map} +0 -0
  892. /package/dist/{plot.2dvaf-FH7PMZ3U.js.map → plot.2dvaf-L6ZI5ROR.js.map} +0 -0
  893. /package/dist/{plot.app-DDB6YZJ3.js.map → plot.app-A73VXJCP.js.map} +0 -0
  894. /package/dist/{plot.barplot-XVSZDYKB.js.map → plot.barplot-HSCHPOO7.js.map} +0 -0
  895. /package/dist/{plot.boxplot-M6URTYED.js.map → plot.boxplot-AXBVNTNH.js.map} +0 -0
  896. /package/dist/{plot.brainImaging-GNIBY3XC.js.map → plot.brainImaging-PEMURKM3.js.map} +0 -0
  897. /package/dist/{plot.disco-EH4E7B3O.js.map → plot.disco-YKMYYVMV.js.map} +0 -0
  898. /package/dist/{plot.ssgq-7HIGQHOT.js.map → plot.ssgq-FGMQXKZU.js.map} +0 -0
  899. /package/dist/{plot.vaf2cov-MGJHP2PV.js.map → plot.vaf2cov-IBM7NQEB.js.map} +0 -0
  900. /package/dist/{polar2-VYUW5GZO.js.map → polar2-N7KWY36S.js.map} +0 -0
  901. /package/dist/{profileForms-LHJCFAP6.js.map → profileForms-Q4NN7653.js.map} +0 -0
  902. /package/dist/{profilePlot-UF2KERDD.js.map → profilePlot-SQ77M6LI.js.map} +0 -0
  903. /package/dist/{proteinView-5AF4I3PB.js.map → proteinView-KSIZRDNP.js.map} +0 -0
  904. /package/dist/{proteomeCohortCompare-4DYWZTLQ.js.map → proteomeCohortCompare-GYSBJSDY.js.map} +0 -0
  905. /package/dist/{pseudbulk.unit.spec-ZTAP2YYA.js.map → pseudbulk.unit.spec-XELPZVXM.js.map} +0 -0
  906. /package/dist/{pseudobulk-A2KE233U.js.map → pseudobulk-H3USXM5U.js.map} +0 -0
  907. /package/dist/{qualitative-3FDE4JUM.js.map → qualitative-ABXENRAF.js.map} +0 -0
  908. /package/dist/{qualitative-NVWG57TK.js.map → qualitative-OSEJTJ4D.js.map} +0 -0
  909. /package/dist/{radar2-3CQ7T5QY.js.map → radar2-VTDQGHWN.js.map} +0 -0
  910. /package/dist/{radarFacility2-ERBWZQFH.js.map → radarFacility2-BWGEC5A2.js.map} +0 -0
  911. /package/dist/{rememberedGvQ.unit.spec-SHTMMZGG.js.map → rememberedGvQ.unit.spec-TWUDSEDP.js.map} +0 -0
  912. /package/dist/{render-LIUPN5SK.js.map → render-C3XJQ2QY.js.map} +0 -0
  913. /package/dist/{report-JWNWR6NA.js.map → report-7ZZ44X4R.js.map} +0 -0
  914. /package/dist/{sampleView-BQ6HCCKT.js.map → sampleView-CUCNI65Q.js.map} +0 -0
  915. /package/dist/{samplelst-RQWH7WOX.js.map → samplelst-S7AJQ36J.js.map} +0 -0
  916. /package/dist/{samplematrix-7FDWXSZA.js.map → samplematrix-U7WM6GNB.js.map} +0 -0
  917. /package/dist/{sc-J2ZPQFGP.js.map → sc-FMJHN2SW.js.map} +0 -0
  918. /package/dist/{scatter-7FQLITP7.js.map → scatter-4UMCJNEH.js.map} +0 -0
  919. /package/dist/{scatter-BDIZX73F.js.map → scatter-KMAZ3ZNR.js.map} +0 -0
  920. /package/dist/{selectGenomeWithTklst-52BHWMVR.js.map → selectGenomeWithTklst-5SRM45BI.js.map} +0 -0
  921. /package/dist/{singleCellCellType-OC6QG6MU.js.map → singleCellCellType-GIIICJK5.js.map} +0 -0
  922. /package/dist/{singleCellCellType.unit.spec-R3QPRXVY.js.map → singleCellCellType.unit.spec-MVA7BMGL.js.map} +0 -0
  923. /package/dist/{singleCellGeneExpression-QDRIVFQ5.js.map → singleCellGeneExpression-2QFQHJJH.js.map} +0 -0
  924. /package/dist/{singleCellGeneExpression.unit.spec-FHUA6VWD.js.map → singleCellGeneExpression.unit.spec-SAIETYHV.js.map} +0 -0
  925. /package/dist/{singleCellNumericValue-2PKMS7NM.js.map → singleCellNumericValue-45H5EPIB.js.map} +0 -0
  926. /package/dist/{singleCellNumericValue.unit.spec-YXDYOFJ5.js.map → singleCellNumericValue.unit.spec-FNKEJ2WC.js.map} +0 -0
  927. /package/dist/{singleCellPlot-5RVA7KM7.js.map → singleCellPlot-SP7OEGYQ.js.map} +0 -0
  928. /package/dist/{singlecell-5OUPDXEQ.js.map → singlecell-AVZQX4AH.js.map} +0 -0
  929. /package/dist/{singlecell-MLKBNJAG.js.map → singlecell-JQKUHGIH.js.map} +0 -0
  930. /package/dist/{snp-ARLPF6ZU.js.map → snp-4SA7VABN.js.map} +0 -0
  931. /package/dist/{snp.unit.spec-MUB7YKMP.js.map → snp.unit.spec-YIYGR6GW.js.map} +0 -0
  932. /package/dist/{snplocus-EZ33TXDU.js.map → snplocus-TDGQ57ZJ.js.map} +0 -0
  933. /package/dist/{snplst-GLTNXAE5.js.map → snplst-SWBGRYPA.js.map} +0 -0
  934. /package/dist/{spliceevent.a53ss.diagram-FMP6CNCV.js.map → spliceevent.a53ss.diagram-YODOBS6U.js.map} +0 -0
  935. /package/dist/{spliceevent.exonskip.diagram-QRQ3DZ3I.js.map → spliceevent.exonskip.diagram-PMZIQ5UG.js.map} +0 -0
  936. /package/dist/{spliceevent.noeventdiagram-LAPCKJS3.js.map → spliceevent.noeventdiagram-A4T2PNUX.js.map} +0 -0
  937. /package/dist/{ssGSEA-WUE2PKUU.js.map → ssGSEA-U7D6HOIV.js.map} +0 -0
  938. /package/dist/{ssGSEA.unit.spec-Y7KCKEGK.js.map → ssGSEA.unit.spec-SMNAM5DJ.js.map} +0 -0
  939. /package/dist/{stattable-GZF4ZWTT.js.map → stattable-DBYMPJU6.js.map} +0 -0
  940. /package/dist/{studyCatalog-PPV7WB2O.js.map → studyCatalog-7RABX4W5.js.map} +0 -0
  941. /package/dist/{summarizeCnvGeneexp-LZ7UWWZS.js.map → summarizeCnvGeneexp-YVRW7LWY.js.map} +0 -0
  942. /package/dist/{summarizeGeneexpSurvival-VBRJFZR6.js.map → summarizeGeneexpSurvival-ZB7IWGPS.js.map} +0 -0
  943. /package/dist/{summarizeMutationCnv-6LUM4YR7.js.map → summarizeMutationCnv-CUSYURDK.js.map} +0 -0
  944. /package/dist/{summarizeMutationDiagnosis-B47HKNM6.js.map → summarizeMutationDiagnosis-NSPCT5WI.js.map} +0 -0
  945. /package/dist/{summarizeMutationSurvival-6GH3MTLN.js.map → summarizeMutationSurvival-2PZZCC4G.js.map} +0 -0
  946. /package/dist/{summary-BBI7MS3B.js.map → summary-CYDZSICI.js.map} +0 -0
  947. /package/dist/{summary.integration.spec-SYLP7X3F.js.map → summary.integration.spec-2TLKJS3X.js.map} +0 -0
  948. /package/dist/{summaryInput-5PPK7KRL.js.map → summaryInput-BRQ5JRGV.js.map} +0 -0
  949. /package/dist/{sunburst-BVPS44ZR.js.map → sunburst-435LKL2S.js.map} +0 -0
  950. /package/dist/{sunburst-H57DYWLE.js.map → sunburst-D5WAGHX6.js.map} +0 -0
  951. /package/dist/{survival-PRHRAD2T.js.map → survival-MHESSYWF.js.map} +0 -0
  952. /package/dist/{survival.integration.spec-KH6GPVZ4.js.map → survival.integration.spec-WMS3FTNR.js.map} +0 -0
  953. /package/dist/{svg2pdf.es.min-BRE45YLJ.js.map → svg2pdf.es.min-PHWTISHJ.js.map} +0 -0
  954. /package/dist/{svgraph-VVGRE672.js.map → svgraph-LYFGVTHI.js.map} +0 -0
  955. /package/dist/{svmr-OKTQIHLN.js.map → svmr-UR67QZIP.js.map} +0 -0
  956. /package/dist/{swimmer-U5COUOM6.js.map → swimmer-RP4SUEZS.js.map} +0 -0
  957. /package/dist/{table-I7SINEY4.js.map → table-V4OOMF3B.js.map} +0 -0
  958. /package/dist/{termCollection-QCSPDISY.js.map → termCollection-VHGVBSWW.js.map} +0 -0
  959. /package/dist/{termCollection-TFNI2VIX.js.map → termCollection-WSNM3YFK.js.map} +0 -0
  960. /package/dist/{termCollection.unit.spec-22E76H2W.js.map → termCollection.unit.spec-NCZUZL6P.js.map} +0 -0
  961. /package/dist/{termCollectionFractionSelection-VZ5JJ7KV.js.map → termCollectionFractionSelection-XM3FJWBQ.js.map} +0 -0
  962. /package/dist/{termCollectionFractionSelection.unit.spec-KCAQU2BV.js.map → termCollectionFractionSelection.unit.spec-VO4SAV72.js.map} +0 -0
  963. /package/dist/{tk-YOBCGYFC.js.map → tk-G5PKWSXJ.js.map} +0 -0
  964. /package/dist/{tk-GBNB42AI.js.map → tk-KIELQHVI.js.map} +0 -0
  965. /package/dist/{tp.ui-OEL4S73T.js.map → tp.ui-HAKSWLFB.js.map} +0 -0
  966. /package/dist/{tvs.categorical-3X6CO5EA.js.map → tvs.categorical-G4DM4JY5.js.map} +0 -0
  967. /package/dist/{tvs.condition-YZQSSONN.js.map → tvs.condition-E5NUQONB.js.map} +0 -0
  968. /package/dist/{tvs.dt-GCMLLAJC.js.map → tvs.dt-T4BK24VZ.js.map} +0 -0
  969. /package/dist/{tvs.dtcnv.categorical-ZSYUQQXP.js.map → tvs.dtcnv.categorical-V57TZFRA.js.map} +0 -0
  970. /package/dist/{tvs.dtcnv.continuous-T67YFFAE.js.map → tvs.dtcnv.continuous-D4YIB4PN.js.map} +0 -0
  971. /package/dist/{tvs.dtfusion-VR2NAX3F.js.map → tvs.dtfusion-6DUFLUNH.js.map} +0 -0
  972. /package/dist/{tvs.dtitd-O3MIZPZO.js.map → tvs.dtitd-GOEPAQGR.js.map} +0 -0
  973. /package/dist/{tvs.dtsnvindel-6G7UNHSQ.js.map → tvs.dtsnvindel-ASTXGC4O.js.map} +0 -0
  974. /package/dist/{tvs.dtsv-VZ2I4AMH.js.map → tvs.dtsv-7TGDEWXK.js.map} +0 -0
  975. /package/dist/{tvs.multivalue-6KFI5ELB.js.map → tvs.multivalue-SEIGL2W6.js.map} +0 -0
  976. /package/dist/{tvs.numeric-SFSOLXVF.js.map → tvs.numeric-MLLX5L7Z.js.map} +0 -0
  977. /package/dist/{tvs.samplelst-WD5UMMTP.js.map → tvs.samplelst-HAV7C2EA.js.map} +0 -0
  978. /package/dist/{tvs.survival-A2RUXAXJ.js.map → tvs.survival-3B522MT2.js.map} +0 -0
  979. /package/dist/{tvs.termCollection-NVW4LO44.js.map → tvs.termCollection-R5NG4VXP.js.map} +0 -0
  980. /package/dist/{vocabulary-FASF5IUM.js.map → vocabulary-LBNHNSEN.js.map} +0 -0
@@ -1,2305 +0,0 @@
1
- import {
2
- convertUnits,
3
- isNumeric,
4
- isStrictNumeric
5
- } from "./chunk-W5J3LTYS.js";
6
- import {
7
- isNumericTerm
8
- } from "./chunk-JHLF2ZC2.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-WJLRU5OF.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/scatter.js
621
- var xAxisOffSet = 80;
622
- var yAxisOffSet = 30;
623
- function getCoordinate(val, min, max) {
624
- if (min != null && val < min) return min;
625
- if (max != null && val > max) return max;
626
- return val;
627
- }
628
- function calculatePadding(minScale, maxScale, min, max) {
629
- return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
630
- }
631
-
632
- // ../shared/utils/dist/src/termdb.bins.js
633
- function validate_bins(binconfig) {
634
- const bc = binconfig;
635
- if (!bc || typeof bc !== "object") throw "bin schema must be an object";
636
- if (!("type" in bc)) bc.type = "regular-bin";
637
- if (bc.type == "custom-bin") {
638
- if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
639
- if (!bc.lst.length) throw "binconfig.lst must have entries";
640
- const first_bin = bc.lst[0];
641
- const last_bin = bc.lst[bc.lst.length - 1];
642
- for (const bin of bc.lst) {
643
- if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
644
- throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
645
- }
646
- if (bin == first_bin) {
647
- if ("startunbounded" in bin && !bin.startunbounded) {
648
- throw `a custom first bin must not set bin.startunbounded to false`;
649
- }
650
- bin.startunbounded = true;
651
- if ("start" in bin) {
652
- throw "a custom first bin must not set a bin.start value";
653
- }
654
- if ("start_percentile" in bin) {
655
- throw "the first bin must not set a bin.start_percentile value";
656
- }
657
- if (!("stop" in bin)) {
658
- throw `a custom first bin must define a bin.stop value`;
659
- }
660
- if (!isStrictNumeric(bin.stop)) {
661
- throw `a custom first bin.stop value should be numeric`;
662
- }
663
- } else if (bin == last_bin) {
664
- if (!("start" in bin)) {
665
- throw `a custom last bin must define a bin.start value`;
666
- }
667
- if (!isStrictNumeric(bin.start)) {
668
- throw `a custom last bin.start must be numeric`;
669
- }
670
- if ("stopunbounded" in bin && !bin.stopunbounded) {
671
- throw "a custom last bin must not set bin.stopunbounded to false";
672
- }
673
- bin.stopunbounded = true;
674
- if ("stop" in bin) {
675
- throw "a custom last bin must not set a bin.stop value";
676
- }
677
- } else {
678
- if (bin.startunbounded || bin.stopunbounded) {
679
- throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
680
- }
681
- if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
682
- if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
683
- }
684
- }
685
- } else if (bc.type == "regular-bin") {
686
- if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
687
- if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
688
- if (!bc.startinclusive && !bc.stopinclusive) {
689
- bc.startinclusive = true;
690
- bc.stopinclusive = false;
691
- }
692
- if (!bc.first_bin) throw "first_bin{} missing";
693
- if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
694
- if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
695
- {
696
- const b = bc.first_bin;
697
- b.startunbounded = true;
698
- if (b.stop_percentile) {
699
- if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
700
- if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
701
- } else if (!Number.isFinite(b.stop)) {
702
- throw "first_bin.stop not a number when stop_percentile is not set";
703
- }
704
- }
705
- if (bc.last_bin) {
706
- const b = bc.last_bin;
707
- if (b.start_percentile) {
708
- if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
709
- if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
710
- } else if (!Number.isFinite(b.start)) {
711
- throw "last_bin.start not a number when start_percentile is not set";
712
- }
713
- b.stopunbounded = true;
714
- if ("stop" in b) {
715
- throw "a regular last bin must not set a bin.stop value";
716
- }
717
- }
718
- } else {
719
- throw `invalid binconfig.type="${bc.type}"`;
720
- }
721
- }
722
- var maxNumBins = 100;
723
- function compute_bins(binconfig, summaryfxn, valueConversion) {
724
- const bc = binconfig;
725
- validate_bins(bc);
726
- if (bc.lst) {
727
- if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
728
- if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
729
- assignBinColors(bc.lst);
730
- }
731
- if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
732
- if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
733
- const percentiles = target_percentiles(bc);
734
- const summary = summaryfxn(percentiles);
735
- if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
736
- bc.results = { summary };
737
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
738
- const minFloor = Math.floor(summary.min * 100) / 100;
739
- const maxCeil = Math.ceil(summary.max * 100) / 100;
740
- const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
741
- let max = maxCeil, last_start, last_stop;
742
- if (bc.last_bin) {
743
- 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;
744
- 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;
745
- 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;
746
- } else if (bc.lst) {
747
- const last_bin = bc.lst[bc.lst.length - 1];
748
- last_start = last_bin.start;
749
- last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
750
- max = last_stop;
751
- } else {
752
- last_start = maxCeil;
753
- last_stop = maxCeil;
754
- }
755
- const numericMax = isStrictNumeric(max);
756
- const numericLastStart = isStrictNumeric(last_start);
757
- const numericLastStop = isStrictNumeric(last_stop);
758
- if (!numericMax && !numericLastStart) return [];
759
- const bins = [];
760
- let currBin = {
761
- startunbounded: bc.first_bin.startunbounded,
762
- start: bc.first_bin.startunbounded ? void 0 : min,
763
- 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,
764
- startinclusive: bc.startinclusive,
765
- stopinclusive: bc.stopinclusive
766
- };
767
- if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
768
- while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
769
- bins.push(currBin);
770
- if (currBin.stop >= max) {
771
- currBin.stopunbounded = true;
772
- if (bins.length > 1) {
773
- delete currBin.stop;
774
- }
775
- }
776
- currBin.label = get_bin_label(currBin, bc, valueConversion);
777
- if (currBin.stopunbounded) break;
778
- const upper = currBin.stop + bc.bin_size;
779
- const previousStop = currBin.stop;
780
- currBin = {
781
- startinclusive: bc.startinclusive,
782
- stopinclusive: bc.stopinclusive,
783
- start: previousStop,
784
- stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
785
- };
786
- if (currBin.stop >= max) {
787
- currBin.stop = max;
788
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
789
- if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
790
- }
791
- if (numericLastStart && currBin.start == last_start) {
792
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
793
- }
794
- if (currBin.start > currBin.stop) {
795
- if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
796
- currBin.stopunbounded = true;
797
- else break;
798
- }
799
- if (bins.length + 1 >= maxNumBins) {
800
- delete currBin.stop;
801
- currBin.stopunbounded = true;
802
- currBin.label = get_bin_label(currBin, bc, valueConversion);
803
- if (!bins.includes(currBin)) bins.push(currBin);
804
- const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
805
- throw new Error(hint + " (max_num_bins_reached)");
806
- }
807
- }
808
- delete bc.binLabelFormatter;
809
- if (bins.length > 1) {
810
- delete bins[bins.length - 1].stop;
811
- }
812
- assignBinColors(bins);
813
- return bins;
814
- }
815
- function assignBinColors(lst) {
816
- const k2c = getColors(lst.length);
817
- for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
818
- return lst;
819
- }
820
- function getNumDecimalsFormatter(bc) {
821
- return "rounding" in bc ? format(bc.rounding) : (d) => d;
822
- }
823
- function get_bin_label(bin, binconfig, valueConversion) {
824
- if (!bin) return "missing bin.label";
825
- if (bin.label) return bin.label;
826
- const bc = binconfig;
827
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
828
- if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
829
- if (bc.startinclusive) bin.startinclusive = true;
830
- else if (bc.stopinclusive) bin.stopinclusive = true;
831
- }
832
- const start = bc.use_as == "bins" || bin.start;
833
- const stop = bc.use_as == "bins" || bin.stop;
834
- let label_offset = 0;
835
- if ("label_offset" in bc) {
836
- bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
837
- if (!bc.label_offset_ignored) label_offset = bc.label_offset;
838
- } else if (bc.bin_size === 1 && bc.termtype == "integer") {
839
- label_offset = 1;
840
- }
841
- if (bin.startunbounded) {
842
- const oper = bin.stopinclusive ? "\u2264" : "<";
843
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
844
- return oper + v1;
845
- }
846
- if (bin.stopunbounded || start === stop) {
847
- const oper = bin.startinclusive ? "\u2265" : ">";
848
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
849
- return oper + v0;
850
- }
851
- if (label_offset && bin.startinclusive && !bin.stopinclusive) {
852
- if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
853
- return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
854
- } else {
855
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
856
- const v1 = valueConversion ? convertUnits(
857
- stop - label_offset,
858
- valueConversion.fromUnit,
859
- valueConversion.toUnit,
860
- valueConversion.scaleFactor,
861
- true
862
- ) : bc.binLabelFormatter(stop - label_offset);
863
- return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
864
- }
865
- } else {
866
- const oper0 = bin.startinclusive ? "" : ">";
867
- const oper1 = bin.stopinclusive ? "" : "<";
868
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
869
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
870
- if (+v0 >= +v1) {
871
- const oper = bin.startinclusive ? "\u2265" : ">";
872
- return oper + v0;
873
- } else {
874
- return oper0 + v0 + " to " + oper1 + v1;
875
- }
876
- }
877
- }
878
- function get_bin_range_equation(bin, binconfig, valueConversion) {
879
- const x = '<span style="font-family:Times;font-style:italic;">x</span>';
880
- let range_eq;
881
- const copy = structuredClone(bin);
882
- copy.label = "";
883
- for (const k of ["start", "stop"]) {
884
- if (k in copy && typeof copy[k] != "number") copy[k] = isNumeric(copy[k]) ? Number(copy[k]) : NaN;
885
- }
886
- const bin_label = get_bin_label(copy, binconfig, valueConversion);
887
- if (bin.startunbounded || bin.stopunbounded) {
888
- range_eq = x + " " + bin_label;
889
- } else if (bin.startinclusive) {
890
- range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
891
- } else if (bin.stopinclusive) {
892
- range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
893
- }
894
- return range_eq;
895
- }
896
- function target_percentiles(binconfig) {
897
- const percentiles = [];
898
- const f = binconfig.first_bin;
899
- if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
900
- if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
901
- const l = binconfig.last_bin;
902
- if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
903
- if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
904
- return percentiles;
905
- }
906
-
907
- // ../shared/utils/dist/src/termdb.initbinconfig.js
908
- function initBinConfig(data, opts = {}) {
909
- if (!data.length)
910
- return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
911
- if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
912
- let binConfig;
913
- const s = new Set(data);
914
- if (s.size === 1) {
915
- const value = [...s][0];
916
- binConfig = {
917
- type: "custom-bin",
918
- lst: [
919
- { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
920
- { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
921
- { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
922
- ]
923
- };
924
- } else {
925
- data.sort((a, b) => a - b);
926
- const l = data.length;
927
- const min = data[0];
928
- const max = data[l - 1];
929
- const p5idx = Math.ceil(l * 0.05) - 1;
930
- const p98idx = Math.ceil(l * 0.98) - 1;
931
- const p5 = data[p5idx];
932
- const p98 = data[p98idx];
933
- const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
934
- const firstBinStop = Math.max(min + binSize, p5);
935
- const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
936
- binConfig = {
937
- type: "regular-bin",
938
- startinclusive: true,
939
- bin_size: binSize_rnd,
940
- first_bin: { stop: firstBinStop_rnd }
941
- };
942
- if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
943
- if (rounding) binConfig.rounding = rounding;
944
- }
945
- if ("format" in opts) {
946
- if (opts.format === "string") {
947
- return JSON.stringify(binConfig);
948
- } else {
949
- throw "options are not in the correct format";
950
- }
951
- } else {
952
- return binConfig;
953
- }
954
- }
955
- function roundBinVals(binSize, firstBinStop, max, min) {
956
- let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
957
- const log = Math.floor(Math.log10(binSize));
958
- if (binSize >= 0.1 && binSize <= 2) {
959
- binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
960
- firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
961
- } else {
962
- binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
963
- firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
964
- if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
965
- if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
966
- if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
967
- }
968
- if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
969
- const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
970
- if (max > eighthBinStop_rnd) {
971
- lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
972
- }
973
- if (binSize < 1) {
974
- const digits = Math.abs(log);
975
- binSize_rnd = Number(binSize_rnd.toFixed(digits));
976
- firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
977
- if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
978
- rounding = "." + digits + "f";
979
- }
980
- if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
981
- return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
982
- }
983
-
984
- // ../shared/utils/dist/src/termdb.usecase.js
985
- var graphableTypes = /* @__PURE__ */ new Set([
986
- "categorical",
987
- "integer",
988
- "float",
989
- "condition",
990
- "survival",
991
- "snplst",
992
- "snplocus",
993
- "geneVariant",
994
- "samplelst",
995
- "geneExpression",
996
- ISOFORM_EXPRESSION,
997
- "dtcnv",
998
- "dtsnvindel",
999
- "dtfusion",
1000
- "dtsv",
1001
- "date",
1002
- TermTypes.SSGSEA,
1003
- TermTypes.DNA_METHYLATION,
1004
- TermTypes.METABOLITE_INTENSITY,
1005
- TermTypes.PROTEOME_ABUNDANCE,
1006
- TermTypes.PSEUDOBULK,
1007
- TermTypes.JUNCTION,
1008
- SINGLECELL_GENE_EXPRESSION,
1009
- SINGLECELL_CELLTYPE,
1010
- TermTypes.SINGLECELL_NUMERIC_VALUE,
1011
- TermTypes.SNP,
1012
- TermTypes.TERM_COLLECTION,
1013
- TermTypes.COHORT,
1014
- TermTypes.MULTIVALUE
1015
- ]);
1016
- function isUsableTerm(term, _usecase, termdbConfig, ds) {
1017
- const usecase = _usecase || {};
1018
- if (typeof ds?.usecase?.[usecase.target] == "function") {
1019
- return ds.usecase[usecase.target](term, usecase);
1020
- }
1021
- const uses = /* @__PURE__ */ new Set();
1022
- const child_types = term.child_types || [];
1023
- switch (usecase.target) {
1024
- case "barchart":
1025
- case "violin":
1026
- case "boxplot":
1027
- case "summary": {
1028
- const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
1029
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1030
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1031
- return uses;
1032
- }
1033
- case "summaryInput":
1034
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1035
- const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
1036
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1037
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1038
- return uses;
1039
- } else {
1040
- if (graphableTypes.has(term.type)) uses.add("plot");
1041
- if (!term.isleaf) uses.add("branch");
1042
- return uses;
1043
- }
1044
- case "matrix":
1045
- if (term.type) uses.add("plot");
1046
- if (!term.isleaf) uses.add("branch");
1047
- return uses;
1048
- case "table":
1049
- if (usecase.detail == "term") uses.add("plot");
1050
- if (child_types.length > 1) uses.add("branch");
1051
- return uses;
1052
- case "sampleScatter":
1053
- if (usecase.detail == "numeric") {
1054
- if (isNumericTerm(term)) {
1055
- uses.add("plot");
1056
- }
1057
- if (hasNumericChild(child_types)) uses.add("branch");
1058
- } else {
1059
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1060
- if (!term.isleaf) uses.add("branch");
1061
- }
1062
- return uses;
1063
- case "runChart2":
1064
- if (usecase.detail == "date" || usecase.detail == "xtw") {
1065
- if (term.type == "date") {
1066
- uses.add("plot");
1067
- }
1068
- if (child_types.includes("date")) uses.add("branch");
1069
- } else if (usecase.detail == "numeric") {
1070
- if (isNumericTerm(term) && term.type != "date") {
1071
- uses.add("plot");
1072
- }
1073
- if (hasNumericChild(child_types)) uses.add("branch");
1074
- } else {
1075
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1076
- if (!term.isleaf) uses.add("branch");
1077
- }
1078
- return uses;
1079
- case "numericDictTermCluster":
1080
- if (!usecase.detail?.exclude?.includes(term.id)) {
1081
- if (isNumericTerm(term)) {
1082
- uses.add("plot");
1083
- }
1084
- if (hasNumericChild(child_types)) {
1085
- uses.add("branch");
1086
- }
1087
- }
1088
- return uses;
1089
- case "termCollections":
1090
- if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1091
- if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1092
- return uses;
1093
- case "profileForms":
1094
- if (!term.isleaf) {
1095
- const ancestors = term.id.split("__").length;
1096
- if (ancestors == 3) {
1097
- uses.add("plot");
1098
- } else if (ancestors < 3) uses.add("branch");
1099
- }
1100
- return uses;
1101
- // case 'boxplot':
1102
- // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1103
- // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1104
- // return uses
1105
- case "cuminc":
1106
- if (usecase.detail == "term") {
1107
- if (term.type == "condition") uses.add("plot");
1108
- if (child_types.includes("condition")) uses.add("branch");
1109
- return uses;
1110
- }
1111
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1112
- if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
1113
- uses.add("plot");
1114
- if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
1115
- return uses;
1116
- }
1117
- return uses;
1118
- case "survival":
1119
- if (usecase.detail == "term") {
1120
- if (term.type == "survival") uses.add("plot");
1121
- if (child_types.includes("survival")) uses.add("branch");
1122
- return uses;
1123
- }
1124
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1125
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1126
- if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1127
- return uses;
1128
- }
1129
- return uses;
1130
- case "regression":
1131
- if (usecase.detail == "outcome") {
1132
- if (usecase.regressionType == "linear") {
1133
- if (term.type == "float" || term.type == "integer") uses.add("plot");
1134
- if (hasNumericChild(child_types)) uses.add("branch");
1135
- return uses;
1136
- }
1137
- if (usecase.regressionType == "logistic") {
1138
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1139
- if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1140
- return uses;
1141
- } else if (usecase.regressionType == "cox") {
1142
- if (term.type == "condition" || term.type == "survival") uses.add("plot");
1143
- if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1144
- return uses;
1145
- }
1146
- }
1147
- if (usecase.detail == "independent") {
1148
- if (term.type == TermTypes.TERM_COLLECTION) {
1149
- if (term.memberType == "numeric") uses.add("plot");
1150
- return uses;
1151
- }
1152
- if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1153
- uses.add("plot");
1154
- if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1155
- return uses;
1156
- }
1157
- return uses;
1158
- case "filter": {
1159
- if (term.type == "samplelst" && !samplelstListsSamples(term)) return uses;
1160
- const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1161
- if (exlst) {
1162
- if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1163
- if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1164
- return uses;
1165
- }
1166
- if (graphableTypes.has(term.type)) uses.add("plot");
1167
- if (!term.isleaf) uses.add("branch");
1168
- return uses;
1169
- }
1170
- case "correlationVolcano":
1171
- if (usecase.detail == "numeric") {
1172
- if (isNumericTerm(term)) {
1173
- uses.add("plot");
1174
- }
1175
- if (hasNumericChild(child_types)) uses.add("branch");
1176
- } else {
1177
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1178
- if (!term.isleaf) uses.add("branch");
1179
- }
1180
- return uses;
1181
- case "proteinView":
1182
- if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1183
- if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1184
- return uses;
1185
- case "brainImaging": {
1186
- const allowMultivalue = usecase.detail == "term0";
1187
- if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1188
- if (!term.isleaf) uses.add("branch");
1189
- return uses;
1190
- }
1191
- case "swimmer": {
1192
- if (usecase.detail == "pointTerm") {
1193
- const types = usecase.sampleTypes || [];
1194
- if (term.sample_type == null || !types.includes(String(term.sample_type))) return uses;
1195
- const excluded2 = ["survival", "multivalue"];
1196
- if (graphableTypes.has(term.type) && !excluded2.includes(term.type)) uses.add("plot");
1197
- if (hasAllowedChildTypes(child_types, excluded2)) uses.add("branch");
1198
- return uses;
1199
- }
1200
- const excluded = ["survival"];
1201
- if (graphableTypes.has(term.type) && !excluded.includes(term.type)) uses.add("plot");
1202
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1203
- return uses;
1204
- }
1205
- case "sunburst": {
1206
- const allowed = ["categorical", "integer", "float"];
1207
- const types = usecase.sampleTypes;
1208
- if (types && term.sample_type != null && !types.includes(String(term.sample_type))) return uses;
1209
- if (allowed.includes(term.type)) uses.add("plot");
1210
- if (hasChildTypes(child_types, allowed)) uses.add("branch");
1211
- return uses;
1212
- }
1213
- case "dictionary":
1214
- if (graphableTypes.has(term.type)) uses.add("plot");
1215
- if (!term.isleaf) uses.add("branch");
1216
- return uses;
1217
- default:
1218
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1219
- if (!term.isleaf) uses.add("branch");
1220
- return uses;
1221
- }
1222
- }
1223
- function hasAllowedChildTypes(child_types, excluded_types) {
1224
- if (!child_types.length) {
1225
- return false;
1226
- }
1227
- if (!excluded_types?.length) {
1228
- return true;
1229
- }
1230
- if (child_types.some((type) => !excluded_types.includes(type))) {
1231
- return true;
1232
- }
1233
- }
1234
- function hasNumericChild(child_types) {
1235
- return child_types.includes("float") || child_types.includes("integer");
1236
- }
1237
- function hasChildTypes(child_types, expected_types) {
1238
- for (const a of expected_types) {
1239
- if (child_types.includes(a)) return true;
1240
- }
1241
- }
1242
- function samplelstListsSamples(term) {
1243
- const groups = Object.values(term.values || {});
1244
- return groups.length > 0 && groups.every((g) => Array.isArray(g.list));
1245
- }
1246
-
1247
- // ../shared/utils/dist/src/time.js
1248
- function formatElapsedTime(ms, precision = 2) {
1249
- if (typeof ms !== "number" || isNaN(ms)) {
1250
- return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1251
- }
1252
- if (!isFinite(ms)) {
1253
- return ms > 0 ? "Infinite time" : "-Infinite time";
1254
- }
1255
- const absMs = Math.abs(ms);
1256
- const sign = ms < 0 ? "-" : "";
1257
- if (absMs < 1e3) {
1258
- return `${sign}${absMs}ms`;
1259
- }
1260
- if (absMs < 6e4) {
1261
- return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1262
- }
1263
- const minutes = Math.floor(absMs / 6e4);
1264
- const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1265
- return `${sign}${minutes}m ${seconds}s`;
1266
- }
1267
-
1268
- // ../shared/utils/dist/src/vcf.ann.js
1269
- function parse_ANN(str, header, m) {
1270
- if (!header) {
1271
- return null;
1272
- }
1273
- for (const thisannotation of str.split(",")) {
1274
- const lst = thisannotation.replace(/&/g, ",").split("|");
1275
- const o = {};
1276
- for (let i = 0; i < header.length; i++) {
1277
- if (lst[i]) {
1278
- o[header[i].name] = lst[i];
1279
- }
1280
- }
1281
- if (!o.Allele) {
1282
- continue;
1283
- }
1284
- let allele = null;
1285
- for (const a of m.alleles) {
1286
- if (a.allele == o.Allele) {
1287
- allele = a;
1288
- break;
1289
- }
1290
- }
1291
- if (!allele) {
1292
- continue;
1293
- }
1294
- if (!allele.ann) {
1295
- allele.ann = [];
1296
- }
1297
- allele.ann.push(o);
1298
- o._gene = o.Gene_Name;
1299
- if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1300
- o._isoform = o.Feature_ID.split(".")[0];
1301
- }
1302
- if (o.Annotation) {
1303
- const [dt, cls, rank] = vepinfo(o.Annotation);
1304
- o._dt = dt;
1305
- o._class = cls;
1306
- o._csqrank = rank;
1307
- } else {
1308
- o._dt = dtsnvindel;
1309
- o._class = mclassnonstandard;
1310
- }
1311
- if (o["HGVS.p"]) {
1312
- o._mname = o["HGVS.p"];
1313
- } else if (o["HGVS.c"]) {
1314
- o._mname = o["HGVS.c"];
1315
- }
1316
- }
1317
- return true;
1318
- }
1319
-
1320
- // ../shared/utils/dist/src/vcf.csq.js
1321
- function parse_CSQ(str, header, m) {
1322
- if (!header) {
1323
- return null;
1324
- }
1325
- for (const thisannotation of str.split(",")) {
1326
- const lst = thisannotation.replace(/&/g, ",").split("|");
1327
- const o = {};
1328
- for (let i = 0; i < header.length; i++) {
1329
- if (lst[i]) {
1330
- o[header[i].name] = lst[i];
1331
- }
1332
- }
1333
- if (!o.Allele) {
1334
- continue;
1335
- }
1336
- let allele = null;
1337
- for (const a of m.mlst || m.alleles) {
1338
- if (a.allele_original == o.Allele) {
1339
- allele = a;
1340
- break;
1341
- }
1342
- }
1343
- if (!allele) {
1344
- if (o.Allele == "-") {
1345
- if (m.mlst) {
1346
- if (m.mlst.length == 1) {
1347
- allele = m.mlst[0];
1348
- }
1349
- } else if (m.alleles) {
1350
- if (m.alleles.length == 1) {
1351
- allele = m.alleles[0];
1352
- }
1353
- }
1354
- } else {
1355
- for (const a of m.mlst || m.alleles) {
1356
- if (a.allele_original.substr(1) == o.Allele) {
1357
- allele = a;
1358
- break;
1359
- }
1360
- }
1361
- }
1362
- if (!allele) {
1363
- continue;
1364
- }
1365
- }
1366
- if (!allele.csq) {
1367
- allele.csq = [];
1368
- }
1369
- allele.csq.push(o);
1370
- o._gene = o.SYMBOL || o.Gene;
1371
- if (o.Feature_type && o.Feature_type == "Transcript") {
1372
- o._isoform = o.Feature.split(".")[0];
1373
- } else {
1374
- o._isoform = o._gene;
1375
- }
1376
- if (o.Consequence) {
1377
- const [dt, cls, rank] = vepinfo(o.Consequence);
1378
- o._dt = dt;
1379
- o._class = cls;
1380
- o._csqrank = rank;
1381
- } else {
1382
- o._dt = dtsnvindel;
1383
- o._class = mclassnonstandard;
1384
- }
1385
- if (o.HGVSp) {
1386
- o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1387
- } else if (o.Protein_position && o.Amino_acids) {
1388
- o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1389
- } else if (o.HGVSc) {
1390
- o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1391
- } else if (o.Existing_variation) {
1392
- o._name = o.Existing_variation;
1393
- }
1394
- }
1395
- return true;
1396
- }
1397
-
1398
- // ../shared/utils/dist/src/vcf.info.js
1399
- function dissect_INFO(str) {
1400
- let findsemicolon = false;
1401
- let findequalorsemicolon = true;
1402
- let i = 0;
1403
- let idx = 0;
1404
- const k2v = {};
1405
- let lastkey;
1406
- while (i < str.length) {
1407
- const c = str[i];
1408
- if (findequalorsemicolon) {
1409
- if (c == "=") {
1410
- findsemicolon = true;
1411
- findequalorsemicolon = false;
1412
- lastkey = str.substring(idx, i);
1413
- idx = i + 1;
1414
- } else if (c == ";") {
1415
- k2v[str.substring(idx, i)] = 1;
1416
- idx = i + 1;
1417
- }
1418
- } else if (findsemicolon && c == ";") {
1419
- findequalorsemicolon = true;
1420
- findsemicolon = false;
1421
- k2v[lastkey] = str.substring(idx, i);
1422
- lastkey = null;
1423
- idx = i + 1;
1424
- }
1425
- i++;
1426
- }
1427
- const remainstr = str.substr(idx, i);
1428
- if (lastkey) {
1429
- k2v[lastkey] = remainstr;
1430
- } else {
1431
- k2v[remainstr] = 1;
1432
- }
1433
- return k2v;
1434
- }
1435
-
1436
- // ../shared/utils/dist/src/vcf.type.js
1437
- function getVariantType(ref, alt) {
1438
- if (ref.length == 1 && alt.length == 1) {
1439
- if (alt == ".") {
1440
- return mclassdeletion;
1441
- }
1442
- return mclasssnv;
1443
- }
1444
- if (ref.length == alt.length) return mclassmnv;
1445
- if (ref.length < alt.length) return mclassinsertion;
1446
- if (ref.length > alt.length) return mclassdeletion;
1447
- return mclassnonstandard;
1448
- }
1449
-
1450
- // ../shared/utils/dist/src/vcf.js
1451
- var getallelename = /^<(.+)>/;
1452
- var mclasslabel2key = {};
1453
- for (const k in mclass) {
1454
- mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1455
- }
1456
- function vcfparsemeta(lines) {
1457
- let sample = [];
1458
- const errlst = [];
1459
- const info = {};
1460
- let hasinfo = false;
1461
- const format2 = {};
1462
- let hasformat = false;
1463
- for (const line of lines) {
1464
- if (!line.startsWith("#")) {
1465
- continue;
1466
- }
1467
- if (line.startsWith("#C")) {
1468
- sample = line.split(" ").slice(9);
1469
- continue;
1470
- }
1471
- if (line.startsWith("##INFO")) {
1472
- const e = tohash(line.substring(8, line.length - 1), info);
1473
- if (e) {
1474
- errlst.push("INFO error: " + e);
1475
- } else {
1476
- hasinfo = true;
1477
- }
1478
- continue;
1479
- }
1480
- if (line.startsWith("##FORMAT")) {
1481
- const e = tohash(line.substring(10, line.length - 1), format2);
1482
- if (e) {
1483
- errlst.push("FORMAT error: " + e);
1484
- } else {
1485
- hasformat = true;
1486
- }
1487
- }
1488
- }
1489
- const sampleobjlst = [];
1490
- for (const samplename of sample) {
1491
- const a = { name: samplename };
1492
- sampleobjlst.push(a);
1493
- }
1494
- if (info.CSQ) {
1495
- const lst = info.CSQ.Description.split(" Format: ");
1496
- if (lst[1]) {
1497
- const lst2 = lst[1].split("|");
1498
- if (lst2.length > 1) {
1499
- info.CSQ.csqheader = [];
1500
- for (const str of lst2) {
1501
- const attr = { name: str };
1502
- info.CSQ.csqheader.push(attr);
1503
- }
1504
- } else {
1505
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1506
- }
1507
- } else {
1508
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1509
- }
1510
- }
1511
- if (info.ANN) {
1512
- const lst = info.ANN.Description.split("'");
1513
- if (lst[1]) {
1514
- const lst2 = lst[1].split(" | ");
1515
- if (lst2.length) {
1516
- info.ANN.annheader = [];
1517
- for (const s of lst2) {
1518
- const attr = { name: s };
1519
- info.ANN.annheader.push(attr);
1520
- }
1521
- } else {
1522
- errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1523
- }
1524
- } else {
1525
- errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1526
- }
1527
- }
1528
- return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1529
- }
1530
- function vcfparseline(line, vcf) {
1531
- const lst = line.split(" ");
1532
- if (lst.length < 8) {
1533
- return ["line has less than 8 fields", null, null];
1534
- }
1535
- const rawpos = Number.parseInt(lst[2 - 1]);
1536
- if (!Number.isInteger(rawpos)) {
1537
- return ["invalid value for genomic position", null, null];
1538
- }
1539
- const refallele = lst[4 - 1];
1540
- const m = {
1541
- vcf_ID: lst[3 - 1],
1542
- chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1543
- pos: rawpos - 1,
1544
- ref: refallele,
1545
- //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1546
- altstr: lst[5 - 1],
1547
- alleles: [
1548
- {
1549
- /*
1550
- ref allele only a placeholder, to be removed, this array only contains alt alleles
1551
- this is a must
1552
- also allows GT allele index to work
1553
- */
1554
- allele: refallele,
1555
- sampledata: []
1556
- }
1557
- ],
1558
- info: {},
1559
- // locus info, do not contain allele info
1560
- name: lst[3 - 1] == "." ? null : lst[3 - 1]
1561
- };
1562
- const altinvalid = [];
1563
- for (const alt of lst[5 - 1].split(",")) {
1564
- const a = {
1565
- ref: m.ref,
1566
- // may be corrected just below!
1567
- allele: alt,
1568
- // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1569
- allele_original: alt,
1570
- sampledata: [],
1571
- _m: m,
1572
- info: {}
1573
- // allele info, do not contain locus info
1574
- };
1575
- m.alleles.push(a);
1576
- if (alt[0] == "<") {
1577
- const tmp2 = alt.match(getallelename);
1578
- if (!tmp2) {
1579
- altinvalid.push(alt);
1580
- continue;
1581
- }
1582
- a.type = tmp2[1];
1583
- a.allele = tmp2[1];
1584
- a.issymbolicallele = true;
1585
- } else {
1586
- const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1587
- a.pos = p;
1588
- a.ref = ref;
1589
- a.allele = alt2;
1590
- }
1591
- }
1592
- if (lst[9 - 1] && lst[10 - 1]) {
1593
- parse_FORMAT2(lst, m, vcf);
1594
- }
1595
- m.alleles.shift();
1596
- const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1597
- let badinfokeys = [];
1598
- if (vcf.info) {
1599
- badinfokeys = parse_INFO(tmp, m, vcf);
1600
- } else {
1601
- m.info = tmp;
1602
- }
1603
- const mlst = [];
1604
- for (const a of m.alleles) {
1605
- const m2 = {};
1606
- for (const k in m) {
1607
- if (k != "alleles") {
1608
- m2[k] = m[k];
1609
- }
1610
- }
1611
- for (const k in a) {
1612
- if (k == "allele") {
1613
- m2.alt = a[k];
1614
- } else if (k == "info") {
1615
- m2.altinfo = a[k];
1616
- } else {
1617
- m2[k] = a[k];
1618
- }
1619
- }
1620
- if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1621
- m2.type = getVariantType(m2.ref, m2.alt);
1622
- }
1623
- mlst.push(m2);
1624
- }
1625
- return [
1626
- badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1627
- mlst,
1628
- altinvalid.length > 0 ? altinvalid : null
1629
- ];
1630
- }
1631
- function correctRefAlt(p, ref, alt) {
1632
- while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1633
- ref = ref.substr(0, ref.length - 1);
1634
- alt = alt.substr(0, alt.length - 1);
1635
- }
1636
- while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1637
- ref = ref.substr(1);
1638
- alt = alt.substr(1);
1639
- p++;
1640
- }
1641
- return [p, ref, alt];
1642
- }
1643
- function parse_FORMAT2(lst, m, vcf) {
1644
- const formatfields = lst[9 - 1].split(":");
1645
- for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1646
- const valuelst = lst[_sampleidx].split(":");
1647
- {
1648
- let none = true;
1649
- for (const v of valuelst) {
1650
- if (v != ".") {
1651
- none = false;
1652
- break;
1653
- }
1654
- }
1655
- if (none) {
1656
- continue;
1657
- }
1658
- }
1659
- const sampleidx = _sampleidx - 9;
1660
- for (let i = 1; i < m.alleles.length; i++) {
1661
- const sobj = {};
1662
- if (vcf.samples && vcf.samples[sampleidx]) {
1663
- for (const k in vcf.samples[sampleidx]) {
1664
- sobj[k] = vcf.samples[sampleidx][k];
1665
- }
1666
- } else {
1667
- sobj.name = "missing_samplename_from_vcf_header";
1668
- }
1669
- m.alleles[i].sampledata.push({
1670
- sampleobj: sobj
1671
- });
1672
- }
1673
- for (let fi = 0; fi < formatfields.length; fi++) {
1674
- const field = formatfields[fi];
1675
- const value = valuelst[fi];
1676
- if (value == ".") {
1677
- continue;
1678
- }
1679
- if (field == "GT") {
1680
- const splitter = value.indexOf("/") != -1 ? "/" : "|";
1681
- let gtsum = 0;
1682
- let unknowngt = false;
1683
- const gtalleles = [];
1684
- for (const i of value.split(splitter)) {
1685
- if (i == ".") {
1686
- unknowngt = true;
1687
- continue;
1688
- }
1689
- const j = Number.parseInt(i);
1690
- if (Number.isNaN(j)) {
1691
- unknowngt = true;
1692
- continue;
1693
- }
1694
- gtsum += j;
1695
- const ale = m.alleles[j];
1696
- if (ale) {
1697
- gtalleles.push(ale.allele);
1698
- }
1699
- }
1700
- let gtallref = false;
1701
- if (!unknowngt) {
1702
- gtallref = gtsum == 0;
1703
- }
1704
- const genotype = gtalleles.join(splitter);
1705
- for (let i = 1; i < m.alleles.length; i++) {
1706
- const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1707
- ms.GT = value;
1708
- ms.genotype = genotype;
1709
- if (gtallref) {
1710
- ms.gtallref = true;
1711
- }
1712
- ms.__gtalleles = gtalleles;
1713
- }
1714
- continue;
1715
- }
1716
- const formatdesc = vcf.format ? vcf.format[field] : null;
1717
- if (!formatdesc) {
1718
- for (let i = 1; i < m.alleles.length; i++) {
1719
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1720
- }
1721
- continue;
1722
- }
1723
- const isinteger = formatdesc.Type == "Integer";
1724
- const isfloat = formatdesc.Type == "Float";
1725
- if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1726
- const fvlst = value.split(",").map((i) => {
1727
- if (isinteger) return Number.parseInt(i);
1728
- if (isfloat) return Number.parseFloat(i);
1729
- return i;
1730
- });
1731
- for (let i = 1; i < m.alleles.length; i++) {
1732
- if (fvlst[i] != void 0) {
1733
- const m2 = m.alleles[i];
1734
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1735
- m2s[field] = {};
1736
- m2s[field][m2.ref] = fvlst[0];
1737
- m2s[field][m2.allele] = fvlst[i];
1738
- }
1739
- }
1740
- continue;
1741
- }
1742
- if (formatdesc.Number && formatdesc.Number == "A") {
1743
- const fvlst = value.split(",").map((i) => {
1744
- if (isinteger) return Number.parseInt(i);
1745
- if (isfloat) return Number.parseFloat(i);
1746
- return i;
1747
- });
1748
- for (let i = 1; i < m.alleles.length; i++) {
1749
- if (fvlst[i - 1] != void 0) {
1750
- const m2 = m.alleles[i];
1751
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1752
- m2s[field] = {};
1753
- m2s[field][m2.allele] = fvlst[i - 1];
1754
- }
1755
- }
1756
- continue;
1757
- }
1758
- for (let i = 1; i < m.alleles.length; i++) {
1759
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1760
- }
1761
- }
1762
- }
1763
- for (const a of m.alleles) {
1764
- for (const s of a.sampledata) {
1765
- if (s.AD) {
1766
- s.allele2readcount = {};
1767
- for (const k in s.AD) {
1768
- s.allele2readcount[k] = s.AD[k];
1769
- }
1770
- }
1771
- }
1772
- }
1773
- }
1774
- function tohash(s, hash2) {
1775
- const h = {}, err = [];
1776
- let prev = 0, prevdoublequote = false, k = null;
1777
- for (let i = 0; i < s.length; i++) {
1778
- if (s[i] == '"') {
1779
- i++;
1780
- const thisstart = i;
1781
- while (s[i] != '"') {
1782
- i++;
1783
- }
1784
- if (k) {
1785
- h[k] = s.substring(thisstart, i);
1786
- k = null;
1787
- } else {
1788
- err.push("k undefined before double quotes");
1789
- }
1790
- prevdoublequote = true;
1791
- continue;
1792
- }
1793
- if (s[i] == "=") {
1794
- k = s.substring(prev, i);
1795
- prev = i + 1;
1796
- continue;
1797
- }
1798
- if (s[i] == ",") {
1799
- if (prevdoublequote) {
1800
- prevdoublequote = false;
1801
- } else {
1802
- if (k) {
1803
- h[k] = s.substring(prev, i);
1804
- k = null;
1805
- } else {
1806
- err.push("k undefined");
1807
- }
1808
- }
1809
- prev = i + 1;
1810
- continue;
1811
- }
1812
- }
1813
- if (k) {
1814
- h[k] = s.substring(prev);
1815
- }
1816
- if (h.ID) {
1817
- hash2[h.ID] = h;
1818
- } else {
1819
- return "no ID";
1820
- }
1821
- if (err.length) return err.join("\n");
1822
- }
1823
- function parse_INFO(tmp, m, vcf) {
1824
- const badinfokeys = [];
1825
- for (const key in tmp) {
1826
- if (vcf.info[key] == void 0) {
1827
- badinfokeys.push(key);
1828
- continue;
1829
- }
1830
- const value = tmp[key];
1831
- if (key == "CSQ") {
1832
- const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1833
- if (!okay) {
1834
- m.info[key] = value;
1835
- }
1836
- continue;
1837
- }
1838
- if (key == "ANN") {
1839
- const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1840
- if (!okay) {
1841
- m.info[key] = value;
1842
- }
1843
- continue;
1844
- }
1845
- if (vcf.info[key].Type == "Flag") {
1846
- m.info[key] = key;
1847
- continue;
1848
- }
1849
- const __number = vcf.info[key].Number;
1850
- const isinteger = vcf.info[key].Type == "Integer";
1851
- const isfloat = vcf.info[key].Type == "Float";
1852
- if (__number == "0") {
1853
- m.info[key] = key;
1854
- continue;
1855
- }
1856
- if (__number == "A") {
1857
- const tt = value.split(",");
1858
- for (let j = 0; j < tt.length; j++) {
1859
- if (m.alleles[j]) {
1860
- m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1861
- }
1862
- }
1863
- continue;
1864
- }
1865
- if (__number == "R") {
1866
- }
1867
- if (__number == "1") {
1868
- m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1869
- continue;
1870
- }
1871
- if (!value.split) {
1872
- continue;
1873
- }
1874
- const lst = value.split(",");
1875
- if (isinteger) {
1876
- m.info[key] = lst.map(Number.parseInt);
1877
- } else if (isfloat) {
1878
- m.info[key] = lst.map(Number.parseFloat);
1879
- } else {
1880
- m.info[key] = lst;
1881
- }
1882
- }
1883
- return badinfokeys;
1884
- }
1885
-
1886
- // common/auth.js
1887
- var jwtByDsRoute;
1888
- function setJwtByDsRoute() {
1889
- if (jwtByDsRoute) return;
1890
- const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1891
- jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1892
- }
1893
- function setTokenByDsRoute(dslabel, route, jwt) {
1894
- setJwtByDsRoute();
1895
- if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1896
- if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1897
- else delete jwtByDsRoute[dslabel][route];
1898
- localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1899
- }
1900
- function getSavedToken(dslabel, route) {
1901
- setJwtByDsRoute();
1902
- return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1903
- }
1904
- function mayAddJwtToRequest(init, body, url) {
1905
- if (init.headers.authorization) return;
1906
- let dslabel = body?.dslabel;
1907
- if (!dslabel) {
1908
- const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1909
- if (!param) return;
1910
- let value = decodeURIComponent(param.split("=")[1]);
1911
- if (value.startsWith("{") && value.endsWith("}")) {
1912
- value = JSON.parse(value);
1913
- dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1914
- } else {
1915
- dslabel = value;
1916
- }
1917
- }
1918
- setJwtByDsRoute();
1919
- if (!dslabel || !jwtByDsRoute[dslabel]) return;
1920
- const h = url.split("//");
1921
- const postProtocolStr = h[1] || h[0];
1922
- const preQuestionMarkStr = postProtocolStr.split("?")[0];
1923
- const pathSegments = preQuestionMarkStr.split("/");
1924
- let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1925
- const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1926
- if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1927
- }
1928
- var dsAuthOk = /* @__PURE__ */ new Set();
1929
- var dsAuth;
1930
- var authUi;
1931
- var authUiHolder;
1932
- var includeEmbedder = false;
1933
- async function setDsAuthOk(opts) {
1934
- dsAuth = opts.dsAuth;
1935
- authUi = opts.ui || defaultAuthUi;
1936
- authUiHolder = opts.holder || select_default("body");
1937
- for (const auth of dsAuth) {
1938
- if (auth.insession) dsAuthOk.add(auth);
1939
- }
1940
- includeEmbedder = opts.dsAuth?.length > 0 || false;
1941
- }
1942
- function getRequiredAuth(dslabel, route) {
1943
- if (!dsAuth || !Array.isArray(dsAuth)) return;
1944
- for (const a of dsAuth) {
1945
- if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1946
- }
1947
- }
1948
- async function isInSession(dslabel, route) {
1949
- if (!dslabel) return false;
1950
- if (!Array.isArray(dsAuth)) return false;
1951
- for (const a of dsAuth) {
1952
- if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1953
- if (dsAuthOk.has(a)) return true;
1954
- if (a.checked) return false;
1955
- const jwt = getSavedToken(dslabel, a.route);
1956
- if (!jwt) return false;
1957
- const { dofetch3: dofetch32 } = await import("./dofetch-4P5F5ZGU.js");
1958
- const payload = decodeJwtPayload(jwt);
1959
- if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1960
- const data = await dofetch32("/jwt-status", {
1961
- method: "POST",
1962
- credentials: "include",
1963
- headers: {
1964
- //authorization: `Bearer ${btoa(jwt)}`
1965
- [a.headerKey]: jwt
1966
- },
1967
- body: {
1968
- dslabel,
1969
- route,
1970
- embedder: location.hostname
1971
- }
1972
- });
1973
- a.checked = true;
1974
- if (data.ok || data.status == "ok") {
1975
- dsAuthOk.add(a);
1976
- a.insession = true;
1977
- return true;
1978
- }
1979
- }
1980
- return false;
1981
- }
1982
- async function mayShowAuthUi(init, path, opts = {}) {
1983
- const ok = { status: "ok" };
1984
- if (!dsAuth || path.endsWith("jwt-status")) return ok;
1985
- const body = JSON.parse(init.body || `{}`);
1986
- const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1987
- const [key, value] = kv.split("=");
1988
- obj[key] = value;
1989
- return obj;
1990
- }, {});
1991
- const q = Object.assign({}, body, params);
1992
- const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1993
- for (const a of dsAuth) {
1994
- if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1995
- if (dsAuthOk.has(a)) return ok;
1996
- else if (a.route != "/**") return ok;
1997
- else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1998
- else if (a.type == "jwt") {
1999
- } else if (a.type == "forbidden") {
2000
- alert("Forbidden access");
2001
- } else throw `unsupported dsAuth type='${a.type}'`;
2002
- }
2003
- }
2004
- return ok;
2005
- }
2006
- async function defaultAuthUi(dslabel, auth, opts = {}) {
2007
- 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)");
2008
- const form = mask.append("div").style("opacity", 1);
2009
- form.append("div").html(`Restricted dataset '${dslabel}'`);
2010
- form.append("span").html("Please enter password ");
2011
- const pwd = form.append("input").attr("type", "password");
2012
- pwd.node().focus();
2013
- const btn = form.append("button").html("Submit");
2014
- return new Promise((resolve, reject) => {
2015
- function login() {
2016
- fetch("/dslogin", {
2017
- method: "POST",
2018
- headers: {
2019
- "content-type": "application/json",
2020
- authorization: `Basic ${btoa(pwd.property("value"))}`
2021
- },
2022
- body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
2023
- }).then((res) => res.json()).then((res) => {
2024
- if (res.error) throw res.error;
2025
- mask.remove();
2026
- dsAuthOk.add(auth);
2027
- if (res.jwt) {
2028
- setTokenByDsRoute(dslabel, res.route, res.jwt);
2029
- }
2030
- if (!opts.setDomRefs) window.location.reload();
2031
- else resolve(dslabel);
2032
- }).catch((e) => {
2033
- alert("login error: " + e);
2034
- });
2035
- }
2036
- btn.on("click", login);
2037
- pwd.on("change", login);
2038
- if (opts.setDomRefs)
2039
- opts.setDomRefs({
2040
- pwd,
2041
- btn,
2042
- mask,
2043
- authUiHolder
2044
- });
2045
- });
2046
- }
2047
- function decodeJwtPayload(token) {
2048
- const base64Url = token.split(".")[1];
2049
- const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
2050
- const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
2051
- const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
2052
- return JSON.parse(jsonPayload);
2053
- }
2054
- function convertAtoBresult(c) {
2055
- return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
2056
- }
2057
-
2058
- // common/dofetch.js
2059
- function dofetch(path, arg, opts = null) {
2060
- if (opts && typeof opts == "object") {
2061
- if (opts.serverData && typeof opts.serverData == "object") {
2062
- if (!dofetch.serverData) {
2063
- dofetch.serverData = opts.serverData;
2064
- } else if (!opts.serverData) {
2065
- opts.serverData = dofetch.serverData;
2066
- }
2067
- }
2068
- return dofetch2(
2069
- path,
2070
- {
2071
- method: "POST",
2072
- headers: {
2073
- "content-type": "application/json"
2074
- },
2075
- body: JSON.stringify(arg)
2076
- },
2077
- opts
2078
- );
2079
- } else {
2080
- if (path[0] == "/") {
2081
- path = path.slice(1);
2082
- }
2083
- const jwt = sessionStorage.getItem("jwt");
2084
- if (jwt) {
2085
- arg.jwt = jwt;
2086
- }
2087
- let url = path;
2088
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2089
- if (host) {
2090
- if (host.endsWith("/")) {
2091
- url = host + path;
2092
- } else {
2093
- url = host + "/" + path;
2094
- }
2095
- }
2096
- return fetch(
2097
- new Request(url, {
2098
- method: "POST",
2099
- headers: {
2100
- "content-type": "application/json"
2101
- },
2102
- body: JSON.stringify(arg)
2103
- })
2104
- ).then((r) => r.json());
2105
- }
2106
- }
2107
- function dofetch2(path, init = {}, opts = {}) {
2108
- if (path[0] == "/") {
2109
- path = path.slice(1);
2110
- }
2111
- let url = path;
2112
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2113
- if (host) {
2114
- if (host.endsWith("/")) {
2115
- url = host + path;
2116
- } else {
2117
- url = host + "/" + path;
2118
- }
2119
- }
2120
- mayAdjustCredentials(init);
2121
- const body = init.body || {};
2122
- url = mayAdjustRequest(url, init);
2123
- if (!init.headers) {
2124
- init.headers = {};
2125
- }
2126
- const hasContentType = Object.keys(init.headers).some((k) => k.toLowerCase() == "content-type");
2127
- if (!hasContentType && init.body) {
2128
- init.headers["content-type"] = "application/json";
2129
- }
2130
- const jwt = sessionStorage.getItem("jwt");
2131
- if (jwt) {
2132
- init.headers.authorization = "Bearer " + jwt;
2133
- }
2134
- return mayShowAuthUi(init, url).then(async () => {
2135
- if (!jwt) mayAddJwtToRequest(init, body, url);
2136
- if (opts.serverData) {
2137
- return namedFetch(url, init, opts);
2138
- } else {
2139
- return fetch(url, init).then(processResponse);
2140
- }
2141
- });
2142
- }
2143
- var optsServerDataNames = /* @__PURE__ */ new WeakMap();
2144
- async function namedFetch(url, init, opts = {}) {
2145
- if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
2146
- if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
2147
- let result;
2148
- const dataName = await getDataName(url, init);
2149
- if (opts.serverData[dataName]) {
2150
- if (init.signal) {
2151
- await sleep(0);
2152
- if (init.signal.aborted) throw `stale sequenceId`;
2153
- }
2154
- result = structuredClone(opts.serverData[dataName]);
2155
- }
2156
- if (!result || typeof result != "object" && !(result instanceof Promise)) {
2157
- delete opts.serverData[dataName];
2158
- result = void 0;
2159
- }
2160
- if (!result) {
2161
- try {
2162
- const res = await fetch(url, init);
2163
- result = await processResponse(res);
2164
- if (typeof result == "object" && !(result instanceof Promise)) {
2165
- deepFreeze(result);
2166
- opts.serverData[dataName] = result;
2167
- result = structuredClone(result);
2168
- }
2169
- } catch (e) {
2170
- delete opts.serverData[dataName];
2171
- throw e;
2172
- }
2173
- }
2174
- if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2175
- const keys = optsServerDataNames.get(opts.serverData);
2176
- const i = keys.indexOf(dataName);
2177
- if (i > 0) {
2178
- keys.splice(i, 1);
2179
- }
2180
- keys.unshift(dataName);
2181
- const maxKeys = 360;
2182
- while (keys.length > maxKeys) {
2183
- const oldestDataKey = keys.pop();
2184
- delete opts.serverData[oldestDataKey];
2185
- }
2186
- return result;
2187
- }
2188
- var defaultServerDataCache = {};
2189
- function dofetch3(path, init = {}, opts = {}) {
2190
- if (!init.signal && this) {
2191
- init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2192
- }
2193
- opts.serverData = defaultServerDataCache;
2194
- return dofetch2(path, init, opts);
2195
- }
2196
- function clearServerDataCache(opts = {}) {
2197
- const cache = opts?.serverData || defaultServerDataCache;
2198
- if (!cache) return;
2199
- for (const k of Object.keys(cache)) {
2200
- delete cache[k];
2201
- }
2202
- }
2203
- var urlMaxLength = 2e3;
2204
- function mayAdjustCredentials(init, pageOrigin = window.location.origin) {
2205
- if (init.credentials == "include" && pageOrigin == "null") init.credentials = "same-origin";
2206
- }
2207
- function mayAdjustRequest(url, init) {
2208
- const hostname = window.location.hostname;
2209
- const method = init.method && init.method.toUpperCase() || "GET";
2210
- if (method == "POST") {
2211
- if (typeof init.body == "string") init.body = JSON.parse(init.body);
2212
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2213
- init.body = JSON.stringify(init.body);
2214
- return url;
2215
- }
2216
- if (method != "GET" && method != "DELETE" && method != "PUT") {
2217
- throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2218
- }
2219
- if (init.body) {
2220
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2221
- const params = encode(init.body);
2222
- if (!url.includes("?")) url += "?";
2223
- url += params;
2224
- }
2225
- if (!url.includes("embedder=") && includeEmbedder) {
2226
- const sep = url.includes("?") ? "&" : "?";
2227
- url += `${sep}embedder=${hostname}`;
2228
- }
2229
- if (url.length < urlMaxLength) {
2230
- if (init.body) delete init.body;
2231
- return url;
2232
- }
2233
- if (method != "GET") {
2234
- throw `the ${method} request URL is too long (${url.length} characters, max=${urlMaxLength})`;
2235
- }
2236
- init.method = "POST";
2237
- const [hostpath, query] = url.split("?");
2238
- if (init.body) {
2239
- init.body = JSON.stringify(init.body);
2240
- } else {
2241
- const params = {};
2242
- if (query)
2243
- query.split("&").forEach((p) => {
2244
- const [k, v] = p.split("=");
2245
- const decodedVal = decodeURIComponent(v);
2246
- try {
2247
- params[k] = JSON.parse(decodedVal);
2248
- } catch {
2249
- params[k] = decodedVal;
2250
- }
2251
- });
2252
- if (!params.embedder && includeEmbedder) params.embedder = hostname;
2253
- init.body = JSON.stringify(params);
2254
- }
2255
- return hostpath;
2256
- }
2257
- function setAuth(opts) {
2258
- setDsAuthOk(opts, dofetch3);
2259
- }
2260
-
2261
- export {
2262
- boxplot_getvalue,
2263
- init_bulk_flag,
2264
- parsesample,
2265
- clusterMethodLst,
2266
- distanceMethodLst,
2267
- maxSampleCutoff,
2268
- sampleLimitAlert,
2269
- HYPER_COLOR,
2270
- HYPO_COLOR,
2271
- computePercentile,
2272
- processFormData,
2273
- fileSize,
2274
- ssmIdFieldsSeparator,
2275
- summarize_mclass,
2276
- guessSsmid,
2277
- xAxisOffSet,
2278
- yAxisOffSet,
2279
- getCoordinate,
2280
- calculatePadding,
2281
- compute_bins,
2282
- get_bin_label,
2283
- get_bin_range_equation,
2284
- initBinConfig,
2285
- isUsableTerm,
2286
- formatElapsedTime,
2287
- vcfparsemeta,
2288
- vcfparseline,
2289
- setTokenByDsRoute,
2290
- getSavedToken,
2291
- mayAddJwtToRequest,
2292
- includeEmbedder,
2293
- setDsAuthOk,
2294
- getRequiredAuth,
2295
- isInSession,
2296
- mayShowAuthUi,
2297
- dofetch,
2298
- dofetch2,
2299
- namedFetch,
2300
- dofetch3,
2301
- clearServerDataCache,
2302
- mayAdjustCredentials,
2303
- setAuth
2304
- };
2305
- //# sourceMappingURL=chunk-KBTFT76L.js.map