@sjcrh/proteinpaint-client 2.196.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 (957) 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/DifferentialAnalysis-25P4CGIY.js.map +7 -0
  10. package/dist/Disco-NVMLF3BK.js +3392 -0
  11. package/dist/Disco-NVMLF3BK.js.map +7 -0
  12. package/dist/Disco.UI-C7CZINUQ.js +249 -0
  13. package/dist/DmrPlot-WROR4ENM.js +642 -0
  14. package/dist/GB-JUABODPH.js +1394 -0
  15. package/dist/GB-JUABODPH.js.map +7 -0
  16. package/dist/GSEA-Y5R2THIJ.js +846 -0
  17. package/dist/GSEA-Y5R2THIJ.js.map +7 -0
  18. package/dist/GeneExpInput-JDU6EI7K.js +367 -0
  19. package/dist/Geomap-J763OK2F.js +89 -0
  20. package/dist/Geomap-J763OK2F.js.map +7 -0
  21. package/dist/HicApp-UNIJLH4B.js +2250 -0
  22. package/dist/IDCViewer-KVPCIUDW.js +10803 -0
  23. package/dist/IDCViewer-KVPCIUDW.js.map +7 -0
  24. package/dist/NumBinaryEditor-WMN2GGO4.js +271 -0
  25. package/dist/NumBinaryEditor.unit.spec-TAMXV6SE.js +286 -0
  26. package/dist/NumContEditor-XYIOJY4E.js +109 -0
  27. package/dist/NumContEditor.unit.spec-WDZ75BHO.js +169 -0
  28. package/dist/NumCustomBinEditor-5SY3C4TY.js +38 -0
  29. package/dist/NumCustomBinEditor.unit.spec-XHTAIXR3.js +284 -0
  30. package/dist/NumDiscreteEditor-NRDRX4FD.js +179 -0
  31. package/dist/NumDiscreteEditor.unit.spec-2CJW7OAT.js +202 -0
  32. package/dist/NumRegularBinEditor-DUDVTNDC.js +38 -0
  33. package/dist/NumRegularBinEditor.unit.spec-H3GNQHMN.js +227 -0
  34. package/dist/NumSplineEditor-7Q4AC7KH.js +198 -0
  35. package/dist/NumSplineEditor.unit.spec-YRZK5PH5.js +199 -0
  36. package/dist/NumericDensity-NTNWUESG.js +38 -0
  37. package/dist/NumericDensity.unit.spec-5I5U6T6P.js +221 -0
  38. package/dist/NumericHandler-MEW2KMPX.js +39 -0
  39. package/dist/NumericHandler.unit.spec-JFX4BPRG.js +219 -0
  40. package/dist/ProteomeInput-K2ZHR2U6.js +395 -0
  41. package/dist/ProteomeInput-K2ZHR2U6.js.map +7 -0
  42. package/dist/RunChart2-BEBDU7RC.js +758 -0
  43. package/dist/SC-XCBFJVUJ.js +1120 -0
  44. package/dist/SC-XCBFJVUJ.js.map +7 -0
  45. package/dist/Volcano-4Y4TP3UX.js +1385 -0
  46. package/dist/Volcano-4Y4TP3UX.js.map +7 -0
  47. package/dist/WSIViewer-ZLQU62PD.js +48562 -0
  48. package/dist/WsiSamplesPlot-JMBSITOM.js +165 -0
  49. package/dist/adSandbox-664IRCRL.js +38 -0
  50. package/dist/animatedBubbleChart-TX7NW34K.js +555 -0
  51. package/dist/app-63WJ3BMP.js +37 -0
  52. package/dist/app-77FIZHCG.js +49 -0
  53. package/dist/app.js +19 -19
  54. package/dist/bam-IETNVAYD.js +860 -0
  55. package/dist/barchart-YUVXJNH4.js +47 -0
  56. package/dist/barchart.data-P4EIQXGE.js +22 -0
  57. package/dist/barchart.events-JPVCLTIG.js +47 -0
  58. package/dist/barchart.integration.spec-ZH7DEQI2.js +2196 -0
  59. package/dist/barchart2-XO2FG76J.js +314 -0
  60. package/dist/bars.renderer-AUIWUJDH.js +12 -0
  61. package/dist/block-NBTCOT3H.js +6255 -0
  62. package/dist/block-NBTCOT3H.js.map +7 -0
  63. package/dist/block.init-X7Y2EEVR.js +38 -0
  64. package/dist/block.mds.expressionrank-BIAOZIZ3.js +359 -0
  65. package/dist/block.mds.geneboxplot-CNICDVLK.js +828 -0
  66. package/dist/block.mds.junction-PQXCTSUI.js +1545 -0
  67. package/dist/block.mds.svcnv-32KMVTCT.js +6801 -0
  68. package/dist/block.svg-LRTOYQK2.js +164 -0
  69. package/dist/block.tk.aicheck-HDV7ZIUD.js +283 -0
  70. package/dist/block.tk.ase-JIDWKMYI.js +365 -0
  71. package/dist/block.tk.bam-5X3OS5HB.js +1906 -0
  72. package/dist/block.tk.bedgraphdot-T7JX7YQL.js +384 -0
  73. package/dist/block.tk.bigwig.ui-OSAYEBAE.js +212 -0
  74. package/dist/block.tk.hicstraw-DEY3VQFK.js +823 -0
  75. package/dist/block.tk.junction-7UAFEZSJ.js +2364 -0
  76. package/dist/block.tk.junction.textmatrixui-27LHS33U.js +199 -0
  77. package/dist/block.tk.ld-DF2PI7OO.js +99 -0
  78. package/dist/block.tk.menu-L2D5KBIV.js +1029 -0
  79. package/dist/block.tk.pgv-QO56SKBV.js +944 -0
  80. package/dist/brainImaging-NIPQWFWO.js +423 -0
  81. package/dist/brainRegions-ZNZ2WHSU.js +221 -0
  82. package/dist/bubbleHeatmap-ERWNEKZB.js +383 -0
  83. package/dist/chunk-2GYWFQML.js +299 -0
  84. package/dist/chunk-2HYJ4GDH.js +50 -0
  85. package/dist/chunk-2MG6XE6R.js +272 -0
  86. package/dist/chunk-2X6W4E3W.js +1507 -0
  87. package/dist/chunk-2X6W4E3W.js.map +7 -0
  88. package/dist/chunk-33K5PA52.js +54 -0
  89. package/dist/chunk-37XDBPOP.js +26 -0
  90. package/dist/chunk-3EWB3246.js +58 -0
  91. package/dist/chunk-3RSKOPIY.js +100 -0
  92. package/dist/chunk-3XVVN66M.js +4085 -0
  93. package/dist/chunk-3XVVN66M.js.map +7 -0
  94. package/dist/chunk-4DPVT4NE.js +1102 -0
  95. package/dist/chunk-4IH7DORZ.js +98 -0
  96. package/dist/chunk-4QNBFIIR.js +399 -0
  97. package/dist/chunk-4STKL6SR.js +217 -0
  98. package/dist/chunk-4TZIVSL5.js +34 -0
  99. package/dist/chunk-5ABGFJSP.js +467 -0
  100. package/dist/chunk-5AZNP47R.js +302 -0
  101. package/dist/chunk-5RL2OHXX.js +5070 -0
  102. package/dist/chunk-5RL2OHXX.js.map +7 -0
  103. package/dist/chunk-5VOPABBA.js +20941 -0
  104. package/dist/chunk-5VOPABBA.js.map +7 -0
  105. package/dist/chunk-6BB43SIB.js +102 -0
  106. package/dist/chunk-7OHRR2IE.js +276 -0
  107. package/dist/chunk-ARBHWDMY.js +226 -0
  108. package/dist/chunk-ARBHWDMY.js.map +7 -0
  109. package/dist/chunk-ASATD4T7.js +14 -0
  110. package/dist/chunk-AZ47Q7BX.js +1223 -0
  111. package/dist/chunk-AZ47Q7BX.js.map +7 -0
  112. package/dist/chunk-B5B3LZB3.js +236 -0
  113. package/dist/chunk-BHGISFCA.js +2681 -0
  114. package/dist/chunk-BMBOZ64T.js +2786 -0
  115. package/dist/chunk-BOZJHPJP.js +216 -0
  116. package/dist/chunk-CDD7LYJM.js +194 -0
  117. package/dist/chunk-CTQ3IUCA.js +2327 -0
  118. package/dist/chunk-D7TID3HR.js +158 -0
  119. package/dist/chunk-DBKNWR4J.js +1561 -0
  120. package/dist/chunk-DBKNWR4J.js.map +7 -0
  121. package/dist/chunk-E55LLYRX.js +55 -0
  122. package/dist/chunk-ESGXULRH.js +386 -0
  123. package/dist/chunk-EZ4LZ6ZT.js +117 -0
  124. package/dist/chunk-F3SJTVP5.js +4284 -0
  125. package/dist/chunk-F5IXNJO7.js +222 -0
  126. package/dist/chunk-FJYECRHW.js +448 -0
  127. package/dist/chunk-FPNRUQOU.js +833 -0
  128. package/dist/chunk-G5S4R77D.js +1942 -0
  129. package/dist/chunk-G5S4R77D.js.map +7 -0
  130. package/dist/chunk-G764NXQN.js +170 -0
  131. package/dist/chunk-GAPI4MML.js +148 -0
  132. package/dist/chunk-HLUZOZXJ.js +272 -0
  133. package/dist/chunk-HOKIK2FR.js +375 -0
  134. package/dist/chunk-I6WR4CG7.js +323 -0
  135. package/dist/chunk-I6WR4CG7.js.map +7 -0
  136. package/dist/chunk-KLGL6XZD.js +129 -0
  137. package/dist/chunk-KTKZSYIH.js +24 -0
  138. package/dist/chunk-KTKZSYIH.js.map +7 -0
  139. package/dist/chunk-L7IRWUKT.js +480 -0
  140. package/dist/chunk-LFCYMSVA.js +314 -0
  141. package/dist/chunk-LFCYMSVA.js.map +7 -0
  142. package/dist/chunk-LX6G7HJJ.js +617 -0
  143. package/dist/chunk-M2G5R4WB.js +142 -0
  144. package/dist/chunk-M4TTGGT4.js +102 -0
  145. package/dist/chunk-M6EF3WVV.js +1825 -0
  146. package/dist/chunk-M6KHT3MM.js +146 -0
  147. package/dist/chunk-MCZFHWIR.js +230 -0
  148. package/dist/chunk-MFQACKYU.js +448 -0
  149. package/dist/chunk-MVGAGTM3.js +343 -0
  150. package/dist/chunk-NELOT3NJ.js +119 -0
  151. package/dist/chunk-NRKMXULC.js +54 -0
  152. package/dist/chunk-NSTL4MY2.js +2110 -0
  153. package/dist/chunk-NSTL4MY2.js.map +7 -0
  154. package/dist/chunk-NYRZNRG5.js +177 -0
  155. package/dist/chunk-ONPKE6DC.js +368 -0
  156. package/dist/chunk-OXVLWQ6M.js +556 -0
  157. package/dist/chunk-OXVLWQ6M.js.map +7 -0
  158. package/dist/chunk-PFRWS4CR.js +203 -0
  159. package/dist/chunk-PJKQUXEN.js +1275 -0
  160. package/dist/chunk-Q2L44HK3.js +6364 -0
  161. package/dist/chunk-QNHT74XC.js +1245 -0
  162. package/dist/chunk-QNHT74XC.js.map +7 -0
  163. package/dist/chunk-RKO6BL5N.js +446 -0
  164. package/dist/chunk-T25QNZHB.js +254 -0
  165. package/dist/chunk-U7TBYVIQ.js +31 -0
  166. package/dist/chunk-UGRQXBL4.js +381 -0
  167. package/dist/chunk-USFSHSCJ.js +477 -0
  168. package/dist/chunk-VJ6UFVGC.js +2833 -0
  169. package/dist/chunk-W3WPPOXH.js +292 -0
  170. package/dist/chunk-WFCSOTBO.js +263 -0
  171. package/dist/chunk-WHP4AKDM.js +185 -0
  172. package/dist/chunk-WHP4AKDM.js.map +7 -0
  173. package/dist/chunk-WZ2L57MB.js +102 -0
  174. package/dist/chunk-XPY6AWXO.js +787 -0
  175. package/dist/chunk-XPY6AWXO.js.map +7 -0
  176. package/dist/chunk-Y4UAKFWC.js +37 -0
  177. package/dist/chunk-YQBS2ZCK.js +514 -0
  178. package/dist/chunk-Z5U6HOE4.js +190 -0
  179. package/dist/chunk-Z5U6HOE4.js.map +7 -0
  180. package/dist/chunk-ZNEJUKJW.js +140 -0
  181. package/dist/chunk-ZNEJUKJW.js.map +7 -0
  182. package/dist/chunk-ZTHM2TKP.js +176 -0
  183. package/dist/condition-2PASYSUC.js +332 -0
  184. package/dist/controls-5IMJ6K5L.js +41 -0
  185. package/dist/controls.config-P5PG2DHW.js +39 -0
  186. package/dist/correlation-U3EDLNHR.js +102 -0
  187. package/dist/cuminc-2HUFEROK.js +1149 -0
  188. package/dist/cuminc.integration.spec-WFWAPTDA.js +678 -0
  189. package/dist/cuminc.integration.spec-WFWAPTDA.js.map +7 -0
  190. package/dist/customdata.inputui-ZHWNEPFH.js +289 -0
  191. package/dist/dataDownload-VBSJBKMP.js +330 -0
  192. package/dist/dataDownload.integration.spec-LUFSETOP.js +193 -0
  193. package/dist/databrowser.ui-6H2KMSTJ.js +433 -0
  194. package/dist/dictionary-V37LXFIP.js +118 -0
  195. package/dist/dnaMethylation-OIZMHMLK.js +38 -0
  196. package/dist/dnaMethylation.integration.spec-CWPTJ74H.js +203 -0
  197. package/dist/dofetch-IWPZQB5N.js +51 -0
  198. package/dist/e2pca-7SLIAGYW.js +350 -0
  199. package/dist/ep-7L6KF6K4.js +1256 -0
  200. package/dist/expclust.gdc.spec-JT452Q3G.js +307 -0
  201. package/dist/facet-CXOUU5AS.js +521 -0
  202. package/dist/forms2-VPNCLQOY.js +539 -0
  203. package/dist/gb-P4VRXRED.js +88 -0
  204. package/dist/geneExpClustering-FQTCKRJJ.js +249 -0
  205. package/dist/geneExpression-BHO5326K.js +313 -0
  206. package/dist/geneExpression-ZMERB64E.js +38 -0
  207. package/dist/geneExpression.unit.spec-CNVHZWNG.js +102 -0
  208. package/dist/geneORA-FXVUCXGX.js +278 -0
  209. package/dist/geneRanking-SFK4UBKQ.js +553 -0
  210. package/dist/geneVariant-IYEHB4H7.js +41 -0
  211. package/dist/geneVariant-LIRRLUFR.js +39 -0
  212. package/dist/geneVariant.integration.spec-Y2NPNTYX.js +198 -0
  213. package/dist/genefusion.ui-L3HIJM3N.js +309 -0
  214. package/dist/geneset-A6VUFX63.js +208 -0
  215. package/dist/genomeBrowser.spec-CB4HHHBN.js +281 -0
  216. package/dist/grin2-FKBIMH5N.js +75 -0
  217. package/dist/grin2-V36KLEBU.js +1143 -0
  218. package/dist/grin2-V36KLEBU.js.map +7 -0
  219. package/dist/hierCluster-QFPRMHVA.js +63 -0
  220. package/dist/hierCluster-YWC3XYPV.js +59 -0
  221. package/dist/hierCluster.config-F7YYZNM3.js +40 -0
  222. package/dist/hierCluster.integration.spec-AF4L3YT6.js +488 -0
  223. package/dist/hierCluster.interactivity-RPY74PK6.js +54 -0
  224. package/dist/hierCluster.renderers-LOKHZ3V2.js +21 -0
  225. package/dist/imagePlot-BBEXA754.js +163 -0
  226. package/dist/importPlot-7QGANZGK.js +8 -0
  227. package/dist/isoformExpression-4SLLCVFD.js +40 -0
  228. package/dist/isoformExpression.unit.spec-GEL4JJ64.js +208 -0
  229. package/dist/launch.adhoc-LWLBQJS5.js +42 -0
  230. package/dist/leftlabel.sample-RTEZOIH2.js +264 -0
  231. package/dist/legacyDataset-VLD7ZYWI.js +119 -0
  232. package/dist/lollipop-XKQK5QZU.js +171 -0
  233. package/dist/maf-AZQPPWDO.js +459 -0
  234. package/dist/maftimeline-7MSVYKQU.js +593 -0
  235. package/dist/matrix-BGLWC25D.js +58 -0
  236. package/dist/matrix-IQR5SRMK.js +63 -0
  237. package/dist/matrix.cells-5C57NWOY.js +28 -0
  238. package/dist/matrix.config-2DQXAN2E.js +41 -0
  239. package/dist/matrix.data-ADCGF5H6.js +25 -0
  240. package/dist/matrix.groups-V4ITQ5F7.js +27 -0
  241. package/dist/matrix.integration.spec-IBNOO2WP.js +3072 -0
  242. package/dist/matrix.integration.spec-IBNOO2WP.js.map +7 -0
  243. package/dist/matrix.interactivity-JNELJFOV.js +42 -0
  244. package/dist/matrix.layout-WBVIV6GR.js +44 -0
  245. package/dist/matrix.legend-YHOWPK77.js +22 -0
  246. package/dist/matrix.renderers-5BGVRR3M.js +38 -0
  247. package/dist/matrix.serieses-2GZJOASZ.js +21 -0
  248. package/dist/matrix.sort-WKIWPJKP.js +27 -0
  249. package/dist/matrix.sort.unit.spec-L2E4D4AS.js +472 -0
  250. package/dist/matrix.sorterUi-TEJWWJ64.js +18 -0
  251. package/dist/matrix.sorterUi.unit.spec-SHP7C4P7.js +342 -0
  252. package/dist/mavb-4MXNYUEO.js +732 -0
  253. package/dist/mds.fimo-WHIJIBOI.js +518 -0
  254. package/dist/mds.samplescatterplot-BRJ6NG2D.js +1550 -0
  255. package/dist/mds.survivalplot-OPCMB5PB.js +483 -0
  256. package/dist/numericDictTermCluster-7MIFOP2K.js +65 -0
  257. package/dist/oncomatrix-BGG6BEUI.js +295 -0
  258. package/dist/oncomatrix.spec-LYQ4L4F3.js +448 -0
  259. package/dist/plot.2dvaf-6WVCP2ZI.js +377 -0
  260. package/dist/plot.app-MLBP6WFP.js +41 -0
  261. package/dist/plot.barplot-JEPRZSCU.js +102 -0
  262. package/dist/plot.boxplot-GNFW42VM.js +152 -0
  263. package/dist/plot.brainImaging-5ACNSD45.js +51 -0
  264. package/dist/plot.disco-Q2V2KKIH.js +102 -0
  265. package/dist/plot.dzi-KVT6S7K7.js +33 -0
  266. package/dist/plot.ssgq-4N3KFJQ2.js +139 -0
  267. package/dist/plot.vaf2cov-ITRG5U43.js +259 -0
  268. package/dist/plot.wsi-26YZNU4V.js +36 -0
  269. package/dist/polar2-J7GVUK4X.js +231 -0
  270. package/dist/profileForms-VXV2JLXU.js +446 -0
  271. package/dist/profilePlot-ZZYZK4SY.js +54 -0
  272. package/dist/proteinView-7KN532D3.js +1568 -0
  273. package/dist/qualitative-MLRVLIAU.js +43 -0
  274. package/dist/radar2-WM2ZBOH3.js +326 -0
  275. package/dist/radarFacility2-3SBR2JJ3.js +334 -0
  276. package/dist/regression-WMRPQJW2.js +56 -0
  277. package/dist/regression.inputs-VWZKSYNY.js +48 -0
  278. package/dist/regression.inputs.term-OWE6GWHM.js +48 -0
  279. package/dist/regression.inputs.values.table-4INNZQI2.js +45 -0
  280. package/dist/regression.integration.spec-XKQ2JOOT.js +784 -0
  281. package/dist/regression.results-VZBYMBYC.js +40 -0
  282. package/dist/regression.spec-DU3UTDCJ.js +708 -0
  283. package/dist/render-N5FOF247.js +38 -0
  284. package/dist/report-DW3OHB67.js +222 -0
  285. package/dist/sampleScatter.spec-REFSK2V4.js +202 -0
  286. package/dist/sampleView-ICOT2R6O.js +48 -0
  287. package/dist/samplelst-TJEVASYG.js +111 -0
  288. package/dist/samplematrix-6DAWCXQ3.js +2198 -0
  289. package/dist/sc-53LNOB7N.js +86 -0
  290. package/dist/scatter-DKYSS4DL.js +851 -0
  291. package/dist/selectGenomeWithTklst-WTX66TV3.js +134 -0
  292. package/dist/singleCellCellType-D2CN2BHQ.js +38 -0
  293. package/dist/singleCellCellType.unit.spec-LADUCI4R.js +160 -0
  294. package/dist/singleCellGeneExpression-YR2ZT34W.js +38 -0
  295. package/dist/singleCellGeneExpression.unit.spec-BM63M432.js +153 -0
  296. package/dist/singleCellPlot-3ICIOILE.js +54 -0
  297. package/dist/singlecell-6ZUFA3BQ.js +86 -0
  298. package/dist/singlecell-KX7W4U57.js +1572 -0
  299. package/dist/snp-VIURB7L3.js +38 -0
  300. package/dist/snp.unit.spec-ACZNZUNS.js +176 -0
  301. package/dist/snplocus-3LW4ZUZR.js +208 -0
  302. package/dist/spliceevent.a53ss.diagram-AKTZGWNM.js +151 -0
  303. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js +283 -0
  304. package/dist/spliceevent.exonskip.diagram-XZHXB77R.js.map +7 -0
  305. package/dist/spliceevent.noeventdiagram-YTXWWNTJ.js +460 -0
  306. package/dist/ssGSEA-THW4WFMI.js +38 -0
  307. package/dist/ssGSEA.unit.spec-HTRGQI2K.js +88 -0
  308. package/dist/summarizeCnvGeneexp-RFYC3H2Z.js +163 -0
  309. package/dist/summarizeGeneexpSurvival-DQBZUTQ6.js +114 -0
  310. package/dist/summarizeMutationCnv-7AYEMHAI.js +164 -0
  311. package/dist/summarizeMutationDiagnosis-AKFJDSAF.js +40 -0
  312. package/dist/summarizeMutationSurvival-QJHZRQBZ.js +99 -0
  313. package/dist/summary-A5P7AYK4.js +49 -0
  314. package/dist/summary.integration.spec-HQISXGNL.js +414 -0
  315. package/dist/summaryInput-HP675QOQ.js +235 -0
  316. package/dist/sunburst-65LSYRXX.js +284 -0
  317. package/dist/survival-QNEI6YVK.js +46 -0
  318. package/dist/survival-UI74VXSM.js +58 -0
  319. package/dist/survival.integration.spec-X5N3JQXS.js +915 -0
  320. package/dist/survival.integration.spec-X5N3JQXS.js.map +7 -0
  321. package/dist/svgraph-PSX2NER3.js +1387 -0
  322. package/dist/svmr-QDQ33EFX.js +3842 -0
  323. package/dist/table-LWAI27UO.js +200 -0
  324. package/dist/termCollection-3JHR74FG.js +179 -0
  325. package/dist/termCollection-CDF5LYUG.js +38 -0
  326. package/dist/termCollection.unit.spec-HOJKYWHF.js +208 -0
  327. package/dist/tk-GL4QCL4K.js +1019 -0
  328. package/dist/tk-GL4QCL4K.js.map +7 -0
  329. package/dist/tk-OEQFO73V.js +46 -0
  330. package/dist/tp.ui-SHNERDGC.js +1459 -0
  331. package/dist/tvs.dt-CZDC4TSR.js +39 -0
  332. package/dist/tvs.dtcnv.categorical-OPBDHZGB.js +40 -0
  333. package/dist/tvs.dtcnv.continuous-AR6P4EP3.js +72 -0
  334. package/dist/tvs.dtfusion-2YQ7N6FQ.js +40 -0
  335. package/dist/tvs.dtitd-ATCHW735.js +40 -0
  336. package/dist/tvs.dtitd-ATCHW735.js.map +7 -0
  337. package/dist/tvs.dtsnvindel-WHHWAATJ.js +40 -0
  338. package/dist/tvs.dtsv-3UMCW65O.js +40 -0
  339. package/dist/tvs.numeric-TOEPASWN.js +21 -0
  340. package/dist/tvs.samplelst-M7XKXRTZ.js +104 -0
  341. package/dist/tvs.termCollection-WT4WZMYR.js +159 -0
  342. package/dist/violin-2YGXTBDS.js +46 -0
  343. package/dist/violin.integration.spec-YWNHVAGS.js +1425 -0
  344. package/dist/violin.interactivity-J6BE2UQL.js +38 -0
  345. package/dist/violin.renderer-3GRUWP2U.js +40 -0
  346. package/dist/vocabulary-2INCVPYJ.js +41 -0
  347. package/package.json +3 -3
  348. package/dist/2dmaf-SKNV7IHT.js +0 -1373
  349. package/dist/AIProjectAdmin-AOTVRBNH.js +0 -958
  350. package/dist/AppHeader-M2ZSS3M3.js +0 -835
  351. package/dist/BoxPlot-P3EECSQA.js +0 -1217
  352. package/dist/CorrelationVolcano-YCQ5S6MT.js +0 -619
  353. package/dist/DE-RBMOQZCR.js +0 -95
  354. package/dist/DEinput-PTW6RS6U.js +0 -301
  355. package/dist/DifferentialAnalysis-M6IDWPYX.js +0 -245
  356. package/dist/DifferentialAnalysis-M6IDWPYX.js.map +0 -7
  357. package/dist/Disco-GUKDAHUY.js +0 -3297
  358. package/dist/Disco-GUKDAHUY.js.map +0 -7
  359. package/dist/Disco.UI-YBIMV7RH.js +0 -249
  360. package/dist/DmrPlot-JQPLLU6P.js +0 -642
  361. package/dist/GB-UOTFNVJE.js +0 -1353
  362. package/dist/GB-UOTFNVJE.js.map +0 -7
  363. package/dist/GeneExpInput-3OPDDCXR.js +0 -367
  364. package/dist/HicApp-VFOWRP6G.js +0 -2250
  365. package/dist/IDCViewer-Y7EOIIBG.js +0 -10455
  366. package/dist/IDCViewer-Y7EOIIBG.js.map +0 -7
  367. package/dist/NumBinaryEditor-RL44SO3T.js +0 -271
  368. package/dist/NumBinaryEditor.unit.spec-P73PGAX5.js +0 -286
  369. package/dist/NumContEditor-MIC7M73G.js +0 -109
  370. package/dist/NumContEditor.unit.spec-5XZH7OCG.js +0 -169
  371. package/dist/NumCustomBinEditor-W357XTIR.js +0 -38
  372. package/dist/NumCustomBinEditor.unit.spec-CJMK4CYW.js +0 -284
  373. package/dist/NumDiscreteEditor-PRSUMS3I.js +0 -179
  374. package/dist/NumDiscreteEditor.unit.spec-A6R56P3Z.js +0 -202
  375. package/dist/NumRegularBinEditor-7OHUEUCC.js +0 -38
  376. package/dist/NumRegularBinEditor.unit.spec-NOAX42UZ.js +0 -227
  377. package/dist/NumSplineEditor-XI7AT5LM.js +0 -198
  378. package/dist/NumSplineEditor.unit.spec-ZH4M2N2C.js +0 -199
  379. package/dist/NumericDensity-X6IHQAW3.js +0 -38
  380. package/dist/NumericDensity.unit.spec-EKVD4AUG.js +0 -221
  381. package/dist/NumericHandler-5ONBWFJ5.js +0 -39
  382. package/dist/NumericHandler.unit.spec-SHI6E4VA.js +0 -219
  383. package/dist/ProteomeInput-HN46MIBP.js +0 -396
  384. package/dist/ProteomeInput-HN46MIBP.js.map +0 -7
  385. package/dist/RunChart2-Y6IY6MW2.js +0 -758
  386. package/dist/SC-JYF564FK.js +0 -1130
  387. package/dist/SC-JYF564FK.js.map +0 -7
  388. package/dist/Volcano-WZGAUYGY.js +0 -1380
  389. package/dist/Volcano-WZGAUYGY.js.map +0 -7
  390. package/dist/WSIViewer-RLLL7MAL.js +0 -48562
  391. package/dist/WsiSamplesPlot-FU3TCOTY.js +0 -165
  392. package/dist/adSandbox-ZINST5DE.js +0 -38
  393. package/dist/animatedBubbleChart-PIQWCVBJ.js +0 -555
  394. package/dist/app-N42SVGI2.js +0 -37
  395. package/dist/app-RWN4XLCP.js +0 -49
  396. package/dist/bam-QTSTXJ4N.js +0 -860
  397. package/dist/barchart-27BYTRVI.js +0 -47
  398. package/dist/barchart.data-OUNVH4JU.js +0 -22
  399. package/dist/barchart.events-PY4CEDSO.js +0 -47
  400. package/dist/barchart.integration.spec-H4WGHQ7R.js +0 -2196
  401. package/dist/barchart2-TIOTRAC2.js +0 -314
  402. package/dist/bars.renderer-57KSYAAT.js +0 -12
  403. package/dist/block-YPM767A4.js +0 -6226
  404. package/dist/block-YPM767A4.js.map +0 -7
  405. package/dist/block.init-LRZ3QAGC.js +0 -38
  406. package/dist/block.mds.expressionrank-IV7JLC52.js +0 -359
  407. package/dist/block.mds.geneboxplot-IBCE5XZU.js +0 -828
  408. package/dist/block.mds.junction-ISSCJHNF.js +0 -1545
  409. package/dist/block.mds.svcnv-ZEBVBTL7.js +0 -6801
  410. package/dist/block.svg-FYWA5VYH.js +0 -164
  411. package/dist/block.tk.aicheck-AD6DTKXR.js +0 -283
  412. package/dist/block.tk.ase-LO2J4KRE.js +0 -365
  413. package/dist/block.tk.bam-XGX22FCN.js +0 -1906
  414. package/dist/block.tk.bedgraphdot-SUIRFNFL.js +0 -384
  415. package/dist/block.tk.bigwig.ui-2Q7FAK3V.js +0 -212
  416. package/dist/block.tk.hicstraw-4MVP2PCL.js +0 -823
  417. package/dist/block.tk.junction-F54FTEPB.js +0 -2364
  418. package/dist/block.tk.junction.textmatrixui-ETROZJVK.js +0 -199
  419. package/dist/block.tk.ld-NJEDKSTU.js +0 -99
  420. package/dist/block.tk.menu-LZOY4FKT.js +0 -1029
  421. package/dist/block.tk.pgv-I3XHJ7VU.js +0 -944
  422. package/dist/brainImaging-BGP6VRFV.js +0 -423
  423. package/dist/brainRegions-AAN7LM2Y.js +0 -221
  424. package/dist/bubbleHeatmap-HNEU4CYA.js +0 -383
  425. package/dist/chunk-25XCVML7.js +0 -236
  426. package/dist/chunk-2XV6U42J.js +0 -100
  427. package/dist/chunk-36NAWXQ7.js +0 -5067
  428. package/dist/chunk-36NAWXQ7.js.map +0 -7
  429. package/dist/chunk-3LYZMOLO.js +0 -58
  430. package/dist/chunk-427UL37G.js +0 -222
  431. package/dist/chunk-4C3XRI6J.js +0 -54
  432. package/dist/chunk-4O6H4ZHL.js +0 -514
  433. package/dist/chunk-53JJ7SXN.js +0 -276
  434. package/dist/chunk-5CR24RTX.js +0 -381
  435. package/dist/chunk-5HMX4NUJ.js +0 -217
  436. package/dist/chunk-5QTJUPFS.js +0 -26
  437. package/dist/chunk-5V2BMEAS.js +0 -55
  438. package/dist/chunk-6MBTPVIM.js +0 -1275
  439. package/dist/chunk-6MQWYMPB.js +0 -183
  440. package/dist/chunk-6MQWYMPB.js.map +0 -7
  441. package/dist/chunk-7D3WX34I.js +0 -1230
  442. package/dist/chunk-7D3WX34I.js.map +0 -7
  443. package/dist/chunk-7FSIZZOX.js +0 -176
  444. package/dist/chunk-7KRS7L4U.js +0 -1443
  445. package/dist/chunk-7KRS7L4U.js.map +0 -7
  446. package/dist/chunk-A3URBFXN.js +0 -119
  447. package/dist/chunk-A45KH7LP.js +0 -254
  448. package/dist/chunk-B4GS7OLB.js +0 -4284
  449. package/dist/chunk-BKPDYW5T.js +0 -177
  450. package/dist/chunk-BWQV2OBL.js +0 -102
  451. package/dist/chunk-BXGQXLHP.js +0 -2786
  452. package/dist/chunk-CDJAHMAN.js +0 -299
  453. package/dist/chunk-CXHLROWX.js +0 -37
  454. package/dist/chunk-EKKQMKQI.js +0 -102
  455. package/dist/chunk-EPWIJEMK.js +0 -158
  456. package/dist/chunk-F7Y67LK7.js +0 -230
  457. package/dist/chunk-FDBVAL6K.js +0 -14
  458. package/dist/chunk-FISP5YN2.js +0 -292
  459. package/dist/chunk-G3FSS7GR.js +0 -477
  460. package/dist/chunk-GE4NJDV4.js +0 -98
  461. package/dist/chunk-GYGU4UT5.js +0 -34
  462. package/dist/chunk-I5IPJG2R.js +0 -148
  463. package/dist/chunk-I73KUUYG.js +0 -287
  464. package/dist/chunk-I73KUUYG.js.map +0 -7
  465. package/dist/chunk-IFK24IXL.js +0 -194
  466. package/dist/chunk-ILE6ML2D.js +0 -50
  467. package/dist/chunk-IRKP6IZ4.js +0 -216
  468. package/dist/chunk-J6ZOUCWN.js +0 -170
  469. package/dist/chunk-JFRSVFWO.js +0 -736
  470. package/dist/chunk-JFRSVFWO.js.map +0 -7
  471. package/dist/chunk-JNBJG57F.js +0 -448
  472. package/dist/chunk-K5UVG3FQ.js +0 -117
  473. package/dist/chunk-KE5B34CS.js +0 -102
  474. package/dist/chunk-L6A2BEXB.js +0 -2681
  475. package/dist/chunk-LQJMCE7G.js +0 -467
  476. package/dist/chunk-LSWU6EAQ.js +0 -31
  477. package/dist/chunk-LWEGSYDD.js +0 -226
  478. package/dist/chunk-LWEGSYDD.js.map +0 -7
  479. package/dist/chunk-LYVLF6HO.js +0 -1825
  480. package/dist/chunk-MBUQ34CF.js +0 -189
  481. package/dist/chunk-MBUQ34CF.js.map +0 -7
  482. package/dist/chunk-MN3KDNHC.js +0 -617
  483. package/dist/chunk-MNIBZTQE.js +0 -146
  484. package/dist/chunk-MTHEEXT2.js +0 -1450
  485. package/dist/chunk-MTHEEXT2.js.map +0 -7
  486. package/dist/chunk-MTZSN3H4.js +0 -302
  487. package/dist/chunk-N7O7NPUO.js +0 -534
  488. package/dist/chunk-N7O7NPUO.js.map +0 -7
  489. package/dist/chunk-NNFAUP2I.js +0 -315
  490. package/dist/chunk-NNFAUP2I.js.map +0 -7
  491. package/dist/chunk-OF5FE6GT.js +0 -142
  492. package/dist/chunk-OVSKJROY.js +0 -815
  493. package/dist/chunk-OVSKJROY.js.map +0 -7
  494. package/dist/chunk-PJ3FCJBZ.js +0 -480
  495. package/dist/chunk-PU2Q4SZR.js +0 -2327
  496. package/dist/chunk-PZPS56Z6.js +0 -343
  497. package/dist/chunk-QKR3ZD3S.js +0 -833
  498. package/dist/chunk-QMXCK4Y5.js +0 -203
  499. package/dist/chunk-ROJ3LJLE.js +0 -448
  500. package/dist/chunk-SLHWUFAW.js +0 -1943
  501. package/dist/chunk-SLHWUFAW.js.map +0 -7
  502. package/dist/chunk-SOTB4FRE.js +0 -2098
  503. package/dist/chunk-SOTB4FRE.js.map +0 -7
  504. package/dist/chunk-TJYRBEBK.js +0 -2878
  505. package/dist/chunk-TJYRBEBK.js.map +0 -7
  506. package/dist/chunk-U3G4JGKJ.js +0 -54
  507. package/dist/chunk-UN3O2MNB.js +0 -375
  508. package/dist/chunk-VDZ5QOF6.js +0 -446
  509. package/dist/chunk-VO5XZ2EG.js +0 -129
  510. package/dist/chunk-VRH7NP6R.js +0 -263
  511. package/dist/chunk-VTMJGRT5.js +0 -272
  512. package/dist/chunk-W5X6C7LY.js +0 -399
  513. package/dist/chunk-WJGUNGFK.js +0 -272
  514. package/dist/chunk-WKT46ZJ6.js +0 -368
  515. package/dist/chunk-WQCQWUUP.js +0 -2833
  516. package/dist/chunk-WY2PGUVX.js +0 -20898
  517. package/dist/chunk-WY2PGUVX.js.map +0 -7
  518. package/dist/chunk-WZ2U5QXJ.js +0 -6364
  519. package/dist/chunk-WZUWK5Q6.js +0 -1102
  520. package/dist/chunk-XPMTUVSS.js +0 -1220
  521. package/dist/chunk-XPMTUVSS.js.map +0 -7
  522. package/dist/chunk-YYFQPGIE.js +0 -386
  523. package/dist/condition-GVIEMQG7.js +0 -332
  524. package/dist/controls-73K3XBDR.js +0 -41
  525. package/dist/controls.config-FQKY2LRE.js +0 -39
  526. package/dist/correlation-AOAXIUFJ.js +0 -102
  527. package/dist/cuminc-OD2PPCEK.js +0 -1149
  528. package/dist/cuminc.integration.spec-TMIFW7EO.js +0 -678
  529. package/dist/cuminc.integration.spec-TMIFW7EO.js.map +0 -7
  530. package/dist/customdata.inputui-SWLGLATL.js +0 -289
  531. package/dist/dataDownload-456HL2OE.js +0 -330
  532. package/dist/dataDownload.integration.spec-5YS4MWK5.js +0 -193
  533. package/dist/databrowser.ui-7APC5MNM.js +0 -433
  534. package/dist/dictionary-A3HA5MVK.js +0 -118
  535. package/dist/dnaMethylation-6ONBKARD.js +0 -38
  536. package/dist/dnaMethylation.integration.spec-T3WEGVX3.js +0 -203
  537. package/dist/dofetch-RVPQUMVX.js +0 -51
  538. package/dist/e2pca-75WZ46XG.js +0 -350
  539. package/dist/ep-QG5CWPTW.js +0 -1256
  540. package/dist/expclust.gdc.spec-KBBQJR4M.js +0 -307
  541. package/dist/facet-QGB2Q7YV.js +0 -521
  542. package/dist/forms2-CJGDCWYH.js +0 -539
  543. package/dist/gb-NEFAHKQI.js +0 -88
  544. package/dist/geneExpClustering-ZVR44UZC.js +0 -249
  545. package/dist/geneExpression-25EX4DFK.js +0 -313
  546. package/dist/geneExpression-FALOA4GC.js +0 -38
  547. package/dist/geneExpression.unit.spec-BQLELQUS.js +0 -102
  548. package/dist/geneORA-K2B7JYWD.js +0 -278
  549. package/dist/geneRanking-6AXL5ZJS.js +0 -553
  550. package/dist/geneVariant-RZFDP5J5.js +0 -41
  551. package/dist/geneVariant-UIBZ5UIQ.js +0 -39
  552. package/dist/geneVariant.integration.spec-4EZQMPQB.js +0 -198
  553. package/dist/genefusion.ui-YK4TNS2P.js +0 -309
  554. package/dist/geneset-47J4D5ID.js +0 -208
  555. package/dist/genomeBrowser.spec-LFFWRIWG.js +0 -281
  556. package/dist/grin2-DQB2WW3C.js +0 -75
  557. package/dist/grin2-TZFU4JM3.js +0 -1078
  558. package/dist/grin2-TZFU4JM3.js.map +0 -7
  559. package/dist/gsea-KKLAMLMG.js +0 -47
  560. package/dist/hierCluster-3MZEJG6B.js +0 -59
  561. package/dist/hierCluster-YGBC4XCZ.js +0 -63
  562. package/dist/hierCluster.config-A4N54K3A.js +0 -40
  563. package/dist/hierCluster.integration.spec-GLKXFZDM.js +0 -488
  564. package/dist/hierCluster.interactivity-4TPWGIVC.js +0 -54
  565. package/dist/hierCluster.renderers-WUWSXXHU.js +0 -21
  566. package/dist/imagePlot-JRPYOV3Q.js +0 -163
  567. package/dist/importPlot-A3PFUP6K.js +0 -8
  568. package/dist/isoformExpression-5L4O3WKL.js +0 -40
  569. package/dist/isoformExpression.unit.spec-SLB6XIX4.js +0 -208
  570. package/dist/launch.adhoc-QI7TPYSC.js +0 -42
  571. package/dist/leftlabel.sample-OSIRTJFW.js +0 -264
  572. package/dist/legacyDataset-TNIIJABK.js +0 -119
  573. package/dist/lollipop-LAELXNQY.js +0 -171
  574. package/dist/maf-HZAYVZFO.js +0 -459
  575. package/dist/maftimeline-BLBNUGAL.js +0 -593
  576. package/dist/matrix-LVJSHXDM.js +0 -58
  577. package/dist/matrix-S5QQV4JU.js +0 -63
  578. package/dist/matrix.cells-JUTRYPG4.js +0 -28
  579. package/dist/matrix.config-ZTWWYNIZ.js +0 -41
  580. package/dist/matrix.data-BREYB54F.js +0 -25
  581. package/dist/matrix.groups-WMHTLOXC.js +0 -27
  582. package/dist/matrix.integration.spec-S6FIEE2X.js +0 -3072
  583. package/dist/matrix.integration.spec-S6FIEE2X.js.map +0 -7
  584. package/dist/matrix.interactivity-TMBVAM5M.js +0 -42
  585. package/dist/matrix.layout-POK5NOUV.js +0 -44
  586. package/dist/matrix.legend-6XVQ67AC.js +0 -22
  587. package/dist/matrix.renderers-G5FQZZ73.js +0 -38
  588. package/dist/matrix.serieses-XNLQSQS6.js +0 -21
  589. package/dist/matrix.sort-XNES23OQ.js +0 -27
  590. package/dist/matrix.sort.unit.spec-65BDBQUV.js +0 -472
  591. package/dist/matrix.sorterUi-WC2YX7S7.js +0 -18
  592. package/dist/matrix.sorterUi.unit.spec-GZQBW7F7.js +0 -342
  593. package/dist/mavb-T2UCRWWM.js +0 -732
  594. package/dist/mds.fimo-65UUK7ER.js +0 -518
  595. package/dist/mds.samplescatterplot-4NHGQBJF.js +0 -1550
  596. package/dist/mds.survivalplot-WVAHDM3Z.js +0 -483
  597. package/dist/numericDictTermCluster-CXASCSQ6.js +0 -65
  598. package/dist/oncomatrix-5WMOICWR.js +0 -295
  599. package/dist/oncomatrix.spec-POVBNFJR.js +0 -448
  600. package/dist/plot.2dvaf-63K5RSIU.js +0 -377
  601. package/dist/plot.app-V5IY25QS.js +0 -41
  602. package/dist/plot.barplot-IQTYHNFE.js +0 -102
  603. package/dist/plot.boxplot-2RMTO7AS.js +0 -152
  604. package/dist/plot.brainImaging-DLUHAHHG.js +0 -51
  605. package/dist/plot.disco-WK6GDLNF.js +0 -102
  606. package/dist/plot.dzi-3V3FWE7U.js +0 -33
  607. package/dist/plot.ssgq-TENK2RP4.js +0 -139
  608. package/dist/plot.vaf2cov-P2QOOZGZ.js +0 -259
  609. package/dist/plot.wsi-BVRGJF4E.js +0 -36
  610. package/dist/polar2-NNOZOQQJ.js +0 -231
  611. package/dist/profileForms-RS4GEZZV.js +0 -446
  612. package/dist/profilePlot-3DLME3NH.js +0 -54
  613. package/dist/proteinView-NPKJAQAI.js +0 -1568
  614. package/dist/qualitative-S45RXXRJ.js +0 -43
  615. package/dist/radar2-EX7YBNMT.js +0 -326
  616. package/dist/radarFacility2-WU5O6O77.js +0 -334
  617. package/dist/regression-7MCOYJVD.js +0 -56
  618. package/dist/regression.inputs-QHSWJ23R.js +0 -48
  619. package/dist/regression.inputs.term-EJ4Z5Q5O.js +0 -48
  620. package/dist/regression.inputs.values.table-YKMAWNXN.js +0 -45
  621. package/dist/regression.integration.spec-XOX7OXXA.js +0 -784
  622. package/dist/regression.results-YKPOTPCC.js +0 -40
  623. package/dist/regression.spec-YIIY2AZA.js +0 -708
  624. package/dist/report-JEJFCWUU.js +0 -222
  625. package/dist/sampleScatter.spec-LBAZBDYA.js +0 -202
  626. package/dist/sampleView-WKZT5ZFE.js +0 -48
  627. package/dist/samplelst-HXM3H6M4.js +0 -111
  628. package/dist/samplematrix-LCGHK2EK.js +0 -2198
  629. package/dist/sc-3OE2G4BU.js +0 -86
  630. package/dist/scatter-AGVUDTTU.js +0 -851
  631. package/dist/selectGenomeWithTklst-WF2XZ6GH.js +0 -134
  632. package/dist/singleCellCellType-2SRGROMS.js +0 -38
  633. package/dist/singleCellCellType.unit.spec-DCGHNRJI.js +0 -160
  634. package/dist/singleCellGeneExpression-RASZA4NO.js +0 -38
  635. package/dist/singleCellGeneExpression.unit.spec-5MRGH2OO.js +0 -153
  636. package/dist/singleCellPlot-TIYA3GNM.js +0 -54
  637. package/dist/singlecell-CFA43TTU.js +0 -1572
  638. package/dist/singlecell-JS5SIZHY.js +0 -86
  639. package/dist/snp-VXZXPMKS.js +0 -38
  640. package/dist/snp.unit.spec-TR5TCO7X.js +0 -176
  641. package/dist/snplocus-VLPH5Y65.js +0 -208
  642. package/dist/spliceevent.a53ss.diagram-PATK67SH.js +0 -151
  643. package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js +0 -277
  644. package/dist/spliceevent.exonskip.diagram-7B3SEOAJ.js.map +0 -7
  645. package/dist/spliceevent.noeventdiagram-4NPNZUEN.js +0 -460
  646. package/dist/ssGSEA-XMW5BLAU.js +0 -38
  647. package/dist/ssGSEA.unit.spec-ASUWKVUT.js +0 -88
  648. package/dist/summarizeCnvGeneexp-KWRFGX32.js +0 -163
  649. package/dist/summarizeGeneexpSurvival-FIPIMEJR.js +0 -114
  650. package/dist/summarizeMutationCnv-IUYRVLZG.js +0 -164
  651. package/dist/summarizeMutationDiagnosis-ZFJPCABL.js +0 -40
  652. package/dist/summarizeMutationSurvival-HFHYB7DT.js +0 -99
  653. package/dist/summary-AZUNEZ5I.js +0 -49
  654. package/dist/summary.integration.spec-WLBAJL44.js +0 -414
  655. package/dist/summaryInput-NJWVXDXW.js +0 -235
  656. package/dist/sunburst-PXGF4WM6.js +0 -284
  657. package/dist/survival-RAU4XCKG.js +0 -58
  658. package/dist/survival-ZZ4QLZHK.js +0 -46
  659. package/dist/survival.integration.spec-GBQ5X362.js +0 -915
  660. package/dist/survival.integration.spec-GBQ5X362.js.map +0 -7
  661. package/dist/svgraph-7UCFRL6A.js +0 -1387
  662. package/dist/svmr-DB3RY2ID.js +0 -3842
  663. package/dist/table-HJRWWXGM.js +0 -200
  664. package/dist/termCollection-AW7M6DTP.js +0 -38
  665. package/dist/termCollection-WPON7RG3.js +0 -179
  666. package/dist/termCollection.unit.spec-254ESHOE.js +0 -208
  667. package/dist/tk-SUAFM5YA.js +0 -46
  668. package/dist/tp.ui-ELEQGSK2.js +0 -1459
  669. package/dist/tvs.dt-DCXY66YY.js +0 -39
  670. package/dist/tvs.dtcnv.categorical-SFQZMYX7.js +0 -40
  671. package/dist/tvs.dtcnv.continuous-AUZNJMC3.js +0 -72
  672. package/dist/tvs.dtfusion-5F7MYFHZ.js +0 -40
  673. package/dist/tvs.dtsnvindel-JJSPL4PH.js +0 -40
  674. package/dist/tvs.dtsv-DARTSV5H.js +0 -40
  675. package/dist/tvs.numeric-KYAU5OV3.js +0 -21
  676. package/dist/tvs.samplelst-HHBIO26C.js +0 -104
  677. package/dist/tvs.termCollection-KCMALH6B.js +0 -159
  678. package/dist/violin-C26FW5WK.js +0 -46
  679. package/dist/violin.integration.spec-QQ43XWHQ.js +0 -1425
  680. package/dist/violin.interactivity-H2BHC6M4.js +0 -38
  681. package/dist/violin.renderer-GSG2I7AV.js +0 -40
  682. package/dist/vocabulary-3G525O5V.js +0 -41
  683. /package/dist/{2dmaf-SKNV7IHT.js.map → 2dmaf-R3PFZNRN.js.map} +0 -0
  684. /package/dist/{AIProjectAdmin-AOTVRBNH.js.map → AIProjectAdmin-DM3KG6SR.js.map} +0 -0
  685. /package/dist/{AppHeader-M2ZSS3M3.js.map → AppHeader-6DZQ6YZX.js.map} +0 -0
  686. /package/dist/{BoxPlot-P3EECSQA.js.map → BoxPlot-76NINVX4.js.map} +0 -0
  687. /package/dist/{CorrelationVolcano-YCQ5S6MT.js.map → CorrelationVolcano-U5UMJNH5.js.map} +0 -0
  688. /package/dist/{DE-RBMOQZCR.js.map → DE-AXNYWIQK.js.map} +0 -0
  689. /package/dist/{DEinput-PTW6RS6U.js.map → DEinput-JH6YY6LS.js.map} +0 -0
  690. /package/dist/{Disco.UI-YBIMV7RH.js.map → Disco.UI-C7CZINUQ.js.map} +0 -0
  691. /package/dist/{DmrPlot-JQPLLU6P.js.map → DmrPlot-WROR4ENM.js.map} +0 -0
  692. /package/dist/{GeneExpInput-3OPDDCXR.js.map → GeneExpInput-JDU6EI7K.js.map} +0 -0
  693. /package/dist/{HicApp-VFOWRP6G.js.map → HicApp-UNIJLH4B.js.map} +0 -0
  694. /package/dist/{NumBinaryEditor-RL44SO3T.js.map → NumBinaryEditor-WMN2GGO4.js.map} +0 -0
  695. /package/dist/{NumBinaryEditor.unit.spec-P73PGAX5.js.map → NumBinaryEditor.unit.spec-TAMXV6SE.js.map} +0 -0
  696. /package/dist/{NumContEditor-MIC7M73G.js.map → NumContEditor-XYIOJY4E.js.map} +0 -0
  697. /package/dist/{NumContEditor.unit.spec-5XZH7OCG.js.map → NumContEditor.unit.spec-WDZ75BHO.js.map} +0 -0
  698. /package/dist/{NumCustomBinEditor-W357XTIR.js.map → NumCustomBinEditor-5SY3C4TY.js.map} +0 -0
  699. /package/dist/{NumCustomBinEditor.unit.spec-CJMK4CYW.js.map → NumCustomBinEditor.unit.spec-XHTAIXR3.js.map} +0 -0
  700. /package/dist/{NumDiscreteEditor-PRSUMS3I.js.map → NumDiscreteEditor-NRDRX4FD.js.map} +0 -0
  701. /package/dist/{NumDiscreteEditor.unit.spec-A6R56P3Z.js.map → NumDiscreteEditor.unit.spec-2CJW7OAT.js.map} +0 -0
  702. /package/dist/{NumRegularBinEditor-7OHUEUCC.js.map → NumRegularBinEditor-DUDVTNDC.js.map} +0 -0
  703. /package/dist/{NumRegularBinEditor.unit.spec-NOAX42UZ.js.map → NumRegularBinEditor.unit.spec-H3GNQHMN.js.map} +0 -0
  704. /package/dist/{NumSplineEditor-XI7AT5LM.js.map → NumSplineEditor-7Q4AC7KH.js.map} +0 -0
  705. /package/dist/{NumSplineEditor.unit.spec-ZH4M2N2C.js.map → NumSplineEditor.unit.spec-YRZK5PH5.js.map} +0 -0
  706. /package/dist/{NumericDensity-X6IHQAW3.js.map → NumericDensity-NTNWUESG.js.map} +0 -0
  707. /package/dist/{NumericDensity.unit.spec-EKVD4AUG.js.map → NumericDensity.unit.spec-5I5U6T6P.js.map} +0 -0
  708. /package/dist/{NumericHandler-5ONBWFJ5.js.map → NumericHandler-MEW2KMPX.js.map} +0 -0
  709. /package/dist/{NumericHandler.unit.spec-SHI6E4VA.js.map → NumericHandler.unit.spec-JFX4BPRG.js.map} +0 -0
  710. /package/dist/{RunChart2-Y6IY6MW2.js.map → RunChart2-BEBDU7RC.js.map} +0 -0
  711. /package/dist/{WSIViewer-RLLL7MAL.js.map → WSIViewer-ZLQU62PD.js.map} +0 -0
  712. /package/dist/{WsiSamplesPlot-FU3TCOTY.js.map → WsiSamplesPlot-JMBSITOM.js.map} +0 -0
  713. /package/dist/{adSandbox-ZINST5DE.js.map → adSandbox-664IRCRL.js.map} +0 -0
  714. /package/dist/{animatedBubbleChart-PIQWCVBJ.js.map → animatedBubbleChart-TX7NW34K.js.map} +0 -0
  715. /package/dist/{app-N42SVGI2.js.map → app-63WJ3BMP.js.map} +0 -0
  716. /package/dist/{app-RWN4XLCP.js.map → app-77FIZHCG.js.map} +0 -0
  717. /package/dist/{bam-QTSTXJ4N.js.map → bam-IETNVAYD.js.map} +0 -0
  718. /package/dist/{barchart-27BYTRVI.js.map → barchart-YUVXJNH4.js.map} +0 -0
  719. /package/dist/{barchart.data-OUNVH4JU.js.map → barchart.data-P4EIQXGE.js.map} +0 -0
  720. /package/dist/{barchart.events-PY4CEDSO.js.map → barchart.events-JPVCLTIG.js.map} +0 -0
  721. /package/dist/{barchart.integration.spec-H4WGHQ7R.js.map → barchart.integration.spec-ZH7DEQI2.js.map} +0 -0
  722. /package/dist/{barchart2-TIOTRAC2.js.map → barchart2-XO2FG76J.js.map} +0 -0
  723. /package/dist/{bars.renderer-57KSYAAT.js.map → bars.renderer-AUIWUJDH.js.map} +0 -0
  724. /package/dist/{block.init-LRZ3QAGC.js.map → block.init-X7Y2EEVR.js.map} +0 -0
  725. /package/dist/{block.mds.expressionrank-IV7JLC52.js.map → block.mds.expressionrank-BIAOZIZ3.js.map} +0 -0
  726. /package/dist/{block.mds.geneboxplot-IBCE5XZU.js.map → block.mds.geneboxplot-CNICDVLK.js.map} +0 -0
  727. /package/dist/{block.mds.junction-ISSCJHNF.js.map → block.mds.junction-PQXCTSUI.js.map} +0 -0
  728. /package/dist/{block.mds.svcnv-ZEBVBTL7.js.map → block.mds.svcnv-32KMVTCT.js.map} +0 -0
  729. /package/dist/{block.svg-FYWA5VYH.js.map → block.svg-LRTOYQK2.js.map} +0 -0
  730. /package/dist/{block.tk.aicheck-AD6DTKXR.js.map → block.tk.aicheck-HDV7ZIUD.js.map} +0 -0
  731. /package/dist/{block.tk.ase-LO2J4KRE.js.map → block.tk.ase-JIDWKMYI.js.map} +0 -0
  732. /package/dist/{block.tk.bam-XGX22FCN.js.map → block.tk.bam-5X3OS5HB.js.map} +0 -0
  733. /package/dist/{block.tk.bedgraphdot-SUIRFNFL.js.map → block.tk.bedgraphdot-T7JX7YQL.js.map} +0 -0
  734. /package/dist/{block.tk.bigwig.ui-2Q7FAK3V.js.map → block.tk.bigwig.ui-OSAYEBAE.js.map} +0 -0
  735. /package/dist/{block.tk.hicstraw-4MVP2PCL.js.map → block.tk.hicstraw-DEY3VQFK.js.map} +0 -0
  736. /package/dist/{block.tk.junction-F54FTEPB.js.map → block.tk.junction-7UAFEZSJ.js.map} +0 -0
  737. /package/dist/{block.tk.junction.textmatrixui-ETROZJVK.js.map → block.tk.junction.textmatrixui-27LHS33U.js.map} +0 -0
  738. /package/dist/{block.tk.ld-NJEDKSTU.js.map → block.tk.ld-DF2PI7OO.js.map} +0 -0
  739. /package/dist/{block.tk.menu-LZOY4FKT.js.map → block.tk.menu-L2D5KBIV.js.map} +0 -0
  740. /package/dist/{block.tk.pgv-I3XHJ7VU.js.map → block.tk.pgv-QO56SKBV.js.map} +0 -0
  741. /package/dist/{brainImaging-BGP6VRFV.js.map → brainImaging-NIPQWFWO.js.map} +0 -0
  742. /package/dist/{brainRegions-AAN7LM2Y.js.map → brainRegions-ZNZ2WHSU.js.map} +0 -0
  743. /package/dist/{bubbleHeatmap-HNEU4CYA.js.map → bubbleHeatmap-ERWNEKZB.js.map} +0 -0
  744. /package/dist/{chunk-CDJAHMAN.js.map → chunk-2GYWFQML.js.map} +0 -0
  745. /package/dist/{chunk-ILE6ML2D.js.map → chunk-2HYJ4GDH.js.map} +0 -0
  746. /package/dist/{chunk-VTMJGRT5.js.map → chunk-2MG6XE6R.js.map} +0 -0
  747. /package/dist/{chunk-4C3XRI6J.js.map → chunk-33K5PA52.js.map} +0 -0
  748. /package/dist/{chunk-5QTJUPFS.js.map → chunk-37XDBPOP.js.map} +0 -0
  749. /package/dist/{chunk-3LYZMOLO.js.map → chunk-3EWB3246.js.map} +0 -0
  750. /package/dist/{chunk-2XV6U42J.js.map → chunk-3RSKOPIY.js.map} +0 -0
  751. /package/dist/{chunk-WZUWK5Q6.js.map → chunk-4DPVT4NE.js.map} +0 -0
  752. /package/dist/{chunk-GE4NJDV4.js.map → chunk-4IH7DORZ.js.map} +0 -0
  753. /package/dist/{chunk-W5X6C7LY.js.map → chunk-4QNBFIIR.js.map} +0 -0
  754. /package/dist/{chunk-5HMX4NUJ.js.map → chunk-4STKL6SR.js.map} +0 -0
  755. /package/dist/{chunk-GYGU4UT5.js.map → chunk-4TZIVSL5.js.map} +0 -0
  756. /package/dist/{chunk-LQJMCE7G.js.map → chunk-5ABGFJSP.js.map} +0 -0
  757. /package/dist/{chunk-MTZSN3H4.js.map → chunk-5AZNP47R.js.map} +0 -0
  758. /package/dist/{chunk-KE5B34CS.js.map → chunk-6BB43SIB.js.map} +0 -0
  759. /package/dist/{chunk-53JJ7SXN.js.map → chunk-7OHRR2IE.js.map} +0 -0
  760. /package/dist/{chunk-FDBVAL6K.js.map → chunk-ASATD4T7.js.map} +0 -0
  761. /package/dist/{chunk-25XCVML7.js.map → chunk-B5B3LZB3.js.map} +0 -0
  762. /package/dist/{chunk-L6A2BEXB.js.map → chunk-BHGISFCA.js.map} +0 -0
  763. /package/dist/{chunk-BXGQXLHP.js.map → chunk-BMBOZ64T.js.map} +0 -0
  764. /package/dist/{chunk-IRKP6IZ4.js.map → chunk-BOZJHPJP.js.map} +0 -0
  765. /package/dist/{chunk-IFK24IXL.js.map → chunk-CDD7LYJM.js.map} +0 -0
  766. /package/dist/{chunk-PU2Q4SZR.js.map → chunk-CTQ3IUCA.js.map} +0 -0
  767. /package/dist/{chunk-EPWIJEMK.js.map → chunk-D7TID3HR.js.map} +0 -0
  768. /package/dist/{chunk-5V2BMEAS.js.map → chunk-E55LLYRX.js.map} +0 -0
  769. /package/dist/{chunk-YYFQPGIE.js.map → chunk-ESGXULRH.js.map} +0 -0
  770. /package/dist/{chunk-K5UVG3FQ.js.map → chunk-EZ4LZ6ZT.js.map} +0 -0
  771. /package/dist/{chunk-B4GS7OLB.js.map → chunk-F3SJTVP5.js.map} +0 -0
  772. /package/dist/{chunk-427UL37G.js.map → chunk-F5IXNJO7.js.map} +0 -0
  773. /package/dist/{chunk-ROJ3LJLE.js.map → chunk-FJYECRHW.js.map} +0 -0
  774. /package/dist/{chunk-QKR3ZD3S.js.map → chunk-FPNRUQOU.js.map} +0 -0
  775. /package/dist/{chunk-J6ZOUCWN.js.map → chunk-G764NXQN.js.map} +0 -0
  776. /package/dist/{chunk-I5IPJG2R.js.map → chunk-GAPI4MML.js.map} +0 -0
  777. /package/dist/{chunk-WJGUNGFK.js.map → chunk-HLUZOZXJ.js.map} +0 -0
  778. /package/dist/{chunk-UN3O2MNB.js.map → chunk-HOKIK2FR.js.map} +0 -0
  779. /package/dist/{chunk-VO5XZ2EG.js.map → chunk-KLGL6XZD.js.map} +0 -0
  780. /package/dist/{chunk-PJ3FCJBZ.js.map → chunk-L7IRWUKT.js.map} +0 -0
  781. /package/dist/{chunk-MN3KDNHC.js.map → chunk-LX6G7HJJ.js.map} +0 -0
  782. /package/dist/{chunk-OF5FE6GT.js.map → chunk-M2G5R4WB.js.map} +0 -0
  783. /package/dist/{chunk-EKKQMKQI.js.map → chunk-M4TTGGT4.js.map} +0 -0
  784. /package/dist/{chunk-LYVLF6HO.js.map → chunk-M6EF3WVV.js.map} +0 -0
  785. /package/dist/{chunk-MNIBZTQE.js.map → chunk-M6KHT3MM.js.map} +0 -0
  786. /package/dist/{chunk-F7Y67LK7.js.map → chunk-MCZFHWIR.js.map} +0 -0
  787. /package/dist/{chunk-JNBJG57F.js.map → chunk-MFQACKYU.js.map} +0 -0
  788. /package/dist/{chunk-PZPS56Z6.js.map → chunk-MVGAGTM3.js.map} +0 -0
  789. /package/dist/{chunk-A3URBFXN.js.map → chunk-NELOT3NJ.js.map} +0 -0
  790. /package/dist/{chunk-U3G4JGKJ.js.map → chunk-NRKMXULC.js.map} +0 -0
  791. /package/dist/{chunk-BKPDYW5T.js.map → chunk-NYRZNRG5.js.map} +0 -0
  792. /package/dist/{chunk-WKT46ZJ6.js.map → chunk-ONPKE6DC.js.map} +0 -0
  793. /package/dist/{chunk-QMXCK4Y5.js.map → chunk-PFRWS4CR.js.map} +0 -0
  794. /package/dist/{chunk-6MBTPVIM.js.map → chunk-PJKQUXEN.js.map} +0 -0
  795. /package/dist/{chunk-WZ2U5QXJ.js.map → chunk-Q2L44HK3.js.map} +0 -0
  796. /package/dist/{chunk-VDZ5QOF6.js.map → chunk-RKO6BL5N.js.map} +0 -0
  797. /package/dist/{chunk-A45KH7LP.js.map → chunk-T25QNZHB.js.map} +0 -0
  798. /package/dist/{chunk-LSWU6EAQ.js.map → chunk-U7TBYVIQ.js.map} +0 -0
  799. /package/dist/{chunk-5CR24RTX.js.map → chunk-UGRQXBL4.js.map} +0 -0
  800. /package/dist/{chunk-G3FSS7GR.js.map → chunk-USFSHSCJ.js.map} +0 -0
  801. /package/dist/{chunk-WQCQWUUP.js.map → chunk-VJ6UFVGC.js.map} +0 -0
  802. /package/dist/{chunk-FISP5YN2.js.map → chunk-W3WPPOXH.js.map} +0 -0
  803. /package/dist/{chunk-VRH7NP6R.js.map → chunk-WFCSOTBO.js.map} +0 -0
  804. /package/dist/{chunk-BWQV2OBL.js.map → chunk-WZ2L57MB.js.map} +0 -0
  805. /package/dist/{chunk-CXHLROWX.js.map → chunk-Y4UAKFWC.js.map} +0 -0
  806. /package/dist/{chunk-4O6H4ZHL.js.map → chunk-YQBS2ZCK.js.map} +0 -0
  807. /package/dist/{chunk-7FSIZZOX.js.map → chunk-ZTHM2TKP.js.map} +0 -0
  808. /package/dist/{condition-GVIEMQG7.js.map → condition-2PASYSUC.js.map} +0 -0
  809. /package/dist/{controls-73K3XBDR.js.map → controls-5IMJ6K5L.js.map} +0 -0
  810. /package/dist/{controls.config-FQKY2LRE.js.map → controls.config-P5PG2DHW.js.map} +0 -0
  811. /package/dist/{correlation-AOAXIUFJ.js.map → correlation-U3EDLNHR.js.map} +0 -0
  812. /package/dist/{cuminc-OD2PPCEK.js.map → cuminc-2HUFEROK.js.map} +0 -0
  813. /package/dist/{customdata.inputui-SWLGLATL.js.map → customdata.inputui-ZHWNEPFH.js.map} +0 -0
  814. /package/dist/{dataDownload-456HL2OE.js.map → dataDownload-VBSJBKMP.js.map} +0 -0
  815. /package/dist/{dataDownload.integration.spec-5YS4MWK5.js.map → dataDownload.integration.spec-LUFSETOP.js.map} +0 -0
  816. /package/dist/{databrowser.ui-7APC5MNM.js.map → databrowser.ui-6H2KMSTJ.js.map} +0 -0
  817. /package/dist/{dictionary-A3HA5MVK.js.map → dictionary-V37LXFIP.js.map} +0 -0
  818. /package/dist/{dnaMethylation-6ONBKARD.js.map → dnaMethylation-OIZMHMLK.js.map} +0 -0
  819. /package/dist/{dnaMethylation.integration.spec-T3WEGVX3.js.map → dnaMethylation.integration.spec-CWPTJ74H.js.map} +0 -0
  820. /package/dist/{dofetch-RVPQUMVX.js.map → dofetch-IWPZQB5N.js.map} +0 -0
  821. /package/dist/{e2pca-75WZ46XG.js.map → e2pca-7SLIAGYW.js.map} +0 -0
  822. /package/dist/{ep-QG5CWPTW.js.map → ep-7L6KF6K4.js.map} +0 -0
  823. /package/dist/{expclust.gdc.spec-KBBQJR4M.js.map → expclust.gdc.spec-JT452Q3G.js.map} +0 -0
  824. /package/dist/{facet-QGB2Q7YV.js.map → facet-CXOUU5AS.js.map} +0 -0
  825. /package/dist/{forms2-CJGDCWYH.js.map → forms2-VPNCLQOY.js.map} +0 -0
  826. /package/dist/{gb-NEFAHKQI.js.map → gb-P4VRXRED.js.map} +0 -0
  827. /package/dist/{geneExpClustering-ZVR44UZC.js.map → geneExpClustering-FQTCKRJJ.js.map} +0 -0
  828. /package/dist/{geneExpression-25EX4DFK.js.map → geneExpression-BHO5326K.js.map} +0 -0
  829. /package/dist/{geneExpression-FALOA4GC.js.map → geneExpression-ZMERB64E.js.map} +0 -0
  830. /package/dist/{geneExpression.unit.spec-BQLELQUS.js.map → geneExpression.unit.spec-CNVHZWNG.js.map} +0 -0
  831. /package/dist/{geneORA-K2B7JYWD.js.map → geneORA-FXVUCXGX.js.map} +0 -0
  832. /package/dist/{geneRanking-6AXL5ZJS.js.map → geneRanking-SFK4UBKQ.js.map} +0 -0
  833. /package/dist/{geneVariant-RZFDP5J5.js.map → geneVariant-IYEHB4H7.js.map} +0 -0
  834. /package/dist/{geneVariant-UIBZ5UIQ.js.map → geneVariant-LIRRLUFR.js.map} +0 -0
  835. /package/dist/{geneVariant.integration.spec-4EZQMPQB.js.map → geneVariant.integration.spec-Y2NPNTYX.js.map} +0 -0
  836. /package/dist/{genefusion.ui-YK4TNS2P.js.map → genefusion.ui-L3HIJM3N.js.map} +0 -0
  837. /package/dist/{geneset-47J4D5ID.js.map → geneset-A6VUFX63.js.map} +0 -0
  838. /package/dist/{genomeBrowser.spec-LFFWRIWG.js.map → genomeBrowser.spec-CB4HHHBN.js.map} +0 -0
  839. /package/dist/{grin2-DQB2WW3C.js.map → grin2-FKBIMH5N.js.map} +0 -0
  840. /package/dist/{gsea-KKLAMLMG.js.map → hierCluster-QFPRMHVA.js.map} +0 -0
  841. /package/dist/{hierCluster-3MZEJG6B.js.map → hierCluster-YWC3XYPV.js.map} +0 -0
  842. /package/dist/{hierCluster-YGBC4XCZ.js.map → hierCluster.config-F7YYZNM3.js.map} +0 -0
  843. /package/dist/{hierCluster.integration.spec-GLKXFZDM.js.map → hierCluster.integration.spec-AF4L3YT6.js.map} +0 -0
  844. /package/dist/{hierCluster.config-A4N54K3A.js.map → hierCluster.interactivity-RPY74PK6.js.map} +0 -0
  845. /package/dist/{hierCluster.interactivity-4TPWGIVC.js.map → hierCluster.renderers-LOKHZ3V2.js.map} +0 -0
  846. /package/dist/{imagePlot-JRPYOV3Q.js.map → imagePlot-BBEXA754.js.map} +0 -0
  847. /package/dist/{hierCluster.renderers-WUWSXXHU.js.map → importPlot-7QGANZGK.js.map} +0 -0
  848. /package/dist/{importPlot-A3PFUP6K.js.map → isoformExpression-4SLLCVFD.js.map} +0 -0
  849. /package/dist/{isoformExpression.unit.spec-SLB6XIX4.js.map → isoformExpression.unit.spec-GEL4JJ64.js.map} +0 -0
  850. /package/dist/{isoformExpression-5L4O3WKL.js.map → launch.adhoc-LWLBQJS5.js.map} +0 -0
  851. /package/dist/{leftlabel.sample-OSIRTJFW.js.map → leftlabel.sample-RTEZOIH2.js.map} +0 -0
  852. /package/dist/{legacyDataset-TNIIJABK.js.map → legacyDataset-VLD7ZYWI.js.map} +0 -0
  853. /package/dist/{lollipop-LAELXNQY.js.map → lollipop-XKQK5QZU.js.map} +0 -0
  854. /package/dist/{maf-HZAYVZFO.js.map → maf-AZQPPWDO.js.map} +0 -0
  855. /package/dist/{maftimeline-BLBNUGAL.js.map → maftimeline-7MSVYKQU.js.map} +0 -0
  856. /package/dist/{launch.adhoc-QI7TPYSC.js.map → matrix-BGLWC25D.js.map} +0 -0
  857. /package/dist/{matrix-LVJSHXDM.js.map → matrix-IQR5SRMK.js.map} +0 -0
  858. /package/dist/{matrix-S5QQV4JU.js.map → matrix.cells-5C57NWOY.js.map} +0 -0
  859. /package/dist/{matrix.cells-JUTRYPG4.js.map → matrix.config-2DQXAN2E.js.map} +0 -0
  860. /package/dist/{matrix.config-ZTWWYNIZ.js.map → matrix.data-ADCGF5H6.js.map} +0 -0
  861. /package/dist/{matrix.data-BREYB54F.js.map → matrix.groups-V4ITQ5F7.js.map} +0 -0
  862. /package/dist/{matrix.groups-WMHTLOXC.js.map → matrix.interactivity-JNELJFOV.js.map} +0 -0
  863. /package/dist/{matrix.interactivity-TMBVAM5M.js.map → matrix.layout-WBVIV6GR.js.map} +0 -0
  864. /package/dist/{matrix.layout-POK5NOUV.js.map → matrix.legend-YHOWPK77.js.map} +0 -0
  865. /package/dist/{matrix.legend-6XVQ67AC.js.map → matrix.renderers-5BGVRR3M.js.map} +0 -0
  866. /package/dist/{matrix.renderers-G5FQZZ73.js.map → matrix.serieses-2GZJOASZ.js.map} +0 -0
  867. /package/dist/{matrix.serieses-XNLQSQS6.js.map → matrix.sort-WKIWPJKP.js.map} +0 -0
  868. /package/dist/{matrix.sort.unit.spec-65BDBQUV.js.map → matrix.sort.unit.spec-L2E4D4AS.js.map} +0 -0
  869. /package/dist/{matrix.sort-XNES23OQ.js.map → matrix.sorterUi-TEJWWJ64.js.map} +0 -0
  870. /package/dist/{matrix.sorterUi.unit.spec-GZQBW7F7.js.map → matrix.sorterUi.unit.spec-SHP7C4P7.js.map} +0 -0
  871. /package/dist/{mavb-T2UCRWWM.js.map → mavb-4MXNYUEO.js.map} +0 -0
  872. /package/dist/{mds.fimo-65UUK7ER.js.map → mds.fimo-WHIJIBOI.js.map} +0 -0
  873. /package/dist/{mds.samplescatterplot-4NHGQBJF.js.map → mds.samplescatterplot-BRJ6NG2D.js.map} +0 -0
  874. /package/dist/{mds.survivalplot-WVAHDM3Z.js.map → mds.survivalplot-OPCMB5PB.js.map} +0 -0
  875. /package/dist/{numericDictTermCluster-CXASCSQ6.js.map → numericDictTermCluster-7MIFOP2K.js.map} +0 -0
  876. /package/dist/{oncomatrix-5WMOICWR.js.map → oncomatrix-BGG6BEUI.js.map} +0 -0
  877. /package/dist/{oncomatrix.spec-POVBNFJR.js.map → oncomatrix.spec-LYQ4L4F3.js.map} +0 -0
  878. /package/dist/{plot.2dvaf-63K5RSIU.js.map → plot.2dvaf-6WVCP2ZI.js.map} +0 -0
  879. /package/dist/{matrix.sorterUi-WC2YX7S7.js.map → plot.app-MLBP6WFP.js.map} +0 -0
  880. /package/dist/{plot.barplot-IQTYHNFE.js.map → plot.barplot-JEPRZSCU.js.map} +0 -0
  881. /package/dist/{plot.boxplot-2RMTO7AS.js.map → plot.boxplot-GNFW42VM.js.map} +0 -0
  882. /package/dist/{plot.brainImaging-DLUHAHHG.js.map → plot.brainImaging-5ACNSD45.js.map} +0 -0
  883. /package/dist/{plot.disco-WK6GDLNF.js.map → plot.disco-Q2V2KKIH.js.map} +0 -0
  884. /package/dist/{plot.dzi-3V3FWE7U.js.map → plot.dzi-KVT6S7K7.js.map} +0 -0
  885. /package/dist/{plot.ssgq-TENK2RP4.js.map → plot.ssgq-4N3KFJQ2.js.map} +0 -0
  886. /package/dist/{plot.vaf2cov-P2QOOZGZ.js.map → plot.vaf2cov-ITRG5U43.js.map} +0 -0
  887. /package/dist/{plot.wsi-BVRGJF4E.js.map → plot.wsi-26YZNU4V.js.map} +0 -0
  888. /package/dist/{polar2-NNOZOQQJ.js.map → polar2-J7GVUK4X.js.map} +0 -0
  889. /package/dist/{profileForms-RS4GEZZV.js.map → profileForms-VXV2JLXU.js.map} +0 -0
  890. /package/dist/{plot.app-V5IY25QS.js.map → profilePlot-ZZYZK4SY.js.map} +0 -0
  891. /package/dist/{proteinView-NPKJAQAI.js.map → proteinView-7KN532D3.js.map} +0 -0
  892. /package/dist/{profilePlot-3DLME3NH.js.map → qualitative-MLRVLIAU.js.map} +0 -0
  893. /package/dist/{radar2-EX7YBNMT.js.map → radar2-WM2ZBOH3.js.map} +0 -0
  894. /package/dist/{radarFacility2-WU5O6O77.js.map → radarFacility2-3SBR2JJ3.js.map} +0 -0
  895. /package/dist/{qualitative-S45RXXRJ.js.map → regression-WMRPQJW2.js.map} +0 -0
  896. /package/dist/{regression-7MCOYJVD.js.map → regression.inputs-VWZKSYNY.js.map} +0 -0
  897. /package/dist/{regression.inputs-QHSWJ23R.js.map → regression.inputs.term-OWE6GWHM.js.map} +0 -0
  898. /package/dist/{regression.inputs.term-EJ4Z5Q5O.js.map → regression.inputs.values.table-4INNZQI2.js.map} +0 -0
  899. /package/dist/{regression.integration.spec-XOX7OXXA.js.map → regression.integration.spec-XKQ2JOOT.js.map} +0 -0
  900. /package/dist/{regression.inputs.values.table-YKMAWNXN.js.map → regression.results-VZBYMBYC.js.map} +0 -0
  901. /package/dist/{regression.spec-YIIY2AZA.js.map → regression.spec-DU3UTDCJ.js.map} +0 -0
  902. /package/dist/{regression.results-YKPOTPCC.js.map → render-N5FOF247.js.map} +0 -0
  903. /package/dist/{report-JEJFCWUU.js.map → report-DW3OHB67.js.map} +0 -0
  904. /package/dist/{sampleScatter.spec-LBAZBDYA.js.map → sampleScatter.spec-REFSK2V4.js.map} +0 -0
  905. /package/dist/{sampleView-WKZT5ZFE.js.map → sampleView-ICOT2R6O.js.map} +0 -0
  906. /package/dist/{samplelst-HXM3H6M4.js.map → samplelst-TJEVASYG.js.map} +0 -0
  907. /package/dist/{samplematrix-LCGHK2EK.js.map → samplematrix-6DAWCXQ3.js.map} +0 -0
  908. /package/dist/{sc-3OE2G4BU.js.map → sc-53LNOB7N.js.map} +0 -0
  909. /package/dist/{scatter-AGVUDTTU.js.map → scatter-DKYSS4DL.js.map} +0 -0
  910. /package/dist/{selectGenomeWithTklst-WF2XZ6GH.js.map → selectGenomeWithTklst-WTX66TV3.js.map} +0 -0
  911. /package/dist/{singleCellCellType-2SRGROMS.js.map → singleCellCellType-D2CN2BHQ.js.map} +0 -0
  912. /package/dist/{singleCellCellType.unit.spec-DCGHNRJI.js.map → singleCellCellType.unit.spec-LADUCI4R.js.map} +0 -0
  913. /package/dist/{singleCellGeneExpression-RASZA4NO.js.map → singleCellGeneExpression-YR2ZT34W.js.map} +0 -0
  914. /package/dist/{singleCellGeneExpression.unit.spec-5MRGH2OO.js.map → singleCellGeneExpression.unit.spec-BM63M432.js.map} +0 -0
  915. /package/dist/{singleCellPlot-TIYA3GNM.js.map → singleCellPlot-3ICIOILE.js.map} +0 -0
  916. /package/dist/{singlecell-JS5SIZHY.js.map → singlecell-6ZUFA3BQ.js.map} +0 -0
  917. /package/dist/{singlecell-CFA43TTU.js.map → singlecell-KX7W4U57.js.map} +0 -0
  918. /package/dist/{snp-VXZXPMKS.js.map → snp-VIURB7L3.js.map} +0 -0
  919. /package/dist/{snp.unit.spec-TR5TCO7X.js.map → snp.unit.spec-ACZNZUNS.js.map} +0 -0
  920. /package/dist/{snplocus-VLPH5Y65.js.map → snplocus-3LW4ZUZR.js.map} +0 -0
  921. /package/dist/{spliceevent.a53ss.diagram-PATK67SH.js.map → spliceevent.a53ss.diagram-AKTZGWNM.js.map} +0 -0
  922. /package/dist/{spliceevent.noeventdiagram-4NPNZUEN.js.map → spliceevent.noeventdiagram-YTXWWNTJ.js.map} +0 -0
  923. /package/dist/{ssGSEA-XMW5BLAU.js.map → ssGSEA-THW4WFMI.js.map} +0 -0
  924. /package/dist/{ssGSEA.unit.spec-ASUWKVUT.js.map → ssGSEA.unit.spec-HTRGQI2K.js.map} +0 -0
  925. /package/dist/{summarizeCnvGeneexp-KWRFGX32.js.map → summarizeCnvGeneexp-RFYC3H2Z.js.map} +0 -0
  926. /package/dist/{summarizeGeneexpSurvival-FIPIMEJR.js.map → summarizeGeneexpSurvival-DQBZUTQ6.js.map} +0 -0
  927. /package/dist/{summarizeMutationCnv-IUYRVLZG.js.map → summarizeMutationCnv-7AYEMHAI.js.map} +0 -0
  928. /package/dist/{summarizeMutationDiagnosis-ZFJPCABL.js.map → summarizeMutationDiagnosis-AKFJDSAF.js.map} +0 -0
  929. /package/dist/{summarizeMutationSurvival-HFHYB7DT.js.map → summarizeMutationSurvival-QJHZRQBZ.js.map} +0 -0
  930. /package/dist/{summary-AZUNEZ5I.js.map → summary-A5P7AYK4.js.map} +0 -0
  931. /package/dist/{summary.integration.spec-WLBAJL44.js.map → summary.integration.spec-HQISXGNL.js.map} +0 -0
  932. /package/dist/{summaryInput-NJWVXDXW.js.map → summaryInput-HP675QOQ.js.map} +0 -0
  933. /package/dist/{sunburst-PXGF4WM6.js.map → sunburst-65LSYRXX.js.map} +0 -0
  934. /package/dist/{survival-ZZ4QLZHK.js.map → survival-QNEI6YVK.js.map} +0 -0
  935. /package/dist/{survival-RAU4XCKG.js.map → survival-UI74VXSM.js.map} +0 -0
  936. /package/dist/{svgraph-7UCFRL6A.js.map → svgraph-PSX2NER3.js.map} +0 -0
  937. /package/dist/{svmr-DB3RY2ID.js.map → svmr-QDQ33EFX.js.map} +0 -0
  938. /package/dist/{table-HJRWWXGM.js.map → table-LWAI27UO.js.map} +0 -0
  939. /package/dist/{termCollection-WPON7RG3.js.map → termCollection-3JHR74FG.js.map} +0 -0
  940. /package/dist/{termCollection-AW7M6DTP.js.map → termCollection-CDF5LYUG.js.map} +0 -0
  941. /package/dist/{termCollection.unit.spec-254ESHOE.js.map → termCollection.unit.spec-HOJKYWHF.js.map} +0 -0
  942. /package/dist/{tk-SUAFM5YA.js.map → tk-OEQFO73V.js.map} +0 -0
  943. /package/dist/{tp.ui-ELEQGSK2.js.map → tp.ui-SHNERDGC.js.map} +0 -0
  944. /package/dist/{tvs.dt-DCXY66YY.js.map → tvs.dt-CZDC4TSR.js.map} +0 -0
  945. /package/dist/{tvs.dtcnv.categorical-SFQZMYX7.js.map → tvs.dtcnv.categorical-OPBDHZGB.js.map} +0 -0
  946. /package/dist/{tvs.dtcnv.continuous-AUZNJMC3.js.map → tvs.dtcnv.continuous-AR6P4EP3.js.map} +0 -0
  947. /package/dist/{tvs.dtfusion-5F7MYFHZ.js.map → tvs.dtfusion-2YQ7N6FQ.js.map} +0 -0
  948. /package/dist/{tvs.dtsnvindel-JJSPL4PH.js.map → tvs.dtsnvindel-WHHWAATJ.js.map} +0 -0
  949. /package/dist/{tvs.dtsv-DARTSV5H.js.map → tvs.dtsv-3UMCW65O.js.map} +0 -0
  950. /package/dist/{tvs.numeric-KYAU5OV3.js.map → tvs.numeric-TOEPASWN.js.map} +0 -0
  951. /package/dist/{tvs.samplelst-HHBIO26C.js.map → tvs.samplelst-M7XKXRTZ.js.map} +0 -0
  952. /package/dist/{tvs.termCollection-KCMALH6B.js.map → tvs.termCollection-WT4WZMYR.js.map} +0 -0
  953. /package/dist/{violin-C26FW5WK.js.map → violin-2YGXTBDS.js.map} +0 -0
  954. /package/dist/{violin.integration.spec-QQ43XWHQ.js.map → violin.integration.spec-YWNHVAGS.js.map} +0 -0
  955. /package/dist/{violin.interactivity-H2BHC6M4.js.map → violin.interactivity-J6BE2UQL.js.map} +0 -0
  956. /package/dist/{violin.renderer-GSG2I7AV.js.map → violin.renderer-3GRUWP2U.js.map} +0 -0
  957. /package/dist/{vocabulary-3G525O5V.js.map → vocabulary-2INCVPYJ.js.map} +0 -0
@@ -1,2786 +0,0 @@
1
- import {
2
- addGeneSearchbox,
3
- appear2 as appear,
4
- newSandboxDiv,
5
- sayerror,
6
- tab_wait
7
- } from "./chunk-WY2PGUVX.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-LYVLF6HO.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-BXGQXLHP.js.map