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