@sjcrh/proteinpaint-client 2.166.0 → 2.167.1
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.
- package/dist/2dmaf-6M6QWXAQ.js +1364 -0
- package/dist/AIProjectAdmin-2NHMC3IV.js +780 -0
- package/dist/AppHeader-CTHEWSZD.js +813 -0
- package/dist/BoxPlot-3U6ZAKKO.js +44 -0
- package/dist/CorrelationVolcano-2ASIR6KY.js +616 -0
- package/dist/DifferentialAnalysis-C3NYGF7U.js +237 -0
- package/dist/Disco-2QLBZ3X5.js +3089 -0
- package/dist/Disco.UI-GPIIPM2P.js +238 -0
- package/dist/DziViewer-OHPZOH72.js +16328 -0
- package/dist/GB-FH6YQGHI.js +1099 -0
- package/dist/HicApp-TI2II3SZ.js +2218 -0
- package/dist/NumBinaryEditor-O42T63EX.js +259 -0
- package/dist/NumBinaryEditor.unit.spec-UMB2PHT5.js +277 -0
- package/dist/NumContEditor-7NOUKPCV.js +98 -0
- package/dist/NumContEditor.unit.spec-JGXJ2HLE.js +160 -0
- package/dist/NumCustomBinEditor-6CHN3KX3.js +29 -0
- package/dist/NumCustomBinEditor.unit.spec-RJPQLE3E.js +275 -0
- package/dist/NumDiscreteEditor-AFTUKU4K.js +145 -0
- package/dist/NumDiscreteEditor.unit.spec-GKR6ZNBQ.js +193 -0
- package/dist/NumRegularBinEditor-UJ5WQPHR.js +29 -0
- package/dist/NumRegularBinEditor.unit.spec-5HGJQEX7.js +220 -0
- package/dist/NumSplineEditor-JANA2DUE.js +181 -0
- package/dist/NumSplineEditor.unit.spec-UYAMAKZD.js +190 -0
- package/dist/NumericDensity-YE5R4CNP.js +29 -0
- package/dist/NumericDensity.unit.spec-SVEB5U2S.js +212 -0
- package/dist/NumericHandler-WW4M7YW2.js +30 -0
- package/dist/NumericHandler.unit.spec-2BWDFO53.js +210 -0
- package/dist/SC-UGJGMBL7.js +714 -0
- package/dist/Volcano-IU76MEIL.js +1018 -0
- package/dist/WSIViewer-3S7N4UDO.js +46959 -0
- package/dist/WsiSamplesPlot-4CAOHWCL.js +153 -0
- package/dist/adSandbox-AEBS3RTL.js +29 -0
- package/dist/alphaGenome-F2PB4SGI.js +170 -0
- package/dist/app-6SKETLMT.js +28 -0
- package/dist/app-GBEF2HBR.js +54 -0
- package/dist/app.js +16 -16
- package/dist/bam-5SE6XQJV.js +842 -0
- package/dist/barchart-AUSOT2XB.js +48 -0
- package/dist/barchart.data-GYCNBRPY.js +30 -0
- package/dist/barchart.events-QTSWNYXO.js +44 -0
- package/dist/barchart.integration.spec-LORJLJVX.js +1600 -0
- package/dist/bars.renderer-4N4QOUNI.js +12 -0
- package/dist/bars.settings-SDU7PZOS.js +10 -0
- package/dist/block-QLSIELXK.js +6291 -0
- package/dist/block.init-OOLEA6ZK.js +29 -0
- package/dist/block.mds.expressionrank-D2KUISXZ.js +350 -0
- package/dist/block.mds.geneboxplot-AMYBWXPS.js +819 -0
- package/dist/block.mds.junction-OG335MBK.js +1536 -0
- package/dist/block.mds.svcnv-WYDBQ6FV.js +6792 -0
- package/dist/block.svg-OH73245R.js +155 -0
- package/dist/block.tk.aicheck-CG5THFW2.js +274 -0
- package/dist/block.tk.ase-G2L3G5MQ.js +356 -0
- package/dist/block.tk.bam-DXWCA6EU.js +1897 -0
- package/dist/block.tk.bedgraphdot-LF3TFPNL.js +375 -0
- package/dist/block.tk.bigwig.ui-JKXZ3VDF.js +202 -0
- package/dist/block.tk.hicstraw-ZK4RKFB6.js +814 -0
- package/dist/block.tk.junction-ZB7Q2NLB.js +2355 -0
- package/dist/block.tk.junction.textmatrixui-ZYNQWKIW.js +190 -0
- package/dist/block.tk.ld-7H64HGER.js +90 -0
- package/dist/block.tk.menu-WFVKAH74.js +1020 -0
- package/dist/block.tk.pgv-632LLSBI.js +935 -0
- package/dist/brainImaging-AEPTHIQF.js +417 -0
- package/dist/chat-3XZCAFDD.js +142 -0
- package/dist/chat-3XZCAFDD.js.map +7 -0
- package/dist/chunk-22O6F463.js +619 -0
- package/dist/chunk-2HJ7OD7H.js +252 -0
- package/dist/chunk-2MN5JLZB.js +2878 -0
- package/dist/chunk-2OVIUIIL.js +1720 -0
- package/dist/chunk-2OVIUIIL.js.map +7 -0
- package/dist/chunk-37CK5IGW.js +480 -0
- package/dist/chunk-3JFEWVHR.js +80 -0
- package/dist/chunk-3MGBC64I.js +133 -0
- package/dist/chunk-3NWLWH4G.js +6364 -0
- package/dist/chunk-46T54RUY.js +1133 -0
- package/dist/chunk-46T54RUY.js.map +7 -0
- package/dist/chunk-4GKQ5PWY.js +142 -0
- package/dist/chunk-4PHD5H4A.js +226 -0
- package/dist/chunk-56IFQMJK.js +413 -0
- package/dist/chunk-5AMBV2JE.js +797 -0
- package/dist/chunk-5AMBV2JE.js.map +7 -0
- package/dist/chunk-5DMFTXUZ.js +158 -0
- package/dist/chunk-5QJDZHRU.js +95 -0
- package/dist/chunk-5WAVKWL6.js +1275 -0
- package/dist/chunk-6ISTNHM6.js +144 -0
- package/dist/chunk-6VQ4C735.js +1536 -0
- package/dist/chunk-74WMSW3E.js +229 -0
- package/dist/chunk-AFU66YOW.js +459 -0
- package/dist/chunk-AUJ2YUXV.js +14 -0
- package/dist/chunk-B65X5UQH.js +518 -0
- package/dist/chunk-B6I64LSV.js +634 -0
- package/dist/chunk-BAJ74DKS.js +419 -0
- package/dist/chunk-BAJ74DKS.js.map +7 -0
- package/dist/chunk-BTYCW3D5.js +85 -0
- package/dist/chunk-CCB5KYFQ.js +1415 -0
- package/dist/chunk-CKLYFA7H.js +467 -0
- package/dist/chunk-CLYRJ466.js +272 -0
- package/dist/chunk-CPHCZZWT.js +82 -0
- package/dist/chunk-CUADOD2T.js +217 -0
- package/dist/chunk-CV6ID6T7.js +422 -0
- package/dist/chunk-CWHBWY3B.js +190 -0
- package/dist/chunk-D53HBTYQ.js +238 -0
- package/dist/chunk-DDOM4XYV.js +1177 -0
- package/dist/chunk-DDOM4XYV.js.map +7 -0
- package/dist/chunk-DKI7YOTJ.js +196 -0
- package/dist/chunk-DNU4IPD2.js +165 -0
- package/dist/chunk-FN5XPUPH.js +83 -0
- package/dist/chunk-FN5XPUPH.js.map +7 -0
- package/dist/chunk-GLSDMBHR.js +55 -0
- package/dist/chunk-GLSDMBHR.js.map +7 -0
- package/dist/chunk-H3BSKMND.js +487 -0
- package/dist/chunk-H3BSKMND.js.map +7 -0
- package/dist/chunk-H6HP4H3U.js +2327 -0
- package/dist/chunk-HPEMEDXB.js +123 -0
- package/dist/chunk-HUDESZGX.js +1151 -0
- package/dist/chunk-ITJ2SXU5.js +467 -0
- package/dist/chunk-ITJ2SXU5.js.map +7 -0
- package/dist/chunk-J7IU77CA.js +166 -0
- package/dist/chunk-JMO7ENSD.js +381 -0
- package/dist/chunk-JTPN3BRG.js +129 -0
- package/dist/chunk-KCAMFDJH.js +323 -0
- package/dist/chunk-LD45BCVM.js +177 -0
- package/dist/chunk-LMELY5Z2.js +1412 -0
- package/dist/chunk-LVQK62CV.js +215 -0
- package/dist/chunk-MCVLRF66.js +157 -0
- package/dist/chunk-MK7RRJTX.js +1968 -0
- package/dist/chunk-MK7RRJTX.js.map +7 -0
- package/dist/chunk-MLD7DW5I.js +613 -0
- package/dist/chunk-NEF7LGNE.js +2789 -0
- package/dist/chunk-O7BAQPP3.js +256 -0
- package/dist/chunk-O7BAQPP3.js.map +7 -0
- package/dist/chunk-OARG7PAV.js +401 -0
- package/dist/chunk-OGCF6E6I.js +4947 -0
- package/dist/chunk-OGCF6E6I.js.map +7 -0
- package/dist/chunk-OGWY4MOB.js +748 -0
- package/dist/chunk-PQD6K5W5.js +2784 -0
- package/dist/chunk-Q4FYGFTQ.js +91 -0
- package/dist/chunk-QX5QVWUP.js +451 -0
- package/dist/chunk-QX5QVWUP.js.map +7 -0
- package/dist/chunk-RA2KI64U.js +303 -0
- package/dist/chunk-RHHLAKYS.js +1088 -0
- package/dist/chunk-RKV3CP4C.js +258 -0
- package/dist/chunk-RL7RU2V7.js +368 -0
- package/dist/chunk-RQ7CE7SK.js +161 -0
- package/dist/chunk-RX552WU6.js +1143 -0
- package/dist/chunk-S7V4SFKB.js +276 -0
- package/dist/chunk-SEL5UNRC.js +142 -0
- package/dist/chunk-SRBO57AD.js +297 -0
- package/dist/chunk-SYGLOTOV.js +1197 -0
- package/dist/chunk-TGZA4ETW.js +311 -0
- package/dist/chunk-TGZA4ETW.js.map +7 -0
- package/dist/chunk-UZ466XO3.js +203 -0
- package/dist/chunk-VDF5W47R.js +149 -0
- package/dist/chunk-W4SEWZF2.js +279 -0
- package/dist/chunk-W4SEWZF2.js.map +7 -0
- package/dist/chunk-W5EG334J.js +15083 -0
- package/dist/chunk-W5EG334J.js.map +7 -0
- package/dist/chunk-WTPVXDJT.js +31 -0
- package/dist/chunk-XRIM2YJZ.js +228 -0
- package/dist/chunk-YSWMQO23.js +55 -0
- package/dist/chunk-ZBZXIWSK.js +402 -0
- package/dist/chunk-ZFFHOEBE.js +117 -0
- package/dist/chunk-ZG63ZUDE.js +102 -0
- package/dist/chunk-ZGQ3BMLW.js +2676 -0
- package/dist/chunk-ZNINQ3FN.js +293 -0
- package/dist/chunk-ZQZWM544.js +4172 -0
- package/dist/condition-4FVKPSQ2.js +323 -0
- package/dist/controls-ZWBN566I.js +35 -0
- package/dist/controls.btns-H4TWTHTW.js +10 -0
- package/dist/controls.config-YU4W3CDL.js +31 -0
- package/dist/correlation-VADB4SQO.js +102 -0
- package/dist/cuminc-4BXE2YS6.js +1143 -0
- package/dist/cuminc.integration.spec-XQREKHVA.js +669 -0
- package/dist/customdata.inputui-VBQWT3M7.js +278 -0
- package/dist/dataDownload-QIZKBKH7.js +320 -0
- package/dist/dataDownload.integration.spec-MLJEHLYD.js +184 -0
- package/dist/databrowser.ui-6UIR4ULJ.js +426 -0
- package/dist/dictionary-FLWIWAC6.js +90 -0
- package/dist/e2pca-NKWSJRXM.js +341 -0
- package/dist/ep-EPN3AR6D.js +1247 -0
- package/dist/expclust.gdc.spec-ZRUH5E6E.js +298 -0
- package/dist/facet-BM7SLACF.js +437 -0
- package/dist/frequencyChart-HBXRIBAW.js +371 -0
- package/dist/frequencyChart.integration.spec-YJUYZWM6.js +301 -0
- package/dist/geneExpClustering-4VD5PAWN.js +242 -0
- package/dist/geneExpression-6OT2Y4P6.js +54 -0
- package/dist/geneExpression-EAMEZXJQ.js +310 -0
- package/dist/geneORA-RI2AG7JT.js +272 -0
- package/dist/geneVariant-FYYEOTWA.js +32 -0
- package/dist/geneVariant-PAKVDVC4.js +29 -0
- package/dist/genefusion.ui-QWC42XWQ.js +242 -0
- package/dist/geneset-XA6IWP3Q.js +186 -0
- package/dist/genomeBrowser.spec-LRKXWXNT.js +272 -0
- package/dist/grin2-O6TETVZ3.js +1044 -0
- package/dist/grin2-O6TETVZ3.js.map +7 -0
- package/dist/grin2-WLB7BY3S.js +1547 -0
- package/dist/gsea-ZM4WOPSQ.js +43 -0
- package/dist/hierCluster-LD43LLRC.js +60 -0
- package/dist/hierCluster-ZGYRS2WV.js +56 -0
- package/dist/hierCluster.config-O5HUOFNH.js +32 -0
- package/dist/hierCluster.integration.spec-37UNKHTH.js +389 -0
- package/dist/hierCluster.interactivity-B27ETKRP.js +45 -0
- package/dist/hierCluster.renderers-GWFH5ZX7.js +21 -0
- package/dist/imagePlot-LJZVGNDJ.js +134 -0
- package/dist/importPlot-RMVENQRD.js +8 -0
- package/dist/launch.adhoc-S3XHRSLN.js +36 -0
- package/dist/leftlabel.sample-J6PCA3UB.js +249 -0
- package/dist/lollipop-OZTV4C7A.js +159 -0
- package/dist/maf-3SRLCKGO.js +435 -0
- package/dist/maf-3SRLCKGO.js.map +7 -0
- package/dist/maftimeline-6F2LQJU6.js +584 -0
- package/dist/matrix-FIXOFAB4.js +60 -0
- package/dist/matrix-O5KPDLM2.js +55 -0
- package/dist/matrix.cells-SCLZA3P4.js +30 -0
- package/dist/matrix.config-WG7HFJL4.js +33 -0
- package/dist/matrix.controls-QQLBUUYP.js +31 -0
- package/dist/matrix.data-6JLF5HVI.js +35 -0
- package/dist/matrix.dom-QO7BXZ27.js +11 -0
- package/dist/matrix.groups-QMZMZ6Q7.js +26 -0
- package/dist/matrix.integration.spec-ZJYWNQ57.js +2936 -0
- package/dist/matrix.interactivity-ZZY5ET4E.js +36 -0
- package/dist/matrix.layout-XKFB4PKY.js +35 -0
- package/dist/matrix.legend-CS6DNC5V.js +22 -0
- package/dist/matrix.renderers-4LST6PBA.js +29 -0
- package/dist/matrix.serieses-3SERD6CV.js +21 -0
- package/dist/matrix.sort-UVS6WHIS.js +27 -0
- package/dist/matrix.sort.unit.spec-CTSUNUWB.js +464 -0
- package/dist/matrix.sorterUi-JDGLTLJM.js +18 -0
- package/dist/matrix.sorterUi.unit.spec-VQFMHIYI.js +335 -0
- package/dist/mavb-ECQ2CQ7F.js +723 -0
- package/dist/mds.fimo-JDYDT5NK.js +509 -0
- package/dist/mds.samplescatterplot-PEJBVSTO.js +1541 -0
- package/dist/mds.survivalplot-GYK6VRQT.js +474 -0
- package/dist/mutationSignature-43SECPTY.js +72 -0
- package/dist/numericDictTermCluster-2ER4FUKO.js +72 -0
- package/dist/oncomatrix-ZXDJMLN3.js +287 -0
- package/dist/oncomatrix.spec-HOPRIG3I.js +439 -0
- package/dist/plot.2dvaf-Y4SZUHLD.js +368 -0
- package/dist/plot.app-W5Z3C7P5.js +35 -0
- package/dist/plot.barplot-B2PRZDKV.js +93 -0
- package/dist/plot.boxplot-J7ET34FY.js +143 -0
- package/dist/plot.brainImaging-ISY4P6RT.js +51 -0
- package/dist/plot.disco-D7AL42PW.js +100 -0
- package/dist/plot.dzi-O32LH65U.js +33 -0
- package/dist/plot.ssgq-WF7262IZ.js +130 -0
- package/dist/plot.vaf2cov-OB6UKSFQ.js +250 -0
- package/dist/plot.wsi-J5S4YYXN.js +36 -0
- package/dist/polar-LIJORXR6.js +179 -0
- package/dist/profile.spec-3KE4CREI.js +71 -0
- package/dist/profileBarchart-UQHOJB5V.js +260 -0
- package/dist/profileForms-WTYVTIUN.js +365 -0
- package/dist/profilePlot-SOXXEUAT.js +50 -0
- package/dist/profileRadar-2OHJ2RIU.js +256 -0
- package/dist/profileRadarFacility-GHLG3QNG.js +256 -0
- package/dist/qualitative-B3OY7A7P.js +34 -0
- package/dist/regression-HO2TO4XT.js +57 -0
- package/dist/regression.inputs-JN3ZMIOP.js +49 -0
- package/dist/regression.inputs.term-67HVMXFZ.js +49 -0
- package/dist/regression.inputs.values.table-JXJK2YZT.js +46 -0
- package/dist/regression.integration.spec-L54ZS5VY.js +777 -0
- package/dist/regression.results-3ZSFKUNN.js +31 -0
- package/dist/regression.spec-SVWCQX2U.js +699 -0
- package/dist/report-IHX7XSOI.js +220 -0
- package/dist/runChart-QLQMK3OE.js +54 -0
- package/dist/runchart.integration.spec-5NVY5GHR.js +362 -0
- package/dist/sampleScatter.spec-4Q5CQQWH.js +193 -0
- package/dist/sampleView-7WHDFHB5.js +42 -0
- package/dist/samplelst-34GJVLVD.js +102 -0
- package/dist/samplematrix-L2HOSLUT.js +2189 -0
- package/dist/scatter-X6AAM2LJ.js +55 -0
- package/dist/scatter.integration.spec-QSH3PLBK.js +1026 -0
- package/dist/selectGenomeWithTklst-AJS2IPPW.js +125 -0
- package/dist/singleCellPlot-7JEWDVSR.js +50 -0
- package/dist/singlecell-IC5KU72L.js +1563 -0
- package/dist/singlecell-NWANPXWM.js +80 -0
- package/dist/snp-PSRNMTL6.js +73 -0
- package/dist/snplocus-QCAVDYLR.js +199 -0
- package/dist/spliceevent.a53ss.diagram-SGDJKUEC.js +142 -0
- package/dist/spliceevent.exonskip.diagram-BUYTHCK5.js +268 -0
- package/dist/spliceevent.noeventdiagram-OJZJUHXP.js +451 -0
- package/dist/ssGSEA-UUZG57MF.js +53 -0
- package/dist/stattable-324FS2HA.js +89 -0
- package/dist/summarizeCnvGeneexp-ZVZYWP43.js +136 -0
- package/dist/summarizeGeneexpSurvival-7XJRMT6M.js +90 -0
- package/dist/summarizeMutationDiagnosis-ZKLXOVY2.js +32 -0
- package/dist/summarizeMutationSurvival-S4YPGLWA.js +92 -0
- package/dist/summary-RVG7JL6Y.js +55 -0
- package/dist/summary.integration.spec-SCD35GO4.js +405 -0
- package/dist/summaryInput-DMN6DTSW.js +170 -0
- package/dist/sunburst-QZXYILRC.js +275 -0
- package/dist/survival-6CWEBRSF.js +41 -0
- package/dist/survival-J657VYLI.js +49 -0
- package/dist/survival.integration.spec-S5WE4V6M.js +601 -0
- package/dist/svgraph-NEKJL24M.js +1378 -0
- package/dist/svmr-5RQ5JQF2.js +3833 -0
- package/dist/table-CG6Z6NCJ.js +193 -0
- package/dist/termCollection-FOQNVXB7.js +80 -0
- package/dist/termInfo-5USFZGDB.js +9 -0
- package/dist/tk-2O7XOVGJ.js +37 -0
- package/dist/tp.ui-S4YUVCZH.js +1450 -0
- package/dist/tvs.dtcnv.continuous-7BPIXZ6C.js +65 -0
- package/dist/tvs.numeric-FCC2EY62.js +355 -0
- package/dist/tvs.samplelst-PKGFTULN.js +95 -0
- package/dist/violin-C7IBRTYP.js +47 -0
- package/dist/violin.integration.spec-WXRD3Z4E.js +1425 -0
- package/dist/violin.interactivity-BMG4TG5L.js +39 -0
- package/dist/violin.renderer-WUNW6ULV.js +31 -0
- package/dist/vocabulary-UUNEEBM3.js +32 -0
- package/package.json +3 -3
- package/dist/2dmaf-E4NOGWWO.js +0 -1364
- package/dist/AIProjectAdmin-3QDXMCOK.js +0 -780
- package/dist/AppHeader-IFZ57DJE.js +0 -813
- package/dist/BoxPlot-GXDTPRA5.js +0 -44
- package/dist/CorrelationVolcano-S4GUYIPT.js +0 -616
- package/dist/DifferentialAnalysis-YLKYWPUT.js +0 -237
- package/dist/Disco-OQMP3HRQ.js +0 -3089
- package/dist/Disco.UI-XB3XQP33.js +0 -238
- package/dist/DziViewer-UIRNTFNS.js +0 -16328
- package/dist/GB-KDPJTOLP.js +0 -1099
- package/dist/HicApp-XJERMLKH.js +0 -2218
- package/dist/NumBinaryEditor-5MWWWNLW.js +0 -259
- package/dist/NumBinaryEditor.unit.spec-ROGT5FOH.js +0 -277
- package/dist/NumContEditor-RRCB4CKG.js +0 -98
- package/dist/NumContEditor.unit.spec-AJTKOF7W.js +0 -160
- package/dist/NumCustomBinEditor-3GJITZ7V.js +0 -29
- package/dist/NumCustomBinEditor.unit.spec-DNBDZSHT.js +0 -275
- package/dist/NumDiscreteEditor-TARWA6CZ.js +0 -145
- package/dist/NumDiscreteEditor.unit.spec-TCSLTQ25.js +0 -193
- package/dist/NumRegularBinEditor-QF5ALVV4.js +0 -29
- package/dist/NumRegularBinEditor.unit.spec-GFNDBWNM.js +0 -220
- package/dist/NumSplineEditor-MOEUXR34.js +0 -181
- package/dist/NumSplineEditor.unit.spec-XPJOOXS4.js +0 -190
- package/dist/NumericDensity-JDE263EQ.js +0 -29
- package/dist/NumericDensity.unit.spec-RX6UGV56.js +0 -212
- package/dist/NumericHandler-XM7LUYHN.js +0 -30
- package/dist/NumericHandler.unit.spec-5EYRMII7.js +0 -210
- package/dist/SC-Z4KBNK7P.js +0 -714
- package/dist/Volcano-WYJLKM4K.js +0 -1018
- package/dist/WSIViewer-3RMG3VOA.js +0 -46959
- package/dist/WsiSamplesPlot-PAWNKI7R.js +0 -153
- package/dist/adSandbox-7H5H46SE.js +0 -29
- package/dist/alphaGenome-PODWDV5T.js +0 -170
- package/dist/app-JPURIGQW.js +0 -28
- package/dist/app-YL7S55T5.js +0 -54
- package/dist/bam-XEO47VYA.js +0 -842
- package/dist/barchart-B5M6SSJH.js +0 -48
- package/dist/barchart.data-6A6WVV4Y.js +0 -30
- package/dist/barchart.events-2GNB5KWY.js +0 -44
- package/dist/barchart.integration.spec-JEOTKIWC.js +0 -1600
- package/dist/bars.renderer-NLUBMQEO.js +0 -12
- package/dist/bars.settings-UQZ63KU4.js +0 -8
- package/dist/block-B7WMYLPO.js +0 -6291
- package/dist/block.init-KCIXEYQC.js +0 -29
- package/dist/block.mds.expressionrank-RYZXAH5Y.js +0 -350
- package/dist/block.mds.geneboxplot-LNWUEI6N.js +0 -819
- package/dist/block.mds.junction-CVIY7QMD.js +0 -1536
- package/dist/block.mds.svcnv-EUGWHSCA.js +0 -6792
- package/dist/block.svg-QBLNIGUF.js +0 -155
- package/dist/block.tk.aicheck-U6NG22FX.js +0 -274
- package/dist/block.tk.ase-U3TRZAOH.js +0 -356
- package/dist/block.tk.bam-6Y6YFVR2.js +0 -1897
- package/dist/block.tk.bedgraphdot-O3VCFX6K.js +0 -375
- package/dist/block.tk.bigwig.ui-DNBJAF72.js +0 -202
- package/dist/block.tk.hicstraw-2EIFJX7E.js +0 -814
- package/dist/block.tk.junction-UXSO5EJP.js +0 -2355
- package/dist/block.tk.junction.textmatrixui-HQ6ZKCHM.js +0 -190
- package/dist/block.tk.ld-NEB4F3UG.js +0 -90
- package/dist/block.tk.menu-BN4JPJSD.js +0 -1020
- package/dist/block.tk.pgv-A4QFVSPF.js +0 -935
- package/dist/brainImaging-ESQGNGZH.js +0 -417
- package/dist/chat-AY7RCQYY.js +0 -145
- package/dist/chat-AY7RCQYY.js.map +0 -7
- package/dist/chunk-236ZRGXA.js +0 -297
- package/dist/chunk-2DZWOGEH.js +0 -272
- package/dist/chunk-2HQJMZNY.js +0 -14
- package/dist/chunk-2MRZFUHZ.js +0 -165
- package/dist/chunk-2ZEORJCF.js +0 -215
- package/dist/chunk-3WA7SJTR.js +0 -82
- package/dist/chunk-47HG7LGD.js +0 -133
- package/dist/chunk-47X254B7.js +0 -91
- package/dist/chunk-4TPDYPGD.js +0 -1098
- package/dist/chunk-4TPDYPGD.js.map +0 -7
- package/dist/chunk-4WA2H5DE.js +0 -75
- package/dist/chunk-4WA2H5DE.js.map +0 -7
- package/dist/chunk-4XDKCFFT.js +0 -613
- package/dist/chunk-5CJJLBUZ.js +0 -229
- package/dist/chunk-5TDKRZN5.js +0 -1931
- package/dist/chunk-5TDKRZN5.js.map +0 -7
- package/dist/chunk-6MSJ3TLQ.js +0 -1151
- package/dist/chunk-7JAFXNAL.js +0 -256
- package/dist/chunk-7JAFXNAL.js.map +0 -7
- package/dist/chunk-7LKSKJCV.js +0 -480
- package/dist/chunk-7P67W6NF.js +0 -190
- package/dist/chunk-7RIC35AF.js +0 -129
- package/dist/chunk-A76B53VT.js +0 -158
- package/dist/chunk-AZ276Z7T.js +0 -2327
- package/dist/chunk-B662XJMJ.js +0 -748
- package/dist/chunk-BK7GIOC5.js +0 -4924
- package/dist/chunk-BK7GIOC5.js.map +0 -7
- package/dist/chunk-BP2F2GRB.js +0 -2676
- package/dist/chunk-BRO4KZSZ.js +0 -417
- package/dist/chunk-BRO4KZSZ.js.map +0 -7
- package/dist/chunk-C5YNONHQ.js +0 -144
- package/dist/chunk-CT3LPTWW.js +0 -1197
- package/dist/chunk-CZTC4MTE.js +0 -161
- package/dist/chunk-DA5VGV5L.js +0 -280
- package/dist/chunk-DA5VGV5L.js.map +0 -7
- package/dist/chunk-DPU66MZ7.js +0 -381
- package/dist/chunk-E6NE5IWR.js +0 -102
- package/dist/chunk-ECKWM4HB.js +0 -1536
- package/dist/chunk-EEX5VPJG.js +0 -467
- package/dist/chunk-EIMEUZP2.js +0 -323
- package/dist/chunk-ETFPL4UP.js +0 -4172
- package/dist/chunk-F3FTQWTA.js +0 -303
- package/dist/chunk-F4APZ34G.js +0 -55
- package/dist/chunk-FOXJTDTH.js +0 -166
- package/dist/chunk-FYTZCTJC.js +0 -1157
- package/dist/chunk-FYTZCTJC.js.map +0 -7
- package/dist/chunk-GBS5I24E.js +0 -1706
- package/dist/chunk-GBS5I24E.js.map +0 -7
- package/dist/chunk-GBWRKJAH.js +0 -413
- package/dist/chunk-GG67VPVD.js +0 -238
- package/dist/chunk-GZ2B634M.js +0 -123
- package/dist/chunk-HEFXMCSF.js +0 -6364
- package/dist/chunk-I26R4NJJ.js +0 -228
- package/dist/chunk-I2GCD26Y.js +0 -55
- package/dist/chunk-I2GCD26Y.js.map +0 -7
- package/dist/chunk-ICNJQHQZ.js +0 -117
- package/dist/chunk-IPAGDFO4.js +0 -80
- package/dist/chunk-J2E4FALN.js +0 -1415
- package/dist/chunk-JXHU2FIA.js +0 -2789
- package/dist/chunk-K7LZ77GD.js +0 -468
- package/dist/chunk-K7LZ77GD.js.map +0 -7
- package/dist/chunk-KACWSU3U.js +0 -487
- package/dist/chunk-KACWSU3U.js.map +0 -7
- package/dist/chunk-KGSCQRQ5.js +0 -203
- package/dist/chunk-KGYPMYQD.js +0 -1143
- package/dist/chunk-L3PMRBTA.js +0 -422
- package/dist/chunk-M7QVMSRW.js +0 -293
- package/dist/chunk-MG6GRQKO.js +0 -459
- package/dist/chunk-N5VBIEH5.js +0 -1412
- package/dist/chunk-NRYOB7WU.js +0 -252
- package/dist/chunk-NXOWHUR4.js +0 -311
- package/dist/chunk-NXOWHUR4.js.map +0 -7
- package/dist/chunk-OFQV6PRB.js +0 -1275
- package/dist/chunk-OMO754MK.js +0 -177
- package/dist/chunk-OQSP66C6.js +0 -226
- package/dist/chunk-OS46MR72.js +0 -368
- package/dist/chunk-PBJFLQGL.js +0 -142
- package/dist/chunk-PMZS3SHH.js +0 -2877
- package/dist/chunk-PPJSDC3Z.js +0 -157
- package/dist/chunk-QIS45Z4Y.js +0 -2784
- package/dist/chunk-RCVZ4L7K.js +0 -402
- package/dist/chunk-ROWCKPNW.js +0 -1088
- package/dist/chunk-RQUXELHE.js +0 -276
- package/dist/chunk-RYRCMHYR.js +0 -196
- package/dist/chunk-S7EKSDVS.js +0 -258
- package/dist/chunk-SN5QKRXO.js +0 -85
- package/dist/chunk-TZRD3FPN.js +0 -634
- package/dist/chunk-U5QRRS7K.js +0 -619
- package/dist/chunk-UOMRXQNW.js +0 -401
- package/dist/chunk-UT6W4ZZL.js +0 -15048
- package/dist/chunk-UT6W4ZZL.js.map +0 -7
- package/dist/chunk-UZV3QI5M.js +0 -518
- package/dist/chunk-VALBVQXS.js +0 -217
- package/dist/chunk-VDR5JXI2.js +0 -444
- package/dist/chunk-VDR5JXI2.js.map +0 -7
- package/dist/chunk-W4D2EYE4.js +0 -95
- package/dist/chunk-XATIKUGU.js +0 -142
- package/dist/chunk-ZHWC5SJP.js +0 -797
- package/dist/chunk-ZHWC5SJP.js.map +0 -7
- package/dist/chunk-ZL4CNBYY.js +0 -149
- package/dist/chunk-ZQ7L66GP.js +0 -31
- package/dist/condition-24HPVH23.js +0 -323
- package/dist/controls-5CSAKANR.js +0 -35
- package/dist/controls.btns-QLLBCT65.js +0 -10
- package/dist/controls.config-H4FMU5LI.js +0 -31
- package/dist/correlation-RB77VSXB.js +0 -102
- package/dist/cuminc-YZSLH5IO.js +0 -1143
- package/dist/cuminc.integration.spec-MZPT3Y5A.js +0 -669
- package/dist/customdata.inputui-CBTZFODT.js +0 -278
- package/dist/dataDownload-ZTGRVI4Q.js +0 -320
- package/dist/dataDownload.integration.spec-Q6GUTUYD.js +0 -184
- package/dist/databrowser.ui-V7E6CLUZ.js +0 -426
- package/dist/dictionary-RPC5OZMM.js +0 -90
- package/dist/e2pca-WDQHMAUM.js +0 -341
- package/dist/ep-NAM34BBI.js +0 -1247
- package/dist/expclust.gdc.spec-QB4GVDJA.js +0 -298
- package/dist/facet-DOXBBIG6.js +0 -437
- package/dist/frequencyChart-GLOIGP3T.js +0 -371
- package/dist/frequencyChart.integration.spec-B7NBBLH2.js +0 -301
- package/dist/geneExpClustering-B4S6GFNT.js +0 -242
- package/dist/geneExpression-DMU4AQP6.js +0 -310
- package/dist/geneExpression-MVVXRNEY.js +0 -54
- package/dist/geneORA-XDAITCQF.js +0 -272
- package/dist/geneVariant-N6IGEIRR.js +0 -29
- package/dist/geneVariant-QYLA2V6J.js +0 -32
- package/dist/genefusion.ui-FRBMNK7V.js +0 -242
- package/dist/geneset-GZYNBG7Y.js +0 -186
- package/dist/genomeBrowser.spec-WFIVQSE7.js +0 -272
- package/dist/grin2-I6GJF35U.js +0 -882
- package/dist/grin2-I6GJF35U.js.map +0 -7
- package/dist/grin2-ZKNNZXON.js +0 -1547
- package/dist/gsea-GFGAEC4K.js +0 -43
- package/dist/hierCluster-MF4TI3E4.js +0 -60
- package/dist/hierCluster-SDJMQLOQ.js +0 -56
- package/dist/hierCluster.config-RMEX3VTC.js +0 -32
- package/dist/hierCluster.integration.spec-3H63OHMU.js +0 -389
- package/dist/hierCluster.interactivity-4DZBRQ6P.js +0 -45
- package/dist/hierCluster.renderers-UOW7BI6N.js +0 -21
- package/dist/imagePlot-P2UHJRSL.js +0 -134
- package/dist/importPlot-PPCMNVOW.js +0 -8
- package/dist/launch.adhoc-RJWUEVRA.js +0 -36
- package/dist/leftlabel.sample-OYP6MICL.js +0 -249
- package/dist/lollipop-BXQOWLGO.js +0 -159
- package/dist/maf-YJJO773K.js +0 -448
- package/dist/maf-YJJO773K.js.map +0 -7
- package/dist/maftimeline-GHKDDWYR.js +0 -584
- package/dist/matrix-FWDLHZYR.js +0 -60
- package/dist/matrix-YMJFP53F.js +0 -55
- package/dist/matrix.cells-JH7FPY3E.js +0 -30
- package/dist/matrix.config-HIHOLDCE.js +0 -33
- package/dist/matrix.controls-EKZ543FY.js +0 -31
- package/dist/matrix.data-NKAZI2BF.js +0 -35
- package/dist/matrix.dom-RGZ52GJ2.js +0 -11
- package/dist/matrix.groups-BO53ZXXV.js +0 -26
- package/dist/matrix.integration.spec-BXTATNAC.js +0 -2936
- package/dist/matrix.interactivity-UGUMKCFN.js +0 -36
- package/dist/matrix.layout-WBIF5QTG.js +0 -35
- package/dist/matrix.legend-P3GFCXXK.js +0 -22
- package/dist/matrix.renderers-I54IHQ3S.js +0 -29
- package/dist/matrix.serieses-R2T57OYI.js +0 -21
- package/dist/matrix.sort-3GCA2GDU.js +0 -27
- package/dist/matrix.sort.unit.spec-AXGPCZZD.js +0 -464
- package/dist/matrix.sorterUi-QWRK6OGE.js +0 -18
- package/dist/matrix.sorterUi.unit.spec-H7GUVWRJ.js +0 -335
- package/dist/mavb-4EECWXYX.js +0 -723
- package/dist/mds.fimo-NHZOY43X.js +0 -509
- package/dist/mds.samplescatterplot-7A5IZ6W7.js +0 -1541
- package/dist/mds.survivalplot-SQDPUFQE.js +0 -474
- package/dist/mutationSignature-QH7PZYKL.js +0 -72
- package/dist/numericDictTermCluster-X5SGSC5K.js +0 -72
- package/dist/oncomatrix-M4C4XPQK.js +0 -287
- package/dist/oncomatrix.spec-3C642O7O.js +0 -439
- package/dist/plot.2dvaf-TILP7J53.js +0 -368
- package/dist/plot.app-DE2UQP2M.js +0 -35
- package/dist/plot.barplot-FJHS765K.js +0 -93
- package/dist/plot.boxplot-YRSHGNYZ.js +0 -143
- package/dist/plot.brainImaging-JV4OUVJY.js +0 -51
- package/dist/plot.disco-DBVPBMLG.js +0 -100
- package/dist/plot.dzi-O2OA4EBK.js +0 -33
- package/dist/plot.ssgq-YFQEZQYK.js +0 -130
- package/dist/plot.vaf2cov-YNFP5LJ4.js +0 -250
- package/dist/plot.wsi-DJB7TDIS.js +0 -36
- package/dist/polar-K5Z5FYKV.js +0 -179
- package/dist/profile.spec-A6EADWEC.js +0 -71
- package/dist/profileBarchart-EFLPJK2P.js +0 -260
- package/dist/profileForms-TG35YNLD.js +0 -365
- package/dist/profilePlot-2EW2XVTK.js +0 -50
- package/dist/profileRadar-AKUYC2O5.js +0 -256
- package/dist/profileRadarFacility-EAT66XTX.js +0 -256
- package/dist/qualitative-PHQU5DXE.js +0 -34
- package/dist/regression-EOMJRRDO.js +0 -57
- package/dist/regression.inputs-LIH5X2JM.js +0 -49
- package/dist/regression.inputs.term-OO4RZ3QB.js +0 -49
- package/dist/regression.inputs.values.table-E7WCTO2L.js +0 -46
- package/dist/regression.integration.spec-62VEQP6X.js +0 -777
- package/dist/regression.results-WAHFJ6NA.js +0 -31
- package/dist/regression.spec-IBIOTZVX.js +0 -699
- package/dist/report-MKDJXHGY.js +0 -220
- package/dist/runChart-ETM2EETF.js +0 -54
- package/dist/runchart.integration.spec-QFA4XBKB.js +0 -362
- package/dist/sampleScatter.spec-N4N7ZGZF.js +0 -193
- package/dist/sampleView-JTY3RV7I.js +0 -42
- package/dist/samplelst-RRUMBVT6.js +0 -102
- package/dist/samplematrix-L37O664Y.js +0 -2189
- package/dist/scatter-E5QHW32W.js +0 -55
- package/dist/scatter.integration.spec-FNVAJSVU.js +0 -1026
- package/dist/selectGenomeWithTklst-J6VXCYGG.js +0 -125
- package/dist/singleCellPlot-S6S6CKYX.js +0 -50
- package/dist/singlecell-4BMIKFY4.js +0 -80
- package/dist/singlecell-B4TNI23F.js +0 -1563
- package/dist/snp-PAUQ24NZ.js +0 -73
- package/dist/snplocus-HVFYZTEE.js +0 -199
- package/dist/spliceevent.a53ss.diagram-GGGHVNBF.js +0 -142
- package/dist/spliceevent.exonskip.diagram-HLMFD6LJ.js +0 -268
- package/dist/spliceevent.noeventdiagram-CKZ3BZ7Y.js +0 -451
- package/dist/ssGSEA-UGT4GH55.js +0 -53
- package/dist/stattable-6JWMALGB.js +0 -89
- package/dist/summarizeCnvGeneexp-BJOQY62E.js +0 -136
- package/dist/summarizeGeneexpSurvival-4HDHL7PE.js +0 -90
- package/dist/summarizeMutationDiagnosis-TDWO5CKU.js +0 -32
- package/dist/summarizeMutationSurvival-CJJFABOX.js +0 -92
- package/dist/summary-WOAXXIHG.js +0 -55
- package/dist/summary.integration.spec-GM73ERMN.js +0 -405
- package/dist/summaryInput-FD4SONTY.js +0 -170
- package/dist/sunburst-3LCJTBRN.js +0 -275
- package/dist/survival-A3A7IVXT.js +0 -41
- package/dist/survival-XF72VMM6.js +0 -49
- package/dist/survival.integration.spec-AU7MCAQV.js +0 -601
- package/dist/svgraph-BEMS4JDJ.js +0 -1378
- package/dist/svmr-CDEMTZPK.js +0 -3833
- package/dist/table-WYF6QCGB.js +0 -193
- package/dist/termCollection-BVQMNVY7.js +0 -80
- package/dist/termInfo-JXLIVCSO.js +0 -9
- package/dist/tk-TGIIJYBO.js +0 -37
- package/dist/tp.ui-USYF67P7.js +0 -1450
- package/dist/tvs.dtcnv.continuous-7SCTSFK3.js +0 -65
- package/dist/tvs.numeric-OLVW6US3.js +0 -355
- package/dist/tvs.samplelst-BHZHCX5V.js +0 -95
- package/dist/violin-OEOWVIZF.js +0 -47
- package/dist/violin.integration.spec-AW2U3RHO.js +0 -1425
- package/dist/violin.interactivity-3O2UDNPQ.js +0 -39
- package/dist/violin.renderer-W26FA6M7.js +0 -31
- package/dist/vocabulary-BIQYDKVY.js +0 -32
- /package/dist/{2dmaf-E4NOGWWO.js.map → 2dmaf-6M6QWXAQ.js.map} +0 -0
- /package/dist/{AIProjectAdmin-3QDXMCOK.js.map → AIProjectAdmin-2NHMC3IV.js.map} +0 -0
- /package/dist/{AppHeader-IFZ57DJE.js.map → AppHeader-CTHEWSZD.js.map} +0 -0
- /package/dist/{BoxPlot-GXDTPRA5.js.map → BoxPlot-3U6ZAKKO.js.map} +0 -0
- /package/dist/{CorrelationVolcano-S4GUYIPT.js.map → CorrelationVolcano-2ASIR6KY.js.map} +0 -0
- /package/dist/{DifferentialAnalysis-YLKYWPUT.js.map → DifferentialAnalysis-C3NYGF7U.js.map} +0 -0
- /package/dist/{Disco-OQMP3HRQ.js.map → Disco-2QLBZ3X5.js.map} +0 -0
- /package/dist/{Disco.UI-XB3XQP33.js.map → Disco.UI-GPIIPM2P.js.map} +0 -0
- /package/dist/{DziViewer-UIRNTFNS.js.map → DziViewer-OHPZOH72.js.map} +0 -0
- /package/dist/{GB-KDPJTOLP.js.map → GB-FH6YQGHI.js.map} +0 -0
- /package/dist/{HicApp-XJERMLKH.js.map → HicApp-TI2II3SZ.js.map} +0 -0
- /package/dist/{NumBinaryEditor-5MWWWNLW.js.map → NumBinaryEditor-O42T63EX.js.map} +0 -0
- /package/dist/{NumBinaryEditor.unit.spec-ROGT5FOH.js.map → NumBinaryEditor.unit.spec-UMB2PHT5.js.map} +0 -0
- /package/dist/{NumContEditor-RRCB4CKG.js.map → NumContEditor-7NOUKPCV.js.map} +0 -0
- /package/dist/{NumContEditor.unit.spec-AJTKOF7W.js.map → NumContEditor.unit.spec-JGXJ2HLE.js.map} +0 -0
- /package/dist/{NumCustomBinEditor-3GJITZ7V.js.map → NumCustomBinEditor-6CHN3KX3.js.map} +0 -0
- /package/dist/{NumCustomBinEditor.unit.spec-DNBDZSHT.js.map → NumCustomBinEditor.unit.spec-RJPQLE3E.js.map} +0 -0
- /package/dist/{NumDiscreteEditor-TARWA6CZ.js.map → NumDiscreteEditor-AFTUKU4K.js.map} +0 -0
- /package/dist/{NumDiscreteEditor.unit.spec-TCSLTQ25.js.map → NumDiscreteEditor.unit.spec-GKR6ZNBQ.js.map} +0 -0
- /package/dist/{NumRegularBinEditor-QF5ALVV4.js.map → NumRegularBinEditor-UJ5WQPHR.js.map} +0 -0
- /package/dist/{NumRegularBinEditor.unit.spec-GFNDBWNM.js.map → NumRegularBinEditor.unit.spec-5HGJQEX7.js.map} +0 -0
- /package/dist/{NumSplineEditor-MOEUXR34.js.map → NumSplineEditor-JANA2DUE.js.map} +0 -0
- /package/dist/{NumSplineEditor.unit.spec-XPJOOXS4.js.map → NumSplineEditor.unit.spec-UYAMAKZD.js.map} +0 -0
- /package/dist/{NumericDensity-JDE263EQ.js.map → NumericDensity-YE5R4CNP.js.map} +0 -0
- /package/dist/{NumericDensity.unit.spec-RX6UGV56.js.map → NumericDensity.unit.spec-SVEB5U2S.js.map} +0 -0
- /package/dist/{NumericHandler-XM7LUYHN.js.map → NumericHandler-WW4M7YW2.js.map} +0 -0
- /package/dist/{NumericHandler.unit.spec-5EYRMII7.js.map → NumericHandler.unit.spec-2BWDFO53.js.map} +0 -0
- /package/dist/{SC-Z4KBNK7P.js.map → SC-UGJGMBL7.js.map} +0 -0
- /package/dist/{Volcano-WYJLKM4K.js.map → Volcano-IU76MEIL.js.map} +0 -0
- /package/dist/{WSIViewer-3RMG3VOA.js.map → WSIViewer-3S7N4UDO.js.map} +0 -0
- /package/dist/{WsiSamplesPlot-PAWNKI7R.js.map → WsiSamplesPlot-4CAOHWCL.js.map} +0 -0
- /package/dist/{adSandbox-7H5H46SE.js.map → adSandbox-AEBS3RTL.js.map} +0 -0
- /package/dist/{alphaGenome-PODWDV5T.js.map → alphaGenome-F2PB4SGI.js.map} +0 -0
- /package/dist/{app-JPURIGQW.js.map → app-6SKETLMT.js.map} +0 -0
- /package/dist/{app-YL7S55T5.js.map → app-GBEF2HBR.js.map} +0 -0
- /package/dist/{bam-XEO47VYA.js.map → bam-5SE6XQJV.js.map} +0 -0
- /package/dist/{barchart-B5M6SSJH.js.map → barchart-AUSOT2XB.js.map} +0 -0
- /package/dist/{barchart.data-6A6WVV4Y.js.map → barchart.data-GYCNBRPY.js.map} +0 -0
- /package/dist/{barchart.events-2GNB5KWY.js.map → barchart.events-QTSWNYXO.js.map} +0 -0
- /package/dist/{barchart.integration.spec-JEOTKIWC.js.map → barchart.integration.spec-LORJLJVX.js.map} +0 -0
- /package/dist/{bars.renderer-NLUBMQEO.js.map → bars.renderer-4N4QOUNI.js.map} +0 -0
- /package/dist/{bars.settings-UQZ63KU4.js.map → bars.settings-SDU7PZOS.js.map} +0 -0
- /package/dist/{block-B7WMYLPO.js.map → block-QLSIELXK.js.map} +0 -0
- /package/dist/{block.init-KCIXEYQC.js.map → block.init-OOLEA6ZK.js.map} +0 -0
- /package/dist/{block.mds.expressionrank-RYZXAH5Y.js.map → block.mds.expressionrank-D2KUISXZ.js.map} +0 -0
- /package/dist/{block.mds.geneboxplot-LNWUEI6N.js.map → block.mds.geneboxplot-AMYBWXPS.js.map} +0 -0
- /package/dist/{block.mds.junction-CVIY7QMD.js.map → block.mds.junction-OG335MBK.js.map} +0 -0
- /package/dist/{block.mds.svcnv-EUGWHSCA.js.map → block.mds.svcnv-WYDBQ6FV.js.map} +0 -0
- /package/dist/{block.svg-QBLNIGUF.js.map → block.svg-OH73245R.js.map} +0 -0
- /package/dist/{block.tk.aicheck-U6NG22FX.js.map → block.tk.aicheck-CG5THFW2.js.map} +0 -0
- /package/dist/{block.tk.ase-U3TRZAOH.js.map → block.tk.ase-G2L3G5MQ.js.map} +0 -0
- /package/dist/{block.tk.bam-6Y6YFVR2.js.map → block.tk.bam-DXWCA6EU.js.map} +0 -0
- /package/dist/{block.tk.bedgraphdot-O3VCFX6K.js.map → block.tk.bedgraphdot-LF3TFPNL.js.map} +0 -0
- /package/dist/{block.tk.bigwig.ui-DNBJAF72.js.map → block.tk.bigwig.ui-JKXZ3VDF.js.map} +0 -0
- /package/dist/{block.tk.hicstraw-2EIFJX7E.js.map → block.tk.hicstraw-ZK4RKFB6.js.map} +0 -0
- /package/dist/{block.tk.junction-UXSO5EJP.js.map → block.tk.junction-ZB7Q2NLB.js.map} +0 -0
- /package/dist/{block.tk.junction.textmatrixui-HQ6ZKCHM.js.map → block.tk.junction.textmatrixui-ZYNQWKIW.js.map} +0 -0
- /package/dist/{block.tk.ld-NEB4F3UG.js.map → block.tk.ld-7H64HGER.js.map} +0 -0
- /package/dist/{block.tk.menu-BN4JPJSD.js.map → block.tk.menu-WFVKAH74.js.map} +0 -0
- /package/dist/{block.tk.pgv-A4QFVSPF.js.map → block.tk.pgv-632LLSBI.js.map} +0 -0
- /package/dist/{brainImaging-ESQGNGZH.js.map → brainImaging-AEPTHIQF.js.map} +0 -0
- /package/dist/{chunk-U5QRRS7K.js.map → chunk-22O6F463.js.map} +0 -0
- /package/dist/{chunk-NRYOB7WU.js.map → chunk-2HJ7OD7H.js.map} +0 -0
- /package/dist/{chunk-PMZS3SHH.js.map → chunk-2MN5JLZB.js.map} +0 -0
- /package/dist/{chunk-7LKSKJCV.js.map → chunk-37CK5IGW.js.map} +0 -0
- /package/dist/{chunk-IPAGDFO4.js.map → chunk-3JFEWVHR.js.map} +0 -0
- /package/dist/{chunk-47HG7LGD.js.map → chunk-3MGBC64I.js.map} +0 -0
- /package/dist/{chunk-HEFXMCSF.js.map → chunk-3NWLWH4G.js.map} +0 -0
- /package/dist/{chunk-XATIKUGU.js.map → chunk-4GKQ5PWY.js.map} +0 -0
- /package/dist/{chunk-OQSP66C6.js.map → chunk-4PHD5H4A.js.map} +0 -0
- /package/dist/{chunk-GBWRKJAH.js.map → chunk-56IFQMJK.js.map} +0 -0
- /package/dist/{chunk-A76B53VT.js.map → chunk-5DMFTXUZ.js.map} +0 -0
- /package/dist/{chunk-W4D2EYE4.js.map → chunk-5QJDZHRU.js.map} +0 -0
- /package/dist/{chunk-OFQV6PRB.js.map → chunk-5WAVKWL6.js.map} +0 -0
- /package/dist/{chunk-C5YNONHQ.js.map → chunk-6ISTNHM6.js.map} +0 -0
- /package/dist/{chunk-ECKWM4HB.js.map → chunk-6VQ4C735.js.map} +0 -0
- /package/dist/{chunk-5CJJLBUZ.js.map → chunk-74WMSW3E.js.map} +0 -0
- /package/dist/{chunk-MG6GRQKO.js.map → chunk-AFU66YOW.js.map} +0 -0
- /package/dist/{chunk-2HQJMZNY.js.map → chunk-AUJ2YUXV.js.map} +0 -0
- /package/dist/{chunk-UZV3QI5M.js.map → chunk-B65X5UQH.js.map} +0 -0
- /package/dist/{chunk-TZRD3FPN.js.map → chunk-B6I64LSV.js.map} +0 -0
- /package/dist/{chunk-SN5QKRXO.js.map → chunk-BTYCW3D5.js.map} +0 -0
- /package/dist/{chunk-J2E4FALN.js.map → chunk-CCB5KYFQ.js.map} +0 -0
- /package/dist/{chunk-EEX5VPJG.js.map → chunk-CKLYFA7H.js.map} +0 -0
- /package/dist/{chunk-2DZWOGEH.js.map → chunk-CLYRJ466.js.map} +0 -0
- /package/dist/{chunk-3WA7SJTR.js.map → chunk-CPHCZZWT.js.map} +0 -0
- /package/dist/{chunk-VALBVQXS.js.map → chunk-CUADOD2T.js.map} +0 -0
- /package/dist/{chunk-L3PMRBTA.js.map → chunk-CV6ID6T7.js.map} +0 -0
- /package/dist/{chunk-7P67W6NF.js.map → chunk-CWHBWY3B.js.map} +0 -0
- /package/dist/{chunk-GG67VPVD.js.map → chunk-D53HBTYQ.js.map} +0 -0
- /package/dist/{chunk-RYRCMHYR.js.map → chunk-DKI7YOTJ.js.map} +0 -0
- /package/dist/{chunk-2MRZFUHZ.js.map → chunk-DNU4IPD2.js.map} +0 -0
- /package/dist/{chunk-AZ276Z7T.js.map → chunk-H6HP4H3U.js.map} +0 -0
- /package/dist/{chunk-GZ2B634M.js.map → chunk-HPEMEDXB.js.map} +0 -0
- /package/dist/{chunk-6MSJ3TLQ.js.map → chunk-HUDESZGX.js.map} +0 -0
- /package/dist/{chunk-FOXJTDTH.js.map → chunk-J7IU77CA.js.map} +0 -0
- /package/dist/{chunk-DPU66MZ7.js.map → chunk-JMO7ENSD.js.map} +0 -0
- /package/dist/{chunk-7RIC35AF.js.map → chunk-JTPN3BRG.js.map} +0 -0
- /package/dist/{chunk-EIMEUZP2.js.map → chunk-KCAMFDJH.js.map} +0 -0
- /package/dist/{chunk-OMO754MK.js.map → chunk-LD45BCVM.js.map} +0 -0
- /package/dist/{chunk-N5VBIEH5.js.map → chunk-LMELY5Z2.js.map} +0 -0
- /package/dist/{chunk-2ZEORJCF.js.map → chunk-LVQK62CV.js.map} +0 -0
- /package/dist/{chunk-PPJSDC3Z.js.map → chunk-MCVLRF66.js.map} +0 -0
- /package/dist/{chunk-4XDKCFFT.js.map → chunk-MLD7DW5I.js.map} +0 -0
- /package/dist/{chunk-JXHU2FIA.js.map → chunk-NEF7LGNE.js.map} +0 -0
- /package/dist/{chunk-UOMRXQNW.js.map → chunk-OARG7PAV.js.map} +0 -0
- /package/dist/{chunk-B662XJMJ.js.map → chunk-OGWY4MOB.js.map} +0 -0
- /package/dist/{chunk-QIS45Z4Y.js.map → chunk-PQD6K5W5.js.map} +0 -0
- /package/dist/{chunk-47X254B7.js.map → chunk-Q4FYGFTQ.js.map} +0 -0
- /package/dist/{chunk-F3FTQWTA.js.map → chunk-RA2KI64U.js.map} +0 -0
- /package/dist/{chunk-ROWCKPNW.js.map → chunk-RHHLAKYS.js.map} +0 -0
- /package/dist/{chunk-S7EKSDVS.js.map → chunk-RKV3CP4C.js.map} +0 -0
- /package/dist/{chunk-OS46MR72.js.map → chunk-RL7RU2V7.js.map} +0 -0
- /package/dist/{chunk-CZTC4MTE.js.map → chunk-RQ7CE7SK.js.map} +0 -0
- /package/dist/{chunk-KGYPMYQD.js.map → chunk-RX552WU6.js.map} +0 -0
- /package/dist/{chunk-RQUXELHE.js.map → chunk-S7V4SFKB.js.map} +0 -0
- /package/dist/{chunk-PBJFLQGL.js.map → chunk-SEL5UNRC.js.map} +0 -0
- /package/dist/{chunk-236ZRGXA.js.map → chunk-SRBO57AD.js.map} +0 -0
- /package/dist/{chunk-CT3LPTWW.js.map → chunk-SYGLOTOV.js.map} +0 -0
- /package/dist/{chunk-KGSCQRQ5.js.map → chunk-UZ466XO3.js.map} +0 -0
- /package/dist/{chunk-ZL4CNBYY.js.map → chunk-VDF5W47R.js.map} +0 -0
- /package/dist/{chunk-ZQ7L66GP.js.map → chunk-WTPVXDJT.js.map} +0 -0
- /package/dist/{chunk-I26R4NJJ.js.map → chunk-XRIM2YJZ.js.map} +0 -0
- /package/dist/{chunk-F4APZ34G.js.map → chunk-YSWMQO23.js.map} +0 -0
- /package/dist/{chunk-RCVZ4L7K.js.map → chunk-ZBZXIWSK.js.map} +0 -0
- /package/dist/{chunk-ICNJQHQZ.js.map → chunk-ZFFHOEBE.js.map} +0 -0
- /package/dist/{chunk-E6NE5IWR.js.map → chunk-ZG63ZUDE.js.map} +0 -0
- /package/dist/{chunk-BP2F2GRB.js.map → chunk-ZGQ3BMLW.js.map} +0 -0
- /package/dist/{chunk-M7QVMSRW.js.map → chunk-ZNINQ3FN.js.map} +0 -0
- /package/dist/{chunk-ETFPL4UP.js.map → chunk-ZQZWM544.js.map} +0 -0
- /package/dist/{condition-24HPVH23.js.map → condition-4FVKPSQ2.js.map} +0 -0
- /package/dist/{controls-5CSAKANR.js.map → controls-ZWBN566I.js.map} +0 -0
- /package/dist/{controls.btns-QLLBCT65.js.map → controls.btns-H4TWTHTW.js.map} +0 -0
- /package/dist/{controls.config-H4FMU5LI.js.map → controls.config-YU4W3CDL.js.map} +0 -0
- /package/dist/{correlation-RB77VSXB.js.map → correlation-VADB4SQO.js.map} +0 -0
- /package/dist/{cuminc-YZSLH5IO.js.map → cuminc-4BXE2YS6.js.map} +0 -0
- /package/dist/{cuminc.integration.spec-MZPT3Y5A.js.map → cuminc.integration.spec-XQREKHVA.js.map} +0 -0
- /package/dist/{customdata.inputui-CBTZFODT.js.map → customdata.inputui-VBQWT3M7.js.map} +0 -0
- /package/dist/{dataDownload-ZTGRVI4Q.js.map → dataDownload-QIZKBKH7.js.map} +0 -0
- /package/dist/{dataDownload.integration.spec-Q6GUTUYD.js.map → dataDownload.integration.spec-MLJEHLYD.js.map} +0 -0
- /package/dist/{databrowser.ui-V7E6CLUZ.js.map → databrowser.ui-6UIR4ULJ.js.map} +0 -0
- /package/dist/{dictionary-RPC5OZMM.js.map → dictionary-FLWIWAC6.js.map} +0 -0
- /package/dist/{e2pca-WDQHMAUM.js.map → e2pca-NKWSJRXM.js.map} +0 -0
- /package/dist/{ep-NAM34BBI.js.map → ep-EPN3AR6D.js.map} +0 -0
- /package/dist/{expclust.gdc.spec-QB4GVDJA.js.map → expclust.gdc.spec-ZRUH5E6E.js.map} +0 -0
- /package/dist/{facet-DOXBBIG6.js.map → facet-BM7SLACF.js.map} +0 -0
- /package/dist/{frequencyChart-GLOIGP3T.js.map → frequencyChart-HBXRIBAW.js.map} +0 -0
- /package/dist/{frequencyChart.integration.spec-B7NBBLH2.js.map → frequencyChart.integration.spec-YJUYZWM6.js.map} +0 -0
- /package/dist/{geneExpClustering-B4S6GFNT.js.map → geneExpClustering-4VD5PAWN.js.map} +0 -0
- /package/dist/{geneExpression-MVVXRNEY.js.map → geneExpression-6OT2Y4P6.js.map} +0 -0
- /package/dist/{geneExpression-DMU4AQP6.js.map → geneExpression-EAMEZXJQ.js.map} +0 -0
- /package/dist/{geneORA-XDAITCQF.js.map → geneORA-RI2AG7JT.js.map} +0 -0
- /package/dist/{geneVariant-N6IGEIRR.js.map → geneVariant-FYYEOTWA.js.map} +0 -0
- /package/dist/{geneVariant-QYLA2V6J.js.map → geneVariant-PAKVDVC4.js.map} +0 -0
- /package/dist/{genefusion.ui-FRBMNK7V.js.map → genefusion.ui-QWC42XWQ.js.map} +0 -0
- /package/dist/{geneset-GZYNBG7Y.js.map → geneset-XA6IWP3Q.js.map} +0 -0
- /package/dist/{genomeBrowser.spec-WFIVQSE7.js.map → genomeBrowser.spec-LRKXWXNT.js.map} +0 -0
- /package/dist/{grin2-ZKNNZXON.js.map → grin2-WLB7BY3S.js.map} +0 -0
- /package/dist/{gsea-GFGAEC4K.js.map → gsea-ZM4WOPSQ.js.map} +0 -0
- /package/dist/{hierCluster-MF4TI3E4.js.map → hierCluster-LD43LLRC.js.map} +0 -0
- /package/dist/{hierCluster-SDJMQLOQ.js.map → hierCluster-ZGYRS2WV.js.map} +0 -0
- /package/dist/{hierCluster.config-RMEX3VTC.js.map → hierCluster.config-O5HUOFNH.js.map} +0 -0
- /package/dist/{hierCluster.integration.spec-3H63OHMU.js.map → hierCluster.integration.spec-37UNKHTH.js.map} +0 -0
- /package/dist/{hierCluster.interactivity-4DZBRQ6P.js.map → hierCluster.interactivity-B27ETKRP.js.map} +0 -0
- /package/dist/{hierCluster.renderers-UOW7BI6N.js.map → hierCluster.renderers-GWFH5ZX7.js.map} +0 -0
- /package/dist/{imagePlot-P2UHJRSL.js.map → imagePlot-LJZVGNDJ.js.map} +0 -0
- /package/dist/{importPlot-PPCMNVOW.js.map → importPlot-RMVENQRD.js.map} +0 -0
- /package/dist/{launch.adhoc-RJWUEVRA.js.map → launch.adhoc-S3XHRSLN.js.map} +0 -0
- /package/dist/{leftlabel.sample-OYP6MICL.js.map → leftlabel.sample-J6PCA3UB.js.map} +0 -0
- /package/dist/{lollipop-BXQOWLGO.js.map → lollipop-OZTV4C7A.js.map} +0 -0
- /package/dist/{maftimeline-GHKDDWYR.js.map → maftimeline-6F2LQJU6.js.map} +0 -0
- /package/dist/{matrix-FWDLHZYR.js.map → matrix-FIXOFAB4.js.map} +0 -0
- /package/dist/{matrix-YMJFP53F.js.map → matrix-O5KPDLM2.js.map} +0 -0
- /package/dist/{matrix.cells-JH7FPY3E.js.map → matrix.cells-SCLZA3P4.js.map} +0 -0
- /package/dist/{matrix.config-HIHOLDCE.js.map → matrix.config-WG7HFJL4.js.map} +0 -0
- /package/dist/{matrix.controls-EKZ543FY.js.map → matrix.controls-QQLBUUYP.js.map} +0 -0
- /package/dist/{matrix.data-NKAZI2BF.js.map → matrix.data-6JLF5HVI.js.map} +0 -0
- /package/dist/{matrix.dom-RGZ52GJ2.js.map → matrix.dom-QO7BXZ27.js.map} +0 -0
- /package/dist/{matrix.groups-BO53ZXXV.js.map → matrix.groups-QMZMZ6Q7.js.map} +0 -0
- /package/dist/{matrix.integration.spec-BXTATNAC.js.map → matrix.integration.spec-ZJYWNQ57.js.map} +0 -0
- /package/dist/{matrix.interactivity-UGUMKCFN.js.map → matrix.interactivity-ZZY5ET4E.js.map} +0 -0
- /package/dist/{matrix.layout-WBIF5QTG.js.map → matrix.layout-XKFB4PKY.js.map} +0 -0
- /package/dist/{matrix.legend-P3GFCXXK.js.map → matrix.legend-CS6DNC5V.js.map} +0 -0
- /package/dist/{matrix.renderers-I54IHQ3S.js.map → matrix.renderers-4LST6PBA.js.map} +0 -0
- /package/dist/{matrix.serieses-R2T57OYI.js.map → matrix.serieses-3SERD6CV.js.map} +0 -0
- /package/dist/{matrix.sort-3GCA2GDU.js.map → matrix.sort-UVS6WHIS.js.map} +0 -0
- /package/dist/{matrix.sort.unit.spec-AXGPCZZD.js.map → matrix.sort.unit.spec-CTSUNUWB.js.map} +0 -0
- /package/dist/{matrix.sorterUi-QWRK6OGE.js.map → matrix.sorterUi-JDGLTLJM.js.map} +0 -0
- /package/dist/{matrix.sorterUi.unit.spec-H7GUVWRJ.js.map → matrix.sorterUi.unit.spec-VQFMHIYI.js.map} +0 -0
- /package/dist/{mavb-4EECWXYX.js.map → mavb-ECQ2CQ7F.js.map} +0 -0
- /package/dist/{mds.fimo-NHZOY43X.js.map → mds.fimo-JDYDT5NK.js.map} +0 -0
- /package/dist/{mds.samplescatterplot-7A5IZ6W7.js.map → mds.samplescatterplot-PEJBVSTO.js.map} +0 -0
- /package/dist/{mds.survivalplot-SQDPUFQE.js.map → mds.survivalplot-GYK6VRQT.js.map} +0 -0
- /package/dist/{mutationSignature-QH7PZYKL.js.map → mutationSignature-43SECPTY.js.map} +0 -0
- /package/dist/{numericDictTermCluster-X5SGSC5K.js.map → numericDictTermCluster-2ER4FUKO.js.map} +0 -0
- /package/dist/{oncomatrix-M4C4XPQK.js.map → oncomatrix-ZXDJMLN3.js.map} +0 -0
- /package/dist/{oncomatrix.spec-3C642O7O.js.map → oncomatrix.spec-HOPRIG3I.js.map} +0 -0
- /package/dist/{plot.2dvaf-TILP7J53.js.map → plot.2dvaf-Y4SZUHLD.js.map} +0 -0
- /package/dist/{plot.app-DE2UQP2M.js.map → plot.app-W5Z3C7P5.js.map} +0 -0
- /package/dist/{plot.barplot-FJHS765K.js.map → plot.barplot-B2PRZDKV.js.map} +0 -0
- /package/dist/{plot.boxplot-YRSHGNYZ.js.map → plot.boxplot-J7ET34FY.js.map} +0 -0
- /package/dist/{plot.brainImaging-JV4OUVJY.js.map → plot.brainImaging-ISY4P6RT.js.map} +0 -0
- /package/dist/{plot.disco-DBVPBMLG.js.map → plot.disco-D7AL42PW.js.map} +0 -0
- /package/dist/{plot.dzi-O2OA4EBK.js.map → plot.dzi-O32LH65U.js.map} +0 -0
- /package/dist/{plot.ssgq-YFQEZQYK.js.map → plot.ssgq-WF7262IZ.js.map} +0 -0
- /package/dist/{plot.vaf2cov-YNFP5LJ4.js.map → plot.vaf2cov-OB6UKSFQ.js.map} +0 -0
- /package/dist/{plot.wsi-DJB7TDIS.js.map → plot.wsi-J5S4YYXN.js.map} +0 -0
- /package/dist/{polar-K5Z5FYKV.js.map → polar-LIJORXR6.js.map} +0 -0
- /package/dist/{profile.spec-A6EADWEC.js.map → profile.spec-3KE4CREI.js.map} +0 -0
- /package/dist/{profileBarchart-EFLPJK2P.js.map → profileBarchart-UQHOJB5V.js.map} +0 -0
- /package/dist/{profileForms-TG35YNLD.js.map → profileForms-WTYVTIUN.js.map} +0 -0
- /package/dist/{profilePlot-2EW2XVTK.js.map → profilePlot-SOXXEUAT.js.map} +0 -0
- /package/dist/{profileRadar-AKUYC2O5.js.map → profileRadar-2OHJ2RIU.js.map} +0 -0
- /package/dist/{profileRadarFacility-EAT66XTX.js.map → profileRadarFacility-GHLG3QNG.js.map} +0 -0
- /package/dist/{qualitative-PHQU5DXE.js.map → qualitative-B3OY7A7P.js.map} +0 -0
- /package/dist/{regression-EOMJRRDO.js.map → regression-HO2TO4XT.js.map} +0 -0
- /package/dist/{regression.inputs-LIH5X2JM.js.map → regression.inputs-JN3ZMIOP.js.map} +0 -0
- /package/dist/{regression.inputs.term-OO4RZ3QB.js.map → regression.inputs.term-67HVMXFZ.js.map} +0 -0
- /package/dist/{regression.inputs.values.table-E7WCTO2L.js.map → regression.inputs.values.table-JXJK2YZT.js.map} +0 -0
- /package/dist/{regression.integration.spec-62VEQP6X.js.map → regression.integration.spec-L54ZS5VY.js.map} +0 -0
- /package/dist/{regression.results-WAHFJ6NA.js.map → regression.results-3ZSFKUNN.js.map} +0 -0
- /package/dist/{regression.spec-IBIOTZVX.js.map → regression.spec-SVWCQX2U.js.map} +0 -0
- /package/dist/{report-MKDJXHGY.js.map → report-IHX7XSOI.js.map} +0 -0
- /package/dist/{runChart-ETM2EETF.js.map → runChart-QLQMK3OE.js.map} +0 -0
- /package/dist/{runchart.integration.spec-QFA4XBKB.js.map → runchart.integration.spec-5NVY5GHR.js.map} +0 -0
- /package/dist/{sampleScatter.spec-N4N7ZGZF.js.map → sampleScatter.spec-4Q5CQQWH.js.map} +0 -0
- /package/dist/{sampleView-JTY3RV7I.js.map → sampleView-7WHDFHB5.js.map} +0 -0
- /package/dist/{samplelst-RRUMBVT6.js.map → samplelst-34GJVLVD.js.map} +0 -0
- /package/dist/{samplematrix-L37O664Y.js.map → samplematrix-L2HOSLUT.js.map} +0 -0
- /package/dist/{scatter-E5QHW32W.js.map → scatter-X6AAM2LJ.js.map} +0 -0
- /package/dist/{scatter.integration.spec-FNVAJSVU.js.map → scatter.integration.spec-QSH3PLBK.js.map} +0 -0
- /package/dist/{selectGenomeWithTklst-J6VXCYGG.js.map → selectGenomeWithTklst-AJS2IPPW.js.map} +0 -0
- /package/dist/{singleCellPlot-S6S6CKYX.js.map → singleCellPlot-7JEWDVSR.js.map} +0 -0
- /package/dist/{singlecell-B4TNI23F.js.map → singlecell-IC5KU72L.js.map} +0 -0
- /package/dist/{singlecell-4BMIKFY4.js.map → singlecell-NWANPXWM.js.map} +0 -0
- /package/dist/{snp-PAUQ24NZ.js.map → snp-PSRNMTL6.js.map} +0 -0
- /package/dist/{snplocus-HVFYZTEE.js.map → snplocus-QCAVDYLR.js.map} +0 -0
- /package/dist/{spliceevent.a53ss.diagram-GGGHVNBF.js.map → spliceevent.a53ss.diagram-SGDJKUEC.js.map} +0 -0
- /package/dist/{spliceevent.exonskip.diagram-HLMFD6LJ.js.map → spliceevent.exonskip.diagram-BUYTHCK5.js.map} +0 -0
- /package/dist/{spliceevent.noeventdiagram-CKZ3BZ7Y.js.map → spliceevent.noeventdiagram-OJZJUHXP.js.map} +0 -0
- /package/dist/{ssGSEA-UGT4GH55.js.map → ssGSEA-UUZG57MF.js.map} +0 -0
- /package/dist/{stattable-6JWMALGB.js.map → stattable-324FS2HA.js.map} +0 -0
- /package/dist/{summarizeCnvGeneexp-BJOQY62E.js.map → summarizeCnvGeneexp-ZVZYWP43.js.map} +0 -0
- /package/dist/{summarizeGeneexpSurvival-4HDHL7PE.js.map → summarizeGeneexpSurvival-7XJRMT6M.js.map} +0 -0
- /package/dist/{summarizeMutationDiagnosis-TDWO5CKU.js.map → summarizeMutationDiagnosis-ZKLXOVY2.js.map} +0 -0
- /package/dist/{summarizeMutationSurvival-CJJFABOX.js.map → summarizeMutationSurvival-S4YPGLWA.js.map} +0 -0
- /package/dist/{summary-WOAXXIHG.js.map → summary-RVG7JL6Y.js.map} +0 -0
- /package/dist/{summary.integration.spec-GM73ERMN.js.map → summary.integration.spec-SCD35GO4.js.map} +0 -0
- /package/dist/{summaryInput-FD4SONTY.js.map → summaryInput-DMN6DTSW.js.map} +0 -0
- /package/dist/{sunburst-3LCJTBRN.js.map → sunburst-QZXYILRC.js.map} +0 -0
- /package/dist/{survival-A3A7IVXT.js.map → survival-6CWEBRSF.js.map} +0 -0
- /package/dist/{survival-XF72VMM6.js.map → survival-J657VYLI.js.map} +0 -0
- /package/dist/{survival.integration.spec-AU7MCAQV.js.map → survival.integration.spec-S5WE4V6M.js.map} +0 -0
- /package/dist/{svgraph-BEMS4JDJ.js.map → svgraph-NEKJL24M.js.map} +0 -0
- /package/dist/{svmr-CDEMTZPK.js.map → svmr-5RQ5JQF2.js.map} +0 -0
- /package/dist/{table-WYF6QCGB.js.map → table-CG6Z6NCJ.js.map} +0 -0
- /package/dist/{termCollection-BVQMNVY7.js.map → termCollection-FOQNVXB7.js.map} +0 -0
- /package/dist/{termInfo-JXLIVCSO.js.map → termInfo-5USFZGDB.js.map} +0 -0
- /package/dist/{tk-TGIIJYBO.js.map → tk-2O7XOVGJ.js.map} +0 -0
- /package/dist/{tp.ui-USYF67P7.js.map → tp.ui-S4YUVCZH.js.map} +0 -0
- /package/dist/{tvs.dtcnv.continuous-7SCTSFK3.js.map → tvs.dtcnv.continuous-7BPIXZ6C.js.map} +0 -0
- /package/dist/{tvs.numeric-OLVW6US3.js.map → tvs.numeric-FCC2EY62.js.map} +0 -0
- /package/dist/{tvs.samplelst-BHZHCX5V.js.map → tvs.samplelst-PKGFTULN.js.map} +0 -0
- /package/dist/{violin-OEOWVIZF.js.map → violin-C7IBRTYP.js.map} +0 -0
- /package/dist/{violin.integration.spec-AW2U3RHO.js.map → violin.integration.spec-WXRD3Z4E.js.map} +0 -0
- /package/dist/{violin.interactivity-3O2UDNPQ.js.map → violin.interactivity-BMG4TG5L.js.map} +0 -0
- /package/dist/{violin.renderer-W26FA6M7.js.map → violin.renderer-WUNW6ULV.js.map} +0 -0
- /package/dist/{vocabulary-BIQYDKVY.js.map → vocabulary-UUNEEBM3.js.map} +0 -0
package/dist/chunk-QIS45Z4Y.js
DELETED
|
@@ -1,2784 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Tabs,
|
|
3
|
-
addGeneSearchbox,
|
|
4
|
-
appear2 as appear,
|
|
5
|
-
newSandboxDiv,
|
|
6
|
-
sayerror,
|
|
7
|
-
tab_wait
|
|
8
|
-
} from "./chunk-UT6W4ZZL.js";
|
|
9
|
-
import {
|
|
10
|
-
dofetch,
|
|
11
|
-
dofetch3
|
|
12
|
-
} from "./chunk-5TDKRZN5.js";
|
|
13
|
-
import {
|
|
14
|
-
Menu
|
|
15
|
-
} from "./chunk-NXOWHUR4.js";
|
|
16
|
-
import {
|
|
17
|
-
select_default
|
|
18
|
-
} from "./chunk-NDWTN4U5.js";
|
|
19
|
-
import {
|
|
20
|
-
__commonJS,
|
|
21
|
-
__toESM
|
|
22
|
-
} from "./chunk-HFNDKYVF.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, "&").replace(/</g, "<").replace(/>/g, ">").replace(/"/g, """).replace(/'/g, "'");
|
|
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 = 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 makeButton(arg) {
|
|
1519
|
-
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);
|
|
1520
|
-
return button;
|
|
1521
|
-
}
|
|
1522
|
-
|
|
1523
|
-
// dom/breadcrumbs.js
|
|
1524
|
-
var BreadcrumbTrail = class {
|
|
1525
|
-
constructor(opts) {
|
|
1526
|
-
this.opts = opts;
|
|
1527
|
-
this.dom = {
|
|
1528
|
-
holder: opts.holder,
|
|
1529
|
-
trailDiv: opts.trailDiv || opts.holder.append("div")
|
|
1530
|
-
};
|
|
1531
|
-
setRenderers(this);
|
|
1532
|
-
}
|
|
1533
|
-
async main(opts = {}) {
|
|
1534
|
-
try {
|
|
1535
|
-
return await this.render();
|
|
1536
|
-
} catch (e) {
|
|
1537
|
-
if (e.stack) console.log(e.stack);
|
|
1538
|
-
else throw e;
|
|
1539
|
-
}
|
|
1540
|
-
}
|
|
1541
|
-
};
|
|
1542
|
-
function setRenderers(self) {
|
|
1543
|
-
self.render = async () => {
|
|
1544
|
-
self.crumbs = self.opts.crumbs;
|
|
1545
|
-
for (const crumb of self.crumbs) {
|
|
1546
|
-
crumb.label = crumb.label || crumb.name;
|
|
1547
|
-
if (!crumb.inTrail) crumb.inTrail = false;
|
|
1548
|
-
}
|
|
1549
|
-
const has_active_crumb = self.crumbs.find((crumb) => crumb.inTrail);
|
|
1550
|
-
if (!has_active_crumb) self.crumbs[0].inTrail = true;
|
|
1551
|
-
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 ? ` > <a href="${crumb.link}">${crumb.label}</a>` : ` > ${crumb.label}`).style("display", (crumb) => crumb.inTrail ? "inline-block" : "none").each(async function(crumb) {
|
|
1552
|
-
crumb.div = select_default(this);
|
|
1553
|
-
});
|
|
1554
|
-
const activeCrumbIndex = self.crumbs.findIndex((c) => c.inTrail);
|
|
1555
|
-
self.update(activeCrumbIndex);
|
|
1556
|
-
};
|
|
1557
|
-
self.update = (crumbIndex = 0) => {
|
|
1558
|
-
self.crumbs.forEach((crumb, i) => {
|
|
1559
|
-
crumb.inTrail = crumbIndex === i;
|
|
1560
|
-
});
|
|
1561
|
-
self.dom.trailDiv.selectAll("span").data(self.crumbs).each(async (crumb) => {
|
|
1562
|
-
crumb.div.style("display", crumb.inTrail ? "inline-block" : "none");
|
|
1563
|
-
});
|
|
1564
|
-
};
|
|
1565
|
-
}
|
|
1566
|
-
|
|
1567
|
-
// ../node_modules/highlight.js/es/core.js
|
|
1568
|
-
var import_core = __toESM(require_core(), 1);
|
|
1569
|
-
var core_default = import_core.default;
|
|
1570
|
-
|
|
1571
|
-
// ../node_modules/highlight.js/es/languages/javascript.js
|
|
1572
|
-
var IDENT_RE = "[A-Za-z$_][0-9A-Za-z$_]*";
|
|
1573
|
-
var KEYWORDS = [
|
|
1574
|
-
"as",
|
|
1575
|
-
// for exports
|
|
1576
|
-
"in",
|
|
1577
|
-
"of",
|
|
1578
|
-
"if",
|
|
1579
|
-
"for",
|
|
1580
|
-
"while",
|
|
1581
|
-
"finally",
|
|
1582
|
-
"var",
|
|
1583
|
-
"new",
|
|
1584
|
-
"function",
|
|
1585
|
-
"do",
|
|
1586
|
-
"return",
|
|
1587
|
-
"void",
|
|
1588
|
-
"else",
|
|
1589
|
-
"break",
|
|
1590
|
-
"catch",
|
|
1591
|
-
"instanceof",
|
|
1592
|
-
"with",
|
|
1593
|
-
"throw",
|
|
1594
|
-
"case",
|
|
1595
|
-
"default",
|
|
1596
|
-
"try",
|
|
1597
|
-
"switch",
|
|
1598
|
-
"continue",
|
|
1599
|
-
"typeof",
|
|
1600
|
-
"delete",
|
|
1601
|
-
"let",
|
|
1602
|
-
"yield",
|
|
1603
|
-
"const",
|
|
1604
|
-
"class",
|
|
1605
|
-
// JS handles these with a special rule
|
|
1606
|
-
// "get",
|
|
1607
|
-
// "set",
|
|
1608
|
-
"debugger",
|
|
1609
|
-
"async",
|
|
1610
|
-
"await",
|
|
1611
|
-
"static",
|
|
1612
|
-
"import",
|
|
1613
|
-
"from",
|
|
1614
|
-
"export",
|
|
1615
|
-
"extends"
|
|
1616
|
-
];
|
|
1617
|
-
var LITERALS = [
|
|
1618
|
-
"true",
|
|
1619
|
-
"false",
|
|
1620
|
-
"null",
|
|
1621
|
-
"undefined",
|
|
1622
|
-
"NaN",
|
|
1623
|
-
"Infinity"
|
|
1624
|
-
];
|
|
1625
|
-
var TYPES = [
|
|
1626
|
-
"Intl",
|
|
1627
|
-
"DataView",
|
|
1628
|
-
"Number",
|
|
1629
|
-
"Math",
|
|
1630
|
-
"Date",
|
|
1631
|
-
"String",
|
|
1632
|
-
"RegExp",
|
|
1633
|
-
"Object",
|
|
1634
|
-
"Function",
|
|
1635
|
-
"Boolean",
|
|
1636
|
-
"Error",
|
|
1637
|
-
"Symbol",
|
|
1638
|
-
"Set",
|
|
1639
|
-
"Map",
|
|
1640
|
-
"WeakSet",
|
|
1641
|
-
"WeakMap",
|
|
1642
|
-
"Proxy",
|
|
1643
|
-
"Reflect",
|
|
1644
|
-
"JSON",
|
|
1645
|
-
"Promise",
|
|
1646
|
-
"Float64Array",
|
|
1647
|
-
"Int16Array",
|
|
1648
|
-
"Int32Array",
|
|
1649
|
-
"Int8Array",
|
|
1650
|
-
"Uint16Array",
|
|
1651
|
-
"Uint32Array",
|
|
1652
|
-
"Float32Array",
|
|
1653
|
-
"Array",
|
|
1654
|
-
"Uint8Array",
|
|
1655
|
-
"Uint8ClampedArray",
|
|
1656
|
-
"ArrayBuffer",
|
|
1657
|
-
"BigInt64Array",
|
|
1658
|
-
"BigUint64Array",
|
|
1659
|
-
"BigInt"
|
|
1660
|
-
];
|
|
1661
|
-
var ERROR_TYPES = [
|
|
1662
|
-
"EvalError",
|
|
1663
|
-
"InternalError",
|
|
1664
|
-
"RangeError",
|
|
1665
|
-
"ReferenceError",
|
|
1666
|
-
"SyntaxError",
|
|
1667
|
-
"TypeError",
|
|
1668
|
-
"URIError"
|
|
1669
|
-
];
|
|
1670
|
-
var BUILT_IN_GLOBALS = [
|
|
1671
|
-
"setInterval",
|
|
1672
|
-
"setTimeout",
|
|
1673
|
-
"clearInterval",
|
|
1674
|
-
"clearTimeout",
|
|
1675
|
-
"require",
|
|
1676
|
-
"exports",
|
|
1677
|
-
"eval",
|
|
1678
|
-
"isFinite",
|
|
1679
|
-
"isNaN",
|
|
1680
|
-
"parseFloat",
|
|
1681
|
-
"parseInt",
|
|
1682
|
-
"decodeURI",
|
|
1683
|
-
"decodeURIComponent",
|
|
1684
|
-
"encodeURI",
|
|
1685
|
-
"encodeURIComponent",
|
|
1686
|
-
"escape",
|
|
1687
|
-
"unescape"
|
|
1688
|
-
];
|
|
1689
|
-
var BUILT_IN_VARIABLES = [
|
|
1690
|
-
"arguments",
|
|
1691
|
-
"this",
|
|
1692
|
-
"super",
|
|
1693
|
-
"console",
|
|
1694
|
-
"window",
|
|
1695
|
-
"document",
|
|
1696
|
-
"localStorage",
|
|
1697
|
-
"module",
|
|
1698
|
-
"global"
|
|
1699
|
-
// Node.js
|
|
1700
|
-
];
|
|
1701
|
-
var BUILT_INS = [].concat(
|
|
1702
|
-
BUILT_IN_GLOBALS,
|
|
1703
|
-
TYPES,
|
|
1704
|
-
ERROR_TYPES
|
|
1705
|
-
);
|
|
1706
|
-
function source(re) {
|
|
1707
|
-
if (!re) return null;
|
|
1708
|
-
if (typeof re === "string") return re;
|
|
1709
|
-
return re.source;
|
|
1710
|
-
}
|
|
1711
|
-
function lookahead(re) {
|
|
1712
|
-
return concat("(?=", re, ")");
|
|
1713
|
-
}
|
|
1714
|
-
function concat(...args) {
|
|
1715
|
-
const joined = args.map((x) => source(x)).join("");
|
|
1716
|
-
return joined;
|
|
1717
|
-
}
|
|
1718
|
-
function javascript(hljs2) {
|
|
1719
|
-
const hasClosingTag = (match, { after }) => {
|
|
1720
|
-
const tag = "</" + match[0].slice(1);
|
|
1721
|
-
const pos = match.input.indexOf(tag, after);
|
|
1722
|
-
return pos !== -1;
|
|
1723
|
-
};
|
|
1724
|
-
const IDENT_RE$1 = IDENT_RE;
|
|
1725
|
-
const FRAGMENT = {
|
|
1726
|
-
begin: "<>",
|
|
1727
|
-
end: "</>"
|
|
1728
|
-
};
|
|
1729
|
-
const XML_TAG = {
|
|
1730
|
-
begin: /<[A-Za-z0-9\\._:-]+/,
|
|
1731
|
-
end: /\/[A-Za-z0-9\\._:-]+>|\/>/,
|
|
1732
|
-
/**
|
|
1733
|
-
* @param {RegExpMatchArray} match
|
|
1734
|
-
* @param {CallbackResponse} response
|
|
1735
|
-
*/
|
|
1736
|
-
isTrulyOpeningTag: (match, response) => {
|
|
1737
|
-
const afterMatchIndex = match[0].length + match.index;
|
|
1738
|
-
const nextChar = match.input[afterMatchIndex];
|
|
1739
|
-
if (nextChar === "<") {
|
|
1740
|
-
response.ignoreMatch();
|
|
1741
|
-
return;
|
|
1742
|
-
}
|
|
1743
|
-
if (nextChar === ">") {
|
|
1744
|
-
if (!hasClosingTag(match, { after: afterMatchIndex })) {
|
|
1745
|
-
response.ignoreMatch();
|
|
1746
|
-
}
|
|
1747
|
-
}
|
|
1748
|
-
}
|
|
1749
|
-
};
|
|
1750
|
-
const KEYWORDS$1 = {
|
|
1751
|
-
$pattern: IDENT_RE,
|
|
1752
|
-
keyword: KEYWORDS,
|
|
1753
|
-
literal: LITERALS,
|
|
1754
|
-
built_in: BUILT_INS,
|
|
1755
|
-
"variable.language": BUILT_IN_VARIABLES
|
|
1756
|
-
};
|
|
1757
|
-
const decimalDigits = "[0-9](_?[0-9])*";
|
|
1758
|
-
const frac = `\\.(${decimalDigits})`;
|
|
1759
|
-
const decimalInteger = `0|[1-9](_?[0-9])*|0[0-7]*[89][0-9]*`;
|
|
1760
|
-
const NUMBER = {
|
|
1761
|
-
className: "number",
|
|
1762
|
-
variants: [
|
|
1763
|
-
// DecimalLiteral
|
|
1764
|
-
{ begin: `(\\b(${decimalInteger})((${frac})|\\.)?|(${frac}))[eE][+-]?(${decimalDigits})\\b` },
|
|
1765
|
-
{ begin: `\\b(${decimalInteger})\\b((${frac})\\b|\\.)?|(${frac})\\b` },
|
|
1766
|
-
// DecimalBigIntegerLiteral
|
|
1767
|
-
{ begin: `\\b(0|[1-9](_?[0-9])*)n\\b` },
|
|
1768
|
-
// NonDecimalIntegerLiteral
|
|
1769
|
-
{ begin: "\\b0[xX][0-9a-fA-F](_?[0-9a-fA-F])*n?\\b" },
|
|
1770
|
-
{ begin: "\\b0[bB][0-1](_?[0-1])*n?\\b" },
|
|
1771
|
-
{ begin: "\\b0[oO][0-7](_?[0-7])*n?\\b" },
|
|
1772
|
-
// LegacyOctalIntegerLiteral (does not include underscore separators)
|
|
1773
|
-
// https://tc39.es/ecma262/#sec-additional-syntax-numeric-literals
|
|
1774
|
-
{ begin: "\\b0[0-7]+n?\\b" }
|
|
1775
|
-
],
|
|
1776
|
-
relevance: 0
|
|
1777
|
-
};
|
|
1778
|
-
const SUBST = {
|
|
1779
|
-
className: "subst",
|
|
1780
|
-
begin: "\\$\\{",
|
|
1781
|
-
end: "\\}",
|
|
1782
|
-
keywords: KEYWORDS$1,
|
|
1783
|
-
contains: []
|
|
1784
|
-
// defined later
|
|
1785
|
-
};
|
|
1786
|
-
const HTML_TEMPLATE = {
|
|
1787
|
-
begin: "html`",
|
|
1788
|
-
end: "",
|
|
1789
|
-
starts: {
|
|
1790
|
-
end: "`",
|
|
1791
|
-
returnEnd: false,
|
|
1792
|
-
contains: [
|
|
1793
|
-
hljs2.BACKSLASH_ESCAPE,
|
|
1794
|
-
SUBST
|
|
1795
|
-
],
|
|
1796
|
-
subLanguage: "xml"
|
|
1797
|
-
}
|
|
1798
|
-
};
|
|
1799
|
-
const CSS_TEMPLATE = {
|
|
1800
|
-
begin: "css`",
|
|
1801
|
-
end: "",
|
|
1802
|
-
starts: {
|
|
1803
|
-
end: "`",
|
|
1804
|
-
returnEnd: false,
|
|
1805
|
-
contains: [
|
|
1806
|
-
hljs2.BACKSLASH_ESCAPE,
|
|
1807
|
-
SUBST
|
|
1808
|
-
],
|
|
1809
|
-
subLanguage: "css"
|
|
1810
|
-
}
|
|
1811
|
-
};
|
|
1812
|
-
const TEMPLATE_STRING = {
|
|
1813
|
-
className: "string",
|
|
1814
|
-
begin: "`",
|
|
1815
|
-
end: "`",
|
|
1816
|
-
contains: [
|
|
1817
|
-
hljs2.BACKSLASH_ESCAPE,
|
|
1818
|
-
SUBST
|
|
1819
|
-
]
|
|
1820
|
-
};
|
|
1821
|
-
const JSDOC_COMMENT = hljs2.COMMENT(
|
|
1822
|
-
/\/\*\*(?!\/)/,
|
|
1823
|
-
"\\*/",
|
|
1824
|
-
{
|
|
1825
|
-
relevance: 0,
|
|
1826
|
-
contains: [
|
|
1827
|
-
{
|
|
1828
|
-
begin: "(?=@[A-Za-z]+)",
|
|
1829
|
-
relevance: 0,
|
|
1830
|
-
contains: [
|
|
1831
|
-
{
|
|
1832
|
-
className: "doctag",
|
|
1833
|
-
begin: "@[A-Za-z]+"
|
|
1834
|
-
},
|
|
1835
|
-
{
|
|
1836
|
-
className: "type",
|
|
1837
|
-
begin: "\\{",
|
|
1838
|
-
end: "\\}",
|
|
1839
|
-
excludeEnd: true,
|
|
1840
|
-
excludeBegin: true,
|
|
1841
|
-
relevance: 0
|
|
1842
|
-
},
|
|
1843
|
-
{
|
|
1844
|
-
className: "variable",
|
|
1845
|
-
begin: IDENT_RE$1 + "(?=\\s*(-)|$)",
|
|
1846
|
-
endsParent: true,
|
|
1847
|
-
relevance: 0
|
|
1848
|
-
},
|
|
1849
|
-
// eat spaces (not newlines) so we can find
|
|
1850
|
-
// types or variables
|
|
1851
|
-
{
|
|
1852
|
-
begin: /(?=[^\n])\s/,
|
|
1853
|
-
relevance: 0
|
|
1854
|
-
}
|
|
1855
|
-
]
|
|
1856
|
-
}
|
|
1857
|
-
]
|
|
1858
|
-
}
|
|
1859
|
-
);
|
|
1860
|
-
const COMMENT = {
|
|
1861
|
-
className: "comment",
|
|
1862
|
-
variants: [
|
|
1863
|
-
JSDOC_COMMENT,
|
|
1864
|
-
hljs2.C_BLOCK_COMMENT_MODE,
|
|
1865
|
-
hljs2.C_LINE_COMMENT_MODE
|
|
1866
|
-
]
|
|
1867
|
-
};
|
|
1868
|
-
const SUBST_INTERNALS = [
|
|
1869
|
-
hljs2.APOS_STRING_MODE,
|
|
1870
|
-
hljs2.QUOTE_STRING_MODE,
|
|
1871
|
-
HTML_TEMPLATE,
|
|
1872
|
-
CSS_TEMPLATE,
|
|
1873
|
-
TEMPLATE_STRING,
|
|
1874
|
-
NUMBER,
|
|
1875
|
-
hljs2.REGEXP_MODE
|
|
1876
|
-
];
|
|
1877
|
-
SUBST.contains = SUBST_INTERNALS.concat({
|
|
1878
|
-
// we need to pair up {} inside our subst to prevent
|
|
1879
|
-
// it from ending too early by matching another }
|
|
1880
|
-
begin: /\{/,
|
|
1881
|
-
end: /\}/,
|
|
1882
|
-
keywords: KEYWORDS$1,
|
|
1883
|
-
contains: [
|
|
1884
|
-
"self"
|
|
1885
|
-
].concat(SUBST_INTERNALS)
|
|
1886
|
-
});
|
|
1887
|
-
const SUBST_AND_COMMENTS = [].concat(COMMENT, SUBST.contains);
|
|
1888
|
-
const PARAMS_CONTAINS = SUBST_AND_COMMENTS.concat([
|
|
1889
|
-
// eat recursive parens in sub expressions
|
|
1890
|
-
{
|
|
1891
|
-
begin: /\(/,
|
|
1892
|
-
end: /\)/,
|
|
1893
|
-
keywords: KEYWORDS$1,
|
|
1894
|
-
contains: ["self"].concat(SUBST_AND_COMMENTS)
|
|
1895
|
-
}
|
|
1896
|
-
]);
|
|
1897
|
-
const PARAMS = {
|
|
1898
|
-
className: "params",
|
|
1899
|
-
begin: /\(/,
|
|
1900
|
-
end: /\)/,
|
|
1901
|
-
excludeBegin: true,
|
|
1902
|
-
excludeEnd: true,
|
|
1903
|
-
keywords: KEYWORDS$1,
|
|
1904
|
-
contains: PARAMS_CONTAINS
|
|
1905
|
-
};
|
|
1906
|
-
const CLASS_OR_EXTENDS = {
|
|
1907
|
-
variants: [
|
|
1908
|
-
{
|
|
1909
|
-
match: [
|
|
1910
|
-
/class/,
|
|
1911
|
-
/\s+/,
|
|
1912
|
-
IDENT_RE$1
|
|
1913
|
-
],
|
|
1914
|
-
scope: {
|
|
1915
|
-
1: "keyword",
|
|
1916
|
-
3: "title.class"
|
|
1917
|
-
}
|
|
1918
|
-
},
|
|
1919
|
-
{
|
|
1920
|
-
match: [
|
|
1921
|
-
/extends/,
|
|
1922
|
-
/\s+/,
|
|
1923
|
-
concat(IDENT_RE$1, "(", concat(/\./, IDENT_RE$1), ")*")
|
|
1924
|
-
],
|
|
1925
|
-
scope: {
|
|
1926
|
-
1: "keyword",
|
|
1927
|
-
3: "title.class.inherited"
|
|
1928
|
-
}
|
|
1929
|
-
}
|
|
1930
|
-
]
|
|
1931
|
-
};
|
|
1932
|
-
const CLASS_REFERENCE = {
|
|
1933
|
-
relevance: 0,
|
|
1934
|
-
match: /\b[A-Z][a-z]+([A-Z][a-z]+)*/,
|
|
1935
|
-
className: "title.class",
|
|
1936
|
-
keywords: {
|
|
1937
|
-
_: [
|
|
1938
|
-
// se we still get relevance credit for JS library classes
|
|
1939
|
-
...TYPES,
|
|
1940
|
-
...ERROR_TYPES
|
|
1941
|
-
]
|
|
1942
|
-
}
|
|
1943
|
-
};
|
|
1944
|
-
const USE_STRICT = {
|
|
1945
|
-
label: "use_strict",
|
|
1946
|
-
className: "meta",
|
|
1947
|
-
relevance: 10,
|
|
1948
|
-
begin: /^\s*['"]use (strict|asm)['"]/
|
|
1949
|
-
};
|
|
1950
|
-
const FUNCTION_DEFINITION = {
|
|
1951
|
-
variants: [
|
|
1952
|
-
{
|
|
1953
|
-
match: [
|
|
1954
|
-
/function/,
|
|
1955
|
-
/\s+/,
|
|
1956
|
-
IDENT_RE$1,
|
|
1957
|
-
/(?=\s*\()/
|
|
1958
|
-
]
|
|
1959
|
-
},
|
|
1960
|
-
// anonymous function
|
|
1961
|
-
{
|
|
1962
|
-
match: [
|
|
1963
|
-
/function/,
|
|
1964
|
-
/\s*(?=\()/
|
|
1965
|
-
]
|
|
1966
|
-
}
|
|
1967
|
-
],
|
|
1968
|
-
className: {
|
|
1969
|
-
1: "keyword",
|
|
1970
|
-
3: "title.function"
|
|
1971
|
-
},
|
|
1972
|
-
label: "func.def",
|
|
1973
|
-
contains: [PARAMS],
|
|
1974
|
-
illegal: /%/
|
|
1975
|
-
};
|
|
1976
|
-
const UPPER_CASE_CONSTANT = {
|
|
1977
|
-
relevance: 0,
|
|
1978
|
-
match: /\b[A-Z][A-Z_0-9]+\b/,
|
|
1979
|
-
className: "variable.constant"
|
|
1980
|
-
};
|
|
1981
|
-
function noneOf(list) {
|
|
1982
|
-
return concat("(?!", list.join("|"), ")");
|
|
1983
|
-
}
|
|
1984
|
-
const FUNCTION_CALL = {
|
|
1985
|
-
match: concat(
|
|
1986
|
-
/\b/,
|
|
1987
|
-
noneOf([
|
|
1988
|
-
...BUILT_IN_GLOBALS,
|
|
1989
|
-
"super"
|
|
1990
|
-
]),
|
|
1991
|
-
IDENT_RE$1,
|
|
1992
|
-
lookahead(/\(/)
|
|
1993
|
-
),
|
|
1994
|
-
className: "title.function",
|
|
1995
|
-
relevance: 0
|
|
1996
|
-
};
|
|
1997
|
-
const PROPERTY_ACCESS = {
|
|
1998
|
-
begin: concat(/\./, lookahead(
|
|
1999
|
-
concat(IDENT_RE$1, /(?![0-9A-Za-z$_(])/)
|
|
2000
|
-
)),
|
|
2001
|
-
end: IDENT_RE$1,
|
|
2002
|
-
excludeBegin: true,
|
|
2003
|
-
keywords: "prototype",
|
|
2004
|
-
className: "property",
|
|
2005
|
-
relevance: 0
|
|
2006
|
-
};
|
|
2007
|
-
const GETTER_OR_SETTER = {
|
|
2008
|
-
match: [
|
|
2009
|
-
/get|set/,
|
|
2010
|
-
/\s+/,
|
|
2011
|
-
IDENT_RE$1,
|
|
2012
|
-
/(?=\()/
|
|
2013
|
-
],
|
|
2014
|
-
className: {
|
|
2015
|
-
1: "keyword",
|
|
2016
|
-
3: "title.function"
|
|
2017
|
-
},
|
|
2018
|
-
contains: [
|
|
2019
|
-
{
|
|
2020
|
-
// eat to avoid empty params
|
|
2021
|
-
begin: /\(\)/
|
|
2022
|
-
},
|
|
2023
|
-
PARAMS
|
|
2024
|
-
]
|
|
2025
|
-
};
|
|
2026
|
-
const FUNC_LEAD_IN_RE = "(\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)|" + hljs2.UNDERSCORE_IDENT_RE + ")\\s*=>";
|
|
2027
|
-
const FUNCTION_VARIABLE = {
|
|
2028
|
-
match: [
|
|
2029
|
-
/const|var|let/,
|
|
2030
|
-
/\s+/,
|
|
2031
|
-
IDENT_RE$1,
|
|
2032
|
-
/\s*/,
|
|
2033
|
-
/=\s*/,
|
|
2034
|
-
lookahead(FUNC_LEAD_IN_RE)
|
|
2035
|
-
],
|
|
2036
|
-
className: {
|
|
2037
|
-
1: "keyword",
|
|
2038
|
-
3: "title.function"
|
|
2039
|
-
},
|
|
2040
|
-
contains: [
|
|
2041
|
-
PARAMS
|
|
2042
|
-
]
|
|
2043
|
-
};
|
|
2044
|
-
return {
|
|
2045
|
-
name: "Javascript",
|
|
2046
|
-
aliases: ["js", "jsx", "mjs", "cjs"],
|
|
2047
|
-
keywords: KEYWORDS$1,
|
|
2048
|
-
// this will be extended by TypeScript
|
|
2049
|
-
exports: { PARAMS_CONTAINS },
|
|
2050
|
-
illegal: /#(?![$_A-z])/,
|
|
2051
|
-
contains: [
|
|
2052
|
-
hljs2.SHEBANG({
|
|
2053
|
-
label: "shebang",
|
|
2054
|
-
binary: "node",
|
|
2055
|
-
relevance: 5
|
|
2056
|
-
}),
|
|
2057
|
-
USE_STRICT,
|
|
2058
|
-
hljs2.APOS_STRING_MODE,
|
|
2059
|
-
hljs2.QUOTE_STRING_MODE,
|
|
2060
|
-
HTML_TEMPLATE,
|
|
2061
|
-
CSS_TEMPLATE,
|
|
2062
|
-
TEMPLATE_STRING,
|
|
2063
|
-
COMMENT,
|
|
2064
|
-
NUMBER,
|
|
2065
|
-
CLASS_REFERENCE,
|
|
2066
|
-
{
|
|
2067
|
-
className: "attr",
|
|
2068
|
-
begin: IDENT_RE$1 + lookahead(":"),
|
|
2069
|
-
relevance: 0
|
|
2070
|
-
},
|
|
2071
|
-
FUNCTION_VARIABLE,
|
|
2072
|
-
{
|
|
2073
|
-
// "value" container
|
|
2074
|
-
begin: "(" + hljs2.RE_STARTERS_RE + "|\\b(case|return|throw)\\b)\\s*",
|
|
2075
|
-
keywords: "return throw case",
|
|
2076
|
-
relevance: 0,
|
|
2077
|
-
contains: [
|
|
2078
|
-
COMMENT,
|
|
2079
|
-
hljs2.REGEXP_MODE,
|
|
2080
|
-
{
|
|
2081
|
-
className: "function",
|
|
2082
|
-
// we have to count the parens to make sure we actually have the
|
|
2083
|
-
// correct bounding ( ) before the =>. There could be any number of
|
|
2084
|
-
// sub-expressions inside also surrounded by parens.
|
|
2085
|
-
begin: FUNC_LEAD_IN_RE,
|
|
2086
|
-
returnBegin: true,
|
|
2087
|
-
end: "\\s*=>",
|
|
2088
|
-
contains: [
|
|
2089
|
-
{
|
|
2090
|
-
className: "params",
|
|
2091
|
-
variants: [
|
|
2092
|
-
{
|
|
2093
|
-
begin: hljs2.UNDERSCORE_IDENT_RE,
|
|
2094
|
-
relevance: 0
|
|
2095
|
-
},
|
|
2096
|
-
{
|
|
2097
|
-
className: null,
|
|
2098
|
-
begin: /\(\s*\)/,
|
|
2099
|
-
skip: true
|
|
2100
|
-
},
|
|
2101
|
-
{
|
|
2102
|
-
begin: /\(/,
|
|
2103
|
-
end: /\)/,
|
|
2104
|
-
excludeBegin: true,
|
|
2105
|
-
excludeEnd: true,
|
|
2106
|
-
keywords: KEYWORDS$1,
|
|
2107
|
-
contains: PARAMS_CONTAINS
|
|
2108
|
-
}
|
|
2109
|
-
]
|
|
2110
|
-
}
|
|
2111
|
-
]
|
|
2112
|
-
},
|
|
2113
|
-
{
|
|
2114
|
-
// could be a comma delimited list of params to a function call
|
|
2115
|
-
begin: /,/,
|
|
2116
|
-
relevance: 0
|
|
2117
|
-
},
|
|
2118
|
-
{
|
|
2119
|
-
match: /\s+/,
|
|
2120
|
-
relevance: 0
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
// JSX
|
|
2124
|
-
variants: [
|
|
2125
|
-
{ begin: FRAGMENT.begin, end: FRAGMENT.end },
|
|
2126
|
-
{
|
|
2127
|
-
begin: XML_TAG.begin,
|
|
2128
|
-
// we carefully check the opening tag to see if it truly
|
|
2129
|
-
// is a tag and not a false positive
|
|
2130
|
-
"on:begin": XML_TAG.isTrulyOpeningTag,
|
|
2131
|
-
end: XML_TAG.end
|
|
2132
|
-
}
|
|
2133
|
-
],
|
|
2134
|
-
subLanguage: "xml",
|
|
2135
|
-
contains: [
|
|
2136
|
-
{
|
|
2137
|
-
begin: XML_TAG.begin,
|
|
2138
|
-
end: XML_TAG.end,
|
|
2139
|
-
skip: true,
|
|
2140
|
-
contains: ["self"]
|
|
2141
|
-
}
|
|
2142
|
-
]
|
|
2143
|
-
}
|
|
2144
|
-
]
|
|
2145
|
-
},
|
|
2146
|
-
FUNCTION_DEFINITION,
|
|
2147
|
-
{
|
|
2148
|
-
// prevent this from getting swallowed up by function
|
|
2149
|
-
// since they appear "function like"
|
|
2150
|
-
beginKeywords: "while if switch catch for"
|
|
2151
|
-
},
|
|
2152
|
-
{
|
|
2153
|
-
// we have to count the parens to make sure we actually have the correct
|
|
2154
|
-
// bounding ( ). There could be any number of sub-expressions inside
|
|
2155
|
-
// also surrounded by parens.
|
|
2156
|
-
begin: "\\b(?!function)" + hljs2.UNDERSCORE_IDENT_RE + "\\([^()]*(\\([^()]*(\\([^()]*\\)[^()]*)*\\)[^()]*)*\\)\\s*\\{",
|
|
2157
|
-
// end parens
|
|
2158
|
-
returnBegin: true,
|
|
2159
|
-
label: "func.def",
|
|
2160
|
-
contains: [
|
|
2161
|
-
PARAMS,
|
|
2162
|
-
hljs2.inherit(hljs2.TITLE_MODE, { begin: IDENT_RE$1, className: "title.function" })
|
|
2163
|
-
]
|
|
2164
|
-
},
|
|
2165
|
-
// catch ... so it won't trigger the property rule below
|
|
2166
|
-
{
|
|
2167
|
-
match: /\.\.\./,
|
|
2168
|
-
relevance: 0
|
|
2169
|
-
},
|
|
2170
|
-
PROPERTY_ACCESS,
|
|
2171
|
-
// hack: prevents detection of keywords in some circumstances
|
|
2172
|
-
// .keyword()
|
|
2173
|
-
// $keyword = x
|
|
2174
|
-
{
|
|
2175
|
-
match: "\\$" + IDENT_RE$1,
|
|
2176
|
-
relevance: 0
|
|
2177
|
-
},
|
|
2178
|
-
{
|
|
2179
|
-
match: [/\bconstructor(?=\s*\()/],
|
|
2180
|
-
className: { 1: "title.function" },
|
|
2181
|
-
contains: [PARAMS]
|
|
2182
|
-
},
|
|
2183
|
-
FUNCTION_CALL,
|
|
2184
|
-
UPPER_CASE_CONSTANT,
|
|
2185
|
-
CLASS_OR_EXTENDS,
|
|
2186
|
-
GETTER_OR_SETTER,
|
|
2187
|
-
{
|
|
2188
|
-
match: /\$[(.]/
|
|
2189
|
-
// relevance booster for a pattern common to JS libs: `$(something)` and `$.something`
|
|
2190
|
-
}
|
|
2191
|
-
]
|
|
2192
|
-
};
|
|
2193
|
-
}
|
|
2194
|
-
var javascript_default = javascript;
|
|
2195
|
-
|
|
2196
|
-
// ../node_modules/highlight.js/es/languages/json.js
|
|
2197
|
-
function json(hljs2) {
|
|
2198
|
-
const ATTRIBUTE = {
|
|
2199
|
-
className: "attr",
|
|
2200
|
-
begin: /"(\\.|[^\\"\r\n])*"(?=\s*:)/,
|
|
2201
|
-
relevance: 1.01
|
|
2202
|
-
};
|
|
2203
|
-
const PUNCTUATION = {
|
|
2204
|
-
match: /[{}[\],:]/,
|
|
2205
|
-
className: "punctuation",
|
|
2206
|
-
relevance: 0
|
|
2207
|
-
};
|
|
2208
|
-
const LITERALS2 = {
|
|
2209
|
-
beginKeywords: [
|
|
2210
|
-
"true",
|
|
2211
|
-
"false",
|
|
2212
|
-
"null"
|
|
2213
|
-
].join(" ")
|
|
2214
|
-
};
|
|
2215
|
-
return {
|
|
2216
|
-
name: "JSON",
|
|
2217
|
-
contains: [
|
|
2218
|
-
ATTRIBUTE,
|
|
2219
|
-
PUNCTUATION,
|
|
2220
|
-
hljs2.QUOTE_STRING_MODE,
|
|
2221
|
-
LITERALS2,
|
|
2222
|
-
hljs2.C_NUMBER_MODE,
|
|
2223
|
-
hljs2.C_LINE_COMMENT_MODE,
|
|
2224
|
-
hljs2.C_BLOCK_COMMENT_MODE
|
|
2225
|
-
],
|
|
2226
|
-
illegal: "\\S"
|
|
2227
|
-
};
|
|
2228
|
-
}
|
|
2229
|
-
var json_default = json;
|
|
2230
|
-
|
|
2231
|
-
// appdrawer/adSandbox.js
|
|
2232
|
-
core_default.registerLanguage("javascript", javascript_default);
|
|
2233
|
-
core_default.registerLanguage("json", json_default);
|
|
2234
|
-
async function openSandbox(element, pageArgs) {
|
|
2235
|
-
const sandboxDiv = newSandboxDiv(pageArgs.sandboxDiv);
|
|
2236
|
-
sandboxDiv.header_row;
|
|
2237
|
-
sandboxDiv.header.append("span").html(
|
|
2238
|
-
element.type != "nestedCard" ? `<a href="${sessionStorage.getItem("hostURL")}/?appcard=${element.sandboxJson || element.sandboxHtml}">${element.name}</a>` : element.name
|
|
2239
|
-
);
|
|
2240
|
-
sandboxDiv.body.style("overflow", "hidden").style("background-color", "white");
|
|
2241
|
-
if (element.type == "nestedCard") return openNestedCardSandbox(element, sandboxDiv, pageArgs);
|
|
2242
|
-
const res = element.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${element.sandboxHtml}.txt`);
|
|
2243
|
-
if (res.error) {
|
|
2244
|
-
sayerror(sandboxDiv.body.insert("div", "div"), res.error);
|
|
2245
|
-
return;
|
|
2246
|
-
}
|
|
2247
|
-
if (element.type == "card") return openCardSandbox(element, res, sandboxDiv, pageArgs);
|
|
2248
|
-
if (element.type == "dsButton") return openDatasetButtonSandbox(element, pageArgs, res, sandboxDiv);
|
|
2249
|
-
}
|
|
2250
|
-
async function openNestedCardSandbox(nestedCard, sandboxDiv, pageArgs) {
|
|
2251
|
-
sandboxDiv.body.style("justify-content", "center").style("background-color", "#f2ebdc");
|
|
2252
|
-
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");
|
|
2253
|
-
const filteredChildren = nestedCard.children.filter((e) => !e.hidden);
|
|
2254
|
-
sandboxDiv.header.trail = new BreadcrumbTrail({
|
|
2255
|
-
holder: sandboxDiv.header,
|
|
2256
|
-
crumbs: filteredChildren
|
|
2257
|
-
});
|
|
2258
|
-
filteredChildren.forEach((child) => {
|
|
2259
|
-
const uc = ucList.append("li");
|
|
2260
|
-
uc.attr("class", "sjpp-app-drawer-card").style("padding", "10px").style("margin", "5px").html(
|
|
2261
|
-
`<p style="margin-left: 12px; font-size:14.5px;font-weight:500; display: block;">${child.name}</p>
|
|
2262
|
-
<p style="display: block; font-size: 13px; font-weight: 300; margin-left: 20px; justify-content: center; font-style:oblique; color: #403f3f;">${child.description}</p>`
|
|
2263
|
-
).on("click", async (event) => {
|
|
2264
|
-
event.stopPropagation();
|
|
2265
|
-
ucList.selectAll("*").remove();
|
|
2266
|
-
const res = child.sandboxJson ? await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxJson}.json`) : await dofetch3(`${pageArgs.app.cardsPath}/${child.sandboxHtml}.txt`);
|
|
2267
|
-
if (res.error) {
|
|
2268
|
-
sayerror(sandboxDiv.body.insert("div", "div"), res.error);
|
|
2269
|
-
return;
|
|
2270
|
-
}
|
|
2271
|
-
if (child.type == "card") {
|
|
2272
|
-
sandboxDiv.header.trail.main();
|
|
2273
|
-
openCardSandbox(child, res, sandboxDiv, pageArgs);
|
|
2274
|
-
const crumbIndex = filteredChildren.findIndex((c) => c == child);
|
|
2275
|
-
sandboxDiv.header.trail.update(crumbIndex);
|
|
2276
|
-
}
|
|
2277
|
-
if (child.type == "dsButton") return openDatasetButtonSandbox(child, pageArgs.app.opts, res, sandboxDiv);
|
|
2278
|
-
});
|
|
2279
|
-
return JSON.stringify(uc);
|
|
2280
|
-
});
|
|
2281
|
-
}
|
|
2282
|
-
async function openCardSandbox(card, res, sandboxDiv, pageArgs) {
|
|
2283
|
-
if (card.sandboxHtml) {
|
|
2284
|
-
const renderHtml = await res.text();
|
|
2285
|
-
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);
|
|
2286
|
-
}
|
|
2287
|
-
sandboxDiv.body.style("background-color", "white");
|
|
2288
|
-
const sandboxArgs = {
|
|
2289
|
-
intro: res.intro,
|
|
2290
|
-
ppcalls: res.ppcalls.filter((e) => !e.hidden),
|
|
2291
|
-
buttons: res.buttons,
|
|
2292
|
-
arrowButtons: res.arrowButtons,
|
|
2293
|
-
ribbonMessage: res.ribbonMessage,
|
|
2294
|
-
citation: res.citation_id
|
|
2295
|
-
};
|
|
2296
|
-
addHtmlText(sandboxArgs.intro, sandboxDiv.body);
|
|
2297
|
-
if (card.ribbon) addHtmlText(sandboxArgs.ribbonMessage, sandboxDiv.body, card.ribbon);
|
|
2298
|
-
const mainButtonsDiv = sandboxDiv.body.append("div");
|
|
2299
|
-
const mainButtonsContentDiv = sandboxDiv.body.append("div");
|
|
2300
|
-
addButtons(sandboxArgs.buttons, mainButtonsDiv);
|
|
2301
|
-
addArrowBtns(sandboxArgs, "main", mainButtonsDiv, mainButtonsContentDiv, pageArgs);
|
|
2302
|
-
if (card.disableTopTabs) renderContent(sandboxArgs.ppcalls[0], sandboxDiv.body, card, pageArgs);
|
|
2303
|
-
else {
|
|
2304
|
-
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");
|
|
2305
|
-
const tabsContentDiv = sandboxDiv.body.append("div");
|
|
2306
|
-
makeParentTabsMenu(sandboxArgs.ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs);
|
|
2307
|
-
}
|
|
2308
|
-
}
|
|
2309
|
-
function renderContent(ppcalls, div, card, pageArgs) {
|
|
2310
|
-
addHtmlText(ppcalls.message, div);
|
|
2311
|
-
const buttonsDiv = div.append("div").style("margin-bottom", "20px");
|
|
2312
|
-
const buttonsContentDiv = div.append("div");
|
|
2313
|
-
addButtons(ppcalls.buttons, buttonsDiv);
|
|
2314
|
-
makeDataDownload(ppcalls.download, buttonsDiv, card.section);
|
|
2315
|
-
showURLLaunch(ppcalls.urlparam, buttonsDiv, card.section);
|
|
2316
|
-
addArrowBtns(ppcalls, "call", buttonsDiv, buttonsContentDiv, pageArgs);
|
|
2317
|
-
if (!card.disableTopTabs) {
|
|
2318
|
-
div.append("hr").style("border", "0").style("border-top", "1px dashed #e3e3e6").style("width", "100%");
|
|
2319
|
-
}
|
|
2320
|
-
const runpp_arg = {
|
|
2321
|
-
holder: div.append("div").style("margin", "20px").node(),
|
|
2322
|
-
/* Do not use window.location.origin
|
|
2323
|
-
Will break the embedder (/genomes will be requested from https:/embedder.site.org/genomes,
|
|
2324
|
-
for example). It's very rare for an embedder to want to show this default "portal" header
|
|
2325
|
-
because external portals usually have their own headers, but it will affect simple html
|
|
2326
|
-
pages that embed a runpp() call where the app header is not hidden. */
|
|
2327
|
-
host: ppcalls.runargs.host || sessionStorage.getItem("hostURL")
|
|
2328
|
-
};
|
|
2329
|
-
const callpp = JSON.parse(JSON.stringify(ppcalls.runargs));
|
|
2330
|
-
runproteinpaint(Object.assign(runpp_arg, callpp));
|
|
2331
|
-
}
|
|
2332
|
-
function makeTopTabs(ppcalls, card, sandboxDiv, pageArgs) {
|
|
2333
|
-
const tabs = [];
|
|
2334
|
-
const ui = ppcalls.findIndex((t) => t.isUi == true);
|
|
2335
|
-
const notui = ppcalls.findIndex((t) => t.isUi == void 0);
|
|
2336
|
-
const uiPresent = ui != -1 ? true : false;
|
|
2337
|
-
if (uiPresent == true) {
|
|
2338
|
-
tabs.push({
|
|
2339
|
-
label: "Add Your Data",
|
|
2340
|
-
active: false,
|
|
2341
|
-
callback: async (event, tab) => {
|
|
2342
|
-
try {
|
|
2343
|
-
const runpp_arg = {
|
|
2344
|
-
holder: tab.contentHolder.append("div").style("margin", "20px").node(),
|
|
2345
|
-
sandbox_header: tab.contentHolder,
|
|
2346
|
-
host: sessionStorage.getItem("hostURL")
|
|
2347
|
-
};
|
|
2348
|
-
const callpp = JSON.parse(JSON.stringify(ppcalls[ui].runargs));
|
|
2349
|
-
runproteinpaint(Object.assign(runpp_arg, callpp));
|
|
2350
|
-
delete tab.callback;
|
|
2351
|
-
} catch (e) {
|
|
2352
|
-
if (e.stack) console.error(e.stack);
|
|
2353
|
-
else throw e;
|
|
2354
|
-
}
|
|
2355
|
-
}
|
|
2356
|
-
});
|
|
2357
|
-
}
|
|
2358
|
-
if (ppcalls.length == 1 && uiPresent != true || ppcalls.length == 2 && uiPresent == true) {
|
|
2359
|
-
tabs.push({
|
|
2360
|
-
label: "Example",
|
|
2361
|
-
active: false,
|
|
2362
|
-
callback: async (event, tab) => {
|
|
2363
|
-
try {
|
|
2364
|
-
renderContent(ppcalls[notui], tab.contentHolder, card, pageArgs);
|
|
2365
|
-
delete tab.callback;
|
|
2366
|
-
} catch (e) {
|
|
2367
|
-
if (e.stack) console.error(e.stack);
|
|
2368
|
-
else throw e;
|
|
2369
|
-
}
|
|
2370
|
-
}
|
|
2371
|
-
});
|
|
2372
|
-
}
|
|
2373
|
-
if (ppcalls.length > 1 && uiPresent == false || ppcalls.length > 2 && uiPresent == true) {
|
|
2374
|
-
tabs.push({
|
|
2375
|
-
label: "Examples",
|
|
2376
|
-
active: pageArgs?.example ? true : false,
|
|
2377
|
-
callback: async (event, tab) => {
|
|
2378
|
-
try {
|
|
2379
|
-
const examplesOnly = ppcalls.filter((p) => p.isUi != true);
|
|
2380
|
-
makeLeftsideTabMenu(card, tab.contentHolder, examplesOnly, sandboxDiv, pageArgs);
|
|
2381
|
-
delete tab.callback;
|
|
2382
|
-
} catch (e) {
|
|
2383
|
-
if (e.stack) console.error(e.stack);
|
|
2384
|
-
else throw e;
|
|
2385
|
-
}
|
|
2386
|
-
}
|
|
2387
|
-
});
|
|
2388
|
-
}
|
|
2389
|
-
return tabs;
|
|
2390
|
-
}
|
|
2391
|
-
function makeParentTabsMenu(ppcalls, card, topTabsDiv, tabsContentDiv, sandboxDiv, pageArgs) {
|
|
2392
|
-
const tabs = makeTopTabs(ppcalls, card, sandboxDiv, pageArgs);
|
|
2393
|
-
new Tabs({ holder: topTabsDiv, contentHolder: tabsContentDiv, tabs }).main();
|
|
2394
|
-
}
|
|
2395
|
-
async function makeLeftsideTabMenu(card, contentHolder, examplesOnly, sandboxDiv, pageArgs) {
|
|
2396
|
-
const tabs = examplesOnly.map((p, index) => getTabData(p, index, card.section));
|
|
2397
|
-
sandboxDiv.header.trail = await new BreadcrumbTrail({
|
|
2398
|
-
holder: sandboxDiv.header,
|
|
2399
|
-
crumbs: tabs
|
|
2400
|
-
});
|
|
2401
|
-
function getTabData(ppcalls, i, section) {
|
|
2402
|
-
const active = pageArgs?.example ? pageArgs.example.toUpperCase() == ppcalls.label.toUpperCase() : i === 0;
|
|
2403
|
-
return {
|
|
2404
|
-
active,
|
|
2405
|
-
inTrail: active,
|
|
2406
|
-
link: `${sessionStorage.getItem("hostURL")}/?appcard=${card.sandboxJson || card.sandboxHtml}&example=${ppcalls.label}`,
|
|
2407
|
-
label: ppcalls.label,
|
|
2408
|
-
callback: async (event, tab) => {
|
|
2409
|
-
const wait = tab_wait(tab.contentHolder);
|
|
2410
|
-
try {
|
|
2411
|
-
if (!tab.rendered) {
|
|
2412
|
-
appear(tab.contentHolder);
|
|
2413
|
-
renderContent(ppcalls, tab.contentHolder, section, pageArgs);
|
|
2414
|
-
wait.remove();
|
|
2415
|
-
}
|
|
2416
|
-
tab.rendered = true;
|
|
2417
|
-
const crumbIndex = tabs.findIndex((t) => t == tab);
|
|
2418
|
-
sandboxDiv.header.trail.update(crumbIndex);
|
|
2419
|
-
wait.remove();
|
|
2420
|
-
} catch (e) {
|
|
2421
|
-
wait.text("Error: " + (e.message || e));
|
|
2422
|
-
}
|
|
2423
|
-
}
|
|
2424
|
-
};
|
|
2425
|
-
}
|
|
2426
|
-
sandboxDiv.header.trail.main();
|
|
2427
|
-
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");
|
|
2428
|
-
const tabsDiv = wrapper.append("div").classed("sjpp-tabs-div", true).style("border-right", "1px solid lightgray");
|
|
2429
|
-
const tabsContentDiv = wrapper.append("div").classed("sjpp-content-div", true);
|
|
2430
|
-
new Tabs({
|
|
2431
|
-
holder: tabsDiv,
|
|
2432
|
-
contentHolder: tabsContentDiv,
|
|
2433
|
-
tabs,
|
|
2434
|
-
linePosition: "right",
|
|
2435
|
-
tabsPosition: "vertical",
|
|
2436
|
-
gap: "10px"
|
|
2437
|
-
}).main();
|
|
2438
|
-
}
|
|
2439
|
-
function addHtmlText(text, div, ribbon) {
|
|
2440
|
-
if (ribbon && ribbon.expireDate) {
|
|
2441
|
-
const today = /* @__PURE__ */ new Date();
|
|
2442
|
-
const expire = new Date(ribbon.expireDate);
|
|
2443
|
-
if (expire > today && text != void 0 && text) {
|
|
2444
|
-
let boldedText2 = function() {
|
|
2445
|
-
const str = ribbon.text.toLowerCase();
|
|
2446
|
-
return str[0].toUpperCase() + str.slice(1);
|
|
2447
|
-
};
|
|
2448
|
-
var boldedText = boldedText2;
|
|
2449
|
-
div.append("div").style("margin", "20px").html(`<p style="display:inline-block;font-weight:bold">${boldedText2()}:  </p>${text}`);
|
|
2450
|
-
}
|
|
2451
|
-
} else if (text != void 0 && text) {
|
|
2452
|
-
div.append("div").style("margin", "20px").html(text);
|
|
2453
|
-
}
|
|
2454
|
-
}
|
|
2455
|
-
function addButtons(buttons, div) {
|
|
2456
|
-
if (buttons) {
|
|
2457
|
-
buttons.forEach((button) => {
|
|
2458
|
-
const sandboxButton = makeButton({ div, text: button.name });
|
|
2459
|
-
sandboxButton.on("click", (event) => {
|
|
2460
|
-
event.stopPropagation();
|
|
2461
|
-
if (button.download) window.open(`${button.download}`, "_self", "download");
|
|
2462
|
-
else window.open(`${button.link}`, `${button.name}`);
|
|
2463
|
-
});
|
|
2464
|
-
});
|
|
2465
|
-
}
|
|
2466
|
-
}
|
|
2467
|
-
function makeArrowButtons(arrows, btns) {
|
|
2468
|
-
if (arrows) {
|
|
2469
|
-
arrows.forEach((arrow) => {
|
|
2470
|
-
const contents = `<div style="margin:10px;" class="sjpp-arrow-content">
|
|
2471
|
-
${arrow.message ? `<div style="margin: 1vw;">${arrow.message}</div>` : ""}
|
|
2472
|
-
${arrow.links ? arrow.links.map((hyperlink) => {
|
|
2473
|
-
if (!hyperlink) return "";
|
|
2474
|
-
if (hyperlink.download) {
|
|
2475
|
-
return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.download}", target="_self" download>${hyperlink.name}</a>`;
|
|
2476
|
-
}
|
|
2477
|
-
if (hyperlink.link) {
|
|
2478
|
-
return `<a style="cursor:pointer; margin-left:20px;" onclick="event.stopPropagation();" href="${hyperlink.link}", target="_blank">${hyperlink.name}</a>`;
|
|
2479
|
-
}
|
|
2480
|
-
}).join("") : ""}</div>`;
|
|
2481
|
-
btns.push({
|
|
2482
|
-
name: arrow.name,
|
|
2483
|
-
callback: async (rdiv) => {
|
|
2484
|
-
try {
|
|
2485
|
-
rdiv.append("div").html(contents);
|
|
2486
|
-
} catch (e) {
|
|
2487
|
-
alert("Error: " + e);
|
|
2488
|
-
}
|
|
2489
|
-
}
|
|
2490
|
-
});
|
|
2491
|
-
});
|
|
2492
|
-
}
|
|
2493
|
-
}
|
|
2494
|
-
async function addArrowBtns(args, type, bdiv, rdiv, pageArgs) {
|
|
2495
|
-
let btns = [];
|
|
2496
|
-
if (type == "call") showCode(args, btns);
|
|
2497
|
-
const genome = args?.runargs?.genome;
|
|
2498
|
-
if (args.datapreview && genome) showViewData(btns, args.datapreview, genome);
|
|
2499
|
-
if (args.citation || args.data_source) {
|
|
2500
|
-
const res = await dofetch3(`/${pageArgs.app.cardsPath}/citations.json`);
|
|
2501
|
-
if (res.error) {
|
|
2502
|
-
console.error(`Error: ${res.error}`);
|
|
2503
|
-
return;
|
|
2504
|
-
}
|
|
2505
|
-
for (const pub of res.publications) {
|
|
2506
|
-
if (args.citation == pub.id || args.data_source == pub.id) {
|
|
2507
|
-
const label = args.data_source ? "Data Source" : "Citation";
|
|
2508
|
-
showCitation(btns, pub, label);
|
|
2509
|
-
}
|
|
2510
|
-
}
|
|
2511
|
-
}
|
|
2512
|
-
makeArrowButtons(args.arrowButtons, btns);
|
|
2513
|
-
const active_btn = btns.findIndex((b) => b.active) == -1 ? false : true;
|
|
2514
|
-
for (let i = 0; i < btns.length; i++) {
|
|
2515
|
-
const btn = btns[i];
|
|
2516
|
-
btn.btn = makeButton({ div: bdiv, text: btn.name + " \u25BC" });
|
|
2517
|
-
btn.c = rdiv.append("div").style("margin", "20px 0px 10px 20px").style("display", active_btn && i == 0 || btn.active ? "block" : "none");
|
|
2518
|
-
if (active_btn && i == 0 && btn.callback || btn.active) {
|
|
2519
|
-
btn.callback(btn.c);
|
|
2520
|
-
delete btn.callback;
|
|
2521
|
-
}
|
|
2522
|
-
btn.btn.on("click", () => {
|
|
2523
|
-
if (btn.c.style("display") != "none") {
|
|
2524
|
-
btn.btn.text(btn.name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
|
|
2525
|
-
btn.c.style("display", "none");
|
|
2526
|
-
} else {
|
|
2527
|
-
btn.btn.text(btn.name + " \u25B2").style("color", "whitesmoke").style("background-color", "#487ba8");
|
|
2528
|
-
appear(btn.c);
|
|
2529
|
-
for (let j = 0; j < btns.length; j++) {
|
|
2530
|
-
if (i != j) {
|
|
2531
|
-
btns[j].btn.text(btns[j].name + " \u25BC").style("color", "black").style("background-color", "#cfe2f3");
|
|
2532
|
-
btns[j].c.style("display", "none");
|
|
2533
|
-
}
|
|
2534
|
-
}
|
|
2535
|
-
}
|
|
2536
|
-
if (btn.callback) {
|
|
2537
|
-
btn.callback(btn.c);
|
|
2538
|
-
delete btn.callback;
|
|
2539
|
-
}
|
|
2540
|
-
});
|
|
2541
|
-
}
|
|
2542
|
-
}
|
|
2543
|
-
function showURLLaunch(urlparam, div, section) {
|
|
2544
|
-
if (!urlparam) return;
|
|
2545
|
-
const URLbtn = makeButton({ div, text: section == "apps" ? "Run app from URL" : "Run track from URL" });
|
|
2546
|
-
URLbtn.on("click", (event) => {
|
|
2547
|
-
const hostURL = getHostURL();
|
|
2548
|
-
event.stopPropagation();
|
|
2549
|
-
window.open(`${hostURL}${urlparam}`, "_blank");
|
|
2550
|
-
});
|
|
2551
|
-
}
|
|
2552
|
-
function makeDataDownload(download, div, section) {
|
|
2553
|
-
if (!download) return;
|
|
2554
|
-
const dataBtn = makeButton({
|
|
2555
|
-
div,
|
|
2556
|
-
text: section == "apps" ? "Download App File(s)" : "Download Track File(s)"
|
|
2557
|
-
});
|
|
2558
|
-
dataBtn.on("click", (event) => {
|
|
2559
|
-
event.stopPropagation();
|
|
2560
|
-
window.open(`${download}`, "_self", "download");
|
|
2561
|
-
});
|
|
2562
|
-
}
|
|
2563
|
-
async function showCode(ppcalls, btns) {
|
|
2564
|
-
if (ppcalls.isUi == true) return;
|
|
2565
|
-
const runppCode = core_default.highlight(
|
|
2566
|
-
`runproteinpaint({
|
|
2567
|
-
host: "${sessionStorage.getItem("hostURL")}",
|
|
2568
|
-
holder: document.getElementById('a'),
|
|
2569
|
-
` + // Fix for first argument not properly appearing underneath holder
|
|
2570
|
-
JSON.stringify(ppcalls.runargs, "", 4).replaceAll(/"(.+)"\s*:/g, "$1:").replaceAll(/\\t/g, " ").replaceAll(/\\n/g, "\r ").slice(1, -1).trim() + `\r})`,
|
|
2571
|
-
{ language: "javascript" }
|
|
2572
|
-
).value;
|
|
2573
|
-
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;`}">
|
|
2574
|
-
<code style="font-size:14px; display:block;">${runppCode}</code></pre>`;
|
|
2575
|
-
btns.push({
|
|
2576
|
-
name: "Code",
|
|
2577
|
-
callback: async (rdiv) => {
|
|
2578
|
-
try {
|
|
2579
|
-
if (ppcalls.jsonpath) {
|
|
2580
|
-
const includeJson = await showJsonCode(ppcalls);
|
|
2581
|
-
const runppHeader = "<p style='margin:20px 5px 20px 25px;'>ProteinPaint JS code</p>";
|
|
2582
|
-
const grid = rdiv.append("div").style("display", "grid").style("grid-template-columns", "repeat(auto-fit, minmax(100px, 1fr))").style("gap", "5px");
|
|
2583
|
-
grid.append("div").style("display", "block").html(runppHeader + runppContents);
|
|
2584
|
-
grid.append("div").style("display", "block").html(includeJson);
|
|
2585
|
-
} else {
|
|
2586
|
-
rdiv.append("div").html(runppContents);
|
|
2587
|
-
}
|
|
2588
|
-
} catch (e) {
|
|
2589
|
-
alert("Error: " + e);
|
|
2590
|
-
}
|
|
2591
|
-
}
|
|
2592
|
-
});
|
|
2593
|
-
}
|
|
2594
|
-
async function showJsonCode(ppcalls) {
|
|
2595
|
-
const jsondata = await dofetch("textfile", { file: ppcalls.jsonpath });
|
|
2596
|
-
const json_code = JSON.parse(jsondata.text);
|
|
2597
|
-
const splitpath = ppcalls.jsonpath.split("/");
|
|
2598
|
-
const filename = splitpath[splitpath.length - 1];
|
|
2599
|
-
let lines = JSON.stringify(json_code, "", 4).split("\n");
|
|
2600
|
-
let slicedjson;
|
|
2601
|
-
if (lines.length > 120) {
|
|
2602
|
-
lines = lines.slice(0, 100);
|
|
2603
|
-
slicedjson = true;
|
|
2604
|
-
}
|
|
2605
|
-
const code = core_default.highlight(lines.join("\n"), { language: "json" }).value;
|
|
2606
|
-
const json_contents = `<div>
|
|
2607
|
-
<p style="margin: 20px 5px 20px 25px; display: inline-block;">JSON code </p>
|
|
2608
|
-
<p style="display: inline-block; color: #696969; font-style:oblique;"> (contents of ${filename})</p>
|
|
2609
|
-
</div>
|
|
2610
|
-
<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;">
|
|
2611
|
-
<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}`}
|
|
2612
|
-
</code>
|
|
2613
|
-
</pre>`;
|
|
2614
|
-
return json_contents;
|
|
2615
|
-
}
|
|
2616
|
-
function showCitation(btns, pub, label) {
|
|
2617
|
-
btns.push({
|
|
2618
|
-
name: label,
|
|
2619
|
-
callback: async (rdiv) => {
|
|
2620
|
-
try {
|
|
2621
|
-
rdiv.append("div").style("margin-left", "5w").html(
|
|
2622
|
-
`<span style="display: inline-block;">${pub.title}. <em>${pub.journal}</em>, ${pub.year}.
|
|
2623
|
-
${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>`
|
|
2624
|
-
);
|
|
2625
|
-
} catch (e) {
|
|
2626
|
-
alert("Error: " + e);
|
|
2627
|
-
}
|
|
2628
|
-
}
|
|
2629
|
-
});
|
|
2630
|
-
}
|
|
2631
|
-
function makeDataPreviewDiv(content, contLength, div, filename, message) {
|
|
2632
|
-
div.append("div").html(`
|
|
2633
|
-
${message ? `<p style="display:block;">${message}<p>` : ""}
|
|
2634
|
-
<p style="display: inline-block;">Data preview <span style="color: #696969; font-style:oblique;">
|
|
2635
|
-
${contLength > 10 ? `(first ${content.length} rows of ${filename})</span></p>` : `(content of ${filename})</span></p>`}
|
|
2636
|
-
`);
|
|
2637
|
-
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");
|
|
2638
|
-
content.forEach((c) => {
|
|
2639
|
-
bedjContent_div.append("code").html(c);
|
|
2640
|
-
});
|
|
2641
|
-
}
|
|
2642
|
-
async function showViewData(btns, data, genome) {
|
|
2643
|
-
btns.push({
|
|
2644
|
-
name: "View Data",
|
|
2645
|
-
callback: async (rdiv) => {
|
|
2646
|
-
try {
|
|
2647
|
-
for (const file of data) {
|
|
2648
|
-
const res = await dofetch3("cardsjson", {
|
|
2649
|
-
body: { datafile: file.file, genome, tabixCoord: file.tabixQueryCoord }
|
|
2650
|
-
});
|
|
2651
|
-
if (res.error) {
|
|
2652
|
-
console.error(`Error: ${res.error}`);
|
|
2653
|
-
rdiv.text(`Error retrieving example data: ${res.error}`);
|
|
2654
|
-
return;
|
|
2655
|
-
}
|
|
2656
|
-
const returnedContent = res.file;
|
|
2657
|
-
const contLength = returnedContent.length;
|
|
2658
|
-
const content = returnedContent.slice(0, 10);
|
|
2659
|
-
const splitpath = file.file.split("/");
|
|
2660
|
-
const filename = splitpath[splitpath.length - 1];
|
|
2661
|
-
makeDataPreviewDiv(content, contLength, rdiv, filename, file.message);
|
|
2662
|
-
}
|
|
2663
|
-
} catch (e) {
|
|
2664
|
-
alert("Error: " + e);
|
|
2665
|
-
}
|
|
2666
|
-
}
|
|
2667
|
-
});
|
|
2668
|
-
}
|
|
2669
|
-
async function openDatasetButtonSandbox(elem, pageArgs, res, sandboxDiv) {
|
|
2670
|
-
if (elem.sandboxHtml) {
|
|
2671
|
-
const renderHtml = await res.text();
|
|
2672
|
-
return sandboxDiv.body.append("div").style("line-height", "1.5em").style("padding", "1.5em 1.5em 2em 1.5em").html(renderHtml);
|
|
2673
|
-
}
|
|
2674
|
-
const genome = pageArgs?.fromApp ? pageArgs.genomes[res.button.availableGenomes[0]] : pageArgs.app.opts.genomes[res.button.availableGenomes[0]];
|
|
2675
|
-
let genomes;
|
|
2676
|
-
if (res.button.runargs.host) {
|
|
2677
|
-
genomes = await getGenomes(res.button.runargs.host);
|
|
2678
|
-
} else genomes = pageArgs?.fromApp ? pageArgs.genomes : pageArgs.app.opts.genomes;
|
|
2679
|
-
const par = {
|
|
2680
|
-
// First genome in .availableGenomes is the default
|
|
2681
|
-
availableGenomes: res.button.availableGenomes,
|
|
2682
|
-
genome,
|
|
2683
|
-
intro: res.button.intro,
|
|
2684
|
-
name: res.button.name,
|
|
2685
|
-
runargs: res.button.runargs,
|
|
2686
|
-
searchBar: res.button.searchBar,
|
|
2687
|
-
dsURLparam: res.button.dsURLparam,
|
|
2688
|
-
citation: res.citation_id
|
|
2689
|
-
};
|
|
2690
|
-
const mainDiv = sandboxDiv.body.append("div").style("padding", "1em").style("border-bottom", "1px solid #d0e3ff");
|
|
2691
|
-
if (par.citation) {
|
|
2692
|
-
const buttonsDiv = mainDiv.append("div").style("margin-bottom", "20px");
|
|
2693
|
-
const buttonsContentDiv = mainDiv.append("div");
|
|
2694
|
-
await addArrowBtns(par, "main", buttonsDiv, buttonsContentDiv, pageArgs);
|
|
2695
|
-
}
|
|
2696
|
-
if (par.intro) {
|
|
2697
|
-
mainDiv.append("div").style("line-height", "1.5em").style("padding", "0.5em 0.5em 1em 0.5em").html(par.intro);
|
|
2698
|
-
}
|
|
2699
|
-
if (par.searchBar == "none") {
|
|
2700
|
-
const originalURL = sessionStorage.getItem("hostURL");
|
|
2701
|
-
const runppArg = {
|
|
2702
|
-
holder: sandboxDiv.body.append("div").style("margin", "20px").style("overflow-x", "auto").node(),
|
|
2703
|
-
host: par.runargs.host || originalURL
|
|
2704
|
-
};
|
|
2705
|
-
const callpp = JSON.parse(JSON.stringify(par.runargs));
|
|
2706
|
-
await runproteinpaint(Object.assign(runppArg, callpp));
|
|
2707
|
-
if (originalURL != sessionStorage.getItem("hostURL")) sessionStorage.setItem("hostURL", originalURL);
|
|
2708
|
-
return;
|
|
2709
|
-
}
|
|
2710
|
-
if (par.availableGenomes.length > 1) addDatasetGenomeBtns(mainDiv, genomes);
|
|
2711
|
-
else {
|
|
2712
|
-
mainDiv.append("div").style("display", "inline-block").style("margin-left", "20px").style("color", "rgb(117, 115, 115)").text(par.availableGenomes[0]);
|
|
2713
|
-
}
|
|
2714
|
-
const searchBarDiv = mainDiv.append("div").style("display", "inline-block").style("padding", "0.5em");
|
|
2715
|
-
const allResultsDiv = sandboxDiv.body.append("div").style("max-width", "90vw");
|
|
2716
|
-
const coords = addGeneSearchbox({
|
|
2717
|
-
genome: par.genome,
|
|
2718
|
-
tip: new Menu({ padding: "" }),
|
|
2719
|
-
row: searchBarDiv,
|
|
2720
|
-
searchOnly: par.searchBar == "gene" ? "gene" : "",
|
|
2721
|
-
focusOff: true,
|
|
2722
|
-
callback: async (div) => {
|
|
2723
|
-
const resultDiv = allResultsDiv.insert("div", ":first-child").style("max-width", "90vw").style("margin", "1vw");
|
|
2724
|
-
resultDiv.append("div").style("display", "inline-block").style("cursor", "default").style("margin", "0px").style("font-size", "1.5em").html("×").on("click", () => {
|
|
2725
|
-
resultDiv.selectAll("*").remove();
|
|
2726
|
-
});
|
|
2727
|
-
makeURLbutton(resultDiv, coords, par);
|
|
2728
|
-
const runppArg = {
|
|
2729
|
-
holder: resultDiv.append("div").style("margin", "20px").node(),
|
|
2730
|
-
host: sessionStorage.getItem("hostURL"),
|
|
2731
|
-
genome: par.genome.name
|
|
2732
|
-
};
|
|
2733
|
-
par.runargs.block == true ? (runppArg.position = `${coords.chr}:${coords.start}-${coords.stop}`) && (runppArg.nativetracks = "Refgene") : runppArg.gene = coords.geneSymbol;
|
|
2734
|
-
const callpp = JSON.parse(JSON.stringify(par.runargs));
|
|
2735
|
-
runproteinpaint(Object.assign(runppArg, callpp));
|
|
2736
|
-
}
|
|
2737
|
-
});
|
|
2738
|
-
function addDatasetGenomeBtns(div, genomes2) {
|
|
2739
|
-
div.append("div").style("display", "inline-block").style("padding", "10px 10px 0px 20px");
|
|
2740
|
-
const btns = [];
|
|
2741
|
-
par.availableGenomes.forEach((genome2) => {
|
|
2742
|
-
btns.push({
|
|
2743
|
-
label: genome2,
|
|
2744
|
-
callback: (event, tab) => {
|
|
2745
|
-
par.genome = genomes2[genome2];
|
|
2746
|
-
}
|
|
2747
|
-
});
|
|
2748
|
-
});
|
|
2749
|
-
new Tabs({ holder: div, tabs: btns, noContent: true }).main();
|
|
2750
|
-
}
|
|
2751
|
-
}
|
|
2752
|
-
function makeURLbutton(div, coords, par) {
|
|
2753
|
-
const URLbtn = makeButton({ div, text: "Run Result from URL" });
|
|
2754
|
-
const blockOn = par.runargs.block == true ? `position=${coords.chr}:${coords.start}-${coords.stop}` : `gene=${coords.geneSymbol}`;
|
|
2755
|
-
URLbtn.on("click", (event) => {
|
|
2756
|
-
event.stopPropagation();
|
|
2757
|
-
const hostURL = getHostURL();
|
|
2758
|
-
window.open(`${hostURL}/?genome=${par.genome.name}&${blockOn}&${par.dsURLparam}`, "_blank");
|
|
2759
|
-
});
|
|
2760
|
-
}
|
|
2761
|
-
function getHostURL() {
|
|
2762
|
-
const hostURL = sessionStorage.getItem("hostURL");
|
|
2763
|
-
if (hostURL.startsWith("http://localhost") || hostURL.startsWith("https://pp")) {
|
|
2764
|
-
return hostURL;
|
|
2765
|
-
} else return "https://proteinpaint.stjude.org";
|
|
2766
|
-
}
|
|
2767
|
-
async function getGenomes(host) {
|
|
2768
|
-
const genomeURL = `${host}/genomes?embedder=${sessionStorage.getItem("hostURL").replace(/^https?:\/\//, "")}`;
|
|
2769
|
-
try {
|
|
2770
|
-
const response = await fetch(genomeURL);
|
|
2771
|
-
if (!response.ok) throw new Error(`HTTP Response error for genomes url ${response.status}`);
|
|
2772
|
-
const data = await response.json();
|
|
2773
|
-
return data;
|
|
2774
|
-
} catch (e) {
|
|
2775
|
-
console.error(`Error fetching genomes: ${e} from ${genomeURL}`);
|
|
2776
|
-
return null;
|
|
2777
|
-
}
|
|
2778
|
-
}
|
|
2779
|
-
|
|
2780
|
-
export {
|
|
2781
|
-
makeButton,
|
|
2782
|
-
openSandbox
|
|
2783
|
-
};
|
|
2784
|
-
//# sourceMappingURL=chunk-QIS45Z4Y.js.map
|