@marimo-team/islands 0.21.2-dev9 → 0.21.2-dev91
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/{Combination-BBPQRrDo.js → Combination-B_FmEi05.js} +3 -3
- package/dist/{ConnectedDataExplorerComponent-D0GoOd_c.js → ConnectedDataExplorerComponent-CLLlotD4.js} +30 -29
- package/dist/{ImageComparisonComponent-BYQfAfSR.js → ImageComparisonComponent-BC00mJmw.js} +1 -1
- package/dist/{Plot-DfUav0o0.js → Plot-B1ahrLui.js} +1 -1
- package/dist/{_baseIsEqual-CvgsjYoW.js → _baseIsEqual-QWfxbVqg.js} +1 -1
- package/dist/_basePickBy-Do49cXgl.js +34 -0
- package/dist/{_baseUniq-BUFhl85h.js → _baseUniq-vFmWNipH.js} +1 -1
- package/dist/{any-language-editor-DlsjUw_l.js → any-language-editor-CSvBdMtG.js} +22 -21
- package/dist/apl-e1B5LPEL.js +4 -0
- package/dist/{arc-DXxE-tFl.js → arc-CHF8PiiF.js} +2 -2
- package/dist/architecture-7HQA4BMR-KeUc82D1.js +6 -0
- package/dist/{architectureDiagram-VXUJARFQ-Df0FNeBR.js → architectureDiagram-VXUJARFQ-CIl7H_7A.js} +19 -19
- package/dist/asciiarmor-B-gwgesP.js +4 -0
- package/dist/asn1-DF2ckRB4.js +4 -0
- package/dist/{blockDiagram-VD42YOAC-DszWqlLz.js → blockDiagram-VD42YOAC-Bxg4bo7H.js} +14 -14
- package/dist/brainfuck-4G-7_gq_.js +4 -0
- package/dist/{button-BKkuUpZh.js → button-B1ZgJ7Cc.js} +2 -2
- package/dist/{c4Diagram-YG6GDRKO-Dyj8LoUX.js → c4Diagram-YG6GDRKO-k4TEDUb8.js} +6 -6
- package/dist/capabilities-DAGZLwa6.js +36 -0
- package/dist/{channel-CUFaIkTh.js → channel-CCR8wXOx.js} +1 -1
- package/dist/chat-ui-CN_DUtLR.js +7710 -0
- package/dist/{check-Diwc5emq.js → check-B2OoWw2h.js} +1 -1
- package/dist/{chunk-4BX2VUAB-CwMMQLZ_.js → chunk-4BX2VUAB-BwfrWBqN.js} +1 -1
- package/dist/{chunk-4F5CHEZ2-CRwwZ2ED.js → chunk-4F5CHEZ2-BigWQaTs.js} +1 -1
- package/dist/{chunk-55IACEB6-Dj8CzJvE.js → chunk-55IACEB6-D8THf2mi.js} +1 -1
- package/dist/{chunk-5FQGJX7Z-BkzUmppO.js → chunk-5FQGJX7Z-Cz2QbNIw.js} +1504 -2846
- package/dist/{chunk-ABZYJK2D-7QYXAAhe.js → chunk-ABZYJK2D-NPoevJcI.js} +3 -3
- package/dist/{chunk-ATLVNIR6-pmHPAPSd.js → chunk-ATLVNIR6-DAhC1FCG.js} +2 -2
- package/dist/{chunk-B2363JML-BuBMltZc.js → chunk-B2363JML-DOYwB798.js} +1 -1
- package/dist/{chunk-B4BG7PRW-Dbta9cTX.js → chunk-B4BG7PRW-BDmytgmO.js} +7 -7
- package/dist/{chunk-CVBHYZKI-D8iwHsLF.js → chunk-CVBHYZKI-B6xhgaBd.js} +1 -1
- package/dist/{chunk-DI55MBZ5-DyKB35wC.js → chunk-DI55MBZ5-C6iNEV8U.js} +6 -6
- package/dist/{chunk-EXTU4WIE-BRFl4iNd.js → chunk-EXTU4WIE-BtA6WdD4.js} +2 -2
- package/dist/{chunk-FMBD7UC4-XTL4xAvH.js → chunk-FMBD7UC4-CHdus51S.js} +1 -1
- package/dist/{chunk-FRFDVMJY-Bk2LD5Te.js → chunk-FRFDVMJY-Bo7Hv3UF.js} +1 -1
- package/dist/{chunk-HN2XXSSU-CzO5Phf0.js → chunk-HN2XXSSU-2Vfbq-kU.js} +1 -1
- package/dist/{chunk-JA3XYJ7Z-BkrY9SdL.js → chunk-JA3XYJ7Z-BeXqAsc9.js} +3 -3
- package/dist/{chunk-JZLCHNYA-Bk_Lil-q.js → chunk-JZLCHNYA-ibE7xTEx.js} +6 -6
- package/dist/{chunk-MI3HLSF2-DvCKDmpi.js → chunk-MI3HLSF2-Do0-KRc0.js} +1 -1
- package/dist/{chunk-N4CR4FBY-f5n6meOd.js → chunk-N4CR4FBY-CHAcubAf.js} +7 -7
- package/dist/{chunk-PL6DKKU2-DiFkzMfM.js → chunk-PL6DKKU2-D3wYz-iW.js} +1 -1
- package/dist/{chunk-QN33PNHL-CXfJywHv.js → chunk-QN33PNHL-CDWJY_kT.js} +2 -2
- package/dist/{chunk-QXUST7PY-D7-26sj3.js → chunk-QXUST7PY-CV37xRZd.js} +10 -10
- package/dist/{chunk-QZHKN3VN-CYbwZKgJ.js → chunk-QZHKN3VN-B_Mdb8GC.js} +1 -1
- package/dist/{chunk-S3R3BYOJ-BRT9vd1R.js → chunk-S3R3BYOJ-CGlk8NH-.js} +6 -6
- package/dist/{chunk-SJTYNZTY-BvVkbShU.js → chunk-SJTYNZTY-Bauwp2-p.js} +1 -1
- package/dist/{chunk-TCCFYFTB-DqxhgXG0.js → chunk-TCCFYFTB-C5_FjmXA.js} +15 -14
- package/dist/{chunk-TQ3KTPDO-CPkEruAA.js → chunk-TQ3KTPDO-TjHW8xfv.js} +1 -1
- package/dist/{chunk-TZMSLE5B-DSfBOnzx.js → chunk-TZMSLE5B-DfY6C3FB.js} +3 -3
- package/dist/{chunk-UMXZTB3W-C4ypIY3V.js → chunk-UMXZTB3W-DdRiIIOF.js} +1 -1
- package/dist/classDiagram-2ON5EDUG-DbWOiPgs.js +30 -0
- package/dist/classDiagram-v2-WZHVMYZB-COnXBrRA.js +30 -0
- package/dist/{clike-CLJYUAWw.js → clike-7lgyEYRk.js} +1 -1
- package/dist/clojure-CUybM11R.js +4 -0
- package/dist/{clone-CEQ-pda1.js → clone-BM9_Wkaf.js} +1 -1
- package/dist/cmake-BPjGcuDL.js +4 -0
- package/dist/cobol-BETk_nb6.js +4 -0
- package/dist/{code-block-37QAKDTI-DV_ZyoUh.js → code-block-37QAKDTI-DW3JC11U.js} +2 -2
- package/dist/coffeescript-CManZxXL.js +4 -0
- package/dist/commonlisp-DWkn7GW8.js +4 -0
- package/dist/{constants-CytQ_3LM.js → constants-LmeAawHa.js} +3 -3
- package/dist/{copy-DIK6DiIA.js → copy-B7XqFjF_.js} +14 -4
- package/dist/{cose-bilkent-S5V4N54A-BCDTZDay.js → cose-bilkent-S5V4N54A-DXHZkJKX.js} +2 -2
- package/dist/crystal-CCbg5EUH.js +4 -0
- package/dist/css-By8eo-XS.js +4 -0
- package/dist/cypher-DwfHg3nP.js +4 -0
- package/dist/d-Brs1wNbw.js +4 -0
- package/dist/{dagre-6UL2VRFP-DGEbtmgU.js → dagre-6UL2VRFP-B8UW0fXE.js} +16 -16
- package/dist/{dagre-BVnNvbvD.js → dagre-B3-rUlCT.js} +14 -14
- package/dist/{data-grid-overlay-editor-BD0BFHzy.js → data-grid-overlay-editor-CpL5Zajy.js} +3 -3
- package/dist/{diagram-PSM6KHXK-CG_usglE.js → diagram-PSM6KHXK-DGD-j1bM.js} +22 -22
- package/dist/{diagram-QEK2KX5R-CtGFEwzJ.js → diagram-QEK2KX5R-DgsT6ZW4.js} +17 -17
- package/dist/{diagram-S2PKOQOG-ClKAGmbv.js → diagram-S2PKOQOG-CDh5Ij8z.js} +17 -17
- package/dist/diff-DJIRmJ1g.js +4 -0
- package/dist/{dist-DodLQWPg.js → dist--MUqhsBh.js} +1 -1
- package/dist/{dist-CAKwXCWI.js → dist-8-jPFKws.js} +2 -2
- package/dist/{dist-i-ud9aCA.js → dist-B6ZvKwIz.js} +1 -1
- package/dist/{dist-BGZ7TWS9.js → dist-B771Ewvn.js} +3 -3
- package/dist/dist-BK8Ch8me.js +5 -0
- package/dist/dist-BPlAe3w3.js +6 -0
- package/dist/dist-BQnLGf1A.js +8 -0
- package/dist/dist-BZRBnAnM.js +5 -0
- package/dist/{dist-D4gcY469.js → dist-Bc-mOFlk.js} +2 -2
- package/dist/{dist-BUrWeMEP.js → dist-Bg1YGq2b.js} +1 -1
- package/dist/{dist-C0Rnbr-_.js → dist-BiNtCiQ9.js} +4 -4
- package/dist/{dist-B9EjSb9T.js → dist-BjYGwQ65.js} +1 -1
- package/dist/dist-BmTKj-5m.js +5 -0
- package/dist/{dist-D_-CGmlh.js → dist-BsyHyGqX.js} +2 -2
- package/dist/dist-C1UyhB0b.js +5 -0
- package/dist/dist-C1uqqTuH.js +5 -0
- package/dist/dist-CCeSY9xv.js +5 -0
- package/dist/{dist-DEj2X26M.js → dist-CEmSeYaL.js} +2 -2
- package/dist/{dist-CDHl2i1x.js → dist-CJEfzjG5.js} +4 -4
- package/dist/dist-CMWhb0s1.js +5 -0
- package/dist/{dist-BSfYc7vq.js → dist-CXsGjNbR.js} +2 -2
- package/dist/{dist-CseYuPtL.js → dist-CpNdP46s.js} +2 -2
- package/dist/{dist-CPlGUbk-.js → dist-CsToCMcA.js} +2 -2
- package/dist/dist-CwEBZkrQ.js +550 -0
- package/dist/{dist-DERtJN02.js → dist-CwP9oyR8.js} +2 -2
- package/dist/{dist-C4K7pumm.js → dist-D2nC1On3.js} +2 -2
- package/dist/{dist-BFxYppVR.js → dist-DEmPLkH9.js} +4 -4
- package/dist/{dist-lNe4i1Nm.js → dist-DKr1M-ru.js} +1 -1
- package/dist/{dist-D5NMgbbv.js → dist-DNSJBJI7.js} +2 -2
- package/dist/{dist-HoZO6brh.js → dist-DSSPn3fP.js} +2 -2
- package/dist/dist-DYoFz28E.js +8 -0
- package/dist/dist-DeSnQwvL.js +6 -0
- package/dist/{dist-COpDrwi-.js → dist-Dl9_0tkc.js} +1 -1
- package/dist/{dist-Bq5eYK43.js → dist-DlacJSaE.js} +2 -2
- package/dist/{dist-RNGn_-uD.js → dist-DoO66t8e.js} +1 -1
- package/dist/{dist-Bq9zYwJs.js → dist-DqT0O-4m.js} +5 -5
- package/dist/{dist-CSEWGuDq.js → dist-DqweMfpO.js} +1 -1
- package/dist/{dist-gc9KgJuA.js → dist-DvjVNme1.js} +1 -1
- package/dist/{dist-DOoqn-VL.js → dist-N1lm7LVK.js} +71 -37
- package/dist/{dist-Cl5iM8xL.js → dist-QxBlbqgj.js} +3 -3
- package/dist/{dist-Ux6dL_VB.js → dist-TuFHGVp2.js} +1 -1
- package/dist/dist-e8VqCQ_P.js +5 -0
- package/dist/{dist-DUretbKK.js → dist-fRW2mZtS.js} +2 -2
- package/dist/dist-kGaha3sX.js +8 -0
- package/dist/{dist-BpMlUdNO.js → dist-mpvRA2Bc.js} +3 -3
- package/dist/dist-wQD8nhf9.js +8 -0
- package/dist/{dockerfile-BxhYdLHL.js → dockerfile-DG6A2DdH.js} +1 -1
- package/dist/dtd-Dyiazv4N.js +4 -0
- package/dist/dylan-D8Fcw7NA.js +4 -0
- package/dist/ecl-CjKp8Vii.js +4 -0
- package/dist/eiffel-K9ViOX5r.js +4 -0
- package/dist/elm-B5NVtRco.js +4 -0
- package/dist/{erDiagram-Q2GNP2WA-DPMseVVp.js → erDiagram-Q2GNP2WA-CGK0SUdu.js} +15 -15
- package/dist/erlang-BnLzgk7R.js +4 -0
- package/dist/{error-banner-Dmi5ujan.js → error-banner-D-KBGvBj.js} +3 -3
- package/dist/esm-B_4hpmV_.js +1587 -0
- package/dist/esm-Bcbo0Yvz.js +2805 -0
- package/dist/{factor-Png_OsVt.js → factor-Bq2mGIHt.js} +1 -1
- package/dist/factor-C7f9Jz5R.js +4 -0
- package/dist/{flowDiagram-NV44I4VS-BpAIFwW7.js → flowDiagram-NV44I4VS-PjhviPI_.js} +17 -17
- package/dist/forth-rGM8jLao.js +4 -0
- package/dist/fortran-B3acSe0i.js +4 -0
- package/dist/{ganttDiagram-JELNMOA3-DXYghZ9C.js → ganttDiagram-JELNMOA3-CUVtQqgT.js} +10 -10
- package/dist/gas-Bb1Vmv_N.js +4 -0
- package/dist/gherkin-C9Lyidgd.js +4 -0
- package/dist/{gitGraph-G5XIXVHT-ChHUSAop.js → gitGraph-G5XIXVHT-B6b-Z3mr.js} +3 -3
- package/dist/{gitGraphDiagram-V2S2FVAM-CBL-7g3_.js → gitGraphDiagram-V2S2FVAM-CNdrlK1I.js} +17 -17
- package/dist/{glide-data-editor-pZyd9UJ_.js → glide-data-editor-DQEuWuu_.js} +94 -93
- package/dist/{graphlib-D18eZCT4.js → graphlib-CIQjMxKw.js} +6 -6
- package/dist/groovy-DQk6XcGH.js +4 -0
- package/dist/{hasIn-B9AbGLj3.js → hasIn-eLCPDloT.js} +5 -5
- package/dist/haskell-mV0Vw9gv.js +4 -0
- package/dist/haxe-DqxN89zH.js +5 -0
- package/dist/idl-ya8W561J.js +4 -0
- package/dist/{info-VBDWY6EO-CwyXEo8E.js → info-VBDWY6EO-DfFl0Z8H.js} +3 -3
- package/dist/infoDiagram-HS3SLOUP-DGimKb9k.js +30 -0
- package/dist/{types-CGc7peZV.js → input-B8CM-AuM.js} +208 -405
- package/dist/{isEmpty-C-xMag79.js → isEmpty-CI9akcsL.js} +2 -2
- package/dist/{isString-D-vNYDBA.js → isString-xiQUcgm4.js} +1 -1
- package/dist/{isSymbol-Dyt2NSnN.js → isSymbol-DFp8040B.js} +1 -1
- package/dist/javascript-CgqgptVu.js +4 -0
- package/dist/{journeyDiagram-XKPGCS4Q-D5BIjS4N.js → journeyDiagram-XKPGCS4Q-CyoESVVb.js} +7 -7
- package/dist/julia-CFQ-HusI.js +4 -0
- package/dist/{kanban-definition-3W4ZIXB7-DhDkqxFB.js → kanban-definition-3W4ZIXB7-Doc2YV80.js} +12 -12
- package/dist/{katex-pyO_klYC.js → katex-qPqrBHZ8.js} +1 -1
- package/dist/{label-BbpGrh4j.js → label-e5-84vsp.js} +10 -10
- package/dist/{line-C1k1rG3Z.js → line-BWRi3U3S.js} +3 -3
- package/dist/{linear-DIp6l9sg.js → linear-DZ8_CGCd.js} +4 -4
- package/dist/livescript-D__3TmDo.js +4 -0
- package/dist/{loader-CABJs6GU.js → loader-C51Irhxm.js} +3 -3
- package/dist/lua-Bytcgj_W.js +4 -0
- package/dist/main.js +35443 -70505
- package/dist/mathematica-DJhvVKvl.js +4 -0
- package/dist/mbox-IGHPCjfR.js +4 -0
- package/dist/{memoize-Cs8aS5RW.js → memoize-zYM53m8l.js} +1 -1
- package/dist/{merge-NuyC7LN7.js → merge-CqBPpP0q.js} +1 -1
- package/dist/mermaid-4DMBBIKO-DQdI9xDR.js +6 -0
- package/dist/{mermaid-CrKqsE2j.js → mermaid-CzWpf81s.js} +50 -50
- package/dist/{mermaid-parser.core-OkWZ8nr-.js → mermaid-parser.core-CrrqF1ZZ.js} +8 -8
- package/dist/{mhchem-DckvwtV8.js → mhchem-BwoRNwg_.js} +1 -1
- package/dist/micromark-factory-space-DQCQsiYz.js +1341 -0
- package/dist/{min-ECVRnCdn.js → min-IJGSWMpU.js} +8 -8
- package/dist/{mindmap-definition-VGOIOE7T-BxQi78Vl.js → mindmap-definition-VGOIOE7T-L2ybicpO.js} +14 -14
- package/dist/mirc-tcwvVugm.js +4 -0
- package/dist/mllike-Dx91i62r.js +6 -0
- package/dist/modelica-_SRt-yU5.js +4 -0
- package/dist/mscgen-GZrGS9gt.js +6 -0
- package/dist/mumps-Cv3ygyod.js +4 -0
- package/dist/{now-BC2mX0ZT.js → now-CnuN5fN5.js} +1 -1
- package/dist/nsis-BU7GeGbI.js +4 -0
- package/dist/{nsis-BrAITej_.js → nsis-i9_sgigf.js} +1 -1
- package/dist/ntriples-CL-FCYXb.js +4 -0
- package/dist/{number-overlay-editor-CQrncFlP.js → number-overlay-editor-D2Y0RpcH.js} +1 -1
- package/dist/octave-Dc6_3DIu.js +4 -0
- package/dist/{once-BqS42WgZ.js → once-DjP4Kbhy.js} +1 -1
- package/dist/{ordinal-Dcvf4J1m.js → ordinal-B4zYMadD.js} +1 -1
- package/dist/oz-DpUAJCXf.js +4 -0
- package/dist/{packet-DYOGHKS2-C62XQjZh.js → packet-DYOGHKS2-DIf3Dotq.js} +3 -3
- package/dist/pascal-B17mncXs.js +4 -0
- package/dist/perl-BTpK97q9.js +4 -0
- package/dist/{pie-VRWISCQL-nfAKQJw3.js → pie-VRWISCQL-Dj_gvPcD.js} +3 -3
- package/dist/{pieDiagram-ADFJNKIX-DfSJXUHa.js → pieDiagram-ADFJNKIX-x5w7q6Yp.js} +22 -22
- package/dist/pig-CFb638Ap.js +4 -0
- package/dist/powershell-Cxo-_2A5.js +4 -0
- package/dist/{precisionRound-BAc-kQ3q.js → precisionRound-C-DW449D.js} +1 -1
- package/dist/process-output-BfgNdve9.js +28024 -0
- package/dist/properties-BPgT1xTB.js +4 -0
- package/dist/protobuf-BgHBaIIK.js +4 -0
- package/dist/pug-25-oS0SG.js +4 -0
- package/dist/{pug-CH-17az-.js → pug-BhE2JRSg.js} +1 -1
- package/dist/puppet-DarIr20S.js +4 -0
- package/dist/python-BqmOsBsi.js +4 -0
- package/dist/q-D3QJCTup.js +4 -0
- package/dist/{quadrantDiagram-AYHSOK5B-CAcVWXc-.js → quadrantDiagram-AYHSOK5B-D5j_5qG_.js} +5 -5
- package/dist/r-Cz_yBX4z.js +4 -0
- package/dist/{radar-ZZBFDIW7-lopS8_4j.js → radar-ZZBFDIW7-DXDVq3gi.js} +3 -3
- package/dist/{range-BKaWvVUE.js → range-DffmqG6L.js} +4 -3
- package/dist/{react-vega-C6kwcd86.js → react-vega-BBUxfZoV.js} +19 -19
- package/dist/react-vega-Cs3lfDw8.js +9 -0
- package/dist/{reduce-CqQo8ppc.js → reduce-CGwzfrDo.js} +5 -5
- package/dist/{requirementDiagram-UZGBJVZJ-BU7dwzFM.js → requirementDiagram-UZGBJVZJ-3SoJH6yP.js} +14 -14
- package/dist/rpm-DGOtYwAI.js +5 -0
- package/dist/ruby-DBZu4rPc.js +4 -0
- package/dist/{sankeyDiagram-TZEHDZUN-BVJnR4_b.js → sankeyDiagram-TZEHDZUN-fGkFNe5q.js} +5 -5
- package/dist/sas-Dd1D9qTq.js +4 -0
- package/dist/scheme-BmDjvTHX.js +4 -0
- package/dist/{sequenceDiagram-WL72ISMW-CQcFQTwX.js → sequenceDiagram-WL72ISMW-BE2uTn_d.js} +8 -8
- package/dist/shell-BL8zFSaj.js +4 -0
- package/dist/sieve-BAx2WqUP.js +4 -0
- package/dist/{slides-component-GkilRW21.js → slides-component-Cjo6LzW9.js} +3 -3
- package/dist/smalltalk-CYRzF7VV.js +4 -0
- package/dist/sparql-YWaDRO4A.js +4 -0
- package/dist/{spec-Bfvf9Hre.js → spec-UGFYIDJb.js} +12 -422
- package/dist/{src-CHUphWwL.js → src-BY0BGg6V.js} +1 -1
- package/dist/{stateDiagram-FKZM4ZOC-Dx9AIGDe.js → stateDiagram-FKZM4ZOC-Dmk9IAOx.js} +19 -19
- package/dist/stateDiagram-v2-4FDKWEC3-BGF0BvU6.js +29 -0
- package/dist/{step-BbmiiQdf.js → step-DGAGWg3y.js} +1 -1
- package/dist/stex-BvZqVamL.js +4 -0
- package/dist/style.css +1 -1
- package/dist/stylus-lYsyLFc1.js +4 -0
- package/dist/swift-ClQz9z1n.js +4 -0
- package/dist/tcl-B3jhsfqY.js +4 -0
- package/dist/textile-Cb1Dw7Aq.js +4 -0
- package/dist/{time-DFFVNc1Q.js → time-C_pvjzP0.js} +4 -4
- package/dist/{timeline-definition-IT6M3QCI-D8B3p7ID.js → timeline-definition-IT6M3QCI-CvB4yGrN.js} +4 -4
- package/dist/toDate-COI3hP-5.js +637 -0
- package/dist/toInteger-BUeg_O0F.js +15 -0
- package/dist/{toNumber-CbZ70FdN.js → toNumber-xFPoy1OI.js} +2 -2
- package/dist/{toString-DbIAWQpF.js → toString-CtXX84W6.js} +2 -2
- package/dist/toml-nHZhetdO.js +4 -0
- package/dist/{tooltip-CKG75XQa.js → tooltip-DnI4CwIS.js} +4 -4
- package/dist/{treemap-GDKQZRPO-CkR-5ai2.js → treemap-GDKQZRPO-CIG6WH-x.js} +3 -3
- package/dist/troff-DuJAGWKH.js +4 -0
- package/dist/ttcn-BxrcwP21.js +4 -0
- package/dist/ttcn-cfg-BAg_9dcc.js +4 -0
- package/dist/turtle-zCq949as.js +4 -0
- package/dist/types-BqLAaq-i.js +209 -0
- package/dist/{uniq-H2E5nMLq.js → uniq-CCKqEs7T.js} +1 -1
- package/dist/{useAsyncData-CEjJxwFB.js → useAsyncData-BtHYXgXF.js} +2 -2
- package/dist/useDeepCompareMemoize-9dXEtK7u.js +124 -0
- package/dist/useIframeCapabilities-CzVvBDe8.js +13 -0
- package/dist/useLifecycle-Be1LUuEg.js +427 -0
- package/dist/{useTheme-CPybHVFN.js → useTheme-5GTtjXjy.js} +4 -4
- package/dist/vb-De5hElus.js +4 -0
- package/dist/vbscript-Cypcpv4F.js +4 -0
- package/dist/{vega-component-CuPTCRp5.js → vega-component-BQNW4qnB.js} +198 -197
- package/dist/{vega-loader.browser-CQ-lnUkI.js → vega-loader.browser-DnqN5nbz.js} +3 -3
- package/dist/velocity-Di7l-yhe.js +4 -0
- package/dist/verilog-Bzi-S3g2.js +4 -0
- package/dist/vhdl-B0ZZITaW.js +4 -0
- package/dist/webidl-0sviiRcN.js +4 -0
- package/dist/xquery-B4qMVWaB.js +4 -0
- package/dist/{xychartDiagram-PRI3JC2R-XO8FiQjU.js → xychartDiagram-PRI3JC2R-BbEInSqY.js} +13 -13
- package/dist/yacas-Jt25Fuv8.js +4 -0
- package/dist/z80-CrcbYzmp.js +4 -0
- package/package.json +4 -3
- package/src/__mocks__/notebook.ts +9 -9
- package/src/__mocks__/requests.ts +2 -1
- package/src/__tests__/branded.ts +20 -0
- package/src/__tests__/setup.ts +15 -0
- package/src/components/app-config/__tests__/get-dirty-values.test.ts +1 -1
- package/src/components/app-config/get-dirty-values.ts +100 -0
- package/src/components/app-config/user-config-form.tsx +6 -101
- package/src/components/chat/chat-utils.ts +7 -8
- package/src/components/data-table/TableActions.tsx +8 -2
- package/src/components/data-table/__tests__/columns.test.tsx +138 -0
- package/src/components/data-table/__tests__/data-table.test.tsx +63 -0
- package/src/components/data-table/__tests__/utils.test.ts +138 -1
- package/src/components/data-table/charts/__tests__/storage.test.ts +7 -7
- package/src/components/data-table/columns.tsx +44 -4
- package/src/components/data-table/context-menu.tsx +9 -5
- package/src/components/data-table/data-table.tsx +13 -31
- package/src/components/data-table/filters.ts +1 -0
- package/src/components/data-table/hooks/use-scroll-container-height.ts +97 -0
- package/src/components/data-table/range-focus/__tests__/atoms.test.ts +8 -2
- package/src/components/data-table/range-focus/__tests__/test-utils.ts +2 -0
- package/src/components/data-table/range-focus/__tests__/use-cell-range-selection.test.ts +119 -0
- package/src/components/data-table/range-focus/__tests__/utils.test.ts +82 -8
- package/src/components/data-table/range-focus/atoms.ts +2 -2
- package/src/components/data-table/range-focus/use-cell-range-selection.ts +19 -0
- package/src/components/data-table/range-focus/utils.ts +50 -12
- package/src/components/data-table/renderers.tsx +103 -46
- package/src/components/data-table/types.ts +21 -0
- package/src/components/data-table/utils.ts +87 -0
- package/src/components/datasources/datasources.tsx +45 -0
- package/src/components/editor/__tests__/data-attributes.test.tsx +8 -8
- package/src/components/editor/ai/__tests__/completion-utils.test.ts +15 -15
- package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +2 -2
- package/src/components/editor/connections/storage/as-code.ts +2 -2
- package/src/components/editor/file-tree/file-explorer.tsx +16 -2
- package/src/components/editor/file-tree/file-viewer.tsx +17 -3
- package/src/components/editor/navigation/__tests__/clipboard.test.ts +2 -2
- package/src/components/editor/navigation/__tests__/selection.test.ts +7 -6
- package/src/components/editor/navigation/__tests__/state.test.ts +8 -7
- package/src/components/editor/output/MarimoErrorOutput.tsx +7 -7
- package/src/components/editor/output/__tests__/traceback.test.tsx +4 -4
- package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +4 -4
- package/src/components/editor/package-alert.tsx +1 -1
- package/src/components/editor/renderers/vertical-layout/useFocusFirstEditor.ts +8 -1
- package/src/components/markdown/markdown-renderer.tsx +18 -2
- package/src/components/storage/storage-file-viewer.tsx +35 -1
- package/src/components/storage/storage-inspector.tsx +9 -4
- package/src/components/storage/storage-snippets.ts +3 -3
- package/src/components/tracing/tracing.tsx +3 -1
- package/src/components/ui/range-slider.tsx +108 -1
- package/src/core/ai/__tests__/staged-cells.test.ts +9 -8
- package/src/core/ai/context/providers/__tests__/cell-output.test.ts +31 -31
- package/src/core/ai/context/providers/__tests__/datasource.test.ts +3 -3
- package/src/core/ai/context/providers/__tests__/tables.test.ts +3 -2
- package/src/core/ai/context/providers/__tests__/variable.test.ts +84 -63
- package/src/core/ai/staged-cells.ts +6 -0
- package/src/core/ai/tools/__tests__/edit-notebook-tool.test.ts +10 -9
- package/src/core/ai/tools/__tests__/run-cells-tool.test.ts +6 -6
- package/src/core/ai/tools/edit-notebook-tool.ts +3 -3
- package/src/core/cells/__tests__/add-missing-import.test.ts +3 -3
- package/src/core/cells/__tests__/apply-transaction.test.ts +279 -0
- package/src/core/cells/__tests__/cells.test.ts +198 -135
- package/src/core/cells/__tests__/document-changes.test.ts +572 -0
- package/src/core/cells/__tests__/document-roundtrip.test.ts +376 -0
- package/src/core/cells/__tests__/focus.test.ts +5 -4
- package/src/core/cells/__tests__/logs.test.ts +13 -12
- package/src/core/cells/__tests__/pending-delete-service.test.tsx +3 -3
- package/src/core/cells/__tests__/runs.test.ts +29 -24
- package/src/core/cells/__tests__/scrollCellIntoView.test.ts +8 -7
- package/src/core/cells/__tests__/session.test.ts +23 -22
- package/src/core/cells/cells.ts +35 -8
- package/src/core/cells/document-changes.ts +644 -0
- package/src/core/cells/ids.ts +5 -5
- package/src/core/cells/logs.ts +2 -2
- package/src/core/cells/runs.ts +6 -8
- package/src/core/codemirror/__tests__/format.test.ts +34 -36
- package/src/core/codemirror/__tests__/setup.test.ts +2 -2
- package/src/core/codemirror/cells/__tests__/extensions.test.ts +114 -0
- package/src/core/codemirror/cells/__tests__/traceback-decorations.test.ts +33 -32
- package/src/core/codemirror/cells/extensions.ts +66 -23
- package/src/core/codemirror/completion/__tests__/keymap.test.ts +15 -35
- package/src/core/codemirror/completion/keymap.ts +14 -4
- package/src/core/codemirror/copilot/__tests__/getCodes.test.ts +12 -13
- package/src/core/codemirror/language/__tests__/utils.test.ts +3 -3
- package/src/core/codemirror/language/embedded/__tests__/embedded-python.test.ts +7 -8
- package/src/core/codemirror/language/languages/python.ts +4 -0
- package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +4 -3
- package/src/core/codemirror/lsp/notebook-lsp.ts +28 -2
- package/src/core/codemirror/reactive-references/__tests__/analyzer.test.ts +7 -6
- package/src/core/codemirror/reactive-references/analyzer.ts +2 -2
- package/src/core/codemirror/rtc/loro/__tests__/sync.test.ts +52 -0
- package/src/core/codemirror/rtc/loro/sync.ts +1 -0
- package/src/core/datasets/__tests__/data-source.test.ts +93 -7
- package/src/core/datasets/data-source-connections.ts +44 -0
- package/src/core/datasets/request-registry.ts +13 -0
- package/src/core/datasets/state.ts +1 -1
- package/src/core/edit-app.tsx +0 -5
- package/src/core/errors/__tests__/errors.test.ts +2 -1
- package/src/core/export/__tests__/hooks.test.ts +37 -36
- package/src/core/islands/bridge.ts +2 -1
- package/src/core/islands/main.ts +5 -9
- package/src/core/kernel/__tests__/handlers.test.ts +5 -4
- package/src/core/kernel/handlers.ts +7 -4
- package/src/core/kernel/messages.ts +2 -0
- package/src/core/network/DeferredRequestRegistry.ts +2 -2
- package/src/core/network/__tests__/CachingRequestRegistry.test.ts +9 -10
- package/src/core/network/__tests__/DeferredRequestRegistry.test.ts +4 -6
- package/src/core/network/requests-lazy.ts +2 -1
- package/src/core/network/requests-network.ts +10 -2
- package/src/core/network/requests-static.ts +2 -1
- package/src/core/network/requests-toasting.tsx +2 -1
- package/src/core/network/types.ts +7 -2
- package/src/core/static/__tests__/virtual-file-tracker.test.ts +8 -8
- package/src/core/static/virtual-file-tracker.ts +1 -1
- package/src/core/storage/__tests__/state.test.ts +31 -21
- package/src/core/storage/state.ts +1 -1
- package/src/core/variables/__tests__/state.test.ts +6 -6
- package/src/core/variables/types.ts +2 -2
- package/src/core/wasm/__tests__/state.test.ts +8 -8
- package/src/core/wasm/bridge.ts +11 -1
- package/src/core/websocket/useMarimoKernelConnection.tsx +33 -26
- package/src/css/app/fonts.css +6 -6
- package/src/css/md-tooltip.css +4 -39
- package/src/css/md.css +10 -0
- package/src/fonts/Fira_Mono/FiraMono-Bold.woff2 +0 -0
- package/src/fonts/Fira_Mono/FiraMono-Medium.woff2 +0 -0
- package/src/fonts/Fira_Mono/FiraMono-Regular.woff2 +0 -0
- package/src/fonts/Lora/Lora-VariableFont_wght.woff2 +0 -0
- package/src/fonts/PT_Sans/PTSans-Bold.woff2 +0 -0
- package/src/fonts/PT_Sans/PTSans-Regular.woff2 +0 -0
- package/src/plugins/core/RenderHTML.tsx +17 -0
- package/src/plugins/core/__test__/RenderHTML.test.ts +45 -0
- package/src/plugins/core/sanitize-html.ts +25 -18
- package/src/plugins/impl/DataTablePlugin.tsx +50 -2
- package/src/plugins/impl/SliderPlugin.tsx +1 -3
- package/src/plugins/impl/__tests__/SliderPlugin.test.tsx +120 -0
- package/src/plugins/impl/anywidget/model.ts +1 -2
- package/src/plugins/impl/chat/ChatPlugin.tsx +6 -3
- package/src/plugins/impl/matplotlib/matplotlib-renderer.ts +5 -2
- package/src/stories/cell.stories.tsx +8 -8
- package/src/stories/layout/vertical/one-column.stories.tsx +9 -8
- package/src/stories/log-viewer.stories.tsx +8 -8
- package/src/stories/variables.stories.tsx +2 -2
- package/src/utils/__tests__/createReducer.test.ts +2 -1
- package/src/utils/__tests__/download.test.tsx +21 -20
- package/src/utils/copy.ts +18 -5
- package/src/utils/createReducer.ts +46 -26
- package/src/utils/download.ts +4 -3
- package/src/utils/html-to-image.ts +6 -0
- package/src/utils/json/base64.ts +3 -3
- package/src/utils/traceback.ts +5 -3
- package/dist/_basePickBy-pTDW2_2A.js +0 -47
- package/dist/apl-lHFVoxx7.js +0 -4
- package/dist/architecture-7HQA4BMR-BmtmhGMc.js +0 -6
- package/dist/asciiarmor-DqCdZUHI.js +0 -4
- package/dist/asn1-DEcwtw-q.js +0 -4
- package/dist/brainfuck-Bro9Oz5x.js +0 -4
- package/dist/classDiagram-2ON5EDUG-DphiMW3Y.js +0 -30
- package/dist/classDiagram-v2-WZHVMYZB-BH1x5h4a.js +0 -30
- package/dist/clojure-B2uhdQPa.js +0 -4
- package/dist/cmake-B9WXyQcc.js +0 -4
- package/dist/cobol-CPD3EJfO.js +0 -4
- package/dist/coffeescript-KD9TnEnS.js +0 -4
- package/dist/commonlisp-DNEULz_Q.js +0 -4
- package/dist/crystal-DVPNgAPQ.js +0 -4
- package/dist/css-fq3a1AH1.js +0 -4
- package/dist/cypher-Dtzq0BP7.js +0 -4
- package/dist/d-DcZudIhJ.js +0 -4
- package/dist/diff-D9BPDC3o.js +0 -4
- package/dist/dist-B4MxkKHf.js +0 -8
- package/dist/dist-BYghZv6b.js +0 -5
- package/dist/dist-Be-uQhz5.js +0 -6
- package/dist/dist-CB_xf0ju.js +0 -5
- package/dist/dist-CK0qFAbF.js +0 -8
- package/dist/dist-CYEk-qrr.js +0 -8
- package/dist/dist-CmKoWpMk.js +0 -5
- package/dist/dist-D1nf4IQl.js +0 -5
- package/dist/dist-Df3AcKpt.js +0 -6
- package/dist/dist-DgaFHt_I.js +0 -5
- package/dist/dist-Dk10C3ui.js +0 -5
- package/dist/dist-DtyPVMHR.js +0 -5
- package/dist/dist-ko7WnHAO.js +0 -5
- package/dist/dist-of7gLRFK.js +0 -8
- package/dist/dtd-FhG-tVom.js +0 -4
- package/dist/dylan-HWpZOBPw.js +0 -4
- package/dist/ecl-B_rcje1I.js +0 -4
- package/dist/eiffel-oqHyHs6f.js +0 -4
- package/dist/elm-B62RQEds.js +0 -4
- package/dist/erlang-CjRjjA-B.js +0 -4
- package/dist/esm-BLobyqMs.js +0 -4387
- package/dist/factor-CGH_TnIV.js +0 -4
- package/dist/forth-5N06oHNp.js +0 -4
- package/dist/fortran-wZ-sNg3h.js +0 -4
- package/dist/gas-3H4_FaS8.js +0 -4
- package/dist/gherkin-PEA2uy50.js +0 -4
- package/dist/groovy-DZzbvCP1.js +0 -4
- package/dist/haskell-CExLTzho.js +0 -4
- package/dist/haxe-f3pVb8qU.js +0 -5
- package/dist/idl-BbWlJ0gk.js +0 -4
- package/dist/infoDiagram-HS3SLOUP-BXGbfBss.js +0 -30
- package/dist/javascript-eMOhp6Aq.js +0 -4
- package/dist/julia-C6w3Rvqb.js +0 -4
- package/dist/livescript-ChQl9lD-.js +0 -4
- package/dist/lua-CiDvI96j.js +0 -4
- package/dist/mathematica-ClVO4k7N.js +0 -4
- package/dist/mbox-BEI7DeUg.js +0 -4
- package/dist/mermaid-4DMBBIKO-PVrJfEpX.js +0 -6
- package/dist/mirc-DwidJ3iH.js +0 -4
- package/dist/mllike-Dspdy0xJ.js +0 -6
- package/dist/modelica-CIUejP-L.js +0 -4
- package/dist/mscgen-BWXU4Omp.js +0 -6
- package/dist/mumps-PHFFoPk5.js +0 -4
- package/dist/nsis-B7xooKLf.js +0 -4
- package/dist/ntriples-DnOgtCzG.js +0 -4
- package/dist/octave-Cn5kH_QT.js +0 -4
- package/dist/oz-DR-sROpu.js +0 -4
- package/dist/pascal-CPKK1zcS.js +0 -4
- package/dist/perl-D7FuFdyd.js +0 -4
- package/dist/pig-CEXnOAnI.js +0 -4
- package/dist/powershell-BKvWab7q.js +0 -4
- package/dist/properties-7jnK_vYx.js +0 -4
- package/dist/protobuf-4rslMjEN.js +0 -4
- package/dist/pug-BVwdEv4r.js +0 -4
- package/dist/puppet-iSHg_1Z2.js +0 -4
- package/dist/python-tK3wUCn0.js +0 -4
- package/dist/q-DP_Dcoox.js +0 -4
- package/dist/r-C32wHLYu.js +0 -4
- package/dist/react-vega-CFUuchds.js +0 -9
- package/dist/rpm-BbDBUfs9.js +0 -5
- package/dist/ruby-COfWUiIr.js +0 -4
- package/dist/sas-y_Hue2-X.js +0 -4
- package/dist/scheme-7jTCqHw8.js +0 -4
- package/dist/shell-DAqJWXDk.js +0 -4
- package/dist/sieve-EaqnbCO3.js +0 -4
- package/dist/smalltalk-DL03YKLJ.js +0 -4
- package/dist/sparql-DTA-tQ_q.js +0 -4
- package/dist/stateDiagram-v2-4FDKWEC3-BIeUs-Ed.js +0 -29
- package/dist/stex-KfRnSHzF.js +0 -4
- package/dist/stylus-CfjeFry_.js +0 -4
- package/dist/swift-Dl0RRDbH.js +0 -4
- package/dist/tcl-wv9O7fLZ.js +0 -4
- package/dist/textile-DzMRCBcV.js +0 -4
- package/dist/toml-CyIWqgbe.js +0 -4
- package/dist/troff-_huin_CY.js +0 -4
- package/dist/ttcn-BEiJuYYc.js +0 -4
- package/dist/ttcn-cfg-DB6Ksh67.js +0 -4
- package/dist/turtle-DzhzGEum.js +0 -4
- package/dist/useDeepCompareMemoize-BWUwfh37.js +0 -755
- package/dist/useIframeCapabilities-OQaMKgZl.js +0 -46
- package/dist/vb-CngKZQHu.js +0 -4
- package/dist/vbscript-BV_8nbeM.js +0 -4
- package/dist/velocity-IqE7qYKE.js +0 -4
- package/dist/verilog-xtyaWTnc.js +0 -4
- package/dist/vhdl-BaqXCtf3.js +0 -4
- package/dist/webidl-BDB8PTTO.js +0 -4
- package/dist/xquery-BIC-qj9Z.js +0 -4
- package/dist/yacas-ifv5tftd.js +0 -4
- package/dist/z80-B8zOMVNt.js +0 -4
- package/src/core/cells/effects.ts +0 -42
- package/src/fonts/Fira_Mono/FiraMono-Bold.ttf +0 -0
- package/src/fonts/Fira_Mono/FiraMono-Medium.ttf +0 -0
- package/src/fonts/Fira_Mono/FiraMono-Regular.ttf +0 -0
- package/src/fonts/Lora/Lora-Italic-VariableFont_wght.ttf +0 -0
- package/src/fonts/Lora/Lora-VariableFont_wght.ttf +0 -0
- package/src/fonts/Lora/static/Lora-Bold.ttf +0 -0
- package/src/fonts/Lora/static/Lora-BoldItalic.ttf +0 -0
- package/src/fonts/Lora/static/Lora-Italic.ttf +0 -0
- package/src/fonts/Lora/static/Lora-Medium.ttf +0 -0
- package/src/fonts/Lora/static/Lora-MediumItalic.ttf +0 -0
- package/src/fonts/Lora/static/Lora-Regular.ttf +0 -0
- package/src/fonts/Lora/static/Lora-SemiBold.ttf +0 -0
- package/src/fonts/Lora/static/Lora-SemiBoldItalic.ttf +0 -0
- package/src/fonts/PT_Sans/PTSans-Bold.ttf +0 -0
- package/src/fonts/PT_Sans/PTSans-BoldItalic.ttf +0 -0
- package/src/fonts/PT_Sans/PTSans-Italic.ttf +0 -0
- package/src/fonts/PT_Sans/PTSans-Regular.ttf +0 -0
- /package/dist/{_arrayReduce-BfFy684W.js → _arrayReduce-6BJAuN54.js} +0 -0
- /package/dist/{_baseSlice-BrVixxuc.js → _baseSlice-bwIVgwNq.js} +0 -0
- /package/dist/{_hasUnicode-C32WqUu7.js → _hasUnicode-DOFcQHhs.js} +0 -0
- /package/dist/{apl-DRxKiEot.js → apl-99A7dLQe.js} +0 -0
- /package/dist/{array-D-nrDupM.js → array-B-MVxRIF.js} +0 -0
- /package/dist/{asciiarmor-C8HoXFIm.js → asciiarmor-DLEhpFDx.js} +0 -0
- /package/dist/{asn1-9Bo0DYT-.js → asn1-CMrcTsT4.js} +0 -0
- /package/dist/{asterisk-BsiuGzWq.js → asterisk-BUZwqih-.js} +0 -0
- /package/dist/{brainfuck-Db8njC-p.js → brainfuck-ChPt5yBe.js} +0 -0
- /package/dist/{chunk-DR5Q36YT-D4q96vNV.js → chunk-DR5Q36YT-CP69aZS_.js} +0 -0
- /package/dist/{click-outside-container-CKfwEZqH.js → click-outside-container-DB_bTXRG.js} +0 -0
- /package/dist/{clike-CFhUNtI5.js → clike-CE0fXfM_.js} +0 -0
- /package/dist/{clojure-CX7oovsp.js → clojure-QkBEMU-g.js} +0 -0
- /package/dist/{clsx-D2KVTYnW.js → clsx-yW_RAw0K.js} +0 -0
- /package/dist/{cmake-C29AR2kk.js → cmake-CU1jX7Mo.js} +0 -0
- /package/dist/{cobol-CNkuRW9i.js → cobol-DMOKzzky.js} +0 -0
- /package/dist/{coffeescript-BJAbfGam.js → coffeescript-DjnjLyfk.js} +0 -0
- /package/dist/{colors-6nB_pSln.js → colors-Cn2p_FA3.js} +0 -0
- /package/dist/{common-keywords-BAkLFdud.js → common-keywords-hbLeU7VU.js} +0 -0
- /package/dist/{commonlisp-BTNhj2l9.js → commonlisp-CYd9iOSe.js} +0 -0
- /package/dist/{crystal-CZc0nIm9.js → crystal-Dy55yoYG.js} +0 -0
- /package/dist/{css-L2-0OTXc.js → css-CNU8w3HJ.js} +0 -0
- /package/dist/{cypher-Dnc6MXl0.js → cypher-q47DGzK7.js} +0 -0
- /package/dist/{cytoscape.esm-BXzSsA6N.js → cytoscape.esm-WbbDoCfu.js} +0 -0
- /package/dist/{d-C6X9iIga.js → d-jEkaLvxX.js} +0 -0
- /package/dist/{defaultLocale-CfQ4kBaV.js → defaultLocale-Dr6Bz4JK.js} +0 -0
- /package/dist/{defaultLocale-Bklbu-Tp.js → defaultLocale-I3_GfJ4U.js} +0 -0
- /package/dist/{diff-ZzKinYqY.js → diff-vb2-unFN.js} +0 -0
- /package/dist/{dist-Bymy0kEH.js → dist-C89sHDXk.js} +0 -0
- /package/dist/{dtd-CytEpkAo.js → dtd-C9kR-bXa.js} +0 -0
- /package/dist/{duckdb-keywords-C1WxmSfG.js → duckdb-keywords-CZ_ZTscu.js} +0 -0
- /package/dist/{dylan-CZByFBEQ.js → dylan-BLckrK-V.js} +0 -0
- /package/dist/{ebnf-BF2FOt-m.js → ebnf-WEXPLEWb.js} +0 -0
- /package/dist/{ecl-Cp7L1F5B.js → ecl-CEsf6XVg.js} +0 -0
- /package/dist/{eiffel-C66yjnFL.js → eiffel-2KGZNzx6.js} +0 -0
- /package/dist/{elm-DtHo-73e.js → elm-D2s3K5wF.js} +0 -0
- /package/dist/{emotion-is-prop-valid.esm-DtW2o230.js → emotion-is-prop-valid.esm-CflmeIys.js} +0 -0
- /package/dist/{erlang-C_sj44mF.js → erlang-0PMFOndk.js} +0 -0
- /package/dist/{esm-BWftfC-A.js → esm-Bb_hbWan.js} +0 -0
- /package/dist/{fcl-BhLcvRo_.js → fcl-B_Gv5Jfx.js} +0 -0
- /package/dist/{forth-CIDHh56T.js → forth-DG89iUsu.js} +0 -0
- /package/dist/{fortran-BQrDVXRU.js → fortran-ytKsAVvu.js} +0 -0
- /package/dist/{gas-D4HQPB0Q.js → gas-Cg2Fm0N2.js} +0 -0
- /package/dist/{gherkin-UB2gJHdT.js → gherkin-B87FEnZ-.js} +0 -0
- /package/dist/{groovy-DVz6jkOx.js → groovy-Dcs08AWD.js} +0 -0
- /package/dist/{haskell-CpUdAPCz.js → haskell-cwkOuhx6.js} +0 -0
- /package/dist/{haxe-DCV5_cqD.js → haxe-DWEo4q10.js} +0 -0
- /package/dist/{http-C_TDb8VX.js → http-Dc2fv19V.js} +0 -0
- /package/dist/{idl-D7WCIgHw.js → idl-WWQwDcRV.js} +0 -0
- /package/dist/{init-Ci8VD8ZH.js → init-D-g0ONX1.js} +0 -0
- /package/dist/{invariant-D9QLJ4SZ.js → invariant-Ctm_8TNZ.js} +0 -0
- /package/dist/{isArrayLikeObject-BrYl-ETg.js → isArrayLikeObject-C-hFPChh.js} +0 -0
- /package/dist/{javascript-B2Rn0Lmd.js → javascript-BeR74dxD.js} +0 -0
- /package/dist/{jsx-runtime-CTBg5pdT.js → jsx-runtime-9hcJiI23.js} +0 -0
- /package/dist/{julia-ApprtEaw.js → julia-UlvCUYGL.js} +0 -0
- /package/dist/{katex-Bk_FvVSR.js → katex-B7pMJpE0.js} +0 -0
- /package/dist/{livescript-BMLIlM7C.js → livescript-GPmFcmYV.js} +0 -0
- /package/dist/{lua-DdDaW3tC.js → lua-DYoT_0zM.js} +0 -0
- /package/dist/{main-Tj_-QTyF.js → main-sxFlUO_N.js} +0 -0
- /package/dist/{math-HUZifhTs.js → math-BYK36kWZ.js} +0 -0
- /package/dist/{mathematica-PnNN7c2Z.js → mathematica-DSFIQlbG.js} +0 -0
- /package/dist/{mbox-B84OtHBK.js → mbox-ej8lFMdL.js} +0 -0
- /package/dist/{mirc-BVWXJxIq.js → mirc-CAdIdvHQ.js} +0 -0
- /package/dist/{mllike-BawXWupH.js → mllike-CjTB1lHF.js} +0 -0
- /package/dist/{modelica-C8-X4Hf_.js → modelica-BB68FYMa.js} +0 -0
- /package/dist/{mscgen-BOM6dDj8.js → mscgen-BkbzgGGI.js} +0 -0
- /package/dist/{mumps-DQOY8n05.js → mumps-Cu-28E9F.js} +0 -0
- /package/dist/{nginx-DkMgA__9.js → nginx-ComVAAGN.js} +0 -0
- /package/dist/{node-sql-parser-D53LM_7b.js → node-sql-parser-DNGGJ-Rw.js} +0 -0
- /package/dist/{ntriples-DU8VrXdW.js → ntriples-D9cQiZxZ.js} +0 -0
- /package/dist/{octave-BzTIBsQ8.js → octave-BvtAnPX0.js} +0 -0
- /package/dist/{oz-DKFcZsoi.js → oz-COaVHk2E.js} +0 -0
- /package/dist/{pascal-DHBZ15pT.js → pascal-BFpqVD2x.js} +0 -0
- /package/dist/{path-BVI7RNUv.js → path-Du6n3sOU.js} +0 -0
- /package/dist/{perl-75NMI3w0.js → perl-DaiORxHP.js} +0 -0
- /package/dist/{pig-B-HY1fo_.js → pig-DFzRhmsF.js} +0 -0
- /package/dist/{powershell-DEH22U53.js → powershell-BG2LQNKN.js} +0 -0
- /package/dist/{properties-B1MzBoJC.js → properties-CqJJR5QY.js} +0 -0
- /package/dist/{protobuf-Dr14KV0p.js → protobuf-WwDYV1yY.js} +0 -0
- /package/dist/{puppet-C4z38l7v.js → puppet-QNY3w_uN.js} +0 -0
- /package/dist/{purify.es-DGenX2XH.js → purify.es-Co_dANLh.js} +0 -0
- /package/dist/{python-D2L7Nknt.js → python-4QrQ3Ugi.js} +0 -0
- /package/dist/{q-PxipHfgS.js → q-DhwXuxE2.js} +0 -0
- /package/dist/{r-CEMMu_Tf.js → r-Df-nkR25.js} +0 -0
- /package/dist/{range-BToS7LsA.js → range-Bn3no95s.js} +0 -0
- /package/dist/{react-dom-CqtLRVZP.js → react-dom-BKwCWYPW.js} +0 -0
- /package/dist/{rpm-D3xyahkR.js → rpm-Cokue07s.js} +0 -0
- /package/dist/{ruby-DwEkwdiu.js → ruby-DrYcL3qF.js} +0 -0
- /package/dist/{sas-L1W0BRft.js → sas-CoiPirA5.js} +0 -0
- /package/dist/{scheme-CTybTrX0.js → scheme-CwFLjzHv.js} +0 -0
- /package/dist/{shell-BSx3LZnu.js → shell-BFV-R24I.js} +0 -0
- /package/dist/{sieve-BjUfbv-6.js → sieve-CxwXF5T9.js} +0 -0
- /package/dist/{simple-mode-IPZGFbI6.js → simple-mode-DTaJtKPt.js} +0 -0
- /package/dist/{smalltalk-BlzuYrMv.js → smalltalk-QivVOCtX.js} +0 -0
- /package/dist/{solr-Cj_9RM4d.js → solr-DTkyqJ-Z.js} +0 -0
- /package/dist/{sparql-BXKjQ0cK.js → sparql-nKsFk8j7.js} +0 -0
- /package/dist/{spreadsheet-CifI10GO.js → spreadsheet-CER0raqY.js} +0 -0
- /package/dist/{sql-B0bFyY1c.js → sql-ByOoEONQ.js} +0 -0
- /package/dist/{stex-BIsgBmK4.js → stex-7yEw16Ww.js} +0 -0
- /package/dist/{stylus-CqrLLVnG.js → stylus-BLKQAycn.js} +0 -0
- /package/dist/{swift-DIqvj3_G.js → swift-CJoKqiKj.js} +0 -0
- /package/dist/{tcl-B8bOIGVK.js → tcl-YTeYFNUc.js} +0 -0
- /package/dist/{textile-DZsjavD_.js → textile-C6rKQqMQ.js} +0 -0
- /package/dist/{tiddlywiki-BbGdvEjx.js → tiddlywiki-Cr9xyOY1.js} +0 -0
- /package/dist/{tiki-BYesmRDo.js → tiki-D5JONyfZ.js} +0 -0
- /package/dist/{timer-CPsmIOdm.js → timer-D7JVdX9U.js} +0 -0
- /package/dist/{toml-Uc7m08nl.js → toml-DxlPGbRy.js} +0 -0
- /package/dist/{treemap-DMn4tIJ7.js → treemap-qFGzn7xk.js} +0 -0
- /package/dist/{troff-GEl5wcXR.js → troff-DFCfH7Ku.js} +0 -0
- /package/dist/{ttcn-pr4FDOLT.js → ttcn-DAW-ERVP.js} +0 -0
- /package/dist/{ttcn-cfg-dZQ_fWTH.js → ttcn-cfg-CpJ8b7EN.js} +0 -0
- /package/dist/{turtle-TPRDOknA.js → turtle-BneV2f8L.js} +0 -0
- /package/dist/{vb-BJUAeTYr.js → vb-D973Vxxh.js} +0 -0
- /package/dist/{vbscript-CcJ6Z3ic.js → vbscript-Dckaq3YO.js} +0 -0
- /package/dist/{velocity-pq4ZMzU3.js → velocity-DKty-GUC.js} +0 -0
- /package/dist/{verilog-timMNjHt.js → verilog-aNaK_biA.js} +0 -0
- /package/dist/{vhdl-DYFbVKNm.js → vhdl-CQuehnQy.js} +0 -0
- /package/dist/{webidl-pue9oqnb.js → webidl-Bhg8vaMr.js} +0 -0
- /package/dist/{xquery-DeItGynK.js → xquery-D2q16GaM.js} +0 -0
- /package/dist/{yacas-By2Qrjba.js → yacas-DHGOHnNa.js} +0 -0
- /package/dist/{z80-C7iLsyPC.js → z80-BPhTmO22.js} +0 -0
|
@@ -1,755 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
|
-
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
|
-
import { s as __toESM, t as __commonJSMin } from "./chunk-BNovOVIE.js";
|
|
5
|
-
import { t as require_react } from "./react-Bs6Z0kvn.js";
|
|
6
|
-
import { t as require_compiler_runtime } from "./compiler-runtime-B_OLMU9S.js";
|
|
7
|
-
import { l as createLucideIcon } from "./dist-C0Rnbr-_.js";
|
|
8
|
-
import { a as cva, g as Logger, y as cn } from "./button-BKkuUpZh.js";
|
|
9
|
-
import { t as require_jsx_runtime } from "./jsx-runtime-CTBg5pdT.js";
|
|
10
|
-
import { r as KnownQueryParams } from "./constants-CytQ_3LM.js";
|
|
11
|
-
import { f as waitFor, p as isIslands, u as store, y as atom } from "./useTheme-CPybHVFN.js";
|
|
12
|
-
import { i as tableFromIPC } from "./loader-CABJs6GU.js";
|
|
13
|
-
var CircleQuestionMark = createLucideIcon("circle-question-mark", [
|
|
14
|
-
["circle", {
|
|
15
|
-
cx: "12",
|
|
16
|
-
cy: "12",
|
|
17
|
-
r: "10",
|
|
18
|
-
key: "1mglay"
|
|
19
|
-
}],
|
|
20
|
-
["path", {
|
|
21
|
-
d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",
|
|
22
|
-
key: "1u773s"
|
|
23
|
-
}],
|
|
24
|
-
["path", {
|
|
25
|
-
d: "M12 17h.01",
|
|
26
|
-
key: "p32p05"
|
|
27
|
-
}]
|
|
28
|
-
]);
|
|
29
|
-
function isWasm() {
|
|
30
|
-
return typeof document < "u" && document.querySelector("marimo-wasm") !== null;
|
|
31
|
-
}
|
|
32
|
-
var Deferred = class {
|
|
33
|
-
constructor() {
|
|
34
|
-
__publicField(this, "status", "pending");
|
|
35
|
-
__publicField(this, "value");
|
|
36
|
-
this.promise = new Promise((e, x) => {
|
|
37
|
-
this.reject = (e2) => {
|
|
38
|
-
this.status = "rejected", x(e2);
|
|
39
|
-
}, this.resolve = (x2) => {
|
|
40
|
-
this.status = "resolved", isPromiseLike(x2) || (this.value = x2), e(x2);
|
|
41
|
-
};
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
};
|
|
45
|
-
function isPromiseLike(e) {
|
|
46
|
-
return typeof e == "object" && !!e && "then" in e && typeof e.then == "function";
|
|
47
|
-
}
|
|
48
|
-
const WebSocketState = {
|
|
49
|
-
NOT_STARTED: "NOT_STARTED",
|
|
50
|
-
CONNECTING: "CONNECTING",
|
|
51
|
-
OPEN: "OPEN",
|
|
52
|
-
CLOSING: "CLOSING",
|
|
53
|
-
CLOSED: "CLOSED"
|
|
54
|
-
}, connectionAtom = atom({ state: WebSocketState.NOT_STARTED });
|
|
55
|
-
function waitForConnectionOpen() {
|
|
56
|
-
return waitFor(connectionAtom, (e) => e.state === WebSocketState.OPEN);
|
|
57
|
-
}
|
|
58
|
-
atom((e) => e(connectionAtom).state === WebSocketState.CONNECTING), atom((e) => e(connectionAtom).state === WebSocketState.OPEN), atom((e) => {
|
|
59
|
-
let x = e(connectionAtom);
|
|
60
|
-
return x.state === WebSocketState.OPEN || x.state === WebSocketState.NOT_STARTED;
|
|
61
|
-
}), atom((e) => e(connectionAtom).state === WebSocketState.CLOSED), atom((e) => e(connectionAtom).state === WebSocketState.NOT_STARTED);
|
|
62
|
-
var require__u64 = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
63
|
-
Object.defineProperty(e, "__esModule", { value: true }), e.toBig = e.shrSL = e.shrSH = e.rotrSL = e.rotrSH = e.rotrBL = e.rotrBH = e.rotr32L = e.rotr32H = e.rotlSL = e.rotlSH = e.rotlBL = e.rotlBH = e.add5L = e.add5H = e.add4L = e.add4H = e.add3L = e.add3H = void 0, e.add = R, e.fromBig = C, e.split = w;
|
|
64
|
-
var x = /* @__PURE__ */ BigInt(2 ** 32 - 1), S = /* @__PURE__ */ BigInt(32);
|
|
65
|
-
function C(e2, C2 = false) {
|
|
66
|
-
return C2 ? {
|
|
67
|
-
h: Number(e2 & x),
|
|
68
|
-
l: Number(e2 >> S & x)
|
|
69
|
-
} : {
|
|
70
|
-
h: Number(e2 >> S & x) | 0,
|
|
71
|
-
l: Number(e2 & x) | 0
|
|
72
|
-
};
|
|
73
|
-
}
|
|
74
|
-
function w(e2, x2 = false) {
|
|
75
|
-
let S2 = e2.length, w2 = new Uint32Array(S2), T2 = new Uint32Array(S2);
|
|
76
|
-
for (let E2 = 0; E2 < S2; E2++) {
|
|
77
|
-
let { h: S3, l: D2 } = C(e2[E2], x2);
|
|
78
|
-
[w2[E2], T2[E2]] = [S3, D2];
|
|
79
|
-
}
|
|
80
|
-
return [w2, T2];
|
|
81
|
-
}
|
|
82
|
-
var T = (e2, x2) => BigInt(e2 >>> 0) << S | BigInt(x2 >>> 0);
|
|
83
|
-
e.toBig = T;
|
|
84
|
-
var E = (e2, x2, S2) => e2 >>> S2;
|
|
85
|
-
e.shrSH = E;
|
|
86
|
-
var D = (e2, x2, S2) => e2 << 32 - S2 | x2 >>> S2;
|
|
87
|
-
e.shrSL = D;
|
|
88
|
-
var O = (e2, x2, S2) => e2 >>> S2 | x2 << 32 - S2;
|
|
89
|
-
e.rotrSH = O;
|
|
90
|
-
var k = (e2, x2, S2) => e2 << 32 - S2 | x2 >>> S2;
|
|
91
|
-
e.rotrSL = k;
|
|
92
|
-
var A = (e2, x2, S2) => e2 << 64 - S2 | x2 >>> S2 - 32;
|
|
93
|
-
e.rotrBH = A;
|
|
94
|
-
var j = (e2, x2, S2) => e2 >>> S2 - 32 | x2 << 64 - S2;
|
|
95
|
-
e.rotrBL = j;
|
|
96
|
-
var M = (e2, x2) => x2;
|
|
97
|
-
e.rotr32H = M;
|
|
98
|
-
var N = (e2, x2) => e2;
|
|
99
|
-
e.rotr32L = N;
|
|
100
|
-
var P = (e2, x2, S2) => e2 << S2 | x2 >>> 32 - S2;
|
|
101
|
-
e.rotlSH = P;
|
|
102
|
-
var F = (e2, x2, S2) => x2 << S2 | e2 >>> 32 - S2;
|
|
103
|
-
e.rotlSL = F;
|
|
104
|
-
var I = (e2, x2, S2) => x2 << S2 - 32 | e2 >>> 64 - S2;
|
|
105
|
-
e.rotlBH = I;
|
|
106
|
-
var L = (e2, x2, S2) => e2 << S2 - 32 | x2 >>> 64 - S2;
|
|
107
|
-
e.rotlBL = L;
|
|
108
|
-
function R(e2, x2, S2, C2) {
|
|
109
|
-
let w2 = (x2 >>> 0) + (C2 >>> 0);
|
|
110
|
-
return {
|
|
111
|
-
h: e2 + S2 + (w2 / 2 ** 32 | 0) | 0,
|
|
112
|
-
l: w2 | 0
|
|
113
|
-
};
|
|
114
|
-
}
|
|
115
|
-
var z = (e2, x2, S2) => (e2 >>> 0) + (x2 >>> 0) + (S2 >>> 0);
|
|
116
|
-
e.add3L = z;
|
|
117
|
-
var B = (e2, x2, S2, C2) => x2 + S2 + C2 + (e2 / 2 ** 32 | 0) | 0;
|
|
118
|
-
e.add3H = B;
|
|
119
|
-
var V = (e2, x2, S2, C2) => (e2 >>> 0) + (x2 >>> 0) + (S2 >>> 0) + (C2 >>> 0);
|
|
120
|
-
e.add4L = V;
|
|
121
|
-
var H = (e2, x2, S2, C2, w2) => x2 + S2 + C2 + w2 + (e2 / 2 ** 32 | 0) | 0;
|
|
122
|
-
e.add4H = H;
|
|
123
|
-
var U = (e2, x2, S2, C2, w2) => (e2 >>> 0) + (x2 >>> 0) + (S2 >>> 0) + (C2 >>> 0) + (w2 >>> 0);
|
|
124
|
-
e.add5L = U;
|
|
125
|
-
var W = (e2, x2, S2, C2, w2, T2) => x2 + S2 + C2 + w2 + T2 + (e2 / 2 ** 32 | 0) | 0;
|
|
126
|
-
e.add5H = W, e.default = {
|
|
127
|
-
fromBig: C,
|
|
128
|
-
split: w,
|
|
129
|
-
toBig: T,
|
|
130
|
-
shrSH: E,
|
|
131
|
-
shrSL: D,
|
|
132
|
-
rotrSH: O,
|
|
133
|
-
rotrSL: k,
|
|
134
|
-
rotrBH: A,
|
|
135
|
-
rotrBL: j,
|
|
136
|
-
rotr32H: M,
|
|
137
|
-
rotr32L: N,
|
|
138
|
-
rotlSH: P,
|
|
139
|
-
rotlSL: F,
|
|
140
|
-
rotlBH: I,
|
|
141
|
-
rotlBL: L,
|
|
142
|
-
add: R,
|
|
143
|
-
add3L: z,
|
|
144
|
-
add3H: B,
|
|
145
|
-
add4L: V,
|
|
146
|
-
add4H: H,
|
|
147
|
-
add5H: W,
|
|
148
|
-
add5L: U
|
|
149
|
-
};
|
|
150
|
-
})), require_crypto = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
151
|
-
Object.defineProperty(e, "__esModule", { value: true }), e.crypto = void 0, e.crypto = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
|
|
152
|
-
})), require_utils = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
153
|
-
Object.defineProperty(e, "__esModule", { value: true }), e.wrapXOFConstructorWithOpts = e.wrapConstructorWithOpts = e.wrapConstructor = e.Hash = e.nextTick = e.swap32IfBE = e.byteSwapIfBE = e.swap8IfBE = e.isLE = void 0, e.isBytes = S, e.anumber = C, e.abytes = w, e.ahash = T, e.aexists = E, e.aoutput = D, e.u8 = O, e.u32 = k, e.clean = A, e.createView = j, e.rotr = M, e.rotl = N, e.byteSwap = P, e.byteSwap32 = F, e.bytesToHex = R, e.hexToBytes = V, e.asyncLoop = H, e.utf8ToBytes = W, e.bytesToUtf8 = G, e.toBytes = K, e.kdfInputToBytes = q, e.concatBytes = J, e.checkOpts = Y, e.createHasher = X, e.createOptHasher = Z, e.createXOFer = Q, e.randomBytes = $;
|
|
154
|
-
var x = require_crypto();
|
|
155
|
-
function S(e2) {
|
|
156
|
-
return e2 instanceof Uint8Array || ArrayBuffer.isView(e2) && e2.constructor.name === "Uint8Array";
|
|
157
|
-
}
|
|
158
|
-
function C(e2) {
|
|
159
|
-
if (!Number.isSafeInteger(e2) || e2 < 0) throw Error("positive integer expected, got " + e2);
|
|
160
|
-
}
|
|
161
|
-
function w(e2, ...x2) {
|
|
162
|
-
if (!S(e2)) throw Error("Uint8Array expected");
|
|
163
|
-
if (x2.length > 0 && !x2.includes(e2.length)) throw Error("Uint8Array expected of length " + x2 + ", got length=" + e2.length);
|
|
164
|
-
}
|
|
165
|
-
function T(e2) {
|
|
166
|
-
if (typeof e2 != "function" || typeof e2.create != "function") throw Error("Hash should be wrapped by utils.createHasher");
|
|
167
|
-
C(e2.outputLen), C(e2.blockLen);
|
|
168
|
-
}
|
|
169
|
-
function E(e2, x2 = true) {
|
|
170
|
-
if (e2.destroyed) throw Error("Hash instance has been destroyed");
|
|
171
|
-
if (x2 && e2.finished) throw Error("Hash#digest() has already been called");
|
|
172
|
-
}
|
|
173
|
-
function D(e2, x2) {
|
|
174
|
-
w(e2);
|
|
175
|
-
let S2 = x2.outputLen;
|
|
176
|
-
if (e2.length < S2) throw Error("digestInto() expects output buffer of length at least " + S2);
|
|
177
|
-
}
|
|
178
|
-
function O(e2) {
|
|
179
|
-
return new Uint8Array(e2.buffer, e2.byteOffset, e2.byteLength);
|
|
180
|
-
}
|
|
181
|
-
function k(e2) {
|
|
182
|
-
return new Uint32Array(e2.buffer, e2.byteOffset, Math.floor(e2.byteLength / 4));
|
|
183
|
-
}
|
|
184
|
-
function A(...e2) {
|
|
185
|
-
for (let x2 = 0; x2 < e2.length; x2++) e2[x2].fill(0);
|
|
186
|
-
}
|
|
187
|
-
function j(e2) {
|
|
188
|
-
return new DataView(e2.buffer, e2.byteOffset, e2.byteLength);
|
|
189
|
-
}
|
|
190
|
-
function M(e2, x2) {
|
|
191
|
-
return e2 << 32 - x2 | e2 >>> x2;
|
|
192
|
-
}
|
|
193
|
-
function N(e2, x2) {
|
|
194
|
-
return e2 << x2 | e2 >>> 32 - x2 >>> 0;
|
|
195
|
-
}
|
|
196
|
-
e.isLE = (() => new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68)();
|
|
197
|
-
function P(e2) {
|
|
198
|
-
return e2 << 24 & 4278190080 | e2 << 8 & 16711680 | e2 >>> 8 & 65280 | e2 >>> 24 & 255;
|
|
199
|
-
}
|
|
200
|
-
e.swap8IfBE = e.isLE ? (e2) => e2 : (e2) => P(e2), e.byteSwapIfBE = e.swap8IfBE;
|
|
201
|
-
function F(e2) {
|
|
202
|
-
for (let x2 = 0; x2 < e2.length; x2++) e2[x2] = P(e2[x2]);
|
|
203
|
-
return e2;
|
|
204
|
-
}
|
|
205
|
-
e.swap32IfBE = e.isLE ? (e2) => e2 : F;
|
|
206
|
-
var I = /* @__PURE__ */ (() => typeof Uint8Array.from([]).toHex == "function" && typeof Uint8Array.fromHex == "function")(), L = /* @__PURE__ */ Array.from({ length: 256 }, (e2, x2) => x2.toString(16).padStart(2, "0"));
|
|
207
|
-
function R(e2) {
|
|
208
|
-
if (w(e2), I) return e2.toHex();
|
|
209
|
-
let x2 = "";
|
|
210
|
-
for (let S2 = 0; S2 < e2.length; S2++) x2 += L[e2[S2]];
|
|
211
|
-
return x2;
|
|
212
|
-
}
|
|
213
|
-
var z = {
|
|
214
|
-
_0: 48,
|
|
215
|
-
_9: 57,
|
|
216
|
-
A: 65,
|
|
217
|
-
F: 70,
|
|
218
|
-
a: 97,
|
|
219
|
-
f: 102
|
|
220
|
-
};
|
|
221
|
-
function B(e2) {
|
|
222
|
-
if (e2 >= z._0 && e2 <= z._9) return e2 - z._0;
|
|
223
|
-
if (e2 >= z.A && e2 <= z.F) return e2 - (z.A - 10);
|
|
224
|
-
if (e2 >= z.a && e2 <= z.f) return e2 - (z.a - 10);
|
|
225
|
-
}
|
|
226
|
-
function V(e2) {
|
|
227
|
-
if (typeof e2 != "string") throw Error("hex string expected, got " + typeof e2);
|
|
228
|
-
if (I) return Uint8Array.fromHex(e2);
|
|
229
|
-
let x2 = e2.length, S2 = x2 / 2;
|
|
230
|
-
if (x2 % 2) throw Error("hex string expected, got unpadded hex of length " + x2);
|
|
231
|
-
let C2 = new Uint8Array(S2);
|
|
232
|
-
for (let x3 = 0, w2 = 0; x3 < S2; x3++, w2 += 2) {
|
|
233
|
-
let S3 = B(e2.charCodeAt(w2)), T2 = B(e2.charCodeAt(w2 + 1));
|
|
234
|
-
if (S3 === void 0 || T2 === void 0) {
|
|
235
|
-
let x4 = e2[w2] + e2[w2 + 1];
|
|
236
|
-
throw Error('hex string expected, got non-hex character "' + x4 + '" at index ' + w2);
|
|
237
|
-
}
|
|
238
|
-
C2[x3] = S3 * 16 + T2;
|
|
239
|
-
}
|
|
240
|
-
return C2;
|
|
241
|
-
}
|
|
242
|
-
e.nextTick = async () => {
|
|
243
|
-
};
|
|
244
|
-
async function H(x2, S2, C2) {
|
|
245
|
-
let w2 = Date.now();
|
|
246
|
-
for (let T2 = 0; T2 < x2; T2++) {
|
|
247
|
-
C2(T2);
|
|
248
|
-
let x3 = Date.now() - w2;
|
|
249
|
-
x3 >= 0 && x3 < S2 || (await (0, e.nextTick)(), w2 += x3);
|
|
250
|
-
}
|
|
251
|
-
}
|
|
252
|
-
function W(e2) {
|
|
253
|
-
if (typeof e2 != "string") throw Error("string expected");
|
|
254
|
-
return new Uint8Array(new TextEncoder().encode(e2));
|
|
255
|
-
}
|
|
256
|
-
function G(e2) {
|
|
257
|
-
return new TextDecoder().decode(e2);
|
|
258
|
-
}
|
|
259
|
-
function K(e2) {
|
|
260
|
-
return typeof e2 == "string" && (e2 = W(e2)), w(e2), e2;
|
|
261
|
-
}
|
|
262
|
-
function q(e2) {
|
|
263
|
-
return typeof e2 == "string" && (e2 = W(e2)), w(e2), e2;
|
|
264
|
-
}
|
|
265
|
-
function J(...e2) {
|
|
266
|
-
let x2 = 0;
|
|
267
|
-
for (let S3 = 0; S3 < e2.length; S3++) {
|
|
268
|
-
let C2 = e2[S3];
|
|
269
|
-
w(C2), x2 += C2.length;
|
|
270
|
-
}
|
|
271
|
-
let S2 = new Uint8Array(x2);
|
|
272
|
-
for (let x3 = 0, C2 = 0; x3 < e2.length; x3++) {
|
|
273
|
-
let w2 = e2[x3];
|
|
274
|
-
S2.set(w2, C2), C2 += w2.length;
|
|
275
|
-
}
|
|
276
|
-
return S2;
|
|
277
|
-
}
|
|
278
|
-
function Y(e2, x2) {
|
|
279
|
-
if (x2 !== void 0 && {}.toString.call(x2) !== "[object Object]") throw Error("options should be object or undefined");
|
|
280
|
-
return Object.assign(e2, x2);
|
|
281
|
-
}
|
|
282
|
-
e.Hash = class {
|
|
283
|
-
};
|
|
284
|
-
function X(e2) {
|
|
285
|
-
let x2 = (x3) => e2().update(K(x3)).digest(), S2 = e2();
|
|
286
|
-
return x2.outputLen = S2.outputLen, x2.blockLen = S2.blockLen, x2.create = () => e2(), x2;
|
|
287
|
-
}
|
|
288
|
-
function Z(e2) {
|
|
289
|
-
let x2 = (x3, S3) => e2(S3).update(K(x3)).digest(), S2 = e2({});
|
|
290
|
-
return x2.outputLen = S2.outputLen, x2.blockLen = S2.blockLen, x2.create = (x3) => e2(x3), x2;
|
|
291
|
-
}
|
|
292
|
-
function Q(e2) {
|
|
293
|
-
let x2 = (x3, S3) => e2(S3).update(K(x3)).digest(), S2 = e2({});
|
|
294
|
-
return x2.outputLen = S2.outputLen, x2.blockLen = S2.blockLen, x2.create = (x3) => e2(x3), x2;
|
|
295
|
-
}
|
|
296
|
-
e.wrapConstructor = X, e.wrapConstructorWithOpts = Z, e.wrapXOFConstructorWithOpts = Q;
|
|
297
|
-
function $(e2 = 32) {
|
|
298
|
-
if (x.crypto && typeof x.crypto.getRandomValues == "function") return x.crypto.getRandomValues(new Uint8Array(e2));
|
|
299
|
-
if (x.crypto && typeof x.crypto.randomBytes == "function") return Uint8Array.from(x.crypto.randomBytes(e2));
|
|
300
|
-
throw Error("crypto.getRandomValues must be defined");
|
|
301
|
-
}
|
|
302
|
-
})), require_sha3 = /* @__PURE__ */ __commonJSMin(((e) => {
|
|
303
|
-
Object.defineProperty(e, "__esModule", { value: true }), e.shake256 = e.shake128 = e.keccak_512 = e.keccak_384 = e.keccak_256 = e.keccak_224 = e.sha3_512 = e.sha3_384 = e.sha3_256 = e.sha3_224 = e.Keccak = void 0, e.keccakP = L;
|
|
304
|
-
var x = require__u64(), S = require_utils(), C = BigInt(0), w = BigInt(1), T = BigInt(2), E = BigInt(7), D = BigInt(256), O = BigInt(113), k = [], A = [], j = [];
|
|
305
|
-
for (let e2 = 0, x2 = w, S2 = 1, M2 = 0; e2 < 24; e2++) {
|
|
306
|
-
[S2, M2] = [M2, (2 * S2 + 3 * M2) % 5], k.push(2 * (5 * M2 + S2)), A.push((e2 + 1) * (e2 + 2) / 2 % 64);
|
|
307
|
-
let N2 = C;
|
|
308
|
-
for (let e3 = 0; e3 < 7; e3++) x2 = (x2 << w ^ (x2 >> E) * O) % D, x2 & T && (N2 ^= w << (w << /* @__PURE__ */ BigInt(e3)) - w);
|
|
309
|
-
j.push(N2);
|
|
310
|
-
}
|
|
311
|
-
var M = (0, x.split)(j, true), N = M[0], P = M[1], F = (e2, S2, C2) => C2 > 32 ? (0, x.rotlBH)(e2, S2, C2) : (0, x.rotlSH)(e2, S2, C2), I = (e2, S2, C2) => C2 > 32 ? (0, x.rotlBL)(e2, S2, C2) : (0, x.rotlSL)(e2, S2, C2);
|
|
312
|
-
function L(e2, x2 = 24) {
|
|
313
|
-
let C2 = new Uint32Array(10);
|
|
314
|
-
for (let S2 = 24 - x2; S2 < 24; S2++) {
|
|
315
|
-
for (let x4 = 0; x4 < 10; x4++) C2[x4] = e2[x4] ^ e2[x4 + 10] ^ e2[x4 + 20] ^ e2[x4 + 30] ^ e2[x4 + 40];
|
|
316
|
-
for (let x4 = 0; x4 < 10; x4 += 2) {
|
|
317
|
-
let S3 = (x4 + 8) % 10, w3 = (x4 + 2) % 10, T2 = C2[w3], E2 = C2[w3 + 1], D2 = F(T2, E2, 1) ^ C2[S3], O2 = I(T2, E2, 1) ^ C2[S3 + 1];
|
|
318
|
-
for (let S4 = 0; S4 < 50; S4 += 10) e2[x4 + S4] ^= D2, e2[x4 + S4 + 1] ^= O2;
|
|
319
|
-
}
|
|
320
|
-
let x3 = e2[2], w2 = e2[3];
|
|
321
|
-
for (let S3 = 0; S3 < 24; S3++) {
|
|
322
|
-
let C3 = A[S3], T2 = F(x3, w2, C3), E2 = I(x3, w2, C3), D2 = k[S3];
|
|
323
|
-
x3 = e2[D2], w2 = e2[D2 + 1], e2[D2] = T2, e2[D2 + 1] = E2;
|
|
324
|
-
}
|
|
325
|
-
for (let x4 = 0; x4 < 50; x4 += 10) {
|
|
326
|
-
for (let S3 = 0; S3 < 10; S3++) C2[S3] = e2[x4 + S3];
|
|
327
|
-
for (let S3 = 0; S3 < 10; S3++) e2[x4 + S3] ^= ~C2[(S3 + 2) % 10] & C2[(S3 + 4) % 10];
|
|
328
|
-
}
|
|
329
|
-
e2[0] ^= N[S2], e2[1] ^= P[S2];
|
|
330
|
-
}
|
|
331
|
-
(0, S.clean)(C2);
|
|
332
|
-
}
|
|
333
|
-
var R = class e2 extends S.Hash {
|
|
334
|
-
constructor(e3, x2, C2, w2 = false, T2 = 24) {
|
|
335
|
-
if (super(), this.pos = 0, this.posOut = 0, this.finished = false, this.destroyed = false, this.enableXOF = false, this.blockLen = e3, this.suffix = x2, this.outputLen = C2, this.enableXOF = w2, this.rounds = T2, (0, S.anumber)(C2), !(0 < e3 && e3 < 200)) throw Error("only keccak-f1600 function is supported");
|
|
336
|
-
this.state = new Uint8Array(200), this.state32 = (0, S.u32)(this.state);
|
|
337
|
-
}
|
|
338
|
-
clone() {
|
|
339
|
-
return this._cloneInto();
|
|
340
|
-
}
|
|
341
|
-
keccak() {
|
|
342
|
-
(0, S.swap32IfBE)(this.state32), L(this.state32, this.rounds), (0, S.swap32IfBE)(this.state32), this.posOut = 0, this.pos = 0;
|
|
343
|
-
}
|
|
344
|
-
update(e3) {
|
|
345
|
-
(0, S.aexists)(this), e3 = (0, S.toBytes)(e3), (0, S.abytes)(e3);
|
|
346
|
-
let { blockLen: x2, state: C2 } = this, w2 = e3.length;
|
|
347
|
-
for (let S2 = 0; S2 < w2; ) {
|
|
348
|
-
let T2 = Math.min(x2 - this.pos, w2 - S2);
|
|
349
|
-
for (let x3 = 0; x3 < T2; x3++) C2[this.pos++] ^= e3[S2++];
|
|
350
|
-
this.pos === x2 && this.keccak();
|
|
351
|
-
}
|
|
352
|
-
return this;
|
|
353
|
-
}
|
|
354
|
-
finish() {
|
|
355
|
-
if (this.finished) return;
|
|
356
|
-
this.finished = true;
|
|
357
|
-
let { state: e3, suffix: x2, pos: S2, blockLen: C2 } = this;
|
|
358
|
-
e3[S2] ^= x2, x2 & 128 && S2 === C2 - 1 && this.keccak(), e3[C2 - 1] ^= 128, this.keccak();
|
|
359
|
-
}
|
|
360
|
-
writeInto(e3) {
|
|
361
|
-
(0, S.aexists)(this, false), (0, S.abytes)(e3), this.finish();
|
|
362
|
-
let x2 = this.state, { blockLen: C2 } = this;
|
|
363
|
-
for (let S2 = 0, w2 = e3.length; S2 < w2; ) {
|
|
364
|
-
this.posOut >= C2 && this.keccak();
|
|
365
|
-
let T2 = Math.min(C2 - this.posOut, w2 - S2);
|
|
366
|
-
e3.set(x2.subarray(this.posOut, this.posOut + T2), S2), this.posOut += T2, S2 += T2;
|
|
367
|
-
}
|
|
368
|
-
return e3;
|
|
369
|
-
}
|
|
370
|
-
xofInto(e3) {
|
|
371
|
-
if (!this.enableXOF) throw Error("XOF is not possible for this instance");
|
|
372
|
-
return this.writeInto(e3);
|
|
373
|
-
}
|
|
374
|
-
xof(e3) {
|
|
375
|
-
return (0, S.anumber)(e3), this.xofInto(new Uint8Array(e3));
|
|
376
|
-
}
|
|
377
|
-
digestInto(e3) {
|
|
378
|
-
if ((0, S.aoutput)(e3, this), this.finished) throw Error("digest() was already called");
|
|
379
|
-
return this.writeInto(e3), this.destroy(), e3;
|
|
380
|
-
}
|
|
381
|
-
digest() {
|
|
382
|
-
return this.digestInto(new Uint8Array(this.outputLen));
|
|
383
|
-
}
|
|
384
|
-
destroy() {
|
|
385
|
-
this.destroyed = true, (0, S.clean)(this.state);
|
|
386
|
-
}
|
|
387
|
-
_cloneInto(x2) {
|
|
388
|
-
let { blockLen: S2, suffix: C2, outputLen: w2, rounds: T2, enableXOF: E2 } = this;
|
|
389
|
-
return x2 || (x2 = new e2(S2, C2, w2, E2, T2)), x2.state32.set(this.state32), x2.pos = this.pos, x2.posOut = this.posOut, x2.finished = this.finished, x2.rounds = T2, x2.suffix = C2, x2.outputLen = w2, x2.enableXOF = E2, x2.destroyed = this.destroyed, x2;
|
|
390
|
-
}
|
|
391
|
-
};
|
|
392
|
-
e.Keccak = R;
|
|
393
|
-
var z = (e2, x2, C2) => (0, S.createHasher)(() => new R(x2, e2, C2));
|
|
394
|
-
e.sha3_224 = (() => z(6, 144, 224 / 8))(), e.sha3_256 = (() => z(6, 136, 256 / 8))(), e.sha3_384 = (() => z(6, 104, 384 / 8))(), e.sha3_512 = (() => z(6, 72, 512 / 8))(), e.keccak_224 = (() => z(1, 144, 224 / 8))(), e.keccak_256 = (() => z(1, 136, 256 / 8))(), e.keccak_384 = (() => z(1, 104, 384 / 8))(), e.keccak_512 = (() => z(1, 72, 512 / 8))();
|
|
395
|
-
var B = (e2, x2, C2) => (0, S.createXOFer)((S2 = {}) => new R(x2, e2, S2.dkLen === void 0 ? C2 : S2.dkLen, true));
|
|
396
|
-
e.shake128 = (() => B(31, 168, 128 / 8))(), e.shake256 = (() => B(31, 136, 256 / 8))();
|
|
397
|
-
})), require_src = /* @__PURE__ */ __commonJSMin(((e, x) => {
|
|
398
|
-
var { sha3_512: S } = require_sha3(), C = 24, w = 32, T = (e2 = 4, x2 = Math.random) => {
|
|
399
|
-
let S2 = "";
|
|
400
|
-
for (; S2.length < e2; ) S2 += Math.floor(x2() * 36).toString(36);
|
|
401
|
-
return S2;
|
|
402
|
-
};
|
|
403
|
-
function E(e2) {
|
|
404
|
-
let x2 = 0n;
|
|
405
|
-
for (let S2 of e2.values()) {
|
|
406
|
-
let e3 = BigInt(S2);
|
|
407
|
-
x2 = (x2 << 8n) + e3;
|
|
408
|
-
}
|
|
409
|
-
return x2;
|
|
410
|
-
}
|
|
411
|
-
var D = (e2 = "") => E(S(e2)).toString(36).slice(1), O = Array.from({ length: 26 }, (e2, x2) => String.fromCharCode(x2 + 97)), k = (e2) => O[Math.floor(e2() * O.length)], A = ({ globalObj: e2 = typeof global < "u" ? global : typeof window < "u" ? window : {}, random: x2 = Math.random } = {}) => {
|
|
412
|
-
let S2 = Object.keys(e2).toString();
|
|
413
|
-
return D(S2.length ? S2 + T(w, x2) : T(w, x2)).substring(0, w);
|
|
414
|
-
}, j = (e2) => () => e2++, M = 476782367, N = ({ random: e2 = Math.random, counter: x2 = j(Math.floor(e2() * M)), length: S2 = C, fingerprint: w2 = A({ random: e2 }) } = {}) => function() {
|
|
415
|
-
let C2 = k(e2), E2 = Date.now().toString(36), O2 = x2().toString(36);
|
|
416
|
-
return `${C2 + D(`${E2 + T(S2, e2) + O2 + w2}`).substring(1, S2)}`;
|
|
417
|
-
}, P = N(), F = (e2, { minLength: x2 = 2, maxLength: S2 = w } = {}) => {
|
|
418
|
-
let C2 = e2.length, T2 = /^[0-9a-z]+$/;
|
|
419
|
-
try {
|
|
420
|
-
if (typeof e2 == "string" && C2 >= x2 && C2 <= S2 && T2.test(e2)) return true;
|
|
421
|
-
} finally {
|
|
422
|
-
}
|
|
423
|
-
return false;
|
|
424
|
-
};
|
|
425
|
-
x.exports.getConstants = () => ({
|
|
426
|
-
defaultLength: C,
|
|
427
|
-
bigLength: w
|
|
428
|
-
}), x.exports.init = N, x.exports.createId = P, x.exports.bufToBigInt = E, x.exports.createCounter = j, x.exports.createFingerprint = A, x.exports.isCuid = F;
|
|
429
|
-
})), require_cuid2 = /* @__PURE__ */ __commonJSMin(((e, x) => {
|
|
430
|
-
var { createId: S, init: C, getConstants: w, isCuid: T } = require_src();
|
|
431
|
-
x.exports.createId = S, x.exports.init = C, x.exports.getConstants = w, x.exports.isCuid = T;
|
|
432
|
-
}));
|
|
433
|
-
function updateQueryParams(e) {
|
|
434
|
-
let x = new URL(window.location.href);
|
|
435
|
-
e(x.searchParams), window.history.replaceState({}, "", x.toString());
|
|
436
|
-
}
|
|
437
|
-
var urlRegex = /^(https?:\/\/\S+)$/;
|
|
438
|
-
function isUrl(e) {
|
|
439
|
-
return typeof e == "string" && urlRegex.test(e);
|
|
440
|
-
}
|
|
441
|
-
function appendQueryParams({ href: e, queryParams: x, keys: S }) {
|
|
442
|
-
let C = typeof x == "string" ? new URLSearchParams(x) : x;
|
|
443
|
-
if (C.size === 0 || e.startsWith("http://") || e.startsWith("https://")) return e;
|
|
444
|
-
let w = e.startsWith("#"), T = w && e.includes("?");
|
|
445
|
-
if (w && !T) {
|
|
446
|
-
let x2 = S ? [...C.entries()].filter(([e2]) => S.includes(e2)) : [...C.entries()], w2 = new URLSearchParams();
|
|
447
|
-
for (let [e2, S2] of x2) w2.set(e2, S2);
|
|
448
|
-
let T2 = w2.toString();
|
|
449
|
-
return T2 ? `/?${T2}${e}` : e;
|
|
450
|
-
}
|
|
451
|
-
let E = e, D = "", O = new URLSearchParams(), k = w ? 1 : 0, A = e.indexOf("#", k);
|
|
452
|
-
A !== -1 && (D = e.slice(A), E = e.slice(0, A));
|
|
453
|
-
let j = E.indexOf("?");
|
|
454
|
-
j !== -1 && (O = new URLSearchParams(E.slice(j + 1)), E = E.slice(0, j));
|
|
455
|
-
let M = new URLSearchParams(O), N = S ? [...C.entries()].filter(([e2]) => S.includes(e2)) : [...C.entries()];
|
|
456
|
-
for (let [e2, x2] of N) M.set(e2, x2);
|
|
457
|
-
let P = M.toString();
|
|
458
|
-
return P ? `${E}?${P}${D}` : e;
|
|
459
|
-
}
|
|
460
|
-
var createId = (0, require_cuid2().init)({ length: 6 });
|
|
461
|
-
function generateSessionId() {
|
|
462
|
-
return `s_${createId()}`;
|
|
463
|
-
}
|
|
464
|
-
function isSessionId(e) {
|
|
465
|
-
return e ? /^s_[\da-z]{6}$/.test(e) : false;
|
|
466
|
-
}
|
|
467
|
-
var sessionId = (() => {
|
|
468
|
-
let e = new URL(window.location.href).searchParams.get(KnownQueryParams.sessionId);
|
|
469
|
-
return isSessionId(e) ? (updateQueryParams((e2) => {
|
|
470
|
-
e2.has(KnownQueryParams.kiosk) || e2.delete(KnownQueryParams.sessionId);
|
|
471
|
-
}), Logger.debug("Connecting to existing session", { sessionId: e }), e) : (Logger.debug("Starting a new session", { sessionId: e }), generateSessionId());
|
|
472
|
-
})();
|
|
473
|
-
function getSessionId() {
|
|
474
|
-
return sessionId;
|
|
475
|
-
}
|
|
476
|
-
var RuntimeManager = class {
|
|
477
|
-
constructor(e, x = false) {
|
|
478
|
-
__publicField(this, "initialHealthyCheck", new Deferred());
|
|
479
|
-
this.config = e, this.lazy = x;
|
|
480
|
-
try {
|
|
481
|
-
new URL(this.config.url);
|
|
482
|
-
} catch (e2) {
|
|
483
|
-
throw Error(`Invalid runtime URL: ${this.config.url}. ${e2 instanceof Error ? e2.message : "Unknown error"}`);
|
|
484
|
-
}
|
|
485
|
-
this.lazy || this.init();
|
|
486
|
-
}
|
|
487
|
-
get isLazy() {
|
|
488
|
-
return this.lazy;
|
|
489
|
-
}
|
|
490
|
-
get httpURL() {
|
|
491
|
-
return new URL(this.config.url);
|
|
492
|
-
}
|
|
493
|
-
get isSameOrigin() {
|
|
494
|
-
return this.httpURL.origin === window.location.origin;
|
|
495
|
-
}
|
|
496
|
-
formatHttpURL(e, x, S = true) {
|
|
497
|
-
e || (e = "");
|
|
498
|
-
let C = this.httpURL, w = new URLSearchParams(window.location.search);
|
|
499
|
-
if (x) for (let [e2, S2] of x.entries()) C.searchParams.set(e2, S2);
|
|
500
|
-
for (let [e2, x2] of w.entries()) S && !Object.values(KnownQueryParams).includes(e2) || C.searchParams.set(e2, x2);
|
|
501
|
-
return C.pathname = `${C.pathname.replace(/\/$/, "")}/${e.replace(/^\//, "")}`, C.hash = "", C;
|
|
502
|
-
}
|
|
503
|
-
formatWsURL(e, x) {
|
|
504
|
-
return asWsUrl(this.formatHttpURL(e, x, false).toString());
|
|
505
|
-
}
|
|
506
|
-
getWsURL(e) {
|
|
507
|
-
let x = new URL(this.config.url), S = new URLSearchParams(x.search);
|
|
508
|
-
return new URLSearchParams(window.location.search).forEach((e2, x2) => {
|
|
509
|
-
S.has(x2) || S.set(x2, e2);
|
|
510
|
-
}), S.set(KnownQueryParams.sessionId, e), this.formatWsURL("/ws", S);
|
|
511
|
-
}
|
|
512
|
-
getWsSyncURL(e) {
|
|
513
|
-
let x = new URL(this.config.url), S = new URLSearchParams(x.search);
|
|
514
|
-
return new URLSearchParams(window.location.search).forEach((e2, x2) => {
|
|
515
|
-
S.has(x2) || S.set(x2, e2);
|
|
516
|
-
}), S.set(KnownQueryParams.sessionId, e), this.formatWsURL("/ws_sync", S);
|
|
517
|
-
}
|
|
518
|
-
getTerminalWsURL() {
|
|
519
|
-
return this.formatWsURL("/terminal/ws");
|
|
520
|
-
}
|
|
521
|
-
getLSPURL(e) {
|
|
522
|
-
if (e === "copilot") {
|
|
523
|
-
let x = this.formatWsURL(`/lsp/${e}`);
|
|
524
|
-
return x.search = "", x;
|
|
525
|
-
}
|
|
526
|
-
return this.formatWsURL(`/lsp/${e}`);
|
|
527
|
-
}
|
|
528
|
-
getAiURL(e) {
|
|
529
|
-
return this.formatHttpURL(`/api/ai/${e}`);
|
|
530
|
-
}
|
|
531
|
-
healthURL() {
|
|
532
|
-
return this.formatHttpURL("/health");
|
|
533
|
-
}
|
|
534
|
-
async isHealthy() {
|
|
535
|
-
if (isWasm() || isIslands()) return true;
|
|
536
|
-
try {
|
|
537
|
-
let e = await fetch(this.healthURL().toString());
|
|
538
|
-
if (e.redirected) {
|
|
539
|
-
Logger.debug(`Runtime redirected to ${e.url}`);
|
|
540
|
-
let x2 = e.url.replace(/\/health$/, "");
|
|
541
|
-
this.config.url = x2;
|
|
542
|
-
}
|
|
543
|
-
let x = e.ok;
|
|
544
|
-
return x && this.setDOMBaseUri(this.config.url), x;
|
|
545
|
-
} catch {
|
|
546
|
-
return false;
|
|
547
|
-
}
|
|
548
|
-
}
|
|
549
|
-
setDOMBaseUri(e) {
|
|
550
|
-
e = e.split("?", 1)[0], e.endsWith("/") || (e += "/");
|
|
551
|
-
let x = document.querySelector("base");
|
|
552
|
-
x ? x.setAttribute("href", e) : (x = document.createElement("base"), x.setAttribute("href", e), document.head.append(x));
|
|
553
|
-
}
|
|
554
|
-
async init(e) {
|
|
555
|
-
Logger.debug("Initializing runtime...");
|
|
556
|
-
let x = 0;
|
|
557
|
-
for (; !await this.isHealthy(); ) {
|
|
558
|
-
if (x >= 25) {
|
|
559
|
-
Logger.error("Failed to connect after 25 retries"), this.initialHealthyCheck.reject(/* @__PURE__ */ Error("Failed to connect after 25 retries"));
|
|
560
|
-
return;
|
|
561
|
-
}
|
|
562
|
-
if (!(e == null ? void 0 : e.disableRetryDelay)) {
|
|
563
|
-
let e2 = Math.min(100 * 1.2 ** x, 2e3);
|
|
564
|
-
await new Promise((x2) => setTimeout(x2, e2));
|
|
565
|
-
}
|
|
566
|
-
x++;
|
|
567
|
-
}
|
|
568
|
-
Logger.debug("Runtime is healthy"), this.initialHealthyCheck.resolve();
|
|
569
|
-
}
|
|
570
|
-
async waitForHealthy() {
|
|
571
|
-
return this.initialHealthyCheck.promise;
|
|
572
|
-
}
|
|
573
|
-
headers() {
|
|
574
|
-
let e = {
|
|
575
|
-
"Marimo-Session-Id": getSessionId(),
|
|
576
|
-
"Marimo-Server-Token": this.config.serverToken ?? "",
|
|
577
|
-
"x-runtime-url": this.httpURL.toString()
|
|
578
|
-
};
|
|
579
|
-
return this.config.authToken && (e.Authorization = `Bearer ${this.config.authToken}`), e;
|
|
580
|
-
}
|
|
581
|
-
sessionHeaders() {
|
|
582
|
-
return { "Marimo-Session-Id": getSessionId() };
|
|
583
|
-
}
|
|
584
|
-
};
|
|
585
|
-
function asWsUrl(e) {
|
|
586
|
-
if (!e.startsWith("http")) {
|
|
587
|
-
Logger.warn(`URL must start with http: ${e}`);
|
|
588
|
-
let x = new URL(e);
|
|
589
|
-
return x.protocol = "ws", x;
|
|
590
|
-
}
|
|
591
|
-
return new URL(e.replace(/^http/, "ws"));
|
|
592
|
-
}
|
|
593
|
-
require_compiler_runtime();
|
|
594
|
-
function getBaseURI() {
|
|
595
|
-
let e = new URL(document.baseURI);
|
|
596
|
-
return e.search = "", e.hash = "", e.toString();
|
|
597
|
-
}
|
|
598
|
-
const runtimeConfigAtom = atom({
|
|
599
|
-
lazy: true,
|
|
600
|
-
url: getBaseURI()
|
|
601
|
-
});
|
|
602
|
-
var runtimeManagerAtom = atom((e) => {
|
|
603
|
-
let x = e(runtimeConfigAtom);
|
|
604
|
-
return new RuntimeManager(x, x.lazy);
|
|
605
|
-
});
|
|
606
|
-
function getRuntimeManager() {
|
|
607
|
-
return store.get(runtimeManagerAtom);
|
|
608
|
-
}
|
|
609
|
-
function asRemoteURL(e) {
|
|
610
|
-
if (e.startsWith("http")) return new URL(e);
|
|
611
|
-
let x = getRuntimeManager().httpURL.toString();
|
|
612
|
-
return x.startsWith("blob:") && (x = x.replace("blob:", "")), new URL(e, x);
|
|
613
|
-
}
|
|
614
|
-
const millisecondsInWeek = 6048e5, millisecondsInDay = 864e5, millisecondsInMinute = 6e4, millisecondsInHour = 36e5, millisecondsInSecond = 1e3, secondsInDay = 3600 * 24;
|
|
615
|
-
secondsInDay * 7, secondsInDay * 365.2425;
|
|
616
|
-
const constructFromSymbol = /* @__PURE__ */ Symbol.for("constructDateFrom");
|
|
617
|
-
function constructFrom(e, x) {
|
|
618
|
-
return typeof e == "function" ? e(x) : e && typeof e == "object" && constructFromSymbol in e ? e[constructFromSymbol](x) : e instanceof Date ? new e.constructor(x) : new Date(x);
|
|
619
|
-
}
|
|
620
|
-
function toDate(e, x) {
|
|
621
|
-
return constructFrom(x || e, e);
|
|
622
|
-
}
|
|
623
|
-
function isDate(e) {
|
|
624
|
-
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
625
|
-
}
|
|
626
|
-
function isValid(e) {
|
|
627
|
-
return !(!isDate(e) && typeof e != "number" || isNaN(+toDate(e)));
|
|
628
|
-
}
|
|
629
|
-
var import_compiler_runtime = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), import_jsx_runtime = /* @__PURE__ */ __toESM(require_jsx_runtime(), 1), alertVariants = cva("relative w-full rounded-lg border p-4 [&>svg]:absolute [&>svg]:text-foreground [&>svg]:left-4 [&>svg]:top-4 [&>svg+div]:translate-y-[-3px] [&:has(svg)]:pl-11", {
|
|
630
|
-
variants: { variant: {
|
|
631
|
-
default: "bg-background text-foreground",
|
|
632
|
-
destructive: "text-destructive border-destructive/50 dark:border-destructive [&>svg]:text-destructive text-destructive",
|
|
633
|
-
info: "bg-(--sky-2) border-(--sky-7) text-(--sky-11)",
|
|
634
|
-
warning: "bg-(--yellow-2) border-(--yellow-7) text-(--yellow-11) [&>svg]:text-(--yellow-11)"
|
|
635
|
-
} },
|
|
636
|
-
defaultVariants: { variant: "default" }
|
|
637
|
-
}), Alert = import_react.forwardRef((e, x) => {
|
|
638
|
-
let S = (0, import_compiler_runtime.c)(11), C, w, T;
|
|
639
|
-
S[0] === e ? (C = S[1], w = S[2], T = S[3]) : ({ className: C, variant: T, ...w } = e, S[0] = e, S[1] = C, S[2] = w, S[3] = T);
|
|
640
|
-
let E;
|
|
641
|
-
S[4] !== C || S[5] !== T ? (E = cn(alertVariants({ variant: T }), C), S[4] = C, S[5] = T, S[6] = E) : E = S[6];
|
|
642
|
-
let O;
|
|
643
|
-
return S[7] !== w || S[8] !== x || S[9] !== E ? (O = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
644
|
-
ref: x,
|
|
645
|
-
role: "alert",
|
|
646
|
-
className: E,
|
|
647
|
-
...w
|
|
648
|
-
}), S[7] = w, S[8] = x, S[9] = E, S[10] = O) : O = S[10], O;
|
|
649
|
-
});
|
|
650
|
-
Alert.displayName = "Alert";
|
|
651
|
-
var AlertTitle = import_react.forwardRef((e, x) => {
|
|
652
|
-
let S = (0, import_compiler_runtime.c)(11), C, w, T;
|
|
653
|
-
S[0] === e ? (C = S[1], w = S[2], T = S[3]) : ({ className: w, children: C, ...T } = e, S[0] = e, S[1] = C, S[2] = w, S[3] = T);
|
|
654
|
-
let E;
|
|
655
|
-
S[4] === w ? E = S[5] : (E = cn("mb-1 font-medium leading-none tracking-tight", w), S[4] = w, S[5] = E);
|
|
656
|
-
let O;
|
|
657
|
-
return S[6] !== C || S[7] !== T || S[8] !== x || S[9] !== E ? (O = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h5", {
|
|
658
|
-
ref: x,
|
|
659
|
-
className: E,
|
|
660
|
-
...T,
|
|
661
|
-
children: C
|
|
662
|
-
}), S[6] = C, S[7] = T, S[8] = x, S[9] = E, S[10] = O) : O = S[10], O;
|
|
663
|
-
});
|
|
664
|
-
AlertTitle.displayName = "AlertTitle";
|
|
665
|
-
var AlertDescription = import_react.forwardRef((e, x) => {
|
|
666
|
-
let S = (0, import_compiler_runtime.c)(9), C, w;
|
|
667
|
-
S[0] === e ? (C = S[1], w = S[2]) : ({ className: C, ...w } = e, S[0] = e, S[1] = C, S[2] = w);
|
|
668
|
-
let T;
|
|
669
|
-
S[3] === C ? T = S[4] : (T = cn("text-sm [&_p]:leading-relaxed", C), S[3] = C, S[4] = T);
|
|
670
|
-
let E;
|
|
671
|
-
return S[5] !== w || S[6] !== x || S[7] !== T ? (E = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
672
|
-
ref: x,
|
|
673
|
-
className: T,
|
|
674
|
-
...w
|
|
675
|
-
}), S[5] = w, S[6] = x, S[7] = T, S[8] = E) : E = S[8], E;
|
|
676
|
-
});
|
|
677
|
-
AlertDescription.displayName = "AlertDescription";
|
|
678
|
-
function arrow(e) {
|
|
679
|
-
function x(e2) {
|
|
680
|
-
return !!(e2 == null ? void 0 : e2.schema) && Array.isArray(e2.schema.fields) && typeof e2.toArray == "function";
|
|
681
|
-
}
|
|
682
|
-
return (x(e) ? e : decodeIPC(e)).toArray();
|
|
683
|
-
}
|
|
684
|
-
arrow.responseType = "arrayBuffer";
|
|
685
|
-
function decodeIPC(e, x) {
|
|
686
|
-
return tableFromIPC(e, x ?? { useProxy: true });
|
|
687
|
-
}
|
|
688
|
-
var has = Object.prototype.hasOwnProperty;
|
|
689
|
-
function find(e, x, S) {
|
|
690
|
-
for (S of e.keys()) if (dequal(S, x)) return S;
|
|
691
|
-
}
|
|
692
|
-
function dequal(e, x) {
|
|
693
|
-
var S, C, w;
|
|
694
|
-
if (e === x) return true;
|
|
695
|
-
if (e && x && (S = e.constructor) === x.constructor) {
|
|
696
|
-
if (S === Date) return e.getTime() === x.getTime();
|
|
697
|
-
if (S === RegExp) return e.toString() === x.toString();
|
|
698
|
-
if (S === Array) {
|
|
699
|
-
if ((C = e.length) === x.length) for (; C-- && dequal(e[C], x[C]); ) ;
|
|
700
|
-
return C === -1;
|
|
701
|
-
}
|
|
702
|
-
if (S === Set) {
|
|
703
|
-
if (e.size !== x.size) return false;
|
|
704
|
-
for (C of e) if (w = C, w && typeof w == "object" && (w = find(x, w), !w) || !x.has(w)) return false;
|
|
705
|
-
return true;
|
|
706
|
-
}
|
|
707
|
-
if (S === Map) {
|
|
708
|
-
if (e.size !== x.size) return false;
|
|
709
|
-
for (C of e) if (w = C[0], w && typeof w == "object" && (w = find(x, w), !w) || !dequal(C[1], x.get(w))) return false;
|
|
710
|
-
return true;
|
|
711
|
-
}
|
|
712
|
-
if (S === ArrayBuffer) e = new Uint8Array(e), x = new Uint8Array(x);
|
|
713
|
-
else if (S === DataView) {
|
|
714
|
-
if ((C = e.byteLength) === x.byteLength) for (; C-- && e.getInt8(C) === x.getInt8(C); ) ;
|
|
715
|
-
return C === -1;
|
|
716
|
-
}
|
|
717
|
-
if (ArrayBuffer.isView(e)) {
|
|
718
|
-
if ((C = e.byteLength) === x.byteLength) for (; C-- && e[C] === x[C]; ) ;
|
|
719
|
-
return C === -1;
|
|
720
|
-
}
|
|
721
|
-
if (!S || typeof e == "object") {
|
|
722
|
-
for (S in C = 0, e) if (has.call(e, S) && ++C && !has.call(x, S) || !(S in x) || !dequal(e[S], x[S])) return false;
|
|
723
|
-
return Object.keys(x).length === C;
|
|
724
|
-
}
|
|
725
|
-
}
|
|
726
|
-
return e !== e && x !== x;
|
|
727
|
-
}
|
|
728
|
-
function useDeepCompareMemoize(e) {
|
|
729
|
-
let x = import_react.useRef(e);
|
|
730
|
-
return dequal(e, x.current) || (x.current = e), x.current;
|
|
731
|
-
}
|
|
732
|
-
export {
|
|
733
|
-
CircleQuestionMark as S,
|
|
734
|
-
isUrl as _,
|
|
735
|
-
AlertTitle as a,
|
|
736
|
-
Deferred as b,
|
|
737
|
-
constructFrom as c,
|
|
738
|
-
millisecondsInMinute as d,
|
|
739
|
-
millisecondsInSecond as f,
|
|
740
|
-
appendQueryParams as g,
|
|
741
|
-
getRuntimeManager as h,
|
|
742
|
-
AlertDescription as i,
|
|
743
|
-
millisecondsInDay as l,
|
|
744
|
-
asRemoteURL as m,
|
|
745
|
-
arrow as n,
|
|
746
|
-
isValid as o,
|
|
747
|
-
millisecondsInWeek as p,
|
|
748
|
-
Alert as r,
|
|
749
|
-
toDate as s,
|
|
750
|
-
useDeepCompareMemoize as t,
|
|
751
|
-
millisecondsInHour as u,
|
|
752
|
-
require_cuid2 as v,
|
|
753
|
-
isWasm as x,
|
|
754
|
-
waitForConnectionOpen as y
|
|
755
|
-
};
|