@sjcrh/proteinpaint-client 2.210.0 → 2.210.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (915) hide show
  1. package/dist/2dmaf-7VZ536T5.js +1367 -0
  2. package/dist/AggMatrixInput-UTUOXTGA.js +406 -0
  3. package/dist/AggregateMatrix-X75HUZYO.js +41 -0
  4. package/dist/AppHeader-X2DR6VSM.js +830 -0
  5. package/dist/BoxPlot-NQMPJICU.js +1211 -0
  6. package/dist/CorrelationVolcano-IDBUJH2E.js +617 -0
  7. package/dist/Cuminc-BYFIMOLO.js +1219 -0
  8. package/dist/DE-BI7DHHW4.js +89 -0
  9. package/dist/DEinput-W66CT4U2.js +501 -0
  10. package/dist/DM-62TEJA3C.js +90 -0
  11. package/dist/DifferentialAnalysis-PRTA6CYW.js +239 -0
  12. package/dist/Disco-4JQP3FRW.js +3389 -0
  13. package/dist/Disco.UI-6RHAA5KU.js +243 -0
  14. package/dist/DmrPlot-VYQYMTQ7.js +362 -0
  15. package/dist/GB-LULUM5LH.js +1392 -0
  16. package/dist/GB-LULUM5LH.js.map +7 -0
  17. package/dist/GSEA-DT3SYXOZ.js +875 -0
  18. package/dist/GeneExpInput-UILWAGRH.js +42 -0
  19. package/dist/Geomap-AFKEGMR5.js +84 -0
  20. package/dist/HicApp-APDL5POY.js +2245 -0
  21. package/dist/IDCViewer-DQXAORHT.js +10812 -0
  22. package/dist/NumBinaryEditor-OUVIOEH7.js +279 -0
  23. package/dist/NumBinaryEditor.unit.spec-VBX2X4CT.js +312 -0
  24. package/dist/NumContEditor-JVPRBZPW.js +105 -0
  25. package/dist/NumContEditor.unit.spec-EQNB6RMI.js +164 -0
  26. package/dist/NumCustomBinEditor-E2SXZDF4.js +33 -0
  27. package/dist/NumCustomBinEditor.unit.spec-VLR7MGNL.js +397 -0
  28. package/dist/NumDiscreteEditor-CUA55FU3.js +170 -0
  29. package/dist/NumDiscreteEditor.unit.spec-7IPCMUDQ.js +233 -0
  30. package/dist/NumRegularBinEditor-CWU7YBEP.js +33 -0
  31. package/dist/NumRegularBinEditor.unit.spec-RGV3EUPC.js +278 -0
  32. package/dist/NumSplineEditor-PC5X7AUJ.js +210 -0
  33. package/dist/NumSplineEditor.unit.spec-QCR3RL5W.js +224 -0
  34. package/dist/NumericDensity-CFUEE5ZN.js +33 -0
  35. package/dist/NumericDensity.unit.spec-JOCVEC32.js +418 -0
  36. package/dist/NumericHandler-VL2Z55KF.js +34 -0
  37. package/dist/NumericHandler.unit.spec-ULM5FSSA.js +214 -0
  38. package/dist/ProteomeInput-3WKTVCYT.js +388 -0
  39. package/dist/Regression-M7AQTYXL.js +1416 -0
  40. package/dist/RunChart2-54SVOXJR.js +749 -0
  41. package/dist/SC-QRWDGHB2.js +1183 -0
  42. package/dist/Violin-2AD6QRJB.js +1081 -0
  43. package/dist/Volcano-T57VFSWR.js +2456 -0
  44. package/dist/Volcano-T57VFSWR.js.map +7 -0
  45. package/dist/Wsi-U3U3EILE.js +629 -0
  46. package/dist/adSandbox-S3JP7XF3.js +33 -0
  47. package/dist/animatedBubbleChart-LZKNERIM.js +547 -0
  48. package/dist/app-2MERLGNJ.js +42 -0
  49. package/dist/app-ZNSUUOFJ.js +32 -0
  50. package/dist/app.js +14 -14
  51. package/dist/bam-ESRPS4TQ.js +876 -0
  52. package/dist/barchart-BPUEO4RK.js +42 -0
  53. package/dist/barchart2-Z36PNSM2.js +309 -0
  54. package/dist/block-GEG4UUOU.js +6250 -0
  55. package/dist/block.init-SB6OX35E.js +33 -0
  56. package/dist/block.mds.expressionrank-2JLMS334.js +354 -0
  57. package/dist/block.mds.geneboxplot-BZMGG6G3.js +823 -0
  58. package/dist/block.mds.junction-636PWE2O.js +1539 -0
  59. package/dist/block.mds.svcnv-S4L2HMZW.js +6796 -0
  60. package/dist/block.svg-A7EABUXG.js +159 -0
  61. package/dist/block.tk.aicheck-KNFJVUTW.js +278 -0
  62. package/dist/block.tk.ase-BPU25OLX.js +360 -0
  63. package/dist/block.tk.bam-VC4CZCUS.js +1901 -0
  64. package/dist/block.tk.bedgraphdot-FQS4Z4RC.js +379 -0
  65. package/dist/block.tk.bigwig.ui-7STXSD3X.js +206 -0
  66. package/dist/block.tk.hicstraw-CVDCOMPP.js +818 -0
  67. package/dist/block.tk.junction-PG4RZFH3.js +2358 -0
  68. package/dist/block.tk.junction.textmatrixui-JRW4ZJIK.js +194 -0
  69. package/dist/block.tk.ld-DLDP2NHJ.js +94 -0
  70. package/dist/block.tk.menu-PWGFMKBQ.js +1024 -0
  71. package/dist/block.tk.pgv-HOBOXQIN.js +938 -0
  72. package/dist/brainImaging-GUQTOHQF.js +555 -0
  73. package/dist/brainRegions-JWBIBCTG.js +217 -0
  74. package/dist/bubbleHeatmap-EUO3DUVT.js +378 -0
  75. package/dist/cellTypeBubbleHeatmap-TIBGPZTB.js +278 -0
  76. package/dist/chunk-3CGAABHZ.js +176 -0
  77. package/dist/chunk-3ELYMSGO.js +26 -0
  78. package/dist/chunk-3QL3U6FU.js +2853 -0
  79. package/dist/chunk-3TV5WWUN.js +339 -0
  80. package/dist/chunk-4Y5W26UF.js +424 -0
  81. package/dist/chunk-5XE3WSUX.js +6360 -0
  82. package/dist/chunk-665X7R7S.js +382 -0
  83. package/dist/chunk-6MQPXWOR.js +55 -0
  84. package/dist/chunk-7DSL65G7.js +14 -0
  85. package/dist/chunk-A6F3CSXP.js +626 -0
  86. package/dist/chunk-AB6JQFIQ.js +129 -0
  87. package/dist/chunk-ACOHIDWO.js +240 -0
  88. package/dist/chunk-AIVPAC5Q.js +102 -0
  89. package/dist/chunk-AKKJFMW5.js +4375 -0
  90. package/dist/chunk-AR2UIN77.js +255 -0
  91. package/dist/chunk-AXF6SVNQ.js +56 -0
  92. package/dist/chunk-BLYD6SQO.js +98 -0
  93. package/dist/chunk-BSWPONNA.js +550 -0
  94. package/dist/chunk-BX3P73XH.js +299 -0
  95. package/dist/chunk-CSAS3PVJ.js +24956 -0
  96. package/dist/chunk-CSAS3PVJ.js.map +7 -0
  97. package/dist/chunk-CW35X5ZL.js +5071 -0
  98. package/dist/chunk-D4XHYQNS.js +281 -0
  99. package/dist/chunk-DH74ZT37.js +141 -0
  100. package/dist/chunk-E76UYIT2.js +182 -0
  101. package/dist/chunk-EM6KUVI5.js +194 -0
  102. package/dist/chunk-F4GYWCRF.js +302 -0
  103. package/dist/chunk-FJ3JD7B3.js +59 -0
  104. package/dist/chunk-FW3ME75U.js +54 -0
  105. package/dist/chunk-G2X2PN74.js +783 -0
  106. package/dist/chunk-G3QKTYUT.js +2676 -0
  107. package/dist/chunk-G5USS6FI.js +56 -0
  108. package/dist/chunk-GLPTPX45.js +203 -0
  109. package/dist/chunk-GPY6SBCX.js +339 -0
  110. package/dist/chunk-GWHIKECP.js +1731 -0
  111. package/dist/chunk-GWVVEOYX.js +263 -0
  112. package/dist/chunk-HDV3LHCN.js +379 -0
  113. package/dist/chunk-HGXSYPU6.js +2327 -0
  114. package/dist/chunk-HMKEVTRM.js +446 -0
  115. package/dist/chunk-HPCKKXRK.js +1233 -0
  116. package/dist/chunk-J5JBHGRN.js +31 -0
  117. package/dist/chunk-JHOGTGIS.js +1988 -0
  118. package/dist/chunk-KCX54MGS.js +480 -0
  119. package/dist/chunk-KVRSO2OZ.js +34 -0
  120. package/dist/chunk-M4PUW3ML.js +243 -0
  121. package/dist/chunk-ME325OQC.js +562 -0
  122. package/dist/chunk-NJWNKBRC.js +468 -0
  123. package/dist/chunk-O5FUHCNU.js +397 -0
  124. package/dist/chunk-ODHQPTHU.js +134 -0
  125. package/dist/chunk-PTQ4GQCS.js +692 -0
  126. package/dist/chunk-PUSSP76H.js +70 -0
  127. package/dist/chunk-Q3PAXUCU.js +54 -0
  128. package/dist/chunk-QWBKN2IC.js +80 -0
  129. package/dist/chunk-R4E7BXC6.js +49 -0
  130. package/dist/chunk-SDYFM3UL.js +274 -0
  131. package/dist/chunk-SP6WCXY6.js +217 -0
  132. package/dist/chunk-SRTZQOK7.js +102 -0
  133. package/dist/chunk-T4RYLTR3.js +178 -0
  134. package/dist/chunk-TANWA6SU.js +54 -0
  135. package/dist/chunk-TBIHBC5V.js +170 -0
  136. package/dist/chunk-TGTCOCPF.js +1278 -0
  137. package/dist/chunk-TOFOT2BN.js +294 -0
  138. package/dist/chunk-UOYIPBTX.js +217 -0
  139. package/dist/chunk-USULBM4V.js +2784 -0
  140. package/dist/chunk-UYKJOBRO.js +1616 -0
  141. package/dist/chunk-UYKJOBRO.js.map +7 -0
  142. package/dist/chunk-V3WSMWBF.js +123 -0
  143. package/dist/chunk-VTHZGUSZ.js +2146 -0
  144. package/dist/chunk-WMQDFVJK.js +103 -0
  145. package/dist/chunk-WTQQWFV4.js +38 -0
  146. package/dist/chunk-XDLKYVYU.js +276 -0
  147. package/dist/chunk-XNJN5J3U.js +37 -0
  148. package/dist/chunk-XQLOEZ7T.js +158 -0
  149. package/dist/chunk-Y3SDMRDX.js +119 -0
  150. package/dist/chunk-Y5FE3G6J.js +518 -0
  151. package/dist/chunk-YMEWZVRG.js +237 -0
  152. package/dist/chunk-YPHFEKWI.js +1339 -0
  153. package/dist/chunk-Z4HW3FEE.js +272 -0
  154. package/dist/cohort-NYFUILFO.js +70 -0
  155. package/dist/condition-6M4AVISY.js +327 -0
  156. package/dist/controls-LMTWS3SY.js +34 -0
  157. package/dist/controls.config-4PK7HLFJ.js +34 -0
  158. package/dist/correlation-X6GB6ITK.js +95 -0
  159. package/dist/customdata.inputui-MDG3BTTG.js +284 -0
  160. package/dist/dataDownload-TFRI3VFM.js +329 -0
  161. package/dist/databrowser.ui-L2K7VVDW.js +425 -0
  162. package/dist/dictionary-MS6R3VNY.js +113 -0
  163. package/dist/dnaMethylation-2KYSQWNE.js +33 -0
  164. package/dist/dnaMethylation.integration.spec-2BHNKOGN.js +198 -0
  165. package/dist/dofetch-BETN7HEX.js +48 -0
  166. package/dist/e2pca-QC2EI5JM.js +344 -0
  167. package/dist/ep-BTRMR4OT.js +1249 -0
  168. package/dist/expclust.gdc.spec-C5ZMBCGO.js +302 -0
  169. package/dist/facet-LPXKLX53.js +519 -0
  170. package/dist/gb-PHJ2SM5D.js +81 -0
  171. package/dist/geneExpClustering-OXZJHEPD.js +244 -0
  172. package/dist/geneExpression-54RGEGML.js +310 -0
  173. package/dist/geneExpression-FLBQXMSX.js +33 -0
  174. package/dist/geneExpression.unit.spec-ZCE7G6HI.js +128 -0
  175. package/dist/geneORA-TELI5AFV.js +273 -0
  176. package/dist/geneRanking-7YZA5GNG.js +548 -0
  177. package/dist/geneVariant-NJYUEY4C.js +36 -0
  178. package/dist/geneVariant-VKWTXUMK.js +289 -0
  179. package/dist/geneVariant.integration.spec-RWYP523U.js +503 -0
  180. package/dist/genefusion.ui-B6J7I3RA.js +303 -0
  181. package/dist/geneset-VG4SFYML.js +203 -0
  182. package/dist/genomeBrowser.spec-5IS5Y2NG.js +276 -0
  183. package/dist/grin2-3T6KRC34.js +70 -0
  184. package/dist/grin2-FOOH736B.js +949 -0
  185. package/dist/hierCluster-WLAFGZAT.js +55 -0
  186. package/dist/hierCluster-XBL2TOOL.js +59 -0
  187. package/dist/hierCluster.config-VCBRBGDZ.js +36 -0
  188. package/dist/hierCluster.integration.spec-TNJD2QT6.js +483 -0
  189. package/dist/hierCluster.interactivity-PEEJ3BRC.js +49 -0
  190. package/dist/hierCluster.renderers-7ESGKIGM.js +19 -0
  191. package/dist/imagePlot-LWL6JMKM.js +156 -0
  192. package/dist/importPlot-CLBY6QZN.js +8 -0
  193. package/dist/isoformExpression-36P3BBN7.js +35 -0
  194. package/dist/isoformExpression.unit.spec-SF2SPTRC.js +237 -0
  195. package/dist/junction-B7DSIG4E.js +36 -0
  196. package/dist/junction.customTerm-7VZS4JDE.js +16 -0
  197. package/dist/junction.unit.spec-4MWU36MR.js +182 -0
  198. package/dist/launch.adhoc-3B34GV4S.js +37 -0
  199. package/dist/leftlabel.sample-6OM5H67E.js +258 -0
  200. package/dist/lollipop-SL2F5G6K.js +166 -0
  201. package/dist/maf-FRYGN5GR.js +455 -0
  202. package/dist/maftimeline-3UFWS73J.js +587 -0
  203. package/dist/matrix-DDKSOJ4C.js +59 -0
  204. package/dist/matrix-H2ZH2QKC.js +54 -0
  205. package/dist/matrix.cells-JTMC35SK.js +26 -0
  206. package/dist/matrix.config-EUBXWEBS.js +37 -0
  207. package/dist/matrix.data-CO5RBWY5.js +23 -0
  208. package/dist/matrix.groups-AKOJ2W6U.js +26 -0
  209. package/dist/matrix.integration.spec-66KNZO3S.js +3160 -0
  210. package/dist/matrix.interactivity-DY5YJIYB.js +37 -0
  211. package/dist/matrix.layout-MQQNHBI2.js +39 -0
  212. package/dist/matrix.legend-CGU7T6GF.js +20 -0
  213. package/dist/matrix.renderers-HC7PJN4B.js +34 -0
  214. package/dist/matrix.serieses-W4L6ZO37.js +19 -0
  215. package/dist/matrix.sort-T74DWFB2.js +26 -0
  216. package/dist/matrix.sort.unit.spec-EQEHQXTO.js +468 -0
  217. package/dist/matrix.sorterUi-GFQG4HFV.js +16 -0
  218. package/dist/matrix.sorterUi.unit.spec-XQHFOEYE.js +338 -0
  219. package/dist/matrix.unit.spec-4ZWUGZUC.js +150 -0
  220. package/dist/mavb-3CL5OHWB.js +727 -0
  221. package/dist/mds.fimo-2RFJQKJM.js +513 -0
  222. package/dist/mds.samplescatterplot-X6CXMY4C.js +1545 -0
  223. package/dist/mds.survivalplot-57NIKSSH.js +477 -0
  224. package/dist/multivalue-3TUGYL4J.js +83 -0
  225. package/dist/numericDictTermCluster-RLX5CLTN.js +63 -0
  226. package/dist/oncomatrix-COK76MJN.js +290 -0
  227. package/dist/oncomatrix.spec-SO3ZN5BF.js +443 -0
  228. package/dist/plot.2dvaf-TETCE4VG.js +372 -0
  229. package/dist/plot.app-5YUAVZA4.js +36 -0
  230. package/dist/plot.barplot-JUGY5Z7A.js +97 -0
  231. package/dist/plot.boxplot-QZXICT7J.js +146 -0
  232. package/dist/plot.brainImaging-2F6E6QS4.js +51 -0
  233. package/dist/plot.disco-H4P4B6QS.js +99 -0
  234. package/dist/plot.ssgq-LEQF3STZ.js +134 -0
  235. package/dist/plot.vaf2cov-UBMD2CN7.js +253 -0
  236. package/dist/polar2-AVEZM2T5.js +232 -0
  237. package/dist/profileForms-CUSUGTPC.js +941 -0
  238. package/dist/profilePlot-67Z7AXQ4.js +49 -0
  239. package/dist/proteinView-7K7VHGX3.js +1357 -0
  240. package/dist/proteomeCohortCompare-MRGH6HHI.js +912 -0
  241. package/dist/pseudbulk.unit.spec-ZHDL6GIM.js +86 -0
  242. package/dist/pseudobulk-ZNXPF7QB.js +35 -0
  243. package/dist/qualitative-QXMZHDWU.js +38 -0
  244. package/dist/radar2-QJDGNLED.js +327 -0
  245. package/dist/radarFacility2-LGGOOWX4.js +335 -0
  246. package/dist/rememberedGvQ.unit.spec-YKUMMYFT.js +211 -0
  247. package/dist/render-LSSRZJY3.js +33 -0
  248. package/dist/report-TTECPO44.js +217 -0
  249. package/dist/sampleView-EFS2UBRS.js +43 -0
  250. package/dist/samplelst-FXULLJBO.js +106 -0
  251. package/dist/samplematrix-MNFCXOWO.js +2193 -0
  252. package/dist/sc-2BUOXML2.js +81 -0
  253. package/dist/scatter-AVRTALYY.js +925 -0
  254. package/dist/scatter-CPEIVL3K.js +88 -0
  255. package/dist/selectGenomeWithTklst-3BG2ZPPN.js +129 -0
  256. package/dist/singleCellCellType-QLAEBVN2.js +33 -0
  257. package/dist/singleCellCellType.unit.spec-P4NAWYKL.js +154 -0
  258. package/dist/singleCellGeneExpression-IZ2PMDDL.js +33 -0
  259. package/dist/singleCellGeneExpression.unit.spec-DKBZICJM.js +148 -0
  260. package/dist/singleCellNumericValue-NB3QFH7H.js +33 -0
  261. package/dist/singleCellNumericValue.unit.spec-ZKK2KWRQ.js +416 -0
  262. package/dist/singleCellPlot-ZU655L4Z.js +48 -0
  263. package/dist/singlecell-NKPTXVHW.js +1566 -0
  264. package/dist/singlecell-PEIEFXVU.js +81 -0
  265. package/dist/snp-G55JGINX.js +33 -0
  266. package/dist/snp.unit.spec-47CCZKJO.js +171 -0
  267. package/dist/snplocus-TRVAEAPF.js +203 -0
  268. package/dist/spliceevent.a53ss.diagram-FL2R6F22.js +146 -0
  269. package/dist/spliceevent.exonskip.diagram-XDZWTJXR.js +278 -0
  270. package/dist/spliceevent.noeventdiagram-L322N534.js +455 -0
  271. package/dist/ssGSEA-DZY4LFQY.js +33 -0
  272. package/dist/ssGSEA.unit.spec-P6C3VTVZ.js +83 -0
  273. package/dist/stattable-R7O6OIMB.js +117 -0
  274. package/dist/studyCatalog-OMDE4JRD.js +414 -0
  275. package/dist/summarizeCnvGeneexp-A7HW6FJI.js +158 -0
  276. package/dist/summarizeGeneexpSurvival-ODI4HGFH.js +105 -0
  277. package/dist/summarizeMutationCnv-C2YB73OL.js +159 -0
  278. package/dist/summarizeMutationDiagnosis-4Y322NYU.js +35 -0
  279. package/dist/summarizeMutationSurvival-7IHNURLC.js +99 -0
  280. package/dist/summary-E4L5MZTF.js +44 -0
  281. package/dist/summary.integration.spec-SDCGE6BQ.js +409 -0
  282. package/dist/summaryInput-DHIMU5DM.js +242 -0
  283. package/dist/sunburst-ULNPFEAM.js +278 -0
  284. package/dist/survival-CU4N5KZO.js +53 -0
  285. package/dist/survival-KWWH6REE.js +1248 -0
  286. package/dist/survival.integration.spec-UW6SYVLP.js +613 -0
  287. package/dist/svgraph-HFI6NNF3.js +1382 -0
  288. package/dist/svmr-VHS7Z4SO.js +3837 -0
  289. package/dist/table-GJUXHKQI.js +197 -0
  290. package/dist/termCollection-CCZ4BFIU.js +33 -0
  291. package/dist/termCollection-O5CQ472U.js +252 -0
  292. package/dist/termCollection.unit.spec-KR5G6JFU.js +299 -0
  293. package/dist/termCollectionFractionSelection-IKU5MFBT.js +42 -0
  294. package/dist/termCollectionFractionSelection.unit.spec-6ZWHNGES.js +188 -0
  295. package/dist/tk-3DLMAFW7.js +41 -0
  296. package/dist/tk-CAYWF7LX.js +1121 -0
  297. package/dist/tp.ui-NF5ZYOHW.js +1454 -0
  298. package/dist/tvs.dt-43A4SSLG.js +34 -0
  299. package/dist/tvs.dtcnv.categorical-DYXHUNP2.js +35 -0
  300. package/dist/tvs.dtcnv.continuous-NOKNP4UG.js +67 -0
  301. package/dist/tvs.dtfusion-4NAOCC2X.js +35 -0
  302. package/dist/tvs.dtitd-SZC6EITI.js +35 -0
  303. package/dist/tvs.dtsnvindel-EYSBCNQK.js +35 -0
  304. package/dist/tvs.dtsv-VSPWIIFO.js +35 -0
  305. package/dist/tvs.samplelst-3YQ4GKNG.js +98 -0
  306. package/dist/tvs.termCollection-EVM4ATPW.js +124 -0
  307. package/dist/vocabulary-HCPEIO2P.js +36 -0
  308. package/dist/wsi.direct-K2J6GGWY.js +8343 -0
  309. package/package.json +3 -3
  310. package/dist/2dmaf-43QBND66.js +0 -1367
  311. package/dist/AggMatrixInput-X7NGFUHH.js +0 -406
  312. package/dist/AggregateMatrix-M4HRI4PX.js +0 -41
  313. package/dist/AppHeader-QBRQN6PM.js +0 -830
  314. package/dist/BoxPlot-V6SPSEQ2.js +0 -1211
  315. package/dist/CorrelationVolcano-UFPCYC77.js +0 -617
  316. package/dist/Cuminc-KXGXGLKZ.js +0 -1219
  317. package/dist/DE-K2YXHOOW.js +0 -89
  318. package/dist/DEinput-O6LBFAAH.js +0 -501
  319. package/dist/DM-C7VN3RWB.js +0 -90
  320. package/dist/DifferentialAnalysis-A2BU4WB3.js +0 -239
  321. package/dist/Disco-HECQVKXG.js +0 -3389
  322. package/dist/Disco.UI-XF2GEKRW.js +0 -243
  323. package/dist/DmrPlot-TVXVXOHL.js +0 -362
  324. package/dist/GB-66ZGJ5ST.js +0 -1428
  325. package/dist/GB-66ZGJ5ST.js.map +0 -7
  326. package/dist/GSEA-Z4YPI4HY.js +0 -875
  327. package/dist/GeneExpInput-VBIZZV27.js +0 -42
  328. package/dist/Geomap-UIIOLRFA.js +0 -84
  329. package/dist/HicApp-73ESVNBA.js +0 -2245
  330. package/dist/IDCViewer-RBYN5A4P.js +0 -10812
  331. package/dist/NumBinaryEditor-DJLSNSLE.js +0 -279
  332. package/dist/NumBinaryEditor.unit.spec-LCJHL3XM.js +0 -312
  333. package/dist/NumContEditor-SVLDJ2ML.js +0 -105
  334. package/dist/NumContEditor.unit.spec-JDMSK4HY.js +0 -164
  335. package/dist/NumCustomBinEditor-BI63AH3R.js +0 -33
  336. package/dist/NumCustomBinEditor.unit.spec-5433G7Y2.js +0 -397
  337. package/dist/NumDiscreteEditor-LEZTGXAV.js +0 -170
  338. package/dist/NumDiscreteEditor.unit.spec-5OEORHJ4.js +0 -233
  339. package/dist/NumRegularBinEditor-EXWHIWPM.js +0 -33
  340. package/dist/NumRegularBinEditor.unit.spec-QY25Z2TT.js +0 -278
  341. package/dist/NumSplineEditor-XPPMYYAD.js +0 -210
  342. package/dist/NumSplineEditor.unit.spec-GOGBKWMN.js +0 -224
  343. package/dist/NumericDensity-RKY2IQ72.js +0 -33
  344. package/dist/NumericDensity.unit.spec-5ZM6ICXM.js +0 -418
  345. package/dist/NumericHandler-FXF3M5M3.js +0 -34
  346. package/dist/NumericHandler.unit.spec-M2OQTBJX.js +0 -214
  347. package/dist/ProteomeInput-TMZ3THRL.js +0 -388
  348. package/dist/Regression-GQGAATHG.js +0 -1416
  349. package/dist/RunChart2-7GNDWRKC.js +0 -749
  350. package/dist/SC-R2I2EMHA.js +0 -1183
  351. package/dist/Violin-GKKEB55L.js +0 -1081
  352. package/dist/Volcano-HRG5EFWH.js +0 -2443
  353. package/dist/Volcano-HRG5EFWH.js.map +0 -7
  354. package/dist/Wsi-OHRCGYYD.js +0 -629
  355. package/dist/adSandbox-H56B25WR.js +0 -33
  356. package/dist/animatedBubbleChart-7SXFHU4J.js +0 -547
  357. package/dist/app-22JCSULA.js +0 -42
  358. package/dist/app-RGZJB6LN.js +0 -32
  359. package/dist/bam-HA65TRGX.js +0 -876
  360. package/dist/barchart-6XO75OMA.js +0 -42
  361. package/dist/barchart2-6E5BIRHD.js +0 -309
  362. package/dist/block-43KNTXZ5.js +0 -6250
  363. package/dist/block.init-TPU5QIPA.js +0 -33
  364. package/dist/block.mds.expressionrank-QZDRFXCH.js +0 -354
  365. package/dist/block.mds.geneboxplot-64QVBK5Q.js +0 -823
  366. package/dist/block.mds.junction-I4J6VXNT.js +0 -1539
  367. package/dist/block.mds.svcnv-GDQMSQFF.js +0 -6796
  368. package/dist/block.svg-2MZFT5QP.js +0 -159
  369. package/dist/block.tk.aicheck-2MKHF6LX.js +0 -278
  370. package/dist/block.tk.ase-CLYGKFTS.js +0 -360
  371. package/dist/block.tk.bam-XTR4QA5Z.js +0 -1901
  372. package/dist/block.tk.bedgraphdot-A2P2CXRU.js +0 -379
  373. package/dist/block.tk.bigwig.ui-YZH6JXEO.js +0 -206
  374. package/dist/block.tk.hicstraw-QBK5VWGU.js +0 -818
  375. package/dist/block.tk.junction-5DEVBA7G.js +0 -2358
  376. package/dist/block.tk.junction.textmatrixui-7TTQMO6W.js +0 -194
  377. package/dist/block.tk.ld-PRIVUPKL.js +0 -94
  378. package/dist/block.tk.menu-JGBRFSS3.js +0 -1024
  379. package/dist/block.tk.pgv-KQJCJMVD.js +0 -938
  380. package/dist/brainImaging-4SLVJ2HV.js +0 -555
  381. package/dist/brainRegions-BDIVM2SG.js +0 -217
  382. package/dist/bubbleHeatmap-ORKFJNEQ.js +0 -378
  383. package/dist/cellTypeBubbleHeatmap-VOHLI4P7.js +0 -278
  384. package/dist/chunk-26N3B2JO.js +0 -194
  385. package/dist/chunk-2HNJF5ZI.js +0 -240
  386. package/dist/chunk-2LNGHIOC.js +0 -281
  387. package/dist/chunk-3FEP6B5T.js +0 -119
  388. package/dist/chunk-3SCQGODD.js +0 -274
  389. package/dist/chunk-47STLK7K.js +0 -518
  390. package/dist/chunk-4G73CMUL.js +0 -38
  391. package/dist/chunk-4XYQG3XU.js +0 -276
  392. package/dist/chunk-53XNEXR6.js +0 -34
  393. package/dist/chunk-55FABQU2.js +0 -24955
  394. package/dist/chunk-55FABQU2.js.map +0 -7
  395. package/dist/chunk-5UB5H7A3.js +0 -123
  396. package/dist/chunk-6FYQYTV6.js +0 -141
  397. package/dist/chunk-6RP6CR4Q.js +0 -182
  398. package/dist/chunk-A5D37SIL.js +0 -103
  399. package/dist/chunk-ADRFQ5AL.js +0 -102
  400. package/dist/chunk-AUZ63NKJ.js +0 -70
  401. package/dist/chunk-B563DUNQ.js +0 -217
  402. package/dist/chunk-BK6UDL7F.js +0 -339
  403. package/dist/chunk-CFZ2ZW3E.js +0 -382
  404. package/dist/chunk-CKOU3P27.js +0 -26
  405. package/dist/chunk-CT4IG5IR.js +0 -339
  406. package/dist/chunk-D6UBH77N.js +0 -1731
  407. package/dist/chunk-DS4GLMJL.js +0 -170
  408. package/dist/chunk-DSBRHWZ7.js +0 -2853
  409. package/dist/chunk-DX35MKPR.js +0 -272
  410. package/dist/chunk-EDZJ3VNZ.js +0 -54
  411. package/dist/chunk-F47A4CVK.js +0 -1339
  412. package/dist/chunk-FSLOUTTK.js +0 -37
  413. package/dist/chunk-G4H34RNK.js +0 -446
  414. package/dist/chunk-G7RUMSHL.js +0 -263
  415. package/dist/chunk-GXFS25SK.js +0 -480
  416. package/dist/chunk-I25LKYC4.js +0 -379
  417. package/dist/chunk-IBT6WRY6.js +0 -692
  418. package/dist/chunk-IJ7AIDEO.js +0 -302
  419. package/dist/chunk-JBFVJHZN.js +0 -1233
  420. package/dist/chunk-JDVBUIEU.js +0 -56
  421. package/dist/chunk-JTANDSTD.js +0 -54
  422. package/dist/chunk-K7RW5TPU.js +0 -4375
  423. package/dist/chunk-KIAMLQ7S.js +0 -424
  424. package/dist/chunk-LBCIXRI2.js +0 -49
  425. package/dist/chunk-MNXL2UV5.js +0 -98
  426. package/dist/chunk-NDOKW2HJ.js +0 -31
  427. package/dist/chunk-NI5CVN43.js +0 -203
  428. package/dist/chunk-NOBXDQDU.js +0 -397
  429. package/dist/chunk-NQNVLZOA.js +0 -6360
  430. package/dist/chunk-NULFGPE3.js +0 -158
  431. package/dist/chunk-OUIXGM3K.js +0 -299
  432. package/dist/chunk-P4LGA36F.js +0 -14
  433. package/dist/chunk-PU5FQWAY.js +0 -55
  434. package/dist/chunk-PZ2OSHBF.js +0 -56
  435. package/dist/chunk-QBNDPW7O.js +0 -5071
  436. package/dist/chunk-QD75Q5LM.js +0 -59
  437. package/dist/chunk-R5PKBL7V.js +0 -80
  438. package/dist/chunk-RFSOP75Z.js +0 -1988
  439. package/dist/chunk-RI65SIN3.js +0 -626
  440. package/dist/chunk-RPGLLO4T.js +0 -2676
  441. package/dist/chunk-RXNZK7MF.js +0 -134
  442. package/dist/chunk-S2ICJ3RZ.js +0 -550
  443. package/dist/chunk-SB36AUG7.js +0 -1614
  444. package/dist/chunk-SB36AUG7.js.map +0 -7
  445. package/dist/chunk-SFHG6H2D.js +0 -129
  446. package/dist/chunk-TQ2DVEQO.js +0 -783
  447. package/dist/chunk-U6BJ4ZNU.js +0 -176
  448. package/dist/chunk-UXD6G6G4.js +0 -178
  449. package/dist/chunk-VA57CUC7.js +0 -2146
  450. package/dist/chunk-VH5W6ODW.js +0 -294
  451. package/dist/chunk-VROF55EH.js +0 -255
  452. package/dist/chunk-VWA7BYSV.js +0 -217
  453. package/dist/chunk-X37BRSGS.js +0 -102
  454. package/dist/chunk-XQYDXA47.js +0 -562
  455. package/dist/chunk-XXPUZVS4.js +0 -237
  456. package/dist/chunk-Y7V5AIUH.js +0 -468
  457. package/dist/chunk-YBNIOGUE.js +0 -243
  458. package/dist/chunk-YEYMNF7V.js +0 -2327
  459. package/dist/chunk-YJ74QATP.js +0 -1278
  460. package/dist/chunk-ZG2HCGAO.js +0 -2784
  461. package/dist/chunk-ZZN7ZD7J.js +0 -54
  462. package/dist/cohort-6OCRQQ2S.js +0 -70
  463. package/dist/condition-SZVXH3VU.js +0 -327
  464. package/dist/controls-MO6ZND76.js +0 -34
  465. package/dist/controls.config-P4MSTGL4.js +0 -34
  466. package/dist/correlation-NMI3CM3T.js +0 -95
  467. package/dist/customdata.inputui-VCHSCA65.js +0 -284
  468. package/dist/dataDownload-VQHOTQ5D.js +0 -329
  469. package/dist/databrowser.ui-ZFOCAG32.js +0 -425
  470. package/dist/dictionary-S5YCFUWH.js +0 -113
  471. package/dist/dnaMethylation-MQZLZRGT.js +0 -33
  472. package/dist/dnaMethylation.integration.spec-H546EBUO.js +0 -198
  473. package/dist/dofetch-QZIYSC7H.js +0 -48
  474. package/dist/e2pca-XOXOS3PN.js +0 -344
  475. package/dist/ep-U6KRL7FR.js +0 -1249
  476. package/dist/expclust.gdc.spec-HCK65C63.js +0 -302
  477. package/dist/facet-DCC25KJO.js +0 -519
  478. package/dist/gb-TIFWFD4Y.js +0 -81
  479. package/dist/geneExpClustering-6DQEOTOY.js +0 -244
  480. package/dist/geneExpression-EASRAN6B.js +0 -310
  481. package/dist/geneExpression-G4YMDCBH.js +0 -33
  482. package/dist/geneExpression.unit.spec-XVEJYMPX.js +0 -128
  483. package/dist/geneORA-6UBS5GSC.js +0 -273
  484. package/dist/geneRanking-UXXYWHNB.js +0 -548
  485. package/dist/geneVariant-SZRJOXVC.js +0 -289
  486. package/dist/geneVariant-TKFKARZK.js +0 -36
  487. package/dist/geneVariant.integration.spec-PXMAYJN3.js +0 -503
  488. package/dist/genefusion.ui-TJLYXSVL.js +0 -303
  489. package/dist/geneset-YTBDLEIH.js +0 -203
  490. package/dist/genomeBrowser.spec-ZO4LFIXE.js +0 -276
  491. package/dist/grin2-FC4VYU54.js +0 -949
  492. package/dist/grin2-LIFKBMVK.js +0 -70
  493. package/dist/hierCluster-56EGAPOR.js +0 -59
  494. package/dist/hierCluster-DR5NWCXA.js +0 -55
  495. package/dist/hierCluster.config-NACE3FH2.js +0 -36
  496. package/dist/hierCluster.integration.spec-PEEXPAS6.js +0 -483
  497. package/dist/hierCluster.interactivity-OCBGLUJM.js +0 -49
  498. package/dist/hierCluster.renderers-JNQUSAP4.js +0 -19
  499. package/dist/imagePlot-GR4JNUGG.js +0 -156
  500. package/dist/importPlot-4R4BSPVD.js +0 -8
  501. package/dist/isoformExpression-ST5ZW2NE.js +0 -35
  502. package/dist/isoformExpression.unit.spec-PPFC5Z7N.js +0 -237
  503. package/dist/junction-7AKZHOHV.js +0 -36
  504. package/dist/junction.customTerm-TMV43R7Z.js +0 -16
  505. package/dist/junction.unit.spec-SZUJXRQ2.js +0 -182
  506. package/dist/launch.adhoc-RWJQUOJ6.js +0 -37
  507. package/dist/leftlabel.sample-WRHLVQAQ.js +0 -258
  508. package/dist/lollipop-ZZWXTM23.js +0 -166
  509. package/dist/maf-N4XPZTQU.js +0 -455
  510. package/dist/maftimeline-2FBS6RWS.js +0 -587
  511. package/dist/matrix-5KEQPB5H.js +0 -59
  512. package/dist/matrix-RJUNXB5N.js +0 -54
  513. package/dist/matrix.cells-WXTPOJYB.js +0 -26
  514. package/dist/matrix.config-ZZFLLD6Z.js +0 -37
  515. package/dist/matrix.data-3PQ73GVJ.js +0 -23
  516. package/dist/matrix.groups-U6CKS6WW.js +0 -26
  517. package/dist/matrix.integration.spec-T53PMVHC.js +0 -3160
  518. package/dist/matrix.interactivity-3LDZV3F7.js +0 -37
  519. package/dist/matrix.layout-MINLYQCA.js +0 -39
  520. package/dist/matrix.legend-6GSDFZHS.js +0 -20
  521. package/dist/matrix.renderers-5BKOXDE3.js +0 -34
  522. package/dist/matrix.serieses-6FCFIFAQ.js +0 -19
  523. package/dist/matrix.sort-EHVVYDZ3.js +0 -26
  524. package/dist/matrix.sort.unit.spec-BCWE4AFX.js +0 -468
  525. package/dist/matrix.sorterUi-WL5I6S3K.js +0 -16
  526. package/dist/matrix.sorterUi.unit.spec-XJR5KXRL.js +0 -338
  527. package/dist/matrix.unit.spec-TUCKPE26.js +0 -150
  528. package/dist/mavb-GWSNRBLM.js +0 -727
  529. package/dist/mds.fimo-OMAQRSMW.js +0 -513
  530. package/dist/mds.samplescatterplot-4UW3CC45.js +0 -1545
  531. package/dist/mds.survivalplot-2CJYJBD2.js +0 -477
  532. package/dist/multivalue-G44MHEYI.js +0 -83
  533. package/dist/numericDictTermCluster-5BDRGVQG.js +0 -63
  534. package/dist/oncomatrix-ZTVO23ZH.js +0 -290
  535. package/dist/oncomatrix.spec-2QVK2A3Q.js +0 -443
  536. package/dist/plot.2dvaf-CL5YUXKH.js +0 -372
  537. package/dist/plot.app-4ANKPSNP.js +0 -36
  538. package/dist/plot.barplot-BMGDNZRA.js +0 -97
  539. package/dist/plot.boxplot-GMLQCDP6.js +0 -146
  540. package/dist/plot.brainImaging-RZXX3NUZ.js +0 -51
  541. package/dist/plot.disco-3MD4J4C7.js +0 -99
  542. package/dist/plot.ssgq-ZC4UYKOT.js +0 -134
  543. package/dist/plot.vaf2cov-4DHFMYQV.js +0 -253
  544. package/dist/polar2-TMB5EITR.js +0 -232
  545. package/dist/profileForms-GD7BIOOD.js +0 -941
  546. package/dist/profilePlot-CZLK5E74.js +0 -49
  547. package/dist/proteinView-FEEEXLKT.js +0 -1357
  548. package/dist/proteomeCohortCompare-NVLJ2FXX.js +0 -912
  549. package/dist/pseudbulk.unit.spec-GHQZPNAH.js +0 -86
  550. package/dist/pseudobulk-G5UQIRKL.js +0 -35
  551. package/dist/qualitative-EAUUCKU5.js +0 -38
  552. package/dist/radar2-CJQ2L6KE.js +0 -327
  553. package/dist/radarFacility2-BLVRZE4V.js +0 -335
  554. package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +0 -211
  555. package/dist/render-KKAQPH6Y.js +0 -33
  556. package/dist/report-OSOJHTSD.js +0 -217
  557. package/dist/sampleView-WB74RLD7.js +0 -43
  558. package/dist/samplelst-ZKXV5WOD.js +0 -106
  559. package/dist/samplematrix-WJFYMWLT.js +0 -2193
  560. package/dist/sc-RBRBUCLR.js +0 -81
  561. package/dist/scatter-5K3QTIDK.js +0 -88
  562. package/dist/scatter-SM7GQENM.js +0 -925
  563. package/dist/selectGenomeWithTklst-ZZUJ7AQ7.js +0 -129
  564. package/dist/singleCellCellType-LCF2JNZ2.js +0 -33
  565. package/dist/singleCellCellType.unit.spec-T6DYH4BC.js +0 -154
  566. package/dist/singleCellGeneExpression-2XUYTH4C.js +0 -33
  567. package/dist/singleCellGeneExpression.unit.spec-SMRCLOF4.js +0 -148
  568. package/dist/singleCellNumericValue-57I33FZT.js +0 -33
  569. package/dist/singleCellNumericValue.unit.spec-4YNB4OEV.js +0 -416
  570. package/dist/singleCellPlot-L6TKQHGD.js +0 -48
  571. package/dist/singlecell-LZKR3UDV.js +0 -81
  572. package/dist/singlecell-UKN2VCXQ.js +0 -1566
  573. package/dist/snp-3LJITU5B.js +0 -33
  574. package/dist/snp.unit.spec-ZQNU6XRM.js +0 -171
  575. package/dist/snplocus-OME7UQBW.js +0 -203
  576. package/dist/spliceevent.a53ss.diagram-C32IEFMU.js +0 -146
  577. package/dist/spliceevent.exonskip.diagram-CZ7MVRLK.js +0 -278
  578. package/dist/spliceevent.noeventdiagram-ZO6R3776.js +0 -455
  579. package/dist/ssGSEA-BGPQ2PFY.js +0 -33
  580. package/dist/ssGSEA.unit.spec-U7TBUSSK.js +0 -83
  581. package/dist/stattable-FISGQCED.js +0 -117
  582. package/dist/studyCatalog-UHFUT2CJ.js +0 -414
  583. package/dist/summarizeCnvGeneexp-OVZO6KIB.js +0 -158
  584. package/dist/summarizeGeneexpSurvival-KVQ4JGWK.js +0 -105
  585. package/dist/summarizeMutationCnv-RAKGHNLE.js +0 -159
  586. package/dist/summarizeMutationDiagnosis-LGCINAGG.js +0 -35
  587. package/dist/summarizeMutationSurvival-J7H7L4FX.js +0 -99
  588. package/dist/summary-2632JZXH.js +0 -44
  589. package/dist/summary.integration.spec-5WBS2ZRP.js +0 -409
  590. package/dist/summaryInput-BH6C3ATV.js +0 -242
  591. package/dist/sunburst-AMRR2IHM.js +0 -278
  592. package/dist/survival-2RNJQVFS.js +0 -1248
  593. package/dist/survival-WYCH4QOQ.js +0 -53
  594. package/dist/survival.integration.spec-7IFPY4I4.js +0 -613
  595. package/dist/svgraph-YQWS52ZJ.js +0 -1382
  596. package/dist/svmr-NRN6LGKK.js +0 -3837
  597. package/dist/table-3QOMV2NN.js +0 -197
  598. package/dist/termCollection-2ZJ7TJGO.js +0 -33
  599. package/dist/termCollection-3MCVR7BA.js +0 -252
  600. package/dist/termCollection.unit.spec-QYOEA3X6.js +0 -299
  601. package/dist/termCollectionFractionSelection-5AH6EF4L.js +0 -42
  602. package/dist/termCollectionFractionSelection.unit.spec-WPGW4WJN.js +0 -188
  603. package/dist/tk-DQ7D5UEO.js +0 -41
  604. package/dist/tk-ONKYBG6R.js +0 -1121
  605. package/dist/tp.ui-C7BTMHEI.js +0 -1454
  606. package/dist/tvs.dt-PLRMK7OT.js +0 -34
  607. package/dist/tvs.dtcnv.categorical-IZUY2AQO.js +0 -35
  608. package/dist/tvs.dtcnv.continuous-ENV3RHHA.js +0 -67
  609. package/dist/tvs.dtfusion-2DVCV6AM.js +0 -35
  610. package/dist/tvs.dtitd-XNDIRQYU.js +0 -35
  611. package/dist/tvs.dtsnvindel-4D3G7XSF.js +0 -35
  612. package/dist/tvs.dtsv-QYMIMC4Z.js +0 -35
  613. package/dist/tvs.samplelst-2KEU2ZWB.js +0 -98
  614. package/dist/tvs.termCollection-FEY746V5.js +0 -124
  615. package/dist/vocabulary-BR4NJDPS.js +0 -36
  616. package/dist/wsi.direct-JWDUNHIO.js +0 -8343
  617. /package/dist/{2dmaf-43QBND66.js.map → 2dmaf-7VZ536T5.js.map} +0 -0
  618. /package/dist/{AggMatrixInput-X7NGFUHH.js.map → AggMatrixInput-UTUOXTGA.js.map} +0 -0
  619. /package/dist/{AggregateMatrix-M4HRI4PX.js.map → AggregateMatrix-X75HUZYO.js.map} +0 -0
  620. /package/dist/{AppHeader-QBRQN6PM.js.map → AppHeader-X2DR6VSM.js.map} +0 -0
  621. /package/dist/{BoxPlot-V6SPSEQ2.js.map → BoxPlot-NQMPJICU.js.map} +0 -0
  622. /package/dist/{CorrelationVolcano-UFPCYC77.js.map → CorrelationVolcano-IDBUJH2E.js.map} +0 -0
  623. /package/dist/{Cuminc-KXGXGLKZ.js.map → Cuminc-BYFIMOLO.js.map} +0 -0
  624. /package/dist/{DE-K2YXHOOW.js.map → DE-BI7DHHW4.js.map} +0 -0
  625. /package/dist/{DEinput-O6LBFAAH.js.map → DEinput-W66CT4U2.js.map} +0 -0
  626. /package/dist/{DM-C7VN3RWB.js.map → DM-62TEJA3C.js.map} +0 -0
  627. /package/dist/{DifferentialAnalysis-A2BU4WB3.js.map → DifferentialAnalysis-PRTA6CYW.js.map} +0 -0
  628. /package/dist/{Disco-HECQVKXG.js.map → Disco-4JQP3FRW.js.map} +0 -0
  629. /package/dist/{Disco.UI-XF2GEKRW.js.map → Disco.UI-6RHAA5KU.js.map} +0 -0
  630. /package/dist/{DmrPlot-TVXVXOHL.js.map → DmrPlot-VYQYMTQ7.js.map} +0 -0
  631. /package/dist/{GSEA-Z4YPI4HY.js.map → GSEA-DT3SYXOZ.js.map} +0 -0
  632. /package/dist/{GeneExpInput-VBIZZV27.js.map → GeneExpInput-UILWAGRH.js.map} +0 -0
  633. /package/dist/{Geomap-UIIOLRFA.js.map → Geomap-AFKEGMR5.js.map} +0 -0
  634. /package/dist/{HicApp-73ESVNBA.js.map → HicApp-APDL5POY.js.map} +0 -0
  635. /package/dist/{IDCViewer-RBYN5A4P.js.map → IDCViewer-DQXAORHT.js.map} +0 -0
  636. /package/dist/{NumBinaryEditor-DJLSNSLE.js.map → NumBinaryEditor-OUVIOEH7.js.map} +0 -0
  637. /package/dist/{NumBinaryEditor.unit.spec-LCJHL3XM.js.map → NumBinaryEditor.unit.spec-VBX2X4CT.js.map} +0 -0
  638. /package/dist/{NumContEditor-SVLDJ2ML.js.map → NumContEditor-JVPRBZPW.js.map} +0 -0
  639. /package/dist/{NumContEditor.unit.spec-JDMSK4HY.js.map → NumContEditor.unit.spec-EQNB6RMI.js.map} +0 -0
  640. /package/dist/{NumCustomBinEditor-BI63AH3R.js.map → NumCustomBinEditor-E2SXZDF4.js.map} +0 -0
  641. /package/dist/{NumCustomBinEditor.unit.spec-5433G7Y2.js.map → NumCustomBinEditor.unit.spec-VLR7MGNL.js.map} +0 -0
  642. /package/dist/{NumDiscreteEditor-LEZTGXAV.js.map → NumDiscreteEditor-CUA55FU3.js.map} +0 -0
  643. /package/dist/{NumDiscreteEditor.unit.spec-5OEORHJ4.js.map → NumDiscreteEditor.unit.spec-7IPCMUDQ.js.map} +0 -0
  644. /package/dist/{NumRegularBinEditor-EXWHIWPM.js.map → NumRegularBinEditor-CWU7YBEP.js.map} +0 -0
  645. /package/dist/{NumRegularBinEditor.unit.spec-QY25Z2TT.js.map → NumRegularBinEditor.unit.spec-RGV3EUPC.js.map} +0 -0
  646. /package/dist/{NumSplineEditor-XPPMYYAD.js.map → NumSplineEditor-PC5X7AUJ.js.map} +0 -0
  647. /package/dist/{NumSplineEditor.unit.spec-GOGBKWMN.js.map → NumSplineEditor.unit.spec-QCR3RL5W.js.map} +0 -0
  648. /package/dist/{NumericDensity-RKY2IQ72.js.map → NumericDensity-CFUEE5ZN.js.map} +0 -0
  649. /package/dist/{NumericDensity.unit.spec-5ZM6ICXM.js.map → NumericDensity.unit.spec-JOCVEC32.js.map} +0 -0
  650. /package/dist/{NumericHandler-FXF3M5M3.js.map → NumericHandler-VL2Z55KF.js.map} +0 -0
  651. /package/dist/{NumericHandler.unit.spec-M2OQTBJX.js.map → NumericHandler.unit.spec-ULM5FSSA.js.map} +0 -0
  652. /package/dist/{ProteomeInput-TMZ3THRL.js.map → ProteomeInput-3WKTVCYT.js.map} +0 -0
  653. /package/dist/{Regression-GQGAATHG.js.map → Regression-M7AQTYXL.js.map} +0 -0
  654. /package/dist/{RunChart2-7GNDWRKC.js.map → RunChart2-54SVOXJR.js.map} +0 -0
  655. /package/dist/{SC-R2I2EMHA.js.map → SC-QRWDGHB2.js.map} +0 -0
  656. /package/dist/{Violin-GKKEB55L.js.map → Violin-2AD6QRJB.js.map} +0 -0
  657. /package/dist/{Wsi-OHRCGYYD.js.map → Wsi-U3U3EILE.js.map} +0 -0
  658. /package/dist/{adSandbox-H56B25WR.js.map → adSandbox-S3JP7XF3.js.map} +0 -0
  659. /package/dist/{animatedBubbleChart-7SXFHU4J.js.map → animatedBubbleChart-LZKNERIM.js.map} +0 -0
  660. /package/dist/{app-22JCSULA.js.map → app-2MERLGNJ.js.map} +0 -0
  661. /package/dist/{app-RGZJB6LN.js.map → app-ZNSUUOFJ.js.map} +0 -0
  662. /package/dist/{bam-HA65TRGX.js.map → bam-ESRPS4TQ.js.map} +0 -0
  663. /package/dist/{barchart-6XO75OMA.js.map → barchart-BPUEO4RK.js.map} +0 -0
  664. /package/dist/{barchart2-6E5BIRHD.js.map → barchart2-Z36PNSM2.js.map} +0 -0
  665. /package/dist/{block-43KNTXZ5.js.map → block-GEG4UUOU.js.map} +0 -0
  666. /package/dist/{block.init-TPU5QIPA.js.map → block.init-SB6OX35E.js.map} +0 -0
  667. /package/dist/{block.mds.expressionrank-QZDRFXCH.js.map → block.mds.expressionrank-2JLMS334.js.map} +0 -0
  668. /package/dist/{block.mds.geneboxplot-64QVBK5Q.js.map → block.mds.geneboxplot-BZMGG6G3.js.map} +0 -0
  669. /package/dist/{block.mds.junction-I4J6VXNT.js.map → block.mds.junction-636PWE2O.js.map} +0 -0
  670. /package/dist/{block.mds.svcnv-GDQMSQFF.js.map → block.mds.svcnv-S4L2HMZW.js.map} +0 -0
  671. /package/dist/{block.svg-2MZFT5QP.js.map → block.svg-A7EABUXG.js.map} +0 -0
  672. /package/dist/{block.tk.aicheck-2MKHF6LX.js.map → block.tk.aicheck-KNFJVUTW.js.map} +0 -0
  673. /package/dist/{block.tk.ase-CLYGKFTS.js.map → block.tk.ase-BPU25OLX.js.map} +0 -0
  674. /package/dist/{block.tk.bam-XTR4QA5Z.js.map → block.tk.bam-VC4CZCUS.js.map} +0 -0
  675. /package/dist/{block.tk.bedgraphdot-A2P2CXRU.js.map → block.tk.bedgraphdot-FQS4Z4RC.js.map} +0 -0
  676. /package/dist/{block.tk.bigwig.ui-YZH6JXEO.js.map → block.tk.bigwig.ui-7STXSD3X.js.map} +0 -0
  677. /package/dist/{block.tk.hicstraw-QBK5VWGU.js.map → block.tk.hicstraw-CVDCOMPP.js.map} +0 -0
  678. /package/dist/{block.tk.junction-5DEVBA7G.js.map → block.tk.junction-PG4RZFH3.js.map} +0 -0
  679. /package/dist/{block.tk.junction.textmatrixui-7TTQMO6W.js.map → block.tk.junction.textmatrixui-JRW4ZJIK.js.map} +0 -0
  680. /package/dist/{block.tk.ld-PRIVUPKL.js.map → block.tk.ld-DLDP2NHJ.js.map} +0 -0
  681. /package/dist/{block.tk.menu-JGBRFSS3.js.map → block.tk.menu-PWGFMKBQ.js.map} +0 -0
  682. /package/dist/{block.tk.pgv-KQJCJMVD.js.map → block.tk.pgv-HOBOXQIN.js.map} +0 -0
  683. /package/dist/{brainImaging-4SLVJ2HV.js.map → brainImaging-GUQTOHQF.js.map} +0 -0
  684. /package/dist/{brainRegions-BDIVM2SG.js.map → brainRegions-JWBIBCTG.js.map} +0 -0
  685. /package/dist/{bubbleHeatmap-ORKFJNEQ.js.map → bubbleHeatmap-EUO3DUVT.js.map} +0 -0
  686. /package/dist/{cellTypeBubbleHeatmap-VOHLI4P7.js.map → cellTypeBubbleHeatmap-TIBGPZTB.js.map} +0 -0
  687. /package/dist/{chunk-U6BJ4ZNU.js.map → chunk-3CGAABHZ.js.map} +0 -0
  688. /package/dist/{chunk-CKOU3P27.js.map → chunk-3ELYMSGO.js.map} +0 -0
  689. /package/dist/{chunk-DSBRHWZ7.js.map → chunk-3QL3U6FU.js.map} +0 -0
  690. /package/dist/{chunk-BK6UDL7F.js.map → chunk-3TV5WWUN.js.map} +0 -0
  691. /package/dist/{chunk-KIAMLQ7S.js.map → chunk-4Y5W26UF.js.map} +0 -0
  692. /package/dist/{chunk-NQNVLZOA.js.map → chunk-5XE3WSUX.js.map} +0 -0
  693. /package/dist/{chunk-CFZ2ZW3E.js.map → chunk-665X7R7S.js.map} +0 -0
  694. /package/dist/{chunk-PU5FQWAY.js.map → chunk-6MQPXWOR.js.map} +0 -0
  695. /package/dist/{chunk-P4LGA36F.js.map → chunk-7DSL65G7.js.map} +0 -0
  696. /package/dist/{chunk-RI65SIN3.js.map → chunk-A6F3CSXP.js.map} +0 -0
  697. /package/dist/{chunk-SFHG6H2D.js.map → chunk-AB6JQFIQ.js.map} +0 -0
  698. /package/dist/{chunk-2HNJF5ZI.js.map → chunk-ACOHIDWO.js.map} +0 -0
  699. /package/dist/{chunk-ADRFQ5AL.js.map → chunk-AIVPAC5Q.js.map} +0 -0
  700. /package/dist/{chunk-K7RW5TPU.js.map → chunk-AKKJFMW5.js.map} +0 -0
  701. /package/dist/{chunk-VROF55EH.js.map → chunk-AR2UIN77.js.map} +0 -0
  702. /package/dist/{chunk-JDVBUIEU.js.map → chunk-AXF6SVNQ.js.map} +0 -0
  703. /package/dist/{chunk-MNXL2UV5.js.map → chunk-BLYD6SQO.js.map} +0 -0
  704. /package/dist/{chunk-S2ICJ3RZ.js.map → chunk-BSWPONNA.js.map} +0 -0
  705. /package/dist/{chunk-OUIXGM3K.js.map → chunk-BX3P73XH.js.map} +0 -0
  706. /package/dist/{chunk-QBNDPW7O.js.map → chunk-CW35X5ZL.js.map} +0 -0
  707. /package/dist/{chunk-2LNGHIOC.js.map → chunk-D4XHYQNS.js.map} +0 -0
  708. /package/dist/{chunk-6FYQYTV6.js.map → chunk-DH74ZT37.js.map} +0 -0
  709. /package/dist/{chunk-6RP6CR4Q.js.map → chunk-E76UYIT2.js.map} +0 -0
  710. /package/dist/{chunk-26N3B2JO.js.map → chunk-EM6KUVI5.js.map} +0 -0
  711. /package/dist/{chunk-IJ7AIDEO.js.map → chunk-F4GYWCRF.js.map} +0 -0
  712. /package/dist/{chunk-QD75Q5LM.js.map → chunk-FJ3JD7B3.js.map} +0 -0
  713. /package/dist/{chunk-ZZN7ZD7J.js.map → chunk-FW3ME75U.js.map} +0 -0
  714. /package/dist/{chunk-TQ2DVEQO.js.map → chunk-G2X2PN74.js.map} +0 -0
  715. /package/dist/{chunk-RPGLLO4T.js.map → chunk-G3QKTYUT.js.map} +0 -0
  716. /package/dist/{chunk-PZ2OSHBF.js.map → chunk-G5USS6FI.js.map} +0 -0
  717. /package/dist/{chunk-NI5CVN43.js.map → chunk-GLPTPX45.js.map} +0 -0
  718. /package/dist/{chunk-CT4IG5IR.js.map → chunk-GPY6SBCX.js.map} +0 -0
  719. /package/dist/{chunk-D6UBH77N.js.map → chunk-GWHIKECP.js.map} +0 -0
  720. /package/dist/{chunk-G7RUMSHL.js.map → chunk-GWVVEOYX.js.map} +0 -0
  721. /package/dist/{chunk-I25LKYC4.js.map → chunk-HDV3LHCN.js.map} +0 -0
  722. /package/dist/{chunk-YEYMNF7V.js.map → chunk-HGXSYPU6.js.map} +0 -0
  723. /package/dist/{chunk-G4H34RNK.js.map → chunk-HMKEVTRM.js.map} +0 -0
  724. /package/dist/{chunk-JBFVJHZN.js.map → chunk-HPCKKXRK.js.map} +0 -0
  725. /package/dist/{chunk-NDOKW2HJ.js.map → chunk-J5JBHGRN.js.map} +0 -0
  726. /package/dist/{chunk-RFSOP75Z.js.map → chunk-JHOGTGIS.js.map} +0 -0
  727. /package/dist/{chunk-GXFS25SK.js.map → chunk-KCX54MGS.js.map} +0 -0
  728. /package/dist/{chunk-53XNEXR6.js.map → chunk-KVRSO2OZ.js.map} +0 -0
  729. /package/dist/{chunk-YBNIOGUE.js.map → chunk-M4PUW3ML.js.map} +0 -0
  730. /package/dist/{chunk-XQYDXA47.js.map → chunk-ME325OQC.js.map} +0 -0
  731. /package/dist/{chunk-Y7V5AIUH.js.map → chunk-NJWNKBRC.js.map} +0 -0
  732. /package/dist/{chunk-NOBXDQDU.js.map → chunk-O5FUHCNU.js.map} +0 -0
  733. /package/dist/{chunk-RXNZK7MF.js.map → chunk-ODHQPTHU.js.map} +0 -0
  734. /package/dist/{chunk-IBT6WRY6.js.map → chunk-PTQ4GQCS.js.map} +0 -0
  735. /package/dist/{chunk-AUZ63NKJ.js.map → chunk-PUSSP76H.js.map} +0 -0
  736. /package/dist/{chunk-JTANDSTD.js.map → chunk-Q3PAXUCU.js.map} +0 -0
  737. /package/dist/{chunk-R5PKBL7V.js.map → chunk-QWBKN2IC.js.map} +0 -0
  738. /package/dist/{chunk-LBCIXRI2.js.map → chunk-R4E7BXC6.js.map} +0 -0
  739. /package/dist/{chunk-3SCQGODD.js.map → chunk-SDYFM3UL.js.map} +0 -0
  740. /package/dist/{chunk-VWA7BYSV.js.map → chunk-SP6WCXY6.js.map} +0 -0
  741. /package/dist/{chunk-X37BRSGS.js.map → chunk-SRTZQOK7.js.map} +0 -0
  742. /package/dist/{chunk-UXD6G6G4.js.map → chunk-T4RYLTR3.js.map} +0 -0
  743. /package/dist/{chunk-EDZJ3VNZ.js.map → chunk-TANWA6SU.js.map} +0 -0
  744. /package/dist/{chunk-DS4GLMJL.js.map → chunk-TBIHBC5V.js.map} +0 -0
  745. /package/dist/{chunk-YJ74QATP.js.map → chunk-TGTCOCPF.js.map} +0 -0
  746. /package/dist/{chunk-VH5W6ODW.js.map → chunk-TOFOT2BN.js.map} +0 -0
  747. /package/dist/{chunk-B563DUNQ.js.map → chunk-UOYIPBTX.js.map} +0 -0
  748. /package/dist/{chunk-ZG2HCGAO.js.map → chunk-USULBM4V.js.map} +0 -0
  749. /package/dist/{chunk-5UB5H7A3.js.map → chunk-V3WSMWBF.js.map} +0 -0
  750. /package/dist/{chunk-VA57CUC7.js.map → chunk-VTHZGUSZ.js.map} +0 -0
  751. /package/dist/{chunk-A5D37SIL.js.map → chunk-WMQDFVJK.js.map} +0 -0
  752. /package/dist/{chunk-4G73CMUL.js.map → chunk-WTQQWFV4.js.map} +0 -0
  753. /package/dist/{chunk-4XYQG3XU.js.map → chunk-XDLKYVYU.js.map} +0 -0
  754. /package/dist/{chunk-FSLOUTTK.js.map → chunk-XNJN5J3U.js.map} +0 -0
  755. /package/dist/{chunk-NULFGPE3.js.map → chunk-XQLOEZ7T.js.map} +0 -0
  756. /package/dist/{chunk-3FEP6B5T.js.map → chunk-Y3SDMRDX.js.map} +0 -0
  757. /package/dist/{chunk-47STLK7K.js.map → chunk-Y5FE3G6J.js.map} +0 -0
  758. /package/dist/{chunk-XXPUZVS4.js.map → chunk-YMEWZVRG.js.map} +0 -0
  759. /package/dist/{chunk-F47A4CVK.js.map → chunk-YPHFEKWI.js.map} +0 -0
  760. /package/dist/{chunk-DX35MKPR.js.map → chunk-Z4HW3FEE.js.map} +0 -0
  761. /package/dist/{cohort-6OCRQQ2S.js.map → cohort-NYFUILFO.js.map} +0 -0
  762. /package/dist/{condition-SZVXH3VU.js.map → condition-6M4AVISY.js.map} +0 -0
  763. /package/dist/{controls-MO6ZND76.js.map → controls-LMTWS3SY.js.map} +0 -0
  764. /package/dist/{controls.config-P4MSTGL4.js.map → controls.config-4PK7HLFJ.js.map} +0 -0
  765. /package/dist/{correlation-NMI3CM3T.js.map → correlation-X6GB6ITK.js.map} +0 -0
  766. /package/dist/{customdata.inputui-VCHSCA65.js.map → customdata.inputui-MDG3BTTG.js.map} +0 -0
  767. /package/dist/{dataDownload-VQHOTQ5D.js.map → dataDownload-TFRI3VFM.js.map} +0 -0
  768. /package/dist/{databrowser.ui-ZFOCAG32.js.map → databrowser.ui-L2K7VVDW.js.map} +0 -0
  769. /package/dist/{dictionary-S5YCFUWH.js.map → dictionary-MS6R3VNY.js.map} +0 -0
  770. /package/dist/{dnaMethylation-MQZLZRGT.js.map → dnaMethylation-2KYSQWNE.js.map} +0 -0
  771. /package/dist/{dnaMethylation.integration.spec-H546EBUO.js.map → dnaMethylation.integration.spec-2BHNKOGN.js.map} +0 -0
  772. /package/dist/{dofetch-QZIYSC7H.js.map → dofetch-BETN7HEX.js.map} +0 -0
  773. /package/dist/{e2pca-XOXOS3PN.js.map → e2pca-QC2EI5JM.js.map} +0 -0
  774. /package/dist/{ep-U6KRL7FR.js.map → ep-BTRMR4OT.js.map} +0 -0
  775. /package/dist/{expclust.gdc.spec-HCK65C63.js.map → expclust.gdc.spec-C5ZMBCGO.js.map} +0 -0
  776. /package/dist/{facet-DCC25KJO.js.map → facet-LPXKLX53.js.map} +0 -0
  777. /package/dist/{gb-TIFWFD4Y.js.map → gb-PHJ2SM5D.js.map} +0 -0
  778. /package/dist/{geneExpClustering-6DQEOTOY.js.map → geneExpClustering-OXZJHEPD.js.map} +0 -0
  779. /package/dist/{geneExpression-EASRAN6B.js.map → geneExpression-54RGEGML.js.map} +0 -0
  780. /package/dist/{geneExpression-G4YMDCBH.js.map → geneExpression-FLBQXMSX.js.map} +0 -0
  781. /package/dist/{geneExpression.unit.spec-XVEJYMPX.js.map → geneExpression.unit.spec-ZCE7G6HI.js.map} +0 -0
  782. /package/dist/{geneORA-6UBS5GSC.js.map → geneORA-TELI5AFV.js.map} +0 -0
  783. /package/dist/{geneRanking-UXXYWHNB.js.map → geneRanking-7YZA5GNG.js.map} +0 -0
  784. /package/dist/{geneVariant-TKFKARZK.js.map → geneVariant-NJYUEY4C.js.map} +0 -0
  785. /package/dist/{geneVariant-SZRJOXVC.js.map → geneVariant-VKWTXUMK.js.map} +0 -0
  786. /package/dist/{geneVariant.integration.spec-PXMAYJN3.js.map → geneVariant.integration.spec-RWYP523U.js.map} +0 -0
  787. /package/dist/{genefusion.ui-TJLYXSVL.js.map → genefusion.ui-B6J7I3RA.js.map} +0 -0
  788. /package/dist/{geneset-YTBDLEIH.js.map → geneset-VG4SFYML.js.map} +0 -0
  789. /package/dist/{genomeBrowser.spec-ZO4LFIXE.js.map → genomeBrowser.spec-5IS5Y2NG.js.map} +0 -0
  790. /package/dist/{grin2-LIFKBMVK.js.map → grin2-3T6KRC34.js.map} +0 -0
  791. /package/dist/{grin2-FC4VYU54.js.map → grin2-FOOH736B.js.map} +0 -0
  792. /package/dist/{hierCluster-56EGAPOR.js.map → hierCluster-WLAFGZAT.js.map} +0 -0
  793. /package/dist/{hierCluster-DR5NWCXA.js.map → hierCluster-XBL2TOOL.js.map} +0 -0
  794. /package/dist/{hierCluster.config-NACE3FH2.js.map → hierCluster.config-VCBRBGDZ.js.map} +0 -0
  795. /package/dist/{hierCluster.integration.spec-PEEXPAS6.js.map → hierCluster.integration.spec-TNJD2QT6.js.map} +0 -0
  796. /package/dist/{hierCluster.interactivity-OCBGLUJM.js.map → hierCluster.interactivity-PEEJ3BRC.js.map} +0 -0
  797. /package/dist/{hierCluster.renderers-JNQUSAP4.js.map → hierCluster.renderers-7ESGKIGM.js.map} +0 -0
  798. /package/dist/{imagePlot-GR4JNUGG.js.map → imagePlot-LWL6JMKM.js.map} +0 -0
  799. /package/dist/{importPlot-4R4BSPVD.js.map → importPlot-CLBY6QZN.js.map} +0 -0
  800. /package/dist/{isoformExpression-ST5ZW2NE.js.map → isoformExpression-36P3BBN7.js.map} +0 -0
  801. /package/dist/{isoformExpression.unit.spec-PPFC5Z7N.js.map → isoformExpression.unit.spec-SF2SPTRC.js.map} +0 -0
  802. /package/dist/{junction-7AKZHOHV.js.map → junction-B7DSIG4E.js.map} +0 -0
  803. /package/dist/{junction.customTerm-TMV43R7Z.js.map → junction.customTerm-7VZS4JDE.js.map} +0 -0
  804. /package/dist/{junction.unit.spec-SZUJXRQ2.js.map → junction.unit.spec-4MWU36MR.js.map} +0 -0
  805. /package/dist/{launch.adhoc-RWJQUOJ6.js.map → launch.adhoc-3B34GV4S.js.map} +0 -0
  806. /package/dist/{leftlabel.sample-WRHLVQAQ.js.map → leftlabel.sample-6OM5H67E.js.map} +0 -0
  807. /package/dist/{lollipop-ZZWXTM23.js.map → lollipop-SL2F5G6K.js.map} +0 -0
  808. /package/dist/{maf-N4XPZTQU.js.map → maf-FRYGN5GR.js.map} +0 -0
  809. /package/dist/{maftimeline-2FBS6RWS.js.map → maftimeline-3UFWS73J.js.map} +0 -0
  810. /package/dist/{matrix-5KEQPB5H.js.map → matrix-DDKSOJ4C.js.map} +0 -0
  811. /package/dist/{matrix-RJUNXB5N.js.map → matrix-H2ZH2QKC.js.map} +0 -0
  812. /package/dist/{matrix.cells-WXTPOJYB.js.map → matrix.cells-JTMC35SK.js.map} +0 -0
  813. /package/dist/{matrix.config-ZZFLLD6Z.js.map → matrix.config-EUBXWEBS.js.map} +0 -0
  814. /package/dist/{matrix.data-3PQ73GVJ.js.map → matrix.data-CO5RBWY5.js.map} +0 -0
  815. /package/dist/{matrix.groups-U6CKS6WW.js.map → matrix.groups-AKOJ2W6U.js.map} +0 -0
  816. /package/dist/{matrix.integration.spec-T53PMVHC.js.map → matrix.integration.spec-66KNZO3S.js.map} +0 -0
  817. /package/dist/{matrix.interactivity-3LDZV3F7.js.map → matrix.interactivity-DY5YJIYB.js.map} +0 -0
  818. /package/dist/{matrix.layout-MINLYQCA.js.map → matrix.layout-MQQNHBI2.js.map} +0 -0
  819. /package/dist/{matrix.legend-6GSDFZHS.js.map → matrix.legend-CGU7T6GF.js.map} +0 -0
  820. /package/dist/{matrix.renderers-5BKOXDE3.js.map → matrix.renderers-HC7PJN4B.js.map} +0 -0
  821. /package/dist/{matrix.serieses-6FCFIFAQ.js.map → matrix.serieses-W4L6ZO37.js.map} +0 -0
  822. /package/dist/{matrix.sort-EHVVYDZ3.js.map → matrix.sort-T74DWFB2.js.map} +0 -0
  823. /package/dist/{matrix.sort.unit.spec-BCWE4AFX.js.map → matrix.sort.unit.spec-EQEHQXTO.js.map} +0 -0
  824. /package/dist/{matrix.sorterUi-WL5I6S3K.js.map → matrix.sorterUi-GFQG4HFV.js.map} +0 -0
  825. /package/dist/{matrix.sorterUi.unit.spec-XJR5KXRL.js.map → matrix.sorterUi.unit.spec-XQHFOEYE.js.map} +0 -0
  826. /package/dist/{matrix.unit.spec-TUCKPE26.js.map → matrix.unit.spec-4ZWUGZUC.js.map} +0 -0
  827. /package/dist/{mavb-GWSNRBLM.js.map → mavb-3CL5OHWB.js.map} +0 -0
  828. /package/dist/{mds.fimo-OMAQRSMW.js.map → mds.fimo-2RFJQKJM.js.map} +0 -0
  829. /package/dist/{mds.samplescatterplot-4UW3CC45.js.map → mds.samplescatterplot-X6CXMY4C.js.map} +0 -0
  830. /package/dist/{mds.survivalplot-2CJYJBD2.js.map → mds.survivalplot-57NIKSSH.js.map} +0 -0
  831. /package/dist/{multivalue-G44MHEYI.js.map → multivalue-3TUGYL4J.js.map} +0 -0
  832. /package/dist/{numericDictTermCluster-5BDRGVQG.js.map → numericDictTermCluster-RLX5CLTN.js.map} +0 -0
  833. /package/dist/{oncomatrix-ZTVO23ZH.js.map → oncomatrix-COK76MJN.js.map} +0 -0
  834. /package/dist/{oncomatrix.spec-2QVK2A3Q.js.map → oncomatrix.spec-SO3ZN5BF.js.map} +0 -0
  835. /package/dist/{plot.2dvaf-CL5YUXKH.js.map → plot.2dvaf-TETCE4VG.js.map} +0 -0
  836. /package/dist/{plot.app-4ANKPSNP.js.map → plot.app-5YUAVZA4.js.map} +0 -0
  837. /package/dist/{plot.barplot-BMGDNZRA.js.map → plot.barplot-JUGY5Z7A.js.map} +0 -0
  838. /package/dist/{plot.boxplot-GMLQCDP6.js.map → plot.boxplot-QZXICT7J.js.map} +0 -0
  839. /package/dist/{plot.brainImaging-RZXX3NUZ.js.map → plot.brainImaging-2F6E6QS4.js.map} +0 -0
  840. /package/dist/{plot.disco-3MD4J4C7.js.map → plot.disco-H4P4B6QS.js.map} +0 -0
  841. /package/dist/{plot.ssgq-ZC4UYKOT.js.map → plot.ssgq-LEQF3STZ.js.map} +0 -0
  842. /package/dist/{plot.vaf2cov-4DHFMYQV.js.map → plot.vaf2cov-UBMD2CN7.js.map} +0 -0
  843. /package/dist/{polar2-TMB5EITR.js.map → polar2-AVEZM2T5.js.map} +0 -0
  844. /package/dist/{profileForms-GD7BIOOD.js.map → profileForms-CUSUGTPC.js.map} +0 -0
  845. /package/dist/{profilePlot-CZLK5E74.js.map → profilePlot-67Z7AXQ4.js.map} +0 -0
  846. /package/dist/{proteinView-FEEEXLKT.js.map → proteinView-7K7VHGX3.js.map} +0 -0
  847. /package/dist/{proteomeCohortCompare-NVLJ2FXX.js.map → proteomeCohortCompare-MRGH6HHI.js.map} +0 -0
  848. /package/dist/{pseudbulk.unit.spec-GHQZPNAH.js.map → pseudbulk.unit.spec-ZHDL6GIM.js.map} +0 -0
  849. /package/dist/{pseudobulk-G5UQIRKL.js.map → pseudobulk-ZNXPF7QB.js.map} +0 -0
  850. /package/dist/{qualitative-EAUUCKU5.js.map → qualitative-QXMZHDWU.js.map} +0 -0
  851. /package/dist/{radar2-CJQ2L6KE.js.map → radar2-QJDGNLED.js.map} +0 -0
  852. /package/dist/{radarFacility2-BLVRZE4V.js.map → radarFacility2-LGGOOWX4.js.map} +0 -0
  853. /package/dist/{rememberedGvQ.unit.spec-DYRO2LO5.js.map → rememberedGvQ.unit.spec-YKUMMYFT.js.map} +0 -0
  854. /package/dist/{render-KKAQPH6Y.js.map → render-LSSRZJY3.js.map} +0 -0
  855. /package/dist/{report-OSOJHTSD.js.map → report-TTECPO44.js.map} +0 -0
  856. /package/dist/{sampleView-WB74RLD7.js.map → sampleView-EFS2UBRS.js.map} +0 -0
  857. /package/dist/{samplelst-ZKXV5WOD.js.map → samplelst-FXULLJBO.js.map} +0 -0
  858. /package/dist/{samplematrix-WJFYMWLT.js.map → samplematrix-MNFCXOWO.js.map} +0 -0
  859. /package/dist/{sc-RBRBUCLR.js.map → sc-2BUOXML2.js.map} +0 -0
  860. /package/dist/{scatter-SM7GQENM.js.map → scatter-AVRTALYY.js.map} +0 -0
  861. /package/dist/{scatter-5K3QTIDK.js.map → scatter-CPEIVL3K.js.map} +0 -0
  862. /package/dist/{selectGenomeWithTklst-ZZUJ7AQ7.js.map → selectGenomeWithTklst-3BG2ZPPN.js.map} +0 -0
  863. /package/dist/{singleCellCellType-LCF2JNZ2.js.map → singleCellCellType-QLAEBVN2.js.map} +0 -0
  864. /package/dist/{singleCellCellType.unit.spec-T6DYH4BC.js.map → singleCellCellType.unit.spec-P4NAWYKL.js.map} +0 -0
  865. /package/dist/{singleCellGeneExpression-2XUYTH4C.js.map → singleCellGeneExpression-IZ2PMDDL.js.map} +0 -0
  866. /package/dist/{singleCellGeneExpression.unit.spec-SMRCLOF4.js.map → singleCellGeneExpression.unit.spec-DKBZICJM.js.map} +0 -0
  867. /package/dist/{singleCellNumericValue-57I33FZT.js.map → singleCellNumericValue-NB3QFH7H.js.map} +0 -0
  868. /package/dist/{singleCellNumericValue.unit.spec-4YNB4OEV.js.map → singleCellNumericValue.unit.spec-ZKK2KWRQ.js.map} +0 -0
  869. /package/dist/{singleCellPlot-L6TKQHGD.js.map → singleCellPlot-ZU655L4Z.js.map} +0 -0
  870. /package/dist/{singlecell-UKN2VCXQ.js.map → singlecell-NKPTXVHW.js.map} +0 -0
  871. /package/dist/{singlecell-LZKR3UDV.js.map → singlecell-PEIEFXVU.js.map} +0 -0
  872. /package/dist/{snp-3LJITU5B.js.map → snp-G55JGINX.js.map} +0 -0
  873. /package/dist/{snp.unit.spec-ZQNU6XRM.js.map → snp.unit.spec-47CCZKJO.js.map} +0 -0
  874. /package/dist/{snplocus-OME7UQBW.js.map → snplocus-TRVAEAPF.js.map} +0 -0
  875. /package/dist/{spliceevent.a53ss.diagram-C32IEFMU.js.map → spliceevent.a53ss.diagram-FL2R6F22.js.map} +0 -0
  876. /package/dist/{spliceevent.exonskip.diagram-CZ7MVRLK.js.map → spliceevent.exonskip.diagram-XDZWTJXR.js.map} +0 -0
  877. /package/dist/{spliceevent.noeventdiagram-ZO6R3776.js.map → spliceevent.noeventdiagram-L322N534.js.map} +0 -0
  878. /package/dist/{ssGSEA-BGPQ2PFY.js.map → ssGSEA-DZY4LFQY.js.map} +0 -0
  879. /package/dist/{ssGSEA.unit.spec-U7TBUSSK.js.map → ssGSEA.unit.spec-P6C3VTVZ.js.map} +0 -0
  880. /package/dist/{stattable-FISGQCED.js.map → stattable-R7O6OIMB.js.map} +0 -0
  881. /package/dist/{studyCatalog-UHFUT2CJ.js.map → studyCatalog-OMDE4JRD.js.map} +0 -0
  882. /package/dist/{summarizeCnvGeneexp-OVZO6KIB.js.map → summarizeCnvGeneexp-A7HW6FJI.js.map} +0 -0
  883. /package/dist/{summarizeGeneexpSurvival-KVQ4JGWK.js.map → summarizeGeneexpSurvival-ODI4HGFH.js.map} +0 -0
  884. /package/dist/{summarizeMutationCnv-RAKGHNLE.js.map → summarizeMutationCnv-C2YB73OL.js.map} +0 -0
  885. /package/dist/{summarizeMutationDiagnosis-LGCINAGG.js.map → summarizeMutationDiagnosis-4Y322NYU.js.map} +0 -0
  886. /package/dist/{summarizeMutationSurvival-J7H7L4FX.js.map → summarizeMutationSurvival-7IHNURLC.js.map} +0 -0
  887. /package/dist/{summary-2632JZXH.js.map → summary-E4L5MZTF.js.map} +0 -0
  888. /package/dist/{summary.integration.spec-5WBS2ZRP.js.map → summary.integration.spec-SDCGE6BQ.js.map} +0 -0
  889. /package/dist/{summaryInput-BH6C3ATV.js.map → summaryInput-DHIMU5DM.js.map} +0 -0
  890. /package/dist/{sunburst-AMRR2IHM.js.map → sunburst-ULNPFEAM.js.map} +0 -0
  891. /package/dist/{survival-WYCH4QOQ.js.map → survival-CU4N5KZO.js.map} +0 -0
  892. /package/dist/{survival-2RNJQVFS.js.map → survival-KWWH6REE.js.map} +0 -0
  893. /package/dist/{survival.integration.spec-7IFPY4I4.js.map → survival.integration.spec-UW6SYVLP.js.map} +0 -0
  894. /package/dist/{svgraph-YQWS52ZJ.js.map → svgraph-HFI6NNF3.js.map} +0 -0
  895. /package/dist/{svmr-NRN6LGKK.js.map → svmr-VHS7Z4SO.js.map} +0 -0
  896. /package/dist/{table-3QOMV2NN.js.map → table-GJUXHKQI.js.map} +0 -0
  897. /package/dist/{termCollection-2ZJ7TJGO.js.map → termCollection-CCZ4BFIU.js.map} +0 -0
  898. /package/dist/{termCollection-3MCVR7BA.js.map → termCollection-O5CQ472U.js.map} +0 -0
  899. /package/dist/{termCollection.unit.spec-QYOEA3X6.js.map → termCollection.unit.spec-KR5G6JFU.js.map} +0 -0
  900. /package/dist/{termCollectionFractionSelection-5AH6EF4L.js.map → termCollectionFractionSelection-IKU5MFBT.js.map} +0 -0
  901. /package/dist/{termCollectionFractionSelection.unit.spec-WPGW4WJN.js.map → termCollectionFractionSelection.unit.spec-6ZWHNGES.js.map} +0 -0
  902. /package/dist/{tk-DQ7D5UEO.js.map → tk-3DLMAFW7.js.map} +0 -0
  903. /package/dist/{tk-ONKYBG6R.js.map → tk-CAYWF7LX.js.map} +0 -0
  904. /package/dist/{tp.ui-C7BTMHEI.js.map → tp.ui-NF5ZYOHW.js.map} +0 -0
  905. /package/dist/{tvs.dt-PLRMK7OT.js.map → tvs.dt-43A4SSLG.js.map} +0 -0
  906. /package/dist/{tvs.dtcnv.categorical-IZUY2AQO.js.map → tvs.dtcnv.categorical-DYXHUNP2.js.map} +0 -0
  907. /package/dist/{tvs.dtcnv.continuous-ENV3RHHA.js.map → tvs.dtcnv.continuous-NOKNP4UG.js.map} +0 -0
  908. /package/dist/{tvs.dtfusion-2DVCV6AM.js.map → tvs.dtfusion-4NAOCC2X.js.map} +0 -0
  909. /package/dist/{tvs.dtitd-XNDIRQYU.js.map → tvs.dtitd-SZC6EITI.js.map} +0 -0
  910. /package/dist/{tvs.dtsnvindel-4D3G7XSF.js.map → tvs.dtsnvindel-EYSBCNQK.js.map} +0 -0
  911. /package/dist/{tvs.dtsv-QYMIMC4Z.js.map → tvs.dtsv-VSPWIIFO.js.map} +0 -0
  912. /package/dist/{tvs.samplelst-2KEU2ZWB.js.map → tvs.samplelst-3YQ4GKNG.js.map} +0 -0
  913. /package/dist/{tvs.termCollection-FEY746V5.js.map → tvs.termCollection-EVM4ATPW.js.map} +0 -0
  914. /package/dist/{vocabulary-BR4NJDPS.js.map → vocabulary-HCPEIO2P.js.map} +0 -0
  915. /package/dist/{wsi.direct-JWDUNHIO.js.map → wsi.direct-K2J6GGWY.js.map} +0 -0
@@ -0,0 +1,2146 @@
1
+ import {
2
+ isNumericTerm
3
+ } from "./chunk-4Y5W26UF.js";
4
+ import {
5
+ ISOFORM_EXPRESSION,
6
+ SINGLECELL_CELLTYPE,
7
+ SINGLECELL_GENE_EXPRESSION,
8
+ TermTypes,
9
+ dtcnv,
10
+ dtfusionrna,
11
+ dtitd,
12
+ dtsnvindel,
13
+ dtsv,
14
+ getColors,
15
+ mclass,
16
+ mclassdeletion,
17
+ mclassinsertion,
18
+ mclassitd,
19
+ mclassmnv,
20
+ mclassnonstandard,
21
+ mclasssnv,
22
+ morigingermline,
23
+ morigingermlinenonpathogenic,
24
+ morigingermlinepathogenic,
25
+ moriginrelapse,
26
+ moriginsomatic,
27
+ vepinfo
28
+ } from "./chunk-UYKJOBRO.js";
29
+ import {
30
+ deepFreeze,
31
+ sleep
32
+ } from "./chunk-WINIL2KN.js";
33
+ import {
34
+ convertUnits,
35
+ isNumeric,
36
+ isStrictNumeric
37
+ } from "./chunk-W5J3LTYS.js";
38
+ import {
39
+ format
40
+ } from "./chunk-4OLM3KSB.js";
41
+ import {
42
+ select_default
43
+ } from "./chunk-I6Y4O3RR.js";
44
+
45
+ // ../shared/utils/dist/src/boxplot.js
46
+ function boxplot_getvalue(lst, removeOutliers = false) {
47
+ const l = lst.length;
48
+ if (l < 5) return { out: lst };
49
+ const isN = typeof lst[0] === "number";
50
+ const valueOf = isN ? (item) => item : (item) => item.value;
51
+ const p50 = valueOf(lst[Math.floor(l / 2)]);
52
+ const p25 = valueOf(lst[Math.floor(l / 4)]);
53
+ const p75 = valueOf(lst[Math.floor(l * 3 / 4)]);
54
+ const p05 = valueOf(lst[Math.floor(l * 0.05)]);
55
+ const p95 = valueOf(lst[Math.floor(l * 0.95)]);
56
+ const iqr = p75 - p25;
57
+ let w1, w2;
58
+ if (iqr === 0) {
59
+ w1 = p25;
60
+ w2 = p25;
61
+ } else {
62
+ const i = lst.findIndex((item) => valueOf(item) > p25 - iqr * 1.5);
63
+ w1 = valueOf(lst[i === -1 ? 0 : i]);
64
+ const j = lst.findIndex((item) => valueOf(item) > p75 + iqr * 1.5);
65
+ w2 = valueOf(lst[j === -1 ? l - 1 : j - 1]);
66
+ }
67
+ const out = removeOutliers ? [] : lst.filter((item) => valueOf(item) < p25 - iqr * 1.5 || valueOf(item) > p75 + iqr * 1.5);
68
+ return { w1, w2, p05, p25, p50, p75, p95, iqr, out };
69
+ }
70
+
71
+ // ../shared/utils/dist/src/bulk.js
72
+ function init_bulk_flag(genome) {
73
+ if (!genome) {
74
+ return null;
75
+ }
76
+ const mclasslabel2key2 = {};
77
+ for (const n in mclass) {
78
+ mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
79
+ }
80
+ return {
81
+ genome,
82
+ mclasslabel2key: mclasslabel2key2,
83
+ data: {},
84
+ sample2disease: {},
85
+ // (proof) k: sample, v: disease
86
+ // will only record this when origin is used
87
+ patient2st: {},
88
+ // k: patient, v: { k: sampletype, v: sample }
89
+ // new sample names always override old
90
+ good: 0,
91
+ geneToUpper: true,
92
+ // option to not force uppercase on gene names
93
+ snv: {
94
+ loaded: false,
95
+ header: null,
96
+ badlines: [],
97
+ // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
98
+ // hard-coded class codes
99
+ missense: 0,
100
+ silent: 0
101
+ },
102
+ svjson: {
103
+ loaded: false,
104
+ header: null,
105
+ badlines: []
106
+ },
107
+ fusion: {
108
+ loaded: false,
109
+ header: null,
110
+ badlines: [],
111
+ original: []
112
+ },
113
+ sv: {
114
+ loaded: false,
115
+ header: null,
116
+ badlines: [],
117
+ original: []
118
+ },
119
+ cnv: {
120
+ loaded: false,
121
+ header: null,
122
+ badlines: []
123
+ },
124
+ itd: {
125
+ loaded: false,
126
+ header: null,
127
+ badlines: []
128
+ },
129
+ del: {
130
+ loaded: false,
131
+ header: null,
132
+ badlines: []
133
+ },
134
+ truncation: {
135
+ loaded: false,
136
+ header: null,
137
+ badlines: []
138
+ }
139
+ };
140
+ }
141
+ function parsesample(m, flag, i, lst) {
142
+ let variantorigin = moriginsomatic;
143
+ if (m.sampletype) {
144
+ const s = m.sampletype.toLowerCase();
145
+ switch (s) {
146
+ case "relapse":
147
+ variantorigin = moriginrelapse;
148
+ break;
149
+ case "germline":
150
+ variantorigin = morigingermline;
151
+ break;
152
+ case "somatic":
153
+ case "diagnosis":
154
+ break;
155
+ }
156
+ if (m.sample) {
157
+ if (m.patient) {
158
+ } else {
159
+ m.patient = m.sample + " " + m.sampletype;
160
+ }
161
+ } else {
162
+ if (m.patient) {
163
+ m.sample = m.patient + " " + m.sampletype;
164
+ } else {
165
+ }
166
+ }
167
+ } else {
168
+ if (m.patient) {
169
+ if (m.sample) {
170
+ m.sampletype = m.sample;
171
+ } else {
172
+ m.sample = m.sampletype = m.patient;
173
+ }
174
+ } else {
175
+ if (m.sample) {
176
+ m.sampletype = m.sample;
177
+ } else {
178
+ }
179
+ }
180
+ }
181
+ if (m.origin) {
182
+ const s = m.origin.toLowerCase();
183
+ switch (s) {
184
+ case "r":
185
+ case "relapse":
186
+ variantorigin = moriginrelapse;
187
+ m.isrim2 = true;
188
+ break;
189
+ case "g":
190
+ case "germline":
191
+ variantorigin = morigingermline;
192
+ m.isrim1 = true;
193
+ break;
194
+ case "gp":
195
+ case "germline pathogenic":
196
+ variantorigin = morigingermlinepathogenic;
197
+ m.isrim1 = true;
198
+ break;
199
+ case "gnp":
200
+ case "germline nonpathogenic":
201
+ case "germline non-pathogenic":
202
+ variantorigin = morigingermlinenonpathogenic;
203
+ m.isrim1 = true;
204
+ break;
205
+ case "s":
206
+ case "somatic":
207
+ case "diagnosis":
208
+ variantorigin = moriginsomatic;
209
+ break;
210
+ }
211
+ }
212
+ m.origin = variantorigin;
213
+ if (!m.sample && !m.patient) {
214
+ return;
215
+ }
216
+ const nopatientname = "no patient/individual name";
217
+ if (m.patient) {
218
+ if (!flag.patient2st[m.patient]) {
219
+ flag.patient2st[m.patient] = {};
220
+ }
221
+ flag.patient2st[m.patient][m.sampletype] = m.sample;
222
+ } else {
223
+ if (!flag.patient2st[nopatientname]) {
224
+ flag.patient2st[nopatientname] = {};
225
+ }
226
+ flag.patient2st[nopatientname][m.sampletype] = m.sample;
227
+ }
228
+ if (m.sample) {
229
+ if (m.disease) {
230
+ if (m.sample in flag.sample2disease) {
231
+ if (m.disease != flag.sample2disease[m.sample]) {
232
+ flag.snv.badlines.push([
233
+ i,
234
+ 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
235
+ lst
236
+ ]);
237
+ return true;
238
+ }
239
+ } else {
240
+ flag.sample2disease[m.sample] = m.disease;
241
+ }
242
+ }
243
+ }
244
+ return false;
245
+ }
246
+
247
+ // ../shared/utils/dist/src/clustering.js
248
+ var clusterMethodLst = [
249
+ {
250
+ label: "Average",
251
+ value: "average",
252
+ title: `Cluster by average value`
253
+ },
254
+ {
255
+ label: `Complete`,
256
+ value: "complete",
257
+ title: `Use the complete clustering method`
258
+ },
259
+ {
260
+ label: `Single`,
261
+ value: "single",
262
+ title: `Use the single clustering method`
263
+ },
264
+ {
265
+ label: `Ward.D`,
266
+ value: "ward.D",
267
+ title: `Use the ward.D clustering method`
268
+ },
269
+ {
270
+ label: `Ward.D2`,
271
+ value: "ward.D2",
272
+ title: `Use the ward.D2 clustering method`
273
+ },
274
+ {
275
+ label: `Mcquitty`,
276
+ value: "mcquitty",
277
+ title: `Use the Mcquity clustering method`
278
+ }
279
+ /* These methods are currently disabled because the dendrogram lines tend to cross one another.
280
+ {
281
+ label: `Centroid`,
282
+ value: 'centroid',
283
+ title: `Use the centroid clustering method`
284
+ },
285
+ {
286
+ label: `Median`,
287
+ value: 'median',
288
+ title: `Use the median clustering method`
289
+ }
290
+ */
291
+ ];
292
+ var distanceMethodLst = [
293
+ {
294
+ label: "Euclidean",
295
+ value: "euclidean",
296
+ title: `Calculate distance using euclidean method`
297
+ },
298
+ {
299
+ label: "Maximum",
300
+ value: "maximum",
301
+ title: `Maximum distance between two components of x and y`
302
+ },
303
+ {
304
+ label: "Manhattan",
305
+ value: "manhattan",
306
+ title: `Calculate distance using the absolute distance between the two vectors`
307
+ },
308
+ {
309
+ label: "Canberra",
310
+ value: "canberra",
311
+ title: `Calculate distance using Canberra method`
312
+ }
313
+ ];
314
+
315
+ // ../shared/utils/dist/src/dmrColors.js
316
+ var HYPER_COLOR = "#e66101";
317
+ var HYPO_COLOR = "#5e81f4";
318
+
319
+ // ../shared/utils/dist/src/compute.percentile.js
320
+ function computePercentile(values, percentile, sorted = false) {
321
+ if (!sorted) values.sort((a, b) => a - b);
322
+ const index = Math.abs(percentile / 100 * values.length - 1);
323
+ const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
324
+ return value;
325
+ }
326
+
327
+ // ../shared/utils/dist/src/hash.js
328
+ var encoder = new TextEncoder();
329
+ async function hash(message) {
330
+ const msgUint8 = encoder.encode(message);
331
+ const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
332
+ const hashArray = Array.from(new Uint8Array(hashBuffer));
333
+ const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
334
+ return hexToBase64(hashHex).replace("=", "-");
335
+ }
336
+ function hexToBase64(hexStr) {
337
+ return btoa(
338
+ [...hexStr].reduce(
339
+ (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
340
+ ""
341
+ )
342
+ );
343
+ }
344
+
345
+ // ../shared/utils/dist/src/urljson.js
346
+ var reserved = ["false", "true", "null", "undefined"];
347
+ var delimiters = ['"', "{", "["];
348
+ function encode(rawObject) {
349
+ const params = [];
350
+ for (const [key, value] of Object.entries(rawObject)) {
351
+ if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
352
+ params.push(`${key}=${encodeURIComponent(value)}`);
353
+ } else if (value !== void 0) {
354
+ params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
355
+ }
356
+ }
357
+ return params.join("&");
358
+ }
359
+
360
+ // ../shared/utils/dist/src/fetch-helpers.js
361
+ async function processResponse(r) {
362
+ const ct = r.headers.get("content-type");
363
+ if (!ct) throw `missing response.header['content-type']`;
364
+ if (ct.includes("/json")) {
365
+ const payload = await r.json();
366
+ return payload;
367
+ }
368
+ if (ct.includes("/text") || ct.includes("text/")) {
369
+ return r.text();
370
+ }
371
+ if (ct.includes("multipart")) {
372
+ if (ct.startsWith("multipart/form-data")) return processFormData(r);
373
+ else throw `cannot handle response content-type: '${ct}'`;
374
+ }
375
+ if (ct == "application/x-ndjson-nestedkey") {
376
+ return processNDJSON_nestedKey(r);
377
+ }
378
+ return r.blob();
379
+ }
380
+ async function processFormData(res) {
381
+ const data = {};
382
+ const form = await res.formData();
383
+ for (const [key, value] of form.entries()) {
384
+ if (value.type) {
385
+ data[key] = { headers: { "content-type": value.type }, body: value };
386
+ } else {
387
+ const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
388
+ data[key] = { headers: { "content-type": "application/json" }, body };
389
+ }
390
+ }
391
+ return data;
392
+ }
393
+ async function processNDJSON_nestedKey(r) {
394
+ const stream = r.body.pipeThrough(new TextDecoderStream());
395
+ const reader = stream.getReader();
396
+ let rootObj = {};
397
+ let buffer = "";
398
+ let done = false;
399
+ while (!done) {
400
+ const readResult = await reader.read();
401
+ done = readResult.done;
402
+ if (done) break;
403
+ const value = readResult.value;
404
+ buffer += value;
405
+ const parts = buffer.split("\n");
406
+ buffer = parts.pop() ?? "";
407
+ for (const line of parts) {
408
+ if (line.trim()) {
409
+ const [keys, data] = JSON.parse(line);
410
+ if (!keys.length) rootObj = data;
411
+ else {
412
+ const lastKey = keys.pop();
413
+ let target = rootObj;
414
+ for (const k of keys) target = target[k];
415
+ target[lastKey] = data;
416
+ }
417
+ }
418
+ }
419
+ }
420
+ return rootObj;
421
+ }
422
+ var cacheLifetime = 1e3 * 60 * 5;
423
+ async function getDataName(url, init) {
424
+ const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
425
+ return await hash(dataName);
426
+ }
427
+
428
+ // ../shared/utils/dist/src/fileSize.js
429
+ function fileSize(v) {
430
+ if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
431
+ if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
432
+ if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
433
+ return v + " Bytes";
434
+ }
435
+
436
+ // ../shared/utils/dist/src/mds3tk.js
437
+ var ssmIdFieldsSeparator = "__";
438
+ function summarize_mclass(mlst) {
439
+ const m2c = /* @__PURE__ */ new Map();
440
+ const cnvs = [];
441
+ for (const m of mlst) {
442
+ if (m.dt == dtcnv) {
443
+ cnvs.push(m);
444
+ continue;
445
+ }
446
+ const key = m.class || m.dt;
447
+ m2c.set(key, 1 + (m2c.get(key) || 0));
448
+ }
449
+ if (cnvs.length) {
450
+ if (Number.isFinite(cnvs[0].value)) {
451
+ m2c.set(dtcnv, cnvs.length);
452
+ } else {
453
+ for (const c of cnvs) {
454
+ if (!c.class) continue;
455
+ m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
456
+ }
457
+ }
458
+ }
459
+ return [...m2c].sort((i, j) => j[1] - i[1]);
460
+ }
461
+ function guessSsmid(ssmid) {
462
+ const l = ssmid.split(ssmIdFieldsSeparator);
463
+ if (l.length == 4) {
464
+ const [chr, tmp, ref, alt] = l;
465
+ const pos = Number(tmp);
466
+ if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
467
+ return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
468
+ }
469
+ if (l.length == 5) {
470
+ const [chr, _start, _stop, _class, _value] = l;
471
+ const start = Number(_start), stop = Number(_stop);
472
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
473
+ const value = _value == "" ? null : Number(_value);
474
+ if (_class == mclassitd) {
475
+ return { dt: dtitd, l: [chr, start, stop, _class, value] };
476
+ }
477
+ return { dt: dtcnv, l: [chr, start, stop, _class, value] };
478
+ }
479
+ if (l.length == 6) {
480
+ if (l[3] == "+" || l[3] == "-") {
481
+ const [_dt, chr2, _pos, strand, _pi, _mname] = l;
482
+ const mname = decodeURIComponent(_mname);
483
+ const dt = Number(_dt);
484
+ if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
485
+ const pos = Number(_pos);
486
+ if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
487
+ const pairlstIdx = Number(_pi);
488
+ if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
489
+ return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
490
+ }
491
+ const [chr, _start, _stop, _class, _value, sample] = l;
492
+ const start = Number(_start), stop = Number(_stop);
493
+ if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
494
+ if (_class == mclassitd) {
495
+ return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
496
+ }
497
+ const value = _value == "" ? null : Number(_value);
498
+ return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
499
+ }
500
+ throw new Error("unknown ssmid");
501
+ }
502
+
503
+ // ../shared/utils/dist/src/scatter.js
504
+ var xAxisOffSet = 80;
505
+ var yAxisOffSet = 30;
506
+ function getCoordinate(val, min, max) {
507
+ if (min != null && val < min) return min;
508
+ if (max != null && val > max) return max;
509
+ return val;
510
+ }
511
+ function calculatePadding(minScale, maxScale, min, max) {
512
+ return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
513
+ }
514
+
515
+ // ../shared/utils/dist/src/termdb.bins.js
516
+ function validate_bins(binconfig) {
517
+ const bc = binconfig;
518
+ if (!bc || typeof bc !== "object") throw "bin schema must be an object";
519
+ if (!("type" in bc)) bc.type = "regular-bin";
520
+ if (bc.type == "custom-bin") {
521
+ if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
522
+ if (!bc.lst.length) throw "binconfig.lst must have entries";
523
+ const first_bin = bc.lst[0];
524
+ const last_bin = bc.lst[bc.lst.length - 1];
525
+ for (const bin of bc.lst) {
526
+ if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
527
+ throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
528
+ }
529
+ if (bin == first_bin) {
530
+ if ("startunbounded" in bin && !bin.startunbounded) {
531
+ throw `a custom first bin must not set bin.startunbounded to false`;
532
+ }
533
+ bin.startunbounded = true;
534
+ if ("start" in bin) {
535
+ throw "a custom first bin must not set a bin.start value";
536
+ }
537
+ if ("start_percentile" in bin) {
538
+ throw "the first bin must not set a bin.start_percentile value";
539
+ }
540
+ if (!("stop" in bin)) {
541
+ throw `a custom first bin must define a bin.stop value`;
542
+ }
543
+ if (!isStrictNumeric(bin.stop)) {
544
+ throw `a custom first bin.stop value should be numeric`;
545
+ }
546
+ } else if (bin == last_bin) {
547
+ if (!("start" in bin)) {
548
+ throw `a custom last bin must define a bin.start value`;
549
+ }
550
+ if (!isStrictNumeric(bin.start)) {
551
+ throw `a custom last bin.start must be numeric`;
552
+ }
553
+ if ("stopunbounded" in bin && !bin.stopunbounded) {
554
+ throw "a custom last bin must not set bin.stopunbounded to false";
555
+ }
556
+ bin.stopunbounded = true;
557
+ if ("stop" in bin) {
558
+ throw "a custom last bin must not set a bin.stop value";
559
+ }
560
+ } else {
561
+ if (bin.startunbounded || bin.stopunbounded) {
562
+ throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
563
+ }
564
+ if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
565
+ if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
566
+ }
567
+ }
568
+ } else if (bc.type == "regular-bin") {
569
+ if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
570
+ if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
571
+ if (!bc.startinclusive && !bc.stopinclusive) {
572
+ bc.startinclusive = true;
573
+ bc.stopinclusive = false;
574
+ }
575
+ if (!bc.first_bin) throw "first_bin{} missing";
576
+ if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
577
+ if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
578
+ {
579
+ const b = bc.first_bin;
580
+ b.startunbounded = true;
581
+ if (b.stop_percentile) {
582
+ if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
583
+ if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
584
+ } else if (!Number.isFinite(b.stop)) {
585
+ throw "first_bin.stop not a number when stop_percentile is not set";
586
+ }
587
+ }
588
+ if (bc.last_bin) {
589
+ const b = bc.last_bin;
590
+ if (b.start_percentile) {
591
+ if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
592
+ if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
593
+ } else if (!Number.isFinite(b.start)) {
594
+ throw "last_bin.start not a number when start_percentile is not set";
595
+ }
596
+ b.stopunbounded = true;
597
+ if ("stop" in b) {
598
+ throw "a regular last bin must not set a bin.stop value";
599
+ }
600
+ }
601
+ } else {
602
+ throw `invalid binconfig.type="${bc.type}"`;
603
+ }
604
+ }
605
+ var maxNumBins = 100;
606
+ function compute_bins(binconfig, summaryfxn, valueConversion) {
607
+ const bc = binconfig;
608
+ validate_bins(bc);
609
+ if (bc.lst) {
610
+ if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
611
+ if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
612
+ assignBinColors(bc.lst);
613
+ }
614
+ if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
615
+ if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
616
+ const percentiles = target_percentiles(bc);
617
+ const summary = summaryfxn(percentiles);
618
+ if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
619
+ bc.results = { summary };
620
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
621
+ const minFloor = Math.floor(summary.min * 100) / 100;
622
+ const maxCeil = Math.ceil(summary.max * 100) / 100;
623
+ const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
624
+ let max = maxCeil, last_start, last_stop;
625
+ if (bc.last_bin) {
626
+ max = bc.last_bin.stopunbounded ? maxCeil : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isNumeric(bc.last_bin.stop) && bc.last_bin.stop <= summary.max ? bc.last_bin.stop : maxCeil;
627
+ last_start = isStrictNumeric(bc.last_bin.start_percentile) ? summary["p" + bc.last_bin.start_percentile] : isStrictNumeric(bc.last_bin.start) ? bc.last_bin.start : void 0;
628
+ last_stop = bc.last_bin.stopunbounded ? null : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isStrictNumeric(bc.last_bin.stop) ? bc.last_bin.stop : null;
629
+ } else if (bc.lst) {
630
+ const last_bin = bc.lst[bc.lst.length - 1];
631
+ last_start = last_bin.start;
632
+ last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
633
+ max = last_stop;
634
+ } else {
635
+ last_start = maxCeil;
636
+ last_stop = maxCeil;
637
+ }
638
+ const numericMax = isStrictNumeric(max);
639
+ const numericLastStart = isStrictNumeric(last_start);
640
+ const numericLastStop = isStrictNumeric(last_stop);
641
+ if (!numericMax && !numericLastStart) return [];
642
+ const bins = [];
643
+ let currBin = {
644
+ startunbounded: bc.first_bin.startunbounded,
645
+ start: bc.first_bin.startunbounded ? void 0 : min,
646
+ stop: isStrictNumeric(bc.first_bin.stop_percentile) ? +summary["p" + bc.first_bin.stop_percentile] : isStrictNumeric(bc.first_bin.stop) ? +bc.first_bin.stop : min + bc.bin_size,
647
+ startinclusive: bc.startinclusive,
648
+ stopinclusive: bc.stopinclusive
649
+ };
650
+ if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
651
+ while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
652
+ bins.push(currBin);
653
+ if (currBin.stop >= max) {
654
+ currBin.stopunbounded = true;
655
+ if (bins.length > 1) {
656
+ delete currBin.stop;
657
+ }
658
+ }
659
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
660
+ if (currBin.stopunbounded) break;
661
+ const upper = currBin.stop + bc.bin_size;
662
+ const previousStop = currBin.stop;
663
+ currBin = {
664
+ startinclusive: bc.startinclusive,
665
+ stopinclusive: bc.stopinclusive,
666
+ start: previousStop,
667
+ stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
668
+ };
669
+ if (currBin.stop >= max) {
670
+ currBin.stop = max;
671
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
672
+ if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
673
+ }
674
+ if (numericLastStart && currBin.start == last_start) {
675
+ if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
676
+ }
677
+ if (currBin.start > currBin.stop) {
678
+ if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
679
+ currBin.stopunbounded = true;
680
+ else break;
681
+ }
682
+ if (bins.length + 1 >= maxNumBins) {
683
+ delete currBin.stop;
684
+ currBin.stopunbounded = true;
685
+ currBin.label = get_bin_label(currBin, bc, valueConversion);
686
+ if (!bins.includes(currBin)) bins.push(currBin);
687
+ const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
688
+ throw new Error(hint + " (max_num_bins_reached)");
689
+ }
690
+ }
691
+ delete bc.binLabelFormatter;
692
+ if (bins.length > 1) {
693
+ delete bins[bins.length - 1].stop;
694
+ }
695
+ assignBinColors(bins);
696
+ return bins;
697
+ }
698
+ function assignBinColors(lst) {
699
+ const k2c = getColors(lst.length);
700
+ for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
701
+ return lst;
702
+ }
703
+ function getNumDecimalsFormatter(bc) {
704
+ return "rounding" in bc ? format(bc.rounding) : (d) => d;
705
+ }
706
+ function get_bin_label(bin, binconfig, valueConversion) {
707
+ if (!bin) return "missing bin.label";
708
+ if (bin.label) return bin.label;
709
+ const bc = binconfig;
710
+ if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
711
+ if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
712
+ if (bc.startinclusive) bin.startinclusive = true;
713
+ else if (bc.stopinclusive) bin.stopinclusive = true;
714
+ }
715
+ const start = bc.use_as == "bins" || bin.start;
716
+ const stop = bc.use_as == "bins" || bin.stop;
717
+ let label_offset = 0;
718
+ if ("label_offset" in bc) {
719
+ bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
720
+ if (!bc.label_offset_ignored) label_offset = bc.label_offset;
721
+ } else if (bc.bin_size === 1 && bc.termtype == "integer") {
722
+ label_offset = 1;
723
+ }
724
+ if (bin.startunbounded) {
725
+ const oper = bin.stopinclusive ? "\u2264" : "<";
726
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
727
+ return oper + v1;
728
+ }
729
+ if (bin.stopunbounded || start === stop) {
730
+ const oper = bin.startinclusive ? "\u2265" : ">";
731
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
732
+ return oper + v0;
733
+ }
734
+ if (label_offset && bin.startinclusive && !bin.stopinclusive) {
735
+ if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
736
+ return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
737
+ } else {
738
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
739
+ const v1 = valueConversion ? convertUnits(
740
+ stop - label_offset,
741
+ valueConversion.fromUnit,
742
+ valueConversion.toUnit,
743
+ valueConversion.scaleFactor,
744
+ true
745
+ ) : bc.binLabelFormatter(stop - label_offset);
746
+ return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
747
+ }
748
+ } else {
749
+ const oper0 = bin.startinclusive ? "" : ">";
750
+ const oper1 = bin.stopinclusive ? "" : "<";
751
+ const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
752
+ const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
753
+ if (+v0 >= +v1) {
754
+ const oper = bin.startinclusive ? "\u2265" : ">";
755
+ return oper + v0;
756
+ } else {
757
+ return oper0 + v0 + " to " + oper1 + v1;
758
+ }
759
+ }
760
+ }
761
+ function get_bin_range_equation(bin, binconfig, valueConversion) {
762
+ const x = '<span style="font-family:Times;font-style:italic;">x</span>';
763
+ let range_eq;
764
+ const copy = structuredClone(bin);
765
+ copy.label = "";
766
+ const bin_label = get_bin_label(copy, binconfig, valueConversion);
767
+ if (bin.startunbounded || bin.stopunbounded) {
768
+ range_eq = x + " " + bin_label;
769
+ } else if (bin.startinclusive) {
770
+ range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
771
+ } else if (bin.stopinclusive) {
772
+ range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
773
+ }
774
+ return range_eq;
775
+ }
776
+ function target_percentiles(binconfig) {
777
+ const percentiles = [];
778
+ const f = binconfig.first_bin;
779
+ if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
780
+ if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
781
+ const l = binconfig.last_bin;
782
+ if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
783
+ if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
784
+ return percentiles;
785
+ }
786
+
787
+ // ../shared/utils/dist/src/termdb.initbinconfig.js
788
+ function initBinConfig(data, opts = {}) {
789
+ if (!data.length)
790
+ return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
791
+ if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
792
+ let binConfig;
793
+ const s = new Set(data);
794
+ if (s.size === 1) {
795
+ const value = [...s][0];
796
+ binConfig = {
797
+ type: "custom-bin",
798
+ lst: [
799
+ { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
800
+ { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
801
+ { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
802
+ ]
803
+ };
804
+ } else {
805
+ data.sort((a, b) => a - b);
806
+ const l = data.length;
807
+ const min = data[0];
808
+ const max = data[l - 1];
809
+ const p5idx = Math.ceil(l * 0.05) - 1;
810
+ const p98idx = Math.ceil(l * 0.98) - 1;
811
+ const p5 = data[p5idx];
812
+ const p98 = data[p98idx];
813
+ const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
814
+ const firstBinStop = Math.max(min + binSize, p5);
815
+ const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
816
+ binConfig = {
817
+ type: "regular-bin",
818
+ startinclusive: true,
819
+ bin_size: binSize_rnd,
820
+ first_bin: { stop: firstBinStop_rnd }
821
+ };
822
+ if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
823
+ if (rounding) binConfig.rounding = rounding;
824
+ }
825
+ if ("format" in opts) {
826
+ if (opts.format === "string") {
827
+ return JSON.stringify(binConfig);
828
+ } else {
829
+ throw "options are not in the correct format";
830
+ }
831
+ } else {
832
+ return binConfig;
833
+ }
834
+ }
835
+ function roundBinVals(binSize, firstBinStop, max, min) {
836
+ let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
837
+ const log = Math.floor(Math.log10(binSize));
838
+ if (binSize >= 0.1 && binSize <= 2) {
839
+ binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
840
+ firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
841
+ } else {
842
+ binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
843
+ firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
844
+ if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
845
+ if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
846
+ if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
847
+ }
848
+ if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
849
+ const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
850
+ if (max > eighthBinStop_rnd) {
851
+ lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
852
+ }
853
+ if (binSize < 1) {
854
+ const digits = Math.abs(log);
855
+ binSize_rnd = Number(binSize_rnd.toFixed(digits));
856
+ firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
857
+ if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
858
+ rounding = "." + digits + "f";
859
+ }
860
+ if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
861
+ return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
862
+ }
863
+
864
+ // ../shared/utils/dist/src/termdb.usecase.js
865
+ var graphableTypes = /* @__PURE__ */ new Set([
866
+ "categorical",
867
+ "integer",
868
+ "float",
869
+ "condition",
870
+ "survival",
871
+ "snplst",
872
+ "snplocus",
873
+ "geneVariant",
874
+ "samplelst",
875
+ "geneExpression",
876
+ ISOFORM_EXPRESSION,
877
+ "dtcnv",
878
+ "dtsnvindel",
879
+ "dtfusion",
880
+ "dtsv",
881
+ "date",
882
+ TermTypes.SSGSEA,
883
+ TermTypes.DNA_METHYLATION,
884
+ TermTypes.METABOLITE_INTENSITY,
885
+ TermTypes.PROTEOME_ABUNDANCE,
886
+ TermTypes.PSEUDOBULK,
887
+ TermTypes.JUNCTION,
888
+ SINGLECELL_GENE_EXPRESSION,
889
+ SINGLECELL_CELLTYPE,
890
+ TermTypes.SINGLECELL_NUMERIC_VALUE,
891
+ TermTypes.SNP,
892
+ TermTypes.TERM_COLLECTION,
893
+ TermTypes.COHORT,
894
+ TermTypes.MULTIVALUE
895
+ ]);
896
+ function isUsableTerm(term, _usecase, termdbConfig, ds) {
897
+ const usecase = _usecase || {};
898
+ if (typeof ds?.usecase?.[usecase.target] == "function") {
899
+ return ds.usecase[usecase.target](term, usecase);
900
+ }
901
+ const uses = /* @__PURE__ */ new Set();
902
+ const child_types = term.child_types || [];
903
+ switch (usecase.target) {
904
+ case "barchart":
905
+ case "violin":
906
+ case "boxplot":
907
+ case "summary": {
908
+ const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
909
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
910
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
911
+ return uses;
912
+ }
913
+ case "summaryInput":
914
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
915
+ const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
916
+ if (term.type && !excluded.includes(term.type)) uses.add("plot");
917
+ if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
918
+ return uses;
919
+ } else {
920
+ if (graphableTypes.has(term.type)) uses.add("plot");
921
+ if (!term.isleaf) uses.add("branch");
922
+ return uses;
923
+ }
924
+ case "matrix":
925
+ if (term.type) uses.add("plot");
926
+ if (!term.isleaf) uses.add("branch");
927
+ return uses;
928
+ case "table":
929
+ if (usecase.detail == "term") uses.add("plot");
930
+ if (child_types.length > 1) uses.add("branch");
931
+ return uses;
932
+ case "sampleScatter":
933
+ if (usecase.detail == "numeric") {
934
+ if (isNumericTerm(term)) {
935
+ uses.add("plot");
936
+ }
937
+ if (hasNumericChild(child_types)) uses.add("branch");
938
+ } else {
939
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
940
+ if (!term.isleaf) uses.add("branch");
941
+ }
942
+ return uses;
943
+ case "runChart2":
944
+ if (usecase.detail == "date" || usecase.detail == "xtw") {
945
+ if (term.type == "date") {
946
+ uses.add("plot");
947
+ }
948
+ if (child_types.includes("date")) uses.add("branch");
949
+ } else if (usecase.detail == "numeric") {
950
+ if (isNumericTerm(term) && term.type != "date") {
951
+ uses.add("plot");
952
+ }
953
+ if (hasNumericChild(child_types)) uses.add("branch");
954
+ } else {
955
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
956
+ if (!term.isleaf) uses.add("branch");
957
+ }
958
+ return uses;
959
+ case "numericDictTermCluster":
960
+ if (!usecase.detail?.exclude?.includes(term.id)) {
961
+ if (isNumericTerm(term)) {
962
+ uses.add("plot");
963
+ }
964
+ if (hasNumericChild(child_types)) {
965
+ uses.add("branch");
966
+ }
967
+ }
968
+ return uses;
969
+ case "termCollections":
970
+ if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
971
+ if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
972
+ return uses;
973
+ case "profileForms":
974
+ if (!term.isleaf) {
975
+ const ancestors = term.id.split("__").length;
976
+ if (ancestors == 3) {
977
+ uses.add("plot");
978
+ } else if (ancestors < 3) uses.add("branch");
979
+ }
980
+ return uses;
981
+ // case 'boxplot':
982
+ // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
983
+ // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
984
+ // return uses
985
+ case "cuminc":
986
+ if (usecase.detail == "term") {
987
+ if (term.type == "condition") uses.add("plot");
988
+ if (child_types.includes("condition")) uses.add("branch");
989
+ return uses;
990
+ }
991
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
992
+ if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
993
+ uses.add("plot");
994
+ if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
995
+ return uses;
996
+ }
997
+ return uses;
998
+ case "survival":
999
+ if (usecase.detail == "term") {
1000
+ if (term.type == "survival") uses.add("plot");
1001
+ if (child_types.includes("survival")) uses.add("branch");
1002
+ return uses;
1003
+ }
1004
+ if (usecase.detail === "term2" || usecase.detail == "term0") {
1005
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1006
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1007
+ return uses;
1008
+ }
1009
+ return uses;
1010
+ case "regression":
1011
+ if (usecase.detail == "outcome") {
1012
+ if (usecase.regressionType == "linear") {
1013
+ if (term.type == "float" || term.type == "integer") uses.add("plot");
1014
+ if (hasNumericChild(child_types)) uses.add("branch");
1015
+ return uses;
1016
+ }
1017
+ if (usecase.regressionType == "logistic") {
1018
+ if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1019
+ if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1020
+ return uses;
1021
+ } else if (usecase.regressionType == "cox") {
1022
+ if (term.type == "condition" || term.type == "survival") uses.add("plot");
1023
+ if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1024
+ return uses;
1025
+ }
1026
+ }
1027
+ if (usecase.detail == "independent") {
1028
+ if (term.type == TermTypes.TERM_COLLECTION) {
1029
+ if (term.memberType == "numeric") uses.add("plot");
1030
+ return uses;
1031
+ }
1032
+ if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1033
+ uses.add("plot");
1034
+ if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1035
+ return uses;
1036
+ }
1037
+ return uses;
1038
+ case "filter": {
1039
+ const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1040
+ if (exlst) {
1041
+ if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1042
+ if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1043
+ return uses;
1044
+ }
1045
+ if (graphableTypes.has(term.type)) uses.add("plot");
1046
+ if (!term.isleaf) uses.add("branch");
1047
+ return uses;
1048
+ }
1049
+ case "correlationVolcano":
1050
+ if (usecase.detail == "numeric") {
1051
+ if (isNumericTerm(term)) {
1052
+ uses.add("plot");
1053
+ }
1054
+ if (hasNumericChild(child_types)) uses.add("branch");
1055
+ } else {
1056
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1057
+ if (!term.isleaf) uses.add("branch");
1058
+ }
1059
+ return uses;
1060
+ case "proteinView":
1061
+ if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1062
+ if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1063
+ return uses;
1064
+ case "brainImaging": {
1065
+ const allowMultivalue = usecase.detail == "term0";
1066
+ if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1067
+ if (!term.isleaf) uses.add("branch");
1068
+ return uses;
1069
+ }
1070
+ case "dictionary":
1071
+ if (graphableTypes.has(term.type)) uses.add("plot");
1072
+ if (!term.isleaf) uses.add("branch");
1073
+ return uses;
1074
+ default:
1075
+ if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1076
+ if (!term.isleaf) uses.add("branch");
1077
+ return uses;
1078
+ }
1079
+ }
1080
+ function hasAllowedChildTypes(child_types, excluded_types) {
1081
+ if (!child_types.length) {
1082
+ return false;
1083
+ }
1084
+ if (!excluded_types?.length) {
1085
+ return true;
1086
+ }
1087
+ if (child_types.some((type) => !excluded_types.includes(type))) {
1088
+ return true;
1089
+ }
1090
+ }
1091
+ function hasNumericChild(child_types) {
1092
+ return child_types.includes("float") || child_types.includes("integer");
1093
+ }
1094
+ function hasChildTypes(child_types, expected_types) {
1095
+ for (const a of expected_types) {
1096
+ if (child_types.includes(a)) return true;
1097
+ }
1098
+ }
1099
+
1100
+ // ../shared/utils/dist/src/time.js
1101
+ function formatElapsedTime(ms, precision = 2) {
1102
+ if (typeof ms !== "number" || isNaN(ms)) {
1103
+ return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1104
+ }
1105
+ if (!isFinite(ms)) {
1106
+ return ms > 0 ? "Infinite time" : "-Infinite time";
1107
+ }
1108
+ const absMs = Math.abs(ms);
1109
+ const sign = ms < 0 ? "-" : "";
1110
+ if (absMs < 1e3) {
1111
+ return `${sign}${absMs}ms`;
1112
+ }
1113
+ if (absMs < 6e4) {
1114
+ return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1115
+ }
1116
+ const minutes = Math.floor(absMs / 6e4);
1117
+ const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1118
+ return `${sign}${minutes}m ${seconds}s`;
1119
+ }
1120
+
1121
+ // ../shared/utils/dist/src/vcf.ann.js
1122
+ function parse_ANN(str, header, m) {
1123
+ if (!header) {
1124
+ return null;
1125
+ }
1126
+ for (const thisannotation of str.split(",")) {
1127
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1128
+ const o = {};
1129
+ for (let i = 0; i < header.length; i++) {
1130
+ if (lst[i]) {
1131
+ o[header[i].name] = lst[i];
1132
+ }
1133
+ }
1134
+ if (!o.Allele) {
1135
+ continue;
1136
+ }
1137
+ let allele = null;
1138
+ for (const a of m.alleles) {
1139
+ if (a.allele == o.Allele) {
1140
+ allele = a;
1141
+ break;
1142
+ }
1143
+ }
1144
+ if (!allele) {
1145
+ continue;
1146
+ }
1147
+ if (!allele.ann) {
1148
+ allele.ann = [];
1149
+ }
1150
+ allele.ann.push(o);
1151
+ o._gene = o.Gene_Name;
1152
+ if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1153
+ o._isoform = o.Feature_ID.split(".")[0];
1154
+ }
1155
+ if (o.Annotation) {
1156
+ const [dt, cls, rank] = vepinfo(o.Annotation);
1157
+ o._dt = dt;
1158
+ o._class = cls;
1159
+ o._csqrank = rank;
1160
+ } else {
1161
+ o._dt = dtsnvindel;
1162
+ o._class = mclassnonstandard;
1163
+ }
1164
+ if (o["HGVS.p"]) {
1165
+ o._mname = o["HGVS.p"];
1166
+ } else if (o["HGVS.c"]) {
1167
+ o._mname = o["HGVS.c"];
1168
+ }
1169
+ }
1170
+ return true;
1171
+ }
1172
+
1173
+ // ../shared/utils/dist/src/vcf.csq.js
1174
+ function parse_CSQ(str, header, m) {
1175
+ if (!header) {
1176
+ return null;
1177
+ }
1178
+ for (const thisannotation of str.split(",")) {
1179
+ const lst = thisannotation.replace(/&/g, ",").split("|");
1180
+ const o = {};
1181
+ for (let i = 0; i < header.length; i++) {
1182
+ if (lst[i]) {
1183
+ o[header[i].name] = lst[i];
1184
+ }
1185
+ }
1186
+ if (!o.Allele) {
1187
+ continue;
1188
+ }
1189
+ let allele = null;
1190
+ for (const a of m.mlst || m.alleles) {
1191
+ if (a.allele_original == o.Allele) {
1192
+ allele = a;
1193
+ break;
1194
+ }
1195
+ }
1196
+ if (!allele) {
1197
+ if (o.Allele == "-") {
1198
+ if (m.mlst) {
1199
+ if (m.mlst.length == 1) {
1200
+ allele = m.mlst[0];
1201
+ }
1202
+ } else if (m.alleles) {
1203
+ if (m.alleles.length == 1) {
1204
+ allele = m.alleles[0];
1205
+ }
1206
+ }
1207
+ } else {
1208
+ for (const a of m.mlst || m.alleles) {
1209
+ if (a.allele_original.substr(1) == o.Allele) {
1210
+ allele = a;
1211
+ break;
1212
+ }
1213
+ }
1214
+ }
1215
+ if (!allele) {
1216
+ continue;
1217
+ }
1218
+ }
1219
+ if (!allele.csq) {
1220
+ allele.csq = [];
1221
+ }
1222
+ allele.csq.push(o);
1223
+ o._gene = o.SYMBOL || o.Gene;
1224
+ if (o.Feature_type && o.Feature_type == "Transcript") {
1225
+ o._isoform = o.Feature.split(".")[0];
1226
+ } else {
1227
+ o._isoform = o._gene;
1228
+ }
1229
+ if (o.Consequence) {
1230
+ const [dt, cls, rank] = vepinfo(o.Consequence);
1231
+ o._dt = dt;
1232
+ o._class = cls;
1233
+ o._csqrank = rank;
1234
+ } else {
1235
+ o._dt = dtsnvindel;
1236
+ o._class = mclassnonstandard;
1237
+ }
1238
+ if (o.HGVSp) {
1239
+ o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1240
+ } else if (o.Protein_position && o.Amino_acids) {
1241
+ o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1242
+ } else if (o.HGVSc) {
1243
+ o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1244
+ } else if (o.Existing_variation) {
1245
+ o._name = o.Existing_variation;
1246
+ }
1247
+ }
1248
+ return true;
1249
+ }
1250
+
1251
+ // ../shared/utils/dist/src/vcf.info.js
1252
+ function dissect_INFO(str) {
1253
+ let findsemicolon = false;
1254
+ let findequalorsemicolon = true;
1255
+ let i = 0;
1256
+ let idx = 0;
1257
+ const k2v = {};
1258
+ let lastkey;
1259
+ while (i < str.length) {
1260
+ const c = str[i];
1261
+ if (findequalorsemicolon) {
1262
+ if (c == "=") {
1263
+ findsemicolon = true;
1264
+ findequalorsemicolon = false;
1265
+ lastkey = str.substring(idx, i);
1266
+ idx = i + 1;
1267
+ } else if (c == ";") {
1268
+ k2v[str.substring(idx, i)] = 1;
1269
+ idx = i + 1;
1270
+ }
1271
+ } else if (findsemicolon && c == ";") {
1272
+ findequalorsemicolon = true;
1273
+ findsemicolon = false;
1274
+ k2v[lastkey] = str.substring(idx, i);
1275
+ lastkey = null;
1276
+ idx = i + 1;
1277
+ }
1278
+ i++;
1279
+ }
1280
+ const remainstr = str.substr(idx, i);
1281
+ if (lastkey) {
1282
+ k2v[lastkey] = remainstr;
1283
+ } else {
1284
+ k2v[remainstr] = 1;
1285
+ }
1286
+ return k2v;
1287
+ }
1288
+
1289
+ // ../shared/utils/dist/src/vcf.type.js
1290
+ function getVariantType(ref, alt) {
1291
+ if (ref.length == 1 && alt.length == 1) {
1292
+ if (alt == ".") {
1293
+ return mclassdeletion;
1294
+ }
1295
+ return mclasssnv;
1296
+ }
1297
+ if (ref.length == alt.length) return mclassmnv;
1298
+ if (ref.length < alt.length) return mclassinsertion;
1299
+ if (ref.length > alt.length) return mclassdeletion;
1300
+ return mclassnonstandard;
1301
+ }
1302
+
1303
+ // ../shared/utils/dist/src/vcf.js
1304
+ var getallelename = new RegExp(/<(.+)>/);
1305
+ var mclasslabel2key = {};
1306
+ for (const k in mclass) {
1307
+ mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1308
+ }
1309
+ function vcfparsemeta(lines) {
1310
+ let sample = [];
1311
+ const errlst = [];
1312
+ const info = {};
1313
+ let hasinfo = false;
1314
+ const format2 = {};
1315
+ let hasformat = false;
1316
+ for (const line of lines) {
1317
+ if (!line.startsWith("#")) {
1318
+ continue;
1319
+ }
1320
+ if (line.startsWith("#C")) {
1321
+ sample = line.split(" ").slice(9);
1322
+ continue;
1323
+ }
1324
+ if (line.startsWith("##INFO")) {
1325
+ const e = tohash(line.substring(8, line.length - 1), info);
1326
+ if (e) {
1327
+ errlst.push("INFO error: " + e);
1328
+ } else {
1329
+ hasinfo = true;
1330
+ }
1331
+ continue;
1332
+ }
1333
+ if (line.startsWith("##FORMAT")) {
1334
+ const e = tohash(line.substring(10, line.length - 1), format2);
1335
+ if (e) {
1336
+ errlst.push("FORMAT error: " + e);
1337
+ } else {
1338
+ hasformat = true;
1339
+ }
1340
+ }
1341
+ }
1342
+ const sampleobjlst = [];
1343
+ for (const samplename of sample) {
1344
+ const a = { name: samplename };
1345
+ sampleobjlst.push(a);
1346
+ }
1347
+ if (info.CSQ) {
1348
+ const lst = info.CSQ.Description.split(" Format: ");
1349
+ if (lst[1]) {
1350
+ const lst2 = lst[1].split("|");
1351
+ if (lst2.length > 1) {
1352
+ info.CSQ.csqheader = [];
1353
+ for (const str of lst2) {
1354
+ const attr = { name: str };
1355
+ info.CSQ.csqheader.push(attr);
1356
+ }
1357
+ } else {
1358
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1359
+ }
1360
+ } else {
1361
+ errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1362
+ }
1363
+ }
1364
+ if (info.ANN) {
1365
+ const lst = info.ANN.Description.split("'");
1366
+ if (lst[1]) {
1367
+ const lst2 = lst[1].split(" | ");
1368
+ if (lst2.length) {
1369
+ info.ANN.annheader = [];
1370
+ for (const s of lst2) {
1371
+ const attr = { name: s };
1372
+ info.ANN.annheader.push(attr);
1373
+ }
1374
+ } else {
1375
+ errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1376
+ }
1377
+ } else {
1378
+ errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1379
+ }
1380
+ }
1381
+ return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1382
+ }
1383
+ function vcfparseline(line, vcf) {
1384
+ const lst = line.split(" ");
1385
+ if (lst.length < 8) {
1386
+ return ["line has less than 8 fields", null, null];
1387
+ }
1388
+ const rawpos = Number.parseInt(lst[2 - 1]);
1389
+ if (!Number.isInteger(rawpos)) {
1390
+ return ["invalid value for genomic position", null, null];
1391
+ }
1392
+ const refallele = lst[4 - 1];
1393
+ const m = {
1394
+ vcf_ID: lst[3 - 1],
1395
+ chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1396
+ pos: rawpos - 1,
1397
+ ref: refallele,
1398
+ //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1399
+ altstr: lst[5 - 1],
1400
+ alleles: [
1401
+ {
1402
+ /*
1403
+ ref allele only a placeholder, to be removed, this array only contains alt alleles
1404
+ this is a must
1405
+ also allows GT allele index to work
1406
+ */
1407
+ allele: refallele,
1408
+ sampledata: []
1409
+ }
1410
+ ],
1411
+ info: {},
1412
+ // locus info, do not contain allele info
1413
+ name: lst[3 - 1] == "." ? null : lst[3 - 1]
1414
+ };
1415
+ const altinvalid = [];
1416
+ for (const alt of lst[5 - 1].split(",")) {
1417
+ const a = {
1418
+ ref: m.ref,
1419
+ // may be corrected just below!
1420
+ allele: alt,
1421
+ // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1422
+ allele_original: alt,
1423
+ sampledata: [],
1424
+ _m: m,
1425
+ info: {}
1426
+ // allele info, do not contain locus info
1427
+ };
1428
+ m.alleles.push(a);
1429
+ if (alt[0] == "<") {
1430
+ const tmp2 = alt.match(getallelename);
1431
+ if (!tmp2) {
1432
+ altinvalid.push(alt);
1433
+ continue;
1434
+ }
1435
+ a.type = tmp2[1];
1436
+ a.allele = tmp2[1];
1437
+ a.issymbolicallele = true;
1438
+ } else {
1439
+ const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1440
+ a.pos = p;
1441
+ a.ref = ref;
1442
+ a.allele = alt2;
1443
+ }
1444
+ }
1445
+ if (lst[9 - 1] && lst[10 - 1]) {
1446
+ parse_FORMAT2(lst, m, vcf);
1447
+ }
1448
+ m.alleles.shift();
1449
+ const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1450
+ let badinfokeys = [];
1451
+ if (vcf.info) {
1452
+ badinfokeys = parse_INFO(tmp, m, vcf);
1453
+ } else {
1454
+ m.info = tmp;
1455
+ }
1456
+ const mlst = [];
1457
+ for (const a of m.alleles) {
1458
+ const m2 = {};
1459
+ for (const k in m) {
1460
+ if (k != "alleles") {
1461
+ m2[k] = m[k];
1462
+ }
1463
+ }
1464
+ for (const k in a) {
1465
+ if (k == "allele") {
1466
+ m2.alt = a[k];
1467
+ } else if (k == "info") {
1468
+ m2.altinfo = a[k];
1469
+ } else {
1470
+ m2[k] = a[k];
1471
+ }
1472
+ }
1473
+ if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1474
+ m2.type = getVariantType(m2.ref, m2.alt);
1475
+ }
1476
+ mlst.push(m2);
1477
+ }
1478
+ return [
1479
+ badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1480
+ mlst,
1481
+ altinvalid.length > 0 ? altinvalid : null
1482
+ ];
1483
+ }
1484
+ function correctRefAlt(p, ref, alt) {
1485
+ while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1486
+ ref = ref.substr(0, ref.length - 1);
1487
+ alt = alt.substr(0, alt.length - 1);
1488
+ }
1489
+ while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1490
+ ref = ref.substr(1);
1491
+ alt = alt.substr(1);
1492
+ p++;
1493
+ }
1494
+ return [p, ref, alt];
1495
+ }
1496
+ function parse_FORMAT2(lst, m, vcf) {
1497
+ const formatfields = lst[9 - 1].split(":");
1498
+ for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1499
+ const valuelst = lst[_sampleidx].split(":");
1500
+ {
1501
+ let none = true;
1502
+ for (const v of valuelst) {
1503
+ if (v != ".") {
1504
+ none = false;
1505
+ break;
1506
+ }
1507
+ }
1508
+ if (none) {
1509
+ continue;
1510
+ }
1511
+ }
1512
+ const sampleidx = _sampleidx - 9;
1513
+ for (let i = 1; i < m.alleles.length; i++) {
1514
+ const sobj = {};
1515
+ if (vcf.samples && vcf.samples[sampleidx]) {
1516
+ for (const k in vcf.samples[sampleidx]) {
1517
+ sobj[k] = vcf.samples[sampleidx][k];
1518
+ }
1519
+ } else {
1520
+ sobj.name = "missing_samplename_from_vcf_header";
1521
+ }
1522
+ m.alleles[i].sampledata.push({
1523
+ sampleobj: sobj
1524
+ });
1525
+ }
1526
+ for (let fi = 0; fi < formatfields.length; fi++) {
1527
+ const field = formatfields[fi];
1528
+ const value = valuelst[fi];
1529
+ if (value == ".") {
1530
+ continue;
1531
+ }
1532
+ if (field == "GT") {
1533
+ const splitter = value.indexOf("/") != -1 ? "/" : "|";
1534
+ let gtsum = 0;
1535
+ let unknowngt = false;
1536
+ const gtalleles = [];
1537
+ for (const i of value.split(splitter)) {
1538
+ if (i == ".") {
1539
+ unknowngt = true;
1540
+ continue;
1541
+ }
1542
+ const j = Number.parseInt(i);
1543
+ if (Number.isNaN(j)) {
1544
+ unknowngt = true;
1545
+ continue;
1546
+ }
1547
+ gtsum += j;
1548
+ const ale = m.alleles[j];
1549
+ if (ale) {
1550
+ gtalleles.push(ale.allele);
1551
+ }
1552
+ }
1553
+ let gtallref = false;
1554
+ if (!unknowngt) {
1555
+ gtallref = gtsum == 0;
1556
+ }
1557
+ const genotype = gtalleles.join(splitter);
1558
+ for (let i = 1; i < m.alleles.length; i++) {
1559
+ const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1560
+ ms.GT = value;
1561
+ ms.genotype = genotype;
1562
+ if (gtallref) {
1563
+ ms.gtallref = true;
1564
+ }
1565
+ ms.__gtalleles = gtalleles;
1566
+ }
1567
+ continue;
1568
+ }
1569
+ const formatdesc = vcf.format ? vcf.format[field] : null;
1570
+ if (!formatdesc) {
1571
+ for (let i = 1; i < m.alleles.length; i++) {
1572
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1573
+ }
1574
+ continue;
1575
+ }
1576
+ const isinteger = formatdesc.Type == "Integer";
1577
+ const isfloat = formatdesc.Type == "Float";
1578
+ if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1579
+ const fvlst = value.split(",").map((i) => {
1580
+ if (isinteger) return Number.parseInt(i);
1581
+ if (isfloat) return Number.parseFloat(i);
1582
+ return i;
1583
+ });
1584
+ for (let i = 1; i < m.alleles.length; i++) {
1585
+ if (fvlst[i] != void 0) {
1586
+ const m2 = m.alleles[i];
1587
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1588
+ m2s[field] = {};
1589
+ m2s[field][m2.ref] = fvlst[0];
1590
+ m2s[field][m2.allele] = fvlst[i];
1591
+ }
1592
+ }
1593
+ continue;
1594
+ }
1595
+ if (formatdesc.Number && formatdesc.Number == "A") {
1596
+ const fvlst = value.split(",").map((i) => {
1597
+ if (isinteger) return Number.parseInt(i);
1598
+ if (isfloat) return Number.parseFloat(i);
1599
+ return i;
1600
+ });
1601
+ for (let i = 1; i < m.alleles.length; i++) {
1602
+ if (fvlst[i - 1] != void 0) {
1603
+ const m2 = m.alleles[i];
1604
+ const m2s = m2.sampledata[m2.sampledata.length - 1];
1605
+ m2s[field] = {};
1606
+ m2s[field][m2.allele] = fvlst[i - 1];
1607
+ }
1608
+ }
1609
+ continue;
1610
+ }
1611
+ for (let i = 1; i < m.alleles.length; i++) {
1612
+ m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1613
+ }
1614
+ }
1615
+ }
1616
+ for (const a of m.alleles) {
1617
+ for (const s of a.sampledata) {
1618
+ if (s.AD) {
1619
+ s.allele2readcount = {};
1620
+ for (const k in s.AD) {
1621
+ s.allele2readcount[k] = s.AD[k];
1622
+ }
1623
+ }
1624
+ }
1625
+ }
1626
+ }
1627
+ function tohash(s, hash2) {
1628
+ const h = {}, err = [];
1629
+ let prev = 0, prevdoublequote = false, k = null;
1630
+ for (let i = 0; i < s.length; i++) {
1631
+ if (s[i] == '"') {
1632
+ i++;
1633
+ const thisstart = i;
1634
+ while (s[i] != '"') {
1635
+ i++;
1636
+ }
1637
+ if (k) {
1638
+ h[k] = s.substring(thisstart, i);
1639
+ k = null;
1640
+ } else {
1641
+ err.push("k undefined before double quotes");
1642
+ }
1643
+ prevdoublequote = true;
1644
+ continue;
1645
+ }
1646
+ if (s[i] == "=") {
1647
+ k = s.substring(prev, i);
1648
+ prev = i + 1;
1649
+ continue;
1650
+ }
1651
+ if (s[i] == ",") {
1652
+ if (prevdoublequote) {
1653
+ prevdoublequote = false;
1654
+ } else {
1655
+ if (k) {
1656
+ h[k] = s.substring(prev, i);
1657
+ k = null;
1658
+ } else {
1659
+ err.push("k undefined");
1660
+ }
1661
+ }
1662
+ prev = i + 1;
1663
+ continue;
1664
+ }
1665
+ }
1666
+ if (k) {
1667
+ h[k] = s.substring(prev);
1668
+ }
1669
+ if (h.ID) {
1670
+ hash2[h.ID] = h;
1671
+ } else {
1672
+ return "no ID";
1673
+ }
1674
+ if (err.length) return err.join("\n");
1675
+ }
1676
+ function parse_INFO(tmp, m, vcf) {
1677
+ const badinfokeys = [];
1678
+ for (const key in tmp) {
1679
+ if (vcf.info[key] == void 0) {
1680
+ badinfokeys.push(key);
1681
+ continue;
1682
+ }
1683
+ const value = tmp[key];
1684
+ if (key == "CSQ") {
1685
+ const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1686
+ if (!okay) {
1687
+ m.info[key] = value;
1688
+ }
1689
+ continue;
1690
+ }
1691
+ if (key == "ANN") {
1692
+ const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1693
+ if (!okay) {
1694
+ m.info[key] = value;
1695
+ }
1696
+ continue;
1697
+ }
1698
+ if (vcf.info[key].Type == "Flag") {
1699
+ m.info[key] = key;
1700
+ continue;
1701
+ }
1702
+ const __number = vcf.info[key].Number;
1703
+ const isinteger = vcf.info[key].Type == "Integer";
1704
+ const isfloat = vcf.info[key].Type == "Float";
1705
+ if (__number == "0") {
1706
+ m.info[key] = key;
1707
+ continue;
1708
+ }
1709
+ if (__number == "A") {
1710
+ const tt = value.split(",");
1711
+ for (let j = 0; j < tt.length; j++) {
1712
+ if (m.alleles[j]) {
1713
+ m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1714
+ }
1715
+ }
1716
+ continue;
1717
+ }
1718
+ if (__number == "R") {
1719
+ }
1720
+ if (__number == "1") {
1721
+ m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1722
+ continue;
1723
+ }
1724
+ if (!value.split) {
1725
+ continue;
1726
+ }
1727
+ const lst = value.split(",");
1728
+ if (isinteger) {
1729
+ m.info[key] = lst.map(Number.parseInt);
1730
+ } else if (isfloat) {
1731
+ m.info[key] = lst.map(Number.parseFloat);
1732
+ } else {
1733
+ m.info[key] = lst;
1734
+ }
1735
+ }
1736
+ return badinfokeys;
1737
+ }
1738
+
1739
+ // common/auth.js
1740
+ var jwtByDsRoute;
1741
+ function setJwtByDsRoute() {
1742
+ if (jwtByDsRoute) return;
1743
+ const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1744
+ jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1745
+ }
1746
+ function setTokenByDsRoute(dslabel, route, jwt) {
1747
+ setJwtByDsRoute();
1748
+ if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1749
+ if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1750
+ else delete jwtByDsRoute[dslabel][route];
1751
+ localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1752
+ }
1753
+ function getSavedToken(dslabel, route) {
1754
+ setJwtByDsRoute();
1755
+ return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1756
+ }
1757
+ function mayAddJwtToRequest(init, body, url) {
1758
+ if (init.headers.authorization) return;
1759
+ let dslabel = body?.dslabel;
1760
+ if (!dslabel) {
1761
+ const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1762
+ if (!param) return;
1763
+ let value = decodeURIComponent(param.split("=")[1]);
1764
+ if (value.startsWith("{") && value.endsWith("}")) {
1765
+ value = JSON.parse(value);
1766
+ dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1767
+ } else {
1768
+ dslabel = value;
1769
+ }
1770
+ }
1771
+ setJwtByDsRoute();
1772
+ if (!dslabel || !jwtByDsRoute[dslabel]) return;
1773
+ const h = url.split("//");
1774
+ const postProtocolStr = h[1] || h[0];
1775
+ const preQuestionMarkStr = postProtocolStr.split("?")[0];
1776
+ const pathSegments = preQuestionMarkStr.split("/");
1777
+ let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1778
+ const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1779
+ if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1780
+ }
1781
+ var dsAuthOk = /* @__PURE__ */ new Set();
1782
+ var dsAuth;
1783
+ var authUi;
1784
+ var authUiHolder;
1785
+ var includeEmbedder = false;
1786
+ async function setDsAuthOk(opts) {
1787
+ dsAuth = opts.dsAuth;
1788
+ authUi = opts.ui || defaultAuthUi;
1789
+ authUiHolder = opts.holder || select_default("body");
1790
+ for (const auth of dsAuth) {
1791
+ if (auth.insession) dsAuthOk.add(auth);
1792
+ }
1793
+ includeEmbedder = opts.dsAuth?.length > 0 || false;
1794
+ }
1795
+ function getRequiredAuth(dslabel, route) {
1796
+ if (!dsAuth || !Array.isArray(dsAuth)) return;
1797
+ for (const a of dsAuth) {
1798
+ if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1799
+ }
1800
+ }
1801
+ async function isInSession(dslabel, route) {
1802
+ if (!dslabel) return false;
1803
+ if (!Array.isArray(dsAuth)) return false;
1804
+ for (const a of dsAuth) {
1805
+ if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1806
+ if (dsAuthOk.has(a)) return true;
1807
+ if (a.checked) return false;
1808
+ const jwt = getSavedToken(dslabel, a.route);
1809
+ if (!jwt) return false;
1810
+ const { dofetch3: dofetch32 } = await import("./dofetch-BETN7HEX.js");
1811
+ const payload = decodeJwtPayload(jwt);
1812
+ if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1813
+ const data = await dofetch32("/jwt-status", {
1814
+ method: "POST",
1815
+ credentials: "include",
1816
+ headers: {
1817
+ //authorization: `Bearer ${btoa(jwt)}`
1818
+ [a.headerKey]: jwt
1819
+ },
1820
+ body: {
1821
+ dslabel,
1822
+ route,
1823
+ embedder: location.hostname
1824
+ }
1825
+ });
1826
+ a.checked = true;
1827
+ if (data.ok || data.status == "ok") {
1828
+ dsAuthOk.add(a);
1829
+ a.insession = true;
1830
+ return true;
1831
+ }
1832
+ }
1833
+ return false;
1834
+ }
1835
+ async function mayShowAuthUi(init, path, opts = {}) {
1836
+ const ok = { status: "ok" };
1837
+ if (!dsAuth || path.endsWith("jwt-status")) return ok;
1838
+ const body = JSON.parse(init.body || `{}`);
1839
+ const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1840
+ const [key, value] = kv.split("=");
1841
+ obj[key] = value;
1842
+ return obj;
1843
+ }, {});
1844
+ const q = Object.assign({}, body, params);
1845
+ const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1846
+ for (const a of dsAuth) {
1847
+ if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1848
+ if (dsAuthOk.has(a)) return ok;
1849
+ else if (a.route != "/**") return ok;
1850
+ else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1851
+ else if (a.type == "jwt") {
1852
+ } else if (a.type == "forbidden") {
1853
+ alert("Forbidden access");
1854
+ } else throw `unsupported dsAuth type='${a.type}'`;
1855
+ }
1856
+ }
1857
+ return ok;
1858
+ }
1859
+ async function defaultAuthUi(dslabel, auth, opts = {}) {
1860
+ 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)");
1861
+ const form = mask.append("div").style("opacity", 1);
1862
+ form.append("div").html(`Restricted dataset '${dslabel}'`);
1863
+ form.append("span").html("Please enter password ");
1864
+ const pwd = form.append("input").attr("type", "password");
1865
+ pwd.node().focus();
1866
+ const btn = form.append("button").html("Submit");
1867
+ return new Promise((resolve, reject) => {
1868
+ function login() {
1869
+ fetch("/dslogin", {
1870
+ method: "POST",
1871
+ headers: {
1872
+ authorization: `Basic ${btoa(pwd.property("value"))}`
1873
+ },
1874
+ body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1875
+ }).then((res) => res.json()).then((res) => {
1876
+ if (res.error) throw res.error;
1877
+ mask.remove();
1878
+ dsAuthOk.add(auth);
1879
+ if (res.jwt) {
1880
+ setTokenByDsRoute(dslabel, res.route, res.jwt);
1881
+ }
1882
+ if (!opts.setDomRefs) window.location.reload();
1883
+ else resolve(dslabel);
1884
+ }).catch((e) => {
1885
+ alert("login error: " + e);
1886
+ });
1887
+ }
1888
+ btn.on("click", login);
1889
+ pwd.on("change", login);
1890
+ if (opts.setDomRefs)
1891
+ opts.setDomRefs({
1892
+ pwd,
1893
+ btn,
1894
+ mask,
1895
+ authUiHolder
1896
+ });
1897
+ });
1898
+ }
1899
+ function decodeJwtPayload(token) {
1900
+ const base64Url = token.split(".")[1];
1901
+ const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
1902
+ const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
1903
+ const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
1904
+ return JSON.parse(jsonPayload);
1905
+ }
1906
+ function convertAtoBresult(c) {
1907
+ return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
1908
+ }
1909
+
1910
+ // common/dofetch.js
1911
+ function dofetch(path, arg, opts = null) {
1912
+ if (opts && typeof opts == "object") {
1913
+ if (opts.serverData && typeof opts.serverData == "object") {
1914
+ if (!dofetch.serverData) {
1915
+ dofetch.serverData = opts.serverData;
1916
+ } else if (!opts.serverData) {
1917
+ opts.serverData = dofetch.serverData;
1918
+ }
1919
+ }
1920
+ return dofetch2(
1921
+ path,
1922
+ {
1923
+ method: "POST",
1924
+ headers: {
1925
+ "content-type": "application/json"
1926
+ },
1927
+ body: JSON.stringify(arg)
1928
+ },
1929
+ opts
1930
+ );
1931
+ } else {
1932
+ if (path[0] == "/") {
1933
+ path = path.slice(1);
1934
+ }
1935
+ const jwt = sessionStorage.getItem("jwt");
1936
+ if (jwt) {
1937
+ arg.jwt = jwt;
1938
+ }
1939
+ let url = path;
1940
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1941
+ if (host) {
1942
+ if (host.endsWith("/")) {
1943
+ url = host + path;
1944
+ } else {
1945
+ url = host + "/" + path;
1946
+ }
1947
+ }
1948
+ return fetch(
1949
+ new Request(url, {
1950
+ method: "POST",
1951
+ headers: {
1952
+ "content-type": "application/json"
1953
+ },
1954
+ body: JSON.stringify(arg)
1955
+ })
1956
+ ).then((r) => r.json());
1957
+ }
1958
+ }
1959
+ function dofetch2(path, init = {}, opts = {}) {
1960
+ if (path[0] == "/") {
1961
+ path = path.slice(1);
1962
+ }
1963
+ let url = path;
1964
+ const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1965
+ if (host) {
1966
+ if (host.endsWith("/")) {
1967
+ url = host + path;
1968
+ } else {
1969
+ url = host + "/" + path;
1970
+ }
1971
+ }
1972
+ const body = init.body || {};
1973
+ url = mayAdjustRequest(url, init);
1974
+ if (!init.headers) {
1975
+ init.headers = {};
1976
+ }
1977
+ if (!init.headers["content-type"] && init.body) {
1978
+ init.headers["content-type"] = "application/json";
1979
+ }
1980
+ const jwt = sessionStorage.getItem("jwt");
1981
+ if (jwt) {
1982
+ init.headers.authorization = "Bearer " + jwt;
1983
+ }
1984
+ return mayShowAuthUi(init, url).then(async () => {
1985
+ if (!jwt) mayAddJwtToRequest(init, body, url);
1986
+ if (opts.serverData) {
1987
+ return namedFetch(url, init, opts);
1988
+ } else {
1989
+ return fetch(url, init).then(processResponse);
1990
+ }
1991
+ });
1992
+ }
1993
+ var optsServerDataNames = /* @__PURE__ */ new WeakMap();
1994
+ async function namedFetch(url, init, opts = {}) {
1995
+ if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
1996
+ if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
1997
+ let result;
1998
+ const dataName = await getDataName(url, init);
1999
+ if (opts.serverData[dataName]) {
2000
+ if (init.signal) {
2001
+ await sleep(0);
2002
+ if (init.signal.aborted) throw `stale sequenceId`;
2003
+ }
2004
+ result = structuredClone(opts.serverData[dataName]);
2005
+ }
2006
+ if (!result || typeof result != "object" && !(result instanceof Promise)) {
2007
+ delete opts.serverData[dataName];
2008
+ result = void 0;
2009
+ }
2010
+ if (!result) {
2011
+ try {
2012
+ const res = await fetch(url, init);
2013
+ result = await processResponse(res);
2014
+ if (typeof result == "object" && !(result instanceof Promise)) {
2015
+ deepFreeze(result);
2016
+ opts.serverData[dataName] = result;
2017
+ result = structuredClone(result);
2018
+ }
2019
+ } catch (e) {
2020
+ delete opts.serverData[dataName];
2021
+ throw e;
2022
+ }
2023
+ }
2024
+ if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2025
+ const keys = optsServerDataNames.get(opts.serverData);
2026
+ const i = keys.indexOf(dataName);
2027
+ if (i > 0) {
2028
+ keys.splice(i, 1);
2029
+ }
2030
+ keys.unshift(dataName);
2031
+ const maxKeys = 360;
2032
+ while (keys.length > maxKeys) {
2033
+ const oldestDataKey = keys.pop();
2034
+ delete opts.serverData[oldestDataKey];
2035
+ }
2036
+ return result;
2037
+ }
2038
+ var defaultServerDataCache = {};
2039
+ function dofetch3(path, init = {}, opts = {}) {
2040
+ if (!init.signal && this) {
2041
+ init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2042
+ }
2043
+ opts.serverData = defaultServerDataCache;
2044
+ return dofetch2(path, init, opts);
2045
+ }
2046
+ function clearServerDataCache(opts = {}) {
2047
+ const cache = opts?.serverData || defaultServerDataCache;
2048
+ if (!cache) return;
2049
+ for (const k of Object.keys(cache)) {
2050
+ delete cache[k];
2051
+ }
2052
+ }
2053
+ var urlMaxLength = 2e3;
2054
+ function mayAdjustRequest(url, init) {
2055
+ const hostname = window.location.hostname;
2056
+ const method = init.method && init.method.toUpperCase() || "GET";
2057
+ if (method == "POST") {
2058
+ if (typeof init.body == "string") init.body = JSON.parse(init.body);
2059
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2060
+ init.body = JSON.stringify(init.body);
2061
+ return url;
2062
+ }
2063
+ if (method != "GET" && method != "DELETE" && method != "PUT") {
2064
+ throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2065
+ }
2066
+ if (init.body) {
2067
+ if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2068
+ const params = encode(init.body);
2069
+ if (!url.includes("?")) url += "?";
2070
+ url += params;
2071
+ }
2072
+ if (!url.includes("embedder=") && includeEmbedder) {
2073
+ const sep = url.includes("?") ? "&" : "?";
2074
+ url += `${sep}embedder=${hostname}`;
2075
+ }
2076
+ if (url.length < urlMaxLength) {
2077
+ if (init.body) delete init.body;
2078
+ return url;
2079
+ }
2080
+ init.method = "POST";
2081
+ const [hostpath, query] = url.split("?");
2082
+ if (init.body) {
2083
+ init.body = JSON.stringify(init.body);
2084
+ } else {
2085
+ const params = {};
2086
+ if (query)
2087
+ query.split("&").forEach((p) => {
2088
+ const [k, v] = p.split("=");
2089
+ const decodedVal = decodeURIComponent(v);
2090
+ try {
2091
+ params[k] = JSON.parse(decodedVal);
2092
+ } catch {
2093
+ params[k] = decodedVal;
2094
+ }
2095
+ });
2096
+ if (!params.embedder && includeEmbedder) params.embedder = hostname;
2097
+ init.body = JSON.stringify(params);
2098
+ }
2099
+ return hostpath;
2100
+ }
2101
+ function setAuth(opts) {
2102
+ setDsAuthOk(opts, dofetch3);
2103
+ }
2104
+
2105
+ export {
2106
+ boxplot_getvalue,
2107
+ init_bulk_flag,
2108
+ parsesample,
2109
+ clusterMethodLst,
2110
+ distanceMethodLst,
2111
+ HYPER_COLOR,
2112
+ HYPO_COLOR,
2113
+ computePercentile,
2114
+ processFormData,
2115
+ fileSize,
2116
+ ssmIdFieldsSeparator,
2117
+ summarize_mclass,
2118
+ guessSsmid,
2119
+ xAxisOffSet,
2120
+ yAxisOffSet,
2121
+ getCoordinate,
2122
+ calculatePadding,
2123
+ compute_bins,
2124
+ get_bin_label,
2125
+ get_bin_range_equation,
2126
+ initBinConfig,
2127
+ isUsableTerm,
2128
+ formatElapsedTime,
2129
+ vcfparsemeta,
2130
+ vcfparseline,
2131
+ setTokenByDsRoute,
2132
+ getSavedToken,
2133
+ mayAddJwtToRequest,
2134
+ includeEmbedder,
2135
+ setDsAuthOk,
2136
+ getRequiredAuth,
2137
+ isInSession,
2138
+ mayShowAuthUi,
2139
+ dofetch,
2140
+ dofetch2,
2141
+ namedFetch,
2142
+ dofetch3,
2143
+ clearServerDataCache,
2144
+ setAuth
2145
+ };
2146
+ //# sourceMappingURL=chunk-VTHZGUSZ.js.map