@sjcrh/proteinpaint-client 2.182.0 → 2.183.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1004) hide show
  1. package/dist/2dmaf-6ZTETSC5.js +1371 -0
  2. package/dist/AIProjectAdmin-ZT3XKBBT.js +830 -0
  3. package/dist/AIProjectAdmin-ZT3XKBBT.js.map +7 -0
  4. package/dist/AppHeader-U7SJPIBS.js +833 -0
  5. package/dist/BoxPlot-QGHLZ67V.js +1217 -0
  6. package/dist/BoxPlot-QGHLZ67V.js.map +7 -0
  7. package/dist/CorrelationVolcano-7SE4CTBW.js +617 -0
  8. package/dist/DE-PZ7RHPBS.js +93 -0
  9. package/dist/DEinput-UZEQIU2V.js +297 -0
  10. package/dist/DifferentialAnalysis-L6BOEYVO.js +238 -0
  11. package/dist/Disco-6FDT6KRM.js +3235 -0
  12. package/dist/Disco-6FDT6KRM.js.map +7 -0
  13. package/dist/Disco.UI-HKOUAD4P.js +242 -0
  14. package/dist/DmrPlot-3R24PTXP.js +640 -0
  15. package/dist/GB-SZVYZASR.js +1125 -0
  16. package/dist/HicApp-SEEJETVE.js +2248 -0
  17. package/dist/NumBinaryEditor-SDQFJ3FW.js +268 -0
  18. package/dist/NumBinaryEditor.unit.spec-76ZZXTYC.js +284 -0
  19. package/dist/NumContEditor-G75O4YZE.js +105 -0
  20. package/dist/NumContEditor.unit.spec-BFUZRBPL.js +167 -0
  21. package/dist/NumCustomBinEditor-ILTPHCEF.js +36 -0
  22. package/dist/NumCustomBinEditor.unit.spec-GFIYV55V.js +282 -0
  23. package/dist/NumDiscreteEditor-5K3OKUOE.js +177 -0
  24. package/dist/NumDiscreteEditor.unit.spec-NZ4KWPFK.js +200 -0
  25. package/dist/NumRegularBinEditor-7ZJ2MEMY.js +36 -0
  26. package/dist/NumRegularBinEditor.unit.spec-QGVJET65.js +225 -0
  27. package/dist/NumSplineEditor-KE4UPODZ.js +190 -0
  28. package/dist/NumSplineEditor.unit.spec-YQOOZA7S.js +197 -0
  29. package/dist/NumericDensity-RL42P4QC.js +36 -0
  30. package/dist/NumericDensity.unit.spec-Y6RMTYC7.js +219 -0
  31. package/dist/NumericHandler-4QIX324I.js +37 -0
  32. package/dist/NumericHandler.unit.spec-T6F5QYP6.js +217 -0
  33. package/dist/RunChart2-ASGCKKER.js +756 -0
  34. package/dist/RunChart2-ASGCKKER.js.map +7 -0
  35. package/dist/SC-H2YCKSBH.js +682 -0
  36. package/dist/SC-H2YCKSBH.js.map +7 -0
  37. package/dist/Volcano-QBYYJYVW.js +1185 -0
  38. package/dist/Volcano-QBYYJYVW.js.map +7 -0
  39. package/dist/WSIViewer-NDHWFVAB.js +47974 -0
  40. package/dist/WSIViewer-NDHWFVAB.js.map +7 -0
  41. package/dist/WsiSamplesPlot-CXGWPCDL.js +163 -0
  42. package/dist/adSandbox-DE4VRO4Z.js +36 -0
  43. package/dist/alphaGenome-FSIGC5ZT.js +173 -0
  44. package/dist/app-KZGKWQMU.js +47 -0
  45. package/dist/app-MQRJ7FVL.js +35 -0
  46. package/dist/app.js +22 -22
  47. package/dist/bam-BDWTA4O3.js +857 -0
  48. package/dist/barchart-4Q6LVJY4.js +45 -0
  49. package/dist/barchart.data-EXENRVMU.js +22 -0
  50. package/dist/barchart.events-XRGND6I7.js +45 -0
  51. package/dist/barchart.integration.spec-VQITP4YH.js +1675 -0
  52. package/dist/bars.renderer-S7A7I6BQ.js +12 -0
  53. package/dist/block-2MABX5QO.js +6200 -0
  54. package/dist/block-2MABX5QO.js.map +7 -0
  55. package/dist/block.init-NCNSE3HD.js +36 -0
  56. package/dist/block.mds.expressionrank-JYZARS7T.js +357 -0
  57. package/dist/block.mds.geneboxplot-FD2MCIHV.js +826 -0
  58. package/dist/block.mds.junction-LOHVQBIU.js +1543 -0
  59. package/dist/block.mds.svcnv-Z7SAYPQL.js +6799 -0
  60. package/dist/block.svg-LNJOKQNN.js +162 -0
  61. package/dist/block.tk.aicheck-IXCMMAGV.js +281 -0
  62. package/dist/block.tk.ase-WYRYFP6N.js +363 -0
  63. package/dist/block.tk.bam-EIVBNGAL.js +1904 -0
  64. package/dist/block.tk.bedgraphdot-3FHLNCU7.js +382 -0
  65. package/dist/block.tk.bigwig.ui-YDQU5PC4.js +209 -0
  66. package/dist/block.tk.hicstraw-S3ROL3CV.js +821 -0
  67. package/dist/block.tk.junction-DL7RNWX3.js +2362 -0
  68. package/dist/block.tk.junction.textmatrixui-Z6I7IEDY.js +197 -0
  69. package/dist/block.tk.ld-XHVU6L56.js +97 -0
  70. package/dist/block.tk.menu-FPLAEEFY.js +1027 -0
  71. package/dist/block.tk.pgv-6ZZ2QGNO.js +942 -0
  72. package/dist/brainImaging-VSOOMITW.js +421 -0
  73. package/dist/chat-LW23PIG5.js +148 -0
  74. package/dist/chunk-2A2KM5DU.js +117 -0
  75. package/dist/chunk-2A2KM5DU.js.map +7 -0
  76. package/dist/chunk-2K5DSRBJ.js +84 -0
  77. package/dist/chunk-2K5DSRBJ.js.map +7 -0
  78. package/dist/chunk-2LULD7RN.js +31 -0
  79. package/dist/chunk-36DYWBU7.js +514 -0
  80. package/dist/chunk-36DYWBU7.js.map +7 -0
  81. package/dist/chunk-3AGB6HL4.js +158 -0
  82. package/dist/chunk-3AVDNIDN.js +55 -0
  83. package/dist/chunk-3DCABJHB.js +381 -0
  84. package/dist/chunk-3JMB3OSC.js +102 -0
  85. package/dist/chunk-3UEMY45Y.js +215 -0
  86. package/dist/chunk-4RR4KPRJ.js +1205 -0
  87. package/dist/chunk-5HCB4HNL.js +147 -0
  88. package/dist/chunk-5RFB7TYT.js +92 -0
  89. package/dist/chunk-5UMPBVA6.js +534 -0
  90. package/dist/chunk-6C2SBTLR.js +407 -0
  91. package/dist/chunk-6ITDJ5UR.js +261 -0
  92. package/dist/chunk-6ITDJ5UR.js.map +7 -0
  93. package/dist/chunk-6LAE5AVA.js +13624 -0
  94. package/dist/chunk-77ZJGPK2.js +289 -0
  95. package/dist/chunk-77ZJGPK2.js.map +7 -0
  96. package/dist/chunk-7FKIAQ4K.js +17 -0
  97. package/dist/chunk-7FKIAQ4K.js.map +7 -0
  98. package/dist/chunk-7RN3L2BX.js +1788 -0
  99. package/dist/chunk-7RN3L2BX.js.map +7 -0
  100. package/dist/chunk-7VV43ICF.js +272 -0
  101. package/dist/chunk-A6TQGNDQ.js +421 -0
  102. package/dist/chunk-A6TQGNDQ.js.map +7 -0
  103. package/dist/chunk-A742TQD2.js +615 -0
  104. package/dist/chunk-A7E3JZ5P.js +56 -0
  105. package/dist/chunk-A7E3JZ5P.js.map +7 -0
  106. package/dist/chunk-AFLFPYJI.js +480 -0
  107. package/dist/chunk-APOHXHKH.js +526 -0
  108. package/dist/chunk-APOHXHKH.js.map +7 -0
  109. package/dist/chunk-AQ4OP4GR.js +39 -0
  110. package/dist/chunk-BAY47D5E.js +226 -0
  111. package/dist/chunk-CFHKYLDY.js +26 -0
  112. package/dist/chunk-CTAKX5CT.js +129 -0
  113. package/dist/chunk-CVBQWXLH.js +455 -0
  114. package/dist/chunk-CVBQWXLH.js.map +7 -0
  115. package/dist/chunk-D4QFQQWJ.js +170 -0
  116. package/dist/chunk-DGMK7SXX.js +203 -0
  117. package/dist/chunk-DNCSPTOQ.js +446 -0
  118. package/dist/chunk-DTDQKGIQ.js +2672 -0
  119. package/dist/chunk-E4NVHKWD.js +142 -0
  120. package/dist/chunk-E6KEZENR.js +4207 -0
  121. package/dist/chunk-EY2KBPHJ.js +261 -0
  122. package/dist/chunk-EY2KBPHJ.js.map +7 -0
  123. package/dist/chunk-FRBYOOWT.js +229 -0
  124. package/dist/chunk-FVWCYGJL.js +121 -0
  125. package/dist/chunk-HWHG63LH.js +148 -0
  126. package/dist/chunk-HWHG63LH.js.map +7 -0
  127. package/dist/chunk-HYZG6OPC.js +467 -0
  128. package/dist/chunk-HYZG6OPC.js.map +7 -0
  129. package/dist/chunk-I4IKRKYJ.js +2815 -0
  130. package/dist/chunk-IEQSUAIO.js +6364 -0
  131. package/dist/chunk-IET6P5MV.js +335 -0
  132. package/dist/chunk-IET6P5MV.js.map +7 -0
  133. package/dist/chunk-JMPSZMDD.js +52 -0
  134. package/dist/chunk-JXOL73PT.js +2784 -0
  135. package/dist/chunk-K62XUHA4.js +100 -0
  136. package/dist/chunk-KQMEJUWI.js +815 -0
  137. package/dist/chunk-L4QG7XZE.js +46 -0
  138. package/dist/chunk-L4QG7XZE.js.map +7 -0
  139. package/dist/chunk-L4YGMXLX.js +37 -0
  140. package/dist/chunk-L4YGMXLX.js.map +7 -0
  141. package/dist/chunk-LI7FE335.js +371 -0
  142. package/dist/chunk-M7W2GYSM.js +4961 -0
  143. package/dist/chunk-M7W2GYSM.js.map +7 -0
  144. package/dist/chunk-MV6O4I2B.js +441 -0
  145. package/dist/chunk-MXNSW55L.js +148 -0
  146. package/dist/chunk-NB7NLFGZ.js +228 -0
  147. package/dist/chunk-NGGWK6HX.js +302 -0
  148. package/dist/chunk-OGGFS66K.js +1087 -0
  149. package/dist/chunk-OSM7YS23.js +276 -0
  150. package/dist/chunk-OSM7YS23.js.map +7 -0
  151. package/dist/chunk-OXJ2TWDO.js +20644 -0
  152. package/dist/chunk-OXJ2TWDO.js.map +7 -0
  153. package/dist/chunk-Q7PYFSNU.js +107 -0
  154. package/dist/chunk-QMI222IJ.js +386 -0
  155. package/dist/chunk-QRIRWDIW.js +252 -0
  156. package/dist/chunk-R6L6NVEC.js +14 -0
  157. package/dist/chunk-RLTLYKHO.js +34 -0
  158. package/dist/chunk-S5ZI6N2I.js +293 -0
  159. package/dist/chunk-S7T7OZC7.js +158 -0
  160. package/dist/chunk-SEQLC4AD.js +177 -0
  161. package/dist/chunk-TEZLFSOV.js +54 -0
  162. package/dist/chunk-TFI7ZZJG.js +50 -0
  163. package/dist/chunk-TFI7ZZJG.js.map +7 -0
  164. package/dist/chunk-TV74I3Y5.js +43 -0
  165. package/dist/chunk-TV74I3Y5.js.map +7 -0
  166. package/dist/chunk-UEMTP6ZC.js +824 -0
  167. package/dist/chunk-UJU3Q7QJ.js +119 -0
  168. package/dist/chunk-V245THQC.js +2370 -0
  169. package/dist/chunk-V245THQC.js.map +7 -0
  170. package/dist/chunk-V6DLLX4N.js +176 -0
  171. package/dist/chunk-V6DLLX4N.js.map +7 -0
  172. package/dist/chunk-VIPMLSZP.js +217 -0
  173. package/dist/chunk-VQPS4SXU.js +97 -0
  174. package/dist/chunk-VQPS4SXU.js.map +7 -0
  175. package/dist/chunk-VUUZJANK.js +1150 -0
  176. package/dist/chunk-VYIO7T6J.js +82 -0
  177. package/dist/chunk-VYIO7T6J.js.map +7 -0
  178. package/dist/chunk-W345H42C.js +273 -0
  179. package/dist/chunk-W345H42C.js.map +7 -0
  180. package/dist/chunk-WGHO2NCP.js +205 -0
  181. package/dist/chunk-WGL6FIUE.js +330 -0
  182. package/dist/chunk-WGL6FIUE.js.map +7 -0
  183. package/dist/chunk-WPHOEG56.js +194 -0
  184. package/dist/chunk-WS5XVKPJ.js +470 -0
  185. package/dist/chunk-X6URQAFD.js +1271 -0
  186. package/dist/chunk-XYFDBYOY.js +1658 -0
  187. package/dist/chunk-XYFDBYOY.js.map +7 -0
  188. package/dist/chunk-Y6RCKITI.js +1155 -0
  189. package/dist/chunk-Y6RCKITI.js.map +7 -0
  190. package/dist/chunk-YALAQWX4.js +368 -0
  191. package/dist/chunk-YK5NFMHR.js +269 -0
  192. package/dist/chunk-YK5NFMHR.js.map +7 -0
  193. package/dist/chunk-YY4CKQJ6.js +95 -0
  194. package/dist/chunk-Z3KV6SC2.js +629 -0
  195. package/dist/chunk-ZGT4XP5J.js +1426 -0
  196. package/dist/chunk-ZGT4XP5J.js.map +7 -0
  197. package/dist/condition-JKQIRMMW.js +330 -0
  198. package/dist/controls-324AGOZG.js +39 -0
  199. package/dist/controls.config-TA4NNARU.js +37 -0
  200. package/dist/correlation-3Z36TKC2.js +96 -0
  201. package/dist/cuminc-4DY2CSZF.js +1147 -0
  202. package/dist/cuminc.integration.spec-SFQPLMSF.js +676 -0
  203. package/dist/customdata.inputui-IKGPEBXV.js +287 -0
  204. package/dist/customdata.inputui-IKGPEBXV.js.map +7 -0
  205. package/dist/dataDownload-3AE2N7KI.js +328 -0
  206. package/dist/dataDownload.integration.spec-DKOT6BJP.js +191 -0
  207. package/dist/databrowser.ui-ATODRS5P.js +419 -0
  208. package/dist/dictionary-WHDZBW5M.js +109 -0
  209. package/dist/dictionary-WHDZBW5M.js.map +7 -0
  210. package/dist/dnaMethylation-TVA5YMOR.js +36 -0
  211. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js +165 -0
  212. package/dist/dnaMethylation.integration.spec-JTWQR6XY.js.map +7 -0
  213. package/dist/e2pca-KHVDNFEZ.js +348 -0
  214. package/dist/ep-B5GAAMNM.js +1254 -0
  215. package/dist/expclust.gdc.spec-EDPX7V6K.js +305 -0
  216. package/dist/facet-ZCSXKXIO.js +519 -0
  217. package/dist/geneExpClustering-ERNCMAED.js +246 -0
  218. package/dist/geneExpression-HUOXWETT.js +36 -0
  219. package/dist/geneExpression-X2KXJPND.js +312 -0
  220. package/dist/geneExpression.unit.spec-5QQB4ISW.js +100 -0
  221. package/dist/geneORA-B5UK77KL.js +276 -0
  222. package/dist/geneVariant-7MGUAIZ6.js +39 -0
  223. package/dist/geneVariant-FK3KZJ2K.js +37 -0
  224. package/dist/geneVariant.integration.spec-C6TYWKIC.js +196 -0
  225. package/dist/genefusion.ui-VKAINMY7.js +249 -0
  226. package/dist/geneset-673KAZVX.js +194 -0
  227. package/dist/genomeBrowser.spec-T6TQCJ3O.js +279 -0
  228. package/dist/grin2-376BD4XY.js +1554 -0
  229. package/dist/grin2-OALS75LC.js +1031 -0
  230. package/dist/gsea-25LD2LGP.js +45 -0
  231. package/dist/hierCluster-7KU3K52V.js +58 -0
  232. package/dist/hierCluster-M5VVWKQK.js +62 -0
  233. package/dist/hierCluster.config-EDO3SH2P.js +38 -0
  234. package/dist/hierCluster.integration.spec-UOX7J2XD.js +374 -0
  235. package/dist/hierCluster.interactivity-FEFZDXML.js +52 -0
  236. package/dist/hierCluster.renderers-A6MEGO2B.js +21 -0
  237. package/dist/imagePlot-FPXZ2H5Z.js +139 -0
  238. package/dist/importPlot-VKWPSFEK.js +8 -0
  239. package/dist/isoformExpression-2R2TOB6P.js +38 -0
  240. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js +206 -0
  241. package/dist/isoformExpression.unit.spec-ZKFKOPKT.js.map +7 -0
  242. package/dist/jspdf.es.min-FC3BCETM.js +40 -0
  243. package/dist/launch.adhoc-242RS6DW.js +40 -0
  244. package/dist/leftlabel.sample-OJW3AE64.js +257 -0
  245. package/dist/legacyDataset-PBCPC5I7.js +119 -0
  246. package/dist/lollipop-TRQ3LK7Y.js +166 -0
  247. package/dist/maf-ZBOLN2FE.js +450 -0
  248. package/dist/maftimeline-GVX7NJP7.js +591 -0
  249. package/dist/matrix-73KRNXLM.js +57 -0
  250. package/dist/matrix-US3OXYRY.js +62 -0
  251. package/dist/matrix.cells-U7AQNEBP.js +28 -0
  252. package/dist/matrix.config-Q57D7C3F.js +39 -0
  253. package/dist/matrix.controls-AWXDRSWP.js +37 -0
  254. package/dist/matrix.data-EEIY6AO4.js +25 -0
  255. package/dist/matrix.dom-6QL3AJMW.js +11 -0
  256. package/dist/matrix.groups-CUB6UWC5.js +26 -0
  257. package/dist/matrix.integration.spec-PQH67KRM.js +3070 -0
  258. package/dist/matrix.interactivity-JW4AXAWO.js +40 -0
  259. package/dist/matrix.layout-I56KRVCO.js +42 -0
  260. package/dist/matrix.legend-42LQGAGX.js +22 -0
  261. package/dist/matrix.renderers-IX3FCNBK.js +36 -0
  262. package/dist/matrix.serieses-4B2WB526.js +21 -0
  263. package/dist/matrix.sort-BJACNR7G.js +27 -0
  264. package/dist/matrix.sort.unit.spec-3KKDKIPY.js +470 -0
  265. package/dist/matrix.sorterUi-W6XFYZY2.js +18 -0
  266. package/dist/matrix.sorterUi.unit.spec-CMJ7EBIW.js +340 -0
  267. package/dist/mavb-ROAE6WYA.js +730 -0
  268. package/dist/mds.fimo-UGK5OWCF.js +516 -0
  269. package/dist/mds.samplescatterplot-5KFUAYSB.js +1548 -0
  270. package/dist/mds.survivalplot-2EVNZUX5.js +481 -0
  271. package/dist/oncomatrix-UGFXSXQJ.js +293 -0
  272. package/dist/oncomatrix.spec-FEP7BR7L.js +446 -0
  273. package/dist/plot.2dvaf-WXGLWCOC.js +375 -0
  274. package/dist/plot.app-IZAFRTBU.js +39 -0
  275. package/dist/plot.barplot-Z4VWOPFJ.js +100 -0
  276. package/dist/plot.boxplot-QU2KZSB7.js +150 -0
  277. package/dist/plot.brainImaging-U643YIK7.js +51 -0
  278. package/dist/plot.disco-3BV6YEBC.js +101 -0
  279. package/dist/plot.disco-3BV6YEBC.js.map +7 -0
  280. package/dist/plot.dzi-DWXPOOQE.js +33 -0
  281. package/dist/plot.ssgq-GXB2GZO3.js +137 -0
  282. package/dist/plot.vaf2cov-EKRIADPB.js +257 -0
  283. package/dist/plot.wsi-E2LLE6HI.js +36 -0
  284. package/dist/polar-MZLIUXHO.js +184 -0
  285. package/dist/polar2-IUVHNQM4.js +226 -0
  286. package/dist/profile.spec-JRW6KYUI.js +78 -0
  287. package/dist/profileBarchart-N7HJMYZ5.js +265 -0
  288. package/dist/profileForms-Q5TPGPQP.js +438 -0
  289. package/dist/profilePlot-TXTUYDVE.js +52 -0
  290. package/dist/profileRadar-ICEASI7W.js +261 -0
  291. package/dist/profileRadarFacility-NFMRNJYX.js +261 -0
  292. package/dist/profileRadarFacility-NFMRNJYX.js.map +7 -0
  293. package/dist/proteinView-K3JFNORQ.js +633 -0
  294. package/dist/proteinView-K3JFNORQ.js.map +7 -0
  295. package/dist/proteomeAbundance-DE4NVBCN.js +21 -0
  296. package/dist/proteomeAbundance-LTB3QR3G.js +63 -0
  297. package/dist/qualitative-DFGWQURY.js +41 -0
  298. package/dist/regression-TTQTAEGD.js +54 -0
  299. package/dist/regression.inputs-2LU2XRGC.js +46 -0
  300. package/dist/regression.inputs.term-G57GL57T.js +46 -0
  301. package/dist/regression.inputs.values.table-JSEM3PXL.js +43 -0
  302. package/dist/regression.integration.spec-XJQJAIC3.js +782 -0
  303. package/dist/regression.integration.spec-XJQJAIC3.js.map +7 -0
  304. package/dist/regression.results-3YNM6LLQ.js +38 -0
  305. package/dist/regression.spec-S6WFCPSW.js +706 -0
  306. package/dist/report-YRAV4MY4.js +220 -0
  307. package/dist/sampleScatter.spec-MBJ4XNTX.js +200 -0
  308. package/dist/sampleView-IUR3ZEN7.js +46 -0
  309. package/dist/samplelst-C2NBFGH6.js +109 -0
  310. package/dist/samplematrix-AOK2HHSB.js +2196 -0
  311. package/dist/sc-XT3Z5XJI.js +84 -0
  312. package/dist/scatter-SAHKZRFL.js +800 -0
  313. package/dist/scatter.integration.spec-6KRDNHHH.js +1194 -0
  314. package/dist/scatter.integration.spec-6KRDNHHH.js.map +7 -0
  315. package/dist/selectGenomeWithTklst-2YVZ4JWV.js +132 -0
  316. package/dist/singleCellCellType-NFN5GQJM.js +36 -0
  317. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js +158 -0
  318. package/dist/singleCellCellType.unit.spec-CR4IJ4DA.js.map +7 -0
  319. package/dist/singleCellGeneExpression-7AQGLXTR.js +36 -0
  320. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js +151 -0
  321. package/dist/singleCellGeneExpression.unit.spec-QYNWSV2G.js.map +7 -0
  322. package/dist/singleCellPlot-IWFEG44C.js +51 -0
  323. package/dist/singlecell-3QNV4OMZ.js +1570 -0
  324. package/dist/singlecell-EATPLH66.js +84 -0
  325. package/dist/snp-UP7WL7WG.js +36 -0
  326. package/dist/snp.unit.spec-Y5NWQ442.js +174 -0
  327. package/dist/snplocus-WAQK2AZG.js +206 -0
  328. package/dist/spliceevent.a53ss.diagram-FFK27UIB.js +149 -0
  329. package/dist/spliceevent.exonskip.diagram-KWEF2OZJ.js +275 -0
  330. package/dist/spliceevent.noeventdiagram-PU4TI7OM.js +458 -0
  331. package/dist/ssGSEA-N6QOAVLW.js +36 -0
  332. package/dist/ssGSEA.unit.spec-KQBNZNNP.js +86 -0
  333. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js +161 -0
  334. package/dist/summarizeCnvGeneexp-NWX4M6LZ.js.map +7 -0
  335. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js +106 -0
  336. package/dist/summarizeGeneexpSurvival-N5VTE2G6.js.map +7 -0
  337. package/dist/summarizeMutationCnv-VV7CVAA7.js +162 -0
  338. package/dist/summarizeMutationCnv-VV7CVAA7.js.map +7 -0
  339. package/dist/summarizeMutationDiagnosis-5RHSG7L6.js +38 -0
  340. package/dist/summarizeMutationSurvival-22YYXGS5.js +97 -0
  341. package/dist/summary-P3WIKJS7.js +47 -0
  342. package/dist/summary.integration.spec-ULGRPICW.js +412 -0
  343. package/dist/summaryInput-IH4EVNF5.js +218 -0
  344. package/dist/sunburst-VJJ3UVYC.js +282 -0
  345. package/dist/sunburst-VJJ3UVYC.js.map +7 -0
  346. package/dist/survival-2ZE3N62A.js +44 -0
  347. package/dist/survival-ASCLKIII.js +56 -0
  348. package/dist/survival.integration.spec-C5YXOY77.js +787 -0
  349. package/dist/svg2pdf.es.min-CYTPRWNB.js +3157 -0
  350. package/dist/svgraph-AYR2UPNK.js +1385 -0
  351. package/dist/svmr-MOMW5DNY.js +3840 -0
  352. package/dist/table-PQB6KCEY.js +198 -0
  353. package/dist/termCollection-5AY2AWT4.js +36 -0
  354. package/dist/termCollection-OQMUUTW6.js +177 -0
  355. package/dist/termCollection.unit.spec-BUAXYIJK.js +206 -0
  356. package/dist/tk-EJLFFA5H.js +44 -0
  357. package/dist/tp.ui-WUW6A7KP.js +1457 -0
  358. package/dist/tvs.density-HSVPDDGA.js +18 -0
  359. package/dist/tvs.dt-MVJXQMNU.js +37 -0
  360. package/dist/tvs.dtcnv.categorical-FIIDWVK7.js +38 -0
  361. package/dist/tvs.dtcnv.continuous-JPQU3JA2.js +70 -0
  362. package/dist/tvs.dtfusion-BW35GOQM.js +38 -0
  363. package/dist/tvs.dtsnvindel-AEMFZ4EH.js +38 -0
  364. package/dist/tvs.dtsv-JHTU7UFD.js +38 -0
  365. package/dist/tvs.numeric-ICUGA4WY.js +21 -0
  366. package/dist/tvs.samplelst-VD2NFFFS.js +102 -0
  367. package/dist/tvs.termCollection-IKE5Q74D.js +151 -0
  368. package/dist/violin-DPMJLHQG.js +44 -0
  369. package/dist/violin.integration.spec-A4PNR4ES.js +1423 -0
  370. package/dist/violin.integration.spec-A4PNR4ES.js.map +7 -0
  371. package/dist/violin.interactivity-TS4DYUE5.js +36 -0
  372. package/dist/violin.renderer-53L4PXUT.js +38 -0
  373. package/dist/vocabulary-4MPFHKYC.js +39 -0
  374. package/package.json +3 -3
  375. package/dist/2dmaf-SLBAWGPG.js +0 -1371
  376. package/dist/AIProjectAdmin-6SH5X3AF.js +0 -830
  377. package/dist/AIProjectAdmin-6SH5X3AF.js.map +0 -7
  378. package/dist/AppHeader-MVYNRMC7.js +0 -833
  379. package/dist/BoxPlot-HLGWW3IK.js +0 -1295
  380. package/dist/BoxPlot-HLGWW3IK.js.map +0 -7
  381. package/dist/CorrelationVolcano-TZCYC3NI.js +0 -617
  382. package/dist/DE-2J2SK5UT.js +0 -93
  383. package/dist/DEinput-QM3GOQHM.js +0 -297
  384. package/dist/DifferentialAnalysis-DS7CQOT6.js +0 -238
  385. package/dist/Disco-U5I6NJUT.js +0 -3199
  386. package/dist/Disco-U5I6NJUT.js.map +0 -7
  387. package/dist/Disco.UI-J2B7GGEZ.js +0 -242
  388. package/dist/DmrPlot-D5W76QPY.js +0 -640
  389. package/dist/GB-LM5SGUG4.js +0 -1125
  390. package/dist/HicApp-YNBGAGKM.js +0 -2248
  391. package/dist/NumBinaryEditor-4QA5DQJT.js +0 -268
  392. package/dist/NumBinaryEditor.unit.spec-YWSIFTOJ.js +0 -284
  393. package/dist/NumContEditor-ZPLVZFLH.js +0 -105
  394. package/dist/NumContEditor.unit.spec-NBCFOCOX.js +0 -167
  395. package/dist/NumCustomBinEditor-TXEYRVPL.js +0 -36
  396. package/dist/NumCustomBinEditor.unit.spec-SQM63H4B.js +0 -282
  397. package/dist/NumDiscreteEditor-6C4OWX62.js +0 -177
  398. package/dist/NumDiscreteEditor.unit.spec-4HC4AGAM.js +0 -200
  399. package/dist/NumRegularBinEditor-VQAS3OXK.js +0 -36
  400. package/dist/NumRegularBinEditor.unit.spec-RGVEPB3Z.js +0 -225
  401. package/dist/NumSplineEditor-SXOJICHU.js +0 -190
  402. package/dist/NumSplineEditor.unit.spec-HF5E6ANH.js +0 -197
  403. package/dist/NumericDensity-LMLPMOSE.js +0 -36
  404. package/dist/NumericDensity.unit.spec-3ZI5EVON.js +0 -219
  405. package/dist/NumericHandler-Q6F6ANOS.js +0 -37
  406. package/dist/NumericHandler.unit.spec-E6Z5HUNZ.js +0 -217
  407. package/dist/RunChart2-XSNWNAIL.js +0 -756
  408. package/dist/RunChart2-XSNWNAIL.js.map +0 -7
  409. package/dist/SC-RA46YM57.js +0 -733
  410. package/dist/SC-RA46YM57.js.map +0 -7
  411. package/dist/Volcano-75UDYPVB.js +0 -1187
  412. package/dist/Volcano-75UDYPVB.js.map +0 -7
  413. package/dist/WSIViewer-GYUUXCSJ.js +0 -47933
  414. package/dist/WSIViewer-GYUUXCSJ.js.map +0 -7
  415. package/dist/WsiSamplesPlot-KMI5S2EL.js +0 -163
  416. package/dist/adSandbox-JTK5XEQL.js +0 -36
  417. package/dist/alphaGenome-JRAV6WIY.js +0 -173
  418. package/dist/app-JKDZL23V.js +0 -35
  419. package/dist/app-OEARXM6E.js +0 -47
  420. package/dist/bam-CYEPLBK4.js +0 -857
  421. package/dist/barchart-GG5UFDG4.js +0 -45
  422. package/dist/barchart.data-KXA66FAL.js +0 -22
  423. package/dist/barchart.events-P2USOIR7.js +0 -45
  424. package/dist/barchart.integration.spec-5QSPQQLJ.js +0 -1675
  425. package/dist/bars.renderer-T5R3UIBW.js +0 -12
  426. package/dist/block-6DVPQBSH.js +0 -6200
  427. package/dist/block-6DVPQBSH.js.map +0 -7
  428. package/dist/block.init-ZHX6DFWF.js +0 -36
  429. package/dist/block.mds.expressionrank-YMGYXXYT.js +0 -357
  430. package/dist/block.mds.geneboxplot-IAILQYX4.js +0 -826
  431. package/dist/block.mds.junction-BRNFNQMU.js +0 -1543
  432. package/dist/block.mds.svcnv-OHKC7YPO.js +0 -6799
  433. package/dist/block.svg-PNGK45HW.js +0 -162
  434. package/dist/block.tk.aicheck-SCIOJ4WN.js +0 -281
  435. package/dist/block.tk.ase-BABJ73GG.js +0 -363
  436. package/dist/block.tk.bam-LZWJ5BCQ.js +0 -1904
  437. package/dist/block.tk.bedgraphdot-7NQLC3XJ.js +0 -382
  438. package/dist/block.tk.bigwig.ui-VNY4SFD5.js +0 -209
  439. package/dist/block.tk.hicstraw-36A7VDRM.js +0 -821
  440. package/dist/block.tk.junction-D373YEMK.js +0 -2362
  441. package/dist/block.tk.junction.textmatrixui-FFII7J3X.js +0 -197
  442. package/dist/block.tk.ld-XGB6KMDO.js +0 -97
  443. package/dist/block.tk.menu-PEZANZBZ.js +0 -1027
  444. package/dist/block.tk.pgv-MU5BPTT2.js +0 -942
  445. package/dist/brainImaging-LVJON47N.js +0 -421
  446. package/dist/chat-5FDIAQJ4.js +0 -148
  447. package/dist/chunk-22NJUYET.js +0 -281
  448. package/dist/chunk-22NJUYET.js.map +0 -7
  449. package/dist/chunk-2J3566TA.js +0 -215
  450. package/dist/chunk-2OSEZCWZ.js +0 -205
  451. package/dist/chunk-2SRMRC6L.js +0 -421
  452. package/dist/chunk-2SRMRC6L.js.map +0 -7
  453. package/dist/chunk-5OHXYXLD.js +0 -46
  454. package/dist/chunk-5OHXYXLD.js.map +0 -7
  455. package/dist/chunk-6MSCYO7K.js +0 -119
  456. package/dist/chunk-75EBDB7G.js +0 -21
  457. package/dist/chunk-75EBDB7G.js.map +0 -7
  458. package/dist/chunk-7A7NMCQ3.js +0 -534
  459. package/dist/chunk-7FEHI46K.js +0 -20456
  460. package/dist/chunk-7FEHI46K.js.map +0 -7
  461. package/dist/chunk-AETE4F7R.js +0 -252
  462. package/dist/chunk-AZYDW5T7.js +0 -441
  463. package/dist/chunk-B6HCIAM3.js +0 -34
  464. package/dist/chunk-BEWDIM6H.js +0 -42
  465. package/dist/chunk-BEWDIM6H.js.map +0 -7
  466. package/dist/chunk-CCIZJAXB.js +0 -2815
  467. package/dist/chunk-DHZL3FBC.js +0 -107
  468. package/dist/chunk-DONWY7TP.js +0 -39
  469. package/dist/chunk-DVDDXOWT.js +0 -815
  470. package/dist/chunk-E6DRQJJT.js +0 -480
  471. package/dist/chunk-ESKU6LNC.js +0 -36
  472. package/dist/chunk-ESKU6LNC.js.map +0 -7
  473. package/dist/chunk-F6V4AYWP.js +0 -177
  474. package/dist/chunk-FBAJTPBU.js +0 -302
  475. package/dist/chunk-FGMPKWT5.js +0 -371
  476. package/dist/chunk-FK4MYVW2.js +0 -261
  477. package/dist/chunk-FK4MYVW2.js.map +0 -7
  478. package/dist/chunk-FMBJ4SKC.js +0 -98
  479. package/dist/chunk-FMBJ4SKC.js.map +0 -7
  480. package/dist/chunk-FOEZG4VX.js +0 -505
  481. package/dist/chunk-FOEZG4VX.js.map +0 -7
  482. package/dist/chunk-FQRLSKJC.js +0 -226
  483. package/dist/chunk-G6ELKVBG.js +0 -629
  484. package/dist/chunk-GKK3CZ6H.js +0 -4207
  485. package/dist/chunk-GO5SIPFE.js +0 -194
  486. package/dist/chunk-GPOECA3V.js +0 -386
  487. package/dist/chunk-GTOY3JJO.js +0 -288
  488. package/dist/chunk-GTOY3JJO.js.map +0 -7
  489. package/dist/chunk-GW7DHJYH.js +0 -439
  490. package/dist/chunk-GW7DHJYH.js.map +0 -7
  491. package/dist/chunk-H2D7EVUA.js +0 -158
  492. package/dist/chunk-H2K5KZP7.js +0 -95
  493. package/dist/chunk-H5XFH3FV.js +0 -153
  494. package/dist/chunk-H5XFH3FV.js.map +0 -7
  495. package/dist/chunk-HAMDFQIX.js +0 -228
  496. package/dist/chunk-HH4QLSTK.js +0 -4952
  497. package/dist/chunk-HH4QLSTK.js.map +0 -7
  498. package/dist/chunk-IBTPGSYI.js +0 -526
  499. package/dist/chunk-IBTPGSYI.js.map +0 -7
  500. package/dist/chunk-IC7SUXJD.js +0 -82
  501. package/dist/chunk-IC7SUXJD.js.map +0 -7
  502. package/dist/chunk-IGEQI6MR.js +0 -1561
  503. package/dist/chunk-IGEQI6MR.js.map +0 -7
  504. package/dist/chunk-IIRU6VK2.js +0 -2672
  505. package/dist/chunk-ILF2GKBY.js +0 -1205
  506. package/dist/chunk-IP4T477W.js +0 -92
  507. package/dist/chunk-IQIXGTQV.js +0 -84
  508. package/dist/chunk-IQIXGTQV.js.map +0 -7
  509. package/dist/chunk-IXT4U5CE.js +0 -91
  510. package/dist/chunk-IXT4U5CE.js.map +0 -7
  511. package/dist/chunk-JHOGX5VE.js +0 -272
  512. package/dist/chunk-JOXUBWN3.js +0 -381
  513. package/dist/chunk-K57RR3FD.js +0 -142
  514. package/dist/chunk-K6JLCMVL.js +0 -129
  515. package/dist/chunk-KISFQDQE.js +0 -258
  516. package/dist/chunk-KISFQDQE.js.map +0 -7
  517. package/dist/chunk-KSFSM46X.js +0 -100
  518. package/dist/chunk-KVG7FTTK.js +0 -470
  519. package/dist/chunk-LEDPPLQK.js +0 -158
  520. package/dist/chunk-LUTT3MBZ.js +0 -1150
  521. package/dist/chunk-MDL2HG3N.js +0 -257
  522. package/dist/chunk-MDL2HG3N.js.map +0 -7
  523. package/dist/chunk-MNRYCG2S.js +0 -1271
  524. package/dist/chunk-MPJHDHBA.js +0 -2784
  525. package/dist/chunk-MXI3NXRB.js +0 -407
  526. package/dist/chunk-O4PXELXF.js +0 -615
  527. package/dist/chunk-ORPCSG6T.js +0 -14
  528. package/dist/chunk-OUKDZKSZ.js +0 -334
  529. package/dist/chunk-OUKDZKSZ.js.map +0 -7
  530. package/dist/chunk-P5HLYAHP.js +0 -1087
  531. package/dist/chunk-PIACSJPH.js +0 -148
  532. package/dist/chunk-PQABAAEZ.js +0 -31
  533. package/dist/chunk-PSMDCZET.js +0 -46
  534. package/dist/chunk-PSMDCZET.js.map +0 -7
  535. package/dist/chunk-RFIVPTMS.js +0 -217
  536. package/dist/chunk-RSU37SVQ.js +0 -54
  537. package/dist/chunk-RTC4U4PH.js +0 -2327
  538. package/dist/chunk-RTC4U4PH.js.map +0 -7
  539. package/dist/chunk-RZ5JP44H.js +0 -276
  540. package/dist/chunk-RZ5JP44H.js.map +0 -7
  541. package/dist/chunk-SPAIFVM2.js +0 -1155
  542. package/dist/chunk-SPAIFVM2.js.map +0 -7
  543. package/dist/chunk-T2HYA2KL.js +0 -55
  544. package/dist/chunk-TCPU43TU.js +0 -1741
  545. package/dist/chunk-TCPU43TU.js.map +0 -7
  546. package/dist/chunk-TE3DK3A6.js +0 -147
  547. package/dist/chunk-TIQPSXFJ.js +0 -237
  548. package/dist/chunk-TIQPSXFJ.js.map +0 -7
  549. package/dist/chunk-TN5GSG34.js +0 -26
  550. package/dist/chunk-UBGTQMOO.js +0 -52
  551. package/dist/chunk-UBS5UVIY.js +0 -13624
  552. package/dist/chunk-UE5ZYM63.js +0 -48
  553. package/dist/chunk-UE5ZYM63.js.map +0 -7
  554. package/dist/chunk-UQACPOCM.js +0 -102
  555. package/dist/chunk-UR3C4SCH.js +0 -446
  556. package/dist/chunk-UWX7W22M.js +0 -121
  557. package/dist/chunk-VJ37HKM6.js +0 -368
  558. package/dist/chunk-VLTDUJRM.js +0 -293
  559. package/dist/chunk-W6UUEAEP.js +0 -6364
  560. package/dist/chunk-X6UPDFDX.js +0 -229
  561. package/dist/chunk-XD6BFNMR.js +0 -172
  562. package/dist/chunk-XD6BFNMR.js.map +0 -7
  563. package/dist/chunk-XDI4UFCZ.js +0 -467
  564. package/dist/chunk-XDI4UFCZ.js.map +0 -7
  565. package/dist/chunk-XOBD3EAM.js +0 -1425
  566. package/dist/chunk-XOBD3EAM.js.map +0 -7
  567. package/dist/chunk-Y3TDC7NU.js +0 -170
  568. package/dist/chunk-YOTWMCT5.js +0 -824
  569. package/dist/chunk-YUMPQ3CJ.js +0 -203
  570. package/dist/condition-VHP2L4GM.js +0 -330
  571. package/dist/controls-N5Q7U7JR.js +0 -39
  572. package/dist/controls.config-NJMW4SLR.js +0 -37
  573. package/dist/correlation-3LDASF5I.js +0 -96
  574. package/dist/cuminc-UWJ23W6C.js +0 -1147
  575. package/dist/cuminc.integration.spec-OZYYET3W.js +0 -676
  576. package/dist/customdata.inputui-2FVCVSE4.js +0 -285
  577. package/dist/customdata.inputui-2FVCVSE4.js.map +0 -7
  578. package/dist/dataDownload-4S4PE5HX.js +0 -328
  579. package/dist/dataDownload.integration.spec-B57LEKFZ.js +0 -191
  580. package/dist/databrowser.ui-N6GHEQ2P.js +0 -419
  581. package/dist/dictionary-UP46QRYZ.js +0 -98
  582. package/dist/dictionary-UP46QRYZ.js.map +0 -7
  583. package/dist/dnaMethylation-BOGAUAWA.js +0 -36
  584. package/dist/dnaMethylation.integration.spec-UAHBJSSJ.js +0 -179
  585. package/dist/dnaMethylation.integration.spec-UAHBJSSJ.js.map +0 -7
  586. package/dist/e2pca-L5EBQJNP.js +0 -348
  587. package/dist/ep-Z67ORKUX.js +0 -1254
  588. package/dist/expclust.gdc.spec-SP7VOL64.js +0 -305
  589. package/dist/facet-HDB4VDGU.js +0 -519
  590. package/dist/geneExpClustering-6ZPOLTDJ.js +0 -246
  591. package/dist/geneExpression-T6YIG4XQ.js +0 -312
  592. package/dist/geneExpression-T7QUHV5S.js +0 -36
  593. package/dist/geneExpression.unit.spec-DO52L5IB.js +0 -100
  594. package/dist/geneORA-KOUDUWUO.js +0 -276
  595. package/dist/geneVariant-FVR76F6I.js +0 -39
  596. package/dist/geneVariant-I5QUITKG.js +0 -37
  597. package/dist/geneVariant.integration.spec-D4IRM7B5.js +0 -196
  598. package/dist/genefusion.ui-35IYSZD7.js +0 -249
  599. package/dist/geneset-7ZHJ5KWK.js +0 -194
  600. package/dist/genomeBrowser.spec-VXASVLNH.js +0 -279
  601. package/dist/grin2-7NM56COO.js +0 -1554
  602. package/dist/grin2-IY26UUQI.js +0 -1031
  603. package/dist/gsea-TORO46C6.js +0 -45
  604. package/dist/hierCluster-3BKEGW6P.js +0 -58
  605. package/dist/hierCluster-HM3LOM6V.js +0 -62
  606. package/dist/hierCluster.config-LDO5IGQ5.js +0 -38
  607. package/dist/hierCluster.integration.spec-XO5R6CQT.js +0 -374
  608. package/dist/hierCluster.interactivity-NVQ6262K.js +0 -52
  609. package/dist/hierCluster.renderers-SWPPNBLU.js +0 -21
  610. package/dist/imagePlot-V4WLAPV6.js +0 -139
  611. package/dist/importPlot-NZKQEOX4.js +0 -8
  612. package/dist/isoformExpression-TIZBIGNL.js +0 -38
  613. package/dist/isoformExpression.unit.spec-WHH5LPFG.js +0 -124
  614. package/dist/isoformExpression.unit.spec-WHH5LPFG.js.map +0 -7
  615. package/dist/jspdf.es.min-DO4YWL2R.js +0 -40
  616. package/dist/launch.adhoc-JYEN42NM.js +0 -40
  617. package/dist/leftlabel.sample-43DL3J3H.js +0 -257
  618. package/dist/legacyDataset-QRSNRVUA.js +0 -119
  619. package/dist/lollipop-NMWZ4FVF.js +0 -166
  620. package/dist/maf-DS3EOVGV.js +0 -450
  621. package/dist/maftimeline-ZB2753S7.js +0 -591
  622. package/dist/matrix-RCGQWQ3C.js +0 -57
  623. package/dist/matrix-WTTEK4FT.js +0 -62
  624. package/dist/matrix.cells-UO5ASQ35.js +0 -28
  625. package/dist/matrix.config-3UQAT3QR.js +0 -39
  626. package/dist/matrix.controls-PRZ77K5L.js +0 -37
  627. package/dist/matrix.data-4W73RQ3H.js +0 -25
  628. package/dist/matrix.dom-IZFFS4RQ.js +0 -11
  629. package/dist/matrix.groups-5VMPI7SA.js +0 -26
  630. package/dist/matrix.integration.spec-2F5LDLC2.js +0 -3070
  631. package/dist/matrix.interactivity-MIPZ6ELV.js +0 -40
  632. package/dist/matrix.layout-EO5LVYRO.js +0 -42
  633. package/dist/matrix.legend-QBFBFEUG.js +0 -22
  634. package/dist/matrix.renderers-ERJXVCQL.js +0 -36
  635. package/dist/matrix.serieses-E23EPXHA.js +0 -21
  636. package/dist/matrix.sort-I4UGMEXR.js +0 -27
  637. package/dist/matrix.sort.unit.spec-CRGF6CSE.js +0 -470
  638. package/dist/matrix.sorterUi-YLSYTYLE.js +0 -18
  639. package/dist/matrix.sorterUi.unit.spec-ENG3ICOO.js +0 -340
  640. package/dist/mavb-5WR7OJHI.js +0 -730
  641. package/dist/mds.fimo-3ZRH7BBJ.js +0 -516
  642. package/dist/mds.samplescatterplot-RPXR2FVK.js +0 -1548
  643. package/dist/mds.survivalplot-WSSMYUZD.js +0 -481
  644. package/dist/oncomatrix-JKYPUJQR.js +0 -293
  645. package/dist/oncomatrix.spec-OEGU4DYK.js +0 -446
  646. package/dist/plot.2dvaf-ZGARLQNK.js +0 -375
  647. package/dist/plot.app-TKUJH3LK.js +0 -39
  648. package/dist/plot.barplot-FEIPGDZ2.js +0 -100
  649. package/dist/plot.boxplot-6RASUMZB.js +0 -150
  650. package/dist/plot.brainImaging-ZJPFWX2W.js +0 -51
  651. package/dist/plot.disco-2KTKB3XX.js +0 -101
  652. package/dist/plot.disco-2KTKB3XX.js.map +0 -7
  653. package/dist/plot.dzi-PC34YI6Y.js +0 -33
  654. package/dist/plot.ssgq-Z4UNJKWO.js +0 -137
  655. package/dist/plot.vaf2cov-NZ4WULKT.js +0 -257
  656. package/dist/plot.wsi-YYXFAZWY.js +0 -36
  657. package/dist/polar-X2GPIBLB.js +0 -184
  658. package/dist/polar2-TZ553QQH.js +0 -226
  659. package/dist/profile.spec-VB6VMFLY.js +0 -78
  660. package/dist/profileBarchart-SKJSTC7B.js +0 -265
  661. package/dist/profileForms-RLOGSMAQ.js +0 -438
  662. package/dist/profilePlot-267ZS3RG.js +0 -52
  663. package/dist/profileRadar-KGOBHCSF.js +0 -261
  664. package/dist/profileRadarFacility-MCJKSHUM.js +0 -261
  665. package/dist/profileRadarFacility-MCJKSHUM.js.map +0 -7
  666. package/dist/proteomeAbundance-JUYAYO5I.js +0 -63
  667. package/dist/proteomeAbundance-PGHZSVAF.js +0 -19
  668. package/dist/qualitative-3IECKKJM.js +0 -41
  669. package/dist/regression-J6FFRPXN.js +0 -54
  670. package/dist/regression.inputs-T7LWBSYZ.js +0 -46
  671. package/dist/regression.inputs.term-TT7PNX6G.js +0 -46
  672. package/dist/regression.inputs.values.table-SHFUNKCS.js +0 -43
  673. package/dist/regression.integration.spec-QKHMJTHA.js +0 -784
  674. package/dist/regression.integration.spec-QKHMJTHA.js.map +0 -7
  675. package/dist/regression.results-D4WX6VIV.js +0 -38
  676. package/dist/regression.spec-7SW55L7X.js +0 -706
  677. package/dist/report-QYOZ4BRF.js +0 -220
  678. package/dist/sampleScatter.spec-JCHFMGNF.js +0 -200
  679. package/dist/sampleView-7RPKNAZC.js +0 -46
  680. package/dist/samplelst-4WNPHZVG.js +0 -109
  681. package/dist/samplematrix-CG52DSXJ.js +0 -2196
  682. package/dist/sc-OJSWILSA.js +0 -84
  683. package/dist/scatter-LG2RMMEC.js +0 -800
  684. package/dist/scatter.integration.spec-QPANYTKW.js +0 -1194
  685. package/dist/scatter.integration.spec-QPANYTKW.js.map +0 -7
  686. package/dist/selectGenomeWithTklst-QXRVE6N4.js +0 -132
  687. package/dist/singleCellCellType-XBSRL33U.js +0 -36
  688. package/dist/singleCellCellType.unit.spec-YZX4CSXA.js +0 -177
  689. package/dist/singleCellCellType.unit.spec-YZX4CSXA.js.map +0 -7
  690. package/dist/singleCellGeneExpression-64ECP62X.js +0 -36
  691. package/dist/singleCellGeneExpression.unit.spec-CFHFXMA6.js +0 -163
  692. package/dist/singleCellGeneExpression.unit.spec-CFHFXMA6.js.map +0 -7
  693. package/dist/singleCellPlot-E5F62JY6.js +0 -51
  694. package/dist/singlecell-FCY5EOUV.js +0 -84
  695. package/dist/singlecell-S7B5V7NK.js +0 -1570
  696. package/dist/snp-ACKX4GRX.js +0 -36
  697. package/dist/snp.unit.spec-QBGHKKUD.js +0 -174
  698. package/dist/snplocus-7EUOW7J7.js +0 -206
  699. package/dist/spliceevent.a53ss.diagram-ALQZA35Z.js +0 -149
  700. package/dist/spliceevent.exonskip.diagram-UF7WJA5R.js +0 -275
  701. package/dist/spliceevent.noeventdiagram-4HPGRNRR.js +0 -458
  702. package/dist/ssGSEA-FDRBBBLJ.js +0 -36
  703. package/dist/ssGSEA.unit.spec-EZEOWJVV.js +0 -86
  704. package/dist/summarizeCnvGeneexp-FTL2MGAJ.js +0 -158
  705. package/dist/summarizeCnvGeneexp-FTL2MGAJ.js.map +0 -7
  706. package/dist/summarizeGeneexpSurvival-DDIF4UW6.js +0 -105
  707. package/dist/summarizeGeneexpSurvival-DDIF4UW6.js.map +0 -7
  708. package/dist/summarizeMutationCnv-L3GL5YDY.js +0 -159
  709. package/dist/summarizeMutationCnv-L3GL5YDY.js.map +0 -7
  710. package/dist/summarizeMutationDiagnosis-LALOJTHV.js +0 -38
  711. package/dist/summarizeMutationSurvival-TSNTSOBZ.js +0 -97
  712. package/dist/summary-YRHVS64T.js +0 -47
  713. package/dist/summary.integration.spec-766YQLQA.js +0 -412
  714. package/dist/summaryInput-VQ2X6GSX.js +0 -218
  715. package/dist/sunburst-XFOONS6K.js +0 -282
  716. package/dist/sunburst-XFOONS6K.js.map +0 -7
  717. package/dist/survival-FQXZH2MM.js +0 -44
  718. package/dist/survival-TVA3ZWVP.js +0 -56
  719. package/dist/survival.integration.spec-WFIOPD6A.js +0 -787
  720. package/dist/svg2pdf.es.min-EZ4UYRSH.js +0 -3157
  721. package/dist/svgraph-4BFBO7EL.js +0 -1385
  722. package/dist/svmr-ML7GAIIA.js +0 -3840
  723. package/dist/table-SMLMUWPP.js +0 -198
  724. package/dist/termCollection-22CPTISZ.js +0 -36
  725. package/dist/termCollection-EE6AOIVA.js +0 -177
  726. package/dist/termCollection.unit.spec-4DIW3CJ3.js +0 -206
  727. package/dist/tk-ITZCKOQ5.js +0 -44
  728. package/dist/tp.ui-R6HVKCBC.js +0 -1457
  729. package/dist/tvs.density-AQ5GD437.js +0 -18
  730. package/dist/tvs.dt-2263TBEJ.js +0 -37
  731. package/dist/tvs.dtcnv.categorical-TRRHL33N.js +0 -38
  732. package/dist/tvs.dtcnv.continuous-GREYNF52.js +0 -70
  733. package/dist/tvs.dtfusion-XOX46L3M.js +0 -38
  734. package/dist/tvs.dtsnvindel-IDMXT53F.js +0 -38
  735. package/dist/tvs.dtsv-ZDWFYH2C.js +0 -38
  736. package/dist/tvs.numeric-ZN2R7BH3.js +0 -21
  737. package/dist/tvs.samplelst-GAP76HRH.js +0 -102
  738. package/dist/tvs.termCollection-GQ65UKSI.js +0 -151
  739. package/dist/violin-JGDL62YA.js +0 -44
  740. package/dist/violin.integration.spec-W4NN7LBY.js +0 -1417
  741. package/dist/violin.integration.spec-W4NN7LBY.js.map +0 -7
  742. package/dist/violin.interactivity-H4RP4K5U.js +0 -36
  743. package/dist/violin.renderer-QPHLACDC.js +0 -38
  744. package/dist/vocabulary-7JACY4J2.js +0 -39
  745. /package/dist/{2dmaf-SLBAWGPG.js.map → 2dmaf-6ZTETSC5.js.map} +0 -0
  746. /package/dist/{AppHeader-MVYNRMC7.js.map → AppHeader-U7SJPIBS.js.map} +0 -0
  747. /package/dist/{CorrelationVolcano-TZCYC3NI.js.map → CorrelationVolcano-7SE4CTBW.js.map} +0 -0
  748. /package/dist/{DE-2J2SK5UT.js.map → DE-PZ7RHPBS.js.map} +0 -0
  749. /package/dist/{DEinput-QM3GOQHM.js.map → DEinput-UZEQIU2V.js.map} +0 -0
  750. /package/dist/{DifferentialAnalysis-DS7CQOT6.js.map → DifferentialAnalysis-L6BOEYVO.js.map} +0 -0
  751. /package/dist/{Disco.UI-J2B7GGEZ.js.map → Disco.UI-HKOUAD4P.js.map} +0 -0
  752. /package/dist/{DmrPlot-D5W76QPY.js.map → DmrPlot-3R24PTXP.js.map} +0 -0
  753. /package/dist/{GB-LM5SGUG4.js.map → GB-SZVYZASR.js.map} +0 -0
  754. /package/dist/{HicApp-YNBGAGKM.js.map → HicApp-SEEJETVE.js.map} +0 -0
  755. /package/dist/{NumBinaryEditor-4QA5DQJT.js.map → NumBinaryEditor-SDQFJ3FW.js.map} +0 -0
  756. /package/dist/{NumBinaryEditor.unit.spec-YWSIFTOJ.js.map → NumBinaryEditor.unit.spec-76ZZXTYC.js.map} +0 -0
  757. /package/dist/{NumContEditor-ZPLVZFLH.js.map → NumContEditor-G75O4YZE.js.map} +0 -0
  758. /package/dist/{NumContEditor.unit.spec-NBCFOCOX.js.map → NumContEditor.unit.spec-BFUZRBPL.js.map} +0 -0
  759. /package/dist/{NumCustomBinEditor-TXEYRVPL.js.map → NumCustomBinEditor-ILTPHCEF.js.map} +0 -0
  760. /package/dist/{NumCustomBinEditor.unit.spec-SQM63H4B.js.map → NumCustomBinEditor.unit.spec-GFIYV55V.js.map} +0 -0
  761. /package/dist/{NumDiscreteEditor-6C4OWX62.js.map → NumDiscreteEditor-5K3OKUOE.js.map} +0 -0
  762. /package/dist/{NumDiscreteEditor.unit.spec-4HC4AGAM.js.map → NumDiscreteEditor.unit.spec-NZ4KWPFK.js.map} +0 -0
  763. /package/dist/{NumRegularBinEditor-VQAS3OXK.js.map → NumRegularBinEditor-7ZJ2MEMY.js.map} +0 -0
  764. /package/dist/{NumRegularBinEditor.unit.spec-RGVEPB3Z.js.map → NumRegularBinEditor.unit.spec-QGVJET65.js.map} +0 -0
  765. /package/dist/{NumSplineEditor-SXOJICHU.js.map → NumSplineEditor-KE4UPODZ.js.map} +0 -0
  766. /package/dist/{NumSplineEditor.unit.spec-HF5E6ANH.js.map → NumSplineEditor.unit.spec-YQOOZA7S.js.map} +0 -0
  767. /package/dist/{NumericDensity-LMLPMOSE.js.map → NumericDensity-RL42P4QC.js.map} +0 -0
  768. /package/dist/{NumericDensity.unit.spec-3ZI5EVON.js.map → NumericDensity.unit.spec-Y6RMTYC7.js.map} +0 -0
  769. /package/dist/{NumericHandler-Q6F6ANOS.js.map → NumericHandler-4QIX324I.js.map} +0 -0
  770. /package/dist/{NumericHandler.unit.spec-E6Z5HUNZ.js.map → NumericHandler.unit.spec-T6F5QYP6.js.map} +0 -0
  771. /package/dist/{WsiSamplesPlot-KMI5S2EL.js.map → WsiSamplesPlot-CXGWPCDL.js.map} +0 -0
  772. /package/dist/{adSandbox-JTK5XEQL.js.map → adSandbox-DE4VRO4Z.js.map} +0 -0
  773. /package/dist/{alphaGenome-JRAV6WIY.js.map → alphaGenome-FSIGC5ZT.js.map} +0 -0
  774. /package/dist/{app-JKDZL23V.js.map → app-KZGKWQMU.js.map} +0 -0
  775. /package/dist/{app-OEARXM6E.js.map → app-MQRJ7FVL.js.map} +0 -0
  776. /package/dist/{bam-CYEPLBK4.js.map → bam-BDWTA4O3.js.map} +0 -0
  777. /package/dist/{barchart-GG5UFDG4.js.map → barchart-4Q6LVJY4.js.map} +0 -0
  778. /package/dist/{barchart.data-KXA66FAL.js.map → barchart.data-EXENRVMU.js.map} +0 -0
  779. /package/dist/{barchart.events-P2USOIR7.js.map → barchart.events-XRGND6I7.js.map} +0 -0
  780. /package/dist/{barchart.integration.spec-5QSPQQLJ.js.map → barchart.integration.spec-VQITP4YH.js.map} +0 -0
  781. /package/dist/{bars.renderer-T5R3UIBW.js.map → bars.renderer-S7A7I6BQ.js.map} +0 -0
  782. /package/dist/{block.init-ZHX6DFWF.js.map → block.init-NCNSE3HD.js.map} +0 -0
  783. /package/dist/{block.mds.expressionrank-YMGYXXYT.js.map → block.mds.expressionrank-JYZARS7T.js.map} +0 -0
  784. /package/dist/{block.mds.geneboxplot-IAILQYX4.js.map → block.mds.geneboxplot-FD2MCIHV.js.map} +0 -0
  785. /package/dist/{block.mds.junction-BRNFNQMU.js.map → block.mds.junction-LOHVQBIU.js.map} +0 -0
  786. /package/dist/{block.mds.svcnv-OHKC7YPO.js.map → block.mds.svcnv-Z7SAYPQL.js.map} +0 -0
  787. /package/dist/{block.svg-PNGK45HW.js.map → block.svg-LNJOKQNN.js.map} +0 -0
  788. /package/dist/{block.tk.aicheck-SCIOJ4WN.js.map → block.tk.aicheck-IXCMMAGV.js.map} +0 -0
  789. /package/dist/{block.tk.ase-BABJ73GG.js.map → block.tk.ase-WYRYFP6N.js.map} +0 -0
  790. /package/dist/{block.tk.bam-LZWJ5BCQ.js.map → block.tk.bam-EIVBNGAL.js.map} +0 -0
  791. /package/dist/{block.tk.bedgraphdot-7NQLC3XJ.js.map → block.tk.bedgraphdot-3FHLNCU7.js.map} +0 -0
  792. /package/dist/{block.tk.bigwig.ui-VNY4SFD5.js.map → block.tk.bigwig.ui-YDQU5PC4.js.map} +0 -0
  793. /package/dist/{block.tk.hicstraw-36A7VDRM.js.map → block.tk.hicstraw-S3ROL3CV.js.map} +0 -0
  794. /package/dist/{block.tk.junction-D373YEMK.js.map → block.tk.junction-DL7RNWX3.js.map} +0 -0
  795. /package/dist/{block.tk.junction.textmatrixui-FFII7J3X.js.map → block.tk.junction.textmatrixui-Z6I7IEDY.js.map} +0 -0
  796. /package/dist/{block.tk.ld-XGB6KMDO.js.map → block.tk.ld-XHVU6L56.js.map} +0 -0
  797. /package/dist/{block.tk.menu-PEZANZBZ.js.map → block.tk.menu-FPLAEEFY.js.map} +0 -0
  798. /package/dist/{block.tk.pgv-MU5BPTT2.js.map → block.tk.pgv-6ZZ2QGNO.js.map} +0 -0
  799. /package/dist/{brainImaging-LVJON47N.js.map → brainImaging-VSOOMITW.js.map} +0 -0
  800. /package/dist/{chat-5FDIAQJ4.js.map → chat-LW23PIG5.js.map} +0 -0
  801. /package/dist/{chunk-PQABAAEZ.js.map → chunk-2LULD7RN.js.map} +0 -0
  802. /package/dist/{chunk-LEDPPLQK.js.map → chunk-3AGB6HL4.js.map} +0 -0
  803. /package/dist/{chunk-T2HYA2KL.js.map → chunk-3AVDNIDN.js.map} +0 -0
  804. /package/dist/{chunk-JOXUBWN3.js.map → chunk-3DCABJHB.js.map} +0 -0
  805. /package/dist/{chunk-UQACPOCM.js.map → chunk-3JMB3OSC.js.map} +0 -0
  806. /package/dist/{chunk-2J3566TA.js.map → chunk-3UEMY45Y.js.map} +0 -0
  807. /package/dist/{chunk-ILF2GKBY.js.map → chunk-4RR4KPRJ.js.map} +0 -0
  808. /package/dist/{chunk-TE3DK3A6.js.map → chunk-5HCB4HNL.js.map} +0 -0
  809. /package/dist/{chunk-IP4T477W.js.map → chunk-5RFB7TYT.js.map} +0 -0
  810. /package/dist/{chunk-7A7NMCQ3.js.map → chunk-5UMPBVA6.js.map} +0 -0
  811. /package/dist/{chunk-MXI3NXRB.js.map → chunk-6C2SBTLR.js.map} +0 -0
  812. /package/dist/{chunk-UBS5UVIY.js.map → chunk-6LAE5AVA.js.map} +0 -0
  813. /package/dist/{chunk-JHOGX5VE.js.map → chunk-7VV43ICF.js.map} +0 -0
  814. /package/dist/{chunk-O4PXELXF.js.map → chunk-A742TQD2.js.map} +0 -0
  815. /package/dist/{chunk-E6DRQJJT.js.map → chunk-AFLFPYJI.js.map} +0 -0
  816. /package/dist/{chunk-DONWY7TP.js.map → chunk-AQ4OP4GR.js.map} +0 -0
  817. /package/dist/{chunk-FQRLSKJC.js.map → chunk-BAY47D5E.js.map} +0 -0
  818. /package/dist/{chunk-TN5GSG34.js.map → chunk-CFHKYLDY.js.map} +0 -0
  819. /package/dist/{chunk-K6JLCMVL.js.map → chunk-CTAKX5CT.js.map} +0 -0
  820. /package/dist/{chunk-Y3TDC7NU.js.map → chunk-D4QFQQWJ.js.map} +0 -0
  821. /package/dist/{chunk-YUMPQ3CJ.js.map → chunk-DGMK7SXX.js.map} +0 -0
  822. /package/dist/{chunk-UR3C4SCH.js.map → chunk-DNCSPTOQ.js.map} +0 -0
  823. /package/dist/{chunk-IIRU6VK2.js.map → chunk-DTDQKGIQ.js.map} +0 -0
  824. /package/dist/{chunk-K57RR3FD.js.map → chunk-E4NVHKWD.js.map} +0 -0
  825. /package/dist/{chunk-GKK3CZ6H.js.map → chunk-E6KEZENR.js.map} +0 -0
  826. /package/dist/{chunk-X6UPDFDX.js.map → chunk-FRBYOOWT.js.map} +0 -0
  827. /package/dist/{chunk-UWX7W22M.js.map → chunk-FVWCYGJL.js.map} +0 -0
  828. /package/dist/{chunk-CCIZJAXB.js.map → chunk-I4IKRKYJ.js.map} +0 -0
  829. /package/dist/{chunk-W6UUEAEP.js.map → chunk-IEQSUAIO.js.map} +0 -0
  830. /package/dist/{chunk-UBGTQMOO.js.map → chunk-JMPSZMDD.js.map} +0 -0
  831. /package/dist/{chunk-MPJHDHBA.js.map → chunk-JXOL73PT.js.map} +0 -0
  832. /package/dist/{chunk-KSFSM46X.js.map → chunk-K62XUHA4.js.map} +0 -0
  833. /package/dist/{chunk-DVDDXOWT.js.map → chunk-KQMEJUWI.js.map} +0 -0
  834. /package/dist/{chunk-FGMPKWT5.js.map → chunk-LI7FE335.js.map} +0 -0
  835. /package/dist/{chunk-AZYDW5T7.js.map → chunk-MV6O4I2B.js.map} +0 -0
  836. /package/dist/{chunk-PIACSJPH.js.map → chunk-MXNSW55L.js.map} +0 -0
  837. /package/dist/{chunk-HAMDFQIX.js.map → chunk-NB7NLFGZ.js.map} +0 -0
  838. /package/dist/{chunk-FBAJTPBU.js.map → chunk-NGGWK6HX.js.map} +0 -0
  839. /package/dist/{chunk-P5HLYAHP.js.map → chunk-OGGFS66K.js.map} +0 -0
  840. /package/dist/{chunk-DHZL3FBC.js.map → chunk-Q7PYFSNU.js.map} +0 -0
  841. /package/dist/{chunk-GPOECA3V.js.map → chunk-QMI222IJ.js.map} +0 -0
  842. /package/dist/{chunk-AETE4F7R.js.map → chunk-QRIRWDIW.js.map} +0 -0
  843. /package/dist/{chunk-ORPCSG6T.js.map → chunk-R6L6NVEC.js.map} +0 -0
  844. /package/dist/{chunk-B6HCIAM3.js.map → chunk-RLTLYKHO.js.map} +0 -0
  845. /package/dist/{chunk-VLTDUJRM.js.map → chunk-S5ZI6N2I.js.map} +0 -0
  846. /package/dist/{chunk-H2D7EVUA.js.map → chunk-S7T7OZC7.js.map} +0 -0
  847. /package/dist/{chunk-F6V4AYWP.js.map → chunk-SEQLC4AD.js.map} +0 -0
  848. /package/dist/{chunk-RSU37SVQ.js.map → chunk-TEZLFSOV.js.map} +0 -0
  849. /package/dist/{chunk-YOTWMCT5.js.map → chunk-UEMTP6ZC.js.map} +0 -0
  850. /package/dist/{chunk-6MSCYO7K.js.map → chunk-UJU3Q7QJ.js.map} +0 -0
  851. /package/dist/{chunk-RFIVPTMS.js.map → chunk-VIPMLSZP.js.map} +0 -0
  852. /package/dist/{chunk-LUTT3MBZ.js.map → chunk-VUUZJANK.js.map} +0 -0
  853. /package/dist/{chunk-2OSEZCWZ.js.map → chunk-WGHO2NCP.js.map} +0 -0
  854. /package/dist/{chunk-GO5SIPFE.js.map → chunk-WPHOEG56.js.map} +0 -0
  855. /package/dist/{chunk-KVG7FTTK.js.map → chunk-WS5XVKPJ.js.map} +0 -0
  856. /package/dist/{chunk-MNRYCG2S.js.map → chunk-X6URQAFD.js.map} +0 -0
  857. /package/dist/{chunk-VJ37HKM6.js.map → chunk-YALAQWX4.js.map} +0 -0
  858. /package/dist/{chunk-H2K5KZP7.js.map → chunk-YY4CKQJ6.js.map} +0 -0
  859. /package/dist/{chunk-G6ELKVBG.js.map → chunk-Z3KV6SC2.js.map} +0 -0
  860. /package/dist/{condition-VHP2L4GM.js.map → condition-JKQIRMMW.js.map} +0 -0
  861. /package/dist/{controls-N5Q7U7JR.js.map → controls-324AGOZG.js.map} +0 -0
  862. /package/dist/{controls.config-NJMW4SLR.js.map → controls.config-TA4NNARU.js.map} +0 -0
  863. /package/dist/{correlation-3LDASF5I.js.map → correlation-3Z36TKC2.js.map} +0 -0
  864. /package/dist/{cuminc-UWJ23W6C.js.map → cuminc-4DY2CSZF.js.map} +0 -0
  865. /package/dist/{cuminc.integration.spec-OZYYET3W.js.map → cuminc.integration.spec-SFQPLMSF.js.map} +0 -0
  866. /package/dist/{dataDownload-4S4PE5HX.js.map → dataDownload-3AE2N7KI.js.map} +0 -0
  867. /package/dist/{dataDownload.integration.spec-B57LEKFZ.js.map → dataDownload.integration.spec-DKOT6BJP.js.map} +0 -0
  868. /package/dist/{databrowser.ui-N6GHEQ2P.js.map → databrowser.ui-ATODRS5P.js.map} +0 -0
  869. /package/dist/{dnaMethylation-BOGAUAWA.js.map → dnaMethylation-TVA5YMOR.js.map} +0 -0
  870. /package/dist/{e2pca-L5EBQJNP.js.map → e2pca-KHVDNFEZ.js.map} +0 -0
  871. /package/dist/{ep-Z67ORKUX.js.map → ep-B5GAAMNM.js.map} +0 -0
  872. /package/dist/{expclust.gdc.spec-SP7VOL64.js.map → expclust.gdc.spec-EDPX7V6K.js.map} +0 -0
  873. /package/dist/{facet-HDB4VDGU.js.map → facet-ZCSXKXIO.js.map} +0 -0
  874. /package/dist/{geneExpClustering-6ZPOLTDJ.js.map → geneExpClustering-ERNCMAED.js.map} +0 -0
  875. /package/dist/{geneExpression-T7QUHV5S.js.map → geneExpression-HUOXWETT.js.map} +0 -0
  876. /package/dist/{geneExpression-T6YIG4XQ.js.map → geneExpression-X2KXJPND.js.map} +0 -0
  877. /package/dist/{geneExpression.unit.spec-DO52L5IB.js.map → geneExpression.unit.spec-5QQB4ISW.js.map} +0 -0
  878. /package/dist/{geneORA-KOUDUWUO.js.map → geneORA-B5UK77KL.js.map} +0 -0
  879. /package/dist/{geneVariant-FVR76F6I.js.map → geneVariant-7MGUAIZ6.js.map} +0 -0
  880. /package/dist/{geneVariant-I5QUITKG.js.map → geneVariant-FK3KZJ2K.js.map} +0 -0
  881. /package/dist/{geneVariant.integration.spec-D4IRM7B5.js.map → geneVariant.integration.spec-C6TYWKIC.js.map} +0 -0
  882. /package/dist/{genefusion.ui-35IYSZD7.js.map → genefusion.ui-VKAINMY7.js.map} +0 -0
  883. /package/dist/{geneset-7ZHJ5KWK.js.map → geneset-673KAZVX.js.map} +0 -0
  884. /package/dist/{genomeBrowser.spec-VXASVLNH.js.map → genomeBrowser.spec-T6TQCJ3O.js.map} +0 -0
  885. /package/dist/{grin2-7NM56COO.js.map → grin2-376BD4XY.js.map} +0 -0
  886. /package/dist/{grin2-IY26UUQI.js.map → grin2-OALS75LC.js.map} +0 -0
  887. /package/dist/{gsea-TORO46C6.js.map → gsea-25LD2LGP.js.map} +0 -0
  888. /package/dist/{hierCluster-3BKEGW6P.js.map → hierCluster-7KU3K52V.js.map} +0 -0
  889. /package/dist/{hierCluster-HM3LOM6V.js.map → hierCluster-M5VVWKQK.js.map} +0 -0
  890. /package/dist/{hierCluster.config-LDO5IGQ5.js.map → hierCluster.config-EDO3SH2P.js.map} +0 -0
  891. /package/dist/{hierCluster.integration.spec-XO5R6CQT.js.map → hierCluster.integration.spec-UOX7J2XD.js.map} +0 -0
  892. /package/dist/{hierCluster.interactivity-NVQ6262K.js.map → hierCluster.interactivity-FEFZDXML.js.map} +0 -0
  893. /package/dist/{hierCluster.renderers-SWPPNBLU.js.map → hierCluster.renderers-A6MEGO2B.js.map} +0 -0
  894. /package/dist/{imagePlot-V4WLAPV6.js.map → imagePlot-FPXZ2H5Z.js.map} +0 -0
  895. /package/dist/{importPlot-NZKQEOX4.js.map → importPlot-VKWPSFEK.js.map} +0 -0
  896. /package/dist/{isoformExpression-TIZBIGNL.js.map → isoformExpression-2R2TOB6P.js.map} +0 -0
  897. /package/dist/{jspdf.es.min-DO4YWL2R.js.map → jspdf.es.min-FC3BCETM.js.map} +0 -0
  898. /package/dist/{launch.adhoc-JYEN42NM.js.map → launch.adhoc-242RS6DW.js.map} +0 -0
  899. /package/dist/{leftlabel.sample-43DL3J3H.js.map → leftlabel.sample-OJW3AE64.js.map} +0 -0
  900. /package/dist/{legacyDataset-QRSNRVUA.js.map → legacyDataset-PBCPC5I7.js.map} +0 -0
  901. /package/dist/{lollipop-NMWZ4FVF.js.map → lollipop-TRQ3LK7Y.js.map} +0 -0
  902. /package/dist/{maf-DS3EOVGV.js.map → maf-ZBOLN2FE.js.map} +0 -0
  903. /package/dist/{maftimeline-ZB2753S7.js.map → maftimeline-GVX7NJP7.js.map} +0 -0
  904. /package/dist/{matrix-RCGQWQ3C.js.map → matrix-73KRNXLM.js.map} +0 -0
  905. /package/dist/{matrix-WTTEK4FT.js.map → matrix-US3OXYRY.js.map} +0 -0
  906. /package/dist/{matrix.cells-UO5ASQ35.js.map → matrix.cells-U7AQNEBP.js.map} +0 -0
  907. /package/dist/{matrix.config-3UQAT3QR.js.map → matrix.config-Q57D7C3F.js.map} +0 -0
  908. /package/dist/{matrix.controls-PRZ77K5L.js.map → matrix.controls-AWXDRSWP.js.map} +0 -0
  909. /package/dist/{matrix.data-4W73RQ3H.js.map → matrix.data-EEIY6AO4.js.map} +0 -0
  910. /package/dist/{matrix.dom-IZFFS4RQ.js.map → matrix.dom-6QL3AJMW.js.map} +0 -0
  911. /package/dist/{matrix.groups-5VMPI7SA.js.map → matrix.groups-CUB6UWC5.js.map} +0 -0
  912. /package/dist/{matrix.integration.spec-2F5LDLC2.js.map → matrix.integration.spec-PQH67KRM.js.map} +0 -0
  913. /package/dist/{matrix.interactivity-MIPZ6ELV.js.map → matrix.interactivity-JW4AXAWO.js.map} +0 -0
  914. /package/dist/{matrix.layout-EO5LVYRO.js.map → matrix.layout-I56KRVCO.js.map} +0 -0
  915. /package/dist/{matrix.legend-QBFBFEUG.js.map → matrix.legend-42LQGAGX.js.map} +0 -0
  916. /package/dist/{matrix.renderers-ERJXVCQL.js.map → matrix.renderers-IX3FCNBK.js.map} +0 -0
  917. /package/dist/{matrix.serieses-E23EPXHA.js.map → matrix.serieses-4B2WB526.js.map} +0 -0
  918. /package/dist/{matrix.sort-I4UGMEXR.js.map → matrix.sort-BJACNR7G.js.map} +0 -0
  919. /package/dist/{matrix.sort.unit.spec-CRGF6CSE.js.map → matrix.sort.unit.spec-3KKDKIPY.js.map} +0 -0
  920. /package/dist/{matrix.sorterUi-YLSYTYLE.js.map → matrix.sorterUi-W6XFYZY2.js.map} +0 -0
  921. /package/dist/{matrix.sorterUi.unit.spec-ENG3ICOO.js.map → matrix.sorterUi.unit.spec-CMJ7EBIW.js.map} +0 -0
  922. /package/dist/{mavb-5WR7OJHI.js.map → mavb-ROAE6WYA.js.map} +0 -0
  923. /package/dist/{mds.fimo-3ZRH7BBJ.js.map → mds.fimo-UGK5OWCF.js.map} +0 -0
  924. /package/dist/{mds.samplescatterplot-RPXR2FVK.js.map → mds.samplescatterplot-5KFUAYSB.js.map} +0 -0
  925. /package/dist/{mds.survivalplot-WSSMYUZD.js.map → mds.survivalplot-2EVNZUX5.js.map} +0 -0
  926. /package/dist/{oncomatrix-JKYPUJQR.js.map → oncomatrix-UGFXSXQJ.js.map} +0 -0
  927. /package/dist/{oncomatrix.spec-OEGU4DYK.js.map → oncomatrix.spec-FEP7BR7L.js.map} +0 -0
  928. /package/dist/{plot.2dvaf-ZGARLQNK.js.map → plot.2dvaf-WXGLWCOC.js.map} +0 -0
  929. /package/dist/{plot.app-TKUJH3LK.js.map → plot.app-IZAFRTBU.js.map} +0 -0
  930. /package/dist/{plot.barplot-FEIPGDZ2.js.map → plot.barplot-Z4VWOPFJ.js.map} +0 -0
  931. /package/dist/{plot.boxplot-6RASUMZB.js.map → plot.boxplot-QU2KZSB7.js.map} +0 -0
  932. /package/dist/{plot.brainImaging-ZJPFWX2W.js.map → plot.brainImaging-U643YIK7.js.map} +0 -0
  933. /package/dist/{plot.dzi-PC34YI6Y.js.map → plot.dzi-DWXPOOQE.js.map} +0 -0
  934. /package/dist/{plot.ssgq-Z4UNJKWO.js.map → plot.ssgq-GXB2GZO3.js.map} +0 -0
  935. /package/dist/{plot.vaf2cov-NZ4WULKT.js.map → plot.vaf2cov-EKRIADPB.js.map} +0 -0
  936. /package/dist/{plot.wsi-YYXFAZWY.js.map → plot.wsi-E2LLE6HI.js.map} +0 -0
  937. /package/dist/{polar-X2GPIBLB.js.map → polar-MZLIUXHO.js.map} +0 -0
  938. /package/dist/{polar2-TZ553QQH.js.map → polar2-IUVHNQM4.js.map} +0 -0
  939. /package/dist/{profile.spec-VB6VMFLY.js.map → profile.spec-JRW6KYUI.js.map} +0 -0
  940. /package/dist/{profileBarchart-SKJSTC7B.js.map → profileBarchart-N7HJMYZ5.js.map} +0 -0
  941. /package/dist/{profileForms-RLOGSMAQ.js.map → profileForms-Q5TPGPQP.js.map} +0 -0
  942. /package/dist/{profilePlot-267ZS3RG.js.map → profilePlot-TXTUYDVE.js.map} +0 -0
  943. /package/dist/{profileRadar-KGOBHCSF.js.map → profileRadar-ICEASI7W.js.map} +0 -0
  944. /package/dist/{proteomeAbundance-PGHZSVAF.js.map → proteomeAbundance-DE4NVBCN.js.map} +0 -0
  945. /package/dist/{proteomeAbundance-JUYAYO5I.js.map → proteomeAbundance-LTB3QR3G.js.map} +0 -0
  946. /package/dist/{qualitative-3IECKKJM.js.map → qualitative-DFGWQURY.js.map} +0 -0
  947. /package/dist/{regression-J6FFRPXN.js.map → regression-TTQTAEGD.js.map} +0 -0
  948. /package/dist/{regression.inputs-T7LWBSYZ.js.map → regression.inputs-2LU2XRGC.js.map} +0 -0
  949. /package/dist/{regression.inputs.term-TT7PNX6G.js.map → regression.inputs.term-G57GL57T.js.map} +0 -0
  950. /package/dist/{regression.inputs.values.table-SHFUNKCS.js.map → regression.inputs.values.table-JSEM3PXL.js.map} +0 -0
  951. /package/dist/{regression.results-D4WX6VIV.js.map → regression.results-3YNM6LLQ.js.map} +0 -0
  952. /package/dist/{regression.spec-7SW55L7X.js.map → regression.spec-S6WFCPSW.js.map} +0 -0
  953. /package/dist/{report-QYOZ4BRF.js.map → report-YRAV4MY4.js.map} +0 -0
  954. /package/dist/{sampleScatter.spec-JCHFMGNF.js.map → sampleScatter.spec-MBJ4XNTX.js.map} +0 -0
  955. /package/dist/{sampleView-7RPKNAZC.js.map → sampleView-IUR3ZEN7.js.map} +0 -0
  956. /package/dist/{samplelst-4WNPHZVG.js.map → samplelst-C2NBFGH6.js.map} +0 -0
  957. /package/dist/{samplematrix-CG52DSXJ.js.map → samplematrix-AOK2HHSB.js.map} +0 -0
  958. /package/dist/{sc-OJSWILSA.js.map → sc-XT3Z5XJI.js.map} +0 -0
  959. /package/dist/{scatter-LG2RMMEC.js.map → scatter-SAHKZRFL.js.map} +0 -0
  960. /package/dist/{selectGenomeWithTklst-QXRVE6N4.js.map → selectGenomeWithTklst-2YVZ4JWV.js.map} +0 -0
  961. /package/dist/{singleCellCellType-XBSRL33U.js.map → singleCellCellType-NFN5GQJM.js.map} +0 -0
  962. /package/dist/{singleCellGeneExpression-64ECP62X.js.map → singleCellGeneExpression-7AQGLXTR.js.map} +0 -0
  963. /package/dist/{singleCellPlot-E5F62JY6.js.map → singleCellPlot-IWFEG44C.js.map} +0 -0
  964. /package/dist/{singlecell-S7B5V7NK.js.map → singlecell-3QNV4OMZ.js.map} +0 -0
  965. /package/dist/{singlecell-FCY5EOUV.js.map → singlecell-EATPLH66.js.map} +0 -0
  966. /package/dist/{snp-ACKX4GRX.js.map → snp-UP7WL7WG.js.map} +0 -0
  967. /package/dist/{snp.unit.spec-QBGHKKUD.js.map → snp.unit.spec-Y5NWQ442.js.map} +0 -0
  968. /package/dist/{snplocus-7EUOW7J7.js.map → snplocus-WAQK2AZG.js.map} +0 -0
  969. /package/dist/{spliceevent.a53ss.diagram-ALQZA35Z.js.map → spliceevent.a53ss.diagram-FFK27UIB.js.map} +0 -0
  970. /package/dist/{spliceevent.exonskip.diagram-UF7WJA5R.js.map → spliceevent.exonskip.diagram-KWEF2OZJ.js.map} +0 -0
  971. /package/dist/{spliceevent.noeventdiagram-4HPGRNRR.js.map → spliceevent.noeventdiagram-PU4TI7OM.js.map} +0 -0
  972. /package/dist/{ssGSEA-FDRBBBLJ.js.map → ssGSEA-N6QOAVLW.js.map} +0 -0
  973. /package/dist/{ssGSEA.unit.spec-EZEOWJVV.js.map → ssGSEA.unit.spec-KQBNZNNP.js.map} +0 -0
  974. /package/dist/{summarizeMutationDiagnosis-LALOJTHV.js.map → summarizeMutationDiagnosis-5RHSG7L6.js.map} +0 -0
  975. /package/dist/{summarizeMutationSurvival-TSNTSOBZ.js.map → summarizeMutationSurvival-22YYXGS5.js.map} +0 -0
  976. /package/dist/{summary-YRHVS64T.js.map → summary-P3WIKJS7.js.map} +0 -0
  977. /package/dist/{summary.integration.spec-766YQLQA.js.map → summary.integration.spec-ULGRPICW.js.map} +0 -0
  978. /package/dist/{summaryInput-VQ2X6GSX.js.map → summaryInput-IH4EVNF5.js.map} +0 -0
  979. /package/dist/{survival-FQXZH2MM.js.map → survival-2ZE3N62A.js.map} +0 -0
  980. /package/dist/{survival-TVA3ZWVP.js.map → survival-ASCLKIII.js.map} +0 -0
  981. /package/dist/{survival.integration.spec-WFIOPD6A.js.map → survival.integration.spec-C5YXOY77.js.map} +0 -0
  982. /package/dist/{svg2pdf.es.min-EZ4UYRSH.js.map → svg2pdf.es.min-CYTPRWNB.js.map} +0 -0
  983. /package/dist/{svgraph-4BFBO7EL.js.map → svgraph-AYR2UPNK.js.map} +0 -0
  984. /package/dist/{svmr-ML7GAIIA.js.map → svmr-MOMW5DNY.js.map} +0 -0
  985. /package/dist/{table-SMLMUWPP.js.map → table-PQB6KCEY.js.map} +0 -0
  986. /package/dist/{termCollection-22CPTISZ.js.map → termCollection-5AY2AWT4.js.map} +0 -0
  987. /package/dist/{termCollection-EE6AOIVA.js.map → termCollection-OQMUUTW6.js.map} +0 -0
  988. /package/dist/{termCollection.unit.spec-4DIW3CJ3.js.map → termCollection.unit.spec-BUAXYIJK.js.map} +0 -0
  989. /package/dist/{tk-ITZCKOQ5.js.map → tk-EJLFFA5H.js.map} +0 -0
  990. /package/dist/{tp.ui-R6HVKCBC.js.map → tp.ui-WUW6A7KP.js.map} +0 -0
  991. /package/dist/{tvs.density-AQ5GD437.js.map → tvs.density-HSVPDDGA.js.map} +0 -0
  992. /package/dist/{tvs.dt-2263TBEJ.js.map → tvs.dt-MVJXQMNU.js.map} +0 -0
  993. /package/dist/{tvs.dtcnv.categorical-TRRHL33N.js.map → tvs.dtcnv.categorical-FIIDWVK7.js.map} +0 -0
  994. /package/dist/{tvs.dtcnv.continuous-GREYNF52.js.map → tvs.dtcnv.continuous-JPQU3JA2.js.map} +0 -0
  995. /package/dist/{tvs.dtfusion-XOX46L3M.js.map → tvs.dtfusion-BW35GOQM.js.map} +0 -0
  996. /package/dist/{tvs.dtsnvindel-IDMXT53F.js.map → tvs.dtsnvindel-AEMFZ4EH.js.map} +0 -0
  997. /package/dist/{tvs.dtsv-ZDWFYH2C.js.map → tvs.dtsv-JHTU7UFD.js.map} +0 -0
  998. /package/dist/{tvs.numeric-ZN2R7BH3.js.map → tvs.numeric-ICUGA4WY.js.map} +0 -0
  999. /package/dist/{tvs.samplelst-GAP76HRH.js.map → tvs.samplelst-VD2NFFFS.js.map} +0 -0
  1000. /package/dist/{tvs.termCollection-GQ65UKSI.js.map → tvs.termCollection-IKE5Q74D.js.map} +0 -0
  1001. /package/dist/{violin-JGDL62YA.js.map → violin-DPMJLHQG.js.map} +0 -0
  1002. /package/dist/{violin.interactivity-H4RP4K5U.js.map → violin.interactivity-TS4DYUE5.js.map} +0 -0
  1003. /package/dist/{violin.renderer-QPHLACDC.js.map → violin.renderer-53L4PXUT.js.map} +0 -0
  1004. /package/dist/{vocabulary-7JACY4J2.js.map → vocabulary-4MPFHKYC.js.map} +0 -0
@@ -1,1741 +0,0 @@
1
- import {
2
- deepFreeze,
3
- sleep
4
- } from "./chunk-MVTCBVSX.js";
5
- import {
6
- ISOFORM_EXPRESSION,
7
- SINGLECELL_CELLTYPE,
8
- SINGLECELL_GENE_EXPRESSION,
9
- TermTypes,
10
- isNumericTerm
11
- } from "./chunk-MDL2HG3N.js";
12
- import {
13
- dtcnv,
14
- dtfusionrna,
15
- dtsnvindel as dtsnvindel2,
16
- dtsv,
17
- mclass,
18
- mclassdeletion,
19
- mclassinsertion,
20
- mclassmnv,
21
- mclassnonstandard as mclassnonstandard2,
22
- mclasssnv,
23
- morigingermline,
24
- morigingermlinenonpathogenic,
25
- morigingermlinepathogenic,
26
- moriginrelapse,
27
- moriginsomatic,
28
- vepinfo
29
- } from "./chunk-IGEQI6MR.js";
30
- import {
31
- isNumeric
32
- } from "./chunk-BEWDIM6H.js";
33
- import {
34
- select_default
35
- } from "./chunk-NDWTN4U5.js";
36
-
37
- // ../shared/utils/src/bulk.js
38
- function init_bulk_flag(genome) {
39
- if (!genome) {
40
- return null;
41
- }
42
- const mclasslabel2key2 = {};
43
- for (const n in mclass) {
44
- mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
45
- }
46
- return {
47
- genome,
48
- mclasslabel2key: mclasslabel2key2,
49
- data: {},
50
- sample2disease: {},
51
- // (proof) k: sample, v: disease
52
- // will only record this when origin is used
53
- patient2st: {},
54
- // k: patient, v: { k: sampletype, v: sample }
55
- // new sample names always override old
56
- good: 0,
57
- geneToUpper: true,
58
- // option to not force uppercase on gene names
59
- snv: {
60
- loaded: false,
61
- header: null,
62
- badlines: [],
63
- // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
64
- // hard-coded class codes
65
- missense: 0,
66
- silent: 0
67
- },
68
- svjson: {
69
- loaded: false,
70
- header: null,
71
- badlines: []
72
- },
73
- fusion: {
74
- loaded: false,
75
- header: null,
76
- badlines: [],
77
- original: []
78
- },
79
- sv: {
80
- loaded: false,
81
- header: null,
82
- badlines: [],
83
- original: []
84
- },
85
- cnv: {
86
- loaded: false,
87
- header: null,
88
- badlines: []
89
- },
90
- itd: {
91
- loaded: false,
92
- header: null,
93
- badlines: []
94
- },
95
- del: {
96
- loaded: false,
97
- header: null,
98
- badlines: []
99
- },
100
- truncation: {
101
- loaded: false,
102
- header: null,
103
- badlines: []
104
- }
105
- };
106
- }
107
- function parsesample(m, flag, i2, lst, badline) {
108
- let variantorigin = moriginsomatic;
109
- if (m.sampletype) {
110
- const s = m.sampletype.toLowerCase();
111
- switch (s) {
112
- case "relapse":
113
- variantorigin = moriginrelapse;
114
- break;
115
- case "germline":
116
- variantorigin = morigingermline;
117
- break;
118
- case "somatic":
119
- case "diagnosis":
120
- break;
121
- }
122
- if (m.sample) {
123
- if (m.patient) {
124
- } else {
125
- m.patient = m.sample + " " + m.sampletype;
126
- }
127
- } else {
128
- if (m.patient) {
129
- m.sample = m.patient + " " + m.sampletype;
130
- } else {
131
- }
132
- }
133
- } else {
134
- if (m.patient) {
135
- if (m.sample) {
136
- m.sampletype = m.sample;
137
- } else {
138
- m.sample = m.sampletype = m.patient;
139
- }
140
- } else {
141
- if (m.sample) {
142
- m.sampletype = m.sample;
143
- } else {
144
- }
145
- }
146
- }
147
- if (m.origin) {
148
- const s = m.origin.toLowerCase();
149
- switch (s) {
150
- case "r":
151
- case "relapse":
152
- variantorigin = moriginrelapse;
153
- m.isrim2 = true;
154
- break;
155
- case "g":
156
- case "germline":
157
- variantorigin = morigingermline;
158
- m.isrim1 = true;
159
- break;
160
- case "gp":
161
- case "germline pathogenic":
162
- variantorigin = morigingermlinepathogenic;
163
- m.isrim1 = true;
164
- break;
165
- case "gnp":
166
- case "germline nonpathogenic":
167
- case "germline non-pathogenic":
168
- variantorigin = morigingermlinenonpathogenic;
169
- m.isrim1 = true;
170
- break;
171
- case "s":
172
- case "somatic":
173
- case "diagnosis":
174
- variantorigin = moriginsomatic;
175
- break;
176
- }
177
- }
178
- m.origin = variantorigin;
179
- if (!m.sample && !m.patient) {
180
- return;
181
- }
182
- const nopatientname = "no patient/individual name";
183
- let p;
184
- if (m.patient) {
185
- if (!flag.patient2st[m.patient]) {
186
- flag.patient2st[m.patient] = {};
187
- }
188
- flag.patient2st[m.patient][m.sampletype] = m.sample;
189
- } else {
190
- if (!flag.patient2st[nopatientname]) {
191
- flag.patient2st[nopatientname] = {};
192
- }
193
- flag.patient2st[nopatientname][m.sampletype] = m.sample;
194
- }
195
- if (m.sample) {
196
- if (m.disease) {
197
- if (m.sample in flag.sample2disease) {
198
- if (m.disease != flag.sample2disease[m.sample]) {
199
- flag.snv.badlines.push([
200
- i2,
201
- 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
202
- lst
203
- ]);
204
- return true;
205
- }
206
- } else {
207
- flag.sample2disease[m.sample] = m.disease;
208
- }
209
- }
210
- }
211
- return false;
212
- }
213
-
214
- // ../shared/utils/src/clustering.js
215
- var clusterMethodLst = [
216
- {
217
- label: "Average",
218
- value: "average",
219
- title: `Cluster by average value`
220
- },
221
- {
222
- label: `Complete`,
223
- value: "complete",
224
- title: `Use the complete clustering method`
225
- },
226
- {
227
- label: `Single`,
228
- value: "single",
229
- title: `Use the single clustering method`
230
- },
231
- {
232
- label: `Ward.D`,
233
- value: "ward.D",
234
- title: `Use the ward.D clustering method`
235
- },
236
- {
237
- label: `Ward.D2`,
238
- value: "ward.D2",
239
- title: `Use the ward.D2 clustering method`
240
- },
241
- {
242
- label: `Mcquitty`,
243
- value: "mcquitty",
244
- title: `Use the Mcquity clustering method`
245
- }
246
- /* These methods are currently disabled because the dendrogram lines tend to cross one another.
247
- {
248
- label: `Centroid`,
249
- value: 'centroid',
250
- title: `Use the centroid clustering method`
251
- },
252
- {
253
- label: `Median`,
254
- value: 'median',
255
- title: `Use the median clustering method`
256
- }
257
- */
258
- ];
259
- var distanceMethodLst = [
260
- {
261
- label: "Euclidean",
262
- value: "euclidean",
263
- title: `Calculate distance using euclidean method`
264
- },
265
- {
266
- label: "Maximum",
267
- value: "maximum",
268
- title: `Maximum distance between two components of x and y`
269
- },
270
- {
271
- label: "Manhattan",
272
- value: "manhattan",
273
- title: `Calculate distance using the absolute distance between the two vectors`
274
- },
275
- {
276
- label: "Canberra",
277
- value: "canberra",
278
- title: `Calculate distance using Canberra method`
279
- }
280
- ];
281
-
282
- // ../shared/utils/src/fileSize.js
283
- function fileSize(v) {
284
- if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
285
- if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
286
- if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
287
- return v + " Bytes";
288
- }
289
-
290
- // ../shared/utils/src/mds3tk.js
291
- var ssmIdFieldsSeparator = "__";
292
- function summarize_mclass(mlst) {
293
- const m2c = /* @__PURE__ */ new Map();
294
- const cnvs = [];
295
- for (const m of mlst) {
296
- if (m.dt == dtcnv) {
297
- cnvs.push(m);
298
- continue;
299
- }
300
- const key = m.class || m.dt;
301
- m2c.set(key, 1 + (m2c.get(key) || 0));
302
- }
303
- if (cnvs.length) {
304
- if (Number.isFinite(cnvs[0].value)) {
305
- m2c.set(dtcnv, cnvs.length);
306
- } else {
307
- for (const c of cnvs) {
308
- if (!c.class) continue;
309
- m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
310
- }
311
- }
312
- }
313
- return [...m2c].sort((i2, j) => j[1] - i2[1]);
314
- }
315
- function guessSsmid(ssmid) {
316
- const l = ssmid.split(ssmIdFieldsSeparator);
317
- if (l.length == 4) {
318
- const [chr, tmp, ref, alt] = l;
319
- const pos = Number(tmp);
320
- if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
321
- return { dt: dtsnvindel2, l: [chr, pos, ref, alt] };
322
- }
323
- if (l.length == 5) {
324
- const [chr, _start, _stop, _class, _value] = l;
325
- const start = Number(_start), stop = Number(_stop), value = _value == "" ? null : Number(_value);
326
- if (Number.isNaN(start) || Number.isNaN(stop)) throw "ssmid cnv start/stop not integer";
327
- return { dt: dtcnv, l: [chr, start, stop, _class, value] };
328
- }
329
- if (l.length == 6) {
330
- if (l[3] == "+" || l[3] == "-") {
331
- const [_dt, chr2, _pos, strand, _pi, _mname] = l;
332
- const mname = decodeURIComponent(_mname);
333
- const dt = Number(_dt);
334
- if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
335
- const pos = Number(_pos);
336
- if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
337
- const pairlstIdx = Number(_pi);
338
- if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
339
- return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
340
- }
341
- const [chr, _start, _stop, _class, _value, sample] = l;
342
- const start = Number(_start), stop = Number(_stop), value = _value == "" ? null : Number(_value);
343
- if (Number.isNaN(start) || Number.isNaN(stop)) throw "ssmid cnv start/stop not integer";
344
- return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
345
- }
346
- throw "unknown ssmid";
347
- }
348
-
349
- // ../shared/utils/src/termdb.initbinconfig.js
350
- function initBinConfig(data, opts = {}) {
351
- if (!data.length)
352
- return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
353
- if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
354
- let binConfig;
355
- const s = new Set(data);
356
- if (s.size === 1) {
357
- const value = [...s][0];
358
- binConfig = {
359
- type: "custom-bin",
360
- lst: [
361
- { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
362
- { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
363
- { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
364
- ]
365
- };
366
- } else {
367
- data.sort((a, b) => a - b);
368
- const l = data.length;
369
- const min = data[0];
370
- const max = data[l - 1];
371
- const p5idx = Math.ceil(l * 0.05) - 1;
372
- const p98idx = Math.ceil(l * 0.98) - 1;
373
- const p5 = data[p5idx];
374
- const p98 = data[p98idx];
375
- const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
376
- const firstBinStop = Math.max(min + binSize, p5);
377
- let [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
378
- binConfig = {
379
- type: "regular-bin",
380
- startinclusive: true,
381
- bin_size: binSize_rnd,
382
- first_bin: { stop: firstBinStop_rnd }
383
- };
384
- if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
385
- if (rounding) binConfig.rounding = rounding;
386
- }
387
- if ("format" in opts) {
388
- if (opts.format === "string") {
389
- return JSON.stringify(binConfig);
390
- } else {
391
- throw "options are not in the correct format";
392
- }
393
- } else {
394
- return binConfig;
395
- }
396
- }
397
- function roundBinVals(binSize, firstBinStop, max, min) {
398
- let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
399
- const log = Math.floor(Math.log10(binSize));
400
- if (binSize >= 0.1 && binSize <= 2) {
401
- binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
402
- firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
403
- } else {
404
- binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
405
- firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
406
- if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
407
- if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
408
- if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
409
- }
410
- if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
411
- const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
412
- if (max > eighthBinStop_rnd) {
413
- lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
414
- }
415
- if (binSize < 1) {
416
- const digits = Math.abs(log);
417
- binSize_rnd = Number(binSize_rnd.toFixed(digits));
418
- firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
419
- if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
420
- rounding = "." + digits + "f";
421
- }
422
- if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
423
- return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
424
- }
425
-
426
- // ../shared/utils/src/vcf.info.js
427
- function dissect_INFO(str) {
428
- let findsemicolon = false;
429
- let findequalorsemicolon = true;
430
- let i2 = 0;
431
- let idx = 0;
432
- const k2v = {};
433
- let lastkey;
434
- while (i2 < str.length) {
435
- const c = str[i2];
436
- if (findequalorsemicolon) {
437
- if (c == "=") {
438
- findsemicolon = true;
439
- findequalorsemicolon = false;
440
- lastkey = str.substring(idx, i2);
441
- idx = i2 + 1;
442
- } else if (c == ";") {
443
- k2v[str.substring(idx, i2)] = 1;
444
- idx = i2 + 1;
445
- }
446
- } else if (findsemicolon && c == ";") {
447
- findequalorsemicolon = true;
448
- findsemicolon = false;
449
- k2v[lastkey] = str.substring(idx, i2);
450
- lastkey = null;
451
- idx = i2 + 1;
452
- }
453
- i2++;
454
- }
455
- const remainstr = str.substr(idx, i2);
456
- if (lastkey) {
457
- k2v[lastkey] = remainstr;
458
- } else {
459
- k2v[remainstr] = 1;
460
- }
461
- return k2v;
462
- }
463
-
464
- // ../shared/utils/src/vcf.csq.js
465
- function parse_CSQ(str, header, m) {
466
- if (!header) {
467
- return null;
468
- }
469
- for (const thisannotation of str.split(",")) {
470
- const lst = thisannotation.replace(/&/g, ",").split("|");
471
- const o = {};
472
- for (let i2 = 0; i2 < header.length; i2++) {
473
- if (lst[i2]) {
474
- o[header[i2].name] = lst[i2];
475
- }
476
- }
477
- if (!o.Allele) {
478
- continue;
479
- }
480
- let allele = null;
481
- for (const a of m.mlst || m.alleles) {
482
- if (a.allele_original == o.Allele) {
483
- allele = a;
484
- break;
485
- }
486
- }
487
- if (!allele) {
488
- if (o.Allele == "-") {
489
- if (m.mlst) {
490
- if (m.mlst.length == 1) {
491
- allele = m.mlst[0];
492
- }
493
- } else if (m.alleles) {
494
- if (m.alleles.length == 1) {
495
- allele = m.alleles[0];
496
- }
497
- }
498
- } else {
499
- for (const a of m.mlst || m.alleles) {
500
- if (a.allele_original.substr(1) == o.Allele) {
501
- allele = a;
502
- break;
503
- }
504
- }
505
- }
506
- if (!allele) {
507
- continue;
508
- }
509
- }
510
- if (!allele.csq) {
511
- allele.csq = [];
512
- }
513
- allele.csq.push(o);
514
- o._gene = o.SYMBOL || o.Gene;
515
- if (o.Feature_type && o.Feature_type == "Transcript") {
516
- o._isoform = o.Feature.split(".")[0];
517
- } else {
518
- o._isoform = o._gene;
519
- }
520
- if (o.Consequence) {
521
- const [dt, cls, rank] = vepinfo(o.Consequence);
522
- o._dt = dt;
523
- o._class = cls;
524
- o._csqrank = rank;
525
- } else {
526
- o._dt = dtsnvindel;
527
- o._class = mclassnonstandard;
528
- }
529
- if (o.HGVSp) {
530
- o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
531
- } else if (o.Protein_position && o.Amino_acids) {
532
- o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
533
- } else if (o.HGVSc) {
534
- o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
535
- } else if (o.Existing_variation) {
536
- o._name = o.Existing_variation;
537
- } else {
538
- }
539
- }
540
- return true;
541
- }
542
-
543
- // ../shared/utils/src/vcf.ann.js
544
- function parse_ANN(str, header, m) {
545
- if (!header) {
546
- return null;
547
- }
548
- for (const thisannotation of str.split(",")) {
549
- const lst = thisannotation.replace(/&/g, ",").split("|");
550
- const o = {};
551
- for (let i2 = 0; i2 < header.length; i2++) {
552
- if (lst[i2]) {
553
- o[header[i2].name] = lst[i2];
554
- }
555
- }
556
- if (!o.Allele) {
557
- continue;
558
- }
559
- let allele = null;
560
- for (const a of m.alleles) {
561
- if (a.allele == o.Allele) {
562
- allele = a;
563
- break;
564
- }
565
- }
566
- if (!allele) {
567
- continue;
568
- }
569
- if (!allele.ann) {
570
- allele.ann = [];
571
- }
572
- allele.ann.push(o);
573
- o._gene = o.Gene_Name;
574
- if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
575
- o._isoform = o.Feature_ID.split(".")[0];
576
- }
577
- if (o.Annotation) {
578
- const [dt, cls, rank] = vepinfo(o.Annotation);
579
- o._dt = dt;
580
- o._class = cls;
581
- o._csqrank = rank;
582
- } else {
583
- o._dt = dtsnvindel;
584
- o._class = mclassnonstandard;
585
- }
586
- if (o["HGVS.p"]) {
587
- o._mname = o["HGVS.p"];
588
- } else if (o["HGVS.c"]) {
589
- o._mname = o["HGVS.c"];
590
- } else {
591
- }
592
- }
593
- return true;
594
- }
595
-
596
- // ../shared/utils/src/vcf.type.js
597
- function getVariantType(ref, alt) {
598
- if (ref.length == 1 && alt.length == 1) {
599
- if (alt == ".") {
600
- return mclassdeletion;
601
- }
602
- return mclasssnv;
603
- }
604
- if (ref.length == alt.length) return mclassmnv;
605
- if (ref.length < alt.length) return mclassinsertion;
606
- if (ref.length > alt.length) return mclassdeletion;
607
- return mclassnonstandard2;
608
- }
609
-
610
- // ../shared/utils/src/vcf.js
611
- var getallelename = new RegExp(/<(.+)>/);
612
- var mclasslabel2key = {};
613
- for (const k in mclass) {
614
- mclasslabel2key[mclass[k].label.toUpperCase()] = k;
615
- }
616
- function vcfparsemeta(lines) {
617
- let sample = [], errlst = [], info = {}, hasinfo = false, format = {}, hasformat = false;
618
- for (const line of lines) {
619
- if (!line.startsWith("#")) {
620
- continue;
621
- }
622
- if (line.startsWith("#C")) {
623
- sample = line.split(" ").slice(9);
624
- continue;
625
- }
626
- if (line.startsWith("##INFO")) {
627
- const e = tohash(line.substring(8, line.length - 1), info);
628
- if (e) {
629
- errlst.push("INFO error: " + e);
630
- } else {
631
- hasinfo = true;
632
- }
633
- continue;
634
- }
635
- if (line.startsWith("##FORMAT")) {
636
- const e = tohash(line.substring(10, line.length - 1), format);
637
- if (e) {
638
- errlst.push("FORMAT error: " + e);
639
- } else {
640
- hasformat = true;
641
- }
642
- }
643
- }
644
- const sampleobjlst = [];
645
- for (const samplename of sample) {
646
- const a = { name: samplename };
647
- sampleobjlst.push(a);
648
- }
649
- if (info.CSQ) {
650
- const lst = info.CSQ.Description.split(" Format: ");
651
- if (lst[1]) {
652
- const lst2 = lst[1].split("|");
653
- if (lst2.length > 1) {
654
- info.CSQ.csqheader = [];
655
- for (const str of lst2) {
656
- const attr = { name: str };
657
- info.CSQ.csqheader.push(attr);
658
- }
659
- } else {
660
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
661
- }
662
- } else {
663
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
664
- }
665
- }
666
- if (info.ANN) {
667
- const lst = info.ANN.Description.split("'");
668
- if (lst[1]) {
669
- const lst2 = lst[1].split(" | ");
670
- if (lst2.length) {
671
- info.ANN.annheader = [];
672
- for (const s of lst2) {
673
- const attr = { name: s };
674
- info.ANN.annheader.push(attr);
675
- }
676
- } else {
677
- errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
678
- }
679
- } else {
680
- errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
681
- }
682
- }
683
- return [hasinfo ? info : null, hasformat ? format : null, sampleobjlst, errlst.length ? errlst : null];
684
- }
685
- function vcfparseline(line, vcf) {
686
- const lst = line.split(" ");
687
- if (lst.length < 8) {
688
- return ["line has less than 8 fields", null, null];
689
- }
690
- const rawpos = Number.parseInt(lst[2 - 1]);
691
- if (!Number.isInteger(rawpos)) {
692
- return ["invalid value for genomic position", null, null];
693
- }
694
- const refallele = lst[4 - 1];
695
- const m = {
696
- vcf_ID: lst[3 - 1],
697
- chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
698
- pos: rawpos - 1,
699
- ref: refallele,
700
- //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
701
- altstr: lst[5 - 1],
702
- alleles: [
703
- {
704
- /*
705
- ref allele only a placeholder, to be removed, this array only contains alt alleles
706
- this is a must
707
- also allows GT allele index to work
708
- */
709
- allele: refallele,
710
- sampledata: []
711
- }
712
- ],
713
- info: {},
714
- // locus info, do not contain allele info
715
- name: lst[3 - 1] == "." ? null : lst[3 - 1]
716
- };
717
- const altinvalid = [];
718
- for (const alt of lst[5 - 1].split(",")) {
719
- const a = {
720
- ref: m.ref,
721
- // may be corrected just below!
722
- allele: alt,
723
- // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
724
- allele_original: alt,
725
- sampledata: [],
726
- _m: m,
727
- info: {}
728
- // allele info, do not contain locus info
729
- };
730
- m.alleles.push(a);
731
- if (alt[0] == "<") {
732
- const tmp2 = alt.match(getallelename);
733
- if (!tmp2) {
734
- altinvalid.push(alt);
735
- continue;
736
- }
737
- a.type = tmp2[1];
738
- a.allele = tmp2[1];
739
- a.issymbolicallele = true;
740
- } else {
741
- const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
742
- a.pos = p;
743
- a.ref = ref;
744
- a.allele = alt2;
745
- }
746
- }
747
- if (lst[9 - 1] && lst[10 - 1]) {
748
- parse_FORMAT2(lst, m, vcf);
749
- }
750
- m.alleles.shift();
751
- const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
752
- let badinfokeys = [];
753
- if (vcf.info) {
754
- badinfokeys = parse_INFO(tmp, m, vcf);
755
- } else {
756
- m.info = tmp;
757
- }
758
- const mlst = [];
759
- for (const a of m.alleles) {
760
- const m2 = {};
761
- for (const k in m) {
762
- if (k != "alleles") {
763
- m2[k] = m[k];
764
- }
765
- }
766
- for (const k in a) {
767
- if (k == "allele") {
768
- m2.alt = a[k];
769
- } else if (k == "info") {
770
- m2.altinfo = a[k];
771
- } else {
772
- m2[k] = a[k];
773
- }
774
- }
775
- if (!m2.issymbolicallele && m2.alt != "NON_REF") {
776
- m2.type = getVariantType(m2.ref, m2.alt);
777
- }
778
- mlst.push(m2);
779
- }
780
- return [
781
- badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
782
- mlst,
783
- altinvalid.length > 0 ? altinvalid : null
784
- ];
785
- }
786
- function correctRefAlt(p, ref, alt) {
787
- while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
788
- ref = ref.substr(0, ref.length - 1);
789
- alt = alt.substr(0, alt.length - 1);
790
- }
791
- while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
792
- ref = ref.substr(1);
793
- alt = alt.substr(1);
794
- p++;
795
- }
796
- return [p, ref, alt];
797
- }
798
- function parse_FORMAT2(lst, m, vcf) {
799
- const formatfields = lst[9 - 1].split(":");
800
- for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
801
- const valuelst = lst[_sampleidx].split(":");
802
- {
803
- let none = true;
804
- for (const v of valuelst) {
805
- if (v != ".") {
806
- none = false;
807
- break;
808
- }
809
- }
810
- if (none) {
811
- continue;
812
- }
813
- }
814
- const sampleidx = _sampleidx - 9;
815
- for (let i2 = 1; i2 < m.alleles.length; i2++) {
816
- const sobj = {};
817
- if (vcf.samples && vcf.samples[sampleidx]) {
818
- for (const k in vcf.samples[sampleidx]) {
819
- sobj[k] = vcf.samples[sampleidx][k];
820
- }
821
- } else {
822
- sobj.name = "missing_samplename_from_vcf_header";
823
- }
824
- m.alleles[i2].sampledata.push({
825
- sampleobj: sobj
826
- });
827
- }
828
- for (let fi = 0; fi < formatfields.length; fi++) {
829
- const field = formatfields[fi];
830
- const value = valuelst[fi];
831
- if (value == ".") {
832
- continue;
833
- }
834
- if (field == "GT") {
835
- const splitter = value.indexOf("/") != -1 ? "/" : "|";
836
- let gtsum = 0;
837
- let unknowngt = false;
838
- const gtalleles = [];
839
- for (const i2 of value.split(splitter)) {
840
- if (i2 == ".") {
841
- unknowngt = true;
842
- continue;
843
- }
844
- const j = Number.parseInt(i2);
845
- if (Number.isNaN(j)) {
846
- unknowngt = true;
847
- continue;
848
- }
849
- gtsum += j;
850
- const ale = m.alleles[j];
851
- if (ale) {
852
- gtalleles.push(ale.allele);
853
- }
854
- }
855
- let gtallref = false;
856
- if (!unknowngt) {
857
- gtallref = gtsum == 0;
858
- }
859
- const genotype = gtalleles.join(splitter);
860
- for (let i2 = 1; i2 < m.alleles.length; i2++) {
861
- const ms = m.alleles[i2].sampledata[m.alleles[i2].sampledata.length - 1];
862
- ms.GT = value;
863
- ms.genotype = genotype;
864
- if (gtallref) {
865
- ms.gtallref = true;
866
- }
867
- ms.__gtalleles = gtalleles;
868
- }
869
- continue;
870
- }
871
- const formatdesc = vcf.format ? vcf.format[field] : null;
872
- if (!formatdesc) {
873
- for (let i2 = 1; i2 < m.alleles.length; i2++) {
874
- m.alleles[i2].sampledata[m.alleles[i2].sampledata.length - 1][field] = value;
875
- }
876
- continue;
877
- }
878
- const isinteger = formatdesc.Type == "Integer";
879
- const isfloat = formatdesc.Type == "Float";
880
- if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
881
- const fvlst = value.split(",").map((i2) => {
882
- if (isinteger) return Number.parseInt(i2);
883
- if (isfloat) return Number.parseFloat(i2);
884
- return i2;
885
- });
886
- for (let i2 = 1; i2 < m.alleles.length; i2++) {
887
- if (fvlst[i2] != void 0) {
888
- const m2 = m.alleles[i2];
889
- const m2s = m2.sampledata[m2.sampledata.length - 1];
890
- m2s[field] = {};
891
- m2s[field][m2.ref] = fvlst[0];
892
- m2s[field][m2.allele] = fvlst[i2];
893
- }
894
- }
895
- continue;
896
- }
897
- if (formatdesc.Number && formatdesc.Number == "A") {
898
- const fvlst = value.split(",").map((i2) => {
899
- if (isinteger) return Number.parseInt(i2);
900
- if (isfloat) return Number.parseFloat(i2);
901
- return i2;
902
- });
903
- for (let i2 = 1; i2 < m.alleles.length; i2++) {
904
- if (fvlst[i2 - 1] != void 0) {
905
- const m2 = m.alleles[i2];
906
- const m2s = m2.sampledata[m2.sampledata.length - 1];
907
- m2s[field] = {};
908
- m2s[field][m2.allele] = fvlst[i2 - 1];
909
- }
910
- }
911
- continue;
912
- }
913
- for (let i2 = 1; i2 < m.alleles.length; i2++) {
914
- m.alleles[i2].sampledata[m.alleles[i2].sampledata.length - 1][field] = value;
915
- }
916
- }
917
- }
918
- for (const a of m.alleles) {
919
- for (const s of a.sampledata) {
920
- if (s.AD) {
921
- s.allele2readcount = {};
922
- for (const k in s.AD) {
923
- s.allele2readcount[k] = s.AD[k];
924
- }
925
- }
926
- }
927
- }
928
- }
929
- function tohash(s, hash2) {
930
- const h = {}, err = [];
931
- let prev = 0, prevdoublequote = false, k = null;
932
- for (let i2 = 0; i2 < s.length; i2++) {
933
- if (s[i2] == '"') {
934
- i2++;
935
- const thisstart = i2;
936
- while (s[i2] != '"') {
937
- i2++;
938
- }
939
- if (k) {
940
- h[k] = s.substring(thisstart, i2);
941
- k = null;
942
- } else {
943
- err.push("k undefined before double quotes");
944
- }
945
- prevdoublequote = true;
946
- continue;
947
- }
948
- if (s[i2] == "=") {
949
- k = s.substring(prev, i2);
950
- prev = i2 + 1;
951
- continue;
952
- }
953
- if (s[i2] == ",") {
954
- if (prevdoublequote) {
955
- prevdoublequote = false;
956
- } else {
957
- if (k) {
958
- h[k] = s.substring(prev, i2);
959
- k = null;
960
- } else {
961
- err.push("k undefined");
962
- }
963
- }
964
- prev = i2 + 1;
965
- continue;
966
- }
967
- }
968
- if (k) {
969
- h[k] = s.substring(prev, i);
970
- }
971
- if (h.ID) {
972
- hash2[h.ID] = h;
973
- } else {
974
- return "no ID";
975
- }
976
- if (err.length) return err.join("\n");
977
- }
978
- function parse_INFO(tmp, m, vcf) {
979
- const badinfokeys = [];
980
- for (const key in tmp) {
981
- if (vcf.info[key] == void 0) {
982
- badinfokeys.push(key);
983
- continue;
984
- }
985
- const value = tmp[key];
986
- if (key == "CSQ") {
987
- const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
988
- if (!okay) {
989
- m.info[key] = value;
990
- }
991
- continue;
992
- }
993
- if (key == "ANN") {
994
- const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
995
- if (!okay) {
996
- m.info[key] = value;
997
- }
998
- continue;
999
- }
1000
- if (vcf.info[key].Type == "Flag") {
1001
- m.info[key] = key;
1002
- continue;
1003
- }
1004
- const __number = vcf.info[key].Number;
1005
- const isinteger = vcf.info[key].Type == "Integer";
1006
- const isfloat = vcf.info[key].Type == "Float";
1007
- if (__number == "0") {
1008
- m.info[key] = key;
1009
- continue;
1010
- }
1011
- if (__number == "A") {
1012
- const tt = value.split(",");
1013
- for (let j = 0; j < tt.length; j++) {
1014
- if (m.alleles[j]) {
1015
- m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1016
- }
1017
- }
1018
- continue;
1019
- }
1020
- if (__number == "R") {
1021
- }
1022
- if (__number == "1") {
1023
- m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1024
- continue;
1025
- }
1026
- if (!value.split) {
1027
- continue;
1028
- }
1029
- const lst = value.split(",");
1030
- if (isinteger) {
1031
- m.info[key] = lst.map(Number.parseInt);
1032
- } else if (isfloat) {
1033
- m.info[key] = lst.map(Number.parseFloat);
1034
- } else {
1035
- m.info[key] = lst;
1036
- }
1037
- }
1038
- return badinfokeys;
1039
- }
1040
-
1041
- // ../shared/utils/src/compute.percentile.js
1042
- function computePercentile(values, percentile, sorted = false) {
1043
- if (!sorted) values.sort((a, b) => a - b);
1044
- const index = Math.abs(percentile / 100 * values.length - 1);
1045
- const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
1046
- return value;
1047
- }
1048
-
1049
- // ../shared/utils/src/hash.js
1050
- var encoder = new TextEncoder();
1051
- async function hash(message) {
1052
- const msgUint8 = encoder.encode(message);
1053
- const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
1054
- const hashArray = Array.from(new Uint8Array(hashBuffer));
1055
- const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
1056
- return hexToBase64(hashHex).replace("=", "-");
1057
- }
1058
- function hexToBase64(hexStr) {
1059
- return btoa(
1060
- [...hexStr].reduce(
1061
- (acc, _, i2) => acc += !(i2 - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i2 - 1, i2 + 1), 16)) : "",
1062
- ""
1063
- )
1064
- );
1065
- }
1066
-
1067
- // ../shared/utils/src/urljson.js
1068
- var reserved = ["false", "true", "null", "undefined"];
1069
- var delimiters = ['"', "{", "["];
1070
- function encode(rawObject) {
1071
- const params = [];
1072
- for (const [key, value] of Object.entries(rawObject)) {
1073
- if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
1074
- params.push(`${key}=${encodeURIComponent(value)}`);
1075
- } else if (value !== void 0) {
1076
- params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
1077
- }
1078
- }
1079
- return params.join("&");
1080
- }
1081
-
1082
- // ../shared/utils/src/fetch-helpers.js
1083
- async function processResponse(r) {
1084
- const ct = r.headers.get("content-type");
1085
- if (!ct) throw `missing response.header['content-type']`;
1086
- if (ct.includes("/json")) {
1087
- const payload = await r.json();
1088
- return payload;
1089
- }
1090
- if (ct.includes("/text") || ct.includes("text/")) {
1091
- return r.text();
1092
- }
1093
- if (ct.includes("multipart")) {
1094
- if (ct.startsWith("multipart/form-data")) return processFormData(r);
1095
- else throw `cannot handle response content-type: '${ct}'`;
1096
- }
1097
- if (ct == "application/x-ndjson-nestedkey") {
1098
- return processNDJSON_nestedKey(r);
1099
- }
1100
- return r.blob();
1101
- }
1102
- async function processFormData(res) {
1103
- const decoder = new TextDecoder();
1104
- const data = {};
1105
- try {
1106
- const form = await res.formData();
1107
- for (const [key, value] of form.entries()) {
1108
- if (value.type) {
1109
- data[key] = { headers: { "content-type": value.type }, body: value };
1110
- } else {
1111
- const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
1112
- data[key] = { headers: { "content-type": "application/json" }, body };
1113
- }
1114
- }
1115
- return data;
1116
- } catch (e) {
1117
- throw e;
1118
- }
1119
- }
1120
- async function processNDJSON_nestedKey(r) {
1121
- const stream = r.body.pipeThrough(new TextDecoderStream());
1122
- const reader = stream.getReader();
1123
- let rootObj = {};
1124
- let buffer = "";
1125
- while (true) {
1126
- const { value, done } = await reader.read();
1127
- if (done) break;
1128
- buffer += value;
1129
- let parts = buffer.split("\n");
1130
- buffer = parts.pop();
1131
- for (const line of parts) {
1132
- if (line.trim()) {
1133
- const [keys, data] = JSON.parse(line);
1134
- if (!keys.length) rootObj = data;
1135
- else {
1136
- const lastKey = keys.pop();
1137
- let target = rootObj;
1138
- for (const k of keys) target = target[k];
1139
- target[lastKey] = data;
1140
- }
1141
- }
1142
- }
1143
- }
1144
- return rootObj;
1145
- }
1146
- var cacheLifetime = 1e3 * 60 * 5;
1147
- async function getDataName(url, init) {
1148
- const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
1149
- return await hash(dataName);
1150
- }
1151
-
1152
- // ../shared/utils/src/termdb.usecase.js
1153
- var graphableTypes = /* @__PURE__ */ new Set([
1154
- "categorical",
1155
- "integer",
1156
- "float",
1157
- "condition",
1158
- "survival",
1159
- "snplst",
1160
- "snplocus",
1161
- "geneVariant",
1162
- "samplelst",
1163
- "geneExpression",
1164
- ISOFORM_EXPRESSION,
1165
- "dtcnv",
1166
- "dtsnvindel",
1167
- "dtfusion",
1168
- "dtsv",
1169
- "date",
1170
- TermTypes.SSGSEA,
1171
- TermTypes.DNA_METHYLATION,
1172
- TermTypes.METABOLITE_INTENSITY,
1173
- TermTypes.PROTEOME_ABUNDANCE,
1174
- SINGLECELL_GENE_EXPRESSION,
1175
- SINGLECELL_CELLTYPE,
1176
- TermTypes.SNP,
1177
- TermTypes.TERM_COLLECTION
1178
- ]);
1179
- function isUsableTerm(term, _usecase, termdbConfig, ds) {
1180
- const usecase = _usecase || {};
1181
- if (typeof ds?.usecase?.[usecase.target] == "function") {
1182
- return ds.usecase[usecase.target](term, usecase);
1183
- }
1184
- const uses = /* @__PURE__ */ new Set();
1185
- const child_types = term.child_types || [];
1186
- switch (usecase.target) {
1187
- case "barchart":
1188
- case "violin":
1189
- case "boxplot":
1190
- case "summary":
1191
- if (term.type && term.type !== "survival") uses.add("plot");
1192
- if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
1193
- return uses;
1194
- case "summaryInput":
1195
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1196
- if (term.type && term.type !== "survival") uses.add("plot");
1197
- if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
1198
- return uses;
1199
- } else {
1200
- if (graphableTypes.has(term.type)) uses.add("plot");
1201
- if (!term.isleaf) uses.add("branch");
1202
- return uses;
1203
- }
1204
- case "matrix":
1205
- if (term.type) uses.add("plot");
1206
- if (!term.isleaf) uses.add("branch");
1207
- return uses;
1208
- case "table":
1209
- if (usecase.detail == "term") uses.add("plot");
1210
- if (child_types.length > 1) uses.add("branch");
1211
- return uses;
1212
- case "sampleScatter":
1213
- if (usecase.detail == "numeric") {
1214
- if (isNumericTerm(term)) {
1215
- uses.add("plot");
1216
- }
1217
- if (hasNumericChild(child_types)) uses.add("branch");
1218
- } else {
1219
- if (graphableTypes.has(term.type)) uses.add("plot");
1220
- if (!term.isleaf) uses.add("branch");
1221
- }
1222
- return uses;
1223
- case "runChart2":
1224
- if (usecase.detail == "date" || usecase.detail == "xtw") {
1225
- if (term.type == "date") {
1226
- uses.add("plot");
1227
- }
1228
- if (child_types.includes("date")) uses.add("branch");
1229
- } else if (usecase.detail == "numeric") {
1230
- if (isNumericTerm(term) && term.type != "date") {
1231
- uses.add("plot");
1232
- }
1233
- if (hasNumericChild(child_types)) uses.add("branch");
1234
- } else {
1235
- if (graphableTypes.has(term.type)) uses.add("plot");
1236
- if (!term.isleaf) uses.add("branch");
1237
- }
1238
- return uses;
1239
- case "termCollections":
1240
- if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1241
- if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1242
- return uses;
1243
- case "profileForms":
1244
- if (!term.isleaf) {
1245
- const ancestors = term.id.split("__").length;
1246
- if (ancestors == 3) {
1247
- uses.add("plot");
1248
- } else if (ancestors < 3) uses.add("branch");
1249
- }
1250
- return uses;
1251
- // case 'boxplot':
1252
- // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1253
- // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1254
- // return uses
1255
- case "cuminc":
1256
- if (usecase.detail == "term") {
1257
- if (term.type == "condition") uses.add("plot");
1258
- if (child_types.includes("condition")) uses.add("branch");
1259
- return uses;
1260
- }
1261
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1262
- if (term.type && term.type != "condition" && term.type != "survival") uses.add("plot");
1263
- if (hasAllowedChildTypes(child_types, ["condition", "survival"])) uses.add("branch");
1264
- return uses;
1265
- }
1266
- return uses;
1267
- case "survival":
1268
- if (usecase.detail == "term") {
1269
- if (term.type == "survival") uses.add("plot");
1270
- if (child_types.includes("survival")) uses.add("branch");
1271
- return uses;
1272
- }
1273
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1274
- if (term.type && term.type != "survival") uses.add("plot");
1275
- if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
1276
- return uses;
1277
- }
1278
- return uses;
1279
- case "regression":
1280
- if (usecase.detail == "outcome") {
1281
- if (usecase.regressionType == "linear") {
1282
- if (term.type == "float" || term.type == "integer") uses.add("plot");
1283
- if (hasNumericChild(child_types)) uses.add("branch");
1284
- return uses;
1285
- }
1286
- if (usecase.regressionType == "logistic") {
1287
- if (term.type && term.type != "survival") uses.add("plot");
1288
- if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
1289
- return uses;
1290
- } else if (usecase.regressionType == "cox") {
1291
- if (term.type == "condition" || term.type == "survival") uses.add("plot");
1292
- if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1293
- return uses;
1294
- }
1295
- }
1296
- if (usecase.detail == "independent") {
1297
- if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1298
- uses.add("plot");
1299
- if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1300
- return uses;
1301
- }
1302
- return uses;
1303
- case "filter": {
1304
- const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1305
- if (exlst) {
1306
- if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1307
- if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1308
- return uses;
1309
- }
1310
- if (graphableTypes.has(term.type)) uses.add("plot");
1311
- if (!term.isleaf) uses.add("branch");
1312
- return uses;
1313
- }
1314
- case "correlationVolcano":
1315
- if (usecase.detail == "numeric") {
1316
- if (isNumericTerm(term)) {
1317
- uses.add("plot");
1318
- }
1319
- if (hasNumericChild(child_types)) uses.add("branch");
1320
- } else {
1321
- if (graphableTypes.has(term.type)) uses.add("plot");
1322
- if (!term.isleaf) uses.add("branch");
1323
- }
1324
- return uses;
1325
- default:
1326
- if (graphableTypes.has(term.type)) uses.add("plot");
1327
- if (!term.isleaf) uses.add("branch");
1328
- return uses;
1329
- }
1330
- }
1331
- function hasAllowedChildTypes(child_types, excluded_types) {
1332
- if (!child_types.length) {
1333
- return false;
1334
- }
1335
- if (!excluded_types?.length) {
1336
- return true;
1337
- }
1338
- if (child_types.some((type) => !excluded_types.includes(type))) {
1339
- return true;
1340
- }
1341
- }
1342
- function hasNumericChild(child_types) {
1343
- return child_types.includes("float") || child_types.includes("integer");
1344
- }
1345
- function hasChildTypes(child_types, expected_types) {
1346
- for (const a of expected_types) {
1347
- if (child_types.includes(a)) return true;
1348
- }
1349
- }
1350
-
1351
- // ../shared/utils/src/time.js
1352
- function formatElapsedTime(ms, precision = 2) {
1353
- if (typeof ms !== "number" || isNaN(ms)) {
1354
- return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1355
- }
1356
- if (!isFinite(ms)) {
1357
- return ms > 0 ? "Infinite time" : "-Infinite time";
1358
- }
1359
- const absMs = Math.abs(ms);
1360
- const sign = ms < 0 ? "-" : "";
1361
- if (absMs < 1e3) {
1362
- return `${sign}${absMs}ms`;
1363
- }
1364
- if (absMs < 6e4) {
1365
- return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1366
- }
1367
- const minutes = Math.floor(absMs / 6e4);
1368
- const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1369
- return `${sign}${minutes}m ${seconds}s`;
1370
- }
1371
-
1372
- // common/auth.js
1373
- var jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1374
- var jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1375
- function setTokenByDsRoute(dslabel, route, jwt) {
1376
- if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1377
- if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1378
- else delete jwtByDsRoute[dslabel][route];
1379
- localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1380
- }
1381
- function getSavedToken(dslabel, route) {
1382
- return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1383
- }
1384
- function mayAddJwtToRequest(init, body, url) {
1385
- if (init.headers.authorization) return;
1386
- let dslabel = body?.dslabel;
1387
- if (!dslabel) {
1388
- const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1389
- if (!param) return;
1390
- let value = decodeURIComponent(param.split("=")[1]);
1391
- if (value.startsWith("{") && value.endsWith("}")) {
1392
- value = JSON.parse(value);
1393
- dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1394
- } else {
1395
- dslabel = value;
1396
- }
1397
- }
1398
- if (!dslabel || !jwtByDsRoute[dslabel]) return;
1399
- const h = url.split("//");
1400
- const postProtocolStr = h[1] || h[0];
1401
- const preQuestionMarkStr = postProtocolStr.split("?")[0];
1402
- const pathSegments = preQuestionMarkStr.split("/");
1403
- let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1404
- const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1405
- if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1406
- }
1407
- var dsAuthOk = /* @__PURE__ */ new Set();
1408
- var dsAuth;
1409
- var authUi;
1410
- var authUiHolder;
1411
- var includeEmbedder = false;
1412
- async function setDsAuthOk(opts, dofetch32) {
1413
- dsAuth = opts.dsAuth;
1414
- authUi = opts.ui || defaultAuthUi;
1415
- authUiHolder = opts.holder || select_default("body");
1416
- for (const auth of dsAuth) {
1417
- if (auth.insession) dsAuthOk.add(auth);
1418
- else {
1419
- const { dslabel, route } = auth;
1420
- const jwt = getSavedToken(dslabel, route);
1421
- if (jwt) {
1422
- const payload = JSON.parse(atob(jwt.split(".")[1]));
1423
- if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) continue;
1424
- const data = await dofetch32("/jwt-status", {
1425
- method: "POST",
1426
- headers: {
1427
- //authorization: `Bearer ${btoa(jwt)}`
1428
- [auth.headerKey]: jwt
1429
- },
1430
- body: {
1431
- dslabel,
1432
- route,
1433
- embedder: location.hostname
1434
- }
1435
- });
1436
- if (data.ok || data.status == "ok") {
1437
- dsAuthOk.add(auth);
1438
- auth.insession = true;
1439
- }
1440
- }
1441
- }
1442
- }
1443
- includeEmbedder = opts.dsAuth?.length > 0 || false;
1444
- }
1445
- function getRequiredAuth(dslabel, route) {
1446
- if (!dsAuth || !Array.isArray(dsAuth)) return;
1447
- for (const a of dsAuth) {
1448
- if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1449
- }
1450
- }
1451
- function isInSession(dslabel, route) {
1452
- if (!dslabel) return false;
1453
- for (const a of dsAuthOk) {
1454
- if (a.dslabel == dslabel && (a.route == route || a.route == "/**")) return true;
1455
- }
1456
- return false;
1457
- }
1458
- async function mayShowAuthUi(init, path, opts = {}) {
1459
- const ok = { status: "ok" };
1460
- if (!dsAuth || path.endsWith("jwt-status")) return ok;
1461
- const body = JSON.parse(init.body || `{}`);
1462
- const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1463
- const [key, value] = kv.split("=");
1464
- obj[key] = value;
1465
- return obj;
1466
- }, {});
1467
- const q = Object.assign({}, body, params);
1468
- const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1469
- for (const a of dsAuth) {
1470
- if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1471
- if (dsAuthOk.has(a)) return ok;
1472
- else if (a.route != "/**") return ok;
1473
- else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1474
- else if (a.type == "jwt") {
1475
- } else if (a.type == "forbidden") {
1476
- alert("Forbidden access");
1477
- } else throw `unsupported dsAuth type='${a.type}'`;
1478
- }
1479
- }
1480
- return ok;
1481
- }
1482
- async function defaultAuthUi(dslabel, auth, opts = {}) {
1483
- 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)");
1484
- const form = mask.append("div").style("opacity", 1);
1485
- form.append("div").html(`Restricted dataset '${dslabel}'`);
1486
- form.append("span").html("Please enter password ");
1487
- const pwd = form.append("input").attr("type", "password");
1488
- pwd.node().focus();
1489
- const btn = form.append("button").html("Submit");
1490
- return new Promise((resolve, reject) => {
1491
- function login() {
1492
- fetch("/dslogin", {
1493
- method: "POST",
1494
- headers: {
1495
- authorization: `Basic ${btoa(pwd.property("value"))}`
1496
- },
1497
- body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1498
- }).then((res) => res.json()).then((res) => {
1499
- if (res.error) throw res.error;
1500
- mask.remove();
1501
- dsAuthOk.add(auth);
1502
- if (res.jwt) {
1503
- setTokenByDsRoute(dslabel, res.route, res.jwt);
1504
- }
1505
- if (!opts.setDomRefs) window.location.reload();
1506
- else resolve(dslabel);
1507
- }).catch((e) => {
1508
- alert("login error: " + e);
1509
- });
1510
- }
1511
- btn.on("click", login);
1512
- pwd.on("change", login);
1513
- if (opts.setDomRefs)
1514
- opts.setDomRefs({
1515
- pwd,
1516
- btn,
1517
- mask,
1518
- authUiHolder
1519
- });
1520
- });
1521
- }
1522
-
1523
- // common/dofetch.js
1524
- function dofetch(path, arg, opts = null) {
1525
- if (opts && typeof opts == "object") {
1526
- if (opts.serverData && typeof opts.serverData == "object") {
1527
- if (!dofetch.serverData) {
1528
- dofetch.serverData = opts.serverData;
1529
- } else if (!opts.serverData) {
1530
- opts.serverData = dofetch.serverData;
1531
- }
1532
- }
1533
- return dofetch2(
1534
- path,
1535
- {
1536
- method: "POST",
1537
- headers: {
1538
- "content-type": "application/json"
1539
- },
1540
- body: JSON.stringify(arg)
1541
- },
1542
- opts
1543
- );
1544
- } else {
1545
- if (path[0] == "/") {
1546
- path = path.slice(1);
1547
- }
1548
- const jwt = sessionStorage.getItem("jwt");
1549
- if (jwt) {
1550
- arg.jwt = jwt;
1551
- }
1552
- let url = path;
1553
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1554
- if (host) {
1555
- if (host.endsWith("/")) {
1556
- url = host + path;
1557
- } else {
1558
- url = host + "/" + path;
1559
- }
1560
- }
1561
- return fetch(
1562
- new Request(url, {
1563
- method: "POST",
1564
- headers: {
1565
- "content-type": "application/json"
1566
- },
1567
- body: JSON.stringify(arg)
1568
- })
1569
- ).then((r) => r.json());
1570
- }
1571
- }
1572
- function dofetch2(path, init = {}, opts = {}) {
1573
- if (path[0] == "/") {
1574
- path = path.slice(1);
1575
- }
1576
- let url = path;
1577
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1578
- if (host) {
1579
- if (host.endsWith("/")) {
1580
- url = host + path;
1581
- } else {
1582
- url = host + "/" + path;
1583
- }
1584
- }
1585
- const body = init.body || {};
1586
- url = mayAdjustRequest(url, init);
1587
- if (!init.headers) {
1588
- init.headers = {};
1589
- }
1590
- if (!init.headers["content-type"] && init.body) {
1591
- init.headers["content-type"] = "application/json";
1592
- }
1593
- const jwt = sessionStorage.getItem("jwt");
1594
- if (jwt) {
1595
- init.headers.authorization = "Bearer " + jwt;
1596
- }
1597
- return mayShowAuthUi(init, url).then(async () => {
1598
- if (!jwt) mayAddJwtToRequest(init, body, url);
1599
- if (opts.serverData) {
1600
- return namedFetch(url, init, opts);
1601
- } else {
1602
- return fetch(url, init).then(processResponse);
1603
- }
1604
- });
1605
- }
1606
- var optsServerDataNames2 = /* @__PURE__ */ new WeakMap();
1607
- async function namedFetch(url, init, opts = {}) {
1608
- if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
1609
- if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
1610
- let result;
1611
- const dataName = await getDataName(url, init);
1612
- if (opts.serverData[dataName]) {
1613
- if (init.signal) {
1614
- await sleep(0);
1615
- if (init.signal.aborted) throw `stale sequenceId`;
1616
- }
1617
- result = structuredClone(opts.serverData[dataName]);
1618
- }
1619
- if (!result || typeof result != "object" && !(result instanceof Promise)) {
1620
- delete opts.serverData[dataName];
1621
- result = void 0;
1622
- }
1623
- if (!result) {
1624
- try {
1625
- const res = await fetch(url, init);
1626
- result = await processResponse(res);
1627
- if (typeof result == "object" && !(result instanceof Promise)) {
1628
- deepFreeze(result);
1629
- opts.serverData[dataName] = result;
1630
- result = structuredClone(result);
1631
- }
1632
- } catch (e) {
1633
- delete opts.serverData[dataName];
1634
- throw e;
1635
- }
1636
- }
1637
- if (!optsServerDataNames2.has(opts.serverData)) optsServerDataNames2.set(opts.serverData, []);
1638
- const keys = optsServerDataNames2.get(opts.serverData);
1639
- const i2 = keys.indexOf(dataName);
1640
- if (i2 > 0) {
1641
- keys.splice(i2, 1);
1642
- }
1643
- keys.unshift(dataName);
1644
- const maxKeys = 360;
1645
- while (keys.length > maxKeys) {
1646
- const oldestDataKey = keys.pop();
1647
- delete opts.serverData[oldestDataKey];
1648
- }
1649
- return result;
1650
- }
1651
- var defaultServerDataCache = {};
1652
- function dofetch3(path, init = {}, opts = {}) {
1653
- if (!init.signal && typeof this?.app?.getAbortSignal == "function") init.signal = this.app.getAbortSignal();
1654
- opts.serverData = defaultServerDataCache;
1655
- return dofetch2(path, init, opts);
1656
- }
1657
- function clearServerDataCache(opts = {}) {
1658
- const cache = opts?.serverData || defaultServerDataCache;
1659
- if (!cache) return;
1660
- for (const k of Object.keys(cache)) {
1661
- delete cache[k];
1662
- }
1663
- }
1664
- var urlMaxLength = 2e3;
1665
- function mayAdjustRequest(url, init) {
1666
- const hostname = window.location.hostname;
1667
- const method = init.method && init.method.toUpperCase() || "GET";
1668
- if (method == "POST") {
1669
- if (typeof init.body == "string") init.body = JSON.parse(init.body);
1670
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
1671
- init.body = JSON.stringify(init.body);
1672
- return url;
1673
- }
1674
- if (method != "GET" && method != "DELETE" && method != "PUT") {
1675
- throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
1676
- }
1677
- if (init.body) {
1678
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
1679
- const params = encode(init.body);
1680
- if (!url.includes("?")) url += "?";
1681
- url += params;
1682
- }
1683
- if (!url.includes("embedder=") && includeEmbedder) {
1684
- const sep = url.includes("?") ? "&" : "?";
1685
- url += `${sep}embedder=${hostname}`;
1686
- }
1687
- if (url.length < urlMaxLength) {
1688
- if (init.body) delete init.body;
1689
- return url;
1690
- }
1691
- init.method = "POST";
1692
- const [hostpath, query] = url.split("?");
1693
- if (init.body) {
1694
- init.body = JSON.stringify(init.body);
1695
- } else {
1696
- const params = {};
1697
- if (query)
1698
- query.split("&").forEach((p) => {
1699
- const [k, v] = p.split("=");
1700
- const decodedVal = decodeURIComponent(v);
1701
- try {
1702
- params[k] = JSON.parse(decodedVal);
1703
- } catch {
1704
- params[k] = decodedVal;
1705
- }
1706
- });
1707
- if (!params.embedder && includeEmbedder) params.embedder = hostname;
1708
- init.body = JSON.stringify(params);
1709
- }
1710
- return hostpath;
1711
- }
1712
- function setAuth(opts) {
1713
- setDsAuthOk(opts, dofetch3);
1714
- }
1715
-
1716
- export {
1717
- init_bulk_flag,
1718
- parsesample,
1719
- clusterMethodLst,
1720
- distanceMethodLst,
1721
- computePercentile,
1722
- fileSize,
1723
- ssmIdFieldsSeparator,
1724
- summarize_mclass,
1725
- guessSsmid,
1726
- initBinConfig,
1727
- isUsableTerm,
1728
- formatElapsedTime,
1729
- vcfparsemeta,
1730
- vcfparseline,
1731
- setTokenByDsRoute,
1732
- getSavedToken,
1733
- getRequiredAuth,
1734
- isInSession,
1735
- dofetch,
1736
- dofetch2,
1737
- dofetch3,
1738
- clearServerDataCache,
1739
- setAuth
1740
- };
1741
- //# sourceMappingURL=chunk-TCPU43TU.js.map