@sjcrh/proteinpaint-client 2.191.4 → 2.192.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 (957) hide show
  1. package/dist/2dmaf-BNMEUJVM.js +1373 -0
  2. package/dist/AIProjectAdmin-AEXQY5LY.js +958 -0
  3. package/dist/AIProjectAdmin-AEXQY5LY.js.map +7 -0
  4. package/dist/AppHeader-RXDJBHXZ.js +835 -0
  5. package/dist/BoxPlot-HDP3SIGU.js +1217 -0
  6. package/dist/BoxPlot-HDP3SIGU.js.map +7 -0
  7. package/dist/CorrelationVolcano-V2E566XL.js +619 -0
  8. package/dist/DE-7YUZSW4E.js +95 -0
  9. package/dist/DEinput-P2HOQC4Z.js +301 -0
  10. package/dist/DifferentialAnalysis-2Z6BHS7A.js +245 -0
  11. package/dist/Disco-ZLC54X7T.js +3297 -0
  12. package/dist/Disco-ZLC54X7T.js.map +7 -0
  13. package/dist/Disco.UI-LXJJYQVV.js +249 -0
  14. package/dist/Disco.UI-LXJJYQVV.js.map +7 -0
  15. package/dist/DmrPlot-OEJRGNI3.js +642 -0
  16. package/dist/GB-2GHDD3MW.js +1130 -0
  17. package/dist/GeneExpInput-PWLPDLYT.js +367 -0
  18. package/dist/GeneExpInput-PWLPDLYT.js.map +7 -0
  19. package/dist/HicApp-CAYC4DPO.js +2250 -0
  20. package/dist/NumBinaryEditor-EUOYSGPM.js +271 -0
  21. package/dist/NumBinaryEditor.unit.spec-5B3W4B4F.js +286 -0
  22. package/dist/NumContEditor-7KK6CIB3.js +109 -0
  23. package/dist/NumContEditor.unit.spec-IMKGVYFZ.js +169 -0
  24. package/dist/NumCustomBinEditor-PDAF6I7B.js +38 -0
  25. package/dist/NumCustomBinEditor.unit.spec-IU3DPECJ.js +284 -0
  26. package/dist/NumDiscreteEditor-YTKUHG6Z.js +179 -0
  27. package/dist/NumDiscreteEditor.unit.spec-FUBS7Z7Z.js +202 -0
  28. package/dist/NumRegularBinEditor-LU3KLBLY.js +38 -0
  29. package/dist/NumRegularBinEditor.unit.spec-2BKOHI7L.js +227 -0
  30. package/dist/NumSplineEditor-56RJ2HT2.js +198 -0
  31. package/dist/NumSplineEditor.unit.spec-PW6VUUBZ.js +199 -0
  32. package/dist/NumericDensity-EB4H54EF.js +38 -0
  33. package/dist/NumericDensity.unit.spec-LSEM4OEY.js +221 -0
  34. package/dist/NumericHandler-VGPDXP35.js +39 -0
  35. package/dist/NumericHandler.unit.spec-NR3F7XHV.js +219 -0
  36. package/dist/ProteomeInput-AUXWUIWK.js +396 -0
  37. package/dist/RunChart2-SQ6TFOHD.js +758 -0
  38. package/dist/SC-OWJ6LYIW.js +1124 -0
  39. package/dist/SC-OWJ6LYIW.js.map +7 -0
  40. package/dist/Volcano-XHDH6UN7.js +1379 -0
  41. package/dist/WSIViewer-WT2QV747.js +48562 -0
  42. package/dist/WSIViewer-WT2QV747.js.map +7 -0
  43. package/dist/WsiSamplesPlot-YUOAWG2A.js +165 -0
  44. package/dist/adSandbox-VMMAL22L.js +38 -0
  45. package/dist/animatedBubbleChart-Q6Z5W2UL.js +555 -0
  46. package/dist/animatedBubbleChart-Q6Z5W2UL.js.map +7 -0
  47. package/dist/app-FX3KZ67X.js +37 -0
  48. package/dist/app-X7ZYEOZN.js +49 -0
  49. package/dist/app.js +20 -20
  50. package/dist/bam-ZYLH4U5R.js +860 -0
  51. package/dist/barchart-MXSPTKV4.js +47 -0
  52. package/dist/barchart.data-ZWF6EVJH.js +22 -0
  53. package/dist/barchart.events-XON2ANOC.js +47 -0
  54. package/dist/barchart.integration.spec-PJIENJGT.js +1980 -0
  55. package/dist/barchart2-HIKBGSSE.js +314 -0
  56. package/dist/barchart2-HIKBGSSE.js.map +7 -0
  57. package/dist/bars.renderer-57KSYAAT.js +12 -0
  58. package/dist/block-EGPYVWNP.js +6226 -0
  59. package/dist/block-EGPYVWNP.js.map +7 -0
  60. package/dist/block.init-IJBRPZNM.js +38 -0
  61. package/dist/block.mds.expressionrank-3DANCP7E.js +359 -0
  62. package/dist/block.mds.geneboxplot-CRGSCZMG.js +828 -0
  63. package/dist/block.mds.junction-4UIH2ZYN.js +1545 -0
  64. package/dist/block.mds.svcnv-NF4UIRR2.js +6801 -0
  65. package/dist/block.svg-AIZ47JCQ.js +164 -0
  66. package/dist/block.tk.aicheck-7HZFGE63.js +283 -0
  67. package/dist/block.tk.ase-U3VNPZEA.js +365 -0
  68. package/dist/block.tk.bam-4TQ7P2OX.js +1906 -0
  69. package/dist/block.tk.bedgraphdot-MYHKKO6K.js +384 -0
  70. package/dist/block.tk.bigwig.ui-E3YVGIDN.js +212 -0
  71. package/dist/block.tk.hicstraw-Y4XOMG7T.js +823 -0
  72. package/dist/block.tk.junction-T5C7LK6F.js +2364 -0
  73. package/dist/block.tk.junction.textmatrixui-Z3ACCVXH.js +199 -0
  74. package/dist/block.tk.ld-Y5KDA5AU.js +99 -0
  75. package/dist/block.tk.menu-EWRRISDY.js +1029 -0
  76. package/dist/block.tk.pgv-3JYGOZVQ.js +944 -0
  77. package/dist/brainImaging-P3AF3C5N.js +423 -0
  78. package/dist/brainRegions-YA2H2QOI.js +221 -0
  79. package/dist/brainRegions-YA2H2QOI.js.map +7 -0
  80. package/dist/chunk-2JR7RPB6.js +1825 -0
  81. package/dist/chunk-2U2CP2Y2.js +317 -0
  82. package/dist/chunk-2U2CP2Y2.js.map +7 -0
  83. package/dist/chunk-3BBK6A4X.js +176 -0
  84. package/dist/chunk-3BBK6A4X.js.map +7 -0
  85. package/dist/chunk-3FVIDQOX.js +54 -0
  86. package/dist/chunk-3K2O2NIH.js +446 -0
  87. package/dist/chunk-3RSJU6YM.js +2681 -0
  88. package/dist/chunk-3ZKD6C5S.js +34 -0
  89. package/dist/chunk-46AEH34Z.js +95 -0
  90. package/dist/chunk-4CQVC6XL.js +182 -0
  91. package/dist/chunk-5FXNI724.js +216 -0
  92. package/dist/chunk-634MOGE3.js +314 -0
  93. package/dist/chunk-634MOGE3.js.map +7 -0
  94. package/dist/chunk-6JHIX4RA.js +4269 -0
  95. package/dist/chunk-6JHIX4RA.js.map +7 -0
  96. package/dist/chunk-7PFRBGMN.js +129 -0
  97. package/dist/chunk-7R63MAPC.js +448 -0
  98. package/dist/chunk-7R63MAPC.js.map +7 -0
  99. package/dist/chunk-A4Z3CI24.js +276 -0
  100. package/dist/chunk-AI2LUQS6.js +119 -0
  101. package/dist/chunk-AJYJW4LX.js +6364 -0
  102. package/dist/chunk-BKPDYW5T.js +177 -0
  103. package/dist/chunk-BMS32SNA.js +37 -0
  104. package/dist/chunk-C4BCMAIK.js +188 -0
  105. package/dist/chunk-C4BCMAIK.js.map +7 -0
  106. package/dist/chunk-CJPGYPI3.js +291 -0
  107. package/dist/chunk-CTQH7LQ6.js +31 -0
  108. package/dist/chunk-D5CVYITI.js +203 -0
  109. package/dist/chunk-DMSX5PSO.js +477 -0
  110. package/dist/chunk-E3JRW3T3.js +1102 -0
  111. package/dist/chunk-E574SMCX.js +283 -0
  112. package/dist/chunk-E76O5Z42.js +98 -0
  113. package/dist/chunk-EEW443GL.js +14 -0
  114. package/dist/chunk-EVNMW7BS.js +833 -0
  115. package/dist/chunk-EVNMW7BS.js.map +7 -0
  116. package/dist/chunk-F2WPS7VY.js +1943 -0
  117. package/dist/chunk-FDPWWODM.js +2832 -0
  118. package/dist/chunk-FDPWWODM.js.map +7 -0
  119. package/dist/chunk-FVHUROIJ.js +446 -0
  120. package/dist/chunk-FVHUROIJ.js.map +7 -0
  121. package/dist/chunk-FYFX42YD.js +222 -0
  122. package/dist/chunk-G6RZYGWY.js +386 -0
  123. package/dist/chunk-GTZV2UZV.js +736 -0
  124. package/dist/chunk-H34LAFGH.js +142 -0
  125. package/dist/chunk-I2R5O2XX.js +263 -0
  126. package/dist/chunk-IEYDMN3H.js +26 -0
  127. package/dist/chunk-JWBP4ZZB.js +148 -0
  128. package/dist/chunk-KUZPTJJO.js +20874 -0
  129. package/dist/chunk-KUZPTJJO.js.map +7 -0
  130. package/dist/chunk-KVIH5JPC.js +1275 -0
  131. package/dist/chunk-L5HCOTRF.js +302 -0
  132. package/dist/chunk-LHKDLWG5.js +194 -0
  133. package/dist/chunk-LQJMCE7G.js +467 -0
  134. package/dist/chunk-M7UKOCJA.js +234 -0
  135. package/dist/chunk-M7UKOCJA.js.map +7 -0
  136. package/dist/chunk-MHFH66I3.js +1289 -0
  137. package/dist/chunk-MHFH66I3.js.map +7 -0
  138. package/dist/chunk-MNIBZTQE.js +146 -0
  139. package/dist/chunk-MP3DN6JK.js +117 -0
  140. package/dist/chunk-N5OVBS5L.js +2786 -0
  141. package/dist/chunk-NEKAGDTL.js +58 -0
  142. package/dist/chunk-NPCNDM6Y.js +54 -0
  143. package/dist/chunk-NYN2WQN3.js +100 -0
  144. package/dist/chunk-O6WL7USJ.js +343 -0
  145. package/dist/chunk-OH5I6I2D.js +368 -0
  146. package/dist/chunk-PDFCQ7AU.js +5054 -0
  147. package/dist/chunk-PDFCQ7AU.js.map +7 -0
  148. package/dist/chunk-PSJVMAWA.js +294 -0
  149. package/dist/chunk-PSJVMAWA.js.map +7 -0
  150. package/dist/chunk-PTQ774XH.js +514 -0
  151. package/dist/chunk-PXOH4ZN2.js +399 -0
  152. package/dist/chunk-QG4BJUM7.js +102 -0
  153. package/dist/chunk-R7AV73BV.js +617 -0
  154. package/dist/chunk-R7AV73BV.js.map +7 -0
  155. package/dist/chunk-RITTG5WN.js +158 -0
  156. package/dist/chunk-SMSFTTEO.js +272 -0
  157. package/dist/chunk-SOTB4FRE.js +2098 -0
  158. package/dist/chunk-SOTB4FRE.js.map +7 -0
  159. package/dist/chunk-TBZKVKR4.js +50 -0
  160. package/dist/chunk-TJYRBEBK.js +2878 -0
  161. package/dist/chunk-TLTS33EY.js +287 -0
  162. package/dist/chunk-TMM7BWW7.js +381 -0
  163. package/dist/chunk-TTC4MNEM.js +2327 -0
  164. package/dist/chunk-UN3O2MNB.js +375 -0
  165. package/dist/chunk-UN3O2MNB.js.map +7 -0
  166. package/dist/chunk-UQ5CDHYF.js +1218 -0
  167. package/dist/chunk-UQ5CDHYF.js.map +7 -0
  168. package/dist/chunk-UXIZYI3X.js +226 -0
  169. package/dist/chunk-VIUATDO2.js +170 -0
  170. package/dist/chunk-VIUDFDN4.js +102 -0
  171. package/dist/chunk-VQZ2Z5YU.js +587 -0
  172. package/dist/chunk-VQZ2Z5YU.js.map +7 -0
  173. package/dist/chunk-W5OEFZCR.js +254 -0
  174. package/dist/chunk-WXSRK3XR.js +534 -0
  175. package/dist/chunk-XHGMDBTS.js +230 -0
  176. package/dist/chunk-XQ2OBL6R.js +1205 -0
  177. package/dist/chunk-XQ2OBL6R.js.map +7 -0
  178. package/dist/chunk-XVGS3QXS.js +55 -0
  179. package/dist/chunk-XYNYQMLH.js +482 -0
  180. package/dist/chunk-Y4JJMUWG.js +217 -0
  181. package/dist/chunk-Z457XQSX.js +815 -0
  182. package/dist/chunk-ZF6HNVYD.js +1444 -0
  183. package/dist/chunk-ZF6HNVYD.js.map +7 -0
  184. package/dist/condition-QXTOTGZX.js +332 -0
  185. package/dist/controls-7TDB75LK.js +41 -0
  186. package/dist/controls.config-IBF5ILFP.js +39 -0
  187. package/dist/correlation-M2T5R7CM.js +102 -0
  188. package/dist/correlation-M2T5R7CM.js.map +7 -0
  189. package/dist/cuminc-CAHPKW7W.js +1149 -0
  190. package/dist/cuminc.integration.spec-NNSQGBRI.js +678 -0
  191. package/dist/customdata.inputui-RRTQK7OK.js +289 -0
  192. package/dist/dataDownload-SOUCBKXM.js +330 -0
  193. package/dist/dataDownload.integration.spec-C6TLWSSO.js +193 -0
  194. package/dist/databrowser.ui-KLFEU5QA.js +433 -0
  195. package/dist/dictionary-RUT5VXDD.js +118 -0
  196. package/dist/dictionary-RUT5VXDD.js.map +7 -0
  197. package/dist/dnaMethylation-WOKGG33W.js +38 -0
  198. package/dist/dnaMethylation.integration.spec-YUPP42UK.js +203 -0
  199. package/dist/dofetch-V7PLLWSO.js +51 -0
  200. package/dist/e2pca-VT7EM4E3.js +350 -0
  201. package/dist/ep-X6B43UXE.js +1256 -0
  202. package/dist/expclust.gdc.spec-DTBFOXBC.js +307 -0
  203. package/dist/facet-T5ZX7ZGV.js +521 -0
  204. package/dist/forms2-S5OGBFKL.js +539 -0
  205. package/dist/forms2-S5OGBFKL.js.map +7 -0
  206. package/dist/gb-TWXREZIP.js +88 -0
  207. package/dist/geneExpClustering-2G6YDCIN.js +249 -0
  208. package/dist/geneExpression-2A4ZPT7K.js +38 -0
  209. package/dist/geneExpression-ZHQH6SNA.js +313 -0
  210. package/dist/geneExpression.unit.spec-2M223S4P.js +102 -0
  211. package/dist/geneORA-YLIRUMCZ.js +278 -0
  212. package/dist/geneRanking-JDJXNGEC.js +551 -0
  213. package/dist/geneVariant-5ZIOT5BT.js +39 -0
  214. package/dist/geneVariant-GIXIMJ2I.js +41 -0
  215. package/dist/geneVariant.integration.spec-QCROW73S.js +198 -0
  216. package/dist/genefusion.ui-56UQLUKJ.js +309 -0
  217. package/dist/geneset-ACRMGBJO.js +208 -0
  218. package/dist/genomeBrowser.spec-EDILOQON.js +281 -0
  219. package/dist/grin2-5P7CYUT7.js +1560 -0
  220. package/dist/grin2-GNB35CMF.js +871 -0
  221. package/dist/grin2-GNB35CMF.js.map +7 -0
  222. package/dist/gsea-2PQ5HNNT.js +47 -0
  223. package/dist/hierCluster-H5HB7FPW.js +63 -0
  224. package/dist/hierCluster-L3LCP2II.js +59 -0
  225. package/dist/hierCluster.config-6UIJWCND.js +40 -0
  226. package/dist/hierCluster.integration.spec-EVAPT2VF.js +395 -0
  227. package/dist/hierCluster.interactivity-7MW6ZT6O.js +54 -0
  228. package/dist/hierCluster.renderers-F34EVY5J.js +21 -0
  229. package/dist/imagePlot-RSFZ2OKD.js +163 -0
  230. package/dist/importPlot-DQFWY5A7.js +8 -0
  231. package/dist/isoformExpression-2KANPCBH.js +40 -0
  232. package/dist/isoformExpression.unit.spec-6FSMHT4K.js +208 -0
  233. package/dist/launch.adhoc-ZYTIRVIC.js +42 -0
  234. package/dist/leftlabel.sample-66U6MHPN.js +260 -0
  235. package/dist/legacyDataset-TNIIJABK.js +119 -0
  236. package/dist/lollipop-PJDUFWEY.js +171 -0
  237. package/dist/maf-DLJHCKHJ.js +452 -0
  238. package/dist/maftimeline-NK5QYJMJ.js +593 -0
  239. package/dist/matrix-7BFYR6QL.js +63 -0
  240. package/dist/matrix-USAB2CHO.js +58 -0
  241. package/dist/matrix.cells-OTAXAJ4N.js +28 -0
  242. package/dist/matrix.config-AL4WSFZ7.js +41 -0
  243. package/dist/matrix.data-BDHCSN2G.js +25 -0
  244. package/dist/matrix.groups-MV2D2636.js +27 -0
  245. package/dist/matrix.integration.spec-DESORC2Y.js +3072 -0
  246. package/dist/matrix.interactivity-H7EJW3P2.js +42 -0
  247. package/dist/matrix.layout-7CAS2IBO.js +44 -0
  248. package/dist/matrix.legend-JDVG2JDF.js +22 -0
  249. package/dist/matrix.renderers-PDR5FIBC.js +38 -0
  250. package/dist/matrix.serieses-QVDS5HKK.js +21 -0
  251. package/dist/matrix.sort-HCK4CSTJ.js +27 -0
  252. package/dist/matrix.sort.unit.spec-2GC4E26N.js +472 -0
  253. package/dist/matrix.sorterUi-XGBQOPG4.js +18 -0
  254. package/dist/matrix.sorterUi.unit.spec-BJQKDU2F.js +342 -0
  255. package/dist/mavb-6E6Z4LPK.js +732 -0
  256. package/dist/mds.fimo-5P2TK5U4.js +518 -0
  257. package/dist/mds.samplescatterplot-KLKOD4AS.js +1550 -0
  258. package/dist/mds.survivalplot-SWQCOFIU.js +483 -0
  259. package/dist/numericDictTermCluster-WIVO33AV.js +72 -0
  260. package/dist/oncomatrix-SDUUQZCK.js +295 -0
  261. package/dist/oncomatrix.spec-YGQYIUDT.js +448 -0
  262. package/dist/plot.2dvaf-K53KTP5W.js +377 -0
  263. package/dist/plot.app-FNJVWLPQ.js +41 -0
  264. package/dist/plot.barplot-VTC3N6BR.js +102 -0
  265. package/dist/plot.boxplot-RJFGQSLA.js +152 -0
  266. package/dist/plot.brainImaging-6KVNPPMT.js +51 -0
  267. package/dist/plot.disco-ZFH5RK6B.js +102 -0
  268. package/dist/plot.dzi-IA2SOFUD.js +33 -0
  269. package/dist/plot.ssgq-QARGQVKB.js +139 -0
  270. package/dist/plot.vaf2cov-2JUXYCPG.js +259 -0
  271. package/dist/plot.wsi-C2DULA7U.js +36 -0
  272. package/dist/polar2-3HS3QBU6.js +231 -0
  273. package/dist/polar2-3HS3QBU6.js.map +7 -0
  274. package/dist/profileForms-Y6ZBMZWQ.js +446 -0
  275. package/dist/profileForms-Y6ZBMZWQ.js.map +7 -0
  276. package/dist/profilePlot-SVI3QKMD.js +54 -0
  277. package/dist/proteinView-YPFJSBL7.js +1556 -0
  278. package/dist/proteinView-YPFJSBL7.js.map +7 -0
  279. package/dist/qualitative-AQFKAZID.js +43 -0
  280. package/dist/radar2-TTQZLARY.js +326 -0
  281. package/dist/radar2-TTQZLARY.js.map +7 -0
  282. package/dist/radarFacility2-YGS56QUA.js +334 -0
  283. package/dist/radarFacility2-YGS56QUA.js.map +7 -0
  284. package/dist/regression-DLPBCDZT.js +56 -0
  285. package/dist/regression.inputs-42LY4MEZ.js +48 -0
  286. package/dist/regression.inputs.term-TTUFFPG6.js +48 -0
  287. package/dist/regression.inputs.values.table-CJAPTSMS.js +45 -0
  288. package/dist/regression.integration.spec-UDA26OGS.js +784 -0
  289. package/dist/regression.results-IA3C7SHR.js +40 -0
  290. package/dist/regression.spec-HEXCL3QV.js +708 -0
  291. package/dist/report-4CFOWNPJ.js +222 -0
  292. package/dist/sampleScatter.spec-N6V4BQ5Q.js +202 -0
  293. package/dist/sampleView-CZF7U23I.js +48 -0
  294. package/dist/samplelst-XUGDS5TU.js +111 -0
  295. package/dist/samplematrix-R5PZLZDE.js +2198 -0
  296. package/dist/sc-WTZZA5J5.js +86 -0
  297. package/dist/scatter-EY7HQVCO.js +851 -0
  298. package/dist/scatter-EY7HQVCO.js.map +7 -0
  299. package/dist/scatter.integration.spec-CRMLFO4J.js +1206 -0
  300. package/dist/scatter.integration.spec-CRMLFO4J.js.map +7 -0
  301. package/dist/selectGenomeWithTklst-2S2MXVCI.js +134 -0
  302. package/dist/singleCellCellType-LJWFG7MY.js +38 -0
  303. package/dist/singleCellCellType.unit.spec-RGN2XVUR.js +160 -0
  304. package/dist/singleCellGeneExpression-IW2QXTTU.js +38 -0
  305. package/dist/singleCellGeneExpression.unit.spec-4PO3Q7TM.js +153 -0
  306. package/dist/singleCellPlot-6EZ6JXCM.js +54 -0
  307. package/dist/singlecell-3LFPQ6KO.js +86 -0
  308. package/dist/singlecell-NTTAVVMR.js +1572 -0
  309. package/dist/snp-XB4IBG4Z.js +38 -0
  310. package/dist/snp.unit.spec-HAJPM53L.js +176 -0
  311. package/dist/snplocus-HE6TITSX.js +208 -0
  312. package/dist/spliceevent.a53ss.diagram-TCZMBMD7.js +151 -0
  313. package/dist/spliceevent.exonskip.diagram-VESOF6UC.js +277 -0
  314. package/dist/spliceevent.noeventdiagram-4K7FMO4F.js +460 -0
  315. package/dist/ssGSEA-2XYMX36P.js +38 -0
  316. package/dist/ssGSEA.unit.spec-J36KM2HO.js +88 -0
  317. package/dist/summarizeCnvGeneexp-LYVDZXXD.js +163 -0
  318. package/dist/summarizeGeneexpSurvival-Y52TGAHF.js +108 -0
  319. package/dist/summarizeMutationCnv-6EEJT3PV.js +164 -0
  320. package/dist/summarizeMutationDiagnosis-HZKXHOOQ.js +40 -0
  321. package/dist/summarizeMutationSurvival-TU7TQYFQ.js +99 -0
  322. package/dist/summary-4QQZUAMU.js +49 -0
  323. package/dist/summary.integration.spec-SLIIM4HN.js +414 -0
  324. package/dist/summaryInput-6HROPKCE.js +235 -0
  325. package/dist/sunburst-MBJJPERL.js +284 -0
  326. package/dist/survival-CXLMQSV2.js +58 -0
  327. package/dist/survival-QSL2KDKD.js +46 -0
  328. package/dist/survival.integration.spec-EUAAALVW.js +821 -0
  329. package/dist/svgraph-JM5MHQDX.js +1387 -0
  330. package/dist/svmr-MCMST2FL.js +3842 -0
  331. package/dist/table-MVX3IMAL.js +200 -0
  332. package/dist/termCollection-FZ2SCVA7.js +38 -0
  333. package/dist/termCollection-IGC7REFK.js +179 -0
  334. package/dist/termCollection.unit.spec-VY2EZZIP.js +208 -0
  335. package/dist/tk-5F3TWZ2G.js +46 -0
  336. package/dist/tp.ui-IURWTMAS.js +1459 -0
  337. package/dist/tvs.dt-BPZCFPYK.js +39 -0
  338. package/dist/tvs.dtcnv.categorical-UFS62DTR.js +40 -0
  339. package/dist/tvs.dtcnv.continuous-R6YXNNLA.js +72 -0
  340. package/dist/tvs.dtfusion-FGXXS4XX.js +40 -0
  341. package/dist/tvs.dtsnvindel-DR43K7X3.js +40 -0
  342. package/dist/tvs.dtsv-NO34GIOL.js +40 -0
  343. package/dist/tvs.numeric-KYAU5OV3.js +21 -0
  344. package/dist/tvs.samplelst-2QP7IV2Y.js +104 -0
  345. package/dist/tvs.termCollection-UEJDG22G.js +159 -0
  346. package/dist/violin-NBZTGGYF.js +46 -0
  347. package/dist/violin.integration.spec-5CLYJSAR.js +1425 -0
  348. package/dist/violin.interactivity-KXVKTT22.js +38 -0
  349. package/dist/violin.renderer-37OF6K7Q.js +40 -0
  350. package/dist/vocabulary-GR6J3VKW.js +41 -0
  351. package/package.json +3 -3
  352. package/dist/2dmaf-Z3D2M3FB.js +0 -1373
  353. package/dist/AIProjectAdmin-2OQOQXH4.js +0 -956
  354. package/dist/AIProjectAdmin-2OQOQXH4.js.map +0 -7
  355. package/dist/AppHeader-PXLGVCVS.js +0 -835
  356. package/dist/BoxPlot-PUZKHACO.js +0 -1211
  357. package/dist/BoxPlot-PUZKHACO.js.map +0 -7
  358. package/dist/CorrelationVolcano-RO6CFLZA.js +0 -619
  359. package/dist/DE-CCA5SBJG.js +0 -95
  360. package/dist/DEinput-MRUQW6X6.js +0 -301
  361. package/dist/DifferentialAnalysis-5YQQLJKR.js +0 -245
  362. package/dist/Disco-4FTOJBLG.js +0 -3237
  363. package/dist/Disco-4FTOJBLG.js.map +0 -7
  364. package/dist/Disco.UI-IWVSK3RN.js +0 -245
  365. package/dist/Disco.UI-IWVSK3RN.js.map +0 -7
  366. package/dist/DmrPlot-FPJJHTM5.js +0 -642
  367. package/dist/GB-H6JETPRC.js +0 -1130
  368. package/dist/GeneExpInput-Q42COANS.js +0 -366
  369. package/dist/GeneExpInput-Q42COANS.js.map +0 -7
  370. package/dist/HicApp-BBD2YOMT.js +0 -2250
  371. package/dist/NumBinaryEditor-WMSF7HIO.js +0 -271
  372. package/dist/NumBinaryEditor.unit.spec-QQATLHF7.js +0 -286
  373. package/dist/NumContEditor-4CSTHVRX.js +0 -109
  374. package/dist/NumContEditor.unit.spec-2YF3OS3A.js +0 -169
  375. package/dist/NumCustomBinEditor-KFAYUWYV.js +0 -38
  376. package/dist/NumCustomBinEditor.unit.spec-YHAUSGPN.js +0 -284
  377. package/dist/NumDiscreteEditor-F46H5CME.js +0 -179
  378. package/dist/NumDiscreteEditor.unit.spec-5BIAWAVN.js +0 -202
  379. package/dist/NumRegularBinEditor-G7KOA7NR.js +0 -38
  380. package/dist/NumRegularBinEditor.unit.spec-Y6CBCWLN.js +0 -227
  381. package/dist/NumSplineEditor-JP2V2L4Y.js +0 -198
  382. package/dist/NumSplineEditor.unit.spec-N34QBZN3.js +0 -199
  383. package/dist/NumericDensity-JOPHLURB.js +0 -38
  384. package/dist/NumericDensity.unit.spec-N45PCLOT.js +0 -221
  385. package/dist/NumericHandler-SIM4E2Z5.js +0 -39
  386. package/dist/NumericHandler.unit.spec-NKLYDVTG.js +0 -219
  387. package/dist/ProteomeInput-5KMNE3PZ.js +0 -396
  388. package/dist/RunChart2-N7AZVQXJ.js +0 -758
  389. package/dist/SC-M6RGALZM.js +0 -936
  390. package/dist/SC-M6RGALZM.js.map +0 -7
  391. package/dist/Volcano-YH4RJTT5.js +0 -1379
  392. package/dist/WSIViewer-7LOVM3AU.js +0 -48508
  393. package/dist/WSIViewer-7LOVM3AU.js.map +0 -7
  394. package/dist/WsiSamplesPlot-QPPB7OOD.js +0 -165
  395. package/dist/adSandbox-R2QP74P7.js +0 -38
  396. package/dist/app-AIIN4WDE.js +0 -37
  397. package/dist/app-FJT5VXMF.js +0 -49
  398. package/dist/bam-QBO22VQB.js +0 -860
  399. package/dist/barchart-VDOP6FQU.js +0 -47
  400. package/dist/barchart.data-Z2E72EET.js +0 -22
  401. package/dist/barchart.events-NUYQBI5S.js +0 -47
  402. package/dist/barchart.integration.spec-COVZPXMH.js +0 -1980
  403. package/dist/barchart2-KMSU4ROO.js +0 -311
  404. package/dist/barchart2-KMSU4ROO.js.map +0 -7
  405. package/dist/bars.renderer-JHCZDSM6.js +0 -12
  406. package/dist/block-TTN2IQAH.js +0 -6202
  407. package/dist/block-TTN2IQAH.js.map +0 -7
  408. package/dist/block.init-RRHHCNSR.js +0 -38
  409. package/dist/block.mds.expressionrank-7NWBRUII.js +0 -359
  410. package/dist/block.mds.geneboxplot-4BAJJWCC.js +0 -828
  411. package/dist/block.mds.junction-XRUIHAF5.js +0 -1545
  412. package/dist/block.mds.svcnv-YZ7PL733.js +0 -6801
  413. package/dist/block.svg-FUMP2J7A.js +0 -164
  414. package/dist/block.tk.aicheck-AIZEND45.js +0 -283
  415. package/dist/block.tk.ase-H26PKO5U.js +0 -365
  416. package/dist/block.tk.bam-XNZFHSDQ.js +0 -1906
  417. package/dist/block.tk.bedgraphdot-QTDBLBO2.js +0 -384
  418. package/dist/block.tk.bigwig.ui-OSRCPTQC.js +0 -212
  419. package/dist/block.tk.hicstraw-7GH6LVIH.js +0 -823
  420. package/dist/block.tk.junction-AJYML4AW.js +0 -2364
  421. package/dist/block.tk.junction.textmatrixui-4RIH3EZI.js +0 -199
  422. package/dist/block.tk.ld-AJYQ4C6T.js +0 -99
  423. package/dist/block.tk.menu-57OP5UW5.js +0 -1029
  424. package/dist/block.tk.pgv-XO7HP5MM.js +0 -944
  425. package/dist/brainImaging-65QDNR4D.js +0 -423
  426. package/dist/chunk-2XCUERHJ.js +0 -102
  427. package/dist/chunk-322QC6R4.js +0 -222
  428. package/dist/chunk-35SCELN4.js +0 -217
  429. package/dist/chunk-36EHIPV4.js +0 -514
  430. package/dist/chunk-3SZ6GKLB.js +0 -14
  431. package/dist/chunk-3ZLJDFJU.js +0 -368
  432. package/dist/chunk-4DXZGZOB.js +0 -54
  433. package/dist/chunk-4UWS5Y3N.js +0 -1438
  434. package/dist/chunk-4UWS5Y3N.js.map +0 -7
  435. package/dist/chunk-54EMVNPW.js +0 -102
  436. package/dist/chunk-57RBC6IZ.js +0 -302
  437. package/dist/chunk-5OUTR67M.js +0 -37
  438. package/dist/chunk-67DBIM6H.js +0 -293
  439. package/dist/chunk-67DBIM6H.js.map +0 -7
  440. package/dist/chunk-6A3IPDE2.js +0 -1943
  441. package/dist/chunk-6GN7X6LU.js +0 -2681
  442. package/dist/chunk-72X7LSBN.js +0 -54
  443. package/dist/chunk-74ZU4BT6.js +0 -2824
  444. package/dist/chunk-74ZU4BT6.js.map +0 -7
  445. package/dist/chunk-7EMWHCVW.js +0 -1825
  446. package/dist/chunk-7FACFCZK.js +0 -226
  447. package/dist/chunk-7XFGYYRV.js +0 -371
  448. package/dist/chunk-7XFGYYRV.js.map +0 -7
  449. package/dist/chunk-B6CSYKZJ.js +0 -1275
  450. package/dist/chunk-BDIKFVWZ.js +0 -443
  451. package/dist/chunk-BDIKFVWZ.js.map +0 -7
  452. package/dist/chunk-BWGU5NJS.js +0 -291
  453. package/dist/chunk-C5ZMAQXQ.js +0 -1173
  454. package/dist/chunk-C5ZMAQXQ.js.map +0 -7
  455. package/dist/chunk-CC3GFVV6.js +0 -117
  456. package/dist/chunk-CXQ6KS3Z.js +0 -1348
  457. package/dist/chunk-CXQ6KS3Z.js.map +0 -7
  458. package/dist/chunk-DCH54HC5.js +0 -824
  459. package/dist/chunk-DCH54HC5.js.map +0 -7
  460. package/dist/chunk-DD4R5P6W.js +0 -177
  461. package/dist/chunk-DKVUOBIE.js +0 -203
  462. package/dist/chunk-DR6H3QAA.js +0 -399
  463. package/dist/chunk-EH4NQ7C4.js +0 -170
  464. package/dist/chunk-EVN6KWPN.js +0 -50
  465. package/dist/chunk-FFEIP5CT.js +0 -458
  466. package/dist/chunk-FFEIP5CT.js.map +0 -7
  467. package/dist/chunk-FJP77STI.js +0 -158
  468. package/dist/chunk-FJP77STI.js.map +0 -7
  469. package/dist/chunk-G6O3URDN.js +0 -467
  470. package/dist/chunk-GNIK4JYM.js +0 -534
  471. package/dist/chunk-HKSNADSX.js +0 -477
  472. package/dist/chunk-I5RAQKKJ.js +0 -129
  473. package/dist/chunk-IW57W7EQ.js +0 -1210
  474. package/dist/chunk-IW57W7EQ.js.map +0 -7
  475. package/dist/chunk-J4SOF2ZH.js +0 -263
  476. package/dist/chunk-KPJZBCVI.js +0 -272
  477. package/dist/chunk-KSGA62R2.js +0 -2878
  478. package/dist/chunk-LTOBEUM2.js +0 -98
  479. package/dist/chunk-MYF2BWKC.js +0 -205
  480. package/dist/chunk-MYF2BWKC.js.map +0 -7
  481. package/dist/chunk-N2SKTCDK.js +0 -148
  482. package/dist/chunk-NGM3ZLIP.js +0 -230
  483. package/dist/chunk-NOEAT6CX.js +0 -317
  484. package/dist/chunk-NOEAT6CX.js.map +0 -7
  485. package/dist/chunk-NSXZPWRP.js +0 -482
  486. package/dist/chunk-O3JB4PIX.js +0 -31
  487. package/dist/chunk-OAWQ6LOO.js +0 -2063
  488. package/dist/chunk-OAWQ6LOO.js.map +0 -7
  489. package/dist/chunk-ODG6RD7P.js +0 -254
  490. package/dist/chunk-OEDZHPBJ.js +0 -58
  491. package/dist/chunk-ORL44TIK.js +0 -386
  492. package/dist/chunk-P3IENRWJ.js +0 -613
  493. package/dist/chunk-P3IENRWJ.js.map +0 -7
  494. package/dist/chunk-PCZNTK74.js +0 -26
  495. package/dist/chunk-QH6W3NVF.js +0 -287
  496. package/dist/chunk-QNETLNPB.js +0 -343
  497. package/dist/chunk-QQZ3SBF3.js +0 -216
  498. package/dist/chunk-R2MMURGK.js +0 -2786
  499. package/dist/chunk-SA7APTJR.js +0 -20792
  500. package/dist/chunk-SA7APTJR.js.map +0 -7
  501. package/dist/chunk-SHWLROJG.js +0 -283
  502. package/dist/chunk-SKREEF3H.js +0 -184
  503. package/dist/chunk-SKREEF3H.js.map +0 -7
  504. package/dist/chunk-TOU7EVFQ.js +0 -396
  505. package/dist/chunk-TOU7EVFQ.js.map +0 -7
  506. package/dist/chunk-UGVNZMLU.js +0 -4274
  507. package/dist/chunk-UGVNZMLU.js.map +0 -7
  508. package/dist/chunk-UI7OCM2A.js +0 -815
  509. package/dist/chunk-UJKW42DI.js +0 -6364
  510. package/dist/chunk-ULPMYS5B.js +0 -100
  511. package/dist/chunk-UOVALHAJ.js +0 -182
  512. package/dist/chunk-VGJSASRT.js +0 -446
  513. package/dist/chunk-VGYTAYFK.js +0 -276
  514. package/dist/chunk-VHOEJBFP.js +0 -736
  515. package/dist/chunk-VOUMS6IP.js +0 -1102
  516. package/dist/chunk-VV36JRUF.js +0 -381
  517. package/dist/chunk-W55XSG6K.js +0 -142
  518. package/dist/chunk-W6ME65LV.js +0 -34
  519. package/dist/chunk-WHI6466S.js +0 -146
  520. package/dist/chunk-WSDUD52Y.js +0 -55
  521. package/dist/chunk-XAVNZNXQ.js +0 -95
  522. package/dist/chunk-XMLURPEP.js +0 -194
  523. package/dist/chunk-YKXUK7HJ.js +0 -5041
  524. package/dist/chunk-YKXUK7HJ.js.map +0 -7
  525. package/dist/chunk-YZK37YCC.js +0 -119
  526. package/dist/chunk-ZTYNN6G5.js +0 -2327
  527. package/dist/chunk-ZXTHADSC.js +0 -158
  528. package/dist/condition-HDVYPJJD.js +0 -332
  529. package/dist/controls-YEEW46C6.js +0 -41
  530. package/dist/controls.config-C535H5DL.js +0 -39
  531. package/dist/correlation-AOSSSSL3.js +0 -99
  532. package/dist/correlation-AOSSSSL3.js.map +0 -7
  533. package/dist/cuminc-II7NFIFP.js +0 -1149
  534. package/dist/cuminc.integration.spec-B4N6OMBJ.js +0 -678
  535. package/dist/customdata.inputui-AI4ZBIEP.js +0 -289
  536. package/dist/dataDownload-ZQYLXN6D.js +0 -330
  537. package/dist/dataDownload.integration.spec-2PKYZ2AY.js +0 -193
  538. package/dist/databrowser.ui-WGD7D3XV.js +0 -433
  539. package/dist/dictionary-RYM4WP2W.js +0 -111
  540. package/dist/dictionary-RYM4WP2W.js.map +0 -7
  541. package/dist/dnaMethylation-WGJMJL5B.js +0 -38
  542. package/dist/dnaMethylation.integration.spec-DO3PV4MO.js +0 -203
  543. package/dist/dofetch-RADX3AFU.js +0 -51
  544. package/dist/e2pca-KOAAU2JX.js +0 -350
  545. package/dist/ep-CXCATXYH.js +0 -1256
  546. package/dist/expclust.gdc.spec-UJO2R3CW.js +0 -307
  547. package/dist/facet-2FBUAD7P.js +0 -521
  548. package/dist/forms2-ZBT5BZW3.js +0 -534
  549. package/dist/forms2-ZBT5BZW3.js.map +0 -7
  550. package/dist/gb-VCJFV63W.js +0 -88
  551. package/dist/geneExpClustering-FUNS6D2P.js +0 -249
  552. package/dist/geneExpression-2BWWGYL4.js +0 -38
  553. package/dist/geneExpression-2OPFWV2K.js +0 -313
  554. package/dist/geneExpression.unit.spec-G7BSHJQT.js +0 -102
  555. package/dist/geneORA-S3KQMBYL.js +0 -278
  556. package/dist/geneRanking-UZ36XAL7.js +0 -551
  557. package/dist/geneVariant-OOZ2SBXO.js +0 -41
  558. package/dist/geneVariant-ZHNVEKQ6.js +0 -39
  559. package/dist/geneVariant.integration.spec-2C7EWKEV.js +0 -198
  560. package/dist/genefusion.ui-ASICJNII.js +0 -309
  561. package/dist/geneset-SNM4M6UM.js +0 -208
  562. package/dist/genomeBrowser.spec-DJIRW2X7.js +0 -281
  563. package/dist/grin2-7AOJP5QJ.js +0 -1560
  564. package/dist/grin2-RKJXYWJ5.js +0 -821
  565. package/dist/grin2-RKJXYWJ5.js.map +0 -7
  566. package/dist/gsea-SPTQJW67.js +0 -47
  567. package/dist/hierCluster-KDE5SMYP.js +0 -63
  568. package/dist/hierCluster-XG4YLVL3.js +0 -59
  569. package/dist/hierCluster.config-VNEEJCKJ.js +0 -40
  570. package/dist/hierCluster.integration.spec-SSDN7LSH.js +0 -395
  571. package/dist/hierCluster.interactivity-DKBSJ644.js +0 -54
  572. package/dist/hierCluster.renderers-OG6LZAT7.js +0 -21
  573. package/dist/imagePlot-M5JSHEY4.js +0 -163
  574. package/dist/importPlot-YH7ZY6RJ.js +0 -8
  575. package/dist/isoformExpression-EV27MKYZ.js +0 -40
  576. package/dist/isoformExpression.unit.spec-7T2GOHH3.js +0 -208
  577. package/dist/launch.adhoc-NOISOX5E.js +0 -42
  578. package/dist/leftlabel.sample-42AX4KTV.js +0 -260
  579. package/dist/legacyDataset-SWJCAWIR.js +0 -119
  580. package/dist/lollipop-LQCQBTSX.js +0 -171
  581. package/dist/maf-U237OWZ3.js +0 -452
  582. package/dist/maftimeline-NLZLMHT2.js +0 -593
  583. package/dist/matrix-DZJXYRYN.js +0 -63
  584. package/dist/matrix-Y5345QQG.js +0 -58
  585. package/dist/matrix.cells-PT7S74QP.js +0 -28
  586. package/dist/matrix.config-2ORCUWKX.js +0 -41
  587. package/dist/matrix.data-C6VPQJJ4.js +0 -25
  588. package/dist/matrix.groups-CEOCG2CT.js +0 -27
  589. package/dist/matrix.integration.spec-U4B3JB6N.js +0 -3072
  590. package/dist/matrix.interactivity-GFLIFIER.js +0 -42
  591. package/dist/matrix.layout-DOVDHTDX.js +0 -44
  592. package/dist/matrix.legend-JE4ZSLP7.js +0 -22
  593. package/dist/matrix.renderers-GPUJQ7KF.js +0 -38
  594. package/dist/matrix.serieses-REE4DCSR.js +0 -21
  595. package/dist/matrix.sort-VD5URUWY.js +0 -27
  596. package/dist/matrix.sort.unit.spec-4IOFVHJN.js +0 -472
  597. package/dist/matrix.sorterUi-VQYY6KBK.js +0 -18
  598. package/dist/matrix.sorterUi.unit.spec-V5O2EJBX.js +0 -342
  599. package/dist/mavb-SQDA3B2B.js +0 -732
  600. package/dist/mds.fimo-ZJSEPLD7.js +0 -518
  601. package/dist/mds.samplescatterplot-Y5V73GOY.js +0 -1550
  602. package/dist/mds.survivalplot-CZBRMHYN.js +0 -483
  603. package/dist/numericDictTermCluster-TFXBBUVI.js +0 -72
  604. package/dist/oncomatrix-ZILACPPI.js +0 -295
  605. package/dist/oncomatrix.spec-RLIVVVD6.js +0 -448
  606. package/dist/plot.2dvaf-BNRZPIKU.js +0 -377
  607. package/dist/plot.app-NRUARQCN.js +0 -41
  608. package/dist/plot.barplot-342AYQC7.js +0 -102
  609. package/dist/plot.boxplot-OHEJDPTW.js +0 -152
  610. package/dist/plot.brainImaging-KV72PAON.js +0 -51
  611. package/dist/plot.disco-OUE4RFHL.js +0 -102
  612. package/dist/plot.dzi-T3GPUH36.js +0 -33
  613. package/dist/plot.ssgq-WJHGMXW5.js +0 -139
  614. package/dist/plot.vaf2cov-NGD5PCV4.js +0 -259
  615. package/dist/plot.wsi-2MU5BDG3.js +0 -36
  616. package/dist/polar2-YCWPBPFU.js +0 -226
  617. package/dist/polar2-YCWPBPFU.js.map +0 -7
  618. package/dist/profileForms-OV3I6RK7.js +0 -441
  619. package/dist/profileForms-OV3I6RK7.js.map +0 -7
  620. package/dist/profilePlot-OMVO3K4H.js +0 -54
  621. package/dist/proteinView-OAR2RC6U.js +0 -1320
  622. package/dist/proteinView-OAR2RC6U.js.map +0 -7
  623. package/dist/qualitative-MEYBRUC6.js +0 -43
  624. package/dist/radar2-KREAMGVV.js +0 -321
  625. package/dist/radar2-KREAMGVV.js.map +0 -7
  626. package/dist/radarFacility2-DBPEV7VC.js +0 -329
  627. package/dist/radarFacility2-DBPEV7VC.js.map +0 -7
  628. package/dist/regression-ZPDPLI6G.js +0 -56
  629. package/dist/regression.inputs-QOSBAGL6.js +0 -48
  630. package/dist/regression.inputs.term-HMUMPY7X.js +0 -48
  631. package/dist/regression.inputs.values.table-VMCTZHLG.js +0 -45
  632. package/dist/regression.integration.spec-RP74JTAA.js +0 -784
  633. package/dist/regression.results-5XC6M67C.js +0 -40
  634. package/dist/regression.spec-EZYM24J7.js +0 -708
  635. package/dist/report-ZOVQCOGQ.js +0 -222
  636. package/dist/sampleScatter.spec-CD52FEOC.js +0 -202
  637. package/dist/sampleView-SVTLSWRG.js +0 -48
  638. package/dist/samplelst-HXF5POJD.js +0 -111
  639. package/dist/samplematrix-NYDAH74I.js +0 -2198
  640. package/dist/sc-JIDT4W4K.js +0 -86
  641. package/dist/scatter-WNRTPSEE.js +0 -849
  642. package/dist/scatter-WNRTPSEE.js.map +0 -7
  643. package/dist/scatter.integration.spec-3EYTPY5B.js +0 -1197
  644. package/dist/scatter.integration.spec-3EYTPY5B.js.map +0 -7
  645. package/dist/selectGenomeWithTklst-OSB7B6L3.js +0 -134
  646. package/dist/singleCellCellType-3BH7LWQ6.js +0 -38
  647. package/dist/singleCellCellType.unit.spec-RU4RJXFF.js +0 -160
  648. package/dist/singleCellGeneExpression-3UA4YER7.js +0 -38
  649. package/dist/singleCellGeneExpression.unit.spec-4ZTBG37H.js +0 -153
  650. package/dist/singleCellPlot-ZUAWK5RE.js +0 -54
  651. package/dist/singlecell-BGJZB7MF.js +0 -86
  652. package/dist/singlecell-RO3BL5OO.js +0 -1572
  653. package/dist/snp-HD7VQKBR.js +0 -38
  654. package/dist/snp.unit.spec-ISXCLMWW.js +0 -176
  655. package/dist/snplocus-IL5Z4XWV.js +0 -208
  656. package/dist/spliceevent.a53ss.diagram-LLJSPV7M.js +0 -151
  657. package/dist/spliceevent.exonskip.diagram-LAOIOIST.js +0 -277
  658. package/dist/spliceevent.noeventdiagram-MVA7Q3HT.js +0 -460
  659. package/dist/ssGSEA-7T6S3DSE.js +0 -38
  660. package/dist/ssGSEA.unit.spec-XJ3W4NWX.js +0 -88
  661. package/dist/summarizeCnvGeneexp-RRP6JUV6.js +0 -163
  662. package/dist/summarizeGeneexpSurvival-AFLHDD6Q.js +0 -108
  663. package/dist/summarizeMutationCnv-NABUYHMX.js +0 -164
  664. package/dist/summarizeMutationDiagnosis-2LQ7JU3K.js +0 -40
  665. package/dist/summarizeMutationSurvival-3WBT5TXG.js +0 -99
  666. package/dist/summary-FRDKOFXW.js +0 -49
  667. package/dist/summary.integration.spec-ZLRIA7G2.js +0 -414
  668. package/dist/summaryInput-4JO6MHP4.js +0 -235
  669. package/dist/sunburst-DRCVSC2X.js +0 -284
  670. package/dist/survival-AK75COPY.js +0 -58
  671. package/dist/survival-IF5NI3A6.js +0 -46
  672. package/dist/survival.integration.spec-7IWBTPJG.js +0 -821
  673. package/dist/svgraph-QBDF2SLB.js +0 -1387
  674. package/dist/svmr-O4GJJUT2.js +0 -3842
  675. package/dist/table-FQAIXKLE.js +0 -200
  676. package/dist/termCollection-GMDDL3L7.js +0 -179
  677. package/dist/termCollection-ZO5PZ7E3.js +0 -38
  678. package/dist/termCollection.unit.spec-5JBCTXHX.js +0 -208
  679. package/dist/tk-GJX23IV7.js +0 -46
  680. package/dist/tp.ui-T7FVMTGQ.js +0 -1459
  681. package/dist/tvs.dt-X7L7NSU6.js +0 -39
  682. package/dist/tvs.dtcnv.categorical-73G2V6CH.js +0 -40
  683. package/dist/tvs.dtcnv.continuous-DWFJL3X7.js +0 -72
  684. package/dist/tvs.dtfusion-HQADHCSV.js +0 -40
  685. package/dist/tvs.dtsnvindel-PY5OBMGW.js +0 -40
  686. package/dist/tvs.dtsv-OTBEEWSW.js +0 -40
  687. package/dist/tvs.numeric-WGDHEBJV.js +0 -21
  688. package/dist/tvs.samplelst-LCXSU5MG.js +0 -104
  689. package/dist/tvs.termCollection-L527XN4X.js +0 -159
  690. package/dist/violin-6VKRUQV3.js +0 -46
  691. package/dist/violin.integration.spec-RJATDLQH.js +0 -1425
  692. package/dist/violin.interactivity-SKF5H7MN.js +0 -38
  693. package/dist/violin.renderer-GB4TPX3B.js +0 -40
  694. package/dist/vocabulary-D3W44IWE.js +0 -41
  695. /package/dist/{2dmaf-Z3D2M3FB.js.map → 2dmaf-BNMEUJVM.js.map} +0 -0
  696. /package/dist/{AppHeader-PXLGVCVS.js.map → AppHeader-RXDJBHXZ.js.map} +0 -0
  697. /package/dist/{CorrelationVolcano-RO6CFLZA.js.map → CorrelationVolcano-V2E566XL.js.map} +0 -0
  698. /package/dist/{DE-CCA5SBJG.js.map → DE-7YUZSW4E.js.map} +0 -0
  699. /package/dist/{DEinput-MRUQW6X6.js.map → DEinput-P2HOQC4Z.js.map} +0 -0
  700. /package/dist/{DifferentialAnalysis-5YQQLJKR.js.map → DifferentialAnalysis-2Z6BHS7A.js.map} +0 -0
  701. /package/dist/{DmrPlot-FPJJHTM5.js.map → DmrPlot-OEJRGNI3.js.map} +0 -0
  702. /package/dist/{GB-H6JETPRC.js.map → GB-2GHDD3MW.js.map} +0 -0
  703. /package/dist/{HicApp-BBD2YOMT.js.map → HicApp-CAYC4DPO.js.map} +0 -0
  704. /package/dist/{NumBinaryEditor-WMSF7HIO.js.map → NumBinaryEditor-EUOYSGPM.js.map} +0 -0
  705. /package/dist/{NumBinaryEditor.unit.spec-QQATLHF7.js.map → NumBinaryEditor.unit.spec-5B3W4B4F.js.map} +0 -0
  706. /package/dist/{NumContEditor-4CSTHVRX.js.map → NumContEditor-7KK6CIB3.js.map} +0 -0
  707. /package/dist/{NumContEditor.unit.spec-2YF3OS3A.js.map → NumContEditor.unit.spec-IMKGVYFZ.js.map} +0 -0
  708. /package/dist/{NumCustomBinEditor-KFAYUWYV.js.map → NumCustomBinEditor-PDAF6I7B.js.map} +0 -0
  709. /package/dist/{NumCustomBinEditor.unit.spec-YHAUSGPN.js.map → NumCustomBinEditor.unit.spec-IU3DPECJ.js.map} +0 -0
  710. /package/dist/{NumDiscreteEditor-F46H5CME.js.map → NumDiscreteEditor-YTKUHG6Z.js.map} +0 -0
  711. /package/dist/{NumDiscreteEditor.unit.spec-5BIAWAVN.js.map → NumDiscreteEditor.unit.spec-FUBS7Z7Z.js.map} +0 -0
  712. /package/dist/{NumRegularBinEditor-G7KOA7NR.js.map → NumRegularBinEditor-LU3KLBLY.js.map} +0 -0
  713. /package/dist/{NumRegularBinEditor.unit.spec-Y6CBCWLN.js.map → NumRegularBinEditor.unit.spec-2BKOHI7L.js.map} +0 -0
  714. /package/dist/{NumSplineEditor-JP2V2L4Y.js.map → NumSplineEditor-56RJ2HT2.js.map} +0 -0
  715. /package/dist/{NumSplineEditor.unit.spec-N34QBZN3.js.map → NumSplineEditor.unit.spec-PW6VUUBZ.js.map} +0 -0
  716. /package/dist/{NumericDensity-JOPHLURB.js.map → NumericDensity-EB4H54EF.js.map} +0 -0
  717. /package/dist/{NumericDensity.unit.spec-N45PCLOT.js.map → NumericDensity.unit.spec-LSEM4OEY.js.map} +0 -0
  718. /package/dist/{NumericHandler-SIM4E2Z5.js.map → NumericHandler-VGPDXP35.js.map} +0 -0
  719. /package/dist/{NumericHandler.unit.spec-NKLYDVTG.js.map → NumericHandler.unit.spec-NR3F7XHV.js.map} +0 -0
  720. /package/dist/{ProteomeInput-5KMNE3PZ.js.map → ProteomeInput-AUXWUIWK.js.map} +0 -0
  721. /package/dist/{RunChart2-N7AZVQXJ.js.map → RunChart2-SQ6TFOHD.js.map} +0 -0
  722. /package/dist/{Volcano-YH4RJTT5.js.map → Volcano-XHDH6UN7.js.map} +0 -0
  723. /package/dist/{WsiSamplesPlot-QPPB7OOD.js.map → WsiSamplesPlot-YUOAWG2A.js.map} +0 -0
  724. /package/dist/{adSandbox-R2QP74P7.js.map → adSandbox-VMMAL22L.js.map} +0 -0
  725. /package/dist/{app-AIIN4WDE.js.map → app-FX3KZ67X.js.map} +0 -0
  726. /package/dist/{app-FJT5VXMF.js.map → app-X7ZYEOZN.js.map} +0 -0
  727. /package/dist/{bam-QBO22VQB.js.map → bam-ZYLH4U5R.js.map} +0 -0
  728. /package/dist/{barchart-VDOP6FQU.js.map → barchart-MXSPTKV4.js.map} +0 -0
  729. /package/dist/{barchart.data-Z2E72EET.js.map → barchart.data-ZWF6EVJH.js.map} +0 -0
  730. /package/dist/{barchart.events-NUYQBI5S.js.map → barchart.events-XON2ANOC.js.map} +0 -0
  731. /package/dist/{barchart.integration.spec-COVZPXMH.js.map → barchart.integration.spec-PJIENJGT.js.map} +0 -0
  732. /package/dist/{bars.renderer-JHCZDSM6.js.map → bars.renderer-57KSYAAT.js.map} +0 -0
  733. /package/dist/{block.init-RRHHCNSR.js.map → block.init-IJBRPZNM.js.map} +0 -0
  734. /package/dist/{block.mds.expressionrank-7NWBRUII.js.map → block.mds.expressionrank-3DANCP7E.js.map} +0 -0
  735. /package/dist/{block.mds.geneboxplot-4BAJJWCC.js.map → block.mds.geneboxplot-CRGSCZMG.js.map} +0 -0
  736. /package/dist/{block.mds.junction-XRUIHAF5.js.map → block.mds.junction-4UIH2ZYN.js.map} +0 -0
  737. /package/dist/{block.mds.svcnv-YZ7PL733.js.map → block.mds.svcnv-NF4UIRR2.js.map} +0 -0
  738. /package/dist/{block.svg-FUMP2J7A.js.map → block.svg-AIZ47JCQ.js.map} +0 -0
  739. /package/dist/{block.tk.aicheck-AIZEND45.js.map → block.tk.aicheck-7HZFGE63.js.map} +0 -0
  740. /package/dist/{block.tk.ase-H26PKO5U.js.map → block.tk.ase-U3VNPZEA.js.map} +0 -0
  741. /package/dist/{block.tk.bam-XNZFHSDQ.js.map → block.tk.bam-4TQ7P2OX.js.map} +0 -0
  742. /package/dist/{block.tk.bedgraphdot-QTDBLBO2.js.map → block.tk.bedgraphdot-MYHKKO6K.js.map} +0 -0
  743. /package/dist/{block.tk.bigwig.ui-OSRCPTQC.js.map → block.tk.bigwig.ui-E3YVGIDN.js.map} +0 -0
  744. /package/dist/{block.tk.hicstraw-7GH6LVIH.js.map → block.tk.hicstraw-Y4XOMG7T.js.map} +0 -0
  745. /package/dist/{block.tk.junction-AJYML4AW.js.map → block.tk.junction-T5C7LK6F.js.map} +0 -0
  746. /package/dist/{block.tk.junction.textmatrixui-4RIH3EZI.js.map → block.tk.junction.textmatrixui-Z3ACCVXH.js.map} +0 -0
  747. /package/dist/{block.tk.ld-AJYQ4C6T.js.map → block.tk.ld-Y5KDA5AU.js.map} +0 -0
  748. /package/dist/{block.tk.menu-57OP5UW5.js.map → block.tk.menu-EWRRISDY.js.map} +0 -0
  749. /package/dist/{block.tk.pgv-XO7HP5MM.js.map → block.tk.pgv-3JYGOZVQ.js.map} +0 -0
  750. /package/dist/{brainImaging-65QDNR4D.js.map → brainImaging-P3AF3C5N.js.map} +0 -0
  751. /package/dist/{chunk-7EMWHCVW.js.map → chunk-2JR7RPB6.js.map} +0 -0
  752. /package/dist/{chunk-72X7LSBN.js.map → chunk-3FVIDQOX.js.map} +0 -0
  753. /package/dist/{chunk-VGJSASRT.js.map → chunk-3K2O2NIH.js.map} +0 -0
  754. /package/dist/{chunk-6GN7X6LU.js.map → chunk-3RSJU6YM.js.map} +0 -0
  755. /package/dist/{chunk-W6ME65LV.js.map → chunk-3ZKD6C5S.js.map} +0 -0
  756. /package/dist/{chunk-XAVNZNXQ.js.map → chunk-46AEH34Z.js.map} +0 -0
  757. /package/dist/{chunk-UOVALHAJ.js.map → chunk-4CQVC6XL.js.map} +0 -0
  758. /package/dist/{chunk-QQZ3SBF3.js.map → chunk-5FXNI724.js.map} +0 -0
  759. /package/dist/{chunk-I5RAQKKJ.js.map → chunk-7PFRBGMN.js.map} +0 -0
  760. /package/dist/{chunk-VGYTAYFK.js.map → chunk-A4Z3CI24.js.map} +0 -0
  761. /package/dist/{chunk-YZK37YCC.js.map → chunk-AI2LUQS6.js.map} +0 -0
  762. /package/dist/{chunk-UJKW42DI.js.map → chunk-AJYJW4LX.js.map} +0 -0
  763. /package/dist/{chunk-DD4R5P6W.js.map → chunk-BKPDYW5T.js.map} +0 -0
  764. /package/dist/{chunk-5OUTR67M.js.map → chunk-BMS32SNA.js.map} +0 -0
  765. /package/dist/{chunk-BWGU5NJS.js.map → chunk-CJPGYPI3.js.map} +0 -0
  766. /package/dist/{chunk-O3JB4PIX.js.map → chunk-CTQH7LQ6.js.map} +0 -0
  767. /package/dist/{chunk-DKVUOBIE.js.map → chunk-D5CVYITI.js.map} +0 -0
  768. /package/dist/{chunk-HKSNADSX.js.map → chunk-DMSX5PSO.js.map} +0 -0
  769. /package/dist/{chunk-VOUMS6IP.js.map → chunk-E3JRW3T3.js.map} +0 -0
  770. /package/dist/{chunk-SHWLROJG.js.map → chunk-E574SMCX.js.map} +0 -0
  771. /package/dist/{chunk-LTOBEUM2.js.map → chunk-E76O5Z42.js.map} +0 -0
  772. /package/dist/{chunk-3SZ6GKLB.js.map → chunk-EEW443GL.js.map} +0 -0
  773. /package/dist/{chunk-6A3IPDE2.js.map → chunk-F2WPS7VY.js.map} +0 -0
  774. /package/dist/{chunk-322QC6R4.js.map → chunk-FYFX42YD.js.map} +0 -0
  775. /package/dist/{chunk-ORL44TIK.js.map → chunk-G6RZYGWY.js.map} +0 -0
  776. /package/dist/{chunk-VHOEJBFP.js.map → chunk-GTZV2UZV.js.map} +0 -0
  777. /package/dist/{chunk-W55XSG6K.js.map → chunk-H34LAFGH.js.map} +0 -0
  778. /package/dist/{chunk-J4SOF2ZH.js.map → chunk-I2R5O2XX.js.map} +0 -0
  779. /package/dist/{chunk-PCZNTK74.js.map → chunk-IEYDMN3H.js.map} +0 -0
  780. /package/dist/{chunk-N2SKTCDK.js.map → chunk-JWBP4ZZB.js.map} +0 -0
  781. /package/dist/{chunk-B6CSYKZJ.js.map → chunk-KVIH5JPC.js.map} +0 -0
  782. /package/dist/{chunk-57RBC6IZ.js.map → chunk-L5HCOTRF.js.map} +0 -0
  783. /package/dist/{chunk-XMLURPEP.js.map → chunk-LHKDLWG5.js.map} +0 -0
  784. /package/dist/{chunk-G6O3URDN.js.map → chunk-LQJMCE7G.js.map} +0 -0
  785. /package/dist/{chunk-WHI6466S.js.map → chunk-MNIBZTQE.js.map} +0 -0
  786. /package/dist/{chunk-CC3GFVV6.js.map → chunk-MP3DN6JK.js.map} +0 -0
  787. /package/dist/{chunk-R2MMURGK.js.map → chunk-N5OVBS5L.js.map} +0 -0
  788. /package/dist/{chunk-OEDZHPBJ.js.map → chunk-NEKAGDTL.js.map} +0 -0
  789. /package/dist/{chunk-4DXZGZOB.js.map → chunk-NPCNDM6Y.js.map} +0 -0
  790. /package/dist/{chunk-ULPMYS5B.js.map → chunk-NYN2WQN3.js.map} +0 -0
  791. /package/dist/{chunk-QNETLNPB.js.map → chunk-O6WL7USJ.js.map} +0 -0
  792. /package/dist/{chunk-3ZLJDFJU.js.map → chunk-OH5I6I2D.js.map} +0 -0
  793. /package/dist/{chunk-36EHIPV4.js.map → chunk-PTQ774XH.js.map} +0 -0
  794. /package/dist/{chunk-DR6H3QAA.js.map → chunk-PXOH4ZN2.js.map} +0 -0
  795. /package/dist/{chunk-54EMVNPW.js.map → chunk-QG4BJUM7.js.map} +0 -0
  796. /package/dist/{chunk-ZXTHADSC.js.map → chunk-RITTG5WN.js.map} +0 -0
  797. /package/dist/{chunk-KPJZBCVI.js.map → chunk-SMSFTTEO.js.map} +0 -0
  798. /package/dist/{chunk-EVN6KWPN.js.map → chunk-TBZKVKR4.js.map} +0 -0
  799. /package/dist/{chunk-KSGA62R2.js.map → chunk-TJYRBEBK.js.map} +0 -0
  800. /package/dist/{chunk-QH6W3NVF.js.map → chunk-TLTS33EY.js.map} +0 -0
  801. /package/dist/{chunk-VV36JRUF.js.map → chunk-TMM7BWW7.js.map} +0 -0
  802. /package/dist/{chunk-ZTYNN6G5.js.map → chunk-TTC4MNEM.js.map} +0 -0
  803. /package/dist/{chunk-7FACFCZK.js.map → chunk-UXIZYI3X.js.map} +0 -0
  804. /package/dist/{chunk-EH4NQ7C4.js.map → chunk-VIUATDO2.js.map} +0 -0
  805. /package/dist/{chunk-2XCUERHJ.js.map → chunk-VIUDFDN4.js.map} +0 -0
  806. /package/dist/{chunk-ODG6RD7P.js.map → chunk-W5OEFZCR.js.map} +0 -0
  807. /package/dist/{chunk-GNIK4JYM.js.map → chunk-WXSRK3XR.js.map} +0 -0
  808. /package/dist/{chunk-NGM3ZLIP.js.map → chunk-XHGMDBTS.js.map} +0 -0
  809. /package/dist/{chunk-WSDUD52Y.js.map → chunk-XVGS3QXS.js.map} +0 -0
  810. /package/dist/{chunk-NSXZPWRP.js.map → chunk-XYNYQMLH.js.map} +0 -0
  811. /package/dist/{chunk-35SCELN4.js.map → chunk-Y4JJMUWG.js.map} +0 -0
  812. /package/dist/{chunk-UI7OCM2A.js.map → chunk-Z457XQSX.js.map} +0 -0
  813. /package/dist/{condition-HDVYPJJD.js.map → condition-QXTOTGZX.js.map} +0 -0
  814. /package/dist/{controls-YEEW46C6.js.map → controls-7TDB75LK.js.map} +0 -0
  815. /package/dist/{controls.config-C535H5DL.js.map → controls.config-IBF5ILFP.js.map} +0 -0
  816. /package/dist/{cuminc-II7NFIFP.js.map → cuminc-CAHPKW7W.js.map} +0 -0
  817. /package/dist/{cuminc.integration.spec-B4N6OMBJ.js.map → cuminc.integration.spec-NNSQGBRI.js.map} +0 -0
  818. /package/dist/{customdata.inputui-AI4ZBIEP.js.map → customdata.inputui-RRTQK7OK.js.map} +0 -0
  819. /package/dist/{dataDownload-ZQYLXN6D.js.map → dataDownload-SOUCBKXM.js.map} +0 -0
  820. /package/dist/{dataDownload.integration.spec-2PKYZ2AY.js.map → dataDownload.integration.spec-C6TLWSSO.js.map} +0 -0
  821. /package/dist/{databrowser.ui-WGD7D3XV.js.map → databrowser.ui-KLFEU5QA.js.map} +0 -0
  822. /package/dist/{dnaMethylation-WGJMJL5B.js.map → dnaMethylation-WOKGG33W.js.map} +0 -0
  823. /package/dist/{dnaMethylation.integration.spec-DO3PV4MO.js.map → dnaMethylation.integration.spec-YUPP42UK.js.map} +0 -0
  824. /package/dist/{dofetch-RADX3AFU.js.map → dofetch-V7PLLWSO.js.map} +0 -0
  825. /package/dist/{e2pca-KOAAU2JX.js.map → e2pca-VT7EM4E3.js.map} +0 -0
  826. /package/dist/{ep-CXCATXYH.js.map → ep-X6B43UXE.js.map} +0 -0
  827. /package/dist/{expclust.gdc.spec-UJO2R3CW.js.map → expclust.gdc.spec-DTBFOXBC.js.map} +0 -0
  828. /package/dist/{facet-2FBUAD7P.js.map → facet-T5ZX7ZGV.js.map} +0 -0
  829. /package/dist/{gb-VCJFV63W.js.map → gb-TWXREZIP.js.map} +0 -0
  830. /package/dist/{geneExpClustering-FUNS6D2P.js.map → geneExpClustering-2G6YDCIN.js.map} +0 -0
  831. /package/dist/{geneExpression-2BWWGYL4.js.map → geneExpression-2A4ZPT7K.js.map} +0 -0
  832. /package/dist/{geneExpression-2OPFWV2K.js.map → geneExpression-ZHQH6SNA.js.map} +0 -0
  833. /package/dist/{geneExpression.unit.spec-G7BSHJQT.js.map → geneExpression.unit.spec-2M223S4P.js.map} +0 -0
  834. /package/dist/{geneORA-S3KQMBYL.js.map → geneORA-YLIRUMCZ.js.map} +0 -0
  835. /package/dist/{geneRanking-UZ36XAL7.js.map → geneRanking-JDJXNGEC.js.map} +0 -0
  836. /package/dist/{geneVariant-OOZ2SBXO.js.map → geneVariant-5ZIOT5BT.js.map} +0 -0
  837. /package/dist/{geneVariant-ZHNVEKQ6.js.map → geneVariant-GIXIMJ2I.js.map} +0 -0
  838. /package/dist/{geneVariant.integration.spec-2C7EWKEV.js.map → geneVariant.integration.spec-QCROW73S.js.map} +0 -0
  839. /package/dist/{genefusion.ui-ASICJNII.js.map → genefusion.ui-56UQLUKJ.js.map} +0 -0
  840. /package/dist/{geneset-SNM4M6UM.js.map → geneset-ACRMGBJO.js.map} +0 -0
  841. /package/dist/{genomeBrowser.spec-DJIRW2X7.js.map → genomeBrowser.spec-EDILOQON.js.map} +0 -0
  842. /package/dist/{grin2-7AOJP5QJ.js.map → grin2-5P7CYUT7.js.map} +0 -0
  843. /package/dist/{gsea-SPTQJW67.js.map → gsea-2PQ5HNNT.js.map} +0 -0
  844. /package/dist/{hierCluster-KDE5SMYP.js.map → hierCluster-H5HB7FPW.js.map} +0 -0
  845. /package/dist/{hierCluster-XG4YLVL3.js.map → hierCluster-L3LCP2II.js.map} +0 -0
  846. /package/dist/{hierCluster.config-VNEEJCKJ.js.map → hierCluster.config-6UIJWCND.js.map} +0 -0
  847. /package/dist/{hierCluster.integration.spec-SSDN7LSH.js.map → hierCluster.integration.spec-EVAPT2VF.js.map} +0 -0
  848. /package/dist/{hierCluster.interactivity-DKBSJ644.js.map → hierCluster.interactivity-7MW6ZT6O.js.map} +0 -0
  849. /package/dist/{hierCluster.renderers-OG6LZAT7.js.map → hierCluster.renderers-F34EVY5J.js.map} +0 -0
  850. /package/dist/{imagePlot-M5JSHEY4.js.map → imagePlot-RSFZ2OKD.js.map} +0 -0
  851. /package/dist/{importPlot-YH7ZY6RJ.js.map → importPlot-DQFWY5A7.js.map} +0 -0
  852. /package/dist/{isoformExpression-EV27MKYZ.js.map → isoformExpression-2KANPCBH.js.map} +0 -0
  853. /package/dist/{isoformExpression.unit.spec-7T2GOHH3.js.map → isoformExpression.unit.spec-6FSMHT4K.js.map} +0 -0
  854. /package/dist/{launch.adhoc-NOISOX5E.js.map → launch.adhoc-ZYTIRVIC.js.map} +0 -0
  855. /package/dist/{leftlabel.sample-42AX4KTV.js.map → leftlabel.sample-66U6MHPN.js.map} +0 -0
  856. /package/dist/{legacyDataset-SWJCAWIR.js.map → legacyDataset-TNIIJABK.js.map} +0 -0
  857. /package/dist/{lollipop-LQCQBTSX.js.map → lollipop-PJDUFWEY.js.map} +0 -0
  858. /package/dist/{maf-U237OWZ3.js.map → maf-DLJHCKHJ.js.map} +0 -0
  859. /package/dist/{maftimeline-NLZLMHT2.js.map → maftimeline-NK5QYJMJ.js.map} +0 -0
  860. /package/dist/{matrix-DZJXYRYN.js.map → matrix-7BFYR6QL.js.map} +0 -0
  861. /package/dist/{matrix-Y5345QQG.js.map → matrix-USAB2CHO.js.map} +0 -0
  862. /package/dist/{matrix.cells-PT7S74QP.js.map → matrix.cells-OTAXAJ4N.js.map} +0 -0
  863. /package/dist/{matrix.config-2ORCUWKX.js.map → matrix.config-AL4WSFZ7.js.map} +0 -0
  864. /package/dist/{matrix.data-C6VPQJJ4.js.map → matrix.data-BDHCSN2G.js.map} +0 -0
  865. /package/dist/{matrix.groups-CEOCG2CT.js.map → matrix.groups-MV2D2636.js.map} +0 -0
  866. /package/dist/{matrix.integration.spec-U4B3JB6N.js.map → matrix.integration.spec-DESORC2Y.js.map} +0 -0
  867. /package/dist/{matrix.interactivity-GFLIFIER.js.map → matrix.interactivity-H7EJW3P2.js.map} +0 -0
  868. /package/dist/{matrix.layout-DOVDHTDX.js.map → matrix.layout-7CAS2IBO.js.map} +0 -0
  869. /package/dist/{matrix.legend-JE4ZSLP7.js.map → matrix.legend-JDVG2JDF.js.map} +0 -0
  870. /package/dist/{matrix.renderers-GPUJQ7KF.js.map → matrix.renderers-PDR5FIBC.js.map} +0 -0
  871. /package/dist/{matrix.serieses-REE4DCSR.js.map → matrix.serieses-QVDS5HKK.js.map} +0 -0
  872. /package/dist/{matrix.sort-VD5URUWY.js.map → matrix.sort-HCK4CSTJ.js.map} +0 -0
  873. /package/dist/{matrix.sort.unit.spec-4IOFVHJN.js.map → matrix.sort.unit.spec-2GC4E26N.js.map} +0 -0
  874. /package/dist/{matrix.sorterUi-VQYY6KBK.js.map → matrix.sorterUi-XGBQOPG4.js.map} +0 -0
  875. /package/dist/{matrix.sorterUi.unit.spec-V5O2EJBX.js.map → matrix.sorterUi.unit.spec-BJQKDU2F.js.map} +0 -0
  876. /package/dist/{mavb-SQDA3B2B.js.map → mavb-6E6Z4LPK.js.map} +0 -0
  877. /package/dist/{mds.fimo-ZJSEPLD7.js.map → mds.fimo-5P2TK5U4.js.map} +0 -0
  878. /package/dist/{mds.samplescatterplot-Y5V73GOY.js.map → mds.samplescatterplot-KLKOD4AS.js.map} +0 -0
  879. /package/dist/{mds.survivalplot-CZBRMHYN.js.map → mds.survivalplot-SWQCOFIU.js.map} +0 -0
  880. /package/dist/{numericDictTermCluster-TFXBBUVI.js.map → numericDictTermCluster-WIVO33AV.js.map} +0 -0
  881. /package/dist/{oncomatrix-ZILACPPI.js.map → oncomatrix-SDUUQZCK.js.map} +0 -0
  882. /package/dist/{oncomatrix.spec-RLIVVVD6.js.map → oncomatrix.spec-YGQYIUDT.js.map} +0 -0
  883. /package/dist/{plot.2dvaf-BNRZPIKU.js.map → plot.2dvaf-K53KTP5W.js.map} +0 -0
  884. /package/dist/{plot.app-NRUARQCN.js.map → plot.app-FNJVWLPQ.js.map} +0 -0
  885. /package/dist/{plot.barplot-342AYQC7.js.map → plot.barplot-VTC3N6BR.js.map} +0 -0
  886. /package/dist/{plot.boxplot-OHEJDPTW.js.map → plot.boxplot-RJFGQSLA.js.map} +0 -0
  887. /package/dist/{plot.brainImaging-KV72PAON.js.map → plot.brainImaging-6KVNPPMT.js.map} +0 -0
  888. /package/dist/{plot.disco-OUE4RFHL.js.map → plot.disco-ZFH5RK6B.js.map} +0 -0
  889. /package/dist/{plot.dzi-T3GPUH36.js.map → plot.dzi-IA2SOFUD.js.map} +0 -0
  890. /package/dist/{plot.ssgq-WJHGMXW5.js.map → plot.ssgq-QARGQVKB.js.map} +0 -0
  891. /package/dist/{plot.vaf2cov-NGD5PCV4.js.map → plot.vaf2cov-2JUXYCPG.js.map} +0 -0
  892. /package/dist/{plot.wsi-2MU5BDG3.js.map → plot.wsi-C2DULA7U.js.map} +0 -0
  893. /package/dist/{profilePlot-OMVO3K4H.js.map → profilePlot-SVI3QKMD.js.map} +0 -0
  894. /package/dist/{qualitative-MEYBRUC6.js.map → qualitative-AQFKAZID.js.map} +0 -0
  895. /package/dist/{regression-ZPDPLI6G.js.map → regression-DLPBCDZT.js.map} +0 -0
  896. /package/dist/{regression.inputs-QOSBAGL6.js.map → regression.inputs-42LY4MEZ.js.map} +0 -0
  897. /package/dist/{regression.inputs.term-HMUMPY7X.js.map → regression.inputs.term-TTUFFPG6.js.map} +0 -0
  898. /package/dist/{regression.inputs.values.table-VMCTZHLG.js.map → regression.inputs.values.table-CJAPTSMS.js.map} +0 -0
  899. /package/dist/{regression.integration.spec-RP74JTAA.js.map → regression.integration.spec-UDA26OGS.js.map} +0 -0
  900. /package/dist/{regression.results-5XC6M67C.js.map → regression.results-IA3C7SHR.js.map} +0 -0
  901. /package/dist/{regression.spec-EZYM24J7.js.map → regression.spec-HEXCL3QV.js.map} +0 -0
  902. /package/dist/{report-ZOVQCOGQ.js.map → report-4CFOWNPJ.js.map} +0 -0
  903. /package/dist/{sampleScatter.spec-CD52FEOC.js.map → sampleScatter.spec-N6V4BQ5Q.js.map} +0 -0
  904. /package/dist/{sampleView-SVTLSWRG.js.map → sampleView-CZF7U23I.js.map} +0 -0
  905. /package/dist/{samplelst-HXF5POJD.js.map → samplelst-XUGDS5TU.js.map} +0 -0
  906. /package/dist/{samplematrix-NYDAH74I.js.map → samplematrix-R5PZLZDE.js.map} +0 -0
  907. /package/dist/{sc-JIDT4W4K.js.map → sc-WTZZA5J5.js.map} +0 -0
  908. /package/dist/{selectGenomeWithTklst-OSB7B6L3.js.map → selectGenomeWithTklst-2S2MXVCI.js.map} +0 -0
  909. /package/dist/{singleCellCellType-3BH7LWQ6.js.map → singleCellCellType-LJWFG7MY.js.map} +0 -0
  910. /package/dist/{singleCellCellType.unit.spec-RU4RJXFF.js.map → singleCellCellType.unit.spec-RGN2XVUR.js.map} +0 -0
  911. /package/dist/{singleCellGeneExpression-3UA4YER7.js.map → singleCellGeneExpression-IW2QXTTU.js.map} +0 -0
  912. /package/dist/{singleCellGeneExpression.unit.spec-4ZTBG37H.js.map → singleCellGeneExpression.unit.spec-4PO3Q7TM.js.map} +0 -0
  913. /package/dist/{singleCellPlot-ZUAWK5RE.js.map → singleCellPlot-6EZ6JXCM.js.map} +0 -0
  914. /package/dist/{singlecell-BGJZB7MF.js.map → singlecell-3LFPQ6KO.js.map} +0 -0
  915. /package/dist/{singlecell-RO3BL5OO.js.map → singlecell-NTTAVVMR.js.map} +0 -0
  916. /package/dist/{snp-HD7VQKBR.js.map → snp-XB4IBG4Z.js.map} +0 -0
  917. /package/dist/{snp.unit.spec-ISXCLMWW.js.map → snp.unit.spec-HAJPM53L.js.map} +0 -0
  918. /package/dist/{snplocus-IL5Z4XWV.js.map → snplocus-HE6TITSX.js.map} +0 -0
  919. /package/dist/{spliceevent.a53ss.diagram-LLJSPV7M.js.map → spliceevent.a53ss.diagram-TCZMBMD7.js.map} +0 -0
  920. /package/dist/{spliceevent.exonskip.diagram-LAOIOIST.js.map → spliceevent.exonskip.diagram-VESOF6UC.js.map} +0 -0
  921. /package/dist/{spliceevent.noeventdiagram-MVA7Q3HT.js.map → spliceevent.noeventdiagram-4K7FMO4F.js.map} +0 -0
  922. /package/dist/{ssGSEA-7T6S3DSE.js.map → ssGSEA-2XYMX36P.js.map} +0 -0
  923. /package/dist/{ssGSEA.unit.spec-XJ3W4NWX.js.map → ssGSEA.unit.spec-J36KM2HO.js.map} +0 -0
  924. /package/dist/{summarizeCnvGeneexp-RRP6JUV6.js.map → summarizeCnvGeneexp-LYVDZXXD.js.map} +0 -0
  925. /package/dist/{summarizeGeneexpSurvival-AFLHDD6Q.js.map → summarizeGeneexpSurvival-Y52TGAHF.js.map} +0 -0
  926. /package/dist/{summarizeMutationCnv-NABUYHMX.js.map → summarizeMutationCnv-6EEJT3PV.js.map} +0 -0
  927. /package/dist/{summarizeMutationDiagnosis-2LQ7JU3K.js.map → summarizeMutationDiagnosis-HZKXHOOQ.js.map} +0 -0
  928. /package/dist/{summarizeMutationSurvival-3WBT5TXG.js.map → summarizeMutationSurvival-TU7TQYFQ.js.map} +0 -0
  929. /package/dist/{summary-FRDKOFXW.js.map → summary-4QQZUAMU.js.map} +0 -0
  930. /package/dist/{summary.integration.spec-ZLRIA7G2.js.map → summary.integration.spec-SLIIM4HN.js.map} +0 -0
  931. /package/dist/{summaryInput-4JO6MHP4.js.map → summaryInput-6HROPKCE.js.map} +0 -0
  932. /package/dist/{sunburst-DRCVSC2X.js.map → sunburst-MBJJPERL.js.map} +0 -0
  933. /package/dist/{survival-AK75COPY.js.map → survival-CXLMQSV2.js.map} +0 -0
  934. /package/dist/{survival-IF5NI3A6.js.map → survival-QSL2KDKD.js.map} +0 -0
  935. /package/dist/{survival.integration.spec-7IWBTPJG.js.map → survival.integration.spec-EUAAALVW.js.map} +0 -0
  936. /package/dist/{svgraph-QBDF2SLB.js.map → svgraph-JM5MHQDX.js.map} +0 -0
  937. /package/dist/{svmr-O4GJJUT2.js.map → svmr-MCMST2FL.js.map} +0 -0
  938. /package/dist/{table-FQAIXKLE.js.map → table-MVX3IMAL.js.map} +0 -0
  939. /package/dist/{termCollection-ZO5PZ7E3.js.map → termCollection-FZ2SCVA7.js.map} +0 -0
  940. /package/dist/{termCollection-GMDDL3L7.js.map → termCollection-IGC7REFK.js.map} +0 -0
  941. /package/dist/{termCollection.unit.spec-5JBCTXHX.js.map → termCollection.unit.spec-VY2EZZIP.js.map} +0 -0
  942. /package/dist/{tk-GJX23IV7.js.map → tk-5F3TWZ2G.js.map} +0 -0
  943. /package/dist/{tp.ui-T7FVMTGQ.js.map → tp.ui-IURWTMAS.js.map} +0 -0
  944. /package/dist/{tvs.dt-X7L7NSU6.js.map → tvs.dt-BPZCFPYK.js.map} +0 -0
  945. /package/dist/{tvs.dtcnv.categorical-73G2V6CH.js.map → tvs.dtcnv.categorical-UFS62DTR.js.map} +0 -0
  946. /package/dist/{tvs.dtcnv.continuous-DWFJL3X7.js.map → tvs.dtcnv.continuous-R6YXNNLA.js.map} +0 -0
  947. /package/dist/{tvs.dtfusion-HQADHCSV.js.map → tvs.dtfusion-FGXXS4XX.js.map} +0 -0
  948. /package/dist/{tvs.dtsnvindel-PY5OBMGW.js.map → tvs.dtsnvindel-DR43K7X3.js.map} +0 -0
  949. /package/dist/{tvs.dtsv-OTBEEWSW.js.map → tvs.dtsv-NO34GIOL.js.map} +0 -0
  950. /package/dist/{tvs.numeric-WGDHEBJV.js.map → tvs.numeric-KYAU5OV3.js.map} +0 -0
  951. /package/dist/{tvs.samplelst-LCXSU5MG.js.map → tvs.samplelst-2QP7IV2Y.js.map} +0 -0
  952. /package/dist/{tvs.termCollection-L527XN4X.js.map → tvs.termCollection-UEJDG22G.js.map} +0 -0
  953. /package/dist/{violin-6VKRUQV3.js.map → violin-NBZTGGYF.js.map} +0 -0
  954. /package/dist/{violin.integration.spec-RJATDLQH.js.map → violin.integration.spec-5CLYJSAR.js.map} +0 -0
  955. /package/dist/{violin.interactivity-SKF5H7MN.js.map → violin.interactivity-KXVKTT22.js.map} +0 -0
  956. /package/dist/{violin.renderer-GB4TPX3B.js.map → violin.renderer-37OF6K7Q.js.map} +0 -0
  957. /package/dist/{vocabulary-D3W44IWE.js.map → vocabulary-GR6J3VKW.js.map} +0 -0
@@ -1,1825 +0,0 @@
1
- import {
2
- deepFreeze,
3
- sleep
4
- } from "./chunk-M3J4MINX.js";
5
- import {
6
- ISOFORM_EXPRESSION,
7
- SINGLECELL_CELLTYPE,
8
- SINGLECELL_GENE_EXPRESSION,
9
- TermTypes,
10
- isNumericTerm
11
- } from "./chunk-NOEAT6CX.js";
12
- import {
13
- dtcnv,
14
- dtfusionrna,
15
- dtitd,
16
- dtsnvindel,
17
- dtsv,
18
- mclass,
19
- mclassdeletion,
20
- mclassinsertion,
21
- mclassitd,
22
- mclassmnv,
23
- mclassnonstandard,
24
- mclasssnv,
25
- morigingermline,
26
- morigingermlinenonpathogenic,
27
- morigingermlinepathogenic,
28
- moriginrelapse,
29
- moriginsomatic,
30
- vepinfo
31
- } from "./chunk-4UWS5Y3N.js";
32
- import {
33
- isNumeric
34
- } from "./chunk-JNITUVXP.js";
35
- import {
36
- select_default
37
- } from "./chunk-I6Y4O3RR.js";
38
-
39
- // ../shared/utils/dist/src/bulk.js
40
- function init_bulk_flag(genome) {
41
- if (!genome) {
42
- return null;
43
- }
44
- const mclasslabel2key2 = {};
45
- for (const n in mclass) {
46
- mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
47
- }
48
- return {
49
- genome,
50
- mclasslabel2key: mclasslabel2key2,
51
- data: {},
52
- sample2disease: {},
53
- // (proof) k: sample, v: disease
54
- // will only record this when origin is used
55
- patient2st: {},
56
- // k: patient, v: { k: sampletype, v: sample }
57
- // new sample names always override old
58
- good: 0,
59
- geneToUpper: true,
60
- // option to not force uppercase on gene names
61
- snv: {
62
- loaded: false,
63
- header: null,
64
- badlines: [],
65
- // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
66
- // hard-coded class codes
67
- missense: 0,
68
- silent: 0
69
- },
70
- svjson: {
71
- loaded: false,
72
- header: null,
73
- badlines: []
74
- },
75
- fusion: {
76
- loaded: false,
77
- header: null,
78
- badlines: [],
79
- original: []
80
- },
81
- sv: {
82
- loaded: false,
83
- header: null,
84
- badlines: [],
85
- original: []
86
- },
87
- cnv: {
88
- loaded: false,
89
- header: null,
90
- badlines: []
91
- },
92
- itd: {
93
- loaded: false,
94
- header: null,
95
- badlines: []
96
- },
97
- del: {
98
- loaded: false,
99
- header: null,
100
- badlines: []
101
- },
102
- truncation: {
103
- loaded: false,
104
- header: null,
105
- badlines: []
106
- }
107
- };
108
- }
109
- function parsesample(m, flag, i, lst) {
110
- let variantorigin = moriginsomatic;
111
- if (m.sampletype) {
112
- const s = m.sampletype.toLowerCase();
113
- switch (s) {
114
- case "relapse":
115
- variantorigin = moriginrelapse;
116
- break;
117
- case "germline":
118
- variantorigin = morigingermline;
119
- break;
120
- case "somatic":
121
- case "diagnosis":
122
- break;
123
- }
124
- if (m.sample) {
125
- if (m.patient) {
126
- } else {
127
- m.patient = m.sample + " " + m.sampletype;
128
- }
129
- } else {
130
- if (m.patient) {
131
- m.sample = m.patient + " " + m.sampletype;
132
- } else {
133
- }
134
- }
135
- } else {
136
- if (m.patient) {
137
- if (m.sample) {
138
- m.sampletype = m.sample;
139
- } else {
140
- m.sample = m.sampletype = m.patient;
141
- }
142
- } else {
143
- if (m.sample) {
144
- m.sampletype = m.sample;
145
- } else {
146
- }
147
- }
148
- }
149
- if (m.origin) {
150
- const s = m.origin.toLowerCase();
151
- switch (s) {
152
- case "r":
153
- case "relapse":
154
- variantorigin = moriginrelapse;
155
- m.isrim2 = true;
156
- break;
157
- case "g":
158
- case "germline":
159
- variantorigin = morigingermline;
160
- m.isrim1 = true;
161
- break;
162
- case "gp":
163
- case "germline pathogenic":
164
- variantorigin = morigingermlinepathogenic;
165
- m.isrim1 = true;
166
- break;
167
- case "gnp":
168
- case "germline nonpathogenic":
169
- case "germline non-pathogenic":
170
- variantorigin = morigingermlinenonpathogenic;
171
- m.isrim1 = true;
172
- break;
173
- case "s":
174
- case "somatic":
175
- case "diagnosis":
176
- variantorigin = moriginsomatic;
177
- break;
178
- }
179
- }
180
- m.origin = variantorigin;
181
- if (!m.sample && !m.patient) {
182
- return;
183
- }
184
- const nopatientname = "no patient/individual name";
185
- if (m.patient) {
186
- if (!flag.patient2st[m.patient]) {
187
- flag.patient2st[m.patient] = {};
188
- }
189
- flag.patient2st[m.patient][m.sampletype] = m.sample;
190
- } else {
191
- if (!flag.patient2st[nopatientname]) {
192
- flag.patient2st[nopatientname] = {};
193
- }
194
- flag.patient2st[nopatientname][m.sampletype] = m.sample;
195
- }
196
- if (m.sample) {
197
- if (m.disease) {
198
- if (m.sample in flag.sample2disease) {
199
- if (m.disease != flag.sample2disease[m.sample]) {
200
- flag.snv.badlines.push([
201
- i,
202
- 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
203
- lst
204
- ]);
205
- return true;
206
- }
207
- } else {
208
- flag.sample2disease[m.sample] = m.disease;
209
- }
210
- }
211
- }
212
- return false;
213
- }
214
-
215
- // ../shared/utils/dist/src/clustering.js
216
- var clusterMethodLst = [
217
- {
218
- label: "Average",
219
- value: "average",
220
- title: `Cluster by average value`
221
- },
222
- {
223
- label: `Complete`,
224
- value: "complete",
225
- title: `Use the complete clustering method`
226
- },
227
- {
228
- label: `Single`,
229
- value: "single",
230
- title: `Use the single clustering method`
231
- },
232
- {
233
- label: `Ward.D`,
234
- value: "ward.D",
235
- title: `Use the ward.D clustering method`
236
- },
237
- {
238
- label: `Ward.D2`,
239
- value: "ward.D2",
240
- title: `Use the ward.D2 clustering method`
241
- },
242
- {
243
- label: `Mcquitty`,
244
- value: "mcquitty",
245
- title: `Use the Mcquity clustering method`
246
- }
247
- /* These methods are currently disabled because the dendrogram lines tend to cross one another.
248
- {
249
- label: `Centroid`,
250
- value: 'centroid',
251
- title: `Use the centroid clustering method`
252
- },
253
- {
254
- label: `Median`,
255
- value: 'median',
256
- title: `Use the median clustering method`
257
- }
258
- */
259
- ];
260
- var distanceMethodLst = [
261
- {
262
- label: "Euclidean",
263
- value: "euclidean",
264
- title: `Calculate distance using euclidean method`
265
- },
266
- {
267
- label: "Maximum",
268
- value: "maximum",
269
- title: `Maximum distance between two components of x and y`
270
- },
271
- {
272
- label: "Manhattan",
273
- value: "manhattan",
274
- title: `Calculate distance using the absolute distance between the two vectors`
275
- },
276
- {
277
- label: "Canberra",
278
- value: "canberra",
279
- title: `Calculate distance using Canberra method`
280
- }
281
- ];
282
-
283
- // ../shared/utils/dist/src/compute.percentile.js
284
- function computePercentile(values, percentile, sorted = false) {
285
- if (!sorted) values.sort((a, b) => a - b);
286
- const index = Math.abs(percentile / 100 * values.length - 1);
287
- const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
288
- return value;
289
- }
290
-
291
- // ../shared/utils/dist/src/hash.js
292
- var encoder = new TextEncoder();
293
- async function hash(message) {
294
- const msgUint8 = encoder.encode(message);
295
- const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
296
- const hashArray = Array.from(new Uint8Array(hashBuffer));
297
- const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
298
- return hexToBase64(hashHex).replace("=", "-");
299
- }
300
- function hexToBase64(hexStr) {
301
- return btoa(
302
- [...hexStr].reduce(
303
- (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
304
- ""
305
- )
306
- );
307
- }
308
-
309
- // ../shared/utils/dist/src/urljson.js
310
- var reserved = ["false", "true", "null", "undefined"];
311
- var delimiters = ['"', "{", "["];
312
- function encode(rawObject) {
313
- const params = [];
314
- for (const [key, value] of Object.entries(rawObject)) {
315
- if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
316
- params.push(`${key}=${encodeURIComponent(value)}`);
317
- } else if (value !== void 0) {
318
- params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
319
- }
320
- }
321
- return params.join("&");
322
- }
323
-
324
- // ../shared/utils/dist/src/fetch-helpers.js
325
- async function processResponse(r) {
326
- const ct = r.headers.get("content-type");
327
- if (!ct) throw `missing response.header['content-type']`;
328
- if (ct.includes("/json")) {
329
- const payload = await r.json();
330
- return payload;
331
- }
332
- if (ct.includes("/text") || ct.includes("text/")) {
333
- return r.text();
334
- }
335
- if (ct.includes("multipart")) {
336
- if (ct.startsWith("multipart/form-data")) return processFormData(r);
337
- else throw `cannot handle response content-type: '${ct}'`;
338
- }
339
- if (ct == "application/x-ndjson-nestedkey") {
340
- return processNDJSON_nestedKey(r);
341
- }
342
- return r.blob();
343
- }
344
- async function processFormData(res) {
345
- const data = {};
346
- const form = await res.formData();
347
- for (const [key, value] of form.entries()) {
348
- if (value.type) {
349
- data[key] = { headers: { "content-type": value.type }, body: value };
350
- } else {
351
- const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
352
- data[key] = { headers: { "content-type": "application/json" }, body };
353
- }
354
- }
355
- return data;
356
- }
357
- async function processNDJSON_nestedKey(r) {
358
- const stream = r.body.pipeThrough(new TextDecoderStream());
359
- const reader = stream.getReader();
360
- let rootObj = {};
361
- let buffer = "";
362
- let done = false;
363
- while (!done) {
364
- const readResult = await reader.read();
365
- done = readResult.done;
366
- if (done) break;
367
- const value = readResult.value;
368
- buffer += value;
369
- const parts = buffer.split("\n");
370
- buffer = parts.pop() ?? "";
371
- for (const line of parts) {
372
- if (line.trim()) {
373
- const [keys, data] = JSON.parse(line);
374
- if (!keys.length) rootObj = data;
375
- else {
376
- const lastKey = keys.pop();
377
- let target = rootObj;
378
- for (const k of keys) target = target[k];
379
- target[lastKey] = data;
380
- }
381
- }
382
- }
383
- }
384
- return rootObj;
385
- }
386
- var cacheLifetime = 1e3 * 60 * 5;
387
- async function getDataName(url, init) {
388
- const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
389
- return await hash(dataName);
390
- }
391
-
392
- // ../shared/utils/dist/src/fileSize.js
393
- function fileSize(v) {
394
- if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
395
- if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
396
- if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
397
- return v + " Bytes";
398
- }
399
-
400
- // ../shared/utils/dist/src/mds3tk.js
401
- var ssmIdFieldsSeparator = "__";
402
- function summarize_mclass(mlst) {
403
- const m2c = /* @__PURE__ */ new Map();
404
- const cnvs = [];
405
- for (const m of mlst) {
406
- if (m.dt == dtcnv) {
407
- cnvs.push(m);
408
- continue;
409
- }
410
- const key = m.class || m.dt;
411
- m2c.set(key, 1 + (m2c.get(key) || 0));
412
- }
413
- if (cnvs.length) {
414
- if (Number.isFinite(cnvs[0].value)) {
415
- m2c.set(dtcnv, cnvs.length);
416
- } else {
417
- for (const c of cnvs) {
418
- if (!c.class) continue;
419
- m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
420
- }
421
- }
422
- }
423
- return [...m2c].sort((i, j) => j[1] - i[1]);
424
- }
425
- function guessSsmid(ssmid) {
426
- const l = ssmid.split(ssmIdFieldsSeparator);
427
- if (l.length == 4) {
428
- const [chr, tmp, ref, alt] = l;
429
- const pos = Number(tmp);
430
- if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
431
- return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
432
- }
433
- if (l.length == 5) {
434
- const [chr, _start, _stop, _class, _value] = l;
435
- const start = Number(_start), stop = Number(_stop);
436
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
437
- const value = _value == "" ? null : Number(_value);
438
- if (_class == mclassitd) {
439
- return { dt: dtitd, l: [chr, start, stop, _class, value] };
440
- }
441
- return { dt: dtcnv, l: [chr, start, stop, _class, value] };
442
- }
443
- if (l.length == 6) {
444
- if (l[3] == "+" || l[3] == "-") {
445
- const [_dt, chr2, _pos, strand, _pi, _mname] = l;
446
- const mname = decodeURIComponent(_mname);
447
- const dt = Number(_dt);
448
- if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
449
- const pos = Number(_pos);
450
- if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
451
- const pairlstIdx = Number(_pi);
452
- if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
453
- return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
454
- }
455
- const [chr, _start, _stop, _class, _value, sample] = l;
456
- const start = Number(_start), stop = Number(_stop);
457
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
458
- if (_class == mclassitd) {
459
- return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
460
- }
461
- const value = _value == "" ? null : Number(_value);
462
- return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
463
- }
464
- throw new Error("unknown ssmid");
465
- }
466
-
467
- // ../shared/utils/dist/src/scatter.js
468
- var xAxisOffSet = 80;
469
- var yAxisOffSet = 30;
470
- function getCoordinate(val, min, max) {
471
- if (min != null && val < min) return min;
472
- if (max != null && val > max) return max;
473
- return val;
474
- }
475
- function calculatePadding(minScale, maxScale, min, max) {
476
- return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
477
- }
478
-
479
- // ../shared/utils/dist/src/termdb.initbinconfig.js
480
- function initBinConfig(data, opts = {}) {
481
- if (!data.length)
482
- return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
483
- if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
484
- let binConfig;
485
- const s = new Set(data);
486
- if (s.size === 1) {
487
- const value = [...s][0];
488
- binConfig = {
489
- type: "custom-bin",
490
- lst: [
491
- { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
492
- { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
493
- { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
494
- ]
495
- };
496
- } else {
497
- data.sort((a, b) => a - b);
498
- const l = data.length;
499
- const min = data[0];
500
- const max = data[l - 1];
501
- const p5idx = Math.ceil(l * 0.05) - 1;
502
- const p98idx = Math.ceil(l * 0.98) - 1;
503
- const p5 = data[p5idx];
504
- const p98 = data[p98idx];
505
- const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
506
- const firstBinStop = Math.max(min + binSize, p5);
507
- const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
508
- binConfig = {
509
- type: "regular-bin",
510
- startinclusive: true,
511
- bin_size: binSize_rnd,
512
- first_bin: { stop: firstBinStop_rnd }
513
- };
514
- if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
515
- if (rounding) binConfig.rounding = rounding;
516
- }
517
- if ("format" in opts) {
518
- if (opts.format === "string") {
519
- return JSON.stringify(binConfig);
520
- } else {
521
- throw "options are not in the correct format";
522
- }
523
- } else {
524
- return binConfig;
525
- }
526
- }
527
- function roundBinVals(binSize, firstBinStop, max, min) {
528
- let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
529
- const log = Math.floor(Math.log10(binSize));
530
- if (binSize >= 0.1 && binSize <= 2) {
531
- binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
532
- firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
533
- } else {
534
- binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
535
- firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
536
- if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
537
- if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
538
- if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
539
- }
540
- if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
541
- const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
542
- if (max > eighthBinStop_rnd) {
543
- lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
544
- }
545
- if (binSize < 1) {
546
- const digits = Math.abs(log);
547
- binSize_rnd = Number(binSize_rnd.toFixed(digits));
548
- firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
549
- if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
550
- rounding = "." + digits + "f";
551
- }
552
- if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
553
- return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
554
- }
555
-
556
- // ../shared/utils/dist/src/termdb.usecase.js
557
- var graphableTypes = /* @__PURE__ */ new Set([
558
- "categorical",
559
- "integer",
560
- "float",
561
- "condition",
562
- "survival",
563
- "snplst",
564
- "snplocus",
565
- "geneVariant",
566
- "samplelst",
567
- "geneExpression",
568
- ISOFORM_EXPRESSION,
569
- "dtcnv",
570
- "dtsnvindel",
571
- "dtfusion",
572
- "dtsv",
573
- "date",
574
- TermTypes.SSGSEA,
575
- TermTypes.DNA_METHYLATION,
576
- TermTypes.METABOLITE_INTENSITY,
577
- TermTypes.PROTEOME_ABUNDANCE,
578
- SINGLECELL_GENE_EXPRESSION,
579
- SINGLECELL_CELLTYPE,
580
- TermTypes.SNP,
581
- TermTypes.TERM_COLLECTION
582
- ]);
583
- function isUsableTerm(term, _usecase, termdbConfig, ds) {
584
- const usecase = _usecase || {};
585
- if (typeof ds?.usecase?.[usecase.target] == "function") {
586
- return ds.usecase[usecase.target](term, usecase);
587
- }
588
- const uses = /* @__PURE__ */ new Set();
589
- const child_types = term.child_types || [];
590
- switch (usecase.target) {
591
- case "barchart":
592
- case "violin":
593
- case "boxplot":
594
- case "summary":
595
- if (term.type && term.type !== "survival") uses.add("plot");
596
- if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
597
- return uses;
598
- case "summaryInput":
599
- if (usecase.detail === "term2" || usecase.detail == "term0") {
600
- if (term.type && term.type !== "survival") uses.add("plot");
601
- if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
602
- return uses;
603
- } else {
604
- if (graphableTypes.has(term.type)) uses.add("plot");
605
- if (!term.isleaf) uses.add("branch");
606
- return uses;
607
- }
608
- case "matrix":
609
- if (term.type) uses.add("plot");
610
- if (!term.isleaf) uses.add("branch");
611
- return uses;
612
- case "table":
613
- if (usecase.detail == "term") uses.add("plot");
614
- if (child_types.length > 1) uses.add("branch");
615
- return uses;
616
- case "sampleScatter":
617
- if (usecase.detail == "numeric") {
618
- if (isNumericTerm(term)) {
619
- uses.add("plot");
620
- }
621
- if (hasNumericChild(child_types)) uses.add("branch");
622
- } else {
623
- if (graphableTypes.has(term.type)) uses.add("plot");
624
- if (!term.isleaf) uses.add("branch");
625
- }
626
- return uses;
627
- case "runChart2":
628
- if (usecase.detail == "date" || usecase.detail == "xtw") {
629
- if (term.type == "date") {
630
- uses.add("plot");
631
- }
632
- if (child_types.includes("date")) uses.add("branch");
633
- } else if (usecase.detail == "numeric") {
634
- if (isNumericTerm(term) && term.type != "date") {
635
- uses.add("plot");
636
- }
637
- if (hasNumericChild(child_types)) uses.add("branch");
638
- } else {
639
- if (graphableTypes.has(term.type)) uses.add("plot");
640
- if (!term.isleaf) uses.add("branch");
641
- }
642
- return uses;
643
- case "numericDictTermCluster":
644
- if (!usecase.detail?.exclude?.includes(term.id)) {
645
- if (isNumericTerm(term)) {
646
- uses.add("plot");
647
- }
648
- if (hasNumericChild(child_types)) {
649
- uses.add("branch");
650
- }
651
- }
652
- return uses;
653
- case "termCollections":
654
- if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
655
- if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
656
- return uses;
657
- case "profileForms":
658
- if (!term.isleaf) {
659
- const ancestors = term.id.split("__").length;
660
- if (ancestors == 3) {
661
- uses.add("plot");
662
- } else if (ancestors < 3) uses.add("branch");
663
- }
664
- return uses;
665
- case "profileForms2": {
666
- if (term.isleaf) return uses;
667
- const allowed = termdbConfig?.plotConfigByCohort?.[usecase.cohort]?.profileForms2?.domains;
668
- if (!allowed) return uses;
669
- const ancestors = term.id.split("__").length;
670
- const subtype = usecase.subtype;
671
- if (ancestors == 3) {
672
- if (allowed.find((d) => d.id === term.id)?.plotTypes?.includes(subtype)) uses.add("plot");
673
- } else if (ancestors < 3) {
674
- const prefix = term.id + "__";
675
- if (allowed.some((d) => d.id.startsWith(prefix) && d.plotTypes.includes(subtype))) {
676
- uses.add("branch");
677
- }
678
- }
679
- return uses;
680
- }
681
- // case 'boxplot':
682
- // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
683
- // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
684
- // return uses
685
- case "cuminc":
686
- if (usecase.detail == "term") {
687
- if (term.type == "condition") uses.add("plot");
688
- if (child_types.includes("condition")) uses.add("branch");
689
- return uses;
690
- }
691
- if (usecase.detail === "term2" || usecase.detail == "term0") {
692
- if (term.type && term.type != "condition" && term.type != "survival") uses.add("plot");
693
- if (hasAllowedChildTypes(child_types, ["condition", "survival"])) uses.add("branch");
694
- return uses;
695
- }
696
- return uses;
697
- case "survival":
698
- if (usecase.detail == "term") {
699
- if (term.type == "survival") uses.add("plot");
700
- if (child_types.includes("survival")) uses.add("branch");
701
- return uses;
702
- }
703
- if (usecase.detail === "term2" || usecase.detail == "term0") {
704
- if (term.type && term.type != "survival") uses.add("plot");
705
- if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
706
- return uses;
707
- }
708
- return uses;
709
- case "regression":
710
- if (usecase.detail == "outcome") {
711
- if (usecase.regressionType == "linear") {
712
- if (term.type == "float" || term.type == "integer") uses.add("plot");
713
- if (hasNumericChild(child_types)) uses.add("branch");
714
- return uses;
715
- }
716
- if (usecase.regressionType == "logistic") {
717
- if (term.type && term.type != "survival") uses.add("plot");
718
- if (hasAllowedChildTypes(child_types, ["survival"])) uses.add("branch");
719
- return uses;
720
- } else if (usecase.regressionType == "cox") {
721
- if (term.type == "condition" || term.type == "survival") uses.add("plot");
722
- if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
723
- return uses;
724
- }
725
- }
726
- if (usecase.detail == "independent") {
727
- if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
728
- uses.add("plot");
729
- if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
730
- return uses;
731
- }
732
- return uses;
733
- case "filter": {
734
- const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
735
- if (exlst) {
736
- if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
737
- if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
738
- return uses;
739
- }
740
- if (graphableTypes.has(term.type)) uses.add("plot");
741
- if (!term.isleaf) uses.add("branch");
742
- return uses;
743
- }
744
- case "correlationVolcano":
745
- if (usecase.detail == "numeric") {
746
- if (isNumericTerm(term)) {
747
- uses.add("plot");
748
- }
749
- if (hasNumericChild(child_types)) uses.add("branch");
750
- } else {
751
- if (graphableTypes.has(term.type)) uses.add("plot");
752
- if (!term.isleaf) uses.add("branch");
753
- }
754
- return uses;
755
- case "proteinView":
756
- if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
757
- if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
758
- return uses;
759
- default:
760
- if (graphableTypes.has(term.type)) uses.add("plot");
761
- if (!term.isleaf) uses.add("branch");
762
- return uses;
763
- }
764
- }
765
- function hasAllowedChildTypes(child_types, excluded_types) {
766
- if (!child_types.length) {
767
- return false;
768
- }
769
- if (!excluded_types?.length) {
770
- return true;
771
- }
772
- if (child_types.some((type) => !excluded_types.includes(type))) {
773
- return true;
774
- }
775
- }
776
- function hasNumericChild(child_types) {
777
- return child_types.includes("float") || child_types.includes("integer");
778
- }
779
- function hasChildTypes(child_types, expected_types) {
780
- for (const a of expected_types) {
781
- if (child_types.includes(a)) return true;
782
- }
783
- }
784
-
785
- // ../shared/utils/dist/src/time.js
786
- function formatElapsedTime(ms, precision = 2) {
787
- if (typeof ms !== "number" || isNaN(ms)) {
788
- return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
789
- }
790
- if (!isFinite(ms)) {
791
- return ms > 0 ? "Infinite time" : "-Infinite time";
792
- }
793
- const absMs = Math.abs(ms);
794
- const sign = ms < 0 ? "-" : "";
795
- if (absMs < 1e3) {
796
- return `${sign}${absMs}ms`;
797
- }
798
- if (absMs < 6e4) {
799
- return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
800
- }
801
- const minutes = Math.floor(absMs / 6e4);
802
- const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
803
- return `${sign}${minutes}m ${seconds}s`;
804
- }
805
-
806
- // ../shared/utils/dist/src/vcf.ann.js
807
- function parse_ANN(str, header, m) {
808
- if (!header) {
809
- return null;
810
- }
811
- for (const thisannotation of str.split(",")) {
812
- const lst = thisannotation.replace(/&/g, ",").split("|");
813
- const o = {};
814
- for (let i = 0; i < header.length; i++) {
815
- if (lst[i]) {
816
- o[header[i].name] = lst[i];
817
- }
818
- }
819
- if (!o.Allele) {
820
- continue;
821
- }
822
- let allele = null;
823
- for (const a of m.alleles) {
824
- if (a.allele == o.Allele) {
825
- allele = a;
826
- break;
827
- }
828
- }
829
- if (!allele) {
830
- continue;
831
- }
832
- if (!allele.ann) {
833
- allele.ann = [];
834
- }
835
- allele.ann.push(o);
836
- o._gene = o.Gene_Name;
837
- if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
838
- o._isoform = o.Feature_ID.split(".")[0];
839
- }
840
- if (o.Annotation) {
841
- const [dt, cls, rank] = vepinfo(o.Annotation);
842
- o._dt = dt;
843
- o._class = cls;
844
- o._csqrank = rank;
845
- } else {
846
- o._dt = dtsnvindel;
847
- o._class = mclassnonstandard;
848
- }
849
- if (o["HGVS.p"]) {
850
- o._mname = o["HGVS.p"];
851
- } else if (o["HGVS.c"]) {
852
- o._mname = o["HGVS.c"];
853
- }
854
- }
855
- return true;
856
- }
857
-
858
- // ../shared/utils/dist/src/vcf.csq.js
859
- function parse_CSQ(str, header, m) {
860
- if (!header) {
861
- return null;
862
- }
863
- for (const thisannotation of str.split(",")) {
864
- const lst = thisannotation.replace(/&/g, ",").split("|");
865
- const o = {};
866
- for (let i = 0; i < header.length; i++) {
867
- if (lst[i]) {
868
- o[header[i].name] = lst[i];
869
- }
870
- }
871
- if (!o.Allele) {
872
- continue;
873
- }
874
- let allele = null;
875
- for (const a of m.mlst || m.alleles) {
876
- if (a.allele_original == o.Allele) {
877
- allele = a;
878
- break;
879
- }
880
- }
881
- if (!allele) {
882
- if (o.Allele == "-") {
883
- if (m.mlst) {
884
- if (m.mlst.length == 1) {
885
- allele = m.mlst[0];
886
- }
887
- } else if (m.alleles) {
888
- if (m.alleles.length == 1) {
889
- allele = m.alleles[0];
890
- }
891
- }
892
- } else {
893
- for (const a of m.mlst || m.alleles) {
894
- if (a.allele_original.substr(1) == o.Allele) {
895
- allele = a;
896
- break;
897
- }
898
- }
899
- }
900
- if (!allele) {
901
- continue;
902
- }
903
- }
904
- if (!allele.csq) {
905
- allele.csq = [];
906
- }
907
- allele.csq.push(o);
908
- o._gene = o.SYMBOL || o.Gene;
909
- if (o.Feature_type && o.Feature_type == "Transcript") {
910
- o._isoform = o.Feature.split(".")[0];
911
- } else {
912
- o._isoform = o._gene;
913
- }
914
- if (o.Consequence) {
915
- const [dt, cls, rank] = vepinfo(o.Consequence);
916
- o._dt = dt;
917
- o._class = cls;
918
- o._csqrank = rank;
919
- } else {
920
- o._dt = dtsnvindel;
921
- o._class = mclassnonstandard;
922
- }
923
- if (o.HGVSp) {
924
- o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
925
- } else if (o.Protein_position && o.Amino_acids) {
926
- o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
927
- } else if (o.HGVSc) {
928
- o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
929
- } else if (o.Existing_variation) {
930
- o._name = o.Existing_variation;
931
- }
932
- }
933
- return true;
934
- }
935
-
936
- // ../shared/utils/dist/src/vcf.info.js
937
- function dissect_INFO(str) {
938
- let findsemicolon = false;
939
- let findequalorsemicolon = true;
940
- let i = 0;
941
- let idx = 0;
942
- const k2v = {};
943
- let lastkey;
944
- while (i < str.length) {
945
- const c = str[i];
946
- if (findequalorsemicolon) {
947
- if (c == "=") {
948
- findsemicolon = true;
949
- findequalorsemicolon = false;
950
- lastkey = str.substring(idx, i);
951
- idx = i + 1;
952
- } else if (c == ";") {
953
- k2v[str.substring(idx, i)] = 1;
954
- idx = i + 1;
955
- }
956
- } else if (findsemicolon && c == ";") {
957
- findequalorsemicolon = true;
958
- findsemicolon = false;
959
- k2v[lastkey] = str.substring(idx, i);
960
- lastkey = null;
961
- idx = i + 1;
962
- }
963
- i++;
964
- }
965
- const remainstr = str.substr(idx, i);
966
- if (lastkey) {
967
- k2v[lastkey] = remainstr;
968
- } else {
969
- k2v[remainstr] = 1;
970
- }
971
- return k2v;
972
- }
973
-
974
- // ../shared/utils/dist/src/vcf.type.js
975
- function getVariantType(ref, alt) {
976
- if (ref.length == 1 && alt.length == 1) {
977
- if (alt == ".") {
978
- return mclassdeletion;
979
- }
980
- return mclasssnv;
981
- }
982
- if (ref.length == alt.length) return mclassmnv;
983
- if (ref.length < alt.length) return mclassinsertion;
984
- if (ref.length > alt.length) return mclassdeletion;
985
- return mclassnonstandard;
986
- }
987
-
988
- // ../shared/utils/dist/src/vcf.js
989
- var getallelename = new RegExp(/<(.+)>/);
990
- var mclasslabel2key = {};
991
- for (const k in mclass) {
992
- mclasslabel2key[mclass[k].label.toUpperCase()] = k;
993
- }
994
- function vcfparsemeta(lines) {
995
- let sample = [];
996
- const errlst = [];
997
- const info = {};
998
- let hasinfo = false;
999
- const format = {};
1000
- let hasformat = false;
1001
- for (const line of lines) {
1002
- if (!line.startsWith("#")) {
1003
- continue;
1004
- }
1005
- if (line.startsWith("#C")) {
1006
- sample = line.split(" ").slice(9);
1007
- continue;
1008
- }
1009
- if (line.startsWith("##INFO")) {
1010
- const e = tohash(line.substring(8, line.length - 1), info);
1011
- if (e) {
1012
- errlst.push("INFO error: " + e);
1013
- } else {
1014
- hasinfo = true;
1015
- }
1016
- continue;
1017
- }
1018
- if (line.startsWith("##FORMAT")) {
1019
- const e = tohash(line.substring(10, line.length - 1), format);
1020
- if (e) {
1021
- errlst.push("FORMAT error: " + e);
1022
- } else {
1023
- hasformat = true;
1024
- }
1025
- }
1026
- }
1027
- const sampleobjlst = [];
1028
- for (const samplename of sample) {
1029
- const a = { name: samplename };
1030
- sampleobjlst.push(a);
1031
- }
1032
- if (info.CSQ) {
1033
- const lst = info.CSQ.Description.split(" Format: ");
1034
- if (lst[1]) {
1035
- const lst2 = lst[1].split("|");
1036
- if (lst2.length > 1) {
1037
- info.CSQ.csqheader = [];
1038
- for (const str of lst2) {
1039
- const attr = { name: str };
1040
- info.CSQ.csqheader.push(attr);
1041
- }
1042
- } else {
1043
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1044
- }
1045
- } else {
1046
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1047
- }
1048
- }
1049
- if (info.ANN) {
1050
- const lst = info.ANN.Description.split("'");
1051
- if (lst[1]) {
1052
- const lst2 = lst[1].split(" | ");
1053
- if (lst2.length) {
1054
- info.ANN.annheader = [];
1055
- for (const s of lst2) {
1056
- const attr = { name: s };
1057
- info.ANN.annheader.push(attr);
1058
- }
1059
- } else {
1060
- errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1061
- }
1062
- } else {
1063
- errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1064
- }
1065
- }
1066
- return [hasinfo ? info : null, hasformat ? format : null, sampleobjlst, errlst.length ? errlst : null];
1067
- }
1068
- function vcfparseline(line, vcf) {
1069
- const lst = line.split(" ");
1070
- if (lst.length < 8) {
1071
- return ["line has less than 8 fields", null, null];
1072
- }
1073
- const rawpos = Number.parseInt(lst[2 - 1]);
1074
- if (!Number.isInteger(rawpos)) {
1075
- return ["invalid value for genomic position", null, null];
1076
- }
1077
- const refallele = lst[4 - 1];
1078
- const m = {
1079
- vcf_ID: lst[3 - 1],
1080
- chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1081
- pos: rawpos - 1,
1082
- ref: refallele,
1083
- //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1084
- altstr: lst[5 - 1],
1085
- alleles: [
1086
- {
1087
- /*
1088
- ref allele only a placeholder, to be removed, this array only contains alt alleles
1089
- this is a must
1090
- also allows GT allele index to work
1091
- */
1092
- allele: refallele,
1093
- sampledata: []
1094
- }
1095
- ],
1096
- info: {},
1097
- // locus info, do not contain allele info
1098
- name: lst[3 - 1] == "." ? null : lst[3 - 1]
1099
- };
1100
- const altinvalid = [];
1101
- for (const alt of lst[5 - 1].split(",")) {
1102
- const a = {
1103
- ref: m.ref,
1104
- // may be corrected just below!
1105
- allele: alt,
1106
- // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1107
- allele_original: alt,
1108
- sampledata: [],
1109
- _m: m,
1110
- info: {}
1111
- // allele info, do not contain locus info
1112
- };
1113
- m.alleles.push(a);
1114
- if (alt[0] == "<") {
1115
- const tmp2 = alt.match(getallelename);
1116
- if (!tmp2) {
1117
- altinvalid.push(alt);
1118
- continue;
1119
- }
1120
- a.type = tmp2[1];
1121
- a.allele = tmp2[1];
1122
- a.issymbolicallele = true;
1123
- } else {
1124
- const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1125
- a.pos = p;
1126
- a.ref = ref;
1127
- a.allele = alt2;
1128
- }
1129
- }
1130
- if (lst[9 - 1] && lst[10 - 1]) {
1131
- parse_FORMAT2(lst, m, vcf);
1132
- }
1133
- m.alleles.shift();
1134
- const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1135
- let badinfokeys = [];
1136
- if (vcf.info) {
1137
- badinfokeys = parse_INFO(tmp, m, vcf);
1138
- } else {
1139
- m.info = tmp;
1140
- }
1141
- const mlst = [];
1142
- for (const a of m.alleles) {
1143
- const m2 = {};
1144
- for (const k in m) {
1145
- if (k != "alleles") {
1146
- m2[k] = m[k];
1147
- }
1148
- }
1149
- for (const k in a) {
1150
- if (k == "allele") {
1151
- m2.alt = a[k];
1152
- } else if (k == "info") {
1153
- m2.altinfo = a[k];
1154
- } else {
1155
- m2[k] = a[k];
1156
- }
1157
- }
1158
- if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1159
- m2.type = getVariantType(m2.ref, m2.alt);
1160
- }
1161
- mlst.push(m2);
1162
- }
1163
- return [
1164
- badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1165
- mlst,
1166
- altinvalid.length > 0 ? altinvalid : null
1167
- ];
1168
- }
1169
- function correctRefAlt(p, ref, alt) {
1170
- while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1171
- ref = ref.substr(0, ref.length - 1);
1172
- alt = alt.substr(0, alt.length - 1);
1173
- }
1174
- while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1175
- ref = ref.substr(1);
1176
- alt = alt.substr(1);
1177
- p++;
1178
- }
1179
- return [p, ref, alt];
1180
- }
1181
- function parse_FORMAT2(lst, m, vcf) {
1182
- const formatfields = lst[9 - 1].split(":");
1183
- for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1184
- const valuelst = lst[_sampleidx].split(":");
1185
- {
1186
- let none = true;
1187
- for (const v of valuelst) {
1188
- if (v != ".") {
1189
- none = false;
1190
- break;
1191
- }
1192
- }
1193
- if (none) {
1194
- continue;
1195
- }
1196
- }
1197
- const sampleidx = _sampleidx - 9;
1198
- for (let i = 1; i < m.alleles.length; i++) {
1199
- const sobj = {};
1200
- if (vcf.samples && vcf.samples[sampleidx]) {
1201
- for (const k in vcf.samples[sampleidx]) {
1202
- sobj[k] = vcf.samples[sampleidx][k];
1203
- }
1204
- } else {
1205
- sobj.name = "missing_samplename_from_vcf_header";
1206
- }
1207
- m.alleles[i].sampledata.push({
1208
- sampleobj: sobj
1209
- });
1210
- }
1211
- for (let fi = 0; fi < formatfields.length; fi++) {
1212
- const field = formatfields[fi];
1213
- const value = valuelst[fi];
1214
- if (value == ".") {
1215
- continue;
1216
- }
1217
- if (field == "GT") {
1218
- const splitter = value.indexOf("/") != -1 ? "/" : "|";
1219
- let gtsum = 0;
1220
- let unknowngt = false;
1221
- const gtalleles = [];
1222
- for (const i of value.split(splitter)) {
1223
- if (i == ".") {
1224
- unknowngt = true;
1225
- continue;
1226
- }
1227
- const j = Number.parseInt(i);
1228
- if (Number.isNaN(j)) {
1229
- unknowngt = true;
1230
- continue;
1231
- }
1232
- gtsum += j;
1233
- const ale = m.alleles[j];
1234
- if (ale) {
1235
- gtalleles.push(ale.allele);
1236
- }
1237
- }
1238
- let gtallref = false;
1239
- if (!unknowngt) {
1240
- gtallref = gtsum == 0;
1241
- }
1242
- const genotype = gtalleles.join(splitter);
1243
- for (let i = 1; i < m.alleles.length; i++) {
1244
- const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1245
- ms.GT = value;
1246
- ms.genotype = genotype;
1247
- if (gtallref) {
1248
- ms.gtallref = true;
1249
- }
1250
- ms.__gtalleles = gtalleles;
1251
- }
1252
- continue;
1253
- }
1254
- const formatdesc = vcf.format ? vcf.format[field] : null;
1255
- if (!formatdesc) {
1256
- for (let i = 1; i < m.alleles.length; i++) {
1257
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1258
- }
1259
- continue;
1260
- }
1261
- const isinteger = formatdesc.Type == "Integer";
1262
- const isfloat = formatdesc.Type == "Float";
1263
- if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1264
- const fvlst = value.split(",").map((i) => {
1265
- if (isinteger) return Number.parseInt(i);
1266
- if (isfloat) return Number.parseFloat(i);
1267
- return i;
1268
- });
1269
- for (let i = 1; i < m.alleles.length; i++) {
1270
- if (fvlst[i] != void 0) {
1271
- const m2 = m.alleles[i];
1272
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1273
- m2s[field] = {};
1274
- m2s[field][m2.ref] = fvlst[0];
1275
- m2s[field][m2.allele] = fvlst[i];
1276
- }
1277
- }
1278
- continue;
1279
- }
1280
- if (formatdesc.Number && formatdesc.Number == "A") {
1281
- const fvlst = value.split(",").map((i) => {
1282
- if (isinteger) return Number.parseInt(i);
1283
- if (isfloat) return Number.parseFloat(i);
1284
- return i;
1285
- });
1286
- for (let i = 1; i < m.alleles.length; i++) {
1287
- if (fvlst[i - 1] != void 0) {
1288
- const m2 = m.alleles[i];
1289
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1290
- m2s[field] = {};
1291
- m2s[field][m2.allele] = fvlst[i - 1];
1292
- }
1293
- }
1294
- continue;
1295
- }
1296
- for (let i = 1; i < m.alleles.length; i++) {
1297
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1298
- }
1299
- }
1300
- }
1301
- for (const a of m.alleles) {
1302
- for (const s of a.sampledata) {
1303
- if (s.AD) {
1304
- s.allele2readcount = {};
1305
- for (const k in s.AD) {
1306
- s.allele2readcount[k] = s.AD[k];
1307
- }
1308
- }
1309
- }
1310
- }
1311
- }
1312
- function tohash(s, hash2) {
1313
- const h = {}, err = [];
1314
- let prev = 0, prevdoublequote = false, k = null;
1315
- for (let i = 0; i < s.length; i++) {
1316
- if (s[i] == '"') {
1317
- i++;
1318
- const thisstart = i;
1319
- while (s[i] != '"') {
1320
- i++;
1321
- }
1322
- if (k) {
1323
- h[k] = s.substring(thisstart, i);
1324
- k = null;
1325
- } else {
1326
- err.push("k undefined before double quotes");
1327
- }
1328
- prevdoublequote = true;
1329
- continue;
1330
- }
1331
- if (s[i] == "=") {
1332
- k = s.substring(prev, i);
1333
- prev = i + 1;
1334
- continue;
1335
- }
1336
- if (s[i] == ",") {
1337
- if (prevdoublequote) {
1338
- prevdoublequote = false;
1339
- } else {
1340
- if (k) {
1341
- h[k] = s.substring(prev, i);
1342
- k = null;
1343
- } else {
1344
- err.push("k undefined");
1345
- }
1346
- }
1347
- prev = i + 1;
1348
- continue;
1349
- }
1350
- }
1351
- if (k) {
1352
- h[k] = s.substring(prev);
1353
- }
1354
- if (h.ID) {
1355
- hash2[h.ID] = h;
1356
- } else {
1357
- return "no ID";
1358
- }
1359
- if (err.length) return err.join("\n");
1360
- }
1361
- function parse_INFO(tmp, m, vcf) {
1362
- const badinfokeys = [];
1363
- for (const key in tmp) {
1364
- if (vcf.info[key] == void 0) {
1365
- badinfokeys.push(key);
1366
- continue;
1367
- }
1368
- const value = tmp[key];
1369
- if (key == "CSQ") {
1370
- const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1371
- if (!okay) {
1372
- m.info[key] = value;
1373
- }
1374
- continue;
1375
- }
1376
- if (key == "ANN") {
1377
- const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1378
- if (!okay) {
1379
- m.info[key] = value;
1380
- }
1381
- continue;
1382
- }
1383
- if (vcf.info[key].Type == "Flag") {
1384
- m.info[key] = key;
1385
- continue;
1386
- }
1387
- const __number = vcf.info[key].Number;
1388
- const isinteger = vcf.info[key].Type == "Integer";
1389
- const isfloat = vcf.info[key].Type == "Float";
1390
- if (__number == "0") {
1391
- m.info[key] = key;
1392
- continue;
1393
- }
1394
- if (__number == "A") {
1395
- const tt = value.split(",");
1396
- for (let j = 0; j < tt.length; j++) {
1397
- if (m.alleles[j]) {
1398
- m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1399
- }
1400
- }
1401
- continue;
1402
- }
1403
- if (__number == "R") {
1404
- }
1405
- if (__number == "1") {
1406
- m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1407
- continue;
1408
- }
1409
- if (!value.split) {
1410
- continue;
1411
- }
1412
- const lst = value.split(",");
1413
- if (isinteger) {
1414
- m.info[key] = lst.map(Number.parseInt);
1415
- } else if (isfloat) {
1416
- m.info[key] = lst.map(Number.parseFloat);
1417
- } else {
1418
- m.info[key] = lst;
1419
- }
1420
- }
1421
- return badinfokeys;
1422
- }
1423
-
1424
- // common/auth.js
1425
- var jwtByDsRoute;
1426
- function setJwtByDsRoute() {
1427
- if (jwtByDsRoute) return;
1428
- const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1429
- jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1430
- }
1431
- function setTokenByDsRoute(dslabel, route, jwt) {
1432
- setJwtByDsRoute();
1433
- if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1434
- if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1435
- else delete jwtByDsRoute[dslabel][route];
1436
- localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1437
- }
1438
- function getSavedToken(dslabel, route) {
1439
- setJwtByDsRoute();
1440
- return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1441
- }
1442
- function mayAddJwtToRequest(init, body, url) {
1443
- if (init.headers.authorization) return;
1444
- let dslabel = body?.dslabel;
1445
- if (!dslabel) {
1446
- const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1447
- if (!param) return;
1448
- let value = decodeURIComponent(param.split("=")[1]);
1449
- if (value.startsWith("{") && value.endsWith("}")) {
1450
- value = JSON.parse(value);
1451
- dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1452
- } else {
1453
- dslabel = value;
1454
- }
1455
- }
1456
- setJwtByDsRoute();
1457
- if (!dslabel || !jwtByDsRoute[dslabel]) return;
1458
- const h = url.split("//");
1459
- const postProtocolStr = h[1] || h[0];
1460
- const preQuestionMarkStr = postProtocolStr.split("?")[0];
1461
- const pathSegments = preQuestionMarkStr.split("/");
1462
- let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1463
- const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1464
- if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1465
- }
1466
- var dsAuthOk = /* @__PURE__ */ new Set();
1467
- var dsAuth;
1468
- var authUi;
1469
- var authUiHolder;
1470
- var includeEmbedder = false;
1471
- async function setDsAuthOk(opts) {
1472
- dsAuth = opts.dsAuth;
1473
- authUi = opts.ui || defaultAuthUi;
1474
- authUiHolder = opts.holder || select_default("body");
1475
- for (const auth of dsAuth) {
1476
- if (auth.insession) dsAuthOk.add(auth);
1477
- }
1478
- includeEmbedder = opts.dsAuth?.length > 0 || false;
1479
- }
1480
- function getRequiredAuth(dslabel, route) {
1481
- if (!dsAuth || !Array.isArray(dsAuth)) return;
1482
- for (const a of dsAuth) {
1483
- if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1484
- }
1485
- }
1486
- async function isInSession(dslabel, route) {
1487
- if (!dslabel) return false;
1488
- if (!Array.isArray(dsAuth)) return false;
1489
- for (const a of dsAuth) {
1490
- if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1491
- if (dsAuthOk.has(a)) return true;
1492
- if (a.checked) return false;
1493
- const jwt = getSavedToken(dslabel, a.route);
1494
- if (!jwt) return false;
1495
- const { dofetch3: dofetch32 } = await import("./dofetch-RADX3AFU.js");
1496
- const payload = decodeJwtPayload(jwt);
1497
- if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1498
- const data = await dofetch32("/jwt-status", {
1499
- method: "POST",
1500
- credentials: "include",
1501
- headers: {
1502
- //authorization: `Bearer ${btoa(jwt)}`
1503
- [a.headerKey]: jwt
1504
- },
1505
- body: {
1506
- dslabel,
1507
- route,
1508
- embedder: location.hostname
1509
- }
1510
- });
1511
- a.checked = true;
1512
- if (data.ok || data.status == "ok") {
1513
- dsAuthOk.add(a);
1514
- a.insession = true;
1515
- return true;
1516
- }
1517
- }
1518
- return false;
1519
- }
1520
- async function mayShowAuthUi(init, path, opts = {}) {
1521
- const ok = { status: "ok" };
1522
- if (!dsAuth || path.endsWith("jwt-status")) return ok;
1523
- const body = JSON.parse(init.body || `{}`);
1524
- const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1525
- const [key, value] = kv.split("=");
1526
- obj[key] = value;
1527
- return obj;
1528
- }, {});
1529
- const q = Object.assign({}, body, params);
1530
- const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1531
- for (const a of dsAuth) {
1532
- if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1533
- if (dsAuthOk.has(a)) return ok;
1534
- else if (a.route != "/**") return ok;
1535
- else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1536
- else if (a.type == "jwt") {
1537
- } else if (a.type == "forbidden") {
1538
- alert("Forbidden access");
1539
- } else throw `unsupported dsAuth type='${a.type}'`;
1540
- }
1541
- }
1542
- return ok;
1543
- }
1544
- async function defaultAuthUi(dslabel, auth, opts = {}) {
1545
- 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)");
1546
- const form = mask.append("div").style("opacity", 1);
1547
- form.append("div").html(`Restricted dataset '${dslabel}'`);
1548
- form.append("span").html("Please enter password ");
1549
- const pwd = form.append("input").attr("type", "password");
1550
- pwd.node().focus();
1551
- const btn = form.append("button").html("Submit");
1552
- return new Promise((resolve, reject) => {
1553
- function login() {
1554
- fetch("/dslogin", {
1555
- method: "POST",
1556
- headers: {
1557
- authorization: `Basic ${btoa(pwd.property("value"))}`
1558
- },
1559
- body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
1560
- }).then((res) => res.json()).then((res) => {
1561
- if (res.error) throw res.error;
1562
- mask.remove();
1563
- dsAuthOk.add(auth);
1564
- if (res.jwt) {
1565
- setTokenByDsRoute(dslabel, res.route, res.jwt);
1566
- }
1567
- if (!opts.setDomRefs) window.location.reload();
1568
- else resolve(dslabel);
1569
- }).catch((e) => {
1570
- alert("login error: " + e);
1571
- });
1572
- }
1573
- btn.on("click", login);
1574
- pwd.on("change", login);
1575
- if (opts.setDomRefs)
1576
- opts.setDomRefs({
1577
- pwd,
1578
- btn,
1579
- mask,
1580
- authUiHolder
1581
- });
1582
- });
1583
- }
1584
- function decodeJwtPayload(token) {
1585
- const base64Url = token.split(".")[1];
1586
- const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
1587
- const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
1588
- const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
1589
- return JSON.parse(jsonPayload);
1590
- }
1591
- function convertAtoBresult(c) {
1592
- return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
1593
- }
1594
-
1595
- // common/dofetch.js
1596
- function dofetch(path, arg, opts = null) {
1597
- if (opts && typeof opts == "object") {
1598
- if (opts.serverData && typeof opts.serverData == "object") {
1599
- if (!dofetch.serverData) {
1600
- dofetch.serverData = opts.serverData;
1601
- } else if (!opts.serverData) {
1602
- opts.serverData = dofetch.serverData;
1603
- }
1604
- }
1605
- return dofetch2(
1606
- path,
1607
- {
1608
- method: "POST",
1609
- headers: {
1610
- "content-type": "application/json"
1611
- },
1612
- body: JSON.stringify(arg)
1613
- },
1614
- opts
1615
- );
1616
- } else {
1617
- if (path[0] == "/") {
1618
- path = path.slice(1);
1619
- }
1620
- const jwt = sessionStorage.getItem("jwt");
1621
- if (jwt) {
1622
- arg.jwt = jwt;
1623
- }
1624
- let url = path;
1625
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1626
- if (host) {
1627
- if (host.endsWith("/")) {
1628
- url = host + path;
1629
- } else {
1630
- url = host + "/" + path;
1631
- }
1632
- }
1633
- return fetch(
1634
- new Request(url, {
1635
- method: "POST",
1636
- headers: {
1637
- "content-type": "application/json"
1638
- },
1639
- body: JSON.stringify(arg)
1640
- })
1641
- ).then((r) => r.json());
1642
- }
1643
- }
1644
- function dofetch2(path, init = {}, opts = {}) {
1645
- if (path[0] == "/") {
1646
- path = path.slice(1);
1647
- }
1648
- let url = path;
1649
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
1650
- if (host) {
1651
- if (host.endsWith("/")) {
1652
- url = host + path;
1653
- } else {
1654
- url = host + "/" + path;
1655
- }
1656
- }
1657
- const body = init.body || {};
1658
- url = mayAdjustRequest(url, init);
1659
- if (!init.headers) {
1660
- init.headers = {};
1661
- }
1662
- if (!init.headers["content-type"] && init.body) {
1663
- init.headers["content-type"] = "application/json";
1664
- }
1665
- const jwt = sessionStorage.getItem("jwt");
1666
- if (jwt) {
1667
- init.headers.authorization = "Bearer " + jwt;
1668
- }
1669
- return mayShowAuthUi(init, url).then(async () => {
1670
- if (!jwt) mayAddJwtToRequest(init, body, url);
1671
- if (opts.serverData) {
1672
- return namedFetch(url, init, opts);
1673
- } else {
1674
- return fetch(url, init).then(processResponse);
1675
- }
1676
- });
1677
- }
1678
- var optsServerDataNames = /* @__PURE__ */ new WeakMap();
1679
- async function namedFetch(url, init, opts = {}) {
1680
- if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
1681
- if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
1682
- let result;
1683
- const dataName = await getDataName(url, init);
1684
- if (opts.serverData[dataName]) {
1685
- if (init.signal) {
1686
- await sleep(0);
1687
- if (init.signal.aborted) throw `stale sequenceId`;
1688
- }
1689
- result = structuredClone(opts.serverData[dataName]);
1690
- }
1691
- if (!result || typeof result != "object" && !(result instanceof Promise)) {
1692
- delete opts.serverData[dataName];
1693
- result = void 0;
1694
- }
1695
- if (!result) {
1696
- try {
1697
- const res = await fetch(url, init);
1698
- result = await processResponse(res);
1699
- if (typeof result == "object" && !(result instanceof Promise)) {
1700
- deepFreeze(result);
1701
- opts.serverData[dataName] = result;
1702
- result = structuredClone(result);
1703
- }
1704
- } catch (e) {
1705
- delete opts.serverData[dataName];
1706
- throw e;
1707
- }
1708
- }
1709
- if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
1710
- const keys = optsServerDataNames.get(opts.serverData);
1711
- const i = keys.indexOf(dataName);
1712
- if (i > 0) {
1713
- keys.splice(i, 1);
1714
- }
1715
- keys.unshift(dataName);
1716
- const maxKeys = 360;
1717
- while (keys.length > maxKeys) {
1718
- const oldestDataKey = keys.pop();
1719
- delete opts.serverData[oldestDataKey];
1720
- }
1721
- return result;
1722
- }
1723
- var defaultServerDataCache = {};
1724
- function dofetch3(path, init = {}, opts = {}) {
1725
- if (!init.signal && this) {
1726
- init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
1727
- }
1728
- opts.serverData = defaultServerDataCache;
1729
- return dofetch2(path, init, opts);
1730
- }
1731
- function clearServerDataCache(opts = {}) {
1732
- const cache = opts?.serverData || defaultServerDataCache;
1733
- if (!cache) return;
1734
- for (const k of Object.keys(cache)) {
1735
- delete cache[k];
1736
- }
1737
- }
1738
- var urlMaxLength = 2e3;
1739
- function mayAdjustRequest(url, init) {
1740
- const hostname = window.location.hostname;
1741
- const method = init.method && init.method.toUpperCase() || "GET";
1742
- if (method == "POST") {
1743
- if (typeof init.body == "string") init.body = JSON.parse(init.body);
1744
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
1745
- init.body = JSON.stringify(init.body);
1746
- return url;
1747
- }
1748
- if (method != "GET" && method != "DELETE" && method != "PUT") {
1749
- throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
1750
- }
1751
- if (init.body) {
1752
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
1753
- const params = encode(init.body);
1754
- if (!url.includes("?")) url += "?";
1755
- url += params;
1756
- }
1757
- if (!url.includes("embedder=") && includeEmbedder) {
1758
- const sep = url.includes("?") ? "&" : "?";
1759
- url += `${sep}embedder=${hostname}`;
1760
- }
1761
- if (url.length < urlMaxLength) {
1762
- if (init.body) delete init.body;
1763
- return url;
1764
- }
1765
- init.method = "POST";
1766
- const [hostpath, query] = url.split("?");
1767
- if (init.body) {
1768
- init.body = JSON.stringify(init.body);
1769
- } else {
1770
- const params = {};
1771
- if (query)
1772
- query.split("&").forEach((p) => {
1773
- const [k, v] = p.split("=");
1774
- const decodedVal = decodeURIComponent(v);
1775
- try {
1776
- params[k] = JSON.parse(decodedVal);
1777
- } catch {
1778
- params[k] = decodedVal;
1779
- }
1780
- });
1781
- if (!params.embedder && includeEmbedder) params.embedder = hostname;
1782
- init.body = JSON.stringify(params);
1783
- }
1784
- return hostpath;
1785
- }
1786
- function setAuth(opts) {
1787
- setDsAuthOk(opts, dofetch3);
1788
- }
1789
-
1790
- export {
1791
- init_bulk_flag,
1792
- parsesample,
1793
- clusterMethodLst,
1794
- distanceMethodLst,
1795
- computePercentile,
1796
- processFormData,
1797
- fileSize,
1798
- ssmIdFieldsSeparator,
1799
- summarize_mclass,
1800
- guessSsmid,
1801
- xAxisOffSet,
1802
- yAxisOffSet,
1803
- getCoordinate,
1804
- calculatePadding,
1805
- initBinConfig,
1806
- isUsableTerm,
1807
- formatElapsedTime,
1808
- vcfparsemeta,
1809
- vcfparseline,
1810
- setTokenByDsRoute,
1811
- getSavedToken,
1812
- mayAddJwtToRequest,
1813
- includeEmbedder,
1814
- setDsAuthOk,
1815
- getRequiredAuth,
1816
- isInSession,
1817
- mayShowAuthUi,
1818
- dofetch,
1819
- dofetch2,
1820
- namedFetch,
1821
- dofetch3,
1822
- clearServerDataCache,
1823
- setAuth
1824
- };
1825
- //# sourceMappingURL=chunk-7EMWHCVW.js.map