@sjcrh/proteinpaint-client 2.225.0 → 2.226.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (925) hide show
  1. package/dist/2dmaf-CSBPMYHO.js +1362 -0
  2. package/dist/AggMatrixInput-2HST4LLJ.js +402 -0
  3. package/dist/AggregateMatrix-UPOAX44L.js +37 -0
  4. package/dist/AppHeader-H5QBVKUS.js +826 -0
  5. package/dist/BoxPlot-JTBQA6PL.js +1247 -0
  6. package/dist/CorrelationVolcano-AWBPVDMT.js +613 -0
  7. package/dist/Cuminc-3BXJVWIH.js +1217 -0
  8. package/dist/DE-237VV46D.js +85 -0
  9. package/dist/DEinput-W443UW5T.js +479 -0
  10. package/dist/DM-TIW623IR.js +86 -0
  11. package/dist/DifferentialAnalysis-PHUA2GPK.js +236 -0
  12. package/dist/Disco-WHV52SCI.js +3445 -0
  13. package/dist/Disco.UI-UDUXNCZX.js +239 -0
  14. package/dist/DmrPlot-FZCD6FTX.js +366 -0
  15. package/dist/GB-6UW5LOUV.js +1388 -0
  16. package/dist/GSEA-3CNHMK6M.js +870 -0
  17. package/dist/GeneExpInput-ZOVP7BFY.js +38 -0
  18. package/dist/Geomap-JREOIESM.js +80 -0
  19. package/dist/HicApp-RKAMIUXQ.js +2240 -0
  20. package/dist/IDCViewer-KXV4FU3V.js +10810 -0
  21. package/dist/NumBinaryEditor-FNVYUK2J.js +274 -0
  22. package/dist/NumBinaryEditor.unit.spec-PWR23U3J.js +308 -0
  23. package/dist/NumContEditor-YLBJW64K.js +100 -0
  24. package/dist/NumContEditor.unit.spec-6JWBCPFY.js +160 -0
  25. package/dist/NumCustomBinEditor-42AFCXRN.js +29 -0
  26. package/dist/NumCustomBinEditor.unit.spec-AFBTF2CL.js +393 -0
  27. package/dist/NumDiscreteEditor-FJIBZTBP.js +165 -0
  28. package/dist/NumDiscreteEditor.unit.spec-MC4INDCB.js +229 -0
  29. package/dist/NumRegularBinEditor-2WRE72TL.js +29 -0
  30. package/dist/NumRegularBinEditor.unit.spec-L3S6NRCM.js +274 -0
  31. package/dist/NumSplineEditor-TVMVAN7I.js +205 -0
  32. package/dist/NumSplineEditor.unit.spec-GEL36GZZ.js +220 -0
  33. package/dist/NumericDensity-BNFAVOFO.js +29 -0
  34. package/dist/NumericDensity.unit.spec-XBYUFBTQ.js +414 -0
  35. package/dist/NumericHandler-4VFFJNX6.js +30 -0
  36. package/dist/NumericHandler.unit.spec-76T2IVRS.js +225 -0
  37. package/dist/ProteomeInput-M5UIO73Q.js +610 -0
  38. package/dist/Regression-5LB5TLA6.js +1412 -0
  39. package/dist/RunChart2-HIFXOEKZ.js +744 -0
  40. package/dist/SC-SMMW5MJG.js +1290 -0
  41. package/dist/Violin-COAFYZOV.js +1105 -0
  42. package/dist/Volcano-62II76B4.js +2748 -0
  43. package/dist/Wsi-OYW2L7FR.js +637 -0
  44. package/dist/aboutSunburst-3FYJGR6B.js +93 -0
  45. package/dist/adSandbox-4VHYWBQC.js +29 -0
  46. package/dist/animatedBubbleChart-QCCIC5IT.js +542 -0
  47. package/dist/app-IF7YPCGZ.js +28 -0
  48. package/dist/app-JZ43TSJP.js +38 -0
  49. package/dist/app.js +12 -12
  50. package/dist/bam-2VPZGSW3.js +872 -0
  51. package/dist/barchart-VYTWYYGG.js +38 -0
  52. package/dist/barchart2-XC7J4VEO.js +305 -0
  53. package/dist/block-YGQFUK5L.js +6203 -0
  54. package/dist/block.init-BVP3YZHQ.js +29 -0
  55. package/dist/block.mds.expressionrank-RKDDKY4J.js +350 -0
  56. package/dist/block.mds.geneboxplot-3FZ3EZZ6.js +819 -0
  57. package/dist/block.mds.junction-MCOG37RA.js +1534 -0
  58. package/dist/block.mds.svcnv-IEOR5IQZ.js +6325 -0
  59. package/dist/block.svg-3XHRHYCV.js +155 -0
  60. package/dist/block.tk.aicheck-TMDUGNZX.js +274 -0
  61. package/dist/block.tk.bam-73KW4QEJ.js +1906 -0
  62. package/dist/block.tk.bigwig.ui-E5W6R7DQ.js +202 -0
  63. package/dist/block.tk.hicstraw-BNNE6ZMW.js +814 -0
  64. package/dist/block.tk.junction-DMPRZRNY.js +2353 -0
  65. package/dist/block.tk.junction.textmatrixui-XS2E7MQL.js +190 -0
  66. package/dist/block.tk.ld-QD3XDLO4.js +90 -0
  67. package/dist/block.tk.menu-S6XI732E.js +1050 -0
  68. package/dist/block.tk.pgv-KH4TMR3A.js +934 -0
  69. package/dist/brainImaging-NK4JENN3.js +550 -0
  70. package/dist/brainRegions-YUEMTKYH.js +213 -0
  71. package/dist/bubbleHeatmap-LQCVS4WK.js +374 -0
  72. package/dist/cellTypeBubbleHeatmap-DFRSPWAY.js +274 -0
  73. package/dist/chunk-37ZEGLVY.js +267 -0
  74. package/dist/chunk-3RPX4ZVV.js +2334 -0
  75. package/dist/chunk-4LK5YFHF.js +102 -0
  76. package/dist/chunk-4WFG5Y3A.js +2095 -0
  77. package/dist/chunk-4WFG5Y3A.js.map +7 -0
  78. package/dist/chunk-4WFXCUT4.js +141 -0
  79. package/dist/chunk-5LY2ASQX.js +305 -0
  80. package/dist/chunk-6V7ITU5F.js +2349 -0
  81. package/dist/chunk-AAQDXVQT.js +134 -0
  82. package/dist/chunk-ADJBQCFM.js +243 -0
  83. package/dist/chunk-ATIITEOR.js +692 -0
  84. package/dist/chunk-BWVJAFEQ.js +35 -0
  85. package/dist/chunk-CDCNBN6G.js +50 -0
  86. package/dist/chunk-CGSBIFFO.js +1339 -0
  87. package/dist/chunk-DPWSIN62.js +26787 -0
  88. package/dist/chunk-DPWSIN62.js.map +7 -0
  89. package/dist/chunk-EARMOT6Q.js +176 -0
  90. package/dist/chunk-ECCXTB5S.js +562 -0
  91. package/dist/chunk-ECTOEM7X.js +96 -0
  92. package/dist/chunk-ECTOEM7X.js.map +7 -0
  93. package/dist/chunk-EKIWZUEO.js +54 -0
  94. package/dist/chunk-FALP6GXG.js +96 -0
  95. package/dist/chunk-FRD6LQF7.js +103 -0
  96. package/dist/chunk-FRPYXYYQ.js +263 -0
  97. package/dist/chunk-FV2GLMSI.js +397 -0
  98. package/dist/chunk-G6SP5IQT.js +626 -0
  99. package/dist/chunk-GZL6YFZJ.js +30 -0
  100. package/dist/chunk-H353EVLK.js +240 -0
  101. package/dist/chunk-HKR5R5YR.js +466 -0
  102. package/dist/chunk-HULTLO4D.js +217 -0
  103. package/dist/chunk-IIN4CG67.js +56 -0
  104. package/dist/chunk-ISWFHYEZ.js +123 -0
  105. package/dist/chunk-JBUTLI3V.js +1253 -0
  106. package/dist/chunk-JCNZJKLK.js +55 -0
  107. package/dist/chunk-JEVDRC64.js +56 -0
  108. package/dist/chunk-KBZAB2H2.js +340 -0
  109. package/dist/chunk-KDKJLITX.js +54 -0
  110. package/dist/chunk-KNFJN6CM.js +299 -0
  111. package/dist/chunk-KSYGLBZ4.js +4389 -0
  112. package/dist/chunk-KUOXZIH4.js +348 -0
  113. package/dist/chunk-KZ54E2FU.js +184 -0
  114. package/dist/chunk-L7FMBWWK.js +6375 -0
  115. package/dist/chunk-LMONIWPI.js +30 -0
  116. package/dist/chunk-LTY7WOAT.js +281 -0
  117. package/dist/chunk-LYDN734A.js +194 -0
  118. package/dist/chunk-LYMYO6TY.js +652 -0
  119. package/dist/chunk-MRZUZDRA.js +444 -0
  120. package/dist/chunk-NGBI4FST.js +195 -0
  121. package/dist/chunk-OKM4ACTA.js +170 -0
  122. package/dist/chunk-OUDHHMZU.js +159 -0
  123. package/dist/chunk-OYXRYWGU.js +2932 -0
  124. package/dist/chunk-P2HMCEMM.js +5254 -0
  125. package/dist/chunk-P5FHYGJK.js +848 -0
  126. package/dist/chunk-P7QDNXSH.js +276 -0
  127. package/dist/chunk-Q7GK35TB.js +257 -0
  128. package/dist/chunk-QXRM5NMW.js +274 -0
  129. package/dist/chunk-RI3GAHQE.js +255 -0
  130. package/dist/chunk-SH7SL4I5.js +1219 -0
  131. package/dist/chunk-SJHWZZ4M.js +70 -0
  132. package/dist/chunk-T2W4JHWJ.js +472 -0
  133. package/dist/chunk-T2W4JHWJ.js.map +7 -0
  134. package/dist/chunk-TDBS3UFZ.js +379 -0
  135. package/dist/chunk-THHYPA5K.js +48 -0
  136. package/dist/chunk-THHYPA5K.js.map +7 -0
  137. package/dist/chunk-U2OB3S3M.js +14 -0
  138. package/dist/chunk-UA2ADBTO.js +42 -0
  139. package/dist/chunk-USGUVW5Q.js +182 -0
  140. package/dist/chunk-UWVDD4C2.js +480 -0
  141. package/dist/chunk-W2SBSEKT.js +550 -0
  142. package/dist/chunk-XAHZYGKW.js +468 -0
  143. package/dist/chunk-XKWLP433.js +328 -0
  144. package/dist/chunk-YWB2QHV2.js +2799 -0
  145. package/dist/chunk-Z6M77JDG.js +2008 -0
  146. package/dist/chunk-Z7RFFJXU.js +516 -0
  147. package/dist/chunk-ZG7EBTHK.js +203 -0
  148. package/dist/chunk-ZJLJHQWM.js +418 -0
  149. package/dist/chunk-ZKU6RST3.js +2685 -0
  150. package/dist/chunk-ZLWEUYPT.js +296 -0
  151. package/dist/cohort-X327AG3O.js +66 -0
  152. package/dist/cohortSunburst-GNWIVDNA.js +402 -0
  153. package/dist/condition-3M4L2HIM.js +323 -0
  154. package/dist/controls-OKNHZJOU.js +30 -0
  155. package/dist/controls.config-FUKM5LEP.js +30 -0
  156. package/dist/correlation-PC4MXCFM.js +91 -0
  157. package/dist/customdata.inputui-HCRTX56R.js +280 -0
  158. package/dist/dataDownload-HJO7UW7S.js +326 -0
  159. package/dist/databrowser.ui-EY3H6B4S.js +424 -0
  160. package/dist/dictionary-L6CTMFY7.js +109 -0
  161. package/dist/dnaMethylation-FEB5GGXK.js +29 -0
  162. package/dist/dnaMethylation.integration.spec-4DC6TJNZ.js +194 -0
  163. package/dist/dnaMethylation.unit.spec-REOHQOBC.js +95 -0
  164. package/dist/dnaMethylation.unit.spec-REOHQOBC.js.map +7 -0
  165. package/dist/dofetch-YFGOKCKV.js +49 -0
  166. package/dist/e2pca-QSAVTCPL.js +340 -0
  167. package/dist/ep-LAFLKVSW.js +1247 -0
  168. package/dist/expclust.gdc.spec-OM4J6WBL.js +298 -0
  169. package/dist/facet-WHTV2VIX.js +556 -0
  170. package/dist/gb-DLXWWBB6.js +77 -0
  171. package/dist/geneExpClustering-KB2MB2VM.js +240 -0
  172. package/dist/geneExpression-3D7PDZ2I.js +309 -0
  173. package/dist/geneExpression-3RSRGYGQ.js +29 -0
  174. package/dist/geneExpression.unit.spec-EINAWLPR.js +150 -0
  175. package/dist/geneExpression.unit.spec-EINAWLPR.js.map +7 -0
  176. package/dist/geneORA-J4KVSZT3.js +269 -0
  177. package/dist/geneRanking-HKLJ7CN6.js +544 -0
  178. package/dist/geneVariant-3BRGRFPT.js +32 -0
  179. package/dist/geneVariant-VI5DGDAB.js +289 -0
  180. package/dist/geneVariant.integration.spec-3IBX4NNE.js +672 -0
  181. package/dist/genefusion.ui-OESQL7TW.js +299 -0
  182. package/dist/geneset-3BMV3KP4.js +199 -0
  183. package/dist/genomeBrowser.spec-I3WKAITC.js +272 -0
  184. package/dist/grin2-4BBCH3H5.js +66 -0
  185. package/dist/grin2-5L2U32LY.js +945 -0
  186. package/dist/hierCluster-KM56NTN6.js +51 -0
  187. package/dist/hierCluster-XCJF5IQ6.js +55 -0
  188. package/dist/hierCluster.config-E2EYOXX6.js +32 -0
  189. package/dist/hierCluster.integration.spec-IIEJ2YEI.js +479 -0
  190. package/dist/hierCluster.interactivity-AJFEJTGX.js +45 -0
  191. package/dist/hierCluster.renderers-XKI344FM.js +18 -0
  192. package/dist/imagePlot-3B3BXI6I.js +152 -0
  193. package/dist/importPlot-JDVH7Q2Z.js +8 -0
  194. package/dist/isoformExpression-UFHY5LB2.js +31 -0
  195. package/dist/isoformExpression.unit.spec-U6GDCNQR.js +233 -0
  196. package/dist/junction-W2STW5WW.js +32 -0
  197. package/dist/junction.unit.spec-R4DIBFLB.js +178 -0
  198. package/dist/launch.adhoc-KN7HFHJH.js +33 -0
  199. package/dist/leftlabel.sample-CK2EK7J6.js +254 -0
  200. package/dist/lollipop-EKIGAAK6.js +162 -0
  201. package/dist/maf-MK2MM7J4.js +451 -0
  202. package/dist/maftimeline-7RTMXWFA.js +583 -0
  203. package/dist/matrix-UM2EZODJ.js +50 -0
  204. package/dist/matrix-YBL4FZYJ.js +55 -0
  205. package/dist/matrix.cells-45ZFADK5.js +25 -0
  206. package/dist/matrix.config-QTBIRXKU.js +33 -0
  207. package/dist/matrix.data-WAMOLSKW.js +22 -0
  208. package/dist/matrix.groups-RXFXZABD.js +25 -0
  209. package/dist/matrix.integration.spec-JZDZRVOK.js +3156 -0
  210. package/dist/matrix.interactivity-P4VYGTB2.js +33 -0
  211. package/dist/matrix.layout-WWPRXXHX.js +35 -0
  212. package/dist/matrix.legend-4MCMVVKO.js +19 -0
  213. package/dist/matrix.renderers-JQTUODDS.js +30 -0
  214. package/dist/matrix.serieses-3IDRKSGO.js +18 -0
  215. package/dist/matrix.sort-EAWOB56R.js +25 -0
  216. package/dist/matrix.sort.unit.spec-FOWLULHA.js +464 -0
  217. package/dist/matrix.sorterUi.unit.spec-U5CQDTMX.js +334 -0
  218. package/dist/matrix.unit.spec-VTLD4EOZ.js +146 -0
  219. package/dist/mavb-JIIXJHBK.js +726 -0
  220. package/dist/mds.samplescatterplot-PTWA2V6E.js +1545 -0
  221. package/dist/mds.survivalplot-XVZ66GP5.js +472 -0
  222. package/dist/multivalue-2H7QX7MG.js +79 -0
  223. package/dist/numericDictTermCluster-EHCDRT6J.js +62 -0
  224. package/dist/oncomatrix-RZLZUC32.js +286 -0
  225. package/dist/oncomatrix.spec-Z5UQGTW2.js +439 -0
  226. package/dist/plot.2dvaf-IRBZBJ6B.js +368 -0
  227. package/dist/plot.app-I23IAZ3Z.js +32 -0
  228. package/dist/plot.barplot-PYLRAZB7.js +93 -0
  229. package/dist/plot.boxplot-VBWU7DUG.js +142 -0
  230. package/dist/plot.brainImaging-HDJMEMTK.js +51 -0
  231. package/dist/plot.disco-5BVG3WMT.js +100 -0
  232. package/dist/plot.ssgq-S3BKXJMW.js +130 -0
  233. package/dist/plot.vaf2cov-VD7DU2XR.js +249 -0
  234. package/dist/polar2-PYLEVG7E.js +228 -0
  235. package/dist/profileForms-CI2YYD3Y.js +937 -0
  236. package/dist/profilePlot-UCC4ZVHQ.js +45 -0
  237. package/dist/proteinView-FBY6TK3S.js +1346 -0
  238. package/dist/proteomeCohortCompare-2VUSLC6I.js +866 -0
  239. package/dist/pseudbulk.unit.spec-VPZWNTIA.js +82 -0
  240. package/dist/pseudobulk-RUXGZ7OY.js +31 -0
  241. package/dist/qualitative-3AVR4GRX.js +34 -0
  242. package/dist/qualitative-5QNBKDOZ.js +241 -0
  243. package/dist/radar2-AOYMS54Y.js +323 -0
  244. package/dist/radarFacility2-PP2MAXIP.js +331 -0
  245. package/dist/render-ASLVKYEX.js +29 -0
  246. package/dist/report-UVYKDMQC.js +213 -0
  247. package/dist/sampleView-6UHR7FSR.js +39 -0
  248. package/dist/samplelst-ABC2CCNN.js +114 -0
  249. package/dist/samplematrix-36UCHZLC.js +2188 -0
  250. package/dist/sc-XLSAM725.js +77 -0
  251. package/dist/scatter-ADOBAOW2.js +84 -0
  252. package/dist/scatter-ZNVLI627.js +919 -0
  253. package/dist/selectGenomeWithTklst-DPDBDYTR.js +125 -0
  254. package/dist/singleCellCellType-STVPYZD4.js +29 -0
  255. package/dist/singleCellCellType.unit.spec-ZLY37AXL.js +150 -0
  256. package/dist/singleCellGeneExpression-PCGLU35S.js +29 -0
  257. package/dist/singleCellGeneExpression.unit.spec-PSLKK362.js +144 -0
  258. package/dist/singleCellNumericValue-SR3SJEOB.js +29 -0
  259. package/dist/singleCellNumericValue.unit.spec-PXVXJ4HJ.js +412 -0
  260. package/dist/singleCellPlot-JXB7M6OH.js +44 -0
  261. package/dist/singlecell-EDSX56QO.js +1562 -0
  262. package/dist/singlecell-PH55NFRX.js +77 -0
  263. package/dist/snp-3VEYBTAQ.js +29 -0
  264. package/dist/snp.unit.spec-V7OB44US.js +167 -0
  265. package/dist/snplocus-HX67RBT5.js +200 -0
  266. package/dist/snplst-H5YXCY33.js +36 -0
  267. package/dist/spliceevent.a53ss.diagram-DBDEEHSK.js +142 -0
  268. package/dist/spliceevent.exonskip.diagram-EYEL6BY6.js +274 -0
  269. package/dist/spliceevent.noeventdiagram-64OEXK7U.js +451 -0
  270. package/dist/ssGSEA-3YWQH6KM.js +29 -0
  271. package/dist/ssGSEA.unit.spec-23V2IXP5.js +79 -0
  272. package/dist/stattable-GPSBCNYC.js +112 -0
  273. package/dist/studyCatalog-W5PATRNY.js +457 -0
  274. package/dist/summarizeCnvGeneexp-YGI23QH5.js +154 -0
  275. package/dist/summarizeGeneexpSurvival-KQ6OLWYR.js +101 -0
  276. package/dist/summarizeMutationCnv-XDHBNEPU.js +155 -0
  277. package/dist/summarizeMutationDiagnosis-VKIJRJ2Q.js +31 -0
  278. package/dist/summarizeMutationSurvival-57YKJGLE.js +95 -0
  279. package/dist/summary-4WQOVIUF.js +40 -0
  280. package/dist/summary.integration.spec-FRNWBU7F.js +405 -0
  281. package/dist/summaryInput-X7DS2YA7.js +238 -0
  282. package/dist/sunburst-3OEAQA3O.js +34 -0
  283. package/dist/sunburst-MSGTXYMM.js +274 -0
  284. package/dist/survival-5KC5CNZU.js +1248 -0
  285. package/dist/survival-QXDS6N46.js +49 -0
  286. package/dist/survival.integration.spec-PKENHLTZ.js +609 -0
  287. package/dist/svgraph-VJLB7BBN.js +1377 -0
  288. package/dist/svmr-6BDEZAS6.js +3834 -0
  289. package/dist/swimmer-R3DN7N36.js +993 -0
  290. package/dist/table-YF5VORU6.js +192 -0
  291. package/dist/termCollection-3KGLZFDW.js +29 -0
  292. package/dist/termCollection-KSHVOPS5.js +247 -0
  293. package/dist/termCollection.unit.spec-HTBDG5PL.js +295 -0
  294. package/dist/termCollectionFractionSelection-MK4NKWUX.js +38 -0
  295. package/dist/termCollectionFractionSelection.unit.spec-AMF32FDN.js +184 -0
  296. package/dist/tk-FDHBAKXQ.js +1198 -0
  297. package/dist/tk-Z54DOECH.js +38 -0
  298. package/dist/tp.ui-M4TZVT53.js +1453 -0
  299. package/dist/tvs.categorical-HY3BWCZR.js +28 -0
  300. package/dist/tvs.condition-Y36TRIX4.js +160 -0
  301. package/dist/tvs.dt-XKVJZP7Y.js +34 -0
  302. package/dist/tvs.dtcnv.categorical-OMRZR4Y7.js +31 -0
  303. package/dist/tvs.dtcnv.continuous-AGYOBI5K.js +72 -0
  304. package/dist/tvs.dtfusion-2JX5Y2IH.js +31 -0
  305. package/dist/tvs.dtitd-SDSLBBWC.js +31 -0
  306. package/dist/tvs.dtsnvindel-LI7K464K.js +31 -0
  307. package/dist/tvs.dtsv-VRCLX7QY.js +31 -0
  308. package/dist/tvs.multivalue-4OTY6J2S.js +84 -0
  309. package/dist/tvs.numeric-CDATYOR2.js +32 -0
  310. package/dist/tvs.samplelst-76JOJG2M.js +95 -0
  311. package/dist/tvs.survival-WTFJOKIZ.js +110 -0
  312. package/dist/tvs.termCollection-QQXAS7PE.js +118 -0
  313. package/dist/vocabulary-6ACAEFTL.js +32 -0
  314. package/dist/wsi.direct-OS32TQRM.js +11515 -0
  315. package/package.json +3 -3
  316. package/dist/2dmaf-4W2R2HXG.js +0 -1362
  317. package/dist/AggMatrixInput-3SQ7UW5L.js +0 -402
  318. package/dist/AggregateMatrix-QI55DXDU.js +0 -37
  319. package/dist/AppHeader-C26OHIUQ.js +0 -826
  320. package/dist/BoxPlot-27OYBGJ3.js +0 -1247
  321. package/dist/CorrelationVolcano-XIMXCSHG.js +0 -613
  322. package/dist/Cuminc-737O733E.js +0 -1217
  323. package/dist/DE-EDTGDY6L.js +0 -85
  324. package/dist/DEinput-ZN76I5M5.js +0 -479
  325. package/dist/DM-25IRANGL.js +0 -86
  326. package/dist/DifferentialAnalysis-7HQYEA5T.js +0 -236
  327. package/dist/Disco-4YNXWGRX.js +0 -3445
  328. package/dist/Disco.UI-67HBGS4Y.js +0 -239
  329. package/dist/DmrPlot-KZVDVPUT.js +0 -366
  330. package/dist/GB-HT3B7Y7R.js +0 -1388
  331. package/dist/GSEA-CMFMNK5Y.js +0 -870
  332. package/dist/GeneExpInput-HMGV23E7.js +0 -38
  333. package/dist/Geomap-RB4SGVPC.js +0 -80
  334. package/dist/HicApp-YRP6YQFA.js +0 -2240
  335. package/dist/IDCViewer-OUSOZNSR.js +0 -10810
  336. package/dist/NumBinaryEditor-YFQDPBB6.js +0 -274
  337. package/dist/NumBinaryEditor.unit.spec-6YC5PCPK.js +0 -308
  338. package/dist/NumContEditor-EH6MA2RW.js +0 -100
  339. package/dist/NumContEditor.unit.spec-Q2JBVIRT.js +0 -160
  340. package/dist/NumCustomBinEditor-USQA3BC6.js +0 -29
  341. package/dist/NumCustomBinEditor.unit.spec-PE2HFRCK.js +0 -393
  342. package/dist/NumDiscreteEditor-VKE4WT24.js +0 -165
  343. package/dist/NumDiscreteEditor.unit.spec-JNG673LE.js +0 -229
  344. package/dist/NumRegularBinEditor-KCCPGJSX.js +0 -29
  345. package/dist/NumRegularBinEditor.unit.spec-4BLKQRZU.js +0 -274
  346. package/dist/NumSplineEditor-4YELHGUO.js +0 -205
  347. package/dist/NumSplineEditor.unit.spec-CKHHK6GH.js +0 -220
  348. package/dist/NumericDensity-LCFM7VSY.js +0 -29
  349. package/dist/NumericDensity.unit.spec-R4ARTJ5I.js +0 -414
  350. package/dist/NumericHandler-2OHRSY6Z.js +0 -30
  351. package/dist/NumericHandler.unit.spec-M3TRIFZW.js +0 -225
  352. package/dist/ProteomeInput-G2EP6QH2.js +0 -610
  353. package/dist/Regression-2HKE6C7F.js +0 -1412
  354. package/dist/RunChart2-WRVW63PB.js +0 -744
  355. package/dist/SC-37RDNFGH.js +0 -1290
  356. package/dist/Violin-KD6FPWC7.js +0 -1105
  357. package/dist/Volcano-U62TCDEL.js +0 -2748
  358. package/dist/Wsi-PB77PVAA.js +0 -637
  359. package/dist/aboutSunburst-5Z24ODIN.js +0 -93
  360. package/dist/adSandbox-AFORHU3V.js +0 -29
  361. package/dist/animatedBubbleChart-F75OBRZW.js +0 -542
  362. package/dist/app-4RZ76DZZ.js +0 -28
  363. package/dist/app-IHE3RNI5.js +0 -38
  364. package/dist/bam-IIRZX3IK.js +0 -872
  365. package/dist/barchart-UIHRIMOE.js +0 -38
  366. package/dist/barchart2-DG3S6FDJ.js +0 -305
  367. package/dist/block-COZKGPXY.js +0 -6203
  368. package/dist/block.init-UBXYVTPQ.js +0 -29
  369. package/dist/block.mds.expressionrank-KSXPPPGR.js +0 -350
  370. package/dist/block.mds.geneboxplot-5RDFDVDE.js +0 -819
  371. package/dist/block.mds.junction-LMM24KXJ.js +0 -1534
  372. package/dist/block.mds.svcnv-4XRXZMPS.js +0 -6325
  373. package/dist/block.svg-VAKLMPMS.js +0 -155
  374. package/dist/block.tk.aicheck-6GHZK2YY.js +0 -274
  375. package/dist/block.tk.bam-7H3BSHR2.js +0 -1906
  376. package/dist/block.tk.bigwig.ui-KX2GACY5.js +0 -202
  377. package/dist/block.tk.hicstraw-OOWEWGMF.js +0 -814
  378. package/dist/block.tk.junction-U7W36OZA.js +0 -2353
  379. package/dist/block.tk.junction.textmatrixui-PAMSBYZT.js +0 -190
  380. package/dist/block.tk.ld-RFQPDG7Q.js +0 -90
  381. package/dist/block.tk.menu-JDJU2OGK.js +0 -1050
  382. package/dist/block.tk.pgv-G2UFCQUT.js +0 -934
  383. package/dist/brainImaging-ASAHWZJH.js +0 -550
  384. package/dist/brainRegions-XTJDLUU4.js +0 -213
  385. package/dist/bubbleHeatmap-UPUITTU6.js +0 -374
  386. package/dist/cellTypeBubbleHeatmap-25SOXC2Q.js +0 -274
  387. package/dist/chunk-2ZYAC3DC.js +0 -299
  388. package/dist/chunk-325X3T7G.js +0 -692
  389. package/dist/chunk-3UXHTSZJ.js +0 -159
  390. package/dist/chunk-4DFKK46J.js +0 -96
  391. package/dist/chunk-54W2RWRB.js +0 -123
  392. package/dist/chunk-5QGC2624.js +0 -54
  393. package/dist/chunk-5YKXYWP3.js +0 -480
  394. package/dist/chunk-6B4AME6E.js +0 -4389
  395. package/dist/chunk-6H4FFHFQ.js +0 -82
  396. package/dist/chunk-6H4FFHFQ.js.map +0 -7
  397. package/dist/chunk-72QBXULB.js +0 -102
  398. package/dist/chunk-7APH7QLC.js +0 -141
  399. package/dist/chunk-7HBAALWJ.js +0 -2685
  400. package/dist/chunk-7ZTUUKLX.js +0 -203
  401. package/dist/chunk-A7GCFL3R.js +0 -30
  402. package/dist/chunk-AGWIWLOP.js +0 -14
  403. package/dist/chunk-CHQ43UJQ.js +0 -397
  404. package/dist/chunk-CQWR4QZO.js +0 -70
  405. package/dist/chunk-D6TLBMIX.js +0 -1339
  406. package/dist/chunk-DDABG5BR.js +0 -328
  407. package/dist/chunk-DR5JLHTB.js +0 -35
  408. package/dist/chunk-E2Z4X6C2.js +0 -55
  409. package/dist/chunk-E4WAVMI5.js +0 -194
  410. package/dist/chunk-EM76Y3HQ.js +0 -1253
  411. package/dist/chunk-ES7XNERS.js +0 -468
  412. package/dist/chunk-F2RTD23W.js +0 -848
  413. package/dist/chunk-FEE2HAON.js +0 -418
  414. package/dist/chunk-G5BQJGRA.js +0 -2799
  415. package/dist/chunk-GAYYXHOG.js +0 -257
  416. package/dist/chunk-GDIKNIEA.js +0 -263
  417. package/dist/chunk-GIZTZCE5.js +0 -195
  418. package/dist/chunk-GONC3LVY.js +0 -626
  419. package/dist/chunk-HGC4EON3.js +0 -348
  420. package/dist/chunk-HM23KADV.js +0 -281
  421. package/dist/chunk-I7R6YROK.js +0 -267
  422. package/dist/chunk-JWX6GEWQ.js +0 -276
  423. package/dist/chunk-K4LZR3HU.js +0 -56
  424. package/dist/chunk-K55KOEI6.js +0 -6375
  425. package/dist/chunk-K7YJILBY.js +0 -5254
  426. package/dist/chunk-KLJM7HE5.js +0 -2349
  427. package/dist/chunk-LFH5VSSF.js +0 -176
  428. package/dist/chunk-MBWG3QHI.js +0 -1219
  429. package/dist/chunk-MZTVOOR6.js +0 -56
  430. package/dist/chunk-N2JOZ3QD.js +0 -444
  431. package/dist/chunk-NG2U3VHX.js +0 -170
  432. package/dist/chunk-NUGYNLTL.js +0 -2334
  433. package/dist/chunk-OCOB7XJW.js +0 -2008
  434. package/dist/chunk-OGDBTL5C.js +0 -54
  435. package/dist/chunk-OOVVKQSD.js +0 -26747
  436. package/dist/chunk-OOVVKQSD.js.map +0 -7
  437. package/dist/chunk-PAF5KZCR.js +0 -2932
  438. package/dist/chunk-PPICALUF.js +0 -2102
  439. package/dist/chunk-PPICALUF.js.map +0 -7
  440. package/dist/chunk-QFOT5WAZ.js +0 -134
  441. package/dist/chunk-QFQJO7LD.js +0 -472
  442. package/dist/chunk-QFQJO7LD.js.map +0 -7
  443. package/dist/chunk-QGCB5AKN.js +0 -243
  444. package/dist/chunk-QRZRAMHA.js +0 -184
  445. package/dist/chunk-RGOZHZCN.js +0 -103
  446. package/dist/chunk-RJKY22D4.js +0 -240
  447. package/dist/chunk-RZ2HG7G3.js +0 -102
  448. package/dist/chunk-RZ2HG7G3.js.map +0 -7
  449. package/dist/chunk-SI2KSG6E.js +0 -379
  450. package/dist/chunk-U4PLKSSS.js +0 -50
  451. package/dist/chunk-U7G65D2G.js +0 -466
  452. package/dist/chunk-UU3FWU6D.js +0 -305
  453. package/dist/chunk-UXLT7W2N.js +0 -562
  454. package/dist/chunk-VHQDN3OA.js +0 -182
  455. package/dist/chunk-VTMNHAFC.js +0 -30
  456. package/dist/chunk-W3K7KLIR.js +0 -217
  457. package/dist/chunk-WSLS55SH.js +0 -296
  458. package/dist/chunk-XQIB27PB.js +0 -516
  459. package/dist/chunk-XSBGICK5.js +0 -652
  460. package/dist/chunk-YHW2RAAG.js +0 -274
  461. package/dist/chunk-Z7CCL464.js +0 -550
  462. package/dist/chunk-ZBNPXXMK.js +0 -42
  463. package/dist/chunk-ZNHC46CT.js +0 -340
  464. package/dist/chunk-ZSTD6Y3K.js +0 -255
  465. package/dist/cohort-ZFGFEEBD.js +0 -66
  466. package/dist/cohortSunburst-EEPGV2RB.js +0 -402
  467. package/dist/condition-7EWFLQSO.js +0 -323
  468. package/dist/controls-QHDSDWKI.js +0 -30
  469. package/dist/controls.config-LBSCZ6GP.js +0 -30
  470. package/dist/correlation-IJQJPNNP.js +0 -91
  471. package/dist/customdata.inputui-TZGX2CUD.js +0 -280
  472. package/dist/dataDownload-33EWD3AD.js +0 -326
  473. package/dist/databrowser.ui-YNKDTAAN.js +0 -424
  474. package/dist/dictionary-OTR6Z5EZ.js +0 -109
  475. package/dist/dnaMethylation-LQTCTOOE.js +0 -29
  476. package/dist/dnaMethylation.integration.spec-U5VQYAK3.js +0 -194
  477. package/dist/dofetch-HLG7G7RX.js +0 -49
  478. package/dist/e2pca-AXDPYR7U.js +0 -340
  479. package/dist/ep-4WK46CH7.js +0 -1247
  480. package/dist/expclust.gdc.spec-CYGWGREQ.js +0 -298
  481. package/dist/facet-IZSSZDHK.js +0 -556
  482. package/dist/gb-AUZBUZFM.js +0 -77
  483. package/dist/geneExpClustering-AQBFLXLP.js +0 -240
  484. package/dist/geneExpression-HDJVPVPK.js +0 -309
  485. package/dist/geneExpression-V4JMTMLI.js +0 -29
  486. package/dist/geneExpression.unit.spec-KFMSDVMX.js +0 -151
  487. package/dist/geneExpression.unit.spec-KFMSDVMX.js.map +0 -7
  488. package/dist/geneORA-LDFFSEMQ.js +0 -269
  489. package/dist/geneRanking-IVKDSNDV.js +0 -544
  490. package/dist/geneVariant-7X7EEUDW.js +0 -289
  491. package/dist/geneVariant-TK3FJ22L.js +0 -32
  492. package/dist/geneVariant.integration.spec-ZHAFWQ2O.js +0 -672
  493. package/dist/genefusion.ui-U5YPVXAF.js +0 -299
  494. package/dist/geneset-NSHQ2NDR.js +0 -199
  495. package/dist/genomeBrowser.spec-HP4OQPCV.js +0 -272
  496. package/dist/grin2-5WKONQPG.js +0 -66
  497. package/dist/grin2-V2ZBOJBO.js +0 -945
  498. package/dist/hierCluster-7IOPNYFN.js +0 -55
  499. package/dist/hierCluster-IDBCUKHJ.js +0 -51
  500. package/dist/hierCluster.config-Z4NRL5P5.js +0 -32
  501. package/dist/hierCluster.integration.spec-PHEXOGPI.js +0 -479
  502. package/dist/hierCluster.interactivity-NHZ5EPBV.js +0 -45
  503. package/dist/hierCluster.renderers-WXJUMDFN.js +0 -18
  504. package/dist/imagePlot-NMNCAYS7.js +0 -152
  505. package/dist/importPlot-HZML5XMJ.js +0 -8
  506. package/dist/isoformExpression-4IU4AUQ2.js +0 -31
  507. package/dist/isoformExpression.unit.spec-KKMKU5Z2.js +0 -233
  508. package/dist/junction-EXA2WANI.js +0 -32
  509. package/dist/junction.unit.spec-H3FGTLEP.js +0 -178
  510. package/dist/launch.adhoc-YA6FRHSC.js +0 -33
  511. package/dist/leftlabel.sample-N6M4OL2X.js +0 -254
  512. package/dist/lollipop-EWLGYDIR.js +0 -162
  513. package/dist/maf-PXMHR3PY.js +0 -451
  514. package/dist/maftimeline-QFKT7PW2.js +0 -583
  515. package/dist/matrix-KASG3KIY.js +0 -55
  516. package/dist/matrix-VSX63V3L.js +0 -50
  517. package/dist/matrix.cells-7TTOQRWU.js +0 -25
  518. package/dist/matrix.config-U3I726EC.js +0 -33
  519. package/dist/matrix.data-Y4DXSR2P.js +0 -22
  520. package/dist/matrix.groups-C5CHYWQZ.js +0 -25
  521. package/dist/matrix.integration.spec-4KWLFXMY.js +0 -3156
  522. package/dist/matrix.interactivity-JK6URU6Z.js +0 -33
  523. package/dist/matrix.layout-KKOA7GGL.js +0 -35
  524. package/dist/matrix.legend-3FFHXTLX.js +0 -19
  525. package/dist/matrix.renderers-F7EWYQWL.js +0 -30
  526. package/dist/matrix.serieses-I4JWWONC.js +0 -18
  527. package/dist/matrix.sort-5JTCLBPB.js +0 -25
  528. package/dist/matrix.sort.unit.spec-EW53F5DT.js +0 -464
  529. package/dist/matrix.sorterUi.unit.spec-OGTYY6GC.js +0 -334
  530. package/dist/matrix.unit.spec-RXKKHRUN.js +0 -146
  531. package/dist/mavb-YI2WEGFI.js +0 -726
  532. package/dist/mds.samplescatterplot-GGJE67MF.js +0 -1545
  533. package/dist/mds.survivalplot-A6DS6FHO.js +0 -472
  534. package/dist/multivalue-3WCYDVL3.js +0 -79
  535. package/dist/numericDictTermCluster-AOTEPNEI.js +0 -62
  536. package/dist/oncomatrix-BB4SB5AJ.js +0 -286
  537. package/dist/oncomatrix.spec-M4ZC3KFC.js +0 -439
  538. package/dist/plot.2dvaf-QUD743E6.js +0 -368
  539. package/dist/plot.app-35I4DJXK.js +0 -32
  540. package/dist/plot.barplot-7OL4HWZB.js +0 -93
  541. package/dist/plot.boxplot-N2VSPDYA.js +0 -142
  542. package/dist/plot.brainImaging-4PIAFROV.js +0 -51
  543. package/dist/plot.disco-6CFYMWU3.js +0 -100
  544. package/dist/plot.ssgq-MGUBQNWE.js +0 -130
  545. package/dist/plot.vaf2cov-KVI2GMG4.js +0 -249
  546. package/dist/polar2-IGAOHGPE.js +0 -228
  547. package/dist/profileForms-MW7JQURG.js +0 -937
  548. package/dist/profilePlot-OVOSFR47.js +0 -45
  549. package/dist/proteinView-LFP5YYMK.js +0 -1346
  550. package/dist/proteomeCohortCompare-ONYL2UN4.js +0 -866
  551. package/dist/pseudbulk.unit.spec-CGV4JTEK.js +0 -82
  552. package/dist/pseudobulk-WFCQX5KR.js +0 -31
  553. package/dist/qualitative-4SLUE6BW.js +0 -241
  554. package/dist/qualitative-6H674T7D.js +0 -34
  555. package/dist/radar2-QXHO2MQA.js +0 -323
  556. package/dist/radarFacility2-JCVOYMH4.js +0 -331
  557. package/dist/render-IIFS3Y2N.js +0 -29
  558. package/dist/report-NFBB3PUI.js +0 -213
  559. package/dist/sampleView-XQXKIPC7.js +0 -39
  560. package/dist/samplelst-RIC5E2W4.js +0 -114
  561. package/dist/samplematrix-WLCFCPBR.js +0 -2188
  562. package/dist/sc-TXRF7D6F.js +0 -77
  563. package/dist/scatter-JUGGPR4B.js +0 -919
  564. package/dist/scatter-YQ47446T.js +0 -84
  565. package/dist/selectGenomeWithTklst-2ELB6HQK.js +0 -125
  566. package/dist/singleCellCellType-DUTH4SZF.js +0 -29
  567. package/dist/singleCellCellType.unit.spec-PWP6I5PZ.js +0 -150
  568. package/dist/singleCellGeneExpression-3563T7GE.js +0 -29
  569. package/dist/singleCellGeneExpression.unit.spec-66IDCFJC.js +0 -144
  570. package/dist/singleCellNumericValue-XVQTKLTS.js +0 -29
  571. package/dist/singleCellNumericValue.unit.spec-LJSTGKNS.js +0 -412
  572. package/dist/singleCellPlot-MKYJJXSG.js +0 -44
  573. package/dist/singlecell-ANCWPAAO.js +0 -1562
  574. package/dist/singlecell-KMRVFOC5.js +0 -77
  575. package/dist/snp-B5UHGWVD.js +0 -29
  576. package/dist/snp.unit.spec-YAHITASM.js +0 -167
  577. package/dist/snplocus-MLGICRGT.js +0 -200
  578. package/dist/snplst-DZPIQEKI.js +0 -36
  579. package/dist/spliceevent.a53ss.diagram-4NYPSFC2.js +0 -142
  580. package/dist/spliceevent.exonskip.diagram-WLLTP7NP.js +0 -274
  581. package/dist/spliceevent.noeventdiagram-NOSO752Y.js +0 -451
  582. package/dist/ssGSEA-4DVY6Z5U.js +0 -29
  583. package/dist/ssGSEA.unit.spec-UDXV4Q7S.js +0 -79
  584. package/dist/stattable-T5X76Q32.js +0 -112
  585. package/dist/studyCatalog-O3EPBJPW.js +0 -457
  586. package/dist/summarizeCnvGeneexp-ST36TPEJ.js +0 -154
  587. package/dist/summarizeGeneexpSurvival-AZOFCBMT.js +0 -101
  588. package/dist/summarizeMutationCnv-HRCW6BYV.js +0 -155
  589. package/dist/summarizeMutationDiagnosis-RQQO2MOR.js +0 -31
  590. package/dist/summarizeMutationSurvival-UHSUJ7FU.js +0 -95
  591. package/dist/summary-ZMM5ET67.js +0 -40
  592. package/dist/summary.integration.spec-GW5UGDDU.js +0 -405
  593. package/dist/summaryInput-ZO5TPARQ.js +0 -238
  594. package/dist/sunburst-6VJS2SUY.js +0 -34
  595. package/dist/sunburst-LXRG2SFE.js +0 -274
  596. package/dist/survival-QXHY7JRR.js +0 -49
  597. package/dist/survival-U6J6KFN2.js +0 -1248
  598. package/dist/survival.integration.spec-HN3LL6IY.js +0 -609
  599. package/dist/svgraph-CVI27CTM.js +0 -1377
  600. package/dist/svmr-GZHAP5IV.js +0 -3834
  601. package/dist/swimmer-M4JGBO72.js +0 -993
  602. package/dist/table-QO22C2ER.js +0 -192
  603. package/dist/termCollection-EN73BZV5.js +0 -247
  604. package/dist/termCollection-KWNFLRWJ.js +0 -29
  605. package/dist/termCollection.unit.spec-Z27AZUE6.js +0 -295
  606. package/dist/termCollectionFractionSelection-Q7QFEPKA.js +0 -38
  607. package/dist/termCollectionFractionSelection.unit.spec-PYLIFZN5.js +0 -184
  608. package/dist/tk-BISILMKL.js +0 -1198
  609. package/dist/tk-WVEDS5OU.js +0 -38
  610. package/dist/tp.ui-CG36YXBY.js +0 -1453
  611. package/dist/tvs.categorical-GCJISWBS.js +0 -28
  612. package/dist/tvs.condition-YTCVMB3I.js +0 -160
  613. package/dist/tvs.dt-UCSZ5S44.js +0 -34
  614. package/dist/tvs.dtcnv.categorical-KYB6XPL3.js +0 -31
  615. package/dist/tvs.dtcnv.continuous-MJWJNMKJ.js +0 -72
  616. package/dist/tvs.dtfusion-IZCEMTH5.js +0 -31
  617. package/dist/tvs.dtitd-DZ4WWGNO.js +0 -31
  618. package/dist/tvs.dtsnvindel-PMJCV4E7.js +0 -31
  619. package/dist/tvs.dtsv-5K2RNWDH.js +0 -31
  620. package/dist/tvs.multivalue-6NSC6JPR.js +0 -84
  621. package/dist/tvs.numeric-7U2NDY4A.js +0 -32
  622. package/dist/tvs.samplelst-3SIYTFWZ.js +0 -95
  623. package/dist/tvs.survival-Q3F5SLBW.js +0 -110
  624. package/dist/tvs.termCollection-OR73LBNX.js +0 -118
  625. package/dist/vocabulary-RWRAQ4VJ.js +0 -32
  626. package/dist/wsi.direct-HABLR3IF.js +0 -11515
  627. /package/dist/{2dmaf-4W2R2HXG.js.map → 2dmaf-CSBPMYHO.js.map} +0 -0
  628. /package/dist/{AggMatrixInput-3SQ7UW5L.js.map → AggMatrixInput-2HST4LLJ.js.map} +0 -0
  629. /package/dist/{AggregateMatrix-QI55DXDU.js.map → AggregateMatrix-UPOAX44L.js.map} +0 -0
  630. /package/dist/{AppHeader-C26OHIUQ.js.map → AppHeader-H5QBVKUS.js.map} +0 -0
  631. /package/dist/{BoxPlot-27OYBGJ3.js.map → BoxPlot-JTBQA6PL.js.map} +0 -0
  632. /package/dist/{CorrelationVolcano-XIMXCSHG.js.map → CorrelationVolcano-AWBPVDMT.js.map} +0 -0
  633. /package/dist/{Cuminc-737O733E.js.map → Cuminc-3BXJVWIH.js.map} +0 -0
  634. /package/dist/{DE-EDTGDY6L.js.map → DE-237VV46D.js.map} +0 -0
  635. /package/dist/{DEinput-ZN76I5M5.js.map → DEinput-W443UW5T.js.map} +0 -0
  636. /package/dist/{DM-25IRANGL.js.map → DM-TIW623IR.js.map} +0 -0
  637. /package/dist/{DifferentialAnalysis-7HQYEA5T.js.map → DifferentialAnalysis-PHUA2GPK.js.map} +0 -0
  638. /package/dist/{Disco-4YNXWGRX.js.map → Disco-WHV52SCI.js.map} +0 -0
  639. /package/dist/{Disco.UI-67HBGS4Y.js.map → Disco.UI-UDUXNCZX.js.map} +0 -0
  640. /package/dist/{DmrPlot-KZVDVPUT.js.map → DmrPlot-FZCD6FTX.js.map} +0 -0
  641. /package/dist/{GB-HT3B7Y7R.js.map → GB-6UW5LOUV.js.map} +0 -0
  642. /package/dist/{GSEA-CMFMNK5Y.js.map → GSEA-3CNHMK6M.js.map} +0 -0
  643. /package/dist/{GeneExpInput-HMGV23E7.js.map → GeneExpInput-ZOVP7BFY.js.map} +0 -0
  644. /package/dist/{Geomap-RB4SGVPC.js.map → Geomap-JREOIESM.js.map} +0 -0
  645. /package/dist/{HicApp-YRP6YQFA.js.map → HicApp-RKAMIUXQ.js.map} +0 -0
  646. /package/dist/{IDCViewer-OUSOZNSR.js.map → IDCViewer-KXV4FU3V.js.map} +0 -0
  647. /package/dist/{NumBinaryEditor-YFQDPBB6.js.map → NumBinaryEditor-FNVYUK2J.js.map} +0 -0
  648. /package/dist/{NumBinaryEditor.unit.spec-6YC5PCPK.js.map → NumBinaryEditor.unit.spec-PWR23U3J.js.map} +0 -0
  649. /package/dist/{NumContEditor-EH6MA2RW.js.map → NumContEditor-YLBJW64K.js.map} +0 -0
  650. /package/dist/{NumContEditor.unit.spec-Q2JBVIRT.js.map → NumContEditor.unit.spec-6JWBCPFY.js.map} +0 -0
  651. /package/dist/{NumCustomBinEditor-USQA3BC6.js.map → NumCustomBinEditor-42AFCXRN.js.map} +0 -0
  652. /package/dist/{NumCustomBinEditor.unit.spec-PE2HFRCK.js.map → NumCustomBinEditor.unit.spec-AFBTF2CL.js.map} +0 -0
  653. /package/dist/{NumDiscreteEditor-VKE4WT24.js.map → NumDiscreteEditor-FJIBZTBP.js.map} +0 -0
  654. /package/dist/{NumDiscreteEditor.unit.spec-JNG673LE.js.map → NumDiscreteEditor.unit.spec-MC4INDCB.js.map} +0 -0
  655. /package/dist/{NumRegularBinEditor-KCCPGJSX.js.map → NumRegularBinEditor-2WRE72TL.js.map} +0 -0
  656. /package/dist/{NumRegularBinEditor.unit.spec-4BLKQRZU.js.map → NumRegularBinEditor.unit.spec-L3S6NRCM.js.map} +0 -0
  657. /package/dist/{NumSplineEditor-4YELHGUO.js.map → NumSplineEditor-TVMVAN7I.js.map} +0 -0
  658. /package/dist/{NumSplineEditor.unit.spec-CKHHK6GH.js.map → NumSplineEditor.unit.spec-GEL36GZZ.js.map} +0 -0
  659. /package/dist/{NumericDensity-LCFM7VSY.js.map → NumericDensity-BNFAVOFO.js.map} +0 -0
  660. /package/dist/{NumericDensity.unit.spec-R4ARTJ5I.js.map → NumericDensity.unit.spec-XBYUFBTQ.js.map} +0 -0
  661. /package/dist/{NumericHandler-2OHRSY6Z.js.map → NumericHandler-4VFFJNX6.js.map} +0 -0
  662. /package/dist/{NumericHandler.unit.spec-M3TRIFZW.js.map → NumericHandler.unit.spec-76T2IVRS.js.map} +0 -0
  663. /package/dist/{ProteomeInput-G2EP6QH2.js.map → ProteomeInput-M5UIO73Q.js.map} +0 -0
  664. /package/dist/{Regression-2HKE6C7F.js.map → Regression-5LB5TLA6.js.map} +0 -0
  665. /package/dist/{RunChart2-WRVW63PB.js.map → RunChart2-HIFXOEKZ.js.map} +0 -0
  666. /package/dist/{SC-37RDNFGH.js.map → SC-SMMW5MJG.js.map} +0 -0
  667. /package/dist/{Violin-KD6FPWC7.js.map → Violin-COAFYZOV.js.map} +0 -0
  668. /package/dist/{Volcano-U62TCDEL.js.map → Volcano-62II76B4.js.map} +0 -0
  669. /package/dist/{Wsi-PB77PVAA.js.map → Wsi-OYW2L7FR.js.map} +0 -0
  670. /package/dist/{aboutSunburst-5Z24ODIN.js.map → aboutSunburst-3FYJGR6B.js.map} +0 -0
  671. /package/dist/{adSandbox-AFORHU3V.js.map → adSandbox-4VHYWBQC.js.map} +0 -0
  672. /package/dist/{animatedBubbleChart-F75OBRZW.js.map → animatedBubbleChart-QCCIC5IT.js.map} +0 -0
  673. /package/dist/{app-4RZ76DZZ.js.map → app-IF7YPCGZ.js.map} +0 -0
  674. /package/dist/{app-IHE3RNI5.js.map → app-JZ43TSJP.js.map} +0 -0
  675. /package/dist/{bam-IIRZX3IK.js.map → bam-2VPZGSW3.js.map} +0 -0
  676. /package/dist/{barchart-UIHRIMOE.js.map → barchart-VYTWYYGG.js.map} +0 -0
  677. /package/dist/{barchart2-DG3S6FDJ.js.map → barchart2-XC7J4VEO.js.map} +0 -0
  678. /package/dist/{block-COZKGPXY.js.map → block-YGQFUK5L.js.map} +0 -0
  679. /package/dist/{block.init-UBXYVTPQ.js.map → block.init-BVP3YZHQ.js.map} +0 -0
  680. /package/dist/{block.mds.expressionrank-KSXPPPGR.js.map → block.mds.expressionrank-RKDDKY4J.js.map} +0 -0
  681. /package/dist/{block.mds.geneboxplot-5RDFDVDE.js.map → block.mds.geneboxplot-3FZ3EZZ6.js.map} +0 -0
  682. /package/dist/{block.mds.junction-LMM24KXJ.js.map → block.mds.junction-MCOG37RA.js.map} +0 -0
  683. /package/dist/{block.mds.svcnv-4XRXZMPS.js.map → block.mds.svcnv-IEOR5IQZ.js.map} +0 -0
  684. /package/dist/{block.svg-VAKLMPMS.js.map → block.svg-3XHRHYCV.js.map} +0 -0
  685. /package/dist/{block.tk.aicheck-6GHZK2YY.js.map → block.tk.aicheck-TMDUGNZX.js.map} +0 -0
  686. /package/dist/{block.tk.bam-7H3BSHR2.js.map → block.tk.bam-73KW4QEJ.js.map} +0 -0
  687. /package/dist/{block.tk.bigwig.ui-KX2GACY5.js.map → block.tk.bigwig.ui-E5W6R7DQ.js.map} +0 -0
  688. /package/dist/{block.tk.hicstraw-OOWEWGMF.js.map → block.tk.hicstraw-BNNE6ZMW.js.map} +0 -0
  689. /package/dist/{block.tk.junction-U7W36OZA.js.map → block.tk.junction-DMPRZRNY.js.map} +0 -0
  690. /package/dist/{block.tk.junction.textmatrixui-PAMSBYZT.js.map → block.tk.junction.textmatrixui-XS2E7MQL.js.map} +0 -0
  691. /package/dist/{block.tk.ld-RFQPDG7Q.js.map → block.tk.ld-QD3XDLO4.js.map} +0 -0
  692. /package/dist/{block.tk.menu-JDJU2OGK.js.map → block.tk.menu-S6XI732E.js.map} +0 -0
  693. /package/dist/{block.tk.pgv-G2UFCQUT.js.map → block.tk.pgv-KH4TMR3A.js.map} +0 -0
  694. /package/dist/{brainImaging-ASAHWZJH.js.map → brainImaging-NK4JENN3.js.map} +0 -0
  695. /package/dist/{brainRegions-XTJDLUU4.js.map → brainRegions-YUEMTKYH.js.map} +0 -0
  696. /package/dist/{bubbleHeatmap-UPUITTU6.js.map → bubbleHeatmap-LQCVS4WK.js.map} +0 -0
  697. /package/dist/{cellTypeBubbleHeatmap-25SOXC2Q.js.map → cellTypeBubbleHeatmap-DFRSPWAY.js.map} +0 -0
  698. /package/dist/{chunk-I7R6YROK.js.map → chunk-37ZEGLVY.js.map} +0 -0
  699. /package/dist/{chunk-NUGYNLTL.js.map → chunk-3RPX4ZVV.js.map} +0 -0
  700. /package/dist/{chunk-72QBXULB.js.map → chunk-4LK5YFHF.js.map} +0 -0
  701. /package/dist/{chunk-7APH7QLC.js.map → chunk-4WFXCUT4.js.map} +0 -0
  702. /package/dist/{chunk-UU3FWU6D.js.map → chunk-5LY2ASQX.js.map} +0 -0
  703. /package/dist/{chunk-KLJM7HE5.js.map → chunk-6V7ITU5F.js.map} +0 -0
  704. /package/dist/{chunk-QFOT5WAZ.js.map → chunk-AAQDXVQT.js.map} +0 -0
  705. /package/dist/{chunk-QGCB5AKN.js.map → chunk-ADJBQCFM.js.map} +0 -0
  706. /package/dist/{chunk-325X3T7G.js.map → chunk-ATIITEOR.js.map} +0 -0
  707. /package/dist/{chunk-DR5JLHTB.js.map → chunk-BWVJAFEQ.js.map} +0 -0
  708. /package/dist/{chunk-U4PLKSSS.js.map → chunk-CDCNBN6G.js.map} +0 -0
  709. /package/dist/{chunk-D6TLBMIX.js.map → chunk-CGSBIFFO.js.map} +0 -0
  710. /package/dist/{chunk-LFH5VSSF.js.map → chunk-EARMOT6Q.js.map} +0 -0
  711. /package/dist/{chunk-UXLT7W2N.js.map → chunk-ECCXTB5S.js.map} +0 -0
  712. /package/dist/{chunk-5QGC2624.js.map → chunk-EKIWZUEO.js.map} +0 -0
  713. /package/dist/{chunk-4DFKK46J.js.map → chunk-FALP6GXG.js.map} +0 -0
  714. /package/dist/{chunk-RGOZHZCN.js.map → chunk-FRD6LQF7.js.map} +0 -0
  715. /package/dist/{chunk-GDIKNIEA.js.map → chunk-FRPYXYYQ.js.map} +0 -0
  716. /package/dist/{chunk-CHQ43UJQ.js.map → chunk-FV2GLMSI.js.map} +0 -0
  717. /package/dist/{chunk-GONC3LVY.js.map → chunk-G6SP5IQT.js.map} +0 -0
  718. /package/dist/{chunk-A7GCFL3R.js.map → chunk-GZL6YFZJ.js.map} +0 -0
  719. /package/dist/{chunk-RJKY22D4.js.map → chunk-H353EVLK.js.map} +0 -0
  720. /package/dist/{chunk-U7G65D2G.js.map → chunk-HKR5R5YR.js.map} +0 -0
  721. /package/dist/{chunk-W3K7KLIR.js.map → chunk-HULTLO4D.js.map} +0 -0
  722. /package/dist/{chunk-K4LZR3HU.js.map → chunk-IIN4CG67.js.map} +0 -0
  723. /package/dist/{chunk-54W2RWRB.js.map → chunk-ISWFHYEZ.js.map} +0 -0
  724. /package/dist/{chunk-EM76Y3HQ.js.map → chunk-JBUTLI3V.js.map} +0 -0
  725. /package/dist/{chunk-E2Z4X6C2.js.map → chunk-JCNZJKLK.js.map} +0 -0
  726. /package/dist/{chunk-MZTVOOR6.js.map → chunk-JEVDRC64.js.map} +0 -0
  727. /package/dist/{chunk-ZNHC46CT.js.map → chunk-KBZAB2H2.js.map} +0 -0
  728. /package/dist/{chunk-OGDBTL5C.js.map → chunk-KDKJLITX.js.map} +0 -0
  729. /package/dist/{chunk-2ZYAC3DC.js.map → chunk-KNFJN6CM.js.map} +0 -0
  730. /package/dist/{chunk-6B4AME6E.js.map → chunk-KSYGLBZ4.js.map} +0 -0
  731. /package/dist/{chunk-HGC4EON3.js.map → chunk-KUOXZIH4.js.map} +0 -0
  732. /package/dist/{chunk-QRZRAMHA.js.map → chunk-KZ54E2FU.js.map} +0 -0
  733. /package/dist/{chunk-K55KOEI6.js.map → chunk-L7FMBWWK.js.map} +0 -0
  734. /package/dist/{chunk-VTMNHAFC.js.map → chunk-LMONIWPI.js.map} +0 -0
  735. /package/dist/{chunk-HM23KADV.js.map → chunk-LTY7WOAT.js.map} +0 -0
  736. /package/dist/{chunk-E4WAVMI5.js.map → chunk-LYDN734A.js.map} +0 -0
  737. /package/dist/{chunk-XSBGICK5.js.map → chunk-LYMYO6TY.js.map} +0 -0
  738. /package/dist/{chunk-N2JOZ3QD.js.map → chunk-MRZUZDRA.js.map} +0 -0
  739. /package/dist/{chunk-GIZTZCE5.js.map → chunk-NGBI4FST.js.map} +0 -0
  740. /package/dist/{chunk-NG2U3VHX.js.map → chunk-OKM4ACTA.js.map} +0 -0
  741. /package/dist/{chunk-3UXHTSZJ.js.map → chunk-OUDHHMZU.js.map} +0 -0
  742. /package/dist/{chunk-PAF5KZCR.js.map → chunk-OYXRYWGU.js.map} +0 -0
  743. /package/dist/{chunk-K7YJILBY.js.map → chunk-P2HMCEMM.js.map} +0 -0
  744. /package/dist/{chunk-F2RTD23W.js.map → chunk-P5FHYGJK.js.map} +0 -0
  745. /package/dist/{chunk-JWX6GEWQ.js.map → chunk-P7QDNXSH.js.map} +0 -0
  746. /package/dist/{chunk-GAYYXHOG.js.map → chunk-Q7GK35TB.js.map} +0 -0
  747. /package/dist/{chunk-YHW2RAAG.js.map → chunk-QXRM5NMW.js.map} +0 -0
  748. /package/dist/{chunk-ZSTD6Y3K.js.map → chunk-RI3GAHQE.js.map} +0 -0
  749. /package/dist/{chunk-MBWG3QHI.js.map → chunk-SH7SL4I5.js.map} +0 -0
  750. /package/dist/{chunk-CQWR4QZO.js.map → chunk-SJHWZZ4M.js.map} +0 -0
  751. /package/dist/{chunk-SI2KSG6E.js.map → chunk-TDBS3UFZ.js.map} +0 -0
  752. /package/dist/{chunk-AGWIWLOP.js.map → chunk-U2OB3S3M.js.map} +0 -0
  753. /package/dist/{chunk-ZBNPXXMK.js.map → chunk-UA2ADBTO.js.map} +0 -0
  754. /package/dist/{chunk-VHQDN3OA.js.map → chunk-USGUVW5Q.js.map} +0 -0
  755. /package/dist/{chunk-5YKXYWP3.js.map → chunk-UWVDD4C2.js.map} +0 -0
  756. /package/dist/{chunk-Z7CCL464.js.map → chunk-W2SBSEKT.js.map} +0 -0
  757. /package/dist/{chunk-ES7XNERS.js.map → chunk-XAHZYGKW.js.map} +0 -0
  758. /package/dist/{chunk-DDABG5BR.js.map → chunk-XKWLP433.js.map} +0 -0
  759. /package/dist/{chunk-G5BQJGRA.js.map → chunk-YWB2QHV2.js.map} +0 -0
  760. /package/dist/{chunk-OCOB7XJW.js.map → chunk-Z6M77JDG.js.map} +0 -0
  761. /package/dist/{chunk-XQIB27PB.js.map → chunk-Z7RFFJXU.js.map} +0 -0
  762. /package/dist/{chunk-7ZTUUKLX.js.map → chunk-ZG7EBTHK.js.map} +0 -0
  763. /package/dist/{chunk-FEE2HAON.js.map → chunk-ZJLJHQWM.js.map} +0 -0
  764. /package/dist/{chunk-7HBAALWJ.js.map → chunk-ZKU6RST3.js.map} +0 -0
  765. /package/dist/{chunk-WSLS55SH.js.map → chunk-ZLWEUYPT.js.map} +0 -0
  766. /package/dist/{cohort-ZFGFEEBD.js.map → cohort-X327AG3O.js.map} +0 -0
  767. /package/dist/{cohortSunburst-EEPGV2RB.js.map → cohortSunburst-GNWIVDNA.js.map} +0 -0
  768. /package/dist/{condition-7EWFLQSO.js.map → condition-3M4L2HIM.js.map} +0 -0
  769. /package/dist/{controls-QHDSDWKI.js.map → controls-OKNHZJOU.js.map} +0 -0
  770. /package/dist/{controls.config-LBSCZ6GP.js.map → controls.config-FUKM5LEP.js.map} +0 -0
  771. /package/dist/{correlation-IJQJPNNP.js.map → correlation-PC4MXCFM.js.map} +0 -0
  772. /package/dist/{customdata.inputui-TZGX2CUD.js.map → customdata.inputui-HCRTX56R.js.map} +0 -0
  773. /package/dist/{dataDownload-33EWD3AD.js.map → dataDownload-HJO7UW7S.js.map} +0 -0
  774. /package/dist/{databrowser.ui-YNKDTAAN.js.map → databrowser.ui-EY3H6B4S.js.map} +0 -0
  775. /package/dist/{dictionary-OTR6Z5EZ.js.map → dictionary-L6CTMFY7.js.map} +0 -0
  776. /package/dist/{dnaMethylation-LQTCTOOE.js.map → dnaMethylation-FEB5GGXK.js.map} +0 -0
  777. /package/dist/{dnaMethylation.integration.spec-U5VQYAK3.js.map → dnaMethylation.integration.spec-4DC6TJNZ.js.map} +0 -0
  778. /package/dist/{dofetch-HLG7G7RX.js.map → dofetch-YFGOKCKV.js.map} +0 -0
  779. /package/dist/{e2pca-AXDPYR7U.js.map → e2pca-QSAVTCPL.js.map} +0 -0
  780. /package/dist/{ep-4WK46CH7.js.map → ep-LAFLKVSW.js.map} +0 -0
  781. /package/dist/{expclust.gdc.spec-CYGWGREQ.js.map → expclust.gdc.spec-OM4J6WBL.js.map} +0 -0
  782. /package/dist/{facet-IZSSZDHK.js.map → facet-WHTV2VIX.js.map} +0 -0
  783. /package/dist/{gb-AUZBUZFM.js.map → gb-DLXWWBB6.js.map} +0 -0
  784. /package/dist/{geneExpClustering-AQBFLXLP.js.map → geneExpClustering-KB2MB2VM.js.map} +0 -0
  785. /package/dist/{geneExpression-HDJVPVPK.js.map → geneExpression-3D7PDZ2I.js.map} +0 -0
  786. /package/dist/{geneExpression-V4JMTMLI.js.map → geneExpression-3RSRGYGQ.js.map} +0 -0
  787. /package/dist/{geneORA-LDFFSEMQ.js.map → geneORA-J4KVSZT3.js.map} +0 -0
  788. /package/dist/{geneRanking-IVKDSNDV.js.map → geneRanking-HKLJ7CN6.js.map} +0 -0
  789. /package/dist/{geneVariant-TK3FJ22L.js.map → geneVariant-3BRGRFPT.js.map} +0 -0
  790. /package/dist/{geneVariant-7X7EEUDW.js.map → geneVariant-VI5DGDAB.js.map} +0 -0
  791. /package/dist/{geneVariant.integration.spec-ZHAFWQ2O.js.map → geneVariant.integration.spec-3IBX4NNE.js.map} +0 -0
  792. /package/dist/{genefusion.ui-U5YPVXAF.js.map → genefusion.ui-OESQL7TW.js.map} +0 -0
  793. /package/dist/{geneset-NSHQ2NDR.js.map → geneset-3BMV3KP4.js.map} +0 -0
  794. /package/dist/{genomeBrowser.spec-HP4OQPCV.js.map → genomeBrowser.spec-I3WKAITC.js.map} +0 -0
  795. /package/dist/{grin2-5WKONQPG.js.map → grin2-4BBCH3H5.js.map} +0 -0
  796. /package/dist/{grin2-V2ZBOJBO.js.map → grin2-5L2U32LY.js.map} +0 -0
  797. /package/dist/{hierCluster-7IOPNYFN.js.map → hierCluster-KM56NTN6.js.map} +0 -0
  798. /package/dist/{hierCluster-IDBCUKHJ.js.map → hierCluster-XCJF5IQ6.js.map} +0 -0
  799. /package/dist/{hierCluster.config-Z4NRL5P5.js.map → hierCluster.config-E2EYOXX6.js.map} +0 -0
  800. /package/dist/{hierCluster.integration.spec-PHEXOGPI.js.map → hierCluster.integration.spec-IIEJ2YEI.js.map} +0 -0
  801. /package/dist/{hierCluster.interactivity-NHZ5EPBV.js.map → hierCluster.interactivity-AJFEJTGX.js.map} +0 -0
  802. /package/dist/{hierCluster.renderers-WXJUMDFN.js.map → hierCluster.renderers-XKI344FM.js.map} +0 -0
  803. /package/dist/{imagePlot-NMNCAYS7.js.map → imagePlot-3B3BXI6I.js.map} +0 -0
  804. /package/dist/{importPlot-HZML5XMJ.js.map → importPlot-JDVH7Q2Z.js.map} +0 -0
  805. /package/dist/{isoformExpression-4IU4AUQ2.js.map → isoformExpression-UFHY5LB2.js.map} +0 -0
  806. /package/dist/{isoformExpression.unit.spec-KKMKU5Z2.js.map → isoformExpression.unit.spec-U6GDCNQR.js.map} +0 -0
  807. /package/dist/{junction-EXA2WANI.js.map → junction-W2STW5WW.js.map} +0 -0
  808. /package/dist/{junction.unit.spec-H3FGTLEP.js.map → junction.unit.spec-R4DIBFLB.js.map} +0 -0
  809. /package/dist/{launch.adhoc-YA6FRHSC.js.map → launch.adhoc-KN7HFHJH.js.map} +0 -0
  810. /package/dist/{leftlabel.sample-N6M4OL2X.js.map → leftlabel.sample-CK2EK7J6.js.map} +0 -0
  811. /package/dist/{lollipop-EWLGYDIR.js.map → lollipop-EKIGAAK6.js.map} +0 -0
  812. /package/dist/{maf-PXMHR3PY.js.map → maf-MK2MM7J4.js.map} +0 -0
  813. /package/dist/{maftimeline-QFKT7PW2.js.map → maftimeline-7RTMXWFA.js.map} +0 -0
  814. /package/dist/{matrix-KASG3KIY.js.map → matrix-UM2EZODJ.js.map} +0 -0
  815. /package/dist/{matrix-VSX63V3L.js.map → matrix-YBL4FZYJ.js.map} +0 -0
  816. /package/dist/{matrix.cells-7TTOQRWU.js.map → matrix.cells-45ZFADK5.js.map} +0 -0
  817. /package/dist/{matrix.config-U3I726EC.js.map → matrix.config-QTBIRXKU.js.map} +0 -0
  818. /package/dist/{matrix.data-Y4DXSR2P.js.map → matrix.data-WAMOLSKW.js.map} +0 -0
  819. /package/dist/{matrix.groups-C5CHYWQZ.js.map → matrix.groups-RXFXZABD.js.map} +0 -0
  820. /package/dist/{matrix.integration.spec-4KWLFXMY.js.map → matrix.integration.spec-JZDZRVOK.js.map} +0 -0
  821. /package/dist/{matrix.interactivity-JK6URU6Z.js.map → matrix.interactivity-P4VYGTB2.js.map} +0 -0
  822. /package/dist/{matrix.layout-KKOA7GGL.js.map → matrix.layout-WWPRXXHX.js.map} +0 -0
  823. /package/dist/{matrix.legend-3FFHXTLX.js.map → matrix.legend-4MCMVVKO.js.map} +0 -0
  824. /package/dist/{matrix.renderers-F7EWYQWL.js.map → matrix.renderers-JQTUODDS.js.map} +0 -0
  825. /package/dist/{matrix.serieses-I4JWWONC.js.map → matrix.serieses-3IDRKSGO.js.map} +0 -0
  826. /package/dist/{matrix.sort-5JTCLBPB.js.map → matrix.sort-EAWOB56R.js.map} +0 -0
  827. /package/dist/{matrix.sort.unit.spec-EW53F5DT.js.map → matrix.sort.unit.spec-FOWLULHA.js.map} +0 -0
  828. /package/dist/{matrix.sorterUi.unit.spec-OGTYY6GC.js.map → matrix.sorterUi.unit.spec-U5CQDTMX.js.map} +0 -0
  829. /package/dist/{matrix.unit.spec-RXKKHRUN.js.map → matrix.unit.spec-VTLD4EOZ.js.map} +0 -0
  830. /package/dist/{mavb-YI2WEGFI.js.map → mavb-JIIXJHBK.js.map} +0 -0
  831. /package/dist/{mds.samplescatterplot-GGJE67MF.js.map → mds.samplescatterplot-PTWA2V6E.js.map} +0 -0
  832. /package/dist/{mds.survivalplot-A6DS6FHO.js.map → mds.survivalplot-XVZ66GP5.js.map} +0 -0
  833. /package/dist/{multivalue-3WCYDVL3.js.map → multivalue-2H7QX7MG.js.map} +0 -0
  834. /package/dist/{numericDictTermCluster-AOTEPNEI.js.map → numericDictTermCluster-EHCDRT6J.js.map} +0 -0
  835. /package/dist/{oncomatrix-BB4SB5AJ.js.map → oncomatrix-RZLZUC32.js.map} +0 -0
  836. /package/dist/{oncomatrix.spec-M4ZC3KFC.js.map → oncomatrix.spec-Z5UQGTW2.js.map} +0 -0
  837. /package/dist/{plot.2dvaf-QUD743E6.js.map → plot.2dvaf-IRBZBJ6B.js.map} +0 -0
  838. /package/dist/{plot.app-35I4DJXK.js.map → plot.app-I23IAZ3Z.js.map} +0 -0
  839. /package/dist/{plot.barplot-7OL4HWZB.js.map → plot.barplot-PYLRAZB7.js.map} +0 -0
  840. /package/dist/{plot.boxplot-N2VSPDYA.js.map → plot.boxplot-VBWU7DUG.js.map} +0 -0
  841. /package/dist/{plot.brainImaging-4PIAFROV.js.map → plot.brainImaging-HDJMEMTK.js.map} +0 -0
  842. /package/dist/{plot.disco-6CFYMWU3.js.map → plot.disco-5BVG3WMT.js.map} +0 -0
  843. /package/dist/{plot.ssgq-MGUBQNWE.js.map → plot.ssgq-S3BKXJMW.js.map} +0 -0
  844. /package/dist/{plot.vaf2cov-KVI2GMG4.js.map → plot.vaf2cov-VD7DU2XR.js.map} +0 -0
  845. /package/dist/{polar2-IGAOHGPE.js.map → polar2-PYLEVG7E.js.map} +0 -0
  846. /package/dist/{profileForms-MW7JQURG.js.map → profileForms-CI2YYD3Y.js.map} +0 -0
  847. /package/dist/{profilePlot-OVOSFR47.js.map → profilePlot-UCC4ZVHQ.js.map} +0 -0
  848. /package/dist/{proteinView-LFP5YYMK.js.map → proteinView-FBY6TK3S.js.map} +0 -0
  849. /package/dist/{proteomeCohortCompare-ONYL2UN4.js.map → proteomeCohortCompare-2VUSLC6I.js.map} +0 -0
  850. /package/dist/{pseudbulk.unit.spec-CGV4JTEK.js.map → pseudbulk.unit.spec-VPZWNTIA.js.map} +0 -0
  851. /package/dist/{pseudobulk-WFCQX5KR.js.map → pseudobulk-RUXGZ7OY.js.map} +0 -0
  852. /package/dist/{qualitative-6H674T7D.js.map → qualitative-3AVR4GRX.js.map} +0 -0
  853. /package/dist/{qualitative-4SLUE6BW.js.map → qualitative-5QNBKDOZ.js.map} +0 -0
  854. /package/dist/{radar2-QXHO2MQA.js.map → radar2-AOYMS54Y.js.map} +0 -0
  855. /package/dist/{radarFacility2-JCVOYMH4.js.map → radarFacility2-PP2MAXIP.js.map} +0 -0
  856. /package/dist/{render-IIFS3Y2N.js.map → render-ASLVKYEX.js.map} +0 -0
  857. /package/dist/{report-NFBB3PUI.js.map → report-UVYKDMQC.js.map} +0 -0
  858. /package/dist/{sampleView-XQXKIPC7.js.map → sampleView-6UHR7FSR.js.map} +0 -0
  859. /package/dist/{samplelst-RIC5E2W4.js.map → samplelst-ABC2CCNN.js.map} +0 -0
  860. /package/dist/{samplematrix-WLCFCPBR.js.map → samplematrix-36UCHZLC.js.map} +0 -0
  861. /package/dist/{sc-TXRF7D6F.js.map → sc-XLSAM725.js.map} +0 -0
  862. /package/dist/{scatter-YQ47446T.js.map → scatter-ADOBAOW2.js.map} +0 -0
  863. /package/dist/{scatter-JUGGPR4B.js.map → scatter-ZNVLI627.js.map} +0 -0
  864. /package/dist/{selectGenomeWithTklst-2ELB6HQK.js.map → selectGenomeWithTklst-DPDBDYTR.js.map} +0 -0
  865. /package/dist/{singleCellCellType-DUTH4SZF.js.map → singleCellCellType-STVPYZD4.js.map} +0 -0
  866. /package/dist/{singleCellCellType.unit.spec-PWP6I5PZ.js.map → singleCellCellType.unit.spec-ZLY37AXL.js.map} +0 -0
  867. /package/dist/{singleCellGeneExpression-3563T7GE.js.map → singleCellGeneExpression-PCGLU35S.js.map} +0 -0
  868. /package/dist/{singleCellGeneExpression.unit.spec-66IDCFJC.js.map → singleCellGeneExpression.unit.spec-PSLKK362.js.map} +0 -0
  869. /package/dist/{singleCellNumericValue-XVQTKLTS.js.map → singleCellNumericValue-SR3SJEOB.js.map} +0 -0
  870. /package/dist/{singleCellNumericValue.unit.spec-LJSTGKNS.js.map → singleCellNumericValue.unit.spec-PXVXJ4HJ.js.map} +0 -0
  871. /package/dist/{singleCellPlot-MKYJJXSG.js.map → singleCellPlot-JXB7M6OH.js.map} +0 -0
  872. /package/dist/{singlecell-ANCWPAAO.js.map → singlecell-EDSX56QO.js.map} +0 -0
  873. /package/dist/{singlecell-KMRVFOC5.js.map → singlecell-PH55NFRX.js.map} +0 -0
  874. /package/dist/{snp-B5UHGWVD.js.map → snp-3VEYBTAQ.js.map} +0 -0
  875. /package/dist/{snp.unit.spec-YAHITASM.js.map → snp.unit.spec-V7OB44US.js.map} +0 -0
  876. /package/dist/{snplocus-MLGICRGT.js.map → snplocus-HX67RBT5.js.map} +0 -0
  877. /package/dist/{snplst-DZPIQEKI.js.map → snplst-H5YXCY33.js.map} +0 -0
  878. /package/dist/{spliceevent.a53ss.diagram-4NYPSFC2.js.map → spliceevent.a53ss.diagram-DBDEEHSK.js.map} +0 -0
  879. /package/dist/{spliceevent.exonskip.diagram-WLLTP7NP.js.map → spliceevent.exonskip.diagram-EYEL6BY6.js.map} +0 -0
  880. /package/dist/{spliceevent.noeventdiagram-NOSO752Y.js.map → spliceevent.noeventdiagram-64OEXK7U.js.map} +0 -0
  881. /package/dist/{ssGSEA-4DVY6Z5U.js.map → ssGSEA-3YWQH6KM.js.map} +0 -0
  882. /package/dist/{ssGSEA.unit.spec-UDXV4Q7S.js.map → ssGSEA.unit.spec-23V2IXP5.js.map} +0 -0
  883. /package/dist/{stattable-T5X76Q32.js.map → stattable-GPSBCNYC.js.map} +0 -0
  884. /package/dist/{studyCatalog-O3EPBJPW.js.map → studyCatalog-W5PATRNY.js.map} +0 -0
  885. /package/dist/{summarizeCnvGeneexp-ST36TPEJ.js.map → summarizeCnvGeneexp-YGI23QH5.js.map} +0 -0
  886. /package/dist/{summarizeGeneexpSurvival-AZOFCBMT.js.map → summarizeGeneexpSurvival-KQ6OLWYR.js.map} +0 -0
  887. /package/dist/{summarizeMutationCnv-HRCW6BYV.js.map → summarizeMutationCnv-XDHBNEPU.js.map} +0 -0
  888. /package/dist/{summarizeMutationDiagnosis-RQQO2MOR.js.map → summarizeMutationDiagnosis-VKIJRJ2Q.js.map} +0 -0
  889. /package/dist/{summarizeMutationSurvival-UHSUJ7FU.js.map → summarizeMutationSurvival-57YKJGLE.js.map} +0 -0
  890. /package/dist/{summary-ZMM5ET67.js.map → summary-4WQOVIUF.js.map} +0 -0
  891. /package/dist/{summary.integration.spec-GW5UGDDU.js.map → summary.integration.spec-FRNWBU7F.js.map} +0 -0
  892. /package/dist/{summaryInput-ZO5TPARQ.js.map → summaryInput-X7DS2YA7.js.map} +0 -0
  893. /package/dist/{sunburst-6VJS2SUY.js.map → sunburst-3OEAQA3O.js.map} +0 -0
  894. /package/dist/{sunburst-LXRG2SFE.js.map → sunburst-MSGTXYMM.js.map} +0 -0
  895. /package/dist/{survival-U6J6KFN2.js.map → survival-5KC5CNZU.js.map} +0 -0
  896. /package/dist/{survival-QXHY7JRR.js.map → survival-QXDS6N46.js.map} +0 -0
  897. /package/dist/{survival.integration.spec-HN3LL6IY.js.map → survival.integration.spec-PKENHLTZ.js.map} +0 -0
  898. /package/dist/{svgraph-CVI27CTM.js.map → svgraph-VJLB7BBN.js.map} +0 -0
  899. /package/dist/{svmr-GZHAP5IV.js.map → svmr-6BDEZAS6.js.map} +0 -0
  900. /package/dist/{swimmer-M4JGBO72.js.map → swimmer-R3DN7N36.js.map} +0 -0
  901. /package/dist/{table-QO22C2ER.js.map → table-YF5VORU6.js.map} +0 -0
  902. /package/dist/{termCollection-KWNFLRWJ.js.map → termCollection-3KGLZFDW.js.map} +0 -0
  903. /package/dist/{termCollection-EN73BZV5.js.map → termCollection-KSHVOPS5.js.map} +0 -0
  904. /package/dist/{termCollection.unit.spec-Z27AZUE6.js.map → termCollection.unit.spec-HTBDG5PL.js.map} +0 -0
  905. /package/dist/{termCollectionFractionSelection-Q7QFEPKA.js.map → termCollectionFractionSelection-MK4NKWUX.js.map} +0 -0
  906. /package/dist/{termCollectionFractionSelection.unit.spec-PYLIFZN5.js.map → termCollectionFractionSelection.unit.spec-AMF32FDN.js.map} +0 -0
  907. /package/dist/{tk-BISILMKL.js.map → tk-FDHBAKXQ.js.map} +0 -0
  908. /package/dist/{tk-WVEDS5OU.js.map → tk-Z54DOECH.js.map} +0 -0
  909. /package/dist/{tp.ui-CG36YXBY.js.map → tp.ui-M4TZVT53.js.map} +0 -0
  910. /package/dist/{tvs.categorical-GCJISWBS.js.map → tvs.categorical-HY3BWCZR.js.map} +0 -0
  911. /package/dist/{tvs.condition-YTCVMB3I.js.map → tvs.condition-Y36TRIX4.js.map} +0 -0
  912. /package/dist/{tvs.dt-UCSZ5S44.js.map → tvs.dt-XKVJZP7Y.js.map} +0 -0
  913. /package/dist/{tvs.dtcnv.categorical-KYB6XPL3.js.map → tvs.dtcnv.categorical-OMRZR4Y7.js.map} +0 -0
  914. /package/dist/{tvs.dtcnv.continuous-MJWJNMKJ.js.map → tvs.dtcnv.continuous-AGYOBI5K.js.map} +0 -0
  915. /package/dist/{tvs.dtfusion-IZCEMTH5.js.map → tvs.dtfusion-2JX5Y2IH.js.map} +0 -0
  916. /package/dist/{tvs.dtitd-DZ4WWGNO.js.map → tvs.dtitd-SDSLBBWC.js.map} +0 -0
  917. /package/dist/{tvs.dtsnvindel-PMJCV4E7.js.map → tvs.dtsnvindel-LI7K464K.js.map} +0 -0
  918. /package/dist/{tvs.dtsv-5K2RNWDH.js.map → tvs.dtsv-VRCLX7QY.js.map} +0 -0
  919. /package/dist/{tvs.multivalue-6NSC6JPR.js.map → tvs.multivalue-4OTY6J2S.js.map} +0 -0
  920. /package/dist/{tvs.numeric-7U2NDY4A.js.map → tvs.numeric-CDATYOR2.js.map} +0 -0
  921. /package/dist/{tvs.samplelst-3SIYTFWZ.js.map → tvs.samplelst-76JOJG2M.js.map} +0 -0
  922. /package/dist/{tvs.survival-Q3F5SLBW.js.map → tvs.survival-WTFJOKIZ.js.map} +0 -0
  923. /package/dist/{tvs.termCollection-OR73LBNX.js.map → tvs.termCollection-QQXAS7PE.js.map} +0 -0
  924. /package/dist/{vocabulary-RWRAQ4VJ.js.map → vocabulary-6ACAEFTL.js.map} +0 -0
  925. /package/dist/{wsi.direct-HABLR3IF.js.map → wsi.direct-OS32TQRM.js.map} +0 -0
@@ -1,2349 +0,0 @@
1
- import {
2
- convertUnits,
3
- isNumeric,
4
- isStrictNumeric
5
- } from "./chunk-W5J3LTYS.js";
6
- import {
7
- isNumericTerm
8
- } from "./chunk-QFQJO7LD.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-2N345NXD.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/daSampleLimits.js
426
- var maxSampleCutoff = 4e3;
427
- function sampleLimitAlert(total, noun = "samples", limit = maxSampleCutoff) {
428
- return total > limit ? `${total} ${noun} selected exceeds the limit of ${limit} per run. Please narrow the cohort.` : "";
429
- }
430
-
431
- // ../shared/utils/dist/src/dmrColors.js
432
- var HYPER_COLOR = "#e66101";
433
- var HYPO_COLOR = "#5e81f4";
434
-
435
- // ../shared/utils/dist/src/compute.percentile.js
436
- function computePercentile(values, percentile, sorted = false) {
437
- if (!sorted) values.sort((a, b) => a - b);
438
- const index = Math.abs(percentile / 100 * values.length - 1);
439
- const value = Number.isInteger(index) ? (values[index] + values[index + 1]) / 2 : values[Math.ceil(index)];
440
- return value;
441
- }
442
-
443
- // ../shared/utils/dist/src/hash.js
444
- var encoder = new TextEncoder();
445
- async function hash(message) {
446
- const msgUint8 = encoder.encode(message);
447
- const hashBuffer = await crypto.subtle.digest("SHA-1", msgUint8);
448
- const hashArray = Array.from(new Uint8Array(hashBuffer));
449
- const hashHex = hashArray.map((b) => b.toString(16).padStart(2, "0")).join("");
450
- return hexToBase64(hashHex).replace("=", "-");
451
- }
452
- function hexToBase64(hexStr) {
453
- return btoa(
454
- [...hexStr].reduce(
455
- (acc, _, i) => acc += !(i - 1 & 1) ? String.fromCharCode(parseInt(hexStr.substring(i - 1, i + 1), 16)) : "",
456
- ""
457
- )
458
- );
459
- }
460
-
461
- // ../shared/utils/dist/src/urljson.js
462
- var import_secure_json_parse = __toESM(require_secure_json_parse(), 1);
463
- var reserved = ["false", "true", "null", "undefined"];
464
- var delimiters = ['"', "{", "["];
465
- function encode(rawObject) {
466
- const params = [];
467
- for (const [key, value] of Object.entries(rawObject)) {
468
- if (typeof value == "string" && !isNumeric(value) && !reserved.includes(value) && !delimiters.includes(value[0])) {
469
- params.push(`${key}=${encodeURIComponent(value)}`);
470
- } else if (value !== void 0) {
471
- params.push(`${key}=${encodeURIComponent(JSON.stringify(value))}`);
472
- }
473
- }
474
- return params.join("&");
475
- }
476
-
477
- // ../shared/utils/dist/src/fetch-helpers.js
478
- async function processResponse(r) {
479
- const ct = r.headers.get("content-type");
480
- if (!ct) throw `missing response.header['content-type']`;
481
- if (ct.includes("/json")) {
482
- const payload = await r.json();
483
- return payload;
484
- }
485
- if (ct.includes("/text") || ct.includes("text/")) {
486
- return r.text();
487
- }
488
- if (ct.includes("multipart")) {
489
- if (ct.startsWith("multipart/form-data")) return processFormData(r);
490
- else throw `cannot handle response content-type: '${ct}'`;
491
- }
492
- if (ct == "application/x-ndjson-nestedkey") {
493
- return processNDJSON_nestedKey(r);
494
- }
495
- return r.blob();
496
- }
497
- async function processFormData(res) {
498
- const data = {};
499
- const form = await res.formData();
500
- for (const [key, value] of form.entries()) {
501
- if (value.type) {
502
- data[key] = { headers: { "content-type": value.type }, body: value };
503
- } else {
504
- const body = !value ? [] : value.trim().split("\n").map(JSON.parse);
505
- data[key] = { headers: { "content-type": "application/json" }, body };
506
- }
507
- }
508
- return data;
509
- }
510
- async function processNDJSON_nestedKey(r) {
511
- const stream = r.body.pipeThrough(new TextDecoderStream());
512
- const reader = stream.getReader();
513
- let rootObj = {};
514
- let buffer = "";
515
- let done = false;
516
- while (!done) {
517
- const readResult = await reader.read();
518
- done = readResult.done;
519
- if (done) break;
520
- const value = readResult.value;
521
- buffer += value;
522
- const parts = buffer.split("\n");
523
- buffer = parts.pop() ?? "";
524
- for (const line of parts) {
525
- if (line.trim()) {
526
- const [keys, data] = JSON.parse(line);
527
- if (!keys.length) rootObj = data;
528
- else {
529
- const lastKey = keys.pop();
530
- let target = rootObj;
531
- for (const k of keys) target = target[k];
532
- target[lastKey] = data;
533
- }
534
- }
535
- }
536
- }
537
- return rootObj;
538
- }
539
- var cacheLifetime = 1e3 * 60 * 5;
540
- async function getDataName(url, init) {
541
- const dataName = url + " | " + init.method + " | " + init.body + " | " + JSON.stringify(init.headers);
542
- return await hash(dataName);
543
- }
544
-
545
- // ../shared/utils/dist/src/fileSize.js
546
- function fileSize(v) {
547
- if (v > 1e9) return (v / 1e9).toFixed(2) + " GB";
548
- if (v > 1e6) return (v / 1e6).toFixed(2) + " MB";
549
- if (v > 1e3) return (v / 1e3).toFixed(2) + " KB";
550
- return v + " Bytes";
551
- }
552
-
553
- // ../shared/utils/dist/src/mds3tk.js
554
- var ssmIdFieldsSeparator = "__";
555
- function summarize_mclass(mlst) {
556
- const m2c = /* @__PURE__ */ new Map();
557
- const cnvs = [];
558
- for (const m of mlst) {
559
- if (m.dt == dtcnv) {
560
- cnvs.push(m);
561
- continue;
562
- }
563
- const key = m.class || m.dt;
564
- m2c.set(key, 1 + (m2c.get(key) || 0));
565
- }
566
- if (cnvs.length) {
567
- if (Number.isFinite(cnvs[0].value)) {
568
- m2c.set(dtcnv, cnvs.length);
569
- } else {
570
- for (const c of cnvs) {
571
- if (!c.class) continue;
572
- m2c.set(c.class, 1 + (m2c.get(c.class) || 0));
573
- }
574
- }
575
- }
576
- return [...m2c].sort((i, j) => j[1] - i[1]);
577
- }
578
- function guessSsmid(ssmid) {
579
- const l = ssmid.split(ssmIdFieldsSeparator);
580
- if (l.length == 4) {
581
- const [chr, tmp, ref, alt] = l;
582
- const pos = Number(tmp);
583
- if (Number.isNaN(pos)) throw "ssmid snvindel pos not integer";
584
- return { dt: dtsnvindel, l: [chr, pos, ref, alt] };
585
- }
586
- if (l.length == 5) {
587
- const [chr, _start, _stop, _class, _value] = l;
588
- const start = Number(_start), stop = Number(_stop);
589
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
590
- const value = _value == "" ? null : Number(_value);
591
- if (_class == mclassitd) {
592
- return { dt: dtitd, l: [chr, start, stop, _class, value] };
593
- }
594
- return { dt: dtcnv, l: [chr, start, stop, _class, value] };
595
- }
596
- if (l.length == 6) {
597
- if (l[3] == "+" || l[3] == "-") {
598
- const [_dt, chr2, _pos, strand, _pi, _mname] = l;
599
- const mname = decodeURIComponent(_mname);
600
- const dt = Number(_dt);
601
- if (dt != dtsv && dt != dtfusionrna) throw "ssmid dt not sv/fusion";
602
- const pos = Number(_pos);
603
- if (Number.isNaN(pos)) throw "ssmid svfusion position not integer";
604
- const pairlstIdx = Number(_pi);
605
- if (Number.isNaN(pairlstIdx)) throw "ssmid pairlstIdx not integer";
606
- return { dt, l: [dt, chr2, pos, strand, pairlstIdx, mname] };
607
- }
608
- const [chr, _start, _stop, _class, _value, sample] = l;
609
- const start = Number(_start), stop = Number(_stop);
610
- if (Number.isNaN(start) || Number.isNaN(stop)) throw new Error("ssmid cnv start/stop not integer");
611
- if (_class == mclassitd) {
612
- return { dt: dtitd, l: [chr, start, stop, _class, _value, sample] };
613
- }
614
- const value = _value == "" ? null : Number(_value);
615
- return { dt: dtcnv, l: [chr, start, stop, _class, value, sample] };
616
- }
617
- throw new Error("unknown ssmid");
618
- }
619
-
620
- // ../shared/utils/dist/src/pairwiseTests.js
621
- var defaultMaxPairwiseTestGroups = 8;
622
- var pairwiseTestGroupsLimit = 30;
623
-
624
- // ../shared/utils/dist/src/scatter.js
625
- var xAxisOffSet = 80;
626
- var yAxisOffSet = 30;
627
- function getCoordinate(val, min, max) {
628
- if (min != null && val < min) return min;
629
- if (max != null && val > max) return max;
630
- return val;
631
- }
632
- function calculatePadding(minScale, maxScale, min, max) {
633
- return minScale != null || maxScale != null ? 0 : (max - min) * 0.01;
634
- }
635
-
636
- // ../shared/utils/dist/src/termdb.bins.js
637
- function validate_bins(binconfig) {
638
- const bc = binconfig;
639
- if (!bc || typeof bc !== "object") throw "bin schema must be an object";
640
- if (!("type" in bc)) bc.type = "regular-bin";
641
- if (bc.type == "custom-bin") {
642
- if (!Array.isArray(bc.lst)) throw "binconfig.lst must be an array";
643
- if (!bc.lst.length) throw "binconfig.lst must have entries";
644
- const first_bin = bc.lst[0];
645
- const last_bin = bc.lst[bc.lst.length - 1];
646
- for (const bin of bc.lst) {
647
- if (!("startinclusive" in bin) && !("stopinclusive" in bin)) {
648
- throw "custom bin.startinclusive and/or bin.stopinclusive must be defined";
649
- }
650
- if (bin == first_bin) {
651
- if ("startunbounded" in bin && !bin.startunbounded) {
652
- throw `a custom first bin must not set bin.startunbounded to false`;
653
- }
654
- bin.startunbounded = true;
655
- if ("start" in bin) {
656
- throw "a custom first bin must not set a bin.start value";
657
- }
658
- if ("start_percentile" in bin) {
659
- throw "the first bin must not set a bin.start_percentile value";
660
- }
661
- if (!("stop" in bin)) {
662
- throw `a custom first bin must define a bin.stop value`;
663
- }
664
- if (!isStrictNumeric(bin.stop)) {
665
- throw `a custom first bin.stop value should be numeric`;
666
- }
667
- } else if (bin == last_bin) {
668
- if (!("start" in bin)) {
669
- throw `a custom last bin must define a bin.start value`;
670
- }
671
- if (!isStrictNumeric(bin.start)) {
672
- throw `a custom last bin.start must be numeric`;
673
- }
674
- if ("stopunbounded" in bin && !bin.stopunbounded) {
675
- throw "a custom last bin must not set bin.stopunbounded to false";
676
- }
677
- bin.stopunbounded = true;
678
- if ("stop" in bin) {
679
- throw "a custom last bin must not set a bin.stop value";
680
- }
681
- } else {
682
- if (bin.startunbounded || bin.stopunbounded) {
683
- throw "bin.startunbounded and bin.stopunbounded must not be set for non-first/non-last bins";
684
- }
685
- if (!isStrictNumeric(bin.start)) throw "bin.start must be numeric for a non-first bin";
686
- if (!isStrictNumeric(bin.stop)) throw "bin.stop must be numeric for a non-last bin";
687
- }
688
- }
689
- } else if (bc.type == "regular-bin") {
690
- if (!Number.isFinite(bc.bin_size)) throw "non-numeric bin_size";
691
- if (!bc.bin_size || bc.bin_size <= 0) throw "bin_size must be greater than 0";
692
- if (!bc.startinclusive && !bc.stopinclusive) {
693
- bc.startinclusive = true;
694
- bc.stopinclusive = false;
695
- }
696
- if (!bc.first_bin) throw "first_bin{} missing";
697
- if (typeof bc.first_bin != "object") throw "first_bin{} is not an object";
698
- if (!Object.keys(bc.first_bin).length) throw "first_bin is an empty object";
699
- {
700
- const b = bc.first_bin;
701
- b.startunbounded = true;
702
- if (b.stop_percentile) {
703
- if (!Number.isInteger(b.stop_percentile)) throw "first_bin.stop_percentile should be integer";
704
- if (b.stop_percentile <= 0 || b.stop_percentile >= 100) throw "first_bin.stop_percentile out of bound (0-100)";
705
- } else if (!Number.isFinite(b.stop)) {
706
- throw "first_bin.stop not a number when stop_percentile is not set";
707
- }
708
- }
709
- if (bc.last_bin) {
710
- const b = bc.last_bin;
711
- if (b.start_percentile) {
712
- if (!Number.isInteger(b.start_percentile)) throw "last_bin.start_percentile should be integer";
713
- if (b.start_percentile <= 0 || b.start_percentile >= 100) throw "last_bin.start_percentile out of bound (0-100)";
714
- } else if (!Number.isFinite(b.start)) {
715
- throw "last_bin.start not a number when start_percentile is not set";
716
- }
717
- b.stopunbounded = true;
718
- if ("stop" in b) {
719
- throw "a regular last bin must not set a bin.stop value";
720
- }
721
- }
722
- } else {
723
- throw `invalid binconfig.type="${bc.type}"`;
724
- }
725
- }
726
- var maxNumBins = 100;
727
- function compute_bins(binconfig, summaryfxn, valueConversion) {
728
- const bc = binconfig;
729
- validate_bins(bc);
730
- if (bc.lst) {
731
- if (!Array.isArray(bc.lst)) throw `bc.lst is not an array`;
732
- if (bc.lst.length > maxNumBins) throw `bc.lst exceed the maximum of ${maxNumBins} allowed entries`;
733
- assignBinColors(bc.lst);
734
- }
735
- if (bc.type == "custom-bin") return JSON.parse(JSON.stringify(bc.lst));
736
- if (typeof summaryfxn != "function") throw "summaryfxn required for modules/termdb.bins.js compute_bins()";
737
- const percentiles = target_percentiles(bc);
738
- const summary = summaryfxn(percentiles);
739
- if (!summary || typeof summary !== "object") throw "invalid returned value by summaryfxn";
740
- bc.results = { summary };
741
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
742
- const minFloor = Math.floor(summary.min * 100) / 100;
743
- const maxCeil = Math.ceil(summary.max * 100) / 100;
744
- const min = bc.first_bin.startunbounded ? minFloor : bc.first_bin.start_percentile ? summary["p" + bc.first_bin.start_percentile] : bc.first_bin.start;
745
- let max = maxCeil, last_start, last_stop;
746
- if (bc.last_bin) {
747
- 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;
748
- 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;
749
- 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;
750
- } else if (bc.lst) {
751
- const last_bin = bc.lst[bc.lst.length - 1];
752
- last_start = last_bin.start;
753
- last_stop = "stop" in last_bin && !last_bin.stopunbounded ? last_bin.stop : maxCeil;
754
- max = last_stop;
755
- } else {
756
- last_start = maxCeil;
757
- last_stop = maxCeil;
758
- }
759
- const numericMax = isStrictNumeric(max);
760
- const numericLastStart = isStrictNumeric(last_start);
761
- const numericLastStop = isStrictNumeric(last_stop);
762
- if (!numericMax && !numericLastStart) return [];
763
- const bins = [];
764
- let currBin = {
765
- startunbounded: bc.first_bin.startunbounded,
766
- start: bc.first_bin.startunbounded ? void 0 : min,
767
- 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,
768
- startinclusive: bc.startinclusive,
769
- stopinclusive: bc.stopinclusive
770
- };
771
- if (!isStrictNumeric(currBin.stop)) throw "the computed first_bin.stop is non-numeric" + currBin.stop;
772
- while (numericMax && currBin.stop <= max || currBin.startunbounded && !bins.length || currBin.stopunbounded) {
773
- bins.push(currBin);
774
- if (currBin.stop >= max) {
775
- currBin.stopunbounded = true;
776
- if (bins.length > 1) {
777
- delete currBin.stop;
778
- }
779
- }
780
- currBin.label = get_bin_label(currBin, bc, valueConversion);
781
- if (currBin.stopunbounded) break;
782
- const upper = currBin.stop + bc.bin_size;
783
- const previousStop = currBin.stop;
784
- currBin = {
785
- startinclusive: bc.startinclusive,
786
- stopinclusive: bc.stopinclusive,
787
- start: previousStop,
788
- stop: numericLastStop && (previousStop == last_start || upper > last_stop) ? last_stop : numericLastStart && upper > last_start && previousStop != last_start ? last_start : upper
789
- };
790
- if (currBin.stop >= max) {
791
- currBin.stop = max;
792
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
793
- if (bc.last_bin && bc.last_bin.stopinclusive) currBin.stopinclusive = 1;
794
- }
795
- if (numericLastStart && currBin.start == last_start) {
796
- if (bc.last_bin && bc.last_bin.stopunbounded) currBin.stopunbounded = 1;
797
- }
798
- if (currBin.start > currBin.stop) {
799
- if (numericLastStart && currBin.stop == last_start && bc.last_bin && bc.last_bin.stopunbounded)
800
- currBin.stopunbounded = true;
801
- else break;
802
- }
803
- if (bins.length + 1 >= maxNumBins) {
804
- delete currBin.stop;
805
- currBin.stopunbounded = true;
806
- currBin.label = get_bin_label(currBin, bc, valueConversion);
807
- if (!bins.includes(currBin)) bins.push(currBin);
808
- const hint = "Please increase the bin_size or first bin stop, or have a lower last bin start.";
809
- throw new Error(hint + " (max_num_bins_reached)");
810
- }
811
- }
812
- delete bc.binLabelFormatter;
813
- if (bins.length > 1) {
814
- delete bins[bins.length - 1].stop;
815
- }
816
- assignBinColors(bins);
817
- return bins;
818
- }
819
- function assignBinColors(lst) {
820
- const k2c = getColors(lst.length);
821
- for (const [i, bin] of lst.entries()) bin.color = k2c(String(i));
822
- return lst;
823
- }
824
- function getNumDecimalsFormatter(bc) {
825
- return "rounding" in bc ? format(bc.rounding) : (d) => d;
826
- }
827
- function get_bin_label(bin, binconfig, valueConversion) {
828
- if (!bin) return "missing bin.label";
829
- if (bin.label) return bin.label;
830
- const bc = binconfig;
831
- if (!bc.binLabelFormatter) bc.binLabelFormatter = getNumDecimalsFormatter(bc);
832
- if (!bin.startunbounded && !bin.stopunbounded && !("startinclusive" in bin) && !("stopinclusive" in bin)) {
833
- if (bc.startinclusive) bin.startinclusive = true;
834
- else if (bc.stopinclusive) bin.stopinclusive = true;
835
- }
836
- const start = bc.use_as == "bins" || bin.start;
837
- const stop = bc.use_as == "bins" || bin.stop;
838
- let label_offset = 0;
839
- if ("label_offset" in bc) {
840
- bc.label_offset_ignored = "bin_size" in bc && bc.bin_size < bc.label_offset;
841
- if (!bc.label_offset_ignored) label_offset = bc.label_offset;
842
- } else if (bc.bin_size === 1 && bc.termtype == "integer") {
843
- label_offset = 1;
844
- }
845
- if (bin.startunbounded) {
846
- const oper = bin.stopinclusive ? "\u2264" : "<";
847
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(stop);
848
- return oper + v1;
849
- }
850
- if (bin.stopunbounded || start === stop) {
851
- const oper = bin.startinclusive ? "\u2265" : ">";
852
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
853
- return oper + v0;
854
- }
855
- if (label_offset && bin.startinclusive && !bin.stopinclusive) {
856
- if (Number.isInteger(bc.bin_size) && Math.abs(start - stop) === label_offset) {
857
- return "" + (valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start));
858
- } else {
859
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : bc.binLabelFormatter(start);
860
- const v1 = valueConversion ? convertUnits(
861
- stop - label_offset,
862
- valueConversion.fromUnit,
863
- valueConversion.toUnit,
864
- valueConversion.scaleFactor,
865
- true
866
- ) : bc.binLabelFormatter(stop - label_offset);
867
- return +v0 >= +v1 ? v0.toString() : v0 + " to " + v1;
868
- }
869
- } else {
870
- const oper0 = bin.startinclusive ? "" : ">";
871
- const oper1 = bin.stopinclusive ? "" : "<";
872
- const v0 = valueConversion ? convertUnits(start, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(start) ? start : bc.binLabelFormatter(start);
873
- const v1 = valueConversion ? convertUnits(stop, valueConversion.fromUnit, valueConversion.toUnit, valueConversion.scaleFactor, true) : Number.isInteger(stop) ? stop : bc.binLabelFormatter(stop);
874
- if (+v0 >= +v1) {
875
- const oper = bin.startinclusive ? "\u2265" : ">";
876
- return oper + v0;
877
- } else {
878
- return oper0 + v0 + " to " + oper1 + v1;
879
- }
880
- }
881
- }
882
- function get_bin_range_equation(bin, binconfig, valueConversion) {
883
- const x = '<span style="font-family:Times;font-style:italic;">x</span>';
884
- let range_eq;
885
- const copy = structuredClone(bin);
886
- copy.label = "";
887
- for (const k of ["start", "stop"]) {
888
- if (k in copy && typeof copy[k] != "number") copy[k] = isNumeric(copy[k]) ? Number(copy[k]) : NaN;
889
- }
890
- const bin_label = get_bin_label(copy, binconfig, valueConversion);
891
- if (bin.startunbounded || bin.stopunbounded) {
892
- range_eq = x + " " + bin_label;
893
- } else if (bin.startinclusive) {
894
- range_eq = bin_label.replace("to <", "\u2264 " + x + " <");
895
- } else if (bin.stopinclusive) {
896
- range_eq = bin_label.replace(">", "").replace("to", "< " + x + " \u2264");
897
- }
898
- return range_eq;
899
- }
900
- function target_percentiles(binconfig) {
901
- const percentiles = [];
902
- const f = binconfig.first_bin;
903
- if (f && isStrictNumeric(f.start_percentile)) percentiles.push(f.start_percentile);
904
- if (f && isStrictNumeric(f.stop_percentile)) percentiles.push(f.stop_percentile);
905
- const l = binconfig.last_bin;
906
- if (l && isStrictNumeric(l.start_percentile)) percentiles.push(l.start_percentile);
907
- if (l && isStrictNumeric(l.stop_percentile)) percentiles.push(l.stop_percentile);
908
- return percentiles;
909
- }
910
-
911
- // ../shared/utils/dist/src/termdb.initbinconfig.js
912
- function initBinConfig(data, opts = {}) {
913
- if (!data.length)
914
- return { mode: "discrete", type: "regular-bin", startinclusive: true, bin_size: null, first_bin: { stop: null } };
915
- if (data.find((d) => !Number.isFinite(d))) throw new Error("non-numeric values found");
916
- let binConfig;
917
- const s = new Set(data);
918
- if (s.size === 1) {
919
- const value = [...s][0];
920
- binConfig = {
921
- type: "custom-bin",
922
- lst: [
923
- { stop: value, stopinclusive: false, startunbounded: true, label: "<" + value },
924
- { start: value, stop: value, startinclusive: true, stopinclusive: true, label: "=" + value },
925
- { start: value, startinclusive: false, stopunbounded: true, label: ">" + value }
926
- ]
927
- };
928
- } else {
929
- data.sort((a, b) => a - b);
930
- const l = data.length;
931
- const min = data[0];
932
- const max = data[l - 1];
933
- const p5idx = Math.ceil(l * 0.05) - 1;
934
- const p98idx = Math.ceil(l * 0.98) - 1;
935
- const p5 = data[p5idx];
936
- const p98 = data[p98idx];
937
- const binSize = p98 != p5 ? (p98 - p5) / 8 : (max - min) / 8;
938
- const firstBinStop = Math.max(min + binSize, p5);
939
- const [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding] = roundBinVals(binSize, firstBinStop, max, min);
940
- binConfig = {
941
- type: "regular-bin",
942
- startinclusive: true,
943
- bin_size: binSize_rnd,
944
- first_bin: { stop: firstBinStop_rnd }
945
- };
946
- if (lastBinStart_rnd) binConfig.last_bin = { start: lastBinStart_rnd };
947
- if (rounding) binConfig.rounding = rounding;
948
- }
949
- if ("format" in opts) {
950
- if (opts.format === "string") {
951
- return JSON.stringify(binConfig);
952
- } else {
953
- throw "options are not in the correct format";
954
- }
955
- } else {
956
- return binConfig;
957
- }
958
- }
959
- function roundBinVals(binSize, firstBinStop, max, min) {
960
- let binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding;
961
- const log = Math.floor(Math.log10(binSize));
962
- if (binSize >= 0.1 && binSize <= 2) {
963
- binSize_rnd = Math.round(binSize / (1 * 10 ** log)) * (1 * 10 ** log);
964
- firstBinStop_rnd = Math.round(firstBinStop / (1 * 10 ** log)) * (1 * 10 ** log);
965
- } else {
966
- binSize_rnd = Math.round(binSize / (5 * 10 ** log)) * (5 * 10 ** log);
967
- firstBinStop_rnd = Math.round(firstBinStop / (5 * 10 ** log)) * (5 * 10 ** log);
968
- if (binSize_rnd === 0) binSize_rnd = 1 * 10 ** log;
969
- if (firstBinStop_rnd === 0) firstBinStop_rnd = 1 * 10 ** log;
970
- if (binSize_rnd === 5 * 10 ** log && firstBinStop_rnd === 1 * 10 ** log) firstBinStop_rnd = 5 * 10 ** log;
971
- }
972
- if (firstBinStop_rnd < min) firstBinStop_rnd = firstBinStop_rnd * 2;
973
- const eighthBinStop_rnd = firstBinStop_rnd + binSize_rnd * 7;
974
- if (max > eighthBinStop_rnd) {
975
- lastBinStart_rnd = firstBinStop_rnd + binSize_rnd * 6;
976
- }
977
- if (binSize < 1) {
978
- const digits = Math.abs(log);
979
- binSize_rnd = Number(binSize_rnd.toFixed(digits));
980
- firstBinStop_rnd = Number(firstBinStop_rnd.toFixed(digits));
981
- if (lastBinStart_rnd) lastBinStart_rnd = Number(lastBinStart_rnd.toFixed(digits));
982
- rounding = "." + digits + "f";
983
- }
984
- if (Object.is(firstBinStop_rnd, -0)) firstBinStop_rnd = 0;
985
- return [binSize_rnd, firstBinStop_rnd, lastBinStart_rnd, rounding];
986
- }
987
-
988
- // ../shared/utils/dist/src/termdb.usecase.js
989
- var graphableTypes = /* @__PURE__ */ new Set([
990
- "categorical",
991
- "integer",
992
- "float",
993
- "condition",
994
- "survival",
995
- "snplst",
996
- "snplocus",
997
- "geneVariant",
998
- "samplelst",
999
- "geneExpression",
1000
- ISOFORM_EXPRESSION,
1001
- "dtcnv",
1002
- "dtsnvindel",
1003
- "dtfusion",
1004
- "dtsv",
1005
- "date",
1006
- TermTypes.SSGSEA,
1007
- TermTypes.DNA_METHYLATION,
1008
- TermTypes.METABOLITE_INTENSITY,
1009
- TermTypes.PROTEOME_ABUNDANCE,
1010
- TermTypes.PSEUDOBULK,
1011
- TermTypes.JUNCTION,
1012
- SINGLECELL_GENE_EXPRESSION,
1013
- SINGLECELL_CELLTYPE,
1014
- TermTypes.SINGLECELL_NUMERIC_VALUE,
1015
- TermTypes.SNP,
1016
- TermTypes.TERM_COLLECTION,
1017
- TermTypes.COHORT,
1018
- TermTypes.MULTIVALUE
1019
- ]);
1020
- function isUsableTerm(term, _usecase, termdbConfig, ds) {
1021
- const usecase = _usecase || {};
1022
- if (typeof ds?.usecase?.[usecase.target] == "function") {
1023
- return ds.usecase[usecase.target](term, usecase);
1024
- }
1025
- const uses = /* @__PURE__ */ new Set();
1026
- const child_types = term.child_types || [];
1027
- switch (usecase.target) {
1028
- case "barchart":
1029
- case "violin":
1030
- case "boxplot":
1031
- case "summary": {
1032
- const excluded = usecase.detail == "term2" ? ["survival", "multivalue"] : ["survival"];
1033
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1034
- if (hasAllowedChildTypes({ child_types, excluded_types: excluded })) uses.add("branch");
1035
- return uses;
1036
- }
1037
- case "summaryInput":
1038
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1039
- const excluded = usecase.detail === "term2" ? ["survival", "multivalue"] : ["survival"];
1040
- if (term.type && !excluded.includes(term.type)) uses.add("plot");
1041
- if (hasAllowedChildTypes({ child_types, excluded_types: excluded })) uses.add("branch");
1042
- return uses;
1043
- } else {
1044
- if (graphableTypes.has(term.type)) uses.add("plot");
1045
- if (!term.isleaf) uses.add("branch");
1046
- return uses;
1047
- }
1048
- case "matrix":
1049
- if (term.type) uses.add("plot");
1050
- if (!term.isleaf) uses.add("branch");
1051
- return uses;
1052
- case "table":
1053
- if (usecase.detail == "term") uses.add("plot");
1054
- if (child_types.length > 1) uses.add("branch");
1055
- return uses;
1056
- case "sampleScatter":
1057
- if (usecase.detail == "numeric") {
1058
- if (isNumericTerm(term)) {
1059
- uses.add("plot");
1060
- }
1061
- if (hasNumericChild(child_types)) uses.add("branch");
1062
- } else {
1063
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1064
- if (!term.isleaf) uses.add("branch");
1065
- }
1066
- return uses;
1067
- case "runChart2":
1068
- if (usecase.detail == "date" || usecase.detail == "xtw") {
1069
- if (term.type == "date") {
1070
- uses.add("plot");
1071
- }
1072
- if (child_types.includes("date")) uses.add("branch");
1073
- } else if (usecase.detail == "numeric") {
1074
- if (isNumericTerm(term) && term.type != "date") {
1075
- uses.add("plot");
1076
- }
1077
- if (hasNumericChild(child_types)) uses.add("branch");
1078
- } else {
1079
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1080
- if (!term.isleaf) uses.add("branch");
1081
- }
1082
- return uses;
1083
- case "numericDictTermCluster":
1084
- if (!usecase.detail?.exclude?.includes(term.id)) {
1085
- if (isNumericTerm(term)) {
1086
- uses.add("plot");
1087
- }
1088
- if (hasNumericChild(child_types)) {
1089
- uses.add("branch");
1090
- }
1091
- }
1092
- return uses;
1093
- case "termCollections":
1094
- if (usecase.detail?.termIds?.includes(term.id)) uses.add("plot");
1095
- if (usecase.detail?.branchIds?.includes(term.id)) uses.add("branch");
1096
- return uses;
1097
- case "profileForms":
1098
- if (!term.isleaf) {
1099
- const ancestors = term.id.split("__").length;
1100
- if (ancestors == 3) {
1101
- uses.add("plot");
1102
- } else if (ancestors < 3) uses.add("branch");
1103
- }
1104
- return uses;
1105
- // case 'boxplot':
1106
- // if (term.type == 'float' || term.type == 'integer') uses.add('plot')
1107
- // if (usecase.detail === 'term2' && hasNumericChild(child_types)) uses.add('branch')
1108
- // return uses
1109
- case "cuminc":
1110
- if (usecase.detail == "term") {
1111
- if (term.type == "condition") uses.add("plot");
1112
- if (child_types.includes("condition")) uses.add("branch");
1113
- return uses;
1114
- }
1115
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1116
- if (term.type && term.type != "condition" && term.type != "survival" && term.type != "multivalue")
1117
- uses.add("plot");
1118
- if (hasAllowedChildTypes({
1119
- child_types,
1120
- excluded_types: ["condition", "survival", "multivalue"]
1121
- }))
1122
- uses.add("branch");
1123
- return uses;
1124
- }
1125
- return uses;
1126
- case "survival":
1127
- if (usecase.detail == "term") {
1128
- if (term.type == "survival") uses.add("plot");
1129
- if (child_types.includes("survival")) uses.add("branch");
1130
- return uses;
1131
- }
1132
- if (usecase.detail === "term2" || usecase.detail == "term0") {
1133
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1134
- if (hasAllowedChildTypes({ child_types, excluded_types: ["survival", "multivalue"] })) uses.add("branch");
1135
- return uses;
1136
- }
1137
- return uses;
1138
- case "regression":
1139
- if (usecase.detail == "outcome") {
1140
- if (usecase.regressionType == "linear") {
1141
- if (term.type == "float" || term.type == "integer") uses.add("plot");
1142
- if (hasNumericChild(child_types)) uses.add("branch");
1143
- return uses;
1144
- }
1145
- if (usecase.regressionType == "logistic") {
1146
- if (term.type && term.type != "survival" && term.type != "multivalue") uses.add("plot");
1147
- if (hasAllowedChildTypes({ child_types, excluded_types: ["survival", "multivalue"] })) uses.add("branch");
1148
- return uses;
1149
- } else if (usecase.regressionType == "cox") {
1150
- if (term.type == "condition" || term.type == "survival") uses.add("plot");
1151
- if (child_types.includes("condition") || child_types.includes("survival")) uses.add("branch");
1152
- return uses;
1153
- }
1154
- }
1155
- if (usecase.detail == "independent") {
1156
- if (term.type == TermTypes.TERM_COLLECTION) {
1157
- if (term.memberType == "numeric") uses.add("plot");
1158
- return uses;
1159
- }
1160
- if (term.type == "float" || term.type == "integer" || term.type == "categorical" || term.type == "samplelst")
1161
- uses.add("plot");
1162
- if (hasAllowedChildTypes({ child_types, included_types: ["categorical", "float", "integer"] }))
1163
- uses.add("branch");
1164
- return uses;
1165
- }
1166
- return uses;
1167
- case "filter": {
1168
- if (term.type == "samplelst" && !samplelstListsSamples(term)) return uses;
1169
- const exlst = termdbConfig?.excludedTermtypeByTarget?.filter;
1170
- if (exlst) {
1171
- if (graphableTypes.has(term.type) && !exlst.includes(term.type)) uses.add("plot");
1172
- if (child_types.find((t) => !exlst.includes(t))) uses.add("branch");
1173
- return uses;
1174
- }
1175
- if (graphableTypes.has(term.type)) uses.add("plot");
1176
- if (!term.isleaf) uses.add("branch");
1177
- return uses;
1178
- }
1179
- case "correlationVolcano":
1180
- if (usecase.detail == "numeric") {
1181
- if (isNumericTerm(term)) {
1182
- uses.add("plot");
1183
- }
1184
- if (hasNumericChild(child_types)) uses.add("branch");
1185
- } else {
1186
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1187
- if (!term.isleaf) uses.add("branch");
1188
- }
1189
- return uses;
1190
- case "proteinView":
1191
- if (term.type == TermTypes.PROTEOME_ABUNDANCE) uses.add("plot");
1192
- if (child_types.includes(TermTypes.PROTEOME_ABUNDANCE)) uses.add("branch");
1193
- return uses;
1194
- case "brainImaging": {
1195
- const allowMultivalue = usecase.detail == "term0";
1196
- if (graphableTypes.has(term.type) && (allowMultivalue || term.type != "multivalue")) uses.add("plot");
1197
- if (!term.isleaf) uses.add("branch");
1198
- return uses;
1199
- }
1200
- case "swimmer": {
1201
- if (usecase.detail == "pointTerm") {
1202
- const excluded2 = ["survival", "multivalue"];
1203
- if (graphableTypes.has(term.type) && !excluded2.includes(term.type) && hasSampleType(term.sample_type, usecase.sampleTypes))
1204
- uses.add("plot");
1205
- if (hasAllowedChildTypes({
1206
- child_types,
1207
- child_sample_types: term.child_sample_types,
1208
- excluded_types: excluded2,
1209
- included_sample_types: usecase.sampleTypes
1210
- }))
1211
- uses.add("branch");
1212
- return uses;
1213
- }
1214
- const excluded = ["survival"];
1215
- if (graphableTypes.has(term.type) && !excluded.includes(term.type)) uses.add("plot");
1216
- if (hasAllowedChildTypes({ child_types, excluded_types: excluded })) uses.add("branch");
1217
- return uses;
1218
- }
1219
- case "sunburst": {
1220
- const allowed = ["categorical", "integer", "float"];
1221
- if (allowed.includes(term.type) && hasSampleType(term.sample_type, usecase.sampleTypes)) uses.add("plot");
1222
- if (hasAllowedChildTypes({
1223
- child_types,
1224
- child_sample_types: term.child_sample_types,
1225
- included_types: allowed,
1226
- included_sample_types: usecase.sampleTypes
1227
- }))
1228
- uses.add("branch");
1229
- return uses;
1230
- }
1231
- case "dictionary":
1232
- if (graphableTypes.has(term.type)) uses.add("plot");
1233
- if (!term.isleaf) uses.add("branch");
1234
- return uses;
1235
- default:
1236
- if (graphableTypes.has(term.type) && term.type != "multivalue") uses.add("plot");
1237
- if (!term.isleaf) uses.add("branch");
1238
- return uses;
1239
- }
1240
- }
1241
- function hasAllowedChildTypes(arg) {
1242
- const {
1243
- child_types,
1244
- child_sample_types,
1245
- included_types,
1246
- excluded_types,
1247
- included_sample_types,
1248
- excluded_sample_types
1249
- } = arg;
1250
- const hasTypeCriteria = child_types?.length || included_types?.length || excluded_types?.length;
1251
- const hasSampleTypeCriteria = child_sample_types?.length || included_sample_types?.length || excluded_sample_types?.length;
1252
- if (!hasTypeCriteria && !hasSampleTypeCriteria) return false;
1253
- if (hasTypeCriteria && !hasAllowedChildValues(child_types, included_types, excluded_types)) return false;
1254
- if (hasSampleTypeCriteria && !hasAllowedChildValues(child_sample_types, included_sample_types, excluded_sample_types))
1255
- return false;
1256
- return true;
1257
- }
1258
- function hasAllowedChildValues(child_values, included_values, excluded_values) {
1259
- if (!child_values?.length) return false;
1260
- return child_values.some(
1261
- (value) => (!included_values?.length || included_values.includes(value)) && !excluded_values?.includes(value)
1262
- );
1263
- }
1264
- function hasNumericChild(child_types) {
1265
- return child_types.includes("float") || child_types.includes("integer");
1266
- }
1267
- function hasSampleType(sample_type, allowed) {
1268
- if (!allowed?.length) return true;
1269
- return allowed.includes(Number(sample_type));
1270
- }
1271
- function samplelstListsSamples(term) {
1272
- const groups = Object.values(term.values || {});
1273
- return groups.length > 0 && groups.every((g) => Array.isArray(g.list));
1274
- }
1275
-
1276
- // ../shared/utils/dist/src/time.js
1277
- function formatElapsedTime(ms, precision = 2) {
1278
- if (typeof ms !== "number" || isNaN(ms)) {
1279
- return typeof ms !== "number" ? "Invalid time: not a number" : "Invalid time: NaN";
1280
- }
1281
- if (!isFinite(ms)) {
1282
- return ms > 0 ? "Infinite time" : "-Infinite time";
1283
- }
1284
- const absMs = Math.abs(ms);
1285
- const sign = ms < 0 ? "-" : "";
1286
- if (absMs < 1e3) {
1287
- return `${sign}${absMs}ms`;
1288
- }
1289
- if (absMs < 6e4) {
1290
- return `${sign}${(absMs / 1e3).toFixed(precision)}s`;
1291
- }
1292
- const minutes = Math.floor(absMs / 6e4);
1293
- const seconds = (absMs % 6e4 / 1e3).toFixed(precision);
1294
- return `${sign}${minutes}m ${seconds}s`;
1295
- }
1296
-
1297
- // ../shared/utils/dist/src/vcf.ann.js
1298
- function parse_ANN(str, header, m) {
1299
- if (!header) {
1300
- return null;
1301
- }
1302
- for (const thisannotation of str.split(",")) {
1303
- const lst = thisannotation.replace(/&/g, ",").split("|");
1304
- const o = {};
1305
- for (let i = 0; i < header.length; i++) {
1306
- if (lst[i]) {
1307
- o[header[i].name] = lst[i];
1308
- }
1309
- }
1310
- if (!o.Allele) {
1311
- continue;
1312
- }
1313
- let allele = null;
1314
- for (const a of m.alleles) {
1315
- if (a.allele == o.Allele) {
1316
- allele = a;
1317
- break;
1318
- }
1319
- }
1320
- if (!allele) {
1321
- continue;
1322
- }
1323
- if (!allele.ann) {
1324
- allele.ann = [];
1325
- }
1326
- allele.ann.push(o);
1327
- o._gene = o.Gene_Name;
1328
- if (o.Feature_Type && o.Feature_Type == "transcript" && o.Feature_ID) {
1329
- o._isoform = o.Feature_ID.split(".")[0];
1330
- }
1331
- if (o.Annotation) {
1332
- const [dt, cls, rank] = vepinfo(o.Annotation);
1333
- o._dt = dt;
1334
- o._class = cls;
1335
- o._csqrank = rank;
1336
- } else {
1337
- o._dt = dtsnvindel;
1338
- o._class = mclassnonstandard;
1339
- }
1340
- if (o["HGVS.p"]) {
1341
- o._mname = o["HGVS.p"];
1342
- } else if (o["HGVS.c"]) {
1343
- o._mname = o["HGVS.c"];
1344
- }
1345
- }
1346
- return true;
1347
- }
1348
-
1349
- // ../shared/utils/dist/src/vcf.csq.js
1350
- function parse_CSQ(str, header, m) {
1351
- if (!header) {
1352
- return null;
1353
- }
1354
- for (const thisannotation of str.split(",")) {
1355
- const lst = thisannotation.replace(/&/g, ",").split("|");
1356
- const o = {};
1357
- for (let i = 0; i < header.length; i++) {
1358
- if (lst[i]) {
1359
- o[header[i].name] = lst[i];
1360
- }
1361
- }
1362
- if (!o.Allele) {
1363
- continue;
1364
- }
1365
- let allele = null;
1366
- for (const a of m.mlst || m.alleles) {
1367
- if (a.allele_original == o.Allele) {
1368
- allele = a;
1369
- break;
1370
- }
1371
- }
1372
- if (!allele) {
1373
- if (o.Allele == "-") {
1374
- if (m.mlst) {
1375
- if (m.mlst.length == 1) {
1376
- allele = m.mlst[0];
1377
- }
1378
- } else if (m.alleles) {
1379
- if (m.alleles.length == 1) {
1380
- allele = m.alleles[0];
1381
- }
1382
- }
1383
- } else {
1384
- for (const a of m.mlst || m.alleles) {
1385
- if (a.allele_original.substr(1) == o.Allele) {
1386
- allele = a;
1387
- break;
1388
- }
1389
- }
1390
- }
1391
- if (!allele) {
1392
- continue;
1393
- }
1394
- }
1395
- if (!allele.csq) {
1396
- allele.csq = [];
1397
- }
1398
- allele.csq.push(o);
1399
- o._gene = o.SYMBOL || o.Gene;
1400
- if (o.Feature_type && o.Feature_type == "Transcript") {
1401
- o._isoform = o.Feature.split(".")[0];
1402
- } else {
1403
- o._isoform = o._gene;
1404
- }
1405
- if (o.Consequence) {
1406
- const [dt, cls, rank] = vepinfo(o.Consequence);
1407
- o._dt = dt;
1408
- o._class = cls;
1409
- o._csqrank = rank;
1410
- } else {
1411
- o._dt = dtsnvindel;
1412
- o._class = mclassnonstandard;
1413
- }
1414
- if (o.HGVSp) {
1415
- o._mname = decodeURIComponent(o.HGVSp.substr(o.HGVSp.indexOf(":") + 1));
1416
- } else if (o.Protein_position && o.Amino_acids) {
1417
- o._mname = decodeURIComponent(o.Protein_position + o.Amino_acids);
1418
- } else if (o.HGVSc) {
1419
- o._mname = o.HGVSc.substr(o.HGVSc.indexOf(":") + 1);
1420
- } else if (o.Existing_variation) {
1421
- o._name = o.Existing_variation;
1422
- }
1423
- }
1424
- return true;
1425
- }
1426
-
1427
- // ../shared/utils/dist/src/vcf.info.js
1428
- function dissect_INFO(str) {
1429
- let findsemicolon = false;
1430
- let findequalorsemicolon = true;
1431
- let i = 0;
1432
- let idx = 0;
1433
- const k2v = {};
1434
- let lastkey;
1435
- while (i < str.length) {
1436
- const c = str[i];
1437
- if (findequalorsemicolon) {
1438
- if (c == "=") {
1439
- findsemicolon = true;
1440
- findequalorsemicolon = false;
1441
- lastkey = str.substring(idx, i);
1442
- idx = i + 1;
1443
- } else if (c == ";") {
1444
- k2v[str.substring(idx, i)] = 1;
1445
- idx = i + 1;
1446
- }
1447
- } else if (findsemicolon && c == ";") {
1448
- findequalorsemicolon = true;
1449
- findsemicolon = false;
1450
- k2v[lastkey] = str.substring(idx, i);
1451
- lastkey = null;
1452
- idx = i + 1;
1453
- }
1454
- i++;
1455
- }
1456
- const remainstr = str.substr(idx, i);
1457
- if (lastkey) {
1458
- k2v[lastkey] = remainstr;
1459
- } else {
1460
- k2v[remainstr] = 1;
1461
- }
1462
- return k2v;
1463
- }
1464
-
1465
- // ../shared/utils/dist/src/vcf.type.js
1466
- function getVariantType(ref, alt) {
1467
- if (ref.length == 1 && alt.length == 1) {
1468
- if (alt == ".") {
1469
- return mclassdeletion;
1470
- }
1471
- return mclasssnv;
1472
- }
1473
- if (ref.length == alt.length) return mclassmnv;
1474
- if (ref.length < alt.length) return mclassinsertion;
1475
- if (ref.length > alt.length) return mclassdeletion;
1476
- return mclassnonstandard;
1477
- }
1478
-
1479
- // ../shared/utils/dist/src/vcf.js
1480
- var getallelename = /^<(.+)>/;
1481
- var mclasslabel2key = {};
1482
- for (const k in mclass) {
1483
- mclasslabel2key[mclass[k].label.toUpperCase()] = k;
1484
- }
1485
- function vcfparsemeta(lines) {
1486
- let sample = [];
1487
- const errlst = [];
1488
- const info = {};
1489
- let hasinfo = false;
1490
- const format2 = {};
1491
- let hasformat = false;
1492
- for (const line of lines) {
1493
- if (!line.startsWith("#")) {
1494
- continue;
1495
- }
1496
- if (line.startsWith("#C")) {
1497
- sample = line.split(" ").slice(9);
1498
- continue;
1499
- }
1500
- if (line.startsWith("##INFO")) {
1501
- const e = tohash(line.substring(8, line.length - 1), info);
1502
- if (e) {
1503
- errlst.push("INFO error: " + e);
1504
- } else {
1505
- hasinfo = true;
1506
- }
1507
- continue;
1508
- }
1509
- if (line.startsWith("##FORMAT")) {
1510
- const e = tohash(line.substring(10, line.length - 1), format2);
1511
- if (e) {
1512
- errlst.push("FORMAT error: " + e);
1513
- } else {
1514
- hasformat = true;
1515
- }
1516
- }
1517
- }
1518
- const sampleobjlst = [];
1519
- for (const samplename of sample) {
1520
- const a = { name: samplename };
1521
- sampleobjlst.push(a);
1522
- }
1523
- if (info.CSQ) {
1524
- const lst = info.CSQ.Description.split(" Format: ");
1525
- if (lst[1]) {
1526
- const lst2 = lst[1].split("|");
1527
- if (lst2.length > 1) {
1528
- info.CSQ.csqheader = [];
1529
- for (const str of lst2) {
1530
- const attr = { name: str };
1531
- info.CSQ.csqheader.push(attr);
1532
- }
1533
- } else {
1534
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1535
- }
1536
- } else {
1537
- errlst.push("unknown format for CSQ header: " + info.CSQ.Description);
1538
- }
1539
- }
1540
- if (info.ANN) {
1541
- const lst = info.ANN.Description.split("'");
1542
- if (lst[1]) {
1543
- const lst2 = lst[1].split(" | ");
1544
- if (lst2.length) {
1545
- info.ANN.annheader = [];
1546
- for (const s of lst2) {
1547
- const attr = { name: s };
1548
- info.ANN.annheader.push(attr);
1549
- }
1550
- } else {
1551
- errlst.push('no " | " joined annotation fields for ANN (snpEff annotation): ' + info.ANN.Description);
1552
- }
1553
- } else {
1554
- errlst.push("no single-quote enclosed annotation fields for ANN (snpEff annotation): " + info.ANN.Description);
1555
- }
1556
- }
1557
- return [hasinfo ? info : null, hasformat ? format2 : null, sampleobjlst, errlst.length ? errlst : null];
1558
- }
1559
- function vcfparseline(line, vcf) {
1560
- const lst = line.split(" ");
1561
- if (lst.length < 8) {
1562
- return ["line has less than 8 fields", null, null];
1563
- }
1564
- const rawpos = Number.parseInt(lst[2 - 1]);
1565
- if (!Number.isInteger(rawpos)) {
1566
- return ["invalid value for genomic position", null, null];
1567
- }
1568
- const refallele = lst[4 - 1];
1569
- const m = {
1570
- vcf_ID: lst[3 - 1],
1571
- chr: (vcf.nochr ? "chr" : "") + lst[1 - 1],
1572
- pos: rawpos - 1,
1573
- ref: refallele,
1574
- //refstr:refallele, // e.g. GA>GCC, ref:A, refstr:GA, "refstr" is required for matching in FORMAT
1575
- altstr: lst[5 - 1],
1576
- alleles: [
1577
- {
1578
- /*
1579
- ref allele only a placeholder, to be removed, this array only contains alt alleles
1580
- this is a must
1581
- also allows GT allele index to work
1582
- */
1583
- allele: refallele,
1584
- sampledata: []
1585
- }
1586
- ],
1587
- info: {},
1588
- // locus info, do not contain allele info
1589
- name: lst[3 - 1] == "." ? null : lst[3 - 1]
1590
- };
1591
- const altinvalid = [];
1592
- for (const alt of lst[5 - 1].split(",")) {
1593
- const a = {
1594
- ref: m.ref,
1595
- // may be corrected just below!
1596
- allele: alt,
1597
- // 5078356.TATCAGAGAA.GGGAGGA keep original allele for matching with csq which hardcodes original allele
1598
- allele_original: alt,
1599
- sampledata: [],
1600
- _m: m,
1601
- info: {}
1602
- // allele info, do not contain locus info
1603
- };
1604
- m.alleles.push(a);
1605
- if (alt[0] == "<") {
1606
- const tmp2 = alt.match(getallelename);
1607
- if (!tmp2) {
1608
- altinvalid.push(alt);
1609
- continue;
1610
- }
1611
- a.type = tmp2[1];
1612
- a.allele = tmp2[1];
1613
- a.issymbolicallele = true;
1614
- } else {
1615
- const [p, ref, alt2] = correctRefAlt(m.pos, m.ref, a.allele);
1616
- a.pos = p;
1617
- a.ref = ref;
1618
- a.allele = alt2;
1619
- }
1620
- }
1621
- if (lst[9 - 1] && lst[10 - 1]) {
1622
- parse_FORMAT2(lst, m, vcf);
1623
- }
1624
- m.alleles.shift();
1625
- const tmp = lst[8 - 1] == "." ? [] : dissect_INFO(lst[8 - 1]);
1626
- let badinfokeys = [];
1627
- if (vcf.info) {
1628
- badinfokeys = parse_INFO(tmp, m, vcf);
1629
- } else {
1630
- m.info = tmp;
1631
- }
1632
- const mlst = [];
1633
- for (const a of m.alleles) {
1634
- const m2 = {};
1635
- for (const k in m) {
1636
- if (k != "alleles") {
1637
- m2[k] = m[k];
1638
- }
1639
- }
1640
- for (const k in a) {
1641
- if (k == "allele") {
1642
- m2.alt = a[k];
1643
- } else if (k == "info") {
1644
- m2.altinfo = a[k];
1645
- } else {
1646
- m2[k] = a[k];
1647
- }
1648
- }
1649
- if (!m2.issymbolicallele && m2.alt != "NON_REF") {
1650
- m2.type = getVariantType(m2.ref, m2.alt);
1651
- }
1652
- mlst.push(m2);
1653
- }
1654
- return [
1655
- badinfokeys.length ? "unknown info keys: " + badinfokeys.join(",") : null,
1656
- mlst,
1657
- altinvalid.length > 0 ? altinvalid : null
1658
- ];
1659
- }
1660
- function correctRefAlt(p, ref, alt) {
1661
- while (ref.length > 1 && alt.length > 1 && ref[ref.length - 1] == alt[alt.length - 1]) {
1662
- ref = ref.substr(0, ref.length - 1);
1663
- alt = alt.substr(0, alt.length - 1);
1664
- }
1665
- while (ref.length > 1 && alt.length > 1 && ref[0] == alt[0]) {
1666
- ref = ref.substr(1);
1667
- alt = alt.substr(1);
1668
- p++;
1669
- }
1670
- return [p, ref, alt];
1671
- }
1672
- function parse_FORMAT2(lst, m, vcf) {
1673
- const formatfields = lst[9 - 1].split(":");
1674
- for (let _sampleidx = 9; _sampleidx < lst.length; _sampleidx++) {
1675
- const valuelst = lst[_sampleidx].split(":");
1676
- {
1677
- let none = true;
1678
- for (const v of valuelst) {
1679
- if (v != ".") {
1680
- none = false;
1681
- break;
1682
- }
1683
- }
1684
- if (none) {
1685
- continue;
1686
- }
1687
- }
1688
- const sampleidx = _sampleidx - 9;
1689
- for (let i = 1; i < m.alleles.length; i++) {
1690
- const sobj = {};
1691
- if (vcf.samples && vcf.samples[sampleidx]) {
1692
- for (const k in vcf.samples[sampleidx]) {
1693
- sobj[k] = vcf.samples[sampleidx][k];
1694
- }
1695
- } else {
1696
- sobj.name = "missing_samplename_from_vcf_header";
1697
- }
1698
- m.alleles[i].sampledata.push({
1699
- sampleobj: sobj
1700
- });
1701
- }
1702
- for (let fi = 0; fi < formatfields.length; fi++) {
1703
- const field = formatfields[fi];
1704
- const value = valuelst[fi];
1705
- if (value == ".") {
1706
- continue;
1707
- }
1708
- if (field == "GT") {
1709
- const splitter = value.indexOf("/") != -1 ? "/" : "|";
1710
- let gtsum = 0;
1711
- let unknowngt = false;
1712
- const gtalleles = [];
1713
- for (const i of value.split(splitter)) {
1714
- if (i == ".") {
1715
- unknowngt = true;
1716
- continue;
1717
- }
1718
- const j = Number.parseInt(i);
1719
- if (Number.isNaN(j)) {
1720
- unknowngt = true;
1721
- continue;
1722
- }
1723
- gtsum += j;
1724
- const ale = m.alleles[j];
1725
- if (ale) {
1726
- gtalleles.push(ale.allele);
1727
- }
1728
- }
1729
- let gtallref = false;
1730
- if (!unknowngt) {
1731
- gtallref = gtsum == 0;
1732
- }
1733
- const genotype = gtalleles.join(splitter);
1734
- for (let i = 1; i < m.alleles.length; i++) {
1735
- const ms = m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1];
1736
- ms.GT = value;
1737
- ms.genotype = genotype;
1738
- if (gtallref) {
1739
- ms.gtallref = true;
1740
- }
1741
- ms.__gtalleles = gtalleles;
1742
- }
1743
- continue;
1744
- }
1745
- const formatdesc = vcf.format ? vcf.format[field] : null;
1746
- if (!formatdesc) {
1747
- for (let i = 1; i < m.alleles.length; i++) {
1748
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1749
- }
1750
- continue;
1751
- }
1752
- const isinteger = formatdesc.Type == "Integer";
1753
- const isfloat = formatdesc.Type == "Float";
1754
- if (formatdesc.Number && formatdesc.Number == "R" || field == "AD") {
1755
- const fvlst = value.split(",").map((i) => {
1756
- if (isinteger) return Number.parseInt(i);
1757
- if (isfloat) return Number.parseFloat(i);
1758
- return i;
1759
- });
1760
- for (let i = 1; i < m.alleles.length; i++) {
1761
- if (fvlst[i] != void 0) {
1762
- const m2 = m.alleles[i];
1763
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1764
- m2s[field] = {};
1765
- m2s[field][m2.ref] = fvlst[0];
1766
- m2s[field][m2.allele] = fvlst[i];
1767
- }
1768
- }
1769
- continue;
1770
- }
1771
- if (formatdesc.Number && formatdesc.Number == "A") {
1772
- const fvlst = value.split(",").map((i) => {
1773
- if (isinteger) return Number.parseInt(i);
1774
- if (isfloat) return Number.parseFloat(i);
1775
- return i;
1776
- });
1777
- for (let i = 1; i < m.alleles.length; i++) {
1778
- if (fvlst[i - 1] != void 0) {
1779
- const m2 = m.alleles[i];
1780
- const m2s = m2.sampledata[m2.sampledata.length - 1];
1781
- m2s[field] = {};
1782
- m2s[field][m2.allele] = fvlst[i - 1];
1783
- }
1784
- }
1785
- continue;
1786
- }
1787
- for (let i = 1; i < m.alleles.length; i++) {
1788
- m.alleles[i].sampledata[m.alleles[i].sampledata.length - 1][field] = value;
1789
- }
1790
- }
1791
- }
1792
- for (const a of m.alleles) {
1793
- for (const s of a.sampledata) {
1794
- if (s.AD) {
1795
- s.allele2readcount = {};
1796
- for (const k in s.AD) {
1797
- s.allele2readcount[k] = s.AD[k];
1798
- }
1799
- }
1800
- }
1801
- }
1802
- }
1803
- function tohash(s, hash2) {
1804
- const h = {}, err = [];
1805
- let prev = 0, prevdoublequote = false, k = null;
1806
- for (let i = 0; i < s.length; i++) {
1807
- if (s[i] == '"') {
1808
- i++;
1809
- const thisstart = i;
1810
- while (s[i] != '"') {
1811
- i++;
1812
- }
1813
- if (k) {
1814
- h[k] = s.substring(thisstart, i);
1815
- k = null;
1816
- } else {
1817
- err.push("k undefined before double quotes");
1818
- }
1819
- prevdoublequote = true;
1820
- continue;
1821
- }
1822
- if (s[i] == "=") {
1823
- k = s.substring(prev, i);
1824
- prev = i + 1;
1825
- continue;
1826
- }
1827
- if (s[i] == ",") {
1828
- if (prevdoublequote) {
1829
- prevdoublequote = false;
1830
- } else {
1831
- if (k) {
1832
- h[k] = s.substring(prev, i);
1833
- k = null;
1834
- } else {
1835
- err.push("k undefined");
1836
- }
1837
- }
1838
- prev = i + 1;
1839
- continue;
1840
- }
1841
- }
1842
- if (k) {
1843
- h[k] = s.substring(prev);
1844
- }
1845
- if (h.ID) {
1846
- hash2[h.ID] = h;
1847
- } else {
1848
- return "no ID";
1849
- }
1850
- if (err.length) return err.join("\n");
1851
- }
1852
- function parse_INFO(tmp, m, vcf) {
1853
- const badinfokeys = [];
1854
- for (const key in tmp) {
1855
- if (vcf.info[key] == void 0) {
1856
- badinfokeys.push(key);
1857
- continue;
1858
- }
1859
- const value = tmp[key];
1860
- if (key == "CSQ") {
1861
- const okay = parse_CSQ(value, vcf.info.CSQ.csqheader, m);
1862
- if (!okay) {
1863
- m.info[key] = value;
1864
- }
1865
- continue;
1866
- }
1867
- if (key == "ANN") {
1868
- const okay = parse_ANN(value, vcf.info.ANN.annheader, m);
1869
- if (!okay) {
1870
- m.info[key] = value;
1871
- }
1872
- continue;
1873
- }
1874
- if (vcf.info[key].Type == "Flag") {
1875
- m.info[key] = key;
1876
- continue;
1877
- }
1878
- const __number = vcf.info[key].Number;
1879
- const isinteger = vcf.info[key].Type == "Integer";
1880
- const isfloat = vcf.info[key].Type == "Float";
1881
- if (__number == "0") {
1882
- m.info[key] = key;
1883
- continue;
1884
- }
1885
- if (__number == "A") {
1886
- const tt = value.split(",");
1887
- for (let j = 0; j < tt.length; j++) {
1888
- if (m.alleles[j]) {
1889
- m.alleles[j].info[key] = isinteger ? Number.parseInt(tt[j]) : isfloat ? Number.parseFloat(tt[j]) : tt[j];
1890
- }
1891
- }
1892
- continue;
1893
- }
1894
- if (__number == "R") {
1895
- }
1896
- if (__number == "1") {
1897
- m.info[key] = isinteger ? Number.parseInt(value) : isfloat ? Number.parseFloat(value) : value;
1898
- continue;
1899
- }
1900
- if (!value.split) {
1901
- continue;
1902
- }
1903
- const lst = value.split(",");
1904
- if (isinteger) {
1905
- m.info[key] = lst.map(Number.parseInt);
1906
- } else if (isfloat) {
1907
- m.info[key] = lst.map(Number.parseFloat);
1908
- } else {
1909
- m.info[key] = lst;
1910
- }
1911
- }
1912
- return badinfokeys;
1913
- }
1914
-
1915
- // ../shared/utils/dist/src/violinHiddenValues.js
1916
- function getViolinHiddenValues(tw) {
1917
- const hidden = { ...tw?.q?.hiddenValues || {} };
1918
- for (const [k, v] of Object.entries(tw?.term?.values || {})) {
1919
- if (v?.uncomputable && hidden[k]) {
1920
- delete hidden[k];
1921
- hidden[v.label] = 1;
1922
- }
1923
- }
1924
- return hidden;
1925
- }
1926
-
1927
- // common/auth.js
1928
- var jwtByDsRoute;
1929
- function setJwtByDsRoute() {
1930
- if (jwtByDsRoute) return;
1931
- const jwtByDsRouteStr = localStorage.getItem("jwtByDsRoute") || `{}`;
1932
- jwtByDsRoute = JSON.parse(jwtByDsRouteStr);
1933
- }
1934
- function setTokenByDsRoute(dslabel, route, jwt) {
1935
- setJwtByDsRoute();
1936
- if (!jwtByDsRoute[dslabel]) jwtByDsRoute[dslabel] = {};
1937
- if (jwt) jwtByDsRoute[dslabel][route] = jwt;
1938
- else delete jwtByDsRoute[dslabel][route];
1939
- localStorage.setItem("jwtByDsRoute", JSON.stringify(jwtByDsRoute));
1940
- }
1941
- function getSavedToken(dslabel, route) {
1942
- setJwtByDsRoute();
1943
- return jwtByDsRoute[dslabel]?.[route] || jwtByDsRoute[dslabel]?.["/**"];
1944
- }
1945
- function mayAddJwtToRequest(init, body, url) {
1946
- if (init.headers.authorization) return;
1947
- let dslabel = body?.dslabel;
1948
- if (!dslabel) {
1949
- const param = url.split("?")[1]?.split("&").find((kv) => kv.includes("dslabel"));
1950
- if (!param) return;
1951
- let value = decodeURIComponent(param.split("=")[1]);
1952
- if (value.startsWith("{") && value.endsWith("}")) {
1953
- value = JSON.parse(value);
1954
- dslabel = value.dslabel || value.mass?.vocab.dslabel || value.tracks?.find((t) => t.dslabel)?.dslabel;
1955
- } else {
1956
- dslabel = value;
1957
- }
1958
- }
1959
- setJwtByDsRoute();
1960
- if (!dslabel || !jwtByDsRoute[dslabel]) return;
1961
- const h = url.split("//");
1962
- const postProtocolStr = h[1] || h[0];
1963
- const preQuestionMarkStr = postProtocolStr.split("?")[0];
1964
- const pathSegments = preQuestionMarkStr.split("/");
1965
- let route = pathSegments.find((p) => p != "" && !p.includes(":") && !p.includes("."));
1966
- const jwt = jwtByDsRoute[dslabel][route] || jwtByDsRoute[dslabel]["/**"];
1967
- if (jwt) init.headers.authorization = "Bearer " + btoa(jwt);
1968
- }
1969
- var dsAuthOk = /* @__PURE__ */ new Set();
1970
- var dsAuth;
1971
- var authUi;
1972
- var authUiHolder;
1973
- var includeEmbedder = false;
1974
- async function setDsAuthOk(opts) {
1975
- dsAuth = opts.dsAuth;
1976
- authUi = opts.ui || defaultAuthUi;
1977
- authUiHolder = opts.holder || select_default("body");
1978
- for (const auth of dsAuth) {
1979
- if (auth.insession) dsAuthOk.add(auth);
1980
- }
1981
- includeEmbedder = opts.dsAuth?.length > 0 || false;
1982
- }
1983
- function getRequiredAuth(dslabel, route) {
1984
- if (!dsAuth || !Array.isArray(dsAuth)) return;
1985
- for (const a of dsAuth) {
1986
- if (a.dslabel == dslabel && (a.route == route || a.route == "*" || a.route == "/**")) return a;
1987
- }
1988
- }
1989
- async function isInSession(dslabel, route) {
1990
- if (!dslabel) return false;
1991
- if (!Array.isArray(dsAuth)) return false;
1992
- for (const a of dsAuth) {
1993
- if (a.dslabel != dslabel || a.route != route && a.route != "/**") continue;
1994
- if (dsAuthOk.has(a)) return true;
1995
- if (a.checked) return false;
1996
- const jwt = getSavedToken(dslabel, a.route);
1997
- if (!jwt) return false;
1998
- const { dofetch3: dofetch32 } = await import("./dofetch-HLG7G7RX.js");
1999
- const payload = decodeJwtPayload(jwt);
2000
- if (payload.exp && Math.ceil(Date.now() / 1e3) > payload.exp) return false;
2001
- const data = await dofetch32("/jwt-status", {
2002
- method: "POST",
2003
- credentials: "include",
2004
- headers: {
2005
- //authorization: `Bearer ${btoa(jwt)}`
2006
- [a.headerKey]: jwt
2007
- },
2008
- body: {
2009
- dslabel,
2010
- route,
2011
- embedder: location.hostname
2012
- }
2013
- });
2014
- a.checked = true;
2015
- if (data.ok || data.status == "ok") {
2016
- dsAuthOk.add(a);
2017
- a.insession = true;
2018
- return true;
2019
- }
2020
- }
2021
- return false;
2022
- }
2023
- async function mayShowAuthUi(init, path, opts = {}) {
2024
- const ok = { status: "ok" };
2025
- if (!dsAuth || path.endsWith("jwt-status")) return ok;
2026
- const body = JSON.parse(init.body || `{}`);
2027
- const params = (path.split("?")[1] || "").split("&").reduce((obj, kv) => {
2028
- const [key, value] = kv.split("=");
2029
- obj[key] = value;
2030
- return obj;
2031
- }, {});
2032
- const q = Object.assign({}, body, params);
2033
- const route = ((path.split("?")[0] || "").split("//")[1] || "").split("/").slice(1).join("/");
2034
- for (const a of dsAuth) {
2035
- if (q.dslabel == a.dslabel && (a.route == "/**" || route == a.route)) {
2036
- if (dsAuthOk.has(a)) return ok;
2037
- else if (a.route != "/**") return ok;
2038
- else if (a.type == "basic") return await authUi(a.dslabel, a, opts);
2039
- else if (a.type == "jwt") {
2040
- } else if (a.type == "forbidden") {
2041
- alert("Forbidden access");
2042
- } else throw `unsupported dsAuth type='${a.type}'`;
2043
- }
2044
- }
2045
- return ok;
2046
- }
2047
- async function defaultAuthUi(dslabel, auth, opts = {}) {
2048
- 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)");
2049
- const form = mask.append("div").style("opacity", 1);
2050
- form.append("div").html(`Restricted dataset '${dslabel}'`);
2051
- form.append("span").html("Please enter password ");
2052
- const pwd = form.append("input").attr("type", "password");
2053
- pwd.node().focus();
2054
- const btn = form.append("button").html("Submit");
2055
- return new Promise((resolve, reject) => {
2056
- function login() {
2057
- fetch("/dslogin", {
2058
- method: "POST",
2059
- headers: {
2060
- "content-type": "application/json",
2061
- authorization: `Basic ${btoa(pwd.property("value"))}`
2062
- },
2063
- body: JSON.stringify({ dslabel, route: auth.route, embedder: window.location.hostname })
2064
- }).then((res) => res.json()).then((res) => {
2065
- if (res.error) throw res.error;
2066
- mask.remove();
2067
- dsAuthOk.add(auth);
2068
- if (res.jwt) {
2069
- setTokenByDsRoute(dslabel, res.route, res.jwt);
2070
- }
2071
- if (!opts.setDomRefs) window.location.reload();
2072
- else resolve(dslabel);
2073
- }).catch((e) => {
2074
- alert("login error: " + e);
2075
- });
2076
- }
2077
- btn.on("click", login);
2078
- pwd.on("change", login);
2079
- if (opts.setDomRefs)
2080
- opts.setDomRefs({
2081
- pwd,
2082
- btn,
2083
- mask,
2084
- authUiHolder
2085
- });
2086
- });
2087
- }
2088
- function decodeJwtPayload(token) {
2089
- const base64Url = token.split(".")[1];
2090
- const base64 = base64Url.replace(/-/g, "+").replace(/_/g, "/");
2091
- const paddedBase64 = base64 + "=".repeat((4 - base64.length % 4) % 4);
2092
- const jsonPayload = decodeURIComponent(window.atob(paddedBase64).split("").map(convertAtoBresult).join(""));
2093
- return JSON.parse(jsonPayload);
2094
- }
2095
- function convertAtoBresult(c) {
2096
- return "%" + ("00" + c.charCodeAt(0).toString(16)).slice(-2);
2097
- }
2098
-
2099
- // common/dofetch.js
2100
- function dofetch(path, arg, opts = null) {
2101
- if (opts && typeof opts == "object") {
2102
- if (opts.serverData && typeof opts.serverData == "object") {
2103
- if (!dofetch.serverData) {
2104
- dofetch.serverData = opts.serverData;
2105
- } else if (!opts.serverData) {
2106
- opts.serverData = dofetch.serverData;
2107
- }
2108
- }
2109
- return dofetch2(
2110
- path,
2111
- {
2112
- method: "POST",
2113
- headers: {
2114
- "content-type": "application/json"
2115
- },
2116
- body: JSON.stringify(arg)
2117
- },
2118
- opts
2119
- );
2120
- } else {
2121
- if (path[0] == "/") {
2122
- path = path.slice(1);
2123
- }
2124
- const jwt = sessionStorage.getItem("jwt");
2125
- if (jwt) {
2126
- arg.jwt = jwt;
2127
- }
2128
- let url = path;
2129
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2130
- if (host) {
2131
- if (host.endsWith("/")) {
2132
- url = host + path;
2133
- } else {
2134
- url = host + "/" + path;
2135
- }
2136
- }
2137
- return fetch(
2138
- new Request(url, {
2139
- method: "POST",
2140
- headers: {
2141
- "content-type": "application/json"
2142
- },
2143
- body: JSON.stringify(arg)
2144
- })
2145
- ).then((r) => r.json());
2146
- }
2147
- }
2148
- function dofetch2(path, init = {}, opts = {}) {
2149
- if (path[0] == "/") {
2150
- path = path.slice(1);
2151
- }
2152
- let url = path;
2153
- const host = sessionStorage.getItem("hostURL") || window.testHost || "";
2154
- if (host) {
2155
- if (host.endsWith("/")) {
2156
- url = host + path;
2157
- } else {
2158
- url = host + "/" + path;
2159
- }
2160
- }
2161
- mayAdjustCredentials(init);
2162
- const body = init.body || {};
2163
- url = mayAdjustRequest(url, init);
2164
- if (!init.headers) {
2165
- init.headers = {};
2166
- }
2167
- const hasContentType = Object.keys(init.headers).some((k) => k.toLowerCase() == "content-type");
2168
- if (!hasContentType && init.body) {
2169
- init.headers["content-type"] = "application/json";
2170
- }
2171
- const jwt = sessionStorage.getItem("jwt");
2172
- if (jwt) {
2173
- init.headers.authorization = "Bearer " + jwt;
2174
- }
2175
- return mayShowAuthUi(init, url).then(async () => {
2176
- if (!jwt) mayAddJwtToRequest(init, body, url);
2177
- if (opts.serverData) {
2178
- return namedFetch(url, init, opts);
2179
- } else {
2180
- return fetch(url, init).then(processResponse);
2181
- }
2182
- });
2183
- }
2184
- var optsServerDataNames = /* @__PURE__ */ new WeakMap();
2185
- async function namedFetch(url, init, opts = {}) {
2186
- if (!opts.serverData) throw `use ezFetch() from fetch-helpers if a fetched response is not meant to be cached`;
2187
- if (typeof opts.serverData != "object") throw `opts.serverData is not an object`;
2188
- let result;
2189
- const dataName = await getDataName(url, init);
2190
- if (opts.serverData[dataName]) {
2191
- if (init.signal) {
2192
- await sleep(0);
2193
- if (init.signal.aborted) throw `stale sequenceId`;
2194
- }
2195
- result = structuredClone(opts.serverData[dataName]);
2196
- }
2197
- if (!result || typeof result != "object" && !(result instanceof Promise)) {
2198
- delete opts.serverData[dataName];
2199
- result = void 0;
2200
- }
2201
- if (!result) {
2202
- try {
2203
- const res = await fetch(url, init);
2204
- result = await processResponse(res);
2205
- if (typeof result == "object" && !(result instanceof Promise)) {
2206
- deepFreeze(result);
2207
- opts.serverData[dataName] = result;
2208
- result = structuredClone(result);
2209
- }
2210
- } catch (e) {
2211
- delete opts.serverData[dataName];
2212
- throw e;
2213
- }
2214
- }
2215
- if (!optsServerDataNames.has(opts.serverData)) optsServerDataNames.set(opts.serverData, []);
2216
- const keys = optsServerDataNames.get(opts.serverData);
2217
- const i = keys.indexOf(dataName);
2218
- if (i > 0) {
2219
- keys.splice(i, 1);
2220
- }
2221
- keys.unshift(dataName);
2222
- const maxKeys = 360;
2223
- while (keys.length > maxKeys) {
2224
- const oldestDataKey = keys.pop();
2225
- delete opts.serverData[oldestDataKey];
2226
- }
2227
- return result;
2228
- }
2229
- var defaultServerDataCache = {};
2230
- function dofetch3(path, init = {}, opts = {}) {
2231
- if (!init.signal && this) {
2232
- init.signal = this.getAbortSignal?.() || this.app?.getAbortSignal?.();
2233
- }
2234
- opts.serverData = defaultServerDataCache;
2235
- return dofetch2(path, init, opts);
2236
- }
2237
- function clearServerDataCache(opts = {}) {
2238
- const cache = opts?.serverData || defaultServerDataCache;
2239
- if (!cache) return;
2240
- for (const k of Object.keys(cache)) {
2241
- delete cache[k];
2242
- }
2243
- }
2244
- var urlMaxLength = 2e3;
2245
- function mayAdjustCredentials(init, pageOrigin = window.location.origin) {
2246
- if (init.credentials == "include" && pageOrigin == "null") init.credentials = "same-origin";
2247
- }
2248
- function mayAdjustRequest(url, init) {
2249
- const hostname = window.location.hostname;
2250
- const method = init.method && init.method.toUpperCase() || "GET";
2251
- if (method == "POST") {
2252
- if (typeof init.body == "string") init.body = JSON.parse(init.body);
2253
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2254
- init.body = JSON.stringify(init.body);
2255
- return url;
2256
- }
2257
- if (method != "GET" && method != "DELETE" && method != "PUT") {
2258
- throw `unsupported init.method='${method}': must be undefined or GET or POST or DELETE or PUT`;
2259
- }
2260
- if (init.body) {
2261
- if (!init.body.embedder && includeEmbedder) init.body.embedder = hostname;
2262
- const params = encode(init.body);
2263
- if (!url.includes("?")) url += "?";
2264
- url += params;
2265
- }
2266
- if (!url.includes("embedder=") && includeEmbedder) {
2267
- const sep = url.includes("?") ? "&" : "?";
2268
- url += `${sep}embedder=${hostname}`;
2269
- }
2270
- if (url.length < urlMaxLength) {
2271
- if (init.body) delete init.body;
2272
- return url;
2273
- }
2274
- if (method != "GET") {
2275
- throw `the ${method} request URL is too long (${url.length} characters, max=${urlMaxLength})`;
2276
- }
2277
- init.method = "POST";
2278
- const [hostpath, query] = url.split("?");
2279
- if (init.body) {
2280
- init.body = JSON.stringify(init.body);
2281
- } else {
2282
- const params = {};
2283
- if (query)
2284
- query.split("&").forEach((p) => {
2285
- const [k, v] = p.split("=");
2286
- const decodedVal = decodeURIComponent(v);
2287
- try {
2288
- params[k] = JSON.parse(decodedVal);
2289
- } catch {
2290
- params[k] = decodedVal;
2291
- }
2292
- });
2293
- if (!params.embedder && includeEmbedder) params.embedder = hostname;
2294
- init.body = JSON.stringify(params);
2295
- }
2296
- return hostpath;
2297
- }
2298
- function setAuth(opts) {
2299
- setDsAuthOk(opts, dofetch3);
2300
- }
2301
-
2302
- export {
2303
- boxplot_getvalue,
2304
- init_bulk_flag,
2305
- parsesample,
2306
- clusterMethodLst,
2307
- distanceMethodLst,
2308
- maxSampleCutoff,
2309
- sampleLimitAlert,
2310
- HYPER_COLOR,
2311
- HYPO_COLOR,
2312
- computePercentile,
2313
- processFormData,
2314
- fileSize,
2315
- ssmIdFieldsSeparator,
2316
- summarize_mclass,
2317
- guessSsmid,
2318
- defaultMaxPairwiseTestGroups,
2319
- pairwiseTestGroupsLimit,
2320
- xAxisOffSet,
2321
- yAxisOffSet,
2322
- getCoordinate,
2323
- calculatePadding,
2324
- compute_bins,
2325
- get_bin_label,
2326
- get_bin_range_equation,
2327
- initBinConfig,
2328
- isUsableTerm,
2329
- formatElapsedTime,
2330
- vcfparsemeta,
2331
- vcfparseline,
2332
- getViolinHiddenValues,
2333
- setTokenByDsRoute,
2334
- getSavedToken,
2335
- mayAddJwtToRequest,
2336
- includeEmbedder,
2337
- setDsAuthOk,
2338
- getRequiredAuth,
2339
- isInSession,
2340
- mayShowAuthUi,
2341
- dofetch,
2342
- dofetch2,
2343
- namedFetch,
2344
- dofetch3,
2345
- clearServerDataCache,
2346
- mayAdjustCredentials,
2347
- setAuth
2348
- };
2349
- //# sourceMappingURL=chunk-KLJM7HE5.js.map