@sjcrh/proteinpaint-client 2.225.0 → 2.226.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 (925) hide show
  1. package/dist/2dmaf-CSBPMYHO.js +1362 -0
  2. package/dist/AggMatrixInput-2HST4LLJ.js +402 -0
  3. package/dist/AggregateMatrix-UPOAX44L.js +37 -0
  4. package/dist/AppHeader-H5QBVKUS.js +826 -0
  5. package/dist/BoxPlot-JTBQA6PL.js +1247 -0
  6. package/dist/CorrelationVolcano-AWBPVDMT.js +613 -0
  7. package/dist/Cuminc-3BXJVWIH.js +1217 -0
  8. package/dist/DE-237VV46D.js +85 -0
  9. package/dist/DEinput-W443UW5T.js +479 -0
  10. package/dist/DM-TIW623IR.js +86 -0
  11. package/dist/DifferentialAnalysis-PHUA2GPK.js +236 -0
  12. package/dist/Disco-WHV52SCI.js +3445 -0
  13. package/dist/Disco.UI-UDUXNCZX.js +239 -0
  14. package/dist/DmrPlot-FZCD6FTX.js +366 -0
  15. package/dist/GB-6UW5LOUV.js +1388 -0
  16. package/dist/GSEA-3CNHMK6M.js +870 -0
  17. package/dist/GeneExpInput-ZOVP7BFY.js +38 -0
  18. package/dist/Geomap-JREOIESM.js +80 -0
  19. package/dist/HicApp-RKAMIUXQ.js +2240 -0
  20. package/dist/IDCViewer-KXV4FU3V.js +10810 -0
  21. package/dist/NumBinaryEditor-FNVYUK2J.js +274 -0
  22. package/dist/NumBinaryEditor.unit.spec-PWR23U3J.js +308 -0
  23. package/dist/NumContEditor-YLBJW64K.js +100 -0
  24. package/dist/NumContEditor.unit.spec-6JWBCPFY.js +160 -0
  25. package/dist/NumCustomBinEditor-42AFCXRN.js +29 -0
  26. package/dist/NumCustomBinEditor.unit.spec-AFBTF2CL.js +393 -0
  27. package/dist/NumDiscreteEditor-FJIBZTBP.js +165 -0
  28. package/dist/NumDiscreteEditor.unit.spec-MC4INDCB.js +229 -0
  29. package/dist/NumRegularBinEditor-2WRE72TL.js +29 -0
  30. package/dist/NumRegularBinEditor.unit.spec-L3S6NRCM.js +274 -0
  31. package/dist/NumSplineEditor-TVMVAN7I.js +205 -0
  32. package/dist/NumSplineEditor.unit.spec-GEL36GZZ.js +220 -0
  33. package/dist/NumericDensity-BNFAVOFO.js +29 -0
  34. package/dist/NumericDensity.unit.spec-XBYUFBTQ.js +414 -0
  35. package/dist/NumericHandler-4VFFJNX6.js +30 -0
  36. package/dist/NumericHandler.unit.spec-76T2IVRS.js +225 -0
  37. package/dist/ProteomeInput-M5UIO73Q.js +610 -0
  38. package/dist/Regression-5LB5TLA6.js +1412 -0
  39. package/dist/RunChart2-HIFXOEKZ.js +744 -0
  40. package/dist/SC-SMMW5MJG.js +1290 -0
  41. package/dist/Violin-COAFYZOV.js +1105 -0
  42. package/dist/Volcano-62II76B4.js +2748 -0
  43. package/dist/Wsi-OYW2L7FR.js +637 -0
  44. package/dist/aboutSunburst-3FYJGR6B.js +93 -0
  45. package/dist/adSandbox-4VHYWBQC.js +29 -0
  46. package/dist/animatedBubbleChart-QCCIC5IT.js +542 -0
  47. package/dist/app-IF7YPCGZ.js +28 -0
  48. package/dist/app-JZ43TSJP.js +38 -0
  49. package/dist/app.js +12 -12
  50. package/dist/bam-2VPZGSW3.js +872 -0
  51. package/dist/barchart-VYTWYYGG.js +38 -0
  52. package/dist/barchart2-XC7J4VEO.js +305 -0
  53. package/dist/block-YGQFUK5L.js +6203 -0
  54. package/dist/block.init-BVP3YZHQ.js +29 -0
  55. package/dist/block.mds.expressionrank-RKDDKY4J.js +350 -0
  56. package/dist/block.mds.geneboxplot-3FZ3EZZ6.js +819 -0
  57. package/dist/block.mds.junction-MCOG37RA.js +1534 -0
  58. package/dist/block.mds.svcnv-IEOR5IQZ.js +6325 -0
  59. package/dist/block.svg-3XHRHYCV.js +155 -0
  60. package/dist/block.tk.aicheck-TMDUGNZX.js +274 -0
  61. package/dist/block.tk.bam-73KW4QEJ.js +1906 -0
  62. package/dist/block.tk.bigwig.ui-E5W6R7DQ.js +202 -0
  63. package/dist/block.tk.hicstraw-BNNE6ZMW.js +814 -0
  64. package/dist/block.tk.junction-DMPRZRNY.js +2353 -0
  65. package/dist/block.tk.junction.textmatrixui-XS2E7MQL.js +190 -0
  66. package/dist/block.tk.ld-QD3XDLO4.js +90 -0
  67. package/dist/block.tk.menu-S6XI732E.js +1050 -0
  68. package/dist/block.tk.pgv-KH4TMR3A.js +934 -0
  69. package/dist/brainImaging-NK4JENN3.js +550 -0
  70. package/dist/brainRegions-YUEMTKYH.js +213 -0
  71. package/dist/bubbleHeatmap-LQCVS4WK.js +374 -0
  72. package/dist/cellTypeBubbleHeatmap-DFRSPWAY.js +274 -0
  73. package/dist/chunk-37ZEGLVY.js +267 -0
  74. package/dist/chunk-3RPX4ZVV.js +2334 -0
  75. package/dist/chunk-4LK5YFHF.js +102 -0
  76. package/dist/chunk-4WFG5Y3A.js +2095 -0
  77. package/dist/chunk-4WFG5Y3A.js.map +7 -0
  78. package/dist/chunk-4WFXCUT4.js +141 -0
  79. package/dist/chunk-5LY2ASQX.js +305 -0
  80. package/dist/chunk-6V7ITU5F.js +2349 -0
  81. package/dist/chunk-AAQDXVQT.js +134 -0
  82. package/dist/chunk-ADJBQCFM.js +243 -0
  83. package/dist/chunk-ATIITEOR.js +692 -0
  84. package/dist/chunk-BWVJAFEQ.js +35 -0
  85. package/dist/chunk-CDCNBN6G.js +50 -0
  86. package/dist/chunk-CGSBIFFO.js +1339 -0
  87. package/dist/chunk-DPWSIN62.js +26787 -0
  88. package/dist/chunk-DPWSIN62.js.map +7 -0
  89. package/dist/chunk-EARMOT6Q.js +176 -0
  90. package/dist/chunk-ECCXTB5S.js +562 -0
  91. package/dist/chunk-ECTOEM7X.js +96 -0
  92. package/dist/chunk-ECTOEM7X.js.map +7 -0
  93. package/dist/chunk-EKIWZUEO.js +54 -0
  94. package/dist/chunk-FALP6GXG.js +96 -0
  95. package/dist/chunk-FRD6LQF7.js +103 -0
  96. package/dist/chunk-FRPYXYYQ.js +263 -0
  97. package/dist/chunk-FV2GLMSI.js +397 -0
  98. package/dist/chunk-G6SP5IQT.js +626 -0
  99. package/dist/chunk-GZL6YFZJ.js +30 -0
  100. package/dist/chunk-H353EVLK.js +240 -0
  101. package/dist/chunk-HKR5R5YR.js +466 -0
  102. package/dist/chunk-HULTLO4D.js +217 -0
  103. package/dist/chunk-IIN4CG67.js +56 -0
  104. package/dist/chunk-ISWFHYEZ.js +123 -0
  105. package/dist/chunk-JBUTLI3V.js +1253 -0
  106. package/dist/chunk-JCNZJKLK.js +55 -0
  107. package/dist/chunk-JEVDRC64.js +56 -0
  108. package/dist/chunk-KBZAB2H2.js +340 -0
  109. package/dist/chunk-KDKJLITX.js +54 -0
  110. package/dist/chunk-KNFJN6CM.js +299 -0
  111. package/dist/chunk-KSYGLBZ4.js +4389 -0
  112. package/dist/chunk-KUOXZIH4.js +348 -0
  113. package/dist/chunk-KZ54E2FU.js +184 -0
  114. package/dist/chunk-L7FMBWWK.js +6375 -0
  115. package/dist/chunk-LMONIWPI.js +30 -0
  116. package/dist/chunk-LTY7WOAT.js +281 -0
  117. package/dist/chunk-LYDN734A.js +194 -0
  118. package/dist/chunk-LYMYO6TY.js +652 -0
  119. package/dist/chunk-MRZUZDRA.js +444 -0
  120. package/dist/chunk-NGBI4FST.js +195 -0
  121. package/dist/chunk-OKM4ACTA.js +170 -0
  122. package/dist/chunk-OUDHHMZU.js +159 -0
  123. package/dist/chunk-OYXRYWGU.js +2932 -0
  124. package/dist/chunk-P2HMCEMM.js +5254 -0
  125. package/dist/chunk-P5FHYGJK.js +848 -0
  126. package/dist/chunk-P7QDNXSH.js +276 -0
  127. package/dist/chunk-Q7GK35TB.js +257 -0
  128. package/dist/chunk-QXRM5NMW.js +274 -0
  129. package/dist/chunk-RI3GAHQE.js +255 -0
  130. package/dist/chunk-SH7SL4I5.js +1219 -0
  131. package/dist/chunk-SJHWZZ4M.js +70 -0
  132. package/dist/chunk-T2W4JHWJ.js +472 -0
  133. package/dist/chunk-T2W4JHWJ.js.map +7 -0
  134. package/dist/chunk-TDBS3UFZ.js +379 -0
  135. package/dist/chunk-THHYPA5K.js +48 -0
  136. package/dist/chunk-THHYPA5K.js.map +7 -0
  137. package/dist/chunk-U2OB3S3M.js +14 -0
  138. package/dist/chunk-UA2ADBTO.js +42 -0
  139. package/dist/chunk-USGUVW5Q.js +182 -0
  140. package/dist/chunk-UWVDD4C2.js +480 -0
  141. package/dist/chunk-W2SBSEKT.js +550 -0
  142. package/dist/chunk-XAHZYGKW.js +468 -0
  143. package/dist/chunk-XKWLP433.js +328 -0
  144. package/dist/chunk-YWB2QHV2.js +2799 -0
  145. package/dist/chunk-Z6M77JDG.js +2008 -0
  146. package/dist/chunk-Z7RFFJXU.js +516 -0
  147. package/dist/chunk-ZG7EBTHK.js +203 -0
  148. package/dist/chunk-ZJLJHQWM.js +418 -0
  149. package/dist/chunk-ZKU6RST3.js +2685 -0
  150. package/dist/chunk-ZLWEUYPT.js +296 -0
  151. package/dist/cohort-X327AG3O.js +66 -0
  152. package/dist/cohortSunburst-GNWIVDNA.js +402 -0
  153. package/dist/condition-3M4L2HIM.js +323 -0
  154. package/dist/controls-OKNHZJOU.js +30 -0
  155. package/dist/controls.config-FUKM5LEP.js +30 -0
  156. package/dist/correlation-PC4MXCFM.js +91 -0
  157. package/dist/customdata.inputui-HCRTX56R.js +280 -0
  158. package/dist/dataDownload-HJO7UW7S.js +326 -0
  159. package/dist/databrowser.ui-EY3H6B4S.js +424 -0
  160. package/dist/dictionary-L6CTMFY7.js +109 -0
  161. package/dist/dnaMethylation-FEB5GGXK.js +29 -0
  162. package/dist/dnaMethylation.integration.spec-4DC6TJNZ.js +194 -0
  163. package/dist/dnaMethylation.unit.spec-REOHQOBC.js +95 -0
  164. package/dist/dnaMethylation.unit.spec-REOHQOBC.js.map +7 -0
  165. package/dist/dofetch-YFGOKCKV.js +49 -0
  166. package/dist/e2pca-QSAVTCPL.js +340 -0
  167. package/dist/ep-LAFLKVSW.js +1247 -0
  168. package/dist/expclust.gdc.spec-OM4J6WBL.js +298 -0
  169. package/dist/facet-WHTV2VIX.js +556 -0
  170. package/dist/gb-DLXWWBB6.js +77 -0
  171. package/dist/geneExpClustering-KB2MB2VM.js +240 -0
  172. package/dist/geneExpression-3D7PDZ2I.js +309 -0
  173. package/dist/geneExpression-3RSRGYGQ.js +29 -0
  174. package/dist/geneExpression.unit.spec-EINAWLPR.js +150 -0
  175. package/dist/geneExpression.unit.spec-EINAWLPR.js.map +7 -0
  176. package/dist/geneORA-J4KVSZT3.js +269 -0
  177. package/dist/geneRanking-HKLJ7CN6.js +544 -0
  178. package/dist/geneVariant-3BRGRFPT.js +32 -0
  179. package/dist/geneVariant-VI5DGDAB.js +289 -0
  180. package/dist/geneVariant.integration.spec-3IBX4NNE.js +672 -0
  181. package/dist/genefusion.ui-OESQL7TW.js +299 -0
  182. package/dist/geneset-3BMV3KP4.js +199 -0
  183. package/dist/genomeBrowser.spec-I3WKAITC.js +272 -0
  184. package/dist/grin2-4BBCH3H5.js +66 -0
  185. package/dist/grin2-5L2U32LY.js +945 -0
  186. package/dist/hierCluster-KM56NTN6.js +51 -0
  187. package/dist/hierCluster-XCJF5IQ6.js +55 -0
  188. package/dist/hierCluster.config-E2EYOXX6.js +32 -0
  189. package/dist/hierCluster.integration.spec-IIEJ2YEI.js +479 -0
  190. package/dist/hierCluster.interactivity-AJFEJTGX.js +45 -0
  191. package/dist/hierCluster.renderers-XKI344FM.js +18 -0
  192. package/dist/imagePlot-3B3BXI6I.js +152 -0
  193. package/dist/importPlot-JDVH7Q2Z.js +8 -0
  194. package/dist/isoformExpression-UFHY5LB2.js +31 -0
  195. package/dist/isoformExpression.unit.spec-U6GDCNQR.js +233 -0
  196. package/dist/junction-W2STW5WW.js +32 -0
  197. package/dist/junction.unit.spec-R4DIBFLB.js +178 -0
  198. package/dist/launch.adhoc-KN7HFHJH.js +33 -0
  199. package/dist/leftlabel.sample-CK2EK7J6.js +254 -0
  200. package/dist/lollipop-EKIGAAK6.js +162 -0
  201. package/dist/maf-MK2MM7J4.js +451 -0
  202. package/dist/maftimeline-7RTMXWFA.js +583 -0
  203. package/dist/matrix-UM2EZODJ.js +50 -0
  204. package/dist/matrix-YBL4FZYJ.js +55 -0
  205. package/dist/matrix.cells-45ZFADK5.js +25 -0
  206. package/dist/matrix.config-QTBIRXKU.js +33 -0
  207. package/dist/matrix.data-WAMOLSKW.js +22 -0
  208. package/dist/matrix.groups-RXFXZABD.js +25 -0
  209. package/dist/matrix.integration.spec-JZDZRVOK.js +3156 -0
  210. package/dist/matrix.interactivity-P4VYGTB2.js +33 -0
  211. package/dist/matrix.layout-WWPRXXHX.js +35 -0
  212. package/dist/matrix.legend-4MCMVVKO.js +19 -0
  213. package/dist/matrix.renderers-JQTUODDS.js +30 -0
  214. package/dist/matrix.serieses-3IDRKSGO.js +18 -0
  215. package/dist/matrix.sort-EAWOB56R.js +25 -0
  216. package/dist/matrix.sort.unit.spec-FOWLULHA.js +464 -0
  217. package/dist/matrix.sorterUi.unit.spec-U5CQDTMX.js +334 -0
  218. package/dist/matrix.unit.spec-VTLD4EOZ.js +146 -0
  219. package/dist/mavb-JIIXJHBK.js +726 -0
  220. package/dist/mds.samplescatterplot-PTWA2V6E.js +1545 -0
  221. package/dist/mds.survivalplot-XVZ66GP5.js +472 -0
  222. package/dist/multivalue-2H7QX7MG.js +79 -0
  223. package/dist/numericDictTermCluster-EHCDRT6J.js +62 -0
  224. package/dist/oncomatrix-RZLZUC32.js +286 -0
  225. package/dist/oncomatrix.spec-Z5UQGTW2.js +439 -0
  226. package/dist/plot.2dvaf-IRBZBJ6B.js +368 -0
  227. package/dist/plot.app-I23IAZ3Z.js +32 -0
  228. package/dist/plot.barplot-PYLRAZB7.js +93 -0
  229. package/dist/plot.boxplot-VBWU7DUG.js +142 -0
  230. package/dist/plot.brainImaging-HDJMEMTK.js +51 -0
  231. package/dist/plot.disco-5BVG3WMT.js +100 -0
  232. package/dist/plot.ssgq-S3BKXJMW.js +130 -0
  233. package/dist/plot.vaf2cov-VD7DU2XR.js +249 -0
  234. package/dist/polar2-PYLEVG7E.js +228 -0
  235. package/dist/profileForms-CI2YYD3Y.js +937 -0
  236. package/dist/profilePlot-UCC4ZVHQ.js +45 -0
  237. package/dist/proteinView-FBY6TK3S.js +1346 -0
  238. package/dist/proteomeCohortCompare-2VUSLC6I.js +866 -0
  239. package/dist/pseudbulk.unit.spec-VPZWNTIA.js +82 -0
  240. package/dist/pseudobulk-RUXGZ7OY.js +31 -0
  241. package/dist/qualitative-3AVR4GRX.js +34 -0
  242. package/dist/qualitative-5QNBKDOZ.js +241 -0
  243. package/dist/radar2-AOYMS54Y.js +323 -0
  244. package/dist/radarFacility2-PP2MAXIP.js +331 -0
  245. package/dist/render-ASLVKYEX.js +29 -0
  246. package/dist/report-UVYKDMQC.js +213 -0
  247. package/dist/sampleView-6UHR7FSR.js +39 -0
  248. package/dist/samplelst-ABC2CCNN.js +114 -0
  249. package/dist/samplematrix-36UCHZLC.js +2188 -0
  250. package/dist/sc-XLSAM725.js +77 -0
  251. package/dist/scatter-ADOBAOW2.js +84 -0
  252. package/dist/scatter-ZNVLI627.js +919 -0
  253. package/dist/selectGenomeWithTklst-DPDBDYTR.js +125 -0
  254. package/dist/singleCellCellType-STVPYZD4.js +29 -0
  255. package/dist/singleCellCellType.unit.spec-ZLY37AXL.js +150 -0
  256. package/dist/singleCellGeneExpression-PCGLU35S.js +29 -0
  257. package/dist/singleCellGeneExpression.unit.spec-PSLKK362.js +144 -0
  258. package/dist/singleCellNumericValue-SR3SJEOB.js +29 -0
  259. package/dist/singleCellNumericValue.unit.spec-PXVXJ4HJ.js +412 -0
  260. package/dist/singleCellPlot-JXB7M6OH.js +44 -0
  261. package/dist/singlecell-EDSX56QO.js +1562 -0
  262. package/dist/singlecell-PH55NFRX.js +77 -0
  263. package/dist/snp-3VEYBTAQ.js +29 -0
  264. package/dist/snp.unit.spec-V7OB44US.js +167 -0
  265. package/dist/snplocus-HX67RBT5.js +200 -0
  266. package/dist/snplst-H5YXCY33.js +36 -0
  267. package/dist/spliceevent.a53ss.diagram-DBDEEHSK.js +142 -0
  268. package/dist/spliceevent.exonskip.diagram-EYEL6BY6.js +274 -0
  269. package/dist/spliceevent.noeventdiagram-64OEXK7U.js +451 -0
  270. package/dist/ssGSEA-3YWQH6KM.js +29 -0
  271. package/dist/ssGSEA.unit.spec-23V2IXP5.js +79 -0
  272. package/dist/stattable-GPSBCNYC.js +112 -0
  273. package/dist/studyCatalog-W5PATRNY.js +457 -0
  274. package/dist/summarizeCnvGeneexp-YGI23QH5.js +154 -0
  275. package/dist/summarizeGeneexpSurvival-KQ6OLWYR.js +101 -0
  276. package/dist/summarizeMutationCnv-XDHBNEPU.js +155 -0
  277. package/dist/summarizeMutationDiagnosis-VKIJRJ2Q.js +31 -0
  278. package/dist/summarizeMutationSurvival-57YKJGLE.js +95 -0
  279. package/dist/summary-4WQOVIUF.js +40 -0
  280. package/dist/summary.integration.spec-FRNWBU7F.js +405 -0
  281. package/dist/summaryInput-X7DS2YA7.js +238 -0
  282. package/dist/sunburst-3OEAQA3O.js +34 -0
  283. package/dist/sunburst-MSGTXYMM.js +274 -0
  284. package/dist/survival-5KC5CNZU.js +1248 -0
  285. package/dist/survival-QXDS6N46.js +49 -0
  286. package/dist/survival.integration.spec-PKENHLTZ.js +609 -0
  287. package/dist/svgraph-VJLB7BBN.js +1377 -0
  288. package/dist/svmr-6BDEZAS6.js +3834 -0
  289. package/dist/swimmer-R3DN7N36.js +993 -0
  290. package/dist/table-YF5VORU6.js +192 -0
  291. package/dist/termCollection-3KGLZFDW.js +29 -0
  292. package/dist/termCollection-KSHVOPS5.js +247 -0
  293. package/dist/termCollection.unit.spec-HTBDG5PL.js +295 -0
  294. package/dist/termCollectionFractionSelection-MK4NKWUX.js +38 -0
  295. package/dist/termCollectionFractionSelection.unit.spec-AMF32FDN.js +184 -0
  296. package/dist/tk-FDHBAKXQ.js +1198 -0
  297. package/dist/tk-Z54DOECH.js +38 -0
  298. package/dist/tp.ui-M4TZVT53.js +1453 -0
  299. package/dist/tvs.categorical-HY3BWCZR.js +28 -0
  300. package/dist/tvs.condition-Y36TRIX4.js +160 -0
  301. package/dist/tvs.dt-XKVJZP7Y.js +34 -0
  302. package/dist/tvs.dtcnv.categorical-OMRZR4Y7.js +31 -0
  303. package/dist/tvs.dtcnv.continuous-AGYOBI5K.js +72 -0
  304. package/dist/tvs.dtfusion-2JX5Y2IH.js +31 -0
  305. package/dist/tvs.dtitd-SDSLBBWC.js +31 -0
  306. package/dist/tvs.dtsnvindel-LI7K464K.js +31 -0
  307. package/dist/tvs.dtsv-VRCLX7QY.js +31 -0
  308. package/dist/tvs.multivalue-4OTY6J2S.js +84 -0
  309. package/dist/tvs.numeric-CDATYOR2.js +32 -0
  310. package/dist/tvs.samplelst-76JOJG2M.js +95 -0
  311. package/dist/tvs.survival-WTFJOKIZ.js +110 -0
  312. package/dist/tvs.termCollection-QQXAS7PE.js +118 -0
  313. package/dist/vocabulary-6ACAEFTL.js +32 -0
  314. package/dist/wsi.direct-OS32TQRM.js +11515 -0
  315. package/package.json +3 -3
  316. package/dist/2dmaf-4W2R2HXG.js +0 -1362
  317. package/dist/AggMatrixInput-3SQ7UW5L.js +0 -402
  318. package/dist/AggregateMatrix-QI55DXDU.js +0 -37
  319. package/dist/AppHeader-C26OHIUQ.js +0 -826
  320. package/dist/BoxPlot-27OYBGJ3.js +0 -1247
  321. package/dist/CorrelationVolcano-XIMXCSHG.js +0 -613
  322. package/dist/Cuminc-737O733E.js +0 -1217
  323. package/dist/DE-EDTGDY6L.js +0 -85
  324. package/dist/DEinput-ZN76I5M5.js +0 -479
  325. package/dist/DM-25IRANGL.js +0 -86
  326. package/dist/DifferentialAnalysis-7HQYEA5T.js +0 -236
  327. package/dist/Disco-4YNXWGRX.js +0 -3445
  328. package/dist/Disco.UI-67HBGS4Y.js +0 -239
  329. package/dist/DmrPlot-KZVDVPUT.js +0 -366
  330. package/dist/GB-HT3B7Y7R.js +0 -1388
  331. package/dist/GSEA-CMFMNK5Y.js +0 -870
  332. package/dist/GeneExpInput-HMGV23E7.js +0 -38
  333. package/dist/Geomap-RB4SGVPC.js +0 -80
  334. package/dist/HicApp-YRP6YQFA.js +0 -2240
  335. package/dist/IDCViewer-OUSOZNSR.js +0 -10810
  336. package/dist/NumBinaryEditor-YFQDPBB6.js +0 -274
  337. package/dist/NumBinaryEditor.unit.spec-6YC5PCPK.js +0 -308
  338. package/dist/NumContEditor-EH6MA2RW.js +0 -100
  339. package/dist/NumContEditor.unit.spec-Q2JBVIRT.js +0 -160
  340. package/dist/NumCustomBinEditor-USQA3BC6.js +0 -29
  341. package/dist/NumCustomBinEditor.unit.spec-PE2HFRCK.js +0 -393
  342. package/dist/NumDiscreteEditor-VKE4WT24.js +0 -165
  343. package/dist/NumDiscreteEditor.unit.spec-JNG673LE.js +0 -229
  344. package/dist/NumRegularBinEditor-KCCPGJSX.js +0 -29
  345. package/dist/NumRegularBinEditor.unit.spec-4BLKQRZU.js +0 -274
  346. package/dist/NumSplineEditor-4YELHGUO.js +0 -205
  347. package/dist/NumSplineEditor.unit.spec-CKHHK6GH.js +0 -220
  348. package/dist/NumericDensity-LCFM7VSY.js +0 -29
  349. package/dist/NumericDensity.unit.spec-R4ARTJ5I.js +0 -414
  350. package/dist/NumericHandler-2OHRSY6Z.js +0 -30
  351. package/dist/NumericHandler.unit.spec-M3TRIFZW.js +0 -225
  352. package/dist/ProteomeInput-G2EP6QH2.js +0 -610
  353. package/dist/Regression-2HKE6C7F.js +0 -1412
  354. package/dist/RunChart2-WRVW63PB.js +0 -744
  355. package/dist/SC-37RDNFGH.js +0 -1290
  356. package/dist/Violin-KD6FPWC7.js +0 -1105
  357. package/dist/Volcano-U62TCDEL.js +0 -2748
  358. package/dist/Wsi-PB77PVAA.js +0 -637
  359. package/dist/aboutSunburst-5Z24ODIN.js +0 -93
  360. package/dist/adSandbox-AFORHU3V.js +0 -29
  361. package/dist/animatedBubbleChart-F75OBRZW.js +0 -542
  362. package/dist/app-4RZ76DZZ.js +0 -28
  363. package/dist/app-IHE3RNI5.js +0 -38
  364. package/dist/bam-IIRZX3IK.js +0 -872
  365. package/dist/barchart-UIHRIMOE.js +0 -38
  366. package/dist/barchart2-DG3S6FDJ.js +0 -305
  367. package/dist/block-COZKGPXY.js +0 -6203
  368. package/dist/block.init-UBXYVTPQ.js +0 -29
  369. package/dist/block.mds.expressionrank-KSXPPPGR.js +0 -350
  370. package/dist/block.mds.geneboxplot-5RDFDVDE.js +0 -819
  371. package/dist/block.mds.junction-LMM24KXJ.js +0 -1534
  372. package/dist/block.mds.svcnv-4XRXZMPS.js +0 -6325
  373. package/dist/block.svg-VAKLMPMS.js +0 -155
  374. package/dist/block.tk.aicheck-6GHZK2YY.js +0 -274
  375. package/dist/block.tk.bam-7H3BSHR2.js +0 -1906
  376. package/dist/block.tk.bigwig.ui-KX2GACY5.js +0 -202
  377. package/dist/block.tk.hicstraw-OOWEWGMF.js +0 -814
  378. package/dist/block.tk.junction-U7W36OZA.js +0 -2353
  379. package/dist/block.tk.junction.textmatrixui-PAMSBYZT.js +0 -190
  380. package/dist/block.tk.ld-RFQPDG7Q.js +0 -90
  381. package/dist/block.tk.menu-JDJU2OGK.js +0 -1050
  382. package/dist/block.tk.pgv-G2UFCQUT.js +0 -934
  383. package/dist/brainImaging-ASAHWZJH.js +0 -550
  384. package/dist/brainRegions-XTJDLUU4.js +0 -213
  385. package/dist/bubbleHeatmap-UPUITTU6.js +0 -374
  386. package/dist/cellTypeBubbleHeatmap-25SOXC2Q.js +0 -274
  387. package/dist/chunk-2ZYAC3DC.js +0 -299
  388. package/dist/chunk-325X3T7G.js +0 -692
  389. package/dist/chunk-3UXHTSZJ.js +0 -159
  390. package/dist/chunk-4DFKK46J.js +0 -96
  391. package/dist/chunk-54W2RWRB.js +0 -123
  392. package/dist/chunk-5QGC2624.js +0 -54
  393. package/dist/chunk-5YKXYWP3.js +0 -480
  394. package/dist/chunk-6B4AME6E.js +0 -4389
  395. package/dist/chunk-6H4FFHFQ.js +0 -82
  396. package/dist/chunk-6H4FFHFQ.js.map +0 -7
  397. package/dist/chunk-72QBXULB.js +0 -102
  398. package/dist/chunk-7APH7QLC.js +0 -141
  399. package/dist/chunk-7HBAALWJ.js +0 -2685
  400. package/dist/chunk-7ZTUUKLX.js +0 -203
  401. package/dist/chunk-A7GCFL3R.js +0 -30
  402. package/dist/chunk-AGWIWLOP.js +0 -14
  403. package/dist/chunk-CHQ43UJQ.js +0 -397
  404. package/dist/chunk-CQWR4QZO.js +0 -70
  405. package/dist/chunk-D6TLBMIX.js +0 -1339
  406. package/dist/chunk-DDABG5BR.js +0 -328
  407. package/dist/chunk-DR5JLHTB.js +0 -35
  408. package/dist/chunk-E2Z4X6C2.js +0 -55
  409. package/dist/chunk-E4WAVMI5.js +0 -194
  410. package/dist/chunk-EM76Y3HQ.js +0 -1253
  411. package/dist/chunk-ES7XNERS.js +0 -468
  412. package/dist/chunk-F2RTD23W.js +0 -848
  413. package/dist/chunk-FEE2HAON.js +0 -418
  414. package/dist/chunk-G5BQJGRA.js +0 -2799
  415. package/dist/chunk-GAYYXHOG.js +0 -257
  416. package/dist/chunk-GDIKNIEA.js +0 -263
  417. package/dist/chunk-GIZTZCE5.js +0 -195
  418. package/dist/chunk-GONC3LVY.js +0 -626
  419. package/dist/chunk-HGC4EON3.js +0 -348
  420. package/dist/chunk-HM23KADV.js +0 -281
  421. package/dist/chunk-I7R6YROK.js +0 -267
  422. package/dist/chunk-JWX6GEWQ.js +0 -276
  423. package/dist/chunk-K4LZR3HU.js +0 -56
  424. package/dist/chunk-K55KOEI6.js +0 -6375
  425. package/dist/chunk-K7YJILBY.js +0 -5254
  426. package/dist/chunk-KLJM7HE5.js +0 -2349
  427. package/dist/chunk-LFH5VSSF.js +0 -176
  428. package/dist/chunk-MBWG3QHI.js +0 -1219
  429. package/dist/chunk-MZTVOOR6.js +0 -56
  430. package/dist/chunk-N2JOZ3QD.js +0 -444
  431. package/dist/chunk-NG2U3VHX.js +0 -170
  432. package/dist/chunk-NUGYNLTL.js +0 -2334
  433. package/dist/chunk-OCOB7XJW.js +0 -2008
  434. package/dist/chunk-OGDBTL5C.js +0 -54
  435. package/dist/chunk-OOVVKQSD.js +0 -26747
  436. package/dist/chunk-OOVVKQSD.js.map +0 -7
  437. package/dist/chunk-PAF5KZCR.js +0 -2932
  438. package/dist/chunk-PPICALUF.js +0 -2102
  439. package/dist/chunk-PPICALUF.js.map +0 -7
  440. package/dist/chunk-QFOT5WAZ.js +0 -134
  441. package/dist/chunk-QFQJO7LD.js +0 -472
  442. package/dist/chunk-QFQJO7LD.js.map +0 -7
  443. package/dist/chunk-QGCB5AKN.js +0 -243
  444. package/dist/chunk-QRZRAMHA.js +0 -184
  445. package/dist/chunk-RGOZHZCN.js +0 -103
  446. package/dist/chunk-RJKY22D4.js +0 -240
  447. package/dist/chunk-RZ2HG7G3.js +0 -102
  448. package/dist/chunk-RZ2HG7G3.js.map +0 -7
  449. package/dist/chunk-SI2KSG6E.js +0 -379
  450. package/dist/chunk-U4PLKSSS.js +0 -50
  451. package/dist/chunk-U7G65D2G.js +0 -466
  452. package/dist/chunk-UU3FWU6D.js +0 -305
  453. package/dist/chunk-UXLT7W2N.js +0 -562
  454. package/dist/chunk-VHQDN3OA.js +0 -182
  455. package/dist/chunk-VTMNHAFC.js +0 -30
  456. package/dist/chunk-W3K7KLIR.js +0 -217
  457. package/dist/chunk-WSLS55SH.js +0 -296
  458. package/dist/chunk-XQIB27PB.js +0 -516
  459. package/dist/chunk-XSBGICK5.js +0 -652
  460. package/dist/chunk-YHW2RAAG.js +0 -274
  461. package/dist/chunk-Z7CCL464.js +0 -550
  462. package/dist/chunk-ZBNPXXMK.js +0 -42
  463. package/dist/chunk-ZNHC46CT.js +0 -340
  464. package/dist/chunk-ZSTD6Y3K.js +0 -255
  465. package/dist/cohort-ZFGFEEBD.js +0 -66
  466. package/dist/cohortSunburst-EEPGV2RB.js +0 -402
  467. package/dist/condition-7EWFLQSO.js +0 -323
  468. package/dist/controls-QHDSDWKI.js +0 -30
  469. package/dist/controls.config-LBSCZ6GP.js +0 -30
  470. package/dist/correlation-IJQJPNNP.js +0 -91
  471. package/dist/customdata.inputui-TZGX2CUD.js +0 -280
  472. package/dist/dataDownload-33EWD3AD.js +0 -326
  473. package/dist/databrowser.ui-YNKDTAAN.js +0 -424
  474. package/dist/dictionary-OTR6Z5EZ.js +0 -109
  475. package/dist/dnaMethylation-LQTCTOOE.js +0 -29
  476. package/dist/dnaMethylation.integration.spec-U5VQYAK3.js +0 -194
  477. package/dist/dofetch-HLG7G7RX.js +0 -49
  478. package/dist/e2pca-AXDPYR7U.js +0 -340
  479. package/dist/ep-4WK46CH7.js +0 -1247
  480. package/dist/expclust.gdc.spec-CYGWGREQ.js +0 -298
  481. package/dist/facet-IZSSZDHK.js +0 -556
  482. package/dist/gb-AUZBUZFM.js +0 -77
  483. package/dist/geneExpClustering-AQBFLXLP.js +0 -240
  484. package/dist/geneExpression-HDJVPVPK.js +0 -309
  485. package/dist/geneExpression-V4JMTMLI.js +0 -29
  486. package/dist/geneExpression.unit.spec-KFMSDVMX.js +0 -151
  487. package/dist/geneExpression.unit.spec-KFMSDVMX.js.map +0 -7
  488. package/dist/geneORA-LDFFSEMQ.js +0 -269
  489. package/dist/geneRanking-IVKDSNDV.js +0 -544
  490. package/dist/geneVariant-7X7EEUDW.js +0 -289
  491. package/dist/geneVariant-TK3FJ22L.js +0 -32
  492. package/dist/geneVariant.integration.spec-ZHAFWQ2O.js +0 -672
  493. package/dist/genefusion.ui-U5YPVXAF.js +0 -299
  494. package/dist/geneset-NSHQ2NDR.js +0 -199
  495. package/dist/genomeBrowser.spec-HP4OQPCV.js +0 -272
  496. package/dist/grin2-5WKONQPG.js +0 -66
  497. package/dist/grin2-V2ZBOJBO.js +0 -945
  498. package/dist/hierCluster-7IOPNYFN.js +0 -55
  499. package/dist/hierCluster-IDBCUKHJ.js +0 -51
  500. package/dist/hierCluster.config-Z4NRL5P5.js +0 -32
  501. package/dist/hierCluster.integration.spec-PHEXOGPI.js +0 -479
  502. package/dist/hierCluster.interactivity-NHZ5EPBV.js +0 -45
  503. package/dist/hierCluster.renderers-WXJUMDFN.js +0 -18
  504. package/dist/imagePlot-NMNCAYS7.js +0 -152
  505. package/dist/importPlot-HZML5XMJ.js +0 -8
  506. package/dist/isoformExpression-4IU4AUQ2.js +0 -31
  507. package/dist/isoformExpression.unit.spec-KKMKU5Z2.js +0 -233
  508. package/dist/junction-EXA2WANI.js +0 -32
  509. package/dist/junction.unit.spec-H3FGTLEP.js +0 -178
  510. package/dist/launch.adhoc-YA6FRHSC.js +0 -33
  511. package/dist/leftlabel.sample-N6M4OL2X.js +0 -254
  512. package/dist/lollipop-EWLGYDIR.js +0 -162
  513. package/dist/maf-PXMHR3PY.js +0 -451
  514. package/dist/maftimeline-QFKT7PW2.js +0 -583
  515. package/dist/matrix-KASG3KIY.js +0 -55
  516. package/dist/matrix-VSX63V3L.js +0 -50
  517. package/dist/matrix.cells-7TTOQRWU.js +0 -25
  518. package/dist/matrix.config-U3I726EC.js +0 -33
  519. package/dist/matrix.data-Y4DXSR2P.js +0 -22
  520. package/dist/matrix.groups-C5CHYWQZ.js +0 -25
  521. package/dist/matrix.integration.spec-4KWLFXMY.js +0 -3156
  522. package/dist/matrix.interactivity-JK6URU6Z.js +0 -33
  523. package/dist/matrix.layout-KKOA7GGL.js +0 -35
  524. package/dist/matrix.legend-3FFHXTLX.js +0 -19
  525. package/dist/matrix.renderers-F7EWYQWL.js +0 -30
  526. package/dist/matrix.serieses-I4JWWONC.js +0 -18
  527. package/dist/matrix.sort-5JTCLBPB.js +0 -25
  528. package/dist/matrix.sort.unit.spec-EW53F5DT.js +0 -464
  529. package/dist/matrix.sorterUi.unit.spec-OGTYY6GC.js +0 -334
  530. package/dist/matrix.unit.spec-RXKKHRUN.js +0 -146
  531. package/dist/mavb-YI2WEGFI.js +0 -726
  532. package/dist/mds.samplescatterplot-GGJE67MF.js +0 -1545
  533. package/dist/mds.survivalplot-A6DS6FHO.js +0 -472
  534. package/dist/multivalue-3WCYDVL3.js +0 -79
  535. package/dist/numericDictTermCluster-AOTEPNEI.js +0 -62
  536. package/dist/oncomatrix-BB4SB5AJ.js +0 -286
  537. package/dist/oncomatrix.spec-M4ZC3KFC.js +0 -439
  538. package/dist/plot.2dvaf-QUD743E6.js +0 -368
  539. package/dist/plot.app-35I4DJXK.js +0 -32
  540. package/dist/plot.barplot-7OL4HWZB.js +0 -93
  541. package/dist/plot.boxplot-N2VSPDYA.js +0 -142
  542. package/dist/plot.brainImaging-4PIAFROV.js +0 -51
  543. package/dist/plot.disco-6CFYMWU3.js +0 -100
  544. package/dist/plot.ssgq-MGUBQNWE.js +0 -130
  545. package/dist/plot.vaf2cov-KVI2GMG4.js +0 -249
  546. package/dist/polar2-IGAOHGPE.js +0 -228
  547. package/dist/profileForms-MW7JQURG.js +0 -937
  548. package/dist/profilePlot-OVOSFR47.js +0 -45
  549. package/dist/proteinView-LFP5YYMK.js +0 -1346
  550. package/dist/proteomeCohortCompare-ONYL2UN4.js +0 -866
  551. package/dist/pseudbulk.unit.spec-CGV4JTEK.js +0 -82
  552. package/dist/pseudobulk-WFCQX5KR.js +0 -31
  553. package/dist/qualitative-4SLUE6BW.js +0 -241
  554. package/dist/qualitative-6H674T7D.js +0 -34
  555. package/dist/radar2-QXHO2MQA.js +0 -323
  556. package/dist/radarFacility2-JCVOYMH4.js +0 -331
  557. package/dist/render-IIFS3Y2N.js +0 -29
  558. package/dist/report-NFBB3PUI.js +0 -213
  559. package/dist/sampleView-XQXKIPC7.js +0 -39
  560. package/dist/samplelst-RIC5E2W4.js +0 -114
  561. package/dist/samplematrix-WLCFCPBR.js +0 -2188
  562. package/dist/sc-TXRF7D6F.js +0 -77
  563. package/dist/scatter-JUGGPR4B.js +0 -919
  564. package/dist/scatter-YQ47446T.js +0 -84
  565. package/dist/selectGenomeWithTklst-2ELB6HQK.js +0 -125
  566. package/dist/singleCellCellType-DUTH4SZF.js +0 -29
  567. package/dist/singleCellCellType.unit.spec-PWP6I5PZ.js +0 -150
  568. package/dist/singleCellGeneExpression-3563T7GE.js +0 -29
  569. package/dist/singleCellGeneExpression.unit.spec-66IDCFJC.js +0 -144
  570. package/dist/singleCellNumericValue-XVQTKLTS.js +0 -29
  571. package/dist/singleCellNumericValue.unit.spec-LJSTGKNS.js +0 -412
  572. package/dist/singleCellPlot-MKYJJXSG.js +0 -44
  573. package/dist/singlecell-ANCWPAAO.js +0 -1562
  574. package/dist/singlecell-KMRVFOC5.js +0 -77
  575. package/dist/snp-B5UHGWVD.js +0 -29
  576. package/dist/snp.unit.spec-YAHITASM.js +0 -167
  577. package/dist/snplocus-MLGICRGT.js +0 -200
  578. package/dist/snplst-DZPIQEKI.js +0 -36
  579. package/dist/spliceevent.a53ss.diagram-4NYPSFC2.js +0 -142
  580. package/dist/spliceevent.exonskip.diagram-WLLTP7NP.js +0 -274
  581. package/dist/spliceevent.noeventdiagram-NOSO752Y.js +0 -451
  582. package/dist/ssGSEA-4DVY6Z5U.js +0 -29
  583. package/dist/ssGSEA.unit.spec-UDXV4Q7S.js +0 -79
  584. package/dist/stattable-T5X76Q32.js +0 -112
  585. package/dist/studyCatalog-O3EPBJPW.js +0 -457
  586. package/dist/summarizeCnvGeneexp-ST36TPEJ.js +0 -154
  587. package/dist/summarizeGeneexpSurvival-AZOFCBMT.js +0 -101
  588. package/dist/summarizeMutationCnv-HRCW6BYV.js +0 -155
  589. package/dist/summarizeMutationDiagnosis-RQQO2MOR.js +0 -31
  590. package/dist/summarizeMutationSurvival-UHSUJ7FU.js +0 -95
  591. package/dist/summary-ZMM5ET67.js +0 -40
  592. package/dist/summary.integration.spec-GW5UGDDU.js +0 -405
  593. package/dist/summaryInput-ZO5TPARQ.js +0 -238
  594. package/dist/sunburst-6VJS2SUY.js +0 -34
  595. package/dist/sunburst-LXRG2SFE.js +0 -274
  596. package/dist/survival-QXHY7JRR.js +0 -49
  597. package/dist/survival-U6J6KFN2.js +0 -1248
  598. package/dist/survival.integration.spec-HN3LL6IY.js +0 -609
  599. package/dist/svgraph-CVI27CTM.js +0 -1377
  600. package/dist/svmr-GZHAP5IV.js +0 -3834
  601. package/dist/swimmer-M4JGBO72.js +0 -993
  602. package/dist/table-QO22C2ER.js +0 -192
  603. package/dist/termCollection-EN73BZV5.js +0 -247
  604. package/dist/termCollection-KWNFLRWJ.js +0 -29
  605. package/dist/termCollection.unit.spec-Z27AZUE6.js +0 -295
  606. package/dist/termCollectionFractionSelection-Q7QFEPKA.js +0 -38
  607. package/dist/termCollectionFractionSelection.unit.spec-PYLIFZN5.js +0 -184
  608. package/dist/tk-BISILMKL.js +0 -1198
  609. package/dist/tk-WVEDS5OU.js +0 -38
  610. package/dist/tp.ui-CG36YXBY.js +0 -1453
  611. package/dist/tvs.categorical-GCJISWBS.js +0 -28
  612. package/dist/tvs.condition-YTCVMB3I.js +0 -160
  613. package/dist/tvs.dt-UCSZ5S44.js +0 -34
  614. package/dist/tvs.dtcnv.categorical-KYB6XPL3.js +0 -31
  615. package/dist/tvs.dtcnv.continuous-MJWJNMKJ.js +0 -72
  616. package/dist/tvs.dtfusion-IZCEMTH5.js +0 -31
  617. package/dist/tvs.dtitd-DZ4WWGNO.js +0 -31
  618. package/dist/tvs.dtsnvindel-PMJCV4E7.js +0 -31
  619. package/dist/tvs.dtsv-5K2RNWDH.js +0 -31
  620. package/dist/tvs.multivalue-6NSC6JPR.js +0 -84
  621. package/dist/tvs.numeric-7U2NDY4A.js +0 -32
  622. package/dist/tvs.samplelst-3SIYTFWZ.js +0 -95
  623. package/dist/tvs.survival-Q3F5SLBW.js +0 -110
  624. package/dist/tvs.termCollection-OR73LBNX.js +0 -118
  625. package/dist/vocabulary-RWRAQ4VJ.js +0 -32
  626. package/dist/wsi.direct-HABLR3IF.js +0 -11515
  627. /package/dist/{2dmaf-4W2R2HXG.js.map → 2dmaf-CSBPMYHO.js.map} +0 -0
  628. /package/dist/{AggMatrixInput-3SQ7UW5L.js.map → AggMatrixInput-2HST4LLJ.js.map} +0 -0
  629. /package/dist/{AggregateMatrix-QI55DXDU.js.map → AggregateMatrix-UPOAX44L.js.map} +0 -0
  630. /package/dist/{AppHeader-C26OHIUQ.js.map → AppHeader-H5QBVKUS.js.map} +0 -0
  631. /package/dist/{BoxPlot-27OYBGJ3.js.map → BoxPlot-JTBQA6PL.js.map} +0 -0
  632. /package/dist/{CorrelationVolcano-XIMXCSHG.js.map → CorrelationVolcano-AWBPVDMT.js.map} +0 -0
  633. /package/dist/{Cuminc-737O733E.js.map → Cuminc-3BXJVWIH.js.map} +0 -0
  634. /package/dist/{DE-EDTGDY6L.js.map → DE-237VV46D.js.map} +0 -0
  635. /package/dist/{DEinput-ZN76I5M5.js.map → DEinput-W443UW5T.js.map} +0 -0
  636. /package/dist/{DM-25IRANGL.js.map → DM-TIW623IR.js.map} +0 -0
  637. /package/dist/{DifferentialAnalysis-7HQYEA5T.js.map → DifferentialAnalysis-PHUA2GPK.js.map} +0 -0
  638. /package/dist/{Disco-4YNXWGRX.js.map → Disco-WHV52SCI.js.map} +0 -0
  639. /package/dist/{Disco.UI-67HBGS4Y.js.map → Disco.UI-UDUXNCZX.js.map} +0 -0
  640. /package/dist/{DmrPlot-KZVDVPUT.js.map → DmrPlot-FZCD6FTX.js.map} +0 -0
  641. /package/dist/{GB-HT3B7Y7R.js.map → GB-6UW5LOUV.js.map} +0 -0
  642. /package/dist/{GSEA-CMFMNK5Y.js.map → GSEA-3CNHMK6M.js.map} +0 -0
  643. /package/dist/{GeneExpInput-HMGV23E7.js.map → GeneExpInput-ZOVP7BFY.js.map} +0 -0
  644. /package/dist/{Geomap-RB4SGVPC.js.map → Geomap-JREOIESM.js.map} +0 -0
  645. /package/dist/{HicApp-YRP6YQFA.js.map → HicApp-RKAMIUXQ.js.map} +0 -0
  646. /package/dist/{IDCViewer-OUSOZNSR.js.map → IDCViewer-KXV4FU3V.js.map} +0 -0
  647. /package/dist/{NumBinaryEditor-YFQDPBB6.js.map → NumBinaryEditor-FNVYUK2J.js.map} +0 -0
  648. /package/dist/{NumBinaryEditor.unit.spec-6YC5PCPK.js.map → NumBinaryEditor.unit.spec-PWR23U3J.js.map} +0 -0
  649. /package/dist/{NumContEditor-EH6MA2RW.js.map → NumContEditor-YLBJW64K.js.map} +0 -0
  650. /package/dist/{NumContEditor.unit.spec-Q2JBVIRT.js.map → NumContEditor.unit.spec-6JWBCPFY.js.map} +0 -0
  651. /package/dist/{NumCustomBinEditor-USQA3BC6.js.map → NumCustomBinEditor-42AFCXRN.js.map} +0 -0
  652. /package/dist/{NumCustomBinEditor.unit.spec-PE2HFRCK.js.map → NumCustomBinEditor.unit.spec-AFBTF2CL.js.map} +0 -0
  653. /package/dist/{NumDiscreteEditor-VKE4WT24.js.map → NumDiscreteEditor-FJIBZTBP.js.map} +0 -0
  654. /package/dist/{NumDiscreteEditor.unit.spec-JNG673LE.js.map → NumDiscreteEditor.unit.spec-MC4INDCB.js.map} +0 -0
  655. /package/dist/{NumRegularBinEditor-KCCPGJSX.js.map → NumRegularBinEditor-2WRE72TL.js.map} +0 -0
  656. /package/dist/{NumRegularBinEditor.unit.spec-4BLKQRZU.js.map → NumRegularBinEditor.unit.spec-L3S6NRCM.js.map} +0 -0
  657. /package/dist/{NumSplineEditor-4YELHGUO.js.map → NumSplineEditor-TVMVAN7I.js.map} +0 -0
  658. /package/dist/{NumSplineEditor.unit.spec-CKHHK6GH.js.map → NumSplineEditor.unit.spec-GEL36GZZ.js.map} +0 -0
  659. /package/dist/{NumericDensity-LCFM7VSY.js.map → NumericDensity-BNFAVOFO.js.map} +0 -0
  660. /package/dist/{NumericDensity.unit.spec-R4ARTJ5I.js.map → NumericDensity.unit.spec-XBYUFBTQ.js.map} +0 -0
  661. /package/dist/{NumericHandler-2OHRSY6Z.js.map → NumericHandler-4VFFJNX6.js.map} +0 -0
  662. /package/dist/{NumericHandler.unit.spec-M3TRIFZW.js.map → NumericHandler.unit.spec-76T2IVRS.js.map} +0 -0
  663. /package/dist/{ProteomeInput-G2EP6QH2.js.map → ProteomeInput-M5UIO73Q.js.map} +0 -0
  664. /package/dist/{Regression-2HKE6C7F.js.map → Regression-5LB5TLA6.js.map} +0 -0
  665. /package/dist/{RunChart2-WRVW63PB.js.map → RunChart2-HIFXOEKZ.js.map} +0 -0
  666. /package/dist/{SC-37RDNFGH.js.map → SC-SMMW5MJG.js.map} +0 -0
  667. /package/dist/{Violin-KD6FPWC7.js.map → Violin-COAFYZOV.js.map} +0 -0
  668. /package/dist/{Volcano-U62TCDEL.js.map → Volcano-62II76B4.js.map} +0 -0
  669. /package/dist/{Wsi-PB77PVAA.js.map → Wsi-OYW2L7FR.js.map} +0 -0
  670. /package/dist/{aboutSunburst-5Z24ODIN.js.map → aboutSunburst-3FYJGR6B.js.map} +0 -0
  671. /package/dist/{adSandbox-AFORHU3V.js.map → adSandbox-4VHYWBQC.js.map} +0 -0
  672. /package/dist/{animatedBubbleChart-F75OBRZW.js.map → animatedBubbleChart-QCCIC5IT.js.map} +0 -0
  673. /package/dist/{app-4RZ76DZZ.js.map → app-IF7YPCGZ.js.map} +0 -0
  674. /package/dist/{app-IHE3RNI5.js.map → app-JZ43TSJP.js.map} +0 -0
  675. /package/dist/{bam-IIRZX3IK.js.map → bam-2VPZGSW3.js.map} +0 -0
  676. /package/dist/{barchart-UIHRIMOE.js.map → barchart-VYTWYYGG.js.map} +0 -0
  677. /package/dist/{barchart2-DG3S6FDJ.js.map → barchart2-XC7J4VEO.js.map} +0 -0
  678. /package/dist/{block-COZKGPXY.js.map → block-YGQFUK5L.js.map} +0 -0
  679. /package/dist/{block.init-UBXYVTPQ.js.map → block.init-BVP3YZHQ.js.map} +0 -0
  680. /package/dist/{block.mds.expressionrank-KSXPPPGR.js.map → block.mds.expressionrank-RKDDKY4J.js.map} +0 -0
  681. /package/dist/{block.mds.geneboxplot-5RDFDVDE.js.map → block.mds.geneboxplot-3FZ3EZZ6.js.map} +0 -0
  682. /package/dist/{block.mds.junction-LMM24KXJ.js.map → block.mds.junction-MCOG37RA.js.map} +0 -0
  683. /package/dist/{block.mds.svcnv-4XRXZMPS.js.map → block.mds.svcnv-IEOR5IQZ.js.map} +0 -0
  684. /package/dist/{block.svg-VAKLMPMS.js.map → block.svg-3XHRHYCV.js.map} +0 -0
  685. /package/dist/{block.tk.aicheck-6GHZK2YY.js.map → block.tk.aicheck-TMDUGNZX.js.map} +0 -0
  686. /package/dist/{block.tk.bam-7H3BSHR2.js.map → block.tk.bam-73KW4QEJ.js.map} +0 -0
  687. /package/dist/{block.tk.bigwig.ui-KX2GACY5.js.map → block.tk.bigwig.ui-E5W6R7DQ.js.map} +0 -0
  688. /package/dist/{block.tk.hicstraw-OOWEWGMF.js.map → block.tk.hicstraw-BNNE6ZMW.js.map} +0 -0
  689. /package/dist/{block.tk.junction-U7W36OZA.js.map → block.tk.junction-DMPRZRNY.js.map} +0 -0
  690. /package/dist/{block.tk.junction.textmatrixui-PAMSBYZT.js.map → block.tk.junction.textmatrixui-XS2E7MQL.js.map} +0 -0
  691. /package/dist/{block.tk.ld-RFQPDG7Q.js.map → block.tk.ld-QD3XDLO4.js.map} +0 -0
  692. /package/dist/{block.tk.menu-JDJU2OGK.js.map → block.tk.menu-S6XI732E.js.map} +0 -0
  693. /package/dist/{block.tk.pgv-G2UFCQUT.js.map → block.tk.pgv-KH4TMR3A.js.map} +0 -0
  694. /package/dist/{brainImaging-ASAHWZJH.js.map → brainImaging-NK4JENN3.js.map} +0 -0
  695. /package/dist/{brainRegions-XTJDLUU4.js.map → brainRegions-YUEMTKYH.js.map} +0 -0
  696. /package/dist/{bubbleHeatmap-UPUITTU6.js.map → bubbleHeatmap-LQCVS4WK.js.map} +0 -0
  697. /package/dist/{cellTypeBubbleHeatmap-25SOXC2Q.js.map → cellTypeBubbleHeatmap-DFRSPWAY.js.map} +0 -0
  698. /package/dist/{chunk-I7R6YROK.js.map → chunk-37ZEGLVY.js.map} +0 -0
  699. /package/dist/{chunk-NUGYNLTL.js.map → chunk-3RPX4ZVV.js.map} +0 -0
  700. /package/dist/{chunk-72QBXULB.js.map → chunk-4LK5YFHF.js.map} +0 -0
  701. /package/dist/{chunk-7APH7QLC.js.map → chunk-4WFXCUT4.js.map} +0 -0
  702. /package/dist/{chunk-UU3FWU6D.js.map → chunk-5LY2ASQX.js.map} +0 -0
  703. /package/dist/{chunk-KLJM7HE5.js.map → chunk-6V7ITU5F.js.map} +0 -0
  704. /package/dist/{chunk-QFOT5WAZ.js.map → chunk-AAQDXVQT.js.map} +0 -0
  705. /package/dist/{chunk-QGCB5AKN.js.map → chunk-ADJBQCFM.js.map} +0 -0
  706. /package/dist/{chunk-325X3T7G.js.map → chunk-ATIITEOR.js.map} +0 -0
  707. /package/dist/{chunk-DR5JLHTB.js.map → chunk-BWVJAFEQ.js.map} +0 -0
  708. /package/dist/{chunk-U4PLKSSS.js.map → chunk-CDCNBN6G.js.map} +0 -0
  709. /package/dist/{chunk-D6TLBMIX.js.map → chunk-CGSBIFFO.js.map} +0 -0
  710. /package/dist/{chunk-LFH5VSSF.js.map → chunk-EARMOT6Q.js.map} +0 -0
  711. /package/dist/{chunk-UXLT7W2N.js.map → chunk-ECCXTB5S.js.map} +0 -0
  712. /package/dist/{chunk-5QGC2624.js.map → chunk-EKIWZUEO.js.map} +0 -0
  713. /package/dist/{chunk-4DFKK46J.js.map → chunk-FALP6GXG.js.map} +0 -0
  714. /package/dist/{chunk-RGOZHZCN.js.map → chunk-FRD6LQF7.js.map} +0 -0
  715. /package/dist/{chunk-GDIKNIEA.js.map → chunk-FRPYXYYQ.js.map} +0 -0
  716. /package/dist/{chunk-CHQ43UJQ.js.map → chunk-FV2GLMSI.js.map} +0 -0
  717. /package/dist/{chunk-GONC3LVY.js.map → chunk-G6SP5IQT.js.map} +0 -0
  718. /package/dist/{chunk-A7GCFL3R.js.map → chunk-GZL6YFZJ.js.map} +0 -0
  719. /package/dist/{chunk-RJKY22D4.js.map → chunk-H353EVLK.js.map} +0 -0
  720. /package/dist/{chunk-U7G65D2G.js.map → chunk-HKR5R5YR.js.map} +0 -0
  721. /package/dist/{chunk-W3K7KLIR.js.map → chunk-HULTLO4D.js.map} +0 -0
  722. /package/dist/{chunk-K4LZR3HU.js.map → chunk-IIN4CG67.js.map} +0 -0
  723. /package/dist/{chunk-54W2RWRB.js.map → chunk-ISWFHYEZ.js.map} +0 -0
  724. /package/dist/{chunk-EM76Y3HQ.js.map → chunk-JBUTLI3V.js.map} +0 -0
  725. /package/dist/{chunk-E2Z4X6C2.js.map → chunk-JCNZJKLK.js.map} +0 -0
  726. /package/dist/{chunk-MZTVOOR6.js.map → chunk-JEVDRC64.js.map} +0 -0
  727. /package/dist/{chunk-ZNHC46CT.js.map → chunk-KBZAB2H2.js.map} +0 -0
  728. /package/dist/{chunk-OGDBTL5C.js.map → chunk-KDKJLITX.js.map} +0 -0
  729. /package/dist/{chunk-2ZYAC3DC.js.map → chunk-KNFJN6CM.js.map} +0 -0
  730. /package/dist/{chunk-6B4AME6E.js.map → chunk-KSYGLBZ4.js.map} +0 -0
  731. /package/dist/{chunk-HGC4EON3.js.map → chunk-KUOXZIH4.js.map} +0 -0
  732. /package/dist/{chunk-QRZRAMHA.js.map → chunk-KZ54E2FU.js.map} +0 -0
  733. /package/dist/{chunk-K55KOEI6.js.map → chunk-L7FMBWWK.js.map} +0 -0
  734. /package/dist/{chunk-VTMNHAFC.js.map → chunk-LMONIWPI.js.map} +0 -0
  735. /package/dist/{chunk-HM23KADV.js.map → chunk-LTY7WOAT.js.map} +0 -0
  736. /package/dist/{chunk-E4WAVMI5.js.map → chunk-LYDN734A.js.map} +0 -0
  737. /package/dist/{chunk-XSBGICK5.js.map → chunk-LYMYO6TY.js.map} +0 -0
  738. /package/dist/{chunk-N2JOZ3QD.js.map → chunk-MRZUZDRA.js.map} +0 -0
  739. /package/dist/{chunk-GIZTZCE5.js.map → chunk-NGBI4FST.js.map} +0 -0
  740. /package/dist/{chunk-NG2U3VHX.js.map → chunk-OKM4ACTA.js.map} +0 -0
  741. /package/dist/{chunk-3UXHTSZJ.js.map → chunk-OUDHHMZU.js.map} +0 -0
  742. /package/dist/{chunk-PAF5KZCR.js.map → chunk-OYXRYWGU.js.map} +0 -0
  743. /package/dist/{chunk-K7YJILBY.js.map → chunk-P2HMCEMM.js.map} +0 -0
  744. /package/dist/{chunk-F2RTD23W.js.map → chunk-P5FHYGJK.js.map} +0 -0
  745. /package/dist/{chunk-JWX6GEWQ.js.map → chunk-P7QDNXSH.js.map} +0 -0
  746. /package/dist/{chunk-GAYYXHOG.js.map → chunk-Q7GK35TB.js.map} +0 -0
  747. /package/dist/{chunk-YHW2RAAG.js.map → chunk-QXRM5NMW.js.map} +0 -0
  748. /package/dist/{chunk-ZSTD6Y3K.js.map → chunk-RI3GAHQE.js.map} +0 -0
  749. /package/dist/{chunk-MBWG3QHI.js.map → chunk-SH7SL4I5.js.map} +0 -0
  750. /package/dist/{chunk-CQWR4QZO.js.map → chunk-SJHWZZ4M.js.map} +0 -0
  751. /package/dist/{chunk-SI2KSG6E.js.map → chunk-TDBS3UFZ.js.map} +0 -0
  752. /package/dist/{chunk-AGWIWLOP.js.map → chunk-U2OB3S3M.js.map} +0 -0
  753. /package/dist/{chunk-ZBNPXXMK.js.map → chunk-UA2ADBTO.js.map} +0 -0
  754. /package/dist/{chunk-VHQDN3OA.js.map → chunk-USGUVW5Q.js.map} +0 -0
  755. /package/dist/{chunk-5YKXYWP3.js.map → chunk-UWVDD4C2.js.map} +0 -0
  756. /package/dist/{chunk-Z7CCL464.js.map → chunk-W2SBSEKT.js.map} +0 -0
  757. /package/dist/{chunk-ES7XNERS.js.map → chunk-XAHZYGKW.js.map} +0 -0
  758. /package/dist/{chunk-DDABG5BR.js.map → chunk-XKWLP433.js.map} +0 -0
  759. /package/dist/{chunk-G5BQJGRA.js.map → chunk-YWB2QHV2.js.map} +0 -0
  760. /package/dist/{chunk-OCOB7XJW.js.map → chunk-Z6M77JDG.js.map} +0 -0
  761. /package/dist/{chunk-XQIB27PB.js.map → chunk-Z7RFFJXU.js.map} +0 -0
  762. /package/dist/{chunk-7ZTUUKLX.js.map → chunk-ZG7EBTHK.js.map} +0 -0
  763. /package/dist/{chunk-FEE2HAON.js.map → chunk-ZJLJHQWM.js.map} +0 -0
  764. /package/dist/{chunk-7HBAALWJ.js.map → chunk-ZKU6RST3.js.map} +0 -0
  765. /package/dist/{chunk-WSLS55SH.js.map → chunk-ZLWEUYPT.js.map} +0 -0
  766. /package/dist/{cohort-ZFGFEEBD.js.map → cohort-X327AG3O.js.map} +0 -0
  767. /package/dist/{cohortSunburst-EEPGV2RB.js.map → cohortSunburst-GNWIVDNA.js.map} +0 -0
  768. /package/dist/{condition-7EWFLQSO.js.map → condition-3M4L2HIM.js.map} +0 -0
  769. /package/dist/{controls-QHDSDWKI.js.map → controls-OKNHZJOU.js.map} +0 -0
  770. /package/dist/{controls.config-LBSCZ6GP.js.map → controls.config-FUKM5LEP.js.map} +0 -0
  771. /package/dist/{correlation-IJQJPNNP.js.map → correlation-PC4MXCFM.js.map} +0 -0
  772. /package/dist/{customdata.inputui-TZGX2CUD.js.map → customdata.inputui-HCRTX56R.js.map} +0 -0
  773. /package/dist/{dataDownload-33EWD3AD.js.map → dataDownload-HJO7UW7S.js.map} +0 -0
  774. /package/dist/{databrowser.ui-YNKDTAAN.js.map → databrowser.ui-EY3H6B4S.js.map} +0 -0
  775. /package/dist/{dictionary-OTR6Z5EZ.js.map → dictionary-L6CTMFY7.js.map} +0 -0
  776. /package/dist/{dnaMethylation-LQTCTOOE.js.map → dnaMethylation-FEB5GGXK.js.map} +0 -0
  777. /package/dist/{dnaMethylation.integration.spec-U5VQYAK3.js.map → dnaMethylation.integration.spec-4DC6TJNZ.js.map} +0 -0
  778. /package/dist/{dofetch-HLG7G7RX.js.map → dofetch-YFGOKCKV.js.map} +0 -0
  779. /package/dist/{e2pca-AXDPYR7U.js.map → e2pca-QSAVTCPL.js.map} +0 -0
  780. /package/dist/{ep-4WK46CH7.js.map → ep-LAFLKVSW.js.map} +0 -0
  781. /package/dist/{expclust.gdc.spec-CYGWGREQ.js.map → expclust.gdc.spec-OM4J6WBL.js.map} +0 -0
  782. /package/dist/{facet-IZSSZDHK.js.map → facet-WHTV2VIX.js.map} +0 -0
  783. /package/dist/{gb-AUZBUZFM.js.map → gb-DLXWWBB6.js.map} +0 -0
  784. /package/dist/{geneExpClustering-AQBFLXLP.js.map → geneExpClustering-KB2MB2VM.js.map} +0 -0
  785. /package/dist/{geneExpression-HDJVPVPK.js.map → geneExpression-3D7PDZ2I.js.map} +0 -0
  786. /package/dist/{geneExpression-V4JMTMLI.js.map → geneExpression-3RSRGYGQ.js.map} +0 -0
  787. /package/dist/{geneORA-LDFFSEMQ.js.map → geneORA-J4KVSZT3.js.map} +0 -0
  788. /package/dist/{geneRanking-IVKDSNDV.js.map → geneRanking-HKLJ7CN6.js.map} +0 -0
  789. /package/dist/{geneVariant-TK3FJ22L.js.map → geneVariant-3BRGRFPT.js.map} +0 -0
  790. /package/dist/{geneVariant-7X7EEUDW.js.map → geneVariant-VI5DGDAB.js.map} +0 -0
  791. /package/dist/{geneVariant.integration.spec-ZHAFWQ2O.js.map → geneVariant.integration.spec-3IBX4NNE.js.map} +0 -0
  792. /package/dist/{genefusion.ui-U5YPVXAF.js.map → genefusion.ui-OESQL7TW.js.map} +0 -0
  793. /package/dist/{geneset-NSHQ2NDR.js.map → geneset-3BMV3KP4.js.map} +0 -0
  794. /package/dist/{genomeBrowser.spec-HP4OQPCV.js.map → genomeBrowser.spec-I3WKAITC.js.map} +0 -0
  795. /package/dist/{grin2-5WKONQPG.js.map → grin2-4BBCH3H5.js.map} +0 -0
  796. /package/dist/{grin2-V2ZBOJBO.js.map → grin2-5L2U32LY.js.map} +0 -0
  797. /package/dist/{hierCluster-7IOPNYFN.js.map → hierCluster-KM56NTN6.js.map} +0 -0
  798. /package/dist/{hierCluster-IDBCUKHJ.js.map → hierCluster-XCJF5IQ6.js.map} +0 -0
  799. /package/dist/{hierCluster.config-Z4NRL5P5.js.map → hierCluster.config-E2EYOXX6.js.map} +0 -0
  800. /package/dist/{hierCluster.integration.spec-PHEXOGPI.js.map → hierCluster.integration.spec-IIEJ2YEI.js.map} +0 -0
  801. /package/dist/{hierCluster.interactivity-NHZ5EPBV.js.map → hierCluster.interactivity-AJFEJTGX.js.map} +0 -0
  802. /package/dist/{hierCluster.renderers-WXJUMDFN.js.map → hierCluster.renderers-XKI344FM.js.map} +0 -0
  803. /package/dist/{imagePlot-NMNCAYS7.js.map → imagePlot-3B3BXI6I.js.map} +0 -0
  804. /package/dist/{importPlot-HZML5XMJ.js.map → importPlot-JDVH7Q2Z.js.map} +0 -0
  805. /package/dist/{isoformExpression-4IU4AUQ2.js.map → isoformExpression-UFHY5LB2.js.map} +0 -0
  806. /package/dist/{isoformExpression.unit.spec-KKMKU5Z2.js.map → isoformExpression.unit.spec-U6GDCNQR.js.map} +0 -0
  807. /package/dist/{junction-EXA2WANI.js.map → junction-W2STW5WW.js.map} +0 -0
  808. /package/dist/{junction.unit.spec-H3FGTLEP.js.map → junction.unit.spec-R4DIBFLB.js.map} +0 -0
  809. /package/dist/{launch.adhoc-YA6FRHSC.js.map → launch.adhoc-KN7HFHJH.js.map} +0 -0
  810. /package/dist/{leftlabel.sample-N6M4OL2X.js.map → leftlabel.sample-CK2EK7J6.js.map} +0 -0
  811. /package/dist/{lollipop-EWLGYDIR.js.map → lollipop-EKIGAAK6.js.map} +0 -0
  812. /package/dist/{maf-PXMHR3PY.js.map → maf-MK2MM7J4.js.map} +0 -0
  813. /package/dist/{maftimeline-QFKT7PW2.js.map → maftimeline-7RTMXWFA.js.map} +0 -0
  814. /package/dist/{matrix-KASG3KIY.js.map → matrix-UM2EZODJ.js.map} +0 -0
  815. /package/dist/{matrix-VSX63V3L.js.map → matrix-YBL4FZYJ.js.map} +0 -0
  816. /package/dist/{matrix.cells-7TTOQRWU.js.map → matrix.cells-45ZFADK5.js.map} +0 -0
  817. /package/dist/{matrix.config-U3I726EC.js.map → matrix.config-QTBIRXKU.js.map} +0 -0
  818. /package/dist/{matrix.data-Y4DXSR2P.js.map → matrix.data-WAMOLSKW.js.map} +0 -0
  819. /package/dist/{matrix.groups-C5CHYWQZ.js.map → matrix.groups-RXFXZABD.js.map} +0 -0
  820. /package/dist/{matrix.integration.spec-4KWLFXMY.js.map → matrix.integration.spec-JZDZRVOK.js.map} +0 -0
  821. /package/dist/{matrix.interactivity-JK6URU6Z.js.map → matrix.interactivity-P4VYGTB2.js.map} +0 -0
  822. /package/dist/{matrix.layout-KKOA7GGL.js.map → matrix.layout-WWPRXXHX.js.map} +0 -0
  823. /package/dist/{matrix.legend-3FFHXTLX.js.map → matrix.legend-4MCMVVKO.js.map} +0 -0
  824. /package/dist/{matrix.renderers-F7EWYQWL.js.map → matrix.renderers-JQTUODDS.js.map} +0 -0
  825. /package/dist/{matrix.serieses-I4JWWONC.js.map → matrix.serieses-3IDRKSGO.js.map} +0 -0
  826. /package/dist/{matrix.sort-5JTCLBPB.js.map → matrix.sort-EAWOB56R.js.map} +0 -0
  827. /package/dist/{matrix.sort.unit.spec-EW53F5DT.js.map → matrix.sort.unit.spec-FOWLULHA.js.map} +0 -0
  828. /package/dist/{matrix.sorterUi.unit.spec-OGTYY6GC.js.map → matrix.sorterUi.unit.spec-U5CQDTMX.js.map} +0 -0
  829. /package/dist/{matrix.unit.spec-RXKKHRUN.js.map → matrix.unit.spec-VTLD4EOZ.js.map} +0 -0
  830. /package/dist/{mavb-YI2WEGFI.js.map → mavb-JIIXJHBK.js.map} +0 -0
  831. /package/dist/{mds.samplescatterplot-GGJE67MF.js.map → mds.samplescatterplot-PTWA2V6E.js.map} +0 -0
  832. /package/dist/{mds.survivalplot-A6DS6FHO.js.map → mds.survivalplot-XVZ66GP5.js.map} +0 -0
  833. /package/dist/{multivalue-3WCYDVL3.js.map → multivalue-2H7QX7MG.js.map} +0 -0
  834. /package/dist/{numericDictTermCluster-AOTEPNEI.js.map → numericDictTermCluster-EHCDRT6J.js.map} +0 -0
  835. /package/dist/{oncomatrix-BB4SB5AJ.js.map → oncomatrix-RZLZUC32.js.map} +0 -0
  836. /package/dist/{oncomatrix.spec-M4ZC3KFC.js.map → oncomatrix.spec-Z5UQGTW2.js.map} +0 -0
  837. /package/dist/{plot.2dvaf-QUD743E6.js.map → plot.2dvaf-IRBZBJ6B.js.map} +0 -0
  838. /package/dist/{plot.app-35I4DJXK.js.map → plot.app-I23IAZ3Z.js.map} +0 -0
  839. /package/dist/{plot.barplot-7OL4HWZB.js.map → plot.barplot-PYLRAZB7.js.map} +0 -0
  840. /package/dist/{plot.boxplot-N2VSPDYA.js.map → plot.boxplot-VBWU7DUG.js.map} +0 -0
  841. /package/dist/{plot.brainImaging-4PIAFROV.js.map → plot.brainImaging-HDJMEMTK.js.map} +0 -0
  842. /package/dist/{plot.disco-6CFYMWU3.js.map → plot.disco-5BVG3WMT.js.map} +0 -0
  843. /package/dist/{plot.ssgq-MGUBQNWE.js.map → plot.ssgq-S3BKXJMW.js.map} +0 -0
  844. /package/dist/{plot.vaf2cov-KVI2GMG4.js.map → plot.vaf2cov-VD7DU2XR.js.map} +0 -0
  845. /package/dist/{polar2-IGAOHGPE.js.map → polar2-PYLEVG7E.js.map} +0 -0
  846. /package/dist/{profileForms-MW7JQURG.js.map → profileForms-CI2YYD3Y.js.map} +0 -0
  847. /package/dist/{profilePlot-OVOSFR47.js.map → profilePlot-UCC4ZVHQ.js.map} +0 -0
  848. /package/dist/{proteinView-LFP5YYMK.js.map → proteinView-FBY6TK3S.js.map} +0 -0
  849. /package/dist/{proteomeCohortCompare-ONYL2UN4.js.map → proteomeCohortCompare-2VUSLC6I.js.map} +0 -0
  850. /package/dist/{pseudbulk.unit.spec-CGV4JTEK.js.map → pseudbulk.unit.spec-VPZWNTIA.js.map} +0 -0
  851. /package/dist/{pseudobulk-WFCQX5KR.js.map → pseudobulk-RUXGZ7OY.js.map} +0 -0
  852. /package/dist/{qualitative-6H674T7D.js.map → qualitative-3AVR4GRX.js.map} +0 -0
  853. /package/dist/{qualitative-4SLUE6BW.js.map → qualitative-5QNBKDOZ.js.map} +0 -0
  854. /package/dist/{radar2-QXHO2MQA.js.map → radar2-AOYMS54Y.js.map} +0 -0
  855. /package/dist/{radarFacility2-JCVOYMH4.js.map → radarFacility2-PP2MAXIP.js.map} +0 -0
  856. /package/dist/{render-IIFS3Y2N.js.map → render-ASLVKYEX.js.map} +0 -0
  857. /package/dist/{report-NFBB3PUI.js.map → report-UVYKDMQC.js.map} +0 -0
  858. /package/dist/{sampleView-XQXKIPC7.js.map → sampleView-6UHR7FSR.js.map} +0 -0
  859. /package/dist/{samplelst-RIC5E2W4.js.map → samplelst-ABC2CCNN.js.map} +0 -0
  860. /package/dist/{samplematrix-WLCFCPBR.js.map → samplematrix-36UCHZLC.js.map} +0 -0
  861. /package/dist/{sc-TXRF7D6F.js.map → sc-XLSAM725.js.map} +0 -0
  862. /package/dist/{scatter-YQ47446T.js.map → scatter-ADOBAOW2.js.map} +0 -0
  863. /package/dist/{scatter-JUGGPR4B.js.map → scatter-ZNVLI627.js.map} +0 -0
  864. /package/dist/{selectGenomeWithTklst-2ELB6HQK.js.map → selectGenomeWithTklst-DPDBDYTR.js.map} +0 -0
  865. /package/dist/{singleCellCellType-DUTH4SZF.js.map → singleCellCellType-STVPYZD4.js.map} +0 -0
  866. /package/dist/{singleCellCellType.unit.spec-PWP6I5PZ.js.map → singleCellCellType.unit.spec-ZLY37AXL.js.map} +0 -0
  867. /package/dist/{singleCellGeneExpression-3563T7GE.js.map → singleCellGeneExpression-PCGLU35S.js.map} +0 -0
  868. /package/dist/{singleCellGeneExpression.unit.spec-66IDCFJC.js.map → singleCellGeneExpression.unit.spec-PSLKK362.js.map} +0 -0
  869. /package/dist/{singleCellNumericValue-XVQTKLTS.js.map → singleCellNumericValue-SR3SJEOB.js.map} +0 -0
  870. /package/dist/{singleCellNumericValue.unit.spec-LJSTGKNS.js.map → singleCellNumericValue.unit.spec-PXVXJ4HJ.js.map} +0 -0
  871. /package/dist/{singleCellPlot-MKYJJXSG.js.map → singleCellPlot-JXB7M6OH.js.map} +0 -0
  872. /package/dist/{singlecell-ANCWPAAO.js.map → singlecell-EDSX56QO.js.map} +0 -0
  873. /package/dist/{singlecell-KMRVFOC5.js.map → singlecell-PH55NFRX.js.map} +0 -0
  874. /package/dist/{snp-B5UHGWVD.js.map → snp-3VEYBTAQ.js.map} +0 -0
  875. /package/dist/{snp.unit.spec-YAHITASM.js.map → snp.unit.spec-V7OB44US.js.map} +0 -0
  876. /package/dist/{snplocus-MLGICRGT.js.map → snplocus-HX67RBT5.js.map} +0 -0
  877. /package/dist/{snplst-DZPIQEKI.js.map → snplst-H5YXCY33.js.map} +0 -0
  878. /package/dist/{spliceevent.a53ss.diagram-4NYPSFC2.js.map → spliceevent.a53ss.diagram-DBDEEHSK.js.map} +0 -0
  879. /package/dist/{spliceevent.exonskip.diagram-WLLTP7NP.js.map → spliceevent.exonskip.diagram-EYEL6BY6.js.map} +0 -0
  880. /package/dist/{spliceevent.noeventdiagram-NOSO752Y.js.map → spliceevent.noeventdiagram-64OEXK7U.js.map} +0 -0
  881. /package/dist/{ssGSEA-4DVY6Z5U.js.map → ssGSEA-3YWQH6KM.js.map} +0 -0
  882. /package/dist/{ssGSEA.unit.spec-UDXV4Q7S.js.map → ssGSEA.unit.spec-23V2IXP5.js.map} +0 -0
  883. /package/dist/{stattable-T5X76Q32.js.map → stattable-GPSBCNYC.js.map} +0 -0
  884. /package/dist/{studyCatalog-O3EPBJPW.js.map → studyCatalog-W5PATRNY.js.map} +0 -0
  885. /package/dist/{summarizeCnvGeneexp-ST36TPEJ.js.map → summarizeCnvGeneexp-YGI23QH5.js.map} +0 -0
  886. /package/dist/{summarizeGeneexpSurvival-AZOFCBMT.js.map → summarizeGeneexpSurvival-KQ6OLWYR.js.map} +0 -0
  887. /package/dist/{summarizeMutationCnv-HRCW6BYV.js.map → summarizeMutationCnv-XDHBNEPU.js.map} +0 -0
  888. /package/dist/{summarizeMutationDiagnosis-RQQO2MOR.js.map → summarizeMutationDiagnosis-VKIJRJ2Q.js.map} +0 -0
  889. /package/dist/{summarizeMutationSurvival-UHSUJ7FU.js.map → summarizeMutationSurvival-57YKJGLE.js.map} +0 -0
  890. /package/dist/{summary-ZMM5ET67.js.map → summary-4WQOVIUF.js.map} +0 -0
  891. /package/dist/{summary.integration.spec-GW5UGDDU.js.map → summary.integration.spec-FRNWBU7F.js.map} +0 -0
  892. /package/dist/{summaryInput-ZO5TPARQ.js.map → summaryInput-X7DS2YA7.js.map} +0 -0
  893. /package/dist/{sunburst-6VJS2SUY.js.map → sunburst-3OEAQA3O.js.map} +0 -0
  894. /package/dist/{sunburst-LXRG2SFE.js.map → sunburst-MSGTXYMM.js.map} +0 -0
  895. /package/dist/{survival-U6J6KFN2.js.map → survival-5KC5CNZU.js.map} +0 -0
  896. /package/dist/{survival-QXHY7JRR.js.map → survival-QXDS6N46.js.map} +0 -0
  897. /package/dist/{survival.integration.spec-HN3LL6IY.js.map → survival.integration.spec-PKENHLTZ.js.map} +0 -0
  898. /package/dist/{svgraph-CVI27CTM.js.map → svgraph-VJLB7BBN.js.map} +0 -0
  899. /package/dist/{svmr-GZHAP5IV.js.map → svmr-6BDEZAS6.js.map} +0 -0
  900. /package/dist/{swimmer-M4JGBO72.js.map → swimmer-R3DN7N36.js.map} +0 -0
  901. /package/dist/{table-QO22C2ER.js.map → table-YF5VORU6.js.map} +0 -0
  902. /package/dist/{termCollection-KWNFLRWJ.js.map → termCollection-3KGLZFDW.js.map} +0 -0
  903. /package/dist/{termCollection-EN73BZV5.js.map → termCollection-KSHVOPS5.js.map} +0 -0
  904. /package/dist/{termCollection.unit.spec-Z27AZUE6.js.map → termCollection.unit.spec-HTBDG5PL.js.map} +0 -0
  905. /package/dist/{termCollectionFractionSelection-Q7QFEPKA.js.map → termCollectionFractionSelection-MK4NKWUX.js.map} +0 -0
  906. /package/dist/{termCollectionFractionSelection.unit.spec-PYLIFZN5.js.map → termCollectionFractionSelection.unit.spec-AMF32FDN.js.map} +0 -0
  907. /package/dist/{tk-BISILMKL.js.map → tk-FDHBAKXQ.js.map} +0 -0
  908. /package/dist/{tk-WVEDS5OU.js.map → tk-Z54DOECH.js.map} +0 -0
  909. /package/dist/{tp.ui-CG36YXBY.js.map → tp.ui-M4TZVT53.js.map} +0 -0
  910. /package/dist/{tvs.categorical-GCJISWBS.js.map → tvs.categorical-HY3BWCZR.js.map} +0 -0
  911. /package/dist/{tvs.condition-YTCVMB3I.js.map → tvs.condition-Y36TRIX4.js.map} +0 -0
  912. /package/dist/{tvs.dt-UCSZ5S44.js.map → tvs.dt-XKVJZP7Y.js.map} +0 -0
  913. /package/dist/{tvs.dtcnv.categorical-KYB6XPL3.js.map → tvs.dtcnv.categorical-OMRZR4Y7.js.map} +0 -0
  914. /package/dist/{tvs.dtcnv.continuous-MJWJNMKJ.js.map → tvs.dtcnv.continuous-AGYOBI5K.js.map} +0 -0
  915. /package/dist/{tvs.dtfusion-IZCEMTH5.js.map → tvs.dtfusion-2JX5Y2IH.js.map} +0 -0
  916. /package/dist/{tvs.dtitd-DZ4WWGNO.js.map → tvs.dtitd-SDSLBBWC.js.map} +0 -0
  917. /package/dist/{tvs.dtsnvindel-PMJCV4E7.js.map → tvs.dtsnvindel-LI7K464K.js.map} +0 -0
  918. /package/dist/{tvs.dtsv-5K2RNWDH.js.map → tvs.dtsv-VRCLX7QY.js.map} +0 -0
  919. /package/dist/{tvs.multivalue-6NSC6JPR.js.map → tvs.multivalue-4OTY6J2S.js.map} +0 -0
  920. /package/dist/{tvs.numeric-7U2NDY4A.js.map → tvs.numeric-CDATYOR2.js.map} +0 -0
  921. /package/dist/{tvs.samplelst-3SIYTFWZ.js.map → tvs.samplelst-76JOJG2M.js.map} +0 -0
  922. /package/dist/{tvs.survival-Q3F5SLBW.js.map → tvs.survival-WTFJOKIZ.js.map} +0 -0
  923. /package/dist/{tvs.termCollection-OR73LBNX.js.map → tvs.termCollection-QQXAS7PE.js.map} +0 -0
  924. /package/dist/{vocabulary-RWRAQ4VJ.js.map → vocabulary-6ACAEFTL.js.map} +0 -0
  925. /package/dist/{wsi.direct-HABLR3IF.js.map → wsi.direct-OS32TQRM.js.map} +0 -0
@@ -0,0 +1,2799 @@
1
+ import {
2
+ Tabs,
3
+ addGeneSearchbox,
4
+ appear2 as appear,
5
+ newSandboxDiv,
6
+ sayerror,
7
+ tab_wait
8
+ } from "./chunk-DPWSIN62.js";
9
+ import {
10
+ Menu
11
+ } from "./chunk-CNFTQSNE.js";
12
+ import {
13
+ dofetch,
14
+ dofetch3
15
+ } from "./chunk-6V7ITU5F.js";
16
+ import {
17
+ select_default
18
+ } from "./chunk-I6Y4O3RR.js";
19
+ import {
20
+ __commonJS,
21
+ __toESM
22
+ } from "./chunk-HS5PO5ZQ.js";
23
+
24
+ // ../node_modules/highlight.js/lib/core.js
25
+ var require_core = __commonJS({
26
+ "../node_modules/highlight.js/lib/core.js"(exports, module) {
27
+ var deepFreezeEs6 = { exports: {} };
28
+ function deepFreeze(obj) {
29
+ if (obj instanceof Map) {
30
+ obj.clear = obj.delete = obj.set = function() {
31
+ throw new Error("map is read-only");
32
+ };
33
+ } else if (obj instanceof Set) {
34
+ obj.add = obj.clear = obj.delete = function() {
35
+ throw new Error("set is read-only");
36
+ };
37
+ }
38
+ Object.freeze(obj);
39
+ Object.getOwnPropertyNames(obj).forEach(function(name) {
40
+ var prop = obj[name];
41
+ if (typeof prop == "object" && !Object.isFrozen(prop)) {
42
+ deepFreeze(prop);
43
+ }
44
+ });
45
+ return obj;
46
+ }
47
+ deepFreezeEs6.exports = deepFreeze;
48
+ deepFreezeEs6.exports.default = deepFreeze;
49
+ var deepFreeze$1 = deepFreezeEs6.exports;
50
+ var Response = class {
51
+ /**
52
+ * @param {CompiledMode} mode
53
+ */
54
+ constructor(mode) {
55
+ if (mode.data === void 0) mode.data = {};
56
+ this.data = mode.data;
57
+ this.isMatchIgnored = false;
58
+ }
59
+ ignoreMatch() {
60
+ this.isMatchIgnored = true;
61
+ }
62
+ };
63
+ function escapeHTML(value) {
64
+ return value.replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;").replace(/'/g, "&#x27;");
65
+ }
66
+ function inherit$1(original, ...objects) {
67
+ const result = /* @__PURE__ */ Object.create(null);
68
+ for (const key in original) {
69
+ result[key] = original[key];
70
+ }
71
+ objects.forEach(function(obj) {
72
+ for (const key in obj) {
73
+ result[key] = obj[key];
74
+ }
75
+ });
76
+ return (
77
+ /** @type {T} */
78
+ result
79
+ );
80
+ }
81
+ var SPAN_CLOSE = "</span>";
82
+ var emitsWrappingTags = (node) => {
83
+ return !!node.kind;
84
+ };
85
+ var expandScopeName = (name, { prefix }) => {
86
+ if (name.includes(".")) {
87
+ const pieces = name.split(".");
88
+ return [
89
+ `${prefix}${pieces.shift()}`,
90
+ ...pieces.map((x, i) => `${x}${"_".repeat(i + 1)}`)
91
+ ].join(" ");
92
+ }
93
+ return `${prefix}${name}`;
94
+ };
95
+ var HTMLRenderer = class {
96
+ /**
97
+ * Creates a new HTMLRenderer
98
+ *
99
+ * @param {Tree} parseTree - the parse tree (must support `walk` API)
100
+ * @param {{classPrefix: string}} options
101
+ */
102
+ constructor(parseTree, options) {
103
+ this.buffer = "";
104
+ this.classPrefix = options.classPrefix;
105
+ parseTree.walk(this);
106
+ }
107
+ /**
108
+ * Adds texts to the output stream
109
+ *
110
+ * @param {string} text */
111
+ addText(text) {
112
+ this.buffer += escapeHTML(text);
113
+ }
114
+ /**
115
+ * Adds a node open to the output stream (if needed)
116
+ *
117
+ * @param {Node} node */
118
+ openNode(node) {
119
+ if (!emitsWrappingTags(node)) return;
120
+ let scope = node.kind;
121
+ if (node.sublanguage) {
122
+ scope = `language-${scope}`;
123
+ } else {
124
+ scope = expandScopeName(scope, { prefix: this.classPrefix });
125
+ }
126
+ this.span(scope);
127
+ }
128
+ /**
129
+ * Adds a node close to the output stream (if needed)
130
+ *
131
+ * @param {Node} node */
132
+ closeNode(node) {
133
+ if (!emitsWrappingTags(node)) return;
134
+ this.buffer += SPAN_CLOSE;
135
+ }
136
+ /**
137
+ * returns the accumulated buffer
138
+ */
139
+ value() {
140
+ return this.buffer;
141
+ }
142
+ // helpers
143
+ /**
144
+ * Builds a span element
145
+ *
146
+ * @param {string} className */
147
+ span(className) {
148
+ this.buffer += `<span class="${className}">`;
149
+ }
150
+ };
151
+ var TokenTree = class _TokenTree {
152
+ constructor() {
153
+ this.rootNode = { children: [] };
154
+ this.stack = [this.rootNode];
155
+ }
156
+ get top() {
157
+ return this.stack[this.stack.length - 1];
158
+ }
159
+ get root() {
160
+ return this.rootNode;
161
+ }
162
+ /** @param {Node} node */
163
+ add(node) {
164
+ this.top.children.push(node);
165
+ }
166
+ /** @param {string} kind */
167
+ openNode(kind) {
168
+ const node = { kind, children: [] };
169
+ this.add(node);
170
+ this.stack.push(node);
171
+ }
172
+ closeNode() {
173
+ if (this.stack.length > 1) {
174
+ return this.stack.pop();
175
+ }
176
+ return void 0;
177
+ }
178
+ closeAllNodes() {
179
+ while (this.closeNode()) ;
180
+ }
181
+ toJSON() {
182
+ return JSON.stringify(this.rootNode, null, 4);
183
+ }
184
+ /**
185
+ * @typedef { import("./html_renderer").Renderer } Renderer
186
+ * @param {Renderer} builder
187
+ */
188
+ walk(builder) {
189
+ return this.constructor._walk(builder, this.rootNode);
190
+ }
191
+ /**
192
+ * @param {Renderer} builder
193
+ * @param {Node} node
194
+ */
195
+ static _walk(builder, node) {
196
+ if (typeof node === "string") {
197
+ builder.addText(node);
198
+ } else if (node.children) {
199
+ builder.openNode(node);
200
+ node.children.forEach((child) => this._walk(builder, child));
201
+ builder.closeNode(node);
202
+ }
203
+ return builder;
204
+ }
205
+ /**
206
+ * @param {Node} node
207
+ */
208
+ static _collapse(node) {
209
+ if (typeof node === "string") return;
210
+ if (!node.children) return;
211
+ if (node.children.every((el) => typeof el === "string")) {
212
+ node.children = [node.children.join("")];
213
+ } else {
214
+ node.children.forEach((child) => {
215
+ _TokenTree._collapse(child);
216
+ });
217
+ }
218
+ }
219
+ };
220
+ var TokenTreeEmitter = class extends TokenTree {
221
+ /**
222
+ * @param {*} options
223
+ */
224
+ constructor(options) {
225
+ super();
226
+ this.options = options;
227
+ }
228
+ /**
229
+ * @param {string} text
230
+ * @param {string} kind
231
+ */
232
+ addKeyword(text, kind) {
233
+ if (text === "") {
234
+ return;
235
+ }
236
+ this.openNode(kind);
237
+ this.addText(text);
238
+ this.closeNode();
239
+ }
240
+ /**
241
+ * @param {string} text
242
+ */
243
+ addText(text) {
244
+ if (text === "") {
245
+ return;
246
+ }
247
+ this.add(text);
248
+ }
249
+ /**
250
+ * @param {Emitter & {root: DataNode}} emitter
251
+ * @param {string} name
252
+ */
253
+ addSublanguage(emitter, name) {
254
+ const node = emitter.root;
255
+ node.kind = name;
256
+ node.sublanguage = true;
257
+ this.add(node);
258
+ }
259
+ toHTML() {
260
+ const renderer = new HTMLRenderer(this, this.options);
261
+ return renderer.value();
262
+ }
263
+ finalize() {
264
+ return true;
265
+ }
266
+ };
267
+ function source2(re) {
268
+ if (!re) return null;
269
+ if (typeof re === "string") return re;
270
+ return re.source;
271
+ }
272
+ function lookahead2(re) {
273
+ return concat2("(?=", re, ")");
274
+ }
275
+ function concat2(...args) {
276
+ const joined = args.map((x) => source2(x)).join("");
277
+ return joined;
278
+ }
279
+ function stripOptionsFromArgs(args) {
280
+ const opts = args[args.length - 1];
281
+ if (typeof opts === "object" && opts.constructor === Object) {
282
+ args.splice(args.length - 1, 1);
283
+ return opts;
284
+ } else {
285
+ return {};
286
+ }
287
+ }
288
+ function either(...args) {
289
+ const opts = stripOptionsFromArgs(args);
290
+ const joined = "(" + (opts.capture ? "" : "?:") + args.map((x) => source2(x)).join("|") + ")";
291
+ return joined;
292
+ }
293
+ function countMatchGroups(re) {
294
+ return new RegExp(re.toString() + "|").exec("").length - 1;
295
+ }
296
+ function startsWith(re, lexeme) {
297
+ const match = re && re.exec(lexeme);
298
+ return match && match.index === 0;
299
+ }
300
+ var BACKREF_RE = /\[(?:[^\\\]]|\\.)*\]|\(\??|\\([1-9][0-9]*)|\\./;
301
+ function _rewriteBackreferences(regexps, { joinWith }) {
302
+ let numCaptures = 0;
303
+ return regexps.map((regex) => {
304
+ numCaptures += 1;
305
+ const offset = numCaptures;
306
+ let re = source2(regex);
307
+ let out = "";
308
+ while (re.length > 0) {
309
+ const match = BACKREF_RE.exec(re);
310
+ if (!match) {
311
+ out += re;
312
+ break;
313
+ }
314
+ out += re.substring(0, match.index);
315
+ re = re.substring(match.index + match[0].length);
316
+ if (match[0][0] === "\\" && match[1]) {
317
+ out += "\\" + String(Number(match[1]) + offset);
318
+ } else {
319
+ out += match[0];
320
+ if (match[0] === "(") {
321
+ numCaptures++;
322
+ }
323
+ }
324
+ }
325
+ return out;
326
+ }).map((re) => `(${re})`).join(joinWith);
327
+ }
328
+ var MATCH_NOTHING_RE = /\b\B/;
329
+ var IDENT_RE2 = "[a-zA-Z]\\w*";
330
+ var UNDERSCORE_IDENT_RE = "[a-zA-Z_]\\w*";
331
+ var NUMBER_RE = "\\b\\d+(\\.\\d+)?";
332
+ var C_NUMBER_RE = "(-?)(\\b0[xX][a-fA-F0-9]+|(\\b\\d+(\\.\\d*)?|\\.\\d+)([eE][-+]?\\d+)?)";
333
+ var BINARY_NUMBER_RE = "\\b(0b[01]+)";
334
+ var RE_STARTERS_RE = "!|!=|!==|%|%=|&|&&|&=|\\*|\\*=|\\+|\\+=|,|-|-=|/=|/|:|;|<<|<<=|<=|<|===|==|=|>>>=|>>=|>=|>>>|>>|>|\\?|\\[|\\{|\\(|\\^|\\^=|\\||\\|=|\\|\\||~";
335
+ var SHEBANG = (opts = {}) => {
336
+ const beginShebang = /^#![ ]*\//;
337
+ if (opts.binary) {
338
+ opts.begin = concat2(
339
+ beginShebang,
340
+ /.*\b/,
341
+ opts.binary,
342
+ /\b.*/
343
+ );
344
+ }
345
+ return inherit$1({
346
+ scope: "meta",
347
+ begin: beginShebang,
348
+ end: /$/,
349
+ relevance: 0,
350
+ /** @type {ModeCallback} */
351
+ "on:begin": (m, resp) => {
352
+ if (m.index !== 0) resp.ignoreMatch();
353
+ }
354
+ }, opts);
355
+ };
356
+ var BACKSLASH_ESCAPE = {
357
+ begin: "\\\\[\\s\\S]",
358
+ relevance: 0
359
+ };
360
+ var APOS_STRING_MODE = {
361
+ scope: "string",
362
+ begin: "'",
363
+ end: "'",
364
+ illegal: "\\n",
365
+ contains: [BACKSLASH_ESCAPE]
366
+ };
367
+ var QUOTE_STRING_MODE = {
368
+ scope: "string",
369
+ begin: '"',
370
+ end: '"',
371
+ illegal: "\\n",
372
+ contains: [BACKSLASH_ESCAPE]
373
+ };
374
+ var PHRASAL_WORDS_MODE = {
375
+ begin: /\b(a|an|the|are|I'm|isn't|don't|doesn't|won't|but|just|should|pretty|simply|enough|gonna|going|wtf|so|such|will|you|your|they|like|more)\b/
376
+ };
377
+ var COMMENT = function(begin, end, modeOptions = {}) {
378
+ const mode = inherit$1(
379
+ {
380
+ scope: "comment",
381
+ begin,
382
+ end,
383
+ contains: []
384
+ },
385
+ modeOptions
386
+ );
387
+ mode.contains.push({
388
+ scope: "doctag",
389
+ // hack to avoid the space from being included. the space is necessary to
390
+ // match here to prevent the plain text rule below from gobbling up doctags
391
+ begin: "[ ]*(?=(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):)",
392
+ end: /(TODO|FIXME|NOTE|BUG|OPTIMIZE|HACK|XXX):/,
393
+ excludeBegin: true,
394
+ relevance: 0
395
+ });
396
+ const ENGLISH_WORD = either(
397
+ // list of common 1 and 2 letter words in English
398
+ "I",
399
+ "a",
400
+ "is",
401
+ "so",
402
+ "us",
403
+ "to",
404
+ "at",
405
+ "if",
406
+ "in",
407
+ "it",
408
+ "on",
409
+ // note: this is not an exhaustive list of contractions, just popular ones
410
+ /[A-Za-z]+['](d|ve|re|ll|t|s|n)/,
411
+ // contractions - can't we'd they're let's, etc
412
+ /[A-Za-z]+[-][a-z]+/,
413
+ // `no-way`, etc.
414
+ /[A-Za-z][a-z]{2,}/
415
+ // allow capitalized words at beginning of sentences
416
+ );
417
+ mode.contains.push(
418
+ {
419
+ // TODO: how to include ", (, ) without breaking grammars that use these for
420
+ // comment delimiters?
421
+ // begin: /[ ]+([()"]?([A-Za-z'-]{3,}|is|a|I|so|us|[tT][oO]|at|if|in|it|on)[.]?[()":]?([.][ ]|[ ]|\))){3}/
422
+ // ---
423
+ // this tries to find sequences of 3 english words in a row (without any
424
+ // "programming" type syntax) this gives us a strong signal that we've
425
+ // TRULY found a comment - vs perhaps scanning with the wrong language.
426
+ // It's possible to find something that LOOKS like the start of the
427
+ // comment - but then if there is no readable text - good chance it is a
428
+ // false match and not a comment.
429
+ //
430
+ // for a visual example please see:
431
+ // https://github.com/highlightjs/highlight.js/issues/2827
432
+ begin: concat2(
433
+ /[ ]+/,
434
+ // necessary to prevent us gobbling up doctags like /* @author Bob Mcgill */
435
+ "(",
436
+ ENGLISH_WORD,
437
+ /[.]?[:]?([.][ ]|[ ])/,
438
+ "){3}"
439
+ )
440
+ // look for 3 words in a row
441
+ }
442
+ );
443
+ return mode;
444
+ };
445
+ var C_LINE_COMMENT_MODE = COMMENT("//", "$");
446
+ var C_BLOCK_COMMENT_MODE = COMMENT("/\\*", "\\*/");
447
+ var HASH_COMMENT_MODE = COMMENT("#", "$");
448
+ var NUMBER_MODE = {
449
+ scope: "number",
450
+ begin: NUMBER_RE,
451
+ relevance: 0
452
+ };
453
+ var C_NUMBER_MODE = {
454
+ scope: "number",
455
+ begin: C_NUMBER_RE,
456
+ relevance: 0
457
+ };
458
+ var BINARY_NUMBER_MODE = {
459
+ scope: "number",
460
+ begin: BINARY_NUMBER_RE,
461
+ relevance: 0
462
+ };
463
+ var REGEXP_MODE = {
464
+ // this outer rule makes sure we actually have a WHOLE regex and not simply
465
+ // an expression such as:
466
+ //
467
+ // 3 / something
468
+ //
469
+ // (which will then blow up when regex's `illegal` sees the newline)
470
+ begin: /(?=\/[^/\n]*\/)/,
471
+ contains: [{
472
+ scope: "regexp",
473
+ begin: /\//,
474
+ end: /\/[gimuy]*/,
475
+ illegal: /\n/,
476
+ contains: [
477
+ BACKSLASH_ESCAPE,
478
+ {
479
+ begin: /\[/,
480
+ end: /\]/,
481
+ relevance: 0,
482
+ contains: [BACKSLASH_ESCAPE]
483
+ }
484
+ ]
485
+ }]
486
+ };
487
+ var TITLE_MODE = {
488
+ scope: "title",
489
+ begin: IDENT_RE2,
490
+ relevance: 0
491
+ };
492
+ var UNDERSCORE_TITLE_MODE = {
493
+ scope: "title",
494
+ begin: UNDERSCORE_IDENT_RE,
495
+ relevance: 0
496
+ };
497
+ var METHOD_GUARD = {
498
+ // excludes method names from keyword processing
499
+ begin: "\\.\\s*" + UNDERSCORE_IDENT_RE,
500
+ relevance: 0
501
+ };
502
+ var END_SAME_AS_BEGIN = function(mode) {
503
+ return Object.assign(
504
+ mode,
505
+ {
506
+ /** @type {ModeCallback} */
507
+ "on:begin": (m, resp) => {
508
+ resp.data._beginMatch = m[1];
509
+ },
510
+ /** @type {ModeCallback} */
511
+ "on:end": (m, resp) => {
512
+ if (resp.data._beginMatch !== m[1]) resp.ignoreMatch();
513
+ }
514
+ }
515
+ );
516
+ };
517
+ var MODES = /* @__PURE__ */ Object.freeze({
518
+ __proto__: null,
519
+ MATCH_NOTHING_RE,
520
+ IDENT_RE: IDENT_RE2,
521
+ UNDERSCORE_IDENT_RE,
522
+ NUMBER_RE,
523
+ C_NUMBER_RE,
524
+ BINARY_NUMBER_RE,
525
+ RE_STARTERS_RE,
526
+ SHEBANG,
527
+ BACKSLASH_ESCAPE,
528
+ APOS_STRING_MODE,
529
+ QUOTE_STRING_MODE,
530
+ PHRASAL_WORDS_MODE,
531
+ COMMENT,
532
+ C_LINE_COMMENT_MODE,
533
+ C_BLOCK_COMMENT_MODE,
534
+ HASH_COMMENT_MODE,
535
+ NUMBER_MODE,
536
+ C_NUMBER_MODE,
537
+ BINARY_NUMBER_MODE,
538
+ REGEXP_MODE,
539
+ TITLE_MODE,
540
+ UNDERSCORE_TITLE_MODE,
541
+ METHOD_GUARD,
542
+ END_SAME_AS_BEGIN
543
+ });
544
+ function skipIfHasPrecedingDot(match, response) {
545
+ const before = match.input[match.index - 1];
546
+ if (before === ".") {
547
+ response.ignoreMatch();
548
+ }
549
+ }
550
+ function scopeClassName(mode, _parent) {
551
+ if (mode.className !== void 0) {
552
+ mode.scope = mode.className;
553
+ delete mode.className;
554
+ }
555
+ }
556
+ function beginKeywords(mode, parent) {
557
+ if (!parent) return;
558
+ if (!mode.beginKeywords) return;
559
+ mode.begin = "\\b(" + mode.beginKeywords.split(" ").join("|") + ")(?!\\.)(?=\\b|\\s)";
560
+ mode.__beforeBegin = skipIfHasPrecedingDot;
561
+ mode.keywords = mode.keywords || mode.beginKeywords;
562
+ delete mode.beginKeywords;
563
+ if (mode.relevance === void 0) mode.relevance = 0;
564
+ }
565
+ function compileIllegal(mode, _parent) {
566
+ if (!Array.isArray(mode.illegal)) return;
567
+ mode.illegal = either(...mode.illegal);
568
+ }
569
+ function compileMatch(mode, _parent) {
570
+ if (!mode.match) return;
571
+ if (mode.begin || mode.end) throw new Error("begin & end are not supported with match");
572
+ mode.begin = mode.match;
573
+ delete mode.match;
574
+ }
575
+ function compileRelevance(mode, _parent) {
576
+ if (mode.relevance === void 0) mode.relevance = 1;
577
+ }
578
+ var beforeMatchExt = (mode, parent) => {
579
+ if (!mode.beforeMatch) return;
580
+ if (mode.starts) throw new Error("beforeMatch cannot be used with starts");
581
+ const originalMode = Object.assign({}, mode);
582
+ Object.keys(mode).forEach((key) => {
583
+ delete mode[key];
584
+ });
585
+ mode.keywords = originalMode.keywords;
586
+ mode.begin = concat2(originalMode.beforeMatch, lookahead2(originalMode.begin));
587
+ mode.starts = {
588
+ relevance: 0,
589
+ contains: [
590
+ Object.assign(originalMode, { endsParent: true })
591
+ ]
592
+ };
593
+ mode.relevance = 0;
594
+ delete originalMode.beforeMatch;
595
+ };
596
+ var COMMON_KEYWORDS = [
597
+ "of",
598
+ "and",
599
+ "for",
600
+ "in",
601
+ "not",
602
+ "or",
603
+ "if",
604
+ "then",
605
+ "parent",
606
+ // common variable name
607
+ "list",
608
+ // common variable name
609
+ "value"
610
+ // common variable name
611
+ ];
612
+ var DEFAULT_KEYWORD_SCOPE = "keyword";
613
+ function compileKeywords(rawKeywords, caseInsensitive, scopeName = DEFAULT_KEYWORD_SCOPE) {
614
+ const compiledKeywords = /* @__PURE__ */ Object.create(null);
615
+ if (typeof rawKeywords === "string") {
616
+ compileList(scopeName, rawKeywords.split(" "));
617
+ } else if (Array.isArray(rawKeywords)) {
618
+ compileList(scopeName, rawKeywords);
619
+ } else {
620
+ Object.keys(rawKeywords).forEach(function(scopeName2) {
621
+ Object.assign(
622
+ compiledKeywords,
623
+ compileKeywords(rawKeywords[scopeName2], caseInsensitive, scopeName2)
624
+ );
625
+ });
626
+ }
627
+ return compiledKeywords;
628
+ function compileList(scopeName2, keywordList) {
629
+ if (caseInsensitive) {
630
+ keywordList = keywordList.map((x) => x.toLowerCase());
631
+ }
632
+ keywordList.forEach(function(keyword) {
633
+ const pair = keyword.split("|");
634
+ compiledKeywords[pair[0]] = [scopeName2, scoreForKeyword(pair[0], pair[1])];
635
+ });
636
+ }
637
+ }
638
+ function scoreForKeyword(keyword, providedScore) {
639
+ if (providedScore) {
640
+ return Number(providedScore);
641
+ }
642
+ return commonKeyword(keyword) ? 0 : 1;
643
+ }
644
+ function commonKeyword(keyword) {
645
+ return COMMON_KEYWORDS.includes(keyword.toLowerCase());
646
+ }
647
+ var seenDeprecations = {};
648
+ var error = (message) => {
649
+ console.error(message);
650
+ };
651
+ var warn = (message, ...args) => {
652
+ console.log(`WARN: ${message}`, ...args);
653
+ };
654
+ var deprecated = (version2, message) => {
655
+ if (seenDeprecations[`${version2}/${message}`]) return;
656
+ console.log(`Deprecated as of ${version2}. ${message}`);
657
+ seenDeprecations[`${version2}/${message}`] = true;
658
+ };
659
+ var MultiClassError = new Error();
660
+ function remapScopeNames(mode, regexes, { key }) {
661
+ let offset = 0;
662
+ const scopeNames = mode[key];
663
+ const emit = {};
664
+ const positions = {};
665
+ for (let i = 1; i <= regexes.length; i++) {
666
+ positions[i + offset] = scopeNames[i];
667
+ emit[i + offset] = true;
668
+ offset += countMatchGroups(regexes[i - 1]);
669
+ }
670
+ mode[key] = positions;
671
+ mode[key]._emit = emit;
672
+ mode[key]._multi = true;
673
+ }
674
+ function beginMultiClass(mode) {
675
+ if (!Array.isArray(mode.begin)) return;
676
+ if (mode.skip || mode.excludeBegin || mode.returnBegin) {
677
+ error("skip, excludeBegin, returnBegin not compatible with beginScope: {}");
678
+ throw MultiClassError;
679
+ }
680
+ if (typeof mode.beginScope !== "object" || mode.beginScope === null) {
681
+ error("beginScope must be object");
682
+ throw MultiClassError;
683
+ }
684
+ remapScopeNames(mode, mode.begin, { key: "beginScope" });
685
+ mode.begin = _rewriteBackreferences(mode.begin, { joinWith: "" });
686
+ }
687
+ function endMultiClass(mode) {
688
+ if (!Array.isArray(mode.end)) return;
689
+ if (mode.skip || mode.excludeEnd || mode.returnEnd) {
690
+ error("skip, excludeEnd, returnEnd not compatible with endScope: {}");
691
+ throw MultiClassError;
692
+ }
693
+ if (typeof mode.endScope !== "object" || mode.endScope === null) {
694
+ error("endScope must be object");
695
+ throw MultiClassError;
696
+ }
697
+ remapScopeNames(mode, mode.end, { key: "endScope" });
698
+ mode.end = _rewriteBackreferences(mode.end, { joinWith: "" });
699
+ }
700
+ function scopeSugar(mode) {
701
+ if (mode.scope && typeof mode.scope === "object" && mode.scope !== null) {
702
+ mode.beginScope = mode.scope;
703
+ delete mode.scope;
704
+ }
705
+ }
706
+ function MultiClass(mode) {
707
+ scopeSugar(mode);
708
+ if (typeof mode.beginScope === "string") {
709
+ mode.beginScope = { _wrap: mode.beginScope };
710
+ }
711
+ if (typeof mode.endScope === "string") {
712
+ mode.endScope = { _wrap: mode.endScope };
713
+ }
714
+ beginMultiClass(mode);
715
+ endMultiClass(mode);
716
+ }
717
+ function compileLanguage(language) {
718
+ function langRe(value, global) {
719
+ return new RegExp(
720
+ source2(value),
721
+ "m" + (language.case_insensitive ? "i" : "") + (global ? "g" : "")
722
+ );
723
+ }
724
+ class MultiRegex {
725
+ constructor() {
726
+ this.matchIndexes = {};
727
+ this.regexes = [];
728
+ this.matchAt = 1;
729
+ this.position = 0;
730
+ }
731
+ // @ts-ignore
732
+ addRule(re, opts) {
733
+ opts.position = this.position++;
734
+ this.matchIndexes[this.matchAt] = opts;
735
+ this.regexes.push([opts, re]);
736
+ this.matchAt += countMatchGroups(re) + 1;
737
+ }
738
+ compile() {
739
+ if (this.regexes.length === 0) {
740
+ this.exec = () => null;
741
+ }
742
+ const terminators = this.regexes.map((el) => el[1]);
743
+ this.matcherRe = langRe(_rewriteBackreferences(terminators, { joinWith: "|" }), true);
744
+ this.lastIndex = 0;
745
+ }
746
+ /** @param {string} s */
747
+ exec(s) {
748
+ this.matcherRe.lastIndex = this.lastIndex;
749
+ const match = this.matcherRe.exec(s);
750
+ if (!match) {
751
+ return null;
752
+ }
753
+ const i = match.findIndex((el, i2) => i2 > 0 && el !== void 0);
754
+ const matchData = this.matchIndexes[i];
755
+ match.splice(0, i);
756
+ return Object.assign(match, matchData);
757
+ }
758
+ }
759
+ class ResumableMultiRegex {
760
+ constructor() {
761
+ this.rules = [];
762
+ this.multiRegexes = [];
763
+ this.count = 0;
764
+ this.lastIndex = 0;
765
+ this.regexIndex = 0;
766
+ }
767
+ // @ts-ignore
768
+ getMatcher(index) {
769
+ if (this.multiRegexes[index]) return this.multiRegexes[index];
770
+ const matcher = new MultiRegex();
771
+ this.rules.slice(index).forEach(([re, opts]) => matcher.addRule(re, opts));
772
+ matcher.compile();
773
+ this.multiRegexes[index] = matcher;
774
+ return matcher;
775
+ }
776
+ resumingScanAtSamePosition() {
777
+ return this.regexIndex !== 0;
778
+ }
779
+ considerAll() {
780
+ this.regexIndex = 0;
781
+ }
782
+ // @ts-ignore
783
+ addRule(re, opts) {
784
+ this.rules.push([re, opts]);
785
+ if (opts.type === "begin") this.count++;
786
+ }
787
+ /** @param {string} s */
788
+ exec(s) {
789
+ const m = this.getMatcher(this.regexIndex);
790
+ m.lastIndex = this.lastIndex;
791
+ let result = m.exec(s);
792
+ if (this.resumingScanAtSamePosition()) {
793
+ if (result && result.index === this.lastIndex) ;
794
+ else {
795
+ const m2 = this.getMatcher(0);
796
+ m2.lastIndex = this.lastIndex + 1;
797
+ result = m2.exec(s);
798
+ }
799
+ }
800
+ if (result) {
801
+ this.regexIndex += result.position + 1;
802
+ if (this.regexIndex === this.count) {
803
+ this.considerAll();
804
+ }
805
+ }
806
+ return result;
807
+ }
808
+ }
809
+ function buildModeRegex(mode) {
810
+ const mm = new ResumableMultiRegex();
811
+ mode.contains.forEach((term) => mm.addRule(term.begin, { rule: term, type: "begin" }));
812
+ if (mode.terminatorEnd) {
813
+ mm.addRule(mode.terminatorEnd, { type: "end" });
814
+ }
815
+ if (mode.illegal) {
816
+ mm.addRule(mode.illegal, { type: "illegal" });
817
+ }
818
+ return mm;
819
+ }
820
+ function compileMode(mode, parent) {
821
+ const cmode = (
822
+ /** @type CompiledMode */
823
+ mode
824
+ );
825
+ if (mode.isCompiled) return cmode;
826
+ [
827
+ scopeClassName,
828
+ // do this early so compiler extensions generally don't have to worry about
829
+ // the distinction between match/begin
830
+ compileMatch,
831
+ MultiClass,
832
+ beforeMatchExt
833
+ ].forEach((ext) => ext(mode, parent));
834
+ language.compilerExtensions.forEach((ext) => ext(mode, parent));
835
+ mode.__beforeBegin = null;
836
+ [
837
+ beginKeywords,
838
+ // do this later so compiler extensions that come earlier have access to the
839
+ // raw array if they wanted to perhaps manipulate it, etc.
840
+ compileIllegal,
841
+ // default to 1 relevance if not specified
842
+ compileRelevance
843
+ ].forEach((ext) => ext(mode, parent));
844
+ mode.isCompiled = true;
845
+ let keywordPattern = null;
846
+ if (typeof mode.keywords === "object" && mode.keywords.$pattern) {
847
+ mode.keywords = Object.assign({}, mode.keywords);
848
+ keywordPattern = mode.keywords.$pattern;
849
+ delete mode.keywords.$pattern;
850
+ }
851
+ keywordPattern = keywordPattern || /\w+/;
852
+ if (mode.keywords) {
853
+ mode.keywords = compileKeywords(mode.keywords, language.case_insensitive);
854
+ }
855
+ cmode.keywordPatternRe = langRe(keywordPattern, true);
856
+ if (parent) {
857
+ if (!mode.begin) mode.begin = /\B|\b/;
858
+ cmode.beginRe = langRe(mode.begin);
859
+ if (!mode.end && !mode.endsWithParent) mode.end = /\B|\b/;
860
+ if (mode.end) cmode.endRe = langRe(mode.end);
861
+ cmode.terminatorEnd = source2(mode.end) || "";
862
+ if (mode.endsWithParent && parent.terminatorEnd) {
863
+ cmode.terminatorEnd += (mode.end ? "|" : "") + parent.terminatorEnd;
864
+ }
865
+ }
866
+ if (mode.illegal) cmode.illegalRe = langRe(
867
+ /** @type {RegExp | string} */
868
+ mode.illegal
869
+ );
870
+ if (!mode.contains) mode.contains = [];
871
+ mode.contains = [].concat(...mode.contains.map(function(c) {
872
+ return expandOrCloneMode(c === "self" ? mode : c);
873
+ }));
874
+ mode.contains.forEach(function(c) {
875
+ compileMode(
876
+ /** @type Mode */
877
+ c,
878
+ cmode
879
+ );
880
+ });
881
+ if (mode.starts) {
882
+ compileMode(mode.starts, parent);
883
+ }
884
+ cmode.matcher = buildModeRegex(cmode);
885
+ return cmode;
886
+ }
887
+ if (!language.compilerExtensions) language.compilerExtensions = [];
888
+ if (language.contains && language.contains.includes("self")) {
889
+ throw new Error("ERR: contains `self` is not supported at the top-level of a language. See documentation.");
890
+ }
891
+ language.classNameAliases = inherit$1(language.classNameAliases || {});
892
+ return compileMode(
893
+ /** @type Mode */
894
+ language
895
+ );
896
+ }
897
+ function dependencyOnParent(mode) {
898
+ if (!mode) return false;
899
+ return mode.endsWithParent || dependencyOnParent(mode.starts);
900
+ }
901
+ function expandOrCloneMode(mode) {
902
+ if (mode.variants && !mode.cachedVariants) {
903
+ mode.cachedVariants = mode.variants.map(function(variant) {
904
+ return inherit$1(mode, { variants: null }, variant);
905
+ });
906
+ }
907
+ if (mode.cachedVariants) {
908
+ return mode.cachedVariants;
909
+ }
910
+ if (dependencyOnParent(mode)) {
911
+ return inherit$1(mode, { starts: mode.starts ? inherit$1(mode.starts) : null });
912
+ }
913
+ if (Object.isFrozen(mode)) {
914
+ return inherit$1(mode);
915
+ }
916
+ return mode;
917
+ }
918
+ var version = "11.2.0";
919
+ var escape = escapeHTML;
920
+ var inherit = inherit$1;
921
+ var NO_MATCH = /* @__PURE__ */ Symbol("nomatch");
922
+ var MAX_KEYWORD_HITS = 7;
923
+ var HLJS = function(hljs2) {
924
+ const languages = /* @__PURE__ */ Object.create(null);
925
+ const aliases = /* @__PURE__ */ Object.create(null);
926
+ const plugins = [];
927
+ let SAFE_MODE = true;
928
+ const LANGUAGE_NOT_FOUND = "Could not find the language '{}', did you forget to load/include a language module?";
929
+ const PLAINTEXT_LANGUAGE = { disableAutodetect: true, name: "Plain text", contains: [] };
930
+ let options = {
931
+ ignoreUnescapedHTML: false,
932
+ noHighlightRe: /^(no-?highlight)$/i,
933
+ languageDetectRe: /\blang(?:uage)?-([\w-]+)\b/i,
934
+ classPrefix: "hljs-",
935
+ cssSelector: "pre code",
936
+ languages: null,
937
+ // beta configuration options, subject to change, welcome to discuss
938
+ // https://github.com/highlightjs/highlight.js/issues/1086
939
+ __emitter: TokenTreeEmitter
940
+ };
941
+ function shouldNotHighlight(languageName) {
942
+ return options.noHighlightRe.test(languageName);
943
+ }
944
+ function blockLanguage(block) {
945
+ let classes = block.className + " ";
946
+ classes += block.parentNode ? block.parentNode.className : "";
947
+ const match = options.languageDetectRe.exec(classes);
948
+ if (match) {
949
+ const language = getLanguage(match[1]);
950
+ if (!language) {
951
+ warn(LANGUAGE_NOT_FOUND.replace("{}", match[1]));
952
+ warn("Falling back to no-highlight mode for this block.", block);
953
+ }
954
+ return language ? match[1] : "no-highlight";
955
+ }
956
+ return classes.split(/\s+/).find((_class) => shouldNotHighlight(_class) || getLanguage(_class));
957
+ }
958
+ function highlight2(codeOrLanguageName, optionsOrCode, ignoreIllegals) {
959
+ let code = "";
960
+ let languageName = "";
961
+ if (typeof optionsOrCode === "object") {
962
+ code = codeOrLanguageName;
963
+ ignoreIllegals = optionsOrCode.ignoreIllegals;
964
+ languageName = optionsOrCode.language;
965
+ } else {
966
+ deprecated("10.7.0", "highlight(lang, code, ...args) has been deprecated.");
967
+ deprecated("10.7.0", "Please use highlight(code, options) instead.\nhttps://github.com/highlightjs/highlight.js/issues/2277");
968
+ languageName = codeOrLanguageName;
969
+ code = optionsOrCode;
970
+ }
971
+ if (ignoreIllegals === void 0) {
972
+ ignoreIllegals = true;
973
+ }
974
+ const context = {
975
+ code,
976
+ language: languageName
977
+ };
978
+ fire("before:highlight", context);
979
+ const result = context.result ? context.result : _highlight(context.language, context.code, ignoreIllegals);
980
+ result.code = context.code;
981
+ fire("after:highlight", result);
982
+ return result;
983
+ }
984
+ function _highlight(languageName, codeToHighlight, ignoreIllegals, continuation) {
985
+ const keywordHits = /* @__PURE__ */ Object.create(null);
986
+ function keywordData(mode, matchText) {
987
+ return mode.keywords[matchText];
988
+ }
989
+ function processKeywords() {
990
+ if (!top.keywords) {
991
+ emitter.addText(modeBuffer);
992
+ return;
993
+ }
994
+ let lastIndex = 0;
995
+ top.keywordPatternRe.lastIndex = 0;
996
+ let match = top.keywordPatternRe.exec(modeBuffer);
997
+ let buf = "";
998
+ while (match) {
999
+ buf += modeBuffer.substring(lastIndex, match.index);
1000
+ const word = language.case_insensitive ? match[0].toLowerCase() : match[0];
1001
+ const data = keywordData(top, word);
1002
+ if (data) {
1003
+ const [kind, keywordRelevance] = data;
1004
+ emitter.addText(buf);
1005
+ buf = "";
1006
+ keywordHits[word] = (keywordHits[word] || 0) + 1;
1007
+ if (keywordHits[word] <= MAX_KEYWORD_HITS) relevance += keywordRelevance;
1008
+ if (kind.startsWith("_")) {
1009
+ buf += match[0];
1010
+ } else {
1011
+ const cssClass = language.classNameAliases[kind] || kind;
1012
+ emitter.addKeyword(match[0], cssClass);
1013
+ }
1014
+ } else {
1015
+ buf += match[0];
1016
+ }
1017
+ lastIndex = top.keywordPatternRe.lastIndex;
1018
+ match = top.keywordPatternRe.exec(modeBuffer);
1019
+ }
1020
+ buf += modeBuffer.substr(lastIndex);
1021
+ emitter.addText(buf);
1022
+ }
1023
+ function processSubLanguage() {
1024
+ if (modeBuffer === "") return;
1025
+ let result2 = null;
1026
+ if (typeof top.subLanguage === "string") {
1027
+ if (!languages[top.subLanguage]) {
1028
+ emitter.addText(modeBuffer);
1029
+ return;
1030
+ }
1031
+ result2 = _highlight(top.subLanguage, modeBuffer, true, continuations[top.subLanguage]);
1032
+ continuations[top.subLanguage] = /** @type {CompiledMode} */
1033
+ result2._top;
1034
+ } else {
1035
+ result2 = highlightAuto(modeBuffer, top.subLanguage.length ? top.subLanguage : null);
1036
+ }
1037
+ if (top.relevance > 0) {
1038
+ relevance += result2.relevance;
1039
+ }
1040
+ emitter.addSublanguage(result2._emitter, result2.language);
1041
+ }
1042
+ function processBuffer() {
1043
+ if (top.subLanguage != null) {
1044
+ processSubLanguage();
1045
+ } else {
1046
+ processKeywords();
1047
+ }
1048
+ modeBuffer = "";
1049
+ }
1050
+ function emitMultiClass(scope, match) {
1051
+ let i = 1;
1052
+ while (match[i] !== void 0) {
1053
+ if (!scope._emit[i]) {
1054
+ i++;
1055
+ continue;
1056
+ }
1057
+ const klass = language.classNameAliases[scope[i]] || scope[i];
1058
+ const text = match[i];
1059
+ if (klass) {
1060
+ emitter.addKeyword(text, klass);
1061
+ } else {
1062
+ modeBuffer = text;
1063
+ processKeywords();
1064
+ modeBuffer = "";
1065
+ }
1066
+ i++;
1067
+ }
1068
+ }
1069
+ function startNewMode(mode, match) {
1070
+ if (mode.scope && typeof mode.scope === "string") {
1071
+ emitter.openNode(language.classNameAliases[mode.scope] || mode.scope);
1072
+ }
1073
+ if (mode.beginScope) {
1074
+ if (mode.beginScope._wrap) {
1075
+ emitter.addKeyword(modeBuffer, language.classNameAliases[mode.beginScope._wrap] || mode.beginScope._wrap);
1076
+ modeBuffer = "";
1077
+ } else if (mode.beginScope._multi) {
1078
+ emitMultiClass(mode.beginScope, match);
1079
+ modeBuffer = "";
1080
+ }
1081
+ }
1082
+ top = Object.create(mode, { parent: { value: top } });
1083
+ return top;
1084
+ }
1085
+ function endOfMode(mode, match, matchPlusRemainder) {
1086
+ let matched = startsWith(mode.endRe, matchPlusRemainder);
1087
+ if (matched) {
1088
+ if (mode["on:end"]) {
1089
+ const resp = new Response(mode);
1090
+ mode["on:end"](match, resp);
1091
+ if (resp.isMatchIgnored) matched = false;
1092
+ }
1093
+ if (matched) {
1094
+ while (mode.endsParent && mode.parent) {
1095
+ mode = mode.parent;
1096
+ }
1097
+ return mode;
1098
+ }
1099
+ }
1100
+ if (mode.endsWithParent) {
1101
+ return endOfMode(mode.parent, match, matchPlusRemainder);
1102
+ }
1103
+ }
1104
+ function doIgnore(lexeme) {
1105
+ if (top.matcher.regexIndex === 0) {
1106
+ modeBuffer += lexeme[0];
1107
+ return 1;
1108
+ } else {
1109
+ resumeScanAtSamePosition = true;
1110
+ return 0;
1111
+ }
1112
+ }
1113
+ function doBeginMatch(match) {
1114
+ const lexeme = match[0];
1115
+ const newMode = match.rule;
1116
+ const resp = new Response(newMode);
1117
+ const beforeCallbacks = [newMode.__beforeBegin, newMode["on:begin"]];
1118
+ for (const cb of beforeCallbacks) {
1119
+ if (!cb) continue;
1120
+ cb(match, resp);
1121
+ if (resp.isMatchIgnored) return doIgnore(lexeme);
1122
+ }
1123
+ if (newMode.skip) {
1124
+ modeBuffer += lexeme;
1125
+ } else {
1126
+ if (newMode.excludeBegin) {
1127
+ modeBuffer += lexeme;
1128
+ }
1129
+ processBuffer();
1130
+ if (!newMode.returnBegin && !newMode.excludeBegin) {
1131
+ modeBuffer = lexeme;
1132
+ }
1133
+ }
1134
+ startNewMode(newMode, match);
1135
+ return newMode.returnBegin ? 0 : lexeme.length;
1136
+ }
1137
+ function doEndMatch(match) {
1138
+ const lexeme = match[0];
1139
+ const matchPlusRemainder = codeToHighlight.substr(match.index);
1140
+ const endMode = endOfMode(top, match, matchPlusRemainder);
1141
+ if (!endMode) {
1142
+ return NO_MATCH;
1143
+ }
1144
+ const origin = top;
1145
+ if (top.endScope && top.endScope._wrap) {
1146
+ processBuffer();
1147
+ emitter.addKeyword(lexeme, top.endScope._wrap);
1148
+ } else if (top.endScope && top.endScope._multi) {
1149
+ processBuffer();
1150
+ emitMultiClass(top.endScope, match);
1151
+ } else if (origin.skip) {
1152
+ modeBuffer += lexeme;
1153
+ } else {
1154
+ if (!(origin.returnEnd || origin.excludeEnd)) {
1155
+ modeBuffer += lexeme;
1156
+ }
1157
+ processBuffer();
1158
+ if (origin.excludeEnd) {
1159
+ modeBuffer = lexeme;
1160
+ }
1161
+ }
1162
+ do {
1163
+ if (top.scope) {
1164
+ emitter.closeNode();
1165
+ }
1166
+ if (!top.skip && !top.subLanguage) {
1167
+ relevance += top.relevance;
1168
+ }
1169
+ top = top.parent;
1170
+ } while (top !== endMode.parent);
1171
+ if (endMode.starts) {
1172
+ startNewMode(endMode.starts, match);
1173
+ }
1174
+ return origin.returnEnd ? 0 : lexeme.length;
1175
+ }
1176
+ function processContinuations() {
1177
+ const list = [];
1178
+ for (let current = top; current !== language; current = current.parent) {
1179
+ if (current.scope) {
1180
+ list.unshift(current.scope);
1181
+ }
1182
+ }
1183
+ list.forEach((item) => emitter.openNode(item));
1184
+ }
1185
+ let lastMatch = {};
1186
+ function processLexeme(textBeforeMatch, match) {
1187
+ const lexeme = match && match[0];
1188
+ modeBuffer += textBeforeMatch;
1189
+ if (lexeme == null) {
1190
+ processBuffer();
1191
+ return 0;
1192
+ }
1193
+ if (lastMatch.type === "begin" && match.type === "end" && lastMatch.index === match.index && lexeme === "") {
1194
+ modeBuffer += codeToHighlight.slice(match.index, match.index + 1);
1195
+ if (!SAFE_MODE) {
1196
+ const err = new Error(`0 width match regex (${languageName})`);
1197
+ err.languageName = languageName;
1198
+ err.badRule = lastMatch.rule;
1199
+ throw err;
1200
+ }
1201
+ return 1;
1202
+ }
1203
+ lastMatch = match;
1204
+ if (match.type === "begin") {
1205
+ return doBeginMatch(match);
1206
+ } else if (match.type === "illegal" && !ignoreIllegals) {
1207
+ const err = new Error('Illegal lexeme "' + lexeme + '" for mode "' + (top.scope || "<unnamed>") + '"');
1208
+ err.mode = top;
1209
+ throw err;
1210
+ } else if (match.type === "end") {
1211
+ const processed = doEndMatch(match);
1212
+ if (processed !== NO_MATCH) {
1213
+ return processed;
1214
+ }
1215
+ }
1216
+ if (match.type === "illegal" && lexeme === "") {
1217
+ return 1;
1218
+ }
1219
+ if (iterations > 1e5 && iterations > match.index * 3) {
1220
+ const err = new Error("potential infinite loop, way more iterations than matches");
1221
+ throw err;
1222
+ }
1223
+ modeBuffer += lexeme;
1224
+ return lexeme.length;
1225
+ }
1226
+ const language = getLanguage(languageName);
1227
+ if (!language) {
1228
+ error(LANGUAGE_NOT_FOUND.replace("{}", languageName));
1229
+ throw new Error('Unknown language: "' + languageName + '"');
1230
+ }
1231
+ const md = compileLanguage(language);
1232
+ let result = "";
1233
+ let top = continuation || md;
1234
+ const continuations = {};
1235
+ const emitter = new options.__emitter(options);
1236
+ processContinuations();
1237
+ let modeBuffer = "";
1238
+ let relevance = 0;
1239
+ let index = 0;
1240
+ let iterations = 0;
1241
+ let resumeScanAtSamePosition = false;
1242
+ try {
1243
+ top.matcher.considerAll();
1244
+ for (; ; ) {
1245
+ iterations++;
1246
+ if (resumeScanAtSamePosition) {
1247
+ resumeScanAtSamePosition = false;
1248
+ } else {
1249
+ top.matcher.considerAll();
1250
+ }
1251
+ top.matcher.lastIndex = index;
1252
+ const match = top.matcher.exec(codeToHighlight);
1253
+ if (!match) break;
1254
+ const beforeMatch = codeToHighlight.substring(index, match.index);
1255
+ const processedCount = processLexeme(beforeMatch, match);
1256
+ index = match.index + processedCount;
1257
+ }
1258
+ processLexeme(codeToHighlight.substr(index));
1259
+ emitter.closeAllNodes();
1260
+ emitter.finalize();
1261
+ result = emitter.toHTML();
1262
+ return {
1263
+ language: languageName,
1264
+ value: result,
1265
+ relevance,
1266
+ illegal: false,
1267
+ _emitter: emitter,
1268
+ _top: top
1269
+ };
1270
+ } catch (err) {
1271
+ if (err.message && err.message.includes("Illegal")) {
1272
+ return {
1273
+ language: languageName,
1274
+ value: escape(codeToHighlight),
1275
+ illegal: true,
1276
+ relevance: 0,
1277
+ _illegalBy: {
1278
+ message: err.message,
1279
+ index,
1280
+ context: codeToHighlight.slice(index - 100, index + 100),
1281
+ mode: err.mode,
1282
+ resultSoFar: result
1283
+ },
1284
+ _emitter: emitter
1285
+ };
1286
+ } else if (SAFE_MODE) {
1287
+ return {
1288
+ language: languageName,
1289
+ value: escape(codeToHighlight),
1290
+ illegal: false,
1291
+ relevance: 0,
1292
+ errorRaised: err,
1293
+ _emitter: emitter,
1294
+ _top: top
1295
+ };
1296
+ } else {
1297
+ throw err;
1298
+ }
1299
+ }
1300
+ }
1301
+ function justTextHighlightResult(code) {
1302
+ const result = {
1303
+ value: escape(code),
1304
+ illegal: false,
1305
+ relevance: 0,
1306
+ _top: PLAINTEXT_LANGUAGE,
1307
+ _emitter: new options.__emitter(options)
1308
+ };
1309
+ result._emitter.addText(code);
1310
+ return result;
1311
+ }
1312
+ function highlightAuto(code, languageSubset) {
1313
+ languageSubset = languageSubset || options.languages || Object.keys(languages);
1314
+ const plaintext = justTextHighlightResult(code);
1315
+ const results = languageSubset.filter(getLanguage).filter(autoDetection).map(
1316
+ (name) => _highlight(name, code, false)
1317
+ );
1318
+ results.unshift(plaintext);
1319
+ const sorted = results.sort((a, b) => {
1320
+ if (a.relevance !== b.relevance) return b.relevance - a.relevance;
1321
+ if (a.language && b.language) {
1322
+ if (getLanguage(a.language).supersetOf === b.language) {
1323
+ return 1;
1324
+ } else if (getLanguage(b.language).supersetOf === a.language) {
1325
+ return -1;
1326
+ }
1327
+ }
1328
+ return 0;
1329
+ });
1330
+ const [best, secondBest] = sorted;
1331
+ const result = best;
1332
+ result.secondBest = secondBest;
1333
+ return result;
1334
+ }
1335
+ function updateClassName(element, currentLang, resultLang) {
1336
+ const language = currentLang && aliases[currentLang] || resultLang;
1337
+ element.classList.add("hljs");
1338
+ element.classList.add(`language-${language}`);
1339
+ }
1340
+ function highlightElement(element) {
1341
+ let node = null;
1342
+ const language = blockLanguage(element);
1343
+ if (shouldNotHighlight(language)) return;
1344
+ fire(
1345
+ "before:highlightElement",
1346
+ { el: element, language }
1347
+ );
1348
+ if (!options.ignoreUnescapedHTML && element.children.length > 0) {
1349
+ console.warn("One of your code blocks includes unescaped HTML. This is a potentially serious security risk.");
1350
+ console.warn("https://github.com/highlightjs/highlight.js/issues/2886");
1351
+ console.warn(element);
1352
+ }
1353
+ node = element;
1354
+ const text = node.textContent;
1355
+ const result = language ? highlight2(text, { language, ignoreIllegals: true }) : highlightAuto(text);
1356
+ element.innerHTML = result.value;
1357
+ updateClassName(element, language, result.language);
1358
+ element.result = {
1359
+ language: result.language,
1360
+ // TODO: remove with version 11.0
1361
+ re: result.relevance,
1362
+ relevance: result.relevance
1363
+ };
1364
+ if (result.secondBest) {
1365
+ element.secondBest = {
1366
+ language: result.secondBest.language,
1367
+ relevance: result.secondBest.relevance
1368
+ };
1369
+ }
1370
+ fire("after:highlightElement", { el: element, result, text });
1371
+ }
1372
+ function configure(userOptions) {
1373
+ options = inherit(options, userOptions);
1374
+ }
1375
+ const initHighlighting = () => {
1376
+ highlightAll();
1377
+ deprecated("10.6.0", "initHighlighting() deprecated. Use highlightAll() now.");
1378
+ };
1379
+ function initHighlightingOnLoad() {
1380
+ highlightAll();
1381
+ deprecated("10.6.0", "initHighlightingOnLoad() deprecated. Use highlightAll() now.");
1382
+ }
1383
+ let wantsHighlight = false;
1384
+ function highlightAll() {
1385
+ if (document.readyState === "loading") {
1386
+ wantsHighlight = true;
1387
+ return;
1388
+ }
1389
+ const blocks = document.querySelectorAll(options.cssSelector);
1390
+ blocks.forEach(highlightElement);
1391
+ }
1392
+ function boot() {
1393
+ if (wantsHighlight) highlightAll();
1394
+ }
1395
+ if (typeof window !== "undefined" && window.addEventListener) {
1396
+ window.addEventListener("DOMContentLoaded", boot, false);
1397
+ }
1398
+ function registerLanguage(languageName, languageDefinition) {
1399
+ let lang = null;
1400
+ try {
1401
+ lang = languageDefinition(hljs2);
1402
+ } catch (error$1) {
1403
+ error("Language definition for '{}' could not be registered.".replace("{}", languageName));
1404
+ if (!SAFE_MODE) {
1405
+ throw error$1;
1406
+ } else {
1407
+ error(error$1);
1408
+ }
1409
+ lang = PLAINTEXT_LANGUAGE;
1410
+ }
1411
+ if (!lang.name) lang.name = languageName;
1412
+ languages[languageName] = lang;
1413
+ lang.rawDefinition = languageDefinition.bind(null, hljs2);
1414
+ if (lang.aliases) {
1415
+ registerAliases(lang.aliases, { languageName });
1416
+ }
1417
+ }
1418
+ function unregisterLanguage(languageName) {
1419
+ delete languages[languageName];
1420
+ for (const alias of Object.keys(aliases)) {
1421
+ if (aliases[alias] === languageName) {
1422
+ delete aliases[alias];
1423
+ }
1424
+ }
1425
+ }
1426
+ function listLanguages() {
1427
+ return Object.keys(languages);
1428
+ }
1429
+ function getLanguage(name) {
1430
+ name = (name || "").toLowerCase();
1431
+ return languages[name] || languages[aliases[name]];
1432
+ }
1433
+ function registerAliases(aliasList, { languageName }) {
1434
+ if (typeof aliasList === "string") {
1435
+ aliasList = [aliasList];
1436
+ }
1437
+ aliasList.forEach((alias) => {
1438
+ aliases[alias.toLowerCase()] = languageName;
1439
+ });
1440
+ }
1441
+ function autoDetection(name) {
1442
+ const lang = getLanguage(name);
1443
+ return lang && !lang.disableAutodetect;
1444
+ }
1445
+ function upgradePluginAPI(plugin) {
1446
+ if (plugin["before:highlightBlock"] && !plugin["before:highlightElement"]) {
1447
+ plugin["before:highlightElement"] = (data) => {
1448
+ plugin["before:highlightBlock"](
1449
+ Object.assign({ block: data.el }, data)
1450
+ );
1451
+ };
1452
+ }
1453
+ if (plugin["after:highlightBlock"] && !plugin["after:highlightElement"]) {
1454
+ plugin["after:highlightElement"] = (data) => {
1455
+ plugin["after:highlightBlock"](
1456
+ Object.assign({ block: data.el }, data)
1457
+ );
1458
+ };
1459
+ }
1460
+ }
1461
+ function addPlugin(plugin) {
1462
+ upgradePluginAPI(plugin);
1463
+ plugins.push(plugin);
1464
+ }
1465
+ function fire(event, args) {
1466
+ const cb = event;
1467
+ plugins.forEach(function(plugin) {
1468
+ if (plugin[cb]) {
1469
+ plugin[cb](args);
1470
+ }
1471
+ });
1472
+ }
1473
+ function deprecateHighlightBlock(el) {
1474
+ deprecated("10.7.0", "highlightBlock will be removed entirely in v12.0");
1475
+ deprecated("10.7.0", "Please use highlightElement now.");
1476
+ return highlightElement(el);
1477
+ }
1478
+ Object.assign(hljs2, {
1479
+ highlight: highlight2,
1480
+ highlightAuto,
1481
+ highlightAll,
1482
+ highlightElement,
1483
+ // TODO: Remove with v12 API
1484
+ highlightBlock: deprecateHighlightBlock,
1485
+ configure,
1486
+ initHighlighting,
1487
+ initHighlightingOnLoad,
1488
+ registerLanguage,
1489
+ unregisterLanguage,
1490
+ listLanguages,
1491
+ getLanguage,
1492
+ registerAliases,
1493
+ autoDetection,
1494
+ inherit,
1495
+ addPlugin
1496
+ });
1497
+ hljs2.debugMode = function() {
1498
+ SAFE_MODE = false;
1499
+ };
1500
+ hljs2.safeMode = function() {
1501
+ SAFE_MODE = true;
1502
+ };
1503
+ hljs2.versionString = version;
1504
+ for (const key in MODES) {
1505
+ if (typeof MODES[key] === "object") {
1506
+ deepFreeze$1(MODES[key]);
1507
+ }
1508
+ }
1509
+ Object.assign(hljs2, MODES);
1510
+ return hljs2;
1511
+ };
1512
+ var highlight = HLJS({});
1513
+ module.exports = highlight;
1514
+ }
1515
+ });
1516
+
1517
+ // appdrawer/utils.js
1518
+ function isFeatureEnabled(configFeature) {
1519
+ if (!configFeature) return true;
1520
+ const features = JSON.parse(sessionStorage.getItem("optionalFeatures") || "{}");
1521
+ return !!features[configFeature];
1522
+ }
1523
+ function makeButton(arg) {
1524
+ const button = arg.div.append("button").attr("type", "submit").style("background-color", arg.backgroundColor ? arg.backgroundColor : "#cfe2f3").style("margin", arg.margin ? arg.margin : "20px 20px 0px 20px").style("padding", "8px").style("border", "none").style("border-radius", "3px").style("display", "inline-block").text(arg.text);
1525
+ return button;
1526
+ }
1527
+
1528
+ // dom/breadcrumbs.js
1529
+ var BreadcrumbTrail = class {
1530
+ constructor(opts) {
1531
+ this.opts = opts;
1532
+ this.dom = {
1533
+ holder: opts.holder,
1534
+ trailDiv: opts.trailDiv || opts.holder.append("div")
1535
+ };
1536
+ setRenderers(this);
1537
+ }
1538
+ async main(opts = {}) {
1539
+ try {
1540
+ return await this.render();
1541
+ } catch (e) {
1542
+ if (e.stack) console.log(e.stack);
1543
+ else throw e;
1544
+ }
1545
+ }
1546
+ };
1547
+ function setRenderers(self) {
1548
+ self.render = async () => {
1549
+ self.crumbs = self.opts.crumbs;
1550
+ for (const crumb of self.crumbs) {
1551
+ crumb.label = crumb.label || crumb.name;
1552
+ if (!crumb.inTrail) crumb.inTrail = false;
1553
+ }
1554
+ const has_active_crumb = self.crumbs.find((crumb) => crumb.inTrail);
1555
+ if (!has_active_crumb) self.crumbs[0].inTrail = true;
1556
+ await self.dom.trailDiv.style("margin-left", "5px").style("font-size", ".75em").style("display", "inline-block").classed("sjpp-breadcrumb-trail", true).selectAll("span").data(self.crumbs).enter().append("span").classed("sjpp-breadcrumb", true).html((crumb) => crumb.link ? `&nbsp> <a href="${crumb.link}">${crumb.label}</a>` : `&nbsp> ${crumb.label}`).style("display", (crumb) => crumb.inTrail ? "inline-block" : "none").each(async function(crumb) {
1557
+ crumb.div = select_default(this);
1558
+ });
1559
+ const activeCrumbIndex = self.crumbs.findIndex((c) => c.inTrail);
1560
+ self.update(activeCrumbIndex);
1561
+ };
1562
+ self.update = (crumbIndex = 0) => {
1563
+ self.crumbs.forEach((crumb, i) => {
1564
+ crumb.inTrail = crumbIndex === i;
1565
+ });
1566
+ self.dom.trailDiv.selectAll("span").data(self.crumbs).each(async (crumb) => {
1567
+ crumb.div.style("display", crumb.inTrail ? "inline-block" : "none");
1568
+ });
1569
+ };
1570
+ }
1571
+
1572
+ // ../node_modules/highlight.js/es/core.js
1573
+ var import_core = __toESM(require_core(), 1);
1574
+ var core_default = import_core.default;
1575
+
1576
+ // ../node_modules/highlight.js/es/languages/javascript.js
1577
+ var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
1578
+ var KEYWORDS = [
1579
+ "as",
1580
+ // for exports
1581
+ "in",
1582
+ "of",
1583
+ "if",
1584
+ "for",
1585
+ "while",
1586
+ "finally",
1587
+ "var",
1588
+ "new",
1589
+ "function",
1590
+ "do",
1591
+ "return",
1592
+ "void",
1593
+ "else",
1594
+ "break",
1595
+ "catch",
1596
+ "instanceof",
1597
+ "with",
1598
+ "throw",
1599
+ "case",
1600
+ "default",
1601
+ "try",
1602
+ "switch",
1603
+ "continue",
1604
+ "typeof",
1605
+ "delete",
1606
+ "let",
1607
+ "yield",
1608
+ "const",
1609
+ "class",
1610
+ // JS handles these with a special rule
1611
+ // "get",
1612
+ // "set",
1613
+ "debugger",
1614
+ "async",
1615
+ "await",
1616
+ "static",
1617
+ "import",
1618
+ "from",
1619
+ "export",
1620
+ "extends"
1621
+ ];
1622
+ var LITERALS = [
1623
+ "true",
1624
+ "false",
1625
+ "null",
1626
+ "undefined",
1627
+ "NaN",
1628
+ "Infinity"
1629
+ ];
1630
+ var TYPES = [
1631
+ "Intl",
1632
+ "DataView",
1633
+ "Number",
1634
+ "Math",
1635
+ "Date",
1636
+ "String",
1637
+ "RegExp",
1638
+ "Object",
1639
+ "Function",
1640
+ "Boolean",
1641
+ "Error",
1642
+ "Symbol",
1643
+ "Set",
1644
+ "Map",
1645
+ "WeakSet",
1646
+ "WeakMap",
1647
+ "Proxy",
1648
+ "Reflect",
1649
+ "JSON",
1650
+ "Promise",
1651
+ "Float64Array",
1652
+ "Int16Array",
1653
+ "Int32Array",
1654
+ "Int8Array",
1655
+ "Uint16Array",
1656
+ "Uint32Array",
1657
+ "Float32Array",
1658
+ "Array",
1659
+ "Uint8Array",
1660
+ "Uint8ClampedArray",
1661
+ "ArrayBuffer",
1662
+ "BigInt64Array",
1663
+ "BigUint64Array",
1664
+ "BigInt"
1665
+ ];
1666
+ var ERROR_TYPES = [
1667
+ "EvalError",
1668
+ "InternalError",
1669
+ "RangeError",
1670
+ "ReferenceError",
1671
+ "SyntaxError",
1672
+ "TypeError",
1673
+ "URIError"
1674
+ ];
1675
+ var BUILT_IN_GLOBALS = [
1676
+ "setInterval",
1677
+ "setTimeout",
1678
+ "clearInterval",
1679
+ "clearTimeout",
1680
+ "require",
1681
+ "exports",
1682
+ "eval",
1683
+ "isFinite",
1684
+ "isNaN",
1685
+ "parseFloat",
1686
+ "parseInt",
1687
+ "decodeURI",
1688
+ "decodeURIComponent",
1689
+ "encodeURI",
1690
+ "encodeURIComponent",
1691
+ "escape",
1692
+ "unescape"
1693
+ ];
1694
+ var BUILT_IN_VARIABLES = [
1695
+ "arguments",
1696
+ "this",
1697
+ "super",
1698
+ "console",
1699
+ "window",
1700
+ "document",
1701
+ "localStorage",
1702
+ "module",
1703
+ "global"
1704
+ // Node.js
1705
+ ];
1706
+ var BUILT_INS = [].concat(
1707
+ BUILT_IN_GLOBALS,
1708
+ TYPES,
1709
+ ERROR_TYPES
1710
+ );
1711
+ function source(re) {
1712
+ if (!re) return null;
1713
+ if (typeof re === "string") return re;
1714
+ return re.source;
1715
+ }
1716
+ function lookahead(re) {
1717
+ return concat("(?=", re, ")");
1718
+ }
1719
+ function concat(...args) {
1720
+ const joined = args.map((x) => source(x)).join("");
1721
+ return joined;
1722
+ }
1723
+ function javascript(hljs2) {
1724
+ const hasClosingTag = (match, { after }) => {
1725
+ const tag = "</" + match[0].slice(1);
1726
+ const pos = match.input.indexOf(tag, after);
1727
+ return pos !== -1;
1728
+ };
1729
+ const IDENT_RE$1 = IDENT_RE;
1730
+ const FRAGMENT = {
1731
+ begin: "<>",
1732
+ end: "</>"
1733
+ };
1734
+ const XML_TAG = {
1735
+ begin: /<[A-Za-z0-9\\._:-]+/,
1736
+ end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
1737
+ /**
1738
+ * @param {RegExpMatchArray} match
1739
+ * @param {CallbackResponse} response
1740
+ */
1741
+ isTrulyOpeningTag: (match, response) => {
1742
+ const afterMatchIndex = match[0].length + match.index;
1743
+ const nextChar = match.input[afterMatchIndex];
1744
+ if (nextChar === "<") {
1745
+ response.ignoreMatch();
1746
+ return;
1747
+ }
1748
+ if (nextChar === ">") {
1749
+ if (!hasClosingTag(match, { after: afterMatchIndex })) {
1750
+ response.ignoreMatch();
1751
+ }
1752
+ }
1753
+ }
1754
+ };
1755
+ const KEYWORDS$1 = {
1756
+ $pattern: IDENT_RE,
1757
+ keyword: KEYWORDS,
1758
+ literal: LITERALS,
1759
+ built_in: BUILT_INS,
1760
+ "variable.language": BUILT_IN_VARIABLES
1761
+ };
1762
+ const decimalDigits = "[0-9](_?[0-9])*";
1763
+ const frac = `\\.(${decimalDigits})`;
1764
+ const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
1765
+ const NUMBER = {
1766
+ className: "number",
1767
+ variants: [
1768
+ // DecimalLiteral
1769
+ { begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
1770
+ { begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
1771
+ // DecimalBigIntegerLiteral
1772
+ { begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
1773
+ // NonDecimalIntegerLiteral
1774
+ { begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
1775
+ { begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
1776
+ { begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
1777
+ // LegacyOctalIntegerLiteral (does not include underscore separators)
1778
+ // https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
1779
+ { begin: "\\b0[0-7]+n?\\b" }
1780
+ ],
1781
+ relevance: 0
1782
+ };
1783
+ const SUBST = {
1784
+ className: "subst",
1785
+ begin: "\\$\\{",
1786
+ end: "\\}",
1787
+ keywords: KEYWORDS$1,
1788
+ contains: []
1789
+ // defined later
1790
+ };
1791
+ const HTML_TEMPLATE = {
1792
+ begin: "html`",
1793
+ end: "",
1794
+ starts: {
1795
+ end: "`",
1796
+ returnEnd: false,
1797
+ contains: [
1798
+ hljs2.BACKSLASH_ESCAPE,
1799
+ SUBST
1800
+ ],
1801
+ subLanguage: "xml"
1802
+ }
1803
+ };
1804
+ const CSS_TEMPLATE = {
1805
+ begin: "css`",
1806
+ end: "",
1807
+ starts: {
1808
+ end: "`",
1809
+ returnEnd: false,
1810
+ contains: [
1811
+ hljs2.BACKSLASH_ESCAPE,
1812
+ SUBST
1813
+ ],
1814
+ subLanguage: "css"
1815
+ }
1816
+ };
1817
+ const TEMPLATE_STRING = {
1818
+ className: "string",
1819
+ begin: "`",
1820
+ end: "`",
1821
+ contains: [
1822
+ hljs2.BACKSLASH_ESCAPE,
1823
+ SUBST
1824
+ ]
1825
+ };
1826
+ const JSDOC_COMMENT = hljs2.COMMENT(
1827
+ /\/\*\*(?!\/)/,
1828
+ "\\*/",
1829
+ {
1830
+ relevance: 0,
1831
+ contains: [
1832
+ {
1833
+ begin: "(?=@[A-Za-z]+)",
1834
+ relevance: 0,
1835
+ contains: [
1836
+ {
1837
+ className: "doctag",
1838
+ begin: "@[A-Za-z]+"
1839
+ },
1840
+ {
1841
+ className: "type",
1842
+ begin: "\\{",
1843
+ end: "\\}",
1844
+ excludeEnd: true,
1845
+ excludeBegin: true,
1846
+ relevance: 0
1847
+ },
1848
+ {
1849
+ className: "variable",
1850
+ begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
1851
+ endsParent: true,
1852
+ relevance: 0
1853
+ },
1854
+ // eat spaces (not newlines) so we can find
1855
+ // types or variables
1856
+ {
1857
+ begin: /(?=[^\n])\s/,
1858
+ relevance: 0
1859
+ }
1860
+ ]
1861
+ }
1862
+ ]
1863
+ }
1864
+ );
1865
+ const COMMENT = {
1866
+ className: "comment",
1867
+ variants: [
1868
+ JSDOC_COMMENT,
1869
+ hljs2.C_BLOCK_COMMENT_MODE,
1870
+ hljs2.C_LINE_COMMENT_MODE
1871
+ ]
1872
+ };
1873
+ const SUBST_INTERNALS = [
1874
+ hljs2.APOS_STRING_MODE,
1875
+ hljs2.QUOTE_STRING_MODE,
1876
+ HTML_TEMPLATE,
1877
+ CSS_TEMPLATE,
1878
+ TEMPLATE_STRING,
1879
+ NUMBER,
1880
+ hljs2.REGEXP_MODE
1881
+ ];
1882
+ SUBST.contains = SUBST_INTERNALS.concat({
1883
+ // we need to pair up {} inside our subst to prevent
1884
+ // it from ending too early by matching another }
1885
+ begin: /\{/,
1886
+ end: /\}/,
1887
+ keywords: KEYWORDS$1,
1888
+ contains: [
1889
+ "self"
1890
+ ].concat(SUBST_INTERNALS)
1891
+ });
1892
+ const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
1893
+ const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
1894
+ // eat recursive parens in sub expressions
1895
+ {
1896
+ begin: /\(/,
1897
+ end: /\)/,
1898
+ keywords: KEYWORDS$1,
1899
+ contains: ["self"].concat(SUBST_AND_COMMENTS)
1900
+ }
1901
+ ]);
1902
+ const PARAMS = {
1903
+ className: "params",
1904
+ begin: /\(/,
1905
+ end: /\)/,
1906
+ excludeBegin: true,
1907
+ excludeEnd: true,
1908
+ keywords: KEYWORDS$1,
1909
+ contains: PARAMS_CONTAINS
1910
+ };
1911
+ const CLASS_OR_EXTENDS = {
1912
+ variants: [
1913
+ {
1914
+ match: [
1915
+ /class/,
1916
+ /\s+/,
1917
+ IDENT_RE$1
1918
+ ],
1919
+ scope: {
1920
+ 1: "keyword",
1921
+ 3: "title.class"
1922
+ }
1923
+ },
1924
+ {
1925
+ match: [
1926
+ /extends/,
1927
+ /\s+/,
1928
+ concat(IDENT_RE$1, "(", concat(/\./, IDENT_RE$1), ")*")
1929
+ ],
1930
+ scope: {
1931
+ 1: "keyword",
1932
+ 3: "title.class.inherited"
1933
+ }
1934
+ }
1935
+ ]
1936
+ };
1937
+ const CLASS_REFERENCE = {
1938
+ relevance: 0,
1939
+ match: /\b[A-Z][a-z]+([A-Z][a-z]+)*/,
1940
+ className: "title.class",
1941
+ keywords: {
1942
+ _: [
1943
+ // se we still get relevance credit for JS library classes
1944
+ ...TYPES,
1945
+ ...ERROR_TYPES
1946
+ ]
1947
+ }
1948
+ };
1949
+ const USE_STRICT = {
1950
+ label: "use_strict",
1951
+ className: "meta",
1952
+ relevance: 10,
1953
+ begin: /^\s*['"]use (strict|asm)['"]/
1954
+ };
1955
+ const FUNCTION_DEFINITION = {
1956
+ variants: [
1957
+ {
1958
+ match: [
1959
+ /function/,
1960
+ /\s+/,
1961
+ IDENT_RE$1,
1962
+ /(?=\s*\()/
1963
+ ]
1964
+ },
1965
+ // anonymous function
1966
+ {
1967
+ match: [
1968
+ /function/,
1969
+ /\s*(?=\()/
1970
+ ]
1971
+ }
1972
+ ],
1973
+ className: {
1974
+ 1: "keyword",
1975
+ 3: "title.function"
1976
+ },
1977
+ label: "func.def",
1978
+ contains: [PARAMS],
1979
+ illegal: /%/
1980
+ };
1981
+ const UPPER_CASE_CONSTANT = {
1982
+ relevance: 0,
1983
+ match: /\b[A-Z][A-Z_0-9]+\b/,
1984
+ className: "variable.constant"
1985
+ };
1986
+ function noneOf(list) {
1987
+ return concat("(?!", list.join("|"), ")");
1988
+ }
1989
+ const FUNCTION_CALL = {
1990
+ match: concat(
1991
+ /\b/,
1992
+ noneOf([
1993
+ ...BUILT_IN_GLOBALS,
1994
+ "super"
1995
+ ]),
1996
+ IDENT_RE$1,
1997
+ lookahead(/\(/)
1998
+ ),
1999
+ className: "title.function",
2000
+ relevance: 0
2001
+ };
2002
+ const PROPERTY_ACCESS = {
2003
+ begin: concat(/\./, lookahead(
2004
+ concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
2005
+ )),
2006
+ end: IDENT_RE$1,
2007
+ excludeBegin: true,
2008
+ keywords: "prototype",
2009
+ className: "property",
2010
+ relevance: 0
2011
+ };
2012
+ const GETTER_OR_SETTER = {
2013
+ match: [
2014
+ /get|set/,
2015
+ /\s+/,
2016
+ IDENT_RE$1,
2017
+ /(?=\()/
2018
+ ],
2019
+ className: {
2020
+ 1: "keyword",
2021
+ 3: "title.function"
2022
+ },
2023
+ contains: [
2024
+ {
2025
+ // eat to avoid empty params
2026
+ begin: /\(\)/
2027
+ },
2028
+ PARAMS
2029
+ ]
2030
+ };
2031
+ const FUNC_LEAD_IN_RE = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs2.UNDERSCORE_IDENT_RE + ")\\s*=>";
2032
+ const FUNCTION_VARIABLE = {
2033
+ match: [
2034
+ /const|var|let/,
2035
+ /\s+/,
2036
+ IDENT_RE$1,
2037
+ /\s*/,
2038
+ /=\s*/,
2039
+ lookahead(FUNC_LEAD_IN_RE)
2040
+ ],
2041
+ className: {
2042
+ 1: "keyword",
2043
+ 3: "title.function"
2044
+ },
2045
+ contains: [
2046
+ PARAMS
2047
+ ]
2048
+ };
2049
+ return {
2050
+ name: "Javascript",
2051
+ aliases: ["js", "jsx", "mjs", "cjs"],
2052
+ keywords: KEYWORDS$1,
2053
+ // this will be extended by TypeScript
2054
+ exports: { PARAMS_CONTAINS },
2055
+ illegal: /#(?![$_A-z])/,
2056
+ contains: [
2057
+ hljs2.SHEBANG({
2058
+ label: "shebang",
2059
+ binary: "node",
2060
+ relevance: 5
2061
+ }),
2062
+ USE_STRICT,
2063
+ hljs2.APOS_STRING_MODE,
2064
+ hljs2.QUOTE_STRING_MODE,
2065
+ HTML_TEMPLATE,
2066
+ CSS_TEMPLATE,
2067
+ TEMPLATE_STRING,
2068
+ COMMENT,
2069
+ NUMBER,
2070
+ CLASS_REFERENCE,
2071
+ {
2072
+ className: "attr",
2073
+ begin: IDENT_RE$1 + lookahead(":"),
2074
+ relevance: 0
2075
+ },
2076
+ FUNCTION_VARIABLE,
2077
+ {
2078
+ // "value" container
2079
+ begin: "(" + hljs2.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
2080
+ keywords: "return throw case",
2081
+ relevance: 0,
2082
+ contains: [
2083
+ COMMENT,
2084
+ hljs2.REGEXP_MODE,
2085
+ {
2086
+ className: "function",
2087
+ // we have to count the parens to make sure we actually have the
2088
+ // correct bounding ( ) before the =>. There could be any number of
2089
+ // sub-expressions inside also surrounded by parens.
2090
+ begin: FUNC_LEAD_IN_RE,
2091
+ returnBegin: true,
2092
+ end: "\\s*=>",
2093
+ contains: [
2094
+ {
2095
+ className: "params",
2096
+ variants: [
2097
+ {
2098
+ begin: hljs2.UNDERSCORE_IDENT_RE,
2099
+ relevance: 0
2100
+ },
2101
+ {
2102
+ className: null,
2103
+ begin: /\(\s*\)/,
2104
+ skip: true
2105
+ },
2106
+ {
2107
+ begin: /\(/,
2108
+ end: /\)/,
2109
+ excludeBegin: true,
2110
+ excludeEnd: true,
2111
+ keywords: KEYWORDS$1,
2112
+ contains: PARAMS_CONTAINS
2113
+ }
2114
+ ]
2115
+ }
2116
+ ]
2117
+ },
2118
+ {
2119
+ // could be a comma delimited list of params to a function call
2120
+ begin: /,/,
2121
+ relevance: 0
2122
+ },
2123
+ {
2124
+ match: /\s+/,
2125
+ relevance: 0
2126
+ },
2127
+ {
2128
+ // JSX
2129
+ variants: [
2130
+ { begin: FRAGMENT.begin, end: FRAGMENT.end },
2131
+ {
2132
+ begin: XML_TAG.begin,
2133
+ // we carefully check the opening tag to see if it truly
2134
+ // is a tag and not a false positive
2135
+ "on:begin": XML_TAG.isTrulyOpeningTag,
2136
+ end: XML_TAG.end
2137
+ }
2138
+ ],
2139
+ subLanguage: "xml",
2140
+ contains: [
2141
+ {
2142
+ begin: XML_TAG.begin,
2143
+ end: XML_TAG.end,
2144
+ skip: true,
2145
+ contains: ["self"]
2146
+ }
2147
+ ]
2148
+ }
2149
+ ]
2150
+ },
2151
+ FUNCTION_DEFINITION,
2152
+ {
2153
+ // prevent this from getting swallowed up by function
2154
+ // since they appear "function like"
2155
+ beginKeywords: "while if switch catch for"
2156
+ },
2157
+ {
2158
+ // we have to count the parens to make sure we actually have the correct
2159
+ // bounding ( ). There could be any number of sub-expressions inside
2160
+ // also surrounded by parens.
2161
+ begin: "\\b(?!function)" + hljs2.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
2162
+ // end parens
2163
+ returnBegin: true,
2164
+ label: "func.def",
2165
+ contains: [
2166
+ PARAMS,
2167
+ hljs2.inherit(hljs2.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
2168
+ ]
2169
+ },
2170
+ // catch ... so it won't trigger the property rule below
2171
+ {
2172
+ match: /\.\.\./,
2173
+ relevance: 0
2174
+ },
2175
+ PROPERTY_ACCESS,
2176
+ // hack: prevents detection of keywords in some circumstances
2177
+ // .keyword()
2178
+ // $keyword = x
2179
+ {
2180
+ match: "\\$" + IDENT_RE$1,
2181
+ relevance: 0
2182
+ },
2183
+ {
2184
+ match: [/\bconstructor(?=\s*\()/],
2185
+ className: { 1: "title.function" },
2186
+ contains: [PARAMS]
2187
+ },
2188
+ FUNCTION_CALL,
2189
+ UPPER_CASE_CONSTANT,
2190
+ CLASS_OR_EXTENDS,
2191
+ GETTER_OR_SETTER,
2192
+ {
2193
+ match: /\$[(.]/
2194
+ // relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
2195
+ }
2196
+ ]
2197
+ };
2198
+ }
2199
+ var javascript_default = javascript;
2200
+
2201
+ // ../node_modules/highlight.js/es/languages/json.js
2202
+ function json(hljs2) {
2203
+ const ATTRIBUTE = {
2204
+ className: "attr",
2205
+ begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
2206
+ relevance: 1.01
2207
+ };
2208
+ const PUNCTUATION = {
2209
+ match: /[{}[\],:]/,
2210
+ className: "punctuation",
2211
+ relevance: 0
2212
+ };
2213
+ const LITERALS2 = {
2214
+ beginKeywords: [
2215
+ "true",
2216
+ "false",
2217
+ "null"
2218
+ ].join(" ")
2219
+ };
2220
+ return {
2221
+ name: "JSON",
2222
+ contains: [
2223
+ ATTRIBUTE,
2224
+ PUNCTUATION,
2225
+ hljs2.QUOTE_STRING_MODE,
2226
+ LITERALS2,
2227
+ hljs2.C_NUMBER_MODE,
2228
+ hljs2.C_LINE_COMMENT_MODE,
2229
+ hljs2.C_BLOCK_COMMENT_MODE
2230
+ ],
2231
+ illegal: "\\S"
2232
+ };
2233
+ }
2234
+ var json_default = json;
2235
+
2236
+ // appdrawer/adSandbox.js
2237
+ core_default.registerLanguage("javascript", javascript_default);
2238
+ core_default.registerLanguage("json", json_default);
2239
+ async function openSandbox(element, pageArgs) {
2240
+ const sandboxDiv = newSandboxDiv(pageArgs.sandboxDiv);
2241
+ sandboxDiv.header_row;
2242
+ sandboxDiv.header.append("span").html(
2243
+ element.type != "nestedCard" ? `<a href="${sessionStorage.getItem("hostURL")}/?appcard=${element.sandboxJson || element.sandboxHtml}">${element.name}</a>` : element.name
2244
+ );
2245
+ sandboxDiv.body.style("overflow", "hidden").style("background-color", "white");
2246
+ if (element.type == "nestedCard") return openNestedCardSandbox(element, sandboxDiv, pageArgs);
2247
+ const res = element.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxHtml}.txt`);
2248
+ if (res.error) {
2249
+ sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2250
+ return;
2251
+ }
2252
+ if (element.type == "card") return openCardSandbox(element, res, sandboxDiv, pageArgs);
2253
+ if (element.type == "dsButton") return openDatasetButtonSandbox(element, pageArgs, res, sandboxDiv);
2254
+ }
2255
+ async function openNestedCardSandbox(nestedCard, sandboxDiv, pageArgs) {
2256
+ sandboxDiv.body.style("justify-content", "center").style("background-color", "#f2ebdc");
2257
+ const ucList = sandboxDiv.body.append("ul").style("list-style", "none").style("display", "grid").style("grid-template-columns", "40vw 40vw").style("grid-template-rows", "repeat(1, auto)").style("gap", "5px");
2258
+ const filteredChildren = nestedCard.children.filter((e) => !e.hidden);
2259
+ sandboxDiv.header.trail = new BreadcrumbTrail({
2260
+ holder: sandboxDiv.header,
2261
+ crumbs: filteredChildren
2262
+ });
2263
+ filteredChildren.forEach((child) => {
2264
+ const uc = ucList.append("li");
2265
+ uc.attr("class", "sjpp-app-drawer-card").style("padding", "10px").style("margin", "5px").html(
2266
+ `<p style="margin-left: 12px; font-size:14.5px;font-weight:500; display: block;">${child.name}</p>
2267
+ <p style="display: block; font-size: 13px; font-weight: 300; margin-left: 20px; justify-content: center; font-style:oblique; color: #403f3f;">${child.description}</p>`
2268
+ ).on("click", async (event) => {
2269
+ event.stopPropagation();
2270
+ ucList.selectAll("*").remove();
2271
+ const res = child.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxHtml}.txt`);
2272
+ if (res.error) {
2273
+ sayerror(sandboxDiv.body.insert("div", "div"), res.error);
2274
+ return;
2275
+ }
2276
+ if (child.type == "card") {
2277
+ sandboxDiv.header.trail.main();
2278
+ openCardSandbox(child, res, sandboxDiv, pageArgs);
2279
+ const crumbIndex = filteredChildren.findIndex((c) => c == child);
2280
+ sandboxDiv.header.trail.update(crumbIndex);
2281
+ }
2282
+ if (child.type == "dsButton") return openDatasetButtonSandbox(child, pageArgs.app.opts, res, sandboxDiv);
2283
+ });
2284
+ return JSON.stringify(uc);
2285
+ });
2286
+ }
2287
+ async function openCardSandbox(card, res, sandboxDiv, pageArgs) {
2288
+ if (card.sandboxHtml) {
2289
+ const renderHtml = await res.text();
2290
+ return sandboxDiv.body.append("div").style("padding", "0vw 0vw 2vw 0vw").append("div").style("background-color", "white").style("margin", "0vw 10vw").style("padding", "10px").append("div").style("margin", "0vw 5vw").html(renderHtml);
2291
+ }
2292
+ sandboxDiv.body.style("background-color", "white");
2293
+ const sandboxArgs = {
2294
+ intro: res.intro,
2295
+ ppcalls: res.ppcalls.filter((e) => !e.hidden),
2296
+ buttons: res.buttons,
2297
+ arrowButtons: res.arrowButtons,
2298
+ ribbonMessage: res.ribbonMessage,
2299
+ citation: res.citation_id
2300
+ };
2301
+ addHtmlText(sandboxArgs.intro, sandboxDiv.body);
2302
+ if (card.ribbon) addHtmlText(sandboxArgs.ribbonMessage, sandboxDiv.body, card.ribbon);
2303
+ const mainButtonsDiv = sandboxDiv.body.append("div");
2304
+ const mainButtonsContentDiv = sandboxDiv.body.append("div");
2305
+ addButtons(sandboxArgs.buttons, mainButtonsDiv);
2306
+ addArrowBtns(sandboxArgs, "main", mainButtonsDiv, mainButtonsContentDiv, pageArgs);
2307
+ if (card.disableTopTabs) renderContent(sandboxArgs.ppcalls[0], sandboxDiv.body, card, pageArgs);
2308
+ else {
2309
+ const topTabsDiv = sandboxDiv.body.append("div").style("display", "flex").style("align-content", "end").style("justify-content", "center").style("border", "none").style("border-bottom", "1px solid lightgray").style("width", "100%").style("font-size", "20px");
2310
+ const tabsContentDiv = sandboxDiv.body.append("div");
2311
+ makeParentTabsMenu(sandboxArgs.ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs);
2312
+ }
2313
+ }
2314
+ function renderContent(ppcalls, div, card, pageArgs) {
2315
+ addHtmlText(ppcalls.message, div);
2316
+ const buttonsDiv = div.append("div").style("margin-bottom", "20px");
2317
+ const buttonsContentDiv = div.append("div");
2318
+ addButtons(ppcalls.buttons, buttonsDiv);
2319
+ makeDataDownload(ppcalls.download, buttonsDiv, card.section);
2320
+ const enabled = isFeatureEnabled(ppcalls.configFeature);
2321
+ if (enabled) showURLLaunch(ppcalls.urlparam, buttonsDiv, card.section);
2322
+ addArrowBtns(ppcalls, "call", buttonsDiv, buttonsContentDiv, pageArgs);
2323
+ if (!card.disableTopTabs) {
2324
+ div.append("hr").style("border", "0").style("border-top", "1px dashed #e3e3e6").style("width", "100%");
2325
+ }
2326
+ if (!enabled) {
2327
+ div.append("p").style("margin", "20px").style("color", "#858585").text(getDisabledMessage(ppcalls.configFeature));
2328
+ return;
2329
+ }
2330
+ const runpp_arg = {
2331
+ holder: div.append("div").style("margin", "20px").node(),
2332
+ /* Do not use window.location.origin
2333
+ Will break the embedder (/genomes will be requested from https:/embedder.site.org/genomes,
2334
+ for example). It's very rare for an embedder to want to show this default "portal" header
2335
+ because external portals usually have their own headers, but it will affect simple html
2336
+ pages that embed a runpp() call where the app header is not hidden. */
2337
+ host: ppcalls.runargs.host || sessionStorage.getItem("hostURL")
2338
+ };
2339
+ const callpp = JSON.parse(JSON.stringify(ppcalls.runargs));
2340
+ runproteinpaint(Object.assign(runpp_arg, callpp));
2341
+ }
2342
+ function makeTopTabs(ppcalls, card, sandboxDiv, pageArgs) {
2343
+ const tabs = [];
2344
+ const ui = ppcalls.findIndex((t) => t.isUi == true);
2345
+ const notui = ppcalls.findIndex((t) => t.isUi == void 0);
2346
+ const uiPresent = ui != -1 ? true : false;
2347
+ if (uiPresent == true) {
2348
+ tabs.push({
2349
+ label: "Add Your Data",
2350
+ active: false,
2351
+ callback: async (event, tab) => {
2352
+ try {
2353
+ const runpp_arg = {
2354
+ holder: tab.contentHolder.append("div").style("margin", "20px").node(),
2355
+ sandbox_header: tab.contentHolder,
2356
+ host: sessionStorage.getItem("hostURL")
2357
+ };
2358
+ const callpp = JSON.parse(JSON.stringify(ppcalls[ui].runargs));
2359
+ runproteinpaint(Object.assign(runpp_arg, callpp));
2360
+ delete tab.callback;
2361
+ } catch (e) {
2362
+ if (e.stack) console.error(e.stack);
2363
+ else throw e;
2364
+ }
2365
+ }
2366
+ });
2367
+ }
2368
+ if (ppcalls.length == 1 && uiPresent != true || ppcalls.length == 2 && uiPresent == true) {
2369
+ tabs.push({
2370
+ label: "Example",
2371
+ active: false,
2372
+ callback: async (event, tab) => {
2373
+ try {
2374
+ renderContent(ppcalls[notui], tab.contentHolder, card, pageArgs);
2375
+ delete tab.callback;
2376
+ } catch (e) {
2377
+ if (e.stack) console.error(e.stack);
2378
+ else throw e;
2379
+ }
2380
+ }
2381
+ });
2382
+ }
2383
+ if (ppcalls.length > 1 && uiPresent == false || ppcalls.length > 2 && uiPresent == true) {
2384
+ tabs.push({
2385
+ label: "Examples",
2386
+ active: pageArgs?.example ? true : false,
2387
+ callback: async (event, tab) => {
2388
+ try {
2389
+ const examplesOnly = ppcalls.filter((p) => p.isUi != true);
2390
+ makeLeftsideTabMenu(card, tab.contentHolder, examplesOnly, sandboxDiv, pageArgs);
2391
+ delete tab.callback;
2392
+ } catch (e) {
2393
+ if (e.stack) console.error(e.stack);
2394
+ else throw e;
2395
+ }
2396
+ }
2397
+ });
2398
+ }
2399
+ return tabs;
2400
+ }
2401
+ function makeParentTabsMenu(ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs) {
2402
+ const tabs = makeTopTabs(ppcalls, card, sandboxDiv, pageArgs);
2403
+ new Tabs({ holder: topTabsDiv, contentHolder: tabsContentDiv, tabs }).main();
2404
+ }
2405
+ async function makeLeftsideTabMenu(card, contentHolder, examplesOnly, sandboxDiv, pageArgs) {
2406
+ const tabs = examplesOnly.map((p, index) => getTabData(p, index, card.section));
2407
+ sandboxDiv.header.trail = await new BreadcrumbTrail({
2408
+ holder: sandboxDiv.header,
2409
+ crumbs: tabs
2410
+ });
2411
+ function getTabData(ppcalls, i, section) {
2412
+ const active = pageArgs?.example ? pageArgs.example.toUpperCase() == ppcalls.label.toUpperCase() : i === 0;
2413
+ return {
2414
+ active,
2415
+ inTrail: active,
2416
+ link: `${sessionStorage.getItem("hostURL")}/?appcard=${card.sandboxJson || card.sandboxHtml}&example=${ppcalls.label}`,
2417
+ label: ppcalls.label + (isFeatureEnabled(ppcalls.configFeature) ? "" : " (disabled)"),
2418
+ callback: async (event, tab) => {
2419
+ const wait = tab_wait(tab.contentHolder);
2420
+ try {
2421
+ if (!tab.rendered) {
2422
+ appear(tab.contentHolder);
2423
+ renderContent(ppcalls, tab.contentHolder, section, pageArgs);
2424
+ wait.remove();
2425
+ }
2426
+ tab.rendered = true;
2427
+ const crumbIndex = tabs.findIndex((t) => t == tab);
2428
+ sandboxDiv.header.trail.update(crumbIndex);
2429
+ wait.remove();
2430
+ } catch (e) {
2431
+ wait.text("Error: " + (e.message || e));
2432
+ }
2433
+ }
2434
+ };
2435
+ }
2436
+ sandboxDiv.header.trail.main();
2437
+ const wrapper = contentHolder.append("div").style("display", "grid").style("grid-template-columns", "minmax(min-content, 10vw) minmax(60vw, 1fr)").classed("sjpp-vertical-tab-menu", true).style("word-break", "break-word");
2438
+ const tabsDiv = wrapper.append("div").classed("sjpp-tabs-div", true).style("border-right", "1px solid lightgray");
2439
+ const tabsContentDiv = wrapper.append("div").classed("sjpp-content-div", true);
2440
+ new Tabs({
2441
+ holder: tabsDiv,
2442
+ contentHolder: tabsContentDiv,
2443
+ tabs,
2444
+ linePosition: "right",
2445
+ tabsPosition: "vertical",
2446
+ gap: "10px"
2447
+ }).main();
2448
+ }
2449
+ function getDisabledMessage(configFeature) {
2450
+ if (configFeature == "ALLOW_remotefilefromurl") return "Remote file not supported on this server.";
2451
+ return "This example is not enabled on this server.";
2452
+ }
2453
+ function addHtmlText(text, div, ribbon) {
2454
+ if (ribbon && ribbon.expireDate) {
2455
+ const today = /* @__PURE__ */ new Date();
2456
+ const expire = new Date(ribbon.expireDate);
2457
+ if (expire > today && text != void 0 && text) {
2458
+ let boldedText2 = function() {
2459
+ const str = ribbon.text.toLowerCase();
2460
+ return str[0].toUpperCase() + str.slice(1);
2461
+ };
2462
+ var boldedText = boldedText2;
2463
+ div.append("div").style("margin", "20px").html(`<p style="display:inline-block;font-weight:bold">${boldedText2()}: &nbsp</p>${text}`);
2464
+ }
2465
+ } else if (text != void 0 && text) {
2466
+ div.append("div").style("margin", "20px").html(text);
2467
+ }
2468
+ }
2469
+ function addButtons(buttons, div) {
2470
+ if (buttons) {
2471
+ buttons.forEach((button) => {
2472
+ const sandboxButton = makeButton({ div, text: button.name });
2473
+ sandboxButton.on("click", (event) => {
2474
+ event.stopPropagation();
2475
+ if (button.download) window.open(`${button.download}`, "_self", "download");
2476
+ else window.open(`${button.link}`, `${button.name}`);
2477
+ });
2478
+ });
2479
+ }
2480
+ }
2481
+ function makeArrowButtons(arrows, btns) {
2482
+ if (arrows) {
2483
+ arrows.forEach((arrow) => {
2484
+ const contents = `<div style="margin:10px;" class="sjpp-arrow-content">
2485
+ ${arrow.message ? `<div style="margin: 1vw;">${arrow.message}</div>` : ""}
2486
+ ${arrow.links ? arrow.links.map((hyperlink) => {
2487
+ if (!hyperlink) return "";
2488
+ if (hyperlink.download) {
2489
+ return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.download}", target="_self" download>${hyperlink.name}</a>`;
2490
+ }
2491
+ if (hyperlink.link) {
2492
+ return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.link}", target="_blank">${hyperlink.name}</a>`;
2493
+ }
2494
+ }).join("") : ""}</div>`;
2495
+ btns.push({
2496
+ name: arrow.name,
2497
+ callback: async (rdiv) => {
2498
+ try {
2499
+ rdiv.append("div").html(contents);
2500
+ } catch (e) {
2501
+ alert("Error: " + e);
2502
+ }
2503
+ }
2504
+ });
2505
+ });
2506
+ }
2507
+ }
2508
+ async function addArrowBtns(args, type, bdiv, rdiv, pageArgs) {
2509
+ let btns = [];
2510
+ if (type == "call") showCode(args, btns);
2511
+ const genome = args?.runargs?.genome;
2512
+ if (args.datapreview && genome) showViewData(btns, args.datapreview, genome);
2513
+ if (args.citation || args.data_source) {
2514
+ const res = await dofetch3(`/${pageArgs.app.cardsPath}/citations.json`);
2515
+ if (res.error) {
2516
+ console.error(`Error: ${res.error}`);
2517
+ return;
2518
+ }
2519
+ for (const pub of res.publications) {
2520
+ if (args.citation == pub.id || args.data_source == pub.id) {
2521
+ const label = args.data_source ? "Data Source" : "Citation";
2522
+ showCitation(btns, pub, label);
2523
+ }
2524
+ }
2525
+ }
2526
+ makeArrowButtons(args.arrowButtons, btns);
2527
+ const active_btn = btns.findIndex((b) => b.active) == -1 ? false : true;
2528
+ for (let i = 0; i < btns.length; i++) {
2529
+ const btn = btns[i];
2530
+ btn.btn = makeButton({ div: bdiv, text: btn.name + " \u25BC" });
2531
+ btn.c = rdiv.append("div").style("margin", "20px 0px 10px 20px").style("display", active_btn && i == 0 || btn.active ? "block" : "none");
2532
+ if (active_btn && i == 0 && btn.callback || btn.active) {
2533
+ btn.callback(btn.c);
2534
+ delete btn.callback;
2535
+ }
2536
+ btn.btn.on("click", () => {
2537
+ if (btn.c.style("display") != "none") {
2538
+ btn.btn.text(btn.name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2539
+ btn.c.style("display", "none");
2540
+ } else {
2541
+ btn.btn.text(btn.name + " \u25B2").style("color", "whitesmoke").style("background-color", "#487ba8");
2542
+ appear(btn.c);
2543
+ for (let j = 0; j < btns.length; j++) {
2544
+ if (i != j) {
2545
+ btns[j].btn.text(btns[j].name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
2546
+ btns[j].c.style("display", "none");
2547
+ }
2548
+ }
2549
+ }
2550
+ if (btn.callback) {
2551
+ btn.callback(btn.c);
2552
+ delete btn.callback;
2553
+ }
2554
+ });
2555
+ }
2556
+ }
2557
+ function showURLLaunch(urlparam, div, section) {
2558
+ if (!urlparam) return;
2559
+ const URLbtn = makeButton({ div, text: section == "apps" ? "Run app from URL" : "Run track from URL" });
2560
+ URLbtn.on("click", (event) => {
2561
+ const hostURL = getHostURL();
2562
+ event.stopPropagation();
2563
+ window.open(`${hostURL}${urlparam}`, "_blank");
2564
+ });
2565
+ }
2566
+ function makeDataDownload(download, div, section) {
2567
+ if (!download) return;
2568
+ const dataBtn = makeButton({
2569
+ div,
2570
+ text: section == "apps" ? "Download App File(s)" : "Download Track File(s)"
2571
+ });
2572
+ dataBtn.on("click", (event) => {
2573
+ event.stopPropagation();
2574
+ window.open(`${download}`, "_self", "download");
2575
+ });
2576
+ }
2577
+ async function showCode(ppcalls, btns) {
2578
+ if (ppcalls.isUi == true) return;
2579
+ const runppCode = core_default.highlight(
2580
+ `runproteinpaint({
2581
+ host: "${sessionStorage.getItem("hostURL")}",
2582
+ holder: document.getElementById('a'),
2583
+ ` + // Fix for first argument not properly appearing underneath holder
2584
+ JSON.stringify(ppcalls.runargs, "", 4).replaceAll(/"(.+)"\s*:/g, "$1:").replaceAll(/\\t/g, " ").replaceAll(/\\n/g, "\r ").slice(1, -1).trim() + `\r})`,
2585
+ { language: "javascript" }
2586
+ ).value;
2587
+ const runppContents = `<pre style="border: 1px solid #d7d7d9; align-items: center; justify-content: center; margin: 0px 10px 5px 30px; overflow:auto; max-height:400px; ${ppcalls.jsonpath ? `min-height:400px;` : `min-height: auto;`}">
2588
+ <code style="font-size:14px; display:block;">${runppCode}</code></pre>`;
2589
+ btns.push({
2590
+ name: "Code",
2591
+ callback: async (rdiv) => {
2592
+ try {
2593
+ if (ppcalls.jsonpath) {
2594
+ const includeJson = await showJsonCode(ppcalls);
2595
+ const runppHeader = "<p style='margin:20px 5px 20px 25px;'>ProteinPaint JS code</p>";
2596
+ const grid = rdiv.append("div").style("display", "grid").style("grid-template-columns", "repeat(auto-fit, minmax(100px, 1fr))").style("gap", "5px");
2597
+ grid.append("div").style("display", "block").html(runppHeader + runppContents);
2598
+ grid.append("div").style("display", "block").html(includeJson);
2599
+ } else {
2600
+ rdiv.append("div").html(runppContents);
2601
+ }
2602
+ } catch (e) {
2603
+ alert("Error: " + e);
2604
+ }
2605
+ }
2606
+ });
2607
+ }
2608
+ async function showJsonCode(ppcalls) {
2609
+ const jsondata = await dofetch("textfile", { file: ppcalls.jsonpath });
2610
+ const json_code = JSON.parse(jsondata.text);
2611
+ const splitpath = ppcalls.jsonpath.split("/");
2612
+ const filename = splitpath[splitpath.length - 1];
2613
+ let lines = JSON.stringify(json_code, "", 4).split("\n");
2614
+ let slicedjson;
2615
+ if (lines.length > 120) {
2616
+ lines = lines.slice(0, 100);
2617
+ slicedjson = true;
2618
+ }
2619
+ const code = core_default.highlight(lines.join("\n"), { language: "json" }).value;
2620
+ const json_contents = `<div>
2621
+ <p style="margin: 20px 5px 20px 25px; display: inline-block;">JSON code </p>
2622
+ <p style="display: inline-block; color: #696969; font-style:oblique;"> (contents of ${filename})</p>
2623
+ </div>
2624
+ <pre style="border: 1px solid #d7d7d9; align-items: center; justify-content: center; margin: 0px 10px 5px 10px; max-height:400px; min-height:400px; overflow:auto;">
2625
+ <code class="sjpp-json-code" style="font-size:14px; display:block;">${slicedjson == true ? `${code} ...<br><p style='margin:20px 25px; justify-content:center;'>Showing first 100 lines. To see the entire JSON, download ${filename} from the button above.</p>` : `${code}`}
2626
+ </code>
2627
+ </pre>`;
2628
+ return json_contents;
2629
+ }
2630
+ function showCitation(btns, pub, label) {
2631
+ btns.push({
2632
+ name: label,
2633
+ callback: async (rdiv) => {
2634
+ try {
2635
+ rdiv.append("div").style("margin-left", "5w").html(
2636
+ `<span style="display: inline-block;">${pub.title}. <em>${pub.journal}</em>, ${pub.year}.
2637
+ ${pub.pmid ? ` PMID: <a href="${pub.pmidURL}" target="${pub.pmid}">${pub.pmid}</a>` : ` doi: <a href="${pub.doi}" target="${pub.doi}">${pub.doi}</a>`}</span>`
2638
+ );
2639
+ } catch (e) {
2640
+ alert("Error: " + e);
2641
+ }
2642
+ }
2643
+ });
2644
+ }
2645
+ function makeDataPreviewDiv(content, contLength, div, filename, message) {
2646
+ div.append("div").html(`
2647
+ ${message ? `<p style="display:block;">${message}<p>` : ""}
2648
+ <p style="display: inline-block;">Data preview <span style="color: #696969; font-style:oblique;">
2649
+ ${contLength > 10 ? `(first ${content.length} rows of ${filename})</span></p>` : `(content of ${filename})</span></p>`}
2650
+ `);
2651
+ const bedjContent_div = div.append("div").style("display", "grid").style("grid-template-columns", "1fr").style("max-width", "80%").style("margin-left", "10px").style("border", "1px solid rgb(227, 227, 230)").style("white-space", "pre").style("overflow-x", "scroll").style("opacity", "0.65").style("padding", "1vw");
2652
+ content.forEach((c) => {
2653
+ bedjContent_div.append("code").html(c);
2654
+ });
2655
+ }
2656
+ async function showViewData(btns, data, genome) {
2657
+ btns.push({
2658
+ name: "View Data",
2659
+ callback: async (rdiv) => {
2660
+ try {
2661
+ for (const file of data) {
2662
+ const res = await dofetch3("cardsjson", {
2663
+ body: { datafile: file.file, genome, tabixCoord: file.tabixQueryCoord }
2664
+ });
2665
+ if (res.error) {
2666
+ console.error(`Error: ${res.error}`);
2667
+ rdiv.text(`Error retrieving example data: ${res.error}`);
2668
+ return;
2669
+ }
2670
+ const returnedContent = res.file;
2671
+ const contLength = returnedContent.length;
2672
+ const content = returnedContent.slice(0, 10);
2673
+ const splitpath = file.file.split("/");
2674
+ const filename = splitpath[splitpath.length - 1];
2675
+ makeDataPreviewDiv(content, contLength, rdiv, filename, file.message);
2676
+ }
2677
+ } catch (e) {
2678
+ alert("Error: " + e);
2679
+ }
2680
+ }
2681
+ });
2682
+ }
2683
+ async function openDatasetButtonSandbox(elem, pageArgs, res, sandboxDiv) {
2684
+ if (elem.sandboxHtml) {
2685
+ const renderHtml = await res.text();
2686
+ return sandboxDiv.body.append("div").style("line-height", "1.5em").style("padding", "1.5em 1.5em 2em 1.5em").html(renderHtml);
2687
+ }
2688
+ const genome = pageArgs?.fromApp ? pageArgs.genomes[res.button.availableGenomes[0]] : pageArgs.app.opts.genomes[res.button.availableGenomes[0]];
2689
+ let genomes;
2690
+ if (res.button.runargs.host) {
2691
+ genomes = await getGenomes(res.button.runargs.host);
2692
+ } else genomes = pageArgs?.fromApp ? pageArgs.genomes : pageArgs.app.opts.genomes;
2693
+ const par = {
2694
+ // First genome in .availableGenomes is the default
2695
+ availableGenomes: res.button.availableGenomes,
2696
+ genome,
2697
+ intro: res.button.intro,
2698
+ name: res.button.name,
2699
+ runargs: res.button.runargs,
2700
+ searchBar: res.button.searchBar,
2701
+ dsURLparam: res.button.dsURLparam,
2702
+ citation: res.citation_id
2703
+ };
2704
+ const mainDiv = sandboxDiv.body.append("div").style("padding", "1em").style("border-bottom", "1px solid #d0e3ff");
2705
+ if (par.citation) {
2706
+ const buttonsDiv = mainDiv.append("div").style("margin-bottom", "20px");
2707
+ const buttonsContentDiv = mainDiv.append("div");
2708
+ await addArrowBtns(par, "main", buttonsDiv, buttonsContentDiv, pageArgs);
2709
+ }
2710
+ if (par.intro) {
2711
+ mainDiv.append("div").style("line-height", "1.5em").style("padding", "0.5em 0.5em 1em 0.5em").html(par.intro);
2712
+ }
2713
+ if (par.searchBar == "none") {
2714
+ const originalURL = sessionStorage.getItem("hostURL");
2715
+ const runppArg = {
2716
+ holder: sandboxDiv.body.append("div").style("margin", "20px").style("overflow-x", "auto").node(),
2717
+ host: par.runargs.host || originalURL
2718
+ };
2719
+ const callpp = JSON.parse(JSON.stringify(par.runargs));
2720
+ await runproteinpaint(Object.assign(runppArg, callpp));
2721
+ if (originalURL != sessionStorage.getItem("hostURL")) sessionStorage.setItem("hostURL", originalURL);
2722
+ return;
2723
+ }
2724
+ if (par.availableGenomes.length > 1) addDatasetGenomeBtns(mainDiv, genomes);
2725
+ else {
2726
+ mainDiv.append("div").style("display", "inline-block").style("margin-left", "20px").style("color", "rgb(117, 115, 115)").text(par.availableGenomes[0]);
2727
+ }
2728
+ const searchBarDiv = mainDiv.append("div").style("display", "inline-block").style("padding", "0.5em");
2729
+ const allResultsDiv = sandboxDiv.body.append("div").style("max-width", "90vw");
2730
+ const coords = addGeneSearchbox({
2731
+ genome: par.genome,
2732
+ tip: new Menu({ padding: "" }),
2733
+ row: searchBarDiv,
2734
+ searchOnly: par.searchBar == "gene" ? "gene" : "",
2735
+ focusOff: true,
2736
+ callback: async (div) => {
2737
+ const resultDiv = allResultsDiv.insert("div", ":first-child").style("max-width", "90vw").style("margin", "1vw");
2738
+ resultDiv.append("div").style("display", "inline-block").style("cursor", "default").style("margin", "0px").style("font-size", "1.5em").html("&times;").on("click", () => {
2739
+ resultDiv.selectAll("*").remove();
2740
+ });
2741
+ makeURLbutton(resultDiv, coords, par);
2742
+ const runppArg = {
2743
+ holder: resultDiv.append("div").style("margin", "20px").node(),
2744
+ host: sessionStorage.getItem("hostURL"),
2745
+ genome: par.genome.name
2746
+ };
2747
+ par.runargs.block == true ? (runppArg.position = `${coords.chr}:${coords.start}-${coords.stop}`) && (runppArg.nativetracks = "Refgene") : runppArg.gene = coords.geneSymbol;
2748
+ const callpp = JSON.parse(JSON.stringify(par.runargs));
2749
+ runproteinpaint(Object.assign(runppArg, callpp));
2750
+ }
2751
+ });
2752
+ function addDatasetGenomeBtns(div, genomes2) {
2753
+ div.append("div").style("display", "inline-block").style("padding", "10px 10px 0px 20px");
2754
+ const btns = [];
2755
+ par.availableGenomes.forEach((genome2) => {
2756
+ btns.push({
2757
+ label: genome2,
2758
+ callback: (event, tab) => {
2759
+ par.genome = genomes2[genome2];
2760
+ }
2761
+ });
2762
+ });
2763
+ new Tabs({ holder: div, tabs: btns, noContent: true }).main();
2764
+ }
2765
+ }
2766
+ function makeURLbutton(div, coords, par) {
2767
+ const URLbtn = makeButton({ div, text: "Run Result from URL" });
2768
+ const blockOn = par.runargs.block == true ? `position=${coords.chr}:${coords.start}-${coords.stop}` : `gene=${coords.geneSymbol}`;
2769
+ URLbtn.on("click", (event) => {
2770
+ event.stopPropagation();
2771
+ const hostURL = getHostURL();
2772
+ window.open(`${hostURL}/?genome=${par.genome.name}&${blockOn}&${par.dsURLparam}`, "_blank");
2773
+ });
2774
+ }
2775
+ function getHostURL() {
2776
+ const hostURL = sessionStorage.getItem("hostURL");
2777
+ if (hostURL.startsWith("http://localhost") || hostURL.startsWith("https://pp")) {
2778
+ return hostURL;
2779
+ } else return "https://proteinpaint.stjude.org";
2780
+ }
2781
+ async function getGenomes(host) {
2782
+ const genomeURL = `${host}/genomes?embedder=${sessionStorage.getItem("hostURL").replace(/^https?:\/\//, "")}`;
2783
+ try {
2784
+ const response = await fetch(genomeURL);
2785
+ if (!response.ok) throw new Error(`HTTP Response error for genomes url ${response.status}`);
2786
+ const data = await response.json();
2787
+ return data;
2788
+ } catch (e) {
2789
+ console.error(`Error fetching genomes: ${e} from ${genomeURL}`);
2790
+ return null;
2791
+ }
2792
+ }
2793
+
2794
+ export {
2795
+ isFeatureEnabled,
2796
+ makeButton,
2797
+ openSandbox
2798
+ };
2799
+ //# sourceMappingURL=chunk-YWB2QHV2.js.map