@sjcrh/proteinpaint-client 2.193.0 → 2.195.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 (916) hide show
  1. package/dist/2dmaf-GTD3AXGT.js +1373 -0
  2. package/dist/AIProjectAdmin-ALMSVHFX.js +958 -0
  3. package/dist/AppHeader-RK2YRITI.js +835 -0
  4. package/dist/BoxPlot-6ZXLPA5Q.js +1217 -0
  5. package/dist/CorrelationVolcano-PJB3QCXB.js +619 -0
  6. package/dist/DE-MEWV5RTV.js +95 -0
  7. package/dist/DEinput-I62VHD2U.js +301 -0
  8. package/dist/DEinput-I62VHD2U.js.map +7 -0
  9. package/dist/DifferentialAnalysis-7L3CDPVB.js +245 -0
  10. package/dist/Disco-FCS7B5DO.js +3297 -0
  11. package/dist/Disco.UI-BFJ5XFAT.js +249 -0
  12. package/dist/DmrPlot-362PCE7L.js +642 -0
  13. package/dist/GB-SX4JENAW.js +1353 -0
  14. package/dist/GB-SX4JENAW.js.map +7 -0
  15. package/dist/GeneExpInput-EHWHQTRV.js +367 -0
  16. package/dist/HicApp-UE4DCUKX.js +2250 -0
  17. package/dist/IDCViewer-EDF5XJ63.js +10455 -0
  18. package/dist/IDCViewer-EDF5XJ63.js.map +7 -0
  19. package/dist/NumBinaryEditor-3TAAJNYY.js +271 -0
  20. package/dist/NumBinaryEditor.unit.spec-6776472M.js +286 -0
  21. package/dist/NumContEditor-WLFXTY4M.js +109 -0
  22. package/dist/NumContEditor.unit.spec-KG5SCOIQ.js +169 -0
  23. package/dist/NumCustomBinEditor-EKKNCLKI.js +38 -0
  24. package/dist/NumCustomBinEditor.unit.spec-LSLSKQDW.js +284 -0
  25. package/dist/NumDiscreteEditor-X2MLECNT.js +179 -0
  26. package/dist/NumDiscreteEditor.unit.spec-BZG7P4C7.js +202 -0
  27. package/dist/NumRegularBinEditor-CAGJ4ZWD.js +38 -0
  28. package/dist/NumRegularBinEditor.unit.spec-GJSJC4DK.js +227 -0
  29. package/dist/NumSplineEditor-ND3RC7R6.js +198 -0
  30. package/dist/NumSplineEditor.unit.spec-F67JQKPY.js +199 -0
  31. package/dist/NumericDensity-VW7NIZU7.js +38 -0
  32. package/dist/NumericDensity.unit.spec-YHIMU23C.js +221 -0
  33. package/dist/NumericHandler-HCU6B2XV.js +39 -0
  34. package/dist/NumericHandler.unit.spec-6GVWAUED.js +219 -0
  35. package/dist/ProteomeInput-SONQSTVD.js +396 -0
  36. package/dist/RunChart2-ZLBNG4JF.js +758 -0
  37. package/dist/SC-YDRE37LP.js +1127 -0
  38. package/dist/Volcano-27ZERHXI.js +1379 -0
  39. package/dist/WSIViewer-2P7ANPBV.js +48562 -0
  40. package/dist/WsiSamplesPlot-FM4B657P.js +165 -0
  41. package/dist/adSandbox-M6TBRE5W.js +38 -0
  42. package/dist/animatedBubbleChart-VYSSX52K.js +555 -0
  43. package/dist/app-BLJT7ZDG.js +49 -0
  44. package/dist/app-LSFSUJHF.js +37 -0
  45. package/dist/app.js +13 -13
  46. package/dist/bam-ZMHBTBB4.js +860 -0
  47. package/dist/barchart-EF75MNTN.js +47 -0
  48. package/dist/barchart.data-VWZB3R2Z.js +22 -0
  49. package/dist/barchart.events-AMYQOMBQ.js +47 -0
  50. package/dist/barchart.integration.spec-TCTQ5PKN.js +2196 -0
  51. package/dist/barchart.integration.spec-TCTQ5PKN.js.map +7 -0
  52. package/dist/barchart2-LOHN6NSE.js +314 -0
  53. package/dist/block-23BH5TZ3.js +6226 -0
  54. package/dist/block.init-3BF6L23D.js +38 -0
  55. package/dist/block.mds.expressionrank-DSHATA2M.js +359 -0
  56. package/dist/block.mds.geneboxplot-RXQUOE3Y.js +828 -0
  57. package/dist/block.mds.junction-PN776TCD.js +1545 -0
  58. package/dist/block.mds.svcnv-SOWUBH4K.js +6801 -0
  59. package/dist/block.svg-ZPYMFAGC.js +164 -0
  60. package/dist/block.tk.aicheck-E22ZJJFP.js +283 -0
  61. package/dist/block.tk.ase-S54Z5A4G.js +365 -0
  62. package/dist/block.tk.bam-YOELFYXU.js +1906 -0
  63. package/dist/block.tk.bedgraphdot-VFUWXPSL.js +384 -0
  64. package/dist/block.tk.bigwig.ui-2SJYUPR3.js +212 -0
  65. package/dist/block.tk.hicstraw-GZVE4HQG.js +823 -0
  66. package/dist/block.tk.junction-RRFX4CAT.js +2364 -0
  67. package/dist/block.tk.junction-RRFX4CAT.js.map +7 -0
  68. package/dist/block.tk.junction.textmatrixui-A726SAAL.js +199 -0
  69. package/dist/block.tk.ld-THUOBW72.js +99 -0
  70. package/dist/block.tk.menu-V3VGODVI.js +1029 -0
  71. package/dist/block.tk.pgv-CNUGIK5J.js +944 -0
  72. package/dist/brainImaging-4PF74IEK.js +423 -0
  73. package/dist/brainRegions-U5K3KEQF.js +221 -0
  74. package/dist/bubbleHeatmap-6NL4PUFY.js +383 -0
  75. package/dist/bubbleHeatmap-6NL4PUFY.js.map +7 -0
  76. package/dist/chunk-2FTXOPE2.js +368 -0
  77. package/dist/chunk-2MCUT32T.js +254 -0
  78. package/dist/chunk-2SZ2VLOG.js +1102 -0
  79. package/dist/chunk-2XBWB6P2.js +37 -0
  80. package/dist/chunk-34VSTY2U.js +234 -0
  81. package/dist/chunk-3DS4HIEH.js +1230 -0
  82. package/dist/chunk-3DS4HIEH.js.map +7 -0
  83. package/dist/chunk-42FSM477.js +272 -0
  84. package/dist/chunk-42FSM477.js.map +7 -0
  85. package/dist/chunk-44VQIATQ.js +6364 -0
  86. package/dist/chunk-5B5FZPZI.js +148 -0
  87. package/dist/chunk-5DSLFEAN.js +276 -0
  88. package/dist/chunk-5DSQOV7M.js +50 -0
  89. package/dist/chunk-7CZI6SE7.js +222 -0
  90. package/dist/chunk-7NABQ2JU.js +54 -0
  91. package/dist/chunk-7VMFUE64.js +117 -0
  92. package/dist/chunk-7WBS7ZUI.js +54 -0
  93. package/dist/chunk-7XSDY2FN.js +1220 -0
  94. package/dist/chunk-7XSDY2FN.js.map +7 -0
  95. package/dist/chunk-AK5Z4PLV.js +230 -0
  96. package/dist/chunk-B3XMNPZY.js +448 -0
  97. package/dist/chunk-B4VBTVVQ.js +815 -0
  98. package/dist/chunk-CHUE5Y7Y.js +194 -0
  99. package/dist/chunk-CNBLRB4P.js +170 -0
  100. package/dist/chunk-CPMOBFFR.js +190 -0
  101. package/dist/chunk-D3TU3RDU.js +299 -0
  102. package/dist/chunk-E2KY2IZS.js +446 -0
  103. package/dist/chunk-FBMDK2UA.js +514 -0
  104. package/dist/chunk-FSWSZZTG.js +102 -0
  105. package/dist/chunk-GPGCGFFS.js +399 -0
  106. package/dist/chunk-H5DR6OYM.js +217 -0
  107. package/dist/chunk-HVZQYGQN.js +98 -0
  108. package/dist/chunk-HYIDLSEL.js +833 -0
  109. package/dist/chunk-IDX6WU4U.js +14 -0
  110. package/dist/chunk-IPGYIEPM.js +263 -0
  111. package/dist/chunk-IPGYIEPM.js.map +7 -0
  112. package/dist/chunk-IQTEW3SK.js +119 -0
  113. package/dist/chunk-J7W2DGAL.js +226 -0
  114. package/dist/chunk-J7W2DGAL.js.map +7 -0
  115. package/dist/chunk-JVVOJREJ.js +55 -0
  116. package/dist/chunk-KIGAMN3Z.js +216 -0
  117. package/dist/chunk-LAQZX5PA.js +13624 -0
  118. package/dist/chunk-LRPQBMQE.js +2786 -0
  119. package/dist/chunk-LYULXXGR.js +20896 -0
  120. package/dist/chunk-LYULXXGR.js.map +7 -0
  121. package/dist/chunk-M7JGRSFA.js +5067 -0
  122. package/dist/chunk-MAACMLMN.js +142 -0
  123. package/dist/chunk-MNPTPENH.js +1825 -0
  124. package/dist/chunk-MU3ZC4RW.js +102 -0
  125. package/dist/chunk-N6ALTSJ2.js +176 -0
  126. package/dist/chunk-N7326KA3.js +1943 -0
  127. package/dist/chunk-O64WQLAV.js +2327 -0
  128. package/dist/chunk-OEOYTMMY.js +203 -0
  129. package/dist/chunk-P3QPMVML.js +736 -0
  130. package/dist/chunk-PJM6MUTT.js +1289 -0
  131. package/dist/chunk-QPAZPA3N.js +4269 -0
  132. package/dist/chunk-RG222M4S.js +272 -0
  133. package/dist/chunk-S46UPZFM.js +158 -0
  134. package/dist/chunk-S4L4JCMA.js +102 -0
  135. package/dist/chunk-S4L4JCMA.js.map +7 -0
  136. package/dist/chunk-TUMA63WX.js +11194 -0
  137. package/dist/chunk-TUMA63WX.js.map +7 -0
  138. package/dist/chunk-UAALI7MC.js +315 -0
  139. package/dist/chunk-UAALI7MC.js.map +7 -0
  140. package/dist/chunk-UDTNSJY2.js +34 -0
  141. package/dist/chunk-UFLSI6EW.js +2681 -0
  142. package/dist/chunk-UFLSI6EW.js.map +7 -0
  143. package/dist/chunk-UKABZJQ7.js +480 -0
  144. package/dist/chunk-UKABZJQ7.js.map +7 -0
  145. package/dist/chunk-UPNKFGTN.js +100 -0
  146. package/dist/chunk-UZKHBBWY.js +617 -0
  147. package/dist/chunk-VG6GVF6D.js +302 -0
  148. package/dist/chunk-VO4FCZOR.js +448 -0
  149. package/dist/chunk-VVDFRJVN.js +306 -0
  150. package/dist/chunk-VVDFRJVN.js.map +7 -0
  151. package/dist/chunk-VZBMCJBR.js +534 -0
  152. package/dist/chunk-WR4UATTO.js +182 -0
  153. package/dist/chunk-XNYATA6C.js +2833 -0
  154. package/dist/chunk-Y5FH3TEH.js +129 -0
  155. package/dist/chunk-YIFCXFWE.js +343 -0
  156. package/dist/chunk-YRXB3MKU.js +477 -0
  157. package/dist/chunk-Z7UVDJKK.js +1275 -0
  158. package/dist/chunk-ZDEMAKRA.js +386 -0
  159. package/dist/chunk-ZTJLENGZ.js +292 -0
  160. package/dist/chunk-ZTJLENGZ.js.map +7 -0
  161. package/dist/condition-6UUQ3AAI.js +332 -0
  162. package/dist/controls-N2NIGPHY.js +41 -0
  163. package/dist/controls.config-YYIMJHWN.js +39 -0
  164. package/dist/correlation-DYUMFMTU.js +102 -0
  165. package/dist/cuminc-EUXCL53V.js +1149 -0
  166. package/dist/cuminc.integration.spec-ZQFMIBF6.js +678 -0
  167. package/dist/customdata.inputui-U2VXVWJ3.js +289 -0
  168. package/dist/dataDownload-QK2VYWYW.js +330 -0
  169. package/dist/dataDownload.integration.spec-NG4ZASWC.js +193 -0
  170. package/dist/databrowser.ui-ALW4LSLA.js +433 -0
  171. package/dist/dictionary-F7BPXOBO.js +118 -0
  172. package/dist/dnaMethylation-XNRJIBAH.js +38 -0
  173. package/dist/dnaMethylation.integration.spec-F5ODQTVL.js +203 -0
  174. package/dist/dofetch-IYEI7WSH.js +51 -0
  175. package/dist/e2pca-BHB7UMS5.js +350 -0
  176. package/dist/ep-QRFUVFSK.js +1256 -0
  177. package/dist/expclust.gdc.spec-LMH7QAU4.js +307 -0
  178. package/dist/facet-34HXG7MO.js +521 -0
  179. package/dist/forms2-ZQUPKXE5.js +539 -0
  180. package/dist/gb-HWZ5KZXX.js +88 -0
  181. package/dist/geneExpClustering-KFMP553E.js +249 -0
  182. package/dist/geneExpression-E2GIRM6Z.js +313 -0
  183. package/dist/geneExpression-QODFRNS4.js +38 -0
  184. package/dist/geneExpression.unit.spec-HV44ABGV.js +102 -0
  185. package/dist/geneORA-MJ6MFW2K.js +278 -0
  186. package/dist/geneRanking-ODKGLJX2.js +553 -0
  187. package/dist/geneRanking-ODKGLJX2.js.map +7 -0
  188. package/dist/geneVariant-QT6E7YZN.js +39 -0
  189. package/dist/geneVariant-UYQ4XIOQ.js +41 -0
  190. package/dist/geneVariant.integration.spec-HQ5GJ7UM.js +198 -0
  191. package/dist/genefusion.ui-5KYGD7JL.js +309 -0
  192. package/dist/geneset-M6T24ZYZ.js +208 -0
  193. package/dist/genomeBrowser.spec-CVH4S5KZ.js +281 -0
  194. package/dist/grin2-GI2WNWJO.js +968 -0
  195. package/dist/grin2-GI2WNWJO.js.map +7 -0
  196. package/dist/grin2-QU2UCKKE.js +75 -0
  197. package/dist/gsea-EGWJAATJ.js +47 -0
  198. package/dist/hierCluster-4OJ7BHAB.js +59 -0
  199. package/dist/hierCluster-P4HGGVK7.js +63 -0
  200. package/dist/hierCluster.config-5DGS5EH4.js +40 -0
  201. package/dist/hierCluster.integration.spec-OL4FLSBS.js +488 -0
  202. package/dist/hierCluster.integration.spec-OL4FLSBS.js.map +7 -0
  203. package/dist/hierCluster.interactivity-VEHJHBKY.js +54 -0
  204. package/dist/hierCluster.renderers-OEVSBUBK.js +21 -0
  205. package/dist/imagePlot-MMJYC4DX.js +163 -0
  206. package/dist/importPlot-4HJ6VR4P.js +8 -0
  207. package/dist/isoformExpression-EISYQF2S.js +40 -0
  208. package/dist/isoformExpression.unit.spec-YKBWVL7C.js +208 -0
  209. package/dist/jspdf.es.min-NXISJ3W7.js +40 -0
  210. package/dist/launch.adhoc-U3KOGDIC.js +42 -0
  211. package/dist/leftlabel.sample-LVF5WLMZ.js +264 -0
  212. package/dist/lollipop-HX2WLD5J.js +171 -0
  213. package/dist/maf-MBX3S3LS.js +459 -0
  214. package/dist/maf-MBX3S3LS.js.map +7 -0
  215. package/dist/maftimeline-VN6SYUPQ.js +593 -0
  216. package/dist/matrix-6UASVMIW.js +58 -0
  217. package/dist/matrix-FYYLVW7O.js +63 -0
  218. package/dist/matrix.cells-3RUGV7XG.js +28 -0
  219. package/dist/matrix.config-ELBFN3JN.js +41 -0
  220. package/dist/matrix.data-MHFF47ZY.js +25 -0
  221. package/dist/matrix.groups-UJRFFG5J.js +27 -0
  222. package/dist/matrix.integration.spec-5DUNUOQ3.js +3072 -0
  223. package/dist/matrix.interactivity-2TZ3ON4H.js +42 -0
  224. package/dist/matrix.layout-IGUBUCB2.js +44 -0
  225. package/dist/matrix.legend-UBQF6LMD.js +22 -0
  226. package/dist/matrix.renderers-ON2EXXIS.js +38 -0
  227. package/dist/matrix.serieses-5XH7NO23.js +21 -0
  228. package/dist/matrix.sort-QSWTVRJT.js +27 -0
  229. package/dist/matrix.sort.unit.spec-7Y6D456I.js +472 -0
  230. package/dist/matrix.sorterUi.unit.spec-3XNGEZZ2.js +342 -0
  231. package/dist/mavb-J4AUXBHZ.js +732 -0
  232. package/dist/mds.fimo-I6OALZRX.js +518 -0
  233. package/dist/mds.samplescatterplot-XSWR37S5.js +1550 -0
  234. package/dist/mds.survivalplot-Q3TE4A5P.js +483 -0
  235. package/dist/numericDictTermCluster-N3GM6YVP.js +65 -0
  236. package/dist/numericDictTermCluster-N3GM6YVP.js.map +7 -0
  237. package/dist/oncomatrix-C4RDUA2C.js +295 -0
  238. package/dist/oncomatrix.spec-QVD3XUTH.js +448 -0
  239. package/dist/plot.2dvaf-MNONDWFA.js +377 -0
  240. package/dist/plot.app-3T275PW5.js +41 -0
  241. package/dist/plot.barplot-LOLIPHXG.js +102 -0
  242. package/dist/plot.boxplot-I6CAYXPV.js +152 -0
  243. package/dist/plot.brainImaging-Y76KB6IC.js +51 -0
  244. package/dist/plot.disco-N5ISUUNQ.js +102 -0
  245. package/dist/plot.dzi-Q6K542P6.js +33 -0
  246. package/dist/plot.ssgq-OGLNOY4Q.js +139 -0
  247. package/dist/plot.vaf2cov-NXQ5D3KA.js +259 -0
  248. package/dist/plot.wsi-YMDUOZ57.js +36 -0
  249. package/dist/polar2-AQ2W3SNH.js +231 -0
  250. package/dist/profileForms-TCPZPI22.js +446 -0
  251. package/dist/profilePlot-4RKKICKC.js +54 -0
  252. package/dist/proteinView-5VJ6E2XT.js +1568 -0
  253. package/dist/proteinView-5VJ6E2XT.js.map +7 -0
  254. package/dist/purify.es-PPNYMKMJ.js +1457 -0
  255. package/dist/purify.es-PPNYMKMJ.js.map +7 -0
  256. package/dist/qualitative-NCFIVW6S.js +43 -0
  257. package/dist/radar2-UJFFZE7T.js +326 -0
  258. package/dist/radarFacility2-ATQBCF3N.js +334 -0
  259. package/dist/regression-4RSS7447.js +56 -0
  260. package/dist/regression.inputs-5XGUGNWV.js +48 -0
  261. package/dist/regression.inputs.term-LSJAZWE4.js +48 -0
  262. package/dist/regression.inputs.values.table-GNIJZETG.js +45 -0
  263. package/dist/regression.integration.spec-MV652K47.js +784 -0
  264. package/dist/regression.results-M3YH6ZD3.js +40 -0
  265. package/dist/regression.spec-455WPZHP.js +708 -0
  266. package/dist/report-MH3V7SHZ.js +222 -0
  267. package/dist/sampleScatter.spec-OTIL3JDG.js +202 -0
  268. package/dist/sampleView-DHACOCEG.js +48 -0
  269. package/dist/samplelst-F3AXOE2D.js +111 -0
  270. package/dist/samplematrix-M6CKKVNE.js +2198 -0
  271. package/dist/sc-S5XA37JJ.js +86 -0
  272. package/dist/scatter-IRPFNDHW.js +851 -0
  273. package/dist/scatter.integration.spec-5FWVHMVJ.js +1206 -0
  274. package/dist/selectGenomeWithTklst-NIOUX6MV.js +134 -0
  275. package/dist/singleCellCellType-FTGLNH2J.js +38 -0
  276. package/dist/singleCellCellType.unit.spec-BJ5YZAXF.js +160 -0
  277. package/dist/singleCellGeneExpression-56EDDG5H.js +38 -0
  278. package/dist/singleCellGeneExpression.unit.spec-XSQRWAI3.js +153 -0
  279. package/dist/singleCellPlot-TH77EJZ4.js +54 -0
  280. package/dist/singlecell-3QZQZM32.js +86 -0
  281. package/dist/singlecell-7KJMBASC.js +1572 -0
  282. package/dist/snp-YXG5O4U4.js +38 -0
  283. package/dist/snp.unit.spec-O27J7OOK.js +176 -0
  284. package/dist/snplocus-CQZSC7P6.js +208 -0
  285. package/dist/spliceevent.a53ss.diagram-K5ZDPZE6.js +151 -0
  286. package/dist/spliceevent.exonskip.diagram-A2VZ3TTF.js +277 -0
  287. package/dist/spliceevent.noeventdiagram-DJDA6ENK.js +460 -0
  288. package/dist/ssGSEA-3FTGRUTC.js +38 -0
  289. package/dist/ssGSEA.unit.spec-GF35KBTX.js +88 -0
  290. package/dist/summarizeCnvGeneexp-6IDTNOYE.js +163 -0
  291. package/dist/summarizeGeneexpSurvival-OWLUX2HO.js +114 -0
  292. package/dist/summarizeGeneexpSurvival-OWLUX2HO.js.map +7 -0
  293. package/dist/summarizeMutationCnv-BMEN3XNV.js +164 -0
  294. package/dist/summarizeMutationDiagnosis-LW6K6373.js +40 -0
  295. package/dist/summarizeMutationSurvival-E7REF2VY.js +99 -0
  296. package/dist/summary-MKA7OJKE.js +49 -0
  297. package/dist/summary.integration.spec-IV6I6SNJ.js +414 -0
  298. package/dist/summaryInput-NET6SPM4.js +235 -0
  299. package/dist/sunburst-CO3MXFTJ.js +284 -0
  300. package/dist/survival-MIPCEBS3.js +46 -0
  301. package/dist/survival-QQXTCNDU.js +58 -0
  302. package/dist/survival.integration.spec-6FH4S3EH.js +915 -0
  303. package/dist/survival.integration.spec-6FH4S3EH.js.map +7 -0
  304. package/dist/svg2pdf.es.min-P2F6SSVJ.js +3157 -0
  305. package/dist/svgraph-YF7BS7TN.js +1387 -0
  306. package/dist/svmr-J2JLQGEE.js +3842 -0
  307. package/dist/table-7YL7I4GH.js +200 -0
  308. package/dist/termCollection-LNEN72IV.js +38 -0
  309. package/dist/termCollection-SOLNYAZ4.js +179 -0
  310. package/dist/termCollection.unit.spec-LTX7UVYP.js +208 -0
  311. package/dist/tk-RZDP2YT5.js +46 -0
  312. package/dist/tp.ui-T6XXBHHD.js +1459 -0
  313. package/dist/tvs.dt-7APM37Y3.js +39 -0
  314. package/dist/tvs.dtcnv.categorical-YIPXQSIL.js +40 -0
  315. package/dist/tvs.dtcnv.continuous-ITNZE3SH.js +72 -0
  316. package/dist/tvs.dtfusion-2JIIPDTN.js +40 -0
  317. package/dist/tvs.dtsnvindel-HO2PUFN2.js +40 -0
  318. package/dist/tvs.dtsv-7KCWSUYO.js +40 -0
  319. package/dist/tvs.samplelst-KKWJQNLW.js +104 -0
  320. package/dist/tvs.termCollection-R2IGRG2U.js +159 -0
  321. package/dist/violin-OTPZQTGA.js +46 -0
  322. package/dist/violin.integration.spec-KESWDSBM.js +1425 -0
  323. package/dist/violin.interactivity-Q2WALZO3.js +38 -0
  324. package/dist/violin.renderer-WIRIV7QY.js +40 -0
  325. package/dist/vocabulary-XXDHHHPJ.js +41 -0
  326. package/package.json +9 -3
  327. package/dist/2dmaf-US2ZAJJJ.js +0 -1373
  328. package/dist/AIProjectAdmin-QQO2PNAJ.js +0 -958
  329. package/dist/AppHeader-UKB344GC.js +0 -835
  330. package/dist/BoxPlot-JEBLRKBY.js +0 -1217
  331. package/dist/CorrelationVolcano-J3IFVSZB.js +0 -619
  332. package/dist/DE-PAPJP6AH.js +0 -95
  333. package/dist/DEinput-YON466QQ.js +0 -301
  334. package/dist/DEinput-YON466QQ.js.map +0 -7
  335. package/dist/DifferentialAnalysis-DEUODXGG.js +0 -245
  336. package/dist/Disco-OZM4S7HF.js +0 -3297
  337. package/dist/Disco.UI-VIHYJGYU.js +0 -249
  338. package/dist/DmrPlot-DSELMC4E.js +0 -642
  339. package/dist/GB-MUPI6RL5.js +0 -1151
  340. package/dist/GB-MUPI6RL5.js.map +0 -7
  341. package/dist/GeneExpInput-3AQEPTFZ.js +0 -367
  342. package/dist/HicApp-BP7PSXY2.js +0 -2250
  343. package/dist/NumBinaryEditor-CHWQT445.js +0 -271
  344. package/dist/NumBinaryEditor.unit.spec-MXRNK7XH.js +0 -286
  345. package/dist/NumContEditor-XS3RA7GY.js +0 -109
  346. package/dist/NumContEditor.unit.spec-662MHSP4.js +0 -169
  347. package/dist/NumCustomBinEditor-LUVIAXMZ.js +0 -38
  348. package/dist/NumCustomBinEditor.unit.spec-3D3GY3F4.js +0 -284
  349. package/dist/NumDiscreteEditor-24W2A5IN.js +0 -179
  350. package/dist/NumDiscreteEditor.unit.spec-B5T42Z5S.js +0 -202
  351. package/dist/NumRegularBinEditor-AING4HZ5.js +0 -38
  352. package/dist/NumRegularBinEditor.unit.spec-UKSVZH2S.js +0 -227
  353. package/dist/NumSplineEditor-54KNKHJX.js +0 -198
  354. package/dist/NumSplineEditor.unit.spec-5FTST3Y5.js +0 -199
  355. package/dist/NumericDensity-C7DQZ5Q5.js +0 -38
  356. package/dist/NumericDensity.unit.spec-HV6SD3ZS.js +0 -221
  357. package/dist/NumericHandler-FV3L23EC.js +0 -39
  358. package/dist/NumericHandler.unit.spec-E72DXVBB.js +0 -219
  359. package/dist/ProteomeInput-3XTK74SN.js +0 -396
  360. package/dist/RunChart2-X5FBZVRX.js +0 -758
  361. package/dist/SC-WE5DG2CQ.js +0 -1127
  362. package/dist/Volcano-2USCTLKO.js +0 -1379
  363. package/dist/WSIViewer-U6VSJUFF.js +0 -48562
  364. package/dist/WsiSamplesPlot-VIKSG63U.js +0 -165
  365. package/dist/adSandbox-VXUJGPD3.js +0 -38
  366. package/dist/animatedBubbleChart-4P7XLKSB.js +0 -555
  367. package/dist/app-KHZT2BVF.js +0 -49
  368. package/dist/app-XLYH3YPL.js +0 -37
  369. package/dist/bam-C23ZARYE.js +0 -860
  370. package/dist/barchart-KGXLYEIP.js +0 -47
  371. package/dist/barchart.data-7OI5GZZ6.js +0 -22
  372. package/dist/barchart.events-3KDNIFBG.js +0 -47
  373. package/dist/barchart.integration.spec-OQYY54AQ.js +0 -2010
  374. package/dist/barchart.integration.spec-OQYY54AQ.js.map +0 -7
  375. package/dist/barchart2-AT5FXOUY.js +0 -314
  376. package/dist/block-TCWYUB4R.js +0 -6226
  377. package/dist/block.init-7FHXQJNE.js +0 -38
  378. package/dist/block.mds.expressionrank-UGZQK7Z3.js +0 -359
  379. package/dist/block.mds.geneboxplot-2CQLB4YN.js +0 -828
  380. package/dist/block.mds.junction-JHPHWVOS.js +0 -1545
  381. package/dist/block.mds.svcnv-E7P2SVKK.js +0 -6801
  382. package/dist/block.svg-MVRR3C6V.js +0 -164
  383. package/dist/block.tk.aicheck-KX46G4TR.js +0 -283
  384. package/dist/block.tk.ase-WMXI47BF.js +0 -365
  385. package/dist/block.tk.bam-KFEGVEQQ.js +0 -1906
  386. package/dist/block.tk.bedgraphdot-P4DBCWFK.js +0 -384
  387. package/dist/block.tk.bigwig.ui-WJPH2Z7F.js +0 -212
  388. package/dist/block.tk.hicstraw-RSD6I2NX.js +0 -823
  389. package/dist/block.tk.junction-VZS2DEDO.js +0 -2364
  390. package/dist/block.tk.junction-VZS2DEDO.js.map +0 -7
  391. package/dist/block.tk.junction.textmatrixui-UCWGHZDI.js +0 -199
  392. package/dist/block.tk.ld-ERSIIBM2.js +0 -99
  393. package/dist/block.tk.menu-2ZNXE7CE.js +0 -1029
  394. package/dist/block.tk.pgv-EJLACCFR.js +0 -944
  395. package/dist/brainImaging-BMZJY6OT.js +0 -423
  396. package/dist/brainRegions-RZEBXPAS.js +0 -221
  397. package/dist/bubbleHeatmap-ERJFMLPK.js +0 -383
  398. package/dist/bubbleHeatmap-ERJFMLPK.js.map +0 -7
  399. package/dist/chunk-27FPMFP2.js +0 -54
  400. package/dist/chunk-455XZIIA.js +0 -222
  401. package/dist/chunk-474DTKP7.js +0 -263
  402. package/dist/chunk-474DTKP7.js.map +0 -7
  403. package/dist/chunk-4AP3O3JW.js +0 -226
  404. package/dist/chunk-4AP3O3JW.js.map +0 -7
  405. package/dist/chunk-4JWN7E7Q.js +0 -117
  406. package/dist/chunk-55MOHL3P.js +0 -158
  407. package/dist/chunk-5TJQ6633.js +0 -291
  408. package/dist/chunk-5TJQ6633.js.map +0 -7
  409. package/dist/chunk-5X5LI5YM.js +0 -254
  410. package/dist/chunk-634MOGE3.js +0 -314
  411. package/dist/chunk-634MOGE3.js.map +0 -7
  412. package/dist/chunk-6G4YOMWW.js +0 -1825
  413. package/dist/chunk-6SCBPP4C.js +0 -95
  414. package/dist/chunk-6SCBPP4C.js.map +0 -7
  415. package/dist/chunk-6YVEYTNH.js +0 -4269
  416. package/dist/chunk-73R5BVCY.js +0 -5067
  417. package/dist/chunk-74XVBQF7.js +0 -55
  418. package/dist/chunk-7I3LST7R.js +0 -272
  419. package/dist/chunk-ATUYZWHV.js +0 -1289
  420. package/dist/chunk-B6U3EDAF.js +0 -448
  421. package/dist/chunk-BO47H3VP.js +0 -477
  422. package/dist/chunk-BOO4W7WD.js +0 -482
  423. package/dist/chunk-BOO4W7WD.js.map +0 -7
  424. package/dist/chunk-C6YT5EM2.js +0 -217
  425. package/dist/chunk-CDUNE45Q.js +0 -534
  426. package/dist/chunk-CLN7ANNL.js +0 -216
  427. package/dist/chunk-CLNSNNQU.js +0 -302
  428. package/dist/chunk-COYULNJF.js +0 -119
  429. package/dist/chunk-DBFKUPM6.js +0 -1275
  430. package/dist/chunk-DNVSEW6P.js +0 -170
  431. package/dist/chunk-E6XLLQCG.js +0 -299
  432. package/dist/chunk-EC3SKPQT.js +0 -446
  433. package/dist/chunk-EDXQKDVQ.js +0 -368
  434. package/dist/chunk-EY253UB7.js +0 -448
  435. package/dist/chunk-F5ONTCHE.js +0 -13624
  436. package/dist/chunk-FABY3ISP.js +0 -176
  437. package/dist/chunk-FOPHIWFD.js +0 -100
  438. package/dist/chunk-FVX76DZS.js +0 -203
  439. package/dist/chunk-FXGE233W.js +0 -2681
  440. package/dist/chunk-FXGE233W.js.map +0 -7
  441. package/dist/chunk-GBXX3AHJ.js +0 -343
  442. package/dist/chunk-GVCQGWN7.js +0 -34
  443. package/dist/chunk-HXNUQOGN.js +0 -234
  444. package/dist/chunk-HXZSSHEB.js +0 -37
  445. package/dist/chunk-IKDWQJZE.js +0 -736
  446. package/dist/chunk-IVXCWCKS.js +0 -317
  447. package/dist/chunk-IVXCWCKS.js.map +0 -7
  448. package/dist/chunk-JEZUPG4J.js +0 -617
  449. package/dist/chunk-JWHFMFF2.js +0 -142
  450. package/dist/chunk-K3OJJZCQ.js +0 -230
  451. package/dist/chunk-KM4JBR26.js +0 -815
  452. package/dist/chunk-KNOFEVOJ.js +0 -54
  453. package/dist/chunk-L7VDSIM7.js +0 -20881
  454. package/dist/chunk-L7VDSIM7.js.map +0 -7
  455. package/dist/chunk-LLX3NKB4.js +0 -148
  456. package/dist/chunk-MQJVDIQK.js +0 -2786
  457. package/dist/chunk-N25ENPO3.js +0 -14
  458. package/dist/chunk-N3JT3KCV.js +0 -399
  459. package/dist/chunk-N6QEVQZV.js +0 -194
  460. package/dist/chunk-NJDW6ZQP.js +0 -102
  461. package/dist/chunk-NLQQIVTC.js +0 -276
  462. package/dist/chunk-NU2W6B7I.js +0 -833
  463. package/dist/chunk-OR43PGBV.js +0 -98
  464. package/dist/chunk-PWUERAAF.js +0 -182
  465. package/dist/chunk-PXCFA4ZQ.js +0 -2327
  466. package/dist/chunk-QSEGY3U5.js +0 -129
  467. package/dist/chunk-QWOE5YTB.js +0 -11194
  468. package/dist/chunk-QWOE5YTB.js.map +0 -7
  469. package/dist/chunk-SC6IPDJR.js +0 -6364
  470. package/dist/chunk-SDMOLIEU.js +0 -1205
  471. package/dist/chunk-SDMOLIEU.js.map +0 -7
  472. package/dist/chunk-T46LHXJW.js +0 -283
  473. package/dist/chunk-T46LHXJW.js.map +0 -7
  474. package/dist/chunk-UDL2DEBB.js +0 -50
  475. package/dist/chunk-UXDVUCXU.js +0 -190
  476. package/dist/chunk-VDIVDU3T.js +0 -386
  477. package/dist/chunk-VRLC7DAU.js +0 -2833
  478. package/dist/chunk-XQSQQSGB.js +0 -1102
  479. package/dist/chunk-XVXAQ3FI.js +0 -1943
  480. package/dist/chunk-Y45JIQ5Y.js +0 -1219
  481. package/dist/chunk-Y45JIQ5Y.js.map +0 -7
  482. package/dist/chunk-YQMENK5H.js +0 -102
  483. package/dist/chunk-ZUC4XNWU.js +0 -514
  484. package/dist/condition-ZPFBPMEZ.js +0 -332
  485. package/dist/controls-LIVMV2GV.js +0 -41
  486. package/dist/controls.config-2EOMBN5E.js +0 -39
  487. package/dist/correlation-D6GAPOP5.js +0 -102
  488. package/dist/cuminc-GPFDRNUP.js +0 -1149
  489. package/dist/cuminc.integration.spec-V4JYKLA6.js +0 -678
  490. package/dist/customdata.inputui-DSEUS3CT.js +0 -289
  491. package/dist/dataDownload-KT6K3M7Q.js +0 -330
  492. package/dist/dataDownload.integration.spec-VEX2RTSA.js +0 -193
  493. package/dist/databrowser.ui-VJKNMIXA.js +0 -433
  494. package/dist/dictionary-B27BMR5H.js +0 -118
  495. package/dist/dnaMethylation-BWQGUXVR.js +0 -38
  496. package/dist/dnaMethylation.integration.spec-YMGT2HYZ.js +0 -203
  497. package/dist/dofetch-BMSZZAAQ.js +0 -51
  498. package/dist/e2pca-KSY4DP53.js +0 -350
  499. package/dist/ep-4PAYGMWK.js +0 -1256
  500. package/dist/expclust.gdc.spec-XXFP2HHE.js +0 -307
  501. package/dist/facet-VCJQ7QPE.js +0 -521
  502. package/dist/forms2-IUD2SNOQ.js +0 -539
  503. package/dist/gb-JDH242LG.js +0 -88
  504. package/dist/geneExpClustering-L23JB7XA.js +0 -249
  505. package/dist/geneExpression-P2ERCRXO.js +0 -313
  506. package/dist/geneExpression-QGPVFAN4.js +0 -38
  507. package/dist/geneExpression.unit.spec-6BQBM6VL.js +0 -102
  508. package/dist/geneORA-XIMJP665.js +0 -278
  509. package/dist/geneRanking-AJH5G22J.js +0 -551
  510. package/dist/geneRanking-AJH5G22J.js.map +0 -7
  511. package/dist/geneVariant-AUUZ7S2B.js +0 -41
  512. package/dist/geneVariant-H6BGRRON.js +0 -39
  513. package/dist/geneVariant.integration.spec-FRCH6VI4.js +0 -198
  514. package/dist/genefusion.ui-AAJ37VFA.js +0 -309
  515. package/dist/geneset-5ARBBUYH.js +0 -208
  516. package/dist/genomeBrowser.spec-RV7YBSMZ.js +0 -281
  517. package/dist/grin2-4MYLICII.js +0 -75
  518. package/dist/grin2-RBK4NI6W.js +0 -967
  519. package/dist/grin2-RBK4NI6W.js.map +0 -7
  520. package/dist/gsea-XUMCVLFK.js +0 -47
  521. package/dist/hierCluster-HXOTNMC5.js +0 -63
  522. package/dist/hierCluster-PEDY7OTZ.js +0 -59
  523. package/dist/hierCluster.config-RKYCGNWW.js +0 -40
  524. package/dist/hierCluster.integration.spec-YKMAT7UU.js +0 -395
  525. package/dist/hierCluster.integration.spec-YKMAT7UU.js.map +0 -7
  526. package/dist/hierCluster.interactivity-LPTHVWHR.js +0 -54
  527. package/dist/hierCluster.renderers-4XWKHCNW.js +0 -21
  528. package/dist/imagePlot-3DF7ZH3U.js +0 -163
  529. package/dist/importPlot-N74SV3TL.js +0 -8
  530. package/dist/isoformExpression-FU7Y4OGU.js +0 -40
  531. package/dist/isoformExpression.unit.spec-BLQDKV37.js +0 -208
  532. package/dist/jspdf.es.min-TFJHKUF5.js +0 -40
  533. package/dist/launch.adhoc-Y35FZV6H.js +0 -42
  534. package/dist/leftlabel.sample-ERJGAYTF.js +0 -264
  535. package/dist/lollipop-DU37Q5E2.js +0 -171
  536. package/dist/maf-NRLSNDOT.js +0 -452
  537. package/dist/maf-NRLSNDOT.js.map +0 -7
  538. package/dist/maftimeline-GRXGOOSJ.js +0 -593
  539. package/dist/matrix-G3BULZ7Y.js +0 -58
  540. package/dist/matrix-TCTX26A4.js +0 -63
  541. package/dist/matrix.cells-ED6RS5EC.js +0 -28
  542. package/dist/matrix.config-QHO2YNOT.js +0 -41
  543. package/dist/matrix.data-KQFMXWRX.js +0 -25
  544. package/dist/matrix.groups-RE74EFLY.js +0 -27
  545. package/dist/matrix.integration.spec-Y4FCZ2Q2.js +0 -3072
  546. package/dist/matrix.interactivity-3DW5WAM3.js +0 -42
  547. package/dist/matrix.layout-W57D765I.js +0 -44
  548. package/dist/matrix.legend-ZST44PIB.js +0 -22
  549. package/dist/matrix.renderers-NFRKXO7Y.js +0 -38
  550. package/dist/matrix.serieses-6ZKTFVWY.js +0 -21
  551. package/dist/matrix.sort-2UE47IOC.js +0 -27
  552. package/dist/matrix.sort.unit.spec-5CMWEXPE.js +0 -472
  553. package/dist/matrix.sorterUi.unit.spec-Y2HXWHJN.js +0 -342
  554. package/dist/mavb-BI4XKI5P.js +0 -732
  555. package/dist/mds.fimo-UJYESPNC.js +0 -518
  556. package/dist/mds.samplescatterplot-JKU5B4QR.js +0 -1550
  557. package/dist/mds.survivalplot-OP7Y4D3L.js +0 -483
  558. package/dist/numericDictTermCluster-DRIEJJSP.js +0 -72
  559. package/dist/numericDictTermCluster-DRIEJJSP.js.map +0 -7
  560. package/dist/oncomatrix-A3IE47HV.js +0 -295
  561. package/dist/oncomatrix.spec-TDWB2ROF.js +0 -448
  562. package/dist/plot.2dvaf-XY34TDSM.js +0 -377
  563. package/dist/plot.app-WRCBLYGO.js +0 -41
  564. package/dist/plot.barplot-RXGOUNHM.js +0 -102
  565. package/dist/plot.boxplot-GBZGSS3D.js +0 -152
  566. package/dist/plot.brainImaging-DYPKMNHL.js +0 -51
  567. package/dist/plot.disco-5K2SCKJ4.js +0 -102
  568. package/dist/plot.dzi-THJIFHIS.js +0 -33
  569. package/dist/plot.ssgq-FSIUIV3A.js +0 -139
  570. package/dist/plot.vaf2cov-HP6KEBVJ.js +0 -259
  571. package/dist/plot.wsi-MR6JMOXW.js +0 -36
  572. package/dist/polar2-IT3OF5DX.js +0 -231
  573. package/dist/profileForms-XXGJVF2T.js +0 -446
  574. package/dist/profilePlot-J2C35OEY.js +0 -54
  575. package/dist/proteinView-7FDCILPH.js +0 -1556
  576. package/dist/proteinView-7FDCILPH.js.map +0 -7
  577. package/dist/purify.es-OGN7FDEQ.js +0 -1038
  578. package/dist/purify.es-OGN7FDEQ.js.map +0 -7
  579. package/dist/qualitative-N7S2JHZM.js +0 -43
  580. package/dist/radar2-CDDOQGQX.js +0 -326
  581. package/dist/radarFacility2-ZQTHO2ON.js +0 -334
  582. package/dist/regression-PBGAMZAV.js +0 -56
  583. package/dist/regression.inputs-54E5YKI4.js +0 -48
  584. package/dist/regression.inputs.term-52MBTMVM.js +0 -48
  585. package/dist/regression.inputs.values.table-F3FOAYFV.js +0 -45
  586. package/dist/regression.integration.spec-M4RPJUE4.js +0 -784
  587. package/dist/regression.results-JOK6I2ZD.js +0 -40
  588. package/dist/regression.spec-O4HZB2HQ.js +0 -708
  589. package/dist/report-BDDTM7SV.js +0 -222
  590. package/dist/sampleScatter.spec-272GLYEK.js +0 -202
  591. package/dist/sampleView-E6OHEEP4.js +0 -48
  592. package/dist/samplelst-3LNF3DBG.js +0 -111
  593. package/dist/samplematrix-HL445X7I.js +0 -2198
  594. package/dist/sc-4LELHVIS.js +0 -86
  595. package/dist/scatter-IZIZURQD.js +0 -851
  596. package/dist/scatter.integration.spec-BBEWMA7M.js +0 -1206
  597. package/dist/selectGenomeWithTklst-5LQGT4Z7.js +0 -134
  598. package/dist/singleCellCellType-T3ZT64EK.js +0 -38
  599. package/dist/singleCellCellType.unit.spec-AE4IAHOF.js +0 -160
  600. package/dist/singleCellGeneExpression-SRJXSDEB.js +0 -38
  601. package/dist/singleCellGeneExpression.unit.spec-EPL73UUO.js +0 -153
  602. package/dist/singleCellPlot-P2BHFTYZ.js +0 -54
  603. package/dist/singlecell-32SSD7VN.js +0 -1572
  604. package/dist/singlecell-7KRD5DP7.js +0 -86
  605. package/dist/snp-LE5R377N.js +0 -38
  606. package/dist/snp.unit.spec-UY6KQ5NJ.js +0 -176
  607. package/dist/snplocus-CP34ABUJ.js +0 -208
  608. package/dist/spliceevent.a53ss.diagram-JWLWQDNJ.js +0 -151
  609. package/dist/spliceevent.exonskip.diagram-C5526P7P.js +0 -277
  610. package/dist/spliceevent.noeventdiagram-352M63YB.js +0 -460
  611. package/dist/ssGSEA-BFTCECV3.js +0 -38
  612. package/dist/ssGSEA.unit.spec-4OUCKRDQ.js +0 -88
  613. package/dist/summarizeCnvGeneexp-Y3AWFIZA.js +0 -163
  614. package/dist/summarizeGeneexpSurvival-U5JSPG22.js +0 -108
  615. package/dist/summarizeGeneexpSurvival-U5JSPG22.js.map +0 -7
  616. package/dist/summarizeMutationCnv-KCOVQEBC.js +0 -164
  617. package/dist/summarizeMutationDiagnosis-EQXEQABW.js +0 -40
  618. package/dist/summarizeMutationSurvival-4VGLG4SC.js +0 -99
  619. package/dist/summary-DXYCBNI4.js +0 -49
  620. package/dist/summary.integration.spec-MZTJISLP.js +0 -414
  621. package/dist/summaryInput-5Z3XVIL6.js +0 -235
  622. package/dist/sunburst-WVSQJYP2.js +0 -284
  623. package/dist/survival-3R3J2JBE.js +0 -46
  624. package/dist/survival-XQWFVGCJ.js +0 -58
  625. package/dist/survival.integration.spec-EBDPIBYM.js +0 -821
  626. package/dist/survival.integration.spec-EBDPIBYM.js.map +0 -7
  627. package/dist/svg2pdf.es.min-H4DXBG4O.js +0 -3157
  628. package/dist/svgraph-SY2HVMYL.js +0 -1387
  629. package/dist/svmr-TIIMFKG7.js +0 -3842
  630. package/dist/table-5RFTXIQL.js +0 -200
  631. package/dist/termCollection-23QXTZDN.js +0 -38
  632. package/dist/termCollection-7KXABWVW.js +0 -179
  633. package/dist/termCollection.unit.spec-4AN2Z4PQ.js +0 -208
  634. package/dist/tk-WW6PJGPQ.js +0 -46
  635. package/dist/tp.ui-S5PO3MPH.js +0 -1459
  636. package/dist/tvs.dt-O7LUM5TK.js +0 -39
  637. package/dist/tvs.dtcnv.categorical-2OUFOD3W.js +0 -40
  638. package/dist/tvs.dtcnv.continuous-NOOUY5SZ.js +0 -72
  639. package/dist/tvs.dtfusion-KXQMP3UF.js +0 -40
  640. package/dist/tvs.dtsnvindel-PWHFTWZU.js +0 -40
  641. package/dist/tvs.dtsv-25FLS572.js +0 -40
  642. package/dist/tvs.samplelst-FLXNJFIV.js +0 -104
  643. package/dist/tvs.termCollection-PSVOMJE4.js +0 -159
  644. package/dist/violin-SWMEFWRA.js +0 -46
  645. package/dist/violin.integration.spec-6EQ6GC2N.js +0 -1425
  646. package/dist/violin.interactivity-WBIWPLSM.js +0 -38
  647. package/dist/violin.renderer-3WARZUOH.js +0 -40
  648. package/dist/vocabulary-WLHYHDX7.js +0 -41
  649. /package/dist/{2dmaf-US2ZAJJJ.js.map → 2dmaf-GTD3AXGT.js.map} +0 -0
  650. /package/dist/{AIProjectAdmin-QQO2PNAJ.js.map → AIProjectAdmin-ALMSVHFX.js.map} +0 -0
  651. /package/dist/{AppHeader-UKB344GC.js.map → AppHeader-RK2YRITI.js.map} +0 -0
  652. /package/dist/{BoxPlot-JEBLRKBY.js.map → BoxPlot-6ZXLPA5Q.js.map} +0 -0
  653. /package/dist/{CorrelationVolcano-J3IFVSZB.js.map → CorrelationVolcano-PJB3QCXB.js.map} +0 -0
  654. /package/dist/{DE-PAPJP6AH.js.map → DE-MEWV5RTV.js.map} +0 -0
  655. /package/dist/{DifferentialAnalysis-DEUODXGG.js.map → DifferentialAnalysis-7L3CDPVB.js.map} +0 -0
  656. /package/dist/{Disco-OZM4S7HF.js.map → Disco-FCS7B5DO.js.map} +0 -0
  657. /package/dist/{Disco.UI-VIHYJGYU.js.map → Disco.UI-BFJ5XFAT.js.map} +0 -0
  658. /package/dist/{DmrPlot-DSELMC4E.js.map → DmrPlot-362PCE7L.js.map} +0 -0
  659. /package/dist/{GeneExpInput-3AQEPTFZ.js.map → GeneExpInput-EHWHQTRV.js.map} +0 -0
  660. /package/dist/{HicApp-BP7PSXY2.js.map → HicApp-UE4DCUKX.js.map} +0 -0
  661. /package/dist/{NumBinaryEditor-CHWQT445.js.map → NumBinaryEditor-3TAAJNYY.js.map} +0 -0
  662. /package/dist/{NumBinaryEditor.unit.spec-MXRNK7XH.js.map → NumBinaryEditor.unit.spec-6776472M.js.map} +0 -0
  663. /package/dist/{NumContEditor-XS3RA7GY.js.map → NumContEditor-WLFXTY4M.js.map} +0 -0
  664. /package/dist/{NumContEditor.unit.spec-662MHSP4.js.map → NumContEditor.unit.spec-KG5SCOIQ.js.map} +0 -0
  665. /package/dist/{NumCustomBinEditor-LUVIAXMZ.js.map → NumCustomBinEditor-EKKNCLKI.js.map} +0 -0
  666. /package/dist/{NumCustomBinEditor.unit.spec-3D3GY3F4.js.map → NumCustomBinEditor.unit.spec-LSLSKQDW.js.map} +0 -0
  667. /package/dist/{NumDiscreteEditor-24W2A5IN.js.map → NumDiscreteEditor-X2MLECNT.js.map} +0 -0
  668. /package/dist/{NumDiscreteEditor.unit.spec-B5T42Z5S.js.map → NumDiscreteEditor.unit.spec-BZG7P4C7.js.map} +0 -0
  669. /package/dist/{NumRegularBinEditor-AING4HZ5.js.map → NumRegularBinEditor-CAGJ4ZWD.js.map} +0 -0
  670. /package/dist/{NumRegularBinEditor.unit.spec-UKSVZH2S.js.map → NumRegularBinEditor.unit.spec-GJSJC4DK.js.map} +0 -0
  671. /package/dist/{NumSplineEditor-54KNKHJX.js.map → NumSplineEditor-ND3RC7R6.js.map} +0 -0
  672. /package/dist/{NumSplineEditor.unit.spec-5FTST3Y5.js.map → NumSplineEditor.unit.spec-F67JQKPY.js.map} +0 -0
  673. /package/dist/{NumericDensity-C7DQZ5Q5.js.map → NumericDensity-VW7NIZU7.js.map} +0 -0
  674. /package/dist/{NumericDensity.unit.spec-HV6SD3ZS.js.map → NumericDensity.unit.spec-YHIMU23C.js.map} +0 -0
  675. /package/dist/{NumericHandler-FV3L23EC.js.map → NumericHandler-HCU6B2XV.js.map} +0 -0
  676. /package/dist/{NumericHandler.unit.spec-E72DXVBB.js.map → NumericHandler.unit.spec-6GVWAUED.js.map} +0 -0
  677. /package/dist/{ProteomeInput-3XTK74SN.js.map → ProteomeInput-SONQSTVD.js.map} +0 -0
  678. /package/dist/{RunChart2-X5FBZVRX.js.map → RunChart2-ZLBNG4JF.js.map} +0 -0
  679. /package/dist/{SC-WE5DG2CQ.js.map → SC-YDRE37LP.js.map} +0 -0
  680. /package/dist/{Volcano-2USCTLKO.js.map → Volcano-27ZERHXI.js.map} +0 -0
  681. /package/dist/{WSIViewer-U6VSJUFF.js.map → WSIViewer-2P7ANPBV.js.map} +0 -0
  682. /package/dist/{WsiSamplesPlot-VIKSG63U.js.map → WsiSamplesPlot-FM4B657P.js.map} +0 -0
  683. /package/dist/{adSandbox-VXUJGPD3.js.map → adSandbox-M6TBRE5W.js.map} +0 -0
  684. /package/dist/{animatedBubbleChart-4P7XLKSB.js.map → animatedBubbleChart-VYSSX52K.js.map} +0 -0
  685. /package/dist/{app-KHZT2BVF.js.map → app-BLJT7ZDG.js.map} +0 -0
  686. /package/dist/{app-XLYH3YPL.js.map → app-LSFSUJHF.js.map} +0 -0
  687. /package/dist/{bam-C23ZARYE.js.map → bam-ZMHBTBB4.js.map} +0 -0
  688. /package/dist/{barchart-KGXLYEIP.js.map → barchart-EF75MNTN.js.map} +0 -0
  689. /package/dist/{barchart.data-7OI5GZZ6.js.map → barchart.data-VWZB3R2Z.js.map} +0 -0
  690. /package/dist/{barchart.events-3KDNIFBG.js.map → barchart.events-AMYQOMBQ.js.map} +0 -0
  691. /package/dist/{barchart2-AT5FXOUY.js.map → barchart2-LOHN6NSE.js.map} +0 -0
  692. /package/dist/{block-TCWYUB4R.js.map → block-23BH5TZ3.js.map} +0 -0
  693. /package/dist/{block.init-7FHXQJNE.js.map → block.init-3BF6L23D.js.map} +0 -0
  694. /package/dist/{block.mds.expressionrank-UGZQK7Z3.js.map → block.mds.expressionrank-DSHATA2M.js.map} +0 -0
  695. /package/dist/{block.mds.geneboxplot-2CQLB4YN.js.map → block.mds.geneboxplot-RXQUOE3Y.js.map} +0 -0
  696. /package/dist/{block.mds.junction-JHPHWVOS.js.map → block.mds.junction-PN776TCD.js.map} +0 -0
  697. /package/dist/{block.mds.svcnv-E7P2SVKK.js.map → block.mds.svcnv-SOWUBH4K.js.map} +0 -0
  698. /package/dist/{block.svg-MVRR3C6V.js.map → block.svg-ZPYMFAGC.js.map} +0 -0
  699. /package/dist/{block.tk.aicheck-KX46G4TR.js.map → block.tk.aicheck-E22ZJJFP.js.map} +0 -0
  700. /package/dist/{block.tk.ase-WMXI47BF.js.map → block.tk.ase-S54Z5A4G.js.map} +0 -0
  701. /package/dist/{block.tk.bam-KFEGVEQQ.js.map → block.tk.bam-YOELFYXU.js.map} +0 -0
  702. /package/dist/{block.tk.bedgraphdot-P4DBCWFK.js.map → block.tk.bedgraphdot-VFUWXPSL.js.map} +0 -0
  703. /package/dist/{block.tk.bigwig.ui-WJPH2Z7F.js.map → block.tk.bigwig.ui-2SJYUPR3.js.map} +0 -0
  704. /package/dist/{block.tk.hicstraw-RSD6I2NX.js.map → block.tk.hicstraw-GZVE4HQG.js.map} +0 -0
  705. /package/dist/{block.tk.junction.textmatrixui-UCWGHZDI.js.map → block.tk.junction.textmatrixui-A726SAAL.js.map} +0 -0
  706. /package/dist/{block.tk.ld-ERSIIBM2.js.map → block.tk.ld-THUOBW72.js.map} +0 -0
  707. /package/dist/{block.tk.menu-2ZNXE7CE.js.map → block.tk.menu-V3VGODVI.js.map} +0 -0
  708. /package/dist/{block.tk.pgv-EJLACCFR.js.map → block.tk.pgv-CNUGIK5J.js.map} +0 -0
  709. /package/dist/{brainImaging-BMZJY6OT.js.map → brainImaging-4PF74IEK.js.map} +0 -0
  710. /package/dist/{brainRegions-RZEBXPAS.js.map → brainRegions-U5K3KEQF.js.map} +0 -0
  711. /package/dist/{chunk-EDXQKDVQ.js.map → chunk-2FTXOPE2.js.map} +0 -0
  712. /package/dist/{chunk-5X5LI5YM.js.map → chunk-2MCUT32T.js.map} +0 -0
  713. /package/dist/{chunk-XQSQQSGB.js.map → chunk-2SZ2VLOG.js.map} +0 -0
  714. /package/dist/{chunk-HXZSSHEB.js.map → chunk-2XBWB6P2.js.map} +0 -0
  715. /package/dist/{chunk-HXNUQOGN.js.map → chunk-34VSTY2U.js.map} +0 -0
  716. /package/dist/{chunk-SC6IPDJR.js.map → chunk-44VQIATQ.js.map} +0 -0
  717. /package/dist/{chunk-LLX3NKB4.js.map → chunk-5B5FZPZI.js.map} +0 -0
  718. /package/dist/{chunk-NLQQIVTC.js.map → chunk-5DSLFEAN.js.map} +0 -0
  719. /package/dist/{chunk-UDL2DEBB.js.map → chunk-5DSQOV7M.js.map} +0 -0
  720. /package/dist/{chunk-455XZIIA.js.map → chunk-7CZI6SE7.js.map} +0 -0
  721. /package/dist/{chunk-KNOFEVOJ.js.map → chunk-7NABQ2JU.js.map} +0 -0
  722. /package/dist/{chunk-4JWN7E7Q.js.map → chunk-7VMFUE64.js.map} +0 -0
  723. /package/dist/{chunk-27FPMFP2.js.map → chunk-7WBS7ZUI.js.map} +0 -0
  724. /package/dist/{chunk-K3OJJZCQ.js.map → chunk-AK5Z4PLV.js.map} +0 -0
  725. /package/dist/{chunk-B6U3EDAF.js.map → chunk-B3XMNPZY.js.map} +0 -0
  726. /package/dist/{chunk-KM4JBR26.js.map → chunk-B4VBTVVQ.js.map} +0 -0
  727. /package/dist/{chunk-N6QEVQZV.js.map → chunk-CHUE5Y7Y.js.map} +0 -0
  728. /package/dist/{chunk-DNVSEW6P.js.map → chunk-CNBLRB4P.js.map} +0 -0
  729. /package/dist/{chunk-UXDVUCXU.js.map → chunk-CPMOBFFR.js.map} +0 -0
  730. /package/dist/{chunk-E6XLLQCG.js.map → chunk-D3TU3RDU.js.map} +0 -0
  731. /package/dist/{chunk-EC3SKPQT.js.map → chunk-E2KY2IZS.js.map} +0 -0
  732. /package/dist/{chunk-ZUC4XNWU.js.map → chunk-FBMDK2UA.js.map} +0 -0
  733. /package/dist/{chunk-YQMENK5H.js.map → chunk-FSWSZZTG.js.map} +0 -0
  734. /package/dist/{chunk-N3JT3KCV.js.map → chunk-GPGCGFFS.js.map} +0 -0
  735. /package/dist/{chunk-C6YT5EM2.js.map → chunk-H5DR6OYM.js.map} +0 -0
  736. /package/dist/{chunk-OR43PGBV.js.map → chunk-HVZQYGQN.js.map} +0 -0
  737. /package/dist/{chunk-NU2W6B7I.js.map → chunk-HYIDLSEL.js.map} +0 -0
  738. /package/dist/{chunk-N25ENPO3.js.map → chunk-IDX6WU4U.js.map} +0 -0
  739. /package/dist/{chunk-COYULNJF.js.map → chunk-IQTEW3SK.js.map} +0 -0
  740. /package/dist/{chunk-74XVBQF7.js.map → chunk-JVVOJREJ.js.map} +0 -0
  741. /package/dist/{chunk-CLN7ANNL.js.map → chunk-KIGAMN3Z.js.map} +0 -0
  742. /package/dist/{chunk-F5ONTCHE.js.map → chunk-LAQZX5PA.js.map} +0 -0
  743. /package/dist/{chunk-MQJVDIQK.js.map → chunk-LRPQBMQE.js.map} +0 -0
  744. /package/dist/{chunk-73R5BVCY.js.map → chunk-M7JGRSFA.js.map} +0 -0
  745. /package/dist/{chunk-JWHFMFF2.js.map → chunk-MAACMLMN.js.map} +0 -0
  746. /package/dist/{chunk-6G4YOMWW.js.map → chunk-MNPTPENH.js.map} +0 -0
  747. /package/dist/{chunk-NJDW6ZQP.js.map → chunk-MU3ZC4RW.js.map} +0 -0
  748. /package/dist/{chunk-FABY3ISP.js.map → chunk-N6ALTSJ2.js.map} +0 -0
  749. /package/dist/{chunk-XVXAQ3FI.js.map → chunk-N7326KA3.js.map} +0 -0
  750. /package/dist/{chunk-PXCFA4ZQ.js.map → chunk-O64WQLAV.js.map} +0 -0
  751. /package/dist/{chunk-FVX76DZS.js.map → chunk-OEOYTMMY.js.map} +0 -0
  752. /package/dist/{chunk-IKDWQJZE.js.map → chunk-P3QPMVML.js.map} +0 -0
  753. /package/dist/{chunk-ATUYZWHV.js.map → chunk-PJM6MUTT.js.map} +0 -0
  754. /package/dist/{chunk-6YVEYTNH.js.map → chunk-QPAZPA3N.js.map} +0 -0
  755. /package/dist/{chunk-7I3LST7R.js.map → chunk-RG222M4S.js.map} +0 -0
  756. /package/dist/{chunk-55MOHL3P.js.map → chunk-S46UPZFM.js.map} +0 -0
  757. /package/dist/{chunk-GVCQGWN7.js.map → chunk-UDTNSJY2.js.map} +0 -0
  758. /package/dist/{chunk-FOPHIWFD.js.map → chunk-UPNKFGTN.js.map} +0 -0
  759. /package/dist/{chunk-JEZUPG4J.js.map → chunk-UZKHBBWY.js.map} +0 -0
  760. /package/dist/{chunk-CLNSNNQU.js.map → chunk-VG6GVF6D.js.map} +0 -0
  761. /package/dist/{chunk-EY253UB7.js.map → chunk-VO4FCZOR.js.map} +0 -0
  762. /package/dist/{chunk-CDUNE45Q.js.map → chunk-VZBMCJBR.js.map} +0 -0
  763. /package/dist/{chunk-PWUERAAF.js.map → chunk-WR4UATTO.js.map} +0 -0
  764. /package/dist/{chunk-VRLC7DAU.js.map → chunk-XNYATA6C.js.map} +0 -0
  765. /package/dist/{chunk-QSEGY3U5.js.map → chunk-Y5FH3TEH.js.map} +0 -0
  766. /package/dist/{chunk-GBXX3AHJ.js.map → chunk-YIFCXFWE.js.map} +0 -0
  767. /package/dist/{chunk-BO47H3VP.js.map → chunk-YRXB3MKU.js.map} +0 -0
  768. /package/dist/{chunk-DBFKUPM6.js.map → chunk-Z7UVDJKK.js.map} +0 -0
  769. /package/dist/{chunk-VDIVDU3T.js.map → chunk-ZDEMAKRA.js.map} +0 -0
  770. /package/dist/{condition-ZPFBPMEZ.js.map → condition-6UUQ3AAI.js.map} +0 -0
  771. /package/dist/{controls-LIVMV2GV.js.map → controls-N2NIGPHY.js.map} +0 -0
  772. /package/dist/{controls.config-2EOMBN5E.js.map → controls.config-YYIMJHWN.js.map} +0 -0
  773. /package/dist/{correlation-D6GAPOP5.js.map → correlation-DYUMFMTU.js.map} +0 -0
  774. /package/dist/{cuminc-GPFDRNUP.js.map → cuminc-EUXCL53V.js.map} +0 -0
  775. /package/dist/{cuminc.integration.spec-V4JYKLA6.js.map → cuminc.integration.spec-ZQFMIBF6.js.map} +0 -0
  776. /package/dist/{customdata.inputui-DSEUS3CT.js.map → customdata.inputui-U2VXVWJ3.js.map} +0 -0
  777. /package/dist/{dataDownload-KT6K3M7Q.js.map → dataDownload-QK2VYWYW.js.map} +0 -0
  778. /package/dist/{dataDownload.integration.spec-VEX2RTSA.js.map → dataDownload.integration.spec-NG4ZASWC.js.map} +0 -0
  779. /package/dist/{databrowser.ui-VJKNMIXA.js.map → databrowser.ui-ALW4LSLA.js.map} +0 -0
  780. /package/dist/{dictionary-B27BMR5H.js.map → dictionary-F7BPXOBO.js.map} +0 -0
  781. /package/dist/{dnaMethylation-BWQGUXVR.js.map → dnaMethylation-XNRJIBAH.js.map} +0 -0
  782. /package/dist/{dnaMethylation.integration.spec-YMGT2HYZ.js.map → dnaMethylation.integration.spec-F5ODQTVL.js.map} +0 -0
  783. /package/dist/{dofetch-BMSZZAAQ.js.map → dofetch-IYEI7WSH.js.map} +0 -0
  784. /package/dist/{e2pca-KSY4DP53.js.map → e2pca-BHB7UMS5.js.map} +0 -0
  785. /package/dist/{ep-4PAYGMWK.js.map → ep-QRFUVFSK.js.map} +0 -0
  786. /package/dist/{expclust.gdc.spec-XXFP2HHE.js.map → expclust.gdc.spec-LMH7QAU4.js.map} +0 -0
  787. /package/dist/{facet-VCJQ7QPE.js.map → facet-34HXG7MO.js.map} +0 -0
  788. /package/dist/{forms2-IUD2SNOQ.js.map → forms2-ZQUPKXE5.js.map} +0 -0
  789. /package/dist/{gb-JDH242LG.js.map → gb-HWZ5KZXX.js.map} +0 -0
  790. /package/dist/{geneExpClustering-L23JB7XA.js.map → geneExpClustering-KFMP553E.js.map} +0 -0
  791. /package/dist/{geneExpression-P2ERCRXO.js.map → geneExpression-E2GIRM6Z.js.map} +0 -0
  792. /package/dist/{geneExpression-QGPVFAN4.js.map → geneExpression-QODFRNS4.js.map} +0 -0
  793. /package/dist/{geneExpression.unit.spec-6BQBM6VL.js.map → geneExpression.unit.spec-HV44ABGV.js.map} +0 -0
  794. /package/dist/{geneORA-XIMJP665.js.map → geneORA-MJ6MFW2K.js.map} +0 -0
  795. /package/dist/{geneVariant-AUUZ7S2B.js.map → geneVariant-QT6E7YZN.js.map} +0 -0
  796. /package/dist/{geneVariant-H6BGRRON.js.map → geneVariant-UYQ4XIOQ.js.map} +0 -0
  797. /package/dist/{geneVariant.integration.spec-FRCH6VI4.js.map → geneVariant.integration.spec-HQ5GJ7UM.js.map} +0 -0
  798. /package/dist/{genefusion.ui-AAJ37VFA.js.map → genefusion.ui-5KYGD7JL.js.map} +0 -0
  799. /package/dist/{geneset-5ARBBUYH.js.map → geneset-M6T24ZYZ.js.map} +0 -0
  800. /package/dist/{genomeBrowser.spec-RV7YBSMZ.js.map → genomeBrowser.spec-CVH4S5KZ.js.map} +0 -0
  801. /package/dist/{grin2-4MYLICII.js.map → grin2-QU2UCKKE.js.map} +0 -0
  802. /package/dist/{gsea-XUMCVLFK.js.map → gsea-EGWJAATJ.js.map} +0 -0
  803. /package/dist/{hierCluster-HXOTNMC5.js.map → hierCluster-4OJ7BHAB.js.map} +0 -0
  804. /package/dist/{hierCluster-PEDY7OTZ.js.map → hierCluster-P4HGGVK7.js.map} +0 -0
  805. /package/dist/{hierCluster.config-RKYCGNWW.js.map → hierCluster.config-5DGS5EH4.js.map} +0 -0
  806. /package/dist/{hierCluster.interactivity-LPTHVWHR.js.map → hierCluster.interactivity-VEHJHBKY.js.map} +0 -0
  807. /package/dist/{hierCluster.renderers-4XWKHCNW.js.map → hierCluster.renderers-OEVSBUBK.js.map} +0 -0
  808. /package/dist/{imagePlot-3DF7ZH3U.js.map → imagePlot-MMJYC4DX.js.map} +0 -0
  809. /package/dist/{importPlot-N74SV3TL.js.map → importPlot-4HJ6VR4P.js.map} +0 -0
  810. /package/dist/{isoformExpression-FU7Y4OGU.js.map → isoformExpression-EISYQF2S.js.map} +0 -0
  811. /package/dist/{isoformExpression.unit.spec-BLQDKV37.js.map → isoformExpression.unit.spec-YKBWVL7C.js.map} +0 -0
  812. /package/dist/{jspdf.es.min-TFJHKUF5.js.map → jspdf.es.min-NXISJ3W7.js.map} +0 -0
  813. /package/dist/{launch.adhoc-Y35FZV6H.js.map → launch.adhoc-U3KOGDIC.js.map} +0 -0
  814. /package/dist/{leftlabel.sample-ERJGAYTF.js.map → leftlabel.sample-LVF5WLMZ.js.map} +0 -0
  815. /package/dist/{lollipop-DU37Q5E2.js.map → lollipop-HX2WLD5J.js.map} +0 -0
  816. /package/dist/{maftimeline-GRXGOOSJ.js.map → maftimeline-VN6SYUPQ.js.map} +0 -0
  817. /package/dist/{matrix-G3BULZ7Y.js.map → matrix-6UASVMIW.js.map} +0 -0
  818. /package/dist/{matrix-TCTX26A4.js.map → matrix-FYYLVW7O.js.map} +0 -0
  819. /package/dist/{matrix.cells-ED6RS5EC.js.map → matrix.cells-3RUGV7XG.js.map} +0 -0
  820. /package/dist/{matrix.config-QHO2YNOT.js.map → matrix.config-ELBFN3JN.js.map} +0 -0
  821. /package/dist/{matrix.data-KQFMXWRX.js.map → matrix.data-MHFF47ZY.js.map} +0 -0
  822. /package/dist/{matrix.groups-RE74EFLY.js.map → matrix.groups-UJRFFG5J.js.map} +0 -0
  823. /package/dist/{matrix.integration.spec-Y4FCZ2Q2.js.map → matrix.integration.spec-5DUNUOQ3.js.map} +0 -0
  824. /package/dist/{matrix.interactivity-3DW5WAM3.js.map → matrix.interactivity-2TZ3ON4H.js.map} +0 -0
  825. /package/dist/{matrix.layout-W57D765I.js.map → matrix.layout-IGUBUCB2.js.map} +0 -0
  826. /package/dist/{matrix.legend-ZST44PIB.js.map → matrix.legend-UBQF6LMD.js.map} +0 -0
  827. /package/dist/{matrix.renderers-NFRKXO7Y.js.map → matrix.renderers-ON2EXXIS.js.map} +0 -0
  828. /package/dist/{matrix.serieses-6ZKTFVWY.js.map → matrix.serieses-5XH7NO23.js.map} +0 -0
  829. /package/dist/{matrix.sort-2UE47IOC.js.map → matrix.sort-QSWTVRJT.js.map} +0 -0
  830. /package/dist/{matrix.sort.unit.spec-5CMWEXPE.js.map → matrix.sort.unit.spec-7Y6D456I.js.map} +0 -0
  831. /package/dist/{matrix.sorterUi.unit.spec-Y2HXWHJN.js.map → matrix.sorterUi.unit.spec-3XNGEZZ2.js.map} +0 -0
  832. /package/dist/{mavb-BI4XKI5P.js.map → mavb-J4AUXBHZ.js.map} +0 -0
  833. /package/dist/{mds.fimo-UJYESPNC.js.map → mds.fimo-I6OALZRX.js.map} +0 -0
  834. /package/dist/{mds.samplescatterplot-JKU5B4QR.js.map → mds.samplescatterplot-XSWR37S5.js.map} +0 -0
  835. /package/dist/{mds.survivalplot-OP7Y4D3L.js.map → mds.survivalplot-Q3TE4A5P.js.map} +0 -0
  836. /package/dist/{oncomatrix-A3IE47HV.js.map → oncomatrix-C4RDUA2C.js.map} +0 -0
  837. /package/dist/{oncomatrix.spec-TDWB2ROF.js.map → oncomatrix.spec-QVD3XUTH.js.map} +0 -0
  838. /package/dist/{plot.2dvaf-XY34TDSM.js.map → plot.2dvaf-MNONDWFA.js.map} +0 -0
  839. /package/dist/{plot.app-WRCBLYGO.js.map → plot.app-3T275PW5.js.map} +0 -0
  840. /package/dist/{plot.barplot-RXGOUNHM.js.map → plot.barplot-LOLIPHXG.js.map} +0 -0
  841. /package/dist/{plot.boxplot-GBZGSS3D.js.map → plot.boxplot-I6CAYXPV.js.map} +0 -0
  842. /package/dist/{plot.brainImaging-DYPKMNHL.js.map → plot.brainImaging-Y76KB6IC.js.map} +0 -0
  843. /package/dist/{plot.disco-5K2SCKJ4.js.map → plot.disco-N5ISUUNQ.js.map} +0 -0
  844. /package/dist/{plot.dzi-THJIFHIS.js.map → plot.dzi-Q6K542P6.js.map} +0 -0
  845. /package/dist/{plot.ssgq-FSIUIV3A.js.map → plot.ssgq-OGLNOY4Q.js.map} +0 -0
  846. /package/dist/{plot.vaf2cov-HP6KEBVJ.js.map → plot.vaf2cov-NXQ5D3KA.js.map} +0 -0
  847. /package/dist/{plot.wsi-MR6JMOXW.js.map → plot.wsi-YMDUOZ57.js.map} +0 -0
  848. /package/dist/{polar2-IT3OF5DX.js.map → polar2-AQ2W3SNH.js.map} +0 -0
  849. /package/dist/{profileForms-XXGJVF2T.js.map → profileForms-TCPZPI22.js.map} +0 -0
  850. /package/dist/{profilePlot-J2C35OEY.js.map → profilePlot-4RKKICKC.js.map} +0 -0
  851. /package/dist/{qualitative-N7S2JHZM.js.map → qualitative-NCFIVW6S.js.map} +0 -0
  852. /package/dist/{radar2-CDDOQGQX.js.map → radar2-UJFFZE7T.js.map} +0 -0
  853. /package/dist/{radarFacility2-ZQTHO2ON.js.map → radarFacility2-ATQBCF3N.js.map} +0 -0
  854. /package/dist/{regression-PBGAMZAV.js.map → regression-4RSS7447.js.map} +0 -0
  855. /package/dist/{regression.inputs-54E5YKI4.js.map → regression.inputs-5XGUGNWV.js.map} +0 -0
  856. /package/dist/{regression.inputs.term-52MBTMVM.js.map → regression.inputs.term-LSJAZWE4.js.map} +0 -0
  857. /package/dist/{regression.inputs.values.table-F3FOAYFV.js.map → regression.inputs.values.table-GNIJZETG.js.map} +0 -0
  858. /package/dist/{regression.integration.spec-M4RPJUE4.js.map → regression.integration.spec-MV652K47.js.map} +0 -0
  859. /package/dist/{regression.results-JOK6I2ZD.js.map → regression.results-M3YH6ZD3.js.map} +0 -0
  860. /package/dist/{regression.spec-O4HZB2HQ.js.map → regression.spec-455WPZHP.js.map} +0 -0
  861. /package/dist/{report-BDDTM7SV.js.map → report-MH3V7SHZ.js.map} +0 -0
  862. /package/dist/{sampleScatter.spec-272GLYEK.js.map → sampleScatter.spec-OTIL3JDG.js.map} +0 -0
  863. /package/dist/{sampleView-E6OHEEP4.js.map → sampleView-DHACOCEG.js.map} +0 -0
  864. /package/dist/{samplelst-3LNF3DBG.js.map → samplelst-F3AXOE2D.js.map} +0 -0
  865. /package/dist/{samplematrix-HL445X7I.js.map → samplematrix-M6CKKVNE.js.map} +0 -0
  866. /package/dist/{sc-4LELHVIS.js.map → sc-S5XA37JJ.js.map} +0 -0
  867. /package/dist/{scatter-IZIZURQD.js.map → scatter-IRPFNDHW.js.map} +0 -0
  868. /package/dist/{scatter.integration.spec-BBEWMA7M.js.map → scatter.integration.spec-5FWVHMVJ.js.map} +0 -0
  869. /package/dist/{selectGenomeWithTklst-5LQGT4Z7.js.map → selectGenomeWithTklst-NIOUX6MV.js.map} +0 -0
  870. /package/dist/{singleCellCellType-T3ZT64EK.js.map → singleCellCellType-FTGLNH2J.js.map} +0 -0
  871. /package/dist/{singleCellCellType.unit.spec-AE4IAHOF.js.map → singleCellCellType.unit.spec-BJ5YZAXF.js.map} +0 -0
  872. /package/dist/{singleCellGeneExpression-SRJXSDEB.js.map → singleCellGeneExpression-56EDDG5H.js.map} +0 -0
  873. /package/dist/{singleCellGeneExpression.unit.spec-EPL73UUO.js.map → singleCellGeneExpression.unit.spec-XSQRWAI3.js.map} +0 -0
  874. /package/dist/{singleCellPlot-P2BHFTYZ.js.map → singleCellPlot-TH77EJZ4.js.map} +0 -0
  875. /package/dist/{singlecell-7KRD5DP7.js.map → singlecell-3QZQZM32.js.map} +0 -0
  876. /package/dist/{singlecell-32SSD7VN.js.map → singlecell-7KJMBASC.js.map} +0 -0
  877. /package/dist/{snp-LE5R377N.js.map → snp-YXG5O4U4.js.map} +0 -0
  878. /package/dist/{snp.unit.spec-UY6KQ5NJ.js.map → snp.unit.spec-O27J7OOK.js.map} +0 -0
  879. /package/dist/{snplocus-CP34ABUJ.js.map → snplocus-CQZSC7P6.js.map} +0 -0
  880. /package/dist/{spliceevent.a53ss.diagram-JWLWQDNJ.js.map → spliceevent.a53ss.diagram-K5ZDPZE6.js.map} +0 -0
  881. /package/dist/{spliceevent.exonskip.diagram-C5526P7P.js.map → spliceevent.exonskip.diagram-A2VZ3TTF.js.map} +0 -0
  882. /package/dist/{spliceevent.noeventdiagram-352M63YB.js.map → spliceevent.noeventdiagram-DJDA6ENK.js.map} +0 -0
  883. /package/dist/{ssGSEA-BFTCECV3.js.map → ssGSEA-3FTGRUTC.js.map} +0 -0
  884. /package/dist/{ssGSEA.unit.spec-4OUCKRDQ.js.map → ssGSEA.unit.spec-GF35KBTX.js.map} +0 -0
  885. /package/dist/{summarizeCnvGeneexp-Y3AWFIZA.js.map → summarizeCnvGeneexp-6IDTNOYE.js.map} +0 -0
  886. /package/dist/{summarizeMutationCnv-KCOVQEBC.js.map → summarizeMutationCnv-BMEN3XNV.js.map} +0 -0
  887. /package/dist/{summarizeMutationDiagnosis-EQXEQABW.js.map → summarizeMutationDiagnosis-LW6K6373.js.map} +0 -0
  888. /package/dist/{summarizeMutationSurvival-4VGLG4SC.js.map → summarizeMutationSurvival-E7REF2VY.js.map} +0 -0
  889. /package/dist/{summary-DXYCBNI4.js.map → summary-MKA7OJKE.js.map} +0 -0
  890. /package/dist/{summary.integration.spec-MZTJISLP.js.map → summary.integration.spec-IV6I6SNJ.js.map} +0 -0
  891. /package/dist/{summaryInput-5Z3XVIL6.js.map → summaryInput-NET6SPM4.js.map} +0 -0
  892. /package/dist/{sunburst-WVSQJYP2.js.map → sunburst-CO3MXFTJ.js.map} +0 -0
  893. /package/dist/{survival-3R3J2JBE.js.map → survival-MIPCEBS3.js.map} +0 -0
  894. /package/dist/{survival-XQWFVGCJ.js.map → survival-QQXTCNDU.js.map} +0 -0
  895. /package/dist/{svg2pdf.es.min-H4DXBG4O.js.map → svg2pdf.es.min-P2F6SSVJ.js.map} +0 -0
  896. /package/dist/{svgraph-SY2HVMYL.js.map → svgraph-YF7BS7TN.js.map} +0 -0
  897. /package/dist/{svmr-TIIMFKG7.js.map → svmr-J2JLQGEE.js.map} +0 -0
  898. /package/dist/{table-5RFTXIQL.js.map → table-7YL7I4GH.js.map} +0 -0
  899. /package/dist/{termCollection-23QXTZDN.js.map → termCollection-LNEN72IV.js.map} +0 -0
  900. /package/dist/{termCollection-7KXABWVW.js.map → termCollection-SOLNYAZ4.js.map} +0 -0
  901. /package/dist/{termCollection.unit.spec-4AN2Z4PQ.js.map → termCollection.unit.spec-LTX7UVYP.js.map} +0 -0
  902. /package/dist/{tk-WW6PJGPQ.js.map → tk-RZDP2YT5.js.map} +0 -0
  903. /package/dist/{tp.ui-S5PO3MPH.js.map → tp.ui-T6XXBHHD.js.map} +0 -0
  904. /package/dist/{tvs.dt-O7LUM5TK.js.map → tvs.dt-7APM37Y3.js.map} +0 -0
  905. /package/dist/{tvs.dtcnv.categorical-2OUFOD3W.js.map → tvs.dtcnv.categorical-YIPXQSIL.js.map} +0 -0
  906. /package/dist/{tvs.dtcnv.continuous-NOOUY5SZ.js.map → tvs.dtcnv.continuous-ITNZE3SH.js.map} +0 -0
  907. /package/dist/{tvs.dtfusion-KXQMP3UF.js.map → tvs.dtfusion-2JIIPDTN.js.map} +0 -0
  908. /package/dist/{tvs.dtsnvindel-PWHFTWZU.js.map → tvs.dtsnvindel-HO2PUFN2.js.map} +0 -0
  909. /package/dist/{tvs.dtsv-25FLS572.js.map → tvs.dtsv-7KCWSUYO.js.map} +0 -0
  910. /package/dist/{tvs.samplelst-FLXNJFIV.js.map → tvs.samplelst-KKWJQNLW.js.map} +0 -0
  911. /package/dist/{tvs.termCollection-PSVOMJE4.js.map → tvs.termCollection-R2IGRG2U.js.map} +0 -0
  912. /package/dist/{violin-SWMEFWRA.js.map → violin-OTPZQTGA.js.map} +0 -0
  913. /package/dist/{violin.integration.spec-6EQ6GC2N.js.map → violin.integration.spec-KESWDSBM.js.map} +0 -0
  914. /package/dist/{violin.interactivity-WBIWPLSM.js.map → violin.interactivity-Q2WALZO3.js.map} +0 -0
  915. /package/dist/{violin.renderer-3WARZUOH.js.map → violin.renderer-WIRIV7QY.js.map} +0 -0
  916. /package/dist/{vocabulary-WLHYHDX7.js.map → vocabulary-XXDHHHPJ.js.map} +0 -0
@@ -0,0 +1,2786 @@
1
+ import {
2
+ addGeneSearchbox,
3
+ appear2 as appear,
4
+ newSandboxDiv,
5
+ sayerror,
6
+ tab_wait
7
+ } from "./chunk-LYULXXGR.js";
8
+ import {
9
+ Menu
10
+ } from "./chunk-HYOEWQ5P.js";
11
+ import {
12
+ Tabs
13
+ } from "./chunk-HBW42TDT.js";
14
+ import {
15
+ dofetch,
16
+ dofetch3
17
+ } from "./chunk-MNPTPENH.js";
18
+ import {
19
+ select_default
20
+ } from "./chunk-I6Y4O3RR.js";
21
+ import {
22
+ __commonJS,
23
+ __toESM
24
+ } from "./chunk-HFNDKYVF.js";
25
+
26
+ // ../node_modules/highlight.js/lib/core.js
27
+ var require_core = __commonJS({
28
+ "../node_modules/highlight.js/lib/core.js"(exports, module) {
29
+ var deepFreezeEs6 = { exports: {} };
30
+ function deepFreeze(obj) {
31
+ if (obj instanceof Map) {
32
+ obj.clear = obj.delete = obj.set = function() {
33
+ throw new Error("map is read-only");
34
+ };
35
+ } else if (obj instanceof Set) {
36
+ obj.add = obj.clear = obj.delete = function() {
37
+ throw new Error("set is read-only");
38
+ };
39
+ }
40
+ Object.freeze(obj);
41
+ Object.getOwnPropertyNames(obj).forEach(function(name) {
42
+ var prop = obj[name];
43
+ if (typeof prop == "object" && !Object.isFrozen(prop)) {
44
+ deepFreeze(prop);
45
+ }
46
+ });
47
+ return obj;
48
+ }
49
+ deepFreezeEs6.exports = deepFreeze;
50
+ deepFreezeEs6.exports.default = deepFreeze;
51
+ var deepFreeze$1 = deepFreezeEs6.exports;
52
+ var Response = class {
53
+ /**
54
+ * @param {CompiledMode} mode
55
+ */
56
+ constructor(mode) {
57
+ if (mode.data === void 0) mode.data = {};
58
+ this.data = mode.data;
59
+ this.isMatchIgnored = false;
60
+ }
61
+ ignoreMatch() {
62
+ this.isMatchIgnored = true;
63
+ }
64
+ };
65
+ function escapeHTML(value) {
66
+ return value.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
67
+ }
68
+ function inherit$1(original, ...objects) {
69
+ const result = /* @__PURE__ */ Object.create(null);
70
+ for (const key in original) {
71
+ result[key] = original[key];
72
+ }
73
+ objects.forEach(function(obj) {
74
+ for (const key in obj) {
75
+ result[key] = obj[key];
76
+ }
77
+ });
78
+ return (
79
+ /** @type {T} */
80
+ result
81
+ );
82
+ }
83
+ var SPAN_CLOSE = "</span>";
84
+ var emitsWrappingTags = (node) => {
85
+ return !!node.kind;
86
+ };
87
+ var expandScopeName = (name, { prefix }) => {
88
+ if (name.includes(".")) {
89
+ const pieces = name.split(".");
90
+ return [
91
+ `${prefix}${pieces.shift()}`,
92
+ ...pieces.map((x, i) => `${x}${"_".repeat(i + 1)}`)
93
+ ].join(" ");
94
+ }
95
+ return `${prefix}${name}`;
96
+ };
97
+ var HTMLRenderer = class {
98
+ /**
99
+ * Creates a new HTMLRenderer
100
+ *
101
+ * @param {Tree} parseTree - the parse tree (must support `walk` API)
102
+ * @param {{classPrefix: string}} options
103
+ */
104
+ constructor(parseTree, options) {
105
+ this.buffer = "";
106
+ this.classPrefix = options.classPrefix;
107
+ parseTree.walk(this);
108
+ }
109
+ /**
110
+ * Adds texts to the output stream
111
+ *
112
+ * @param {string} text */
113
+ addText(text) {
114
+ this.buffer += escapeHTML(text);
115
+ }
116
+ /**
117
+ * Adds a node open to the output stream (if needed)
118
+ *
119
+ * @param {Node} node */
120
+ openNode(node) {
121
+ if (!emitsWrappingTags(node)) return;
122
+ let scope = node.kind;
123
+ if (node.sublanguage) {
124
+ scope = `language-${scope}`;
125
+ } else {
126
+ scope = expandScopeName(scope, { prefix: this.classPrefix });
127
+ }
128
+ this.span(scope);
129
+ }
130
+ /**
131
+ * Adds a node close to the output stream (if needed)
132
+ *
133
+ * @param {Node} node */
134
+ closeNode(node) {
135
+ if (!emitsWrappingTags(node)) return;
136
+ this.buffer += SPAN_CLOSE;
137
+ }
138
+ /**
139
+ * returns the accumulated buffer
140
+ */
141
+ value() {
142
+ return this.buffer;
143
+ }
144
+ // helpers
145
+ /**
146
+ * Builds a span element
147
+ *
148
+ * @param {string} className */
149
+ span(className) {
150
+ this.buffer += `<span class="${className}">`;
151
+ }
152
+ };
153
+ var TokenTree = class _TokenTree {
154
+ constructor() {
155
+ this.rootNode = { children: [] };
156
+ this.stack = [this.rootNode];
157
+ }
158
+ get top() {
159
+ return this.stack[this.stack.length - 1];
160
+ }
161
+ get root() {
162
+ return this.rootNode;
163
+ }
164
+ /** @param {Node} node */
165
+ add(node) {
166
+ this.top.children.push(node);
167
+ }
168
+ /** @param {string} kind */
169
+ openNode(kind) {
170
+ const node = { kind, children: [] };
171
+ this.add(node);
172
+ this.stack.push(node);
173
+ }
174
+ closeNode() {
175
+ if (this.stack.length > 1) {
176
+ return this.stack.pop();
177
+ }
178
+ return void 0;
179
+ }
180
+ closeAllNodes() {
181
+ while (this.closeNode()) ;
182
+ }
183
+ toJSON() {
184
+ return JSON.stringify(this.rootNode, null, 4);
185
+ }
186
+ /**
187
+ * @typedef { import("./html_renderer").Renderer } Renderer
188
+ * @param {Renderer} builder
189
+ */
190
+ walk(builder) {
191
+ return this.constructor._walk(builder, this.rootNode);
192
+ }
193
+ /**
194
+ * @param {Renderer} builder
195
+ * @param {Node} node
196
+ */
197
+ static _walk(builder, node) {
198
+ if (typeof node === "string") {
199
+ builder.addText(node);
200
+ } else if (node.children) {
201
+ builder.openNode(node);
202
+ node.children.forEach((child) => this._walk(builder, child));
203
+ builder.closeNode(node);
204
+ }
205
+ return builder;
206
+ }
207
+ /**
208
+ * @param {Node} node
209
+ */
210
+ static _collapse(node) {
211
+ if (typeof node === "string") return;
212
+ if (!node.children) return;
213
+ if (node.children.every((el) => typeof el === "string")) {
214
+ node.children = [node.children.join("")];
215
+ } else {
216
+ node.children.forEach((child) => {
217
+ _TokenTree._collapse(child);
218
+ });
219
+ }
220
+ }
221
+ };
222
+ var TokenTreeEmitter = class extends TokenTree {
223
+ /**
224
+ * @param {*} options
225
+ */
226
+ constructor(options) {
227
+ super();
228
+ this.options = options;
229
+ }
230
+ /**
231
+ * @param {string} text
232
+ * @param {string} kind
233
+ */
234
+ addKeyword(text, kind) {
235
+ if (text === "") {
236
+ return;
237
+ }
238
+ this.openNode(kind);
239
+ this.addText(text);
240
+ this.closeNode();
241
+ }
242
+ /**
243
+ * @param {string} text
244
+ */
245
+ addText(text) {
246
+ if (text === "") {
247
+ return;
248
+ }
249
+ this.add(text);
250
+ }
251
+ /**
252
+ * @param {Emitter & {root: DataNode}} emitter
253
+ * @param {string} name
254
+ */
255
+ addSublanguage(emitter, name) {
256
+ const node = emitter.root;
257
+ node.kind = name;
258
+ node.sublanguage = true;
259
+ this.add(node);
260
+ }
261
+ toHTML() {
262
+ const renderer = new HTMLRenderer(this, this.options);
263
+ return renderer.value();
264
+ }
265
+ finalize() {
266
+ return true;
267
+ }
268
+ };
269
+ function source2(re) {
270
+ if (!re) return null;
271
+ if (typeof re === "string") return re;
272
+ return re.source;
273
+ }
274
+ function lookahead2(re) {
275
+ return concat2("(?=", re, ")");
276
+ }
277
+ function concat2(...args) {
278
+ const joined = args.map((x) => source2(x)).join("");
279
+ return joined;
280
+ }
281
+ function stripOptionsFromArgs(args) {
282
+ const opts = args[args.length - 1];
283
+ if (typeof opts === "object" && opts.constructor === Object) {
284
+ args.splice(args.length - 1, 1);
285
+ return opts;
286
+ } else {
287
+ return {};
288
+ }
289
+ }
290
+ function either(...args) {
291
+ const opts = stripOptionsFromArgs(args);
292
+ const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source2(x)).join("|") + ")";
293
+ return joined;
294
+ }
295
+ function countMatchGroups(re) {
296
+ return new RegExp(re.toString() + "|").exec("").length - 1;
297
+ }
298
+ function startsWith(re, lexeme) {
299
+ const match = re && re.exec(lexeme);
300
+ return match && match.index === 0;
301
+ }
302
+ var BACKREF_RE = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
303
+ function _rewriteBackreferences(regexps, { joinWith }) {
304
+ let numCaptures = 0;
305
+ return regexps.map((regex) => {
306
+ numCaptures += 1;
307
+ const offset = numCaptures;
308
+ let re = source2(regex);
309
+ let out = "";
310
+ while (re.length > 0) {
311
+ const match = BACKREF_RE.exec(re);
312
+ if (!match) {
313
+ out += re;
314
+ break;
315
+ }
316
+ out += re.substring(0, match.index);
317
+ re = re.substring(match.index + match[0].length);
318
+ if (match[0][0] === "\\" && match[1]) {
319
+ out += "\\" + String(Number(match[1]) + offset);
320
+ } else {
321
+ out += match[0];
322
+ if (match[0] === "(") {
323
+ numCaptures++;
324
+ }
325
+ }
326
+ }
327
+ return out;
328
+ }).map((re) => `(${re})`).join(joinWith);
329
+ }
330
+ var MATCH_NOTHING_RE = /\b\B/;
331
+ var IDENT_RE2 = "[a-zA-Z]\\w*";
332
+ var UNDERSCORE_IDENT_RE = "[a-zA-Z_]\\w*";
333
+ var NUMBER_RE = "\\b\\d+(\\.\\d+)?";
334
+ var C_NUMBER_RE = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";
335
+ var BINARY_NUMBER_RE = "\\b(0b[01]+)";
336
+ var RE_STARTERS_RE = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";
337
+ var SHEBANG = (opts = {}) => {
338
+ const beginShebang = /^#![ ]*\//;
339
+ if (opts.binary) {
340
+ opts.begin = concat2(
341
+ beginShebang,
342
+ /.*\b/,
343
+ opts.binary,
344
+ /\b.*/
345
+ );
346
+ }
347
+ return inherit$1({
348
+ scope: "meta",
349
+ begin: beginShebang,
350
+ end: /$/,
351
+ relevance: 0,
352
+ /** @type {ModeCallback} */
353
+ "on:begin": (m, resp) => {
354
+ if (m.index !== 0) resp.ignoreMatch();
355
+ }
356
+ }, opts);
357
+ };
358
+ var BACKSLASH_ESCAPE = {
359
+ begin: "\\\\[\\s\\S]",
360
+ relevance: 0
361
+ };
362
+ var APOS_STRING_MODE = {
363
+ scope: "string",
364
+ begin: "'",
365
+ end: "'",
366
+ illegal: "\\n",
367
+ contains: [BACKSLASH_ESCAPE]
368
+ };
369
+ var QUOTE_STRING_MODE = {
370
+ scope: "string",
371
+ begin: '"',
372
+ end: '"',
373
+ illegal: "\\n",
374
+ contains: [BACKSLASH_ESCAPE]
375
+ };
376
+ var PHRASAL_WORDS_MODE = {
377
+ 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/
378
+ };
379
+ var COMMENT = function(begin, end, modeOptions = {}) {
380
+ const mode = inherit$1(
381
+ {
382
+ scope: "comment",
383
+ begin,
384
+ end,
385
+ contains: []
386
+ },
387
+ modeOptions
388
+ );
389
+ mode.contains.push({
390
+ scope: "doctag",
391
+ // hack to avoid the space from being included. the space is necessary to
392
+ // match here to prevent the plain text rule below from gobbling up doctags
393
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
394
+ end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,
395
+ excludeBegin: true,
396
+ relevance: 0
397
+ });
398
+ const ENGLISH_WORD = either(
399
+ // list of common 1 and 2 letter words in English
400
+ "I",
401
+ "a",
402
+ "is",
403
+ "so",
404
+ "us",
405
+ "to",
406
+ "at",
407
+ "if",
408
+ "in",
409
+ "it",
410
+ "on",
411
+ // note: this is not an exhaustive list of contractions, just popular ones
412
+ /[A-Za-z]+['](d|ve|re|ll|t|s|n)/,
413
+ // contractions - can't we'd they're let's, etc
414
+ /[A-Za-z]+[-][a-z]+/,
415
+ // `no-way`, etc.
416
+ /[A-Za-z][a-z]{2,}/
417
+ // allow capitalized words at beginning of sentences
418
+ );
419
+ mode.contains.push(
420
+ {
421
+ // TODO: how to include ", (, ) without breaking grammars that use these for
422
+ // comment delimiters?
423
+ // begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/
424
+ // ---
425
+ // this tries to find sequences of 3 english words in a row (without any
426
+ // "programming" type syntax) this gives us a strong signal that we've
427
+ // TRULY found a comment - vs perhaps scanning with the wrong language.
428
+ // It's possible to find something that LOOKS like the start of the
429
+ // comment - but then if there is no readable text - good chance it is a
430
+ // false match and not a comment.
431
+ //
432
+ // for a visual example please see:
433
+ // https://github.com/highlightjs/highlight.js/issues/2827
434
+ begin: concat2(
435
+ /[ ]+/,
436
+ // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
437
+ "(",
438
+ ENGLISH_WORD,
439
+ /[.]?[:]?([.][ ]|[ ])/,
440
+ "){3}"
441
+ )
442
+ // look for 3 words in a row
443
+ }
444
+ );
445
+ return mode;
446
+ };
447
+ var C_LINE_COMMENT_MODE = COMMENT("//", "$");
448
+ var C_BLOCK_COMMENT_MODE = COMMENT("/\\*", "\\*/");
449
+ var HASH_COMMENT_MODE = COMMENT("#", "$");
450
+ var NUMBER_MODE = {
451
+ scope: "number",
452
+ begin: NUMBER_RE,
453
+ relevance: 0
454
+ };
455
+ var C_NUMBER_MODE = {
456
+ scope: "number",
457
+ begin: C_NUMBER_RE,
458
+ relevance: 0
459
+ };
460
+ var BINARY_NUMBER_MODE = {
461
+ scope: "number",
462
+ begin: BINARY_NUMBER_RE,
463
+ relevance: 0
464
+ };
465
+ var REGEXP_MODE = {
466
+ // this outer rule makes sure we actually have a WHOLE regex and not simply
467
+ // an expression such as:
468
+ //
469
+ // 3 / something
470
+ //
471
+ // (which will then blow up when regex's `illegal` sees the newline)
472
+ begin: /(?=\/[^/\n]*\/)/,
473
+ contains: [{
474
+ scope: "regexp",
475
+ begin: /\//,
476
+ end: /\/[gimuy]*/,
477
+ illegal: /\n/,
478
+ contains: [
479
+ BACKSLASH_ESCAPE,
480
+ {
481
+ begin: /\[/,
482
+ end: /\]/,
483
+ relevance: 0,
484
+ contains: [BACKSLASH_ESCAPE]
485
+ }
486
+ ]
487
+ }]
488
+ };
489
+ var TITLE_MODE = {
490
+ scope: "title",
491
+ begin: IDENT_RE2,
492
+ relevance: 0
493
+ };
494
+ var UNDERSCORE_TITLE_MODE = {
495
+ scope: "title",
496
+ begin: UNDERSCORE_IDENT_RE,
497
+ relevance: 0
498
+ };
499
+ var METHOD_GUARD = {
500
+ // excludes method names from keyword processing
501
+ begin: "\\.\\s*" + UNDERSCORE_IDENT_RE,
502
+ relevance: 0
503
+ };
504
+ var END_SAME_AS_BEGIN = function(mode) {
505
+ return Object.assign(
506
+ mode,
507
+ {
508
+ /** @type {ModeCallback} */
509
+ "on:begin": (m, resp) => {
510
+ resp.data._beginMatch = m[1];
511
+ },
512
+ /** @type {ModeCallback} */
513
+ "on:end": (m, resp) => {
514
+ if (resp.data._beginMatch !== m[1]) resp.ignoreMatch();
515
+ }
516
+ }
517
+ );
518
+ };
519
+ var MODES = /* @__PURE__ */ Object.freeze({
520
+ __proto__: null,
521
+ MATCH_NOTHING_RE,
522
+ IDENT_RE: IDENT_RE2,
523
+ UNDERSCORE_IDENT_RE,
524
+ NUMBER_RE,
525
+ C_NUMBER_RE,
526
+ BINARY_NUMBER_RE,
527
+ RE_STARTERS_RE,
528
+ SHEBANG,
529
+ BACKSLASH_ESCAPE,
530
+ APOS_STRING_MODE,
531
+ QUOTE_STRING_MODE,
532
+ PHRASAL_WORDS_MODE,
533
+ COMMENT,
534
+ C_LINE_COMMENT_MODE,
535
+ C_BLOCK_COMMENT_MODE,
536
+ HASH_COMMENT_MODE,
537
+ NUMBER_MODE,
538
+ C_NUMBER_MODE,
539
+ BINARY_NUMBER_MODE,
540
+ REGEXP_MODE,
541
+ TITLE_MODE,
542
+ UNDERSCORE_TITLE_MODE,
543
+ METHOD_GUARD,
544
+ END_SAME_AS_BEGIN
545
+ });
546
+ function skipIfHasPrecedingDot(match, response) {
547
+ const before = match.input[match.index - 1];
548
+ if (before === ".") {
549
+ response.ignoreMatch();
550
+ }
551
+ }
552
+ function scopeClassName(mode, _parent) {
553
+ if (mode.className !== void 0) {
554
+ mode.scope = mode.className;
555
+ delete mode.className;
556
+ }
557
+ }
558
+ function beginKeywords(mode, parent) {
559
+ if (!parent) return;
560
+ if (!mode.beginKeywords) return;
561
+ mode.begin = "\\b(" + mode.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)";
562
+ mode.__beforeBegin = skipIfHasPrecedingDot;
563
+ mode.keywords = mode.keywords || mode.beginKeywords;
564
+ delete mode.beginKeywords;
565
+ if (mode.relevance === void 0) mode.relevance = 0;
566
+ }
567
+ function compileIllegal(mode, _parent) {
568
+ if (!Array.isArray(mode.illegal)) return;
569
+ mode.illegal = either(...mode.illegal);
570
+ }
571
+ function compileMatch(mode, _parent) {
572
+ if (!mode.match) return;
573
+ if (mode.begin || mode.end) throw new Error("begin & end are not supported with match");
574
+ mode.begin = mode.match;
575
+ delete mode.match;
576
+ }
577
+ function compileRelevance(mode, _parent) {
578
+ if (mode.relevance === void 0) mode.relevance = 1;
579
+ }
580
+ var beforeMatchExt = (mode, parent) => {
581
+ if (!mode.beforeMatch) return;
582
+ if (mode.starts) throw new Error("beforeMatch cannot be used with starts");
583
+ const originalMode = Object.assign({}, mode);
584
+ Object.keys(mode).forEach((key) => {
585
+ delete mode[key];
586
+ });
587
+ mode.keywords = originalMode.keywords;
588
+ mode.begin = concat2(originalMode.beforeMatch, lookahead2(originalMode.begin));
589
+ mode.starts = {
590
+ relevance: 0,
591
+ contains: [
592
+ Object.assign(originalMode, { endsParent: true })
593
+ ]
594
+ };
595
+ mode.relevance = 0;
596
+ delete originalMode.beforeMatch;
597
+ };
598
+ var COMMON_KEYWORDS = [
599
+ "of",
600
+ "and",
601
+ "for",
602
+ "in",
603
+ "not",
604
+ "or",
605
+ "if",
606
+ "then",
607
+ "parent",
608
+ // common variable name
609
+ "list",
610
+ // common variable name
611
+ "value"
612
+ // common variable name
613
+ ];
614
+ var DEFAULT_KEYWORD_SCOPE = "keyword";
615
+ function compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWORD_SCOPE) {
616
+ const compiledKeywords = /* @__PURE__ */ Object.create(null);
617
+ if (typeof rawKeywords === "string") {
618
+ compileList(scopeName, rawKeywords.split(" "));
619
+ } else if (Array.isArray(rawKeywords)) {
620
+ compileList(scopeName, rawKeywords);
621
+ } else {
622
+ Object.keys(rawKeywords).forEach(function(scopeName2) {
623
+ Object.assign(
624
+ compiledKeywords,
625
+ compileKeywords(rawKeywords[scopeName2], caseInsensitive, scopeName2)
626
+ );
627
+ });
628
+ }
629
+ return compiledKeywords;
630
+ function compileList(scopeName2, keywordList) {
631
+ if (caseInsensitive) {
632
+ keywordList = keywordList.map((x) => x.toLowerCase());
633
+ }
634
+ keywordList.forEach(function(keyword) {
635
+ const pair = keyword.split("|");
636
+ compiledKeywords[pair[0]] = [scopeName2, scoreForKeyword(pair[0], pair[1])];
637
+ });
638
+ }
639
+ }
640
+ function scoreForKeyword(keyword, providedScore) {
641
+ if (providedScore) {
642
+ return Number(providedScore);
643
+ }
644
+ return commonKeyword(keyword) ? 0 : 1;
645
+ }
646
+ function commonKeyword(keyword) {
647
+ return COMMON_KEYWORDS.includes(keyword.toLowerCase());
648
+ }
649
+ var seenDeprecations = {};
650
+ var error = (message) => {
651
+ console.error(message);
652
+ };
653
+ var warn = (message, ...args) => {
654
+ console.log(`WARN: ${message}`, ...args);
655
+ };
656
+ var deprecated = (version2, message) => {
657
+ if (seenDeprecations[`${version2}/${message}`]) return;
658
+ console.log(`Deprecated as of ${version2}. ${message}`);
659
+ seenDeprecations[`${version2}/${message}`] = true;
660
+ };
661
+ var MultiClassError = new Error();
662
+ function remapScopeNames(mode, regexes, { key }) {
663
+ let offset = 0;
664
+ const scopeNames = mode[key];
665
+ const emit = {};
666
+ const positions = {};
667
+ for (let i = 1; i <= regexes.length; i++) {
668
+ positions[i + offset] = scopeNames[i];
669
+ emit[i + offset] = true;
670
+ offset += countMatchGroups(regexes[i - 1]);
671
+ }
672
+ mode[key] = positions;
673
+ mode[key]._emit = emit;
674
+ mode[key]._multi = true;
675
+ }
676
+ function beginMultiClass(mode) {
677
+ if (!Array.isArray(mode.begin)) return;
678
+ if (mode.skip || mode.excludeBegin || mode.returnBegin) {
679
+ error("skip, excludeBegin, returnBegin not compatible with beginScope: {}");
680
+ throw MultiClassError;
681
+ }
682
+ if (typeof mode.beginScope !== "object" || mode.beginScope === null) {
683
+ error("beginScope must be object");
684
+ throw MultiClassError;
685
+ }
686
+ remapScopeNames(mode, mode.begin, { key: "beginScope" });
687
+ mode.begin = _rewriteBackreferences(mode.begin, { joinWith: "" });
688
+ }
689
+ function endMultiClass(mode) {
690
+ if (!Array.isArray(mode.end)) return;
691
+ if (mode.skip || mode.excludeEnd || mode.returnEnd) {
692
+ error("skip, excludeEnd, returnEnd not compatible with endScope: {}");
693
+ throw MultiClassError;
694
+ }
695
+ if (typeof mode.endScope !== "object" || mode.endScope === null) {
696
+ error("endScope must be object");
697
+ throw MultiClassError;
698
+ }
699
+ remapScopeNames(mode, mode.end, { key: "endScope" });
700
+ mode.end = _rewriteBackreferences(mode.end, { joinWith: "" });
701
+ }
702
+ function scopeSugar(mode) {
703
+ if (mode.scope && typeof mode.scope === "object" && mode.scope !== null) {
704
+ mode.beginScope = mode.scope;
705
+ delete mode.scope;
706
+ }
707
+ }
708
+ function MultiClass(mode) {
709
+ scopeSugar(mode);
710
+ if (typeof mode.beginScope === "string") {
711
+ mode.beginScope = { _wrap: mode.beginScope };
712
+ }
713
+ if (typeof mode.endScope === "string") {
714
+ mode.endScope = { _wrap: mode.endScope };
715
+ }
716
+ beginMultiClass(mode);
717
+ endMultiClass(mode);
718
+ }
719
+ function compileLanguage(language) {
720
+ function langRe(value, global) {
721
+ return new RegExp(
722
+ source2(value),
723
+ "m" + (language.case_insensitive ? "i" : "") + (global ? "g" : "")
724
+ );
725
+ }
726
+ class MultiRegex {
727
+ constructor() {
728
+ this.matchIndexes = {};
729
+ this.regexes = [];
730
+ this.matchAt = 1;
731
+ this.position = 0;
732
+ }
733
+ // @ts-ignore
734
+ addRule(re, opts) {
735
+ opts.position = this.position++;
736
+ this.matchIndexes[this.matchAt] = opts;
737
+ this.regexes.push([opts, re]);
738
+ this.matchAt += countMatchGroups(re) + 1;
739
+ }
740
+ compile() {
741
+ if (this.regexes.length === 0) {
742
+ this.exec = () => null;
743
+ }
744
+ const terminators = this.regexes.map((el) => el[1]);
745
+ this.matcherRe = langRe(_rewriteBackreferences(terminators, { joinWith: "|" }), true);
746
+ this.lastIndex = 0;
747
+ }
748
+ /** @param {string} s */
749
+ exec(s) {
750
+ this.matcherRe.lastIndex = this.lastIndex;
751
+ const match = this.matcherRe.exec(s);
752
+ if (!match) {
753
+ return null;
754
+ }
755
+ const i = match.findIndex((el, i2) => i2 > 0 && el !== void 0);
756
+ const matchData = this.matchIndexes[i];
757
+ match.splice(0, i);
758
+ return Object.assign(match, matchData);
759
+ }
760
+ }
761
+ class ResumableMultiRegex {
762
+ constructor() {
763
+ this.rules = [];
764
+ this.multiRegexes = [];
765
+ this.count = 0;
766
+ this.lastIndex = 0;
767
+ this.regexIndex = 0;
768
+ }
769
+ // @ts-ignore
770
+ getMatcher(index) {
771
+ if (this.multiRegexes[index]) return this.multiRegexes[index];
772
+ const matcher = new MultiRegex();
773
+ this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));
774
+ matcher.compile();
775
+ this.multiRegexes[index] = matcher;
776
+ return matcher;
777
+ }
778
+ resumingScanAtSamePosition() {
779
+ return this.regexIndex !== 0;
780
+ }
781
+ considerAll() {
782
+ this.regexIndex = 0;
783
+ }
784
+ // @ts-ignore
785
+ addRule(re, opts) {
786
+ this.rules.push([re, opts]);
787
+ if (opts.type === "begin") this.count++;
788
+ }
789
+ /** @param {string} s */
790
+ exec(s) {
791
+ const m = this.getMatcher(this.regexIndex);
792
+ m.lastIndex = this.lastIndex;
793
+ let result = m.exec(s);
794
+ if (this.resumingScanAtSamePosition()) {
795
+ if (result && result.index === this.lastIndex) ;
796
+ else {
797
+ const m2 = this.getMatcher(0);
798
+ m2.lastIndex = this.lastIndex + 1;
799
+ result = m2.exec(s);
800
+ }
801
+ }
802
+ if (result) {
803
+ this.regexIndex += result.position + 1;
804
+ if (this.regexIndex === this.count) {
805
+ this.considerAll();
806
+ }
807
+ }
808
+ return result;
809
+ }
810
+ }
811
+ function buildModeRegex(mode) {
812
+ const mm = new ResumableMultiRegex();
813
+ mode.contains.forEach((term) => mm.addRule(term.begin, { rule: term, type: "begin" }));
814
+ if (mode.terminatorEnd) {
815
+ mm.addRule(mode.terminatorEnd, { type: "end" });
816
+ }
817
+ if (mode.illegal) {
818
+ mm.addRule(mode.illegal, { type: "illegal" });
819
+ }
820
+ return mm;
821
+ }
822
+ function compileMode(mode, parent) {
823
+ const cmode = (
824
+ /** @type CompiledMode */
825
+ mode
826
+ );
827
+ if (mode.isCompiled) return cmode;
828
+ [
829
+ scopeClassName,
830
+ // do this early so compiler extensions generally don't have to worry about
831
+ // the distinction between match/begin
832
+ compileMatch,
833
+ MultiClass,
834
+ beforeMatchExt
835
+ ].forEach((ext) => ext(mode, parent));
836
+ language.compilerExtensions.forEach((ext) => ext(mode, parent));
837
+ mode.__beforeBegin = null;
838
+ [
839
+ beginKeywords,
840
+ // do this later so compiler extensions that come earlier have access to the
841
+ // raw array if they wanted to perhaps manipulate it, etc.
842
+ compileIllegal,
843
+ // default to 1 relevance if not specified
844
+ compileRelevance
845
+ ].forEach((ext) => ext(mode, parent));
846
+ mode.isCompiled = true;
847
+ let keywordPattern = null;
848
+ if (typeof mode.keywords === "object" && mode.keywords.$pattern) {
849
+ mode.keywords = Object.assign({}, mode.keywords);
850
+ keywordPattern = mode.keywords.$pattern;
851
+ delete mode.keywords.$pattern;
852
+ }
853
+ keywordPattern = keywordPattern || /\w+/;
854
+ if (mode.keywords) {
855
+ mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);
856
+ }
857
+ cmode.keywordPatternRe = langRe(keywordPattern, true);
858
+ if (parent) {
859
+ if (!mode.begin) mode.begin = /\B|\b/;
860
+ cmode.beginRe = langRe(mode.begin);
861
+ if (!mode.end && !mode.endsWithParent) mode.end = /\B|\b/;
862
+ if (mode.end) cmode.endRe = langRe(mode.end);
863
+ cmode.terminatorEnd = source2(mode.end) || "";
864
+ if (mode.endsWithParent && parent.terminatorEnd) {
865
+ cmode.terminatorEnd += (mode.end ? "|" : "") + parent.terminatorEnd;
866
+ }
867
+ }
868
+ if (mode.illegal) cmode.illegalRe = langRe(
869
+ /** @type {RegExp | string} */
870
+ mode.illegal
871
+ );
872
+ if (!mode.contains) mode.contains = [];
873
+ mode.contains = [].concat(...mode.contains.map(function(c) {
874
+ return expandOrCloneMode(c === "self" ? mode : c);
875
+ }));
876
+ mode.contains.forEach(function(c) {
877
+ compileMode(
878
+ /** @type Mode */
879
+ c,
880
+ cmode
881
+ );
882
+ });
883
+ if (mode.starts) {
884
+ compileMode(mode.starts, parent);
885
+ }
886
+ cmode.matcher = buildModeRegex(cmode);
887
+ return cmode;
888
+ }
889
+ if (!language.compilerExtensions) language.compilerExtensions = [];
890
+ if (language.contains && language.contains.includes("self")) {
891
+ throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
892
+ }
893
+ language.classNameAliases = inherit$1(language.classNameAliases || {});
894
+ return compileMode(
895
+ /** @type Mode */
896
+ language
897
+ );
898
+ }
899
+ function dependencyOnParent(mode) {
900
+ if (!mode) return false;
901
+ return mode.endsWithParent || dependencyOnParent(mode.starts);
902
+ }
903
+ function expandOrCloneMode(mode) {
904
+ if (mode.variants && !mode.cachedVariants) {
905
+ mode.cachedVariants = mode.variants.map(function(variant) {
906
+ return inherit$1(mode, { variants: null }, variant);
907
+ });
908
+ }
909
+ if (mode.cachedVariants) {
910
+ return mode.cachedVariants;
911
+ }
912
+ if (dependencyOnParent(mode)) {
913
+ return inherit$1(mode, { starts: mode.starts ? inherit$1(mode.starts) : null });
914
+ }
915
+ if (Object.isFrozen(mode)) {
916
+ return inherit$1(mode);
917
+ }
918
+ return mode;
919
+ }
920
+ var version = "11.2.0";
921
+ var escape = escapeHTML;
922
+ var inherit = inherit$1;
923
+ var NO_MATCH = Symbol("nomatch");
924
+ var MAX_KEYWORD_HITS = 7;
925
+ var HLJS = function(hljs2) {
926
+ const languages = /* @__PURE__ */ Object.create(null);
927
+ const aliases = /* @__PURE__ */ Object.create(null);
928
+ const plugins = [];
929
+ let SAFE_MODE = true;
930
+ const LANGUAGE_NOT_FOUND = "Could not find the language '{}', did you forget to load/include a language module?";
931
+ const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: "Plain text", contains: [] };
932
+ let options = {
933
+ ignoreUnescapedHTML: false,
934
+ noHighlightRe: /^(no-?highlight)$/i,
935
+ languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
936
+ classPrefix: "hljs-",
937
+ cssSelector: "pre code",
938
+ languages: null,
939
+ // beta configuration options, subject to change, welcome to discuss
940
+ // https://github.com/highlightjs/highlight.js/issues/1086
941
+ __emitter: TokenTreeEmitter
942
+ };
943
+ function shouldNotHighlight(languageName) {
944
+ return options.noHighlightRe.test(languageName);
945
+ }
946
+ function blockLanguage(block) {
947
+ let classes = block.className + " ";
948
+ classes += block.parentNode ? block.parentNode.className : "";
949
+ const match = options.languageDetectRe.exec(classes);
950
+ if (match) {
951
+ const language = getLanguage(match[1]);
952
+ if (!language) {
953
+ warn(LANGUAGE_NOT_FOUND.replace("{}", match[1]));
954
+ warn("Falling back to no-highlight mode for this block.", block);
955
+ }
956
+ return language ? match[1] : "no-highlight";
957
+ }
958
+ return classes.split(/\s+/).find((_class) => shouldNotHighlight(_class) || getLanguage(_class));
959
+ }
960
+ function highlight2(codeOrLanguageName, optionsOrCode, ignoreIllegals) {
961
+ let code = "";
962
+ let languageName = "";
963
+ if (typeof optionsOrCode === "object") {
964
+ code = codeOrLanguageName;
965
+ ignoreIllegals = optionsOrCode.ignoreIllegals;
966
+ languageName = optionsOrCode.language;
967
+ } else {
968
+ deprecated("10.7.0", "highlight(lang, code, ...args) has been deprecated.");
969
+ deprecated("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");
970
+ languageName = codeOrLanguageName;
971
+ code = optionsOrCode;
972
+ }
973
+ if (ignoreIllegals === void 0) {
974
+ ignoreIllegals = true;
975
+ }
976
+ const context = {
977
+ code,
978
+ language: languageName
979
+ };
980
+ fire("before:highlight", context);
981
+ const result = context.result ? context.result : _highlight(context.language, context.code, ignoreIllegals);
982
+ result.code = context.code;
983
+ fire("after:highlight", result);
984
+ return result;
985
+ }
986
+ function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {
987
+ const keywordHits = /* @__PURE__ */ Object.create(null);
988
+ function keywordData(mode, matchText) {
989
+ return mode.keywords[matchText];
990
+ }
991
+ function processKeywords() {
992
+ if (!top.keywords) {
993
+ emitter.addText(modeBuffer);
994
+ return;
995
+ }
996
+ let lastIndex = 0;
997
+ top.keywordPatternRe.lastIndex = 0;
998
+ let match = top.keywordPatternRe.exec(modeBuffer);
999
+ let buf = "";
1000
+ while (match) {
1001
+ buf += modeBuffer.substring(lastIndex, match.index);
1002
+ const word = language.case_insensitive ? match[0].toLowerCase() : match[0];
1003
+ const data = keywordData(top, word);
1004
+ if (data) {
1005
+ const [kind, keywordRelevance] = data;
1006
+ emitter.addText(buf);
1007
+ buf = "";
1008
+ keywordHits[word] = (keywordHits[word] || 0) + 1;
1009
+ if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;
1010
+ if (kind.startsWith("_")) {
1011
+ buf += match[0];
1012
+ } else {
1013
+ const cssClass = language.classNameAliases[kind] || kind;
1014
+ emitter.addKeyword(match[0], cssClass);
1015
+ }
1016
+ } else {
1017
+ buf += match[0];
1018
+ }
1019
+ lastIndex = top.keywordPatternRe.lastIndex;
1020
+ match = top.keywordPatternRe.exec(modeBuffer);
1021
+ }
1022
+ buf += modeBuffer.substr(lastIndex);
1023
+ emitter.addText(buf);
1024
+ }
1025
+ function processSubLanguage() {
1026
+ if (modeBuffer === "") return;
1027
+ let result2 = null;
1028
+ if (typeof top.subLanguage === "string") {
1029
+ if (!languages[top.subLanguage]) {
1030
+ emitter.addText(modeBuffer);
1031
+ return;
1032
+ }
1033
+ result2 = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);
1034
+ continuations[top.subLanguage] = /** @type {CompiledMode} */
1035
+ result2._top;
1036
+ } else {
1037
+ result2 = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);
1038
+ }
1039
+ if (top.relevance > 0) {
1040
+ relevance += result2.relevance;
1041
+ }
1042
+ emitter.addSublanguage(result2._emitter, result2.language);
1043
+ }
1044
+ function processBuffer() {
1045
+ if (top.subLanguage != null) {
1046
+ processSubLanguage();
1047
+ } else {
1048
+ processKeywords();
1049
+ }
1050
+ modeBuffer = "";
1051
+ }
1052
+ function emitMultiClass(scope, match) {
1053
+ let i = 1;
1054
+ while (match[i] !== void 0) {
1055
+ if (!scope._emit[i]) {
1056
+ i++;
1057
+ continue;
1058
+ }
1059
+ const klass = language.classNameAliases[scope[i]] || scope[i];
1060
+ const text = match[i];
1061
+ if (klass) {
1062
+ emitter.addKeyword(text, klass);
1063
+ } else {
1064
+ modeBuffer = text;
1065
+ processKeywords();
1066
+ modeBuffer = "";
1067
+ }
1068
+ i++;
1069
+ }
1070
+ }
1071
+ function startNewMode(mode, match) {
1072
+ if (mode.scope && typeof mode.scope === "string") {
1073
+ emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);
1074
+ }
1075
+ if (mode.beginScope) {
1076
+ if (mode.beginScope._wrap) {
1077
+ emitter.addKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);
1078
+ modeBuffer = "";
1079
+ } else if (mode.beginScope._multi) {
1080
+ emitMultiClass(mode.beginScope, match);
1081
+ modeBuffer = "";
1082
+ }
1083
+ }
1084
+ top = Object.create(mode, { parent: { value: top } });
1085
+ return top;
1086
+ }
1087
+ function endOfMode(mode, match, matchPlusRemainder) {
1088
+ let matched = startsWith(mode.endRe, matchPlusRemainder);
1089
+ if (matched) {
1090
+ if (mode["on:end"]) {
1091
+ const resp = new Response(mode);
1092
+ mode["on:end"](match, resp);
1093
+ if (resp.isMatchIgnored) matched = false;
1094
+ }
1095
+ if (matched) {
1096
+ while (mode.endsParent && mode.parent) {
1097
+ mode = mode.parent;
1098
+ }
1099
+ return mode;
1100
+ }
1101
+ }
1102
+ if (mode.endsWithParent) {
1103
+ return endOfMode(mode.parent, match, matchPlusRemainder);
1104
+ }
1105
+ }
1106
+ function doIgnore(lexeme) {
1107
+ if (top.matcher.regexIndex === 0) {
1108
+ modeBuffer += lexeme[0];
1109
+ return 1;
1110
+ } else {
1111
+ resumeScanAtSamePosition = true;
1112
+ return 0;
1113
+ }
1114
+ }
1115
+ function doBeginMatch(match) {
1116
+ const lexeme = match[0];
1117
+ const newMode = match.rule;
1118
+ const resp = new Response(newMode);
1119
+ const beforeCallbacks = [newMode.__beforeBegin, newMode["on:begin"]];
1120
+ for (const cb of beforeCallbacks) {
1121
+ if (!cb) continue;
1122
+ cb(match, resp);
1123
+ if (resp.isMatchIgnored) return doIgnore(lexeme);
1124
+ }
1125
+ if (newMode.skip) {
1126
+ modeBuffer += lexeme;
1127
+ } else {
1128
+ if (newMode.excludeBegin) {
1129
+ modeBuffer += lexeme;
1130
+ }
1131
+ processBuffer();
1132
+ if (!newMode.returnBegin && !newMode.excludeBegin) {
1133
+ modeBuffer = lexeme;
1134
+ }
1135
+ }
1136
+ startNewMode(newMode, match);
1137
+ return newMode.returnBegin ? 0 : lexeme.length;
1138
+ }
1139
+ function doEndMatch(match) {
1140
+ const lexeme = match[0];
1141
+ const matchPlusRemainder = codeToHighlight.substr(match.index);
1142
+ const endMode = endOfMode(top, match, matchPlusRemainder);
1143
+ if (!endMode) {
1144
+ return NO_MATCH;
1145
+ }
1146
+ const origin = top;
1147
+ if (top.endScope && top.endScope._wrap) {
1148
+ processBuffer();
1149
+ emitter.addKeyword(lexeme, top.endScope._wrap);
1150
+ } else if (top.endScope && top.endScope._multi) {
1151
+ processBuffer();
1152
+ emitMultiClass(top.endScope, match);
1153
+ } else if (origin.skip) {
1154
+ modeBuffer += lexeme;
1155
+ } else {
1156
+ if (!(origin.returnEnd || origin.excludeEnd)) {
1157
+ modeBuffer += lexeme;
1158
+ }
1159
+ processBuffer();
1160
+ if (origin.excludeEnd) {
1161
+ modeBuffer = lexeme;
1162
+ }
1163
+ }
1164
+ do {
1165
+ if (top.scope) {
1166
+ emitter.closeNode();
1167
+ }
1168
+ if (!top.skip && !top.subLanguage) {
1169
+ relevance += top.relevance;
1170
+ }
1171
+ top = top.parent;
1172
+ } while (top !== endMode.parent);
1173
+ if (endMode.starts) {
1174
+ startNewMode(endMode.starts, match);
1175
+ }
1176
+ return origin.returnEnd ? 0 : lexeme.length;
1177
+ }
1178
+ function processContinuations() {
1179
+ const list = [];
1180
+ for (let current = top; current !== language; current = current.parent) {
1181
+ if (current.scope) {
1182
+ list.unshift(current.scope);
1183
+ }
1184
+ }
1185
+ list.forEach((item) => emitter.openNode(item));
1186
+ }
1187
+ let lastMatch = {};
1188
+ function processLexeme(textBeforeMatch, match) {
1189
+ const lexeme = match && match[0];
1190
+ modeBuffer += textBeforeMatch;
1191
+ if (lexeme == null) {
1192
+ processBuffer();
1193
+ return 0;
1194
+ }
1195
+ if (lastMatch.type === "begin" && match.type === "end" && lastMatch.index === match.index && lexeme === "") {
1196
+ modeBuffer += codeToHighlight.slice(match.index, match.index + 1);
1197
+ if (!SAFE_MODE) {
1198
+ const err = new Error(`0 width match regex (${languageName})`);
1199
+ err.languageName = languageName;
1200
+ err.badRule = lastMatch.rule;
1201
+ throw err;
1202
+ }
1203
+ return 1;
1204
+ }
1205
+ lastMatch = match;
1206
+ if (match.type === "begin") {
1207
+ return doBeginMatch(match);
1208
+ } else if (match.type === "illegal" && !ignoreIllegals) {
1209
+ const err = new Error('Illegal lexeme "' + lexeme + '" for mode "' + (top.scope || "<unnamed>") + '"');
1210
+ err.mode = top;
1211
+ throw err;
1212
+ } else if (match.type === "end") {
1213
+ const processed = doEndMatch(match);
1214
+ if (processed !== NO_MATCH) {
1215
+ return processed;
1216
+ }
1217
+ }
1218
+ if (match.type === "illegal" && lexeme === "") {
1219
+ return 1;
1220
+ }
1221
+ if (iterations > 1e5 && iterations > match.index * 3) {
1222
+ const err = new Error("potential infinite loop, way more iterations than matches");
1223
+ throw err;
1224
+ }
1225
+ modeBuffer += lexeme;
1226
+ return lexeme.length;
1227
+ }
1228
+ const language = getLanguage(languageName);
1229
+ if (!language) {
1230
+ error(LANGUAGE_NOT_FOUND.replace("{}", languageName));
1231
+ throw new Error('Unknown language: "' + languageName + '"');
1232
+ }
1233
+ const md = compileLanguage(language);
1234
+ let result = "";
1235
+ let top = continuation || md;
1236
+ const continuations = {};
1237
+ const emitter = new options.__emitter(options);
1238
+ processContinuations();
1239
+ let modeBuffer = "";
1240
+ let relevance = 0;
1241
+ let index = 0;
1242
+ let iterations = 0;
1243
+ let resumeScanAtSamePosition = false;
1244
+ try {
1245
+ top.matcher.considerAll();
1246
+ for (; ; ) {
1247
+ iterations++;
1248
+ if (resumeScanAtSamePosition) {
1249
+ resumeScanAtSamePosition = false;
1250
+ } else {
1251
+ top.matcher.considerAll();
1252
+ }
1253
+ top.matcher.lastIndex = index;
1254
+ const match = top.matcher.exec(codeToHighlight);
1255
+ if (!match) break;
1256
+ const beforeMatch = codeToHighlight.substring(index, match.index);
1257
+ const processedCount = processLexeme(beforeMatch, match);
1258
+ index = match.index + processedCount;
1259
+ }
1260
+ processLexeme(codeToHighlight.substr(index));
1261
+ emitter.closeAllNodes();
1262
+ emitter.finalize();
1263
+ result = emitter.toHTML();
1264
+ return {
1265
+ language: languageName,
1266
+ value: result,
1267
+ relevance,
1268
+ illegal: false,
1269
+ _emitter: emitter,
1270
+ _top: top
1271
+ };
1272
+ } catch (err) {
1273
+ if (err.message && err.message.includes("Illegal")) {
1274
+ return {
1275
+ language: languageName,
1276
+ value: escape(codeToHighlight),
1277
+ illegal: true,
1278
+ relevance: 0,
1279
+ _illegalBy: {
1280
+ message: err.message,
1281
+ index,
1282
+ context: codeToHighlight.slice(index - 100, index + 100),
1283
+ mode: err.mode,
1284
+ resultSoFar: result
1285
+ },
1286
+ _emitter: emitter
1287
+ };
1288
+ } else if (SAFE_MODE) {
1289
+ return {
1290
+ language: languageName,
1291
+ value: escape(codeToHighlight),
1292
+ illegal: false,
1293
+ relevance: 0,
1294
+ errorRaised: err,
1295
+ _emitter: emitter,
1296
+ _top: top
1297
+ };
1298
+ } else {
1299
+ throw err;
1300
+ }
1301
+ }
1302
+ }
1303
+ function justTextHighlightResult(code) {
1304
+ const result = {
1305
+ value: escape(code),
1306
+ illegal: false,
1307
+ relevance: 0,
1308
+ _top: PLAINTEXT_LANGUAGE,
1309
+ _emitter: new options.__emitter(options)
1310
+ };
1311
+ result._emitter.addText(code);
1312
+ return result;
1313
+ }
1314
+ function highlightAuto(code, languageSubset) {
1315
+ languageSubset = languageSubset || options.languages || Object.keys(languages);
1316
+ const plaintext = justTextHighlightResult(code);
1317
+ const results = languageSubset.filter(getLanguage).filter(autoDetection).map(
1318
+ (name) => _highlight(name, code, false)
1319
+ );
1320
+ results.unshift(plaintext);
1321
+ const sorted = results.sort((a, b) => {
1322
+ if (a.relevance !== b.relevance) return b.relevance - a.relevance;
1323
+ if (a.language && b.language) {
1324
+ if (getLanguage(a.language).supersetOf === b.language) {
1325
+ return 1;
1326
+ } else if (getLanguage(b.language).supersetOf === a.language) {
1327
+ return -1;
1328
+ }
1329
+ }
1330
+ return 0;
1331
+ });
1332
+ const [best, secondBest] = sorted;
1333
+ const result = best;
1334
+ result.secondBest = secondBest;
1335
+ return result;
1336
+ }
1337
+ function updateClassName(element, currentLang, resultLang) {
1338
+ const language = currentLang && aliases[currentLang] || resultLang;
1339
+ element.classList.add("hljs");
1340
+ element.classList.add(`language-${language}`);
1341
+ }
1342
+ function highlightElement(element) {
1343
+ let node = null;
1344
+ const language = blockLanguage(element);
1345
+ if (shouldNotHighlight(language)) return;
1346
+ fire(
1347
+ "before:highlightElement",
1348
+ { el: element, language }
1349
+ );
1350
+ if (!options.ignoreUnescapedHTML && element.children.length > 0) {
1351
+ console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk.");
1352
+ console.warn("https://github.com/highlightjs/highlight.js/issues/2886");
1353
+ console.warn(element);
1354
+ }
1355
+ node = element;
1356
+ const text = node.textContent;
1357
+ const result = language ? highlight2(text, { language, ignoreIllegals: true }) : highlightAuto(text);
1358
+ element.innerHTML = result.value;
1359
+ updateClassName(element, language, result.language);
1360
+ element.result = {
1361
+ language: result.language,
1362
+ // TODO: remove with version 11.0
1363
+ re: result.relevance,
1364
+ relevance: result.relevance
1365
+ };
1366
+ if (result.secondBest) {
1367
+ element.secondBest = {
1368
+ language: result.secondBest.language,
1369
+ relevance: result.secondBest.relevance
1370
+ };
1371
+ }
1372
+ fire("after:highlightElement", { el: element, result, text });
1373
+ }
1374
+ function configure(userOptions) {
1375
+ options = inherit(options, userOptions);
1376
+ }
1377
+ const initHighlighting = () => {
1378
+ highlightAll();
1379
+ deprecated("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1380
+ };
1381
+ function initHighlightingOnLoad() {
1382
+ highlightAll();
1383
+ deprecated("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1384
+ }
1385
+ let wantsHighlight = false;
1386
+ function highlightAll() {
1387
+ if (document.readyState === "loading") {
1388
+ wantsHighlight = true;
1389
+ return;
1390
+ }
1391
+ const blocks = document.querySelectorAll(options.cssSelector);
1392
+ blocks.forEach(highlightElement);
1393
+ }
1394
+ function boot() {
1395
+ if (wantsHighlight) highlightAll();
1396
+ }
1397
+ if (typeof window !== "undefined" && window.addEventListener) {
1398
+ window.addEventListener("DOMContentLoaded", boot, false);
1399
+ }
1400
+ function registerLanguage(languageName, languageDefinition) {
1401
+ let lang = null;
1402
+ try {
1403
+ lang = languageDefinition(hljs2);
1404
+ } catch (error$1) {
1405
+ error("Language definition for '{}' could not be registered.".replace("{}", languageName));
1406
+ if (!SAFE_MODE) {
1407
+ throw error$1;
1408
+ } else {
1409
+ error(error$1);
1410
+ }
1411
+ lang = PLAINTEXT_LANGUAGE;
1412
+ }
1413
+ if (!lang.name) lang.name = languageName;
1414
+ languages[languageName] = lang;
1415
+ lang.rawDefinition = languageDefinition.bind(null, hljs2);
1416
+ if (lang.aliases) {
1417
+ registerAliases(lang.aliases, { languageName });
1418
+ }
1419
+ }
1420
+ function unregisterLanguage(languageName) {
1421
+ delete languages[languageName];
1422
+ for (const alias of Object.keys(aliases)) {
1423
+ if (aliases[alias] === languageName) {
1424
+ delete aliases[alias];
1425
+ }
1426
+ }
1427
+ }
1428
+ function listLanguages() {
1429
+ return Object.keys(languages);
1430
+ }
1431
+ function getLanguage(name) {
1432
+ name = (name || "").toLowerCase();
1433
+ return languages[name] || languages[aliases[name]];
1434
+ }
1435
+ function registerAliases(aliasList, { languageName }) {
1436
+ if (typeof aliasList === "string") {
1437
+ aliasList = [aliasList];
1438
+ }
1439
+ aliasList.forEach((alias) => {
1440
+ aliases[alias.toLowerCase()] = languageName;
1441
+ });
1442
+ }
1443
+ function autoDetection(name) {
1444
+ const lang = getLanguage(name);
1445
+ return lang && !lang.disableAutodetect;
1446
+ }
1447
+ function upgradePluginAPI(plugin) {
1448
+ if (plugin["before:highlightBlock"] && !plugin["before:highlightElement"]) {
1449
+ plugin["before:highlightElement"] = (data) => {
1450
+ plugin["before:highlightBlock"](
1451
+ Object.assign({ block: data.el }, data)
1452
+ );
1453
+ };
1454
+ }
1455
+ if (plugin["after:highlightBlock"] && !plugin["after:highlightElement"]) {
1456
+ plugin["after:highlightElement"] = (data) => {
1457
+ plugin["after:highlightBlock"](
1458
+ Object.assign({ block: data.el }, data)
1459
+ );
1460
+ };
1461
+ }
1462
+ }
1463
+ function addPlugin(plugin) {
1464
+ upgradePluginAPI(plugin);
1465
+ plugins.push(plugin);
1466
+ }
1467
+ function fire(event, args) {
1468
+ const cb = event;
1469
+ plugins.forEach(function(plugin) {
1470
+ if (plugin[cb]) {
1471
+ plugin[cb](args);
1472
+ }
1473
+ });
1474
+ }
1475
+ function deprecateHighlightBlock(el) {
1476
+ deprecated("10.7.0", "highlightBlock will be removed entirely in v12.0");
1477
+ deprecated("10.7.0", "Please use highlightElement now.");
1478
+ return highlightElement(el);
1479
+ }
1480
+ Object.assign(hljs2, {
1481
+ highlight: highlight2,
1482
+ highlightAuto,
1483
+ highlightAll,
1484
+ highlightElement,
1485
+ // TODO: Remove with v12 API
1486
+ highlightBlock: deprecateHighlightBlock,
1487
+ configure,
1488
+ initHighlighting,
1489
+ initHighlightingOnLoad,
1490
+ registerLanguage,
1491
+ unregisterLanguage,
1492
+ listLanguages,
1493
+ getLanguage,
1494
+ registerAliases,
1495
+ autoDetection,
1496
+ inherit,
1497
+ addPlugin
1498
+ });
1499
+ hljs2.debugMode = function() {
1500
+ SAFE_MODE = false;
1501
+ };
1502
+ hljs2.safeMode = function() {
1503
+ SAFE_MODE = true;
1504
+ };
1505
+ hljs2.versionString = version;
1506
+ for (const key in MODES) {
1507
+ if (typeof MODES[key] === "object") {
1508
+ deepFreeze$1(MODES[key]);
1509
+ }
1510
+ }
1511
+ Object.assign(hljs2, MODES);
1512
+ return hljs2;
1513
+ };
1514
+ var highlight = HLJS({});
1515
+ module.exports = highlight;
1516
+ }
1517
+ });
1518
+
1519
+ // appdrawer/utils.js
1520
+ function makeButton(arg) {
1521
+ 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);
1522
+ return button;
1523
+ }
1524
+
1525
+ // dom/breadcrumbs.js
1526
+ var BreadcrumbTrail = class {
1527
+ constructor(opts) {
1528
+ this.opts = opts;
1529
+ this.dom = {
1530
+ holder: opts.holder,
1531
+ trailDiv: opts.trailDiv || opts.holder.append("div")
1532
+ };
1533
+ setRenderers(this);
1534
+ }
1535
+ async main(opts = {}) {
1536
+ try {
1537
+ return await this.render();
1538
+ } catch (e) {
1539
+ if (e.stack) console.log(e.stack);
1540
+ else throw e;
1541
+ }
1542
+ }
1543
+ };
1544
+ function setRenderers(self) {
1545
+ self.render = async () => {
1546
+ self.crumbs = self.opts.crumbs;
1547
+ for (const crumb of self.crumbs) {
1548
+ crumb.label = crumb.label || crumb.name;
1549
+ if (!crumb.inTrail) crumb.inTrail = false;
1550
+ }
1551
+ const has_active_crumb = self.crumbs.find((crumb) => crumb.inTrail);
1552
+ if (!has_active_crumb) self.crumbs[0].inTrail = true;
1553
+ 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) {
1554
+ crumb.div = select_default(this);
1555
+ });
1556
+ const activeCrumbIndex = self.crumbs.findIndex((c) => c.inTrail);
1557
+ self.update(activeCrumbIndex);
1558
+ };
1559
+ self.update = (crumbIndex = 0) => {
1560
+ self.crumbs.forEach((crumb, i) => {
1561
+ crumb.inTrail = crumbIndex === i;
1562
+ });
1563
+ self.dom.trailDiv.selectAll("span").data(self.crumbs).each(async (crumb) => {
1564
+ crumb.div.style("display", crumb.inTrail ? "inline-block" : "none");
1565
+ });
1566
+ };
1567
+ }
1568
+
1569
+ // ../node_modules/highlight.js/es/core.js
1570
+ var import_core = __toESM(require_core(), 1);
1571
+ var core_default = import_core.default;
1572
+
1573
+ // ../node_modules/highlight.js/es/languages/javascript.js
1574
+ var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
1575
+ var KEYWORDS = [
1576
+ "as",
1577
+ // for exports
1578
+ "in",
1579
+ "of",
1580
+ "if",
1581
+ "for",
1582
+ "while",
1583
+ "finally",
1584
+ "var",
1585
+ "new",
1586
+ "function",
1587
+ "do",
1588
+ "return",
1589
+ "void",
1590
+ "else",
1591
+ "break",
1592
+ "catch",
1593
+ "instanceof",
1594
+ "with",
1595
+ "throw",
1596
+ "case",
1597
+ "default",
1598
+ "try",
1599
+ "switch",
1600
+ "continue",
1601
+ "typeof",
1602
+ "delete",
1603
+ "let",
1604
+ "yield",
1605
+ "const",
1606
+ "class",
1607
+ // JS handles these with a special rule
1608
+ // "get",
1609
+ // "set",
1610
+ "debugger",
1611
+ "async",
1612
+ "await",
1613
+ "static",
1614
+ "import",
1615
+ "from",
1616
+ "export",
1617
+ "extends"
1618
+ ];
1619
+ var LITERALS = [
1620
+ "true",
1621
+ "false",
1622
+ "null",
1623
+ "undefined",
1624
+ "NaN",
1625
+ "Infinity"
1626
+ ];
1627
+ var TYPES = [
1628
+ "Intl",
1629
+ "DataView",
1630
+ "Number",
1631
+ "Math",
1632
+ "Date",
1633
+ "String",
1634
+ "RegExp",
1635
+ "Object",
1636
+ "Function",
1637
+ "Boolean",
1638
+ "Error",
1639
+ "Symbol",
1640
+ "Set",
1641
+ "Map",
1642
+ "WeakSet",
1643
+ "WeakMap",
1644
+ "Proxy",
1645
+ "Reflect",
1646
+ "JSON",
1647
+ "Promise",
1648
+ "Float64Array",
1649
+ "Int16Array",
1650
+ "Int32Array",
1651
+ "Int8Array",
1652
+ "Uint16Array",
1653
+ "Uint32Array",
1654
+ "Float32Array",
1655
+ "Array",
1656
+ "Uint8Array",
1657
+ "Uint8ClampedArray",
1658
+ "ArrayBuffer",
1659
+ "BigInt64Array",
1660
+ "BigUint64Array",
1661
+ "BigInt"
1662
+ ];
1663
+ var ERROR_TYPES = [
1664
+ "EvalError",
1665
+ "InternalError",
1666
+ "RangeError",
1667
+ "ReferenceError",
1668
+ "SyntaxError",
1669
+ "TypeError",
1670
+ "URIError"
1671
+ ];
1672
+ var BUILT_IN_GLOBALS = [
1673
+ "setInterval",
1674
+ "setTimeout",
1675
+ "clearInterval",
1676
+ "clearTimeout",
1677
+ "require",
1678
+ "exports",
1679
+ "eval",
1680
+ "isFinite",
1681
+ "isNaN",
1682
+ "parseFloat",
1683
+ "parseInt",
1684
+ "decodeURI",
1685
+ "decodeURIComponent",
1686
+ "encodeURI",
1687
+ "encodeURIComponent",
1688
+ "escape",
1689
+ "unescape"
1690
+ ];
1691
+ var BUILT_IN_VARIABLES = [
1692
+ "arguments",
1693
+ "this",
1694
+ "super",
1695
+ "console",
1696
+ "window",
1697
+ "document",
1698
+ "localStorage",
1699
+ "module",
1700
+ "global"
1701
+ // Node.js
1702
+ ];
1703
+ var BUILT_INS = [].concat(
1704
+ BUILT_IN_GLOBALS,
1705
+ TYPES,
1706
+ ERROR_TYPES
1707
+ );
1708
+ function source(re) {
1709
+ if (!re) return null;
1710
+ if (typeof re === "string") return re;
1711
+ return re.source;
1712
+ }
1713
+ function lookahead(re) {
1714
+ return concat("(?=", re, ")");
1715
+ }
1716
+ function concat(...args) {
1717
+ const joined = args.map((x) => source(x)).join("");
1718
+ return joined;
1719
+ }
1720
+ function javascript(hljs2) {
1721
+ const hasClosingTag = (match, { after }) => {
1722
+ const tag = "</" + match[0].slice(1);
1723
+ const pos = match.input.indexOf(tag, after);
1724
+ return pos !== -1;
1725
+ };
1726
+ const IDENT_RE$1 = IDENT_RE;
1727
+ const FRAGMENT = {
1728
+ begin: "<>",
1729
+ end: "</>"
1730
+ };
1731
+ const XML_TAG = {
1732
+ begin: /<[A-Za-z0-9\\._:-]+/,
1733
+ end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
1734
+ /**
1735
+ * @param {RegExpMatchArray} match
1736
+ * @param {CallbackResponse} response
1737
+ */
1738
+ isTrulyOpeningTag: (match, response) => {
1739
+ const afterMatchIndex = match[0].length + match.index;
1740
+ const nextChar = match.input[afterMatchIndex];
1741
+ if (nextChar === "<") {
1742
+ response.ignoreMatch();
1743
+ return;
1744
+ }
1745
+ if (nextChar === ">") {
1746
+ if (!hasClosingTag(match, { after: afterMatchIndex })) {
1747
+ response.ignoreMatch();
1748
+ }
1749
+ }
1750
+ }
1751
+ };
1752
+ const KEYWORDS$1 = {
1753
+ $pattern: IDENT_RE,
1754
+ keyword: KEYWORDS,
1755
+ literal: LITERALS,
1756
+ built_in: BUILT_INS,
1757
+ "variable.language": BUILT_IN_VARIABLES
1758
+ };
1759
+ const decimalDigits = "[0-9](_?[0-9])*";
1760
+ const frac = `\\.(${decimalDigits})`;
1761
+ const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
1762
+ const NUMBER = {
1763
+ className: "number",
1764
+ variants: [
1765
+ // DecimalLiteral
1766
+ { begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
1767
+ { begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
1768
+ // DecimalBigIntegerLiteral
1769
+ { begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
1770
+ // NonDecimalIntegerLiteral
1771
+ { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
1772
+ { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
1773
+ { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
1774
+ // LegacyOctalIntegerLiteral (does not include underscore separators)
1775
+ // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
1776
+ { begin: "\\b0[0-7]+n?\\b" }
1777
+ ],
1778
+ relevance: 0
1779
+ };
1780
+ const SUBST = {
1781
+ className: "subst",
1782
+ begin: "\\$\\{",
1783
+ end: "\\}",
1784
+ keywords: KEYWORDS$1,
1785
+ contains: []
1786
+ // defined later
1787
+ };
1788
+ const HTML_TEMPLATE = {
1789
+ begin: "html`",
1790
+ end: "",
1791
+ starts: {
1792
+ end: "`",
1793
+ returnEnd: false,
1794
+ contains: [
1795
+ hljs2.BACKSLASH_ESCAPE,
1796
+ SUBST
1797
+ ],
1798
+ subLanguage: "xml"
1799
+ }
1800
+ };
1801
+ const CSS_TEMPLATE = {
1802
+ begin: "css`",
1803
+ end: "",
1804
+ starts: {
1805
+ end: "`",
1806
+ returnEnd: false,
1807
+ contains: [
1808
+ hljs2.BACKSLASH_ESCAPE,
1809
+ SUBST
1810
+ ],
1811
+ subLanguage: "css"
1812
+ }
1813
+ };
1814
+ const TEMPLATE_STRING = {
1815
+ className: "string",
1816
+ begin: "`",
1817
+ end: "`",
1818
+ contains: [
1819
+ hljs2.BACKSLASH_ESCAPE,
1820
+ SUBST
1821
+ ]
1822
+ };
1823
+ const JSDOC_COMMENT = hljs2.COMMENT(
1824
+ /\/\*\*(?!\/)/,
1825
+ "\\*/",
1826
+ {
1827
+ relevance: 0,
1828
+ contains: [
1829
+ {
1830
+ begin: "(?=@[A-Za-z]+)",
1831
+ relevance: 0,
1832
+ contains: [
1833
+ {
1834
+ className: "doctag",
1835
+ begin: "@[A-Za-z]+"
1836
+ },
1837
+ {
1838
+ className: "type",
1839
+ begin: "\\{",
1840
+ end: "\\}",
1841
+ excludeEnd: true,
1842
+ excludeBegin: true,
1843
+ relevance: 0
1844
+ },
1845
+ {
1846
+ className: "variable",
1847
+ begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
1848
+ endsParent: true,
1849
+ relevance: 0
1850
+ },
1851
+ // eat spaces (not newlines) so we can find
1852
+ // types or variables
1853
+ {
1854
+ begin: /(?=[^\n])\s/,
1855
+ relevance: 0
1856
+ }
1857
+ ]
1858
+ }
1859
+ ]
1860
+ }
1861
+ );
1862
+ const COMMENT = {
1863
+ className: "comment",
1864
+ variants: [
1865
+ JSDOC_COMMENT,
1866
+ hljs2.C_BLOCK_COMMENT_MODE,
1867
+ hljs2.C_LINE_COMMENT_MODE
1868
+ ]
1869
+ };
1870
+ const SUBST_INTERNALS = [
1871
+ hljs2.APOS_STRING_MODE,
1872
+ hljs2.QUOTE_STRING_MODE,
1873
+ HTML_TEMPLATE,
1874
+ CSS_TEMPLATE,
1875
+ TEMPLATE_STRING,
1876
+ NUMBER,
1877
+ hljs2.REGEXP_MODE
1878
+ ];
1879
+ SUBST.contains = SUBST_INTERNALS.concat({
1880
+ // we need to pair up {} inside our subst to prevent
1881
+ // it from ending too early by matching another }
1882
+ begin: /\{/,
1883
+ end: /\}/,
1884
+ keywords: KEYWORDS$1,
1885
+ contains: [
1886
+ "self"
1887
+ ].concat(SUBST_INTERNALS)
1888
+ });
1889
+ const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
1890
+ const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
1891
+ // eat recursive parens in sub expressions
1892
+ {
1893
+ begin: /\(/,
1894
+ end: /\)/,
1895
+ keywords: KEYWORDS$1,
1896
+ contains: ["self"].concat(SUBST_AND_COMMENTS)
1897
+ }
1898
+ ]);
1899
+ const PARAMS = {
1900
+ className: "params",
1901
+ begin: /\(/,
1902
+ end: /\)/,
1903
+ excludeBegin: true,
1904
+ excludeEnd: true,
1905
+ keywords: KEYWORDS$1,
1906
+ contains: PARAMS_CONTAINS
1907
+ };
1908
+ const CLASS_OR_EXTENDS = {
1909
+ variants: [
1910
+ {
1911
+ match: [
1912
+ /class/,
1913
+ /\s+/,
1914
+ IDENT_RE$1
1915
+ ],
1916
+ scope: {
1917
+ 1: "keyword",
1918
+ 3: "title.class"
1919
+ }
1920
+ },
1921
+ {
1922
+ match: [
1923
+ /extends/,
1924
+ /\s+/,
1925
+ concat(IDENT_RE$1, "(", concat(/\./, IDENT_RE$1), ")*")
1926
+ ],
1927
+ scope: {
1928
+ 1: "keyword",
1929
+ 3: "title.class.inherited"
1930
+ }
1931
+ }
1932
+ ]
1933
+ };
1934
+ const CLASS_REFERENCE = {
1935
+ relevance: 0,
1936
+ match: /\b[A-Z][a-z]+([A-Z][a-z]+)*/,
1937
+ className: "title.class",
1938
+ keywords: {
1939
+ _: [
1940
+ // se we still get relevance credit for JS library classes
1941
+ ...TYPES,
1942
+ ...ERROR_TYPES
1943
+ ]
1944
+ }
1945
+ };
1946
+ const USE_STRICT = {
1947
+ label: "use_strict",
1948
+ className: "meta",
1949
+ relevance: 10,
1950
+ begin: /^\s*['"]use (strict|asm)['"]/
1951
+ };
1952
+ const FUNCTION_DEFINITION = {
1953
+ variants: [
1954
+ {
1955
+ match: [
1956
+ /function/,
1957
+ /\s+/,
1958
+ IDENT_RE$1,
1959
+ /(?=\s*\()/
1960
+ ]
1961
+ },
1962
+ // anonymous function
1963
+ {
1964
+ match: [
1965
+ /function/,
1966
+ /\s*(?=\()/
1967
+ ]
1968
+ }
1969
+ ],
1970
+ className: {
1971
+ 1: "keyword",
1972
+ 3: "title.function"
1973
+ },
1974
+ label: "func.def",
1975
+ contains: [PARAMS],
1976
+ illegal: /%/
1977
+ };
1978
+ const UPPER_CASE_CONSTANT = {
1979
+ relevance: 0,
1980
+ match: /\b[A-Z][A-Z_0-9]+\b/,
1981
+ className: "variable.constant"
1982
+ };
1983
+ function noneOf(list) {
1984
+ return concat("(?!", list.join("|"), ")");
1985
+ }
1986
+ const FUNCTION_CALL = {
1987
+ match: concat(
1988
+ /\b/,
1989
+ noneOf([
1990
+ ...BUILT_IN_GLOBALS,
1991
+ "super"
1992
+ ]),
1993
+ IDENT_RE$1,
1994
+ lookahead(/\(/)
1995
+ ),
1996
+ className: "title.function",
1997
+ relevance: 0
1998
+ };
1999
+ const PROPERTY_ACCESS = {
2000
+ begin: concat(/\./, lookahead(
2001
+ concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
2002
+ )),
2003
+ end: IDENT_RE$1,
2004
+ excludeBegin: true,
2005
+ keywords: "prototype",
2006
+ className: "property",
2007
+ relevance: 0
2008
+ };
2009
+ const GETTER_OR_SETTER = {
2010
+ match: [
2011
+ /get|set/,
2012
+ /\s+/,
2013
+ IDENT_RE$1,
2014
+ /(?=\()/
2015
+ ],
2016
+ className: {
2017
+ 1: "keyword",
2018
+ 3: "title.function"
2019
+ },
2020
+ contains: [
2021
+ {
2022
+ // eat to avoid empty params
2023
+ begin: /\(\)/
2024
+ },
2025
+ PARAMS
2026
+ ]
2027
+ };
2028
+ const FUNC_LEAD_IN_RE = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs2.UNDERSCORE_IDENT_RE + ")\\s*=>";
2029
+ const FUNCTION_VARIABLE = {
2030
+ match: [
2031
+ /const|var|let/,
2032
+ /\s+/,
2033
+ IDENT_RE$1,
2034
+ /\s*/,
2035
+ /=\s*/,
2036
+ lookahead(FUNC_LEAD_IN_RE)
2037
+ ],
2038
+ className: {
2039
+ 1: "keyword",
2040
+ 3: "title.function"
2041
+ },
2042
+ contains: [
2043
+ PARAMS
2044
+ ]
2045
+ };
2046
+ return {
2047
+ name: "Javascript",
2048
+ aliases: ["js", "jsx", "mjs", "cjs"],
2049
+ keywords: KEYWORDS$1,
2050
+ // this will be extended by TypeScript
2051
+ exports: { PARAMS_CONTAINS },
2052
+ illegal: /#(?![$_A-z])/,
2053
+ contains: [
2054
+ hljs2.SHEBANG({
2055
+ label: "shebang",
2056
+ binary: "node",
2057
+ relevance: 5
2058
+ }),
2059
+ USE_STRICT,
2060
+ hljs2.APOS_STRING_MODE,
2061
+ hljs2.QUOTE_STRING_MODE,
2062
+ HTML_TEMPLATE,
2063
+ CSS_TEMPLATE,
2064
+ TEMPLATE_STRING,
2065
+ COMMENT,
2066
+ NUMBER,
2067
+ CLASS_REFERENCE,
2068
+ {
2069
+ className: "attr",
2070
+ begin: IDENT_RE$1 + lookahead(":"),
2071
+ relevance: 0
2072
+ },
2073
+ FUNCTION_VARIABLE,
2074
+ {
2075
+ // "value" container
2076
+ begin: "(" + hljs2.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
2077
+ keywords: "return throw case",
2078
+ relevance: 0,
2079
+ contains: [
2080
+ COMMENT,
2081
+ hljs2.REGEXP_MODE,
2082
+ {
2083
+ className: "function",
2084
+ // we have to count the parens to make sure we actually have the
2085
+ // correct bounding ( ) before the =>. There could be any number of
2086
+ // sub-expressions inside also surrounded by parens.
2087
+ begin: FUNC_LEAD_IN_RE,
2088
+ returnBegin: true,
2089
+ end: "\\s*=>",
2090
+ contains: [
2091
+ {
2092
+ className: "params",
2093
+ variants: [
2094
+ {
2095
+ begin: hljs2.UNDERSCORE_IDENT_RE,
2096
+ relevance: 0
2097
+ },
2098
+ {
2099
+ className: null,
2100
+ begin: /\(\s*\)/,
2101
+ skip: true
2102
+ },
2103
+ {
2104
+ begin: /\(/,
2105
+ end: /\)/,
2106
+ excludeBegin: true,
2107
+ excludeEnd: true,
2108
+ keywords: KEYWORDS$1,
2109
+ contains: PARAMS_CONTAINS
2110
+ }
2111
+ ]
2112
+ }
2113
+ ]
2114
+ },
2115
+ {
2116
+ // could be a comma delimited list of params to a function call
2117
+ begin: /,/,
2118
+ relevance: 0
2119
+ },
2120
+ {
2121
+ match: /\s+/,
2122
+ relevance: 0
2123
+ },
2124
+ {
2125
+ // JSX
2126
+ variants: [
2127
+ { begin: FRAGMENT.begin, end: FRAGMENT.end },
2128
+ {
2129
+ begin: XML_TAG.begin,
2130
+ // we carefully check the opening tag to see if it truly
2131
+ // is a tag and not a false positive
2132
+ "on:begin": XML_TAG.isTrulyOpeningTag,
2133
+ end: XML_TAG.end
2134
+ }
2135
+ ],
2136
+ subLanguage: "xml",
2137
+ contains: [
2138
+ {
2139
+ begin: XML_TAG.begin,
2140
+ end: XML_TAG.end,
2141
+ skip: true,
2142
+ contains: ["self"]
2143
+ }
2144
+ ]
2145
+ }
2146
+ ]
2147
+ },
2148
+ FUNCTION_DEFINITION,
2149
+ {
2150
+ // prevent this from getting swallowed up by function
2151
+ // since they appear "function like"
2152
+ beginKeywords: "while if switch catch for"
2153
+ },
2154
+ {
2155
+ // we have to count the parens to make sure we actually have the correct
2156
+ // bounding ( ). There could be any number of sub-expressions inside
2157
+ // also surrounded by parens.
2158
+ begin: "\\b(?!function)" + hljs2.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
2159
+ // end parens
2160
+ returnBegin: true,
2161
+ label: "func.def",
2162
+ contains: [
2163
+ PARAMS,
2164
+ hljs2.inherit(hljs2.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
2165
+ ]
2166
+ },
2167
+ // catch ... so it won't trigger the property rule below
2168
+ {
2169
+ match: /\.\.\./,
2170
+ relevance: 0
2171
+ },
2172
+ PROPERTY_ACCESS,
2173
+ // hack: prevents detection of keywords in some circumstances
2174
+ // .keyword()
2175
+ // $keyword = x
2176
+ {
2177
+ match: "\\$" + IDENT_RE$1,
2178
+ relevance: 0
2179
+ },
2180
+ {
2181
+ match: [/\bconstructor(?=\s*\()/],
2182
+ className: { 1: "title.function" },
2183
+ contains: [PARAMS]
2184
+ },
2185
+ FUNCTION_CALL,
2186
+ UPPER_CASE_CONSTANT,
2187
+ CLASS_OR_EXTENDS,
2188
+ GETTER_OR_SETTER,
2189
+ {
2190
+ match: /\$[(.]/
2191
+ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
2192
+ }
2193
+ ]
2194
+ };
2195
+ }
2196
+ var javascript_default = javascript;
2197
+
2198
+ // ../node_modules/highlight.js/es/languages/json.js
2199
+ function json(hljs2) {
2200
+ const ATTRIBUTE = {
2201
+ className: "attr",
2202
+ begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
2203
+ relevance: 1.01
2204
+ };
2205
+ const PUNCTUATION = {
2206
+ match: /[{}[\],:]/,
2207
+ className: "punctuation",
2208
+ relevance: 0
2209
+ };
2210
+ const LITERALS2 = {
2211
+ beginKeywords: [
2212
+ "true",
2213
+ "false",
2214
+ "null"
2215
+ ].join(" ")
2216
+ };
2217
+ return {
2218
+ name: "JSON",
2219
+ contains: [
2220
+ ATTRIBUTE,
2221
+ PUNCTUATION,
2222
+ hljs2.QUOTE_STRING_MODE,
2223
+ LITERALS2,
2224
+ hljs2.C_NUMBER_MODE,
2225
+ hljs2.C_LINE_COMMENT_MODE,
2226
+ hljs2.C_BLOCK_COMMENT_MODE
2227
+ ],
2228
+ illegal: "\\S"
2229
+ };
2230
+ }
2231
+ var json_default = json;
2232
+
2233
+ // appdrawer/adSandbox.js
2234
+ core_default.registerLanguage("javascript", javascript_default);
2235
+ core_default.registerLanguage("json", json_default);
2236
+ async function openSandbox(element, pageArgs) {
2237
+ const sandboxDiv = newSandboxDiv(pageArgs.sandboxDiv);
2238
+ sandboxDiv.header_row;
2239
+ sandboxDiv.header.append("span").html(
2240
+ element.type != "nestedCard" ? `<a href="${sessionStorage.getItem("hostURL")}/?appcard=${element.sandboxJson || element.sandboxHtml}">${element.name}</a>` : element.name
2241
+ );
2242
+ sandboxDiv.body.style("overflow", "hidden").style("background-color", "white");
2243
+ if (element.type == "nestedCard") return openNestedCardSandbox(element, sandboxDiv, pageArgs);
2244
+ const res = element.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxHtml}.txt`);
2245
+ if (res.error) {
2246
+ sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2247
+ return;
2248
+ }
2249
+ if (element.type == "card") return openCardSandbox(element, res, sandboxDiv, pageArgs);
2250
+ if (element.type == "dsButton") return openDatasetButtonSandbox(element, pageArgs, res, sandboxDiv);
2251
+ }
2252
+ async function openNestedCardSandbox(nestedCard, sandboxDiv, pageArgs) {
2253
+ sandboxDiv.body.style("justify-content", "center").style("background-color", "#f2ebdc");
2254
+ 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");
2255
+ const filteredChildren = nestedCard.children.filter((e) => !e.hidden);
2256
+ sandboxDiv.header.trail = new BreadcrumbTrail({
2257
+ holder: sandboxDiv.header,
2258
+ crumbs: filteredChildren
2259
+ });
2260
+ filteredChildren.forEach((child) => {
2261
+ const uc = ucList.append("li");
2262
+ uc.attr("class", "sjpp-app-drawer-card").style("padding", "10px").style("margin", "5px").html(
2263
+ `<p style="margin-left: 12px; font-size:14.5px;font-weight:500; display: block;">${child.name}</p>
2264
+ <p style="display: block; font-size: 13px; font-weight: 300; margin-left: 20px; justify-content: center; font-style:oblique; color: #403f3f;">${child.description}</p>`
2265
+ ).on("click", async (event) => {
2266
+ event.stopPropagation();
2267
+ ucList.selectAll("*").remove();
2268
+ const res = child.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxHtml}.txt`);
2269
+ if (res.error) {
2270
+ sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2271
+ return;
2272
+ }
2273
+ if (child.type == "card") {
2274
+ sandboxDiv.header.trail.main();
2275
+ openCardSandbox(child, res, sandboxDiv, pageArgs);
2276
+ const crumbIndex = filteredChildren.findIndex((c) => c == child);
2277
+ sandboxDiv.header.trail.update(crumbIndex);
2278
+ }
2279
+ if (child.type == "dsButton") return openDatasetButtonSandbox(child, pageArgs.app.opts, res, sandboxDiv);
2280
+ });
2281
+ return JSON.stringify(uc);
2282
+ });
2283
+ }
2284
+ async function openCardSandbox(card, res, sandboxDiv, pageArgs) {
2285
+ if (card.sandboxHtml) {
2286
+ const renderHtml = await res.text();
2287
+ 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);
2288
+ }
2289
+ sandboxDiv.body.style("background-color", "white");
2290
+ const sandboxArgs = {
2291
+ intro: res.intro,
2292
+ ppcalls: res.ppcalls.filter((e) => !e.hidden),
2293
+ buttons: res.buttons,
2294
+ arrowButtons: res.arrowButtons,
2295
+ ribbonMessage: res.ribbonMessage,
2296
+ citation: res.citation_id
2297
+ };
2298
+ addHtmlText(sandboxArgs.intro, sandboxDiv.body);
2299
+ if (card.ribbon) addHtmlText(sandboxArgs.ribbonMessage, sandboxDiv.body, card.ribbon);
2300
+ const mainButtonsDiv = sandboxDiv.body.append("div");
2301
+ const mainButtonsContentDiv = sandboxDiv.body.append("div");
2302
+ addButtons(sandboxArgs.buttons, mainButtonsDiv);
2303
+ addArrowBtns(sandboxArgs, "main", mainButtonsDiv, mainButtonsContentDiv, pageArgs);
2304
+ if (card.disableTopTabs) renderContent(sandboxArgs.ppcalls[0], sandboxDiv.body, card, pageArgs);
2305
+ else {
2306
+ 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");
2307
+ const tabsContentDiv = sandboxDiv.body.append("div");
2308
+ makeParentTabsMenu(sandboxArgs.ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs);
2309
+ }
2310
+ }
2311
+ function renderContent(ppcalls, div, card, pageArgs) {
2312
+ addHtmlText(ppcalls.message, div);
2313
+ const buttonsDiv = div.append("div").style("margin-bottom", "20px");
2314
+ const buttonsContentDiv = div.append("div");
2315
+ addButtons(ppcalls.buttons, buttonsDiv);
2316
+ makeDataDownload(ppcalls.download, buttonsDiv, card.section);
2317
+ showURLLaunch(ppcalls.urlparam, buttonsDiv, card.section);
2318
+ addArrowBtns(ppcalls, "call", buttonsDiv, buttonsContentDiv, pageArgs);
2319
+ if (!card.disableTopTabs) {
2320
+ div.append("hr").style("border", "0").style("border-top", "1px dashed #e3e3e6").style("width", "100%");
2321
+ }
2322
+ const runpp_arg = {
2323
+ holder: div.append("div").style("margin", "20px").node(),
2324
+ /* Do not use window.location.origin
2325
+ Will break the embedder (/genomes will be requested from https:/embedder.site.org/genomes,
2326
+ for example). It's very rare for an embedder to want to show this default "portal" header
2327
+ because external portals usually have their own headers, but it will affect simple html
2328
+ pages that embed a runpp() call where the app header is not hidden. */
2329
+ host: ppcalls.runargs.host || sessionStorage.getItem("hostURL")
2330
+ };
2331
+ const callpp = JSON.parse(JSON.stringify(ppcalls.runargs));
2332
+ runproteinpaint(Object.assign(runpp_arg, callpp));
2333
+ }
2334
+ function makeTopTabs(ppcalls, card, sandboxDiv, pageArgs) {
2335
+ const tabs = [];
2336
+ const ui = ppcalls.findIndex((t) => t.isUi == true);
2337
+ const notui = ppcalls.findIndex((t) => t.isUi == void 0);
2338
+ const uiPresent = ui != -1 ? true : false;
2339
+ if (uiPresent == true) {
2340
+ tabs.push({
2341
+ label: "Add Your Data",
2342
+ active: false,
2343
+ callback: async (event, tab) => {
2344
+ try {
2345
+ const runpp_arg = {
2346
+ holder: tab.contentHolder.append("div").style("margin", "20px").node(),
2347
+ sandbox_header: tab.contentHolder,
2348
+ host: sessionStorage.getItem("hostURL")
2349
+ };
2350
+ const callpp = JSON.parse(JSON.stringify(ppcalls[ui].runargs));
2351
+ runproteinpaint(Object.assign(runpp_arg, callpp));
2352
+ delete tab.callback;
2353
+ } catch (e) {
2354
+ if (e.stack) console.error(e.stack);
2355
+ else throw e;
2356
+ }
2357
+ }
2358
+ });
2359
+ }
2360
+ if (ppcalls.length == 1 && uiPresent != true || ppcalls.length == 2 && uiPresent == true) {
2361
+ tabs.push({
2362
+ label: "Example",
2363
+ active: false,
2364
+ callback: async (event, tab) => {
2365
+ try {
2366
+ renderContent(ppcalls[notui], tab.contentHolder, card, pageArgs);
2367
+ delete tab.callback;
2368
+ } catch (e) {
2369
+ if (e.stack) console.error(e.stack);
2370
+ else throw e;
2371
+ }
2372
+ }
2373
+ });
2374
+ }
2375
+ if (ppcalls.length > 1 && uiPresent == false || ppcalls.length > 2 && uiPresent == true) {
2376
+ tabs.push({
2377
+ label: "Examples",
2378
+ active: pageArgs?.example ? true : false,
2379
+ callback: async (event, tab) => {
2380
+ try {
2381
+ const examplesOnly = ppcalls.filter((p) => p.isUi != true);
2382
+ makeLeftsideTabMenu(card, tab.contentHolder, examplesOnly, sandboxDiv, pageArgs);
2383
+ delete tab.callback;
2384
+ } catch (e) {
2385
+ if (e.stack) console.error(e.stack);
2386
+ else throw e;
2387
+ }
2388
+ }
2389
+ });
2390
+ }
2391
+ return tabs;
2392
+ }
2393
+ function makeParentTabsMenu(ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs) {
2394
+ const tabs = makeTopTabs(ppcalls, card, sandboxDiv, pageArgs);
2395
+ new Tabs({ holder: topTabsDiv, contentHolder: tabsContentDiv, tabs }).main();
2396
+ }
2397
+ async function makeLeftsideTabMenu(card, contentHolder, examplesOnly, sandboxDiv, pageArgs) {
2398
+ const tabs = examplesOnly.map((p, index) => getTabData(p, index, card.section));
2399
+ sandboxDiv.header.trail = await new BreadcrumbTrail({
2400
+ holder: sandboxDiv.header,
2401
+ crumbs: tabs
2402
+ });
2403
+ function getTabData(ppcalls, i, section) {
2404
+ const active = pageArgs?.example ? pageArgs.example.toUpperCase() == ppcalls.label.toUpperCase() : i === 0;
2405
+ return {
2406
+ active,
2407
+ inTrail: active,
2408
+ link: `${sessionStorage.getItem("hostURL")}/?appcard=${card.sandboxJson || card.sandboxHtml}&example=${ppcalls.label}`,
2409
+ label: ppcalls.label,
2410
+ callback: async (event, tab) => {
2411
+ const wait = tab_wait(tab.contentHolder);
2412
+ try {
2413
+ if (!tab.rendered) {
2414
+ appear(tab.contentHolder);
2415
+ renderContent(ppcalls, tab.contentHolder, section, pageArgs);
2416
+ wait.remove();
2417
+ }
2418
+ tab.rendered = true;
2419
+ const crumbIndex = tabs.findIndex((t) => t == tab);
2420
+ sandboxDiv.header.trail.update(crumbIndex);
2421
+ wait.remove();
2422
+ } catch (e) {
2423
+ wait.text("Error: " + (e.message || e));
2424
+ }
2425
+ }
2426
+ };
2427
+ }
2428
+ sandboxDiv.header.trail.main();
2429
+ 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");
2430
+ const tabsDiv = wrapper.append("div").classed("sjpp-tabs-div", true).style("border-right", "1px solid lightgray");
2431
+ const tabsContentDiv = wrapper.append("div").classed("sjpp-content-div", true);
2432
+ new Tabs({
2433
+ holder: tabsDiv,
2434
+ contentHolder: tabsContentDiv,
2435
+ tabs,
2436
+ linePosition: "right",
2437
+ tabsPosition: "vertical",
2438
+ gap: "10px"
2439
+ }).main();
2440
+ }
2441
+ function addHtmlText(text, div, ribbon) {
2442
+ if (ribbon && ribbon.expireDate) {
2443
+ const today = /* @__PURE__ */ new Date();
2444
+ const expire = new Date(ribbon.expireDate);
2445
+ if (expire > today && text != void 0 && text) {
2446
+ let boldedText2 = function() {
2447
+ const str = ribbon.text.toLowerCase();
2448
+ return str[0].toUpperCase() + str.slice(1);
2449
+ };
2450
+ var boldedText = boldedText2;
2451
+ div.append("div").style("margin", "20px").html(`<p style="display:inline-block;font-weight:bold">${boldedText2()}: &nbsp</p>${text}`);
2452
+ }
2453
+ } else if (text != void 0 && text) {
2454
+ div.append("div").style("margin", "20px").html(text);
2455
+ }
2456
+ }
2457
+ function addButtons(buttons, div) {
2458
+ if (buttons) {
2459
+ buttons.forEach((button) => {
2460
+ const sandboxButton = makeButton({ div, text: button.name });
2461
+ sandboxButton.on("click", (event) => {
2462
+ event.stopPropagation();
2463
+ if (button.download) window.open(`${button.download}`, "_self", "download");
2464
+ else window.open(`${button.link}`, `${button.name}`);
2465
+ });
2466
+ });
2467
+ }
2468
+ }
2469
+ function makeArrowButtons(arrows, btns) {
2470
+ if (arrows) {
2471
+ arrows.forEach((arrow) => {
2472
+ const contents = `<div style="margin:10px;" class="sjpp-arrow-content">
2473
+ ${arrow.message ? `<div style="margin: 1vw;">${arrow.message}</div>` : ""}
2474
+ ${arrow.links ? arrow.links.map((hyperlink) => {
2475
+ if (!hyperlink) return "";
2476
+ if (hyperlink.download) {
2477
+ return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.download}", target="_self" download>${hyperlink.name}</a>`;
2478
+ }
2479
+ if (hyperlink.link) {
2480
+ return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.link}", target="_blank">${hyperlink.name}</a>`;
2481
+ }
2482
+ }).join("") : ""}</div>`;
2483
+ btns.push({
2484
+ name: arrow.name,
2485
+ callback: async (rdiv) => {
2486
+ try {
2487
+ rdiv.append("div").html(contents);
2488
+ } catch (e) {
2489
+ alert("Error: " + e);
2490
+ }
2491
+ }
2492
+ });
2493
+ });
2494
+ }
2495
+ }
2496
+ async function addArrowBtns(args, type, bdiv, rdiv, pageArgs) {
2497
+ let btns = [];
2498
+ if (type == "call") showCode(args, btns);
2499
+ const genome = args?.runargs?.genome;
2500
+ if (args.datapreview && genome) showViewData(btns, args.datapreview, genome);
2501
+ if (args.citation || args.data_source) {
2502
+ const res = await dofetch3(`/${pageArgs.app.cardsPath}/citations.json`);
2503
+ if (res.error) {
2504
+ console.error(`Error: ${res.error}`);
2505
+ return;
2506
+ }
2507
+ for (const pub of res.publications) {
2508
+ if (args.citation == pub.id || args.data_source == pub.id) {
2509
+ const label = args.data_source ? "Data Source" : "Citation";
2510
+ showCitation(btns, pub, label);
2511
+ }
2512
+ }
2513
+ }
2514
+ makeArrowButtons(args.arrowButtons, btns);
2515
+ const active_btn = btns.findIndex((b) => b.active) == -1 ? false : true;
2516
+ for (let i = 0; i < btns.length; i++) {
2517
+ const btn = btns[i];
2518
+ btn.btn = makeButton({ div: bdiv, text: btn.name + " \u25BC" });
2519
+ btn.c = rdiv.append("div").style("margin", "20px 0px 10px 20px").style("display", active_btn && i == 0 || btn.active ? "block" : "none");
2520
+ if (active_btn && i == 0 && btn.callback || btn.active) {
2521
+ btn.callback(btn.c);
2522
+ delete btn.callback;
2523
+ }
2524
+ btn.btn.on("click", () => {
2525
+ if (btn.c.style("display") != "none") {
2526
+ btn.btn.text(btn.name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2527
+ btn.c.style("display", "none");
2528
+ } else {
2529
+ btn.btn.text(btn.name + " \u25B2").style("color", "whitesmoke").style("background-color", "#487ba8");
2530
+ appear(btn.c);
2531
+ for (let j = 0; j < btns.length; j++) {
2532
+ if (i != j) {
2533
+ btns[j].btn.text(btns[j].name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2534
+ btns[j].c.style("display", "none");
2535
+ }
2536
+ }
2537
+ }
2538
+ if (btn.callback) {
2539
+ btn.callback(btn.c);
2540
+ delete btn.callback;
2541
+ }
2542
+ });
2543
+ }
2544
+ }
2545
+ function showURLLaunch(urlparam, div, section) {
2546
+ if (!urlparam) return;
2547
+ const URLbtn = makeButton({ div, text: section == "apps" ? "Run app from URL" : "Run track from URL" });
2548
+ URLbtn.on("click", (event) => {
2549
+ const hostURL = getHostURL();
2550
+ event.stopPropagation();
2551
+ window.open(`${hostURL}${urlparam}`, "_blank");
2552
+ });
2553
+ }
2554
+ function makeDataDownload(download, div, section) {
2555
+ if (!download) return;
2556
+ const dataBtn = makeButton({
2557
+ div,
2558
+ text: section == "apps" ? "Download App File(s)" : "Download Track File(s)"
2559
+ });
2560
+ dataBtn.on("click", (event) => {
2561
+ event.stopPropagation();
2562
+ window.open(`${download}`, "_self", "download");
2563
+ });
2564
+ }
2565
+ async function showCode(ppcalls, btns) {
2566
+ if (ppcalls.isUi == true) return;
2567
+ const runppCode = core_default.highlight(
2568
+ `runproteinpaint({
2569
+ host: "${sessionStorage.getItem("hostURL")}",
2570
+ holder: document.getElementById('a'),
2571
+ ` + // Fix for first argument not properly appearing underneath holder
2572
+ JSON.stringify(ppcalls.runargs, "", 4).replaceAll(/"(.+)"\s*:/g, "$1:").replaceAll(/\\t/g, " ").replaceAll(/\\n/g, "\r ").slice(1, -1).trim() + `\r})`,
2573
+ { language: "javascript" }
2574
+ ).value;
2575
+ 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;`}">
2576
+ <code style="font-size:14px; display:block;">${runppCode}</code></pre>`;
2577
+ btns.push({
2578
+ name: "Code",
2579
+ callback: async (rdiv) => {
2580
+ try {
2581
+ if (ppcalls.jsonpath) {
2582
+ const includeJson = await showJsonCode(ppcalls);
2583
+ const runppHeader = "<p style='margin:20px 5px 20px 25px;'>ProteinPaint JS code</p>";
2584
+ const grid = rdiv.append("div").style("display", "grid").style("grid-template-columns", "repeat(auto-fit, minmax(100px, 1fr))").style("gap", "5px");
2585
+ grid.append("div").style("display", "block").html(runppHeader + runppContents);
2586
+ grid.append("div").style("display", "block").html(includeJson);
2587
+ } else {
2588
+ rdiv.append("div").html(runppContents);
2589
+ }
2590
+ } catch (e) {
2591
+ alert("Error: " + e);
2592
+ }
2593
+ }
2594
+ });
2595
+ }
2596
+ async function showJsonCode(ppcalls) {
2597
+ const jsondata = await dofetch("textfile", { file: ppcalls.jsonpath });
2598
+ const json_code = JSON.parse(jsondata.text);
2599
+ const splitpath = ppcalls.jsonpath.split("/");
2600
+ const filename = splitpath[splitpath.length - 1];
2601
+ let lines = JSON.stringify(json_code, "", 4).split("\n");
2602
+ let slicedjson;
2603
+ if (lines.length > 120) {
2604
+ lines = lines.slice(0, 100);
2605
+ slicedjson = true;
2606
+ }
2607
+ const code = core_default.highlight(lines.join("\n"), { language: "json" }).value;
2608
+ const json_contents = `<div>
2609
+ <p style="margin: 20px 5px 20px 25px; display: inline-block;">JSON code </p>
2610
+ <p style="display: inline-block; color: #696969; font-style:oblique;"> (contents of ${filename})</p>
2611
+ </div>
2612
+ <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;">
2613
+ <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}`}
2614
+ </code>
2615
+ </pre>`;
2616
+ return json_contents;
2617
+ }
2618
+ function showCitation(btns, pub, label) {
2619
+ btns.push({
2620
+ name: label,
2621
+ callback: async (rdiv) => {
2622
+ try {
2623
+ rdiv.append("div").style("margin-left", "5w").html(
2624
+ `<span style="display: inline-block;">${pub.title}. <em>${pub.journal}</em>, ${pub.year}.
2625
+ ${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>`
2626
+ );
2627
+ } catch (e) {
2628
+ alert("Error: " + e);
2629
+ }
2630
+ }
2631
+ });
2632
+ }
2633
+ function makeDataPreviewDiv(content, contLength, div, filename, message) {
2634
+ div.append("div").html(`
2635
+ ${message ? `<p style="display:block;">${message}<p>` : ""}
2636
+ <p style="display: inline-block;">Data preview <span style="color: #696969; font-style:oblique;">
2637
+ ${contLength > 10 ? `(first ${content.length} rows of ${filename})</span></p>` : `(content of ${filename})</span></p>`}
2638
+ `);
2639
+ 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");
2640
+ content.forEach((c) => {
2641
+ bedjContent_div.append("code").html(c);
2642
+ });
2643
+ }
2644
+ async function showViewData(btns, data, genome) {
2645
+ btns.push({
2646
+ name: "View Data",
2647
+ callback: async (rdiv) => {
2648
+ try {
2649
+ for (const file of data) {
2650
+ const res = await dofetch3("cardsjson", {
2651
+ body: { datafile: file.file, genome, tabixCoord: file.tabixQueryCoord }
2652
+ });
2653
+ if (res.error) {
2654
+ console.error(`Error: ${res.error}`);
2655
+ rdiv.text(`Error retrieving example data: ${res.error}`);
2656
+ return;
2657
+ }
2658
+ const returnedContent = res.file;
2659
+ const contLength = returnedContent.length;
2660
+ const content = returnedContent.slice(0, 10);
2661
+ const splitpath = file.file.split("/");
2662
+ const filename = splitpath[splitpath.length - 1];
2663
+ makeDataPreviewDiv(content, contLength, rdiv, filename, file.message);
2664
+ }
2665
+ } catch (e) {
2666
+ alert("Error: " + e);
2667
+ }
2668
+ }
2669
+ });
2670
+ }
2671
+ async function openDatasetButtonSandbox(elem, pageArgs, res, sandboxDiv) {
2672
+ if (elem.sandboxHtml) {
2673
+ const renderHtml = await res.text();
2674
+ return sandboxDiv.body.append("div").style("line-height", "1.5em").style("padding", "1.5em 1.5em 2em 1.5em").html(renderHtml);
2675
+ }
2676
+ const genome = pageArgs?.fromApp ? pageArgs.genomes[res.button.availableGenomes[0]] : pageArgs.app.opts.genomes[res.button.availableGenomes[0]];
2677
+ let genomes;
2678
+ if (res.button.runargs.host) {
2679
+ genomes = await getGenomes(res.button.runargs.host);
2680
+ } else genomes = pageArgs?.fromApp ? pageArgs.genomes : pageArgs.app.opts.genomes;
2681
+ const par = {
2682
+ // First genome in .availableGenomes is the default
2683
+ availableGenomes: res.button.availableGenomes,
2684
+ genome,
2685
+ intro: res.button.intro,
2686
+ name: res.button.name,
2687
+ runargs: res.button.runargs,
2688
+ searchBar: res.button.searchBar,
2689
+ dsURLparam: res.button.dsURLparam,
2690
+ citation: res.citation_id
2691
+ };
2692
+ const mainDiv = sandboxDiv.body.append("div").style("padding", "1em").style("border-bottom", "1px solid #d0e3ff");
2693
+ if (par.citation) {
2694
+ const buttonsDiv = mainDiv.append("div").style("margin-bottom", "20px");
2695
+ const buttonsContentDiv = mainDiv.append("div");
2696
+ await addArrowBtns(par, "main", buttonsDiv, buttonsContentDiv, pageArgs);
2697
+ }
2698
+ if (par.intro) {
2699
+ mainDiv.append("div").style("line-height", "1.5em").style("padding", "0.5em 0.5em 1em 0.5em").html(par.intro);
2700
+ }
2701
+ if (par.searchBar == "none") {
2702
+ const originalURL = sessionStorage.getItem("hostURL");
2703
+ const runppArg = {
2704
+ holder: sandboxDiv.body.append("div").style("margin", "20px").style("overflow-x", "auto").node(),
2705
+ host: par.runargs.host || originalURL
2706
+ };
2707
+ const callpp = JSON.parse(JSON.stringify(par.runargs));
2708
+ await runproteinpaint(Object.assign(runppArg, callpp));
2709
+ if (originalURL != sessionStorage.getItem("hostURL")) sessionStorage.setItem("hostURL", originalURL);
2710
+ return;
2711
+ }
2712
+ if (par.availableGenomes.length > 1) addDatasetGenomeBtns(mainDiv, genomes);
2713
+ else {
2714
+ mainDiv.append("div").style("display", "inline-block").style("margin-left", "20px").style("color", "rgb(117, 115, 115)").text(par.availableGenomes[0]);
2715
+ }
2716
+ const searchBarDiv = mainDiv.append("div").style("display", "inline-block").style("padding", "0.5em");
2717
+ const allResultsDiv = sandboxDiv.body.append("div").style("max-width", "90vw");
2718
+ const coords = addGeneSearchbox({
2719
+ genome: par.genome,
2720
+ tip: new Menu({ padding: "" }),
2721
+ row: searchBarDiv,
2722
+ searchOnly: par.searchBar == "gene" ? "gene" : "",
2723
+ focusOff: true,
2724
+ callback: async (div) => {
2725
+ const resultDiv = allResultsDiv.insert("div", ":first-child").style("max-width", "90vw").style("margin", "1vw");
2726
+ resultDiv.append("div").style("display", "inline-block").style("cursor", "default").style("margin", "0px").style("font-size", "1.5em").html("&times;").on("click", () => {
2727
+ resultDiv.selectAll("*").remove();
2728
+ });
2729
+ makeURLbutton(resultDiv, coords, par);
2730
+ const runppArg = {
2731
+ holder: resultDiv.append("div").style("margin", "20px").node(),
2732
+ host: sessionStorage.getItem("hostURL"),
2733
+ genome: par.genome.name
2734
+ };
2735
+ par.runargs.block == true ? (runppArg.position = `${coords.chr}:${coords.start}-${coords.stop}`) && (runppArg.nativetracks = "Refgene") : runppArg.gene = coords.geneSymbol;
2736
+ const callpp = JSON.parse(JSON.stringify(par.runargs));
2737
+ runproteinpaint(Object.assign(runppArg, callpp));
2738
+ }
2739
+ });
2740
+ function addDatasetGenomeBtns(div, genomes2) {
2741
+ div.append("div").style("display", "inline-block").style("padding", "10px 10px 0px 20px");
2742
+ const btns = [];
2743
+ par.availableGenomes.forEach((genome2) => {
2744
+ btns.push({
2745
+ label: genome2,
2746
+ callback: (event, tab) => {
2747
+ par.genome = genomes2[genome2];
2748
+ }
2749
+ });
2750
+ });
2751
+ new Tabs({ holder: div, tabs: btns, noContent: true }).main();
2752
+ }
2753
+ }
2754
+ function makeURLbutton(div, coords, par) {
2755
+ const URLbtn = makeButton({ div, text: "Run Result from URL" });
2756
+ const blockOn = par.runargs.block == true ? `position=${coords.chr}:${coords.start}-${coords.stop}` : `gene=${coords.geneSymbol}`;
2757
+ URLbtn.on("click", (event) => {
2758
+ event.stopPropagation();
2759
+ const hostURL = getHostURL();
2760
+ window.open(`${hostURL}/?genome=${par.genome.name}&${blockOn}&${par.dsURLparam}`, "_blank");
2761
+ });
2762
+ }
2763
+ function getHostURL() {
2764
+ const hostURL = sessionStorage.getItem("hostURL");
2765
+ if (hostURL.startsWith("http://localhost") || hostURL.startsWith("https://pp")) {
2766
+ return hostURL;
2767
+ } else return "https://proteinpaint.stjude.org";
2768
+ }
2769
+ async function getGenomes(host) {
2770
+ const genomeURL = `${host}/genomes?embedder=${sessionStorage.getItem("hostURL").replace(/^https?:\/\//, "")}`;
2771
+ try {
2772
+ const response = await fetch(genomeURL);
2773
+ if (!response.ok) throw new Error(`HTTP Response error for genomes url ${response.status}`);
2774
+ const data = await response.json();
2775
+ return data;
2776
+ } catch (e) {
2777
+ console.error(`Error fetching genomes: ${e} from ${genomeURL}`);
2778
+ return null;
2779
+ }
2780
+ }
2781
+
2782
+ export {
2783
+ makeButton,
2784
+ openSandbox
2785
+ };
2786
+ //# sourceMappingURL=chunk-LRPQBMQE.js.map