@sjcrh/proteinpaint-client 2.219.1 → 2.221.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (983) hide show
  1. package/dist/2dmaf-7YU3SNKL.js +1362 -0
  2. package/dist/AggMatrixInput-73CDR5FS.js +402 -0
  3. package/dist/AggregateMatrix-NNULVFBM.js +37 -0
  4. package/dist/AppHeader-EZDDLLXU.js +826 -0
  5. package/dist/BoxPlot-463E7CRY.js +1229 -0
  6. package/dist/CorrelationVolcano-LHIIMBPP.js +613 -0
  7. package/dist/Cuminc-UL2TCIKV.js +1217 -0
  8. package/dist/DE-VRFSKFDW.js +85 -0
  9. package/dist/DEinput-FZTQRWVC.js +479 -0
  10. package/dist/DM-PO7CQZNT.js +86 -0
  11. package/dist/DifferentialAnalysis-WK6HE3YH.js +236 -0
  12. package/dist/Disco-YBNQJQFG.js +3384 -0
  13. package/dist/Disco.UI-HC5XYBFV.js +239 -0
  14. package/dist/DmrPlot-7VJ5C66D.js +361 -0
  15. package/dist/GB-VPFQRDRO.js +1388 -0
  16. package/dist/GSEA-ZEJB3QZQ.js +870 -0
  17. package/dist/GeneExpInput-SBDDIY6G.js +38 -0
  18. package/dist/Geomap-23AHGP2V.js +80 -0
  19. package/dist/HicApp-7AQQE4CM.js +2240 -0
  20. package/dist/IDCViewer-NO5Q6VOB.js +10808 -0
  21. package/dist/NumBinaryEditor-DSRP4OOU.js +274 -0
  22. package/dist/NumBinaryEditor.unit.spec-TT666YL4.js +308 -0
  23. package/dist/NumContEditor-6CURFOCH.js +100 -0
  24. package/dist/NumContEditor.unit.spec-MNVCFCMP.js +160 -0
  25. package/dist/NumCustomBinEditor-SQRR5EFL.js +29 -0
  26. package/dist/NumCustomBinEditor.unit.spec-F7BZWGGT.js +393 -0
  27. package/dist/NumDiscreteEditor-U7Z2QNYP.js +165 -0
  28. package/dist/NumDiscreteEditor.unit.spec-EIEBUZCX.js +229 -0
  29. package/dist/NumRegularBinEditor-CVZSWN6Y.js +29 -0
  30. package/dist/NumRegularBinEditor.unit.spec-ZMAJOIHL.js +274 -0
  31. package/dist/NumSplineEditor-U43D5NBJ.js +205 -0
  32. package/dist/NumSplineEditor.unit.spec-C52AADTS.js +220 -0
  33. package/dist/NumericDensity-PUKDZOVI.js +29 -0
  34. package/dist/NumericDensity.unit.spec-2347S76D.js +414 -0
  35. package/dist/NumericHandler-3RT32PTR.js +30 -0
  36. package/dist/NumericHandler.unit.spec-4PADL4KZ.js +225 -0
  37. package/dist/ProteomeInput-NFV4FW4U.js +610 -0
  38. package/dist/Regression-N7M7N6G4.js +1412 -0
  39. package/dist/RunChart2-UPQ7C6QE.js +744 -0
  40. package/dist/SC-KBW2NHUV.js +1290 -0
  41. package/dist/Violin-GWCOP3ZF.js +1092 -0
  42. package/dist/Volcano-X3HT32GQ.js +2661 -0
  43. package/dist/Volcano-X3HT32GQ.js.map +7 -0
  44. package/dist/Wsi-NXAEOYIS.js +636 -0
  45. package/dist/aboutSunburst-5EKXZV2A.js +86 -0
  46. package/dist/aboutSunburst-5EKXZV2A.js.map +7 -0
  47. package/dist/adSandbox-RPEWEEW7.js +29 -0
  48. package/dist/animatedBubbleChart-ILDMZRBX.js +542 -0
  49. package/dist/app-LOUC4J47.js +28 -0
  50. package/dist/app-MRKXZ6AZ.js +38 -0
  51. package/dist/app.js +15 -15
  52. package/dist/bam-SQWPHCZZ.js +872 -0
  53. package/dist/bam-SQWPHCZZ.js.map +7 -0
  54. package/dist/barchart-CJR37234.js +38 -0
  55. package/dist/barchart2-QQYLTHWR.js +305 -0
  56. package/dist/block-GLF6QNKY.js +6203 -0
  57. package/dist/block-GLF6QNKY.js.map +7 -0
  58. package/dist/block.init-YJQTJIDO.js +29 -0
  59. package/dist/block.mds.expressionrank-GBMEI5KQ.js +350 -0
  60. package/dist/block.mds.geneboxplot-XWE3E5IW.js +819 -0
  61. package/dist/block.mds.junction-QLEHFVPE.js +1534 -0
  62. package/dist/block.mds.svcnv-53DTOPBC.js +6413 -0
  63. package/dist/block.svg-57T37ABS.js +155 -0
  64. package/dist/block.tk.aicheck-6DXJTS3H.js +274 -0
  65. package/dist/block.tk.bam-CJFFQDNX.js +1906 -0
  66. package/dist/block.tk.bam-CJFFQDNX.js.map +7 -0
  67. package/dist/block.tk.bigwig.ui-OYIVXE2L.js +202 -0
  68. package/dist/block.tk.hicstraw-UKTGEBWT.js +814 -0
  69. package/dist/block.tk.junction-ZU5KPFQ3.js +2353 -0
  70. package/dist/block.tk.junction.textmatrixui-P4WXTAZR.js +190 -0
  71. package/dist/block.tk.ld-3PQ4O2AE.js +90 -0
  72. package/dist/block.tk.menu-LLITB6UA.js +1050 -0
  73. package/dist/block.tk.pgv-Y3FBXUO3.js +934 -0
  74. package/dist/brainImaging-4B3WXLNP.js +550 -0
  75. package/dist/brainRegions-7VLONUWN.js +213 -0
  76. package/dist/bubbleHeatmap-DI6GJRR6.js +374 -0
  77. package/dist/cellTypeBubbleHeatmap-HJY53DB2.js +274 -0
  78. package/dist/chunk-226MNBZ2.js +240 -0
  79. package/dist/chunk-2CDFU4MQ.js +536 -0
  80. package/dist/chunk-2CDFU4MQ.js.map +7 -0
  81. package/dist/chunk-2CNFGVHU.js +257 -0
  82. package/dist/chunk-2MC3RNKA.js +2685 -0
  83. package/dist/chunk-2OMX5AYB.js +195 -0
  84. package/dist/chunk-2SL4QWUS.js +50 -0
  85. package/dist/chunk-3KGBC5MK.js +692 -0
  86. package/dist/chunk-3PCRAPUV.js +56 -0
  87. package/dist/chunk-4DBOMSKP.js +102 -0
  88. package/dist/chunk-4TJO2DGU.js +2297 -0
  89. package/dist/chunk-4TJO2DGU.js.map +7 -0
  90. package/dist/chunk-57BS6KNI.js +466 -0
  91. package/dist/chunk-5AXS5G4A.js +2334 -0
  92. package/dist/chunk-5DI4UNH5.js +562 -0
  93. package/dist/chunk-5HJG6ECV.js +237 -0
  94. package/dist/chunk-5ZYANHGX.js +550 -0
  95. package/dist/chunk-6T4MN7LV.js +397 -0
  96. package/dist/chunk-75MRUW2K.js +103 -0
  97. package/dist/chunk-7J3W3KCN.js +255 -0
  98. package/dist/chunk-7SFK32JP.js +398 -0
  99. package/dist/chunk-7SFK32JP.js.map +7 -0
  100. package/dist/chunk-AIZYAKIE.js +182 -0
  101. package/dist/chunk-AJNFI6GA.js +2008 -0
  102. package/dist/chunk-BJAWDZBL.js +2799 -0
  103. package/dist/chunk-C6PVZVIH.js +379 -0
  104. package/dist/chunk-C77X5ZUV.js +176 -0
  105. package/dist/chunk-C7KUMZQM.js +59 -0
  106. package/dist/chunk-C7ROKWV2.js +140 -0
  107. package/dist/chunk-CAH6LJ5Z.js +31 -0
  108. package/dist/chunk-CUCP2GMT.js +102 -0
  109. package/dist/chunk-DTGAMBRJ.js +134 -0
  110. package/dist/chunk-DXT7GDHY.js +55 -0
  111. package/dist/chunk-ENPMWVWG.js +5214 -0
  112. package/dist/chunk-EYKJQJ7R.js +382 -0
  113. package/dist/chunk-FE5TCBIT.js +30 -0
  114. package/dist/chunk-FJ2JV2VK.js +217 -0
  115. package/dist/chunk-FPMJJBLV.js +4389 -0
  116. package/dist/chunk-FPMJJBLV.js.map +7 -0
  117. package/dist/chunk-FZYVPRVQ.js +38 -0
  118. package/dist/chunk-GBKQHVKJ.js +274 -0
  119. package/dist/chunk-GUW7VTUL.js +281 -0
  120. package/dist/chunk-H7F6DMJA.js +70 -0
  121. package/dist/chunk-HH3NUAR2.js +96 -0
  122. package/dist/chunk-HRTPGNOG.js +159 -0
  123. package/dist/chunk-IFPRYTS7.js +848 -0
  124. package/dist/chunk-IJSFSUI4.js +302 -0
  125. package/dist/chunk-IRQKX6DL.js +263 -0
  126. package/dist/chunk-JHLF2ZC2.js +472 -0
  127. package/dist/chunk-JNZL7HKB.js +1219 -0
  128. package/dist/chunk-K2ARLT2A.js +26 -0
  129. package/dist/chunk-K3G56J5R.js +299 -0
  130. package/dist/chunk-KKUCG2QE.js +516 -0
  131. package/dist/chunk-KPXCXBNU.js +626 -0
  132. package/dist/chunk-LF5WBI27.js +418 -0
  133. package/dist/chunk-LF5WBI27.js.map +7 -0
  134. package/dist/chunk-MANAUI7R.js +54 -0
  135. package/dist/chunk-MEUSRAOE.js +170 -0
  136. package/dist/chunk-MHWYRNGA.js +348 -0
  137. package/dist/chunk-MSTYU3QO.js +14 -0
  138. package/dist/chunk-MWARRQT4.js +141 -0
  139. package/dist/chunk-MXKYPTZ7.js +203 -0
  140. package/dist/chunk-NX5IB4IY.js +37 -0
  141. package/dist/chunk-OZUF7O2S.js +133 -0
  142. package/dist/chunk-PRTLCJYF.js +2941 -0
  143. package/dist/chunk-PRTLCJYF.js.map +7 -0
  144. package/dist/chunk-PWYMHUXY.js +116 -0
  145. package/dist/chunk-PWYMHUXY.js.map +7 -0
  146. package/dist/chunk-QNCE6EOK.js +82 -0
  147. package/dist/chunk-RIHO7ZD5.js +119 -0
  148. package/dist/chunk-RV335DF2.js +266 -0
  149. package/dist/chunk-SFPZUBPM.js +2102 -0
  150. package/dist/chunk-SFPZUBPM.js.map +7 -0
  151. package/dist/chunk-THAUD62Q.js +1253 -0
  152. package/dist/chunk-VBTBUXXX.js +6375 -0
  153. package/dist/chunk-VHWJK2MP.js +56 -0
  154. package/dist/chunk-VLIOMJDR.js +276 -0
  155. package/dist/chunk-VMK4RHV5.js +54 -0
  156. package/dist/chunk-WD7FZ5EE.js +26536 -0
  157. package/dist/chunk-WD7FZ5EE.js.map +7 -0
  158. package/dist/chunk-WJLRU5OF.js +5786 -0
  159. package/dist/chunk-WJLRU5OF.js.map +7 -0
  160. package/dist/chunk-WKT7RF3C.js +468 -0
  161. package/dist/chunk-WXSMUSU7.js +184 -0
  162. package/dist/chunk-WXSX5OQJ.js +296 -0
  163. package/dist/chunk-WY3IORKG.js +194 -0
  164. package/dist/chunk-WYSOOKFJ.js +480 -0
  165. package/dist/chunk-XBBFFOLS.js +123 -0
  166. package/dist/chunk-XSRQGX5H.js +340 -0
  167. package/dist/chunk-YLL6CTBL.js +54 -0
  168. package/dist/chunk-YPBY37KD.js +1339 -0
  169. package/dist/chunk-YUNJBIK4.js +243 -0
  170. package/dist/chunk-Z5ECCUNG.js +444 -0
  171. package/dist/chunk-ZAC34BZQ.js +35 -0
  172. package/dist/chunk-ZAC34BZQ.js.map +7 -0
  173. package/dist/cohort-5WL6UJOS.js +66 -0
  174. package/dist/cohortSunburst-R3Z5KJQL.js +402 -0
  175. package/dist/condition-2IILUMVB.js +323 -0
  176. package/dist/controls-G3JITZF5.js +30 -0
  177. package/dist/controls.config-BO7KPPET.js +30 -0
  178. package/dist/correlation-CZILLVEM.js +91 -0
  179. package/dist/customdata.inputui-BXFQAMTR.js +280 -0
  180. package/dist/dataDownload-QTWR4IW7.js +326 -0
  181. package/dist/dataDownload-QTWR4IW7.js.map +7 -0
  182. package/dist/databrowser.ui-V2NJQF3U.js +421 -0
  183. package/dist/dictionary-OVAQX6R3.js +109 -0
  184. package/dist/dnaMethylation-DHPFRXB2.js +29 -0
  185. package/dist/dnaMethylation.integration.spec-PJLIRGN5.js +194 -0
  186. package/dist/dofetch-KBTN6OW4.js +49 -0
  187. package/dist/e2pca-O7SNMJGB.js +340 -0
  188. package/dist/ep-NIVLKG4S.js +1247 -0
  189. package/dist/expclust.gdc.spec-LVCD6C43.js +298 -0
  190. package/dist/facet-LB4SCXE4.js +556 -0
  191. package/dist/gb-3IJ4NCPO.js +77 -0
  192. package/dist/geneExpClustering-SIAC7CMA.js +240 -0
  193. package/dist/geneExpression-KPUOZ4PT.js +309 -0
  194. package/dist/geneExpression-P2TTZXN2.js +29 -0
  195. package/dist/geneExpression.unit.spec-Q5D6XHUF.js +151 -0
  196. package/dist/geneORA-PKUIJKTL.js +269 -0
  197. package/dist/geneRanking-ZGT5MHBV.js +544 -0
  198. package/dist/geneVariant-24YNANTT.js +289 -0
  199. package/dist/geneVariant-CDGENHWQ.js +32 -0
  200. package/dist/geneVariant.integration.spec-7QW4C2WO.js +672 -0
  201. package/dist/genefusion.ui-NVXGSBXD.js +299 -0
  202. package/dist/geneset-7STL6UDD.js +199 -0
  203. package/dist/genomeBrowser.spec-OE2CIP7I.js +272 -0
  204. package/dist/grin2-2HXUIY5O.js +66 -0
  205. package/dist/grin2-32IIJR5E.js +945 -0
  206. package/dist/hierCluster-MDZEI2KB.js +51 -0
  207. package/dist/hierCluster-T3PZUGBI.js +55 -0
  208. package/dist/hierCluster.config-7UN6AYGB.js +32 -0
  209. package/dist/hierCluster.integration.spec-DWOYVK6T.js +479 -0
  210. package/dist/hierCluster.interactivity-5OM6XNFG.js +45 -0
  211. package/dist/hierCluster.renderers-YGX6MZZW.js +18 -0
  212. package/dist/imagePlot-KBRXDV5G.js +152 -0
  213. package/dist/importPlot-DJMIC22L.js +8 -0
  214. package/dist/isoformExpression-SWDWADRC.js +31 -0
  215. package/dist/isoformExpression.unit.spec-2U5KCYBP.js +233 -0
  216. package/dist/junction-NMXVVGRG.js +32 -0
  217. package/dist/junction.customTerm-3R2GNE3A.js +15 -0
  218. package/dist/junction.unit.spec-JTGBPPN7.js +178 -0
  219. package/dist/launch.adhoc-YB5SKMNY.js +33 -0
  220. package/dist/leftlabel.sample-QKXIODCS.js +253 -0
  221. package/dist/lollipop-TSZ62PBH.js +162 -0
  222. package/dist/maf-4L5YN4CG.js +451 -0
  223. package/dist/maftimeline-VOYB3NY3.js +583 -0
  224. package/dist/matrix-IWJECVTF.js +55 -0
  225. package/dist/matrix-MMJAJZA7.js +50 -0
  226. package/dist/matrix.cells-5RTZUJVN.js +25 -0
  227. package/dist/matrix.config-DZGOZWJS.js +33 -0
  228. package/dist/matrix.data-Y5TPRGMW.js +22 -0
  229. package/dist/matrix.groups-6DXCAY4P.js +25 -0
  230. package/dist/matrix.integration.spec-2N237E7T.js +3156 -0
  231. package/dist/matrix.interactivity-FL33UUKR.js +33 -0
  232. package/dist/matrix.layout-7SYHV3KJ.js +35 -0
  233. package/dist/matrix.legend-S3E76TVO.js +19 -0
  234. package/dist/matrix.renderers-3SIBT2RP.js +30 -0
  235. package/dist/matrix.serieses-3UGLZW25.js +18 -0
  236. package/dist/matrix.sort-A7CNLDUJ.js +25 -0
  237. package/dist/matrix.sort.unit.spec-L3H44T6I.js +464 -0
  238. package/dist/matrix.sorterUi-6PZR3YOD.js +15 -0
  239. package/dist/matrix.sorterUi.unit.spec-2NRU5UFH.js +334 -0
  240. package/dist/matrix.unit.spec-HRZIJB6T.js +146 -0
  241. package/dist/mavb-ZVRQSDPS.js +726 -0
  242. package/dist/mds.fimo-ZKETTET7.js +509 -0
  243. package/dist/mds.samplescatterplot-ZV3UNRLP.js +1545 -0
  244. package/dist/mds.survivalplot-OVXZRTU4.js +472 -0
  245. package/dist/multivalue-6BE5IA4F.js +79 -0
  246. package/dist/numericDictTermCluster-6XDVVWLE.js +62 -0
  247. package/dist/oncomatrix-XK62NEOO.js +286 -0
  248. package/dist/oncomatrix.spec-YVTCHOPS.js +439 -0
  249. package/dist/plot.2dvaf-NUOBWMNX.js +368 -0
  250. package/dist/plot.app-G6IQWXTV.js +32 -0
  251. package/dist/plot.barplot-6QJ6HEJR.js +93 -0
  252. package/dist/plot.boxplot-XKQJSW2O.js +142 -0
  253. package/dist/plot.brainImaging-UTHFJFXU.js +51 -0
  254. package/dist/plot.disco-3MSCX7TM.js +98 -0
  255. package/dist/plot.ssgq-4KBVHF42.js +130 -0
  256. package/dist/plot.vaf2cov-OGUQSSDS.js +249 -0
  257. package/dist/polar2-V7M56GTZ.js +228 -0
  258. package/dist/profileForms-TS3BJLHH.js +937 -0
  259. package/dist/profilePlot-DP5272HR.js +45 -0
  260. package/dist/proteinView-K4K4SP3L.js +1346 -0
  261. package/dist/proteomeCohortCompare-SFWVGLFK.js +866 -0
  262. package/dist/pseudbulk.unit.spec-NFOA7J2C.js +82 -0
  263. package/dist/pseudobulk-XKZQEZ4I.js +31 -0
  264. package/dist/qualitative-7OSFNVI5.js +241 -0
  265. package/dist/qualitative-OIIN6E4Y.js +34 -0
  266. package/dist/radar2-AHZJKX7S.js +323 -0
  267. package/dist/radarFacility2-OUW6D5E7.js +331 -0
  268. package/dist/rememberedGvQ.unit.spec-SHTMMZGG.js +210 -0
  269. package/dist/render-7UZSGX3Q.js +29 -0
  270. package/dist/report-J7HKTXZ2.js +213 -0
  271. package/dist/sampleView-6547OUIM.js +39 -0
  272. package/dist/samplelst-UHF23UEB.js +114 -0
  273. package/dist/samplematrix-OOKS3TMR.js +2188 -0
  274. package/dist/sc-WF2BLGNG.js +77 -0
  275. package/dist/scatter-ABCVFGRV.js +84 -0
  276. package/dist/scatter-WF7XM3IA.js +919 -0
  277. package/dist/selectGenomeWithTklst-67HU5KRB.js +125 -0
  278. package/dist/singleCellCellType-3FZPJ25V.js +29 -0
  279. package/dist/singleCellCellType.unit.spec-TOMREHWK.js +150 -0
  280. package/dist/singleCellGeneExpression-NQTJ5KJQ.js +29 -0
  281. package/dist/singleCellGeneExpression.unit.spec-ZWUQTU2N.js +144 -0
  282. package/dist/singleCellNumericValue-VI7H722L.js +29 -0
  283. package/dist/singleCellNumericValue.unit.spec-QGLHES7H.js +412 -0
  284. package/dist/singleCellPlot-RU5T6SJK.js +44 -0
  285. package/dist/singlecell-C3CJVNXP.js +1562 -0
  286. package/dist/singlecell-NRQZ7KC6.js +77 -0
  287. package/dist/snp-X6XY65VS.js +29 -0
  288. package/dist/snp.unit.spec-6EENK7GQ.js +167 -0
  289. package/dist/snplocus-R4JA6TFT.js +200 -0
  290. package/dist/snplst-SOWVHSXH.js +36 -0
  291. package/dist/spliceevent.a53ss.diagram-IRLCCVQZ.js +142 -0
  292. package/dist/spliceevent.exonskip.diagram-4KG7LE5D.js +274 -0
  293. package/dist/spliceevent.noeventdiagram-OWXAJJX7.js +451 -0
  294. package/dist/ssGSEA-EMOKPLMP.js +29 -0
  295. package/dist/ssGSEA.unit.spec-KXQ7R5WH.js +79 -0
  296. package/dist/stattable-H2G7MOZG.js +112 -0
  297. package/dist/studyCatalog-3ITQXWFL.js +457 -0
  298. package/dist/summarizeCnvGeneexp-ZIPU6YDY.js +154 -0
  299. package/dist/summarizeGeneexpSurvival-3RYU226R.js +101 -0
  300. package/dist/summarizeMutationCnv-RGDBUB22.js +155 -0
  301. package/dist/summarizeMutationDiagnosis-Z4MZE6Y4.js +31 -0
  302. package/dist/summarizeMutationSurvival-Z5CNRH7E.js +95 -0
  303. package/dist/summary-6QQCNX3B.js +40 -0
  304. package/dist/summary.integration.spec-3ULXTZUP.js +405 -0
  305. package/dist/summaryInput-4QKR34QB.js +238 -0
  306. package/dist/sunburst-KB3BWC72.js +34 -0
  307. package/dist/sunburst-XTFBHZNH.js +274 -0
  308. package/dist/survival-7O6ZK63E.js +49 -0
  309. package/dist/survival-NNCY4K6C.js +1248 -0
  310. package/dist/survival.integration.spec-ZYZHZAXA.js +609 -0
  311. package/dist/svgraph-ZLSFFEAC.js +1377 -0
  312. package/dist/svmr-REBBDEYM.js +3834 -0
  313. package/dist/swimmer-NUBRIWLI.js +993 -0
  314. package/dist/swimmer-NUBRIWLI.js.map +7 -0
  315. package/dist/table-CWIQQESJ.js +192 -0
  316. package/dist/termCollection-7TYJSQ45.js +29 -0
  317. package/dist/termCollection-7Z55QNL7.js +247 -0
  318. package/dist/termCollection.unit.spec-LQ5MIBDH.js +295 -0
  319. package/dist/termCollectionFractionSelection-24DZYVDU.js +38 -0
  320. package/dist/termCollectionFractionSelection.unit.spec-DCV2CFS5.js +184 -0
  321. package/dist/tk-2WZFPRCP.js +37 -0
  322. package/dist/tk-QTLEYIP7.js +1193 -0
  323. package/dist/tk-QTLEYIP7.js.map +7 -0
  324. package/dist/tp.ui-HXQX2UH4.js +1453 -0
  325. package/dist/tvs.categorical-4D3JI2ER.js +28 -0
  326. package/dist/tvs.condition-62FXFHZ5.js +160 -0
  327. package/dist/tvs.density-IGO4I4T2.js +19 -0
  328. package/dist/tvs.dt-FZSVMJOO.js +34 -0
  329. package/dist/tvs.dtcnv.categorical-PPFQIC42.js +31 -0
  330. package/dist/tvs.dtcnv.continuous-TV2IGHY4.js +72 -0
  331. package/dist/tvs.dtfusion-ON4BA4XJ.js +31 -0
  332. package/dist/tvs.dtitd-VFNROOWQ.js +31 -0
  333. package/dist/tvs.dtsnvindel-ZXOP37T5.js +31 -0
  334. package/dist/tvs.dtsv-EUHPTW7J.js +31 -0
  335. package/dist/tvs.multivalue-NHVXZNDI.js +84 -0
  336. package/dist/tvs.numeric-FPWDPO3J.js +32 -0
  337. package/dist/tvs.samplelst-ZZHRNUP4.js +95 -0
  338. package/dist/tvs.survival-F3KSG3U6.js +110 -0
  339. package/dist/tvs.termCollection-B37DZLDY.js +118 -0
  340. package/dist/vocabulary-XNE5FFDK.js +32 -0
  341. package/dist/vocabulary-XNE5FFDK.js.map +7 -0
  342. package/dist/wsi.direct-3YH3QGQD.js +11514 -0
  343. package/package.json +4 -4
  344. package/dist/2dmaf-O2SQ5RGD.js +0 -1362
  345. package/dist/AggMatrixInput-LUCTWXHU.js +0 -402
  346. package/dist/AggregateMatrix-JVMF27YL.js +0 -37
  347. package/dist/AppHeader-DJU6HRKO.js +0 -826
  348. package/dist/BoxPlot-22RXMPRL.js +0 -1229
  349. package/dist/CorrelationVolcano-PBZWPFSN.js +0 -613
  350. package/dist/Cuminc-EL74X5GY.js +0 -1217
  351. package/dist/DE-W5SAMMRW.js +0 -85
  352. package/dist/DEinput-ZKEFJZQU.js +0 -479
  353. package/dist/DM-ABKDXMDG.js +0 -86
  354. package/dist/DifferentialAnalysis-3JTZ5WCQ.js +0 -236
  355. package/dist/Disco-ME53U25C.js +0 -3384
  356. package/dist/Disco.UI-F7XKJMKR.js +0 -239
  357. package/dist/DmrPlot-OWBXUTON.js +0 -361
  358. package/dist/GB-7X6DBWKS.js +0 -1388
  359. package/dist/GSEA-GAZIEGD7.js +0 -870
  360. package/dist/GeneExpInput-BAOC6ICV.js +0 -38
  361. package/dist/Geomap-OZERLL7V.js +0 -80
  362. package/dist/HicApp-WDH5LVTD.js +0 -2240
  363. package/dist/IDCViewer-XBZFU3BU.js +0 -10808
  364. package/dist/NumBinaryEditor-5R4EUQOZ.js +0 -274
  365. package/dist/NumBinaryEditor.unit.spec-ULBXMOYY.js +0 -308
  366. package/dist/NumContEditor-EN6V4FLQ.js +0 -100
  367. package/dist/NumContEditor.unit.spec-VDWKNIFN.js +0 -160
  368. package/dist/NumCustomBinEditor-UB34ALNZ.js +0 -29
  369. package/dist/NumCustomBinEditor.unit.spec-WZXJ7GEC.js +0 -393
  370. package/dist/NumDiscreteEditor-H6J67YEL.js +0 -165
  371. package/dist/NumDiscreteEditor.unit.spec-KJ7YU22W.js +0 -229
  372. package/dist/NumRegularBinEditor-R5JVUG7J.js +0 -29
  373. package/dist/NumRegularBinEditor.unit.spec-RZ73FMNO.js +0 -274
  374. package/dist/NumSplineEditor-AOR6OAJA.js +0 -205
  375. package/dist/NumSplineEditor.unit.spec-Z6ZEI3UO.js +0 -220
  376. package/dist/NumericDensity-SRTFTDQA.js +0 -29
  377. package/dist/NumericDensity.unit.spec-MRREBAYU.js +0 -414
  378. package/dist/NumericHandler-7RALUACA.js +0 -30
  379. package/dist/NumericHandler.unit.spec-MDO23WRB.js +0 -225
  380. package/dist/ProteomeInput-MOBXHRD5.js +0 -610
  381. package/dist/Regression-XWT4NNTG.js +0 -1412
  382. package/dist/RunChart2-Q7W5MWJS.js +0 -744
  383. package/dist/SC-MM3JTEVL.js +0 -1290
  384. package/dist/Violin-XNTBDUPG.js +0 -1092
  385. package/dist/Volcano-GRKXU3WL.js +0 -2619
  386. package/dist/Volcano-GRKXU3WL.js.map +0 -7
  387. package/dist/Wsi-22KJSFVH.js +0 -636
  388. package/dist/adSandbox-TLYWQOOA.js +0 -29
  389. package/dist/animatedBubbleChart-67SY5JGP.js +0 -542
  390. package/dist/app-FG3KPE4R.js +0 -28
  391. package/dist/app-VK5LYO6B.js +0 -38
  392. package/dist/bam-TNLNISLV.js +0 -872
  393. package/dist/bam-TNLNISLV.js.map +0 -7
  394. package/dist/barchart-IGWRVB6W.js +0 -38
  395. package/dist/barchart2-TT6OBJJP.js +0 -305
  396. package/dist/block-5PV2TYWJ.js +0 -6232
  397. package/dist/block-5PV2TYWJ.js.map +0 -7
  398. package/dist/block.init-2Y6CNK7H.js +0 -29
  399. package/dist/block.mds.expressionrank-VZ4JVPTG.js +0 -350
  400. package/dist/block.mds.geneboxplot-NYMS32JP.js +0 -819
  401. package/dist/block.mds.junction-3R6C3B5W.js +0 -1534
  402. package/dist/block.mds.svcnv-SO5CYYIQ.js +0 -6413
  403. package/dist/block.svg-R4ASXXNW.js +0 -155
  404. package/dist/block.tk.aicheck-LYRTDZRA.js +0 -274
  405. package/dist/block.tk.bam-GR7CHGGQ.js +0 -1897
  406. package/dist/block.tk.bam-GR7CHGGQ.js.map +0 -7
  407. package/dist/block.tk.bedgraphdot-GERXK2O6.js +0 -375
  408. package/dist/block.tk.bedgraphdot-GERXK2O6.js.map +0 -7
  409. package/dist/block.tk.bigwig.ui-3KMMZX2M.js +0 -202
  410. package/dist/block.tk.hicstraw-7HH4PGFY.js +0 -814
  411. package/dist/block.tk.junction-BPEKLYS2.js +0 -2353
  412. package/dist/block.tk.junction.textmatrixui-2QU5DL2X.js +0 -190
  413. package/dist/block.tk.ld-TJREYPNY.js +0 -90
  414. package/dist/block.tk.menu-HDBZK4YP.js +0 -1050
  415. package/dist/block.tk.pgv-G5GCYBK2.js +0 -934
  416. package/dist/brainImaging-ODWHF7WZ.js +0 -550
  417. package/dist/brainRegions-DC7DEA7N.js +0 -213
  418. package/dist/bubbleHeatmap-T5ACULRL.js +0 -374
  419. package/dist/cellTypeBubbleHeatmap-RQINXXTK.js +0 -274
  420. package/dist/chunk-24ZS2XWC.js +0 -176
  421. package/dist/chunk-2EPEWVKQ.js +0 -4378
  422. package/dist/chunk-2EPEWVKQ.js.map +0 -7
  423. package/dist/chunk-2PHFY3VP.js +0 -195
  424. package/dist/chunk-2QFMKWNS.js +0 -281
  425. package/dist/chunk-2UB6JZ3I.js +0 -466
  426. package/dist/chunk-3GQ54XTJ.js +0 -70
  427. package/dist/chunk-3IE6FDVA.js +0 -1253
  428. package/dist/chunk-4ENIOXIT.js +0 -133
  429. package/dist/chunk-4OOQ52ET.js +0 -182
  430. package/dist/chunk-5NI77Z3O.js +0 -119
  431. package/dist/chunk-5TPWMYBG.js +0 -274
  432. package/dist/chunk-64JHE3GV.js +0 -50
  433. package/dist/chunk-6MUJGVOH.js +0 -140
  434. package/dist/chunk-6XKAOSQE.js +0 -116
  435. package/dist/chunk-6XKAOSQE.js.map +0 -7
  436. package/dist/chunk-6YGSVJJD.js +0 -54
  437. package/dist/chunk-7PQVNQFR.js +0 -255
  438. package/dist/chunk-7XW4JWMJ.js +0 -170
  439. package/dist/chunk-7ZEJKFGW.js +0 -55
  440. package/dist/chunk-A6ZUYQHO.js +0 -159
  441. package/dist/chunk-ALIMVUHR.js +0 -1219
  442. package/dist/chunk-ANBGNYNP.js +0 -1339
  443. package/dist/chunk-ATZNXW5F.js +0 -237
  444. package/dist/chunk-AUPTEHV7.js +0 -257
  445. package/dist/chunk-B2KYLEYM.js +0 -30
  446. package/dist/chunk-BJCET6RU.js +0 -263
  447. package/dist/chunk-BKW35Z4U.js +0 -26619
  448. package/dist/chunk-BKW35Z4U.js.map +0 -7
  449. package/dist/chunk-CJHNPYFQ.js +0 -2292
  450. package/dist/chunk-CJHNPYFQ.js.map +0 -7
  451. package/dist/chunk-CTVPW77S.js +0 -194
  452. package/dist/chunk-D6U65W7Q.js +0 -626
  453. package/dist/chunk-DJMDETVU.js +0 -2685
  454. package/dist/chunk-DKPAOVJH.js +0 -243
  455. package/dist/chunk-DRESQF33.js +0 -38
  456. package/dist/chunk-DXM5MQCZ.js +0 -382
  457. package/dist/chunk-ETXOEP4N.js +0 -184
  458. package/dist/chunk-FOUMNTII.js +0 -134
  459. package/dist/chunk-FTGLS763.js +0 -56
  460. package/dist/chunk-GN2A5NL5.js +0 -472
  461. package/dist/chunk-GWNCQ5YI.js +0 -468
  462. package/dist/chunk-GX6G2SSW.js +0 -26
  463. package/dist/chunk-H3YF55ZI.js +0 -848
  464. package/dist/chunk-IANE75G3.js +0 -444
  465. package/dist/chunk-IKZQST6E.js +0 -5213
  466. package/dist/chunk-IPRYYK26.js +0 -96
  467. package/dist/chunk-JL3PYV5F.js +0 -6375
  468. package/dist/chunk-K6VYSDB5.js +0 -276
  469. package/dist/chunk-KSS26PXB.js +0 -54
  470. package/dist/chunk-LO2QBHP6.js +0 -418
  471. package/dist/chunk-LO2QBHP6.js.map +0 -7
  472. package/dist/chunk-LSRFRZNP.js +0 -59
  473. package/dist/chunk-LYX4S6WA.js +0 -266
  474. package/dist/chunk-ME3HB3V6.js +0 -5787
  475. package/dist/chunk-ME3HB3V6.js.map +0 -7
  476. package/dist/chunk-MP7BA3GK.js +0 -14
  477. package/dist/chunk-MVSUESEV.js +0 -141
  478. package/dist/chunk-NQMS7WV3.js +0 -2799
  479. package/dist/chunk-NR6WFCPF.js +0 -348
  480. package/dist/chunk-NS2MZN3C.js +0 -562
  481. package/dist/chunk-NUA66GW7.js +0 -37
  482. package/dist/chunk-NYEFSOKD.js +0 -550
  483. package/dist/chunk-OVHQFZAE.js +0 -34
  484. package/dist/chunk-OVHQFZAE.js.map +0 -7
  485. package/dist/chunk-QM724EG2.js +0 -103
  486. package/dist/chunk-RIL33JCW.js +0 -102
  487. package/dist/chunk-RJAJG5KN.js +0 -2954
  488. package/dist/chunk-RJAJG5KN.js.map +0 -7
  489. package/dist/chunk-SLHXR4BZ.js +0 -82
  490. package/dist/chunk-SO76DLSZ.js +0 -299
  491. package/dist/chunk-T7CKGRGP.js +0 -398
  492. package/dist/chunk-T7CKGRGP.js.map +0 -7
  493. package/dist/chunk-TUO5I6LP.js +0 -123
  494. package/dist/chunk-TWTPWEYL.js +0 -240
  495. package/dist/chunk-U2GHNZ4N.js +0 -54
  496. package/dist/chunk-UAB5PGOP.js +0 -56
  497. package/dist/chunk-UCB3W3OT.js +0 -217
  498. package/dist/chunk-UJIB7QM3.js +0 -2334
  499. package/dist/chunk-UYQGTW7I.js +0 -1857
  500. package/dist/chunk-UYQGTW7I.js.map +0 -7
  501. package/dist/chunk-VBDJG6GZ.js +0 -2008
  502. package/dist/chunk-VOXUMZMG.js +0 -379
  503. package/dist/chunk-WCNMP54T.js +0 -516
  504. package/dist/chunk-WETOH7YW.js +0 -692
  505. package/dist/chunk-WKGKKM6F.js +0 -480
  506. package/dist/chunk-WV44DGEJ.js +0 -397
  507. package/dist/chunk-XVEEMQAT.js +0 -31
  508. package/dist/chunk-YBOHXANC.js +0 -302
  509. package/dist/chunk-YNQFOPS6.js +0 -203
  510. package/dist/chunk-YVQ4USPP.js +0 -340
  511. package/dist/chunk-ZWLT5QS3.js +0 -102
  512. package/dist/chunk-ZYAZHJPZ.js +0 -296
  513. package/dist/cohort-QSLKB4ZO.js +0 -66
  514. package/dist/cohortSunburst-AQFSNJ5K.js +0 -402
  515. package/dist/condition-MLS6TJHV.js +0 -323
  516. package/dist/controls-ZT3GZ667.js +0 -30
  517. package/dist/controls.config-F7NIPLKB.js +0 -30
  518. package/dist/correlation-ZEIQJGSQ.js +0 -91
  519. package/dist/customdata.inputui-6PJSAJK2.js +0 -280
  520. package/dist/dataDownload-CHMPXHBY.js +0 -325
  521. package/dist/dataDownload-CHMPXHBY.js.map +0 -7
  522. package/dist/databrowser.ui-EMZ5L2Y7.js +0 -421
  523. package/dist/dictionary-U2BWGY6B.js +0 -109
  524. package/dist/dnaMethylation-R34E2XNC.js +0 -29
  525. package/dist/dnaMethylation.integration.spec-4Z2AJHWY.js +0 -194
  526. package/dist/dofetch-JY4A7BYI.js +0 -47
  527. package/dist/e2pca-WSSCXX6A.js +0 -340
  528. package/dist/ep-ATUWEHDJ.js +0 -1247
  529. package/dist/expclust.gdc.spec-QRIRRPO7.js +0 -298
  530. package/dist/facet-5VDCSP3S.js +0 -556
  531. package/dist/gb-Y4UG6LFA.js +0 -77
  532. package/dist/geneExpClustering-OO67JNJ2.js +0 -240
  533. package/dist/geneExpression-5KGV3MAA.js +0 -29
  534. package/dist/geneExpression-KPRFXKU7.js +0 -309
  535. package/dist/geneExpression.unit.spec-YV45EZ5O.js +0 -151
  536. package/dist/geneORA-R74JPUTC.js +0 -269
  537. package/dist/geneRanking-IJTXNMHV.js +0 -544
  538. package/dist/geneVariant-HBAHT6LU.js +0 -32
  539. package/dist/geneVariant-JT3EGAIH.js +0 -289
  540. package/dist/geneVariant.integration.spec-TFQYPUAS.js +0 -672
  541. package/dist/genefusion.ui-MMTQMTHC.js +0 -299
  542. package/dist/geneset-VMBICNCZ.js +0 -199
  543. package/dist/genomeBrowser.spec-2XLLIYGA.js +0 -272
  544. package/dist/grin2-2RYPEUWV.js +0 -66
  545. package/dist/grin2-Y6KAFVV2.js +0 -945
  546. package/dist/hierCluster-EKGFBQT4.js +0 -51
  547. package/dist/hierCluster-Z4PVNMGS.js +0 -55
  548. package/dist/hierCluster.config-Q6WUNK2K.js +0 -32
  549. package/dist/hierCluster.integration.spec-2LHSHNFC.js +0 -479
  550. package/dist/hierCluster.interactivity-OGQ3KUY6.js +0 -45
  551. package/dist/hierCluster.renderers-3GJZXG75.js +0 -18
  552. package/dist/imagePlot-ZJEZPBX7.js +0 -152
  553. package/dist/importPlot-GFEFYEHZ.js +0 -8
  554. package/dist/isoformExpression-A2X3DSR6.js +0 -31
  555. package/dist/isoformExpression.unit.spec-VKMEGCL4.js +0 -233
  556. package/dist/junction-HWIHLQU2.js +0 -32
  557. package/dist/junction.customTerm-C3VWXEYH.js +0 -15
  558. package/dist/junction.unit.spec-ZYJGDOXJ.js +0 -178
  559. package/dist/launch.adhoc-HW5AZM4T.js +0 -33
  560. package/dist/leftlabel.sample-MTW2HRRQ.js +0 -253
  561. package/dist/lollipop-VWW5H6CR.js +0 -162
  562. package/dist/maf-KEJYO3H4.js +0 -451
  563. package/dist/maftimeline-MJZDSGSR.js +0 -583
  564. package/dist/matrix-3UJW6LOA.js +0 -50
  565. package/dist/matrix-W4AX5OBM.js +0 -55
  566. package/dist/matrix.cells-5DAIZ3E5.js +0 -25
  567. package/dist/matrix.config-PK26VPQT.js +0 -33
  568. package/dist/matrix.data-UK5DGKBK.js +0 -22
  569. package/dist/matrix.groups-NM4Q5YDN.js +0 -25
  570. package/dist/matrix.integration.spec-FGWNBCRR.js +0 -3156
  571. package/dist/matrix.interactivity-4C37PII5.js +0 -33
  572. package/dist/matrix.layout-ODV7WXUP.js +0 -35
  573. package/dist/matrix.legend-5MY7OXWN.js +0 -19
  574. package/dist/matrix.renderers-QA7W7ZUL.js +0 -30
  575. package/dist/matrix.serieses-4FSFJPCK.js +0 -18
  576. package/dist/matrix.sort-3QLFMBJ5.js +0 -25
  577. package/dist/matrix.sort.unit.spec-HVOC6IYT.js +0 -464
  578. package/dist/matrix.sorterUi-EY3SA6CG.js +0 -15
  579. package/dist/matrix.sorterUi.unit.spec-OAXWPZZI.js +0 -334
  580. package/dist/matrix.unit.spec-RAL7AU22.js +0 -146
  581. package/dist/mavb-KIM63AC4.js +0 -726
  582. package/dist/mds.fimo-DMAVM56P.js +0 -509
  583. package/dist/mds.samplescatterplot-KILTR2C7.js +0 -1545
  584. package/dist/mds.survivalplot-PV76ANBP.js +0 -472
  585. package/dist/multivalue-2V5LMQY7.js +0 -79
  586. package/dist/numericDictTermCluster-TGL4X6UC.js +0 -62
  587. package/dist/oncomatrix-2O7SLXHX.js +0 -286
  588. package/dist/oncomatrix.spec-HZJKOF5G.js +0 -439
  589. package/dist/plot.2dvaf-424NNMMA.js +0 -368
  590. package/dist/plot.app-YBZDNST2.js +0 -32
  591. package/dist/plot.barplot-YZQBYJUY.js +0 -93
  592. package/dist/plot.boxplot-5OW6IBQL.js +0 -142
  593. package/dist/plot.brainImaging-H3ABPPD3.js +0 -51
  594. package/dist/plot.disco-X7KCDWGX.js +0 -98
  595. package/dist/plot.ssgq-GYRVHTC7.js +0 -130
  596. package/dist/plot.vaf2cov-B2TELPHL.js +0 -249
  597. package/dist/polar2-5KNZRLXY.js +0 -228
  598. package/dist/profileForms-FY34KXCL.js +0 -937
  599. package/dist/profilePlot-3FX2TPYC.js +0 -45
  600. package/dist/proteinView-WSEO3LD3.js +0 -1346
  601. package/dist/proteomeCohortCompare-KA2DF3EE.js +0 -866
  602. package/dist/pseudbulk.unit.spec-AT3TFCOW.js +0 -82
  603. package/dist/pseudobulk-4ZRHUC7W.js +0 -31
  604. package/dist/qualitative-3OBGJRP6.js +0 -241
  605. package/dist/qualitative-FHJD44OA.js +0 -34
  606. package/dist/radar2-X757WR6V.js +0 -323
  607. package/dist/radarFacility2-GUBAK4Y3.js +0 -331
  608. package/dist/rememberedGvQ.unit.spec-ADO4Y2OE.js +0 -210
  609. package/dist/render-MZEPNEMU.js +0 -29
  610. package/dist/report-TUAFDGAE.js +0 -213
  611. package/dist/sampleView-X6YKCBE7.js +0 -39
  612. package/dist/samplelst-UPNRALBH.js +0 -114
  613. package/dist/samplematrix-W3HZK3IS.js +0 -2188
  614. package/dist/sc-UL7233UR.js +0 -77
  615. package/dist/scatter-FTJ77NUM.js +0 -919
  616. package/dist/scatter-VQQRIW6N.js +0 -84
  617. package/dist/selectGenomeWithTklst-HPYPSPFI.js +0 -125
  618. package/dist/singleCellCellType-XTKGOH6H.js +0 -29
  619. package/dist/singleCellCellType.unit.spec-A62GT72A.js +0 -150
  620. package/dist/singleCellGeneExpression-X7H5GTU3.js +0 -29
  621. package/dist/singleCellGeneExpression.unit.spec-2KQBHG7O.js +0 -144
  622. package/dist/singleCellNumericValue-6YS42PZ2.js +0 -29
  623. package/dist/singleCellNumericValue.unit.spec-DNVXQFKI.js +0 -412
  624. package/dist/singleCellPlot-MGOQ7EQV.js +0 -44
  625. package/dist/singlecell-CIOB5XON.js +0 -77
  626. package/dist/singlecell-QW3SLQD6.js +0 -1562
  627. package/dist/snp-6B4MIPKL.js +0 -29
  628. package/dist/snp.unit.spec-HNILS56E.js +0 -167
  629. package/dist/snplocus-DDFLYZ2Y.js +0 -200
  630. package/dist/snplst-JYKOV73J.js +0 -36
  631. package/dist/spliceevent.a53ss.diagram-IBD5ITXR.js +0 -142
  632. package/dist/spliceevent.exonskip.diagram-ZJGEVUYW.js +0 -274
  633. package/dist/spliceevent.noeventdiagram-RNLNTFOW.js +0 -451
  634. package/dist/ssGSEA-42VQLAXL.js +0 -29
  635. package/dist/ssGSEA.unit.spec-FBJANIKG.js +0 -79
  636. package/dist/stattable-FROSNTJY.js +0 -112
  637. package/dist/studyCatalog-XIYNJ24U.js +0 -457
  638. package/dist/summarizeCnvGeneexp-N3OFI24L.js +0 -154
  639. package/dist/summarizeGeneexpSurvival-J4DO2AL4.js +0 -101
  640. package/dist/summarizeMutationCnv-Y43BBSI4.js +0 -155
  641. package/dist/summarizeMutationDiagnosis-JAEAUFCA.js +0 -31
  642. package/dist/summarizeMutationSurvival-4QZDDXDV.js +0 -95
  643. package/dist/summary-DTJZ7NNA.js +0 -40
  644. package/dist/summary.integration.spec-HRRE3J45.js +0 -405
  645. package/dist/summaryInput-WCADUZBK.js +0 -238
  646. package/dist/sunburst-BGXSCB63.js +0 -274
  647. package/dist/sunburst-DSFFFP33.js +0 -504
  648. package/dist/sunburst-DSFFFP33.js.map +0 -7
  649. package/dist/survival-LFXQIWRT.js +0 -49
  650. package/dist/survival-ONWZ5RFM.js +0 -1248
  651. package/dist/survival.integration.spec-ZP7XWHQH.js +0 -609
  652. package/dist/svgraph-2SL2SJVU.js +0 -1377
  653. package/dist/svmr-ONIPMLC2.js +0 -3834
  654. package/dist/swimmer-2EJZH5PP.js +0 -785
  655. package/dist/swimmer-2EJZH5PP.js.map +0 -7
  656. package/dist/table-LLCFO4KK.js +0 -192
  657. package/dist/termCollection-DAHJGR5P.js +0 -247
  658. package/dist/termCollection-QIN53TIL.js +0 -29
  659. package/dist/termCollection.unit.spec-FQOX2IVP.js +0 -295
  660. package/dist/termCollectionFractionSelection-UKEVVZXL.js +0 -38
  661. package/dist/termCollectionFractionSelection.unit.spec-URGEYBU2.js +0 -184
  662. package/dist/tk-4PYQ6WJQ.js +0 -1116
  663. package/dist/tk-4PYQ6WJQ.js.map +0 -7
  664. package/dist/tk-GM7CJ2LU.js +0 -37
  665. package/dist/tp.ui-TRUHW6GP.js +0 -1453
  666. package/dist/tvs.categorical-IY6YSFVN.js +0 -28
  667. package/dist/tvs.condition-YTD7GOPW.js +0 -160
  668. package/dist/tvs.density-CB24PXDE.js +0 -19
  669. package/dist/tvs.dt-AQQIZD5Z.js +0 -34
  670. package/dist/tvs.dtcnv.categorical-WOAOGJSW.js +0 -31
  671. package/dist/tvs.dtcnv.continuous-TJBEPJGO.js +0 -72
  672. package/dist/tvs.dtfusion-SFMZQKKU.js +0 -31
  673. package/dist/tvs.dtitd-Q5RQTCLD.js +0 -31
  674. package/dist/tvs.dtsnvindel-UEK4O6WI.js +0 -31
  675. package/dist/tvs.dtsv-ECS4KEYG.js +0 -31
  676. package/dist/tvs.multivalue-CJIZ3I54.js +0 -84
  677. package/dist/tvs.numeric-UFAOJR2B.js +0 -32
  678. package/dist/tvs.samplelst-BVFY2P7Q.js +0 -95
  679. package/dist/tvs.survival-L56B3I55.js +0 -110
  680. package/dist/tvs.termCollection-BFIBVBSA.js +0 -118
  681. package/dist/vocabulary-MTKDDDGB.js +0 -32
  682. package/dist/wsi.direct-OSHY7VL4.js +0 -11514
  683. /package/dist/{2dmaf-O2SQ5RGD.js.map → 2dmaf-7YU3SNKL.js.map} +0 -0
  684. /package/dist/{AggMatrixInput-LUCTWXHU.js.map → AggMatrixInput-73CDR5FS.js.map} +0 -0
  685. /package/dist/{AggregateMatrix-JVMF27YL.js.map → AggregateMatrix-NNULVFBM.js.map} +0 -0
  686. /package/dist/{AppHeader-DJU6HRKO.js.map → AppHeader-EZDDLLXU.js.map} +0 -0
  687. /package/dist/{BoxPlot-22RXMPRL.js.map → BoxPlot-463E7CRY.js.map} +0 -0
  688. /package/dist/{CorrelationVolcano-PBZWPFSN.js.map → CorrelationVolcano-LHIIMBPP.js.map} +0 -0
  689. /package/dist/{Cuminc-EL74X5GY.js.map → Cuminc-UL2TCIKV.js.map} +0 -0
  690. /package/dist/{DE-W5SAMMRW.js.map → DE-VRFSKFDW.js.map} +0 -0
  691. /package/dist/{DEinput-ZKEFJZQU.js.map → DEinput-FZTQRWVC.js.map} +0 -0
  692. /package/dist/{DM-ABKDXMDG.js.map → DM-PO7CQZNT.js.map} +0 -0
  693. /package/dist/{DifferentialAnalysis-3JTZ5WCQ.js.map → DifferentialAnalysis-WK6HE3YH.js.map} +0 -0
  694. /package/dist/{Disco-ME53U25C.js.map → Disco-YBNQJQFG.js.map} +0 -0
  695. /package/dist/{Disco.UI-F7XKJMKR.js.map → Disco.UI-HC5XYBFV.js.map} +0 -0
  696. /package/dist/{DmrPlot-OWBXUTON.js.map → DmrPlot-7VJ5C66D.js.map} +0 -0
  697. /package/dist/{GB-7X6DBWKS.js.map → GB-VPFQRDRO.js.map} +0 -0
  698. /package/dist/{GSEA-GAZIEGD7.js.map → GSEA-ZEJB3QZQ.js.map} +0 -0
  699. /package/dist/{GeneExpInput-BAOC6ICV.js.map → GeneExpInput-SBDDIY6G.js.map} +0 -0
  700. /package/dist/{Geomap-OZERLL7V.js.map → Geomap-23AHGP2V.js.map} +0 -0
  701. /package/dist/{HicApp-WDH5LVTD.js.map → HicApp-7AQQE4CM.js.map} +0 -0
  702. /package/dist/{IDCViewer-XBZFU3BU.js.map → IDCViewer-NO5Q6VOB.js.map} +0 -0
  703. /package/dist/{NumBinaryEditor-5R4EUQOZ.js.map → NumBinaryEditor-DSRP4OOU.js.map} +0 -0
  704. /package/dist/{NumBinaryEditor.unit.spec-ULBXMOYY.js.map → NumBinaryEditor.unit.spec-TT666YL4.js.map} +0 -0
  705. /package/dist/{NumContEditor-EN6V4FLQ.js.map → NumContEditor-6CURFOCH.js.map} +0 -0
  706. /package/dist/{NumContEditor.unit.spec-VDWKNIFN.js.map → NumContEditor.unit.spec-MNVCFCMP.js.map} +0 -0
  707. /package/dist/{NumCustomBinEditor-UB34ALNZ.js.map → NumCustomBinEditor-SQRR5EFL.js.map} +0 -0
  708. /package/dist/{NumCustomBinEditor.unit.spec-WZXJ7GEC.js.map → NumCustomBinEditor.unit.spec-F7BZWGGT.js.map} +0 -0
  709. /package/dist/{NumDiscreteEditor-H6J67YEL.js.map → NumDiscreteEditor-U7Z2QNYP.js.map} +0 -0
  710. /package/dist/{NumDiscreteEditor.unit.spec-KJ7YU22W.js.map → NumDiscreteEditor.unit.spec-EIEBUZCX.js.map} +0 -0
  711. /package/dist/{NumRegularBinEditor-R5JVUG7J.js.map → NumRegularBinEditor-CVZSWN6Y.js.map} +0 -0
  712. /package/dist/{NumRegularBinEditor.unit.spec-RZ73FMNO.js.map → NumRegularBinEditor.unit.spec-ZMAJOIHL.js.map} +0 -0
  713. /package/dist/{NumSplineEditor-AOR6OAJA.js.map → NumSplineEditor-U43D5NBJ.js.map} +0 -0
  714. /package/dist/{NumSplineEditor.unit.spec-Z6ZEI3UO.js.map → NumSplineEditor.unit.spec-C52AADTS.js.map} +0 -0
  715. /package/dist/{NumericDensity-SRTFTDQA.js.map → NumericDensity-PUKDZOVI.js.map} +0 -0
  716. /package/dist/{NumericDensity.unit.spec-MRREBAYU.js.map → NumericDensity.unit.spec-2347S76D.js.map} +0 -0
  717. /package/dist/{NumericHandler-7RALUACA.js.map → NumericHandler-3RT32PTR.js.map} +0 -0
  718. /package/dist/{NumericHandler.unit.spec-MDO23WRB.js.map → NumericHandler.unit.spec-4PADL4KZ.js.map} +0 -0
  719. /package/dist/{ProteomeInput-MOBXHRD5.js.map → ProteomeInput-NFV4FW4U.js.map} +0 -0
  720. /package/dist/{Regression-XWT4NNTG.js.map → Regression-N7M7N6G4.js.map} +0 -0
  721. /package/dist/{RunChart2-Q7W5MWJS.js.map → RunChart2-UPQ7C6QE.js.map} +0 -0
  722. /package/dist/{SC-MM3JTEVL.js.map → SC-KBW2NHUV.js.map} +0 -0
  723. /package/dist/{Violin-XNTBDUPG.js.map → Violin-GWCOP3ZF.js.map} +0 -0
  724. /package/dist/{Wsi-22KJSFVH.js.map → Wsi-NXAEOYIS.js.map} +0 -0
  725. /package/dist/{adSandbox-TLYWQOOA.js.map → adSandbox-RPEWEEW7.js.map} +0 -0
  726. /package/dist/{animatedBubbleChart-67SY5JGP.js.map → animatedBubbleChart-ILDMZRBX.js.map} +0 -0
  727. /package/dist/{app-FG3KPE4R.js.map → app-LOUC4J47.js.map} +0 -0
  728. /package/dist/{app-VK5LYO6B.js.map → app-MRKXZ6AZ.js.map} +0 -0
  729. /package/dist/{barchart-IGWRVB6W.js.map → barchart-CJR37234.js.map} +0 -0
  730. /package/dist/{barchart2-TT6OBJJP.js.map → barchart2-QQYLTHWR.js.map} +0 -0
  731. /package/dist/{block.init-2Y6CNK7H.js.map → block.init-YJQTJIDO.js.map} +0 -0
  732. /package/dist/{block.mds.expressionrank-VZ4JVPTG.js.map → block.mds.expressionrank-GBMEI5KQ.js.map} +0 -0
  733. /package/dist/{block.mds.geneboxplot-NYMS32JP.js.map → block.mds.geneboxplot-XWE3E5IW.js.map} +0 -0
  734. /package/dist/{block.mds.junction-3R6C3B5W.js.map → block.mds.junction-QLEHFVPE.js.map} +0 -0
  735. /package/dist/{block.mds.svcnv-SO5CYYIQ.js.map → block.mds.svcnv-53DTOPBC.js.map} +0 -0
  736. /package/dist/{block.svg-R4ASXXNW.js.map → block.svg-57T37ABS.js.map} +0 -0
  737. /package/dist/{block.tk.aicheck-LYRTDZRA.js.map → block.tk.aicheck-6DXJTS3H.js.map} +0 -0
  738. /package/dist/{block.tk.bigwig.ui-3KMMZX2M.js.map → block.tk.bigwig.ui-OYIVXE2L.js.map} +0 -0
  739. /package/dist/{block.tk.hicstraw-7HH4PGFY.js.map → block.tk.hicstraw-UKTGEBWT.js.map} +0 -0
  740. /package/dist/{block.tk.junction-BPEKLYS2.js.map → block.tk.junction-ZU5KPFQ3.js.map} +0 -0
  741. /package/dist/{block.tk.junction.textmatrixui-2QU5DL2X.js.map → block.tk.junction.textmatrixui-P4WXTAZR.js.map} +0 -0
  742. /package/dist/{block.tk.ld-TJREYPNY.js.map → block.tk.ld-3PQ4O2AE.js.map} +0 -0
  743. /package/dist/{block.tk.menu-HDBZK4YP.js.map → block.tk.menu-LLITB6UA.js.map} +0 -0
  744. /package/dist/{block.tk.pgv-G5GCYBK2.js.map → block.tk.pgv-Y3FBXUO3.js.map} +0 -0
  745. /package/dist/{brainImaging-ODWHF7WZ.js.map → brainImaging-4B3WXLNP.js.map} +0 -0
  746. /package/dist/{brainRegions-DC7DEA7N.js.map → brainRegions-7VLONUWN.js.map} +0 -0
  747. /package/dist/{bubbleHeatmap-T5ACULRL.js.map → bubbleHeatmap-DI6GJRR6.js.map} +0 -0
  748. /package/dist/{cellTypeBubbleHeatmap-RQINXXTK.js.map → cellTypeBubbleHeatmap-HJY53DB2.js.map} +0 -0
  749. /package/dist/{chunk-TWTPWEYL.js.map → chunk-226MNBZ2.js.map} +0 -0
  750. /package/dist/{chunk-AUPTEHV7.js.map → chunk-2CNFGVHU.js.map} +0 -0
  751. /package/dist/{chunk-DJMDETVU.js.map → chunk-2MC3RNKA.js.map} +0 -0
  752. /package/dist/{chunk-2PHFY3VP.js.map → chunk-2OMX5AYB.js.map} +0 -0
  753. /package/dist/{chunk-64JHE3GV.js.map → chunk-2SL4QWUS.js.map} +0 -0
  754. /package/dist/{chunk-WETOH7YW.js.map → chunk-3KGBC5MK.js.map} +0 -0
  755. /package/dist/{chunk-UAB5PGOP.js.map → chunk-3PCRAPUV.js.map} +0 -0
  756. /package/dist/{chunk-ZWLT5QS3.js.map → chunk-4DBOMSKP.js.map} +0 -0
  757. /package/dist/{chunk-2UB6JZ3I.js.map → chunk-57BS6KNI.js.map} +0 -0
  758. /package/dist/{chunk-UJIB7QM3.js.map → chunk-5AXS5G4A.js.map} +0 -0
  759. /package/dist/{chunk-NS2MZN3C.js.map → chunk-5DI4UNH5.js.map} +0 -0
  760. /package/dist/{chunk-ATZNXW5F.js.map → chunk-5HJG6ECV.js.map} +0 -0
  761. /package/dist/{chunk-NYEFSOKD.js.map → chunk-5ZYANHGX.js.map} +0 -0
  762. /package/dist/{chunk-WV44DGEJ.js.map → chunk-6T4MN7LV.js.map} +0 -0
  763. /package/dist/{chunk-QM724EG2.js.map → chunk-75MRUW2K.js.map} +0 -0
  764. /package/dist/{chunk-7PQVNQFR.js.map → chunk-7J3W3KCN.js.map} +0 -0
  765. /package/dist/{chunk-4OOQ52ET.js.map → chunk-AIZYAKIE.js.map} +0 -0
  766. /package/dist/{chunk-VBDJG6GZ.js.map → chunk-AJNFI6GA.js.map} +0 -0
  767. /package/dist/{chunk-NQMS7WV3.js.map → chunk-BJAWDZBL.js.map} +0 -0
  768. /package/dist/{chunk-VOXUMZMG.js.map → chunk-C6PVZVIH.js.map} +0 -0
  769. /package/dist/{chunk-24ZS2XWC.js.map → chunk-C77X5ZUV.js.map} +0 -0
  770. /package/dist/{chunk-LSRFRZNP.js.map → chunk-C7KUMZQM.js.map} +0 -0
  771. /package/dist/{chunk-6MUJGVOH.js.map → chunk-C7ROKWV2.js.map} +0 -0
  772. /package/dist/{chunk-XVEEMQAT.js.map → chunk-CAH6LJ5Z.js.map} +0 -0
  773. /package/dist/{chunk-RIL33JCW.js.map → chunk-CUCP2GMT.js.map} +0 -0
  774. /package/dist/{chunk-FOUMNTII.js.map → chunk-DTGAMBRJ.js.map} +0 -0
  775. /package/dist/{chunk-7ZEJKFGW.js.map → chunk-DXT7GDHY.js.map} +0 -0
  776. /package/dist/{chunk-IKZQST6E.js.map → chunk-ENPMWVWG.js.map} +0 -0
  777. /package/dist/{chunk-DXM5MQCZ.js.map → chunk-EYKJQJ7R.js.map} +0 -0
  778. /package/dist/{chunk-B2KYLEYM.js.map → chunk-FE5TCBIT.js.map} +0 -0
  779. /package/dist/{chunk-UCB3W3OT.js.map → chunk-FJ2JV2VK.js.map} +0 -0
  780. /package/dist/{chunk-DRESQF33.js.map → chunk-FZYVPRVQ.js.map} +0 -0
  781. /package/dist/{chunk-5TPWMYBG.js.map → chunk-GBKQHVKJ.js.map} +0 -0
  782. /package/dist/{chunk-2QFMKWNS.js.map → chunk-GUW7VTUL.js.map} +0 -0
  783. /package/dist/{chunk-3GQ54XTJ.js.map → chunk-H7F6DMJA.js.map} +0 -0
  784. /package/dist/{chunk-IPRYYK26.js.map → chunk-HH3NUAR2.js.map} +0 -0
  785. /package/dist/{chunk-A6ZUYQHO.js.map → chunk-HRTPGNOG.js.map} +0 -0
  786. /package/dist/{chunk-H3YF55ZI.js.map → chunk-IFPRYTS7.js.map} +0 -0
  787. /package/dist/{chunk-YBOHXANC.js.map → chunk-IJSFSUI4.js.map} +0 -0
  788. /package/dist/{chunk-BJCET6RU.js.map → chunk-IRQKX6DL.js.map} +0 -0
  789. /package/dist/{chunk-GN2A5NL5.js.map → chunk-JHLF2ZC2.js.map} +0 -0
  790. /package/dist/{chunk-ALIMVUHR.js.map → chunk-JNZL7HKB.js.map} +0 -0
  791. /package/dist/{chunk-GX6G2SSW.js.map → chunk-K2ARLT2A.js.map} +0 -0
  792. /package/dist/{chunk-SO76DLSZ.js.map → chunk-K3G56J5R.js.map} +0 -0
  793. /package/dist/{chunk-WCNMP54T.js.map → chunk-KKUCG2QE.js.map} +0 -0
  794. /package/dist/{chunk-D6U65W7Q.js.map → chunk-KPXCXBNU.js.map} +0 -0
  795. /package/dist/{chunk-6YGSVJJD.js.map → chunk-MANAUI7R.js.map} +0 -0
  796. /package/dist/{chunk-7XW4JWMJ.js.map → chunk-MEUSRAOE.js.map} +0 -0
  797. /package/dist/{chunk-NR6WFCPF.js.map → chunk-MHWYRNGA.js.map} +0 -0
  798. /package/dist/{chunk-MP7BA3GK.js.map → chunk-MSTYU3QO.js.map} +0 -0
  799. /package/dist/{chunk-MVSUESEV.js.map → chunk-MWARRQT4.js.map} +0 -0
  800. /package/dist/{chunk-YNQFOPS6.js.map → chunk-MXKYPTZ7.js.map} +0 -0
  801. /package/dist/{chunk-NUA66GW7.js.map → chunk-NX5IB4IY.js.map} +0 -0
  802. /package/dist/{chunk-4ENIOXIT.js.map → chunk-OZUF7O2S.js.map} +0 -0
  803. /package/dist/{chunk-SLHXR4BZ.js.map → chunk-QNCE6EOK.js.map} +0 -0
  804. /package/dist/{chunk-5NI77Z3O.js.map → chunk-RIHO7ZD5.js.map} +0 -0
  805. /package/dist/{chunk-LYX4S6WA.js.map → chunk-RV335DF2.js.map} +0 -0
  806. /package/dist/{chunk-3IE6FDVA.js.map → chunk-THAUD62Q.js.map} +0 -0
  807. /package/dist/{chunk-JL3PYV5F.js.map → chunk-VBTBUXXX.js.map} +0 -0
  808. /package/dist/{chunk-FTGLS763.js.map → chunk-VHWJK2MP.js.map} +0 -0
  809. /package/dist/{chunk-K6VYSDB5.js.map → chunk-VLIOMJDR.js.map} +0 -0
  810. /package/dist/{chunk-U2GHNZ4N.js.map → chunk-VMK4RHV5.js.map} +0 -0
  811. /package/dist/{chunk-GWNCQ5YI.js.map → chunk-WKT7RF3C.js.map} +0 -0
  812. /package/dist/{chunk-ETXOEP4N.js.map → chunk-WXSMUSU7.js.map} +0 -0
  813. /package/dist/{chunk-ZYAZHJPZ.js.map → chunk-WXSX5OQJ.js.map} +0 -0
  814. /package/dist/{chunk-CTVPW77S.js.map → chunk-WY3IORKG.js.map} +0 -0
  815. /package/dist/{chunk-WKGKKM6F.js.map → chunk-WYSOOKFJ.js.map} +0 -0
  816. /package/dist/{chunk-TUO5I6LP.js.map → chunk-XBBFFOLS.js.map} +0 -0
  817. /package/dist/{chunk-YVQ4USPP.js.map → chunk-XSRQGX5H.js.map} +0 -0
  818. /package/dist/{chunk-KSS26PXB.js.map → chunk-YLL6CTBL.js.map} +0 -0
  819. /package/dist/{chunk-ANBGNYNP.js.map → chunk-YPBY37KD.js.map} +0 -0
  820. /package/dist/{chunk-DKPAOVJH.js.map → chunk-YUNJBIK4.js.map} +0 -0
  821. /package/dist/{chunk-IANE75G3.js.map → chunk-Z5ECCUNG.js.map} +0 -0
  822. /package/dist/{cohort-QSLKB4ZO.js.map → cohort-5WL6UJOS.js.map} +0 -0
  823. /package/dist/{cohortSunburst-AQFSNJ5K.js.map → cohortSunburst-R3Z5KJQL.js.map} +0 -0
  824. /package/dist/{condition-MLS6TJHV.js.map → condition-2IILUMVB.js.map} +0 -0
  825. /package/dist/{controls-ZT3GZ667.js.map → controls-G3JITZF5.js.map} +0 -0
  826. /package/dist/{controls.config-F7NIPLKB.js.map → controls.config-BO7KPPET.js.map} +0 -0
  827. /package/dist/{correlation-ZEIQJGSQ.js.map → correlation-CZILLVEM.js.map} +0 -0
  828. /package/dist/{customdata.inputui-6PJSAJK2.js.map → customdata.inputui-BXFQAMTR.js.map} +0 -0
  829. /package/dist/{databrowser.ui-EMZ5L2Y7.js.map → databrowser.ui-V2NJQF3U.js.map} +0 -0
  830. /package/dist/{dictionary-U2BWGY6B.js.map → dictionary-OVAQX6R3.js.map} +0 -0
  831. /package/dist/{dnaMethylation-R34E2XNC.js.map → dnaMethylation-DHPFRXB2.js.map} +0 -0
  832. /package/dist/{dnaMethylation.integration.spec-4Z2AJHWY.js.map → dnaMethylation.integration.spec-PJLIRGN5.js.map} +0 -0
  833. /package/dist/{dofetch-JY4A7BYI.js.map → dofetch-KBTN6OW4.js.map} +0 -0
  834. /package/dist/{e2pca-WSSCXX6A.js.map → e2pca-O7SNMJGB.js.map} +0 -0
  835. /package/dist/{ep-ATUWEHDJ.js.map → ep-NIVLKG4S.js.map} +0 -0
  836. /package/dist/{expclust.gdc.spec-QRIRRPO7.js.map → expclust.gdc.spec-LVCD6C43.js.map} +0 -0
  837. /package/dist/{facet-5VDCSP3S.js.map → facet-LB4SCXE4.js.map} +0 -0
  838. /package/dist/{gb-Y4UG6LFA.js.map → gb-3IJ4NCPO.js.map} +0 -0
  839. /package/dist/{geneExpClustering-OO67JNJ2.js.map → geneExpClustering-SIAC7CMA.js.map} +0 -0
  840. /package/dist/{geneExpression-KPRFXKU7.js.map → geneExpression-KPUOZ4PT.js.map} +0 -0
  841. /package/dist/{geneExpression-5KGV3MAA.js.map → geneExpression-P2TTZXN2.js.map} +0 -0
  842. /package/dist/{geneExpression.unit.spec-YV45EZ5O.js.map → geneExpression.unit.spec-Q5D6XHUF.js.map} +0 -0
  843. /package/dist/{geneORA-R74JPUTC.js.map → geneORA-PKUIJKTL.js.map} +0 -0
  844. /package/dist/{geneRanking-IJTXNMHV.js.map → geneRanking-ZGT5MHBV.js.map} +0 -0
  845. /package/dist/{geneVariant-JT3EGAIH.js.map → geneVariant-24YNANTT.js.map} +0 -0
  846. /package/dist/{geneVariant-HBAHT6LU.js.map → geneVariant-CDGENHWQ.js.map} +0 -0
  847. /package/dist/{geneVariant.integration.spec-TFQYPUAS.js.map → geneVariant.integration.spec-7QW4C2WO.js.map} +0 -0
  848. /package/dist/{genefusion.ui-MMTQMTHC.js.map → genefusion.ui-NVXGSBXD.js.map} +0 -0
  849. /package/dist/{geneset-VMBICNCZ.js.map → geneset-7STL6UDD.js.map} +0 -0
  850. /package/dist/{genomeBrowser.spec-2XLLIYGA.js.map → genomeBrowser.spec-OE2CIP7I.js.map} +0 -0
  851. /package/dist/{grin2-2RYPEUWV.js.map → grin2-2HXUIY5O.js.map} +0 -0
  852. /package/dist/{grin2-Y6KAFVV2.js.map → grin2-32IIJR5E.js.map} +0 -0
  853. /package/dist/{hierCluster-EKGFBQT4.js.map → hierCluster-MDZEI2KB.js.map} +0 -0
  854. /package/dist/{hierCluster-Z4PVNMGS.js.map → hierCluster-T3PZUGBI.js.map} +0 -0
  855. /package/dist/{hierCluster.config-Q6WUNK2K.js.map → hierCluster.config-7UN6AYGB.js.map} +0 -0
  856. /package/dist/{hierCluster.integration.spec-2LHSHNFC.js.map → hierCluster.integration.spec-DWOYVK6T.js.map} +0 -0
  857. /package/dist/{hierCluster.interactivity-OGQ3KUY6.js.map → hierCluster.interactivity-5OM6XNFG.js.map} +0 -0
  858. /package/dist/{hierCluster.renderers-3GJZXG75.js.map → hierCluster.renderers-YGX6MZZW.js.map} +0 -0
  859. /package/dist/{imagePlot-ZJEZPBX7.js.map → imagePlot-KBRXDV5G.js.map} +0 -0
  860. /package/dist/{importPlot-GFEFYEHZ.js.map → importPlot-DJMIC22L.js.map} +0 -0
  861. /package/dist/{isoformExpression-A2X3DSR6.js.map → isoformExpression-SWDWADRC.js.map} +0 -0
  862. /package/dist/{isoformExpression.unit.spec-VKMEGCL4.js.map → isoformExpression.unit.spec-2U5KCYBP.js.map} +0 -0
  863. /package/dist/{junction-HWIHLQU2.js.map → junction-NMXVVGRG.js.map} +0 -0
  864. /package/dist/{junction.customTerm-C3VWXEYH.js.map → junction.customTerm-3R2GNE3A.js.map} +0 -0
  865. /package/dist/{junction.unit.spec-ZYJGDOXJ.js.map → junction.unit.spec-JTGBPPN7.js.map} +0 -0
  866. /package/dist/{launch.adhoc-HW5AZM4T.js.map → launch.adhoc-YB5SKMNY.js.map} +0 -0
  867. /package/dist/{leftlabel.sample-MTW2HRRQ.js.map → leftlabel.sample-QKXIODCS.js.map} +0 -0
  868. /package/dist/{lollipop-VWW5H6CR.js.map → lollipop-TSZ62PBH.js.map} +0 -0
  869. /package/dist/{maf-KEJYO3H4.js.map → maf-4L5YN4CG.js.map} +0 -0
  870. /package/dist/{maftimeline-MJZDSGSR.js.map → maftimeline-VOYB3NY3.js.map} +0 -0
  871. /package/dist/{matrix-3UJW6LOA.js.map → matrix-IWJECVTF.js.map} +0 -0
  872. /package/dist/{matrix-W4AX5OBM.js.map → matrix-MMJAJZA7.js.map} +0 -0
  873. /package/dist/{matrix.cells-5DAIZ3E5.js.map → matrix.cells-5RTZUJVN.js.map} +0 -0
  874. /package/dist/{matrix.config-PK26VPQT.js.map → matrix.config-DZGOZWJS.js.map} +0 -0
  875. /package/dist/{matrix.data-UK5DGKBK.js.map → matrix.data-Y5TPRGMW.js.map} +0 -0
  876. /package/dist/{matrix.groups-NM4Q5YDN.js.map → matrix.groups-6DXCAY4P.js.map} +0 -0
  877. /package/dist/{matrix.integration.spec-FGWNBCRR.js.map → matrix.integration.spec-2N237E7T.js.map} +0 -0
  878. /package/dist/{matrix.interactivity-4C37PII5.js.map → matrix.interactivity-FL33UUKR.js.map} +0 -0
  879. /package/dist/{matrix.layout-ODV7WXUP.js.map → matrix.layout-7SYHV3KJ.js.map} +0 -0
  880. /package/dist/{matrix.legend-5MY7OXWN.js.map → matrix.legend-S3E76TVO.js.map} +0 -0
  881. /package/dist/{matrix.renderers-QA7W7ZUL.js.map → matrix.renderers-3SIBT2RP.js.map} +0 -0
  882. /package/dist/{matrix.serieses-4FSFJPCK.js.map → matrix.serieses-3UGLZW25.js.map} +0 -0
  883. /package/dist/{matrix.sort-3QLFMBJ5.js.map → matrix.sort-A7CNLDUJ.js.map} +0 -0
  884. /package/dist/{matrix.sort.unit.spec-HVOC6IYT.js.map → matrix.sort.unit.spec-L3H44T6I.js.map} +0 -0
  885. /package/dist/{matrix.sorterUi-EY3SA6CG.js.map → matrix.sorterUi-6PZR3YOD.js.map} +0 -0
  886. /package/dist/{matrix.sorterUi.unit.spec-OAXWPZZI.js.map → matrix.sorterUi.unit.spec-2NRU5UFH.js.map} +0 -0
  887. /package/dist/{matrix.unit.spec-RAL7AU22.js.map → matrix.unit.spec-HRZIJB6T.js.map} +0 -0
  888. /package/dist/{mavb-KIM63AC4.js.map → mavb-ZVRQSDPS.js.map} +0 -0
  889. /package/dist/{mds.fimo-DMAVM56P.js.map → mds.fimo-ZKETTET7.js.map} +0 -0
  890. /package/dist/{mds.samplescatterplot-KILTR2C7.js.map → mds.samplescatterplot-ZV3UNRLP.js.map} +0 -0
  891. /package/dist/{mds.survivalplot-PV76ANBP.js.map → mds.survivalplot-OVXZRTU4.js.map} +0 -0
  892. /package/dist/{multivalue-2V5LMQY7.js.map → multivalue-6BE5IA4F.js.map} +0 -0
  893. /package/dist/{numericDictTermCluster-TGL4X6UC.js.map → numericDictTermCluster-6XDVVWLE.js.map} +0 -0
  894. /package/dist/{oncomatrix-2O7SLXHX.js.map → oncomatrix-XK62NEOO.js.map} +0 -0
  895. /package/dist/{oncomatrix.spec-HZJKOF5G.js.map → oncomatrix.spec-YVTCHOPS.js.map} +0 -0
  896. /package/dist/{plot.2dvaf-424NNMMA.js.map → plot.2dvaf-NUOBWMNX.js.map} +0 -0
  897. /package/dist/{plot.app-YBZDNST2.js.map → plot.app-G6IQWXTV.js.map} +0 -0
  898. /package/dist/{plot.barplot-YZQBYJUY.js.map → plot.barplot-6QJ6HEJR.js.map} +0 -0
  899. /package/dist/{plot.boxplot-5OW6IBQL.js.map → plot.boxplot-XKQJSW2O.js.map} +0 -0
  900. /package/dist/{plot.brainImaging-H3ABPPD3.js.map → plot.brainImaging-UTHFJFXU.js.map} +0 -0
  901. /package/dist/{plot.disco-X7KCDWGX.js.map → plot.disco-3MSCX7TM.js.map} +0 -0
  902. /package/dist/{plot.ssgq-GYRVHTC7.js.map → plot.ssgq-4KBVHF42.js.map} +0 -0
  903. /package/dist/{plot.vaf2cov-B2TELPHL.js.map → plot.vaf2cov-OGUQSSDS.js.map} +0 -0
  904. /package/dist/{polar2-5KNZRLXY.js.map → polar2-V7M56GTZ.js.map} +0 -0
  905. /package/dist/{profileForms-FY34KXCL.js.map → profileForms-TS3BJLHH.js.map} +0 -0
  906. /package/dist/{profilePlot-3FX2TPYC.js.map → profilePlot-DP5272HR.js.map} +0 -0
  907. /package/dist/{proteinView-WSEO3LD3.js.map → proteinView-K4K4SP3L.js.map} +0 -0
  908. /package/dist/{proteomeCohortCompare-KA2DF3EE.js.map → proteomeCohortCompare-SFWVGLFK.js.map} +0 -0
  909. /package/dist/{pseudbulk.unit.spec-AT3TFCOW.js.map → pseudbulk.unit.spec-NFOA7J2C.js.map} +0 -0
  910. /package/dist/{pseudobulk-4ZRHUC7W.js.map → pseudobulk-XKZQEZ4I.js.map} +0 -0
  911. /package/dist/{qualitative-3OBGJRP6.js.map → qualitative-7OSFNVI5.js.map} +0 -0
  912. /package/dist/{qualitative-FHJD44OA.js.map → qualitative-OIIN6E4Y.js.map} +0 -0
  913. /package/dist/{radar2-X757WR6V.js.map → radar2-AHZJKX7S.js.map} +0 -0
  914. /package/dist/{radarFacility2-GUBAK4Y3.js.map → radarFacility2-OUW6D5E7.js.map} +0 -0
  915. /package/dist/{rememberedGvQ.unit.spec-ADO4Y2OE.js.map → rememberedGvQ.unit.spec-SHTMMZGG.js.map} +0 -0
  916. /package/dist/{render-MZEPNEMU.js.map → render-7UZSGX3Q.js.map} +0 -0
  917. /package/dist/{report-TUAFDGAE.js.map → report-J7HKTXZ2.js.map} +0 -0
  918. /package/dist/{sampleView-X6YKCBE7.js.map → sampleView-6547OUIM.js.map} +0 -0
  919. /package/dist/{samplelst-UPNRALBH.js.map → samplelst-UHF23UEB.js.map} +0 -0
  920. /package/dist/{samplematrix-W3HZK3IS.js.map → samplematrix-OOKS3TMR.js.map} +0 -0
  921. /package/dist/{sc-UL7233UR.js.map → sc-WF2BLGNG.js.map} +0 -0
  922. /package/dist/{scatter-VQQRIW6N.js.map → scatter-ABCVFGRV.js.map} +0 -0
  923. /package/dist/{scatter-FTJ77NUM.js.map → scatter-WF7XM3IA.js.map} +0 -0
  924. /package/dist/{selectGenomeWithTklst-HPYPSPFI.js.map → selectGenomeWithTklst-67HU5KRB.js.map} +0 -0
  925. /package/dist/{singleCellCellType-XTKGOH6H.js.map → singleCellCellType-3FZPJ25V.js.map} +0 -0
  926. /package/dist/{singleCellCellType.unit.spec-A62GT72A.js.map → singleCellCellType.unit.spec-TOMREHWK.js.map} +0 -0
  927. /package/dist/{singleCellGeneExpression-X7H5GTU3.js.map → singleCellGeneExpression-NQTJ5KJQ.js.map} +0 -0
  928. /package/dist/{singleCellGeneExpression.unit.spec-2KQBHG7O.js.map → singleCellGeneExpression.unit.spec-ZWUQTU2N.js.map} +0 -0
  929. /package/dist/{singleCellNumericValue-6YS42PZ2.js.map → singleCellNumericValue-VI7H722L.js.map} +0 -0
  930. /package/dist/{singleCellNumericValue.unit.spec-DNVXQFKI.js.map → singleCellNumericValue.unit.spec-QGLHES7H.js.map} +0 -0
  931. /package/dist/{singleCellPlot-MGOQ7EQV.js.map → singleCellPlot-RU5T6SJK.js.map} +0 -0
  932. /package/dist/{singlecell-QW3SLQD6.js.map → singlecell-C3CJVNXP.js.map} +0 -0
  933. /package/dist/{singlecell-CIOB5XON.js.map → singlecell-NRQZ7KC6.js.map} +0 -0
  934. /package/dist/{snp-6B4MIPKL.js.map → snp-X6XY65VS.js.map} +0 -0
  935. /package/dist/{snp.unit.spec-HNILS56E.js.map → snp.unit.spec-6EENK7GQ.js.map} +0 -0
  936. /package/dist/{snplocus-DDFLYZ2Y.js.map → snplocus-R4JA6TFT.js.map} +0 -0
  937. /package/dist/{snplst-JYKOV73J.js.map → snplst-SOWVHSXH.js.map} +0 -0
  938. /package/dist/{spliceevent.a53ss.diagram-IBD5ITXR.js.map → spliceevent.a53ss.diagram-IRLCCVQZ.js.map} +0 -0
  939. /package/dist/{spliceevent.exonskip.diagram-ZJGEVUYW.js.map → spliceevent.exonskip.diagram-4KG7LE5D.js.map} +0 -0
  940. /package/dist/{spliceevent.noeventdiagram-RNLNTFOW.js.map → spliceevent.noeventdiagram-OWXAJJX7.js.map} +0 -0
  941. /package/dist/{ssGSEA-42VQLAXL.js.map → ssGSEA-EMOKPLMP.js.map} +0 -0
  942. /package/dist/{ssGSEA.unit.spec-FBJANIKG.js.map → ssGSEA.unit.spec-KXQ7R5WH.js.map} +0 -0
  943. /package/dist/{stattable-FROSNTJY.js.map → stattable-H2G7MOZG.js.map} +0 -0
  944. /package/dist/{studyCatalog-XIYNJ24U.js.map → studyCatalog-3ITQXWFL.js.map} +0 -0
  945. /package/dist/{summarizeCnvGeneexp-N3OFI24L.js.map → summarizeCnvGeneexp-ZIPU6YDY.js.map} +0 -0
  946. /package/dist/{summarizeGeneexpSurvival-J4DO2AL4.js.map → summarizeGeneexpSurvival-3RYU226R.js.map} +0 -0
  947. /package/dist/{summarizeMutationCnv-Y43BBSI4.js.map → summarizeMutationCnv-RGDBUB22.js.map} +0 -0
  948. /package/dist/{summarizeMutationDiagnosis-JAEAUFCA.js.map → summarizeMutationDiagnosis-Z4MZE6Y4.js.map} +0 -0
  949. /package/dist/{summarizeMutationSurvival-4QZDDXDV.js.map → summarizeMutationSurvival-Z5CNRH7E.js.map} +0 -0
  950. /package/dist/{summary-DTJZ7NNA.js.map → summary-6QQCNX3B.js.map} +0 -0
  951. /package/dist/{summary.integration.spec-HRRE3J45.js.map → summary.integration.spec-3ULXTZUP.js.map} +0 -0
  952. /package/dist/{summaryInput-WCADUZBK.js.map → summaryInput-4QKR34QB.js.map} +0 -0
  953. /package/dist/{termCollection-QIN53TIL.js.map → sunburst-KB3BWC72.js.map} +0 -0
  954. /package/dist/{sunburst-BGXSCB63.js.map → sunburst-XTFBHZNH.js.map} +0 -0
  955. /package/dist/{survival-LFXQIWRT.js.map → survival-7O6ZK63E.js.map} +0 -0
  956. /package/dist/{survival-ONWZ5RFM.js.map → survival-NNCY4K6C.js.map} +0 -0
  957. /package/dist/{survival.integration.spec-ZP7XWHQH.js.map → survival.integration.spec-ZYZHZAXA.js.map} +0 -0
  958. /package/dist/{svgraph-2SL2SJVU.js.map → svgraph-ZLSFFEAC.js.map} +0 -0
  959. /package/dist/{svmr-ONIPMLC2.js.map → svmr-REBBDEYM.js.map} +0 -0
  960. /package/dist/{table-LLCFO4KK.js.map → table-CWIQQESJ.js.map} +0 -0
  961. /package/dist/{termCollectionFractionSelection-UKEVVZXL.js.map → termCollection-7TYJSQ45.js.map} +0 -0
  962. /package/dist/{termCollection-DAHJGR5P.js.map → termCollection-7Z55QNL7.js.map} +0 -0
  963. /package/dist/{termCollection.unit.spec-FQOX2IVP.js.map → termCollection.unit.spec-LQ5MIBDH.js.map} +0 -0
  964. /package/dist/{tk-GM7CJ2LU.js.map → termCollectionFractionSelection-24DZYVDU.js.map} +0 -0
  965. /package/dist/{termCollectionFractionSelection.unit.spec-URGEYBU2.js.map → termCollectionFractionSelection.unit.spec-DCV2CFS5.js.map} +0 -0
  966. /package/dist/{tvs.categorical-IY6YSFVN.js.map → tk-2WZFPRCP.js.map} +0 -0
  967. /package/dist/{tp.ui-TRUHW6GP.js.map → tp.ui-HXQX2UH4.js.map} +0 -0
  968. /package/dist/{tvs.density-CB24PXDE.js.map → tvs.categorical-4D3JI2ER.js.map} +0 -0
  969. /package/dist/{tvs.condition-YTD7GOPW.js.map → tvs.condition-62FXFHZ5.js.map} +0 -0
  970. /package/dist/{tvs.dt-AQQIZD5Z.js.map → tvs.density-IGO4I4T2.js.map} +0 -0
  971. /package/dist/{tvs.numeric-UFAOJR2B.js.map → tvs.dt-FZSVMJOO.js.map} +0 -0
  972. /package/dist/{tvs.dtcnv.categorical-WOAOGJSW.js.map → tvs.dtcnv.categorical-PPFQIC42.js.map} +0 -0
  973. /package/dist/{tvs.dtcnv.continuous-TJBEPJGO.js.map → tvs.dtcnv.continuous-TV2IGHY4.js.map} +0 -0
  974. /package/dist/{tvs.dtfusion-SFMZQKKU.js.map → tvs.dtfusion-ON4BA4XJ.js.map} +0 -0
  975. /package/dist/{tvs.dtitd-Q5RQTCLD.js.map → tvs.dtitd-VFNROOWQ.js.map} +0 -0
  976. /package/dist/{tvs.dtsnvindel-UEK4O6WI.js.map → tvs.dtsnvindel-ZXOP37T5.js.map} +0 -0
  977. /package/dist/{tvs.dtsv-ECS4KEYG.js.map → tvs.dtsv-EUHPTW7J.js.map} +0 -0
  978. /package/dist/{tvs.multivalue-CJIZ3I54.js.map → tvs.multivalue-NHVXZNDI.js.map} +0 -0
  979. /package/dist/{vocabulary-MTKDDDGB.js.map → tvs.numeric-FPWDPO3J.js.map} +0 -0
  980. /package/dist/{tvs.samplelst-BVFY2P7Q.js.map → tvs.samplelst-ZZHRNUP4.js.map} +0 -0
  981. /package/dist/{tvs.survival-L56B3I55.js.map → tvs.survival-F3KSG3U6.js.map} +0 -0
  982. /package/dist/{tvs.termCollection-BFIBVBSA.js.map → tvs.termCollection-B37DZLDY.js.map} +0 -0
  983. /package/dist/{wsi.direct-OSHY7VL4.js.map → wsi.direct-3YH3QGQD.js.map} +0 -0
@@ -1,2799 +0,0 @@
1
- import {
2
- Tabs,
3
- addGeneSearchbox,
4
- appear2 as appear,
5
- newSandboxDiv,
6
- sayerror,
7
- tab_wait
8
- } from "./chunk-BKW35Z4U.js";
9
- import {
10
- Menu
11
- } from "./chunk-CNFTQSNE.js";
12
- import {
13
- dofetch,
14
- dofetch3
15
- } from "./chunk-CJHNPYFQ.js";
16
- import {
17
- select_default
18
- } from "./chunk-I6Y4O3RR.js";
19
- import {
20
- __commonJS,
21
- __toESM
22
- } from "./chunk-HS5PO5ZQ.js";
23
-
24
- // ../node_modules/highlight.js/lib/core.js
25
- var require_core = __commonJS({
26
- "../node_modules/highlight.js/lib/core.js"(exports, module) {
27
- var deepFreezeEs6 = { exports: {} };
28
- function deepFreeze(obj) {
29
- if (obj instanceof Map) {
30
- obj.clear = obj.delete = obj.set = function() {
31
- throw new Error("map is read-only");
32
- };
33
- } else if (obj instanceof Set) {
34
- obj.add = obj.clear = obj.delete = function() {
35
- throw new Error("set is read-only");
36
- };
37
- }
38
- Object.freeze(obj);
39
- Object.getOwnPropertyNames(obj).forEach(function(name) {
40
- var prop = obj[name];
41
- if (typeof prop == "object" && !Object.isFrozen(prop)) {
42
- deepFreeze(prop);
43
- }
44
- });
45
- return obj;
46
- }
47
- deepFreezeEs6.exports = deepFreeze;
48
- deepFreezeEs6.exports.default = deepFreeze;
49
- var deepFreeze$1 = deepFreezeEs6.exports;
50
- var Response = class {
51
- /**
52
- * @param {CompiledMode} mode
53
- */
54
- constructor(mode) {
55
- if (mode.data === void 0) mode.data = {};
56
- this.data = mode.data;
57
- this.isMatchIgnored = false;
58
- }
59
- ignoreMatch() {
60
- this.isMatchIgnored = true;
61
- }
62
- };
63
- function escapeHTML(value) {
64
- return value.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
65
- }
66
- function inherit$1(original, ...objects) {
67
- const result = /* @__PURE__ */ Object.create(null);
68
- for (const key in original) {
69
- result[key] = original[key];
70
- }
71
- objects.forEach(function(obj) {
72
- for (const key in obj) {
73
- result[key] = obj[key];
74
- }
75
- });
76
- return (
77
- /** @type {T} */
78
- result
79
- );
80
- }
81
- var SPAN_CLOSE = "</span>";
82
- var emitsWrappingTags = (node) => {
83
- return !!node.kind;
84
- };
85
- var expandScopeName = (name, { prefix }) => {
86
- if (name.includes(".")) {
87
- const pieces = name.split(".");
88
- return [
89
- `${prefix}${pieces.shift()}`,
90
- ...pieces.map((x, i) => `${x}${"_".repeat(i + 1)}`)
91
- ].join(" ");
92
- }
93
- return `${prefix}${name}`;
94
- };
95
- var HTMLRenderer = class {
96
- /**
97
- * Creates a new HTMLRenderer
98
- *
99
- * @param {Tree} parseTree - the parse tree (must support `walk` API)
100
- * @param {{classPrefix: string}} options
101
- */
102
- constructor(parseTree, options) {
103
- this.buffer = "";
104
- this.classPrefix = options.classPrefix;
105
- parseTree.walk(this);
106
- }
107
- /**
108
- * Adds texts to the output stream
109
- *
110
- * @param {string} text */
111
- addText(text) {
112
- this.buffer += escapeHTML(text);
113
- }
114
- /**
115
- * Adds a node open to the output stream (if needed)
116
- *
117
- * @param {Node} node */
118
- openNode(node) {
119
- if (!emitsWrappingTags(node)) return;
120
- let scope = node.kind;
121
- if (node.sublanguage) {
122
- scope = `language-${scope}`;
123
- } else {
124
- scope = expandScopeName(scope, { prefix: this.classPrefix });
125
- }
126
- this.span(scope);
127
- }
128
- /**
129
- * Adds a node close to the output stream (if needed)
130
- *
131
- * @param {Node} node */
132
- closeNode(node) {
133
- if (!emitsWrappingTags(node)) return;
134
- this.buffer += SPAN_CLOSE;
135
- }
136
- /**
137
- * returns the accumulated buffer
138
- */
139
- value() {
140
- return this.buffer;
141
- }
142
- // helpers
143
- /**
144
- * Builds a span element
145
- *
146
- * @param {string} className */
147
- span(className) {
148
- this.buffer += `<span class="${className}">`;
149
- }
150
- };
151
- var TokenTree = class _TokenTree {
152
- constructor() {
153
- this.rootNode = { children: [] };
154
- this.stack = [this.rootNode];
155
- }
156
- get top() {
157
- return this.stack[this.stack.length - 1];
158
- }
159
- get root() {
160
- return this.rootNode;
161
- }
162
- /** @param {Node} node */
163
- add(node) {
164
- this.top.children.push(node);
165
- }
166
- /** @param {string} kind */
167
- openNode(kind) {
168
- const node = { kind, children: [] };
169
- this.add(node);
170
- this.stack.push(node);
171
- }
172
- closeNode() {
173
- if (this.stack.length > 1) {
174
- return this.stack.pop();
175
- }
176
- return void 0;
177
- }
178
- closeAllNodes() {
179
- while (this.closeNode()) ;
180
- }
181
- toJSON() {
182
- return JSON.stringify(this.rootNode, null, 4);
183
- }
184
- /**
185
- * @typedef { import("./html_renderer").Renderer } Renderer
186
- * @param {Renderer} builder
187
- */
188
- walk(builder) {
189
- return this.constructor._walk(builder, this.rootNode);
190
- }
191
- /**
192
- * @param {Renderer} builder
193
- * @param {Node} node
194
- */
195
- static _walk(builder, node) {
196
- if (typeof node === "string") {
197
- builder.addText(node);
198
- } else if (node.children) {
199
- builder.openNode(node);
200
- node.children.forEach((child) => this._walk(builder, child));
201
- builder.closeNode(node);
202
- }
203
- return builder;
204
- }
205
- /**
206
- * @param {Node} node
207
- */
208
- static _collapse(node) {
209
- if (typeof node === "string") return;
210
- if (!node.children) return;
211
- if (node.children.every((el) => typeof el === "string")) {
212
- node.children = [node.children.join("")];
213
- } else {
214
- node.children.forEach((child) => {
215
- _TokenTree._collapse(child);
216
- });
217
- }
218
- }
219
- };
220
- var TokenTreeEmitter = class extends TokenTree {
221
- /**
222
- * @param {*} options
223
- */
224
- constructor(options) {
225
- super();
226
- this.options = options;
227
- }
228
- /**
229
- * @param {string} text
230
- * @param {string} kind
231
- */
232
- addKeyword(text, kind) {
233
- if (text === "") {
234
- return;
235
- }
236
- this.openNode(kind);
237
- this.addText(text);
238
- this.closeNode();
239
- }
240
- /**
241
- * @param {string} text
242
- */
243
- addText(text) {
244
- if (text === "") {
245
- return;
246
- }
247
- this.add(text);
248
- }
249
- /**
250
- * @param {Emitter & {root: DataNode}} emitter
251
- * @param {string} name
252
- */
253
- addSublanguage(emitter, name) {
254
- const node = emitter.root;
255
- node.kind = name;
256
- node.sublanguage = true;
257
- this.add(node);
258
- }
259
- toHTML() {
260
- const renderer = new HTMLRenderer(this, this.options);
261
- return renderer.value();
262
- }
263
- finalize() {
264
- return true;
265
- }
266
- };
267
- function source2(re) {
268
- if (!re) return null;
269
- if (typeof re === "string") return re;
270
- return re.source;
271
- }
272
- function lookahead2(re) {
273
- return concat2("(?=", re, ")");
274
- }
275
- function concat2(...args) {
276
- const joined = args.map((x) => source2(x)).join("");
277
- return joined;
278
- }
279
- function stripOptionsFromArgs(args) {
280
- const opts = args[args.length - 1];
281
- if (typeof opts === "object" && opts.constructor === Object) {
282
- args.splice(args.length - 1, 1);
283
- return opts;
284
- } else {
285
- return {};
286
- }
287
- }
288
- function either(...args) {
289
- const opts = stripOptionsFromArgs(args);
290
- const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source2(x)).join("|") + ")";
291
- return joined;
292
- }
293
- function countMatchGroups(re) {
294
- return new RegExp(re.toString() + "|").exec("").length - 1;
295
- }
296
- function startsWith(re, lexeme) {
297
- const match = re && re.exec(lexeme);
298
- return match && match.index === 0;
299
- }
300
- var BACKREF_RE = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
301
- function _rewriteBackreferences(regexps, { joinWith }) {
302
- let numCaptures = 0;
303
- return regexps.map((regex) => {
304
- numCaptures += 1;
305
- const offset = numCaptures;
306
- let re = source2(regex);
307
- let out = "";
308
- while (re.length > 0) {
309
- const match = BACKREF_RE.exec(re);
310
- if (!match) {
311
- out += re;
312
- break;
313
- }
314
- out += re.substring(0, match.index);
315
- re = re.substring(match.index + match[0].length);
316
- if (match[0][0] === "\\" && match[1]) {
317
- out += "\\" + String(Number(match[1]) + offset);
318
- } else {
319
- out += match[0];
320
- if (match[0] === "(") {
321
- numCaptures++;
322
- }
323
- }
324
- }
325
- return out;
326
- }).map((re) => `(${re})`).join(joinWith);
327
- }
328
- var MATCH_NOTHING_RE = /\b\B/;
329
- var IDENT_RE2 = "[a-zA-Z]\\w*";
330
- var UNDERSCORE_IDENT_RE = "[a-zA-Z_]\\w*";
331
- var NUMBER_RE = "\\b\\d+(\\.\\d+)?";
332
- var C_NUMBER_RE = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";
333
- var BINARY_NUMBER_RE = "\\b(0b[01]+)";
334
- var RE_STARTERS_RE = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";
335
- var SHEBANG = (opts = {}) => {
336
- const beginShebang = /^#![ ]*\//;
337
- if (opts.binary) {
338
- opts.begin = concat2(
339
- beginShebang,
340
- /.*\b/,
341
- opts.binary,
342
- /\b.*/
343
- );
344
- }
345
- return inherit$1({
346
- scope: "meta",
347
- begin: beginShebang,
348
- end: /$/,
349
- relevance: 0,
350
- /** @type {ModeCallback} */
351
- "on:begin": (m, resp) => {
352
- if (m.index !== 0) resp.ignoreMatch();
353
- }
354
- }, opts);
355
- };
356
- var BACKSLASH_ESCAPE = {
357
- begin: "\\\\[\\s\\S]",
358
- relevance: 0
359
- };
360
- var APOS_STRING_MODE = {
361
- scope: "string",
362
- begin: "'",
363
- end: "'",
364
- illegal: "\\n",
365
- contains: [BACKSLASH_ESCAPE]
366
- };
367
- var QUOTE_STRING_MODE = {
368
- scope: "string",
369
- begin: '"',
370
- end: '"',
371
- illegal: "\\n",
372
- contains: [BACKSLASH_ESCAPE]
373
- };
374
- var PHRASAL_WORDS_MODE = {
375
- begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
376
- };
377
- var COMMENT = function(begin, end, modeOptions = {}) {
378
- const mode = inherit$1(
379
- {
380
- scope: "comment",
381
- begin,
382
- end,
383
- contains: []
384
- },
385
- modeOptions
386
- );
387
- mode.contains.push({
388
- scope: "doctag",
389
- // hack to avoid the space from being included. the space is necessary to
390
- // match here to prevent the plain text rule below from gobbling up doctags
391
- begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
392
- end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,
393
- excludeBegin: true,
394
- relevance: 0
395
- });
396
- const ENGLISH_WORD = either(
397
- // list of common 1 and 2 letter words in English
398
- "I",
399
- "a",
400
- "is",
401
- "so",
402
- "us",
403
- "to",
404
- "at",
405
- "if",
406
- "in",
407
- "it",
408
- "on",
409
- // note: this is not an exhaustive list of contractions, just popular ones
410
- /[A-Za-z]+['](d|ve|re|ll|t|s|n)/,
411
- // contractions - can't we'd they're let's, etc
412
- /[A-Za-z]+[-][a-z]+/,
413
- // `no-way`, etc.
414
- /[A-Za-z][a-z]{2,}/
415
- // allow capitalized words at beginning of sentences
416
- );
417
- mode.contains.push(
418
- {
419
- // TODO: how to include ", (, ) without breaking grammars that use these for
420
- // comment delimiters?
421
- // begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/
422
- // ---
423
- // this tries to find sequences of 3 english words in a row (without any
424
- // "programming" type syntax) this gives us a strong signal that we've
425
- // TRULY found a comment - vs perhaps scanning with the wrong language.
426
- // It's possible to find something that LOOKS like the start of the
427
- // comment - but then if there is no readable text - good chance it is a
428
- // false match and not a comment.
429
- //
430
- // for a visual example please see:
431
- // https://github.com/highlightjs/highlight.js/issues/2827
432
- begin: concat2(
433
- /[ ]+/,
434
- // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
435
- "(",
436
- ENGLISH_WORD,
437
- /[.]?[:]?([.][ ]|[ ])/,
438
- "){3}"
439
- )
440
- // look for 3 words in a row
441
- }
442
- );
443
- return mode;
444
- };
445
- var C_LINE_COMMENT_MODE = COMMENT("//", "$");
446
- var C_BLOCK_COMMENT_MODE = COMMENT("/\\*", "\\*/");
447
- var HASH_COMMENT_MODE = COMMENT("#", "$");
448
- var NUMBER_MODE = {
449
- scope: "number",
450
- begin: NUMBER_RE,
451
- relevance: 0
452
- };
453
- var C_NUMBER_MODE = {
454
- scope: "number",
455
- begin: C_NUMBER_RE,
456
- relevance: 0
457
- };
458
- var BINARY_NUMBER_MODE = {
459
- scope: "number",
460
- begin: BINARY_NUMBER_RE,
461
- relevance: 0
462
- };
463
- var REGEXP_MODE = {
464
- // this outer rule makes sure we actually have a WHOLE regex and not simply
465
- // an expression such as:
466
- //
467
- // 3 / something
468
- //
469
- // (which will then blow up when regex's `illegal` sees the newline)
470
- begin: /(?=\/[^/\n]*\/)/,
471
- contains: [{
472
- scope: "regexp",
473
- begin: /\//,
474
- end: /\/[gimuy]*/,
475
- illegal: /\n/,
476
- contains: [
477
- BACKSLASH_ESCAPE,
478
- {
479
- begin: /\[/,
480
- end: /\]/,
481
- relevance: 0,
482
- contains: [BACKSLASH_ESCAPE]
483
- }
484
- ]
485
- }]
486
- };
487
- var TITLE_MODE = {
488
- scope: "title",
489
- begin: IDENT_RE2,
490
- relevance: 0
491
- };
492
- var UNDERSCORE_TITLE_MODE = {
493
- scope: "title",
494
- begin: UNDERSCORE_IDENT_RE,
495
- relevance: 0
496
- };
497
- var METHOD_GUARD = {
498
- // excludes method names from keyword processing
499
- begin: "\\.\\s*" + UNDERSCORE_IDENT_RE,
500
- relevance: 0
501
- };
502
- var END_SAME_AS_BEGIN = function(mode) {
503
- return Object.assign(
504
- mode,
505
- {
506
- /** @type {ModeCallback} */
507
- "on:begin": (m, resp) => {
508
- resp.data._beginMatch = m[1];
509
- },
510
- /** @type {ModeCallback} */
511
- "on:end": (m, resp) => {
512
- if (resp.data._beginMatch !== m[1]) resp.ignoreMatch();
513
- }
514
- }
515
- );
516
- };
517
- var MODES = /* @__PURE__ */ Object.freeze({
518
- __proto__: null,
519
- MATCH_NOTHING_RE,
520
- IDENT_RE: IDENT_RE2,
521
- UNDERSCORE_IDENT_RE,
522
- NUMBER_RE,
523
- C_NUMBER_RE,
524
- BINARY_NUMBER_RE,
525
- RE_STARTERS_RE,
526
- SHEBANG,
527
- BACKSLASH_ESCAPE,
528
- APOS_STRING_MODE,
529
- QUOTE_STRING_MODE,
530
- PHRASAL_WORDS_MODE,
531
- COMMENT,
532
- C_LINE_COMMENT_MODE,
533
- C_BLOCK_COMMENT_MODE,
534
- HASH_COMMENT_MODE,
535
- NUMBER_MODE,
536
- C_NUMBER_MODE,
537
- BINARY_NUMBER_MODE,
538
- REGEXP_MODE,
539
- TITLE_MODE,
540
- UNDERSCORE_TITLE_MODE,
541
- METHOD_GUARD,
542
- END_SAME_AS_BEGIN
543
- });
544
- function skipIfHasPrecedingDot(match, response) {
545
- const before = match.input[match.index - 1];
546
- if (before === ".") {
547
- response.ignoreMatch();
548
- }
549
- }
550
- function scopeClassName(mode, _parent) {
551
- if (mode.className !== void 0) {
552
- mode.scope = mode.className;
553
- delete mode.className;
554
- }
555
- }
556
- function beginKeywords(mode, parent) {
557
- if (!parent) return;
558
- if (!mode.beginKeywords) return;
559
- mode.begin = "\\b(" + mode.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)";
560
- mode.__beforeBegin = skipIfHasPrecedingDot;
561
- mode.keywords = mode.keywords || mode.beginKeywords;
562
- delete mode.beginKeywords;
563
- if (mode.relevance === void 0) mode.relevance = 0;
564
- }
565
- function compileIllegal(mode, _parent) {
566
- if (!Array.isArray(mode.illegal)) return;
567
- mode.illegal = either(...mode.illegal);
568
- }
569
- function compileMatch(mode, _parent) {
570
- if (!mode.match) return;
571
- if (mode.begin || mode.end) throw new Error("begin & end are not supported with match");
572
- mode.begin = mode.match;
573
- delete mode.match;
574
- }
575
- function compileRelevance(mode, _parent) {
576
- if (mode.relevance === void 0) mode.relevance = 1;
577
- }
578
- var beforeMatchExt = (mode, parent) => {
579
- if (!mode.beforeMatch) return;
580
- if (mode.starts) throw new Error("beforeMatch cannot be used with starts");
581
- const originalMode = Object.assign({}, mode);
582
- Object.keys(mode).forEach((key) => {
583
- delete mode[key];
584
- });
585
- mode.keywords = originalMode.keywords;
586
- mode.begin = concat2(originalMode.beforeMatch, lookahead2(originalMode.begin));
587
- mode.starts = {
588
- relevance: 0,
589
- contains: [
590
- Object.assign(originalMode, { endsParent: true })
591
- ]
592
- };
593
- mode.relevance = 0;
594
- delete originalMode.beforeMatch;
595
- };
596
- var COMMON_KEYWORDS = [
597
- "of",
598
- "and",
599
- "for",
600
- "in",
601
- "not",
602
- "or",
603
- "if",
604
- "then",
605
- "parent",
606
- // common variable name
607
- "list",
608
- // common variable name
609
- "value"
610
- // common variable name
611
- ];
612
- var DEFAULT_KEYWORD_SCOPE = "keyword";
613
- function compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWORD_SCOPE) {
614
- const compiledKeywords = /* @__PURE__ */ Object.create(null);
615
- if (typeof rawKeywords === "string") {
616
- compileList(scopeName, rawKeywords.split(" "));
617
- } else if (Array.isArray(rawKeywords)) {
618
- compileList(scopeName, rawKeywords);
619
- } else {
620
- Object.keys(rawKeywords).forEach(function(scopeName2) {
621
- Object.assign(
622
- compiledKeywords,
623
- compileKeywords(rawKeywords[scopeName2], caseInsensitive, scopeName2)
624
- );
625
- });
626
- }
627
- return compiledKeywords;
628
- function compileList(scopeName2, keywordList) {
629
- if (caseInsensitive) {
630
- keywordList = keywordList.map((x) => x.toLowerCase());
631
- }
632
- keywordList.forEach(function(keyword) {
633
- const pair = keyword.split("|");
634
- compiledKeywords[pair[0]] = [scopeName2, scoreForKeyword(pair[0], pair[1])];
635
- });
636
- }
637
- }
638
- function scoreForKeyword(keyword, providedScore) {
639
- if (providedScore) {
640
- return Number(providedScore);
641
- }
642
- return commonKeyword(keyword) ? 0 : 1;
643
- }
644
- function commonKeyword(keyword) {
645
- return COMMON_KEYWORDS.includes(keyword.toLowerCase());
646
- }
647
- var seenDeprecations = {};
648
- var error = (message) => {
649
- console.error(message);
650
- };
651
- var warn = (message, ...args) => {
652
- console.log(`WARN: ${message}`, ...args);
653
- };
654
- var deprecated = (version2, message) => {
655
- if (seenDeprecations[`${version2}/${message}`]) return;
656
- console.log(`Deprecated as of ${version2}. ${message}`);
657
- seenDeprecations[`${version2}/${message}`] = true;
658
- };
659
- var MultiClassError = new Error();
660
- function remapScopeNames(mode, regexes, { key }) {
661
- let offset = 0;
662
- const scopeNames = mode[key];
663
- const emit = {};
664
- const positions = {};
665
- for (let i = 1; i <= regexes.length; i++) {
666
- positions[i + offset] = scopeNames[i];
667
- emit[i + offset] = true;
668
- offset += countMatchGroups(regexes[i - 1]);
669
- }
670
- mode[key] = positions;
671
- mode[key]._emit = emit;
672
- mode[key]._multi = true;
673
- }
674
- function beginMultiClass(mode) {
675
- if (!Array.isArray(mode.begin)) return;
676
- if (mode.skip || mode.excludeBegin || mode.returnBegin) {
677
- error("skip, excludeBegin, returnBegin not compatible with beginScope: {}");
678
- throw MultiClassError;
679
- }
680
- if (typeof mode.beginScope !== "object" || mode.beginScope === null) {
681
- error("beginScope must be object");
682
- throw MultiClassError;
683
- }
684
- remapScopeNames(mode, mode.begin, { key: "beginScope" });
685
- mode.begin = _rewriteBackreferences(mode.begin, { joinWith: "" });
686
- }
687
- function endMultiClass(mode) {
688
- if (!Array.isArray(mode.end)) return;
689
- if (mode.skip || mode.excludeEnd || mode.returnEnd) {
690
- error("skip, excludeEnd, returnEnd not compatible with endScope: {}");
691
- throw MultiClassError;
692
- }
693
- if (typeof mode.endScope !== "object" || mode.endScope === null) {
694
- error("endScope must be object");
695
- throw MultiClassError;
696
- }
697
- remapScopeNames(mode, mode.end, { key: "endScope" });
698
- mode.end = _rewriteBackreferences(mode.end, { joinWith: "" });
699
- }
700
- function scopeSugar(mode) {
701
- if (mode.scope && typeof mode.scope === "object" && mode.scope !== null) {
702
- mode.beginScope = mode.scope;
703
- delete mode.scope;
704
- }
705
- }
706
- function MultiClass(mode) {
707
- scopeSugar(mode);
708
- if (typeof mode.beginScope === "string") {
709
- mode.beginScope = { _wrap: mode.beginScope };
710
- }
711
- if (typeof mode.endScope === "string") {
712
- mode.endScope = { _wrap: mode.endScope };
713
- }
714
- beginMultiClass(mode);
715
- endMultiClass(mode);
716
- }
717
- function compileLanguage(language) {
718
- function langRe(value, global) {
719
- return new RegExp(
720
- source2(value),
721
- "m" + (language.case_insensitive ? "i" : "") + (global ? "g" : "")
722
- );
723
- }
724
- class MultiRegex {
725
- constructor() {
726
- this.matchIndexes = {};
727
- this.regexes = [];
728
- this.matchAt = 1;
729
- this.position = 0;
730
- }
731
- // @ts-ignore
732
- addRule(re, opts) {
733
- opts.position = this.position++;
734
- this.matchIndexes[this.matchAt] = opts;
735
- this.regexes.push([opts, re]);
736
- this.matchAt += countMatchGroups(re) + 1;
737
- }
738
- compile() {
739
- if (this.regexes.length === 0) {
740
- this.exec = () => null;
741
- }
742
- const terminators = this.regexes.map((el) => el[1]);
743
- this.matcherRe = langRe(_rewriteBackreferences(terminators, { joinWith: "|" }), true);
744
- this.lastIndex = 0;
745
- }
746
- /** @param {string} s */
747
- exec(s) {
748
- this.matcherRe.lastIndex = this.lastIndex;
749
- const match = this.matcherRe.exec(s);
750
- if (!match) {
751
- return null;
752
- }
753
- const i = match.findIndex((el, i2) => i2 > 0 && el !== void 0);
754
- const matchData = this.matchIndexes[i];
755
- match.splice(0, i);
756
- return Object.assign(match, matchData);
757
- }
758
- }
759
- class ResumableMultiRegex {
760
- constructor() {
761
- this.rules = [];
762
- this.multiRegexes = [];
763
- this.count = 0;
764
- this.lastIndex = 0;
765
- this.regexIndex = 0;
766
- }
767
- // @ts-ignore
768
- getMatcher(index) {
769
- if (this.multiRegexes[index]) return this.multiRegexes[index];
770
- const matcher = new MultiRegex();
771
- this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));
772
- matcher.compile();
773
- this.multiRegexes[index] = matcher;
774
- return matcher;
775
- }
776
- resumingScanAtSamePosition() {
777
- return this.regexIndex !== 0;
778
- }
779
- considerAll() {
780
- this.regexIndex = 0;
781
- }
782
- // @ts-ignore
783
- addRule(re, opts) {
784
- this.rules.push([re, opts]);
785
- if (opts.type === "begin") this.count++;
786
- }
787
- /** @param {string} s */
788
- exec(s) {
789
- const m = this.getMatcher(this.regexIndex);
790
- m.lastIndex = this.lastIndex;
791
- let result = m.exec(s);
792
- if (this.resumingScanAtSamePosition()) {
793
- if (result && result.index === this.lastIndex) ;
794
- else {
795
- const m2 = this.getMatcher(0);
796
- m2.lastIndex = this.lastIndex + 1;
797
- result = m2.exec(s);
798
- }
799
- }
800
- if (result) {
801
- this.regexIndex += result.position + 1;
802
- if (this.regexIndex === this.count) {
803
- this.considerAll();
804
- }
805
- }
806
- return result;
807
- }
808
- }
809
- function buildModeRegex(mode) {
810
- const mm = new ResumableMultiRegex();
811
- mode.contains.forEach((term) => mm.addRule(term.begin, { rule: term, type: "begin" }));
812
- if (mode.terminatorEnd) {
813
- mm.addRule(mode.terminatorEnd, { type: "end" });
814
- }
815
- if (mode.illegal) {
816
- mm.addRule(mode.illegal, { type: "illegal" });
817
- }
818
- return mm;
819
- }
820
- function compileMode(mode, parent) {
821
- const cmode = (
822
- /** @type CompiledMode */
823
- mode
824
- );
825
- if (mode.isCompiled) return cmode;
826
- [
827
- scopeClassName,
828
- // do this early so compiler extensions generally don't have to worry about
829
- // the distinction between match/begin
830
- compileMatch,
831
- MultiClass,
832
- beforeMatchExt
833
- ].forEach((ext) => ext(mode, parent));
834
- language.compilerExtensions.forEach((ext) => ext(mode, parent));
835
- mode.__beforeBegin = null;
836
- [
837
- beginKeywords,
838
- // do this later so compiler extensions that come earlier have access to the
839
- // raw array if they wanted to perhaps manipulate it, etc.
840
- compileIllegal,
841
- // default to 1 relevance if not specified
842
- compileRelevance
843
- ].forEach((ext) => ext(mode, parent));
844
- mode.isCompiled = true;
845
- let keywordPattern = null;
846
- if (typeof mode.keywords === "object" && mode.keywords.$pattern) {
847
- mode.keywords = Object.assign({}, mode.keywords);
848
- keywordPattern = mode.keywords.$pattern;
849
- delete mode.keywords.$pattern;
850
- }
851
- keywordPattern = keywordPattern || /\w+/;
852
- if (mode.keywords) {
853
- mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);
854
- }
855
- cmode.keywordPatternRe = langRe(keywordPattern, true);
856
- if (parent) {
857
- if (!mode.begin) mode.begin = /\B|\b/;
858
- cmode.beginRe = langRe(mode.begin);
859
- if (!mode.end && !mode.endsWithParent) mode.end = /\B|\b/;
860
- if (mode.end) cmode.endRe = langRe(mode.end);
861
- cmode.terminatorEnd = source2(mode.end) || "";
862
- if (mode.endsWithParent && parent.terminatorEnd) {
863
- cmode.terminatorEnd += (mode.end ? "|" : "") + parent.terminatorEnd;
864
- }
865
- }
866
- if (mode.illegal) cmode.illegalRe = langRe(
867
- /** @type {RegExp | string} */
868
- mode.illegal
869
- );
870
- if (!mode.contains) mode.contains = [];
871
- mode.contains = [].concat(...mode.contains.map(function(c) {
872
- return expandOrCloneMode(c === "self" ? mode : c);
873
- }));
874
- mode.contains.forEach(function(c) {
875
- compileMode(
876
- /** @type Mode */
877
- c,
878
- cmode
879
- );
880
- });
881
- if (mode.starts) {
882
- compileMode(mode.starts, parent);
883
- }
884
- cmode.matcher = buildModeRegex(cmode);
885
- return cmode;
886
- }
887
- if (!language.compilerExtensions) language.compilerExtensions = [];
888
- if (language.contains && language.contains.includes("self")) {
889
- throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
890
- }
891
- language.classNameAliases = inherit$1(language.classNameAliases || {});
892
- return compileMode(
893
- /** @type Mode */
894
- language
895
- );
896
- }
897
- function dependencyOnParent(mode) {
898
- if (!mode) return false;
899
- return mode.endsWithParent || dependencyOnParent(mode.starts);
900
- }
901
- function expandOrCloneMode(mode) {
902
- if (mode.variants && !mode.cachedVariants) {
903
- mode.cachedVariants = mode.variants.map(function(variant) {
904
- return inherit$1(mode, { variants: null }, variant);
905
- });
906
- }
907
- if (mode.cachedVariants) {
908
- return mode.cachedVariants;
909
- }
910
- if (dependencyOnParent(mode)) {
911
- return inherit$1(mode, { starts: mode.starts ? inherit$1(mode.starts) : null });
912
- }
913
- if (Object.isFrozen(mode)) {
914
- return inherit$1(mode);
915
- }
916
- return mode;
917
- }
918
- var version = "11.2.0";
919
- var escape = escapeHTML;
920
- var inherit = inherit$1;
921
- var NO_MATCH = /* @__PURE__ */ Symbol("nomatch");
922
- var MAX_KEYWORD_HITS = 7;
923
- var HLJS = function(hljs2) {
924
- const languages = /* @__PURE__ */ Object.create(null);
925
- const aliases = /* @__PURE__ */ Object.create(null);
926
- const plugins = [];
927
- let SAFE_MODE = true;
928
- const LANGUAGE_NOT_FOUND = "Could not find the language '{}', did you forget to load/include a language module?";
929
- const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: "Plain text", contains: [] };
930
- let options = {
931
- ignoreUnescapedHTML: false,
932
- noHighlightRe: /^(no-?highlight)$/i,
933
- languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
934
- classPrefix: "hljs-",
935
- cssSelector: "pre code",
936
- languages: null,
937
- // beta configuration options, subject to change, welcome to discuss
938
- // https://github.com/highlightjs/highlight.js/issues/1086
939
- __emitter: TokenTreeEmitter
940
- };
941
- function shouldNotHighlight(languageName) {
942
- return options.noHighlightRe.test(languageName);
943
- }
944
- function blockLanguage(block) {
945
- let classes = block.className + " ";
946
- classes += block.parentNode ? block.parentNode.className : "";
947
- const match = options.languageDetectRe.exec(classes);
948
- if (match) {
949
- const language = getLanguage(match[1]);
950
- if (!language) {
951
- warn(LANGUAGE_NOT_FOUND.replace("{}", match[1]));
952
- warn("Falling back to no-highlight mode for this block.", block);
953
- }
954
- return language ? match[1] : "no-highlight";
955
- }
956
- return classes.split(/\s+/).find((_class) => shouldNotHighlight(_class) || getLanguage(_class));
957
- }
958
- function highlight2(codeOrLanguageName, optionsOrCode, ignoreIllegals) {
959
- let code = "";
960
- let languageName = "";
961
- if (typeof optionsOrCode === "object") {
962
- code = codeOrLanguageName;
963
- ignoreIllegals = optionsOrCode.ignoreIllegals;
964
- languageName = optionsOrCode.language;
965
- } else {
966
- deprecated("10.7.0", "highlight(lang, code, ...args) has been deprecated.");
967
- deprecated("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");
968
- languageName = codeOrLanguageName;
969
- code = optionsOrCode;
970
- }
971
- if (ignoreIllegals === void 0) {
972
- ignoreIllegals = true;
973
- }
974
- const context = {
975
- code,
976
- language: languageName
977
- };
978
- fire("before:highlight", context);
979
- const result = context.result ? context.result : _highlight(context.language, context.code, ignoreIllegals);
980
- result.code = context.code;
981
- fire("after:highlight", result);
982
- return result;
983
- }
984
- function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {
985
- const keywordHits = /* @__PURE__ */ Object.create(null);
986
- function keywordData(mode, matchText) {
987
- return mode.keywords[matchText];
988
- }
989
- function processKeywords() {
990
- if (!top.keywords) {
991
- emitter.addText(modeBuffer);
992
- return;
993
- }
994
- let lastIndex = 0;
995
- top.keywordPatternRe.lastIndex = 0;
996
- let match = top.keywordPatternRe.exec(modeBuffer);
997
- let buf = "";
998
- while (match) {
999
- buf += modeBuffer.substring(lastIndex, match.index);
1000
- const word = language.case_insensitive ? match[0].toLowerCase() : match[0];
1001
- const data = keywordData(top, word);
1002
- if (data) {
1003
- const [kind, keywordRelevance] = data;
1004
- emitter.addText(buf);
1005
- buf = "";
1006
- keywordHits[word] = (keywordHits[word] || 0) + 1;
1007
- if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;
1008
- if (kind.startsWith("_")) {
1009
- buf += match[0];
1010
- } else {
1011
- const cssClass = language.classNameAliases[kind] || kind;
1012
- emitter.addKeyword(match[0], cssClass);
1013
- }
1014
- } else {
1015
- buf += match[0];
1016
- }
1017
- lastIndex = top.keywordPatternRe.lastIndex;
1018
- match = top.keywordPatternRe.exec(modeBuffer);
1019
- }
1020
- buf += modeBuffer.substr(lastIndex);
1021
- emitter.addText(buf);
1022
- }
1023
- function processSubLanguage() {
1024
- if (modeBuffer === "") return;
1025
- let result2 = null;
1026
- if (typeof top.subLanguage === "string") {
1027
- if (!languages[top.subLanguage]) {
1028
- emitter.addText(modeBuffer);
1029
- return;
1030
- }
1031
- result2 = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);
1032
- continuations[top.subLanguage] = /** @type {CompiledMode} */
1033
- result2._top;
1034
- } else {
1035
- result2 = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);
1036
- }
1037
- if (top.relevance > 0) {
1038
- relevance += result2.relevance;
1039
- }
1040
- emitter.addSublanguage(result2._emitter, result2.language);
1041
- }
1042
- function processBuffer() {
1043
- if (top.subLanguage != null) {
1044
- processSubLanguage();
1045
- } else {
1046
- processKeywords();
1047
- }
1048
- modeBuffer = "";
1049
- }
1050
- function emitMultiClass(scope, match) {
1051
- let i = 1;
1052
- while (match[i] !== void 0) {
1053
- if (!scope._emit[i]) {
1054
- i++;
1055
- continue;
1056
- }
1057
- const klass = language.classNameAliases[scope[i]] || scope[i];
1058
- const text = match[i];
1059
- if (klass) {
1060
- emitter.addKeyword(text, klass);
1061
- } else {
1062
- modeBuffer = text;
1063
- processKeywords();
1064
- modeBuffer = "";
1065
- }
1066
- i++;
1067
- }
1068
- }
1069
- function startNewMode(mode, match) {
1070
- if (mode.scope && typeof mode.scope === "string") {
1071
- emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);
1072
- }
1073
- if (mode.beginScope) {
1074
- if (mode.beginScope._wrap) {
1075
- emitter.addKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);
1076
- modeBuffer = "";
1077
- } else if (mode.beginScope._multi) {
1078
- emitMultiClass(mode.beginScope, match);
1079
- modeBuffer = "";
1080
- }
1081
- }
1082
- top = Object.create(mode, { parent: { value: top } });
1083
- return top;
1084
- }
1085
- function endOfMode(mode, match, matchPlusRemainder) {
1086
- let matched = startsWith(mode.endRe, matchPlusRemainder);
1087
- if (matched) {
1088
- if (mode["on:end"]) {
1089
- const resp = new Response(mode);
1090
- mode["on:end"](match, resp);
1091
- if (resp.isMatchIgnored) matched = false;
1092
- }
1093
- if (matched) {
1094
- while (mode.endsParent && mode.parent) {
1095
- mode = mode.parent;
1096
- }
1097
- return mode;
1098
- }
1099
- }
1100
- if (mode.endsWithParent) {
1101
- return endOfMode(mode.parent, match, matchPlusRemainder);
1102
- }
1103
- }
1104
- function doIgnore(lexeme) {
1105
- if (top.matcher.regexIndex === 0) {
1106
- modeBuffer += lexeme[0];
1107
- return 1;
1108
- } else {
1109
- resumeScanAtSamePosition = true;
1110
- return 0;
1111
- }
1112
- }
1113
- function doBeginMatch(match) {
1114
- const lexeme = match[0];
1115
- const newMode = match.rule;
1116
- const resp = new Response(newMode);
1117
- const beforeCallbacks = [newMode.__beforeBegin, newMode["on:begin"]];
1118
- for (const cb of beforeCallbacks) {
1119
- if (!cb) continue;
1120
- cb(match, resp);
1121
- if (resp.isMatchIgnored) return doIgnore(lexeme);
1122
- }
1123
- if (newMode.skip) {
1124
- modeBuffer += lexeme;
1125
- } else {
1126
- if (newMode.excludeBegin) {
1127
- modeBuffer += lexeme;
1128
- }
1129
- processBuffer();
1130
- if (!newMode.returnBegin && !newMode.excludeBegin) {
1131
- modeBuffer = lexeme;
1132
- }
1133
- }
1134
- startNewMode(newMode, match);
1135
- return newMode.returnBegin ? 0 : lexeme.length;
1136
- }
1137
- function doEndMatch(match) {
1138
- const lexeme = match[0];
1139
- const matchPlusRemainder = codeToHighlight.substr(match.index);
1140
- const endMode = endOfMode(top, match, matchPlusRemainder);
1141
- if (!endMode) {
1142
- return NO_MATCH;
1143
- }
1144
- const origin = top;
1145
- if (top.endScope && top.endScope._wrap) {
1146
- processBuffer();
1147
- emitter.addKeyword(lexeme, top.endScope._wrap);
1148
- } else if (top.endScope && top.endScope._multi) {
1149
- processBuffer();
1150
- emitMultiClass(top.endScope, match);
1151
- } else if (origin.skip) {
1152
- modeBuffer += lexeme;
1153
- } else {
1154
- if (!(origin.returnEnd || origin.excludeEnd)) {
1155
- modeBuffer += lexeme;
1156
- }
1157
- processBuffer();
1158
- if (origin.excludeEnd) {
1159
- modeBuffer = lexeme;
1160
- }
1161
- }
1162
- do {
1163
- if (top.scope) {
1164
- emitter.closeNode();
1165
- }
1166
- if (!top.skip && !top.subLanguage) {
1167
- relevance += top.relevance;
1168
- }
1169
- top = top.parent;
1170
- } while (top !== endMode.parent);
1171
- if (endMode.starts) {
1172
- startNewMode(endMode.starts, match);
1173
- }
1174
- return origin.returnEnd ? 0 : lexeme.length;
1175
- }
1176
- function processContinuations() {
1177
- const list = [];
1178
- for (let current = top; current !== language; current = current.parent) {
1179
- if (current.scope) {
1180
- list.unshift(current.scope);
1181
- }
1182
- }
1183
- list.forEach((item) => emitter.openNode(item));
1184
- }
1185
- let lastMatch = {};
1186
- function processLexeme(textBeforeMatch, match) {
1187
- const lexeme = match && match[0];
1188
- modeBuffer += textBeforeMatch;
1189
- if (lexeme == null) {
1190
- processBuffer();
1191
- return 0;
1192
- }
1193
- if (lastMatch.type === "begin" && match.type === "end" && lastMatch.index === match.index && lexeme === "") {
1194
- modeBuffer += codeToHighlight.slice(match.index, match.index + 1);
1195
- if (!SAFE_MODE) {
1196
- const err = new Error(`0 width match regex (${languageName})`);
1197
- err.languageName = languageName;
1198
- err.badRule = lastMatch.rule;
1199
- throw err;
1200
- }
1201
- return 1;
1202
- }
1203
- lastMatch = match;
1204
- if (match.type === "begin") {
1205
- return doBeginMatch(match);
1206
- } else if (match.type === "illegal" && !ignoreIllegals) {
1207
- const err = new Error('Illegal lexeme "' + lexeme + '" for mode "' + (top.scope || "<unnamed>") + '"');
1208
- err.mode = top;
1209
- throw err;
1210
- } else if (match.type === "end") {
1211
- const processed = doEndMatch(match);
1212
- if (processed !== NO_MATCH) {
1213
- return processed;
1214
- }
1215
- }
1216
- if (match.type === "illegal" && lexeme === "") {
1217
- return 1;
1218
- }
1219
- if (iterations > 1e5 && iterations > match.index * 3) {
1220
- const err = new Error("potential infinite loop, way more iterations than matches");
1221
- throw err;
1222
- }
1223
- modeBuffer += lexeme;
1224
- return lexeme.length;
1225
- }
1226
- const language = getLanguage(languageName);
1227
- if (!language) {
1228
- error(LANGUAGE_NOT_FOUND.replace("{}", languageName));
1229
- throw new Error('Unknown language: "' + languageName + '"');
1230
- }
1231
- const md = compileLanguage(language);
1232
- let result = "";
1233
- let top = continuation || md;
1234
- const continuations = {};
1235
- const emitter = new options.__emitter(options);
1236
- processContinuations();
1237
- let modeBuffer = "";
1238
- let relevance = 0;
1239
- let index = 0;
1240
- let iterations = 0;
1241
- let resumeScanAtSamePosition = false;
1242
- try {
1243
- top.matcher.considerAll();
1244
- for (; ; ) {
1245
- iterations++;
1246
- if (resumeScanAtSamePosition) {
1247
- resumeScanAtSamePosition = false;
1248
- } else {
1249
- top.matcher.considerAll();
1250
- }
1251
- top.matcher.lastIndex = index;
1252
- const match = top.matcher.exec(codeToHighlight);
1253
- if (!match) break;
1254
- const beforeMatch = codeToHighlight.substring(index, match.index);
1255
- const processedCount = processLexeme(beforeMatch, match);
1256
- index = match.index + processedCount;
1257
- }
1258
- processLexeme(codeToHighlight.substr(index));
1259
- emitter.closeAllNodes();
1260
- emitter.finalize();
1261
- result = emitter.toHTML();
1262
- return {
1263
- language: languageName,
1264
- value: result,
1265
- relevance,
1266
- illegal: false,
1267
- _emitter: emitter,
1268
- _top: top
1269
- };
1270
- } catch (err) {
1271
- if (err.message && err.message.includes("Illegal")) {
1272
- return {
1273
- language: languageName,
1274
- value: escape(codeToHighlight),
1275
- illegal: true,
1276
- relevance: 0,
1277
- _illegalBy: {
1278
- message: err.message,
1279
- index,
1280
- context: codeToHighlight.slice(index - 100, index + 100),
1281
- mode: err.mode,
1282
- resultSoFar: result
1283
- },
1284
- _emitter: emitter
1285
- };
1286
- } else if (SAFE_MODE) {
1287
- return {
1288
- language: languageName,
1289
- value: escape(codeToHighlight),
1290
- illegal: false,
1291
- relevance: 0,
1292
- errorRaised: err,
1293
- _emitter: emitter,
1294
- _top: top
1295
- };
1296
- } else {
1297
- throw err;
1298
- }
1299
- }
1300
- }
1301
- function justTextHighlightResult(code) {
1302
- const result = {
1303
- value: escape(code),
1304
- illegal: false,
1305
- relevance: 0,
1306
- _top: PLAINTEXT_LANGUAGE,
1307
- _emitter: new options.__emitter(options)
1308
- };
1309
- result._emitter.addText(code);
1310
- return result;
1311
- }
1312
- function highlightAuto(code, languageSubset) {
1313
- languageSubset = languageSubset || options.languages || Object.keys(languages);
1314
- const plaintext = justTextHighlightResult(code);
1315
- const results = languageSubset.filter(getLanguage).filter(autoDetection).map(
1316
- (name) => _highlight(name, code, false)
1317
- );
1318
- results.unshift(plaintext);
1319
- const sorted = results.sort((a, b) => {
1320
- if (a.relevance !== b.relevance) return b.relevance - a.relevance;
1321
- if (a.language && b.language) {
1322
- if (getLanguage(a.language).supersetOf === b.language) {
1323
- return 1;
1324
- } else if (getLanguage(b.language).supersetOf === a.language) {
1325
- return -1;
1326
- }
1327
- }
1328
- return 0;
1329
- });
1330
- const [best, secondBest] = sorted;
1331
- const result = best;
1332
- result.secondBest = secondBest;
1333
- return result;
1334
- }
1335
- function updateClassName(element, currentLang, resultLang) {
1336
- const language = currentLang && aliases[currentLang] || resultLang;
1337
- element.classList.add("hljs");
1338
- element.classList.add(`language-${language}`);
1339
- }
1340
- function highlightElement(element) {
1341
- let node = null;
1342
- const language = blockLanguage(element);
1343
- if (shouldNotHighlight(language)) return;
1344
- fire(
1345
- "before:highlightElement",
1346
- { el: element, language }
1347
- );
1348
- if (!options.ignoreUnescapedHTML && element.children.length > 0) {
1349
- console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk.");
1350
- console.warn("https://github.com/highlightjs/highlight.js/issues/2886");
1351
- console.warn(element);
1352
- }
1353
- node = element;
1354
- const text = node.textContent;
1355
- const result = language ? highlight2(text, { language, ignoreIllegals: true }) : highlightAuto(text);
1356
- element.innerHTML = result.value;
1357
- updateClassName(element, language, result.language);
1358
- element.result = {
1359
- language: result.language,
1360
- // TODO: remove with version 11.0
1361
- re: result.relevance,
1362
- relevance: result.relevance
1363
- };
1364
- if (result.secondBest) {
1365
- element.secondBest = {
1366
- language: result.secondBest.language,
1367
- relevance: result.secondBest.relevance
1368
- };
1369
- }
1370
- fire("after:highlightElement", { el: element, result, text });
1371
- }
1372
- function configure(userOptions) {
1373
- options = inherit(options, userOptions);
1374
- }
1375
- const initHighlighting = () => {
1376
- highlightAll();
1377
- deprecated("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1378
- };
1379
- function initHighlightingOnLoad() {
1380
- highlightAll();
1381
- deprecated("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1382
- }
1383
- let wantsHighlight = false;
1384
- function highlightAll() {
1385
- if (document.readyState === "loading") {
1386
- wantsHighlight = true;
1387
- return;
1388
- }
1389
- const blocks = document.querySelectorAll(options.cssSelector);
1390
- blocks.forEach(highlightElement);
1391
- }
1392
- function boot() {
1393
- if (wantsHighlight) highlightAll();
1394
- }
1395
- if (typeof window !== "undefined" && window.addEventListener) {
1396
- window.addEventListener("DOMContentLoaded", boot, false);
1397
- }
1398
- function registerLanguage(languageName, languageDefinition) {
1399
- let lang = null;
1400
- try {
1401
- lang = languageDefinition(hljs2);
1402
- } catch (error$1) {
1403
- error("Language definition for '{}' could not be registered.".replace("{}", languageName));
1404
- if (!SAFE_MODE) {
1405
- throw error$1;
1406
- } else {
1407
- error(error$1);
1408
- }
1409
- lang = PLAINTEXT_LANGUAGE;
1410
- }
1411
- if (!lang.name) lang.name = languageName;
1412
- languages[languageName] = lang;
1413
- lang.rawDefinition = languageDefinition.bind(null, hljs2);
1414
- if (lang.aliases) {
1415
- registerAliases(lang.aliases, { languageName });
1416
- }
1417
- }
1418
- function unregisterLanguage(languageName) {
1419
- delete languages[languageName];
1420
- for (const alias of Object.keys(aliases)) {
1421
- if (aliases[alias] === languageName) {
1422
- delete aliases[alias];
1423
- }
1424
- }
1425
- }
1426
- function listLanguages() {
1427
- return Object.keys(languages);
1428
- }
1429
- function getLanguage(name) {
1430
- name = (name || "").toLowerCase();
1431
- return languages[name] || languages[aliases[name]];
1432
- }
1433
- function registerAliases(aliasList, { languageName }) {
1434
- if (typeof aliasList === "string") {
1435
- aliasList = [aliasList];
1436
- }
1437
- aliasList.forEach((alias) => {
1438
- aliases[alias.toLowerCase()] = languageName;
1439
- });
1440
- }
1441
- function autoDetection(name) {
1442
- const lang = getLanguage(name);
1443
- return lang && !lang.disableAutodetect;
1444
- }
1445
- function upgradePluginAPI(plugin) {
1446
- if (plugin["before:highlightBlock"] && !plugin["before:highlightElement"]) {
1447
- plugin["before:highlightElement"] = (data) => {
1448
- plugin["before:highlightBlock"](
1449
- Object.assign({ block: data.el }, data)
1450
- );
1451
- };
1452
- }
1453
- if (plugin["after:highlightBlock"] && !plugin["after:highlightElement"]) {
1454
- plugin["after:highlightElement"] = (data) => {
1455
- plugin["after:highlightBlock"](
1456
- Object.assign({ block: data.el }, data)
1457
- );
1458
- };
1459
- }
1460
- }
1461
- function addPlugin(plugin) {
1462
- upgradePluginAPI(plugin);
1463
- plugins.push(plugin);
1464
- }
1465
- function fire(event, args) {
1466
- const cb = event;
1467
- plugins.forEach(function(plugin) {
1468
- if (plugin[cb]) {
1469
- plugin[cb](args);
1470
- }
1471
- });
1472
- }
1473
- function deprecateHighlightBlock(el) {
1474
- deprecated("10.7.0", "highlightBlock will be removed entirely in v12.0");
1475
- deprecated("10.7.0", "Please use highlightElement now.");
1476
- return highlightElement(el);
1477
- }
1478
- Object.assign(hljs2, {
1479
- highlight: highlight2,
1480
- highlightAuto,
1481
- highlightAll,
1482
- highlightElement,
1483
- // TODO: Remove with v12 API
1484
- highlightBlock: deprecateHighlightBlock,
1485
- configure,
1486
- initHighlighting,
1487
- initHighlightingOnLoad,
1488
- registerLanguage,
1489
- unregisterLanguage,
1490
- listLanguages,
1491
- getLanguage,
1492
- registerAliases,
1493
- autoDetection,
1494
- inherit,
1495
- addPlugin
1496
- });
1497
- hljs2.debugMode = function() {
1498
- SAFE_MODE = false;
1499
- };
1500
- hljs2.safeMode = function() {
1501
- SAFE_MODE = true;
1502
- };
1503
- hljs2.versionString = version;
1504
- for (const key in MODES) {
1505
- if (typeof MODES[key] === "object") {
1506
- deepFreeze$1(MODES[key]);
1507
- }
1508
- }
1509
- Object.assign(hljs2, MODES);
1510
- return hljs2;
1511
- };
1512
- var highlight = HLJS({});
1513
- module.exports = highlight;
1514
- }
1515
- });
1516
-
1517
- // appdrawer/utils.js
1518
- function isFeatureEnabled(configFeature) {
1519
- if (!configFeature) return true;
1520
- const features = JSON.parse(sessionStorage.getItem("optionalFeatures") || "{}");
1521
- return !!features[configFeature];
1522
- }
1523
- function makeButton(arg) {
1524
- const button = arg.div.append("button").attr("type", "submit").style("background-color", arg.backgroundColor ? arg.backgroundColor : "#cfe2f3").style("margin", arg.margin ? arg.margin : "20px 20px 0px 20px").style("padding", "8px").style("border", "none").style("border-radius", "3px").style("display", "inline-block").text(arg.text);
1525
- return button;
1526
- }
1527
-
1528
- // dom/breadcrumbs.js
1529
- var BreadcrumbTrail = class {
1530
- constructor(opts) {
1531
- this.opts = opts;
1532
- this.dom = {
1533
- holder: opts.holder,
1534
- trailDiv: opts.trailDiv || opts.holder.append("div")
1535
- };
1536
- setRenderers(this);
1537
- }
1538
- async main(opts = {}) {
1539
- try {
1540
- return await this.render();
1541
- } catch (e) {
1542
- if (e.stack) console.log(e.stack);
1543
- else throw e;
1544
- }
1545
- }
1546
- };
1547
- function setRenderers(self) {
1548
- self.render = async () => {
1549
- self.crumbs = self.opts.crumbs;
1550
- for (const crumb of self.crumbs) {
1551
- crumb.label = crumb.label || crumb.name;
1552
- if (!crumb.inTrail) crumb.inTrail = false;
1553
- }
1554
- const has_active_crumb = self.crumbs.find((crumb) => crumb.inTrail);
1555
- if (!has_active_crumb) self.crumbs[0].inTrail = true;
1556
- await self.dom.trailDiv.style("margin-left", "5px").style("font-size", ".75em").style("display", "inline-block").classed("sjpp-breadcrumb-trail", true).selectAll("span").data(self.crumbs).enter().append("span").classed("sjpp-breadcrumb", true).html((crumb) => crumb.link ? `&nbsp> <a href="${crumb.link}">${crumb.label}</a>` : `&nbsp> ${crumb.label}`).style("display", (crumb) => crumb.inTrail ? "inline-block" : "none").each(async function(crumb) {
1557
- crumb.div = select_default(this);
1558
- });
1559
- const activeCrumbIndex = self.crumbs.findIndex((c) => c.inTrail);
1560
- self.update(activeCrumbIndex);
1561
- };
1562
- self.update = (crumbIndex = 0) => {
1563
- self.crumbs.forEach((crumb, i) => {
1564
- crumb.inTrail = crumbIndex === i;
1565
- });
1566
- self.dom.trailDiv.selectAll("span").data(self.crumbs).each(async (crumb) => {
1567
- crumb.div.style("display", crumb.inTrail ? "inline-block" : "none");
1568
- });
1569
- };
1570
- }
1571
-
1572
- // ../node_modules/highlight.js/es/core.js
1573
- var import_core = __toESM(require_core(), 1);
1574
- var core_default = import_core.default;
1575
-
1576
- // ../node_modules/highlight.js/es/languages/javascript.js
1577
- var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
1578
- var KEYWORDS = [
1579
- "as",
1580
- // for exports
1581
- "in",
1582
- "of",
1583
- "if",
1584
- "for",
1585
- "while",
1586
- "finally",
1587
- "var",
1588
- "new",
1589
- "function",
1590
- "do",
1591
- "return",
1592
- "void",
1593
- "else",
1594
- "break",
1595
- "catch",
1596
- "instanceof",
1597
- "with",
1598
- "throw",
1599
- "case",
1600
- "default",
1601
- "try",
1602
- "switch",
1603
- "continue",
1604
- "typeof",
1605
- "delete",
1606
- "let",
1607
- "yield",
1608
- "const",
1609
- "class",
1610
- // JS handles these with a special rule
1611
- // "get",
1612
- // "set",
1613
- "debugger",
1614
- "async",
1615
- "await",
1616
- "static",
1617
- "import",
1618
- "from",
1619
- "export",
1620
- "extends"
1621
- ];
1622
- var LITERALS = [
1623
- "true",
1624
- "false",
1625
- "null",
1626
- "undefined",
1627
- "NaN",
1628
- "Infinity"
1629
- ];
1630
- var TYPES = [
1631
- "Intl",
1632
- "DataView",
1633
- "Number",
1634
- "Math",
1635
- "Date",
1636
- "String",
1637
- "RegExp",
1638
- "Object",
1639
- "Function",
1640
- "Boolean",
1641
- "Error",
1642
- "Symbol",
1643
- "Set",
1644
- "Map",
1645
- "WeakSet",
1646
- "WeakMap",
1647
- "Proxy",
1648
- "Reflect",
1649
- "JSON",
1650
- "Promise",
1651
- "Float64Array",
1652
- "Int16Array",
1653
- "Int32Array",
1654
- "Int8Array",
1655
- "Uint16Array",
1656
- "Uint32Array",
1657
- "Float32Array",
1658
- "Array",
1659
- "Uint8Array",
1660
- "Uint8ClampedArray",
1661
- "ArrayBuffer",
1662
- "BigInt64Array",
1663
- "BigUint64Array",
1664
- "BigInt"
1665
- ];
1666
- var ERROR_TYPES = [
1667
- "EvalError",
1668
- "InternalError",
1669
- "RangeError",
1670
- "ReferenceError",
1671
- "SyntaxError",
1672
- "TypeError",
1673
- "URIError"
1674
- ];
1675
- var BUILT_IN_GLOBALS = [
1676
- "setInterval",
1677
- "setTimeout",
1678
- "clearInterval",
1679
- "clearTimeout",
1680
- "require",
1681
- "exports",
1682
- "eval",
1683
- "isFinite",
1684
- "isNaN",
1685
- "parseFloat",
1686
- "parseInt",
1687
- "decodeURI",
1688
- "decodeURIComponent",
1689
- "encodeURI",
1690
- "encodeURIComponent",
1691
- "escape",
1692
- "unescape"
1693
- ];
1694
- var BUILT_IN_VARIABLES = [
1695
- "arguments",
1696
- "this",
1697
- "super",
1698
- "console",
1699
- "window",
1700
- "document",
1701
- "localStorage",
1702
- "module",
1703
- "global"
1704
- // Node.js
1705
- ];
1706
- var BUILT_INS = [].concat(
1707
- BUILT_IN_GLOBALS,
1708
- TYPES,
1709
- ERROR_TYPES
1710
- );
1711
- function source(re) {
1712
- if (!re) return null;
1713
- if (typeof re === "string") return re;
1714
- return re.source;
1715
- }
1716
- function lookahead(re) {
1717
- return concat("(?=", re, ")");
1718
- }
1719
- function concat(...args) {
1720
- const joined = args.map((x) => source(x)).join("");
1721
- return joined;
1722
- }
1723
- function javascript(hljs2) {
1724
- const hasClosingTag = (match, { after }) => {
1725
- const tag = "</" + match[0].slice(1);
1726
- const pos = match.input.indexOf(tag, after);
1727
- return pos !== -1;
1728
- };
1729
- const IDENT_RE$1 = IDENT_RE;
1730
- const FRAGMENT = {
1731
- begin: "<>",
1732
- end: "</>"
1733
- };
1734
- const XML_TAG = {
1735
- begin: /<[A-Za-z0-9\\._:-]+/,
1736
- end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
1737
- /**
1738
- * @param {RegExpMatchArray} match
1739
- * @param {CallbackResponse} response
1740
- */
1741
- isTrulyOpeningTag: (match, response) => {
1742
- const afterMatchIndex = match[0].length + match.index;
1743
- const nextChar = match.input[afterMatchIndex];
1744
- if (nextChar === "<") {
1745
- response.ignoreMatch();
1746
- return;
1747
- }
1748
- if (nextChar === ">") {
1749
- if (!hasClosingTag(match, { after: afterMatchIndex })) {
1750
- response.ignoreMatch();
1751
- }
1752
- }
1753
- }
1754
- };
1755
- const KEYWORDS$1 = {
1756
- $pattern: IDENT_RE,
1757
- keyword: KEYWORDS,
1758
- literal: LITERALS,
1759
- built_in: BUILT_INS,
1760
- "variable.language": BUILT_IN_VARIABLES
1761
- };
1762
- const decimalDigits = "[0-9](_?[0-9])*";
1763
- const frac = `\\.(${decimalDigits})`;
1764
- const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
1765
- const NUMBER = {
1766
- className: "number",
1767
- variants: [
1768
- // DecimalLiteral
1769
- { begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
1770
- { begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
1771
- // DecimalBigIntegerLiteral
1772
- { begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
1773
- // NonDecimalIntegerLiteral
1774
- { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
1775
- { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
1776
- { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
1777
- // LegacyOctalIntegerLiteral (does not include underscore separators)
1778
- // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
1779
- { begin: "\\b0[0-7]+n?\\b" }
1780
- ],
1781
- relevance: 0
1782
- };
1783
- const SUBST = {
1784
- className: "subst",
1785
- begin: "\\$\\{",
1786
- end: "\\}",
1787
- keywords: KEYWORDS$1,
1788
- contains: []
1789
- // defined later
1790
- };
1791
- const HTML_TEMPLATE = {
1792
- begin: "html`",
1793
- end: "",
1794
- starts: {
1795
- end: "`",
1796
- returnEnd: false,
1797
- contains: [
1798
- hljs2.BACKSLASH_ESCAPE,
1799
- SUBST
1800
- ],
1801
- subLanguage: "xml"
1802
- }
1803
- };
1804
- const CSS_TEMPLATE = {
1805
- begin: "css`",
1806
- end: "",
1807
- starts: {
1808
- end: "`",
1809
- returnEnd: false,
1810
- contains: [
1811
- hljs2.BACKSLASH_ESCAPE,
1812
- SUBST
1813
- ],
1814
- subLanguage: "css"
1815
- }
1816
- };
1817
- const TEMPLATE_STRING = {
1818
- className: "string",
1819
- begin: "`",
1820
- end: "`",
1821
- contains: [
1822
- hljs2.BACKSLASH_ESCAPE,
1823
- SUBST
1824
- ]
1825
- };
1826
- const JSDOC_COMMENT = hljs2.COMMENT(
1827
- /\/\*\*(?!\/)/,
1828
- "\\*/",
1829
- {
1830
- relevance: 0,
1831
- contains: [
1832
- {
1833
- begin: "(?=@[A-Za-z]+)",
1834
- relevance: 0,
1835
- contains: [
1836
- {
1837
- className: "doctag",
1838
- begin: "@[A-Za-z]+"
1839
- },
1840
- {
1841
- className: "type",
1842
- begin: "\\{",
1843
- end: "\\}",
1844
- excludeEnd: true,
1845
- excludeBegin: true,
1846
- relevance: 0
1847
- },
1848
- {
1849
- className: "variable",
1850
- begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
1851
- endsParent: true,
1852
- relevance: 0
1853
- },
1854
- // eat spaces (not newlines) so we can find
1855
- // types or variables
1856
- {
1857
- begin: /(?=[^\n])\s/,
1858
- relevance: 0
1859
- }
1860
- ]
1861
- }
1862
- ]
1863
- }
1864
- );
1865
- const COMMENT = {
1866
- className: "comment",
1867
- variants: [
1868
- JSDOC_COMMENT,
1869
- hljs2.C_BLOCK_COMMENT_MODE,
1870
- hljs2.C_LINE_COMMENT_MODE
1871
- ]
1872
- };
1873
- const SUBST_INTERNALS = [
1874
- hljs2.APOS_STRING_MODE,
1875
- hljs2.QUOTE_STRING_MODE,
1876
- HTML_TEMPLATE,
1877
- CSS_TEMPLATE,
1878
- TEMPLATE_STRING,
1879
- NUMBER,
1880
- hljs2.REGEXP_MODE
1881
- ];
1882
- SUBST.contains = SUBST_INTERNALS.concat({
1883
- // we need to pair up {} inside our subst to prevent
1884
- // it from ending too early by matching another }
1885
- begin: /\{/,
1886
- end: /\}/,
1887
- keywords: KEYWORDS$1,
1888
- contains: [
1889
- "self"
1890
- ].concat(SUBST_INTERNALS)
1891
- });
1892
- const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
1893
- const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
1894
- // eat recursive parens in sub expressions
1895
- {
1896
- begin: /\(/,
1897
- end: /\)/,
1898
- keywords: KEYWORDS$1,
1899
- contains: ["self"].concat(SUBST_AND_COMMENTS)
1900
- }
1901
- ]);
1902
- const PARAMS = {
1903
- className: "params",
1904
- begin: /\(/,
1905
- end: /\)/,
1906
- excludeBegin: true,
1907
- excludeEnd: true,
1908
- keywords: KEYWORDS$1,
1909
- contains: PARAMS_CONTAINS
1910
- };
1911
- const CLASS_OR_EXTENDS = {
1912
- variants: [
1913
- {
1914
- match: [
1915
- /class/,
1916
- /\s+/,
1917
- IDENT_RE$1
1918
- ],
1919
- scope: {
1920
- 1: "keyword",
1921
- 3: "title.class"
1922
- }
1923
- },
1924
- {
1925
- match: [
1926
- /extends/,
1927
- /\s+/,
1928
- concat(IDENT_RE$1, "(", concat(/\./, IDENT_RE$1), ")*")
1929
- ],
1930
- scope: {
1931
- 1: "keyword",
1932
- 3: "title.class.inherited"
1933
- }
1934
- }
1935
- ]
1936
- };
1937
- const CLASS_REFERENCE = {
1938
- relevance: 0,
1939
- match: /\b[A-Z][a-z]+([A-Z][a-z]+)*/,
1940
- className: "title.class",
1941
- keywords: {
1942
- _: [
1943
- // se we still get relevance credit for JS library classes
1944
- ...TYPES,
1945
- ...ERROR_TYPES
1946
- ]
1947
- }
1948
- };
1949
- const USE_STRICT = {
1950
- label: "use_strict",
1951
- className: "meta",
1952
- relevance: 10,
1953
- begin: /^\s*['"]use (strict|asm)['"]/
1954
- };
1955
- const FUNCTION_DEFINITION = {
1956
- variants: [
1957
- {
1958
- match: [
1959
- /function/,
1960
- /\s+/,
1961
- IDENT_RE$1,
1962
- /(?=\s*\()/
1963
- ]
1964
- },
1965
- // anonymous function
1966
- {
1967
- match: [
1968
- /function/,
1969
- /\s*(?=\()/
1970
- ]
1971
- }
1972
- ],
1973
- className: {
1974
- 1: "keyword",
1975
- 3: "title.function"
1976
- },
1977
- label: "func.def",
1978
- contains: [PARAMS],
1979
- illegal: /%/
1980
- };
1981
- const UPPER_CASE_CONSTANT = {
1982
- relevance: 0,
1983
- match: /\b[A-Z][A-Z_0-9]+\b/,
1984
- className: "variable.constant"
1985
- };
1986
- function noneOf(list) {
1987
- return concat("(?!", list.join("|"), ")");
1988
- }
1989
- const FUNCTION_CALL = {
1990
- match: concat(
1991
- /\b/,
1992
- noneOf([
1993
- ...BUILT_IN_GLOBALS,
1994
- "super"
1995
- ]),
1996
- IDENT_RE$1,
1997
- lookahead(/\(/)
1998
- ),
1999
- className: "title.function",
2000
- relevance: 0
2001
- };
2002
- const PROPERTY_ACCESS = {
2003
- begin: concat(/\./, lookahead(
2004
- concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
2005
- )),
2006
- end: IDENT_RE$1,
2007
- excludeBegin: true,
2008
- keywords: "prototype",
2009
- className: "property",
2010
- relevance: 0
2011
- };
2012
- const GETTER_OR_SETTER = {
2013
- match: [
2014
- /get|set/,
2015
- /\s+/,
2016
- IDENT_RE$1,
2017
- /(?=\()/
2018
- ],
2019
- className: {
2020
- 1: "keyword",
2021
- 3: "title.function"
2022
- },
2023
- contains: [
2024
- {
2025
- // eat to avoid empty params
2026
- begin: /\(\)/
2027
- },
2028
- PARAMS
2029
- ]
2030
- };
2031
- const FUNC_LEAD_IN_RE = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs2.UNDERSCORE_IDENT_RE + ")\\s*=>";
2032
- const FUNCTION_VARIABLE = {
2033
- match: [
2034
- /const|var|let/,
2035
- /\s+/,
2036
- IDENT_RE$1,
2037
- /\s*/,
2038
- /=\s*/,
2039
- lookahead(FUNC_LEAD_IN_RE)
2040
- ],
2041
- className: {
2042
- 1: "keyword",
2043
- 3: "title.function"
2044
- },
2045
- contains: [
2046
- PARAMS
2047
- ]
2048
- };
2049
- return {
2050
- name: "Javascript",
2051
- aliases: ["js", "jsx", "mjs", "cjs"],
2052
- keywords: KEYWORDS$1,
2053
- // this will be extended by TypeScript
2054
- exports: { PARAMS_CONTAINS },
2055
- illegal: /#(?![$_A-z])/,
2056
- contains: [
2057
- hljs2.SHEBANG({
2058
- label: "shebang",
2059
- binary: "node",
2060
- relevance: 5
2061
- }),
2062
- USE_STRICT,
2063
- hljs2.APOS_STRING_MODE,
2064
- hljs2.QUOTE_STRING_MODE,
2065
- HTML_TEMPLATE,
2066
- CSS_TEMPLATE,
2067
- TEMPLATE_STRING,
2068
- COMMENT,
2069
- NUMBER,
2070
- CLASS_REFERENCE,
2071
- {
2072
- className: "attr",
2073
- begin: IDENT_RE$1 + lookahead(":"),
2074
- relevance: 0
2075
- },
2076
- FUNCTION_VARIABLE,
2077
- {
2078
- // "value" container
2079
- begin: "(" + hljs2.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
2080
- keywords: "return throw case",
2081
- relevance: 0,
2082
- contains: [
2083
- COMMENT,
2084
- hljs2.REGEXP_MODE,
2085
- {
2086
- className: "function",
2087
- // we have to count the parens to make sure we actually have the
2088
- // correct bounding ( ) before the =>. There could be any number of
2089
- // sub-expressions inside also surrounded by parens.
2090
- begin: FUNC_LEAD_IN_RE,
2091
- returnBegin: true,
2092
- end: "\\s*=>",
2093
- contains: [
2094
- {
2095
- className: "params",
2096
- variants: [
2097
- {
2098
- begin: hljs2.UNDERSCORE_IDENT_RE,
2099
- relevance: 0
2100
- },
2101
- {
2102
- className: null,
2103
- begin: /\(\s*\)/,
2104
- skip: true
2105
- },
2106
- {
2107
- begin: /\(/,
2108
- end: /\)/,
2109
- excludeBegin: true,
2110
- excludeEnd: true,
2111
- keywords: KEYWORDS$1,
2112
- contains: PARAMS_CONTAINS
2113
- }
2114
- ]
2115
- }
2116
- ]
2117
- },
2118
- {
2119
- // could be a comma delimited list of params to a function call
2120
- begin: /,/,
2121
- relevance: 0
2122
- },
2123
- {
2124
- match: /\s+/,
2125
- relevance: 0
2126
- },
2127
- {
2128
- // JSX
2129
- variants: [
2130
- { begin: FRAGMENT.begin, end: FRAGMENT.end },
2131
- {
2132
- begin: XML_TAG.begin,
2133
- // we carefully check the opening tag to see if it truly
2134
- // is a tag and not a false positive
2135
- "on:begin": XML_TAG.isTrulyOpeningTag,
2136
- end: XML_TAG.end
2137
- }
2138
- ],
2139
- subLanguage: "xml",
2140
- contains: [
2141
- {
2142
- begin: XML_TAG.begin,
2143
- end: XML_TAG.end,
2144
- skip: true,
2145
- contains: ["self"]
2146
- }
2147
- ]
2148
- }
2149
- ]
2150
- },
2151
- FUNCTION_DEFINITION,
2152
- {
2153
- // prevent this from getting swallowed up by function
2154
- // since they appear "function like"
2155
- beginKeywords: "while if switch catch for"
2156
- },
2157
- {
2158
- // we have to count the parens to make sure we actually have the correct
2159
- // bounding ( ). There could be any number of sub-expressions inside
2160
- // also surrounded by parens.
2161
- begin: "\\b(?!function)" + hljs2.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
2162
- // end parens
2163
- returnBegin: true,
2164
- label: "func.def",
2165
- contains: [
2166
- PARAMS,
2167
- hljs2.inherit(hljs2.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
2168
- ]
2169
- },
2170
- // catch ... so it won't trigger the property rule below
2171
- {
2172
- match: /\.\.\./,
2173
- relevance: 0
2174
- },
2175
- PROPERTY_ACCESS,
2176
- // hack: prevents detection of keywords in some circumstances
2177
- // .keyword()
2178
- // $keyword = x
2179
- {
2180
- match: "\\$" + IDENT_RE$1,
2181
- relevance: 0
2182
- },
2183
- {
2184
- match: [/\bconstructor(?=\s*\()/],
2185
- className: { 1: "title.function" },
2186
- contains: [PARAMS]
2187
- },
2188
- FUNCTION_CALL,
2189
- UPPER_CASE_CONSTANT,
2190
- CLASS_OR_EXTENDS,
2191
- GETTER_OR_SETTER,
2192
- {
2193
- match: /\$[(.]/
2194
- // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
2195
- }
2196
- ]
2197
- };
2198
- }
2199
- var javascript_default = javascript;
2200
-
2201
- // ../node_modules/highlight.js/es/languages/json.js
2202
- function json(hljs2) {
2203
- const ATTRIBUTE = {
2204
- className: "attr",
2205
- begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
2206
- relevance: 1.01
2207
- };
2208
- const PUNCTUATION = {
2209
- match: /[{}[\],:]/,
2210
- className: "punctuation",
2211
- relevance: 0
2212
- };
2213
- const LITERALS2 = {
2214
- beginKeywords: [
2215
- "true",
2216
- "false",
2217
- "null"
2218
- ].join(" ")
2219
- };
2220
- return {
2221
- name: "JSON",
2222
- contains: [
2223
- ATTRIBUTE,
2224
- PUNCTUATION,
2225
- hljs2.QUOTE_STRING_MODE,
2226
- LITERALS2,
2227
- hljs2.C_NUMBER_MODE,
2228
- hljs2.C_LINE_COMMENT_MODE,
2229
- hljs2.C_BLOCK_COMMENT_MODE
2230
- ],
2231
- illegal: "\\S"
2232
- };
2233
- }
2234
- var json_default = json;
2235
-
2236
- // appdrawer/adSandbox.js
2237
- core_default.registerLanguage("javascript", javascript_default);
2238
- core_default.registerLanguage("json", json_default);
2239
- async function openSandbox(element, pageArgs) {
2240
- const sandboxDiv = newSandboxDiv(pageArgs.sandboxDiv);
2241
- sandboxDiv.header_row;
2242
- sandboxDiv.header.append("span").html(
2243
- element.type != "nestedCard" ? `<a href="${sessionStorage.getItem("hostURL")}/?appcard=${element.sandboxJson || element.sandboxHtml}">${element.name}</a>` : element.name
2244
- );
2245
- sandboxDiv.body.style("overflow", "hidden").style("background-color", "white");
2246
- if (element.type == "nestedCard") return openNestedCardSandbox(element, sandboxDiv, pageArgs);
2247
- const res = element.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxHtml}.txt`);
2248
- if (res.error) {
2249
- sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2250
- return;
2251
- }
2252
- if (element.type == "card") return openCardSandbox(element, res, sandboxDiv, pageArgs);
2253
- if (element.type == "dsButton") return openDatasetButtonSandbox(element, pageArgs, res, sandboxDiv);
2254
- }
2255
- async function openNestedCardSandbox(nestedCard, sandboxDiv, pageArgs) {
2256
- sandboxDiv.body.style("justify-content", "center").style("background-color", "#f2ebdc");
2257
- const ucList = sandboxDiv.body.append("ul").style("list-style", "none").style("display", "grid").style("grid-template-columns", "40vw 40vw").style("grid-template-rows", "repeat(1, auto)").style("gap", "5px");
2258
- const filteredChildren = nestedCard.children.filter((e) => !e.hidden);
2259
- sandboxDiv.header.trail = new BreadcrumbTrail({
2260
- holder: sandboxDiv.header,
2261
- crumbs: filteredChildren
2262
- });
2263
- filteredChildren.forEach((child) => {
2264
- const uc = ucList.append("li");
2265
- uc.attr("class", "sjpp-app-drawer-card").style("padding", "10px").style("margin", "5px").html(
2266
- `<p style="margin-left: 12px; font-size:14.5px;font-weight:500; display: block;">${child.name}</p>
2267
- <p style="display: block; font-size: 13px; font-weight: 300; margin-left: 20px; justify-content: center; font-style:oblique; color: #403f3f;">${child.description}</p>`
2268
- ).on("click", async (event) => {
2269
- event.stopPropagation();
2270
- ucList.selectAll("*").remove();
2271
- const res = child.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxHtml}.txt`);
2272
- if (res.error) {
2273
- sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2274
- return;
2275
- }
2276
- if (child.type == "card") {
2277
- sandboxDiv.header.trail.main();
2278
- openCardSandbox(child, res, sandboxDiv, pageArgs);
2279
- const crumbIndex = filteredChildren.findIndex((c) => c == child);
2280
- sandboxDiv.header.trail.update(crumbIndex);
2281
- }
2282
- if (child.type == "dsButton") return openDatasetButtonSandbox(child, pageArgs.app.opts, res, sandboxDiv);
2283
- });
2284
- return JSON.stringify(uc);
2285
- });
2286
- }
2287
- async function openCardSandbox(card, res, sandboxDiv, pageArgs) {
2288
- if (card.sandboxHtml) {
2289
- const renderHtml = await res.text();
2290
- return sandboxDiv.body.append("div").style("padding", "0vw 0vw 2vw 0vw").append("div").style("background-color", "white").style("margin", "0vw 10vw").style("padding", "10px").append("div").style("margin", "0vw 5vw").html(renderHtml);
2291
- }
2292
- sandboxDiv.body.style("background-color", "white");
2293
- const sandboxArgs = {
2294
- intro: res.intro,
2295
- ppcalls: res.ppcalls.filter((e) => !e.hidden),
2296
- buttons: res.buttons,
2297
- arrowButtons: res.arrowButtons,
2298
- ribbonMessage: res.ribbonMessage,
2299
- citation: res.citation_id
2300
- };
2301
- addHtmlText(sandboxArgs.intro, sandboxDiv.body);
2302
- if (card.ribbon) addHtmlText(sandboxArgs.ribbonMessage, sandboxDiv.body, card.ribbon);
2303
- const mainButtonsDiv = sandboxDiv.body.append("div");
2304
- const mainButtonsContentDiv = sandboxDiv.body.append("div");
2305
- addButtons(sandboxArgs.buttons, mainButtonsDiv);
2306
- addArrowBtns(sandboxArgs, "main", mainButtonsDiv, mainButtonsContentDiv, pageArgs);
2307
- if (card.disableTopTabs) renderContent(sandboxArgs.ppcalls[0], sandboxDiv.body, card, pageArgs);
2308
- else {
2309
- const topTabsDiv = sandboxDiv.body.append("div").style("display", "flex").style("align-content", "end").style("justify-content", "center").style("border", "none").style("border-bottom", "1px solid lightgray").style("width", "100%").style("font-size", "20px");
2310
- const tabsContentDiv = sandboxDiv.body.append("div");
2311
- makeParentTabsMenu(sandboxArgs.ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs);
2312
- }
2313
- }
2314
- function renderContent(ppcalls, div, card, pageArgs) {
2315
- addHtmlText(ppcalls.message, div);
2316
- const buttonsDiv = div.append("div").style("margin-bottom", "20px");
2317
- const buttonsContentDiv = div.append("div");
2318
- addButtons(ppcalls.buttons, buttonsDiv);
2319
- makeDataDownload(ppcalls.download, buttonsDiv, card.section);
2320
- const enabled = isFeatureEnabled(ppcalls.configFeature);
2321
- if (enabled) showURLLaunch(ppcalls.urlparam, buttonsDiv, card.section);
2322
- addArrowBtns(ppcalls, "call", buttonsDiv, buttonsContentDiv, pageArgs);
2323
- if (!card.disableTopTabs) {
2324
- div.append("hr").style("border", "0").style("border-top", "1px dashed #e3e3e6").style("width", "100%");
2325
- }
2326
- if (!enabled) {
2327
- div.append("p").style("margin", "20px").style("color", "#858585").text(getDisabledMessage(ppcalls.configFeature));
2328
- return;
2329
- }
2330
- const runpp_arg = {
2331
- holder: div.append("div").style("margin", "20px").node(),
2332
- /* Do not use window.location.origin
2333
- Will break the embedder (/genomes will be requested from https:/embedder.site.org/genomes,
2334
- for example). It's very rare for an embedder to want to show this default "portal" header
2335
- because external portals usually have their own headers, but it will affect simple html
2336
- pages that embed a runpp() call where the app header is not hidden. */
2337
- host: ppcalls.runargs.host || sessionStorage.getItem("hostURL")
2338
- };
2339
- const callpp = JSON.parse(JSON.stringify(ppcalls.runargs));
2340
- runproteinpaint(Object.assign(runpp_arg, callpp));
2341
- }
2342
- function makeTopTabs(ppcalls, card, sandboxDiv, pageArgs) {
2343
- const tabs = [];
2344
- const ui = ppcalls.findIndex((t) => t.isUi == true);
2345
- const notui = ppcalls.findIndex((t) => t.isUi == void 0);
2346
- const uiPresent = ui != -1 ? true : false;
2347
- if (uiPresent == true) {
2348
- tabs.push({
2349
- label: "Add Your Data",
2350
- active: false,
2351
- callback: async (event, tab) => {
2352
- try {
2353
- const runpp_arg = {
2354
- holder: tab.contentHolder.append("div").style("margin", "20px").node(),
2355
- sandbox_header: tab.contentHolder,
2356
- host: sessionStorage.getItem("hostURL")
2357
- };
2358
- const callpp = JSON.parse(JSON.stringify(ppcalls[ui].runargs));
2359
- runproteinpaint(Object.assign(runpp_arg, callpp));
2360
- delete tab.callback;
2361
- } catch (e) {
2362
- if (e.stack) console.error(e.stack);
2363
- else throw e;
2364
- }
2365
- }
2366
- });
2367
- }
2368
- if (ppcalls.length == 1 && uiPresent != true || ppcalls.length == 2 && uiPresent == true) {
2369
- tabs.push({
2370
- label: "Example",
2371
- active: false,
2372
- callback: async (event, tab) => {
2373
- try {
2374
- renderContent(ppcalls[notui], tab.contentHolder, card, pageArgs);
2375
- delete tab.callback;
2376
- } catch (e) {
2377
- if (e.stack) console.error(e.stack);
2378
- else throw e;
2379
- }
2380
- }
2381
- });
2382
- }
2383
- if (ppcalls.length > 1 && uiPresent == false || ppcalls.length > 2 && uiPresent == true) {
2384
- tabs.push({
2385
- label: "Examples",
2386
- active: pageArgs?.example ? true : false,
2387
- callback: async (event, tab) => {
2388
- try {
2389
- const examplesOnly = ppcalls.filter((p) => p.isUi != true);
2390
- makeLeftsideTabMenu(card, tab.contentHolder, examplesOnly, sandboxDiv, pageArgs);
2391
- delete tab.callback;
2392
- } catch (e) {
2393
- if (e.stack) console.error(e.stack);
2394
- else throw e;
2395
- }
2396
- }
2397
- });
2398
- }
2399
- return tabs;
2400
- }
2401
- function makeParentTabsMenu(ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs) {
2402
- const tabs = makeTopTabs(ppcalls, card, sandboxDiv, pageArgs);
2403
- new Tabs({ holder: topTabsDiv, contentHolder: tabsContentDiv, tabs }).main();
2404
- }
2405
- async function makeLeftsideTabMenu(card, contentHolder, examplesOnly, sandboxDiv, pageArgs) {
2406
- const tabs = examplesOnly.map((p, index) => getTabData(p, index, card.section));
2407
- sandboxDiv.header.trail = await new BreadcrumbTrail({
2408
- holder: sandboxDiv.header,
2409
- crumbs: tabs
2410
- });
2411
- function getTabData(ppcalls, i, section) {
2412
- const active = pageArgs?.example ? pageArgs.example.toUpperCase() == ppcalls.label.toUpperCase() : i === 0;
2413
- return {
2414
- active,
2415
- inTrail: active,
2416
- link: `${sessionStorage.getItem("hostURL")}/?appcard=${card.sandboxJson || card.sandboxHtml}&example=${ppcalls.label}`,
2417
- label: ppcalls.label + (isFeatureEnabled(ppcalls.configFeature) ? "" : " (disabled)"),
2418
- callback: async (event, tab) => {
2419
- const wait = tab_wait(tab.contentHolder);
2420
- try {
2421
- if (!tab.rendered) {
2422
- appear(tab.contentHolder);
2423
- renderContent(ppcalls, tab.contentHolder, section, pageArgs);
2424
- wait.remove();
2425
- }
2426
- tab.rendered = true;
2427
- const crumbIndex = tabs.findIndex((t) => t == tab);
2428
- sandboxDiv.header.trail.update(crumbIndex);
2429
- wait.remove();
2430
- } catch (e) {
2431
- wait.text("Error: " + (e.message || e));
2432
- }
2433
- }
2434
- };
2435
- }
2436
- sandboxDiv.header.trail.main();
2437
- const wrapper = contentHolder.append("div").style("display", "grid").style("grid-template-columns", "minmax(min-content, 10vw) minmax(60vw, 1fr)").classed("sjpp-vertical-tab-menu", true).style("word-break", "break-word");
2438
- const tabsDiv = wrapper.append("div").classed("sjpp-tabs-div", true).style("border-right", "1px solid lightgray");
2439
- const tabsContentDiv = wrapper.append("div").classed("sjpp-content-div", true);
2440
- new Tabs({
2441
- holder: tabsDiv,
2442
- contentHolder: tabsContentDiv,
2443
- tabs,
2444
- linePosition: "right",
2445
- tabsPosition: "vertical",
2446
- gap: "10px"
2447
- }).main();
2448
- }
2449
- function getDisabledMessage(configFeature) {
2450
- if (configFeature == "ALLOW_remotefilefromurl") return "Remote file not supported on this server.";
2451
- return "This example is not enabled on this server.";
2452
- }
2453
- function addHtmlText(text, div, ribbon) {
2454
- if (ribbon && ribbon.expireDate) {
2455
- const today = /* @__PURE__ */ new Date();
2456
- const expire = new Date(ribbon.expireDate);
2457
- if (expire > today && text != void 0 && text) {
2458
- let boldedText2 = function() {
2459
- const str = ribbon.text.toLowerCase();
2460
- return str[0].toUpperCase() + str.slice(1);
2461
- };
2462
- var boldedText = boldedText2;
2463
- div.append("div").style("margin", "20px").html(`<p style="display:inline-block;font-weight:bold">${boldedText2()}: &nbsp</p>${text}`);
2464
- }
2465
- } else if (text != void 0 && text) {
2466
- div.append("div").style("margin", "20px").html(text);
2467
- }
2468
- }
2469
- function addButtons(buttons, div) {
2470
- if (buttons) {
2471
- buttons.forEach((button) => {
2472
- const sandboxButton = makeButton({ div, text: button.name });
2473
- sandboxButton.on("click", (event) => {
2474
- event.stopPropagation();
2475
- if (button.download) window.open(`${button.download}`, "_self", "download");
2476
- else window.open(`${button.link}`, `${button.name}`);
2477
- });
2478
- });
2479
- }
2480
- }
2481
- function makeArrowButtons(arrows, btns) {
2482
- if (arrows) {
2483
- arrows.forEach((arrow) => {
2484
- const contents = `<div style="margin:10px;" class="sjpp-arrow-content">
2485
- ${arrow.message ? `<div style="margin: 1vw;">${arrow.message}</div>` : ""}
2486
- ${arrow.links ? arrow.links.map((hyperlink) => {
2487
- if (!hyperlink) return "";
2488
- if (hyperlink.download) {
2489
- return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.download}", target="_self" download>${hyperlink.name}</a>`;
2490
- }
2491
- if (hyperlink.link) {
2492
- return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.link}", target="_blank">${hyperlink.name}</a>`;
2493
- }
2494
- }).join("") : ""}</div>`;
2495
- btns.push({
2496
- name: arrow.name,
2497
- callback: async (rdiv) => {
2498
- try {
2499
- rdiv.append("div").html(contents);
2500
- } catch (e) {
2501
- alert("Error: " + e);
2502
- }
2503
- }
2504
- });
2505
- });
2506
- }
2507
- }
2508
- async function addArrowBtns(args, type, bdiv, rdiv, pageArgs) {
2509
- let btns = [];
2510
- if (type == "call") showCode(args, btns);
2511
- const genome = args?.runargs?.genome;
2512
- if (args.datapreview && genome) showViewData(btns, args.datapreview, genome);
2513
- if (args.citation || args.data_source) {
2514
- const res = await dofetch3(`/${pageArgs.app.cardsPath}/citations.json`);
2515
- if (res.error) {
2516
- console.error(`Error: ${res.error}`);
2517
- return;
2518
- }
2519
- for (const pub of res.publications) {
2520
- if (args.citation == pub.id || args.data_source == pub.id) {
2521
- const label = args.data_source ? "Data Source" : "Citation";
2522
- showCitation(btns, pub, label);
2523
- }
2524
- }
2525
- }
2526
- makeArrowButtons(args.arrowButtons, btns);
2527
- const active_btn = btns.findIndex((b) => b.active) == -1 ? false : true;
2528
- for (let i = 0; i < btns.length; i++) {
2529
- const btn = btns[i];
2530
- btn.btn = makeButton({ div: bdiv, text: btn.name + " \u25BC" });
2531
- btn.c = rdiv.append("div").style("margin", "20px 0px 10px 20px").style("display", active_btn && i == 0 || btn.active ? "block" : "none");
2532
- if (active_btn && i == 0 && btn.callback || btn.active) {
2533
- btn.callback(btn.c);
2534
- delete btn.callback;
2535
- }
2536
- btn.btn.on("click", () => {
2537
- if (btn.c.style("display") != "none") {
2538
- btn.btn.text(btn.name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2539
- btn.c.style("display", "none");
2540
- } else {
2541
- btn.btn.text(btn.name + " \u25B2").style("color", "whitesmoke").style("background-color", "#487ba8");
2542
- appear(btn.c);
2543
- for (let j = 0; j < btns.length; j++) {
2544
- if (i != j) {
2545
- btns[j].btn.text(btns[j].name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2546
- btns[j].c.style("display", "none");
2547
- }
2548
- }
2549
- }
2550
- if (btn.callback) {
2551
- btn.callback(btn.c);
2552
- delete btn.callback;
2553
- }
2554
- });
2555
- }
2556
- }
2557
- function showURLLaunch(urlparam, div, section) {
2558
- if (!urlparam) return;
2559
- const URLbtn = makeButton({ div, text: section == "apps" ? "Run app from URL" : "Run track from URL" });
2560
- URLbtn.on("click", (event) => {
2561
- const hostURL = getHostURL();
2562
- event.stopPropagation();
2563
- window.open(`${hostURL}${urlparam}`, "_blank");
2564
- });
2565
- }
2566
- function makeDataDownload(download, div, section) {
2567
- if (!download) return;
2568
- const dataBtn = makeButton({
2569
- div,
2570
- text: section == "apps" ? "Download App File(s)" : "Download Track File(s)"
2571
- });
2572
- dataBtn.on("click", (event) => {
2573
- event.stopPropagation();
2574
- window.open(`${download}`, "_self", "download");
2575
- });
2576
- }
2577
- async function showCode(ppcalls, btns) {
2578
- if (ppcalls.isUi == true) return;
2579
- const runppCode = core_default.highlight(
2580
- `runproteinpaint({
2581
- host: "${sessionStorage.getItem("hostURL")}",
2582
- holder: document.getElementById('a'),
2583
- ` + // Fix for first argument not properly appearing underneath holder
2584
- JSON.stringify(ppcalls.runargs, "", 4).replaceAll(/"(.+)"\s*:/g, "$1:").replaceAll(/\\t/g, " ").replaceAll(/\\n/g, "\r ").slice(1, -1).trim() + `\r})`,
2585
- { language: "javascript" }
2586
- ).value;
2587
- const runppContents = `<pre style="border: 1px solid #d7d7d9; align-items: center; justify-content: center; margin: 0px 10px 5px 30px; overflow:auto; max-height:400px; ${ppcalls.jsonpath ? `min-height:400px;` : `min-height: auto;`}">
2588
- <code style="font-size:14px; display:block;">${runppCode}</code></pre>`;
2589
- btns.push({
2590
- name: "Code",
2591
- callback: async (rdiv) => {
2592
- try {
2593
- if (ppcalls.jsonpath) {
2594
- const includeJson = await showJsonCode(ppcalls);
2595
- const runppHeader = "<p style='margin:20px 5px 20px 25px;'>ProteinPaint JS code</p>";
2596
- const grid = rdiv.append("div").style("display", "grid").style("grid-template-columns", "repeat(auto-fit, minmax(100px, 1fr))").style("gap", "5px");
2597
- grid.append("div").style("display", "block").html(runppHeader + runppContents);
2598
- grid.append("div").style("display", "block").html(includeJson);
2599
- } else {
2600
- rdiv.append("div").html(runppContents);
2601
- }
2602
- } catch (e) {
2603
- alert("Error: " + e);
2604
- }
2605
- }
2606
- });
2607
- }
2608
- async function showJsonCode(ppcalls) {
2609
- const jsondata = await dofetch("textfile", { file: ppcalls.jsonpath });
2610
- const json_code = JSON.parse(jsondata.text);
2611
- const splitpath = ppcalls.jsonpath.split("/");
2612
- const filename = splitpath[splitpath.length - 1];
2613
- let lines = JSON.stringify(json_code, "", 4).split("\n");
2614
- let slicedjson;
2615
- if (lines.length > 120) {
2616
- lines = lines.slice(0, 100);
2617
- slicedjson = true;
2618
- }
2619
- const code = core_default.highlight(lines.join("\n"), { language: "json" }).value;
2620
- const json_contents = `<div>
2621
- <p style="margin: 20px 5px 20px 25px; display: inline-block;">JSON code </p>
2622
- <p style="display: inline-block; color: #696969; font-style:oblique;"> (contents of ${filename})</p>
2623
- </div>
2624
- <pre style="border: 1px solid #d7d7d9; align-items: center; justify-content: center; margin: 0px 10px 5px 10px; max-height:400px; min-height:400px; overflow:auto;">
2625
- <code class="sjpp-json-code" style="font-size:14px; display:block;">${slicedjson == true ? `${code} ...<br><p style='margin:20px 25px; justify-content:center;'>Showing first 100 lines. To see the entire JSON, download ${filename} from the button above.</p>` : `${code}`}
2626
- </code>
2627
- </pre>`;
2628
- return json_contents;
2629
- }
2630
- function showCitation(btns, pub, label) {
2631
- btns.push({
2632
- name: label,
2633
- callback: async (rdiv) => {
2634
- try {
2635
- rdiv.append("div").style("margin-left", "5w").html(
2636
- `<span style="display: inline-block;">${pub.title}. <em>${pub.journal}</em>, ${pub.year}.
2637
- ${pub.pmid ? ` PMID: <a href="${pub.pmidURL}" target="${pub.pmid}">${pub.pmid}</a>` : ` doi: <a href="${pub.doi}" target="${pub.doi}">${pub.doi}</a>`}</span>`
2638
- );
2639
- } catch (e) {
2640
- alert("Error: " + e);
2641
- }
2642
- }
2643
- });
2644
- }
2645
- function makeDataPreviewDiv(content, contLength, div, filename, message) {
2646
- div.append("div").html(`
2647
- ${message ? `<p style="display:block;">${message}<p>` : ""}
2648
- <p style="display: inline-block;">Data preview <span style="color: #696969; font-style:oblique;">
2649
- ${contLength > 10 ? `(first ${content.length} rows of ${filename})</span></p>` : `(content of ${filename})</span></p>`}
2650
- `);
2651
- const bedjContent_div = div.append("div").style("display", "grid").style("grid-template-columns", "1fr").style("max-width", "80%").style("margin-left", "10px").style("border", "1px solid rgb(227, 227, 230)").style("white-space", "pre").style("overflow-x", "scroll").style("opacity", "0.65").style("padding", "1vw");
2652
- content.forEach((c) => {
2653
- bedjContent_div.append("code").html(c);
2654
- });
2655
- }
2656
- async function showViewData(btns, data, genome) {
2657
- btns.push({
2658
- name: "View Data",
2659
- callback: async (rdiv) => {
2660
- try {
2661
- for (const file of data) {
2662
- const res = await dofetch3("cardsjson", {
2663
- body: { datafile: file.file, genome, tabixCoord: file.tabixQueryCoord }
2664
- });
2665
- if (res.error) {
2666
- console.error(`Error: ${res.error}`);
2667
- rdiv.text(`Error retrieving example data: ${res.error}`);
2668
- return;
2669
- }
2670
- const returnedContent = res.file;
2671
- const contLength = returnedContent.length;
2672
- const content = returnedContent.slice(0, 10);
2673
- const splitpath = file.file.split("/");
2674
- const filename = splitpath[splitpath.length - 1];
2675
- makeDataPreviewDiv(content, contLength, rdiv, filename, file.message);
2676
- }
2677
- } catch (e) {
2678
- alert("Error: " + e);
2679
- }
2680
- }
2681
- });
2682
- }
2683
- async function openDatasetButtonSandbox(elem, pageArgs, res, sandboxDiv) {
2684
- if (elem.sandboxHtml) {
2685
- const renderHtml = await res.text();
2686
- return sandboxDiv.body.append("div").style("line-height", "1.5em").style("padding", "1.5em 1.5em 2em 1.5em").html(renderHtml);
2687
- }
2688
- const genome = pageArgs?.fromApp ? pageArgs.genomes[res.button.availableGenomes[0]] : pageArgs.app.opts.genomes[res.button.availableGenomes[0]];
2689
- let genomes;
2690
- if (res.button.runargs.host) {
2691
- genomes = await getGenomes(res.button.runargs.host);
2692
- } else genomes = pageArgs?.fromApp ? pageArgs.genomes : pageArgs.app.opts.genomes;
2693
- const par = {
2694
- // First genome in .availableGenomes is the default
2695
- availableGenomes: res.button.availableGenomes,
2696
- genome,
2697
- intro: res.button.intro,
2698
- name: res.button.name,
2699
- runargs: res.button.runargs,
2700
- searchBar: res.button.searchBar,
2701
- dsURLparam: res.button.dsURLparam,
2702
- citation: res.citation_id
2703
- };
2704
- const mainDiv = sandboxDiv.body.append("div").style("padding", "1em").style("border-bottom", "1px solid #d0e3ff");
2705
- if (par.citation) {
2706
- const buttonsDiv = mainDiv.append("div").style("margin-bottom", "20px");
2707
- const buttonsContentDiv = mainDiv.append("div");
2708
- await addArrowBtns(par, "main", buttonsDiv, buttonsContentDiv, pageArgs);
2709
- }
2710
- if (par.intro) {
2711
- mainDiv.append("div").style("line-height", "1.5em").style("padding", "0.5em 0.5em 1em 0.5em").html(par.intro);
2712
- }
2713
- if (par.searchBar == "none") {
2714
- const originalURL = sessionStorage.getItem("hostURL");
2715
- const runppArg = {
2716
- holder: sandboxDiv.body.append("div").style("margin", "20px").style("overflow-x", "auto").node(),
2717
- host: par.runargs.host || originalURL
2718
- };
2719
- const callpp = JSON.parse(JSON.stringify(par.runargs));
2720
- await runproteinpaint(Object.assign(runppArg, callpp));
2721
- if (originalURL != sessionStorage.getItem("hostURL")) sessionStorage.setItem("hostURL", originalURL);
2722
- return;
2723
- }
2724
- if (par.availableGenomes.length > 1) addDatasetGenomeBtns(mainDiv, genomes);
2725
- else {
2726
- mainDiv.append("div").style("display", "inline-block").style("margin-left", "20px").style("color", "rgb(117, 115, 115)").text(par.availableGenomes[0]);
2727
- }
2728
- const searchBarDiv = mainDiv.append("div").style("display", "inline-block").style("padding", "0.5em");
2729
- const allResultsDiv = sandboxDiv.body.append("div").style("max-width", "90vw");
2730
- const coords = addGeneSearchbox({
2731
- genome: par.genome,
2732
- tip: new Menu({ padding: "" }),
2733
- row: searchBarDiv,
2734
- searchOnly: par.searchBar == "gene" ? "gene" : "",
2735
- focusOff: true,
2736
- callback: async (div) => {
2737
- const resultDiv = allResultsDiv.insert("div", ":first-child").style("max-width", "90vw").style("margin", "1vw");
2738
- resultDiv.append("div").style("display", "inline-block").style("cursor", "default").style("margin", "0px").style("font-size", "1.5em").html("&times;").on("click", () => {
2739
- resultDiv.selectAll("*").remove();
2740
- });
2741
- makeURLbutton(resultDiv, coords, par);
2742
- const runppArg = {
2743
- holder: resultDiv.append("div").style("margin", "20px").node(),
2744
- host: sessionStorage.getItem("hostURL"),
2745
- genome: par.genome.name
2746
- };
2747
- par.runargs.block == true ? (runppArg.position = `${coords.chr}:${coords.start}-${coords.stop}`) && (runppArg.nativetracks = "Refgene") : runppArg.gene = coords.geneSymbol;
2748
- const callpp = JSON.parse(JSON.stringify(par.runargs));
2749
- runproteinpaint(Object.assign(runppArg, callpp));
2750
- }
2751
- });
2752
- function addDatasetGenomeBtns(div, genomes2) {
2753
- div.append("div").style("display", "inline-block").style("padding", "10px 10px 0px 20px");
2754
- const btns = [];
2755
- par.availableGenomes.forEach((genome2) => {
2756
- btns.push({
2757
- label: genome2,
2758
- callback: (event, tab) => {
2759
- par.genome = genomes2[genome2];
2760
- }
2761
- });
2762
- });
2763
- new Tabs({ holder: div, tabs: btns, noContent: true }).main();
2764
- }
2765
- }
2766
- function makeURLbutton(div, coords, par) {
2767
- const URLbtn = makeButton({ div, text: "Run Result from URL" });
2768
- const blockOn = par.runargs.block == true ? `position=${coords.chr}:${coords.start}-${coords.stop}` : `gene=${coords.geneSymbol}`;
2769
- URLbtn.on("click", (event) => {
2770
- event.stopPropagation();
2771
- const hostURL = getHostURL();
2772
- window.open(`${hostURL}/?genome=${par.genome.name}&${blockOn}&${par.dsURLparam}`, "_blank");
2773
- });
2774
- }
2775
- function getHostURL() {
2776
- const hostURL = sessionStorage.getItem("hostURL");
2777
- if (hostURL.startsWith("http://localhost") || hostURL.startsWith("https://pp")) {
2778
- return hostURL;
2779
- } else return "https://proteinpaint.stjude.org";
2780
- }
2781
- async function getGenomes(host) {
2782
- const genomeURL = `${host}/genomes?embedder=${sessionStorage.getItem("hostURL").replace(/^https?:\/\//, "")}`;
2783
- try {
2784
- const response = await fetch(genomeURL);
2785
- if (!response.ok) throw new Error(`HTTP Response error for genomes url ${response.status}`);
2786
- const data = await response.json();
2787
- return data;
2788
- } catch (e) {
2789
- console.error(`Error fetching genomes: ${e} from ${genomeURL}`);
2790
- return null;
2791
- }
2792
- }
2793
-
2794
- export {
2795
- isFeatureEnabled,
2796
- makeButton,
2797
- openSandbox
2798
- };
2799
- //# sourceMappingURL=chunk-NQMS7WV3.js.map