@sjcrh/proteinpaint-client 2.223.0 → 2.224.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (877) hide show
  1. package/dist/2dmaf-7HOQRW25.js +1362 -0
  2. package/dist/AggMatrixInput-LMVRNQBN.js +402 -0
  3. package/dist/AggregateMatrix-AMQTLJV2.js +37 -0
  4. package/dist/AppHeader-AK7O2HUI.js +826 -0
  5. package/dist/BoxPlot-CE5JWPJH.js +1229 -0
  6. package/dist/CorrelationVolcano-DO7I63FR.js +613 -0
  7. package/dist/Cuminc-NHABXYET.js +1217 -0
  8. package/dist/DE-A327BZNW.js +85 -0
  9. package/dist/DEinput-VKRBFYUE.js +479 -0
  10. package/dist/DM-NU23H5PL.js +86 -0
  11. package/dist/DifferentialAnalysis-SH47YDQQ.js +236 -0
  12. package/dist/Disco-DOLET5UY.js +3384 -0
  13. package/dist/Disco.UI-6J6INV56.js +239 -0
  14. package/dist/DmrPlot-KYZOQB2Y.js +361 -0
  15. package/dist/GB-LQCK6YNB.js +1388 -0
  16. package/dist/GSEA-KLTV4JDP.js +870 -0
  17. package/dist/GeneExpInput-ZMTWWDO7.js +38 -0
  18. package/dist/Geomap-4NP2JPMA.js +80 -0
  19. package/dist/HicApp-DXF6B4YR.js +2240 -0
  20. package/dist/IDCViewer-HEQYB6AY.js +10808 -0
  21. package/dist/NumBinaryEditor-JZZS67NB.js +274 -0
  22. package/dist/NumBinaryEditor.unit.spec-S2MKCJYX.js +308 -0
  23. package/dist/NumContEditor-IRZPIDJU.js +100 -0
  24. package/dist/NumContEditor.unit.spec-JDSSEJLJ.js +160 -0
  25. package/dist/NumCustomBinEditor-E2FJNISZ.js +29 -0
  26. package/dist/NumCustomBinEditor.unit.spec-26GWME2W.js +393 -0
  27. package/dist/NumDiscreteEditor-JECWQKST.js +165 -0
  28. package/dist/NumDiscreteEditor.unit.spec-DG52CSV5.js +229 -0
  29. package/dist/NumRegularBinEditor-W726TJIB.js +29 -0
  30. package/dist/NumRegularBinEditor.unit.spec-GG7XXYLQ.js +274 -0
  31. package/dist/NumSplineEditor-7UYPJI57.js +205 -0
  32. package/dist/NumSplineEditor.unit.spec-MESJVLZV.js +220 -0
  33. package/dist/NumericDensity-VFXO6VZ7.js +29 -0
  34. package/dist/NumericDensity.unit.spec-OQDBGUQJ.js +414 -0
  35. package/dist/NumericHandler-EJHWVASI.js +30 -0
  36. package/dist/NumericHandler.unit.spec-VUIGKU4C.js +225 -0
  37. package/dist/ProteomeInput-ATBCNQLN.js +610 -0
  38. package/dist/Regression-ZL6XKZA6.js +1412 -0
  39. package/dist/RunChart2-NUSOF6LW.js +744 -0
  40. package/dist/SC-A55NDRZ2.js +1290 -0
  41. package/dist/Violin-DRTD42BR.js +1092 -0
  42. package/dist/Volcano-UNZ6OAWB.js +2657 -0
  43. package/dist/Volcano-UNZ6OAWB.js.map +7 -0
  44. package/dist/Wsi-CC7GX3HL.js +636 -0
  45. package/dist/aboutSunburst-VTBLSKCY.js +93 -0
  46. package/dist/adSandbox-7RA6NVM4.js +29 -0
  47. package/dist/animatedBubbleChart-BRGFUEYW.js +542 -0
  48. package/dist/app-2GMWQIJZ.js +28 -0
  49. package/dist/app-4KI25R4S.js +38 -0
  50. package/dist/app.js +10 -10
  51. package/dist/bam-B3JWSAZ5.js +872 -0
  52. package/dist/barchart-E2IWHDLL.js +38 -0
  53. package/dist/barchart2-QDATDPDT.js +305 -0
  54. package/dist/block-IS3WJCNW.js +6203 -0
  55. package/dist/block.init-ZCEUPHX2.js +29 -0
  56. package/dist/block.mds.expressionrank-WCJNZ63X.js +350 -0
  57. package/dist/block.mds.geneboxplot-BCXVN3GL.js +819 -0
  58. package/dist/block.mds.junction-J7H7WNMN.js +1534 -0
  59. package/dist/block.mds.svcnv-GJ6BSNGY.js +6325 -0
  60. package/dist/block.svg-SR5EQSKQ.js +155 -0
  61. package/dist/block.tk.aicheck-RPKZMKLM.js +274 -0
  62. package/dist/block.tk.bam-BDF3UFRA.js +1906 -0
  63. package/dist/block.tk.bigwig.ui-2MG6M4CP.js +202 -0
  64. package/dist/block.tk.hicstraw-JFMLXXLH.js +814 -0
  65. package/dist/block.tk.junction-ZDFTQJGA.js +2353 -0
  66. package/dist/block.tk.junction.textmatrixui-OHAZEQNT.js +190 -0
  67. package/dist/block.tk.ld-BRYYNH55.js +90 -0
  68. package/dist/block.tk.menu-XQKB62BG.js +1050 -0
  69. package/dist/block.tk.pgv-76I52IUX.js +934 -0
  70. package/dist/brainImaging-65UMKH6J.js +550 -0
  71. package/dist/brainRegions-AURQKH5R.js +213 -0
  72. package/dist/bubbleHeatmap-T3LEYZBU.js +374 -0
  73. package/dist/cellTypeBubbleHeatmap-UPY53IPQ.js +274 -0
  74. package/dist/chunk-2CQ4YA7M.js +257 -0
  75. package/dist/chunk-2FTQ5RMP.js +340 -0
  76. package/dist/chunk-2GWAEK4R.js +276 -0
  77. package/dist/chunk-2VBU42YX.js +299 -0
  78. package/dist/chunk-36CCFKWS.js +134 -0
  79. package/dist/chunk-3A2CWTBI.js +159 -0
  80. package/dist/chunk-3I26BABG.js +182 -0
  81. package/dist/chunk-3TO7TWHS.js +2008 -0
  82. package/dist/chunk-3WU2KUY2.js +13624 -0
  83. package/dist/chunk-3YQYWX4M.js +26716 -0
  84. package/dist/chunk-3YQYWX4M.js.map +7 -0
  85. package/dist/chunk-4MGXKCPS.js +2685 -0
  86. package/dist/chunk-53VTLOOW.js +1339 -0
  87. package/dist/chunk-76SL5VYA.js +255 -0
  88. package/dist/chunk-7BD532EJ.js +70 -0
  89. package/dist/chunk-7CE2X6HL.js +56 -0
  90. package/dist/chunk-7MJENXZ6.js +2799 -0
  91. package/dist/chunk-7TG44KO3.js +2334 -0
  92. package/dist/chunk-AFEPQY5B.js +2922 -0
  93. package/dist/chunk-AFEPQY5B.js.map +7 -0
  94. package/dist/chunk-CDUBFFZ7.js +82 -0
  95. package/dist/chunk-CPVUBEDA.js +54 -0
  96. package/dist/chunk-CPWM4S3K.js +123 -0
  97. package/dist/chunk-DEIIID6R.js +1219 -0
  98. package/dist/chunk-E54XQGQM.js +4389 -0
  99. package/dist/chunk-G4QRB64M.js +418 -0
  100. package/dist/chunk-H7HTCD2Q.js +55 -0
  101. package/dist/chunk-HQNH2UX6.js +194 -0
  102. package/dist/chunk-HYW74ZT2.js +103 -0
  103. package/dist/chunk-HZTSMLBZ.js +466 -0
  104. package/dist/chunk-I2QKZURX.js +5214 -0
  105. package/dist/chunk-I2QKZURX.js.map +7 -0
  106. package/dist/chunk-II5ZAY52.js +516 -0
  107. package/dist/chunk-IW5XJT3H.js +468 -0
  108. package/dist/chunk-JDRUY7IR.js +266 -0
  109. package/dist/chunk-JUPLOOCO.js +141 -0
  110. package/dist/chunk-JXVRNCAZ.js +96 -0
  111. package/dist/chunk-KBTFT76L.js +2305 -0
  112. package/dist/chunk-KBTFT76L.js.map +7 -0
  113. package/dist/chunk-L2H4W3UM.js +237 -0
  114. package/dist/chunk-LXS2GSF4.js +240 -0
  115. package/dist/chunk-MG5U4JYY.js +102 -0
  116. package/dist/chunk-MNN6NFZK.js +203 -0
  117. package/dist/chunk-N4ULQIGJ.js +379 -0
  118. package/dist/chunk-O3XTTT4K.js +217 -0
  119. package/dist/chunk-PGMHFGW7.js +102 -0
  120. package/dist/chunk-PUIQ3UF7.js +176 -0
  121. package/dist/chunk-QBGMD5UV.js +50 -0
  122. package/dist/chunk-QQH32U6O.js +296 -0
  123. package/dist/chunk-R3RD3VEX.js +184 -0
  124. package/dist/chunk-RRKUFU4L.js +243 -0
  125. package/dist/chunk-S72DZX6B.js +848 -0
  126. package/dist/chunk-T4KD2FBB.js +263 -0
  127. package/dist/chunk-TLWU7JWO.js +692 -0
  128. package/dist/chunk-TUZ3MJVF.js +6375 -0
  129. package/dist/chunk-TZVSDB7S.js +2102 -0
  130. package/dist/chunk-UHPFEULI.js +480 -0
  131. package/dist/chunk-XYAT642G.js +305 -0
  132. package/dist/chunk-Y3CSXSOZ.js +652 -0
  133. package/dist/chunk-YJFK6C2M.js +35 -0
  134. package/dist/chunk-Z44FLO2F.js +626 -0
  135. package/dist/chunk-Z6CMJQKG.js +1253 -0
  136. package/dist/chunk-Z6LQ3URB.js +14 -0
  137. package/dist/chunk-ZESHWW2R.js +54 -0
  138. package/dist/chunk-ZK4JKSUK.js +56 -0
  139. package/dist/chunk-ZV7LZY67.js +550 -0
  140. package/dist/cohort-T3SEGYG3.js +66 -0
  141. package/dist/cohortSunburst-HIWGWD7A.js +402 -0
  142. package/dist/condition-KEFHKNUU.js +323 -0
  143. package/dist/controls-MDUZLMY7.js +30 -0
  144. package/dist/controls.config-4XZZXUZV.js +30 -0
  145. package/dist/correlation-55LF7GPF.js +91 -0
  146. package/dist/customdata.inputui-6KIPVY2Q.js +280 -0
  147. package/dist/dataDownload-XCFCSKDO.js +326 -0
  148. package/dist/databrowser.ui-HLWUAHSZ.js +421 -0
  149. package/dist/dictionary-P5JGXQSW.js +109 -0
  150. package/dist/dnaMethylation-ZNR5U6HS.js +29 -0
  151. package/dist/dnaMethylation.integration.spec-7AMBXA4M.js +194 -0
  152. package/dist/dofetch-4P5F5ZGU.js +49 -0
  153. package/dist/e2pca-AJQ22AHJ.js +340 -0
  154. package/dist/ep-3ZEN3C4U.js +1247 -0
  155. package/dist/expclust.gdc.spec-IQXJYSCH.js +298 -0
  156. package/dist/facet-RPFQA3DH.js +556 -0
  157. package/dist/gb-R4D647D2.js +77 -0
  158. package/dist/geneExpClustering-JLJL6S3Q.js +240 -0
  159. package/dist/geneExpression-NWNOCRVM.js +309 -0
  160. package/dist/geneExpression-NWNOCRVM.js.map +7 -0
  161. package/dist/geneExpression-TK75VNQG.js +29 -0
  162. package/dist/geneExpression.unit.spec-4HTUTQ5K.js +151 -0
  163. package/dist/geneORA-7FP6KZSE.js +269 -0
  164. package/dist/geneRanking-SBFOUZTQ.js +544 -0
  165. package/dist/geneVariant-3DHX4LQL.js +289 -0
  166. package/dist/geneVariant-SUQWO6ON.js +32 -0
  167. package/dist/geneVariant.integration.spec-KOUVJAFB.js +672 -0
  168. package/dist/genefusion.ui-DAIBYS5I.js +299 -0
  169. package/dist/geneset-MKSYRPV4.js +199 -0
  170. package/dist/genomeBrowser.spec-JSHMD3CR.js +272 -0
  171. package/dist/grin2-RFRYBHBV.js +945 -0
  172. package/dist/grin2-Z4ETF6OM.js +66 -0
  173. package/dist/hierCluster-C67VO3VF.js +55 -0
  174. package/dist/hierCluster-CEJTROX7.js +51 -0
  175. package/dist/hierCluster.config-G3X5I72U.js +32 -0
  176. package/dist/hierCluster.integration.spec-HTS2GNUR.js +479 -0
  177. package/dist/hierCluster.interactivity-4JVDLIPZ.js +45 -0
  178. package/dist/imagePlot-HNKJX6YK.js +152 -0
  179. package/dist/importPlot-XUL6XFBL.js +8 -0
  180. package/dist/isoformExpression-ZJJUXJDF.js +31 -0
  181. package/dist/isoformExpression.unit.spec-INU6WFAM.js +233 -0
  182. package/dist/jspdf.es.min-THXUXEDC.js +40 -0
  183. package/dist/junction-FKYIKDC4.js +32 -0
  184. package/dist/junction.unit.spec-VRFIOT4T.js +178 -0
  185. package/dist/launch.adhoc-SDMXDSHS.js +33 -0
  186. package/dist/leftlabel.sample-S33KB225.js +253 -0
  187. package/dist/lollipop-WXQOGEY7.js +162 -0
  188. package/dist/maf-K6ZUNABR.js +451 -0
  189. package/dist/maftimeline-Y2LETT7W.js +583 -0
  190. package/dist/matrix-LADX4K5W.js +50 -0
  191. package/dist/matrix-M63KP6IL.js +55 -0
  192. package/dist/matrix.config-ZMT7A2D5.js +33 -0
  193. package/dist/matrix.integration.spec-LJ5EQ65D.js +3156 -0
  194. package/dist/matrix.interactivity-2ISWFOK2.js +33 -0
  195. package/dist/matrix.layout-EAYTUK2H.js +35 -0
  196. package/dist/matrix.renderers-XUMZZUDW.js +30 -0
  197. package/dist/matrix.sort.unit.spec-UPG3D6GE.js +464 -0
  198. package/dist/matrix.sorterUi.unit.spec-WPMREECT.js +334 -0
  199. package/dist/matrix.unit.spec-Z2HXOXM4.js +146 -0
  200. package/dist/mavb-WT4XM6U3.js +726 -0
  201. package/dist/mds.samplescatterplot-UTEBJF66.js +1545 -0
  202. package/dist/mds.survivalplot-DXWJA4IJ.js +472 -0
  203. package/dist/multivalue-LR7Z3OLZ.js +79 -0
  204. package/dist/oncomatrix-WV2LSH3X.js +286 -0
  205. package/dist/oncomatrix.spec-S7KHSJJG.js +439 -0
  206. package/dist/plot.2dvaf-FH7PMZ3U.js +368 -0
  207. package/dist/plot.app-DDB6YZJ3.js +32 -0
  208. package/dist/plot.barplot-XVSZDYKB.js +93 -0
  209. package/dist/plot.boxplot-M6URTYED.js +142 -0
  210. package/dist/plot.brainImaging-GNIBY3XC.js +51 -0
  211. package/dist/plot.disco-EH4E7B3O.js +98 -0
  212. package/dist/plot.ssgq-7HIGQHOT.js +130 -0
  213. package/dist/plot.ssgq-7HIGQHOT.js.map +7 -0
  214. package/dist/plot.vaf2cov-MGJHP2PV.js +249 -0
  215. package/dist/polar2-VYUW5GZO.js +228 -0
  216. package/dist/profileForms-LHJCFAP6.js +937 -0
  217. package/dist/profilePlot-UF2KERDD.js +45 -0
  218. package/dist/proteinView-5AF4I3PB.js +1346 -0
  219. package/dist/proteomeCohortCompare-4DYWZTLQ.js +866 -0
  220. package/dist/pseudbulk.unit.spec-ZTAP2YYA.js +82 -0
  221. package/dist/pseudobulk-A2KE233U.js +31 -0
  222. package/dist/purify.es-HHANQHDC.js +2068 -0
  223. package/dist/purify.es-HHANQHDC.js.map +7 -0
  224. package/dist/qualitative-3FDE4JUM.js +34 -0
  225. package/dist/qualitative-NVWG57TK.js +241 -0
  226. package/dist/radar2-3CQ7T5QY.js +323 -0
  227. package/dist/radarFacility2-ERBWZQFH.js +331 -0
  228. package/dist/render-LIUPN5SK.js +29 -0
  229. package/dist/report-JWNWR6NA.js +213 -0
  230. package/dist/sampleView-BQ6HCCKT.js +39 -0
  231. package/dist/samplelst-RQWH7WOX.js +114 -0
  232. package/dist/samplematrix-7FDWXSZA.js +2188 -0
  233. package/dist/sc-J2ZPQFGP.js +77 -0
  234. package/dist/scatter-7FQLITP7.js +919 -0
  235. package/dist/scatter-BDIZX73F.js +84 -0
  236. package/dist/selectGenomeWithTklst-52BHWMVR.js +125 -0
  237. package/dist/singleCellCellType-OC6QG6MU.js +29 -0
  238. package/dist/singleCellCellType.unit.spec-R3QPRXVY.js +150 -0
  239. package/dist/singleCellGeneExpression-QDRIVFQ5.js +29 -0
  240. package/dist/singleCellGeneExpression.unit.spec-FHUA6VWD.js +144 -0
  241. package/dist/singleCellNumericValue-2PKMS7NM.js +29 -0
  242. package/dist/singleCellNumericValue.unit.spec-YXDYOFJ5.js +412 -0
  243. package/dist/singleCellPlot-5RVA7KM7.js +44 -0
  244. package/dist/singlecell-5OUPDXEQ.js +1562 -0
  245. package/dist/singlecell-MLKBNJAG.js +77 -0
  246. package/dist/snp-ARLPF6ZU.js +29 -0
  247. package/dist/snp.unit.spec-MUB7YKMP.js +167 -0
  248. package/dist/snplocus-EZ33TXDU.js +200 -0
  249. package/dist/snplst-GLTNXAE5.js +36 -0
  250. package/dist/spliceevent.a53ss.diagram-FMP6CNCV.js +142 -0
  251. package/dist/spliceevent.exonskip.diagram-QRQ3DZ3I.js +274 -0
  252. package/dist/spliceevent.noeventdiagram-LAPCKJS3.js +451 -0
  253. package/dist/ssGSEA-WUE2PKUU.js +29 -0
  254. package/dist/ssGSEA.unit.spec-Y7KCKEGK.js +79 -0
  255. package/dist/stattable-GZF4ZWTT.js +112 -0
  256. package/dist/studyCatalog-PPV7WB2O.js +457 -0
  257. package/dist/summarizeCnvGeneexp-LZ7UWWZS.js +154 -0
  258. package/dist/summarizeGeneexpSurvival-VBRJFZR6.js +101 -0
  259. package/dist/summarizeMutationCnv-6LUM4YR7.js +155 -0
  260. package/dist/summarizeMutationDiagnosis-B47HKNM6.js +31 -0
  261. package/dist/summarizeMutationSurvival-6GH3MTLN.js +95 -0
  262. package/dist/summary-BBI7MS3B.js +40 -0
  263. package/dist/summary.integration.spec-SYLP7X3F.js +405 -0
  264. package/dist/summaryInput-5PPK7KRL.js +238 -0
  265. package/dist/sunburst-BVPS44ZR.js +34 -0
  266. package/dist/sunburst-H57DYWLE.js +274 -0
  267. package/dist/survival-C26WPJFT.js +1248 -0
  268. package/dist/survival-PRHRAD2T.js +49 -0
  269. package/dist/survival.integration.spec-KH6GPVZ4.js +609 -0
  270. package/dist/svg2pdf.es.min-BRE45YLJ.js +3157 -0
  271. package/dist/svgraph-VVGRE672.js +1377 -0
  272. package/dist/svmr-OKTQIHLN.js +3834 -0
  273. package/dist/swimmer-U5COUOM6.js +993 -0
  274. package/dist/table-I7SINEY4.js +192 -0
  275. package/dist/termCollection-QCSPDISY.js +29 -0
  276. package/dist/termCollection-TFNI2VIX.js +247 -0
  277. package/dist/termCollection.unit.spec-22E76H2W.js +295 -0
  278. package/dist/termCollectionFractionSelection-VZ5JJ7KV.js +38 -0
  279. package/dist/termCollectionFractionSelection.unit.spec-KCAQU2BV.js +184 -0
  280. package/dist/tk-GBNB42AI.js +37 -0
  281. package/dist/tk-YOBCGYFC.js +1193 -0
  282. package/dist/tp.ui-OEL4S73T.js +1453 -0
  283. package/dist/tvs.categorical-3X6CO5EA.js +28 -0
  284. package/dist/tvs.condition-YZQSSONN.js +160 -0
  285. package/dist/tvs.dt-GCMLLAJC.js +34 -0
  286. package/dist/tvs.dtcnv.categorical-ZSYUQQXP.js +31 -0
  287. package/dist/tvs.dtcnv.continuous-T67YFFAE.js +72 -0
  288. package/dist/tvs.dtfusion-VR2NAX3F.js +31 -0
  289. package/dist/tvs.dtitd-O3MIZPZO.js +31 -0
  290. package/dist/tvs.dtsnvindel-6G7UNHSQ.js +31 -0
  291. package/dist/tvs.dtsv-VZ2I4AMH.js +31 -0
  292. package/dist/tvs.multivalue-6KFI5ELB.js +84 -0
  293. package/dist/tvs.numeric-SFSOLXVF.js +32 -0
  294. package/dist/tvs.samplelst-WD5UMMTP.js +95 -0
  295. package/dist/tvs.survival-A2RUXAXJ.js +110 -0
  296. package/dist/tvs.termCollection-NVW4LO44.js +118 -0
  297. package/dist/vocabulary-FASF5IUM.js +32 -0
  298. package/dist/wsi.direct-O6HFKPCP.js +11514 -0
  299. package/package.json +3 -3
  300. package/dist/2dmaf-POKWDZTU.js +0 -1362
  301. package/dist/AggMatrixInput-NIN3SHJR.js +0 -402
  302. package/dist/AggregateMatrix-SNXE2IMF.js +0 -37
  303. package/dist/AppHeader-AXIG4J42.js +0 -826
  304. package/dist/BoxPlot-EQHEGZAX.js +0 -1229
  305. package/dist/CorrelationVolcano-6QTXXW5F.js +0 -613
  306. package/dist/Cuminc-ZUG6FCOT.js +0 -1217
  307. package/dist/DE-24JMFZFG.js +0 -85
  308. package/dist/DEinput-I3EJWSOQ.js +0 -479
  309. package/dist/DM-FEEPIPNV.js +0 -86
  310. package/dist/DifferentialAnalysis-QZIHMN43.js +0 -236
  311. package/dist/Disco-DYEE57LX.js +0 -3384
  312. package/dist/Disco.UI-M7AQJEDW.js +0 -239
  313. package/dist/DmrPlot-4JPZAJCP.js +0 -361
  314. package/dist/GB-4DPUNCJG.js +0 -1388
  315. package/dist/GSEA-HZSZ23PR.js +0 -870
  316. package/dist/GeneExpInput-BBOMWGCJ.js +0 -38
  317. package/dist/Geomap-Z4NKGSXD.js +0 -80
  318. package/dist/HicApp-OO2EK4JA.js +0 -2240
  319. package/dist/IDCViewer-UCDVSZXN.js +0 -10808
  320. package/dist/NumBinaryEditor-WH5CGCRR.js +0 -274
  321. package/dist/NumBinaryEditor.unit.spec-GSMQ5KDY.js +0 -308
  322. package/dist/NumContEditor-U5PJEFJU.js +0 -100
  323. package/dist/NumContEditor.unit.spec-V2DKMR6V.js +0 -160
  324. package/dist/NumCustomBinEditor-CD5ZZMPS.js +0 -29
  325. package/dist/NumCustomBinEditor.unit.spec-CLLUZO3D.js +0 -393
  326. package/dist/NumDiscreteEditor-PRK3EBXB.js +0 -165
  327. package/dist/NumDiscreteEditor.unit.spec-7Q3VPQBY.js +0 -229
  328. package/dist/NumRegularBinEditor-6LUEZNMD.js +0 -29
  329. package/dist/NumRegularBinEditor.unit.spec-G75DBYIV.js +0 -274
  330. package/dist/NumSplineEditor-S5UMQH3W.js +0 -205
  331. package/dist/NumSplineEditor.unit.spec-IAFAMAWR.js +0 -220
  332. package/dist/NumericDensity-4VSTEQ7M.js +0 -29
  333. package/dist/NumericDensity.unit.spec-ECOENBRH.js +0 -414
  334. package/dist/NumericHandler-I7QUR75Z.js +0 -30
  335. package/dist/NumericHandler.unit.spec-G5OU3MK2.js +0 -225
  336. package/dist/ProteomeInput-UYRSZV6I.js +0 -610
  337. package/dist/Regression-MU3UJ242.js +0 -1412
  338. package/dist/RunChart2-SLP6DDBL.js +0 -744
  339. package/dist/SC-VSAMENAT.js +0 -1290
  340. package/dist/Violin-QKLXZBZW.js +0 -1092
  341. package/dist/Volcano-RWGO2QRK.js +0 -2661
  342. package/dist/Volcano-RWGO2QRK.js.map +0 -7
  343. package/dist/Wsi-QYZERT3L.js +0 -636
  344. package/dist/aboutSunburst-7HC4ULZX.js +0 -93
  345. package/dist/adSandbox-XMTFXVQZ.js +0 -29
  346. package/dist/animatedBubbleChart-Y5QQYPCS.js +0 -542
  347. package/dist/app-IJOORVUT.js +0 -38
  348. package/dist/app-OBIQZWB6.js +0 -28
  349. package/dist/bam-OCKP55BE.js +0 -872
  350. package/dist/barchart-6VJ5F7GM.js +0 -38
  351. package/dist/barchart2-LPGRRPKS.js +0 -305
  352. package/dist/block-MIBFGU6V.js +0 -6203
  353. package/dist/block.init-MPTACJCT.js +0 -29
  354. package/dist/block.mds.expressionrank-EZBNMSDP.js +0 -350
  355. package/dist/block.mds.geneboxplot-R6BS44BH.js +0 -819
  356. package/dist/block.mds.junction-I72SNE6D.js +0 -1534
  357. package/dist/block.mds.svcnv-EJXXAM7L.js +0 -6325
  358. package/dist/block.svg-7DQLMFUE.js +0 -155
  359. package/dist/block.tk.aicheck-MZQIZQ4R.js +0 -274
  360. package/dist/block.tk.bam-QKRX7QA7.js +0 -1906
  361. package/dist/block.tk.bigwig.ui-MREWAD2O.js +0 -202
  362. package/dist/block.tk.hicstraw-DO2D2XHN.js +0 -814
  363. package/dist/block.tk.junction-27DQ3HHI.js +0 -2353
  364. package/dist/block.tk.junction.textmatrixui-ODA2JU6X.js +0 -190
  365. package/dist/block.tk.ld-AG2T4DR6.js +0 -90
  366. package/dist/block.tk.menu-BIORXN3G.js +0 -1050
  367. package/dist/block.tk.pgv-FPGJ7HMX.js +0 -934
  368. package/dist/brainImaging-MDXNZ6EN.js +0 -550
  369. package/dist/brainRegions-SUFNAEWM.js +0 -213
  370. package/dist/bubbleHeatmap-JR42L4K6.js +0 -374
  371. package/dist/cellTypeBubbleHeatmap-36LK5SRE.js +0 -274
  372. package/dist/chunk-22DUWEXJ.js +0 -2685
  373. package/dist/chunk-22MQLGUB.js +0 -82
  374. package/dist/chunk-2CDIFQPW.js +0 -299
  375. package/dist/chunk-2JPHJFWZ.js +0 -255
  376. package/dist/chunk-3BXY7XEV.js +0 -237
  377. package/dist/chunk-4HCFRRDQ.js +0 -243
  378. package/dist/chunk-4TJO2DGU.js +0 -2297
  379. package/dist/chunk-4TJO2DGU.js.map +0 -7
  380. package/dist/chunk-55SYHMGG.js +0 -14
  381. package/dist/chunk-5KMLFPP5.js +0 -652
  382. package/dist/chunk-63H45YA3.js +0 -418
  383. package/dist/chunk-65PBOLXP.js +0 -468
  384. package/dist/chunk-6HC6RVNT.js +0 -56
  385. package/dist/chunk-6IFQSS7D.js +0 -35
  386. package/dist/chunk-6QG7NWME.js +0 -848
  387. package/dist/chunk-754DVU6V.js +0 -159
  388. package/dist/chunk-7HOIT7TM.js +0 -54
  389. package/dist/chunk-7NYLCZY5.js +0 -296
  390. package/dist/chunk-7OYFMOGM.js +0 -240
  391. package/dist/chunk-AGM2IM3B.js +0 -2799
  392. package/dist/chunk-CHNPP3DV.js +0 -466
  393. package/dist/chunk-DJK3NKRK.js +0 -96
  394. package/dist/chunk-DKEH6FBC.js +0 -123
  395. package/dist/chunk-DYBH3E6G.js +0 -50
  396. package/dist/chunk-EZGMD2WV.js +0 -480
  397. package/dist/chunk-FJ2JV2VK.js +0 -217
  398. package/dist/chunk-FYBN6BAC.js +0 -1219
  399. package/dist/chunk-GKLDVEAQ.js +0 -194
  400. package/dist/chunk-GLGFZPWM.js +0 -103
  401. package/dist/chunk-HKXQA27S.js +0 -305
  402. package/dist/chunk-IQX6FKY6.js +0 -102
  403. package/dist/chunk-IRAB3OI7.js +0 -184
  404. package/dist/chunk-IZPM6TWT.js +0 -379
  405. package/dist/chunk-J3LWRVN3.js +0 -2334
  406. package/dist/chunk-J6WTOB2A.js +0 -2008
  407. package/dist/chunk-JI75CBA6.js +0 -70
  408. package/dist/chunk-JP4IU7DO.js +0 -26731
  409. package/dist/chunk-JP4IU7DO.js.map +0 -7
  410. package/dist/chunk-KWY2WZAM.js +0 -340
  411. package/dist/chunk-KXDK6ZOJ.js +0 -13624
  412. package/dist/chunk-LCUVGK27.js +0 -54
  413. package/dist/chunk-LMM4REJQ.js +0 -626
  414. package/dist/chunk-LVATT455.js +0 -1253
  415. package/dist/chunk-MU77WKSY.js +0 -6375
  416. package/dist/chunk-NGBO2LE3.js +0 -4389
  417. package/dist/chunk-OJ6IPUZC.js +0 -56
  418. package/dist/chunk-PMLMXEER.js +0 -516
  419. package/dist/chunk-Q5LG4WR3.js +0 -2921
  420. package/dist/chunk-Q5LG4WR3.js.map +0 -7
  421. package/dist/chunk-QABQ5AOR.js +0 -134
  422. package/dist/chunk-QHYS2QXV.js +0 -55
  423. package/dist/chunk-R64DV2IT.js +0 -692
  424. package/dist/chunk-RMLWQEWC.js +0 -266
  425. package/dist/chunk-RRMAUPEA.js +0 -1339
  426. package/dist/chunk-SFLKPHIF.js +0 -257
  427. package/dist/chunk-SZNEHG4C.js +0 -5214
  428. package/dist/chunk-SZNEHG4C.js.map +0 -7
  429. package/dist/chunk-TN4OMLKK.js +0 -2102
  430. package/dist/chunk-TYEHFGMJ.js +0 -263
  431. package/dist/chunk-UHFO6LHS.js +0 -203
  432. package/dist/chunk-UKKLAUYO.js +0 -141
  433. package/dist/chunk-UO5TVDSF.js +0 -176
  434. package/dist/chunk-VD4WX5ZG.js +0 -550
  435. package/dist/chunk-VLIOMJDR.js +0 -276
  436. package/dist/chunk-WAJ7U3KO.js +0 -182
  437. package/dist/chunk-Z4XRHSLY.js +0 -102
  438. package/dist/cohort-5KRENZ4T.js +0 -66
  439. package/dist/cohortSunburst-IRKQINDZ.js +0 -402
  440. package/dist/condition-SS5WC4XL.js +0 -323
  441. package/dist/controls-PPG5IIVK.js +0 -30
  442. package/dist/controls.config-URUFQC4O.js +0 -30
  443. package/dist/correlation-KCKJHPW4.js +0 -91
  444. package/dist/customdata.inputui-HDWCVQR7.js +0 -280
  445. package/dist/dataDownload-7OSWACMN.js +0 -326
  446. package/dist/databrowser.ui-ILUFKRCK.js +0 -421
  447. package/dist/dictionary-5VCLRD7G.js +0 -109
  448. package/dist/dnaMethylation-RUP4SNBG.js +0 -29
  449. package/dist/dnaMethylation.integration.spec-JCE46MPP.js +0 -194
  450. package/dist/dofetch-KBTN6OW4.js +0 -49
  451. package/dist/e2pca-RRSEDWZ3.js +0 -340
  452. package/dist/ep-BHYT5BNH.js +0 -1247
  453. package/dist/expclust.gdc.spec-GARTH4AC.js +0 -298
  454. package/dist/facet-44CMDEC5.js +0 -556
  455. package/dist/gb-JOJSFSTN.js +0 -77
  456. package/dist/geneExpClustering-47HSKEFL.js +0 -240
  457. package/dist/geneExpression-GIJPTHXW.js +0 -29
  458. package/dist/geneExpression-KPUOZ4PT.js +0 -309
  459. package/dist/geneExpression-KPUOZ4PT.js.map +0 -7
  460. package/dist/geneExpression.unit.spec-46RP3ZSW.js +0 -151
  461. package/dist/geneORA-VLFKS6SV.js +0 -269
  462. package/dist/geneRanking-EMZ4IIGG.js +0 -544
  463. package/dist/geneVariant-HTYLI76A.js +0 -289
  464. package/dist/geneVariant-RZUBFP3H.js +0 -32
  465. package/dist/geneVariant.integration.spec-JZOAK5NP.js +0 -672
  466. package/dist/genefusion.ui-6REPOIXI.js +0 -299
  467. package/dist/geneset-XCU3IWX3.js +0 -199
  468. package/dist/genomeBrowser.spec-BGHECXFY.js +0 -272
  469. package/dist/grin2-73EMJO2O.js +0 -945
  470. package/dist/grin2-BU5DLVNV.js +0 -66
  471. package/dist/hierCluster-FMF56N73.js +0 -51
  472. package/dist/hierCluster-M57DFUAE.js +0 -55
  473. package/dist/hierCluster.config-LD7RO2ZV.js +0 -32
  474. package/dist/hierCluster.integration.spec-NTIL7TK4.js +0 -479
  475. package/dist/hierCluster.interactivity-SBRGGCJW.js +0 -45
  476. package/dist/imagePlot-AWX6T7D3.js +0 -152
  477. package/dist/importPlot-XH2XECDM.js +0 -8
  478. package/dist/isoformExpression-TLFIRYGG.js +0 -31
  479. package/dist/isoformExpression.unit.spec-YVKKWS4R.js +0 -233
  480. package/dist/jspdf.es.min-KB3HW45U.js +0 -40
  481. package/dist/junction-47ZSGPLM.js +0 -32
  482. package/dist/junction.unit.spec-WNYGL5VN.js +0 -178
  483. package/dist/launch.adhoc-PBCBXVYY.js +0 -33
  484. package/dist/leftlabel.sample-QWIQDLOD.js +0 -253
  485. package/dist/lollipop-JOK75CBR.js +0 -162
  486. package/dist/maf-C7YTV3GF.js +0 -451
  487. package/dist/maftimeline-TDXLAIUN.js +0 -583
  488. package/dist/matrix-5KS2L3XU.js +0 -55
  489. package/dist/matrix-FW4IPOIL.js +0 -50
  490. package/dist/matrix.config-U7NDKIBJ.js +0 -33
  491. package/dist/matrix.integration.spec-T5TUAFQN.js +0 -3156
  492. package/dist/matrix.interactivity-OTRYV6BY.js +0 -33
  493. package/dist/matrix.layout-VMRJ35R6.js +0 -35
  494. package/dist/matrix.renderers-RH4VTHVN.js +0 -30
  495. package/dist/matrix.sort.unit.spec-Q4YLQOMY.js +0 -464
  496. package/dist/matrix.sorterUi.unit.spec-QHKHT4LM.js +0 -334
  497. package/dist/matrix.unit.spec-GAO2IEXL.js +0 -146
  498. package/dist/mavb-LZZIWOAK.js +0 -726
  499. package/dist/mds.samplescatterplot-MCBCP3IO.js +0 -1545
  500. package/dist/mds.survivalplot-JV2JSH74.js +0 -472
  501. package/dist/multivalue-XTMXS2BA.js +0 -79
  502. package/dist/oncomatrix-LIK4FIQT.js +0 -286
  503. package/dist/oncomatrix.spec-SLZKHQ3U.js +0 -439
  504. package/dist/plot.2dvaf-WFZ5RK55.js +0 -368
  505. package/dist/plot.app-ILSKE2MB.js +0 -32
  506. package/dist/plot.barplot-XZ5LEEUG.js +0 -93
  507. package/dist/plot.boxplot-CU4SFUDO.js +0 -142
  508. package/dist/plot.brainImaging-4HJH347S.js +0 -51
  509. package/dist/plot.disco-MB4A24B5.js +0 -98
  510. package/dist/plot.ssgq-NCVJWHKU.js +0 -130
  511. package/dist/plot.ssgq-NCVJWHKU.js.map +0 -7
  512. package/dist/plot.vaf2cov-MUOXXUXF.js +0 -249
  513. package/dist/polar2-GAMBO6HG.js +0 -228
  514. package/dist/profileForms-QOUV435D.js +0 -937
  515. package/dist/profilePlot-BNUUQRVB.js +0 -45
  516. package/dist/proteinView-W4HQM7PX.js +0 -1346
  517. package/dist/proteomeCohortCompare-7QIJAKDR.js +0 -866
  518. package/dist/pseudbulk.unit.spec-2NQYQMD2.js +0 -82
  519. package/dist/pseudobulk-FKIWXQAR.js +0 -31
  520. package/dist/purify.es-34NJ2D5A.js +0 -1986
  521. package/dist/purify.es-34NJ2D5A.js.map +0 -7
  522. package/dist/qualitative-3TVNQ2IV.js +0 -34
  523. package/dist/qualitative-5V3DGURI.js +0 -241
  524. package/dist/radar2-QO5ZN7IW.js +0 -323
  525. package/dist/radarFacility2-HKP42M4V.js +0 -331
  526. package/dist/render-O6PPL3XT.js +0 -29
  527. package/dist/report-K3B2IYG2.js +0 -213
  528. package/dist/sampleView-GKGADBRJ.js +0 -39
  529. package/dist/samplelst-ECNFTH35.js +0 -114
  530. package/dist/samplematrix-KL6BNSQF.js +0 -2188
  531. package/dist/sc-MRK4D7Q3.js +0 -77
  532. package/dist/scatter-HBTW5CDD.js +0 -84
  533. package/dist/scatter-ITRK6CQK.js +0 -919
  534. package/dist/selectGenomeWithTklst-E6TV7BOQ.js +0 -125
  535. package/dist/singleCellCellType-CA4MPJFG.js +0 -29
  536. package/dist/singleCellCellType.unit.spec-NE34HWRM.js +0 -150
  537. package/dist/singleCellGeneExpression-A5C7TKTF.js +0 -29
  538. package/dist/singleCellGeneExpression.unit.spec-NX2JMJ5C.js +0 -144
  539. package/dist/singleCellNumericValue-4BEKA732.js +0 -29
  540. package/dist/singleCellNumericValue.unit.spec-LTIDSRTE.js +0 -412
  541. package/dist/singleCellPlot-S4ZWVY2Z.js +0 -44
  542. package/dist/singlecell-NLY4ICUP.js +0 -1562
  543. package/dist/singlecell-RYQRJ2AK.js +0 -77
  544. package/dist/snp-ZWR4J3PB.js +0 -29
  545. package/dist/snp.unit.spec-TO5ID66F.js +0 -167
  546. package/dist/snplocus-GDBABG4H.js +0 -200
  547. package/dist/snplst-5GO3G3ZH.js +0 -36
  548. package/dist/spliceevent.a53ss.diagram-PVHMNV6G.js +0 -142
  549. package/dist/spliceevent.exonskip.diagram-ALYZWQMD.js +0 -274
  550. package/dist/spliceevent.noeventdiagram-XI3FRO7G.js +0 -451
  551. package/dist/ssGSEA-TYDOQEAB.js +0 -29
  552. package/dist/ssGSEA.unit.spec-WC6QAJJR.js +0 -79
  553. package/dist/stattable-SBWH4KGE.js +0 -112
  554. package/dist/studyCatalog-MXOHUMJW.js +0 -457
  555. package/dist/summarizeCnvGeneexp-LZ3EW4NA.js +0 -154
  556. package/dist/summarizeGeneexpSurvival-QLW5IZHS.js +0 -101
  557. package/dist/summarizeMutationCnv-L3JWXSEN.js +0 -155
  558. package/dist/summarizeMutationDiagnosis-K66PJUFI.js +0 -31
  559. package/dist/summarizeMutationSurvival-KKZU2FKQ.js +0 -95
  560. package/dist/summary-IHMI5H5Q.js +0 -40
  561. package/dist/summary.integration.spec-IWBDVJT2.js +0 -405
  562. package/dist/summaryInput-VC3AIG36.js +0 -238
  563. package/dist/sunburst-3PKTRXCA.js +0 -274
  564. package/dist/sunburst-VNKHAUEA.js +0 -34
  565. package/dist/survival-4LEJDVBC.js +0 -1248
  566. package/dist/survival-TYOJ55WB.js +0 -49
  567. package/dist/survival.integration.spec-3LXM6EOA.js +0 -609
  568. package/dist/svg2pdf.es.min-KKHWPFWG.js +0 -3157
  569. package/dist/svgraph-774K6DAH.js +0 -1377
  570. package/dist/svmr-25I2V6AN.js +0 -3834
  571. package/dist/swimmer-QO3Z4ZWN.js +0 -993
  572. package/dist/table-M64VATFA.js +0 -192
  573. package/dist/termCollection-E6Q2FDM3.js +0 -247
  574. package/dist/termCollection-OFE4KKJT.js +0 -29
  575. package/dist/termCollection.unit.spec-G4HGOR7B.js +0 -295
  576. package/dist/termCollectionFractionSelection-F2VKGR2D.js +0 -38
  577. package/dist/termCollectionFractionSelection.unit.spec-46XS3WMX.js +0 -184
  578. package/dist/tk-JBLKYKKI.js +0 -37
  579. package/dist/tk-UHDGIDTK.js +0 -1193
  580. package/dist/tp.ui-X2BJWXKN.js +0 -1453
  581. package/dist/tvs.categorical-ZTFJDJQU.js +0 -28
  582. package/dist/tvs.condition-DCDNI627.js +0 -160
  583. package/dist/tvs.dt-X6DES76X.js +0 -34
  584. package/dist/tvs.dtcnv.categorical-UPRTUO7A.js +0 -31
  585. package/dist/tvs.dtcnv.continuous-K3J5KKZD.js +0 -72
  586. package/dist/tvs.dtfusion-XV3UM2QG.js +0 -31
  587. package/dist/tvs.dtitd-LKYJG4XK.js +0 -31
  588. package/dist/tvs.dtsnvindel-KFAQGI4H.js +0 -31
  589. package/dist/tvs.dtsv-4NV4DRWC.js +0 -31
  590. package/dist/tvs.multivalue-WSSBQ7K4.js +0 -84
  591. package/dist/tvs.numeric-OFA6L2TA.js +0 -32
  592. package/dist/tvs.samplelst-W6QKXHGF.js +0 -95
  593. package/dist/tvs.survival-ESWYE4QM.js +0 -110
  594. package/dist/tvs.termCollection-3GOKKMKB.js +0 -118
  595. package/dist/vocabulary-6S6F2UAA.js +0 -32
  596. package/dist/wsi.direct-ZAOVMG5X.js +0 -11514
  597. /package/dist/{2dmaf-POKWDZTU.js.map → 2dmaf-7HOQRW25.js.map} +0 -0
  598. /package/dist/{AggMatrixInput-NIN3SHJR.js.map → AggMatrixInput-LMVRNQBN.js.map} +0 -0
  599. /package/dist/{AggregateMatrix-SNXE2IMF.js.map → AggregateMatrix-AMQTLJV2.js.map} +0 -0
  600. /package/dist/{AppHeader-AXIG4J42.js.map → AppHeader-AK7O2HUI.js.map} +0 -0
  601. /package/dist/{BoxPlot-EQHEGZAX.js.map → BoxPlot-CE5JWPJH.js.map} +0 -0
  602. /package/dist/{CorrelationVolcano-6QTXXW5F.js.map → CorrelationVolcano-DO7I63FR.js.map} +0 -0
  603. /package/dist/{Cuminc-ZUG6FCOT.js.map → Cuminc-NHABXYET.js.map} +0 -0
  604. /package/dist/{DE-24JMFZFG.js.map → DE-A327BZNW.js.map} +0 -0
  605. /package/dist/{DEinput-I3EJWSOQ.js.map → DEinput-VKRBFYUE.js.map} +0 -0
  606. /package/dist/{DM-FEEPIPNV.js.map → DM-NU23H5PL.js.map} +0 -0
  607. /package/dist/{DifferentialAnalysis-QZIHMN43.js.map → DifferentialAnalysis-SH47YDQQ.js.map} +0 -0
  608. /package/dist/{Disco-DYEE57LX.js.map → Disco-DOLET5UY.js.map} +0 -0
  609. /package/dist/{Disco.UI-M7AQJEDW.js.map → Disco.UI-6J6INV56.js.map} +0 -0
  610. /package/dist/{DmrPlot-4JPZAJCP.js.map → DmrPlot-KYZOQB2Y.js.map} +0 -0
  611. /package/dist/{GB-4DPUNCJG.js.map → GB-LQCK6YNB.js.map} +0 -0
  612. /package/dist/{GSEA-HZSZ23PR.js.map → GSEA-KLTV4JDP.js.map} +0 -0
  613. /package/dist/{GeneExpInput-BBOMWGCJ.js.map → GeneExpInput-ZMTWWDO7.js.map} +0 -0
  614. /package/dist/{Geomap-Z4NKGSXD.js.map → Geomap-4NP2JPMA.js.map} +0 -0
  615. /package/dist/{HicApp-OO2EK4JA.js.map → HicApp-DXF6B4YR.js.map} +0 -0
  616. /package/dist/{IDCViewer-UCDVSZXN.js.map → IDCViewer-HEQYB6AY.js.map} +0 -0
  617. /package/dist/{NumBinaryEditor-WH5CGCRR.js.map → NumBinaryEditor-JZZS67NB.js.map} +0 -0
  618. /package/dist/{NumBinaryEditor.unit.spec-GSMQ5KDY.js.map → NumBinaryEditor.unit.spec-S2MKCJYX.js.map} +0 -0
  619. /package/dist/{NumContEditor-U5PJEFJU.js.map → NumContEditor-IRZPIDJU.js.map} +0 -0
  620. /package/dist/{NumContEditor.unit.spec-V2DKMR6V.js.map → NumContEditor.unit.spec-JDSSEJLJ.js.map} +0 -0
  621. /package/dist/{NumCustomBinEditor-CD5ZZMPS.js.map → NumCustomBinEditor-E2FJNISZ.js.map} +0 -0
  622. /package/dist/{NumCustomBinEditor.unit.spec-CLLUZO3D.js.map → NumCustomBinEditor.unit.spec-26GWME2W.js.map} +0 -0
  623. /package/dist/{NumDiscreteEditor-PRK3EBXB.js.map → NumDiscreteEditor-JECWQKST.js.map} +0 -0
  624. /package/dist/{NumDiscreteEditor.unit.spec-7Q3VPQBY.js.map → NumDiscreteEditor.unit.spec-DG52CSV5.js.map} +0 -0
  625. /package/dist/{NumRegularBinEditor-6LUEZNMD.js.map → NumRegularBinEditor-W726TJIB.js.map} +0 -0
  626. /package/dist/{NumRegularBinEditor.unit.spec-G75DBYIV.js.map → NumRegularBinEditor.unit.spec-GG7XXYLQ.js.map} +0 -0
  627. /package/dist/{NumSplineEditor-S5UMQH3W.js.map → NumSplineEditor-7UYPJI57.js.map} +0 -0
  628. /package/dist/{NumSplineEditor.unit.spec-IAFAMAWR.js.map → NumSplineEditor.unit.spec-MESJVLZV.js.map} +0 -0
  629. /package/dist/{NumericDensity-4VSTEQ7M.js.map → NumericDensity-VFXO6VZ7.js.map} +0 -0
  630. /package/dist/{NumericDensity.unit.spec-ECOENBRH.js.map → NumericDensity.unit.spec-OQDBGUQJ.js.map} +0 -0
  631. /package/dist/{NumericHandler-I7QUR75Z.js.map → NumericHandler-EJHWVASI.js.map} +0 -0
  632. /package/dist/{NumericHandler.unit.spec-G5OU3MK2.js.map → NumericHandler.unit.spec-VUIGKU4C.js.map} +0 -0
  633. /package/dist/{ProteomeInput-UYRSZV6I.js.map → ProteomeInput-ATBCNQLN.js.map} +0 -0
  634. /package/dist/{Regression-MU3UJ242.js.map → Regression-ZL6XKZA6.js.map} +0 -0
  635. /package/dist/{RunChart2-SLP6DDBL.js.map → RunChart2-NUSOF6LW.js.map} +0 -0
  636. /package/dist/{SC-VSAMENAT.js.map → SC-A55NDRZ2.js.map} +0 -0
  637. /package/dist/{Violin-QKLXZBZW.js.map → Violin-DRTD42BR.js.map} +0 -0
  638. /package/dist/{Wsi-QYZERT3L.js.map → Wsi-CC7GX3HL.js.map} +0 -0
  639. /package/dist/{aboutSunburst-7HC4ULZX.js.map → aboutSunburst-VTBLSKCY.js.map} +0 -0
  640. /package/dist/{adSandbox-XMTFXVQZ.js.map → adSandbox-7RA6NVM4.js.map} +0 -0
  641. /package/dist/{animatedBubbleChart-Y5QQYPCS.js.map → animatedBubbleChart-BRGFUEYW.js.map} +0 -0
  642. /package/dist/{app-IJOORVUT.js.map → app-2GMWQIJZ.js.map} +0 -0
  643. /package/dist/{app-OBIQZWB6.js.map → app-4KI25R4S.js.map} +0 -0
  644. /package/dist/{bam-OCKP55BE.js.map → bam-B3JWSAZ5.js.map} +0 -0
  645. /package/dist/{barchart-6VJ5F7GM.js.map → barchart-E2IWHDLL.js.map} +0 -0
  646. /package/dist/{barchart2-LPGRRPKS.js.map → barchart2-QDATDPDT.js.map} +0 -0
  647. /package/dist/{block-MIBFGU6V.js.map → block-IS3WJCNW.js.map} +0 -0
  648. /package/dist/{block.init-MPTACJCT.js.map → block.init-ZCEUPHX2.js.map} +0 -0
  649. /package/dist/{block.mds.expressionrank-EZBNMSDP.js.map → block.mds.expressionrank-WCJNZ63X.js.map} +0 -0
  650. /package/dist/{block.mds.geneboxplot-R6BS44BH.js.map → block.mds.geneboxplot-BCXVN3GL.js.map} +0 -0
  651. /package/dist/{block.mds.junction-I72SNE6D.js.map → block.mds.junction-J7H7WNMN.js.map} +0 -0
  652. /package/dist/{block.mds.svcnv-EJXXAM7L.js.map → block.mds.svcnv-GJ6BSNGY.js.map} +0 -0
  653. /package/dist/{block.svg-7DQLMFUE.js.map → block.svg-SR5EQSKQ.js.map} +0 -0
  654. /package/dist/{block.tk.aicheck-MZQIZQ4R.js.map → block.tk.aicheck-RPKZMKLM.js.map} +0 -0
  655. /package/dist/{block.tk.bam-QKRX7QA7.js.map → block.tk.bam-BDF3UFRA.js.map} +0 -0
  656. /package/dist/{block.tk.bigwig.ui-MREWAD2O.js.map → block.tk.bigwig.ui-2MG6M4CP.js.map} +0 -0
  657. /package/dist/{block.tk.hicstraw-DO2D2XHN.js.map → block.tk.hicstraw-JFMLXXLH.js.map} +0 -0
  658. /package/dist/{block.tk.junction-27DQ3HHI.js.map → block.tk.junction-ZDFTQJGA.js.map} +0 -0
  659. /package/dist/{block.tk.junction.textmatrixui-ODA2JU6X.js.map → block.tk.junction.textmatrixui-OHAZEQNT.js.map} +0 -0
  660. /package/dist/{block.tk.ld-AG2T4DR6.js.map → block.tk.ld-BRYYNH55.js.map} +0 -0
  661. /package/dist/{block.tk.menu-BIORXN3G.js.map → block.tk.menu-XQKB62BG.js.map} +0 -0
  662. /package/dist/{block.tk.pgv-FPGJ7HMX.js.map → block.tk.pgv-76I52IUX.js.map} +0 -0
  663. /package/dist/{brainImaging-MDXNZ6EN.js.map → brainImaging-65UMKH6J.js.map} +0 -0
  664. /package/dist/{brainRegions-SUFNAEWM.js.map → brainRegions-AURQKH5R.js.map} +0 -0
  665. /package/dist/{bubbleHeatmap-JR42L4K6.js.map → bubbleHeatmap-T3LEYZBU.js.map} +0 -0
  666. /package/dist/{cellTypeBubbleHeatmap-36LK5SRE.js.map → cellTypeBubbleHeatmap-UPY53IPQ.js.map} +0 -0
  667. /package/dist/{chunk-SFLKPHIF.js.map → chunk-2CQ4YA7M.js.map} +0 -0
  668. /package/dist/{chunk-KWY2WZAM.js.map → chunk-2FTQ5RMP.js.map} +0 -0
  669. /package/dist/{chunk-VLIOMJDR.js.map → chunk-2GWAEK4R.js.map} +0 -0
  670. /package/dist/{chunk-2CDIFQPW.js.map → chunk-2VBU42YX.js.map} +0 -0
  671. /package/dist/{chunk-QABQ5AOR.js.map → chunk-36CCFKWS.js.map} +0 -0
  672. /package/dist/{chunk-754DVU6V.js.map → chunk-3A2CWTBI.js.map} +0 -0
  673. /package/dist/{chunk-WAJ7U3KO.js.map → chunk-3I26BABG.js.map} +0 -0
  674. /package/dist/{chunk-J6WTOB2A.js.map → chunk-3TO7TWHS.js.map} +0 -0
  675. /package/dist/{chunk-KXDK6ZOJ.js.map → chunk-3WU2KUY2.js.map} +0 -0
  676. /package/dist/{chunk-22DUWEXJ.js.map → chunk-4MGXKCPS.js.map} +0 -0
  677. /package/dist/{chunk-RRMAUPEA.js.map → chunk-53VTLOOW.js.map} +0 -0
  678. /package/dist/{chunk-2JPHJFWZ.js.map → chunk-76SL5VYA.js.map} +0 -0
  679. /package/dist/{chunk-JI75CBA6.js.map → chunk-7BD532EJ.js.map} +0 -0
  680. /package/dist/{chunk-6HC6RVNT.js.map → chunk-7CE2X6HL.js.map} +0 -0
  681. /package/dist/{chunk-AGM2IM3B.js.map → chunk-7MJENXZ6.js.map} +0 -0
  682. /package/dist/{chunk-J3LWRVN3.js.map → chunk-7TG44KO3.js.map} +0 -0
  683. /package/dist/{chunk-22MQLGUB.js.map → chunk-CDUBFFZ7.js.map} +0 -0
  684. /package/dist/{chunk-LCUVGK27.js.map → chunk-CPVUBEDA.js.map} +0 -0
  685. /package/dist/{chunk-DKEH6FBC.js.map → chunk-CPWM4S3K.js.map} +0 -0
  686. /package/dist/{chunk-FYBN6BAC.js.map → chunk-DEIIID6R.js.map} +0 -0
  687. /package/dist/{chunk-NGBO2LE3.js.map → chunk-E54XQGQM.js.map} +0 -0
  688. /package/dist/{chunk-63H45YA3.js.map → chunk-G4QRB64M.js.map} +0 -0
  689. /package/dist/{chunk-QHYS2QXV.js.map → chunk-H7HTCD2Q.js.map} +0 -0
  690. /package/dist/{chunk-GKLDVEAQ.js.map → chunk-HQNH2UX6.js.map} +0 -0
  691. /package/dist/{chunk-GLGFZPWM.js.map → chunk-HYW74ZT2.js.map} +0 -0
  692. /package/dist/{chunk-CHNPP3DV.js.map → chunk-HZTSMLBZ.js.map} +0 -0
  693. /package/dist/{chunk-PMLMXEER.js.map → chunk-II5ZAY52.js.map} +0 -0
  694. /package/dist/{chunk-65PBOLXP.js.map → chunk-IW5XJT3H.js.map} +0 -0
  695. /package/dist/{chunk-RMLWQEWC.js.map → chunk-JDRUY7IR.js.map} +0 -0
  696. /package/dist/{chunk-UKKLAUYO.js.map → chunk-JUPLOOCO.js.map} +0 -0
  697. /package/dist/{chunk-DJK3NKRK.js.map → chunk-JXVRNCAZ.js.map} +0 -0
  698. /package/dist/{chunk-3BXY7XEV.js.map → chunk-L2H4W3UM.js.map} +0 -0
  699. /package/dist/{chunk-7OYFMOGM.js.map → chunk-LXS2GSF4.js.map} +0 -0
  700. /package/dist/{chunk-IQX6FKY6.js.map → chunk-MG5U4JYY.js.map} +0 -0
  701. /package/dist/{chunk-UHFO6LHS.js.map → chunk-MNN6NFZK.js.map} +0 -0
  702. /package/dist/{chunk-IZPM6TWT.js.map → chunk-N4ULQIGJ.js.map} +0 -0
  703. /package/dist/{chunk-FJ2JV2VK.js.map → chunk-O3XTTT4K.js.map} +0 -0
  704. /package/dist/{chunk-Z4XRHSLY.js.map → chunk-PGMHFGW7.js.map} +0 -0
  705. /package/dist/{chunk-UO5TVDSF.js.map → chunk-PUIQ3UF7.js.map} +0 -0
  706. /package/dist/{chunk-DYBH3E6G.js.map → chunk-QBGMD5UV.js.map} +0 -0
  707. /package/dist/{chunk-7NYLCZY5.js.map → chunk-QQH32U6O.js.map} +0 -0
  708. /package/dist/{chunk-IRAB3OI7.js.map → chunk-R3RD3VEX.js.map} +0 -0
  709. /package/dist/{chunk-4HCFRRDQ.js.map → chunk-RRKUFU4L.js.map} +0 -0
  710. /package/dist/{chunk-6QG7NWME.js.map → chunk-S72DZX6B.js.map} +0 -0
  711. /package/dist/{chunk-TYEHFGMJ.js.map → chunk-T4KD2FBB.js.map} +0 -0
  712. /package/dist/{chunk-R64DV2IT.js.map → chunk-TLWU7JWO.js.map} +0 -0
  713. /package/dist/{chunk-MU77WKSY.js.map → chunk-TUZ3MJVF.js.map} +0 -0
  714. /package/dist/{chunk-TN4OMLKK.js.map → chunk-TZVSDB7S.js.map} +0 -0
  715. /package/dist/{chunk-EZGMD2WV.js.map → chunk-UHPFEULI.js.map} +0 -0
  716. /package/dist/{chunk-HKXQA27S.js.map → chunk-XYAT642G.js.map} +0 -0
  717. /package/dist/{chunk-5KMLFPP5.js.map → chunk-Y3CSXSOZ.js.map} +0 -0
  718. /package/dist/{chunk-6IFQSS7D.js.map → chunk-YJFK6C2M.js.map} +0 -0
  719. /package/dist/{chunk-LMM4REJQ.js.map → chunk-Z44FLO2F.js.map} +0 -0
  720. /package/dist/{chunk-LVATT455.js.map → chunk-Z6CMJQKG.js.map} +0 -0
  721. /package/dist/{chunk-55SYHMGG.js.map → chunk-Z6LQ3URB.js.map} +0 -0
  722. /package/dist/{chunk-7HOIT7TM.js.map → chunk-ZESHWW2R.js.map} +0 -0
  723. /package/dist/{chunk-OJ6IPUZC.js.map → chunk-ZK4JKSUK.js.map} +0 -0
  724. /package/dist/{chunk-VD4WX5ZG.js.map → chunk-ZV7LZY67.js.map} +0 -0
  725. /package/dist/{cohort-5KRENZ4T.js.map → cohort-T3SEGYG3.js.map} +0 -0
  726. /package/dist/{cohortSunburst-IRKQINDZ.js.map → cohortSunburst-HIWGWD7A.js.map} +0 -0
  727. /package/dist/{condition-SS5WC4XL.js.map → condition-KEFHKNUU.js.map} +0 -0
  728. /package/dist/{controls-PPG5IIVK.js.map → controls-MDUZLMY7.js.map} +0 -0
  729. /package/dist/{controls.config-URUFQC4O.js.map → controls.config-4XZZXUZV.js.map} +0 -0
  730. /package/dist/{correlation-KCKJHPW4.js.map → correlation-55LF7GPF.js.map} +0 -0
  731. /package/dist/{customdata.inputui-HDWCVQR7.js.map → customdata.inputui-6KIPVY2Q.js.map} +0 -0
  732. /package/dist/{dataDownload-7OSWACMN.js.map → dataDownload-XCFCSKDO.js.map} +0 -0
  733. /package/dist/{databrowser.ui-ILUFKRCK.js.map → databrowser.ui-HLWUAHSZ.js.map} +0 -0
  734. /package/dist/{dictionary-5VCLRD7G.js.map → dictionary-P5JGXQSW.js.map} +0 -0
  735. /package/dist/{dnaMethylation-RUP4SNBG.js.map → dnaMethylation-ZNR5U6HS.js.map} +0 -0
  736. /package/dist/{dnaMethylation.integration.spec-JCE46MPP.js.map → dnaMethylation.integration.spec-7AMBXA4M.js.map} +0 -0
  737. /package/dist/{dofetch-KBTN6OW4.js.map → dofetch-4P5F5ZGU.js.map} +0 -0
  738. /package/dist/{e2pca-RRSEDWZ3.js.map → e2pca-AJQ22AHJ.js.map} +0 -0
  739. /package/dist/{ep-BHYT5BNH.js.map → ep-3ZEN3C4U.js.map} +0 -0
  740. /package/dist/{expclust.gdc.spec-GARTH4AC.js.map → expclust.gdc.spec-IQXJYSCH.js.map} +0 -0
  741. /package/dist/{facet-44CMDEC5.js.map → facet-RPFQA3DH.js.map} +0 -0
  742. /package/dist/{gb-JOJSFSTN.js.map → gb-R4D647D2.js.map} +0 -0
  743. /package/dist/{geneExpClustering-47HSKEFL.js.map → geneExpClustering-JLJL6S3Q.js.map} +0 -0
  744. /package/dist/{geneExpression-GIJPTHXW.js.map → geneExpression-TK75VNQG.js.map} +0 -0
  745. /package/dist/{geneExpression.unit.spec-46RP3ZSW.js.map → geneExpression.unit.spec-4HTUTQ5K.js.map} +0 -0
  746. /package/dist/{geneORA-VLFKS6SV.js.map → geneORA-7FP6KZSE.js.map} +0 -0
  747. /package/dist/{geneRanking-EMZ4IIGG.js.map → geneRanking-SBFOUZTQ.js.map} +0 -0
  748. /package/dist/{geneVariant-HTYLI76A.js.map → geneVariant-3DHX4LQL.js.map} +0 -0
  749. /package/dist/{geneVariant-RZUBFP3H.js.map → geneVariant-SUQWO6ON.js.map} +0 -0
  750. /package/dist/{geneVariant.integration.spec-JZOAK5NP.js.map → geneVariant.integration.spec-KOUVJAFB.js.map} +0 -0
  751. /package/dist/{genefusion.ui-6REPOIXI.js.map → genefusion.ui-DAIBYS5I.js.map} +0 -0
  752. /package/dist/{geneset-XCU3IWX3.js.map → geneset-MKSYRPV4.js.map} +0 -0
  753. /package/dist/{genomeBrowser.spec-BGHECXFY.js.map → genomeBrowser.spec-JSHMD3CR.js.map} +0 -0
  754. /package/dist/{grin2-73EMJO2O.js.map → grin2-RFRYBHBV.js.map} +0 -0
  755. /package/dist/{grin2-BU5DLVNV.js.map → grin2-Z4ETF6OM.js.map} +0 -0
  756. /package/dist/{hierCluster-FMF56N73.js.map → hierCluster-C67VO3VF.js.map} +0 -0
  757. /package/dist/{hierCluster-M57DFUAE.js.map → hierCluster-CEJTROX7.js.map} +0 -0
  758. /package/dist/{hierCluster.config-LD7RO2ZV.js.map → hierCluster.config-G3X5I72U.js.map} +0 -0
  759. /package/dist/{hierCluster.integration.spec-NTIL7TK4.js.map → hierCluster.integration.spec-HTS2GNUR.js.map} +0 -0
  760. /package/dist/{hierCluster.interactivity-SBRGGCJW.js.map → hierCluster.interactivity-4JVDLIPZ.js.map} +0 -0
  761. /package/dist/{imagePlot-AWX6T7D3.js.map → imagePlot-HNKJX6YK.js.map} +0 -0
  762. /package/dist/{importPlot-XH2XECDM.js.map → importPlot-XUL6XFBL.js.map} +0 -0
  763. /package/dist/{isoformExpression-TLFIRYGG.js.map → isoformExpression-ZJJUXJDF.js.map} +0 -0
  764. /package/dist/{isoformExpression.unit.spec-YVKKWS4R.js.map → isoformExpression.unit.spec-INU6WFAM.js.map} +0 -0
  765. /package/dist/{jspdf.es.min-KB3HW45U.js.map → jspdf.es.min-THXUXEDC.js.map} +0 -0
  766. /package/dist/{junction-47ZSGPLM.js.map → junction-FKYIKDC4.js.map} +0 -0
  767. /package/dist/{junction.unit.spec-WNYGL5VN.js.map → junction.unit.spec-VRFIOT4T.js.map} +0 -0
  768. /package/dist/{launch.adhoc-PBCBXVYY.js.map → launch.adhoc-SDMXDSHS.js.map} +0 -0
  769. /package/dist/{leftlabel.sample-QWIQDLOD.js.map → leftlabel.sample-S33KB225.js.map} +0 -0
  770. /package/dist/{lollipop-JOK75CBR.js.map → lollipop-WXQOGEY7.js.map} +0 -0
  771. /package/dist/{maf-C7YTV3GF.js.map → maf-K6ZUNABR.js.map} +0 -0
  772. /package/dist/{maftimeline-TDXLAIUN.js.map → maftimeline-Y2LETT7W.js.map} +0 -0
  773. /package/dist/{matrix-5KS2L3XU.js.map → matrix-LADX4K5W.js.map} +0 -0
  774. /package/dist/{matrix-FW4IPOIL.js.map → matrix-M63KP6IL.js.map} +0 -0
  775. /package/dist/{matrix.config-U7NDKIBJ.js.map → matrix.config-ZMT7A2D5.js.map} +0 -0
  776. /package/dist/{matrix.integration.spec-T5TUAFQN.js.map → matrix.integration.spec-LJ5EQ65D.js.map} +0 -0
  777. /package/dist/{matrix.interactivity-OTRYV6BY.js.map → matrix.interactivity-2ISWFOK2.js.map} +0 -0
  778. /package/dist/{matrix.layout-VMRJ35R6.js.map → matrix.layout-EAYTUK2H.js.map} +0 -0
  779. /package/dist/{matrix.renderers-RH4VTHVN.js.map → matrix.renderers-XUMZZUDW.js.map} +0 -0
  780. /package/dist/{matrix.sort.unit.spec-Q4YLQOMY.js.map → matrix.sort.unit.spec-UPG3D6GE.js.map} +0 -0
  781. /package/dist/{matrix.sorterUi.unit.spec-QHKHT4LM.js.map → matrix.sorterUi.unit.spec-WPMREECT.js.map} +0 -0
  782. /package/dist/{matrix.unit.spec-GAO2IEXL.js.map → matrix.unit.spec-Z2HXOXM4.js.map} +0 -0
  783. /package/dist/{mavb-LZZIWOAK.js.map → mavb-WT4XM6U3.js.map} +0 -0
  784. /package/dist/{mds.samplescatterplot-MCBCP3IO.js.map → mds.samplescatterplot-UTEBJF66.js.map} +0 -0
  785. /package/dist/{mds.survivalplot-JV2JSH74.js.map → mds.survivalplot-DXWJA4IJ.js.map} +0 -0
  786. /package/dist/{multivalue-XTMXS2BA.js.map → multivalue-LR7Z3OLZ.js.map} +0 -0
  787. /package/dist/{oncomatrix-LIK4FIQT.js.map → oncomatrix-WV2LSH3X.js.map} +0 -0
  788. /package/dist/{oncomatrix.spec-SLZKHQ3U.js.map → oncomatrix.spec-S7KHSJJG.js.map} +0 -0
  789. /package/dist/{plot.2dvaf-WFZ5RK55.js.map → plot.2dvaf-FH7PMZ3U.js.map} +0 -0
  790. /package/dist/{plot.app-ILSKE2MB.js.map → plot.app-DDB6YZJ3.js.map} +0 -0
  791. /package/dist/{plot.barplot-XZ5LEEUG.js.map → plot.barplot-XVSZDYKB.js.map} +0 -0
  792. /package/dist/{plot.boxplot-CU4SFUDO.js.map → plot.boxplot-M6URTYED.js.map} +0 -0
  793. /package/dist/{plot.brainImaging-4HJH347S.js.map → plot.brainImaging-GNIBY3XC.js.map} +0 -0
  794. /package/dist/{plot.disco-MB4A24B5.js.map → plot.disco-EH4E7B3O.js.map} +0 -0
  795. /package/dist/{plot.vaf2cov-MUOXXUXF.js.map → plot.vaf2cov-MGJHP2PV.js.map} +0 -0
  796. /package/dist/{polar2-GAMBO6HG.js.map → polar2-VYUW5GZO.js.map} +0 -0
  797. /package/dist/{profileForms-QOUV435D.js.map → profileForms-LHJCFAP6.js.map} +0 -0
  798. /package/dist/{profilePlot-BNUUQRVB.js.map → profilePlot-UF2KERDD.js.map} +0 -0
  799. /package/dist/{proteinView-W4HQM7PX.js.map → proteinView-5AF4I3PB.js.map} +0 -0
  800. /package/dist/{proteomeCohortCompare-7QIJAKDR.js.map → proteomeCohortCompare-4DYWZTLQ.js.map} +0 -0
  801. /package/dist/{pseudbulk.unit.spec-2NQYQMD2.js.map → pseudbulk.unit.spec-ZTAP2YYA.js.map} +0 -0
  802. /package/dist/{pseudobulk-FKIWXQAR.js.map → pseudobulk-A2KE233U.js.map} +0 -0
  803. /package/dist/{qualitative-3TVNQ2IV.js.map → qualitative-3FDE4JUM.js.map} +0 -0
  804. /package/dist/{qualitative-5V3DGURI.js.map → qualitative-NVWG57TK.js.map} +0 -0
  805. /package/dist/{radar2-QO5ZN7IW.js.map → radar2-3CQ7T5QY.js.map} +0 -0
  806. /package/dist/{radarFacility2-HKP42M4V.js.map → radarFacility2-ERBWZQFH.js.map} +0 -0
  807. /package/dist/{render-O6PPL3XT.js.map → render-LIUPN5SK.js.map} +0 -0
  808. /package/dist/{report-K3B2IYG2.js.map → report-JWNWR6NA.js.map} +0 -0
  809. /package/dist/{sampleView-GKGADBRJ.js.map → sampleView-BQ6HCCKT.js.map} +0 -0
  810. /package/dist/{samplelst-ECNFTH35.js.map → samplelst-RQWH7WOX.js.map} +0 -0
  811. /package/dist/{samplematrix-KL6BNSQF.js.map → samplematrix-7FDWXSZA.js.map} +0 -0
  812. /package/dist/{sc-MRK4D7Q3.js.map → sc-J2ZPQFGP.js.map} +0 -0
  813. /package/dist/{scatter-ITRK6CQK.js.map → scatter-7FQLITP7.js.map} +0 -0
  814. /package/dist/{scatter-HBTW5CDD.js.map → scatter-BDIZX73F.js.map} +0 -0
  815. /package/dist/{selectGenomeWithTklst-E6TV7BOQ.js.map → selectGenomeWithTklst-52BHWMVR.js.map} +0 -0
  816. /package/dist/{singleCellCellType-CA4MPJFG.js.map → singleCellCellType-OC6QG6MU.js.map} +0 -0
  817. /package/dist/{singleCellCellType.unit.spec-NE34HWRM.js.map → singleCellCellType.unit.spec-R3QPRXVY.js.map} +0 -0
  818. /package/dist/{singleCellGeneExpression-A5C7TKTF.js.map → singleCellGeneExpression-QDRIVFQ5.js.map} +0 -0
  819. /package/dist/{singleCellGeneExpression.unit.spec-NX2JMJ5C.js.map → singleCellGeneExpression.unit.spec-FHUA6VWD.js.map} +0 -0
  820. /package/dist/{singleCellNumericValue-4BEKA732.js.map → singleCellNumericValue-2PKMS7NM.js.map} +0 -0
  821. /package/dist/{singleCellNumericValue.unit.spec-LTIDSRTE.js.map → singleCellNumericValue.unit.spec-YXDYOFJ5.js.map} +0 -0
  822. /package/dist/{singleCellPlot-S4ZWVY2Z.js.map → singleCellPlot-5RVA7KM7.js.map} +0 -0
  823. /package/dist/{singlecell-NLY4ICUP.js.map → singlecell-5OUPDXEQ.js.map} +0 -0
  824. /package/dist/{singlecell-RYQRJ2AK.js.map → singlecell-MLKBNJAG.js.map} +0 -0
  825. /package/dist/{snp-ZWR4J3PB.js.map → snp-ARLPF6ZU.js.map} +0 -0
  826. /package/dist/{snp.unit.spec-TO5ID66F.js.map → snp.unit.spec-MUB7YKMP.js.map} +0 -0
  827. /package/dist/{snplocus-GDBABG4H.js.map → snplocus-EZ33TXDU.js.map} +0 -0
  828. /package/dist/{snplst-5GO3G3ZH.js.map → snplst-GLTNXAE5.js.map} +0 -0
  829. /package/dist/{spliceevent.a53ss.diagram-PVHMNV6G.js.map → spliceevent.a53ss.diagram-FMP6CNCV.js.map} +0 -0
  830. /package/dist/{spliceevent.exonskip.diagram-ALYZWQMD.js.map → spliceevent.exonskip.diagram-QRQ3DZ3I.js.map} +0 -0
  831. /package/dist/{spliceevent.noeventdiagram-XI3FRO7G.js.map → spliceevent.noeventdiagram-LAPCKJS3.js.map} +0 -0
  832. /package/dist/{ssGSEA-TYDOQEAB.js.map → ssGSEA-WUE2PKUU.js.map} +0 -0
  833. /package/dist/{ssGSEA.unit.spec-WC6QAJJR.js.map → ssGSEA.unit.spec-Y7KCKEGK.js.map} +0 -0
  834. /package/dist/{stattable-SBWH4KGE.js.map → stattable-GZF4ZWTT.js.map} +0 -0
  835. /package/dist/{studyCatalog-MXOHUMJW.js.map → studyCatalog-PPV7WB2O.js.map} +0 -0
  836. /package/dist/{summarizeCnvGeneexp-LZ3EW4NA.js.map → summarizeCnvGeneexp-LZ7UWWZS.js.map} +0 -0
  837. /package/dist/{summarizeGeneexpSurvival-QLW5IZHS.js.map → summarizeGeneexpSurvival-VBRJFZR6.js.map} +0 -0
  838. /package/dist/{summarizeMutationCnv-L3JWXSEN.js.map → summarizeMutationCnv-6LUM4YR7.js.map} +0 -0
  839. /package/dist/{summarizeMutationDiagnosis-K66PJUFI.js.map → summarizeMutationDiagnosis-B47HKNM6.js.map} +0 -0
  840. /package/dist/{summarizeMutationSurvival-KKZU2FKQ.js.map → summarizeMutationSurvival-6GH3MTLN.js.map} +0 -0
  841. /package/dist/{summary-IHMI5H5Q.js.map → summary-BBI7MS3B.js.map} +0 -0
  842. /package/dist/{summary.integration.spec-IWBDVJT2.js.map → summary.integration.spec-SYLP7X3F.js.map} +0 -0
  843. /package/dist/{summaryInput-VC3AIG36.js.map → summaryInput-5PPK7KRL.js.map} +0 -0
  844. /package/dist/{sunburst-VNKHAUEA.js.map → sunburst-BVPS44ZR.js.map} +0 -0
  845. /package/dist/{sunburst-3PKTRXCA.js.map → sunburst-H57DYWLE.js.map} +0 -0
  846. /package/dist/{survival-4LEJDVBC.js.map → survival-C26WPJFT.js.map} +0 -0
  847. /package/dist/{survival-TYOJ55WB.js.map → survival-PRHRAD2T.js.map} +0 -0
  848. /package/dist/{survival.integration.spec-3LXM6EOA.js.map → survival.integration.spec-KH6GPVZ4.js.map} +0 -0
  849. /package/dist/{svg2pdf.es.min-KKHWPFWG.js.map → svg2pdf.es.min-BRE45YLJ.js.map} +0 -0
  850. /package/dist/{svgraph-774K6DAH.js.map → svgraph-VVGRE672.js.map} +0 -0
  851. /package/dist/{svmr-25I2V6AN.js.map → svmr-OKTQIHLN.js.map} +0 -0
  852. /package/dist/{swimmer-QO3Z4ZWN.js.map → swimmer-U5COUOM6.js.map} +0 -0
  853. /package/dist/{table-M64VATFA.js.map → table-I7SINEY4.js.map} +0 -0
  854. /package/dist/{termCollection-OFE4KKJT.js.map → termCollection-QCSPDISY.js.map} +0 -0
  855. /package/dist/{termCollection-E6Q2FDM3.js.map → termCollection-TFNI2VIX.js.map} +0 -0
  856. /package/dist/{termCollection.unit.spec-G4HGOR7B.js.map → termCollection.unit.spec-22E76H2W.js.map} +0 -0
  857. /package/dist/{termCollectionFractionSelection-F2VKGR2D.js.map → termCollectionFractionSelection-VZ5JJ7KV.js.map} +0 -0
  858. /package/dist/{termCollectionFractionSelection.unit.spec-46XS3WMX.js.map → termCollectionFractionSelection.unit.spec-KCAQU2BV.js.map} +0 -0
  859. /package/dist/{tk-JBLKYKKI.js.map → tk-GBNB42AI.js.map} +0 -0
  860. /package/dist/{tk-UHDGIDTK.js.map → tk-YOBCGYFC.js.map} +0 -0
  861. /package/dist/{tp.ui-X2BJWXKN.js.map → tp.ui-OEL4S73T.js.map} +0 -0
  862. /package/dist/{tvs.categorical-ZTFJDJQU.js.map → tvs.categorical-3X6CO5EA.js.map} +0 -0
  863. /package/dist/{tvs.condition-DCDNI627.js.map → tvs.condition-YZQSSONN.js.map} +0 -0
  864. /package/dist/{tvs.dt-X6DES76X.js.map → tvs.dt-GCMLLAJC.js.map} +0 -0
  865. /package/dist/{tvs.dtcnv.categorical-UPRTUO7A.js.map → tvs.dtcnv.categorical-ZSYUQQXP.js.map} +0 -0
  866. /package/dist/{tvs.dtcnv.continuous-K3J5KKZD.js.map → tvs.dtcnv.continuous-T67YFFAE.js.map} +0 -0
  867. /package/dist/{tvs.dtfusion-XV3UM2QG.js.map → tvs.dtfusion-VR2NAX3F.js.map} +0 -0
  868. /package/dist/{tvs.dtitd-LKYJG4XK.js.map → tvs.dtitd-O3MIZPZO.js.map} +0 -0
  869. /package/dist/{tvs.dtsnvindel-KFAQGI4H.js.map → tvs.dtsnvindel-6G7UNHSQ.js.map} +0 -0
  870. /package/dist/{tvs.dtsv-4NV4DRWC.js.map → tvs.dtsv-VZ2I4AMH.js.map} +0 -0
  871. /package/dist/{tvs.multivalue-WSSBQ7K4.js.map → tvs.multivalue-6KFI5ELB.js.map} +0 -0
  872. /package/dist/{tvs.numeric-OFA6L2TA.js.map → tvs.numeric-SFSOLXVF.js.map} +0 -0
  873. /package/dist/{tvs.samplelst-W6QKXHGF.js.map → tvs.samplelst-WD5UMMTP.js.map} +0 -0
  874. /package/dist/{tvs.survival-ESWYE4QM.js.map → tvs.survival-A2RUXAXJ.js.map} +0 -0
  875. /package/dist/{tvs.termCollection-3GOKKMKB.js.map → tvs.termCollection-NVW4LO44.js.map} +0 -0
  876. /package/dist/{vocabulary-6S6F2UAA.js.map → vocabulary-FASF5IUM.js.map} +0 -0
  877. /package/dist/{wsi.direct-ZAOVMG5X.js.map → wsi.direct-O6HFKPCP.js.map} +0 -0
@@ -1,2297 +0,0 @@
1
- import {
2
- convertUnits,
3
- isNumeric,
4
- isStrictNumeric
5
- } from "./chunk-W5J3LTYS.js";
6
- import {
7
- isNumericTerm
8
- } from "./chunk-JHLF2ZC2.js";
9
- import {
10
- ISOFORM_EXPRESSION,
11
- SINGLECELL_CELLTYPE,
12
- SINGLECELL_GENE_EXPRESSION,
13
- TermTypes,
14
- dtcnv,
15
- dtfusionrna,
16
- dtitd,
17
- dtsnvindel,
18
- dtsv,
19
- getColors,
20
- mclass,
21
- mclassdeletion,
22
- mclassinsertion,
23
- mclassitd,
24
- mclassmnv,
25
- mclassnonstandard,
26
- mclasssnv,
27
- morigingermline,
28
- morigingermlinenonpathogenic,
29
- morigingermlinepathogenic,
30
- moriginrelapse,
31
- moriginsomatic,
32
- vepinfo
33
- } from "./chunk-WJLRU5OF.js";
34
- import {
35
- deepFreeze,
36
- sleep
37
- } from "./chunk-HBNB5TRH.js";
38
- import {
39
- format
40
- } from "./chunk-4OLM3KSB.js";
41
- import {
42
- select_default
43
- } from "./chunk-I6Y4O3RR.js";
44
- import {
45
- __commonJS,
46
- __toESM
47
- } from "./chunk-HS5PO5ZQ.js";
48
-
49
- // ../node_modules/secure-json-parse/index.js
50
- var require_secure_json_parse = __commonJS({
51
- "../node_modules/secure-json-parse/index.js"(exports, module) {
52
- "use strict";
53
- var hasBuffer = typeof Buffer !== "undefined";
54
- var suspectProtoRx = /"(?:_|\\u005[Ff])(?:_|\\u005[Ff])(?:p|\\u0070)(?:r|\\u0072)(?:o|\\u006[Ff])(?:t|\\u0074)(?:o|\\u006[Ff])(?:_|\\u005[Ff])(?:_|\\u005[Ff])"\s*:/;
55
- var suspectConstructorRx = /"(?:c|\\u0063)(?:o|\\u006[Ff])(?:n|\\u006[Ee])(?:s|\\u0073)(?:t|\\u0074)(?:r|\\u0072)(?:u|\\u0075)(?:c|\\u0063)(?:t|\\u0074)(?:o|\\u006[Ff])(?:r|\\u0072)"\s*:/;
56
- function _parse(text, reviver, options) {
57
- if (options == null) {
58
- if (reviver !== null && typeof reviver === "object") {
59
- options = reviver;
60
- reviver = void 0;
61
- }
62
- }
63
- if (hasBuffer && Buffer.isBuffer(text)) {
64
- text = text.toString();
65
- }
66
- if (text && text.charCodeAt(0) === 65279) {
67
- text = text.slice(1);
68
- }
69
- const obj = JSON.parse(text, reviver);
70
- if (obj === null || typeof obj !== "object") {
71
- return obj;
72
- }
73
- const protoAction = options && options.protoAction || "error";
74
- const constructorAction = options && options.constructorAction || "error";
75
- if (protoAction === "ignore" && constructorAction === "ignore") {
76
- return obj;
77
- }
78
- if (protoAction !== "ignore" && constructorAction !== "ignore") {
79
- if (suspectProtoRx.test(text) === false && suspectConstructorRx.test(text) === false) {
80
- return obj;
81
- }
82
- } else if (protoAction !== "ignore" && constructorAction === "ignore") {
83
- if (suspectProtoRx.test(text) === false) {
84
- return obj;
85
- }
86
- } else {
87
- if (suspectConstructorRx.test(text) === false) {
88
- return obj;
89
- }
90
- }
91
- return filter(obj, { protoAction, constructorAction, safe: options && options.safe });
92
- }
93
- function filter(obj, { protoAction = "error", constructorAction = "error", safe } = {}) {
94
- let next = [obj];
95
- while (next.length) {
96
- const nodes = next;
97
- next = [];
98
- for (const node of nodes) {
99
- if (protoAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "__proto__")) {
100
- if (safe === true) {
101
- return null;
102
- } else if (protoAction === "error") {
103
- throw new SyntaxError("Object contains forbidden prototype property");
104
- }
105
- delete node.__proto__;
106
- }
107
- if (constructorAction !== "ignore" && Object.prototype.hasOwnProperty.call(node, "constructor") && node.constructor !== null && typeof node.constructor === "object" && Object.prototype.hasOwnProperty.call(node.constructor, "prototype")) {
108
- if (safe === true) {
109
- return null;
110
- } else if (constructorAction === "error") {
111
- throw new SyntaxError("Object contains forbidden prototype property");
112
- }
113
- delete node.constructor;
114
- }
115
- for (const key in node) {
116
- const value = node[key];
117
- if (value && typeof value === "object") {
118
- next.push(value);
119
- }
120
- }
121
- }
122
- }
123
- return obj;
124
- }
125
- function parse(text, reviver, options) {
126
- const { stackTraceLimit } = Error;
127
- Error.stackTraceLimit = 0;
128
- try {
129
- return _parse(text, reviver, options);
130
- } finally {
131
- Error.stackTraceLimit = stackTraceLimit;
132
- }
133
- }
134
- function safeParse(text, reviver) {
135
- const { stackTraceLimit } = Error;
136
- Error.stackTraceLimit = 0;
137
- try {
138
- return _parse(text, reviver, { safe: true });
139
- } catch {
140
- return void 0;
141
- } finally {
142
- Error.stackTraceLimit = stackTraceLimit;
143
- }
144
- }
145
- module.exports = parse;
146
- module.exports.default = parse;
147
- module.exports.parse = parse;
148
- module.exports.safeParse = safeParse;
149
- module.exports.scan = filter;
150
- }
151
- });
152
-
153
- // ../shared/utils/dist/src/boxplot.js
154
- function boxplot_getvalue(lst, removeOutliers = false) {
155
- const l = lst.length;
156
- if (l < 5) return { out: lst };
157
- const isN = typeof lst[0] === "number";
158
- const valueOf = isN ? (item) => item : (item) => item.value;
159
- const p50 = valueOf(lst[Math.floor(l / 2)]);
160
- const p25 = valueOf(lst[Math.floor(l / 4)]);
161
- const p75 = valueOf(lst[Math.floor(l * 3 / 4)]);
162
- const p05 = valueOf(lst[Math.floor(l * 0.05)]);
163
- const p95 = valueOf(lst[Math.floor(l * 0.95)]);
164
- const iqr = p75 - p25;
165
- let w1, w2;
166
- if (iqr === 0) {
167
- w1 = p25;
168
- w2 = p25;
169
- } else {
170
- const i = lst.findIndex((item) => valueOf(item) > p25 - iqr * 1.5);
171
- w1 = valueOf(lst[i === -1 ? 0 : i]);
172
- const j = lst.findIndex((item) => valueOf(item) > p75 + iqr * 1.5);
173
- w2 = valueOf(lst[j === -1 ? l - 1 : j - 1]);
174
- }
175
- const out = removeOutliers ? [] : lst.filter((item) => valueOf(item) < p25 - iqr * 1.5 || valueOf(item) > p75 + iqr * 1.5);
176
- return { w1, w2, p05, p25, p50, p75, p95, iqr, out };
177
- }
178
-
179
- // ../shared/utils/dist/src/bulk.js
180
- function init_bulk_flag(genome) {
181
- if (!genome) {
182
- return null;
183
- }
184
- const mclasslabel2key2 = {};
185
- for (const n in mclass) {
186
- mclasslabel2key2[mclass[n].label.toUpperCase()] = n;
187
- }
188
- return {
189
- genome,
190
- mclasslabel2key: mclasslabel2key2,
191
- data: {},
192
- // m.sample/m.patient come from parsed file lines; use null-prototype objects so a
193
- // value of "__proto__"/"constructor" cannot pollute Object.prototype
194
- sample2disease: /* @__PURE__ */ Object.create(null),
195
- // (proof) k: sample, v: disease
196
- // will only record this when origin is used
197
- patient2st: /* @__PURE__ */ Object.create(null),
198
- // k: patient, v: { k: sampletype, v: sample }
199
- // new sample names always override old
200
- good: 0,
201
- geneToUpper: true,
202
- // option to not force uppercase on gene names
203
- snv: {
204
- loaded: false,
205
- header: null,
206
- badlines: [],
207
- // jinghui: based on missense/silent ratio of entire dataset to decide whether to include silent when importing...
208
- // hard-coded class codes
209
- missense: 0,
210
- silent: 0
211
- },
212
- svjson: {
213
- loaded: false,
214
- header: null,
215
- badlines: []
216
- },
217
- fusion: {
218
- loaded: false,
219
- header: null,
220
- badlines: [],
221
- original: []
222
- },
223
- sv: {
224
- loaded: false,
225
- header: null,
226
- badlines: [],
227
- original: []
228
- },
229
- cnv: {
230
- loaded: false,
231
- header: null,
232
- badlines: []
233
- },
234
- itd: {
235
- loaded: false,
236
- header: null,
237
- badlines: []
238
- },
239
- del: {
240
- loaded: false,
241
- header: null,
242
- badlines: []
243
- },
244
- truncation: {
245
- loaded: false,
246
- header: null,
247
- badlines: []
248
- }
249
- };
250
- }
251
- function parsesample(m, flag, i, lst) {
252
- let variantorigin = moriginsomatic;
253
- if (m.sampletype) {
254
- const s = m.sampletype.toLowerCase();
255
- switch (s) {
256
- case "relapse":
257
- variantorigin = moriginrelapse;
258
- break;
259
- case "germline":
260
- variantorigin = morigingermline;
261
- break;
262
- case "somatic":
263
- case "diagnosis":
264
- break;
265
- }
266
- if (m.sample) {
267
- if (m.patient) {
268
- } else {
269
- m.patient = m.sample + " " + m.sampletype;
270
- }
271
- } else {
272
- if (m.patient) {
273
- m.sample = m.patient + " " + m.sampletype;
274
- } else {
275
- }
276
- }
277
- } else {
278
- if (m.patient) {
279
- if (m.sample) {
280
- m.sampletype = m.sample;
281
- } else {
282
- m.sample = m.sampletype = m.patient;
283
- }
284
- } else {
285
- if (m.sample) {
286
- m.sampletype = m.sample;
287
- } else {
288
- }
289
- }
290
- }
291
- if (m.origin) {
292
- const s = m.origin.toLowerCase();
293
- switch (s) {
294
- case "r":
295
- case "relapse":
296
- variantorigin = moriginrelapse;
297
- m.isrim2 = true;
298
- break;
299
- case "g":
300
- case "germline":
301
- variantorigin = morigingermline;
302
- m.isrim1 = true;
303
- break;
304
- case "gp":
305
- case "germline pathogenic":
306
- variantorigin = morigingermlinepathogenic;
307
- m.isrim1 = true;
308
- break;
309
- case "gnp":
310
- case "germline nonpathogenic":
311
- case "germline non-pathogenic":
312
- variantorigin = morigingermlinenonpathogenic;
313
- m.isrim1 = true;
314
- break;
315
- case "s":
316
- case "somatic":
317
- case "diagnosis":
318
- variantorigin = moriginsomatic;
319
- break;
320
- }
321
- }
322
- m.origin = variantorigin;
323
- if (!m.sample && !m.patient) {
324
- return;
325
- }
326
- const nopatientname = "no patient/individual name";
327
- if (m.patient) {
328
- if (!flag.patient2st[m.patient]) {
329
- flag.patient2st[m.patient] = /* @__PURE__ */ Object.create(null);
330
- }
331
- flag.patient2st[m.patient][m.sampletype] = m.sample;
332
- } else {
333
- if (!flag.patient2st[nopatientname]) {
334
- flag.patient2st[nopatientname] = /* @__PURE__ */ Object.create(null);
335
- }
336
- flag.patient2st[nopatientname][m.sampletype] = m.sample;
337
- }
338
- if (m.sample) {
339
- if (m.disease) {
340
- if (m.sample in flag.sample2disease) {
341
- if (m.disease != flag.sample2disease[m.sample]) {
342
- flag.snv.badlines.push([
343
- i,
344
- 'conflict of disease types for sample "' + m.sample + '": ' + m.disease + ", " + flag.sample2disease[m.sample],
345
- lst
346
- ]);
347
- return true;
348
- }
349
- } else {
350
- flag.sample2disease[m.sample] = m.disease;
351
- }
352
- }
353
- }
354
- return false;
355
- }
356
-
357
- // ../shared/utils/dist/src/clustering.js
358
- var clusterMethodLst = [
359
- {
360
- label: "Average",
361
- value: "average",
362
- title: `Cluster by average value`
363
- },
364
- {
365
- label: `Complete`,
366
- value: "complete",
367
- title: `Use the complete clustering method`
368
- },
369
- {
370
- label: `Single`,
371
- value: "single",
372
- title: `Use the single clustering method`
373
- },
374
- {
375
- label: `Ward.D`,
376
- value: "ward.D",
377
- title: `Use the ward.D clustering method`
378
- },
379
- {
380
- label: `Ward.D2`,
381
- value: "ward.D2",
382
- title: `Use the ward.D2 clustering method`
383
- },
384
- {
385
- label: `Mcquitty`,
386
- value: "mcquitty",
387
- title: `Use the Mcquity clustering method`
388
- }
389
- /* These methods are currently disabled because the dendrogram lines tend to cross one another.
390
- {
391
- label: `Centroid`,
392
- value: 'centroid',
393
- title: `Use the centroid clustering method`
394
- },
395
- {
396
- label: `Median`,
397
- value: 'median',
398
- title: `Use the median clustering method`
399
- }
400
- */
401
- ];
402
- var distanceMethodLst = [
403
- {
404
- label: "Euclidean",
405
- value: "euclidean",
406
- title: `Calculate distance using euclidean method`
407
- },
408
- {
409
- label: "Maximum",
410
- value: "maximum",
411
- title: `Maximum distance between two components of x and y`
412
- },
413
- {
414
- label: "Manhattan",
415
- value: "manhattan",
416
- title: `Calculate distance using the absolute distance between the two vectors`
417
- },
418
- {
419
- label: "Canberra",
420
- value: "canberra",
421
- title: `Calculate distance using Canberra method`
422
- }
423
- ];
424
-
425
- // ../shared/utils/dist/src/dmrColors.js
426
- var HYPER_COLOR = "#e66101";
427
- var HYPO_COLOR = "#5e81f4";
428
-
429
- // ../shared/utils/dist/src/compute.percentile.js
430
- function computePercentile(values, percentile, sorted = false) {
431
- if (!sorted) values.sort((a, b) => a - b);
432
- const index = Math.abs(percentile / 100 * values.length - 1);
433
- const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
434
- return value;
435
- }
436
-
437
- // ../shared/utils/dist/src/hash.js
438
- var encoder = new TextEncoder();
439
- async function hash(message) {
440
- const msgUint8 = encoder.encode(message);
441
- const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
442
- const hashArray = Array.from(new Uint8Array(hashBuffer));
443
- const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
444
- return hexToBase64(hashHex).replace("=", "-");
445
- }
446
- function hexToBase64(hexStr) {
447
- return btoa(
448
- [...hexStr].reduce(
449
- (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
450
- ""
451
- )
452
- );
453
- }
454
-
455
- // ../shared/utils/dist/src/urljson.js
456
- var import_secure_json_parse = __toESM(require_secure_json_parse(), 1);
457
- var reserved = ["false", "true", "null", "undefined"];
458
- var delimiters = ['"', "{", "["];
459
- function encode(rawObject) {
460
- const params = [];
461
- for (const [key, value] of Object.entries(rawObject)) {
462
- if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
463
- params.push(`${key}=${encodeURIComponent(value)}`);
464
- } else if (value !== void 0) {
465
- params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
466
- }
467
- }
468
- return params.join("&");
469
- }
470
-
471
- // ../shared/utils/dist/src/fetch-helpers.js
472
- async function processResponse(r) {
473
- const ct = r.headers.get("content-type");
474
- if (!ct) throw `missing response.header['content-type']`;
475
- if (ct.includes("/json")) {
476
- const payload = await r.json();
477
- return payload;
478
- }
479
- if (ct.includes("/text") || ct.includes("text/")) {
480
- return r.text();
481
- }
482
- if (ct.includes("multipart")) {
483
- if (ct.startsWith("multipart/form-data")) return processFormData(r);
484
- else throw `cannot handle response content-type: '${ct}'`;
485
- }
486
- if (ct == "application/x-ndjson-nestedkey") {
487
- return processNDJSON_nestedKey(r);
488
- }
489
- return r.blob();
490
- }
491
- async function processFormData(res) {
492
- const data = {};
493
- const form = await res.formData();
494
- for (const [key, value] of form.entries()) {
495
- if (value.type) {
496
- data[key] = { headers: { "content-type": value.type }, body: value };
497
- } else {
498
- const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
499
- data[key] = { headers: { "content-type": "application/json" }, body };
500
- }
501
- }
502
- return data;
503
- }
504
- async function processNDJSON_nestedKey(r) {
505
- const stream = r.body.pipeThrough(new TextDecoderStream());
506
- const reader = stream.getReader();
507
- let rootObj = {};
508
- let buffer = "";
509
- let done = false;
510
- while (!done) {
511
- const readResult = await reader.read();
512
- done = readResult.done;
513
- if (done) break;
514
- const value = readResult.value;
515
- buffer += value;
516
- const parts = buffer.split("\n");
517
- buffer = parts.pop() ?? "";
518
- for (const line of parts) {
519
- if (line.trim()) {
520
- const [keys, data] = JSON.parse(line);
521
- if (!keys.length) rootObj = data;
522
- else {
523
- const lastKey = keys.pop();
524
- let target = rootObj;
525
- for (const k of keys) target = target[k];
526
- target[lastKey] = data;
527
- }
528
- }
529
- }
530
- }
531
- return rootObj;
532
- }
533
- var cacheLifetime = 1e3 * 60 * 5;
534
- async function getDataName(url, init) {
535
- const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
536
- return await hash(dataName);
537
- }
538
-
539
- // ../shared/utils/dist/src/fileSize.js
540
- function fileSize(v) {
541
- if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
542
- if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
543
- if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
544
- return v + " Bytes";
545
- }
546
-
547
- // ../shared/utils/dist/src/mds3tk.js
548
- var ssmIdFieldsSeparator = "__";
549
- function summarize_mclass(mlst) {
550
- const m2c = /* @__PURE__ */ new Map();
551
- const cnvs = [];
552
- for (const m of mlst) {
553
- if (m.dt == dtcnv) {
554
- cnvs.push(m);
555
- continue;
556
- }
557
- const key = m.class || m.dt;
558
- m2c.set(key, 1 + (m2c.get(key) || 0));
559
- }
560
- if (cnvs.length) {
561
- if (Number.isFinite(cnvs[0].value)) {
562
- m2c.set(dtcnv, cnvs.length);
563
- } else {
564
- for (const c of cnvs) {
565
- if (!c.class) continue;
566
- m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
567
- }
568
- }
569
- }
570
- return [...m2c].sort((i, j) => j[1] - i[1]);
571
- }
572
- function guessSsmid(ssmid) {
573
- const l = ssmid.split(ssmIdFieldsSeparator);
574
- if (l.length == 4) {
575
- const [chr, tmp, ref, alt] = l;
576
- const pos = Number(tmp);
577
- if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
578
- return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
579
- }
580
- if (l.length == 5) {
581
- const [chr, _start, _stop, _class, _value] = l;
582
- const start = Number(_start), stop = Number(_stop);
583
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
584
- const value = _value == "" ? null : Number(_value);
585
- if (_class == mclassitd) {
586
- return { dt: dtitd, l: [chr, start, stop, _class, value] };
587
- }
588
- return { dt: dtcnv, l: [chr, start, stop, _class, value] };
589
- }
590
- if (l.length == 6) {
591
- if (l[3] == "+" || l[3] == "-") {
592
- const [_dt, chr2, _pos, strand, _pi, _mname] = l;
593
- const mname = decodeURIComponent(_mname);
594
- const dt = Number(_dt);
595
- if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
596
- const pos = Number(_pos);
597
- if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
598
- const pairlstIdx = Number(_pi);
599
- if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
600
- return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
601
- }
602
- const [chr, _start, _stop, _class, _value, sample] = l;
603
- const start = Number(_start), stop = Number(_stop);
604
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
605
- if (_class == mclassitd) {
606
- return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
607
- }
608
- const value = _value == "" ? null : Number(_value);
609
- return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
610
- }
611
- throw new Error("unknown ssmid");
612
- }
613
-
614
- // ../shared/utils/dist/src/scatter.js
615
- var xAxisOffSet = 80;
616
- var yAxisOffSet = 30;
617
- function getCoordinate(val, min, max) {
618
- if (min != null && val < min) return min;
619
- if (max != null && val > max) return max;
620
- return val;
621
- }
622
- function calculatePadding(minScale, maxScale, min, max) {
623
- return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
624
- }
625
-
626
- // ../shared/utils/dist/src/termdb.bins.js
627
- function validate_bins(binconfig) {
628
- const bc = binconfig;
629
- if (!bc || typeof bc !== "object") throw "bin schema must be an object";
630
- if (!("type" in bc)) bc.type = "regular-bin";
631
- if (bc.type == "custom-bin") {
632
- if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
633
- if (!bc.lst.length) throw "binconfig.lst must have entries";
634
- const first_bin = bc.lst[0];
635
- const last_bin = bc.lst[bc.lst.length - 1];
636
- for (const bin of bc.lst) {
637
- if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
638
- throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
639
- }
640
- if (bin == first_bin) {
641
- if ("startunbounded" in bin && !bin.startunbounded) {
642
- throw `a custom first bin must not set bin.startunbounded to false`;
643
- }
644
- bin.startunbounded = true;
645
- if ("start" in bin) {
646
- throw "a custom first bin must not set a bin.start value";
647
- }
648
- if ("start_percentile" in bin) {
649
- throw "the first bin must not set a bin.start_percentile value";
650
- }
651
- if (!("stop" in bin)) {
652
- throw `a custom first bin must define a bin.stop value`;
653
- }
654
- if (!isStrictNumeric(bin.stop)) {
655
- throw `a custom first bin.stop value should be numeric`;
656
- }
657
- } else if (bin == last_bin) {
658
- if (!("start" in bin)) {
659
- throw `a custom last bin must define a bin.start value`;
660
- }
661
- if (!isStrictNumeric(bin.start)) {
662
- throw `a custom last bin.start must be numeric`;
663
- }
664
- if ("stopunbounded" in bin && !bin.stopunbounded) {
665
- throw "a custom last bin must not set bin.stopunbounded to false";
666
- }
667
- bin.stopunbounded = true;
668
- if ("stop" in bin) {
669
- throw "a custom last bin must not set a bin.stop value";
670
- }
671
- } else {
672
- if (bin.startunbounded || bin.stopunbounded) {
673
- throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
674
- }
675
- if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
676
- if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
677
- }
678
- }
679
- } else if (bc.type == "regular-bin") {
680
- if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
681
- if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
682
- if (!bc.startinclusive && !bc.stopinclusive) {
683
- bc.startinclusive = true;
684
- bc.stopinclusive = false;
685
- }
686
- if (!bc.first_bin) throw "first_bin{} missing";
687
- if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
688
- if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
689
- {
690
- const b = bc.first_bin;
691
- b.startunbounded = true;
692
- if (b.stop_percentile) {
693
- if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
694
- if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
695
- } else if (!Number.isFinite(b.stop)) {
696
- throw "first_bin.stop not a number when stop_percentile is not set";
697
- }
698
- }
699
- if (bc.last_bin) {
700
- const b = bc.last_bin;
701
- if (b.start_percentile) {
702
- if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
703
- if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
704
- } else if (!Number.isFinite(b.start)) {
705
- throw "last_bin.start not a number when start_percentile is not set";
706
- }
707
- b.stopunbounded = true;
708
- if ("stop" in b) {
709
- throw "a regular last bin must not set a bin.stop value";
710
- }
711
- }
712
- } else {
713
- throw `invalid binconfig.type="${bc.type}"`;
714
- }
715
- }
716
- var maxNumBins = 100;
717
- function compute_bins(binconfig, summaryfxn, valueConversion) {
718
- const bc = binconfig;
719
- validate_bins(bc);
720
- if (bc.lst) {
721
- if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
722
- if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
723
- assignBinColors(bc.lst);
724
- }
725
- if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
726
- if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
727
- const percentiles = target_percentiles(bc);
728
- const summary = summaryfxn(percentiles);
729
- if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
730
- bc.results = { summary };
731
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
732
- const minFloor = Math.floor(summary.min * 100) / 100;
733
- const maxCeil = Math.ceil(summary.max * 100) / 100;
734
- const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
735
- let max = maxCeil, last_start, last_stop;
736
- if (bc.last_bin) {
737
- max = bc.last_bin.stopunbounded ? maxCeil : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isNumeric(bc.last_bin.stop) && bc.last_bin.stop <= summary.max ? bc.last_bin.stop : maxCeil;
738
- last_start = isStrictNumeric(bc.last_bin.start_percentile) ? summary["p" + bc.last_bin.start_percentile] : isStrictNumeric(bc.last_bin.start) ? bc.last_bin.start : void 0;
739
- last_stop = bc.last_bin.stopunbounded ? null : bc.last_bin.stop_percentile ? summary["p" + bc.last_bin.stop_percentile] : isStrictNumeric(bc.last_bin.stop) ? bc.last_bin.stop : null;
740
- } else if (bc.lst) {
741
- const last_bin = bc.lst[bc.lst.length - 1];
742
- last_start = last_bin.start;
743
- last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
744
- max = last_stop;
745
- } else {
746
- last_start = maxCeil;
747
- last_stop = maxCeil;
748
- }
749
- const numericMax = isStrictNumeric(max);
750
- const numericLastStart = isStrictNumeric(last_start);
751
- const numericLastStop = isStrictNumeric(last_stop);
752
- if (!numericMax && !numericLastStart) return [];
753
- const bins = [];
754
- let currBin = {
755
- startunbounded: bc.first_bin.startunbounded,
756
- start: bc.first_bin.startunbounded ? void 0 : min,
757
- stop: isStrictNumeric(bc.first_bin.stop_percentile) ? +summary["p" + bc.first_bin.stop_percentile] : isStrictNumeric(bc.first_bin.stop) ? +bc.first_bin.stop : min + bc.bin_size,
758
- startinclusive: bc.startinclusive,
759
- stopinclusive: bc.stopinclusive
760
- };
761
- if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
762
- while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
763
- bins.push(currBin);
764
- if (currBin.stop >= max) {
765
- currBin.stopunbounded = true;
766
- if (bins.length > 1) {
767
- delete currBin.stop;
768
- }
769
- }
770
- currBin.label = get_bin_label(currBin, bc, valueConversion);
771
- if (currBin.stopunbounded) break;
772
- const upper = currBin.stop + bc.bin_size;
773
- const previousStop = currBin.stop;
774
- currBin = {
775
- startinclusive: bc.startinclusive,
776
- stopinclusive: bc.stopinclusive,
777
- start: previousStop,
778
- stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
779
- };
780
- if (currBin.stop >= max) {
781
- currBin.stop = max;
782
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
783
- if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
784
- }
785
- if (numericLastStart && currBin.start == last_start) {
786
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
787
- }
788
- if (currBin.start > currBin.stop) {
789
- if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
790
- currBin.stopunbounded = true;
791
- else break;
792
- }
793
- if (bins.length + 1 >= maxNumBins) {
794
- delete currBin.stop;
795
- currBin.stopunbounded = true;
796
- currBin.label = get_bin_label(currBin, bc, valueConversion);
797
- if (!bins.includes(currBin)) bins.push(currBin);
798
- const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
799
- throw new Error(hint + " (max_num_bins_reached)");
800
- }
801
- }
802
- delete bc.binLabelFormatter;
803
- if (bins.length > 1) {
804
- delete bins[bins.length - 1].stop;
805
- }
806
- assignBinColors(bins);
807
- return bins;
808
- }
809
- function assignBinColors(lst) {
810
- const k2c = getColors(lst.length);
811
- for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
812
- return lst;
813
- }
814
- function getNumDecimalsFormatter(bc) {
815
- return "rounding" in bc ? format(bc.rounding) : (d) => d;
816
- }
817
- function get_bin_label(bin, binconfig, valueConversion) {
818
- if (!bin) return "missing bin.label";
819
- if (bin.label) return bin.label;
820
- const bc = binconfig;
821
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
822
- if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
823
- if (bc.startinclusive) bin.startinclusive = true;
824
- else if (bc.stopinclusive) bin.stopinclusive = true;
825
- }
826
- const start = bc.use_as == "bins" || bin.start;
827
- const stop = bc.use_as == "bins" || bin.stop;
828
- let label_offset = 0;
829
- if ("label_offset" in bc) {
830
- bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
831
- if (!bc.label_offset_ignored) label_offset = bc.label_offset;
832
- } else if (bc.bin_size === 1 && bc.termtype == "integer") {
833
- label_offset = 1;
834
- }
835
- if (bin.startunbounded) {
836
- const oper = bin.stopinclusive ? "\u2264" : "<";
837
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
838
- return oper + v1;
839
- }
840
- if (bin.stopunbounded || start === stop) {
841
- const oper = bin.startinclusive ? "\u2265" : ">";
842
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
843
- return oper + v0;
844
- }
845
- if (label_offset && bin.startinclusive && !bin.stopinclusive) {
846
- if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
847
- return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
848
- } else {
849
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
850
- const v1 = valueConversion ? convertUnits(
851
- stop - label_offset,
852
- valueConversion.fromUnit,
853
- valueConversion.toUnit,
854
- valueConversion.scaleFactor,
855
- true
856
- ) : bc.binLabelFormatter(stop - label_offset);
857
- return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
858
- }
859
- } else {
860
- const oper0 = bin.startinclusive ? "" : ">";
861
- const oper1 = bin.stopinclusive ? "" : "<";
862
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
863
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
864
- if (+v0 >= +v1) {
865
- const oper = bin.startinclusive ? "\u2265" : ">";
866
- return oper + v0;
867
- } else {
868
- return oper0 + v0 + " to " + oper1 + v1;
869
- }
870
- }
871
- }
872
- function get_bin_range_equation(bin, binconfig, valueConversion) {
873
- const x = '<span style="font-family:Times;font-style:italic;">x</span>';
874
- let range_eq;
875
- const copy = structuredClone(bin);
876
- copy.label = "";
877
- for (const k of ["start", "stop"]) {
878
- if (k in copy && typeof copy[k] != "number") copy[k] = isNumeric(copy[k]) ? Number(copy[k]) : NaN;
879
- }
880
- const bin_label = get_bin_label(copy, binconfig, valueConversion);
881
- if (bin.startunbounded || bin.stopunbounded) {
882
- range_eq = x + " " + bin_label;
883
- } else if (bin.startinclusive) {
884
- range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
885
- } else if (bin.stopinclusive) {
886
- range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
887
- }
888
- return range_eq;
889
- }
890
- function target_percentiles(binconfig) {
891
- const percentiles = [];
892
- const f = binconfig.first_bin;
893
- if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
894
- if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
895
- const l = binconfig.last_bin;
896
- if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
897
- if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
898
- return percentiles;
899
- }
900
-
901
- // ../shared/utils/dist/src/termdb.initbinconfig.js
902
- function initBinConfig(data, opts = {}) {
903
- if (!data.length)
904
- return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
905
- if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
906
- let binConfig;
907
- const s = new Set(data);
908
- if (s.size === 1) {
909
- const value = [...s][0];
910
- binConfig = {
911
- type: "custom-bin",
912
- lst: [
913
- { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
914
- { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
915
- { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
916
- ]
917
- };
918
- } else {
919
- data.sort((a, b) => a - b);
920
- const l = data.length;
921
- const min = data[0];
922
- const max = data[l - 1];
923
- const p5idx = Math.ceil(l * 0.05) - 1;
924
- const p98idx = Math.ceil(l * 0.98) - 1;
925
- const p5 = data[p5idx];
926
- const p98 = data[p98idx];
927
- const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
928
- const firstBinStop = Math.max(min + binSize, p5);
929
- const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
930
- binConfig = {
931
- type: "regular-bin",
932
- startinclusive: true,
933
- bin_size: binSize_rnd,
934
- first_bin: { stop: firstBinStop_rnd }
935
- };
936
- if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
937
- if (rounding) binConfig.rounding = rounding;
938
- }
939
- if ("format" in opts) {
940
- if (opts.format === "string") {
941
- return JSON.stringify(binConfig);
942
- } else {
943
- throw "options are not in the correct format";
944
- }
945
- } else {
946
- return binConfig;
947
- }
948
- }
949
- function roundBinVals(binSize, firstBinStop, max, min) {
950
- let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
951
- const log = Math.floor(Math.log10(binSize));
952
- if (binSize >= 0.1 && binSize <= 2) {
953
- binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
954
- firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
955
- } else {
956
- binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
957
- firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
958
- if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
959
- if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
960
- if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
961
- }
962
- if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
963
- const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
964
- if (max > eighthBinStop_rnd) {
965
- lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
966
- }
967
- if (binSize < 1) {
968
- const digits = Math.abs(log);
969
- binSize_rnd = Number(binSize_rnd.toFixed(digits));
970
- firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
971
- if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
972
- rounding = "." + digits + "f";
973
- }
974
- if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
975
- return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
976
- }
977
-
978
- // ../shared/utils/dist/src/termdb.usecase.js
979
- var graphableTypes = /* @__PURE__ */ new Set([
980
- "categorical",
981
- "integer",
982
- "float",
983
- "condition",
984
- "survival",
985
- "snplst",
986
- "snplocus",
987
- "geneVariant",
988
- "samplelst",
989
- "geneExpression",
990
- ISOFORM_EXPRESSION,
991
- "dtcnv",
992
- "dtsnvindel",
993
- "dtfusion",
994
- "dtsv",
995
- "date",
996
- TermTypes.SSGSEA,
997
- TermTypes.DNA_METHYLATION,
998
- TermTypes.METABOLITE_INTENSITY,
999
- TermTypes.PROTEOME_ABUNDANCE,
1000
- TermTypes.PSEUDOBULK,
1001
- TermTypes.JUNCTION,
1002
- SINGLECELL_GENE_EXPRESSION,
1003
- SINGLECELL_CELLTYPE,
1004
- TermTypes.SINGLECELL_NUMERIC_VALUE,
1005
- TermTypes.SNP,
1006
- TermTypes.TERM_COLLECTION,
1007
- TermTypes.COHORT,
1008
- TermTypes.MULTIVALUE
1009
- ]);
1010
- function isUsableTerm(term, _usecase, termdbConfig, ds) {
1011
- const usecase = _usecase || {};
1012
- if (typeof ds?.usecase?.[usecase.target] == "function") {
1013
- return ds.usecase[usecase.target](term, usecase);
1014
- }
1015
- const uses = /* @__PURE__ */ new Set();
1016
- const child_types = term.child_types || [];
1017
- switch (usecase.target) {
1018
- case "barchart":
1019
- case "violin":
1020
- case "boxplot":
1021
- case "summary": {
1022
- const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
1023
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1024
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1025
- return uses;
1026
- }
1027
- case "summaryInput":
1028
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1029
- const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
1030
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1031
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1032
- return uses;
1033
- } else {
1034
- if (graphableTypes.has(term.type)) uses.add("plot");
1035
- if (!term.isleaf) uses.add("branch");
1036
- return uses;
1037
- }
1038
- case "matrix":
1039
- if (term.type) uses.add("plot");
1040
- if (!term.isleaf) uses.add("branch");
1041
- return uses;
1042
- case "table":
1043
- if (usecase.detail == "term") uses.add("plot");
1044
- if (child_types.length > 1) uses.add("branch");
1045
- return uses;
1046
- case "sampleScatter":
1047
- if (usecase.detail == "numeric") {
1048
- if (isNumericTerm(term)) {
1049
- uses.add("plot");
1050
- }
1051
- if (hasNumericChild(child_types)) uses.add("branch");
1052
- } else {
1053
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1054
- if (!term.isleaf) uses.add("branch");
1055
- }
1056
- return uses;
1057
- case "runChart2":
1058
- if (usecase.detail == "date" || usecase.detail == "xtw") {
1059
- if (term.type == "date") {
1060
- uses.add("plot");
1061
- }
1062
- if (child_types.includes("date")) uses.add("branch");
1063
- } else if (usecase.detail == "numeric") {
1064
- if (isNumericTerm(term) && term.type != "date") {
1065
- uses.add("plot");
1066
- }
1067
- if (hasNumericChild(child_types)) uses.add("branch");
1068
- } else {
1069
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1070
- if (!term.isleaf) uses.add("branch");
1071
- }
1072
- return uses;
1073
- case "numericDictTermCluster":
1074
- if (!usecase.detail?.exclude?.includes(term.id)) {
1075
- if (isNumericTerm(term)) {
1076
- uses.add("plot");
1077
- }
1078
- if (hasNumericChild(child_types)) {
1079
- uses.add("branch");
1080
- }
1081
- }
1082
- return uses;
1083
- case "termCollections":
1084
- if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1085
- if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1086
- return uses;
1087
- case "profileForms":
1088
- if (!term.isleaf) {
1089
- const ancestors = term.id.split("__").length;
1090
- if (ancestors == 3) {
1091
- uses.add("plot");
1092
- } else if (ancestors < 3) uses.add("branch");
1093
- }
1094
- return uses;
1095
- // case 'boxplot':
1096
- // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1097
- // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1098
- // return uses
1099
- case "cuminc":
1100
- if (usecase.detail == "term") {
1101
- if (term.type == "condition") uses.add("plot");
1102
- if (child_types.includes("condition")) uses.add("branch");
1103
- return uses;
1104
- }
1105
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1106
- if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
1107
- uses.add("plot");
1108
- if (hasAllowedChildTypes(child_types, ["condition", "survival", "multivalue"])) uses.add("branch");
1109
- return uses;
1110
- }
1111
- return uses;
1112
- case "survival":
1113
- if (usecase.detail == "term") {
1114
- if (term.type == "survival") uses.add("plot");
1115
- if (child_types.includes("survival")) uses.add("branch");
1116
- return uses;
1117
- }
1118
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1119
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1120
- if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1121
- return uses;
1122
- }
1123
- return uses;
1124
- case "regression":
1125
- if (usecase.detail == "outcome") {
1126
- if (usecase.regressionType == "linear") {
1127
- if (term.type == "float" || term.type == "integer") uses.add("plot");
1128
- if (hasNumericChild(child_types)) uses.add("branch");
1129
- return uses;
1130
- }
1131
- if (usecase.regressionType == "logistic") {
1132
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1133
- if (hasAllowedChildTypes(child_types, ["survival", "multivalue"])) uses.add("branch");
1134
- return uses;
1135
- } else if (usecase.regressionType == "cox") {
1136
- if (term.type == "condition" || term.type == "survival") uses.add("plot");
1137
- if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1138
- return uses;
1139
- }
1140
- }
1141
- if (usecase.detail == "independent") {
1142
- if (term.type == TermTypes.TERM_COLLECTION) {
1143
- if (term.memberType == "numeric") uses.add("plot");
1144
- return uses;
1145
- }
1146
- if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1147
- uses.add("plot");
1148
- if (hasChildTypes(child_types, ["categorical", "float", "integer"])) uses.add("branch");
1149
- return uses;
1150
- }
1151
- return uses;
1152
- case "filter": {
1153
- if (term.type == "samplelst" && !samplelstListsSamples(term)) return uses;
1154
- const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1155
- if (exlst) {
1156
- if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1157
- if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1158
- return uses;
1159
- }
1160
- if (graphableTypes.has(term.type)) uses.add("plot");
1161
- if (!term.isleaf) uses.add("branch");
1162
- return uses;
1163
- }
1164
- case "correlationVolcano":
1165
- if (usecase.detail == "numeric") {
1166
- if (isNumericTerm(term)) {
1167
- uses.add("plot");
1168
- }
1169
- if (hasNumericChild(child_types)) uses.add("branch");
1170
- } else {
1171
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1172
- if (!term.isleaf) uses.add("branch");
1173
- }
1174
- return uses;
1175
- case "proteinView":
1176
- if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1177
- if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1178
- return uses;
1179
- case "brainImaging": {
1180
- const allowMultivalue = usecase.detail == "term0";
1181
- if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1182
- if (!term.isleaf) uses.add("branch");
1183
- return uses;
1184
- }
1185
- case "swimmer": {
1186
- if (usecase.detail == "pointTerm") {
1187
- const types = usecase.sampleTypes || [];
1188
- if (term.sample_type == null || !types.includes(String(term.sample_type))) return uses;
1189
- const excluded2 = ["survival", "multivalue"];
1190
- if (graphableTypes.has(term.type) && !excluded2.includes(term.type)) uses.add("plot");
1191
- if (hasAllowedChildTypes(child_types, excluded2)) uses.add("branch");
1192
- return uses;
1193
- }
1194
- const excluded = ["survival"];
1195
- if (graphableTypes.has(term.type) && !excluded.includes(term.type)) uses.add("plot");
1196
- if (hasAllowedChildTypes(child_types, excluded)) uses.add("branch");
1197
- return uses;
1198
- }
1199
- case "sunburst": {
1200
- const allowed = ["categorical", "integer", "float"];
1201
- const types = usecase.sampleTypes;
1202
- if (types && term.sample_type != null && !types.includes(String(term.sample_type))) return uses;
1203
- if (allowed.includes(term.type)) uses.add("plot");
1204
- if (hasChildTypes(child_types, allowed)) uses.add("branch");
1205
- return uses;
1206
- }
1207
- case "dictionary":
1208
- if (graphableTypes.has(term.type)) uses.add("plot");
1209
- if (!term.isleaf) uses.add("branch");
1210
- return uses;
1211
- default:
1212
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1213
- if (!term.isleaf) uses.add("branch");
1214
- return uses;
1215
- }
1216
- }
1217
- function hasAllowedChildTypes(child_types, excluded_types) {
1218
- if (!child_types.length) {
1219
- return false;
1220
- }
1221
- if (!excluded_types?.length) {
1222
- return true;
1223
- }
1224
- if (child_types.some((type) => !excluded_types.includes(type))) {
1225
- return true;
1226
- }
1227
- }
1228
- function hasNumericChild(child_types) {
1229
- return child_types.includes("float") || child_types.includes("integer");
1230
- }
1231
- function hasChildTypes(child_types, expected_types) {
1232
- for (const a of expected_types) {
1233
- if (child_types.includes(a)) return true;
1234
- }
1235
- }
1236
- function samplelstListsSamples(term) {
1237
- const groups = Object.values(term.values || {});
1238
- return groups.length > 0 && groups.every((g) => Array.isArray(g.list));
1239
- }
1240
-
1241
- // ../shared/utils/dist/src/time.js
1242
- function formatElapsedTime(ms, precision = 2) {
1243
- if (typeof ms !== "number" || isNaN(ms)) {
1244
- return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1245
- }
1246
- if (!isFinite(ms)) {
1247
- return ms > 0 ? "Infinite time" : "-Infinite time";
1248
- }
1249
- const absMs = Math.abs(ms);
1250
- const sign = ms < 0 ? "-" : "";
1251
- if (absMs < 1e3) {
1252
- return `${sign}${absMs}ms`;
1253
- }
1254
- if (absMs < 6e4) {
1255
- return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1256
- }
1257
- const minutes = Math.floor(absMs / 6e4);
1258
- const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1259
- return `${sign}${minutes}m ${seconds}s`;
1260
- }
1261
-
1262
- // ../shared/utils/dist/src/vcf.ann.js
1263
- function parse_ANN(str, header, m) {
1264
- if (!header) {
1265
- return null;
1266
- }
1267
- for (const thisannotation of str.split(",")) {
1268
- const lst = thisannotation.replace(/&/g, ",").split("|");
1269
- const o = {};
1270
- for (let i = 0; i < header.length; i++) {
1271
- if (lst[i]) {
1272
- o[header[i].name] = lst[i];
1273
- }
1274
- }
1275
- if (!o.Allele) {
1276
- continue;
1277
- }
1278
- let allele = null;
1279
- for (const a of m.alleles) {
1280
- if (a.allele == o.Allele) {
1281
- allele = a;
1282
- break;
1283
- }
1284
- }
1285
- if (!allele) {
1286
- continue;
1287
- }
1288
- if (!allele.ann) {
1289
- allele.ann = [];
1290
- }
1291
- allele.ann.push(o);
1292
- o._gene = o.Gene_Name;
1293
- if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1294
- o._isoform = o.Feature_ID.split(".")[0];
1295
- }
1296
- if (o.Annotation) {
1297
- const [dt, cls, rank] = vepinfo(o.Annotation);
1298
- o._dt = dt;
1299
- o._class = cls;
1300
- o._csqrank = rank;
1301
- } else {
1302
- o._dt = dtsnvindel;
1303
- o._class = mclassnonstandard;
1304
- }
1305
- if (o["HGVS.p"]) {
1306
- o._mname = o["HGVS.p"];
1307
- } else if (o["HGVS.c"]) {
1308
- o._mname = o["HGVS.c"];
1309
- }
1310
- }
1311
- return true;
1312
- }
1313
-
1314
- // ../shared/utils/dist/src/vcf.csq.js
1315
- function parse_CSQ(str, header, m) {
1316
- if (!header) {
1317
- return null;
1318
- }
1319
- for (const thisannotation of str.split(",")) {
1320
- const lst = thisannotation.replace(/&/g, ",").split("|");
1321
- const o = {};
1322
- for (let i = 0; i < header.length; i++) {
1323
- if (lst[i]) {
1324
- o[header[i].name] = lst[i];
1325
- }
1326
- }
1327
- if (!o.Allele) {
1328
- continue;
1329
- }
1330
- let allele = null;
1331
- for (const a of m.mlst || m.alleles) {
1332
- if (a.allele_original == o.Allele) {
1333
- allele = a;
1334
- break;
1335
- }
1336
- }
1337
- if (!allele) {
1338
- if (o.Allele == "-") {
1339
- if (m.mlst) {
1340
- if (m.mlst.length == 1) {
1341
- allele = m.mlst[0];
1342
- }
1343
- } else if (m.alleles) {
1344
- if (m.alleles.length == 1) {
1345
- allele = m.alleles[0];
1346
- }
1347
- }
1348
- } else {
1349
- for (const a of m.mlst || m.alleles) {
1350
- if (a.allele_original.substr(1) == o.Allele) {
1351
- allele = a;
1352
- break;
1353
- }
1354
- }
1355
- }
1356
- if (!allele) {
1357
- continue;
1358
- }
1359
- }
1360
- if (!allele.csq) {
1361
- allele.csq = [];
1362
- }
1363
- allele.csq.push(o);
1364
- o._gene = o.SYMBOL || o.Gene;
1365
- if (o.Feature_type && o.Feature_type == "Transcript") {
1366
- o._isoform = o.Feature.split(".")[0];
1367
- } else {
1368
- o._isoform = o._gene;
1369
- }
1370
- if (o.Consequence) {
1371
- const [dt, cls, rank] = vepinfo(o.Consequence);
1372
- o._dt = dt;
1373
- o._class = cls;
1374
- o._csqrank = rank;
1375
- } else {
1376
- o._dt = dtsnvindel;
1377
- o._class = mclassnonstandard;
1378
- }
1379
- if (o.HGVSp) {
1380
- o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1381
- } else if (o.Protein_position && o.Amino_acids) {
1382
- o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1383
- } else if (o.HGVSc) {
1384
- o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1385
- } else if (o.Existing_variation) {
1386
- o._name = o.Existing_variation;
1387
- }
1388
- }
1389
- return true;
1390
- }
1391
-
1392
- // ../shared/utils/dist/src/vcf.info.js
1393
- function dissect_INFO(str) {
1394
- let findsemicolon = false;
1395
- let findequalorsemicolon = true;
1396
- let i = 0;
1397
- let idx = 0;
1398
- const k2v = {};
1399
- let lastkey;
1400
- while (i < str.length) {
1401
- const c = str[i];
1402
- if (findequalorsemicolon) {
1403
- if (c == "=") {
1404
- findsemicolon = true;
1405
- findequalorsemicolon = false;
1406
- lastkey = str.substring(idx, i);
1407
- idx = i + 1;
1408
- } else if (c == ";") {
1409
- k2v[str.substring(idx, i)] = 1;
1410
- idx = i + 1;
1411
- }
1412
- } else if (findsemicolon && c == ";") {
1413
- findequalorsemicolon = true;
1414
- findsemicolon = false;
1415
- k2v[lastkey] = str.substring(idx, i);
1416
- lastkey = null;
1417
- idx = i + 1;
1418
- }
1419
- i++;
1420
- }
1421
- const remainstr = str.substr(idx, i);
1422
- if (lastkey) {
1423
- k2v[lastkey] = remainstr;
1424
- } else {
1425
- k2v[remainstr] = 1;
1426
- }
1427
- return k2v;
1428
- }
1429
-
1430
- // ../shared/utils/dist/src/vcf.type.js
1431
- function getVariantType(ref, alt) {
1432
- if (ref.length == 1 && alt.length == 1) {
1433
- if (alt == ".") {
1434
- return mclassdeletion;
1435
- }
1436
- return mclasssnv;
1437
- }
1438
- if (ref.length == alt.length) return mclassmnv;
1439
- if (ref.length < alt.length) return mclassinsertion;
1440
- if (ref.length > alt.length) return mclassdeletion;
1441
- return mclassnonstandard;
1442
- }
1443
-
1444
- // ../shared/utils/dist/src/vcf.js
1445
- var getallelename = /^<(.+)>/;
1446
- var mclasslabel2key = {};
1447
- for (const k in mclass) {
1448
- mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1449
- }
1450
- function vcfparsemeta(lines) {
1451
- let sample = [];
1452
- const errlst = [];
1453
- const info = {};
1454
- let hasinfo = false;
1455
- const format2 = {};
1456
- let hasformat = false;
1457
- for (const line of lines) {
1458
- if (!line.startsWith("#")) {
1459
- continue;
1460
- }
1461
- if (line.startsWith("#C")) {
1462
- sample = line.split(" ").slice(9);
1463
- continue;
1464
- }
1465
- if (line.startsWith("##INFO")) {
1466
- const e = tohash(line.substring(8, line.length - 1), info);
1467
- if (e) {
1468
- errlst.push("INFO error: " + e);
1469
- } else {
1470
- hasinfo = true;
1471
- }
1472
- continue;
1473
- }
1474
- if (line.startsWith("##FORMAT")) {
1475
- const e = tohash(line.substring(10, line.length - 1), format2);
1476
- if (e) {
1477
- errlst.push("FORMAT error: " + e);
1478
- } else {
1479
- hasformat = true;
1480
- }
1481
- }
1482
- }
1483
- const sampleobjlst = [];
1484
- for (const samplename of sample) {
1485
- const a = { name: samplename };
1486
- sampleobjlst.push(a);
1487
- }
1488
- if (info.CSQ) {
1489
- const lst = info.CSQ.Description.split(" Format: ");
1490
- if (lst[1]) {
1491
- const lst2 = lst[1].split("|");
1492
- if (lst2.length > 1) {
1493
- info.CSQ.csqheader = [];
1494
- for (const str of lst2) {
1495
- const attr = { name: str };
1496
- info.CSQ.csqheader.push(attr);
1497
- }
1498
- } else {
1499
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1500
- }
1501
- } else {
1502
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1503
- }
1504
- }
1505
- if (info.ANN) {
1506
- const lst = info.ANN.Description.split("'");
1507
- if (lst[1]) {
1508
- const lst2 = lst[1].split(" | ");
1509
- if (lst2.length) {
1510
- info.ANN.annheader = [];
1511
- for (const s of lst2) {
1512
- const attr = { name: s };
1513
- info.ANN.annheader.push(attr);
1514
- }
1515
- } else {
1516
- errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1517
- }
1518
- } else {
1519
- errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1520
- }
1521
- }
1522
- return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1523
- }
1524
- function vcfparseline(line, vcf) {
1525
- const lst = line.split(" ");
1526
- if (lst.length < 8) {
1527
- return ["line has less than 8 fields", null, null];
1528
- }
1529
- const rawpos = Number.parseInt(lst[2 - 1]);
1530
- if (!Number.isInteger(rawpos)) {
1531
- return ["invalid value for genomic position", null, null];
1532
- }
1533
- const refallele = lst[4 - 1];
1534
- const m = {
1535
- vcf_ID: lst[3 - 1],
1536
- chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1537
- pos: rawpos - 1,
1538
- ref: refallele,
1539
- //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1540
- altstr: lst[5 - 1],
1541
- alleles: [
1542
- {
1543
- /*
1544
- ref allele only a placeholder, to be removed, this array only contains alt alleles
1545
- this is a must
1546
- also allows GT allele index to work
1547
- */
1548
- allele: refallele,
1549
- sampledata: []
1550
- }
1551
- ],
1552
- info: {},
1553
- // locus info, do not contain allele info
1554
- name: lst[3 - 1] == "." ? null : lst[3 - 1]
1555
- };
1556
- const altinvalid = [];
1557
- for (const alt of lst[5 - 1].split(",")) {
1558
- const a = {
1559
- ref: m.ref,
1560
- // may be corrected just below!
1561
- allele: alt,
1562
- // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1563
- allele_original: alt,
1564
- sampledata: [],
1565
- _m: m,
1566
- info: {}
1567
- // allele info, do not contain locus info
1568
- };
1569
- m.alleles.push(a);
1570
- if (alt[0] == "<") {
1571
- const tmp2 = alt.match(getallelename);
1572
- if (!tmp2) {
1573
- altinvalid.push(alt);
1574
- continue;
1575
- }
1576
- a.type = tmp2[1];
1577
- a.allele = tmp2[1];
1578
- a.issymbolicallele = true;
1579
- } else {
1580
- const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1581
- a.pos = p;
1582
- a.ref = ref;
1583
- a.allele = alt2;
1584
- }
1585
- }
1586
- if (lst[9 - 1] && lst[10 - 1]) {
1587
- parse_FORMAT2(lst, m, vcf);
1588
- }
1589
- m.alleles.shift();
1590
- const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1591
- let badinfokeys = [];
1592
- if (vcf.info) {
1593
- badinfokeys = parse_INFO(tmp, m, vcf);
1594
- } else {
1595
- m.info = tmp;
1596
- }
1597
- const mlst = [];
1598
- for (const a of m.alleles) {
1599
- const m2 = {};
1600
- for (const k in m) {
1601
- if (k != "alleles") {
1602
- m2[k] = m[k];
1603
- }
1604
- }
1605
- for (const k in a) {
1606
- if (k == "allele") {
1607
- m2.alt = a[k];
1608
- } else if (k == "info") {
1609
- m2.altinfo = a[k];
1610
- } else {
1611
- m2[k] = a[k];
1612
- }
1613
- }
1614
- if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1615
- m2.type = getVariantType(m2.ref, m2.alt);
1616
- }
1617
- mlst.push(m2);
1618
- }
1619
- return [
1620
- badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1621
- mlst,
1622
- altinvalid.length > 0 ? altinvalid : null
1623
- ];
1624
- }
1625
- function correctRefAlt(p, ref, alt) {
1626
- while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1627
- ref = ref.substr(0, ref.length - 1);
1628
- alt = alt.substr(0, alt.length - 1);
1629
- }
1630
- while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1631
- ref = ref.substr(1);
1632
- alt = alt.substr(1);
1633
- p++;
1634
- }
1635
- return [p, ref, alt];
1636
- }
1637
- function parse_FORMAT2(lst, m, vcf) {
1638
- const formatfields = lst[9 - 1].split(":");
1639
- for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1640
- const valuelst = lst[_sampleidx].split(":");
1641
- {
1642
- let none = true;
1643
- for (const v of valuelst) {
1644
- if (v != ".") {
1645
- none = false;
1646
- break;
1647
- }
1648
- }
1649
- if (none) {
1650
- continue;
1651
- }
1652
- }
1653
- const sampleidx = _sampleidx - 9;
1654
- for (let i = 1; i < m.alleles.length; i++) {
1655
- const sobj = {};
1656
- if (vcf.samples && vcf.samples[sampleidx]) {
1657
- for (const k in vcf.samples[sampleidx]) {
1658
- sobj[k] = vcf.samples[sampleidx][k];
1659
- }
1660
- } else {
1661
- sobj.name = "missing_samplename_from_vcf_header";
1662
- }
1663
- m.alleles[i].sampledata.push({
1664
- sampleobj: sobj
1665
- });
1666
- }
1667
- for (let fi = 0; fi < formatfields.length; fi++) {
1668
- const field = formatfields[fi];
1669
- const value = valuelst[fi];
1670
- if (value == ".") {
1671
- continue;
1672
- }
1673
- if (field == "GT") {
1674
- const splitter = value.indexOf("/") != -1 ? "/" : "|";
1675
- let gtsum = 0;
1676
- let unknowngt = false;
1677
- const gtalleles = [];
1678
- for (const i of value.split(splitter)) {
1679
- if (i == ".") {
1680
- unknowngt = true;
1681
- continue;
1682
- }
1683
- const j = Number.parseInt(i);
1684
- if (Number.isNaN(j)) {
1685
- unknowngt = true;
1686
- continue;
1687
- }
1688
- gtsum += j;
1689
- const ale = m.alleles[j];
1690
- if (ale) {
1691
- gtalleles.push(ale.allele);
1692
- }
1693
- }
1694
- let gtallref = false;
1695
- if (!unknowngt) {
1696
- gtallref = gtsum == 0;
1697
- }
1698
- const genotype = gtalleles.join(splitter);
1699
- for (let i = 1; i < m.alleles.length; i++) {
1700
- const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1701
- ms.GT = value;
1702
- ms.genotype = genotype;
1703
- if (gtallref) {
1704
- ms.gtallref = true;
1705
- }
1706
- ms.__gtalleles = gtalleles;
1707
- }
1708
- continue;
1709
- }
1710
- const formatdesc = vcf.format ? vcf.format[field] : null;
1711
- if (!formatdesc) {
1712
- for (let i = 1; i < m.alleles.length; i++) {
1713
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1714
- }
1715
- continue;
1716
- }
1717
- const isinteger = formatdesc.Type == "Integer";
1718
- const isfloat = formatdesc.Type == "Float";
1719
- if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1720
- const fvlst = value.split(",").map((i) => {
1721
- if (isinteger) return Number.parseInt(i);
1722
- if (isfloat) return Number.parseFloat(i);
1723
- return i;
1724
- });
1725
- for (let i = 1; i < m.alleles.length; i++) {
1726
- if (fvlst[i] != void 0) {
1727
- const m2 = m.alleles[i];
1728
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1729
- m2s[field] = {};
1730
- m2s[field][m2.ref] = fvlst[0];
1731
- m2s[field][m2.allele] = fvlst[i];
1732
- }
1733
- }
1734
- continue;
1735
- }
1736
- if (formatdesc.Number && formatdesc.Number == "A") {
1737
- const fvlst = value.split(",").map((i) => {
1738
- if (isinteger) return Number.parseInt(i);
1739
- if (isfloat) return Number.parseFloat(i);
1740
- return i;
1741
- });
1742
- for (let i = 1; i < m.alleles.length; i++) {
1743
- if (fvlst[i - 1] != void 0) {
1744
- const m2 = m.alleles[i];
1745
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1746
- m2s[field] = {};
1747
- m2s[field][m2.allele] = fvlst[i - 1];
1748
- }
1749
- }
1750
- continue;
1751
- }
1752
- for (let i = 1; i < m.alleles.length; i++) {
1753
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1754
- }
1755
- }
1756
- }
1757
- for (const a of m.alleles) {
1758
- for (const s of a.sampledata) {
1759
- if (s.AD) {
1760
- s.allele2readcount = {};
1761
- for (const k in s.AD) {
1762
- s.allele2readcount[k] = s.AD[k];
1763
- }
1764
- }
1765
- }
1766
- }
1767
- }
1768
- function tohash(s, hash2) {
1769
- const h = {}, err = [];
1770
- let prev = 0, prevdoublequote = false, k = null;
1771
- for (let i = 0; i < s.length; i++) {
1772
- if (s[i] == '"') {
1773
- i++;
1774
- const thisstart = i;
1775
- while (s[i] != '"') {
1776
- i++;
1777
- }
1778
- if (k) {
1779
- h[k] = s.substring(thisstart, i);
1780
- k = null;
1781
- } else {
1782
- err.push("k undefined before double quotes");
1783
- }
1784
- prevdoublequote = true;
1785
- continue;
1786
- }
1787
- if (s[i] == "=") {
1788
- k = s.substring(prev, i);
1789
- prev = i + 1;
1790
- continue;
1791
- }
1792
- if (s[i] == ",") {
1793
- if (prevdoublequote) {
1794
- prevdoublequote = false;
1795
- } else {
1796
- if (k) {
1797
- h[k] = s.substring(prev, i);
1798
- k = null;
1799
- } else {
1800
- err.push("k undefined");
1801
- }
1802
- }
1803
- prev = i + 1;
1804
- continue;
1805
- }
1806
- }
1807
- if (k) {
1808
- h[k] = s.substring(prev);
1809
- }
1810
- if (h.ID) {
1811
- hash2[h.ID] = h;
1812
- } else {
1813
- return "no ID";
1814
- }
1815
- if (err.length) return err.join("\n");
1816
- }
1817
- function parse_INFO(tmp, m, vcf) {
1818
- const badinfokeys = [];
1819
- for (const key in tmp) {
1820
- if (vcf.info[key] == void 0) {
1821
- badinfokeys.push(key);
1822
- continue;
1823
- }
1824
- const value = tmp[key];
1825
- if (key == "CSQ") {
1826
- const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1827
- if (!okay) {
1828
- m.info[key] = value;
1829
- }
1830
- continue;
1831
- }
1832
- if (key == "ANN") {
1833
- const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1834
- if (!okay) {
1835
- m.info[key] = value;
1836
- }
1837
- continue;
1838
- }
1839
- if (vcf.info[key].Type == "Flag") {
1840
- m.info[key] = key;
1841
- continue;
1842
- }
1843
- const __number = vcf.info[key].Number;
1844
- const isinteger = vcf.info[key].Type == "Integer";
1845
- const isfloat = vcf.info[key].Type == "Float";
1846
- if (__number == "0") {
1847
- m.info[key] = key;
1848
- continue;
1849
- }
1850
- if (__number == "A") {
1851
- const tt = value.split(",");
1852
- for (let j = 0; j < tt.length; j++) {
1853
- if (m.alleles[j]) {
1854
- m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1855
- }
1856
- }
1857
- continue;
1858
- }
1859
- if (__number == "R") {
1860
- }
1861
- if (__number == "1") {
1862
- m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1863
- continue;
1864
- }
1865
- if (!value.split) {
1866
- continue;
1867
- }
1868
- const lst = value.split(",");
1869
- if (isinteger) {
1870
- m.info[key] = lst.map(Number.parseInt);
1871
- } else if (isfloat) {
1872
- m.info[key] = lst.map(Number.parseFloat);
1873
- } else {
1874
- m.info[key] = lst;
1875
- }
1876
- }
1877
- return badinfokeys;
1878
- }
1879
-
1880
- // common/auth.js
1881
- var jwtByDsRoute;
1882
- function setJwtByDsRoute() {
1883
- if (jwtByDsRoute) return;
1884
- const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1885
- jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1886
- }
1887
- function setTokenByDsRoute(dslabel, route, jwt) {
1888
- setJwtByDsRoute();
1889
- if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1890
- if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1891
- else delete jwtByDsRoute[dslabel][route];
1892
- localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1893
- }
1894
- function getSavedToken(dslabel, route) {
1895
- setJwtByDsRoute();
1896
- return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1897
- }
1898
- function mayAddJwtToRequest(init, body, url) {
1899
- if (init.headers.authorization) return;
1900
- let dslabel = body?.dslabel;
1901
- if (!dslabel) {
1902
- const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1903
- if (!param) return;
1904
- let value = decodeURIComponent(param.split("=")[1]);
1905
- if (value.startsWith("{") && value.endsWith("}")) {
1906
- value = JSON.parse(value);
1907
- dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1908
- } else {
1909
- dslabel = value;
1910
- }
1911
- }
1912
- setJwtByDsRoute();
1913
- if (!dslabel || !jwtByDsRoute[dslabel]) return;
1914
- const h = url.split("//");
1915
- const postProtocolStr = h[1] || h[0];
1916
- const preQuestionMarkStr = postProtocolStr.split("?")[0];
1917
- const pathSegments = preQuestionMarkStr.split("/");
1918
- let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1919
- const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1920
- if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1921
- }
1922
- var dsAuthOk = /* @__PURE__ */ new Set();
1923
- var dsAuth;
1924
- var authUi;
1925
- var authUiHolder;
1926
- var includeEmbedder = false;
1927
- async function setDsAuthOk(opts) {
1928
- dsAuth = opts.dsAuth;
1929
- authUi = opts.ui || defaultAuthUi;
1930
- authUiHolder = opts.holder || select_default("body");
1931
- for (const auth of dsAuth) {
1932
- if (auth.insession) dsAuthOk.add(auth);
1933
- }
1934
- includeEmbedder = opts.dsAuth?.length > 0 || false;
1935
- }
1936
- function getRequiredAuth(dslabel, route) {
1937
- if (!dsAuth || !Array.isArray(dsAuth)) return;
1938
- for (const a of dsAuth) {
1939
- if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1940
- }
1941
- }
1942
- async function isInSession(dslabel, route) {
1943
- if (!dslabel) return false;
1944
- if (!Array.isArray(dsAuth)) return false;
1945
- for (const a of dsAuth) {
1946
- if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1947
- if (dsAuthOk.has(a)) return true;
1948
- if (a.checked) return false;
1949
- const jwt = getSavedToken(dslabel, a.route);
1950
- if (!jwt) return false;
1951
- const { dofetch3: dofetch32 } = await import("./dofetch-KBTN6OW4.js");
1952
- const payload = decodeJwtPayload(jwt);
1953
- if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
1954
- const data = await dofetch32("/jwt-status", {
1955
- method: "POST",
1956
- credentials: "include",
1957
- headers: {
1958
- //authorization: `Bearer ${btoa(jwt)}`
1959
- [a.headerKey]: jwt
1960
- },
1961
- body: {
1962
- dslabel,
1963
- route,
1964
- embedder: location.hostname
1965
- }
1966
- });
1967
- a.checked = true;
1968
- if (data.ok || data.status == "ok") {
1969
- dsAuthOk.add(a);
1970
- a.insession = true;
1971
- return true;
1972
- }
1973
- }
1974
- return false;
1975
- }
1976
- async function mayShowAuthUi(init, path, opts = {}) {
1977
- const ok = { status: "ok" };
1978
- if (!dsAuth || path.endsWith("jwt-status")) return ok;
1979
- const body = JSON.parse(init.body || `{}`);
1980
- const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
1981
- const [key, value] = kv.split("=");
1982
- obj[key] = value;
1983
- return obj;
1984
- }, {});
1985
- const q = Object.assign({}, body, params);
1986
- const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
1987
- for (const a of dsAuth) {
1988
- if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
1989
- if (dsAuthOk.has(a)) return ok;
1990
- else if (a.route != "/**") return ok;
1991
- else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
1992
- else if (a.type == "jwt") {
1993
- } else if (a.type == "forbidden") {
1994
- alert("Forbidden access");
1995
- } else throw `unsupported dsAuth type='${a.type}'`;
1996
- }
1997
- }
1998
- return ok;
1999
- }
2000
- async function defaultAuthUi(dslabel, auth, opts = {}) {
2001
- 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)");
2002
- const form = mask.append("div").style("opacity", 1);
2003
- form.append("div").html(`Restricted dataset '${dslabel}'`);
2004
- form.append("span").html("Please enter password ");
2005
- const pwd = form.append("input").attr("type", "password");
2006
- pwd.node().focus();
2007
- const btn = form.append("button").html("Submit");
2008
- return new Promise((resolve, reject) => {
2009
- function login() {
2010
- fetch("/dslogin", {
2011
- method: "POST",
2012
- headers: {
2013
- "content-type": "application/json",
2014
- authorization: `Basic ${btoa(pwd.property("value"))}`
2015
- },
2016
- body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
2017
- }).then((res) => res.json()).then((res) => {
2018
- if (res.error) throw res.error;
2019
- mask.remove();
2020
- dsAuthOk.add(auth);
2021
- if (res.jwt) {
2022
- setTokenByDsRoute(dslabel, res.route, res.jwt);
2023
- }
2024
- if (!opts.setDomRefs) window.location.reload();
2025
- else resolve(dslabel);
2026
- }).catch((e) => {
2027
- alert("login error: " + e);
2028
- });
2029
- }
2030
- btn.on("click", login);
2031
- pwd.on("change", login);
2032
- if (opts.setDomRefs)
2033
- opts.setDomRefs({
2034
- pwd,
2035
- btn,
2036
- mask,
2037
- authUiHolder
2038
- });
2039
- });
2040
- }
2041
- function decodeJwtPayload(token) {
2042
- const base64Url = token.split(".")[1];
2043
- const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
2044
- const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
2045
- const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
2046
- return JSON.parse(jsonPayload);
2047
- }
2048
- function convertAtoBresult(c) {
2049
- return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
2050
- }
2051
-
2052
- // common/dofetch.js
2053
- function dofetch(path, arg, opts = null) {
2054
- if (opts && typeof opts == "object") {
2055
- if (opts.serverData && typeof opts.serverData == "object") {
2056
- if (!dofetch.serverData) {
2057
- dofetch.serverData = opts.serverData;
2058
- } else if (!opts.serverData) {
2059
- opts.serverData = dofetch.serverData;
2060
- }
2061
- }
2062
- return dofetch2(
2063
- path,
2064
- {
2065
- method: "POST",
2066
- headers: {
2067
- "content-type": "application/json"
2068
- },
2069
- body: JSON.stringify(arg)
2070
- },
2071
- opts
2072
- );
2073
- } else {
2074
- if (path[0] == "/") {
2075
- path = path.slice(1);
2076
- }
2077
- const jwt = sessionStorage.getItem("jwt");
2078
- if (jwt) {
2079
- arg.jwt = jwt;
2080
- }
2081
- let url = path;
2082
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2083
- if (host) {
2084
- if (host.endsWith("/")) {
2085
- url = host + path;
2086
- } else {
2087
- url = host + "/" + path;
2088
- }
2089
- }
2090
- return fetch(
2091
- new Request(url, {
2092
- method: "POST",
2093
- headers: {
2094
- "content-type": "application/json"
2095
- },
2096
- body: JSON.stringify(arg)
2097
- })
2098
- ).then((r) => r.json());
2099
- }
2100
- }
2101
- function dofetch2(path, init = {}, opts = {}) {
2102
- if (path[0] == "/") {
2103
- path = path.slice(1);
2104
- }
2105
- let url = path;
2106
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2107
- if (host) {
2108
- if (host.endsWith("/")) {
2109
- url = host + path;
2110
- } else {
2111
- url = host + "/" + path;
2112
- }
2113
- }
2114
- mayAdjustCredentials(init);
2115
- const body = init.body || {};
2116
- url = mayAdjustRequest(url, init);
2117
- if (!init.headers) {
2118
- init.headers = {};
2119
- }
2120
- const hasContentType = Object.keys(init.headers).some((k) => k.toLowerCase() == "content-type");
2121
- if (!hasContentType && init.body) {
2122
- init.headers["content-type"] = "application/json";
2123
- }
2124
- const jwt = sessionStorage.getItem("jwt");
2125
- if (jwt) {
2126
- init.headers.authorization = "Bearer " + jwt;
2127
- }
2128
- return mayShowAuthUi(init, url).then(async () => {
2129
- if (!jwt) mayAddJwtToRequest(init, body, url);
2130
- if (opts.serverData) {
2131
- return namedFetch(url, init, opts);
2132
- } else {
2133
- return fetch(url, init).then(processResponse);
2134
- }
2135
- });
2136
- }
2137
- var optsServerDataNames = /* @__PURE__ */ new WeakMap();
2138
- async function namedFetch(url, init, opts = {}) {
2139
- if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
2140
- if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
2141
- let result;
2142
- const dataName = await getDataName(url, init);
2143
- if (opts.serverData[dataName]) {
2144
- if (init.signal) {
2145
- await sleep(0);
2146
- if (init.signal.aborted) throw `stale sequenceId`;
2147
- }
2148
- result = structuredClone(opts.serverData[dataName]);
2149
- }
2150
- if (!result || typeof result != "object" && !(result instanceof Promise)) {
2151
- delete opts.serverData[dataName];
2152
- result = void 0;
2153
- }
2154
- if (!result) {
2155
- try {
2156
- const res = await fetch(url, init);
2157
- result = await processResponse(res);
2158
- if (typeof result == "object" && !(result instanceof Promise)) {
2159
- deepFreeze(result);
2160
- opts.serverData[dataName] = result;
2161
- result = structuredClone(result);
2162
- }
2163
- } catch (e) {
2164
- delete opts.serverData[dataName];
2165
- throw e;
2166
- }
2167
- }
2168
- if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2169
- const keys = optsServerDataNames.get(opts.serverData);
2170
- const i = keys.indexOf(dataName);
2171
- if (i > 0) {
2172
- keys.splice(i, 1);
2173
- }
2174
- keys.unshift(dataName);
2175
- const maxKeys = 360;
2176
- while (keys.length > maxKeys) {
2177
- const oldestDataKey = keys.pop();
2178
- delete opts.serverData[oldestDataKey];
2179
- }
2180
- return result;
2181
- }
2182
- var defaultServerDataCache = {};
2183
- function dofetch3(path, init = {}, opts = {}) {
2184
- if (!init.signal && this) {
2185
- init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2186
- }
2187
- opts.serverData = defaultServerDataCache;
2188
- return dofetch2(path, init, opts);
2189
- }
2190
- function clearServerDataCache(opts = {}) {
2191
- const cache = opts?.serverData || defaultServerDataCache;
2192
- if (!cache) return;
2193
- for (const k of Object.keys(cache)) {
2194
- delete cache[k];
2195
- }
2196
- }
2197
- var urlMaxLength = 2e3;
2198
- function mayAdjustCredentials(init, pageOrigin = window.location.origin) {
2199
- if (init.credentials == "include" && pageOrigin == "null") init.credentials = "same-origin";
2200
- }
2201
- function mayAdjustRequest(url, init) {
2202
- const hostname = window.location.hostname;
2203
- const method = init.method && init.method.toUpperCase() || "GET";
2204
- if (method == "POST") {
2205
- if (typeof init.body == "string") init.body = JSON.parse(init.body);
2206
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2207
- init.body = JSON.stringify(init.body);
2208
- return url;
2209
- }
2210
- if (method != "GET" && method != "DELETE" && method != "PUT") {
2211
- throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2212
- }
2213
- if (init.body) {
2214
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2215
- const params = encode(init.body);
2216
- if (!url.includes("?")) url += "?";
2217
- url += params;
2218
- }
2219
- if (!url.includes("embedder=") && includeEmbedder) {
2220
- const sep = url.includes("?") ? "&" : "?";
2221
- url += `${sep}embedder=${hostname}`;
2222
- }
2223
- if (url.length < urlMaxLength) {
2224
- if (init.body) delete init.body;
2225
- return url;
2226
- }
2227
- if (method != "GET") {
2228
- throw `the ${method} request URL is too long (${url.length} characters, max=${urlMaxLength})`;
2229
- }
2230
- init.method = "POST";
2231
- const [hostpath, query] = url.split("?");
2232
- if (init.body) {
2233
- init.body = JSON.stringify(init.body);
2234
- } else {
2235
- const params = {};
2236
- if (query)
2237
- query.split("&").forEach((p) => {
2238
- const [k, v] = p.split("=");
2239
- const decodedVal = decodeURIComponent(v);
2240
- try {
2241
- params[k] = JSON.parse(decodedVal);
2242
- } catch {
2243
- params[k] = decodedVal;
2244
- }
2245
- });
2246
- if (!params.embedder && includeEmbedder) params.embedder = hostname;
2247
- init.body = JSON.stringify(params);
2248
- }
2249
- return hostpath;
2250
- }
2251
- function setAuth(opts) {
2252
- setDsAuthOk(opts, dofetch3);
2253
- }
2254
-
2255
- export {
2256
- boxplot_getvalue,
2257
- init_bulk_flag,
2258
- parsesample,
2259
- clusterMethodLst,
2260
- distanceMethodLst,
2261
- HYPER_COLOR,
2262
- HYPO_COLOR,
2263
- computePercentile,
2264
- processFormData,
2265
- fileSize,
2266
- ssmIdFieldsSeparator,
2267
- summarize_mclass,
2268
- guessSsmid,
2269
- xAxisOffSet,
2270
- yAxisOffSet,
2271
- getCoordinate,
2272
- calculatePadding,
2273
- compute_bins,
2274
- get_bin_label,
2275
- get_bin_range_equation,
2276
- initBinConfig,
2277
- isUsableTerm,
2278
- formatElapsedTime,
2279
- vcfparsemeta,
2280
- vcfparseline,
2281
- setTokenByDsRoute,
2282
- getSavedToken,
2283
- mayAddJwtToRequest,
2284
- includeEmbedder,
2285
- setDsAuthOk,
2286
- getRequiredAuth,
2287
- isInSession,
2288
- mayShowAuthUi,
2289
- dofetch,
2290
- dofetch2,
2291
- namedFetch,
2292
- dofetch3,
2293
- clearServerDataCache,
2294
- mayAdjustCredentials,
2295
- setAuth
2296
- };
2297
- //# sourceMappingURL=chunk-4TJO2DGU.js.map