@sjcrh/proteinpaint-client 2.181.0 → 2.182.1

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