@sjcrh/proteinpaint-client 2.197.0 → 2.198.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 (940) hide show
  1. package/dist/2dmaf-R3PFZNRN.js +1373 -0
  2. package/dist/AIProjectAdmin-DM3KG6SR.js +958 -0
  3. package/dist/AppHeader-6DZQ6YZX.js +835 -0
  4. package/dist/BoxPlot-76NINVX4.js +1217 -0
  5. package/dist/CorrelationVolcano-U5UMJNH5.js +619 -0
  6. package/dist/DE-AXNYWIQK.js +95 -0
  7. package/dist/DEinput-JH6YY6LS.js +301 -0
  8. package/dist/DifferentialAnalysis-25P4CGIY.js +242 -0
  9. package/dist/Disco-NVMLF3BK.js +3392 -0
  10. package/dist/Disco-NVMLF3BK.js.map +7 -0
  11. package/dist/Disco.UI-C7CZINUQ.js +249 -0
  12. package/dist/DmrPlot-WROR4ENM.js +642 -0
  13. package/dist/GB-JUABODPH.js +1394 -0
  14. package/dist/GB-JUABODPH.js.map +7 -0
  15. package/dist/GSEA-Y5R2THIJ.js +846 -0
  16. package/dist/GeneExpInput-JDU6EI7K.js +367 -0
  17. package/dist/Geomap-J763OK2F.js +89 -0
  18. package/dist/Geomap-J763OK2F.js.map +7 -0
  19. package/dist/HicApp-UNIJLH4B.js +2250 -0
  20. package/dist/IDCViewer-KVPCIUDW.js +10803 -0
  21. package/dist/IDCViewer-KVPCIUDW.js.map +7 -0
  22. package/dist/NumBinaryEditor-WMN2GGO4.js +271 -0
  23. package/dist/NumBinaryEditor.unit.spec-TAMXV6SE.js +286 -0
  24. package/dist/NumContEditor-XYIOJY4E.js +109 -0
  25. package/dist/NumContEditor.unit.spec-WDZ75BHO.js +169 -0
  26. package/dist/NumCustomBinEditor-5SY3C4TY.js +38 -0
  27. package/dist/NumCustomBinEditor.unit.spec-XHTAIXR3.js +284 -0
  28. package/dist/NumDiscreteEditor-NRDRX4FD.js +179 -0
  29. package/dist/NumDiscreteEditor.unit.spec-2CJW7OAT.js +202 -0
  30. package/dist/NumRegularBinEditor-DUDVTNDC.js +38 -0
  31. package/dist/NumRegularBinEditor.unit.spec-H3GNQHMN.js +227 -0
  32. package/dist/NumSplineEditor-7Q4AC7KH.js +198 -0
  33. package/dist/NumSplineEditor.unit.spec-YRZK5PH5.js +199 -0
  34. package/dist/NumericDensity-NTNWUESG.js +38 -0
  35. package/dist/NumericDensity.unit.spec-5I5U6T6P.js +221 -0
  36. package/dist/NumericHandler-MEW2KMPX.js +39 -0
  37. package/dist/NumericHandler.unit.spec-JFX4BPRG.js +219 -0
  38. package/dist/ProteomeInput-K2ZHR2U6.js +395 -0
  39. package/dist/RunChart2-BEBDU7RC.js +758 -0
  40. package/dist/SC-XCBFJVUJ.js +1120 -0
  41. package/dist/Volcano-4Y4TP3UX.js +1385 -0
  42. package/dist/WSIViewer-ZLQU62PD.js +48562 -0
  43. package/dist/WsiSamplesPlot-JMBSITOM.js +165 -0
  44. package/dist/adSandbox-664IRCRL.js +38 -0
  45. package/dist/animatedBubbleChart-TX7NW34K.js +555 -0
  46. package/dist/app-63WJ3BMP.js +37 -0
  47. package/dist/app-77FIZHCG.js +49 -0
  48. package/dist/app.js +19 -19
  49. package/dist/bam-IETNVAYD.js +860 -0
  50. package/dist/barchart-YUVXJNH4.js +47 -0
  51. package/dist/barchart.data-P4EIQXGE.js +22 -0
  52. package/dist/barchart.events-JPVCLTIG.js +47 -0
  53. package/dist/barchart.integration.spec-ZH7DEQI2.js +2196 -0
  54. package/dist/barchart2-XO2FG76J.js +314 -0
  55. package/dist/bars.renderer-AUIWUJDH.js +12 -0
  56. package/dist/block-NBTCOT3H.js +6255 -0
  57. package/dist/block.init-X7Y2EEVR.js +38 -0
  58. package/dist/block.mds.expressionrank-BIAOZIZ3.js +359 -0
  59. package/dist/block.mds.geneboxplot-CNICDVLK.js +828 -0
  60. package/dist/block.mds.junction-PQXCTSUI.js +1545 -0
  61. package/dist/block.mds.svcnv-32KMVTCT.js +6801 -0
  62. package/dist/block.svg-LRTOYQK2.js +164 -0
  63. package/dist/block.tk.aicheck-HDV7ZIUD.js +283 -0
  64. package/dist/block.tk.ase-JIDWKMYI.js +365 -0
  65. package/dist/block.tk.bam-5X3OS5HB.js +1906 -0
  66. package/dist/block.tk.bedgraphdot-T7JX7YQL.js +384 -0
  67. package/dist/block.tk.bigwig.ui-OSAYEBAE.js +212 -0
  68. package/dist/block.tk.hicstraw-DEY3VQFK.js +823 -0
  69. package/dist/block.tk.junction-7UAFEZSJ.js +2364 -0
  70. package/dist/block.tk.junction.textmatrixui-27LHS33U.js +199 -0
  71. package/dist/block.tk.ld-DF2PI7OO.js +99 -0
  72. package/dist/block.tk.menu-L2D5KBIV.js +1029 -0
  73. package/dist/block.tk.pgv-QO56SKBV.js +944 -0
  74. package/dist/brainImaging-NIPQWFWO.js +423 -0
  75. package/dist/brainRegions-ZNZ2WHSU.js +221 -0
  76. package/dist/bubbleHeatmap-ERWNEKZB.js +383 -0
  77. package/dist/chunk-2GYWFQML.js +299 -0
  78. package/dist/chunk-2HYJ4GDH.js +50 -0
  79. package/dist/chunk-2MG6XE6R.js +272 -0
  80. package/dist/chunk-2X6W4E3W.js +1507 -0
  81. package/dist/chunk-2X6W4E3W.js.map +7 -0
  82. package/dist/chunk-33K5PA52.js +54 -0
  83. package/dist/chunk-37XDBPOP.js +26 -0
  84. package/dist/chunk-3EWB3246.js +58 -0
  85. package/dist/chunk-3RSKOPIY.js +100 -0
  86. package/dist/chunk-3XVVN66M.js +4085 -0
  87. package/dist/chunk-3XVVN66M.js.map +7 -0
  88. package/dist/chunk-4DPVT4NE.js +1102 -0
  89. package/dist/chunk-4IH7DORZ.js +98 -0
  90. package/dist/chunk-4QNBFIIR.js +399 -0
  91. package/dist/chunk-4STKL6SR.js +217 -0
  92. package/dist/chunk-4TZIVSL5.js +34 -0
  93. package/dist/chunk-5ABGFJSP.js +467 -0
  94. package/dist/chunk-5AZNP47R.js +302 -0
  95. package/dist/chunk-5RL2OHXX.js +5070 -0
  96. package/dist/chunk-5VOPABBA.js +20941 -0
  97. package/dist/chunk-5VOPABBA.js.map +7 -0
  98. package/dist/chunk-6BB43SIB.js +102 -0
  99. package/dist/chunk-7OHRR2IE.js +276 -0
  100. package/dist/chunk-ARBHWDMY.js +226 -0
  101. package/dist/chunk-ARBHWDMY.js.map +7 -0
  102. package/dist/chunk-ASATD4T7.js +14 -0
  103. package/dist/chunk-AZ47Q7BX.js +1223 -0
  104. package/dist/chunk-B5B3LZB3.js +236 -0
  105. package/dist/chunk-BHGISFCA.js +2681 -0
  106. package/dist/chunk-BMBOZ64T.js +2786 -0
  107. package/dist/chunk-BOZJHPJP.js +216 -0
  108. package/dist/chunk-CDD7LYJM.js +194 -0
  109. package/dist/chunk-CTQ3IUCA.js +2327 -0
  110. package/dist/chunk-D7TID3HR.js +158 -0
  111. package/dist/chunk-DBKNWR4J.js +1561 -0
  112. package/dist/chunk-DBKNWR4J.js.map +7 -0
  113. package/dist/chunk-E55LLYRX.js +55 -0
  114. package/dist/chunk-ESGXULRH.js +386 -0
  115. package/dist/chunk-EZ4LZ6ZT.js +117 -0
  116. package/dist/chunk-F3SJTVP5.js +4284 -0
  117. package/dist/chunk-F5IXNJO7.js +222 -0
  118. package/dist/chunk-FJYECRHW.js +448 -0
  119. package/dist/chunk-FPNRUQOU.js +833 -0
  120. package/dist/chunk-G5S4R77D.js +1942 -0
  121. package/dist/chunk-G764NXQN.js +170 -0
  122. package/dist/chunk-GAPI4MML.js +148 -0
  123. package/dist/chunk-HLUZOZXJ.js +272 -0
  124. package/dist/chunk-HOKIK2FR.js +375 -0
  125. package/dist/chunk-I6WR4CG7.js +323 -0
  126. package/dist/chunk-I6WR4CG7.js.map +7 -0
  127. package/dist/chunk-KLGL6XZD.js +129 -0
  128. package/dist/chunk-L7IRWUKT.js +480 -0
  129. package/dist/chunk-LFCYMSVA.js +314 -0
  130. package/dist/chunk-LX6G7HJJ.js +617 -0
  131. package/dist/chunk-M2G5R4WB.js +142 -0
  132. package/dist/chunk-M4TTGGT4.js +102 -0
  133. package/dist/chunk-M6EF3WVV.js +1825 -0
  134. package/dist/chunk-M6KHT3MM.js +146 -0
  135. package/dist/chunk-MCZFHWIR.js +230 -0
  136. package/dist/chunk-MFQACKYU.js +448 -0
  137. package/dist/chunk-MVGAGTM3.js +343 -0
  138. package/dist/chunk-NELOT3NJ.js +119 -0
  139. package/dist/chunk-NRKMXULC.js +54 -0
  140. package/dist/chunk-NSTL4MY2.js +2110 -0
  141. package/dist/chunk-NSTL4MY2.js.map +7 -0
  142. package/dist/chunk-NYRZNRG5.js +177 -0
  143. package/dist/chunk-ONPKE6DC.js +368 -0
  144. package/dist/chunk-OXVLWQ6M.js +556 -0
  145. package/dist/chunk-PFRWS4CR.js +203 -0
  146. package/dist/chunk-PJKQUXEN.js +1275 -0
  147. package/dist/chunk-Q2L44HK3.js +6364 -0
  148. package/dist/chunk-QNHT74XC.js +1245 -0
  149. package/dist/chunk-RKO6BL5N.js +446 -0
  150. package/dist/chunk-T25QNZHB.js +254 -0
  151. package/dist/chunk-U7TBYVIQ.js +31 -0
  152. package/dist/chunk-UGRQXBL4.js +381 -0
  153. package/dist/chunk-USFSHSCJ.js +477 -0
  154. package/dist/chunk-VJ6UFVGC.js +2833 -0
  155. package/dist/chunk-W3WPPOXH.js +292 -0
  156. package/dist/chunk-WFCSOTBO.js +263 -0
  157. package/dist/chunk-WHP4AKDM.js +185 -0
  158. package/dist/chunk-WZ2L57MB.js +102 -0
  159. package/dist/chunk-XPY6AWXO.js +787 -0
  160. package/dist/chunk-Y4UAKFWC.js +37 -0
  161. package/dist/chunk-YQBS2ZCK.js +514 -0
  162. package/dist/chunk-Z5U6HOE4.js +190 -0
  163. package/dist/chunk-Z5U6HOE4.js.map +7 -0
  164. package/dist/chunk-ZNEJUKJW.js +140 -0
  165. package/dist/chunk-ZNEJUKJW.js.map +7 -0
  166. package/dist/chunk-ZTHM2TKP.js +176 -0
  167. package/dist/condition-2PASYSUC.js +332 -0
  168. package/dist/controls-5IMJ6K5L.js +41 -0
  169. package/dist/controls.config-P5PG2DHW.js +39 -0
  170. package/dist/correlation-U3EDLNHR.js +102 -0
  171. package/dist/cuminc-2HUFEROK.js +1149 -0
  172. package/dist/cuminc.integration.spec-WFWAPTDA.js +678 -0
  173. package/dist/customdata.inputui-ZHWNEPFH.js +289 -0
  174. package/dist/dataDownload-VBSJBKMP.js +330 -0
  175. package/dist/dataDownload.integration.spec-LUFSETOP.js +193 -0
  176. package/dist/databrowser.ui-6H2KMSTJ.js +433 -0
  177. package/dist/dictionary-V37LXFIP.js +118 -0
  178. package/dist/dnaMethylation-OIZMHMLK.js +38 -0
  179. package/dist/dnaMethylation.integration.spec-CWPTJ74H.js +203 -0
  180. package/dist/dofetch-IWPZQB5N.js +51 -0
  181. package/dist/e2pca-7SLIAGYW.js +350 -0
  182. package/dist/ep-7L6KF6K4.js +1256 -0
  183. package/dist/expclust.gdc.spec-JT452Q3G.js +307 -0
  184. package/dist/facet-CXOUU5AS.js +521 -0
  185. package/dist/forms2-VPNCLQOY.js +539 -0
  186. package/dist/gb-P4VRXRED.js +88 -0
  187. package/dist/geneExpClustering-FQTCKRJJ.js +249 -0
  188. package/dist/geneExpression-BHO5326K.js +313 -0
  189. package/dist/geneExpression-ZMERB64E.js +38 -0
  190. package/dist/geneExpression.unit.spec-CNVHZWNG.js +102 -0
  191. package/dist/geneORA-FXVUCXGX.js +278 -0
  192. package/dist/geneRanking-SFK4UBKQ.js +553 -0
  193. package/dist/geneVariant-IYEHB4H7.js +41 -0
  194. package/dist/geneVariant-LIRRLUFR.js +39 -0
  195. package/dist/geneVariant.integration.spec-Y2NPNTYX.js +198 -0
  196. package/dist/genefusion.ui-L3HIJM3N.js +309 -0
  197. package/dist/geneset-A6VUFX63.js +208 -0
  198. package/dist/genomeBrowser.spec-CB4HHHBN.js +281 -0
  199. package/dist/grin2-FKBIMH5N.js +75 -0
  200. package/dist/grin2-V36KLEBU.js +1143 -0
  201. package/dist/grin2-V36KLEBU.js.map +7 -0
  202. package/dist/hierCluster-QFPRMHVA.js +63 -0
  203. package/dist/hierCluster-YWC3XYPV.js +59 -0
  204. package/dist/hierCluster.config-F7YYZNM3.js +40 -0
  205. package/dist/hierCluster.integration.spec-AF4L3YT6.js +488 -0
  206. package/dist/hierCluster.interactivity-RPY74PK6.js +54 -0
  207. package/dist/hierCluster.renderers-LOKHZ3V2.js +21 -0
  208. package/dist/imagePlot-BBEXA754.js +163 -0
  209. package/dist/importPlot-7QGANZGK.js +8 -0
  210. package/dist/isoformExpression-4SLLCVFD.js +40 -0
  211. package/dist/isoformExpression.unit.spec-GEL4JJ64.js +208 -0
  212. package/dist/launch.adhoc-LWLBQJS5.js +42 -0
  213. package/dist/leftlabel.sample-RTEZOIH2.js +264 -0
  214. package/dist/legacyDataset-VLD7ZYWI.js +119 -0
  215. package/dist/lollipop-XKQK5QZU.js +171 -0
  216. package/dist/maf-AZQPPWDO.js +459 -0
  217. package/dist/maftimeline-7MSVYKQU.js +593 -0
  218. package/dist/matrix-BGLWC25D.js +58 -0
  219. package/dist/matrix-IQR5SRMK.js +63 -0
  220. package/dist/matrix.cells-5C57NWOY.js +28 -0
  221. package/dist/matrix.config-2DQXAN2E.js +41 -0
  222. package/dist/matrix.data-ADCGF5H6.js +25 -0
  223. package/dist/matrix.groups-V4ITQ5F7.js +27 -0
  224. package/dist/matrix.integration.spec-IBNOO2WP.js +3072 -0
  225. package/dist/matrix.interactivity-JNELJFOV.js +42 -0
  226. package/dist/matrix.layout-WBVIV6GR.js +44 -0
  227. package/dist/matrix.legend-YHOWPK77.js +22 -0
  228. package/dist/matrix.renderers-5BGVRR3M.js +38 -0
  229. package/dist/matrix.serieses-2GZJOASZ.js +21 -0
  230. package/dist/matrix.sort-WKIWPJKP.js +27 -0
  231. package/dist/matrix.sort.unit.spec-L2E4D4AS.js +472 -0
  232. package/dist/matrix.sorterUi-TEJWWJ64.js +18 -0
  233. package/dist/matrix.sorterUi.unit.spec-SHP7C4P7.js +342 -0
  234. package/dist/mavb-4MXNYUEO.js +732 -0
  235. package/dist/mds.fimo-WHIJIBOI.js +518 -0
  236. package/dist/mds.samplescatterplot-BRJ6NG2D.js +1550 -0
  237. package/dist/mds.survivalplot-OPCMB5PB.js +483 -0
  238. package/dist/numericDictTermCluster-7MIFOP2K.js +65 -0
  239. package/dist/oncomatrix-BGG6BEUI.js +295 -0
  240. package/dist/oncomatrix.spec-LYQ4L4F3.js +448 -0
  241. package/dist/plot.2dvaf-6WVCP2ZI.js +377 -0
  242. package/dist/plot.app-MLBP6WFP.js +41 -0
  243. package/dist/plot.barplot-JEPRZSCU.js +102 -0
  244. package/dist/plot.boxplot-GNFW42VM.js +152 -0
  245. package/dist/plot.brainImaging-5ACNSD45.js +51 -0
  246. package/dist/plot.disco-Q2V2KKIH.js +102 -0
  247. package/dist/plot.dzi-KVT6S7K7.js +33 -0
  248. package/dist/plot.ssgq-4N3KFJQ2.js +139 -0
  249. package/dist/plot.vaf2cov-ITRG5U43.js +259 -0
  250. package/dist/plot.wsi-26YZNU4V.js +36 -0
  251. package/dist/polar2-J7GVUK4X.js +231 -0
  252. package/dist/profileForms-VXV2JLXU.js +446 -0
  253. package/dist/profilePlot-ZZYZK4SY.js +54 -0
  254. package/dist/proteinView-7KN532D3.js +1568 -0
  255. package/dist/qualitative-MLRVLIAU.js +43 -0
  256. package/dist/radar2-WM2ZBOH3.js +326 -0
  257. package/dist/radarFacility2-3SBR2JJ3.js +334 -0
  258. package/dist/regression-WMRPQJW2.js +56 -0
  259. package/dist/regression.inputs-VWZKSYNY.js +48 -0
  260. package/dist/regression.inputs.term-OWE6GWHM.js +48 -0
  261. package/dist/regression.inputs.values.table-4INNZQI2.js +45 -0
  262. package/dist/regression.integration.spec-XKQ2JOOT.js +784 -0
  263. package/dist/regression.results-VZBYMBYC.js +40 -0
  264. package/dist/regression.spec-DU3UTDCJ.js +708 -0
  265. package/dist/render-N5FOF247.js +38 -0
  266. package/dist/report-DW3OHB67.js +222 -0
  267. package/dist/sampleScatter.spec-REFSK2V4.js +202 -0
  268. package/dist/sampleView-ICOT2R6O.js +48 -0
  269. package/dist/samplelst-TJEVASYG.js +111 -0
  270. package/dist/samplematrix-6DAWCXQ3.js +2198 -0
  271. package/dist/sc-53LNOB7N.js +86 -0
  272. package/dist/scatter-DKYSS4DL.js +851 -0
  273. package/dist/selectGenomeWithTklst-WTX66TV3.js +134 -0
  274. package/dist/singleCellCellType-D2CN2BHQ.js +38 -0
  275. package/dist/singleCellCellType.unit.spec-LADUCI4R.js +160 -0
  276. package/dist/singleCellGeneExpression-YR2ZT34W.js +38 -0
  277. package/dist/singleCellGeneExpression.unit.spec-BM63M432.js +153 -0
  278. package/dist/singleCellPlot-3ICIOILE.js +54 -0
  279. package/dist/singlecell-6ZUFA3BQ.js +86 -0
  280. package/dist/singlecell-KX7W4U57.js +1572 -0
  281. package/dist/snp-VIURB7L3.js +38 -0
  282. package/dist/snp.unit.spec-ACZNZUNS.js +176 -0
  283. package/dist/snplocus-3LW4ZUZR.js +208 -0
  284. package/dist/spliceevent.a53ss.diagram-AKTZGWNM.js +151 -0
  285. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js +283 -0
  286. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js.map +7 -0
  287. package/dist/spliceevent.noeventdiagram-YTXWWNTJ.js +460 -0
  288. package/dist/ssGSEA-THW4WFMI.js +38 -0
  289. package/dist/ssGSEA.unit.spec-HTRGQI2K.js +88 -0
  290. package/dist/summarizeCnvGeneexp-RFYC3H2Z.js +163 -0
  291. package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js +114 -0
  292. package/dist/summarizeMutationCnv-7AYEMHAI.js +164 -0
  293. package/dist/summarizeMutationDiagnosis-AKFJDSAF.js +40 -0
  294. package/dist/summarizeMutationSurvival-QJHZRQBZ.js +99 -0
  295. package/dist/summary-A5P7AYK4.js +49 -0
  296. package/dist/summary.integration.spec-HQISXGNL.js +414 -0
  297. package/dist/summaryInput-HP675QOQ.js +235 -0
  298. package/dist/sunburst-65LSYRXX.js +284 -0
  299. package/dist/survival-QNEI6YVK.js +46 -0
  300. package/dist/survival-UI74VXSM.js +58 -0
  301. package/dist/survival.integration.spec-X5N3JQXS.js +915 -0
  302. package/dist/svgraph-PSX2NER3.js +1387 -0
  303. package/dist/svmr-QDQ33EFX.js +3842 -0
  304. package/dist/table-LWAI27UO.js +200 -0
  305. package/dist/termCollection-3JHR74FG.js +179 -0
  306. package/dist/termCollection-CDF5LYUG.js +38 -0
  307. package/dist/termCollection.unit.spec-HOJKYWHF.js +208 -0
  308. package/dist/tk-GL4QCL4K.js +1019 -0
  309. package/dist/tk-GL4QCL4K.js.map +7 -0
  310. package/dist/tk-OEQFO73V.js +46 -0
  311. package/dist/tp.ui-SHNERDGC.js +1459 -0
  312. package/dist/tvs.dt-CZDC4TSR.js +39 -0
  313. package/dist/tvs.dtcnv.categorical-OPBDHZGB.js +40 -0
  314. package/dist/tvs.dtcnv.continuous-AR6P4EP3.js +72 -0
  315. package/dist/tvs.dtfusion-2YQ7N6FQ.js +40 -0
  316. package/dist/tvs.dtitd-ATCHW735.js +40 -0
  317. package/dist/tvs.dtsnvindel-WHHWAATJ.js +40 -0
  318. package/dist/tvs.dtsv-3UMCW65O.js +40 -0
  319. package/dist/tvs.numeric-TOEPASWN.js +21 -0
  320. package/dist/tvs.samplelst-M7XKXRTZ.js +104 -0
  321. package/dist/tvs.termCollection-WT4WZMYR.js +159 -0
  322. package/dist/violin-2YGXTBDS.js +46 -0
  323. package/dist/violin.integration.spec-YWNHVAGS.js +1425 -0
  324. package/dist/violin.interactivity-J6BE2UQL.js +38 -0
  325. package/dist/violin.renderer-3GRUWP2U.js +40 -0
  326. package/dist/vocabulary-2INCVPYJ.js +41 -0
  327. package/dist/vocabulary-2INCVPYJ.js.map +7 -0
  328. package/package.json +3 -3
  329. package/dist/2dmaf-HV22W5N3.js +0 -1373
  330. package/dist/AIProjectAdmin-7QGTPN3B.js +0 -958
  331. package/dist/AppHeader-NOKET4YE.js +0 -835
  332. package/dist/BoxPlot-SPG66F4C.js +0 -1217
  333. package/dist/CorrelationVolcano-3LEMTFXP.js +0 -619
  334. package/dist/DE-WCCADMXA.js +0 -95
  335. package/dist/DEinput-IZNPYPKH.js +0 -301
  336. package/dist/DifferentialAnalysis-SDZXIUXP.js +0 -242
  337. package/dist/Disco-M5RNUOWG.js +0 -3297
  338. package/dist/Disco-M5RNUOWG.js.map +0 -7
  339. package/dist/Disco.UI-RVUOPT6Y.js +0 -249
  340. package/dist/DmrPlot-R2N534FS.js +0 -642
  341. package/dist/GB-DY6XWOJE.js +0 -1356
  342. package/dist/GB-DY6XWOJE.js.map +0 -7
  343. package/dist/GSEA-3TB3PYEV.js +0 -846
  344. package/dist/GeneExpInput-VWCPHOVO.js +0 -367
  345. package/dist/HicApp-F2MY3NXP.js +0 -2250
  346. package/dist/IDCViewer-PT7IV6T2.js +0 -10799
  347. package/dist/IDCViewer-PT7IV6T2.js.map +0 -7
  348. package/dist/NumBinaryEditor-AL2NWII2.js +0 -271
  349. package/dist/NumBinaryEditor.unit.spec-NFRJHFNX.js +0 -286
  350. package/dist/NumContEditor-CTFJVIHU.js +0 -109
  351. package/dist/NumContEditor.unit.spec-FXGGCMTD.js +0 -169
  352. package/dist/NumCustomBinEditor-JFIJ2X6E.js +0 -38
  353. package/dist/NumCustomBinEditor.unit.spec-ZKIZXS53.js +0 -284
  354. package/dist/NumDiscreteEditor-E7SPHF55.js +0 -179
  355. package/dist/NumDiscreteEditor.unit.spec-QKKRZJMU.js +0 -202
  356. package/dist/NumRegularBinEditor-JSLTZIAQ.js +0 -38
  357. package/dist/NumRegularBinEditor.unit.spec-W73BA6L4.js +0 -227
  358. package/dist/NumSplineEditor-ZEXYGKKF.js +0 -198
  359. package/dist/NumSplineEditor.unit.spec-EHKI4CY7.js +0 -199
  360. package/dist/NumericDensity-ZXM6TB33.js +0 -38
  361. package/dist/NumericDensity.unit.spec-PUFRE5XA.js +0 -221
  362. package/dist/NumericHandler-73TUDM3R.js +0 -39
  363. package/dist/NumericHandler.unit.spec-EITBD47U.js +0 -219
  364. package/dist/ProteomeInput-QICOUSRW.js +0 -395
  365. package/dist/RunChart2-4JYV2Z7B.js +0 -758
  366. package/dist/SC-77HA6SBW.js +0 -1120
  367. package/dist/Volcano-3546I4MG.js +0 -1385
  368. package/dist/WSIViewer-DQAXX7QJ.js +0 -48562
  369. package/dist/WsiSamplesPlot-AGOLPLK3.js +0 -165
  370. package/dist/adSandbox-ZE5QOTN5.js +0 -38
  371. package/dist/animatedBubbleChart-ILMDNAVK.js +0 -555
  372. package/dist/app-JBFRJ5OO.js +0 -49
  373. package/dist/app-YVNRAZWU.js +0 -37
  374. package/dist/bam-A2PVAF3J.js +0 -860
  375. package/dist/barchart-2XQ7F6LT.js +0 -47
  376. package/dist/barchart.data-6XLK7D63.js +0 -22
  377. package/dist/barchart.events-DKJDKSPN.js +0 -47
  378. package/dist/barchart.integration.spec-UTTCQJRL.js +0 -2196
  379. package/dist/barchart2-2FRVUVJG.js +0 -314
  380. package/dist/bars.renderer-57KSYAAT.js +0 -12
  381. package/dist/block-3KOPYQ25.js +0 -6255
  382. package/dist/block.init-3KLLFGGV.js +0 -38
  383. package/dist/block.mds.expressionrank-XU3MBIOX.js +0 -359
  384. package/dist/block.mds.geneboxplot-VQTBL7T4.js +0 -828
  385. package/dist/block.mds.junction-IYWWRIJD.js +0 -1545
  386. package/dist/block.mds.svcnv-BMY5DCAM.js +0 -6801
  387. package/dist/block.svg-AT4GYQHX.js +0 -164
  388. package/dist/block.tk.aicheck-RANOFGDZ.js +0 -283
  389. package/dist/block.tk.ase-CBWJA3RN.js +0 -365
  390. package/dist/block.tk.bam-D7JBRNFQ.js +0 -1906
  391. package/dist/block.tk.bedgraphdot-IEHNIGVI.js +0 -384
  392. package/dist/block.tk.bigwig.ui-3SAXUJU4.js +0 -212
  393. package/dist/block.tk.hicstraw-R5EHQFGM.js +0 -823
  394. package/dist/block.tk.junction-JFCEXZZC.js +0 -2364
  395. package/dist/block.tk.junction.textmatrixui-4V7MV6TD.js +0 -199
  396. package/dist/block.tk.ld-LP4DIHAJ.js +0 -99
  397. package/dist/block.tk.menu-FTVZU2HA.js +0 -1029
  398. package/dist/block.tk.pgv-CRAMVKU4.js +0 -944
  399. package/dist/brainImaging-DXLK5XZ6.js +0 -423
  400. package/dist/brainRegions-AMSXQT3T.js +0 -221
  401. package/dist/bubbleHeatmap-SXBARILL.js +0 -383
  402. package/dist/chunk-23AEAG37.js +0 -314
  403. package/dist/chunk-2AHDWWQO.js +0 -276
  404. package/dist/chunk-2OJ577BB.js +0 -299
  405. package/dist/chunk-433DTQ6C.js +0 -26
  406. package/dist/chunk-46CPDZSW.js +0 -617
  407. package/dist/chunk-47EYZQA7.js +0 -98
  408. package/dist/chunk-4M22UIJQ.js +0 -2327
  409. package/dist/chunk-4YDERN37.js +0 -194
  410. package/dist/chunk-5ERYRSVV.js +0 -1825
  411. package/dist/chunk-6W6UMGAV.js +0 -230
  412. package/dist/chunk-6Z4XHMZV.js +0 -54
  413. package/dist/chunk-7P4DUYAQ.js +0 -1245
  414. package/dist/chunk-7YWPWCHD.js +0 -448
  415. package/dist/chunk-7Z6E3NA5.js +0 -787
  416. package/dist/chunk-AC3RAKUI.js +0 -102
  417. package/dist/chunk-BKPDYW5T.js +0 -177
  418. package/dist/chunk-BSOB3BVG.js +0 -217
  419. package/dist/chunk-CJJA6RVM.js +0 -254
  420. package/dist/chunk-CUXOQIUA.js +0 -1102
  421. package/dist/chunk-D5ZYSW45.js +0 -216
  422. package/dist/chunk-DA6RR5IR.js +0 -170
  423. package/dist/chunk-DD6KDZVR.js +0 -302
  424. package/dist/chunk-DI5ULDWN.js +0 -54
  425. package/dist/chunk-DXM5IMGV.js +0 -446
  426. package/dist/chunk-FYY3T565.js +0 -188
  427. package/dist/chunk-FYY3T565.js.map +0 -7
  428. package/dist/chunk-GFETCJ7S.js +0 -176
  429. package/dist/chunk-H42SJNXA.js +0 -1535
  430. package/dist/chunk-H42SJNXA.js.map +0 -7
  431. package/dist/chunk-HCNF7EFT.js +0 -292
  432. package/dist/chunk-I62GOCNI.js +0 -31
  433. package/dist/chunk-IBYOP2FV.js +0 -2833
  434. package/dist/chunk-JD2ECQ3Z.js +0 -2681
  435. package/dist/chunk-JF47NF5G.js +0 -236
  436. package/dist/chunk-JHZK6IDA.js +0 -20904
  437. package/dist/chunk-JHZK6IDA.js.map +0 -7
  438. package/dist/chunk-JOA4KJTM.js +0 -222
  439. package/dist/chunk-JT7HC65V.js +0 -556
  440. package/dist/chunk-K6AW4GFM.js +0 -37
  441. package/dist/chunk-K7QY24X2.js +0 -1223
  442. package/dist/chunk-KOLVLBMI.js +0 -100
  443. package/dist/chunk-KQ6EF3FG.js +0 -448
  444. package/dist/chunk-LBWKMNVU.js +0 -129
  445. package/dist/chunk-LFGIMCUD.js +0 -55
  446. package/dist/chunk-LKB3DITY.js +0 -343
  447. package/dist/chunk-LQJMCE7G.js +0 -467
  448. package/dist/chunk-M2PPUO4E.js +0 -315
  449. package/dist/chunk-M2PPUO4E.js.map +0 -7
  450. package/dist/chunk-MCXQL4W2.js +0 -226
  451. package/dist/chunk-MCXQL4W2.js.map +0 -7
  452. package/dist/chunk-MLYSQG3C.js +0 -833
  453. package/dist/chunk-MNIBZTQE.js +0 -146
  454. package/dist/chunk-MYZJUT2H.js +0 -272
  455. package/dist/chunk-NOCLG6IN.js +0 -5070
  456. package/dist/chunk-NVRLD4TF.js +0 -2786
  457. package/dist/chunk-NZCX4A7X.js +0 -14
  458. package/dist/chunk-OVHCUTQM.js +0 -102
  459. package/dist/chunk-P3NKHTNT.js +0 -34
  460. package/dist/chunk-PFOCEOVT.js +0 -477
  461. package/dist/chunk-PJSOYF5U.js +0 -158
  462. package/dist/chunk-PK5HXJ3S.js +0 -272
  463. package/dist/chunk-Q555GFBW.js +0 -1942
  464. package/dist/chunk-QAVZUWY3.js +0 -399
  465. package/dist/chunk-QOAUM6UV.js +0 -148
  466. package/dist/chunk-QOEPKNVD.js +0 -185
  467. package/dist/chunk-QXPJLSAD.js +0 -4284
  468. package/dist/chunk-QZLP27O6.js +0 -50
  469. package/dist/chunk-SENZWOCC.js +0 -203
  470. package/dist/chunk-SFIX7XVT.js +0 -514
  471. package/dist/chunk-SJWAMUL5.js +0 -117
  472. package/dist/chunk-SOTB4FRE.js +0 -2098
  473. package/dist/chunk-SOTB4FRE.js.map +0 -7
  474. package/dist/chunk-TJYRBEBK.js +0 -2878
  475. package/dist/chunk-TJYRBEBK.js.map +0 -7
  476. package/dist/chunk-U3CMLIGB.js +0 -6364
  477. package/dist/chunk-UF6ZP6UR.js +0 -381
  478. package/dist/chunk-UN3O2MNB.js +0 -375
  479. package/dist/chunk-UVWUP6N7.js +0 -1275
  480. package/dist/chunk-UYEJ5DEZ.js +0 -142
  481. package/dist/chunk-V2ET64EJ.js +0 -119
  482. package/dist/chunk-WQEGWR63.js +0 -102
  483. package/dist/chunk-WYSEBR5S.js +0 -58
  484. package/dist/chunk-XB6F5OUB.js +0 -386
  485. package/dist/chunk-XVYSEXFV.js +0 -368
  486. package/dist/chunk-YGKVY5IU.js +0 -480
  487. package/dist/chunk-ZPXSPJV2.js +0 -263
  488. package/dist/chunk-ZRSJVACE.js +0 -1500
  489. package/dist/chunk-ZRSJVACE.js.map +0 -7
  490. package/dist/condition-YCPNILTV.js +0 -332
  491. package/dist/controls-RW5MWSLN.js +0 -41
  492. package/dist/controls.config-MP3CSYR4.js +0 -39
  493. package/dist/correlation-7AQRU4YR.js +0 -102
  494. package/dist/cuminc-WYLKIOXR.js +0 -1149
  495. package/dist/cuminc.integration.spec-MSAWDLD7.js +0 -678
  496. package/dist/customdata.inputui-YU4IQJOV.js +0 -289
  497. package/dist/dataDownload-72DIPZ45.js +0 -330
  498. package/dist/dataDownload.integration.spec-HRLMWQN7.js +0 -193
  499. package/dist/databrowser.ui-3PE25HK4.js +0 -433
  500. package/dist/dictionary-Y3ICL4AE.js +0 -118
  501. package/dist/dnaMethylation-SVGDW64U.js +0 -38
  502. package/dist/dnaMethylation.integration.spec-B7GLAFZI.js +0 -203
  503. package/dist/dofetch-42KOXNPF.js +0 -51
  504. package/dist/e2pca-CLFGEFJH.js +0 -350
  505. package/dist/ep-PUHV2DMO.js +0 -1256
  506. package/dist/expclust.gdc.spec-N7YDJAOZ.js +0 -307
  507. package/dist/facet-JFFJJCNT.js +0 -521
  508. package/dist/forms2-XZAWW3RN.js +0 -539
  509. package/dist/gb-SQJ5PWOH.js +0 -88
  510. package/dist/geneExpClustering-EG2BLMQX.js +0 -249
  511. package/dist/geneExpression-J42BGP3B.js +0 -38
  512. package/dist/geneExpression-QRK3LNMV.js +0 -313
  513. package/dist/geneExpression.unit.spec-X7HVIFZA.js +0 -102
  514. package/dist/geneORA-SVBPO66K.js +0 -278
  515. package/dist/geneRanking-HNMMLZIX.js +0 -553
  516. package/dist/geneVariant-RVQKNVQO.js +0 -39
  517. package/dist/geneVariant-SO5FEJUZ.js +0 -41
  518. package/dist/geneVariant.integration.spec-DOMX4GMP.js +0 -198
  519. package/dist/genefusion.ui-QS7AG46F.js +0 -309
  520. package/dist/geneset-JKOX3VIW.js +0 -208
  521. package/dist/genomeBrowser.spec-IRSTT2OX.js +0 -281
  522. package/dist/grin2-G6DA4M7Q.js +0 -1095
  523. package/dist/grin2-G6DA4M7Q.js.map +0 -7
  524. package/dist/grin2-VZLCISPM.js +0 -75
  525. package/dist/hierCluster-6AW23EB5.js +0 -63
  526. package/dist/hierCluster-REXTCODR.js +0 -59
  527. package/dist/hierCluster.config-3Z3R66XH.js +0 -40
  528. package/dist/hierCluster.integration.spec-XE47Q64Z.js +0 -488
  529. package/dist/hierCluster.interactivity-2YJYYKVK.js +0 -54
  530. package/dist/hierCluster.renderers-LE7W2AL6.js +0 -21
  531. package/dist/imagePlot-WMZJJ5CJ.js +0 -163
  532. package/dist/importPlot-P35EGIJJ.js +0 -8
  533. package/dist/isoformExpression-3TFPEXB4.js +0 -40
  534. package/dist/isoformExpression.unit.spec-SPQFK3EA.js +0 -208
  535. package/dist/launch.adhoc-ZQSJBLMJ.js +0 -42
  536. package/dist/leftlabel.sample-SJRQ6LJ2.js +0 -264
  537. package/dist/legacyDataset-TNIIJABK.js +0 -119
  538. package/dist/lollipop-RXM6UBZ7.js +0 -171
  539. package/dist/maf-NWXJWBNF.js +0 -459
  540. package/dist/maftimeline-D7UENAP5.js +0 -593
  541. package/dist/matrix-77LNADX2.js +0 -63
  542. package/dist/matrix-YDOLKY6G.js +0 -58
  543. package/dist/matrix.cells-VEC5LEWV.js +0 -28
  544. package/dist/matrix.config-GTAAAUGQ.js +0 -41
  545. package/dist/matrix.data-T4GEX6ZH.js +0 -25
  546. package/dist/matrix.groups-7NWHHP5Q.js +0 -27
  547. package/dist/matrix.integration.spec-5GBTFRZA.js +0 -3072
  548. package/dist/matrix.interactivity-ONT6WCRU.js +0 -42
  549. package/dist/matrix.layout-LDXHGOHF.js +0 -44
  550. package/dist/matrix.legend-5MDW65HV.js +0 -22
  551. package/dist/matrix.renderers-OEPLQG3C.js +0 -38
  552. package/dist/matrix.serieses-4RX7TUQ7.js +0 -21
  553. package/dist/matrix.sort-UKMMECBZ.js +0 -27
  554. package/dist/matrix.sort.unit.spec-VWOXPVRE.js +0 -472
  555. package/dist/matrix.sorterUi-H64DDQIL.js +0 -18
  556. package/dist/matrix.sorterUi.unit.spec-DH4434FK.js +0 -342
  557. package/dist/mavb-ARUWOZES.js +0 -732
  558. package/dist/mds.fimo-ZEAE5BC3.js +0 -518
  559. package/dist/mds.samplescatterplot-C5EBKBVF.js +0 -1550
  560. package/dist/mds.survivalplot-RS7Z3J3Q.js +0 -483
  561. package/dist/numericDictTermCluster-CSQOV4TM.js +0 -65
  562. package/dist/oncomatrix-5UVM3KUA.js +0 -295
  563. package/dist/oncomatrix.spec-CU3EZCMO.js +0 -448
  564. package/dist/plot.2dvaf-JD27DSDS.js +0 -377
  565. package/dist/plot.app-NMPMG3S2.js +0 -41
  566. package/dist/plot.barplot-T4LPKFXW.js +0 -102
  567. package/dist/plot.boxplot-22ETOHNI.js +0 -152
  568. package/dist/plot.brainImaging-Q7S7KSHW.js +0 -51
  569. package/dist/plot.disco-NIPBER5N.js +0 -102
  570. package/dist/plot.dzi-DAX7GUTF.js +0 -33
  571. package/dist/plot.ssgq-7J6S35RW.js +0 -139
  572. package/dist/plot.vaf2cov-7EWFTD72.js +0 -259
  573. package/dist/plot.wsi-E45KZGKD.js +0 -36
  574. package/dist/polar2-LPT2XMD2.js +0 -231
  575. package/dist/profileForms-EYN2KLSY.js +0 -446
  576. package/dist/profilePlot-I7VQM3CH.js +0 -54
  577. package/dist/proteinView-JP5TF3ZK.js +0 -1568
  578. package/dist/qualitative-7X3ECW7Q.js +0 -43
  579. package/dist/radar2-V3FYBFAG.js +0 -326
  580. package/dist/radarFacility2-O6GQLBBN.js +0 -334
  581. package/dist/regression-CLG6NYVF.js +0 -56
  582. package/dist/regression.inputs-RLOBIRJH.js +0 -48
  583. package/dist/regression.inputs.term-ZKIP6KDO.js +0 -48
  584. package/dist/regression.inputs.values.table-2VD4AO5T.js +0 -45
  585. package/dist/regression.integration.spec-JEIMN7MS.js +0 -784
  586. package/dist/regression.results-FT6VSWGR.js +0 -40
  587. package/dist/regression.spec-V4S52JQM.js +0 -708
  588. package/dist/report-UPQFSI4D.js +0 -222
  589. package/dist/sampleScatter.spec-QSRF3STG.js +0 -202
  590. package/dist/sampleView-JIGZ7GTP.js +0 -48
  591. package/dist/samplelst-VJMYHVXI.js +0 -111
  592. package/dist/samplematrix-LO4QB37V.js +0 -2198
  593. package/dist/sc-4VZBGFZP.js +0 -86
  594. package/dist/scatter-LQECXZLB.js +0 -851
  595. package/dist/selectGenomeWithTklst-IJTCLRIN.js +0 -134
  596. package/dist/singleCellCellType-FJ53DRXD.js +0 -38
  597. package/dist/singleCellCellType.unit.spec-VOE4KY6L.js +0 -160
  598. package/dist/singleCellGeneExpression-RZE5UVL4.js +0 -38
  599. package/dist/singleCellGeneExpression.unit.spec-2DASF7PD.js +0 -153
  600. package/dist/singleCellPlot-Q5UNIW3M.js +0 -54
  601. package/dist/singlecell-N7F5KVIB.js +0 -1572
  602. package/dist/singlecell-TX5AQ4WM.js +0 -86
  603. package/dist/snp-S4O7SVDD.js +0 -38
  604. package/dist/snp.unit.spec-WSQMZSTE.js +0 -176
  605. package/dist/snplocus-Y2R5C4ZP.js +0 -208
  606. package/dist/spliceevent.a53ss.diagram-FGRQR73W.js +0 -151
  607. package/dist/spliceevent.exonskip.diagram-TVH44RNL.js +0 -277
  608. package/dist/spliceevent.exonskip.diagram-TVH44RNL.js.map +0 -7
  609. package/dist/spliceevent.noeventdiagram-G2CMYYE7.js +0 -460
  610. package/dist/ssGSEA-BH53XGEZ.js +0 -38
  611. package/dist/ssGSEA.unit.spec-BYIVB7FZ.js +0 -88
  612. package/dist/summarizeCnvGeneexp-IZNOX4E7.js +0 -163
  613. package/dist/summarizeGeneexpSurvival-DJZ2R24E.js +0 -114
  614. package/dist/summarizeMutationCnv-CO2TVWOI.js +0 -164
  615. package/dist/summarizeMutationDiagnosis-EUZXCSZP.js +0 -40
  616. package/dist/summarizeMutationSurvival-CXFT3HWL.js +0 -99
  617. package/dist/summary-JHZCDE35.js +0 -49
  618. package/dist/summary.integration.spec-WBEYSDCA.js +0 -414
  619. package/dist/summaryInput-JVH3R54R.js +0 -235
  620. package/dist/sunburst-CTJTXHSA.js +0 -284
  621. package/dist/survival-DLLVUG2P.js +0 -46
  622. package/dist/survival-XFVYNI6S.js +0 -58
  623. package/dist/survival.integration.spec-KVXHHAA3.js +0 -915
  624. package/dist/svgraph-ACEBMDIX.js +0 -1387
  625. package/dist/svmr-IQEDSZ2C.js +0 -3842
  626. package/dist/table-2IF6UGHR.js +0 -200
  627. package/dist/termCollection-JOLQJYJ3.js +0 -38
  628. package/dist/termCollection-PSXFFR32.js +0 -179
  629. package/dist/termCollection.unit.spec-4SOZP4FY.js +0 -208
  630. package/dist/tk-AAIHEQO6.js +0 -46
  631. package/dist/tk-IRXFL5NV.js +0 -997
  632. package/dist/tk-IRXFL5NV.js.map +0 -7
  633. package/dist/tp.ui-6STLQEXX.js +0 -1459
  634. package/dist/tvs.dt-FSA7KPSQ.js +0 -39
  635. package/dist/tvs.dtcnv.categorical-FSPGH7DP.js +0 -40
  636. package/dist/tvs.dtcnv.continuous-T4ZMSDB4.js +0 -72
  637. package/dist/tvs.dtfusion-UL3YENUM.js +0 -40
  638. package/dist/tvs.dtitd-XJOSZUWG.js +0 -40
  639. package/dist/tvs.dtsnvindel-5TPUT5RJ.js +0 -40
  640. package/dist/tvs.dtsv-OTNHXYOJ.js +0 -40
  641. package/dist/tvs.numeric-KYAU5OV3.js +0 -21
  642. package/dist/tvs.samplelst-FQKTAQZF.js +0 -104
  643. package/dist/tvs.termCollection-ZAPCUMUW.js +0 -159
  644. package/dist/violin-HEFFKPL5.js +0 -46
  645. package/dist/violin.integration.spec-774N4G5A.js +0 -1425
  646. package/dist/violin.interactivity-XNYJSK53.js +0 -38
  647. package/dist/violin.renderer-R74VSGRC.js +0 -40
  648. package/dist/vocabulary-OHMC6NWL.js +0 -41
  649. /package/dist/{2dmaf-HV22W5N3.js.map → 2dmaf-R3PFZNRN.js.map} +0 -0
  650. /package/dist/{AIProjectAdmin-7QGTPN3B.js.map → AIProjectAdmin-DM3KG6SR.js.map} +0 -0
  651. /package/dist/{AppHeader-NOKET4YE.js.map → AppHeader-6DZQ6YZX.js.map} +0 -0
  652. /package/dist/{BoxPlot-SPG66F4C.js.map → BoxPlot-76NINVX4.js.map} +0 -0
  653. /package/dist/{CorrelationVolcano-3LEMTFXP.js.map → CorrelationVolcano-U5UMJNH5.js.map} +0 -0
  654. /package/dist/{DE-WCCADMXA.js.map → DE-AXNYWIQK.js.map} +0 -0
  655. /package/dist/{DEinput-IZNPYPKH.js.map → DEinput-JH6YY6LS.js.map} +0 -0
  656. /package/dist/{DifferentialAnalysis-SDZXIUXP.js.map → DifferentialAnalysis-25P4CGIY.js.map} +0 -0
  657. /package/dist/{Disco.UI-RVUOPT6Y.js.map → Disco.UI-C7CZINUQ.js.map} +0 -0
  658. /package/dist/{DmrPlot-R2N534FS.js.map → DmrPlot-WROR4ENM.js.map} +0 -0
  659. /package/dist/{GSEA-3TB3PYEV.js.map → GSEA-Y5R2THIJ.js.map} +0 -0
  660. /package/dist/{GeneExpInput-VWCPHOVO.js.map → GeneExpInput-JDU6EI7K.js.map} +0 -0
  661. /package/dist/{HicApp-F2MY3NXP.js.map → HicApp-UNIJLH4B.js.map} +0 -0
  662. /package/dist/{NumBinaryEditor-AL2NWII2.js.map → NumBinaryEditor-WMN2GGO4.js.map} +0 -0
  663. /package/dist/{NumBinaryEditor.unit.spec-NFRJHFNX.js.map → NumBinaryEditor.unit.spec-TAMXV6SE.js.map} +0 -0
  664. /package/dist/{NumContEditor-CTFJVIHU.js.map → NumContEditor-XYIOJY4E.js.map} +0 -0
  665. /package/dist/{NumContEditor.unit.spec-FXGGCMTD.js.map → NumContEditor.unit.spec-WDZ75BHO.js.map} +0 -0
  666. /package/dist/{NumCustomBinEditor-JFIJ2X6E.js.map → NumCustomBinEditor-5SY3C4TY.js.map} +0 -0
  667. /package/dist/{NumCustomBinEditor.unit.spec-ZKIZXS53.js.map → NumCustomBinEditor.unit.spec-XHTAIXR3.js.map} +0 -0
  668. /package/dist/{NumDiscreteEditor-E7SPHF55.js.map → NumDiscreteEditor-NRDRX4FD.js.map} +0 -0
  669. /package/dist/{NumDiscreteEditor.unit.spec-QKKRZJMU.js.map → NumDiscreteEditor.unit.spec-2CJW7OAT.js.map} +0 -0
  670. /package/dist/{NumRegularBinEditor-JSLTZIAQ.js.map → NumRegularBinEditor-DUDVTNDC.js.map} +0 -0
  671. /package/dist/{NumRegularBinEditor.unit.spec-W73BA6L4.js.map → NumRegularBinEditor.unit.spec-H3GNQHMN.js.map} +0 -0
  672. /package/dist/{NumSplineEditor-ZEXYGKKF.js.map → NumSplineEditor-7Q4AC7KH.js.map} +0 -0
  673. /package/dist/{NumSplineEditor.unit.spec-EHKI4CY7.js.map → NumSplineEditor.unit.spec-YRZK5PH5.js.map} +0 -0
  674. /package/dist/{NumericDensity-ZXM6TB33.js.map → NumericDensity-NTNWUESG.js.map} +0 -0
  675. /package/dist/{NumericDensity.unit.spec-PUFRE5XA.js.map → NumericDensity.unit.spec-5I5U6T6P.js.map} +0 -0
  676. /package/dist/{NumericHandler-73TUDM3R.js.map → NumericHandler-MEW2KMPX.js.map} +0 -0
  677. /package/dist/{NumericHandler.unit.spec-EITBD47U.js.map → NumericHandler.unit.spec-JFX4BPRG.js.map} +0 -0
  678. /package/dist/{ProteomeInput-QICOUSRW.js.map → ProteomeInput-K2ZHR2U6.js.map} +0 -0
  679. /package/dist/{RunChart2-4JYV2Z7B.js.map → RunChart2-BEBDU7RC.js.map} +0 -0
  680. /package/dist/{SC-77HA6SBW.js.map → SC-XCBFJVUJ.js.map} +0 -0
  681. /package/dist/{Volcano-3546I4MG.js.map → Volcano-4Y4TP3UX.js.map} +0 -0
  682. /package/dist/{WSIViewer-DQAXX7QJ.js.map → WSIViewer-ZLQU62PD.js.map} +0 -0
  683. /package/dist/{WsiSamplesPlot-AGOLPLK3.js.map → WsiSamplesPlot-JMBSITOM.js.map} +0 -0
  684. /package/dist/{adSandbox-ZE5QOTN5.js.map → adSandbox-664IRCRL.js.map} +0 -0
  685. /package/dist/{animatedBubbleChart-ILMDNAVK.js.map → animatedBubbleChart-TX7NW34K.js.map} +0 -0
  686. /package/dist/{app-JBFRJ5OO.js.map → app-63WJ3BMP.js.map} +0 -0
  687. /package/dist/{app-YVNRAZWU.js.map → app-77FIZHCG.js.map} +0 -0
  688. /package/dist/{bam-A2PVAF3J.js.map → bam-IETNVAYD.js.map} +0 -0
  689. /package/dist/{barchart-2XQ7F6LT.js.map → barchart-YUVXJNH4.js.map} +0 -0
  690. /package/dist/{barchart.data-6XLK7D63.js.map → barchart.data-P4EIQXGE.js.map} +0 -0
  691. /package/dist/{barchart.events-DKJDKSPN.js.map → barchart.events-JPVCLTIG.js.map} +0 -0
  692. /package/dist/{barchart.integration.spec-UTTCQJRL.js.map → barchart.integration.spec-ZH7DEQI2.js.map} +0 -0
  693. /package/dist/{barchart2-2FRVUVJG.js.map → barchart2-XO2FG76J.js.map} +0 -0
  694. /package/dist/{bars.renderer-57KSYAAT.js.map → bars.renderer-AUIWUJDH.js.map} +0 -0
  695. /package/dist/{block-3KOPYQ25.js.map → block-NBTCOT3H.js.map} +0 -0
  696. /package/dist/{block.init-3KLLFGGV.js.map → block.init-X7Y2EEVR.js.map} +0 -0
  697. /package/dist/{block.mds.expressionrank-XU3MBIOX.js.map → block.mds.expressionrank-BIAOZIZ3.js.map} +0 -0
  698. /package/dist/{block.mds.geneboxplot-VQTBL7T4.js.map → block.mds.geneboxplot-CNICDVLK.js.map} +0 -0
  699. /package/dist/{block.mds.junction-IYWWRIJD.js.map → block.mds.junction-PQXCTSUI.js.map} +0 -0
  700. /package/dist/{block.mds.svcnv-BMY5DCAM.js.map → block.mds.svcnv-32KMVTCT.js.map} +0 -0
  701. /package/dist/{block.svg-AT4GYQHX.js.map → block.svg-LRTOYQK2.js.map} +0 -0
  702. /package/dist/{block.tk.aicheck-RANOFGDZ.js.map → block.tk.aicheck-HDV7ZIUD.js.map} +0 -0
  703. /package/dist/{block.tk.ase-CBWJA3RN.js.map → block.tk.ase-JIDWKMYI.js.map} +0 -0
  704. /package/dist/{block.tk.bam-D7JBRNFQ.js.map → block.tk.bam-5X3OS5HB.js.map} +0 -0
  705. /package/dist/{block.tk.bedgraphdot-IEHNIGVI.js.map → block.tk.bedgraphdot-T7JX7YQL.js.map} +0 -0
  706. /package/dist/{block.tk.bigwig.ui-3SAXUJU4.js.map → block.tk.bigwig.ui-OSAYEBAE.js.map} +0 -0
  707. /package/dist/{block.tk.hicstraw-R5EHQFGM.js.map → block.tk.hicstraw-DEY3VQFK.js.map} +0 -0
  708. /package/dist/{block.tk.junction-JFCEXZZC.js.map → block.tk.junction-7UAFEZSJ.js.map} +0 -0
  709. /package/dist/{block.tk.junction.textmatrixui-4V7MV6TD.js.map → block.tk.junction.textmatrixui-27LHS33U.js.map} +0 -0
  710. /package/dist/{block.tk.ld-LP4DIHAJ.js.map → block.tk.ld-DF2PI7OO.js.map} +0 -0
  711. /package/dist/{block.tk.menu-FTVZU2HA.js.map → block.tk.menu-L2D5KBIV.js.map} +0 -0
  712. /package/dist/{block.tk.pgv-CRAMVKU4.js.map → block.tk.pgv-QO56SKBV.js.map} +0 -0
  713. /package/dist/{brainImaging-DXLK5XZ6.js.map → brainImaging-NIPQWFWO.js.map} +0 -0
  714. /package/dist/{brainRegions-AMSXQT3T.js.map → brainRegions-ZNZ2WHSU.js.map} +0 -0
  715. /package/dist/{bubbleHeatmap-SXBARILL.js.map → bubbleHeatmap-ERWNEKZB.js.map} +0 -0
  716. /package/dist/{chunk-2OJ577BB.js.map → chunk-2GYWFQML.js.map} +0 -0
  717. /package/dist/{chunk-QZLP27O6.js.map → chunk-2HYJ4GDH.js.map} +0 -0
  718. /package/dist/{chunk-MYZJUT2H.js.map → chunk-2MG6XE6R.js.map} +0 -0
  719. /package/dist/{chunk-DI5ULDWN.js.map → chunk-33K5PA52.js.map} +0 -0
  720. /package/dist/{chunk-433DTQ6C.js.map → chunk-37XDBPOP.js.map} +0 -0
  721. /package/dist/{chunk-WYSEBR5S.js.map → chunk-3EWB3246.js.map} +0 -0
  722. /package/dist/{chunk-KOLVLBMI.js.map → chunk-3RSKOPIY.js.map} +0 -0
  723. /package/dist/{chunk-CUXOQIUA.js.map → chunk-4DPVT4NE.js.map} +0 -0
  724. /package/dist/{chunk-47EYZQA7.js.map → chunk-4IH7DORZ.js.map} +0 -0
  725. /package/dist/{chunk-QAVZUWY3.js.map → chunk-4QNBFIIR.js.map} +0 -0
  726. /package/dist/{chunk-BSOB3BVG.js.map → chunk-4STKL6SR.js.map} +0 -0
  727. /package/dist/{chunk-P3NKHTNT.js.map → chunk-4TZIVSL5.js.map} +0 -0
  728. /package/dist/{chunk-LQJMCE7G.js.map → chunk-5ABGFJSP.js.map} +0 -0
  729. /package/dist/{chunk-DD6KDZVR.js.map → chunk-5AZNP47R.js.map} +0 -0
  730. /package/dist/{chunk-NOCLG6IN.js.map → chunk-5RL2OHXX.js.map} +0 -0
  731. /package/dist/{chunk-WQEGWR63.js.map → chunk-6BB43SIB.js.map} +0 -0
  732. /package/dist/{chunk-2AHDWWQO.js.map → chunk-7OHRR2IE.js.map} +0 -0
  733. /package/dist/{chunk-NZCX4A7X.js.map → chunk-ASATD4T7.js.map} +0 -0
  734. /package/dist/{chunk-K7QY24X2.js.map → chunk-AZ47Q7BX.js.map} +0 -0
  735. /package/dist/{chunk-JF47NF5G.js.map → chunk-B5B3LZB3.js.map} +0 -0
  736. /package/dist/{chunk-JD2ECQ3Z.js.map → chunk-BHGISFCA.js.map} +0 -0
  737. /package/dist/{chunk-NVRLD4TF.js.map → chunk-BMBOZ64T.js.map} +0 -0
  738. /package/dist/{chunk-D5ZYSW45.js.map → chunk-BOZJHPJP.js.map} +0 -0
  739. /package/dist/{chunk-4YDERN37.js.map → chunk-CDD7LYJM.js.map} +0 -0
  740. /package/dist/{chunk-4M22UIJQ.js.map → chunk-CTQ3IUCA.js.map} +0 -0
  741. /package/dist/{chunk-PJSOYF5U.js.map → chunk-D7TID3HR.js.map} +0 -0
  742. /package/dist/{chunk-LFGIMCUD.js.map → chunk-E55LLYRX.js.map} +0 -0
  743. /package/dist/{chunk-XB6F5OUB.js.map → chunk-ESGXULRH.js.map} +0 -0
  744. /package/dist/{chunk-SJWAMUL5.js.map → chunk-EZ4LZ6ZT.js.map} +0 -0
  745. /package/dist/{chunk-QXPJLSAD.js.map → chunk-F3SJTVP5.js.map} +0 -0
  746. /package/dist/{chunk-JOA4KJTM.js.map → chunk-F5IXNJO7.js.map} +0 -0
  747. /package/dist/{chunk-KQ6EF3FG.js.map → chunk-FJYECRHW.js.map} +0 -0
  748. /package/dist/{chunk-MLYSQG3C.js.map → chunk-FPNRUQOU.js.map} +0 -0
  749. /package/dist/{chunk-Q555GFBW.js.map → chunk-G5S4R77D.js.map} +0 -0
  750. /package/dist/{chunk-DA6RR5IR.js.map → chunk-G764NXQN.js.map} +0 -0
  751. /package/dist/{chunk-QOAUM6UV.js.map → chunk-GAPI4MML.js.map} +0 -0
  752. /package/dist/{chunk-PK5HXJ3S.js.map → chunk-HLUZOZXJ.js.map} +0 -0
  753. /package/dist/{chunk-UN3O2MNB.js.map → chunk-HOKIK2FR.js.map} +0 -0
  754. /package/dist/{chunk-LBWKMNVU.js.map → chunk-KLGL6XZD.js.map} +0 -0
  755. /package/dist/{chunk-YGKVY5IU.js.map → chunk-L7IRWUKT.js.map} +0 -0
  756. /package/dist/{chunk-23AEAG37.js.map → chunk-LFCYMSVA.js.map} +0 -0
  757. /package/dist/{chunk-46CPDZSW.js.map → chunk-LX6G7HJJ.js.map} +0 -0
  758. /package/dist/{chunk-UYEJ5DEZ.js.map → chunk-M2G5R4WB.js.map} +0 -0
  759. /package/dist/{chunk-AC3RAKUI.js.map → chunk-M4TTGGT4.js.map} +0 -0
  760. /package/dist/{chunk-5ERYRSVV.js.map → chunk-M6EF3WVV.js.map} +0 -0
  761. /package/dist/{chunk-MNIBZTQE.js.map → chunk-M6KHT3MM.js.map} +0 -0
  762. /package/dist/{chunk-6W6UMGAV.js.map → chunk-MCZFHWIR.js.map} +0 -0
  763. /package/dist/{chunk-7YWPWCHD.js.map → chunk-MFQACKYU.js.map} +0 -0
  764. /package/dist/{chunk-LKB3DITY.js.map → chunk-MVGAGTM3.js.map} +0 -0
  765. /package/dist/{chunk-V2ET64EJ.js.map → chunk-NELOT3NJ.js.map} +0 -0
  766. /package/dist/{chunk-6Z4XHMZV.js.map → chunk-NRKMXULC.js.map} +0 -0
  767. /package/dist/{chunk-BKPDYW5T.js.map → chunk-NYRZNRG5.js.map} +0 -0
  768. /package/dist/{chunk-XVYSEXFV.js.map → chunk-ONPKE6DC.js.map} +0 -0
  769. /package/dist/{chunk-JT7HC65V.js.map → chunk-OXVLWQ6M.js.map} +0 -0
  770. /package/dist/{chunk-SENZWOCC.js.map → chunk-PFRWS4CR.js.map} +0 -0
  771. /package/dist/{chunk-UVWUP6N7.js.map → chunk-PJKQUXEN.js.map} +0 -0
  772. /package/dist/{chunk-U3CMLIGB.js.map → chunk-Q2L44HK3.js.map} +0 -0
  773. /package/dist/{chunk-7P4DUYAQ.js.map → chunk-QNHT74XC.js.map} +0 -0
  774. /package/dist/{chunk-DXM5IMGV.js.map → chunk-RKO6BL5N.js.map} +0 -0
  775. /package/dist/{chunk-CJJA6RVM.js.map → chunk-T25QNZHB.js.map} +0 -0
  776. /package/dist/{chunk-I62GOCNI.js.map → chunk-U7TBYVIQ.js.map} +0 -0
  777. /package/dist/{chunk-UF6ZP6UR.js.map → chunk-UGRQXBL4.js.map} +0 -0
  778. /package/dist/{chunk-PFOCEOVT.js.map → chunk-USFSHSCJ.js.map} +0 -0
  779. /package/dist/{chunk-IBYOP2FV.js.map → chunk-VJ6UFVGC.js.map} +0 -0
  780. /package/dist/{chunk-HCNF7EFT.js.map → chunk-W3WPPOXH.js.map} +0 -0
  781. /package/dist/{chunk-ZPXSPJV2.js.map → chunk-WFCSOTBO.js.map} +0 -0
  782. /package/dist/{chunk-QOEPKNVD.js.map → chunk-WHP4AKDM.js.map} +0 -0
  783. /package/dist/{chunk-OVHCUTQM.js.map → chunk-WZ2L57MB.js.map} +0 -0
  784. /package/dist/{chunk-7Z6E3NA5.js.map → chunk-XPY6AWXO.js.map} +0 -0
  785. /package/dist/{chunk-K6AW4GFM.js.map → chunk-Y4UAKFWC.js.map} +0 -0
  786. /package/dist/{chunk-SFIX7XVT.js.map → chunk-YQBS2ZCK.js.map} +0 -0
  787. /package/dist/{chunk-GFETCJ7S.js.map → chunk-ZTHM2TKP.js.map} +0 -0
  788. /package/dist/{condition-YCPNILTV.js.map → condition-2PASYSUC.js.map} +0 -0
  789. /package/dist/{controls-RW5MWSLN.js.map → controls-5IMJ6K5L.js.map} +0 -0
  790. /package/dist/{controls.config-MP3CSYR4.js.map → controls.config-P5PG2DHW.js.map} +0 -0
  791. /package/dist/{correlation-7AQRU4YR.js.map → correlation-U3EDLNHR.js.map} +0 -0
  792. /package/dist/{cuminc-WYLKIOXR.js.map → cuminc-2HUFEROK.js.map} +0 -0
  793. /package/dist/{cuminc.integration.spec-MSAWDLD7.js.map → cuminc.integration.spec-WFWAPTDA.js.map} +0 -0
  794. /package/dist/{customdata.inputui-YU4IQJOV.js.map → customdata.inputui-ZHWNEPFH.js.map} +0 -0
  795. /package/dist/{dataDownload-72DIPZ45.js.map → dataDownload-VBSJBKMP.js.map} +0 -0
  796. /package/dist/{dataDownload.integration.spec-HRLMWQN7.js.map → dataDownload.integration.spec-LUFSETOP.js.map} +0 -0
  797. /package/dist/{databrowser.ui-3PE25HK4.js.map → databrowser.ui-6H2KMSTJ.js.map} +0 -0
  798. /package/dist/{dictionary-Y3ICL4AE.js.map → dictionary-V37LXFIP.js.map} +0 -0
  799. /package/dist/{dnaMethylation-SVGDW64U.js.map → dnaMethylation-OIZMHMLK.js.map} +0 -0
  800. /package/dist/{dnaMethylation.integration.spec-B7GLAFZI.js.map → dnaMethylation.integration.spec-CWPTJ74H.js.map} +0 -0
  801. /package/dist/{dofetch-42KOXNPF.js.map → dofetch-IWPZQB5N.js.map} +0 -0
  802. /package/dist/{e2pca-CLFGEFJH.js.map → e2pca-7SLIAGYW.js.map} +0 -0
  803. /package/dist/{ep-PUHV2DMO.js.map → ep-7L6KF6K4.js.map} +0 -0
  804. /package/dist/{expclust.gdc.spec-N7YDJAOZ.js.map → expclust.gdc.spec-JT452Q3G.js.map} +0 -0
  805. /package/dist/{facet-JFFJJCNT.js.map → facet-CXOUU5AS.js.map} +0 -0
  806. /package/dist/{forms2-XZAWW3RN.js.map → forms2-VPNCLQOY.js.map} +0 -0
  807. /package/dist/{gb-SQJ5PWOH.js.map → gb-P4VRXRED.js.map} +0 -0
  808. /package/dist/{geneExpClustering-EG2BLMQX.js.map → geneExpClustering-FQTCKRJJ.js.map} +0 -0
  809. /package/dist/{geneExpression-QRK3LNMV.js.map → geneExpression-BHO5326K.js.map} +0 -0
  810. /package/dist/{geneExpression-J42BGP3B.js.map → geneExpression-ZMERB64E.js.map} +0 -0
  811. /package/dist/{geneExpression.unit.spec-X7HVIFZA.js.map → geneExpression.unit.spec-CNVHZWNG.js.map} +0 -0
  812. /package/dist/{geneORA-SVBPO66K.js.map → geneORA-FXVUCXGX.js.map} +0 -0
  813. /package/dist/{geneRanking-HNMMLZIX.js.map → geneRanking-SFK4UBKQ.js.map} +0 -0
  814. /package/dist/{geneVariant-RVQKNVQO.js.map → geneVariant-IYEHB4H7.js.map} +0 -0
  815. /package/dist/{geneVariant-SO5FEJUZ.js.map → geneVariant-LIRRLUFR.js.map} +0 -0
  816. /package/dist/{geneVariant.integration.spec-DOMX4GMP.js.map → geneVariant.integration.spec-Y2NPNTYX.js.map} +0 -0
  817. /package/dist/{genefusion.ui-QS7AG46F.js.map → genefusion.ui-L3HIJM3N.js.map} +0 -0
  818. /package/dist/{geneset-JKOX3VIW.js.map → geneset-A6VUFX63.js.map} +0 -0
  819. /package/dist/{genomeBrowser.spec-IRSTT2OX.js.map → genomeBrowser.spec-CB4HHHBN.js.map} +0 -0
  820. /package/dist/{grin2-VZLCISPM.js.map → grin2-FKBIMH5N.js.map} +0 -0
  821. /package/dist/{hierCluster-6AW23EB5.js.map → hierCluster-QFPRMHVA.js.map} +0 -0
  822. /package/dist/{hierCluster-REXTCODR.js.map → hierCluster-YWC3XYPV.js.map} +0 -0
  823. /package/dist/{hierCluster.config-3Z3R66XH.js.map → hierCluster.config-F7YYZNM3.js.map} +0 -0
  824. /package/dist/{hierCluster.integration.spec-XE47Q64Z.js.map → hierCluster.integration.spec-AF4L3YT6.js.map} +0 -0
  825. /package/dist/{hierCluster.interactivity-2YJYYKVK.js.map → hierCluster.interactivity-RPY74PK6.js.map} +0 -0
  826. /package/dist/{hierCluster.renderers-LE7W2AL6.js.map → hierCluster.renderers-LOKHZ3V2.js.map} +0 -0
  827. /package/dist/{imagePlot-WMZJJ5CJ.js.map → imagePlot-BBEXA754.js.map} +0 -0
  828. /package/dist/{importPlot-P35EGIJJ.js.map → importPlot-7QGANZGK.js.map} +0 -0
  829. /package/dist/{isoformExpression-3TFPEXB4.js.map → isoformExpression-4SLLCVFD.js.map} +0 -0
  830. /package/dist/{isoformExpression.unit.spec-SPQFK3EA.js.map → isoformExpression.unit.spec-GEL4JJ64.js.map} +0 -0
  831. /package/dist/{launch.adhoc-ZQSJBLMJ.js.map → launch.adhoc-LWLBQJS5.js.map} +0 -0
  832. /package/dist/{leftlabel.sample-SJRQ6LJ2.js.map → leftlabel.sample-RTEZOIH2.js.map} +0 -0
  833. /package/dist/{legacyDataset-TNIIJABK.js.map → legacyDataset-VLD7ZYWI.js.map} +0 -0
  834. /package/dist/{lollipop-RXM6UBZ7.js.map → lollipop-XKQK5QZU.js.map} +0 -0
  835. /package/dist/{maf-NWXJWBNF.js.map → maf-AZQPPWDO.js.map} +0 -0
  836. /package/dist/{maftimeline-D7UENAP5.js.map → maftimeline-7MSVYKQU.js.map} +0 -0
  837. /package/dist/{matrix-77LNADX2.js.map → matrix-BGLWC25D.js.map} +0 -0
  838. /package/dist/{matrix-YDOLKY6G.js.map → matrix-IQR5SRMK.js.map} +0 -0
  839. /package/dist/{matrix.cells-VEC5LEWV.js.map → matrix.cells-5C57NWOY.js.map} +0 -0
  840. /package/dist/{matrix.config-GTAAAUGQ.js.map → matrix.config-2DQXAN2E.js.map} +0 -0
  841. /package/dist/{matrix.data-T4GEX6ZH.js.map → matrix.data-ADCGF5H6.js.map} +0 -0
  842. /package/dist/{matrix.groups-7NWHHP5Q.js.map → matrix.groups-V4ITQ5F7.js.map} +0 -0
  843. /package/dist/{matrix.integration.spec-5GBTFRZA.js.map → matrix.integration.spec-IBNOO2WP.js.map} +0 -0
  844. /package/dist/{matrix.interactivity-ONT6WCRU.js.map → matrix.interactivity-JNELJFOV.js.map} +0 -0
  845. /package/dist/{matrix.layout-LDXHGOHF.js.map → matrix.layout-WBVIV6GR.js.map} +0 -0
  846. /package/dist/{matrix.legend-5MDW65HV.js.map → matrix.legend-YHOWPK77.js.map} +0 -0
  847. /package/dist/{matrix.renderers-OEPLQG3C.js.map → matrix.renderers-5BGVRR3M.js.map} +0 -0
  848. /package/dist/{matrix.serieses-4RX7TUQ7.js.map → matrix.serieses-2GZJOASZ.js.map} +0 -0
  849. /package/dist/{matrix.sort-UKMMECBZ.js.map → matrix.sort-WKIWPJKP.js.map} +0 -0
  850. /package/dist/{matrix.sort.unit.spec-VWOXPVRE.js.map → matrix.sort.unit.spec-L2E4D4AS.js.map} +0 -0
  851. /package/dist/{matrix.sorterUi-H64DDQIL.js.map → matrix.sorterUi-TEJWWJ64.js.map} +0 -0
  852. /package/dist/{matrix.sorterUi.unit.spec-DH4434FK.js.map → matrix.sorterUi.unit.spec-SHP7C4P7.js.map} +0 -0
  853. /package/dist/{mavb-ARUWOZES.js.map → mavb-4MXNYUEO.js.map} +0 -0
  854. /package/dist/{mds.fimo-ZEAE5BC3.js.map → mds.fimo-WHIJIBOI.js.map} +0 -0
  855. /package/dist/{mds.samplescatterplot-C5EBKBVF.js.map → mds.samplescatterplot-BRJ6NG2D.js.map} +0 -0
  856. /package/dist/{mds.survivalplot-RS7Z3J3Q.js.map → mds.survivalplot-OPCMB5PB.js.map} +0 -0
  857. /package/dist/{numericDictTermCluster-CSQOV4TM.js.map → numericDictTermCluster-7MIFOP2K.js.map} +0 -0
  858. /package/dist/{oncomatrix-5UVM3KUA.js.map → oncomatrix-BGG6BEUI.js.map} +0 -0
  859. /package/dist/{oncomatrix.spec-CU3EZCMO.js.map → oncomatrix.spec-LYQ4L4F3.js.map} +0 -0
  860. /package/dist/{plot.2dvaf-JD27DSDS.js.map → plot.2dvaf-6WVCP2ZI.js.map} +0 -0
  861. /package/dist/{plot.app-NMPMG3S2.js.map → plot.app-MLBP6WFP.js.map} +0 -0
  862. /package/dist/{plot.barplot-T4LPKFXW.js.map → plot.barplot-JEPRZSCU.js.map} +0 -0
  863. /package/dist/{plot.boxplot-22ETOHNI.js.map → plot.boxplot-GNFW42VM.js.map} +0 -0
  864. /package/dist/{plot.brainImaging-Q7S7KSHW.js.map → plot.brainImaging-5ACNSD45.js.map} +0 -0
  865. /package/dist/{plot.disco-NIPBER5N.js.map → plot.disco-Q2V2KKIH.js.map} +0 -0
  866. /package/dist/{plot.dzi-DAX7GUTF.js.map → plot.dzi-KVT6S7K7.js.map} +0 -0
  867. /package/dist/{plot.ssgq-7J6S35RW.js.map → plot.ssgq-4N3KFJQ2.js.map} +0 -0
  868. /package/dist/{plot.vaf2cov-7EWFTD72.js.map → plot.vaf2cov-ITRG5U43.js.map} +0 -0
  869. /package/dist/{plot.wsi-E45KZGKD.js.map → plot.wsi-26YZNU4V.js.map} +0 -0
  870. /package/dist/{polar2-LPT2XMD2.js.map → polar2-J7GVUK4X.js.map} +0 -0
  871. /package/dist/{profileForms-EYN2KLSY.js.map → profileForms-VXV2JLXU.js.map} +0 -0
  872. /package/dist/{profilePlot-I7VQM3CH.js.map → profilePlot-ZZYZK4SY.js.map} +0 -0
  873. /package/dist/{proteinView-JP5TF3ZK.js.map → proteinView-7KN532D3.js.map} +0 -0
  874. /package/dist/{qualitative-7X3ECW7Q.js.map → qualitative-MLRVLIAU.js.map} +0 -0
  875. /package/dist/{radar2-V3FYBFAG.js.map → radar2-WM2ZBOH3.js.map} +0 -0
  876. /package/dist/{radarFacility2-O6GQLBBN.js.map → radarFacility2-3SBR2JJ3.js.map} +0 -0
  877. /package/dist/{regression-CLG6NYVF.js.map → regression-WMRPQJW2.js.map} +0 -0
  878. /package/dist/{regression.inputs-RLOBIRJH.js.map → regression.inputs-VWZKSYNY.js.map} +0 -0
  879. /package/dist/{regression.inputs.term-ZKIP6KDO.js.map → regression.inputs.term-OWE6GWHM.js.map} +0 -0
  880. /package/dist/{regression.inputs.values.table-2VD4AO5T.js.map → regression.inputs.values.table-4INNZQI2.js.map} +0 -0
  881. /package/dist/{regression.integration.spec-JEIMN7MS.js.map → regression.integration.spec-XKQ2JOOT.js.map} +0 -0
  882. /package/dist/{regression.results-FT6VSWGR.js.map → regression.results-VZBYMBYC.js.map} +0 -0
  883. /package/dist/{regression.spec-V4S52JQM.js.map → regression.spec-DU3UTDCJ.js.map} +0 -0
  884. /package/dist/{sampleView-JIGZ7GTP.js.map → render-N5FOF247.js.map} +0 -0
  885. /package/dist/{report-UPQFSI4D.js.map → report-DW3OHB67.js.map} +0 -0
  886. /package/dist/{sampleScatter.spec-QSRF3STG.js.map → sampleScatter.spec-REFSK2V4.js.map} +0 -0
  887. /package/dist/{singleCellCellType-FJ53DRXD.js.map → sampleView-ICOT2R6O.js.map} +0 -0
  888. /package/dist/{samplelst-VJMYHVXI.js.map → samplelst-TJEVASYG.js.map} +0 -0
  889. /package/dist/{samplematrix-LO4QB37V.js.map → samplematrix-6DAWCXQ3.js.map} +0 -0
  890. /package/dist/{sc-4VZBGFZP.js.map → sc-53LNOB7N.js.map} +0 -0
  891. /package/dist/{scatter-LQECXZLB.js.map → scatter-DKYSS4DL.js.map} +0 -0
  892. /package/dist/{selectGenomeWithTklst-IJTCLRIN.js.map → selectGenomeWithTklst-WTX66TV3.js.map} +0 -0
  893. /package/dist/{singleCellGeneExpression-RZE5UVL4.js.map → singleCellCellType-D2CN2BHQ.js.map} +0 -0
  894. /package/dist/{singleCellCellType.unit.spec-VOE4KY6L.js.map → singleCellCellType.unit.spec-LADUCI4R.js.map} +0 -0
  895. /package/dist/{singleCellPlot-Q5UNIW3M.js.map → singleCellGeneExpression-YR2ZT34W.js.map} +0 -0
  896. /package/dist/{singleCellGeneExpression.unit.spec-2DASF7PD.js.map → singleCellGeneExpression.unit.spec-BM63M432.js.map} +0 -0
  897. /package/dist/{snp-S4O7SVDD.js.map → singleCellPlot-3ICIOILE.js.map} +0 -0
  898. /package/dist/{singlecell-TX5AQ4WM.js.map → singlecell-6ZUFA3BQ.js.map} +0 -0
  899. /package/dist/{singlecell-N7F5KVIB.js.map → singlecell-KX7W4U57.js.map} +0 -0
  900. /package/dist/{ssGSEA-BH53XGEZ.js.map → snp-VIURB7L3.js.map} +0 -0
  901. /package/dist/{snp.unit.spec-WSQMZSTE.js.map → snp.unit.spec-ACZNZUNS.js.map} +0 -0
  902. /package/dist/{snplocus-Y2R5C4ZP.js.map → snplocus-3LW4ZUZR.js.map} +0 -0
  903. /package/dist/{spliceevent.a53ss.diagram-FGRQR73W.js.map → spliceevent.a53ss.diagram-AKTZGWNM.js.map} +0 -0
  904. /package/dist/{spliceevent.noeventdiagram-G2CMYYE7.js.map → spliceevent.noeventdiagram-YTXWWNTJ.js.map} +0 -0
  905. /package/dist/{summarizeMutationDiagnosis-EUZXCSZP.js.map → ssGSEA-THW4WFMI.js.map} +0 -0
  906. /package/dist/{ssGSEA.unit.spec-BYIVB7FZ.js.map → ssGSEA.unit.spec-HTRGQI2K.js.map} +0 -0
  907. /package/dist/{summarizeCnvGeneexp-IZNOX4E7.js.map → summarizeCnvGeneexp-RFYC3H2Z.js.map} +0 -0
  908. /package/dist/{summarizeGeneexpSurvival-DJZ2R24E.js.map → summarizeGeneexpSurvival-DQBZUTQ6.js.map} +0 -0
  909. /package/dist/{summarizeMutationCnv-CO2TVWOI.js.map → summarizeMutationCnv-7AYEMHAI.js.map} +0 -0
  910. /package/dist/{summary-JHZCDE35.js.map → summarizeMutationDiagnosis-AKFJDSAF.js.map} +0 -0
  911. /package/dist/{summarizeMutationSurvival-CXFT3HWL.js.map → summarizeMutationSurvival-QJHZRQBZ.js.map} +0 -0
  912. /package/dist/{survival-DLLVUG2P.js.map → summary-A5P7AYK4.js.map} +0 -0
  913. /package/dist/{summary.integration.spec-WBEYSDCA.js.map → summary.integration.spec-HQISXGNL.js.map} +0 -0
  914. /package/dist/{summaryInput-JVH3R54R.js.map → summaryInput-HP675QOQ.js.map} +0 -0
  915. /package/dist/{sunburst-CTJTXHSA.js.map → sunburst-65LSYRXX.js.map} +0 -0
  916. /package/dist/{termCollection-JOLQJYJ3.js.map → survival-QNEI6YVK.js.map} +0 -0
  917. /package/dist/{survival-XFVYNI6S.js.map → survival-UI74VXSM.js.map} +0 -0
  918. /package/dist/{survival.integration.spec-KVXHHAA3.js.map → survival.integration.spec-X5N3JQXS.js.map} +0 -0
  919. /package/dist/{svgraph-ACEBMDIX.js.map → svgraph-PSX2NER3.js.map} +0 -0
  920. /package/dist/{svmr-IQEDSZ2C.js.map → svmr-QDQ33EFX.js.map} +0 -0
  921. /package/dist/{table-2IF6UGHR.js.map → table-LWAI27UO.js.map} +0 -0
  922. /package/dist/{termCollection-PSXFFR32.js.map → termCollection-3JHR74FG.js.map} +0 -0
  923. /package/dist/{tk-AAIHEQO6.js.map → termCollection-CDF5LYUG.js.map} +0 -0
  924. /package/dist/{termCollection.unit.spec-4SOZP4FY.js.map → termCollection.unit.spec-HOJKYWHF.js.map} +0 -0
  925. /package/dist/{tvs.dt-FSA7KPSQ.js.map → tk-OEQFO73V.js.map} +0 -0
  926. /package/dist/{tp.ui-6STLQEXX.js.map → tp.ui-SHNERDGC.js.map} +0 -0
  927. /package/dist/{tvs.numeric-KYAU5OV3.js.map → tvs.dt-CZDC4TSR.js.map} +0 -0
  928. /package/dist/{tvs.dtcnv.categorical-FSPGH7DP.js.map → tvs.dtcnv.categorical-OPBDHZGB.js.map} +0 -0
  929. /package/dist/{tvs.dtcnv.continuous-T4ZMSDB4.js.map → tvs.dtcnv.continuous-AR6P4EP3.js.map} +0 -0
  930. /package/dist/{tvs.dtfusion-UL3YENUM.js.map → tvs.dtfusion-2YQ7N6FQ.js.map} +0 -0
  931. /package/dist/{tvs.dtitd-XJOSZUWG.js.map → tvs.dtitd-ATCHW735.js.map} +0 -0
  932. /package/dist/{tvs.dtsnvindel-5TPUT5RJ.js.map → tvs.dtsnvindel-WHHWAATJ.js.map} +0 -0
  933. /package/dist/{tvs.dtsv-OTNHXYOJ.js.map → tvs.dtsv-3UMCW65O.js.map} +0 -0
  934. /package/dist/{violin-HEFFKPL5.js.map → tvs.numeric-TOEPASWN.js.map} +0 -0
  935. /package/dist/{tvs.samplelst-FQKTAQZF.js.map → tvs.samplelst-M7XKXRTZ.js.map} +0 -0
  936. /package/dist/{tvs.termCollection-ZAPCUMUW.js.map → tvs.termCollection-WT4WZMYR.js.map} +0 -0
  937. /package/dist/{violin.interactivity-XNYJSK53.js.map → violin-2YGXTBDS.js.map} +0 -0
  938. /package/dist/{violin.integration.spec-774N4G5A.js.map → violin.integration.spec-YWNHVAGS.js.map} +0 -0
  939. /package/dist/{violin.renderer-R74VSGRC.js.map → violin.interactivity-J6BE2UQL.js.map} +0 -0
  940. /package/dist/{vocabulary-OHMC6NWL.js.map → violin.renderer-3GRUWP2U.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-5VOPABBA.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-M6EF3WVV.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-BMBOZ64T.js.map