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