@sjcrh/proteinpaint-client 2.207.1 → 2.209.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (940) hide show
  1. package/dist/2dmaf-VTMPVZGT.js +1367 -0
  2. package/dist/AggMatrixInput-CH3RQ2QC.js +406 -0
  3. package/dist/AggMatrixInput-CH3RQ2QC.js.map +7 -0
  4. package/dist/AggregateMatrix-DPCHUOMF.js +41 -0
  5. package/dist/AppHeader-RA7T467G.js +830 -0
  6. package/dist/BoxPlot-7Q7SMT26.js +1211 -0
  7. package/dist/CorrelationVolcano-YV4UHOAX.js +617 -0
  8. package/dist/CorrelationVolcano-YV4UHOAX.js.map +7 -0
  9. package/dist/Cuminc-ZN53C3MD.js +1219 -0
  10. package/dist/DE-BEWW5AIG.js +89 -0
  11. package/dist/DEinput-SJITUJF2.js +499 -0
  12. package/dist/DM-2LBNE4WE.js +90 -0
  13. package/dist/DifferentialAnalysis-WE4LBHEF.js +239 -0
  14. package/dist/DifferentialAnalysis-WE4LBHEF.js.map +7 -0
  15. package/dist/Disco-PTZQF7IM.js +3389 -0
  16. package/dist/Disco.UI-NBR67N5M.js +243 -0
  17. package/dist/DmrPlot-QROLI66S.js +362 -0
  18. package/dist/DmrPlot-QROLI66S.js.map +7 -0
  19. package/dist/GB-FEBSFX5U.js +1428 -0
  20. package/dist/GB-FEBSFX5U.js.map +7 -0
  21. package/dist/GSEA-KOXOVC5V.js +875 -0
  22. package/dist/GSEA-KOXOVC5V.js.map +7 -0
  23. package/dist/GeneExpInput-DYBK54HC.js +42 -0
  24. package/dist/Geomap-QRD2WZVL.js +84 -0
  25. package/dist/HicApp-VKET4QHD.js +2245 -0
  26. package/dist/IDCViewer-RLLTXGD7.js +10812 -0
  27. package/dist/NumBinaryEditor-GYHOYPQL.js +279 -0
  28. package/dist/NumBinaryEditor.unit.spec-E2HKBWOO.js +312 -0
  29. package/dist/NumContEditor-3V76ZSEY.js +105 -0
  30. package/dist/NumContEditor.unit.spec-RTT5Q5E5.js +164 -0
  31. package/dist/NumCustomBinEditor-O5DMPY7H.js +33 -0
  32. package/dist/NumCustomBinEditor.unit.spec-5LZBP2JL.js +397 -0
  33. package/dist/NumDiscreteEditor-DFOJ7AIH.js +170 -0
  34. package/dist/NumDiscreteEditor.unit.spec-PPJGEBFX.js +233 -0
  35. package/dist/NumRegularBinEditor-O6RDO32C.js +33 -0
  36. package/dist/NumRegularBinEditor.unit.spec-GOB3BF25.js +278 -0
  37. package/dist/NumSplineEditor-PUXJF2RW.js +210 -0
  38. package/dist/NumSplineEditor.unit.spec-4VOAAMOU.js +224 -0
  39. package/dist/NumericDensity-E6MH2THZ.js +33 -0
  40. package/dist/NumericDensity.unit.spec-IRPFBQUS.js +418 -0
  41. package/dist/NumericHandler-42RR54X3.js +34 -0
  42. package/dist/NumericHandler.unit.spec-YYOO7XVT.js +214 -0
  43. package/dist/ProteomeInput-4N2G6IFX.js +388 -0
  44. package/dist/Regression-LIWUWAGQ.js +1416 -0
  45. package/dist/Regression-LIWUWAGQ.js.map +7 -0
  46. package/dist/RunChart2-VAX5JGZY.js +749 -0
  47. package/dist/SC-UHBZ3HRO.js +1183 -0
  48. package/dist/SC-UHBZ3HRO.js.map +7 -0
  49. package/dist/Violin-V23VZR6B.js +1081 -0
  50. package/dist/Violin-V23VZR6B.js.map +7 -0
  51. package/dist/Volcano-64S4AW66.js +2443 -0
  52. package/dist/Volcano-64S4AW66.js.map +7 -0
  53. package/dist/Wsi-FOJCKDCP.js +629 -0
  54. package/dist/Wsi-FOJCKDCP.js.map +7 -0
  55. package/dist/adSandbox-CLMUYNC3.js +33 -0
  56. package/dist/animatedBubbleChart-GMLNYTQC.js +547 -0
  57. package/dist/app-2SFDRDN2.js +32 -0
  58. package/dist/app-QOZ36UR4.js +42 -0
  59. package/dist/app.js +14 -14
  60. package/dist/bam-LLAK7FVG.js +876 -0
  61. package/dist/barchart-SEC6VKQ2.js +42 -0
  62. package/dist/barchart2-D4FXZCTU.js +309 -0
  63. package/dist/block-XGK6TEGH.js +6250 -0
  64. package/dist/block-XGK6TEGH.js.map +7 -0
  65. package/dist/block.init-UMRCAKCF.js +33 -0
  66. package/dist/block.mds.expressionrank-LFPJ52SX.js +354 -0
  67. package/dist/block.mds.geneboxplot-2QIEN6AH.js +823 -0
  68. package/dist/block.mds.junction-Z4HUFSG2.js +1539 -0
  69. package/dist/block.mds.svcnv-3GXGY6ET.js +6796 -0
  70. package/dist/block.svg-7RCJLMAP.js +159 -0
  71. package/dist/block.tk.aicheck-5N6EGZ6F.js +278 -0
  72. package/dist/block.tk.ase-V3AJRYT6.js +360 -0
  73. package/dist/block.tk.bam-W6QOVVEU.js +1901 -0
  74. package/dist/block.tk.bedgraphdot-FKTPJZTH.js +379 -0
  75. package/dist/block.tk.bigwig.ui-Y3M2TDM2.js +206 -0
  76. package/dist/block.tk.hicstraw-3SWYTMFQ.js +818 -0
  77. package/dist/block.tk.junction-OXB22PDS.js +2358 -0
  78. package/dist/block.tk.junction.textmatrixui-PWBLRGCO.js +194 -0
  79. package/dist/block.tk.ld-NTRJL5GA.js +94 -0
  80. package/dist/block.tk.menu-JIHSGGIO.js +1024 -0
  81. package/dist/block.tk.pgv-4Q6CY6QN.js +938 -0
  82. package/dist/brainImaging-MBI4XTTU.js +555 -0
  83. package/dist/brainRegions-YVTAESRP.js +217 -0
  84. package/dist/bubbleHeatmap-ZKTA3AIG.js +378 -0
  85. package/dist/cellTypeBubbleHeatmap-GJZNXDG4.js +278 -0
  86. package/dist/chunk-2PDBU42F.js +4375 -0
  87. package/dist/chunk-2PDBU42F.js.map +7 -0
  88. package/dist/chunk-2RMSV4BS.js +6360 -0
  89. package/dist/chunk-33BE7AYS.js +299 -0
  90. package/dist/chunk-3FEP6B5T.js +119 -0
  91. package/dist/chunk-3XBG5HIV.js +424 -0
  92. package/dist/chunk-3XBG5HIV.js.map +7 -0
  93. package/dist/chunk-4G73CMUL.js +38 -0
  94. package/dist/chunk-5FRETII3.js +281 -0
  95. package/dist/chunk-5LYVIIYR.js +170 -0
  96. package/dist/chunk-6FG6JFZP.js +339 -0
  97. package/dist/chunk-6G45AUSV.js +237 -0
  98. package/dist/chunk-6G45AUSV.js.map +7 -0
  99. package/dist/chunk-6LDKSKYQ.js +70 -0
  100. package/dist/chunk-7FFTAYT4.js +272 -0
  101. package/dist/chunk-7GDRMBNO.js +339 -0
  102. package/dist/chunk-A2UUXYH6.js +1986 -0
  103. package/dist/chunk-AFQKYV4D.js +2853 -0
  104. package/dist/chunk-ANACCKCQ.js +276 -0
  105. package/dist/chunk-AR3HXZIW.js +562 -0
  106. package/dist/chunk-AVCEHJG7.js +446 -0
  107. package/dist/chunk-AVCIZWH5.js +692 -0
  108. package/dist/chunk-AVCIZWH5.js.map +7 -0
  109. package/dist/chunk-B6UXFX73.js +178 -0
  110. package/dist/chunk-B6UXFX73.js.map +7 -0
  111. package/dist/chunk-BCCFJYPE.js +54 -0
  112. package/dist/chunk-BCCFJYPE.js.map +7 -0
  113. package/dist/chunk-BG3SGGVB.js +134 -0
  114. package/dist/chunk-C3HEDQPT.js +24921 -0
  115. package/dist/chunk-C3HEDQPT.js.map +7 -0
  116. package/dist/chunk-CFZ2ZW3E.js +382 -0
  117. package/dist/chunk-CKOU3P27.js +26 -0
  118. package/dist/chunk-CN6KJORZ.js +397 -0
  119. package/dist/chunk-CYWEYHJQ.js +203 -0
  120. package/dist/chunk-D5ETVOOE.js +158 -0
  121. package/dist/chunk-DANF4CC5.js +102 -0
  122. package/dist/chunk-DNCFJTPI.js +1339 -0
  123. package/dist/chunk-FNW6BKOA.js +480 -0
  124. package/dist/chunk-FR5USNAT.js +54 -0
  125. package/dist/chunk-FSLOUTTK.js +37 -0
  126. package/dist/chunk-FSLOUTTK.js.map +7 -0
  127. package/dist/chunk-GYE6FU7P.js +626 -0
  128. package/dist/chunk-IEIGHCZS.js +1278 -0
  129. package/dist/chunk-J5GQGWYX.js +1731 -0
  130. package/dist/chunk-J5GQGWYX.js.map +7 -0
  131. package/dist/chunk-JMDUO47F.js +5071 -0
  132. package/dist/chunk-JTANDSTD.js +54 -0
  133. package/dist/chunk-JTQPPUDG.js +379 -0
  134. package/dist/chunk-K32DV4QI.js +302 -0
  135. package/dist/chunk-K77W4SSI.js +98 -0
  136. package/dist/chunk-KEHVNCFK.js +102 -0
  137. package/dist/chunk-MMKSXXU2.js +55 -0
  138. package/dist/chunk-NDOKW2HJ.js +31 -0
  139. package/dist/chunk-NGMM2MNC.js +518 -0
  140. package/dist/chunk-OASGOTRM.js +80 -0
  141. package/dist/chunk-OASGOTRM.js.map +7 -0
  142. package/dist/chunk-OBDIJ4QS.js +2146 -0
  143. package/dist/chunk-OBDIJ4QS.js.map +7 -0
  144. package/dist/chunk-OEBGQKQR.js +2676 -0
  145. package/dist/chunk-OI5KBFBE.js +468 -0
  146. package/dist/chunk-OWEBE64A.js +243 -0
  147. package/dist/chunk-P7X4LDW4.js +783 -0
  148. package/dist/chunk-Q4HTEL2O.js +56 -0
  149. package/dist/chunk-Q4HTEL2O.js.map +7 -0
  150. package/dist/chunk-QD75Q5LM.js +59 -0
  151. package/dist/chunk-QGH5BM2D.js +141 -0
  152. package/dist/chunk-QSOFGLWZ.js +240 -0
  153. package/dist/chunk-QXDGIQYA.js +217 -0
  154. package/dist/chunk-R2QE6ROO.js +176 -0
  155. package/dist/chunk-RMHUDMZ7.js +103 -0
  156. package/dist/chunk-SB36AUG7.js +1614 -0
  157. package/dist/chunk-SB36AUG7.js.map +7 -0
  158. package/dist/chunk-SXB4IZQ7.js +123 -0
  159. package/dist/chunk-T6Q76PDN.js +182 -0
  160. package/dist/chunk-T6Q76PDN.js.map +7 -0
  161. package/dist/chunk-TYR355RM.js +263 -0
  162. package/dist/chunk-ULZPHJYD.js +2784 -0
  163. package/dist/chunk-V3SOBDIT.js +255 -0
  164. package/dist/chunk-V3SOBDIT.js.map +7 -0
  165. package/dist/chunk-VFUSBU43.js +14 -0
  166. package/dist/chunk-VOF6NWTS.js +274 -0
  167. package/dist/chunk-WGDJX7WZ.js +2327 -0
  168. package/dist/chunk-WIQVSCD5.js +294 -0
  169. package/dist/chunk-WXXRVJSP.js +56 -0
  170. package/dist/chunk-WXXRVJSP.js.map +7 -0
  171. package/dist/chunk-X4MV2M5F.js +129 -0
  172. package/dist/chunk-XVVVNCXS.js +217 -0
  173. package/dist/chunk-XVVVNCXS.js.map +7 -0
  174. package/dist/chunk-YHP7MYB7.js +49 -0
  175. package/dist/chunk-YHWQWVWX.js +550 -0
  176. package/dist/chunk-YKZOQTT4.js +1233 -0
  177. package/dist/chunk-Z5HU276I.js +34 -0
  178. package/dist/chunk-Z6MCBFDM.js +194 -0
  179. package/dist/cohort-GVAJTICQ.js +70 -0
  180. package/dist/condition-EGPNMM47.js +327 -0
  181. package/dist/controls-HBROSXHF.js +34 -0
  182. package/dist/controls.config-FWKV66TU.js +34 -0
  183. package/dist/correlation-CEHE66EC.js +95 -0
  184. package/dist/customdata.inputui-LFT3N5FD.js +284 -0
  185. package/dist/dataDownload-ZPAIAAE4.js +329 -0
  186. package/dist/databrowser.ui-W5JGFBE6.js +425 -0
  187. package/dist/dictionary-RBE2CIZI.js +113 -0
  188. package/dist/dnaMethylation-CX22TSRO.js +33 -0
  189. package/dist/dnaMethylation.integration.spec-KEE6ZZRT.js +198 -0
  190. package/dist/dofetch-6NAGX5EG.js +48 -0
  191. package/dist/e2pca-XDGPTEXL.js +344 -0
  192. package/dist/ep-IUIDMIGW.js +1249 -0
  193. package/dist/expclust.gdc.spec-BMN2PTJX.js +302 -0
  194. package/dist/facet-DTJKZOBA.js +519 -0
  195. package/dist/gb-MV7MUJWO.js +81 -0
  196. package/dist/geneExpClustering-NFH5FS3S.js +244 -0
  197. package/dist/geneExpression-XVOLNYVN.js +310 -0
  198. package/dist/geneExpression-ZP2VWHED.js +33 -0
  199. package/dist/geneExpression.unit.spec-2NSK4ARK.js +128 -0
  200. package/dist/geneExpression.unit.spec-2NSK4ARK.js.map +7 -0
  201. package/dist/geneORA-HQ7FLMEJ.js +273 -0
  202. package/dist/geneRanking-MIABUKTN.js +548 -0
  203. package/dist/geneVariant-H52UUK6Z.js +289 -0
  204. package/dist/geneVariant-H52UUK6Z.js.map +7 -0
  205. package/dist/geneVariant-HDFWLALZ.js +36 -0
  206. package/dist/geneVariant.integration.spec-O36JK4B7.js +503 -0
  207. package/dist/geneVariant.integration.spec-O36JK4B7.js.map +7 -0
  208. package/dist/genefusion.ui-HSDZQHJA.js +303 -0
  209. package/dist/geneset-WKV3X2EJ.js +203 -0
  210. package/dist/genomeBrowser.spec-UTAHAU76.js +276 -0
  211. package/dist/grin2-M2JDZVYU.js +70 -0
  212. package/dist/grin2-N2QM3XTG.js +949 -0
  213. package/dist/grin2-N2QM3XTG.js.map +7 -0
  214. package/dist/hierCluster-LZI6OTRS.js +59 -0
  215. package/dist/hierCluster-VVXPOTQU.js +55 -0
  216. package/dist/hierCluster.config-NCYH3Y7Z.js +36 -0
  217. package/dist/hierCluster.integration.spec-ZDOOCTV3.js +483 -0
  218. package/dist/hierCluster.interactivity-4HP3JCON.js +49 -0
  219. package/dist/hierCluster.renderers-3F5GMEXA.js +19 -0
  220. package/dist/imagePlot-OA4WTMLU.js +156 -0
  221. package/dist/importPlot-OSTC2GPO.js +8 -0
  222. package/dist/isoformExpression-LZ5RTUS5.js +35 -0
  223. package/dist/isoformExpression.unit.spec-L6YDBKYM.js +237 -0
  224. package/dist/junction-UR6COY3A.js +36 -0
  225. package/dist/junction.customTerm-TMV43R7Z.js +16 -0
  226. package/dist/junction.unit.spec-NVBJTGA4.js +182 -0
  227. package/dist/launch.adhoc-AZG6QJG7.js +37 -0
  228. package/dist/leftlabel.sample-LYZG25RT.js +258 -0
  229. package/dist/lollipop-FJXVP5QM.js +166 -0
  230. package/dist/maf-OXJIJD6D.js +455 -0
  231. package/dist/maftimeline-75N6ZXEM.js +587 -0
  232. package/dist/matrix-QFKGEW5A.js +54 -0
  233. package/dist/matrix-XT7LUV5K.js +59 -0
  234. package/dist/matrix.cells-NB7LKKXV.js +26 -0
  235. package/dist/matrix.config-X6HS4UGD.js +37 -0
  236. package/dist/matrix.data-VLFF34SS.js +23 -0
  237. package/dist/matrix.groups-F62TSKIG.js +26 -0
  238. package/dist/matrix.integration.spec-7QBYWHW6.js +3160 -0
  239. package/dist/matrix.integration.spec-7QBYWHW6.js.map +7 -0
  240. package/dist/matrix.interactivity-2FBXB52E.js +37 -0
  241. package/dist/matrix.layout-6TPVKLSX.js +39 -0
  242. package/dist/matrix.legend-L4ULBMGX.js +20 -0
  243. package/dist/matrix.renderers-DK6YRLO2.js +34 -0
  244. package/dist/matrix.serieses-DCRJLJ3H.js +19 -0
  245. package/dist/matrix.sort-XSGPH44J.js +26 -0
  246. package/dist/matrix.sort.unit.spec-JF75F4I4.js +468 -0
  247. package/dist/matrix.sorterUi-WL5I6S3K.js +16 -0
  248. package/dist/matrix.sorterUi.unit.spec-66JMV5BK.js +338 -0
  249. package/dist/matrix.unit.spec-36AR4I43.js +150 -0
  250. package/dist/mavb-ZH4RO77H.js +727 -0
  251. package/dist/mds.fimo-MVP2G5PS.js +513 -0
  252. package/dist/mds.samplescatterplot-GYJ3OI4N.js +1545 -0
  253. package/dist/mds.survivalplot-Q6MYQGTB.js +477 -0
  254. package/dist/multivalue-BGFMPH4X.js +83 -0
  255. package/dist/numericDictTermCluster-FNNVLIWB.js +63 -0
  256. package/dist/oncomatrix-LIIALWWN.js +290 -0
  257. package/dist/oncomatrix.spec-NEMLM2ZN.js +443 -0
  258. package/dist/plot.2dvaf-HJO3SKNK.js +372 -0
  259. package/dist/plot.app-WSLFOFSR.js +36 -0
  260. package/dist/plot.barplot-SPI5JA37.js +97 -0
  261. package/dist/plot.boxplot-4W3XEY5I.js +146 -0
  262. package/dist/plot.brainImaging-KEOUTYIB.js +51 -0
  263. package/dist/plot.disco-7IDMKNAQ.js +99 -0
  264. package/dist/plot.ssgq-IOKUGDC4.js +134 -0
  265. package/dist/plot.vaf2cov-SFSZ6M43.js +253 -0
  266. package/dist/polar2-PLPE5TX5.js +232 -0
  267. package/dist/profileForms-ZDHG67GM.js +941 -0
  268. package/dist/profilePlot-UUZA2YG6.js +49 -0
  269. package/dist/proteinView-GHS3XARL.js +1357 -0
  270. package/dist/proteomeCohortCompare-TQ3BGIPS.js +912 -0
  271. package/dist/pseudbulk.unit.spec-HFESRN7A.js +86 -0
  272. package/dist/pseudbulk.unit.spec-HFESRN7A.js.map +7 -0
  273. package/dist/pseudobulk-ODXYIUD5.js +35 -0
  274. package/dist/qualitative-WOSYAIGQ.js +38 -0
  275. package/dist/radar2-2KXBS3Y3.js +327 -0
  276. package/dist/radarFacility2-JCOKJQQF.js +335 -0
  277. package/dist/rememberedGvQ.unit.spec-DYRO2LO5.js +211 -0
  278. package/dist/render-IJ6GE3NE.js +33 -0
  279. package/dist/report-WLLFUA7L.js +217 -0
  280. package/dist/sampleView-LPKSYUNF.js +43 -0
  281. package/dist/samplelst-MNI2MGMT.js +106 -0
  282. package/dist/samplematrix-KEKJP2B4.js +2193 -0
  283. package/dist/sc-ZYKFRJU4.js +81 -0
  284. package/dist/scatter-BAEZOFWA.js +88 -0
  285. package/dist/scatter-IGFBIZ3B.js +925 -0
  286. package/dist/scatter-IGFBIZ3B.js.map +7 -0
  287. package/dist/selectGenomeWithTklst-HBHRXEDY.js +129 -0
  288. package/dist/singleCellCellType-PMFDV24B.js +33 -0
  289. package/dist/singleCellCellType.unit.spec-ZLYDUDIY.js +154 -0
  290. package/dist/singleCellGeneExpression-SUYO3HR3.js +33 -0
  291. package/dist/singleCellGeneExpression.unit.spec-3N3HRXFN.js +148 -0
  292. package/dist/singleCellNumericValue-BV7C6Y34.js +33 -0
  293. package/dist/singleCellNumericValue.unit.spec-7VJOMYQ6.js +416 -0
  294. package/dist/singleCellNumericValue.unit.spec-7VJOMYQ6.js.map +7 -0
  295. package/dist/singleCellPlot-BG7UJOHA.js +48 -0
  296. package/dist/singlecell-BANNFGBS.js +81 -0
  297. package/dist/singlecell-ZUTL5ZWE.js +1566 -0
  298. package/dist/snp-BHG4NVK4.js +33 -0
  299. package/dist/snp.unit.spec-Q3AZHQRC.js +171 -0
  300. package/dist/snplocus-HTJL63M3.js +203 -0
  301. package/dist/spliceevent.a53ss.diagram-UKRIP7EP.js +146 -0
  302. package/dist/spliceevent.exonskip.diagram-CU777CXQ.js +278 -0
  303. package/dist/spliceevent.noeventdiagram-LGLXCF25.js +455 -0
  304. package/dist/ssGSEA-BIEEKAKX.js +33 -0
  305. package/dist/ssGSEA.unit.spec-YD4UDIRH.js +83 -0
  306. package/dist/stattable-LFR3RSD6.js +117 -0
  307. package/dist/studyCatalog-RINIZ277.js +414 -0
  308. package/dist/summarizeCnvGeneexp-ZQFNPR65.js +158 -0
  309. package/dist/summarizeGeneexpSurvival-GIS7XMMH.js +105 -0
  310. package/dist/summarizeMutationCnv-FWF7YIGR.js +159 -0
  311. package/dist/summarizeMutationDiagnosis-V5L2OKTK.js +35 -0
  312. package/dist/summarizeMutationSurvival-LAUUF6XN.js +99 -0
  313. package/dist/summary-OMU3ACNE.js +44 -0
  314. package/dist/summary.integration.spec-6JZAT73L.js +409 -0
  315. package/dist/summaryInput-QIKL3HDD.js +242 -0
  316. package/dist/sunburst-32IW2R57.js +278 -0
  317. package/dist/survival-BMOPVAN2.js +53 -0
  318. package/dist/survival-H5AWMQ36.js +1248 -0
  319. package/dist/survival.integration.spec-66UOWSZG.js +613 -0
  320. package/dist/survival.integration.spec-66UOWSZG.js.map +7 -0
  321. package/dist/svgraph-B75FS3BB.js +1382 -0
  322. package/dist/svmr-IUEUOHVO.js +3837 -0
  323. package/dist/table-YAAH7WR6.js +197 -0
  324. package/dist/termCollection-7F5ZG2DB.js +252 -0
  325. package/dist/termCollection-KNFUELYY.js +33 -0
  326. package/dist/termCollection.unit.spec-S6M6QC4C.js +299 -0
  327. package/dist/termCollectionFractionSelection-X22VMJWY.js +42 -0
  328. package/dist/termCollectionFractionSelection.unit.spec-ELU6SD7P.js +188 -0
  329. package/dist/tk-TT666UVE.js +41 -0
  330. package/dist/tk-UOPNJ323.js +1121 -0
  331. package/dist/tp.ui-HGAHRKO5.js +1454 -0
  332. package/dist/tvs.dt-H7YYR4EB.js +34 -0
  333. package/dist/tvs.dtcnv.categorical-IPJTKGMF.js +35 -0
  334. package/dist/tvs.dtcnv.continuous-XY5XZ4GH.js +67 -0
  335. package/dist/tvs.dtfusion-VFCBMXRM.js +35 -0
  336. package/dist/tvs.dtitd-RZVW6FTR.js +35 -0
  337. package/dist/tvs.dtsnvindel-IDPJWSGC.js +35 -0
  338. package/dist/tvs.dtsv-QERP756F.js +35 -0
  339. package/dist/tvs.samplelst-6KNDHBIU.js +98 -0
  340. package/dist/tvs.termCollection-GWPJK3NE.js +124 -0
  341. package/dist/vocabulary-C5FIZMPQ.js +36 -0
  342. package/dist/vocabulary-C5FIZMPQ.js.map +7 -0
  343. package/dist/wsi.direct-2RBCBXDA.js +8343 -0
  344. package/package.json +3 -3
  345. package/dist/2dmaf-32F56QBJ.js +0 -1367
  346. package/dist/AggMatrixInput-RDFMGV47.js +0 -277
  347. package/dist/AggMatrixInput-RDFMGV47.js.map +0 -7
  348. package/dist/AggregateMatrix-TPXNNWVD.js +0 -41
  349. package/dist/AppHeader-SEJXDJE3.js +0 -830
  350. package/dist/BoxPlot-LOAO2MDO.js +0 -1211
  351. package/dist/CorrelationVolcano-AU6ZAFPG.js +0 -614
  352. package/dist/CorrelationVolcano-AU6ZAFPG.js.map +0 -7
  353. package/dist/Cuminc-O533BXFY.js +0 -1219
  354. package/dist/DE-FDAUNOWU.js +0 -89
  355. package/dist/DEinput-TF2VYTIJ.js +0 -499
  356. package/dist/DM-42YN3OEO.js +0 -90
  357. package/dist/DifferentialAnalysis-H5NBPR3P.js +0 -237
  358. package/dist/DifferentialAnalysis-H5NBPR3P.js.map +0 -7
  359. package/dist/Disco-FGFHIKUR.js +0 -3389
  360. package/dist/Disco.UI-YGIU2JPM.js +0 -243
  361. package/dist/DmrPlot-EQFXMAW5.js +0 -637
  362. package/dist/DmrPlot-EQFXMAW5.js.map +0 -7
  363. package/dist/GB-244UT5VU.js +0 -1391
  364. package/dist/GB-244UT5VU.js.map +0 -7
  365. package/dist/GSEA-KXQBR3HH.js +0 -851
  366. package/dist/GSEA-KXQBR3HH.js.map +0 -7
  367. package/dist/GeneExpInput-ZY6SHXTX.js +0 -42
  368. package/dist/Geomap-6ZV4AM23.js +0 -84
  369. package/dist/HicApp-4UHX2YGP.js +0 -2245
  370. package/dist/IDCViewer-AB6LLO64.js +0 -10812
  371. package/dist/NumBinaryEditor-CGSO2T4L.js +0 -279
  372. package/dist/NumBinaryEditor.unit.spec-3QHARZQJ.js +0 -312
  373. package/dist/NumContEditor-YLKSC4Y2.js +0 -105
  374. package/dist/NumContEditor.unit.spec-L3GC3ZTJ.js +0 -164
  375. package/dist/NumCustomBinEditor-K3XSFHCC.js +0 -33
  376. package/dist/NumCustomBinEditor.unit.spec-2FUHE6BX.js +0 -397
  377. package/dist/NumDiscreteEditor-RJCSIW4R.js +0 -170
  378. package/dist/NumDiscreteEditor.unit.spec-CUA6BOIS.js +0 -233
  379. package/dist/NumRegularBinEditor-C3VIFDS4.js +0 -33
  380. package/dist/NumRegularBinEditor.unit.spec-V2UJ5FLH.js +0 -278
  381. package/dist/NumSplineEditor-XBE7OV7P.js +0 -210
  382. package/dist/NumSplineEditor.unit.spec-CKRRI4US.js +0 -224
  383. package/dist/NumericDensity-ZL7UY7TL.js +0 -33
  384. package/dist/NumericDensity.unit.spec-CWTMSR56.js +0 -418
  385. package/dist/NumericHandler-56ENFMNK.js +0 -34
  386. package/dist/NumericHandler.unit.spec-3YW34TTJ.js +0 -214
  387. package/dist/ProteomeInput-HIS4GYWH.js +0 -388
  388. package/dist/Regression-C5GZYLEN.js +0 -1416
  389. package/dist/Regression-C5GZYLEN.js.map +0 -7
  390. package/dist/RunChart2-X5WKYLPQ.js +0 -749
  391. package/dist/SC-3Y5J65DT.js +0 -1107
  392. package/dist/SC-3Y5J65DT.js.map +0 -7
  393. package/dist/Violin-F3QS2EMJ.js +0 -1082
  394. package/dist/Violin-F3QS2EMJ.js.map +0 -7
  395. package/dist/Volcano-ZNYDKP2O.js +0 -1649
  396. package/dist/Volcano-ZNYDKP2O.js.map +0 -7
  397. package/dist/Wsi-B6EIGTI2.js +0 -609
  398. package/dist/Wsi-B6EIGTI2.js.map +0 -7
  399. package/dist/adSandbox-A52OQSOW.js +0 -33
  400. package/dist/animatedBubbleChart-OQOZ3WFK.js +0 -547
  401. package/dist/app-4KIKXQX4.js +0 -32
  402. package/dist/app-NZUNKWKK.js +0 -42
  403. package/dist/bam-SME7YD3E.js +0 -876
  404. package/dist/barchart-ESY6FOS4.js +0 -42
  405. package/dist/barchart2-XEJZGCES.js +0 -309
  406. package/dist/block-747IK2EW.js +0 -6249
  407. package/dist/block-747IK2EW.js.map +0 -7
  408. package/dist/block.init-ITZ42K43.js +0 -33
  409. package/dist/block.mds.expressionrank-Q63IJAJK.js +0 -354
  410. package/dist/block.mds.geneboxplot-EZIKAIKC.js +0 -823
  411. package/dist/block.mds.junction-TJXFKZ2Q.js +0 -1539
  412. package/dist/block.mds.svcnv-WSIEAII6.js +0 -6796
  413. package/dist/block.svg-CQX5W6R4.js +0 -159
  414. package/dist/block.tk.aicheck-J4MQ4BSD.js +0 -278
  415. package/dist/block.tk.ase-2JFNPWCZ.js +0 -360
  416. package/dist/block.tk.bam-RBQ4AXSQ.js +0 -1901
  417. package/dist/block.tk.bedgraphdot-ZQBOMVTO.js +0 -379
  418. package/dist/block.tk.bigwig.ui-U5IBO3VF.js +0 -206
  419. package/dist/block.tk.hicstraw-ZRZMFLLX.js +0 -818
  420. package/dist/block.tk.junction-7U7ABE4O.js +0 -2358
  421. package/dist/block.tk.junction.textmatrixui-AEXZ7W3U.js +0 -194
  422. package/dist/block.tk.ld-E7WPFL5P.js +0 -94
  423. package/dist/block.tk.menu-AITMEZTZ.js +0 -1024
  424. package/dist/block.tk.pgv-EDPZHI5L.js +0 -938
  425. package/dist/brainImaging-35LPNBDR.js +0 -555
  426. package/dist/brainRegions-JMTQT4X3.js +0 -217
  427. package/dist/bubbleHeatmap-FMBKMDUL.js +0 -378
  428. package/dist/cellTypeBubbleHeatmap-ZPTAGEWW.js +0 -278
  429. package/dist/chunk-2GBG3KA7.js +0 -129
  430. package/dist/chunk-2IVN5DWA.js +0 -302
  431. package/dist/chunk-36AAUYZE.js +0 -194
  432. package/dist/chunk-3K7AYA3M.js +0 -54
  433. package/dist/chunk-4JFFFGL3.js +0 -468
  434. package/dist/chunk-4KJSNR5E.js +0 -562
  435. package/dist/chunk-52QHIKH2.js +0 -2139
  436. package/dist/chunk-52QHIKH2.js.map +0 -7
  437. package/dist/chunk-5ALGKNTQ.js +0 -6360
  438. package/dist/chunk-5JCTTSV4.js +0 -480
  439. package/dist/chunk-5W7K7STT.js +0 -26
  440. package/dist/chunk-6CIGRV5K.js +0 -677
  441. package/dist/chunk-6CIGRV5K.js.map +0 -7
  442. package/dist/chunk-6U2OPC6J.js +0 -176
  443. package/dist/chunk-7AHTS4BP.js +0 -382
  444. package/dist/chunk-7HFAEB3C.js +0 -55
  445. package/dist/chunk-7HGZRJZZ.js +0 -98
  446. package/dist/chunk-A2ORIMUJ.js +0 -339
  447. package/dist/chunk-A32SGNCT.js +0 -1233
  448. package/dist/chunk-AKA6RWLC.js +0 -217
  449. package/dist/chunk-AMVZ6KT5.js +0 -240
  450. package/dist/chunk-ASXUC6SM.js +0 -54
  451. package/dist/chunk-BCO5T43J.js +0 -379
  452. package/dist/chunk-BDQPMVKD.js +0 -783
  453. package/dist/chunk-BOQZOLRA.js +0 -274
  454. package/dist/chunk-BSCMVKBP.js +0 -5071
  455. package/dist/chunk-BZN2O76M.js +0 -119
  456. package/dist/chunk-BZZZQFTI.js +0 -34
  457. package/dist/chunk-CRHGXVUQ.js +0 -272
  458. package/dist/chunk-D6AB63O3.js +0 -216
  459. package/dist/chunk-D6AB63O3.js.map +0 -7
  460. package/dist/chunk-DPQP2GUW.js +0 -626
  461. package/dist/chunk-EKQ7NYOU.js +0 -276
  462. package/dist/chunk-EUQEQOFE.js +0 -141
  463. package/dist/chunk-FKA55PHV.js +0 -281
  464. package/dist/chunk-GVLWCGXX.js +0 -397
  465. package/dist/chunk-HLVWCJRO.js +0 -518
  466. package/dist/chunk-HPAW7XDM.js +0 -178
  467. package/dist/chunk-HPAW7XDM.js.map +0 -7
  468. package/dist/chunk-IV57XNTG.js +0 -123
  469. package/dist/chunk-JMAFJKGG.js +0 -243
  470. package/dist/chunk-JZHRVYNS.js +0 -2676
  471. package/dist/chunk-K6YUMBDY.js +0 -55
  472. package/dist/chunk-K6YUMBDY.js.map +0 -7
  473. package/dist/chunk-KTKZSYIH.js +0 -24
  474. package/dist/chunk-KTKZSYIH.js.map +0 -7
  475. package/dist/chunk-L6WNBKYN.js +0 -158
  476. package/dist/chunk-LGR6CJTW.js +0 -2853
  477. package/dist/chunk-LOWJQFCC.js +0 -550
  478. package/dist/chunk-M5SYLBBC.js +0 -2327
  479. package/dist/chunk-MKAILEWO.js +0 -59
  480. package/dist/chunk-N4PDPZWQ.js +0 -4366
  481. package/dist/chunk-N4PDPZWQ.js.map +0 -7
  482. package/dist/chunk-OIJ6GRVS.js +0 -134
  483. package/dist/chunk-ONVIVITY.js +0 -203
  484. package/dist/chunk-OQX3HO46.js +0 -56
  485. package/dist/chunk-OQX3HO46.js.map +0 -7
  486. package/dist/chunk-OYLGAFFY.js +0 -31
  487. package/dist/chunk-P7DIIYCX.js +0 -197
  488. package/dist/chunk-P7DIIYCX.js.map +0 -7
  489. package/dist/chunk-PC4MFDHP.js +0 -24613
  490. package/dist/chunk-PC4MFDHP.js.map +0 -7
  491. package/dist/chunk-PGKOJYV6.js +0 -50
  492. package/dist/chunk-PGKOJYV6.js.map +0 -7
  493. package/dist/chunk-PPSWNLMG.js +0 -402
  494. package/dist/chunk-PPSWNLMG.js.map +0 -7
  495. package/dist/chunk-R624P2GE.js +0 -263
  496. package/dist/chunk-RBSAEAQV.js +0 -446
  497. package/dist/chunk-RUBZCKIX.js +0 -1608
  498. package/dist/chunk-RUBZCKIX.js.map +0 -7
  499. package/dist/chunk-RZ3KEFZ2.js +0 -339
  500. package/dist/chunk-SS66BHGA.js +0 -103
  501. package/dist/chunk-SU63FEY6.js +0 -294
  502. package/dist/chunk-SVC65ZPG.js +0 -102
  503. package/dist/chunk-TG3QBMDK.js +0 -102
  504. package/dist/chunk-TMXW5HVE.js +0 -1278
  505. package/dist/chunk-TPDBOH3A.js +0 -1339
  506. package/dist/chunk-U5RWKZVS.js +0 -1720
  507. package/dist/chunk-U5RWKZVS.js.map +0 -7
  508. package/dist/chunk-UYKZ5HXA.js +0 -1986
  509. package/dist/chunk-VOYUJJQ6.js +0 -70
  510. package/dist/chunk-W4RYRU5D.js +0 -38
  511. package/dist/chunk-WFSMIVJT.js +0 -2784
  512. package/dist/chunk-Y4PX2ECH.js +0 -299
  513. package/dist/chunk-YKM46UX5.js +0 -170
  514. package/dist/chunk-Z7AO6A7M.js +0 -14
  515. package/dist/chunk-ZENZ5H2Q.js +0 -49
  516. package/dist/cohort-Q7TW5XTY.js +0 -70
  517. package/dist/condition-H6LBUHIF.js +0 -327
  518. package/dist/controls-DWDKFDXY.js +0 -34
  519. package/dist/controls.config-KF7PHZSG.js +0 -34
  520. package/dist/correlation-YMSARIER.js +0 -95
  521. package/dist/customdata.inputui-KEFE7ZHS.js +0 -284
  522. package/dist/dataDownload-G7TGPFGL.js +0 -329
  523. package/dist/databrowser.ui-NFIIFQJZ.js +0 -425
  524. package/dist/dictionary-ERJQMALC.js +0 -113
  525. package/dist/dnaMethylation-KVCXKAU3.js +0 -33
  526. package/dist/dnaMethylation.integration.spec-3NXGGG4J.js +0 -198
  527. package/dist/dofetch-YRWLEQEH.js +0 -48
  528. package/dist/e2pca-M2F2CI6I.js +0 -344
  529. package/dist/ep-QAEG4RV4.js +0 -1249
  530. package/dist/expclust.gdc.spec-P77T6JR2.js +0 -302
  531. package/dist/facet-LJTSTASE.js +0 -519
  532. package/dist/gb-KSB2DQHH.js +0 -81
  533. package/dist/geneExpClustering-KHDCPE65.js +0 -244
  534. package/dist/geneExpression-AWWMOUAR.js +0 -310
  535. package/dist/geneExpression-Z2EDR6EN.js +0 -33
  536. package/dist/geneExpression.unit.spec-WB2ESPKT.js +0 -128
  537. package/dist/geneExpression.unit.spec-WB2ESPKT.js.map +0 -7
  538. package/dist/geneORA-NGZTMFSJ.js +0 -273
  539. package/dist/geneRanking-AYNBGFKU.js +0 -548
  540. package/dist/geneVariant-AL64NDHH.js +0 -36
  541. package/dist/geneVariant-QMKR3LUV.js +0 -286
  542. package/dist/geneVariant-QMKR3LUV.js.map +0 -7
  543. package/dist/geneVariant.integration.spec-N3U5CIRT.js +0 -489
  544. package/dist/geneVariant.integration.spec-N3U5CIRT.js.map +0 -7
  545. package/dist/genefusion.ui-IWJMF2BM.js +0 -303
  546. package/dist/geneset-APCO4BRX.js +0 -203
  547. package/dist/genomeBrowser.spec-JTCVUTO5.js +0 -276
  548. package/dist/grin2-FVX6AIST.js +0 -70
  549. package/dist/grin2-LF46UKFY.js +0 -1137
  550. package/dist/grin2-LF46UKFY.js.map +0 -7
  551. package/dist/hierCluster-4DRHXD6W.js +0 -55
  552. package/dist/hierCluster-SFRQK3PS.js +0 -59
  553. package/dist/hierCluster.config-G2TFGBYF.js +0 -36
  554. package/dist/hierCluster.integration.spec-ZUZKCG6A.js +0 -483
  555. package/dist/hierCluster.interactivity-LQA6J56H.js +0 -49
  556. package/dist/hierCluster.renderers-TZZJEVFO.js +0 -19
  557. package/dist/imagePlot-OUHFWYKT.js +0 -156
  558. package/dist/importPlot-7V456QK7.js +0 -8
  559. package/dist/isoformExpression-NGUJJ6VI.js +0 -35
  560. package/dist/isoformExpression.unit.spec-DCRPXPBY.js +0 -237
  561. package/dist/junction-QYKLNXIW.js +0 -36
  562. package/dist/junction.customTerm-EHOOBR4V.js +0 -16
  563. package/dist/junction.unit.spec-LDNY7OFK.js +0 -182
  564. package/dist/launch.adhoc-FF7B3UG6.js +0 -37
  565. package/dist/leftlabel.sample-BTHMKLGF.js +0 -258
  566. package/dist/lollipop-H3UCNMHN.js +0 -166
  567. package/dist/maf-KWGUTPKO.js +0 -455
  568. package/dist/maftimeline-UD5VE4UW.js +0 -587
  569. package/dist/matrix-DLCX6GOO.js +0 -59
  570. package/dist/matrix-TIV42IQB.js +0 -54
  571. package/dist/matrix.cells-J3QZ7C6U.js +0 -26
  572. package/dist/matrix.config-VNMS6B7J.js +0 -37
  573. package/dist/matrix.data-PIE3TLKD.js +0 -23
  574. package/dist/matrix.groups-URBU775S.js +0 -26
  575. package/dist/matrix.integration.spec-LC6YMEKP.js +0 -3160
  576. package/dist/matrix.integration.spec-LC6YMEKP.js.map +0 -7
  577. package/dist/matrix.interactivity-W5AFOAQN.js +0 -37
  578. package/dist/matrix.layout-LU3NIJAL.js +0 -39
  579. package/dist/matrix.legend-LTP6ETZO.js +0 -20
  580. package/dist/matrix.renderers-762XI65L.js +0 -34
  581. package/dist/matrix.serieses-FHDBRPZA.js +0 -19
  582. package/dist/matrix.sort-Q6A6UWMY.js +0 -26
  583. package/dist/matrix.sort.unit.spec-CTCOPKVS.js +0 -468
  584. package/dist/matrix.sorterUi-4M5AU5EL.js +0 -16
  585. package/dist/matrix.sorterUi.unit.spec-Y7GC3PM5.js +0 -338
  586. package/dist/matrix.unit.spec-DROPHFTM.js +0 -150
  587. package/dist/mavb-BWA73N3U.js +0 -727
  588. package/dist/mds.fimo-3UJWIH2J.js +0 -513
  589. package/dist/mds.samplescatterplot-EUS7DCSQ.js +0 -1545
  590. package/dist/mds.survivalplot-77UEBQIC.js +0 -477
  591. package/dist/multivalue-KZ2DMVIR.js +0 -83
  592. package/dist/numericDictTermCluster-C2MYJYPZ.js +0 -63
  593. package/dist/oncomatrix-6LGB3M7R.js +0 -290
  594. package/dist/oncomatrix.spec-UWMSLOHW.js +0 -443
  595. package/dist/plot.2dvaf-LZAVWH65.js +0 -372
  596. package/dist/plot.app-OEWE3AYV.js +0 -36
  597. package/dist/plot.barplot-VIBHGTUT.js +0 -97
  598. package/dist/plot.boxplot-NQI3PSKR.js +0 -146
  599. package/dist/plot.brainImaging-3MTTCZHI.js +0 -51
  600. package/dist/plot.disco-HODBY7SO.js +0 -99
  601. package/dist/plot.ssgq-4URQE673.js +0 -134
  602. package/dist/plot.vaf2cov-QIJNEKCK.js +0 -253
  603. package/dist/polar2-GVFQNSLK.js +0 -232
  604. package/dist/profileForms-Z22CJXI4.js +0 -941
  605. package/dist/profilePlot-IVQZBSID.js +0 -49
  606. package/dist/proteinView-AUK634AU.js +0 -1357
  607. package/dist/proteomeCohortCompare-7G2F35H5.js +0 -912
  608. package/dist/pseudbulk.unit.spec-JDKUQUCM.js +0 -106
  609. package/dist/pseudbulk.unit.spec-JDKUQUCM.js.map +0 -7
  610. package/dist/pseudobulk-QTCUSH5I.js +0 -37
  611. package/dist/qualitative-7ST7SSBT.js +0 -38
  612. package/dist/radar2-CEE6SNBS.js +0 -327
  613. package/dist/radarFacility2-OSKDYIK7.js +0 -335
  614. package/dist/rememberedGvQ.unit.spec-RYFUJ2NW.js +0 -211
  615. package/dist/render-MAD3WMVD.js +0 -33
  616. package/dist/report-6JXJVSEB.js +0 -217
  617. package/dist/sampleView-SG3QYZKQ.js +0 -43
  618. package/dist/samplelst-R765UFP6.js +0 -106
  619. package/dist/samplematrix-EBJYE5SM.js +0 -2193
  620. package/dist/sc-7ZXPFDHD.js +0 -81
  621. package/dist/scatter-3GUL4KF3.js +0 -88
  622. package/dist/scatter-RHUVER53.js +0 -920
  623. package/dist/scatter-RHUVER53.js.map +0 -7
  624. package/dist/selectGenomeWithTklst-K4YXGJYG.js +0 -129
  625. package/dist/singleCellCellType-TU5VTPLP.js +0 -33
  626. package/dist/singleCellCellType.unit.spec-IRITQIGT.js +0 -154
  627. package/dist/singleCellGeneExpression-3IL52QDK.js +0 -33
  628. package/dist/singleCellGeneExpression.unit.spec-WXC4C37T.js +0 -148
  629. package/dist/singleCellPlot-XG3HZS7I.js +0 -48
  630. package/dist/singlecell-BRF2HAV2.js +0 -81
  631. package/dist/singlecell-KVCJF2HI.js +0 -1566
  632. package/dist/snp-RMZRB426.js +0 -33
  633. package/dist/snp.unit.spec-JF6KR2NT.js +0 -171
  634. package/dist/snplocus-AHUFHQ3Q.js +0 -203
  635. package/dist/spliceevent.a53ss.diagram-OSZZ2CF2.js +0 -146
  636. package/dist/spliceevent.exonskip.diagram-AMA2D2OL.js +0 -278
  637. package/dist/spliceevent.noeventdiagram-RKTUXH5D.js +0 -455
  638. package/dist/ssGSEA-7RKWYZKX.js +0 -33
  639. package/dist/ssGSEA.unit.spec-XLCZHH7S.js +0 -83
  640. package/dist/stattable-NDYUCLVZ.js +0 -117
  641. package/dist/studyCatalog-TAXRF5NS.js +0 -414
  642. package/dist/summarizeCnvGeneexp-3QLHU6N7.js +0 -158
  643. package/dist/summarizeGeneexpSurvival-ARI4MPFX.js +0 -105
  644. package/dist/summarizeMutationCnv-W7V7CKPI.js +0 -159
  645. package/dist/summarizeMutationDiagnosis-GCL4SRON.js +0 -35
  646. package/dist/summarizeMutationSurvival-6TTMSRRX.js +0 -99
  647. package/dist/summary-OUYDWLBF.js +0 -44
  648. package/dist/summary.integration.spec-4GTCG6HY.js +0 -409
  649. package/dist/summaryInput-UK3TLC7M.js +0 -242
  650. package/dist/sunburst-2UFHMNH3.js +0 -278
  651. package/dist/survival-SPWYSDVB.js +0 -53
  652. package/dist/survival-TL6UZ6FQ.js +0 -1248
  653. package/dist/survival.integration.spec-WWZELTKZ.js +0 -613
  654. package/dist/survival.integration.spec-WWZELTKZ.js.map +0 -7
  655. package/dist/svgraph-Z543MLIN.js +0 -1382
  656. package/dist/svmr-SZCAOAIF.js +0 -3837
  657. package/dist/table-IAQ6J4DO.js +0 -197
  658. package/dist/termCollection-3NGHR7QN.js +0 -252
  659. package/dist/termCollection-7P3WU6X6.js +0 -33
  660. package/dist/termCollection.unit.spec-EPYC7LOA.js +0 -299
  661. package/dist/termCollectionFractionSelection-YKIE6BME.js +0 -42
  662. package/dist/termCollectionFractionSelection.unit.spec-AG2CZPGZ.js +0 -188
  663. package/dist/tk-TOXMU4GT.js +0 -1121
  664. package/dist/tk-X454XH5N.js +0 -41
  665. package/dist/tp.ui-FDQ76KPL.js +0 -1454
  666. package/dist/tvs.dt-U77PCG6X.js +0 -34
  667. package/dist/tvs.dtcnv.categorical-XYZU4XLO.js +0 -35
  668. package/dist/tvs.dtcnv.continuous-4GJILFGP.js +0 -67
  669. package/dist/tvs.dtfusion-7YROAHVI.js +0 -35
  670. package/dist/tvs.dtitd-MIYU4ZHH.js +0 -35
  671. package/dist/tvs.dtsnvindel-XLDY7KWB.js +0 -35
  672. package/dist/tvs.dtsv-YMLJ37YR.js +0 -35
  673. package/dist/tvs.samplelst-KIVEXJKD.js +0 -98
  674. package/dist/tvs.termCollection-4CQV3EB3.js +0 -124
  675. package/dist/vocabulary-64GO4YDB.js +0 -36
  676. package/dist/wsi.direct-5MQVRJZX.js +0 -8343
  677. /package/dist/{2dmaf-32F56QBJ.js.map → 2dmaf-VTMPVZGT.js.map} +0 -0
  678. /package/dist/{AggregateMatrix-TPXNNWVD.js.map → AggregateMatrix-DPCHUOMF.js.map} +0 -0
  679. /package/dist/{AppHeader-SEJXDJE3.js.map → AppHeader-RA7T467G.js.map} +0 -0
  680. /package/dist/{BoxPlot-LOAO2MDO.js.map → BoxPlot-7Q7SMT26.js.map} +0 -0
  681. /package/dist/{Cuminc-O533BXFY.js.map → Cuminc-ZN53C3MD.js.map} +0 -0
  682. /package/dist/{DE-FDAUNOWU.js.map → DE-BEWW5AIG.js.map} +0 -0
  683. /package/dist/{DEinput-TF2VYTIJ.js.map → DEinput-SJITUJF2.js.map} +0 -0
  684. /package/dist/{DM-42YN3OEO.js.map → DM-2LBNE4WE.js.map} +0 -0
  685. /package/dist/{Disco-FGFHIKUR.js.map → Disco-PTZQF7IM.js.map} +0 -0
  686. /package/dist/{Disco.UI-YGIU2JPM.js.map → Disco.UI-NBR67N5M.js.map} +0 -0
  687. /package/dist/{GeneExpInput-ZY6SHXTX.js.map → GeneExpInput-DYBK54HC.js.map} +0 -0
  688. /package/dist/{Geomap-6ZV4AM23.js.map → Geomap-QRD2WZVL.js.map} +0 -0
  689. /package/dist/{HicApp-4UHX2YGP.js.map → HicApp-VKET4QHD.js.map} +0 -0
  690. /package/dist/{IDCViewer-AB6LLO64.js.map → IDCViewer-RLLTXGD7.js.map} +0 -0
  691. /package/dist/{NumBinaryEditor-CGSO2T4L.js.map → NumBinaryEditor-GYHOYPQL.js.map} +0 -0
  692. /package/dist/{NumBinaryEditor.unit.spec-3QHARZQJ.js.map → NumBinaryEditor.unit.spec-E2HKBWOO.js.map} +0 -0
  693. /package/dist/{NumContEditor-YLKSC4Y2.js.map → NumContEditor-3V76ZSEY.js.map} +0 -0
  694. /package/dist/{NumContEditor.unit.spec-L3GC3ZTJ.js.map → NumContEditor.unit.spec-RTT5Q5E5.js.map} +0 -0
  695. /package/dist/{NumCustomBinEditor-K3XSFHCC.js.map → NumCustomBinEditor-O5DMPY7H.js.map} +0 -0
  696. /package/dist/{NumCustomBinEditor.unit.spec-2FUHE6BX.js.map → NumCustomBinEditor.unit.spec-5LZBP2JL.js.map} +0 -0
  697. /package/dist/{NumDiscreteEditor-RJCSIW4R.js.map → NumDiscreteEditor-DFOJ7AIH.js.map} +0 -0
  698. /package/dist/{NumDiscreteEditor.unit.spec-CUA6BOIS.js.map → NumDiscreteEditor.unit.spec-PPJGEBFX.js.map} +0 -0
  699. /package/dist/{NumRegularBinEditor-C3VIFDS4.js.map → NumRegularBinEditor-O6RDO32C.js.map} +0 -0
  700. /package/dist/{NumRegularBinEditor.unit.spec-V2UJ5FLH.js.map → NumRegularBinEditor.unit.spec-GOB3BF25.js.map} +0 -0
  701. /package/dist/{NumSplineEditor-XBE7OV7P.js.map → NumSplineEditor-PUXJF2RW.js.map} +0 -0
  702. /package/dist/{NumSplineEditor.unit.spec-CKRRI4US.js.map → NumSplineEditor.unit.spec-4VOAAMOU.js.map} +0 -0
  703. /package/dist/{NumericDensity-ZL7UY7TL.js.map → NumericDensity-E6MH2THZ.js.map} +0 -0
  704. /package/dist/{NumericDensity.unit.spec-CWTMSR56.js.map → NumericDensity.unit.spec-IRPFBQUS.js.map} +0 -0
  705. /package/dist/{NumericHandler-56ENFMNK.js.map → NumericHandler-42RR54X3.js.map} +0 -0
  706. /package/dist/{NumericHandler.unit.spec-3YW34TTJ.js.map → NumericHandler.unit.spec-YYOO7XVT.js.map} +0 -0
  707. /package/dist/{ProteomeInput-HIS4GYWH.js.map → ProteomeInput-4N2G6IFX.js.map} +0 -0
  708. /package/dist/{RunChart2-X5WKYLPQ.js.map → RunChart2-VAX5JGZY.js.map} +0 -0
  709. /package/dist/{adSandbox-A52OQSOW.js.map → adSandbox-CLMUYNC3.js.map} +0 -0
  710. /package/dist/{animatedBubbleChart-OQOZ3WFK.js.map → animatedBubbleChart-GMLNYTQC.js.map} +0 -0
  711. /package/dist/{app-4KIKXQX4.js.map → app-2SFDRDN2.js.map} +0 -0
  712. /package/dist/{app-NZUNKWKK.js.map → app-QOZ36UR4.js.map} +0 -0
  713. /package/dist/{bam-SME7YD3E.js.map → bam-LLAK7FVG.js.map} +0 -0
  714. /package/dist/{barchart-ESY6FOS4.js.map → barchart-SEC6VKQ2.js.map} +0 -0
  715. /package/dist/{barchart2-XEJZGCES.js.map → barchart2-D4FXZCTU.js.map} +0 -0
  716. /package/dist/{block.init-ITZ42K43.js.map → block.init-UMRCAKCF.js.map} +0 -0
  717. /package/dist/{block.mds.expressionrank-Q63IJAJK.js.map → block.mds.expressionrank-LFPJ52SX.js.map} +0 -0
  718. /package/dist/{block.mds.geneboxplot-EZIKAIKC.js.map → block.mds.geneboxplot-2QIEN6AH.js.map} +0 -0
  719. /package/dist/{block.mds.junction-TJXFKZ2Q.js.map → block.mds.junction-Z4HUFSG2.js.map} +0 -0
  720. /package/dist/{block.mds.svcnv-WSIEAII6.js.map → block.mds.svcnv-3GXGY6ET.js.map} +0 -0
  721. /package/dist/{block.svg-CQX5W6R4.js.map → block.svg-7RCJLMAP.js.map} +0 -0
  722. /package/dist/{block.tk.aicheck-J4MQ4BSD.js.map → block.tk.aicheck-5N6EGZ6F.js.map} +0 -0
  723. /package/dist/{block.tk.ase-2JFNPWCZ.js.map → block.tk.ase-V3AJRYT6.js.map} +0 -0
  724. /package/dist/{block.tk.bam-RBQ4AXSQ.js.map → block.tk.bam-W6QOVVEU.js.map} +0 -0
  725. /package/dist/{block.tk.bedgraphdot-ZQBOMVTO.js.map → block.tk.bedgraphdot-FKTPJZTH.js.map} +0 -0
  726. /package/dist/{block.tk.bigwig.ui-U5IBO3VF.js.map → block.tk.bigwig.ui-Y3M2TDM2.js.map} +0 -0
  727. /package/dist/{block.tk.hicstraw-ZRZMFLLX.js.map → block.tk.hicstraw-3SWYTMFQ.js.map} +0 -0
  728. /package/dist/{block.tk.junction-7U7ABE4O.js.map → block.tk.junction-OXB22PDS.js.map} +0 -0
  729. /package/dist/{block.tk.junction.textmatrixui-AEXZ7W3U.js.map → block.tk.junction.textmatrixui-PWBLRGCO.js.map} +0 -0
  730. /package/dist/{block.tk.ld-E7WPFL5P.js.map → block.tk.ld-NTRJL5GA.js.map} +0 -0
  731. /package/dist/{block.tk.menu-AITMEZTZ.js.map → block.tk.menu-JIHSGGIO.js.map} +0 -0
  732. /package/dist/{block.tk.pgv-EDPZHI5L.js.map → block.tk.pgv-4Q6CY6QN.js.map} +0 -0
  733. /package/dist/{brainImaging-35LPNBDR.js.map → brainImaging-MBI4XTTU.js.map} +0 -0
  734. /package/dist/{brainRegions-JMTQT4X3.js.map → brainRegions-YVTAESRP.js.map} +0 -0
  735. /package/dist/{bubbleHeatmap-FMBKMDUL.js.map → bubbleHeatmap-ZKTA3AIG.js.map} +0 -0
  736. /package/dist/{cellTypeBubbleHeatmap-ZPTAGEWW.js.map → cellTypeBubbleHeatmap-GJZNXDG4.js.map} +0 -0
  737. /package/dist/{chunk-5ALGKNTQ.js.map → chunk-2RMSV4BS.js.map} +0 -0
  738. /package/dist/{chunk-Y4PX2ECH.js.map → chunk-33BE7AYS.js.map} +0 -0
  739. /package/dist/{chunk-BZN2O76M.js.map → chunk-3FEP6B5T.js.map} +0 -0
  740. /package/dist/{chunk-W4RYRU5D.js.map → chunk-4G73CMUL.js.map} +0 -0
  741. /package/dist/{chunk-FKA55PHV.js.map → chunk-5FRETII3.js.map} +0 -0
  742. /package/dist/{chunk-YKM46UX5.js.map → chunk-5LYVIIYR.js.map} +0 -0
  743. /package/dist/{chunk-A2ORIMUJ.js.map → chunk-6FG6JFZP.js.map} +0 -0
  744. /package/dist/{chunk-VOYUJJQ6.js.map → chunk-6LDKSKYQ.js.map} +0 -0
  745. /package/dist/{chunk-CRHGXVUQ.js.map → chunk-7FFTAYT4.js.map} +0 -0
  746. /package/dist/{chunk-RZ3KEFZ2.js.map → chunk-7GDRMBNO.js.map} +0 -0
  747. /package/dist/{chunk-UYKZ5HXA.js.map → chunk-A2UUXYH6.js.map} +0 -0
  748. /package/dist/{chunk-LGR6CJTW.js.map → chunk-AFQKYV4D.js.map} +0 -0
  749. /package/dist/{chunk-EKQ7NYOU.js.map → chunk-ANACCKCQ.js.map} +0 -0
  750. /package/dist/{chunk-4KJSNR5E.js.map → chunk-AR3HXZIW.js.map} +0 -0
  751. /package/dist/{chunk-RBSAEAQV.js.map → chunk-AVCEHJG7.js.map} +0 -0
  752. /package/dist/{chunk-OIJ6GRVS.js.map → chunk-BG3SGGVB.js.map} +0 -0
  753. /package/dist/{chunk-7AHTS4BP.js.map → chunk-CFZ2ZW3E.js.map} +0 -0
  754. /package/dist/{chunk-5W7K7STT.js.map → chunk-CKOU3P27.js.map} +0 -0
  755. /package/dist/{chunk-GVLWCGXX.js.map → chunk-CN6KJORZ.js.map} +0 -0
  756. /package/dist/{chunk-ONVIVITY.js.map → chunk-CYWEYHJQ.js.map} +0 -0
  757. /package/dist/{chunk-L6WNBKYN.js.map → chunk-D5ETVOOE.js.map} +0 -0
  758. /package/dist/{chunk-TG3QBMDK.js.map → chunk-DANF4CC5.js.map} +0 -0
  759. /package/dist/{chunk-TPDBOH3A.js.map → chunk-DNCFJTPI.js.map} +0 -0
  760. /package/dist/{chunk-5JCTTSV4.js.map → chunk-FNW6BKOA.js.map} +0 -0
  761. /package/dist/{chunk-3K7AYA3M.js.map → chunk-FR5USNAT.js.map} +0 -0
  762. /package/dist/{chunk-DPQP2GUW.js.map → chunk-GYE6FU7P.js.map} +0 -0
  763. /package/dist/{chunk-TMXW5HVE.js.map → chunk-IEIGHCZS.js.map} +0 -0
  764. /package/dist/{chunk-BSCMVKBP.js.map → chunk-JMDUO47F.js.map} +0 -0
  765. /package/dist/{chunk-ASXUC6SM.js.map → chunk-JTANDSTD.js.map} +0 -0
  766. /package/dist/{chunk-BCO5T43J.js.map → chunk-JTQPPUDG.js.map} +0 -0
  767. /package/dist/{chunk-2IVN5DWA.js.map → chunk-K32DV4QI.js.map} +0 -0
  768. /package/dist/{chunk-7HGZRJZZ.js.map → chunk-K77W4SSI.js.map} +0 -0
  769. /package/dist/{chunk-SVC65ZPG.js.map → chunk-KEHVNCFK.js.map} +0 -0
  770. /package/dist/{chunk-7HFAEB3C.js.map → chunk-MMKSXXU2.js.map} +0 -0
  771. /package/dist/{chunk-OYLGAFFY.js.map → chunk-NDOKW2HJ.js.map} +0 -0
  772. /package/dist/{chunk-HLVWCJRO.js.map → chunk-NGMM2MNC.js.map} +0 -0
  773. /package/dist/{chunk-JZHRVYNS.js.map → chunk-OEBGQKQR.js.map} +0 -0
  774. /package/dist/{chunk-4JFFFGL3.js.map → chunk-OI5KBFBE.js.map} +0 -0
  775. /package/dist/{chunk-JMAFJKGG.js.map → chunk-OWEBE64A.js.map} +0 -0
  776. /package/dist/{chunk-BDQPMVKD.js.map → chunk-P7X4LDW4.js.map} +0 -0
  777. /package/dist/{chunk-MKAILEWO.js.map → chunk-QD75Q5LM.js.map} +0 -0
  778. /package/dist/{chunk-EUQEQOFE.js.map → chunk-QGH5BM2D.js.map} +0 -0
  779. /package/dist/{chunk-AMVZ6KT5.js.map → chunk-QSOFGLWZ.js.map} +0 -0
  780. /package/dist/{chunk-AKA6RWLC.js.map → chunk-QXDGIQYA.js.map} +0 -0
  781. /package/dist/{chunk-6U2OPC6J.js.map → chunk-R2QE6ROO.js.map} +0 -0
  782. /package/dist/{chunk-SS66BHGA.js.map → chunk-RMHUDMZ7.js.map} +0 -0
  783. /package/dist/{chunk-IV57XNTG.js.map → chunk-SXB4IZQ7.js.map} +0 -0
  784. /package/dist/{chunk-R624P2GE.js.map → chunk-TYR355RM.js.map} +0 -0
  785. /package/dist/{chunk-WFSMIVJT.js.map → chunk-ULZPHJYD.js.map} +0 -0
  786. /package/dist/{chunk-Z7AO6A7M.js.map → chunk-VFUSBU43.js.map} +0 -0
  787. /package/dist/{chunk-BOQZOLRA.js.map → chunk-VOF6NWTS.js.map} +0 -0
  788. /package/dist/{chunk-M5SYLBBC.js.map → chunk-WGDJX7WZ.js.map} +0 -0
  789. /package/dist/{chunk-SU63FEY6.js.map → chunk-WIQVSCD5.js.map} +0 -0
  790. /package/dist/{chunk-2GBG3KA7.js.map → chunk-X4MV2M5F.js.map} +0 -0
  791. /package/dist/{chunk-ZENZ5H2Q.js.map → chunk-YHP7MYB7.js.map} +0 -0
  792. /package/dist/{chunk-LOWJQFCC.js.map → chunk-YHWQWVWX.js.map} +0 -0
  793. /package/dist/{chunk-A32SGNCT.js.map → chunk-YKZOQTT4.js.map} +0 -0
  794. /package/dist/{chunk-BZZZQFTI.js.map → chunk-Z5HU276I.js.map} +0 -0
  795. /package/dist/{chunk-36AAUYZE.js.map → chunk-Z6MCBFDM.js.map} +0 -0
  796. /package/dist/{cohort-Q7TW5XTY.js.map → cohort-GVAJTICQ.js.map} +0 -0
  797. /package/dist/{condition-H6LBUHIF.js.map → condition-EGPNMM47.js.map} +0 -0
  798. /package/dist/{controls-DWDKFDXY.js.map → controls-HBROSXHF.js.map} +0 -0
  799. /package/dist/{controls.config-KF7PHZSG.js.map → controls.config-FWKV66TU.js.map} +0 -0
  800. /package/dist/{correlation-YMSARIER.js.map → correlation-CEHE66EC.js.map} +0 -0
  801. /package/dist/{customdata.inputui-KEFE7ZHS.js.map → customdata.inputui-LFT3N5FD.js.map} +0 -0
  802. /package/dist/{dataDownload-G7TGPFGL.js.map → dataDownload-ZPAIAAE4.js.map} +0 -0
  803. /package/dist/{databrowser.ui-NFIIFQJZ.js.map → databrowser.ui-W5JGFBE6.js.map} +0 -0
  804. /package/dist/{dictionary-ERJQMALC.js.map → dictionary-RBE2CIZI.js.map} +0 -0
  805. /package/dist/{dnaMethylation-KVCXKAU3.js.map → dnaMethylation-CX22TSRO.js.map} +0 -0
  806. /package/dist/{dnaMethylation.integration.spec-3NXGGG4J.js.map → dnaMethylation.integration.spec-KEE6ZZRT.js.map} +0 -0
  807. /package/dist/{dofetch-YRWLEQEH.js.map → dofetch-6NAGX5EG.js.map} +0 -0
  808. /package/dist/{e2pca-M2F2CI6I.js.map → e2pca-XDGPTEXL.js.map} +0 -0
  809. /package/dist/{ep-QAEG4RV4.js.map → ep-IUIDMIGW.js.map} +0 -0
  810. /package/dist/{expclust.gdc.spec-P77T6JR2.js.map → expclust.gdc.spec-BMN2PTJX.js.map} +0 -0
  811. /package/dist/{facet-LJTSTASE.js.map → facet-DTJKZOBA.js.map} +0 -0
  812. /package/dist/{gb-KSB2DQHH.js.map → gb-MV7MUJWO.js.map} +0 -0
  813. /package/dist/{geneExpClustering-KHDCPE65.js.map → geneExpClustering-NFH5FS3S.js.map} +0 -0
  814. /package/dist/{geneExpression-AWWMOUAR.js.map → geneExpression-XVOLNYVN.js.map} +0 -0
  815. /package/dist/{geneExpression-Z2EDR6EN.js.map → geneExpression-ZP2VWHED.js.map} +0 -0
  816. /package/dist/{geneORA-NGZTMFSJ.js.map → geneORA-HQ7FLMEJ.js.map} +0 -0
  817. /package/dist/{geneRanking-AYNBGFKU.js.map → geneRanking-MIABUKTN.js.map} +0 -0
  818. /package/dist/{geneVariant-AL64NDHH.js.map → geneVariant-HDFWLALZ.js.map} +0 -0
  819. /package/dist/{genefusion.ui-IWJMF2BM.js.map → genefusion.ui-HSDZQHJA.js.map} +0 -0
  820. /package/dist/{geneset-APCO4BRX.js.map → geneset-WKV3X2EJ.js.map} +0 -0
  821. /package/dist/{genomeBrowser.spec-JTCVUTO5.js.map → genomeBrowser.spec-UTAHAU76.js.map} +0 -0
  822. /package/dist/{grin2-FVX6AIST.js.map → grin2-M2JDZVYU.js.map} +0 -0
  823. /package/dist/{hierCluster-4DRHXD6W.js.map → hierCluster-LZI6OTRS.js.map} +0 -0
  824. /package/dist/{hierCluster-SFRQK3PS.js.map → hierCluster-VVXPOTQU.js.map} +0 -0
  825. /package/dist/{hierCluster.config-G2TFGBYF.js.map → hierCluster.config-NCYH3Y7Z.js.map} +0 -0
  826. /package/dist/{hierCluster.integration.spec-ZUZKCG6A.js.map → hierCluster.integration.spec-ZDOOCTV3.js.map} +0 -0
  827. /package/dist/{hierCluster.interactivity-LQA6J56H.js.map → hierCluster.interactivity-4HP3JCON.js.map} +0 -0
  828. /package/dist/{hierCluster.renderers-TZZJEVFO.js.map → hierCluster.renderers-3F5GMEXA.js.map} +0 -0
  829. /package/dist/{imagePlot-OUHFWYKT.js.map → imagePlot-OA4WTMLU.js.map} +0 -0
  830. /package/dist/{importPlot-7V456QK7.js.map → importPlot-OSTC2GPO.js.map} +0 -0
  831. /package/dist/{isoformExpression-NGUJJ6VI.js.map → isoformExpression-LZ5RTUS5.js.map} +0 -0
  832. /package/dist/{isoformExpression.unit.spec-DCRPXPBY.js.map → isoformExpression.unit.spec-L6YDBKYM.js.map} +0 -0
  833. /package/dist/{junction-QYKLNXIW.js.map → junction-UR6COY3A.js.map} +0 -0
  834. /package/dist/{junction.customTerm-EHOOBR4V.js.map → junction.customTerm-TMV43R7Z.js.map} +0 -0
  835. /package/dist/{junction.unit.spec-LDNY7OFK.js.map → junction.unit.spec-NVBJTGA4.js.map} +0 -0
  836. /package/dist/{launch.adhoc-FF7B3UG6.js.map → launch.adhoc-AZG6QJG7.js.map} +0 -0
  837. /package/dist/{leftlabel.sample-BTHMKLGF.js.map → leftlabel.sample-LYZG25RT.js.map} +0 -0
  838. /package/dist/{lollipop-H3UCNMHN.js.map → lollipop-FJXVP5QM.js.map} +0 -0
  839. /package/dist/{maf-KWGUTPKO.js.map → maf-OXJIJD6D.js.map} +0 -0
  840. /package/dist/{maftimeline-UD5VE4UW.js.map → maftimeline-75N6ZXEM.js.map} +0 -0
  841. /package/dist/{matrix-DLCX6GOO.js.map → matrix-QFKGEW5A.js.map} +0 -0
  842. /package/dist/{matrix-TIV42IQB.js.map → matrix-XT7LUV5K.js.map} +0 -0
  843. /package/dist/{matrix.cells-J3QZ7C6U.js.map → matrix.cells-NB7LKKXV.js.map} +0 -0
  844. /package/dist/{matrix.config-VNMS6B7J.js.map → matrix.config-X6HS4UGD.js.map} +0 -0
  845. /package/dist/{matrix.data-PIE3TLKD.js.map → matrix.data-VLFF34SS.js.map} +0 -0
  846. /package/dist/{matrix.groups-URBU775S.js.map → matrix.groups-F62TSKIG.js.map} +0 -0
  847. /package/dist/{matrix.interactivity-W5AFOAQN.js.map → matrix.interactivity-2FBXB52E.js.map} +0 -0
  848. /package/dist/{matrix.layout-LU3NIJAL.js.map → matrix.layout-6TPVKLSX.js.map} +0 -0
  849. /package/dist/{matrix.legend-LTP6ETZO.js.map → matrix.legend-L4ULBMGX.js.map} +0 -0
  850. /package/dist/{matrix.renderers-762XI65L.js.map → matrix.renderers-DK6YRLO2.js.map} +0 -0
  851. /package/dist/{matrix.serieses-FHDBRPZA.js.map → matrix.serieses-DCRJLJ3H.js.map} +0 -0
  852. /package/dist/{matrix.sort-Q6A6UWMY.js.map → matrix.sort-XSGPH44J.js.map} +0 -0
  853. /package/dist/{matrix.sort.unit.spec-CTCOPKVS.js.map → matrix.sort.unit.spec-JF75F4I4.js.map} +0 -0
  854. /package/dist/{matrix.sorterUi-4M5AU5EL.js.map → matrix.sorterUi-WL5I6S3K.js.map} +0 -0
  855. /package/dist/{matrix.sorterUi.unit.spec-Y7GC3PM5.js.map → matrix.sorterUi.unit.spec-66JMV5BK.js.map} +0 -0
  856. /package/dist/{matrix.unit.spec-DROPHFTM.js.map → matrix.unit.spec-36AR4I43.js.map} +0 -0
  857. /package/dist/{mavb-BWA73N3U.js.map → mavb-ZH4RO77H.js.map} +0 -0
  858. /package/dist/{mds.fimo-3UJWIH2J.js.map → mds.fimo-MVP2G5PS.js.map} +0 -0
  859. /package/dist/{mds.samplescatterplot-EUS7DCSQ.js.map → mds.samplescatterplot-GYJ3OI4N.js.map} +0 -0
  860. /package/dist/{mds.survivalplot-77UEBQIC.js.map → mds.survivalplot-Q6MYQGTB.js.map} +0 -0
  861. /package/dist/{multivalue-KZ2DMVIR.js.map → multivalue-BGFMPH4X.js.map} +0 -0
  862. /package/dist/{numericDictTermCluster-C2MYJYPZ.js.map → numericDictTermCluster-FNNVLIWB.js.map} +0 -0
  863. /package/dist/{oncomatrix-6LGB3M7R.js.map → oncomatrix-LIIALWWN.js.map} +0 -0
  864. /package/dist/{oncomatrix.spec-UWMSLOHW.js.map → oncomatrix.spec-NEMLM2ZN.js.map} +0 -0
  865. /package/dist/{plot.2dvaf-LZAVWH65.js.map → plot.2dvaf-HJO3SKNK.js.map} +0 -0
  866. /package/dist/{plot.app-OEWE3AYV.js.map → plot.app-WSLFOFSR.js.map} +0 -0
  867. /package/dist/{plot.barplot-VIBHGTUT.js.map → plot.barplot-SPI5JA37.js.map} +0 -0
  868. /package/dist/{plot.boxplot-NQI3PSKR.js.map → plot.boxplot-4W3XEY5I.js.map} +0 -0
  869. /package/dist/{plot.brainImaging-3MTTCZHI.js.map → plot.brainImaging-KEOUTYIB.js.map} +0 -0
  870. /package/dist/{plot.disco-HODBY7SO.js.map → plot.disco-7IDMKNAQ.js.map} +0 -0
  871. /package/dist/{plot.ssgq-4URQE673.js.map → plot.ssgq-IOKUGDC4.js.map} +0 -0
  872. /package/dist/{plot.vaf2cov-QIJNEKCK.js.map → plot.vaf2cov-SFSZ6M43.js.map} +0 -0
  873. /package/dist/{polar2-GVFQNSLK.js.map → polar2-PLPE5TX5.js.map} +0 -0
  874. /package/dist/{profileForms-Z22CJXI4.js.map → profileForms-ZDHG67GM.js.map} +0 -0
  875. /package/dist/{profilePlot-IVQZBSID.js.map → profilePlot-UUZA2YG6.js.map} +0 -0
  876. /package/dist/{proteinView-AUK634AU.js.map → proteinView-GHS3XARL.js.map} +0 -0
  877. /package/dist/{proteomeCohortCompare-7G2F35H5.js.map → proteomeCohortCompare-TQ3BGIPS.js.map} +0 -0
  878. /package/dist/{pseudobulk-QTCUSH5I.js.map → pseudobulk-ODXYIUD5.js.map} +0 -0
  879. /package/dist/{qualitative-7ST7SSBT.js.map → qualitative-WOSYAIGQ.js.map} +0 -0
  880. /package/dist/{radar2-CEE6SNBS.js.map → radar2-2KXBS3Y3.js.map} +0 -0
  881. /package/dist/{radarFacility2-OSKDYIK7.js.map → radarFacility2-JCOKJQQF.js.map} +0 -0
  882. /package/dist/{rememberedGvQ.unit.spec-RYFUJ2NW.js.map → rememberedGvQ.unit.spec-DYRO2LO5.js.map} +0 -0
  883. /package/dist/{render-MAD3WMVD.js.map → render-IJ6GE3NE.js.map} +0 -0
  884. /package/dist/{report-6JXJVSEB.js.map → report-WLLFUA7L.js.map} +0 -0
  885. /package/dist/{sampleView-SG3QYZKQ.js.map → sampleView-LPKSYUNF.js.map} +0 -0
  886. /package/dist/{samplelst-R765UFP6.js.map → samplelst-MNI2MGMT.js.map} +0 -0
  887. /package/dist/{samplematrix-EBJYE5SM.js.map → samplematrix-KEKJP2B4.js.map} +0 -0
  888. /package/dist/{sc-7ZXPFDHD.js.map → sc-ZYKFRJU4.js.map} +0 -0
  889. /package/dist/{scatter-3GUL4KF3.js.map → scatter-BAEZOFWA.js.map} +0 -0
  890. /package/dist/{selectGenomeWithTklst-K4YXGJYG.js.map → selectGenomeWithTklst-HBHRXEDY.js.map} +0 -0
  891. /package/dist/{singleCellCellType-TU5VTPLP.js.map → singleCellCellType-PMFDV24B.js.map} +0 -0
  892. /package/dist/{singleCellCellType.unit.spec-IRITQIGT.js.map → singleCellCellType.unit.spec-ZLYDUDIY.js.map} +0 -0
  893. /package/dist/{singleCellGeneExpression-3IL52QDK.js.map → singleCellGeneExpression-SUYO3HR3.js.map} +0 -0
  894. /package/dist/{singleCellGeneExpression.unit.spec-WXC4C37T.js.map → singleCellGeneExpression.unit.spec-3N3HRXFN.js.map} +0 -0
  895. /package/dist/{singleCellPlot-XG3HZS7I.js.map → singleCellNumericValue-BV7C6Y34.js.map} +0 -0
  896. /package/dist/{snp-RMZRB426.js.map → singleCellPlot-BG7UJOHA.js.map} +0 -0
  897. /package/dist/{singlecell-BRF2HAV2.js.map → singlecell-BANNFGBS.js.map} +0 -0
  898. /package/dist/{singlecell-KVCJF2HI.js.map → singlecell-ZUTL5ZWE.js.map} +0 -0
  899. /package/dist/{ssGSEA-7RKWYZKX.js.map → snp-BHG4NVK4.js.map} +0 -0
  900. /package/dist/{snp.unit.spec-JF6KR2NT.js.map → snp.unit.spec-Q3AZHQRC.js.map} +0 -0
  901. /package/dist/{snplocus-AHUFHQ3Q.js.map → snplocus-HTJL63M3.js.map} +0 -0
  902. /package/dist/{spliceevent.a53ss.diagram-OSZZ2CF2.js.map → spliceevent.a53ss.diagram-UKRIP7EP.js.map} +0 -0
  903. /package/dist/{spliceevent.exonskip.diagram-AMA2D2OL.js.map → spliceevent.exonskip.diagram-CU777CXQ.js.map} +0 -0
  904. /package/dist/{spliceevent.noeventdiagram-RKTUXH5D.js.map → spliceevent.noeventdiagram-LGLXCF25.js.map} +0 -0
  905. /package/dist/{summarizeMutationDiagnosis-GCL4SRON.js.map → ssGSEA-BIEEKAKX.js.map} +0 -0
  906. /package/dist/{ssGSEA.unit.spec-XLCZHH7S.js.map → ssGSEA.unit.spec-YD4UDIRH.js.map} +0 -0
  907. /package/dist/{stattable-NDYUCLVZ.js.map → stattable-LFR3RSD6.js.map} +0 -0
  908. /package/dist/{studyCatalog-TAXRF5NS.js.map → studyCatalog-RINIZ277.js.map} +0 -0
  909. /package/dist/{summarizeCnvGeneexp-3QLHU6N7.js.map → summarizeCnvGeneexp-ZQFNPR65.js.map} +0 -0
  910. /package/dist/{summarizeGeneexpSurvival-ARI4MPFX.js.map → summarizeGeneexpSurvival-GIS7XMMH.js.map} +0 -0
  911. /package/dist/{summarizeMutationCnv-W7V7CKPI.js.map → summarizeMutationCnv-FWF7YIGR.js.map} +0 -0
  912. /package/dist/{summary-OUYDWLBF.js.map → summarizeMutationDiagnosis-V5L2OKTK.js.map} +0 -0
  913. /package/dist/{summarizeMutationSurvival-6TTMSRRX.js.map → summarizeMutationSurvival-LAUUF6XN.js.map} +0 -0
  914. /package/dist/{termCollection-7P3WU6X6.js.map → summary-OMU3ACNE.js.map} +0 -0
  915. /package/dist/{summary.integration.spec-4GTCG6HY.js.map → summary.integration.spec-6JZAT73L.js.map} +0 -0
  916. /package/dist/{summaryInput-UK3TLC7M.js.map → summaryInput-QIKL3HDD.js.map} +0 -0
  917. /package/dist/{sunburst-2UFHMNH3.js.map → sunburst-32IW2R57.js.map} +0 -0
  918. /package/dist/{survival-SPWYSDVB.js.map → survival-BMOPVAN2.js.map} +0 -0
  919. /package/dist/{survival-TL6UZ6FQ.js.map → survival-H5AWMQ36.js.map} +0 -0
  920. /package/dist/{svgraph-Z543MLIN.js.map → svgraph-B75FS3BB.js.map} +0 -0
  921. /package/dist/{svmr-SZCAOAIF.js.map → svmr-IUEUOHVO.js.map} +0 -0
  922. /package/dist/{table-IAQ6J4DO.js.map → table-YAAH7WR6.js.map} +0 -0
  923. /package/dist/{termCollection-3NGHR7QN.js.map → termCollection-7F5ZG2DB.js.map} +0 -0
  924. /package/dist/{termCollectionFractionSelection-YKIE6BME.js.map → termCollection-KNFUELYY.js.map} +0 -0
  925. /package/dist/{termCollection.unit.spec-EPYC7LOA.js.map → termCollection.unit.spec-S6M6QC4C.js.map} +0 -0
  926. /package/dist/{tk-X454XH5N.js.map → termCollectionFractionSelection-X22VMJWY.js.map} +0 -0
  927. /package/dist/{termCollectionFractionSelection.unit.spec-AG2CZPGZ.js.map → termCollectionFractionSelection.unit.spec-ELU6SD7P.js.map} +0 -0
  928. /package/dist/{tvs.dt-U77PCG6X.js.map → tk-TT666UVE.js.map} +0 -0
  929. /package/dist/{tk-TOXMU4GT.js.map → tk-UOPNJ323.js.map} +0 -0
  930. /package/dist/{tp.ui-FDQ76KPL.js.map → tp.ui-HGAHRKO5.js.map} +0 -0
  931. /package/dist/{vocabulary-64GO4YDB.js.map → tvs.dt-H7YYR4EB.js.map} +0 -0
  932. /package/dist/{tvs.dtcnv.categorical-XYZU4XLO.js.map → tvs.dtcnv.categorical-IPJTKGMF.js.map} +0 -0
  933. /package/dist/{tvs.dtcnv.continuous-4GJILFGP.js.map → tvs.dtcnv.continuous-XY5XZ4GH.js.map} +0 -0
  934. /package/dist/{tvs.dtfusion-7YROAHVI.js.map → tvs.dtfusion-VFCBMXRM.js.map} +0 -0
  935. /package/dist/{tvs.dtitd-MIYU4ZHH.js.map → tvs.dtitd-RZVW6FTR.js.map} +0 -0
  936. /package/dist/{tvs.dtsnvindel-XLDY7KWB.js.map → tvs.dtsnvindel-IDPJWSGC.js.map} +0 -0
  937. /package/dist/{tvs.dtsv-YMLJ37YR.js.map → tvs.dtsv-QERP756F.js.map} +0 -0
  938. /package/dist/{tvs.samplelst-KIVEXJKD.js.map → tvs.samplelst-6KNDHBIU.js.map} +0 -0
  939. /package/dist/{tvs.termCollection-4CQV3EB3.js.map → tvs.termCollection-GWPJK3NE.js.map} +0 -0
  940. /package/dist/{wsi.direct-5MQVRJZX.js.map → wsi.direct-2RBCBXDA.js.map} +0 -0
@@ -0,0 +1,2146 @@
1
+ import {
2
+ isNumericTerm
3
+ } from "./chunk-3XBG5HIV.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-SB36AUG7.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-6NAGX5EG.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-OBDIJ4QS.js.map