@marimo-team/frontend 0.19.8-dev4 → 0.19.8-dev6
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/assets/{CellStatus-CTtb89yx.js → CellStatus-DbwQRhK0.js} +1 -1
- package/dist/assets/{Combination-C_mRvd_Z.js → Combination-izwufzWe.js} +1 -1
- package/dist/assets/{ConnectedDataExplorerComponent-CX7YQX42.js → ConnectedDataExplorerComponent-B098edeX.js} +1 -1
- package/dist/assets/{DeferredRequestRegistry-CO2AyNfd.js → DeferredRequestRegistry-tv0PqJZ0.js} +1 -1
- package/dist/assets/{ErrorBoundary-ChCiwl15.js → ErrorBoundary-B9Ifj8Jf.js} +1 -1
- package/dist/assets/{ImageComparisonComponent-BVBGmVcA.js → ImageComparisonComponent-BVXYpigZ.js} +1 -1
- package/dist/assets/{ImperativeModal-CKeCkc1k.js → ImperativeModal-DZr52ffu.js} +1 -1
- package/dist/assets/{Inputs-CBxLLWdV.js → Inputs-CbenuziM.js} +1 -1
- package/dist/assets/{JsonOutput-BTBD86gT.js → JsonOutput-DT5cq5VJ.js} +3 -3
- package/dist/assets/{LazyAnyLanguageCodeMirror-Be7SB10I.js → LazyAnyLanguageCodeMirror-CQP8KZWO.js} +2 -2
- package/dist/assets/{MarimoErrorOutput-DuaUr0W-.js → MarimoErrorOutput-lr6vqAph.js} +1 -1
- package/dist/assets/{RenderHTML-IBhB_MjX.js → RenderHTML-hMZtS42w.js} +1 -1
- package/dist/assets/{SSRProvider-DBS9qs3r.js → SSRProvider-DrpctNAg.js} +1 -1
- package/dist/assets/__vite-browser-external-D-ioOGDE.js +1 -0
- package/dist/assets/__vite-browser-external-DBckR0WR.js +1 -0
- package/dist/assets/{add-cell-with-ai-DsiiVErB.js → add-cell-with-ai-DdyvzMmu.js} +2 -2
- package/dist/assets/{add-database-form-B1frIn24.js → add-database-form-CUZKNC1e.js} +1 -1
- package/dist/assets/{agent-panel-B_Ur2utx.js → agent-panel-BcW46iQe.js} +1 -1
- package/dist/assets/{ai-model-dropdown-Dix8JIRc.js → ai-model-dropdown-C_Fhvna-.js} +1 -1
- package/dist/assets/{alert-adkp2Qj8.js → alert-BOoN6gJ1.js} +1 -1
- package/dist/assets/{alert-dialog-CordKci7.js → alert-dialog-Ctz24SMn.js} +1 -1
- package/dist/assets/{any-language-editor-Z9d2XKUM.js → any-language-editor-B1WBkbF4.js} +1 -1
- package/dist/assets/{app-config-button-CYFJH9oz.js → app-config-button-BqV8GA-q.js} +1 -1
- package/dist/assets/{architectureDiagram-VXUJARFQ-B-zQV2Ro.js → architectureDiagram-VXUJARFQ-BsTgqTsh.js} +1 -1
- package/dist/assets/{arrow-left-Cb_73j1f.js → arrow-left-VDC1u5rq.js} +1 -1
- package/dist/assets/{badge-Ce8wRjuQ.js → badge-D4keL3YC.js} +1 -1
- package/dist/assets/{blockDiagram-VD42YOAC-B7BRAty8.js → blockDiagram-VD42YOAC-CeZonq9z.js} +1 -1
- package/dist/assets/{bundle.esm-B-jCcPJK.js → bundle.esm-CBAPjfrh.js} +1 -1
- package/dist/assets/{button-YC1gW_kJ.js → button-CZ3Cs4qb.js} +1 -1
- package/dist/assets/{c4Diagram-YG6GDRKO-C5JyC9v_.js → c4Diagram-YG6GDRKO-CDPGRzUd.js} +1 -1
- package/dist/assets/{cache-panel-BfCxvTOh.js → cache-panel-gTIhwBeU.js} +1 -1
- package/dist/assets/{card-BAxUmnnT.js → card-DdlNjkEA.js} +1 -1
- package/dist/assets/{cell-editor-BQ5bBOiS.js → cell-editor-Uy3yV7H0.js} +14 -14
- package/dist/assets/{cell-link-DW0zobk9.js → cell-link-OwIbBa8Q.js} +1 -1
- package/dist/assets/{cells-BcMpgRWV.js → cells-DdLMh4kY.js} +2 -2
- package/dist/assets/channel-CUmF6tDU.js +1 -0
- package/dist/assets/{chart-no-axes-column-W42b2ZIs.js → chart-no-axes-column-qvVRjhv1.js} +1 -1
- package/dist/assets/{chat-components-BpIX7pUp.js → chat-components-jnrAy95o.js} +1 -1
- package/dist/assets/{chat-display-CVXM0cmr.js → chat-display-rXqWwmbx.js} +1 -1
- package/dist/assets/{chat-panel-FiDMP_Qr.js → chat-panel-ims98I-K.js} +1 -1
- package/dist/assets/check-Dr3SxUsb.js +1 -0
- package/dist/assets/{chevron-right-DwagBitu.js → chevron-right--18M_6o9.js} +1 -1
- package/dist/assets/{chunk-5FQGJX7Z-Bmb7yu_c.js → chunk-5FQGJX7Z-CwvgJCug.js} +3 -3
- package/dist/assets/{chunk-ABZYJK2D-Coo5qi7b.js → chunk-ABZYJK2D-CtRGq-db.js} +2 -2
- package/dist/assets/{chunk-ATLVNIR6-C0ULYreM.js → chunk-ATLVNIR6-CXEe2jMF.js} +1 -1
- package/dist/assets/{chunk-B4BG7PRW-D6Q5lT5Z.js → chunk-B4BG7PRW-BVqt-NSK.js} +1 -1
- package/dist/assets/{chunk-DI55MBZ5-BUUtkB-8.js → chunk-DI55MBZ5-C_mlVJmb.js} +1 -1
- package/dist/assets/{chunk-EXTU4WIE-DQy5cN5X.js → chunk-EXTU4WIE-CN3BqsR0.js} +1 -1
- package/dist/assets/{chunk-JA3XYJ7Z-99Y1UR46.js → chunk-JA3XYJ7Z-B5-JYmoA.js} +1 -1
- package/dist/assets/{chunk-JZLCHNYA-DRGkEV50.js → chunk-JZLCHNYA-UFlatyc1.js} +1 -1
- package/dist/assets/{chunk-N4CR4FBY-DHFG9ldR.js → chunk-N4CR4FBY-BFF_Z7sG.js} +2 -2
- package/dist/assets/{chunk-QN33PNHL-DB8FgLRd.js → chunk-QN33PNHL-DOgXIePg.js} +1 -1
- package/dist/assets/{chunk-QXUST7PY-_zxuSm7L.js → chunk-QXUST7PY-CbBaWlhv.js} +1 -1
- package/dist/assets/{chunk-S3R3BYOJ-PVCoxQeQ.js → chunk-S3R3BYOJ-CM-pQ0EF.js} +1 -1
- package/dist/assets/{chunk-TZMSLE5B-KYGSDxPK.js → chunk-TZMSLE5B-Bs5ERkTF.js} +1 -1
- package/dist/assets/{circle-check-C57eOpl0.js → circle-check-DquVD4wZ.js} +1 -1
- package/dist/assets/{circle-play-BuOtSgid.js → circle-play-EowqxNIC.js} +1 -1
- package/dist/assets/{circle-plus-CnWl9uZo.js → circle-plus-haI9GLDP.js} +1 -1
- package/dist/assets/classDiagram-2ON5EDUG-DLI68D-F.js +1 -0
- package/dist/assets/classDiagram-v2-WZHVMYZB-yfw4NTdf.js +1 -0
- package/dist/assets/{clear-button-CF0iBcV9.js → clear-button-DI7_bdOB.js} +1 -1
- package/dist/assets/{click-outside-container-B12FHFHm.js → click-outside-container-Npdlddni.js} +1 -1
- package/dist/assets/{clipboard-paste-BiDF-cqm.js → clipboard-paste-CpyPR-HZ.js} +1 -1
- package/dist/assets/{code-block-37QAKDTI-D5PRUB7R.js → code-block-37QAKDTI-CT7W9knZ.js} +1 -1
- package/dist/assets/{code-xml-XLwHyDBr.js → code-xml-CgN_Yig7.js} +1 -1
- package/dist/assets/{column-preview-v3J210SK.js → column-preview-DsINQLcy.js} +1 -1
- package/dist/assets/{command-DOzj5zu3.js → command-cs3Dd1TU.js} +1 -1
- package/dist/assets/{command-palette-B94wuFEk.js → command-palette-Cz8h81mi.js} +1 -1
- package/dist/assets/{common-DHF6uQdA.js → common-VAE3DrnP.js} +1 -1
- package/dist/assets/compiler-runtime-B3qBwwSJ.js +1 -0
- package/dist/assets/{config-C3-Nti03.js → config-D2-Bw6QC.js} +1 -1
- package/dist/assets/{context-CJp-B2dx.js → context-Ga_vV5mE.js} +1 -1
- package/dist/assets/{copy-CQ15EONK.js → copy-D-8y6iMN.js} +1 -1
- package/dist/assets/{copy-icon-C1fNHY3M.js → copy-icon-B9w72gBC.js} +1 -1
- package/dist/assets/createLucideIcon-BCdY6lG5.js +1 -0
- package/dist/assets/{createReducer-Dnna-AUO.js → createReducer-B3rBsy4P.js} +1 -1
- package/dist/assets/{dagre-6UL2VRFP-khPiqbzB.js → dagre-6UL2VRFP-UK8bracd.js} +1 -1
- package/dist/assets/{data-grid-overlay-editor-Ca1ELXWD.js → data-grid-overlay-editor-2vr_zUfM.js} +1 -1
- package/dist/assets/{database-zap-B9y7063w.js → database-zap-k4ePIFAU.js} +1 -1
- package/dist/assets/{datasource-BZ3O2HG1.js → datasource-BBMMxrje.js} +1 -1
- package/dist/assets/{dates-Cx863TsG.js → dates-CT5PUuFo.js} +1 -1
- package/dist/assets/{dependency-graph-panel-s45LIDec.js → dependency-graph-panel-D16tZkyM.js} +1 -1
- package/dist/assets/{diagram-PSM6KHXK-C7-DZLOE.js → diagram-PSM6KHXK-7QiPU-26.js} +1 -1
- package/dist/assets/{diagram-QEK2KX5R-Ct2_XsRV.js → diagram-QEK2KX5R-BbZsWUC4.js} +1 -1
- package/dist/assets/{diagram-S2PKOQOG-C82IZoPA.js → diagram-S2PKOQOG-SZ-twU4B.js} +1 -1
- package/dist/assets/{dialog-Dstm3Ubn.js → dialog-tQELcltn.js} +1 -1
- package/dist/assets/{dist-oarhZoo6.js → dist-CDXJRSCj.js} +1 -1
- package/dist/assets/{dist-PT7WsOdN.js → dist-DDGMbl6p.js} +1 -1
- package/dist/assets/{dist-BhLw_JdQ.js → dist-DY1C8dgM.js} +1 -1
- package/dist/assets/{documentation-panel-DRqbOPwM.js → documentation-panel-0BCnCatP.js} +1 -1
- package/dist/assets/{download-zuPzhwvm.js → download-BodpSpiQ.js} +1 -1
- package/dist/assets/{download-B9SUL40m.js → download-Dg7clfkc.js} +1 -1
- package/dist/assets/{dropdown-menu-D8v7RjW8.js → dropdown-menu-BUgFWmX1.js} +1 -1
- package/dist/assets/{edit-page-Dlr4v1eI.js → edit-page-C3g76WMW.js} +3 -3
- package/dist/assets/{ellipsis-5ip-qDfN.js → ellipsis-DfDsMPvA.js} +1 -1
- package/dist/assets/{ellipsis-vertical-C7jYiLCo.js → ellipsis-vertical-J1F7_WS9.js} +1 -1
- package/dist/assets/{empty-state-BAGXXrn8.js → empty-state-DrmGF88A.js} +1 -1
- package/dist/assets/{en-US-XLBup7bs.js → en-US-DU2jJCpg.js} +1 -1
- package/dist/assets/{erDiagram-Q2GNP2WA-Ftt2qDiM.js → erDiagram-Q2GNP2WA-BSmVh3Kt.js} +1 -1
- package/dist/assets/{error-banner-JIexM8h5.js → error-banner-Dlrzo_Ay.js} +1 -1
- package/dist/assets/{error-panel-TqjIx6nC.js → error-panel-D7CVHSby.js} +1 -1
- package/dist/assets/{errors-B5AI4nf5.js → errors-CPlNr33a.js} +1 -1
- package/dist/assets/{es-CPSXxuS6.js → es-CerBf9Z6.js} +5 -5
- package/dist/assets/{esm-BbNm2fB0.js → esm-C-53tlK5.js} +1 -1
- package/dist/assets/{eye-off-BhExYOph.js → eye-off-AK_9uodG.js} +1 -1
- package/dist/assets/{field-1uCBX4j4.js → field-D9jE8HEt.js} +1 -1
- package/dist/assets/{file-Cs1JbsV6.js → file-Ch78NKWp.js} +1 -1
- package/dist/assets/{file-explorer-panel-jku_uMQn.js → file-explorer-panel-CAm65Xwe.js} +1 -1
- package/dist/assets/{file-plus-corner-Da9I6dgU.js → file-plus-corner-CvAy4H5W.js} +1 -1
- package/dist/assets/{file-video-camera-DW3v07j2.js → file-video-camera-C3wGzBnE.js} +1 -1
- package/dist/assets/{floating-outline-CZbF47gm.js → floating-outline-C8UBGhNL.js} +1 -1
- package/dist/assets/{flowDiagram-NV44I4VS-Ca9aZp-3.js → flowDiagram-NV44I4VS-2nYUYKvI.js} +1 -1
- package/dist/assets/{focus-BxGelf2n.js → focus-Bd_p77qK.js} +1 -1
- package/dist/assets/{form-DQt-Ldr4.js → form-D23zs2fF.js} +1 -1
- package/dist/assets/{gallery-page-D_5X4kKx.js → gallery-page-Yq7Go5FK.js} +1 -1
- package/dist/assets/{ganttDiagram-JELNMOA3-PYFPdyuJ.js → ganttDiagram-JELNMOA3-B77PnMPw.js} +1 -1
- package/dist/assets/{gitGraphDiagram-NY62KEGX-CfGWoYOo.js → gitGraphDiagram-NY62KEGX-B-3aRelz.js} +1 -1
- package/dist/assets/{glide-data-editor-8ek3zzAO.js → glide-data-editor-B5UMCoFz.js} +4 -4
- package/dist/assets/globals-BgJBhxFI.js +1 -0
- package/dist/assets/{home-page-xDhfcHL1.js → home-page-DXMa3CyZ.js} +1 -1
- package/dist/assets/{hooks-MQa8CSUr.js → hooks-T4-_AFet.js} +1 -1
- package/dist/assets/{house-DhFkiXz7.js → house-BI81AWSn.js} +1 -1
- package/dist/assets/{html-to-image-DKqpcM7V.js → html-to-image-Bc6qDa9c.js} +1 -1
- package/dist/assets/{icons-Dw4USSvE.js → icons-DjR3qLG_.js} +1 -1
- package/dist/assets/{index-DuqUGjtK.js → index-Dlg8GjKO.js} +6 -6
- package/dist/assets/{infoDiagram-WHAUD3N6-Csbwq6Ks.js → infoDiagram-WHAUD3N6-_vys04Gc.js} +1 -1
- package/dist/assets/{input-DcAGg_4_.js → input-DHHmNa19.js} +1 -1
- package/dist/assets/{isValid-BLB2jskA.js → isValid-DpSSOU5z.js} +1 -1
- package/dist/assets/{journeyDiagram-XKPGCS4Q-DArwMxlY.js → journeyDiagram-XKPGCS4Q-CkD6eopP.js} +1 -1
- package/dist/assets/{kanban-definition-3W4ZIXB7-CPjBJiO_.js → kanban-definition-3W4ZIXB7-kX5aL9Ug.js} +1 -1
- package/dist/assets/{katex-DYp6oq7P.js → katex-CDLTCvjQ.js} +1 -1
- package/dist/assets/katex-DF982Ty5.js +1 -0
- package/dist/assets/{kbd-uRyPZ9w_.js → kbd-Cm6Ba9qg.js} +1 -1
- package/dist/assets/kiosk-mode-BlAqMmYG.js +1 -0
- package/dist/assets/{label-CL9Xfexh.js → label-C9wP7Kp2.js} +1 -1
- package/dist/assets/{layout-D-YPCWvX.js → layout-DeO-Ppt-.js} +3 -3
- package/dist/assets/{link-BsTPF7B0.js → link-DxicfMbs.js} +1 -1
- package/dist/assets/{links-BhgWpHdU.js → links-7AQBmdyV.js} +1 -1
- package/dist/assets/{logs-panel-DKSJRyF4.js → logs-panel-B3aMPrwV.js} +1 -1
- package/dist/assets/{loro_wasm_bg-BnAHSQ7o.js → loro_wasm_bg-CdafknAX.js} +2 -2
- package/dist/assets/loro_wasm_bg-WKwciKJa.wasm +0 -0
- package/dist/assets/{loro_wasm_bg-CKQGJrH5.js → loro_wasm_bg-aCueZs8k.js} +1 -1
- package/dist/assets/{maps-t9yNKYA8.js → maps-D2_Mq1pZ.js} +1 -1
- package/dist/assets/{markdown-renderer-Bu12gPyJ.js → markdown-renderer-Dy-FX527.js} +1 -1
- package/dist/assets/{menu-items-NblnuU_B.js → menu-items-vwmjPhjW.js} +1 -1
- package/dist/assets/mermaid-4DMBBIKO-DQz_QvBC.js +1 -0
- package/dist/assets/{mermaid-Bzaf_nA9.js → mermaid-Caj4ROsO.js} +3 -3
- package/dist/assets/{mhchem-DLDYYsJK.js → mhchem-CJmb5HsA.js} +1 -1
- package/dist/assets/{mindmap-definition-VGOIOE7T-DVB4z5Yy.js → mindmap-definition-VGOIOE7T-BJ9zWUqW.js} +1 -1
- package/dist/assets/{mode-CevBiFCd.js → mode-BfhhQnCm.js} +1 -1
- package/dist/assets/{multi-icon-CLzAg610.js → multi-icon-BWLbAXq5.js} +1 -1
- package/dist/assets/{multi-map-W4zci54U.js → multi-map-t2yhdp8D.js} +1 -1
- package/dist/assets/{name-cell-input-DwvdP1Ck.js → name-cell-input-DvFZv__e.js} +1 -1
- package/dist/assets/{number-overlay-editor-CvIcqV0W.js → number-overlay-editor-DIy8e1ST.js} +1 -1
- package/dist/assets/{outline-panel-Bg_CP1WV.js → outline-panel-DH2X9Yaa.js} +1 -1
- package/dist/assets/{packages-panel-DBgrbk-q.js → packages-panel-BWx1vxzx.js} +1 -1
- package/dist/assets/{panel-context-C-UJlFyL.js → panel-context-2mVKaSYm.js} +1 -1
- package/dist/assets/{panels-CaoDGKmF.js → panels-BdSNXi2d.js} +1 -1
- package/dist/assets/{pieDiagram-ADFJNKIX-vwwb5uL8.js → pieDiagram-ADFJNKIX-Mf2FMnt9.js} +1 -1
- package/dist/assets/{play-BPIh-ZEU.js → play-GLWQQs7F.js} +1 -1
- package/dist/assets/{plus-BD5o34_i.js → plus-B7DF33lD.js} +1 -1
- package/dist/assets/{popover-BZZFx3Q8.js → popover-B-131r4d.js} +1 -1
- package/dist/assets/{process-output-Cl2N-HlT.js → process-output-CHXcfo-X.js} +1 -1
- package/dist/assets/{quadrantDiagram-AYHSOK5B-Y8bEZ32G.js → quadrantDiagram-AYHSOK5B-B04U71uV.js} +1 -1
- package/dist/assets/{react-BGmjiNul.js → react-Bj1aDYRI.js} +1 -1
- package/dist/assets/{react-dom-C9fstfnp.js → react-dom-CSu739Rf.js} +1 -1
- package/dist/assets/{react-plotly-CZMBCa5P.js → react-plotly-D4UaXGJL.js} +1 -1
- package/dist/assets/{react-resizable-panels.browser.esm-BFvP7Upm.js → react-resizable-panels.browser.esm-Mq45xjWt.js} +1 -1
- package/dist/assets/{react-vega-DkHO4e2L.js → react-vega-CP7NqbRQ.js} +1 -1
- package/dist/assets/{react-vega-BCDifxTe.js → react-vega-CqegDZRQ.js} +1 -1
- package/dist/assets/{readonly-python-code-H1kzT-lB.js → readonly-python-code-Drm-iT2o.js} +1 -1
- package/dist/assets/{refresh-ccw-DLEiQDS3.js → refresh-ccw-DN_xCV6A.js} +1 -1
- package/dist/assets/{refresh-cw-CQd-1kjx.js → refresh-cw-Dx8TEWFP.js} +1 -1
- package/dist/assets/{renderShortcut-zxgoVTeP.js → renderShortcut-B1jzzLJw.js} +1 -1
- package/dist/assets/request-registry-BWqkV683.js +1 -0
- package/dist/assets/{requests-BsVD4CdD.js → requests-B4FYHTZl.js} +1 -1
- package/dist/assets/requests-BQkjRazP.js +1 -0
- package/dist/assets/{requirementDiagram-UZGBJVZJ-ChckaTrX.js → requirementDiagram-UZGBJVZJ-oJlPs172.js} +1 -1
- package/dist/assets/{rotate-ccw-B_yU4f05.js → rotate-ccw-DPbJxVVN.js} +1 -1
- package/dist/assets/{run-page-BmTC7uxn.js → run-page--5xaW5m2.js} +1 -1
- package/dist/assets/{runs-X54OGDTq.js → runs-DyBOFmAK.js} +1 -1
- package/dist/assets/{sankeyDiagram-TZEHDZUN-DtU4O0-i.js → sankeyDiagram-TZEHDZUN-aplEbaHE.js} +1 -1
- package/dist/assets/{save-PMHbdtqc.js → save-DZodxFnE.js} +1 -1
- package/dist/assets/{save-worker-DtF6B3PS.js → save-worker-CtJsIYIM.js} +3 -3
- package/dist/assets/{scratchpad-panel-CIxZIJ-1.js → scratchpad-panel-DN5qbbIL.js} +1 -1
- package/dist/assets/{secrets-panel-TwfjwIVv.js → secrets-panel-vKKBtc8G.js} +1 -1
- package/dist/assets/{select-CX1Yi8J8.js → select-B7bfltkI.js} +1 -1
- package/dist/assets/{sequenceDiagram-WL72ISMW-BGXrTemh.js → sequenceDiagram-WL72ISMW-WAUwGkkd.js} +1 -1
- package/dist/assets/{session-panel-CNeWVmTR.js → session-panel-DSLj3C81.js} +1 -1
- package/dist/assets/{settings-DOXWMfVd.js → settings-OBbrbhij.js} +1 -1
- package/dist/assets/{share-Ba-pHZtq.js → share-rXkgGlhr.js} +1 -1
- package/dist/assets/{slides-component-CGMJm_kL.js → slides-component-CeMnlG8H.js} +1 -1
- package/dist/assets/{snippets-panel-DMN_ZSXA.js → snippets-panel-nld0VX-j.js} +1 -1
- package/dist/assets/{spec-D1kBp3jX.js → spec-Ch0xnJY4.js} +1 -1
- package/dist/assets/{spinner-DaIKav-i.js → spinner-DA8-7wQv.js} +1 -1
- package/dist/assets/{square-C8Tw_XXG.js → square-DPZjfUaq.js} +1 -1
- package/dist/assets/{square-function-CqXXKtIq.js → square-function-B6mgCeFJ.js} +1 -1
- package/dist/assets/{state-n1Xz9vt7.js → state-DAl4qLSi.js} +1 -1
- package/dist/assets/{state-BLsnFVwy.js → state-yRkQ_uSW.js} +1 -1
- package/dist/assets/{stateDiagram-FKZM4ZOC-BwSf7RIr.js → stateDiagram-FKZM4ZOC-DUDhr_Gg.js} +1 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-yH9Rugj-.js +1 -0
- package/dist/assets/{switch-CfRu5JBF.js → switch-D-TxHKpg.js} +1 -1
- package/dist/assets/{table-DZR6ewbN.js → table-CfDbAm78.js} +1 -1
- package/dist/assets/{table-qbh6Daed.js → table-DScsXgJW.js} +1 -1
- package/dist/assets/{terminal-C0fH4d_0.js → terminal-CF-esPMT.js} +1 -1
- package/dist/assets/{textarea-3ZXdUni1.js → textarea-BFfMAEaQ.js} +1 -1
- package/dist/assets/{timeline-definition-IT6M3QCI-BZakpQwy.js → timeline-definition-IT6M3QCI-D93LYpWp.js} +1 -1
- package/dist/assets/{toDate-CgbKQM5E.js → toDate-DETS9bBd.js} +1 -1
- package/dist/assets/{toggle-CWS-iCmF.js → toggle-CriARMQK.js} +1 -1
- package/dist/assets/{tooltip-DH6k_bBY.js → tooltip-C_WgOOcZ.js} +1 -1
- package/dist/assets/{tracing-zzjDz6Hy.js → tracing-DB7ckaG0.js} +1 -1
- package/dist/assets/tracing-panel-CxTR1RYC.js +2 -0
- package/dist/assets/{trash-2-CyqGun26.js → trash-2-B8SQYdQq.js} +1 -1
- package/dist/assets/{trash-DMqDgJ5r.js → trash-Cv0yH8fs.js} +1 -1
- package/dist/assets/{tree-DHpFOpHo.js → tree-B8r7cwRm.js} +1 -1
- package/dist/assets/{triangle-alert-B65rDESJ.js → triangle-alert-U93NZYDl.js} +1 -1
- package/dist/assets/{types-CS34eOZi.js → types-C1UhS3qM.js} +1 -1
- package/dist/assets/{types-CW-zyy80.js → types-D-xsoOE8.js} +1 -1
- package/dist/assets/{use-toast-rmUWldD_.js → use-toast-T0_cQDma.js} +1 -1
- package/dist/assets/useAddCell-Bc2_jloT.js +1 -0
- package/dist/assets/{useAsyncData-BAVCkkQP.js → useAsyncData-BMGLSTg8.js} +1 -1
- package/dist/assets/{useBoolean-BjVFTMam.js → useBoolean-IZsSX_XF.js} +1 -1
- package/dist/assets/{useCellActionButton-BZ46_Pdt.js → useCellActionButton-DUpWwYW8.js} +1 -1
- package/dist/assets/{useDateFormatter-D89e9xZY.js → useDateFormatter-CieT0-H-.js} +1 -1
- package/dist/assets/{useDebounce-CU_caGaU.js → useDebounce-B28kFfrM.js} +1 -1
- package/dist/assets/{useDeepCompareMemoize-DiyglPgJ.js → useDeepCompareMemoize-ChxLMT9E.js} +1 -1
- package/dist/assets/{useDeleteCell-B8CxYiji.js → useDeleteCell-6jBNYEDG.js} +1 -1
- package/dist/assets/{useDependencyPanelTab-YtWR0xDK.js → useDependencyPanelTab-Dq7NTXk8.js} +1 -1
- package/dist/assets/useEvent-BhXAndur.js +1 -0
- package/dist/assets/{useEventListener-DIUKKfEy.js → useEventListener-Cb-RVVEn.js} +1 -1
- package/dist/assets/{useIframeCapabilities-DzIlROXe.js → useIframeCapabilities-B_pQb20b.js} +1 -1
- package/dist/assets/{useInstallPackage-C-gjrVjb.js → useInstallPackage-xrG_Tm9T.js} +1 -1
- package/dist/assets/{useInterval-y9MtYlSD.js → useInterval-BNfubus2.js} +1 -1
- package/dist/assets/{useLifecycle-D35CBukS.js → useLifecycle-ClI_npeg.js} +1 -1
- package/dist/assets/{useNonce-_Aax6sXd.js → useNonce-CS26E0hA.js} +1 -1
- package/dist/assets/{useNotebookActions-Dfh_7NPm.js → useNotebookActions-bMdZvJyI.js} +1 -1
- package/dist/assets/{useNumberFormatter-CTkflual.js → useNumberFormatter-BX4DTYtT.js} +1 -1
- package/dist/assets/{usePress-CoEeT5jq.js → usePress-3CRs0fQg.js} +1 -1
- package/dist/assets/{useRunCells-rjrIgU8v.js → useRunCells-CmbQTUeO.js} +1 -1
- package/dist/assets/{useSplitCell-fcjSuBNO.js → useSplitCell-DE71CDKv.js} +1 -1
- package/dist/assets/{useTheme-EGf2UOFo.js → useTheme-CTORu22_.js} +1 -1
- package/dist/assets/{utilities.esm-CkqwfzLw.js → utilities.esm-Buwqinna.js} +3 -3
- package/dist/assets/{utils-DXvhzCGS.js → utils-YqBXNpsM.js} +1 -1
- package/dist/assets/{vega-component-DAJbxD47.js → vega-component-D4ZTpyiq.js} +1 -1
- package/dist/assets/{worker-CUL1lW-N.js → worker-CyCdlLVf.js} +3 -3
- package/dist/assets/{workflow-CMjI9cxl.js → workflow-B12dAR4X.js} +1 -1
- package/dist/assets/{write-secret-modal-CgAvgY9w.js → write-secret-modal-BodBOJkR.js} +1 -1
- package/dist/assets/{x-CoXDX2vQ.js → x-ZP5cObgf.js} +1 -1
- package/dist/assets/{xychartDiagram-PRI3JC2R-CAHFvN1H.js → xychartDiagram-PRI3JC2R-C8jV7uCC.js} +1 -1
- package/dist/assets/{youtube-8p26v8EM.js → youtube--tNPNRy6.js} +1 -1
- package/dist/assets/zod-H_cgTO0M.js +40 -0
- package/dist/index.html +125 -125
- package/package.json +17 -17
- package/dist/assets/__vite-browser-external-BkzFKOxE.js +0 -1
- package/dist/assets/__vite-browser-external-CPyDqUtZ.js +0 -1
- package/dist/assets/channel-ownMsSXG.js +0 -1
- package/dist/assets/check-DdfN0k2d.js +0 -1
- package/dist/assets/classDiagram-2ON5EDUG-CSgD2v8F.js +0 -1
- package/dist/assets/classDiagram-v2-WZHVMYZB-YTETTIT0.js +0 -1
- package/dist/assets/compiler-runtime-DeeZ7FnK.js +0 -1
- package/dist/assets/createLucideIcon-CnW3RofX.js +0 -1
- package/dist/assets/globals-D4t_HyAp.js +0 -1
- package/dist/assets/katex-BZrXWsTs.js +0 -1
- package/dist/assets/kiosk-mode-C9XznhoS.js +0 -1
- package/dist/assets/loro_wasm_bg-DV7Kb4_M.wasm +0 -0
- package/dist/assets/mermaid-4DMBBIKO-RE7Z6-fl.js +0 -1
- package/dist/assets/request-registry-CjZcQuTP.js +0 -1
- package/dist/assets/requests-BSPGoGJL.js +0 -1
- package/dist/assets/stateDiagram-v2-4FDKWEC3-SWMI9LKY.js +0 -1
- package/dist/assets/tracing-panel-DogOVTzf.js +0 -2
- package/dist/assets/useAddCell-mkD8zurm.js +0 -1
- package/dist/assets/useEvent-DO6uJBas.js +0 -1
- package/dist/assets/zod-Cg4WLWh2.js +0 -40
|
@@ -1 +1 @@
|
|
|
1
|
-
import{t as a}from"./createLucideIcon-
|
|
1
|
+
import{t as a}from"./createLucideIcon-BCdY6lG5.js";var t=a("link",[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as o}from"./chunk-LvLJmgfZ.js";import{t as i}from"./compiler-runtime-
|
|
1
|
+
import{s as o}from"./chunk-LvLJmgfZ.js";import{t as i}from"./compiler-runtime-B3qBwwSJ.js";import{t as s}from"./jsx-runtime-ZmTK25f3.js";var l=i(),m=o(s(),1);const c=n=>{let r=(0,l.c)(3),{href:e,children:a}=n,t;return r[0]!==a||r[1]!==e?(t=(0,m.jsx)("a",{href:e,target:"_blank",className:"text-link hover:underline",children:a}),r[0]=a,r[1]=e,r[2]=t):t=r[2],t};export{c as t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as x}from"./chunk-LvLJmgfZ.js";import"./useEvent-
|
|
1
|
+
import{s as x}from"./chunk-LvLJmgfZ.js";import"./useEvent-BhXAndur.js";import{t as f}from"./react-Bj1aDYRI.js";import{A as h,Vn as g,W as u,w as j}from"./cells-DdLMh4kY.js";import"./react-dom-CSu739Rf.js";import{t as y}from"./compiler-runtime-B3qBwwSJ.js";import{t as v}from"./jsx-runtime-ZmTK25f3.js";import{t as m}from"./cn-BKtXLv3a.js";import"./dist-DBwNzi3C.js";import"./cjs-CH5Rj0g8.js";import"./main-U5Goe76G.js";import"./useNonce-CS26E0hA.js";import"./dist-Cayq-K1c.js";import"./dist-TiFCI16_.js";import"./dist-BIKFl48f.js";import"./dist-B0VqT_4z.js";import"./dist-BYyu59D8.js";import"./session-fBtIbMpB.js";import"./Combination-izwufzWe.js";import{t as N}from"./cell-link-OwIbBa8Q.js";import{t as b}from"./empty-state-DrmGF88A.js";import{t as w}from"./clear-button-DI7_bdOB.js";var n=y();f();var s=x(v(),1),_=()=>{let r=(0,n.c)(9),e=h(),{clearLogs:i}=j();if(e.length===0){let o;r[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,s.jsx)("code",{className:"border rounded px-1",children:"stdout"}),r[0]=o):o=r[0];let l;return r[1]===Symbol.for("react.memo_cache_sentinel")?(l=(0,s.jsx)(b,{title:"No logs",description:(0,s.jsxs)("span",{children:[o," and"," ",(0,s.jsx)("code",{className:"border rounded px-1",children:"stderr"})," logs will appear here."]}),icon:(0,s.jsx)(g,{})}),r[1]=l):l=r[1],l}let a;r[2]===i?a=r[3]:(a=(0,s.jsx)("div",{className:"flex flex-row justify-start px-2 py-1",children:(0,s.jsx)(w,{dataTestId:"clear-logs-button",onClick:i})}),r[2]=i,r[3]=a);let t;r[4]===e?t=r[5]:(t=(0,s.jsx)(d,{logs:e,className:"min-w-[300px]"}),r[4]=e,r[5]=t);let c;return r[6]!==a||r[7]!==t?(c=(0,s.jsxs)("div",{className:"flex flex-col h-full overflow-auto",children:[a,t]}),r[6]=a,r[7]=t,r[8]=c):c=r[8],c};const d=r=>{let e=(0,n.c)(10),{logs:i,className:a}=r,t;e[0]===a?t=e[1]:(t=m("flex flex-col",a),e[0]=a,e[1]=t);let c;e[2]===Symbol.for("react.memo_cache_sentinel")?(c={whiteSpace:"pre-wrap"},e[2]=c):c=e[2];let o;e[3]===i?o=e[4]:(o=i.map(I),e[3]=i,e[4]=o);let l;e[5]===o?l=e[6]:(l=(0,s.jsx)("pre",{className:"grid text-xs font-mono gap-1 whitespace-break-spaces font-semibold align-left",children:(0,s.jsx)("div",{className:"grid grid-cols-[30px_1fr]",style:c,children:o})}),e[5]=o,e[6]=l);let p;return e[7]!==t||e[8]!==l?(p=(0,s.jsx)("div",{className:t,children:l}),e[7]=t,e[8]=l,e[9]=p):p=e[9],p};function k(r){let e=u(r.timestamp),i=S[r.level],a=r.level.toUpperCase();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"shrink-0 text-(--gray-10) dark:text-(--gray-11)",children:["[",e,"]"]}),(0,s.jsx)("span",{className:m("shrink-0",i),children:a}),(0,s.jsxs)("span",{className:"shrink-0 text-(--gray-10)",children:["(",(0,s.jsx)(N,{cellId:r.cellId}),")"]}),r.message]})}var S={stdout:"text-(--grass-9)",stderr:"text-(--red-9)"};function I(r,e){return(0,s.jsxs)("div",{className:"contents group",children:[(0,s.jsx)("span",{className:m("opacity-70 group-hover:bg-(--gray-3) group-hover:opacity-100","text-right col-span-1 py-1 pr-1"),children:e+1}),(0,s.jsx)("span",{className:m("opacity-70 group-hover:bg-(--gray-3) group-hover:opacity-100","px-2 flex gap-x-1.5 py-1 flex-wrap"),children:k(r)})]},e)}export{d as LogViewer,_ as default};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{r as Oi}from"./chunk-LvLJmgfZ.js";let ae,ie,le,ge,ce,de,we,be,ue,pe,he,fe,me,ve,ye,xe,Se,Ce,Ae,Oe,Ie,Ne,Fe,De,Le,ke,Ee,Re,Te,Ve,
|
|
2
|
-
${_.stack}`:n}function s(_){let e=r.__wbindgen_export_4.get(_);return r.__externref_table_dealloc(_),e}function I(_,e){if(!(_ instanceof e))throw Error(`expected instance of ${e.name}`)}function v(_,e){let t=e(_.length*1,1)>>>0;return A().set(_,t/1),l=_.length,t}function y(_,e){return _>>>=0,A().subarray(_/1,_/1+e)}function m(_,e){_>>>=0;let t=u(),n=[];for(let a=_;a<_+4*e;a+=4)n.push(r.__wbindgen_export_4.get(t.getUint32(a,!0)));return r.__externref_drop_slice(_,e),n}function Vi(){let _,e;try{let t=r.LORO_VERSION();return _=t[0],e=t[1],w(t[0],t[1])}finally{r.__wbindgen_free(_,e,1)}}function Ji(){r.setDebug()}function f(_,e){let t=e(_.length*4,4)>>>0;for(let n=0;n<_.length;n++){let a=C(_[n]);u().setUint32(t+4*n,a,!0)}return l=_.length,t}function Ui(_){let e=f(_,r.__wbindgen_malloc),t=l,n=r.encodeFrontiers(e,t);if(n[3])throw s(n[2]);var a=y(n[0],n[1]).slice();return r.__wbindgen_free(n[0],n[1]*1,1),a}function Pi(_,e){let t=r.redactJsonUpdates(_,e);if(t[2])throw s(t[1]);return s(t[0])}ao=function(){r.callPendingEvents()};function Mi(){r.run()}function Bi(_){let e=v(_,r.__wbindgen_malloc),t=l,n=r.decodeFrontiers(e,t);if(n[2])throw s(n[1]);return s(n[0])}function zi(_,e){let t=v(_,r.__wbindgen_malloc),n=l,a=r.decodeImportBlobMeta(t,n,e);if(a[2])throw s(a[1]);return s(a[0])}function ji(_,e,t){r.closure9_externref_shim(_,e,t)}function Wi(_,e){r._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2222385ed10d04df(_,e)}let ee,te,re,_e,oe,V,J,U,P,M,B,z,j,W,H,q,ne,D,se,$,x;ee=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_awarenesswasm_free(_>>>0,1)),Zo=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,ee.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_awarenesswasm_free(_,0)}getAllStates(){let _=r.awarenesswasm_getAllStates(this.__wbg_ptr);if(_[2])throw s(_[1]);return s(_[0])}getTimestamp(_){let e=r.awarenesswasm_getTimestamp(this.__wbg_ptr,_);if(e[3])throw s(e[2]);return e[0]===0?void 0:e[1]}setLocalState(_){r.awarenesswasm_setLocalState(this.__wbg_ptr,_)}removeOutdated(){let _=r.awarenesswasm_removeOutdated(this.__wbg_ptr);var e=m(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}constructor(_,e){let t=r.awarenesswasm_new(_,e);if(t[2])throw s(t[1]);return this.__wbg_ptr=t[0]>>>0,ee.register(this,this.__wbg_ptr,this),this}peer(){return r.awarenesswasm_peer(this.__wbg_ptr)}apply(_){let e=v(_,r.__wbindgen_malloc),t=l,n=r.awarenesswasm_apply(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}peers(){let _=r.awarenesswasm_peers(this.__wbg_ptr);var e=m(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}encode(_){let e=r.awarenesswasm_encode(this.__wbg_ptr,_);if(e[3])throw s(e[2]);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}length(){return r.awarenesswasm_length(this.__wbg_ptr)}isEmpty(){return r.awarenesswasm_isEmpty(this.__wbg_ptr)!==0}getState(_){let e=r.awarenesswasm_getState(this.__wbg_ptr,_);if(e[2])throw s(e[1]);return s(e[0])}encodeAll(){let _=r.awarenesswasm_encodeAll(this.__wbg_ptr);var e=y(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*1,1),e}},te=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_changemodifier_free(_>>>0,1)),re=class Y{static __wrap(e){e>>>=0;let t=Object.create(Y.prototype);return t.__wbg_ptr=e,te.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,te.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_changemodifier_free(e,0)}setMessage(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.changemodifier_setMessage(this.__wbg_ptr,t,n);return Y.__wrap(a)}setTimestamp(e){let t=r.changemodifier_setTimestamp(this.__wbg_ptr,e);return Y.__wrap(t)}},_e=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_cursor_free(_>>>0,1)),S=class fs{static __wrap(e){e>>>=0;let t=Object.create(fs.prototype);return t.__wbg_ptr=e,_e.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,_e.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_cursor_free(e,0)}containerId(){return r.cursor_containerId(this.__wbg_ptr)}pos(){let e=r.cursor_pos(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}kind(){return r.cursor_kind(this.__wbg_ptr)}side(){return r.cursor_side(this.__wbg_ptr)}static decode(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.cursor_decode(t,n);if(a[2])throw s(a[1]);return fs.__wrap(a[0])}encode(){let e=r.cursor_encode(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}},oe=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_ephemeralstorewasm_free(_>>>0,1)),D_=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,oe.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_ephemeralstorewasm_free(_,0)}getAllStates(){let _=r.ephemeralstorewasm_getAllStates(this.__wbg_ptr);if(_[2])throw s(_[1]);return s(_[0])}removeOutdated(){r.ephemeralstorewasm_removeOutdated(this.__wbg_ptr)}subscribeLocalUpdates(_){return r.ephemeralstorewasm_subscribeLocalUpdates(this.__wbg_ptr,_)}get(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l;return r.ephemeralstorewasm_get(this.__wbg_ptr,e,t)}constructor(_){return this.__wbg_ptr=r.ephemeralstorewasm_new(_)>>>0,oe.register(this,this.__wbg_ptr,this),this}set(_,e){let t=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.ephemeralstorewasm_set(this.__wbg_ptr,t,n,e)}keys(){let _=r.ephemeralstorewasm_keys(this.__wbg_ptr);var e=m(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}apply(_){let e=v(_,r.__wbindgen_malloc),t=l,n=r.ephemeralstorewasm_apply(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}delete(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l;r.ephemeralstorewasm_delete(this.__wbg_ptr,e,t)}encode(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l,n=r.ephemeralstorewasm_encode(this.__wbg_ptr,e,t);var a=y(n[0],n[1]).slice();return r.__wbindgen_free(n[0],n[1]*1,1),a}isEmpty(){return r.ephemeralstorewasm_isEmpty(this.__wbg_ptr)!==0}encodeAll(){let _=r.ephemeralstorewasm_encodeAll(this.__wbg_ptr);var e=y(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*1,1),e}subscribe(_){return r.ephemeralstorewasm_subscribe(this.__wbg_ptr,_)}},V=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorocounter_free(_>>>0,1)),J=class Fi{static __wrap(e){e>>>=0;let t=Object.create(Fi.prototype);return t.__wbg_ptr=e,V.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,V.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorocounter_free(e,0)}isAttached(){return r.lorocounter_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorocounter_getAttached(this.__wbg_ptr)}getShallowValue(){let e=r.lorocounter_getShallowValue(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]}get id(){return r.lorocounter_id(this.__wbg_ptr)}constructor(){return this.__wbg_ptr=r.lorocounter_new()>>>0,V.register(this,this.__wbg_ptr,this),this}kind(){return r.lorocounter_kind(this.__wbg_ptr)}parent(){return r.lorocounter_parent(this.__wbg_ptr)}toJSON(){let e=r.lorocounter_toJSON(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]}decrement(e){let t=r.lorocounter_decrement(this.__wbg_ptr,e);if(t[1])throw s(t[0])}get value(){let e=r.lorocounter_value(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]}increment(e){let t=r.lorocounter_increment(this.__wbg_ptr,e);if(t[1])throw s(t[0])}subscribe(e){let t=r.lorocounter_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},U=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorodoc_free(_>>>0,1)),Q=class k{static __wrap(e){e>>>=0;let t=Object.create(k.prototype);return t.__wbg_ptr=e,U.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,U.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorodoc_free(e,0)}applyDiff(e){let t=r.lorodoc_applyDiff(this.__wbg_ptr,e);if(t[1])throw s(t[0])}isShallow(){return r.lorodoc_isShallow(this.__wbg_ptr)!==0}changeCount(){return r.lorodoc_changeCount(this.__wbg_ptr)>>>0}getByPath(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;return r.lorodoc_getByPath(this.__wbg_ptr,t,n)}getCounter(e){let t=r.lorodoc_getCounter(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return J.__wrap(t[0])}isDetached(){return r.lorodoc_isDetached(this.__wbg_ptr)!==0}get peerIdStr(){return r.lorodoc_peerIdStr(this.__wbg_ptr)}setPeerId(e){let t=r.lorodoc_setPeerId(this.__wbg_ptr,e);if(t[1])throw s(t[0])}getCursorPos(e){I(e,S);let t=r.lorodoc_getCursorPos(this.__wbg_ptr,e.__wbg_ptr);if(t[2])throw s(t[1]);return s(t[0])}hasContainer(e){return r.lorodoc_hasContainer(this.__wbg_ptr,e)!==0}importBatch(e){let t=r.lorodoc_importBatch(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}cmpFrontiers(e,t){let n=f(e,r.__wbindgen_malloc),a=l,i=f(t,r.__wbindgen_malloc),g=l,c=r.lorodoc_cmpFrontiers(this.__wbg_ptr,n,a,i,g);if(c[2])throw s(c[1]);return s(c[0])}debugHistory(){r.lorodoc_debugHistory(this.__wbg_ptr)}static fromSnapshot(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_fromSnapshot(t,n);if(a[2])throw s(a[1]);return k.__wrap(a[0])}getChangeAt(e){let t=r.lorodoc_getChangeAt(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}oplogVersion(){let e=r.lorodoc_oplogVersion(this.__wbg_ptr);return x.__wrap(e)}getMovableList(e){let t=r.lorodoc_getMovableList(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return j.__wrap(t[0])}frontiersToVV(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_frontiersToVV(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return x.__wrap(a[0])}getAllChanges(){return r.lorodoc_getAllChanges(this.__wbg_ptr)}oplogFrontiers(){let e=r.lorodoc_oplogFrontiers(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}vvToFrontiers(e){I(e,x);let t=r.lorodoc_vvToFrontiers(this.__wbg_ptr,e.__wbg_ptr);if(t[2])throw s(t[1]);return s(t[0])}shallowSinceVV(){let e=r.lorodoc_shallowSinceVV(this.__wbg_ptr);return x.__wrap(e)}configTextStyle(e){let t=r.lorodoc_configTextStyle(this.__wbg_ptr,e);if(t[1])throw s(t[0])}getOpsInChange(e){let t=r.lorodoc_getOpsInChange(this.__wbg_ptr,e);if(t[3])throw s(t[2]);var n=m(t[0],t[1]).slice();return r.__wbindgen_free(t[0],t[1]*4,4),n}getShallowValue(){let e=r.lorodoc_getShallowValue(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}checkoutToLatest(){let e=r.lorodoc_checkoutToLatest(this.__wbg_ptr);if(e[1])throw s(e[0])}cmpWithFrontiers(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_cmpWithFrontiers(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return a[0]}exportJsonInIdSpan(e){let t=r.lorodoc_exportJsonInIdSpan(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}subscribeJsonpath(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorodoc_subscribeJsonpath(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}deleteRootContainer(e){let t=r.lorodoc_deleteRootContainer(this.__wbg_ptr,e);if(t[1])throw s(t[0])}exportJsonUpdates(e,t,n){let a=r.lorodoc_exportJsonUpdates(this.__wbg_ptr,e,t,b(n)?16777215:n?1:0);if(a[2])throw s(a[1]);return s(a[0])}getContainerById(e){let t=r.lorodoc_getContainerById(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}getPendingTxnLength(){return r.lorodoc_getPendingTxnLength(this.__wbg_ptr)>>>0}importJsonUpdates(e){let t=r.lorodoc_importJsonUpdates(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}importUpdateBatch(e){let t=r.lorodoc_importUpdateBatch(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}setDetachedEditing(e){r.lorodoc_setDetachedEditing(this.__wbg_ptr,e)}setRecordTimestamp(e){r.lorodoc_setRecordTimestamp(this.__wbg_ptr,e)}subscribePreCommit(e){return r.lorodoc_subscribePreCommit(this.__wbg_ptr,e)}findIdSpansBetween(e,t){let n=f(e,r.__wbindgen_malloc),a=l,i=f(t,r.__wbindgen_malloc),g=l,c=r.lorodoc_findIdSpansBetween(this.__wbg_ptr,n,a,i,g);if(c[2])throw s(c[1]);return s(c[0])}getChangeAtLamport(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorodoc_getChangeAtLamport(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}getPathToContainer(e){let t=r.lorodoc_getPathToContainer(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}getChangedContainersIn(e,t){let n=r.lorodoc_getChangedContainersIn(this.__wbg_ptr,e,t);if(n[3])throw s(n[2]);var a=m(n[0],n[1]).slice();return r.__wbindgen_free(n[0],n[1]*4,4),a}getDeepValueWithID(){return r.lorodoc_getDeepValueWithID(this.__wbg_ptr)}setNextCommitOrigin(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.lorodoc_setNextCommitOrigin(this.__wbg_ptr,t,n)}getUncommittedOpsAsJson(){let e=r.lorodoc_getUncommittedOpsAsJson(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}setNextCommitMessage(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.lorodoc_setNextCommitMessage(this.__wbg_ptr,t,n)}setNextCommitOptions(e){let t=r.lorodoc_setNextCommitOptions(this.__wbg_ptr,e);if(t[1])throw s(t[0])}shallowSinceFrontiers(){let e=r.lorodoc_shallowSinceFrontiers(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}subscribeLocalUpdates(e){return r.lorodoc_subscribeLocalUpdates(this.__wbg_ptr,e)}travelChangeAncestors(e,t){let n=f(e,r.__wbindgen_malloc),a=l,i=r.lorodoc_travelChangeAncestors(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}clearNextCommitOptions(){r.lorodoc_clearNextCommitOptions(this.__wbg_ptr)}configDefaultTextStyle(e){let t=r.lorodoc_configDefaultTextStyle(this.__wbg_ptr,e);if(t[1])throw s(t[0])}setChangeMergeInterval(e){r.lorodoc_setChangeMergeInterval(this.__wbg_ptr,e)}setNextCommitTimestamp(e){r.lorodoc_setNextCommitTimestamp(this.__wbg_ptr,e)}setHideEmptyRootContainers(e){let t=r.lorodoc_setHideEmptyRootContainers(this.__wbg_ptr,e);if(t[1])throw s(t[0])}isDetachedEditingEnabled(){return r.lorodoc_isDetachedEditingEnabled(this.__wbg_ptr)!==0}subscribeFirstCommitFromPeer(e){return r.lorodoc_subscribeFirstCommitFromPeer(this.__wbg_ptr,e)}constructor(){return this.__wbg_ptr=r.lorodoc_new()>>>0,U.register(this,this.__wbg_ptr,this),this}diff(e,t,n){let a=f(e,r.__wbindgen_malloc),i=l,g=f(t,r.__wbindgen_malloc),c=l,h=r.lorodoc_diff(this.__wbg_ptr,a,i,g,c,b(n)?16777215:n?1:0);if(h[2])throw s(h[1]);return s(h[0])}fork(){let e=r.lorodoc_fork(this.__wbg_ptr);return k.__wrap(e)}attach(){r.lorodoc_attach(this.__wbg_ptr)}commit(e){let t=r.lorodoc_commit(this.__wbg_ptr,b(e)?0:C(e));if(t[1])throw s(t[0])}detach(){r.lorodoc_detach(this.__wbg_ptr)}export(e){let t=r.lorodoc_export(this.__wbg_ptr,e);if(t[3])throw s(t[2]);var n=y(t[0],t[1]).slice();return r.__wbindgen_free(t[0],t[1]*1,1),n}import(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_import(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return s(a[0])}forkAt(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_forkAt(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return k.__wrap(a[0])}getMap(e){let t=r.lorodoc_getMap(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return N.__wrap(t[0])}opCount(){return r.lorodoc_opCount(this.__wbg_ptr)>>>0}get peerId(){let e=r.lorodoc_peerId(this.__wbg_ptr);return BigInt.asUintN(64,e)}toJSON(){let e=r.lorodoc_toJSON(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}version(){let e=r.lorodoc_version(this.__wbg_ptr);return x.__wrap(e)}checkout(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_checkout(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}getList(e){let t=r.lorodoc_getList(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return M.__wrap(t[0])}getText(e){let t=r.lorodoc_getText(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return L.__wrap(t[0])}getTree(e){let t=r.lorodoc_getTree(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return q.__wrap(t[0])}frontiers(){let e=r.lorodoc_frontiers(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}JSONPath(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.lorodoc_JSONPath(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return s(a[0])}revertTo(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_revertTo(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}subscribe(e){return r.lorodoc_subscribe(this.__wbg_ptr,e)}},P=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorolist_free(_>>>0,1)),M=class Di{static __wrap(e){e>>>=0;let t=Object.create(Di.prototype);return t.__wbg_ptr=e,P.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,P.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorolist_free(e,0)}isAttached(){return r.lorolist_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorolist_getAttached(this.__wbg_ptr)}pushContainer(e){let t=r.lorolist_pushContainer(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}insertContainer(e,t){let n=r.lorolist_insertContainer(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getShallowValue(){return r.lorolist_getShallowValue(this.__wbg_ptr)}get id(){return r.lorolist_id(this.__wbg_ptr)}get(e){return r.lorolist_get(this.__wbg_ptr,e)}constructor(){return this.__wbg_ptr=r.lorolist_new()>>>0,P.register(this,this.__wbg_ptr,this),this}pop(){let e=r.lorolist_pop(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}kind(){return r.lorolist_kind(this.__wbg_ptr)}push(e){let t=r.lorolist_push(this.__wbg_ptr,e);if(t[1])throw s(t[0])}clear(){let e=r.lorolist_clear(this.__wbg_ptr);if(e[1])throw s(e[0])}delete(e,t){let n=r.lorolist_delete(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}insert(e,t){let n=r.lorolist_insert(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}get length(){return r.lorolist_length(this.__wbg_ptr)>>>0}parent(){return r.lorolist_parent(this.__wbg_ptr)}getIdAt(e){let t=r.lorolist_getIdAt(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}toJSON(){return r.lorolist_toJSON(this.__wbg_ptr)}toArray(){let e=r.lorolist_toArray(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}getCursor(e,t){let n=r.lorolist_getCursor(this.__wbg_ptr,e,t);return n===0?void 0:S.__wrap(n)}isDeleted(){return r.lorolist_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorolist_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},B=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_loromap_free(_>>>0,1)),N=class Li{static __wrap(e){e>>>=0;let t=Object.create(Li.prototype);return t.__wbg_ptr=e,B.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,B.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_loromap_free(e,0)}isAttached(){return r.loromap_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.loromap_getAttached(this.__wbg_ptr)}getLastEditor(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;return r.loromap_getLastEditor(this.__wbg_ptr,t,n)}setContainer(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.loromap_setContainer(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}getShallowValue(){return r.loromap_getShallowValue(this.__wbg_ptr)}getOrCreateContainer(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.loromap_getOrCreateContainer(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}get id(){return r.loromap_id(this.__wbg_ptr)}get(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;return r.loromap_get(this.__wbg_ptr,t,n)}constructor(){return this.__wbg_ptr=r.loromap_new()>>>0,B.register(this,this.__wbg_ptr,this),this}keys(){let e=r.loromap_keys(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}kind(){return r.loromap_kind(this.__wbg_ptr)}get size(){return r.loromap_size(this.__wbg_ptr)>>>0}clear(){let e=r.loromap_clear(this.__wbg_ptr);if(e[1])throw s(e[0])}delete(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.loromap_delete(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}set(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.loromap_set(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}parent(){return r.loromap_parent(this.__wbg_ptr)}values(){let e=r.loromap_values(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}entries(){let e=r.loromap_entries(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}toJSON(){return r.loromap_toJSON(this.__wbg_ptr)}isDeleted(){return r.loromap_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.loromap_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_loromovablelist_free(_>>>0,1)),j=class ki{static __wrap(e){e>>>=0;let t=Object.create(ki.prototype);return t.__wbg_ptr=e,z.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,z.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_loromovablelist_free(e,0)}isAttached(){return r.loromovablelist_isAttached(this.__wbg_ptr)!==0}getCreatorAt(e){return r.loromovablelist_getCreatorAt(this.__wbg_ptr,e)}getAttached(){return r.loromovablelist_getAttached(this.__wbg_ptr)}setContainer(e,t){let n=r.loromovablelist_setContainer(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getLastMoverAt(e){return r.loromovablelist_getLastMoverAt(this.__wbg_ptr,e)}pushContainer(e){let t=r.loromovablelist_pushContainer(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}getLastEditorAt(e){return r.loromovablelist_getLastEditorAt(this.__wbg_ptr,e)}insertContainer(e,t){let n=r.loromovablelist_insertContainer(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getShallowValue(){return r.loromovablelist_getShallowValue(this.__wbg_ptr)}get id(){return r.loromovablelist_id(this.__wbg_ptr)}get(e){return r.loromovablelist_get(this.__wbg_ptr,e)}move(e,t){let n=r.loromovablelist_move(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}constructor(){return this.__wbg_ptr=r.loromovablelist_new()>>>0,z.register(this,this.__wbg_ptr,this),this}pop(){let e=r.loromovablelist_pop(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}set(e,t){let n=r.loromovablelist_set(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}kind(){return r.loromovablelist_kind(this.__wbg_ptr)}push(e){let t=r.loromovablelist_push(this.__wbg_ptr,e);if(t[1])throw s(t[0])}clear(){let e=r.loromovablelist_clear(this.__wbg_ptr);if(e[1])throw s(e[0])}delete(e,t){let n=r.loromovablelist_delete(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}insert(e,t){let n=r.loromovablelist_insert(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}get length(){return r.loromovablelist_length(this.__wbg_ptr)>>>0}parent(){return r.loromovablelist_parent(this.__wbg_ptr)}toJSON(){return r.loromovablelist_toJSON(this.__wbg_ptr)}toArray(){let e=r.loromovablelist_toArray(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}getCursor(e,t){let n=r.loromovablelist_getCursor(this.__wbg_ptr,e,t);return n===0?void 0:S.__wrap(n)}isDeleted(){return r.loromovablelist_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.loromovablelist_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},W=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotext_free(_>>>0,1)),L=class Ei{static __wrap(e){e>>>=0;let t=Object.create(Ei.prototype);return t.__wbg_ptr=e,W.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotext_free(e,0)}applyDelta(e){let t=r.lorotext_applyDelta(this.__wbg_ptr,e);if(t[1])throw s(t[0])}convertPos(e,t,n){let a=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,g=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=l;return r.lorotext_convertPos(this.__wbg_ptr,e,a,i,g,c)}deleteUtf8(e,t){let n=r.lorotext_deleteUtf8(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}getEditorOf(e){return r.lorotext_getEditorOf(this.__wbg_ptr,e)}insertUtf8(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_insertUtf8(this.__wbg_ptr,e,n,a);if(i[1])throw s(i[0])}isAttached(){return r.lorotext_isAttached(this.__wbg_ptr)!==0}sliceDelta(e,t){let n=r.lorotext_sliceDelta(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getAttached(){return r.lorotext_getAttached(this.__wbg_ptr)}updateByLine(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_updateByLine(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}sliceDeltaUtf8(e,t){let n=r.lorotext_sliceDeltaUtf8(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getShallowValue(){let e,t;try{let n=r.lorotext_getShallowValue(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get id(){return r.lorotext_id(this.__wbg_ptr)}constructor(){return this.__wbg_ptr=r.lorotext_new()>>>0,W.register(this,this.__wbg_ptr,this),this}iter(e){let t=r.lorotext_iter(this.__wbg_ptr,e);if(t[1])throw s(t[0])}kind(){return r.lorotext_kind(this.__wbg_ptr)}mark(e,t,n){let a=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,g=r.lorotext_mark(this.__wbg_ptr,e,a,i,n);if(g[1])throw s(g[0])}push(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.lorotext_push(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}slice(e,t){let n,a;try{let c=r.lorotext_slice(this.__wbg_ptr,e,t);var i=c[0],g=c[1];if(c[3])throw i=0,g=0,s(c[2]);return n=i,a=g,w(i,g)}finally{r.__wbindgen_free(n,a,1)}}delete(e,t){let n=r.lorotext_delete(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}insert(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_insert(this.__wbg_ptr,e,n,a);if(i[1])throw s(i[0])}get length(){return r.lorotext_length(this.__wbg_ptr)>>>0}parent(){return r.lorotext_parent(this.__wbg_ptr)}splice(e,t,n){let a,i;try{let h=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),G=l,K=r.lorotext_splice(this.__wbg_ptr,e,t,h,G);var g=K[0],c=K[1];if(K[3])throw g=0,c=0,s(K[2]);return a=g,i=c,w(g,c)}finally{r.__wbindgen_free(a,i,1)}}unmark(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_unmark(this.__wbg_ptr,e,n,a);if(i[1])throw s(i[0])}update(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_update(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}charAt(e){let t=r.lorotext_charAt(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return String.fromCodePoint(t[0])}toJSON(){return r.lorotext_toJSON(this.__wbg_ptr)}toDelta(){let e=r.lorotext_toDelta(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}getCursor(e,t){let n=r.lorotext_getCursor(this.__wbg_ptr,e,t);return n===0?void 0:S.__wrap(n)}isDeleted(){return r.lorotext_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorotext_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}toString(){let e,t;try{let n=r.lorotext_toString(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}},H=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotree_free(_>>>0,1)),q=class Ri{static __wrap(e){e>>>=0;let t=Object.create(Ri.prototype);return t.__wbg_ptr=e,H.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,H.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotree_free(e,0)}createNode(e,t){let n=r.lorotree_createNode(this.__wbg_ptr,e,b(t)?4294967297:t>>>0);if(n[2])throw s(n[1]);return D.__wrap(n[0])}isAttached(){return r.lorotree_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorotree_getAttached(this.__wbg_ptr)}getNodeByID(e){let t=r.lorotree_getNodeByID(this.__wbg_ptr,e);return t===0?void 0:D.__wrap(t)}isNodeDeleted(e){let t=r.lorotree_isNodeDeleted(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return t[0]!==0}getShallowValue(){return r.lorotree_getShallowValue(this.__wbg_ptr)}enableFractionalIndex(e){r.lorotree_enableFractionalIndex(this.__wbg_ptr,e)}disableFractionalIndex(){r.lorotree_disableFractionalIndex(this.__wbg_ptr)}isFractionalIndexEnabled(){return r.lorotree_isFractionalIndexEnabled(this.__wbg_ptr)!==0}get id(){return r.lorotree_id(this.__wbg_ptr)}move(e,t,n){let a=r.lorotree_move(this.__wbg_ptr,e,t,b(n)?4294967297:n>>>0);if(a[1])throw s(a[0])}constructor(){return this.__wbg_ptr=r.lorotree_new()>>>0,H.register(this,this.__wbg_ptr,this),this}kind(){return r.lorotree_kind(this.__wbg_ptr)}nodes(){let e=r.lorotree_nodes(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}roots(){let e=r.lorotree_roots(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}delete(e){let t=r.lorotree_delete(this.__wbg_ptr,e);if(t[1])throw s(t[0])}parent(){return r.lorotree_parent(this.__wbg_ptr)}toJSON(){return r.lorotree_toJSON(this.__wbg_ptr)}has(e){return r.lorotree_has(this.__wbg_ptr,e)!==0}toArray(){let e=r.lorotree_toArray(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}getNodes(e){let t=r.lorotree_getNodes(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}isDeleted(){return r.lorotree_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorotree_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},ne=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotreenode_free(_>>>0,1)),D=class F{static __wrap(e){e>>>=0;let t=Object.create(F.prototype);return t.__wbg_ptr=e,ne.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ne.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotreenode_free(e,0)}creationId(){let e=r.lorotreenode_creationId(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}isDeleted(){let e=r.lorotreenode_isDeleted(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]!==0}moveBefore(e){I(e,F);let t=r.lorotreenode_moveBefore(this.__wbg_ptr,e.__wbg_ptr);if(t[1])throw s(t[0])}createNode(e){let t=r.lorotreenode_createNode(this.__wbg_ptr,b(e)?4294967297:e>>>0);if(t[2])throw s(t[1]);return F.__wrap(t[0])}getLastMoveId(){let e=r.lorotreenode_getLastMoveId(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}toJSON(){let e=r.lorotreenode_toJSON(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}fractionalIndex(){let e=r.lorotreenode_fractionalIndex(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}__getClassname(){let e,t;try{let n=r.lorotreenode___getClassname(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get id(){return r.lorotreenode_id(this.__wbg_ptr)}move(e,t){let n=r.lorotreenode_move(this.__wbg_ptr,e,b(t)?4294967297:t>>>0);if(n[1])throw s(n[0])}get data(){let e=r.lorotreenode_data(this.__wbg_ptr);if(e[2])throw s(e[1]);return N.__wrap(e[0])}index(){let e=r.lorotreenode_index(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]===4294967297?void 0:e[0]}parent(){let e=r.lorotreenode_parent(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]===0?void 0:F.__wrap(e[0])}creator(){return r.lorotreenode_creator(this.__wbg_ptr)}children(){return r.lorotreenode_children(this.__wbg_ptr)}moveAfter(e){I(e,F);let t=r.lorotreenode_moveAfter(this.__wbg_ptr,e.__wbg_ptr);if(t[1])throw s(t[0])}},se=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_undomanager_free(_>>>0,1)),K_=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,se.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_undomanager_free(_,0)}groupStart(){let _=r.undomanager_groupStart(this.__wbg_ptr);if(_[1])throw s(_[0])}topRedoValue(){return r.undomanager_topRedoValue(this.__wbg_ptr)}topUndoValue(){return r.undomanager_topUndoValue(this.__wbg_ptr)}setMaxUndoSteps(_){r.undomanager_setMaxUndoSteps(this.__wbg_ptr,_)}setMergeInterval(_){r.undomanager_setMergeInterval(this.__wbg_ptr,_)}addExcludeOriginPrefix(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l;r.undomanager_addExcludeOriginPrefix(this.__wbg_ptr,e,t)}constructor(_,e){return I(_,Q),this.__wbg_ptr=r.undomanager_new(_.__wbg_ptr,e)>>>0,se.register(this,this.__wbg_ptr,this),this}peer(){return r.undomanager_peer(this.__wbg_ptr)}redo(){let _=r.undomanager_redo(this.__wbg_ptr);if(_[2])throw s(_[1]);return _[0]!==0}undo(){let _=r.undomanager_undo(this.__wbg_ptr);if(_[2])throw s(_[1]);return _[0]!==0}clear(){r.undomanager_clear(this.__wbg_ptr)}canRedo(){return r.undomanager_canRedo(this.__wbg_ptr)!==0}canUndo(){return r.undomanager_canUndo(this.__wbg_ptr)!==0}groupEnd(){r.undomanager_groupEnd(this.__wbg_ptr)}setOnPop(_){r.undomanager_setOnPop(this.__wbg_ptr,_)}setOnPush(_){r.undomanager_setOnPush(this.__wbg_ptr,_)}},$=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_versionvector_free(_>>>0,1)),x=class E{static __wrap(e){e>>>=0;let t=Object.create(E.prototype);return t.__wbg_ptr=e,$.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_versionvector_free(e,0)}get(e){let t=r.versionvector_get(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return t[0]===4294967297?void 0:t[0]}constructor(e){let t=r.versionvector_new(e);if(t[2])throw s(t[1]);return this.__wbg_ptr=t[0]>>>0,$.register(this,this.__wbg_ptr,this),this}static decode(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.versionvector_decode(t,n);if(a[2])throw s(a[1]);return E.__wrap(a[0])}encode(){let e=r.versionvector_encode(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}length(){return r.versionvector_length(this.__wbg_ptr)>>>0}remove(e){let t=r.versionvector_remove(this.__wbg_ptr,e);if(t[1])throw s(t[0])}setEnd(e){let t=r.versionvector_setEnd(this.__wbg_ptr,e);if(t[1])throw s(t[0])}compare(e){I(e,E);let t=r.versionvector_compare(this.__wbg_ptr,e.__wbg_ptr);return t===4294967297?void 0:t}setLast(e){let t=r.versionvector_setLast(this.__wbg_ptr,e);if(t[1])throw s(t[0])}toJSON(){return r.versionvector_toJSON(this.__wbg_ptr)}static parseJSON(e){let t=r.versionvector_parseJSON(e);if(t[2])throw s(t[1]);return E.__wrap(t[0])}};function Cs(_,e){let t=d(String(e),r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;u().setInt32(_+4,n,!0),u().setInt32(_+0,t,!0)}function As(){return p(function(_,e,t){return _.apply(e,t)},arguments)}function Os(){return p(function(_,e,t){return Reflect.apply(_,e,t)},arguments)}function Is(_){return _.buffer}function Ns(){return p(function(_,e){return _.call(e)},arguments)}function Fs(){return p(function(_,e,t){return _.call(e,t)},arguments)}function Ds(){return p(function(_,e,t,n){return _.call(e,t,n)},arguments)}function Ls(){return p(function(_,e,t,n,a){return _.call(e,t,n,a)},arguments)}function ks(_){return re.__wrap(_)}function Es(_){return _.crypto}function Rs(_){return S.__wrap(_)}function Ts(_){return _.done}function Vs(_){return Object.entries(_)}function Js(_){return _.entries()}function Us(_,e){let t,n;try{t=_,n=e,console.error(w(_,e))}finally{r.__wbindgen_free(t,n,1)}}function Ps(_,e){console.error(w(_,e))}function Ms(_){return Array.from(_)}function Bs(_){return Object.getOwnPropertySymbols(_)}function zs(){return p(function(_,e){_.getRandomValues(e)},arguments)}function js(){return p(function(_,e){return Reflect.get(_,e)},arguments)}function Ws(_,e){return _[e>>>0]}function Hs(_,e){return _[e>>>0]}function qs(_,e){return _[e]}function $s(_){let e;try{e=_ instanceof ArrayBuffer}catch{e=!1}return e}function Gs(_){let e;try{e=_ instanceof Map}catch{e=!1}return e}function Ks(_){let e;try{e=_ instanceof Object}catch{e=!1}return e}function Qs(_){let e;try{e=_ instanceof Uint8Array}catch{e=!1}return e}function Xs(_){return Array.isArray(_)}function Ys(_){return Number.isSafeInteger(_)}function Zs(){return Symbol.iterator}function ea(_){return _.length}function ta(_){return _.length}function ra(_,e,t,n,a,i,g,c){let h,G;try{h=_,G=e,console.log(w(_,e),w(t,n),w(a,i),w(g,c))}finally{r.__wbindgen_free(h,G,1)}}function _a(_,e){console.log(w(_,e))}function oa(_,e){let t,n;try{t=_,n=e,console.log(w(_,e))}finally{r.__wbindgen_free(t,n,1)}}function na(_){return J.__wrap(_)}function sa(_){return M.__wrap(_)}function aa(_){return N.__wrap(_)}function ia(_){return j.__wrap(_)}function la(_){return L.__wrap(_)}function ga(_){return q.__wrap(_)}function ca(_){return D.__wrap(_)}function da(_,e){performance.mark(w(_,e))}function wa(){return p(function(_,e,t,n){let a,i,g,c;try{a=_,i=e,g=t,c=n,performance.measure(w(_,e),w(t,n))}finally{r.__wbindgen_free(a,i,1),r.__wbindgen_free(g,c,1)}},arguments)}function ba(_){return _.msCrypto}function ua(){return{}}function pa(){return new Map}function ha(){return[]}function fa(){return Error()}function ma(_){return new Uint8Array(_)}function va(_,e){return Function(w(_,e))}function ya(_,e,t){return new Uint8Array(_,e>>>0,t>>>0)}function xa(_){return new Uint8Array(_>>>0)}function Sa(_){return Array(_>>>0)}function Ca(_){return _.next}function Aa(){return p(function(_){return _.next()},arguments)}function Oa(_){return _.node}function Ia(){return Date.now()}function Na(){return p(function(_){return Reflect.ownKeys(_)},arguments)}function Fa(_){return _.process}function Da(_,e){return _.push(e)}function La(){return p(function(_,e){_.randomFillSync(e)},arguments)}function ka(){return p(function(){return module.require},arguments)}function Ea(_){return Promise.resolve(_)}function Ra(_,e,t){_[e>>>0]=t}function Ta(_,e,t){_[e]=t}function Va(_,e,t){_.set(e,t>>>0)}function Ja(_,e,t){return _.set(e,t)}function Ua(){return p(function(_,e,t){return Reflect.set(_,e,t)},arguments)}function Pa(_,e,t){_[e>>>0]=t}function Ma(_,e){let t=e.stack,n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;u().setInt32(_+4,a,!0),u().setInt32(_+0,n,!0)}function Ba(){let _=typeof global>"u"?null:global;return b(_)?0:C(_)}function za(){let _=typeof globalThis>"u"?null:globalThis;return b(_)?0:C(_)}function ja(){let _=typeof self>"u"?null:self;return b(_)?0:C(_)}function Wa(){let _=typeof window>"u"?null:window;return b(_)?0:C(_)}function Ha(_,e,t){return _.subarray(e>>>0,t>>>0)}function qa(_,e){return _.then(e)}function $a(_){return _.value}function Ga(_){return _.versions}function Ka(_){return x.__wrap(_)}function Qa(_,e){console.warn(w(_,e))}function Xa(_){return+_}function Ya(_){return _}function Za(_){return BigInt.asUintN(64,_)}function ei(_,e){let t=e,n=typeof t=="bigint"?t:void 0;u().setBigInt64(_+8,b(n)?BigInt(0):n,!0),u().setInt32(_+0,!b(n),!0)}function ti(_){let e=_;return typeof e=="boolean"?e?1:0:2}function ri(_){let e=_.original;return e.cnt--==1?(e.a=0,!0):!1}function _i(_,e,t){return Ss(_,e,10,ji)}function oi(_,e,t){return Ss(_,e,10,Wi)}function ni(_,e){let t=d(Z(e),r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;u().setInt32(_+4,n,!0),u().setInt32(_+0,t,!0)}function si(_,e){return Error(w(_,e))}function ai(_,e){return _ in e}X=function(){let _=r.__wbindgen_export_4,e=_.grow(4);_.set(0,void 0),_.set(e+0,void 0),_.set(e+1,null),_.set(e+2,!0),_.set(e+3,!1)};function ii(_){return Array.isArray(_)}function li(_){return typeof _=="bigint"}function gi(_){return!_}function ci(_){return typeof _=="function"}function di(_){return _===null}function wi(_){let e=_;return typeof e=="object"&&!!e}function bi(_){return typeof _=="string"}function ui(_){return _===void 0}function pi(_,e){return _===e}function hi(_,e){return _==e}function fi(){return r.memory}function mi(_,e){let t=e,n=typeof t=="number"?t:void 0;u().setFloat64(_+8,b(n)?0:n,!0),u().setInt32(_+0,!b(n),!0)}function vi(_){return _}function yi(_){throw _}function xi(_,e){let t=e,n=typeof t=="string"?t:void 0;var a=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;u().setInt32(_+4,i,!0),u().setInt32(_+0,a,!0)}function Si(_,e){return w(_,e)}function Ci(_,e){throw Error(w(_,e))}function Ai(_){return typeof _}Ii=Oi({LORO_VERSION:()=>Fn,__externref_drop_slice:()=>zo,__externref_table_alloc:()=>pn,__externref_table_dealloc:()=>go,__wbg_awarenesswasm_free:()=>w_,__wbg_changemodifier_free:()=>Ko,__wbg_cursor_free:()=>Sn,__wbg_ephemeralstorewasm_free:()=>O_,__wbg_lorocounter_free:()=>Do,__wbg_lorodoc_free:()=>Vn,__wbg_lorolist_free:()=>E_,__wbg_loromap_free:()=>H_,__wbg_loromovablelist_free:()=>rn,__wbg_lorotext_free:()=>Vo,__wbg_lorotree_free:()=>_o,__wbg_lorotreenode_free:()=>X_,__wbg_undomanager_free:()=>a_,__wbg_versionvector_free:()=>zn,__wbindgen_exn_store:()=>ss,__wbindgen_export_4:()=>v_,__wbindgen_export_6:()=>es,__wbindgen_free:()=>wr,__wbindgen_malloc:()=>Ae,__wbindgen_realloc:()=>Gn,__wbindgen_start:()=>mr,_dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2222385ed10d04df:()=>Je,awarenesswasm_apply:()=>Le,awarenesswasm_encode:()=>jt,awarenesswasm_encodeAll:()=>Co,awarenesswasm_getAllStates:()=>we,awarenesswasm_getState:()=>fo,awarenesswasm_getTimestamp:()=>Lt,awarenesswasm_isEmpty:()=>Jt,awarenesswasm_length:()=>Kt,awarenesswasm_new:()=>je,awarenesswasm_peer:()=>at,awarenesswasm_peers:()=>At,awarenesswasm_removeOutdated:()=>ar,awarenesswasm_setLocalState:()=>ds,callPendingEvents:()=>me,changemodifier_setMessage:()=>Lr,changemodifier_setTimestamp:()=>tt,closure9_externref_shim:()=>Ar,cursor_containerId:()=>Jr,cursor_decode:()=>Ke,cursor_encode:()=>mt,cursor_kind:()=>gn,cursor_pos:()=>wt,cursor_side:()=>Kr,decodeFrontiers:()=>jr,decodeImportBlobMeta:()=>t_,encodeFrontiers:()=>tr,ephemeralstorewasm_apply:()=>ae,ephemeralstorewasm_delete:()=>W_,ephemeralstorewasm_encode:()=>Tn,ephemeralstorewasm_encodeAll:()=>Go,ephemeralstorewasm_get:()=>xn,ephemeralstorewasm_getAllStates:()=>ho,ephemeralstorewasm_isEmpty:()=>m_,ephemeralstorewasm_keys:()=>tn,ephemeralstorewasm_new:()=>Nn,ephemeralstorewasm_removeOutdated:()=>k_,ephemeralstorewasm_set:()=>To,ephemeralstorewasm_subscribe:()=>Bn,ephemeralstorewasm_subscribeLocalUpdates:()=>U_,lorocounter_decrement:()=>ln,lorocounter_getAttached:()=>Bo,lorocounter_getShallowValue:()=>lo,lorocounter_id:()=>ro,lorocounter_increment:()=>d_,lorocounter_isAttached:()=>$n,lorocounter_kind:()=>cs,lorocounter_new:()=>A_,lorocounter_parent:()=>ns,lorocounter_subscribe:()=>fr,lorocounter_toJSON:()=>De,lorocounter_value:()=>Zn,lorodoc_JSONPath:()=>Cr,lorodoc_applyDiff:()=>ze,lorodoc_attach:()=>Ve,lorodoc_changeCount:()=>Gt,lorodoc_checkout:()=>Fo,lorodoc_checkoutToLatest:()=>fe,lorodoc_clearNextCommitOptions:()=>So,lorodoc_cmpFrontiers:()=>Vt,lorodoc_cmpWithFrontiers:()=>zt,lorodoc_commit:()=>er,lorodoc_configDefaultTextStyle:()=>Ge,lorodoc_configTextStyle:()=>dt,lorodoc_debugHistory:()=>Dt,lorodoc_deleteRootContainer:()=>dr,lorodoc_detach:()=>hs,lorodoc_diff:()=>Ce,lorodoc_export:()=>Vr,lorodoc_exportJsonInIdSpan:()=>st,lorodoc_exportJsonUpdates:()=>Dr,lorodoc_findIdSpansBetween:()=>zr,lorodoc_fork:()=>et,lorodoc_forkAt:()=>Ct,lorodoc_fromSnapshot:()=>un,lorodoc_frontiers:()=>ft,lorodoc_frontiersToVV:()=>e_,lorodoc_getAllChanges:()=>Gr,lorodoc_getByPath:()=>s_,lorodoc_getChangeAt:()=>sr,lorodoc_getChangeAtLamport:()=>de,lorodoc_getChangedContainersIn:()=>B_,lorodoc_getContainerById:()=>kn,lorodoc_getCounter:()=>Ho,lorodoc_getCursorPos:()=>mn,lorodoc_getDeepValueWithID:()=>bo,lorodoc_getList:()=>p_,lorodoc_getMap:()=>Yo,lorodoc_getMovableList:()=>On,lorodoc_getOpsInChange:()=>F_,lorodoc_getPathToContainer:()=>Eo,lorodoc_getPendingTxnLength:()=>Pn,lorodoc_getShallowValue:()=>V_,lorodoc_getText:()=>G_,lorodoc_getTree:()=>nn,lorodoc_getUncommittedOpsAsJson:()=>Po,lorodoc_hasContainer:()=>so,lorodoc_import:()=>eo,lorodoc_importBatch:()=>g_,lorodoc_importJsonUpdates:()=>Hn,lorodoc_importUpdateBatch:()=>ls,lorodoc_isDetached:()=>S_,lorodoc_isDetachedEditingEnabled:()=>_s,lorodoc_isShallow:()=>pr,lorodoc_new:()=>Ne,lorodoc_opCount:()=>Xn,lorodoc_oplogFrontiers:()=>xr,lorodoc_oplogVersion:()=>Me,lorodoc_peerId:()=>Re,lorodoc_peerIdStr:()=>qt,lorodoc_revertTo:()=>Io,lorodoc_setChangeMergeInterval:()=>pe,lorodoc_setDetachedEditing:()=>yo,lorodoc_setHideEmptyRootContainers:()=>Rt,lorodoc_setNextCommitMessage:()=>Mt,lorodoc_setNextCommitOptions:()=>Yt,lorodoc_setNextCommitOrigin:()=>qe,lorodoc_setNextCommitTimestamp:()=>gt,lorodoc_setPeerId:()=>Nt,lorodoc_setRecordTimestamp:()=>gr,lorodoc_shallowSinceFrontiers:()=>us,lorodoc_shallowSinceVV:()=>xe,lorodoc_subscribe:()=>Rr,lorodoc_subscribeFirstCommitFromPeer:()=>ot,lorodoc_subscribeJsonpath:()=>Nr,lorodoc_subscribeLocalUpdates:()=>Mr,lorodoc_subscribePreCommit:()=>Ye,lorodoc_toJSON:()=>xt,lorodoc_travelChangeAncestors:()=>wn,lorodoc_version:()=>pt,lorodoc_vvToFrontiers:()=>Yr,lorolist_clear:()=>qr,lorolist_delete:()=>o_,lorolist_get:()=>or,lorolist_getAttached:()=>ge,lorolist_getCursor:()=>j_,lorolist_getIdAt:()=>Rn,lorolist_getShallowValue:()=>$o,lorolist_id:()=>yn,lorolist_insert:()=>po,lorolist_insertContainer:()=>f_,lorolist_isAttached:()=>en,lorolist_isDeleted:()=>In,lorolist_kind:()=>L_,lorolist_length:()=>Ro,lorolist_new:()=>Mn,lorolist_parent:()=>J_,lorolist_pop:()=>Q_,lorolist_push:()=>an,lorolist_pushContainer:()=>Mo,lorolist_subscribe:()=>io,lorolist_toArray:()=>to,lorolist_toJSON:()=>c_,loromap_clear:()=>qn,loromap_delete:()=>gs,loromap_entries:()=>C_,loromap_get:()=>os,loromap_getAttached:()=>hr,loromap_getLastEditor:()=>Fe,loromap_getOrCreateContainer:()=>Yn,loromap_getShallowValue:()=>Sr,loromap_id:()=>Be,loromap_isAttached:()=>Te,loromap_isDeleted:()=>$t,loromap_keys:()=>No,loromap_kind:()=>he,loromap_new:()=>xo,loromap_parent:()=>Tt,loromap_set:()=>Bt,loromap_setContainer:()=>Zt,loromap_size:()=>$e,loromap_subscribe:()=>ct,loromap_toJSON:()=>Ft,loromap_values:()=>cr,loromovablelist_clear:()=>ps,loromovablelist_delete:()=>Se,loromovablelist_get:()=>Tr,loromovablelist_getAttached:()=>nt,loromovablelist_getCreatorAt:()=>Fr,loromovablelist_getCursor:()=>Br,loromovablelist_getLastEditorAt:()=>Ze,loromovablelist_getLastMoverAt:()=>St,loromovablelist_getShallowValue:()=>bn,loromovablelist_id:()=>ht,loromovablelist_insert:()=>Zr,loromovablelist_insertContainer:()=>$r,loromovablelist_isAttached:()=>n_,loromovablelist_isDeleted:()=>nr,loromovablelist_kind:()=>ce,loromovablelist_length:()=>M_,loromovablelist_move:()=>Ln,loromovablelist_new:()=>Wo,loromovablelist_parent:()=>fn,loromovablelist_pop:()=>wo,loromovablelist_push:()=>u_,loromovablelist_pushContainer:()=>Xo,loromovablelist_set:()=>An,loromovablelist_setContainer:()=>N_,loromovablelist_subscribe:()=>ko,loromovablelist_toArray:()=>Un,loromovablelist_toJSON:()=>T_,lorotext_applyDelta:()=>$_,lorotext_charAt:()=>on,lorotext_convertPos:()=>Uo,lorotext_delete:()=>no,lorotext_deleteUtf8:()=>Z_,lorotext_getAttached:()=>l_,lorotext_getCursor:()=>Wn,lorotext_getEditorOf:()=>is,lorotext_getShallowValue:()=>x_,lorotext_id:()=>rs,lorotext_insert:()=>ur,lorotext_insertUtf8:()=>Ie,lorotext_isAttached:()=>Qn,lorotext_isDeleted:()=>yr,lorotext_iter:()=>Pe,lorotext_kind:()=>Ee,lorotext_length:()=>Ht,lorotext_mark:()=>Oo,lorotext_new:()=>ue,lorotext_parent:()=>vo,lorotext_push:()=>Et,lorotext_slice:()=>Pt,lorotext_sliceDelta:()=>Xt,lorotext_sliceDeltaUtf8:()=>He,lorotext_splice:()=>lt,lorotext_subscribe:()=>It,lorotext_toDelta:()=>lr,lorotext_toJSON:()=>bs,lorotext_toString:()=>ye,lorotext_unmark:()=>Er,lorotext_update:()=>_t,lorotext_updateByLine:()=>Ir,lorotree_createNode:()=>Pr,lorotree_delete:()=>Xe,lorotree_disableFractionalIndex:()=>yt,lorotree_enableFractionalIndex:()=>dn,lorotree_getAttached:()=>ut,lorotree_getNodeByID:()=>Xr,lorotree_getNodes:()=>Hr,lorotree_getShallowValue:()=>__,lorotree_has:()=>_r,lorotree_id:()=>le,lorotree_isAttached:()=>P_,lorotree_isDeleted:()=>Dn,lorotree_isFractionalIndexEnabled:()=>jo,lorotree_isNodeDeleted:()=>hn,lorotree_kind:()=>co,lorotree_move:()=>b_,lorotree_new:()=>Qo,lorotree_nodes:()=>Cn,lorotree_parent:()=>I_,lorotree_roots:()=>Lo,lorotree_subscribe:()=>Jn,lorotree_toArray:()=>R_,lorotree_toJSON:()=>q_,lorotreenode___getClassname:()=>_n,lorotreenode_children:()=>Jo,lorotreenode_createNode:()=>oo,lorotreenode_creationId:()=>Y_,lorotreenode_creator:()=>i_,lorotreenode_data:()=>jn,lorotreenode_fractionalIndex:()=>as,lorotreenode_getLastMoveId:()=>y_,lorotreenode_id:()=>ts,lorotreenode_index:()=>br,lorotreenode_isDeleted:()=>Oe,lorotreenode_move:()=>Kn,lorotreenode_moveAfter:()=>vr,lorotreenode_moveBefore:()=>Ue,lorotreenode_parent:()=>ke,lorotreenode_toJSON:()=>Wt,memory:()=>Ao,redactJsonUpdates:()=>be,run:()=>mo,setDebug:()=>kt,undomanager_addExcludeOriginPrefix:()=>Ut,undomanager_canRedo:()=>Qt,undomanager_canUndo:()=>We,undomanager_clear:()=>it,undomanager_groupEnd:()=>Ot,undomanager_groupStart:()=>ir,undomanager_new:()=>ws,undomanager_peer:()=>ve,undomanager_redo:()=>kr,undomanager_setMaxUndoSteps:()=>rt,undomanager_setMergeInterval:()=>Or,undomanager_setOnPop:()=>Ur,undomanager_setOnPush:()=>Qe,undomanager_topRedoValue:()=>vt,undomanager_topUndoValue:()=>cn,undomanager_undo:()=>bt,versionvector_compare:()=>Qr,versionvector_decode:()=>Wr,versionvector_encode:()=>r_,versionvector_get:()=>rr,versionvector_length:()=>ie,versionvector_new:()=>z_,versionvector_parseJSON:()=>En,versionvector_remove:()=>qo,versionvector_setEnd:()=>vn,versionvector_setLast:()=>uo,versionvector_toJSON:()=>h_},1),URL=globalThis.URL;var o=await vs({"./loro_wasm_bg.js":{__wbg_lorotreenode_new:ca,__wbg_loromovablelist_new:ia,__wbg_lorolist_new:sa,__wbg_loromap_new:aa,__wbg_cursor_new:Rs,__wbg_lorocounter_new:na,__wbg_lorotree_new:ga,__wbg_lorotext_new:la,__wbg_versionvector_new:Ka,__wbg_changemodifier_new:ks,__wbindgen_is_function:ci,__wbindgen_number_get:mi,__wbindgen_string_get:xi,__wbindgen_string_new:Si,__wbindgen_boolean_get:ti,__wbindgen_error_new:si,__wbg_error_ec1c81ec21690870:Ps,__wbindgen_cb_drop:ri,__wbindgen_is_undefined:ui,__wbindgen_in:ai,__wbindgen_is_bigint:li,__wbindgen_bigint_from_i64:Ya,__wbindgen_jsval_eq:pi,__wbindgen_is_object:wi,__wbindgen_bigint_from_u64:Za,__wbindgen_as_number:Xa,__wbindgen_number_new:vi,__wbindgen_is_string:bi,__wbindgen_is_null:di,__wbindgen_is_falsy:gi,__wbindgen_typeof:Ai,__wbg_warn_6a7b1c2df711ad0a:Qa,__wbg_log_8c0006defd0ef388:_a,__wbindgen_is_array:ii,__wbg_log_cb9e190acc5753fb:oa,__wbg_log_0cc1b7768397bcfe:ra,__wbg_mark_7438147ce31e9d4b:da,__wbg_measure_fb7825c11612c823:wa,__wbg_new_8a6f238a6ece86ea:fa,__wbg_stack_0ed75d68575b0f3c:Ma,__wbg_error_7534b8e9a36f1ab4:Us,__wbindgen_jsval_loose_eq:hi,__wbg_getwithrefkey_1dc361bd10053bfe:qs,__wbg_set_3f1d0b984ed272ed:Ta,__wbg_String_8f0eb39a4a4c2f66:Cs,__wbg_now_8a87c5466cc7d560:Ia,__wbg_crypto_574e78ad8b13b65f:Es,__wbg_process_dc0fbacc7c1c06f7:Fa,__wbg_versions_c01dfd4722a88165:Ga,__wbg_node_905d3e251edff8a2:Oa,__wbg_require_60cc747a6bc5215a:ka,__wbg_msCrypto_a61aeb35a24c1329:ba,__wbg_randomFillSync_ac0988aba3254290:La,__wbg_getRandomValues_b8f5dbd5f3995a9e:zs,__wbg_new_5e0be73521bc8c17:pa,__wbg_new_78feb108b6472713:ha,__wbg_new_405e22f390576ce2:ua,__wbg_newnoargs_105ed471475aaf50:va,__wbg_new_a12002a7f91c75be:ma,__wbg_buffer_609cc3eee51ed158:Is,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:ya,__wbg_length_a446193dc22c12f8:ea,__wbg_newwithlength_a381634e90c276d4:xa,__wbg_set_65595bdd868b3009:Va,__wbg_subarray_aa9065fa9dc5df96:Ha,__wbg_getindex_5b00c274b05714aa:Hs,__wbg_setindex_dcd71eabf405bde1:Pa,__wbg_done_769e5ede4b31c67b:Ts,__wbg_value_cd1ffa7b1ab794f1:$a,__wbg_instanceof_Map_f3469ce2244d2430:Gs,__wbg_instanceof_Object_7f2dcef8f78644a4:Ks,__wbg_instanceof_Uint8Array_17156bcf118086a9:Qs,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:$s,__wbg_set_8fc6bf8a5b1071d1:Ja,__wbg_entries_c8a90a7ed73e84ce:Js,__wbg_newwithlength_c4c419ef0bc8a1f8:Sa,__wbg_get_b9b93047fe3cf45b:Ws,__wbg_set_37837023f3d740e8:Ra,__wbg_from_2a5d3e218e67aa85:Ms,__wbg_length_e2d2a49132c1b256:ta,__wbg_push_737cfc8c1432c2c6:Da,__wbg_isArray_a1eab7e0d067391b:Xs,__wbg_isSafeInteger_343e2beeeece1bb0:Ys,__wbg_getOwnPropertySymbols_97eebed6fe6e08be:Bs,__wbg_entries_3265d4158b33e5dc:Vs,__wbg_iterator_9a24c88df860dc65:Zs,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:za,__wbg_call_672a4d21634d4a24:Ns,__wbg_static_accessor_SELF_37c5d418e4bf5819:ja,__wbg_static_accessor_GLOBAL_88a902d13a557d07:Ba,__wbg_static_accessor_WINDOW_5de37043a91a9c40:Wa,__wbg_then_44b73946d2fb3e7d:qa,__wbg_resolve_4851785c9c5f573d:Ea,__wbg_get_67b2ba62fc30de12:js,__wbg_set_bb8cecf6a62b9f46:Ua,__wbg_apply_eb9e9b97497f91e4:Os,__wbg_ownKeys_3930041068756f1f:Na,__wbg_apply_36be6a55257c99bf:As,__wbg_call_7cccdd69e0791ae2:Fs,__wbg_call_833bed5770ea2041:Ds,__wbg_call_b8adc8b1d0a0d8eb:Ls,__wbg_next_25feadfc0913fea9:Ca,__wbg_next_6574e1a8a62d1055:Aa,__wbindgen_bigint_get_as_i64:ei,__wbindgen_memory:fi,__wbindgen_throw:Ci,__wbindgen_rethrow:yi,__wbindgen_debug_string:ni,__wbindgen_closure_wrapper718:_i,__wbindgen_closure_wrapper720:oi,__wbindgen_init_externref_table:X}},ms);Ao=o.memory,Fn=o.LORO_VERSION,w_=o.__wbg_awarenesswasm_free,Ko=o.__wbg_changemodifier_free,Sn=o.__wbg_cursor_free,O_=o.__wbg_ephemeralstorewasm_free,Do=o.__wbg_lorocounter_free,Vn=o.__wbg_lorodoc_free,E_=o.__wbg_lorolist_free,H_=o.__wbg_loromap_free,Vo=o.__wbg_lorotext_free,_o=o.__wbg_lorotree_free,X_=o.__wbg_lorotreenode_free,a_=o.__wbg_undomanager_free,zn=o.__wbg_versionvector_free,Le=o.awarenesswasm_apply,jt=o.awarenesswasm_encode,Co=o.awarenesswasm_encodeAll,we=o.awarenesswasm_getAllStates,fo=o.awarenesswasm_getState,Lt=o.awarenesswasm_getTimestamp,Jt=o.awarenesswasm_isEmpty,Kt=o.awarenesswasm_length,je=o.awarenesswasm_new,at=o.awarenesswasm_peer,At=o.awarenesswasm_peers,ar=o.awarenesswasm_removeOutdated,ds=o.awarenesswasm_setLocalState,me=o.callPendingEvents,Lr=o.changemodifier_setMessage,tt=o.changemodifier_setTimestamp,Jr=o.cursor_containerId,Ke=o.cursor_decode,mt=o.cursor_encode,gn=o.cursor_kind,wt=o.cursor_pos,Kr=o.cursor_side,jr=o.decodeFrontiers,t_=o.decodeImportBlobMeta,tr=o.encodeFrontiers,ae=o.ephemeralstorewasm_apply,W_=o.ephemeralstorewasm_delete,Tn=o.ephemeralstorewasm_encode,Go=o.ephemeralstorewasm_encodeAll,xn=o.ephemeralstorewasm_get,ho=o.ephemeralstorewasm_getAllStates,m_=o.ephemeralstorewasm_isEmpty,tn=o.ephemeralstorewasm_keys,Nn=o.ephemeralstorewasm_new,k_=o.ephemeralstorewasm_removeOutdated,To=o.ephemeralstorewasm_set,Bn=o.ephemeralstorewasm_subscribe,U_=o.ephemeralstorewasm_subscribeLocalUpdates,ln=o.lorocounter_decrement,Bo=o.lorocounter_getAttached,lo=o.lorocounter_getShallowValue,ro=o.lorocounter_id,d_=o.lorocounter_increment,$n=o.lorocounter_isAttached,cs=o.lorocounter_kind,A_=o.lorocounter_new,ns=o.lorocounter_parent,fr=o.lorocounter_subscribe,Cr=o.lorodoc_JSONPath,ze=o.lorodoc_applyDiff,Ve=o.lorodoc_attach,Gt=o.lorodoc_changeCount,Fo=o.lorodoc_checkout,fe=o.lorodoc_checkoutToLatest,So=o.lorodoc_clearNextCommitOptions,Vt=o.lorodoc_cmpFrontiers,zt=o.lorodoc_cmpWithFrontiers,er=o.lorodoc_commit,Ge=o.lorodoc_configDefaultTextStyle,dt=o.lorodoc_configTextStyle,Dt=o.lorodoc_debugHistory,dr=o.lorodoc_deleteRootContainer,hs=o.lorodoc_detach,Ce=o.lorodoc_diff,Vr=o.lorodoc_export,st=o.lorodoc_exportJsonInIdSpan,Dr=o.lorodoc_exportJsonUpdates,zr=o.lorodoc_findIdSpansBetween,et=o.lorodoc_fork,Ct=o.lorodoc_forkAt,un=o.lorodoc_fromSnapshot,ft=o.lorodoc_frontiers,e_=o.lorodoc_frontiersToVV,Gr=o.lorodoc_getAllChanges,s_=o.lorodoc_getByPath,sr=o.lorodoc_getChangeAt,de=o.lorodoc_getChangeAtLamport,B_=o.lorodoc_getChangedContainersIn,kn=o.lorodoc_getContainerById,Ho=o.lorodoc_getCounter,mn=o.lorodoc_getCursorPos,bo=o.lorodoc_getDeepValueWithID,p_=o.lorodoc_getList,Yo=o.lorodoc_getMap,On=o.lorodoc_getMovableList,F_=o.lorodoc_getOpsInChange,Eo=o.lorodoc_getPathToContainer,Pn=o.lorodoc_getPendingTxnLength,V_=o.lorodoc_getShallowValue,G_=o.lorodoc_getText,nn=o.lorodoc_getTree,Po=o.lorodoc_getUncommittedOpsAsJson,so=o.lorodoc_hasContainer,eo=o.lorodoc_import,g_=o.lorodoc_importBatch,Hn=o.lorodoc_importJsonUpdates,S_=o.lorodoc_isDetached,_s=o.lorodoc_isDetachedEditingEnabled,pr=o.lorodoc_isShallow,Ne=o.lorodoc_new,Xn=o.lorodoc_opCount,xr=o.lorodoc_oplogFrontiers,Me=o.lorodoc_oplogVersion,Re=o.lorodoc_peerId,qt=o.lorodoc_peerIdStr,Io=o.lorodoc_revertTo,pe=o.lorodoc_setChangeMergeInterval,yo=o.lorodoc_setDetachedEditing,Rt=o.lorodoc_setHideEmptyRootContainers,Mt=o.lorodoc_setNextCommitMessage,Yt=o.lorodoc_setNextCommitOptions,qe=o.lorodoc_setNextCommitOrigin,gt=o.lorodoc_setNextCommitTimestamp,Nt=o.lorodoc_setPeerId,gr=o.lorodoc_setRecordTimestamp,us=o.lorodoc_shallowSinceFrontiers,xe=o.lorodoc_shallowSinceVV,Rr=o.lorodoc_subscribe,ot=o.lorodoc_subscribeFirstCommitFromPeer,Nr=o.lorodoc_subscribeJsonpath,Mr=o.lorodoc_subscribeLocalUpdates,Ye=o.lorodoc_subscribePreCommit,xt=o.lorodoc_toJSON,wn=o.lorodoc_travelChangeAncestors,pt=o.lorodoc_version,Yr=o.lorodoc_vvToFrontiers,qr=o.lorolist_clear,o_=o.lorolist_delete,or=o.lorolist_get,ge=o.lorolist_getAttached,j_=o.lorolist_getCursor,Rn=o.lorolist_getIdAt,$o=o.lorolist_getShallowValue,yn=o.lorolist_id,po=o.lorolist_insert,f_=o.lorolist_insertContainer,en=o.lorolist_isAttached,In=o.lorolist_isDeleted,L_=o.lorolist_kind,Ro=o.lorolist_length,Mn=o.lorolist_new,J_=o.lorolist_parent,Q_=o.lorolist_pop,an=o.lorolist_push,Mo=o.lorolist_pushContainer,io=o.lorolist_subscribe,to=o.lorolist_toArray,c_=o.lorolist_toJSON,qn=o.loromap_clear,gs=o.loromap_delete,C_=o.loromap_entries,os=o.loromap_get,hr=o.loromap_getAttached,Fe=o.loromap_getLastEditor,Yn=o.loromap_getOrCreateContainer,Sr=o.loromap_getShallowValue,Be=o.loromap_id,Te=o.loromap_isAttached,$t=o.loromap_isDeleted,No=o.loromap_keys,he=o.loromap_kind,xo=o.loromap_new,Tt=o.loromap_parent,Bt=o.loromap_set,Zt=o.loromap_setContainer,$e=o.loromap_size,ct=o.loromap_subscribe,Ft=o.loromap_toJSON,cr=o.loromap_values,ps=o.loromovablelist_clear,Se=o.loromovablelist_delete,Tr=o.loromovablelist_get,nt=o.loromovablelist_getAttached,Fr=o.loromovablelist_getCreatorAt,Br=o.loromovablelist_getCursor,Ze=o.loromovablelist_getLastEditorAt,St=o.loromovablelist_getLastMoverAt,bn=o.loromovablelist_getShallowValue,ht=o.loromovablelist_id,Zr=o.loromovablelist_insert,$r=o.loromovablelist_insertContainer,n_=o.loromovablelist_isAttached,nr=o.loromovablelist_isDeleted,ce=o.loromovablelist_kind,M_=o.loromovablelist_length,Ln=o.loromovablelist_move,Wo=o.loromovablelist_new,fn=o.loromovablelist_parent,wo=o.loromovablelist_pop,u_=o.loromovablelist_push,Xo=o.loromovablelist_pushContainer,An=o.loromovablelist_set,N_=o.loromovablelist_setContainer,ko=o.loromovablelist_subscribe,Un=o.loromovablelist_toArray,T_=o.loromovablelist_toJSON,$_=o.lorotext_applyDelta,on=o.lorotext_charAt,Uo=o.lorotext_convertPos,no=o.lorotext_delete,Z_=o.lorotext_deleteUtf8,l_=o.lorotext_getAttached,Wn=o.lorotext_getCursor,is=o.lorotext_getEditorOf,x_=o.lorotext_getShallowValue,rs=o.lorotext_id,ur=o.lorotext_insert,Ie=o.lorotext_insertUtf8,Qn=o.lorotext_isAttached,yr=o.lorotext_isDeleted,Pe=o.lorotext_iter,Ee=o.lorotext_kind,Ht=o.lorotext_length,Oo=o.lorotext_mark,ue=o.lorotext_new,vo=o.lorotext_parent,Et=o.lorotext_push,Pt=o.lorotext_slice,Xt=o.lorotext_sliceDelta,He=o.lorotext_sliceDeltaUtf8,lt=o.lorotext_splice,It=o.lorotext_subscribe,lr=o.lorotext_toDelta,bs=o.lorotext_toJSON,ye=o.lorotext_toString,Er=o.lorotext_unmark,_t=o.lorotext_update,Ir=o.lorotext_updateByLine,Pr=o.lorotree_createNode,Xe=o.lorotree_delete,yt=o.lorotree_disableFractionalIndex,dn=o.lorotree_enableFractionalIndex,ut=o.lorotree_getAttached,Xr=o.lorotree_getNodeByID,Hr=o.lorotree_getNodes,__=o.lorotree_getShallowValue,_r=o.lorotree_has,le=o.lorotree_id,P_=o.lorotree_isAttached,Dn=o.lorotree_isDeleted,jo=o.lorotree_isFractionalIndexEnabled,hn=o.lorotree_isNodeDeleted,co=o.lorotree_kind,b_=o.lorotree_move,Qo=o.lorotree_new,Cn=o.lorotree_nodes,I_=o.lorotree_parent,Lo=o.lorotree_roots,Jn=o.lorotree_subscribe,R_=o.lorotree_toArray,q_=o.lorotree_toJSON,_n=o.lorotreenode___getClassname,Jo=o.lorotreenode_children,oo=o.lorotreenode_createNode,Y_=o.lorotreenode_creationId,i_=o.lorotreenode_creator,jn=o.lorotreenode_data,as=o.lorotreenode_fractionalIndex,y_=o.lorotreenode_getLastMoveId,ts=o.lorotreenode_id,br=o.lorotreenode_index,Oe=o.lorotreenode_isDeleted,Kn=o.lorotreenode_move,vr=o.lorotreenode_moveAfter,Ue=o.lorotreenode_moveBefore,ke=o.lorotreenode_parent,Wt=o.lorotreenode_toJSON,be=o.redactJsonUpdates,mo=o.run,kt=o.setDebug,Ut=o.undomanager_addExcludeOriginPrefix,Qt=o.undomanager_canRedo,We=o.undomanager_canUndo,it=o.undomanager_clear,Ot=o.undomanager_groupEnd,ir=o.undomanager_groupStart,ws=o.undomanager_new,ve=o.undomanager_peer,kr=o.undomanager_redo,rt=o.undomanager_setMaxUndoSteps,Or=o.undomanager_setMergeInterval,Ur=o.undomanager_setOnPop,Qe=o.undomanager_setOnPush,vt=o.undomanager_topRedoValue,cn=o.undomanager_topUndoValue,bt=o.undomanager_undo,Qr=o.versionvector_compare,Wr=o.versionvector_decode,r_=o.versionvector_encode,rr=o.versionvector_get,ie=o.versionvector_length,z_=o.versionvector_new,En=o.versionvector_parseJSON,qo=o.versionvector_remove,vn=o.versionvector_setEnd,uo=o.versionvector_setLast,h_=o.versionvector_toJSON,ls=o.lorodoc_importUpdateBatch,rn=o.__wbg_loromovablelist_free,Zn=o.lorocounter_value,De=o.lorocounter_toJSON,Ae=o.__wbindgen_malloc,Gn=o.__wbindgen_realloc,ss=o.__wbindgen_exn_store,pn=o.__externref_table_alloc,v_=o.__wbindgen_export_4,wr=o.__wbindgen_free,es=o.__wbindgen_export_6,go=o.__externref_table_dealloc,zo=o.__externref_drop_slice,Ar=o.closure9_externref_shim,Je=o._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2222385ed10d04df,mr=o.__wbindgen_start})();export{ae as $,ie as $a,le as $i,ge as $n,ce as $r,de as $t,we as A,be as Aa,ue as Ai,pe as An,he as Ar,fe as At,me as B,ve as Ba,ye as Bi,xe as Bn,Se as Br,Ce as Bt,Ae as C,Oe as Ca,Ie as Ci,Ne as Cn,Fe as Cr,De as Ct,Le as D,ke as Da,Ee as Di,Re as Dn,Te as Dr,Ve as Dt,Je as E,Ue as Ea,Pe as Ei,Me as En,Be as Er,ze as Et,je as F,We as Fa,He as Fi,qe as Fn,$e as Fr,Ge as Ft,Ke as G,Qe as Ga,Xe as Gi,Ye as Gn,Ze as Gr,et as Gt,tt as H,rt as Ha,_t as Hi,ot as Hn,nt as Hr,st as Ht,at as I,it as Ia,lt as Ii,gt as In,ct as Ir,dt as It,wt as J,bt as Ja,ut as Ji,pt as Jn,ht as Jr,ft as Jt,mt as K,vt as Ka,yt as Ki,xt as Kn,St as Kr,Ct as Kt,At as L,Ot as La,It as Li,Nt as Ln,Ft as Lr,Dt as Lt,Lt as M,kt as Ma,Et as Mi,Rt as Mn,Tt as Mr,Vt as Mt,Jt as N,Ut as Na,Pt as Ni,Mt as Nn,Bt as Nr,zt as Nt,jt as O,Wt as Oa,Ht as Oi,qt as On,$t as Or,Gt as Ot,Kt as P,Qt as Pa,Xt as Pi,Yt as Pn,Zt as Pr,er as Pt,tr as Q,rr as Qa,_r as Qi,or as Qn,nr as Qr,sr as Qt,ar as R,ir as Ra,lr as Ri,gr as Rn,cr as Rr,dr as Rt,wr as S,br as Sa,ur as Si,pr as Sn,hr as Sr,fr as St,mr as T,vr as Ta,yr as Ti,xr as Tn,Sr as Tr,Cr as Tt,Ar as U,Or as Ua,Ir as Ui,Nr as Un,Fr as Ur,Dr as Ut,Lr as V,kr as Va,Er as Vi,Rr as Vn,Tr as Vr,Vr as Vt,Jr as W,Ur as Wa,Pr as Wi,Mr as Wn,Br as Wr,zr as Wt,jr as X,Wr as Xa,Hr as Xi,qr as Xn,$r as Xr,Gr as Xt,Kr as Y,Qr as Ya,Xr as Yi,Yr as Yn,Zr as Yr,e_ as Yt,t_ as Z,r_ as Za,__ as Zi,o_ as Zn,n_ as Zr,s_ as Zt,a_ as _,Hi as __tla,i_ as _a,l_ as _i,g_ as _n,c_ as _r,d_ as _t,w_ as a,b_ as aa,u_ as ai,p_ as an,h_ as ao,f_ as ar,m_ as at,v_ as b,y_ as ba,x_ as bi,S_ as bn,C_ as br,A_ as bt,O_ as c,I_ as ca,N_ as ci,F_ as cn,D_ as co,L_ as cr,k_ as ct,E_ as d,R_ as da,T_ as di,V_ as dn,L as do,J_ as dr,U_ as dt,P_ as ea,M_ as ei,B_ as en,z_ as eo,j_ as er,W_ as et,H_ as f,q_ as fa,$_ as fi,G_ as fn,K_ as fo,Q_ as fr,Ii as ft,X_ as g,Y_ as ga,Z_ as gi,eo as gn,Ni as go,to as gr,ro as gt,_o as h,oo as ha,no as hi,so as hn,ao as ho,io as hr,lo as ht,go as i,co as ia,wo as ii,bo as in,uo as io,po as ir,ho as it,fo as j,mo as ja,vo as ji,yo as jn,xo as jr,So as jt,Co as k,Ao as ka,Oo as ki,Io as kn,No as kr,Fo as kt,Do as l,Lo as la,ko as li,Eo as ln,Q as lo,Ro as lr,To as lt,Vo as m,Jo as ma,Uo as mi,Po as mn,X as mo,Mo as mr,Bo as mt,zo as n,jo as na,Wo as ni,Ho as nn,qo as no,$o as nr,Go as nt,Ko as o,Qo as oa,Xo as oi,Yo as on,Zo as oo,en as or,tn as ot,rn as p,_n as pa,on as pi,nn as pn,sn as po,an as pr,ln as pt,gn as q,cn as qa,dn as qi,wn as qn,bn as qr,un as qt,pn as r,hn as ra,fn as ri,mn as rn,vn as ro,yn as rr,xn as rt,Sn as s,Cn as sa,An as si,On as sn,S as so,In as sr,Nn as st,Fn as t,Dn as ta,Ln as ti,kn as tn,En as to,Rn as tr,Tn as tt,Vn as u,Jn as ua,Un as ui,Pn as un,N as uo,Mn as ur,Bn as ut,zn as v,jn as va,Wn as vi,Hn as vn,qn as vr,$n as vt,Gn as w,Kn as wa,Qn as wi,Xn as wn,Yn as wr,Zn as wt,es as x,ts as xa,rs as xi,_s as xn,os as xr,ns as xt,ss as y,as as ya,is as yi,ls as yn,gs as yr,cs as yt,ds as z,ws as za,bs as zi,us as zn,ps as zr,hs as zt};
|
|
1
|
+
import{r as Oi}from"./chunk-LvLJmgfZ.js";let ae,ie,le,ge,ce,de,we,be,ue,pe,he,fe,me,ve,ye,xe,Se,Ce,Ae,Oe,Ie,Ne,Fe,De,Le,ke,Ee,Re,Te,Je,Ve,Ue,Pe,Be,Me,ze,je,We,He,qe,$e,Ke,Ge,Qe,Xe,Ye,Ze,et,tt,rt,_t,ot,nt,st,at,it,lt,gt,ct,dt,wt,bt,ut,pt,ht,ft,mt,vt,yt,xt,St,Ct,At,Ot,It,Nt,Ft,Dt,Lt,kt,Et,Rt,Tt,Jt,Vt,Ut,Pt,Bt,Mt,zt,jt,Wt,Ht,qt,$t,Kt,Gt,Qt,Xt,Yt,Zt,er,tr,rr,_r,or,nr,sr,ar,ir,lr,gr,cr,dr,wr,br,ur,pr,hr,fr,mr,vr,yr,xr,Sr,Cr,Ar,Or,Ir,Nr,Fr,Dr,Lr,kr,Er,Rr,Tr,Jr,Vr,Ur,Pr,Br,Mr,zr,jr,Wr,Hr,qr,$r,Kr,Gr,Qr,Xr,Yr,Zr,e_,t_,r_,__,o_,n_,s_,a_,i_,l_,g_,c_,d_,w_,b_,u_,p_,h_,f_,m_,v_,y_,x_,S_,C_,A_,O_,I_,N_,F_,D_,L_,k_,E_,R_,T_,J_,L,V_,U_,P_,B_,M_,z_,j_,W_,H_,q_,$_,K_,G_,Q_,Ii,X_,Y_,Z_,eo,Ni,to,ro,_o,oo,no,so,ao,io,lo,go,co,wo,bo,uo,po,ho,fo,mo,vo,yo,xo,So,Co,Ao,Oo,Io,No,Fo,Do,Lo,ko,Eo,Q,Ro,To,Jo,Vo,Uo,Po,X,Bo,Mo,zo,jo,Wo,Ho,qo,$o,Ko,Go,Qo,Xo,Yo,Zo,en,tn,rn,_n,on,nn,sn,an,ln,gn,cn,dn,wn,bn,un,pn,hn,fn,mn,vn,yn,xn,Sn,Cn,An,On,S,In,Nn,Fn,Dn,Ln,kn,En,Rn,Tn,Jn,Vn,Un,Pn,N,Bn,Mn,zn,jn,Wn,Hn,qn,$n,Kn,Gn,Qn,Xn,Yn,Zn,es,ts,rs,_s,os,ns,ss,as,is,ls,gs,cs,ds,ws,bs,us,ps,hs,Hi=(async()=>{let ms,vs,r;ms=""+new URL("loro_wasm_bg-WKwciKJa.wasm",import.meta.url).href,vs=async(_={},e)=>{let t;if(e.startsWith("data:")){let n=e.replace(/^data:.*?base64,/,""),a;if(typeof Buffer=="function"&&typeof Buffer.from=="function")a=Buffer.from(n,"base64");else if(typeof atob=="function"){let i=atob(n);a=new Uint8Array(i.length);for(let g=0;g<i.length;g++)a[g]=i.charCodeAt(g)}else throw Error("Cannot decode base64-encoded data URL");t=await WebAssembly.instantiate(a,_)}else{let n=await fetch(e),a=n.headers.get("Content-Type")||"";if("instantiateStreaming"in WebAssembly&&a.startsWith("application/wasm"))t=await WebAssembly.instantiateStreaming(n,_);else{let i=await n.arrayBuffer();t=await WebAssembly.instantiate(i,_)}}return t.instance.exports},Ni=Oi({AwarenessWasm:()=>Zo,ChangeModifier:()=>re,Cursor:()=>S,EphemeralStoreWasm:()=>D_,LORO_VERSION:()=>Pi,LoroCounter:()=>V,LoroDoc:()=>Q,LoroList:()=>B,LoroMap:()=>N,LoroMovableList:()=>j,LoroText:()=>L,LoroTree:()=>q,LoroTreeNode:()=>D,UndoManager:()=>G_,VersionVector:()=>x,__wbg_String_8f0eb39a4a4c2f66:()=>Cs,__wbg_apply_36be6a55257c99bf:()=>As,__wbg_apply_eb9e9b97497f91e4:()=>Os,__wbg_buffer_609cc3eee51ed158:()=>Is,__wbg_call_672a4d21634d4a24:()=>Ns,__wbg_call_7cccdd69e0791ae2:()=>Fs,__wbg_call_833bed5770ea2041:()=>Ds,__wbg_call_b8adc8b1d0a0d8eb:()=>Ls,__wbg_changemodifier_new:()=>ks,__wbg_crypto_574e78ad8b13b65f:()=>Es,__wbg_cursor_new:()=>Rs,__wbg_done_769e5ede4b31c67b:()=>Ts,__wbg_entries_3265d4158b33e5dc:()=>Js,__wbg_entries_c8a90a7ed73e84ce:()=>Vs,__wbg_error_1cb1bf0bb7e0da2b:()=>Us,__wbg_error_7534b8e9a36f1ab4:()=>Ps,__wbg_from_2a5d3e218e67aa85:()=>Bs,__wbg_getOwnPropertySymbols_97eebed6fe6e08be:()=>Ms,__wbg_getRandomValues_b8f5dbd5f3995a9e:()=>zs,__wbg_get_67b2ba62fc30de12:()=>js,__wbg_get_b9b93047fe3cf45b:()=>Ws,__wbg_getindex_5b00c274b05714aa:()=>Hs,__wbg_getwithrefkey_1dc361bd10053bfe:()=>qs,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:()=>$s,__wbg_instanceof_Map_f3469ce2244d2430:()=>Ks,__wbg_instanceof_Object_7f2dcef8f78644a4:()=>Gs,__wbg_instanceof_Uint8Array_17156bcf118086a9:()=>Qs,__wbg_isArray_a1eab7e0d067391b:()=>Xs,__wbg_isSafeInteger_343e2beeeece1bb0:()=>Ys,__wbg_iterator_9a24c88df860dc65:()=>Zs,__wbg_length_a446193dc22c12f8:()=>ea,__wbg_length_e2d2a49132c1b256:()=>ta,__wbg_log_0671e6aa34e04626:()=>ra,__wbg_log_0cc1b7768397bcfe:()=>_a,__wbg_log_cb9e190acc5753fb:()=>oa,__wbg_lorocounter_new:()=>na,__wbg_lorolist_new:()=>sa,__wbg_loromap_new:()=>aa,__wbg_loromovablelist_new:()=>ia,__wbg_lorotext_new:()=>la,__wbg_lorotree_new:()=>ga,__wbg_lorotreenode_new:()=>ca,__wbg_mark_7438147ce31e9d4b:()=>da,__wbg_measure_fb7825c11612c823:()=>wa,__wbg_msCrypto_a61aeb35a24c1329:()=>ba,__wbg_new_405e22f390576ce2:()=>ua,__wbg_new_5e0be73521bc8c17:()=>pa,__wbg_new_78feb108b6472713:()=>ha,__wbg_new_8a6f238a6ece86ea:()=>fa,__wbg_new_a12002a7f91c75be:()=>ma,__wbg_newnoargs_105ed471475aaf50:()=>va,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:()=>ya,__wbg_newwithlength_a381634e90c276d4:()=>xa,__wbg_newwithlength_c4c419ef0bc8a1f8:()=>Sa,__wbg_next_25feadfc0913fea9:()=>Ca,__wbg_next_6574e1a8a62d1055:()=>Aa,__wbg_node_905d3e251edff8a2:()=>Oa,__wbg_now_c8bdc8efc8c495eb:()=>Ia,__wbg_ownKeys_3930041068756f1f:()=>Na,__wbg_process_dc0fbacc7c1c06f7:()=>Fa,__wbg_push_737cfc8c1432c2c6:()=>Da,__wbg_randomFillSync_ac0988aba3254290:()=>La,__wbg_require_60cc747a6bc5215a:()=>ka,__wbg_resolve_4851785c9c5f573d:()=>Ea,__wbg_set_37837023f3d740e8:()=>Ra,__wbg_set_3f1d0b984ed272ed:()=>Ta,__wbg_set_65595bdd868b3009:()=>Ja,__wbg_set_8fc6bf8a5b1071d1:()=>Va,__wbg_set_bb8cecf6a62b9f46:()=>Ua,__wbg_set_wasm:()=>sn,__wbg_setindex_dcd71eabf405bde1:()=>Pa,__wbg_stack_0ed75d68575b0f3c:()=>Ba,__wbg_static_accessor_GLOBAL_88a902d13a557d07:()=>Ma,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:()=>za,__wbg_static_accessor_SELF_37c5d418e4bf5819:()=>ja,__wbg_static_accessor_WINDOW_5de37043a91a9c40:()=>Wa,__wbg_subarray_aa9065fa9dc5df96:()=>Ha,__wbg_then_44b73946d2fb3e7d:()=>qa,__wbg_value_cd1ffa7b1ab794f1:()=>$a,__wbg_versions_c01dfd4722a88165:()=>Ka,__wbg_versionvector_new:()=>Ga,__wbg_warn_90235b184e422485:()=>Qa,__wbindgen_as_number:()=>Xa,__wbindgen_bigint_from_i64:()=>Ya,__wbindgen_bigint_from_u64:()=>Za,__wbindgen_bigint_get_as_i64:()=>ei,__wbindgen_boolean_get:()=>ti,__wbindgen_cb_drop:()=>ri,__wbindgen_closure_wrapper718:()=>_i,__wbindgen_closure_wrapper721:()=>oi,__wbindgen_debug_string:()=>ni,__wbindgen_error_new:()=>si,__wbindgen_in:()=>ai,__wbindgen_init_externref_table:()=>X,__wbindgen_is_array:()=>ii,__wbindgen_is_bigint:()=>li,__wbindgen_is_falsy:()=>gi,__wbindgen_is_function:()=>ci,__wbindgen_is_null:()=>di,__wbindgen_is_object:()=>wi,__wbindgen_is_string:()=>bi,__wbindgen_is_undefined:()=>ui,__wbindgen_jsval_eq:()=>pi,__wbindgen_jsval_loose_eq:()=>hi,__wbindgen_memory:()=>fi,__wbindgen_number_get:()=>mi,__wbindgen_number_new:()=>vi,__wbindgen_rethrow:()=>yi,__wbindgen_string_get:()=>xi,__wbindgen_string_new:()=>Si,__wbindgen_throw:()=>Ci,__wbindgen_typeof:()=>Ai,callPendingEvents:()=>ao,decodeFrontiers:()=>Ji,decodeImportBlobMeta:()=>Bi,encodeFrontiers:()=>Mi,redactJsonUpdates:()=>Ui,run:()=>zi,setDebug:()=>Vi},1),sn=function(_){r=_};var l=0,R=null;function A(){return(R===null||R.byteLength===0)&&(R=new Uint8Array(r.memory.buffer)),R}var T=new(typeof TextEncoder>"u"?(0,module.require)("util").TextEncoder:TextEncoder)("utf-8"),Ti=typeof T.encodeInto=="function"?function(_,e){return T.encodeInto(_,e)}:function(_,e){let t=T.encode(_);return e.set(t),{read:_.length,written:t.length}};function d(_,e,t){if(t===void 0){let c=T.encode(_),h=e(c.length,1)>>>0;return A().subarray(h,h+c.length).set(c),l=c.length,h}let n=_.length,a=e(n,1)>>>0,i=A(),g=0;for(;g<n;g++){let c=_.charCodeAt(g);if(c>127)break;i[a+g]=c}if(g!==n){g!==0&&(_=_.slice(g)),a=t(a,n,n=g+_.length*3,1)>>>0;let c=A().subarray(a+g,a+n),h=Ti(_,c);g+=h.written,a=t(a,n,g,1)>>>0}return l=g,a}var O=null;function u(){return(O===null||O.buffer.detached===!0||O.buffer.detached===void 0&&O.buffer!==r.memory.buffer)&&(O=new DataView(r.memory.buffer)),O}function C(_){let e=r.__externref_table_alloc();return r.__wbindgen_export_4.set(e,_),e}function p(_,e){try{return _.apply(this,e)}catch(t){let n=C(t);r.__wbindgen_exn_store(n)}}var ys=new(typeof TextDecoder>"u"?(0,module.require)("util").TextDecoder:TextDecoder)("utf-8",{ignoreBOM:!0,fatal:!0});ys.decode();function w(_,e){return _>>>=0,ys.decode(A().subarray(_,_+e))}function b(_){return _==null}var xs=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>{r.__wbindgen_export_6.get(_.dtor)(_.a,_.b)});function Ss(_,e,t,n){let a={a:_,b:e,cnt:1,dtor:t},i=(...g)=>{a.cnt++;let c=a.a;a.a=0;try{return n(c,a.b,...g)}finally{--a.cnt===0?(r.__wbindgen_export_6.get(a.dtor)(c,a.b),xs.unregister(a)):a.a=c}};return i.original=a,xs.register(i,a,a),i}function Z(_){let e=typeof _;if(e=="number"||e=="boolean"||_==null)return`${_}`;if(e=="string")return`"${_}"`;if(e=="symbol"){let a=_.description;return a==null?"Symbol":`Symbol(${a})`}if(e=="function"){let a=_.name;return typeof a=="string"&&a.length>0?`Function(${a})`:"Function"}if(Array.isArray(_)){let a=_.length,i="[";a>0&&(i+=Z(_[0]));for(let g=1;g<a;g++)i+=", "+Z(_[g]);return i+="]",i}let t=/\[object ([^\]]+)\]/.exec(toString.call(_)),n;if(t&&t.length>1)n=t[1];else return toString.call(_);if(n=="Object")try{return"Object("+JSON.stringify(_)+")"}catch{return"Object"}return _ instanceof Error?`${_.name}: ${_.message}
|
|
2
|
+
${_.stack}`:n}function s(_){let e=r.__wbindgen_export_4.get(_);return r.__externref_table_dealloc(_),e}function I(_,e){if(!(_ instanceof e))throw Error(`expected instance of ${e.name}`)}function v(_,e){let t=e(_.length*1,1)>>>0;return A().set(_,t/1),l=_.length,t}function y(_,e){return _>>>=0,A().subarray(_/1,_/1+e)}function m(_,e){_>>>=0;let t=u(),n=[];for(let a=_;a<_+4*e;a+=4)n.push(r.__wbindgen_export_4.get(t.getUint32(a,!0)));return r.__externref_drop_slice(_,e),n}ao=function(){r.callPendingEvents()};function Ji(_){let e=v(_,r.__wbindgen_malloc),t=l,n=r.decodeFrontiers(e,t);if(n[2])throw s(n[1]);return s(n[0])}function Vi(){r.setDebug()}function Ui(_,e){let t=r.redactJsonUpdates(_,e);if(t[2])throw s(t[1]);return s(t[0])}function Pi(){let _,e;try{let t=r.LORO_VERSION();return _=t[0],e=t[1],w(t[0],t[1])}finally{r.__wbindgen_free(_,e,1)}}function Bi(_,e){let t=v(_,r.__wbindgen_malloc),n=l,a=r.decodeImportBlobMeta(t,n,e);if(a[2])throw s(a[1]);return s(a[0])}function f(_,e){let t=e(_.length*4,4)>>>0;for(let n=0;n<_.length;n++){let a=C(_[n]);u().setUint32(t+4*n,a,!0)}return l=_.length,t}function Mi(_){let e=f(_,r.__wbindgen_malloc),t=l,n=r.encodeFrontiers(e,t);if(n[3])throw s(n[2]);var a=y(n[0],n[1]).slice();return r.__wbindgen_free(n[0],n[1]*1,1),a}function zi(){r.run()}function ji(_,e,t){r.closure9_externref_shim(_,e,t)}function Wi(_,e){r._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156(_,e)}let ee,te,re,_e,oe,J,V,U,P,B,M,z,j,W,H,q,ne,D,se,$,x;ee=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_awarenesswasm_free(_>>>0,1)),Zo=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,ee.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_awarenesswasm_free(_,0)}getAllStates(){let _=r.awarenesswasm_getAllStates(this.__wbg_ptr);if(_[2])throw s(_[1]);return s(_[0])}getTimestamp(_){let e=r.awarenesswasm_getTimestamp(this.__wbg_ptr,_);if(e[3])throw s(e[2]);return e[0]===0?void 0:e[1]}setLocalState(_){r.awarenesswasm_setLocalState(this.__wbg_ptr,_)}removeOutdated(){let _=r.awarenesswasm_removeOutdated(this.__wbg_ptr);var e=m(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}constructor(_,e){let t=r.awarenesswasm_new(_,e);if(t[2])throw s(t[1]);return this.__wbg_ptr=t[0]>>>0,ee.register(this,this.__wbg_ptr,this),this}peer(){return r.awarenesswasm_peer(this.__wbg_ptr)}apply(_){let e=v(_,r.__wbindgen_malloc),t=l,n=r.awarenesswasm_apply(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}peers(){let _=r.awarenesswasm_peers(this.__wbg_ptr);var e=m(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}encode(_){let e=r.awarenesswasm_encode(this.__wbg_ptr,_);if(e[3])throw s(e[2]);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}length(){return r.awarenesswasm_length(this.__wbg_ptr)}isEmpty(){return r.awarenesswasm_isEmpty(this.__wbg_ptr)!==0}getState(_){let e=r.awarenesswasm_getState(this.__wbg_ptr,_);if(e[2])throw s(e[1]);return s(e[0])}encodeAll(){let _=r.awarenesswasm_encodeAll(this.__wbg_ptr);var e=y(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*1,1),e}},te=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_changemodifier_free(_>>>0,1)),re=class Y{static __wrap(e){e>>>=0;let t=Object.create(Y.prototype);return t.__wbg_ptr=e,te.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,te.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_changemodifier_free(e,0)}setMessage(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.changemodifier_setMessage(this.__wbg_ptr,t,n);return Y.__wrap(a)}setTimestamp(e){let t=r.changemodifier_setTimestamp(this.__wbg_ptr,e);return Y.__wrap(t)}},_e=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_cursor_free(_>>>0,1)),S=class fs{static __wrap(e){e>>>=0;let t=Object.create(fs.prototype);return t.__wbg_ptr=e,_e.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,_e.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_cursor_free(e,0)}containerId(){return r.cursor_containerId(this.__wbg_ptr)}pos(){let e=r.cursor_pos(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}kind(){return r.cursor_kind(this.__wbg_ptr)}side(){return r.cursor_side(this.__wbg_ptr)}static decode(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.cursor_decode(t,n);if(a[2])throw s(a[1]);return fs.__wrap(a[0])}encode(){let e=r.cursor_encode(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}},oe=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_ephemeralstorewasm_free(_>>>0,1)),D_=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,oe.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_ephemeralstorewasm_free(_,0)}getAllStates(){let _=r.ephemeralstorewasm_getAllStates(this.__wbg_ptr);if(_[2])throw s(_[1]);return s(_[0])}removeOutdated(){r.ephemeralstorewasm_removeOutdated(this.__wbg_ptr)}subscribeLocalUpdates(_){return r.ephemeralstorewasm_subscribeLocalUpdates(this.__wbg_ptr,_)}get(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l;return r.ephemeralstorewasm_get(this.__wbg_ptr,e,t)}constructor(_){return this.__wbg_ptr=r.ephemeralstorewasm_new(_)>>>0,oe.register(this,this.__wbg_ptr,this),this}set(_,e){let t=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.ephemeralstorewasm_set(this.__wbg_ptr,t,n,e)}keys(){let _=r.ephemeralstorewasm_keys(this.__wbg_ptr);var e=m(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*4,4),e}apply(_){let e=v(_,r.__wbindgen_malloc),t=l,n=r.ephemeralstorewasm_apply(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}delete(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l;r.ephemeralstorewasm_delete(this.__wbg_ptr,e,t)}encode(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l,n=r.ephemeralstorewasm_encode(this.__wbg_ptr,e,t);var a=y(n[0],n[1]).slice();return r.__wbindgen_free(n[0],n[1]*1,1),a}isEmpty(){return r.ephemeralstorewasm_isEmpty(this.__wbg_ptr)!==0}encodeAll(){let _=r.ephemeralstorewasm_encodeAll(this.__wbg_ptr);var e=y(_[0],_[1]).slice();return r.__wbindgen_free(_[0],_[1]*1,1),e}subscribe(_){return r.ephemeralstorewasm_subscribe(this.__wbg_ptr,_)}},J=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorocounter_free(_>>>0,1)),V=class Fi{static __wrap(e){e>>>=0;let t=Object.create(Fi.prototype);return t.__wbg_ptr=e,J.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,J.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorocounter_free(e,0)}isAttached(){return r.lorocounter_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorocounter_getAttached(this.__wbg_ptr)}getShallowValue(){let e=r.lorocounter_getShallowValue(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]}get id(){return r.lorocounter_id(this.__wbg_ptr)}constructor(){return this.__wbg_ptr=r.lorocounter_new()>>>0,J.register(this,this.__wbg_ptr,this),this}kind(){return r.lorocounter_kind(this.__wbg_ptr)}parent(){return r.lorocounter_parent(this.__wbg_ptr)}toJSON(){let e=r.lorocounter_toJSON(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]}decrement(e){let t=r.lorocounter_decrement(this.__wbg_ptr,e);if(t[1])throw s(t[0])}get value(){let e=r.lorocounter_value(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]}increment(e){let t=r.lorocounter_increment(this.__wbg_ptr,e);if(t[1])throw s(t[0])}subscribe(e){let t=r.lorocounter_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},U=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorodoc_free(_>>>0,1)),Q=class k{static __wrap(e){e>>>=0;let t=Object.create(k.prototype);return t.__wbg_ptr=e,U.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,U.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorodoc_free(e,0)}applyDiff(e){let t=r.lorodoc_applyDiff(this.__wbg_ptr,e);if(t[1])throw s(t[0])}isShallow(){return r.lorodoc_isShallow(this.__wbg_ptr)!==0}changeCount(){return r.lorodoc_changeCount(this.__wbg_ptr)>>>0}getByPath(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;return r.lorodoc_getByPath(this.__wbg_ptr,t,n)}getCounter(e){let t=r.lorodoc_getCounter(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return V.__wrap(t[0])}isDetached(){return r.lorodoc_isDetached(this.__wbg_ptr)!==0}get peerIdStr(){return r.lorodoc_peerIdStr(this.__wbg_ptr)}setPeerId(e){let t=r.lorodoc_setPeerId(this.__wbg_ptr,e);if(t[1])throw s(t[0])}getCursorPos(e){I(e,S);let t=r.lorodoc_getCursorPos(this.__wbg_ptr,e.__wbg_ptr);if(t[2])throw s(t[1]);return s(t[0])}hasContainer(e){return r.lorodoc_hasContainer(this.__wbg_ptr,e)!==0}importBatch(e){let t=r.lorodoc_importBatch(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}cmpFrontiers(e,t){let n=f(e,r.__wbindgen_malloc),a=l,i=f(t,r.__wbindgen_malloc),g=l,c=r.lorodoc_cmpFrontiers(this.__wbg_ptr,n,a,i,g);if(c[2])throw s(c[1]);return s(c[0])}debugHistory(){r.lorodoc_debugHistory(this.__wbg_ptr)}static fromSnapshot(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_fromSnapshot(t,n);if(a[2])throw s(a[1]);return k.__wrap(a[0])}getChangeAt(e){let t=r.lorodoc_getChangeAt(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}oplogVersion(){let e=r.lorodoc_oplogVersion(this.__wbg_ptr);return x.__wrap(e)}getMovableList(e){let t=r.lorodoc_getMovableList(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return j.__wrap(t[0])}frontiersToVV(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_frontiersToVV(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return x.__wrap(a[0])}getAllChanges(){return r.lorodoc_getAllChanges(this.__wbg_ptr)}oplogFrontiers(){let e=r.lorodoc_oplogFrontiers(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}vvToFrontiers(e){I(e,x);let t=r.lorodoc_vvToFrontiers(this.__wbg_ptr,e.__wbg_ptr);if(t[2])throw s(t[1]);return s(t[0])}shallowSinceVV(){let e=r.lorodoc_shallowSinceVV(this.__wbg_ptr);return x.__wrap(e)}configTextStyle(e){let t=r.lorodoc_configTextStyle(this.__wbg_ptr,e);if(t[1])throw s(t[0])}getOpsInChange(e){let t=r.lorodoc_getOpsInChange(this.__wbg_ptr,e);if(t[3])throw s(t[2]);var n=m(t[0],t[1]).slice();return r.__wbindgen_free(t[0],t[1]*4,4),n}getShallowValue(){let e=r.lorodoc_getShallowValue(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}checkoutToLatest(){let e=r.lorodoc_checkoutToLatest(this.__wbg_ptr);if(e[1])throw s(e[0])}cmpWithFrontiers(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_cmpWithFrontiers(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return a[0]}exportJsonInIdSpan(e){let t=r.lorodoc_exportJsonInIdSpan(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}subscribeJsonpath(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorodoc_subscribeJsonpath(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}deleteRootContainer(e){let t=r.lorodoc_deleteRootContainer(this.__wbg_ptr,e);if(t[1])throw s(t[0])}exportJsonUpdates(e,t,n){let a=r.lorodoc_exportJsonUpdates(this.__wbg_ptr,e,t,b(n)?16777215:n?1:0);if(a[2])throw s(a[1]);return s(a[0])}getContainerById(e){let t=r.lorodoc_getContainerById(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}getPendingTxnLength(){return r.lorodoc_getPendingTxnLength(this.__wbg_ptr)>>>0}importJsonUpdates(e){let t=r.lorodoc_importJsonUpdates(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}importUpdateBatch(e){let t=r.lorodoc_importUpdateBatch(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}setDetachedEditing(e){r.lorodoc_setDetachedEditing(this.__wbg_ptr,e)}setRecordTimestamp(e){r.lorodoc_setRecordTimestamp(this.__wbg_ptr,e)}subscribePreCommit(e){return r.lorodoc_subscribePreCommit(this.__wbg_ptr,e)}findIdSpansBetween(e,t){let n=f(e,r.__wbindgen_malloc),a=l,i=f(t,r.__wbindgen_malloc),g=l,c=r.lorodoc_findIdSpansBetween(this.__wbg_ptr,n,a,i,g);if(c[2])throw s(c[1]);return s(c[0])}getChangeAtLamport(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorodoc_getChangeAtLamport(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}getPathToContainer(e){let t=r.lorodoc_getPathToContainer(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}getChangedContainersIn(e,t){let n=r.lorodoc_getChangedContainersIn(this.__wbg_ptr,e,t);if(n[3])throw s(n[2]);var a=m(n[0],n[1]).slice();return r.__wbindgen_free(n[0],n[1]*4,4),a}getDeepValueWithID(){return r.lorodoc_getDeepValueWithID(this.__wbg_ptr)}setNextCommitOrigin(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.lorodoc_setNextCommitOrigin(this.__wbg_ptr,t,n)}getUncommittedOpsAsJson(){let e=r.lorodoc_getUncommittedOpsAsJson(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}setNextCommitMessage(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;r.lorodoc_setNextCommitMessage(this.__wbg_ptr,t,n)}setNextCommitOptions(e){let t=r.lorodoc_setNextCommitOptions(this.__wbg_ptr,e);if(t[1])throw s(t[0])}shallowSinceFrontiers(){let e=r.lorodoc_shallowSinceFrontiers(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}subscribeLocalUpdates(e){return r.lorodoc_subscribeLocalUpdates(this.__wbg_ptr,e)}travelChangeAncestors(e,t){let n=f(e,r.__wbindgen_malloc),a=l,i=r.lorodoc_travelChangeAncestors(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}clearNextCommitOptions(){r.lorodoc_clearNextCommitOptions(this.__wbg_ptr)}configDefaultTextStyle(e){let t=r.lorodoc_configDefaultTextStyle(this.__wbg_ptr,e);if(t[1])throw s(t[0])}setChangeMergeInterval(e){r.lorodoc_setChangeMergeInterval(this.__wbg_ptr,e)}setNextCommitTimestamp(e){r.lorodoc_setNextCommitTimestamp(this.__wbg_ptr,e)}setHideEmptyRootContainers(e){let t=r.lorodoc_setHideEmptyRootContainers(this.__wbg_ptr,e);if(t[1])throw s(t[0])}isDetachedEditingEnabled(){return r.lorodoc_isDetachedEditingEnabled(this.__wbg_ptr)!==0}subscribeFirstCommitFromPeer(e){return r.lorodoc_subscribeFirstCommitFromPeer(this.__wbg_ptr,e)}constructor(){return this.__wbg_ptr=r.lorodoc_new()>>>0,U.register(this,this.__wbg_ptr,this),this}diff(e,t,n){let a=f(e,r.__wbindgen_malloc),i=l,g=f(t,r.__wbindgen_malloc),c=l,h=r.lorodoc_diff(this.__wbg_ptr,a,i,g,c,b(n)?16777215:n?1:0);if(h[2])throw s(h[1]);return s(h[0])}fork(){let e=r.lorodoc_fork(this.__wbg_ptr);return k.__wrap(e)}attach(){r.lorodoc_attach(this.__wbg_ptr)}commit(e){let t=r.lorodoc_commit(this.__wbg_ptr,b(e)?0:C(e));if(t[1])throw s(t[0])}detach(){r.lorodoc_detach(this.__wbg_ptr)}export(e){let t=r.lorodoc_export(this.__wbg_ptr,e);if(t[3])throw s(t[2]);var n=y(t[0],t[1]).slice();return r.__wbindgen_free(t[0],t[1]*1,1),n}import(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_import(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return s(a[0])}forkAt(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_forkAt(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return k.__wrap(a[0])}getMap(e){let t=r.lorodoc_getMap(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return N.__wrap(t[0])}opCount(){return r.lorodoc_opCount(this.__wbg_ptr)>>>0}get peerId(){let e=r.lorodoc_peerId(this.__wbg_ptr);return BigInt.asUintN(64,e)}toJSON(){let e=r.lorodoc_toJSON(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}version(){let e=r.lorodoc_version(this.__wbg_ptr);return x.__wrap(e)}checkout(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_checkout(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}getList(e){let t=r.lorodoc_getList(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return B.__wrap(t[0])}getText(e){let t=r.lorodoc_getText(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return L.__wrap(t[0])}getTree(e){let t=r.lorodoc_getTree(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return q.__wrap(t[0])}frontiers(){let e=r.lorodoc_frontiers(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}JSONPath(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.lorodoc_JSONPath(this.__wbg_ptr,t,n);if(a[2])throw s(a[1]);return s(a[0])}revertTo(e){let t=f(e,r.__wbindgen_malloc),n=l,a=r.lorodoc_revertTo(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}subscribe(e){return r.lorodoc_subscribe(this.__wbg_ptr,e)}},P=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorolist_free(_>>>0,1)),B=class Di{static __wrap(e){e>>>=0;let t=Object.create(Di.prototype);return t.__wbg_ptr=e,P.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,P.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorolist_free(e,0)}isAttached(){return r.lorolist_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorolist_getAttached(this.__wbg_ptr)}pushContainer(e){let t=r.lorolist_pushContainer(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}insertContainer(e,t){let n=r.lorolist_insertContainer(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getShallowValue(){return r.lorolist_getShallowValue(this.__wbg_ptr)}get id(){return r.lorolist_id(this.__wbg_ptr)}get(e){return r.lorolist_get(this.__wbg_ptr,e)}constructor(){return this.__wbg_ptr=r.lorolist_new()>>>0,P.register(this,this.__wbg_ptr,this),this}pop(){let e=r.lorolist_pop(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}kind(){return r.lorolist_kind(this.__wbg_ptr)}push(e){let t=r.lorolist_push(this.__wbg_ptr,e);if(t[1])throw s(t[0])}clear(){let e=r.lorolist_clear(this.__wbg_ptr);if(e[1])throw s(e[0])}delete(e,t){let n=r.lorolist_delete(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}insert(e,t){let n=r.lorolist_insert(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}get length(){return r.lorolist_length(this.__wbg_ptr)>>>0}parent(){return r.lorolist_parent(this.__wbg_ptr)}getIdAt(e){let t=r.lorolist_getIdAt(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}toJSON(){return r.lorolist_toJSON(this.__wbg_ptr)}toArray(){let e=r.lorolist_toArray(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}getCursor(e,t){let n=r.lorolist_getCursor(this.__wbg_ptr,e,t);return n===0?void 0:S.__wrap(n)}isDeleted(){return r.lorolist_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorolist_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},M=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_loromap_free(_>>>0,1)),N=class Li{static __wrap(e){e>>>=0;let t=Object.create(Li.prototype);return t.__wbg_ptr=e,M.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,M.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_loromap_free(e,0)}isAttached(){return r.loromap_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.loromap_getAttached(this.__wbg_ptr)}getLastEditor(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;return r.loromap_getLastEditor(this.__wbg_ptr,t,n)}setContainer(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.loromap_setContainer(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}getShallowValue(){return r.loromap_getShallowValue(this.__wbg_ptr)}getOrCreateContainer(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.loromap_getOrCreateContainer(this.__wbg_ptr,n,a,t);if(i[2])throw s(i[1]);return s(i[0])}get id(){return r.loromap_id(this.__wbg_ptr)}get(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;return r.loromap_get(this.__wbg_ptr,t,n)}constructor(){return this.__wbg_ptr=r.loromap_new()>>>0,M.register(this,this.__wbg_ptr,this),this}keys(){let e=r.loromap_keys(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}kind(){return r.loromap_kind(this.__wbg_ptr)}get size(){return r.loromap_size(this.__wbg_ptr)>>>0}clear(){let e=r.loromap_clear(this.__wbg_ptr);if(e[1])throw s(e[0])}delete(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.loromap_delete(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}set(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.loromap_set(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}parent(){return r.loromap_parent(this.__wbg_ptr)}values(){let e=r.loromap_values(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}entries(){let e=r.loromap_entries(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}toJSON(){return r.loromap_toJSON(this.__wbg_ptr)}isDeleted(){return r.loromap_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.loromap_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},z=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_loromovablelist_free(_>>>0,1)),j=class ki{static __wrap(e){e>>>=0;let t=Object.create(ki.prototype);return t.__wbg_ptr=e,z.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,z.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_loromovablelist_free(e,0)}isAttached(){return r.loromovablelist_isAttached(this.__wbg_ptr)!==0}getCreatorAt(e){return r.loromovablelist_getCreatorAt(this.__wbg_ptr,e)}getAttached(){return r.loromovablelist_getAttached(this.__wbg_ptr)}setContainer(e,t){let n=r.loromovablelist_setContainer(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getLastMoverAt(e){return r.loromovablelist_getLastMoverAt(this.__wbg_ptr,e)}pushContainer(e){let t=r.loromovablelist_pushContainer(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}getLastEditorAt(e){return r.loromovablelist_getLastEditorAt(this.__wbg_ptr,e)}insertContainer(e,t){let n=r.loromovablelist_insertContainer(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getShallowValue(){return r.loromovablelist_getShallowValue(this.__wbg_ptr)}get id(){return r.loromovablelist_id(this.__wbg_ptr)}get(e){return r.loromovablelist_get(this.__wbg_ptr,e)}move(e,t){let n=r.loromovablelist_move(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}constructor(){return this.__wbg_ptr=r.loromovablelist_new()>>>0,z.register(this,this.__wbg_ptr,this),this}pop(){let e=r.loromovablelist_pop(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}set(e,t){let n=r.loromovablelist_set(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}kind(){return r.loromovablelist_kind(this.__wbg_ptr)}push(e){let t=r.loromovablelist_push(this.__wbg_ptr,e);if(t[1])throw s(t[0])}clear(){let e=r.loromovablelist_clear(this.__wbg_ptr);if(e[1])throw s(e[0])}delete(e,t){let n=r.loromovablelist_delete(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}insert(e,t){let n=r.loromovablelist_insert(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}get length(){return r.loromovablelist_length(this.__wbg_ptr)>>>0}parent(){return r.loromovablelist_parent(this.__wbg_ptr)}toJSON(){return r.loromovablelist_toJSON(this.__wbg_ptr)}toArray(){let e=r.loromovablelist_toArray(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}getCursor(e,t){let n=r.loromovablelist_getCursor(this.__wbg_ptr,e,t);return n===0?void 0:S.__wrap(n)}isDeleted(){return r.loromovablelist_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.loromovablelist_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},W=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotext_free(_>>>0,1)),L=class Ei{static __wrap(e){e>>>=0;let t=Object.create(Ei.prototype);return t.__wbg_ptr=e,W.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,W.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotext_free(e,0)}applyDelta(e){let t=r.lorotext_applyDelta(this.__wbg_ptr,e);if(t[1])throw s(t[0])}convertPos(e,t,n){let a=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,g=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),c=l;return r.lorotext_convertPos(this.__wbg_ptr,e,a,i,g,c)}deleteUtf8(e,t){let n=r.lorotext_deleteUtf8(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}getEditorOf(e){return r.lorotext_getEditorOf(this.__wbg_ptr,e)}insertUtf8(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_insertUtf8(this.__wbg_ptr,e,n,a);if(i[1])throw s(i[0])}isAttached(){return r.lorotext_isAttached(this.__wbg_ptr)!==0}sliceDelta(e,t){let n=r.lorotext_sliceDelta(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getAttached(){return r.lorotext_getAttached(this.__wbg_ptr)}updateByLine(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_updateByLine(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}sliceDeltaUtf8(e,t){let n=r.lorotext_sliceDeltaUtf8(this.__wbg_ptr,e,t);if(n[2])throw s(n[1]);return s(n[0])}getShallowValue(){let e,t;try{let n=r.lorotext_getShallowValue(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get id(){return r.lorotext_id(this.__wbg_ptr)}constructor(){return this.__wbg_ptr=r.lorotext_new()>>>0,W.register(this,this.__wbg_ptr,this),this}iter(e){let t=r.lorotext_iter(this.__wbg_ptr,e);if(t[1])throw s(t[0])}kind(){return r.lorotext_kind(this.__wbg_ptr)}mark(e,t,n){let a=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l,g=r.lorotext_mark(this.__wbg_ptr,e,a,i,n);if(g[1])throw s(g[0])}push(e){let t=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),n=l,a=r.lorotext_push(this.__wbg_ptr,t,n);if(a[1])throw s(a[0])}slice(e,t){let n,a;try{let c=r.lorotext_slice(this.__wbg_ptr,e,t);var i=c[0],g=c[1];if(c[3])throw i=0,g=0,s(c[2]);return n=i,a=g,w(i,g)}finally{r.__wbindgen_free(n,a,1)}}delete(e,t){let n=r.lorotext_delete(this.__wbg_ptr,e,t);if(n[1])throw s(n[0])}insert(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_insert(this.__wbg_ptr,e,n,a);if(i[1])throw s(i[0])}get length(){return r.lorotext_length(this.__wbg_ptr)>>>0}parent(){return r.lorotext_parent(this.__wbg_ptr)}splice(e,t,n){let a,i;try{let h=d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),K=l,G=r.lorotext_splice(this.__wbg_ptr,e,t,h,K);var g=G[0],c=G[1];if(G[3])throw g=0,c=0,s(G[2]);return a=g,i=c,w(g,c)}finally{r.__wbindgen_free(a,i,1)}}unmark(e,t){let n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_unmark(this.__wbg_ptr,e,n,a);if(i[1])throw s(i[0])}update(e,t){let n=d(e,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l,i=r.lorotext_update(this.__wbg_ptr,n,a,t);if(i[1])throw s(i[0])}charAt(e){let t=r.lorotext_charAt(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return String.fromCodePoint(t[0])}toJSON(){return r.lorotext_toJSON(this.__wbg_ptr)}toDelta(){let e=r.lorotext_toDelta(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}getCursor(e,t){let n=r.lorotext_getCursor(this.__wbg_ptr,e,t);return n===0?void 0:S.__wrap(n)}isDeleted(){return r.lorotext_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorotext_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}toString(){let e,t;try{let n=r.lorotext_toString(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}},H=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotree_free(_>>>0,1)),q=class Ri{static __wrap(e){e>>>=0;let t=Object.create(Ri.prototype);return t.__wbg_ptr=e,H.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,H.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotree_free(e,0)}createNode(e,t){let n=r.lorotree_createNode(this.__wbg_ptr,e,b(t)?4294967297:t>>>0);if(n[2])throw s(n[1]);return D.__wrap(n[0])}isAttached(){return r.lorotree_isAttached(this.__wbg_ptr)!==0}getAttached(){return r.lorotree_getAttached(this.__wbg_ptr)}getNodeByID(e){let t=r.lorotree_getNodeByID(this.__wbg_ptr,e);return t===0?void 0:D.__wrap(t)}isNodeDeleted(e){let t=r.lorotree_isNodeDeleted(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return t[0]!==0}getShallowValue(){return r.lorotree_getShallowValue(this.__wbg_ptr)}enableFractionalIndex(e){r.lorotree_enableFractionalIndex(this.__wbg_ptr,e)}disableFractionalIndex(){r.lorotree_disableFractionalIndex(this.__wbg_ptr)}isFractionalIndexEnabled(){return r.lorotree_isFractionalIndexEnabled(this.__wbg_ptr)!==0}get id(){return r.lorotree_id(this.__wbg_ptr)}move(e,t,n){let a=r.lorotree_move(this.__wbg_ptr,e,t,b(n)?4294967297:n>>>0);if(a[1])throw s(a[0])}constructor(){return this.__wbg_ptr=r.lorotree_new()>>>0,H.register(this,this.__wbg_ptr,this),this}kind(){return r.lorotree_kind(this.__wbg_ptr)}nodes(){let e=r.lorotree_nodes(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}roots(){let e=r.lorotree_roots(this.__wbg_ptr);var t=m(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*4,4),t}delete(e){let t=r.lorotree_delete(this.__wbg_ptr,e);if(t[1])throw s(t[0])}parent(){return r.lorotree_parent(this.__wbg_ptr)}toJSON(){return r.lorotree_toJSON(this.__wbg_ptr)}has(e){return r.lorotree_has(this.__wbg_ptr,e)!==0}toArray(){let e=r.lorotree_toArray(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}getNodes(e){let t=r.lorotree_getNodes(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}isDeleted(){return r.lorotree_isDeleted(this.__wbg_ptr)!==0}subscribe(e){let t=r.lorotree_subscribe(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return s(t[0])}},ne=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_lorotreenode_free(_>>>0,1)),D=class F{static __wrap(e){e>>>=0;let t=Object.create(F.prototype);return t.__wbg_ptr=e,ne.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,ne.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_lorotreenode_free(e,0)}creationId(){let e=r.lorotreenode_creationId(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}isDeleted(){let e=r.lorotreenode_isDeleted(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]!==0}moveBefore(e){I(e,F);let t=r.lorotreenode_moveBefore(this.__wbg_ptr,e.__wbg_ptr);if(t[1])throw s(t[0])}createNode(e){let t=r.lorotreenode_createNode(this.__wbg_ptr,b(e)?4294967297:e>>>0);if(t[2])throw s(t[1]);return F.__wrap(t[0])}getLastMoveId(){let e=r.lorotreenode_getLastMoveId(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}toJSON(){let e=r.lorotreenode_toJSON(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}fractionalIndex(){let e=r.lorotreenode_fractionalIndex(this.__wbg_ptr);if(e[2])throw s(e[1]);return s(e[0])}__getClassname(){let e,t;try{let n=r.lorotreenode___getClassname(this.__wbg_ptr);return e=n[0],t=n[1],w(n[0],n[1])}finally{r.__wbindgen_free(e,t,1)}}get id(){return r.lorotreenode_id(this.__wbg_ptr)}move(e,t){let n=r.lorotreenode_move(this.__wbg_ptr,e,b(t)?4294967297:t>>>0);if(n[1])throw s(n[0])}get data(){let e=r.lorotreenode_data(this.__wbg_ptr);if(e[2])throw s(e[1]);return N.__wrap(e[0])}index(){let e=r.lorotreenode_index(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]===4294967297?void 0:e[0]}parent(){let e=r.lorotreenode_parent(this.__wbg_ptr);if(e[2])throw s(e[1]);return e[0]===0?void 0:F.__wrap(e[0])}creator(){return r.lorotreenode_creator(this.__wbg_ptr)}children(){return r.lorotreenode_children(this.__wbg_ptr)}moveAfter(e){I(e,F);let t=r.lorotreenode_moveAfter(this.__wbg_ptr,e.__wbg_ptr);if(t[1])throw s(t[0])}},se=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_undomanager_free(_>>>0,1)),G_=class{__destroy_into_raw(){let _=this.__wbg_ptr;return this.__wbg_ptr=0,se.unregister(this),_}free(){let _=this.__destroy_into_raw();r.__wbg_undomanager_free(_,0)}groupStart(){let _=r.undomanager_groupStart(this.__wbg_ptr);if(_[1])throw s(_[0])}topRedoValue(){return r.undomanager_topRedoValue(this.__wbg_ptr)}topUndoValue(){return r.undomanager_topUndoValue(this.__wbg_ptr)}setMaxUndoSteps(_){r.undomanager_setMaxUndoSteps(this.__wbg_ptr,_)}setMergeInterval(_){r.undomanager_setMergeInterval(this.__wbg_ptr,_)}addExcludeOriginPrefix(_){let e=d(_,r.__wbindgen_malloc,r.__wbindgen_realloc),t=l;r.undomanager_addExcludeOriginPrefix(this.__wbg_ptr,e,t)}constructor(_,e){return I(_,Q),this.__wbg_ptr=r.undomanager_new(_.__wbg_ptr,e)>>>0,se.register(this,this.__wbg_ptr,this),this}peer(){return r.undomanager_peer(this.__wbg_ptr)}redo(){let _=r.undomanager_redo(this.__wbg_ptr);if(_[2])throw s(_[1]);return _[0]!==0}undo(){let _=r.undomanager_undo(this.__wbg_ptr);if(_[2])throw s(_[1]);return _[0]!==0}clear(){r.undomanager_clear(this.__wbg_ptr)}canRedo(){return r.undomanager_canRedo(this.__wbg_ptr)!==0}canUndo(){return r.undomanager_canUndo(this.__wbg_ptr)!==0}groupEnd(){r.undomanager_groupEnd(this.__wbg_ptr)}setOnPop(_){r.undomanager_setOnPop(this.__wbg_ptr,_)}setOnPush(_){r.undomanager_setOnPush(this.__wbg_ptr,_)}},$=typeof FinalizationRegistry>"u"?{register:()=>{},unregister:()=>{}}:new FinalizationRegistry(_=>r.__wbg_versionvector_free(_>>>0,1)),x=class E{static __wrap(e){e>>>=0;let t=Object.create(E.prototype);return t.__wbg_ptr=e,$.register(t,t.__wbg_ptr,t),t}__destroy_into_raw(){let e=this.__wbg_ptr;return this.__wbg_ptr=0,$.unregister(this),e}free(){let e=this.__destroy_into_raw();r.__wbg_versionvector_free(e,0)}get(e){let t=r.versionvector_get(this.__wbg_ptr,e);if(t[2])throw s(t[1]);return t[0]===4294967297?void 0:t[0]}constructor(e){let t=r.versionvector_new(e);if(t[2])throw s(t[1]);return this.__wbg_ptr=t[0]>>>0,$.register(this,this.__wbg_ptr,this),this}static decode(e){let t=v(e,r.__wbindgen_malloc),n=l,a=r.versionvector_decode(t,n);if(a[2])throw s(a[1]);return E.__wrap(a[0])}encode(){let e=r.versionvector_encode(this.__wbg_ptr);var t=y(e[0],e[1]).slice();return r.__wbindgen_free(e[0],e[1]*1,1),t}length(){return r.versionvector_length(this.__wbg_ptr)>>>0}remove(e){let t=r.versionvector_remove(this.__wbg_ptr,e);if(t[1])throw s(t[0])}setEnd(e){let t=r.versionvector_setEnd(this.__wbg_ptr,e);if(t[1])throw s(t[0])}compare(e){I(e,E);let t=r.versionvector_compare(this.__wbg_ptr,e.__wbg_ptr);return t===4294967297?void 0:t}setLast(e){let t=r.versionvector_setLast(this.__wbg_ptr,e);if(t[1])throw s(t[0])}toJSON(){return r.versionvector_toJSON(this.__wbg_ptr)}static parseJSON(e){let t=r.versionvector_parseJSON(e);if(t[2])throw s(t[1]);return E.__wrap(t[0])}};function Cs(_,e){let t=d(String(e),r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;u().setInt32(_+4,n,!0),u().setInt32(_+0,t,!0)}function As(){return p(function(_,e,t){return _.apply(e,t)},arguments)}function Os(){return p(function(_,e,t){return Reflect.apply(_,e,t)},arguments)}function Is(_){return _.buffer}function Ns(){return p(function(_,e){return _.call(e)},arguments)}function Fs(){return p(function(_,e,t){return _.call(e,t)},arguments)}function Ds(){return p(function(_,e,t,n){return _.call(e,t,n)},arguments)}function Ls(){return p(function(_,e,t,n,a){return _.call(e,t,n,a)},arguments)}function ks(_){return re.__wrap(_)}function Es(_){return _.crypto}function Rs(_){return S.__wrap(_)}function Ts(_){return _.done}function Js(_){return Object.entries(_)}function Vs(_){return _.entries()}function Us(_,e){console.error(w(_,e))}function Ps(_,e){let t,n;try{t=_,n=e,console.error(w(_,e))}finally{r.__wbindgen_free(t,n,1)}}function Bs(_){return Array.from(_)}function Ms(_){return Object.getOwnPropertySymbols(_)}function zs(){return p(function(_,e){_.getRandomValues(e)},arguments)}function js(){return p(function(_,e){return Reflect.get(_,e)},arguments)}function Ws(_,e){return _[e>>>0]}function Hs(_,e){return _[e>>>0]}function qs(_,e){return _[e]}function $s(_){let e;try{e=_ instanceof ArrayBuffer}catch{e=!1}return e}function Ks(_){let e;try{e=_ instanceof Map}catch{e=!1}return e}function Gs(_){let e;try{e=_ instanceof Object}catch{e=!1}return e}function Qs(_){let e;try{e=_ instanceof Uint8Array}catch{e=!1}return e}function Xs(_){return Array.isArray(_)}function Ys(_){return Number.isSafeInteger(_)}function Zs(){return Symbol.iterator}function ea(_){return _.length}function ta(_){return _.length}function ra(_,e){console.log(w(_,e))}function _a(_,e,t,n,a,i,g,c){let h,K;try{h=_,K=e,console.log(w(_,e),w(t,n),w(a,i),w(g,c))}finally{r.__wbindgen_free(h,K,1)}}function oa(_,e){let t,n;try{t=_,n=e,console.log(w(_,e))}finally{r.__wbindgen_free(t,n,1)}}function na(_){return V.__wrap(_)}function sa(_){return B.__wrap(_)}function aa(_){return N.__wrap(_)}function ia(_){return j.__wrap(_)}function la(_){return L.__wrap(_)}function ga(_){return q.__wrap(_)}function ca(_){return D.__wrap(_)}function da(_,e){performance.mark(w(_,e))}function wa(){return p(function(_,e,t,n){let a,i,g,c;try{a=_,i=e,g=t,c=n,performance.measure(w(_,e),w(t,n))}finally{r.__wbindgen_free(a,i,1),r.__wbindgen_free(g,c,1)}},arguments)}function ba(_){return _.msCrypto}function ua(){return{}}function pa(){return new Map}function ha(){return[]}function fa(){return Error()}function ma(_){return new Uint8Array(_)}function va(_,e){return Function(w(_,e))}function ya(_,e,t){return new Uint8Array(_,e>>>0,t>>>0)}function xa(_){return new Uint8Array(_>>>0)}function Sa(_){return Array(_>>>0)}function Ca(_){return _.next}function Aa(){return p(function(_){return _.next()},arguments)}function Oa(_){return _.node}function Ia(){return Date.now()}function Na(){return p(function(_){return Reflect.ownKeys(_)},arguments)}function Fa(_){return _.process}function Da(_,e){return _.push(e)}function La(){return p(function(_,e){_.randomFillSync(e)},arguments)}function ka(){return p(function(){return module.require},arguments)}function Ea(_){return Promise.resolve(_)}function Ra(_,e,t){_[e>>>0]=t}function Ta(_,e,t){_[e]=t}function Ja(_,e,t){_.set(e,t>>>0)}function Va(_,e,t){return _.set(e,t)}function Ua(){return p(function(_,e,t){return Reflect.set(_,e,t)},arguments)}function Pa(_,e,t){_[e>>>0]=t}function Ba(_,e){let t=e.stack,n=d(t,r.__wbindgen_malloc,r.__wbindgen_realloc),a=l;u().setInt32(_+4,a,!0),u().setInt32(_+0,n,!0)}function Ma(){let _=typeof global>"u"?null:global;return b(_)?0:C(_)}function za(){let _=typeof globalThis>"u"?null:globalThis;return b(_)?0:C(_)}function ja(){let _=typeof self>"u"?null:self;return b(_)?0:C(_)}function Wa(){let _=typeof window>"u"?null:window;return b(_)?0:C(_)}function Ha(_,e,t){return _.subarray(e>>>0,t>>>0)}function qa(_,e){return _.then(e)}function $a(_){return _.value}function Ka(_){return _.versions}function Ga(_){return x.__wrap(_)}function Qa(_,e){console.warn(w(_,e))}function Xa(_){return+_}function Ya(_){return _}function Za(_){return BigInt.asUintN(64,_)}function ei(_,e){let t=e,n=typeof t=="bigint"?t:void 0;u().setBigInt64(_+8,b(n)?BigInt(0):n,!0),u().setInt32(_+0,!b(n),!0)}function ti(_){let e=_;return typeof e=="boolean"?e?1:0:2}function ri(_){let e=_.original;return e.cnt--==1?(e.a=0,!0):!1}function _i(_,e,t){return Ss(_,e,10,ji)}function oi(_,e,t){return Ss(_,e,10,Wi)}function ni(_,e){let t=d(Z(e),r.__wbindgen_malloc,r.__wbindgen_realloc),n=l;u().setInt32(_+4,n,!0),u().setInt32(_+0,t,!0)}function si(_,e){return Error(w(_,e))}function ai(_,e){return _ in e}X=function(){let _=r.__wbindgen_export_4,e=_.grow(4);_.set(0,void 0),_.set(e+0,void 0),_.set(e+1,null),_.set(e+2,!0),_.set(e+3,!1)};function ii(_){return Array.isArray(_)}function li(_){return typeof _=="bigint"}function gi(_){return!_}function ci(_){return typeof _=="function"}function di(_){return _===null}function wi(_){let e=_;return typeof e=="object"&&!!e}function bi(_){return typeof _=="string"}function ui(_){return _===void 0}function pi(_,e){return _===e}function hi(_,e){return _==e}function fi(){return r.memory}function mi(_,e){let t=e,n=typeof t=="number"?t:void 0;u().setFloat64(_+8,b(n)?0:n,!0),u().setInt32(_+0,!b(n),!0)}function vi(_){return _}function yi(_){throw _}function xi(_,e){let t=e,n=typeof t=="string"?t:void 0;var a=b(n)?0:d(n,r.__wbindgen_malloc,r.__wbindgen_realloc),i=l;u().setInt32(_+4,i,!0),u().setInt32(_+0,a,!0)}function Si(_,e){return w(_,e)}function Ci(_,e){throw Error(w(_,e))}function Ai(_){return typeof _}Ii=Oi({LORO_VERSION:()=>Fn,__externref_drop_slice:()=>zo,__externref_table_alloc:()=>pn,__externref_table_dealloc:()=>go,__wbg_awarenesswasm_free:()=>w_,__wbg_changemodifier_free:()=>Go,__wbg_cursor_free:()=>Sn,__wbg_ephemeralstorewasm_free:()=>O_,__wbg_lorocounter_free:()=>Do,__wbg_lorodoc_free:()=>Jn,__wbg_lorolist_free:()=>E_,__wbg_loromap_free:()=>H_,__wbg_loromovablelist_free:()=>rn,__wbg_lorotext_free:()=>Jo,__wbg_lorotree_free:()=>_o,__wbg_lorotreenode_free:()=>X_,__wbg_undomanager_free:()=>a_,__wbg_versionvector_free:()=>zn,__wbindgen_exn_store:()=>ss,__wbindgen_export_4:()=>v_,__wbindgen_export_6:()=>es,__wbindgen_free:()=>wr,__wbindgen_malloc:()=>Ae,__wbindgen_realloc:()=>Kn,__wbindgen_start:()=>mr,_dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156:()=>Ve,awarenesswasm_apply:()=>Le,awarenesswasm_encode:()=>jt,awarenesswasm_encodeAll:()=>Co,awarenesswasm_getAllStates:()=>we,awarenesswasm_getState:()=>fo,awarenesswasm_getTimestamp:()=>Lt,awarenesswasm_isEmpty:()=>Vt,awarenesswasm_length:()=>Gt,awarenesswasm_new:()=>je,awarenesswasm_peer:()=>at,awarenesswasm_peers:()=>At,awarenesswasm_removeOutdated:()=>ar,awarenesswasm_setLocalState:()=>ds,callPendingEvents:()=>me,changemodifier_setMessage:()=>Lr,changemodifier_setTimestamp:()=>tt,closure9_externref_shim:()=>Ar,cursor_containerId:()=>Vr,cursor_decode:()=>Ge,cursor_encode:()=>mt,cursor_kind:()=>gn,cursor_pos:()=>wt,cursor_side:()=>Gr,decodeFrontiers:()=>jr,decodeImportBlobMeta:()=>t_,encodeFrontiers:()=>tr,ephemeralstorewasm_apply:()=>ae,ephemeralstorewasm_delete:()=>W_,ephemeralstorewasm_encode:()=>Tn,ephemeralstorewasm_encodeAll:()=>Ko,ephemeralstorewasm_get:()=>xn,ephemeralstorewasm_getAllStates:()=>ho,ephemeralstorewasm_isEmpty:()=>m_,ephemeralstorewasm_keys:()=>tn,ephemeralstorewasm_new:()=>Nn,ephemeralstorewasm_removeOutdated:()=>k_,ephemeralstorewasm_set:()=>To,ephemeralstorewasm_subscribe:()=>Mn,ephemeralstorewasm_subscribeLocalUpdates:()=>U_,lorocounter_decrement:()=>ln,lorocounter_getAttached:()=>Mo,lorocounter_getShallowValue:()=>lo,lorocounter_id:()=>ro,lorocounter_increment:()=>d_,lorocounter_isAttached:()=>$n,lorocounter_kind:()=>cs,lorocounter_new:()=>A_,lorocounter_parent:()=>ns,lorocounter_subscribe:()=>fr,lorocounter_toJSON:()=>De,lorocounter_value:()=>Zn,lorodoc_JSONPath:()=>Cr,lorodoc_applyDiff:()=>ze,lorodoc_attach:()=>Je,lorodoc_changeCount:()=>Kt,lorodoc_checkout:()=>Fo,lorodoc_checkoutToLatest:()=>fe,lorodoc_clearNextCommitOptions:()=>So,lorodoc_cmpFrontiers:()=>Jt,lorodoc_cmpWithFrontiers:()=>zt,lorodoc_commit:()=>er,lorodoc_configDefaultTextStyle:()=>Ke,lorodoc_configTextStyle:()=>dt,lorodoc_debugHistory:()=>Dt,lorodoc_deleteRootContainer:()=>dr,lorodoc_detach:()=>hs,lorodoc_diff:()=>Ce,lorodoc_export:()=>Jr,lorodoc_exportJsonInIdSpan:()=>st,lorodoc_exportJsonUpdates:()=>Dr,lorodoc_findIdSpansBetween:()=>zr,lorodoc_fork:()=>et,lorodoc_forkAt:()=>Ct,lorodoc_fromSnapshot:()=>un,lorodoc_frontiers:()=>ft,lorodoc_frontiersToVV:()=>e_,lorodoc_getAllChanges:()=>Kr,lorodoc_getByPath:()=>s_,lorodoc_getChangeAt:()=>sr,lorodoc_getChangeAtLamport:()=>de,lorodoc_getChangedContainersIn:()=>M_,lorodoc_getContainerById:()=>kn,lorodoc_getCounter:()=>Ho,lorodoc_getCursorPos:()=>mn,lorodoc_getDeepValueWithID:()=>bo,lorodoc_getList:()=>p_,lorodoc_getMap:()=>Yo,lorodoc_getMovableList:()=>On,lorodoc_getOpsInChange:()=>F_,lorodoc_getPathToContainer:()=>Eo,lorodoc_getPendingTxnLength:()=>Pn,lorodoc_getShallowValue:()=>J_,lorodoc_getText:()=>K_,lorodoc_getTree:()=>nn,lorodoc_getUncommittedOpsAsJson:()=>Po,lorodoc_hasContainer:()=>so,lorodoc_import:()=>eo,lorodoc_importBatch:()=>g_,lorodoc_importJsonUpdates:()=>Hn,lorodoc_importUpdateBatch:()=>ls,lorodoc_isDetached:()=>S_,lorodoc_isDetachedEditingEnabled:()=>_s,lorodoc_isShallow:()=>pr,lorodoc_new:()=>Ne,lorodoc_opCount:()=>Xn,lorodoc_oplogFrontiers:()=>xr,lorodoc_oplogVersion:()=>Be,lorodoc_peerId:()=>Re,lorodoc_peerIdStr:()=>qt,lorodoc_revertTo:()=>Io,lorodoc_setChangeMergeInterval:()=>pe,lorodoc_setDetachedEditing:()=>yo,lorodoc_setHideEmptyRootContainers:()=>Rt,lorodoc_setNextCommitMessage:()=>Bt,lorodoc_setNextCommitOptions:()=>Yt,lorodoc_setNextCommitOrigin:()=>qe,lorodoc_setNextCommitTimestamp:()=>gt,lorodoc_setPeerId:()=>Nt,lorodoc_setRecordTimestamp:()=>gr,lorodoc_shallowSinceFrontiers:()=>us,lorodoc_shallowSinceVV:()=>xe,lorodoc_subscribe:()=>Rr,lorodoc_subscribeFirstCommitFromPeer:()=>ot,lorodoc_subscribeJsonpath:()=>Nr,lorodoc_subscribeLocalUpdates:()=>Br,lorodoc_subscribePreCommit:()=>Ye,lorodoc_toJSON:()=>xt,lorodoc_travelChangeAncestors:()=>wn,lorodoc_version:()=>pt,lorodoc_vvToFrontiers:()=>Yr,lorolist_clear:()=>qr,lorolist_delete:()=>o_,lorolist_get:()=>or,lorolist_getAttached:()=>ge,lorolist_getCursor:()=>j_,lorolist_getIdAt:()=>Rn,lorolist_getShallowValue:()=>$o,lorolist_id:()=>yn,lorolist_insert:()=>po,lorolist_insertContainer:()=>f_,lorolist_isAttached:()=>en,lorolist_isDeleted:()=>In,lorolist_kind:()=>L_,lorolist_length:()=>Ro,lorolist_new:()=>Bn,lorolist_parent:()=>V_,lorolist_pop:()=>Q_,lorolist_push:()=>an,lorolist_pushContainer:()=>Bo,lorolist_subscribe:()=>io,lorolist_toArray:()=>to,lorolist_toJSON:()=>c_,loromap_clear:()=>qn,loromap_delete:()=>gs,loromap_entries:()=>C_,loromap_get:()=>os,loromap_getAttached:()=>hr,loromap_getLastEditor:()=>Fe,loromap_getOrCreateContainer:()=>Yn,loromap_getShallowValue:()=>Sr,loromap_id:()=>Me,loromap_isAttached:()=>Te,loromap_isDeleted:()=>$t,loromap_keys:()=>No,loromap_kind:()=>he,loromap_new:()=>xo,loromap_parent:()=>Tt,loromap_set:()=>Mt,loromap_setContainer:()=>Zt,loromap_size:()=>$e,loromap_subscribe:()=>ct,loromap_toJSON:()=>Ft,loromap_values:()=>cr,loromovablelist_clear:()=>ps,loromovablelist_delete:()=>Se,loromovablelist_get:()=>Tr,loromovablelist_getAttached:()=>nt,loromovablelist_getCreatorAt:()=>Fr,loromovablelist_getCursor:()=>Mr,loromovablelist_getLastEditorAt:()=>Ze,loromovablelist_getLastMoverAt:()=>St,loromovablelist_getShallowValue:()=>bn,loromovablelist_id:()=>ht,loromovablelist_insert:()=>Zr,loromovablelist_insertContainer:()=>$r,loromovablelist_isAttached:()=>n_,loromovablelist_isDeleted:()=>nr,loromovablelist_kind:()=>ce,loromovablelist_length:()=>B_,loromovablelist_move:()=>Ln,loromovablelist_new:()=>Wo,loromovablelist_parent:()=>fn,loromovablelist_pop:()=>wo,loromovablelist_push:()=>u_,loromovablelist_pushContainer:()=>Xo,loromovablelist_set:()=>An,loromovablelist_setContainer:()=>N_,loromovablelist_subscribe:()=>ko,loromovablelist_toArray:()=>Un,loromovablelist_toJSON:()=>T_,lorotext_applyDelta:()=>$_,lorotext_charAt:()=>on,lorotext_convertPos:()=>Uo,lorotext_delete:()=>no,lorotext_deleteUtf8:()=>Z_,lorotext_getAttached:()=>l_,lorotext_getCursor:()=>Wn,lorotext_getEditorOf:()=>is,lorotext_getShallowValue:()=>x_,lorotext_id:()=>rs,lorotext_insert:()=>ur,lorotext_insertUtf8:()=>Ie,lorotext_isAttached:()=>Qn,lorotext_isDeleted:()=>yr,lorotext_iter:()=>Pe,lorotext_kind:()=>Ee,lorotext_length:()=>Ht,lorotext_mark:()=>Oo,lorotext_new:()=>ue,lorotext_parent:()=>vo,lorotext_push:()=>Et,lorotext_slice:()=>Pt,lorotext_sliceDelta:()=>Xt,lorotext_sliceDeltaUtf8:()=>He,lorotext_splice:()=>lt,lorotext_subscribe:()=>It,lorotext_toDelta:()=>lr,lorotext_toJSON:()=>bs,lorotext_toString:()=>ye,lorotext_unmark:()=>Er,lorotext_update:()=>_t,lorotext_updateByLine:()=>Ir,lorotree_createNode:()=>Pr,lorotree_delete:()=>Xe,lorotree_disableFractionalIndex:()=>yt,lorotree_enableFractionalIndex:()=>dn,lorotree_getAttached:()=>ut,lorotree_getNodeByID:()=>Xr,lorotree_getNodes:()=>Hr,lorotree_getShallowValue:()=>__,lorotree_has:()=>_r,lorotree_id:()=>le,lorotree_isAttached:()=>P_,lorotree_isDeleted:()=>Dn,lorotree_isFractionalIndexEnabled:()=>jo,lorotree_isNodeDeleted:()=>hn,lorotree_kind:()=>co,lorotree_move:()=>b_,lorotree_new:()=>Qo,lorotree_nodes:()=>Cn,lorotree_parent:()=>I_,lorotree_roots:()=>Lo,lorotree_subscribe:()=>Vn,lorotree_toArray:()=>R_,lorotree_toJSON:()=>q_,lorotreenode___getClassname:()=>_n,lorotreenode_children:()=>Vo,lorotreenode_createNode:()=>oo,lorotreenode_creationId:()=>Y_,lorotreenode_creator:()=>i_,lorotreenode_data:()=>jn,lorotreenode_fractionalIndex:()=>as,lorotreenode_getLastMoveId:()=>y_,lorotreenode_id:()=>ts,lorotreenode_index:()=>br,lorotreenode_isDeleted:()=>Oe,lorotreenode_move:()=>Gn,lorotreenode_moveAfter:()=>vr,lorotreenode_moveBefore:()=>Ue,lorotreenode_parent:()=>ke,lorotreenode_toJSON:()=>Wt,memory:()=>Ao,redactJsonUpdates:()=>be,run:()=>mo,setDebug:()=>kt,undomanager_addExcludeOriginPrefix:()=>Ut,undomanager_canRedo:()=>Qt,undomanager_canUndo:()=>We,undomanager_clear:()=>it,undomanager_groupEnd:()=>Ot,undomanager_groupStart:()=>ir,undomanager_new:()=>ws,undomanager_peer:()=>ve,undomanager_redo:()=>kr,undomanager_setMaxUndoSteps:()=>rt,undomanager_setMergeInterval:()=>Or,undomanager_setOnPop:()=>Ur,undomanager_setOnPush:()=>Qe,undomanager_topRedoValue:()=>vt,undomanager_topUndoValue:()=>cn,undomanager_undo:()=>bt,versionvector_compare:()=>Qr,versionvector_decode:()=>Wr,versionvector_encode:()=>r_,versionvector_get:()=>rr,versionvector_length:()=>ie,versionvector_new:()=>z_,versionvector_parseJSON:()=>En,versionvector_remove:()=>qo,versionvector_setEnd:()=>vn,versionvector_setLast:()=>uo,versionvector_toJSON:()=>h_},1),URL=globalThis.URL;var o=await vs({"./loro_wasm_bg.js":{__wbg_lorotree_new:ga,__wbg_lorocounter_new:na,__wbg_lorotext_new:la,__wbg_lorotreenode_new:ca,__wbg_cursor_new:Rs,__wbg_loromap_new:aa,__wbg_loromovablelist_new:ia,__wbg_lorolist_new:sa,__wbg_changemodifier_new:ks,__wbg_versionvector_new:Ga,__wbindgen_is_function:ci,__wbindgen_number_get:mi,__wbindgen_string_get:xi,__wbindgen_string_new:Si,__wbindgen_boolean_get:ti,__wbindgen_error_new:si,__wbg_error_1cb1bf0bb7e0da2b:Us,__wbindgen_cb_drop:ri,__wbindgen_is_undefined:ui,__wbindgen_in:ai,__wbindgen_is_bigint:li,__wbindgen_bigint_from_i64:Ya,__wbindgen_jsval_eq:pi,__wbindgen_is_object:wi,__wbindgen_bigint_from_u64:Za,__wbindgen_as_number:Xa,__wbindgen_number_new:vi,__wbindgen_is_string:bi,__wbindgen_is_null:di,__wbindgen_is_falsy:gi,__wbindgen_typeof:Ai,__wbg_warn_90235b184e422485:Qa,__wbg_log_0671e6aa34e04626:ra,__wbindgen_is_array:ii,__wbg_log_cb9e190acc5753fb:oa,__wbg_log_0cc1b7768397bcfe:_a,__wbg_mark_7438147ce31e9d4b:da,__wbg_measure_fb7825c11612c823:wa,__wbg_new_8a6f238a6ece86ea:fa,__wbg_stack_0ed75d68575b0f3c:Ba,__wbg_error_7534b8e9a36f1ab4:Ps,__wbindgen_jsval_loose_eq:hi,__wbg_getwithrefkey_1dc361bd10053bfe:qs,__wbg_set_3f1d0b984ed272ed:Ta,__wbg_String_8f0eb39a4a4c2f66:Cs,__wbg_now_c8bdc8efc8c495eb:Ia,__wbg_crypto_574e78ad8b13b65f:Es,__wbg_process_dc0fbacc7c1c06f7:Fa,__wbg_versions_c01dfd4722a88165:Ka,__wbg_node_905d3e251edff8a2:Oa,__wbg_require_60cc747a6bc5215a:ka,__wbg_msCrypto_a61aeb35a24c1329:ba,__wbg_randomFillSync_ac0988aba3254290:La,__wbg_getRandomValues_b8f5dbd5f3995a9e:zs,__wbg_new_5e0be73521bc8c17:pa,__wbg_new_78feb108b6472713:ha,__wbg_new_405e22f390576ce2:ua,__wbg_newnoargs_105ed471475aaf50:va,__wbg_new_a12002a7f91c75be:ma,__wbg_buffer_609cc3eee51ed158:Is,__wbg_newwithbyteoffsetandlength_d97e637ebe145a9a:ya,__wbg_length_a446193dc22c12f8:ea,__wbg_newwithlength_a381634e90c276d4:xa,__wbg_set_65595bdd868b3009:Ja,__wbg_subarray_aa9065fa9dc5df96:Ha,__wbg_getindex_5b00c274b05714aa:Hs,__wbg_setindex_dcd71eabf405bde1:Pa,__wbg_done_769e5ede4b31c67b:Ts,__wbg_value_cd1ffa7b1ab794f1:$a,__wbg_instanceof_Map_f3469ce2244d2430:Ks,__wbg_instanceof_Object_7f2dcef8f78644a4:Gs,__wbg_instanceof_Uint8Array_17156bcf118086a9:Qs,__wbg_instanceof_ArrayBuffer_e14585432e3737fc:$s,__wbg_set_8fc6bf8a5b1071d1:Va,__wbg_entries_c8a90a7ed73e84ce:Vs,__wbg_newwithlength_c4c419ef0bc8a1f8:Sa,__wbg_get_b9b93047fe3cf45b:Ws,__wbg_set_37837023f3d740e8:Ra,__wbg_from_2a5d3e218e67aa85:Bs,__wbg_length_e2d2a49132c1b256:ta,__wbg_push_737cfc8c1432c2c6:Da,__wbg_isArray_a1eab7e0d067391b:Xs,__wbg_isSafeInteger_343e2beeeece1bb0:Ys,__wbg_getOwnPropertySymbols_97eebed6fe6e08be:Ms,__wbg_entries_3265d4158b33e5dc:Js,__wbg_iterator_9a24c88df860dc65:Zs,__wbg_static_accessor_GLOBAL_THIS_56578be7e9f832b0:za,__wbg_call_672a4d21634d4a24:Ns,__wbg_static_accessor_SELF_37c5d418e4bf5819:ja,__wbg_static_accessor_GLOBAL_88a902d13a557d07:Ma,__wbg_static_accessor_WINDOW_5de37043a91a9c40:Wa,__wbg_then_44b73946d2fb3e7d:qa,__wbg_resolve_4851785c9c5f573d:Ea,__wbg_get_67b2ba62fc30de12:js,__wbg_set_bb8cecf6a62b9f46:Ua,__wbg_apply_eb9e9b97497f91e4:Os,__wbg_ownKeys_3930041068756f1f:Na,__wbg_apply_36be6a55257c99bf:As,__wbg_call_7cccdd69e0791ae2:Fs,__wbg_call_833bed5770ea2041:Ds,__wbg_call_b8adc8b1d0a0d8eb:Ls,__wbg_next_25feadfc0913fea9:Ca,__wbg_next_6574e1a8a62d1055:Aa,__wbindgen_bigint_get_as_i64:ei,__wbindgen_memory:fi,__wbindgen_throw:Ci,__wbindgen_rethrow:yi,__wbindgen_debug_string:ni,__wbindgen_closure_wrapper718:_i,__wbindgen_closure_wrapper721:oi,__wbindgen_init_externref_table:X}},ms);Ao=o.memory,Fn=o.LORO_VERSION,w_=o.__wbg_awarenesswasm_free,Go=o.__wbg_changemodifier_free,Sn=o.__wbg_cursor_free,O_=o.__wbg_ephemeralstorewasm_free,Do=o.__wbg_lorocounter_free,Jn=o.__wbg_lorodoc_free,E_=o.__wbg_lorolist_free,H_=o.__wbg_loromap_free,Jo=o.__wbg_lorotext_free,_o=o.__wbg_lorotree_free,X_=o.__wbg_lorotreenode_free,a_=o.__wbg_undomanager_free,zn=o.__wbg_versionvector_free,Le=o.awarenesswasm_apply,jt=o.awarenesswasm_encode,Co=o.awarenesswasm_encodeAll,we=o.awarenesswasm_getAllStates,fo=o.awarenesswasm_getState,Lt=o.awarenesswasm_getTimestamp,Vt=o.awarenesswasm_isEmpty,Gt=o.awarenesswasm_length,je=o.awarenesswasm_new,at=o.awarenesswasm_peer,At=o.awarenesswasm_peers,ar=o.awarenesswasm_removeOutdated,ds=o.awarenesswasm_setLocalState,me=o.callPendingEvents,Lr=o.changemodifier_setMessage,tt=o.changemodifier_setTimestamp,Vr=o.cursor_containerId,Ge=o.cursor_decode,mt=o.cursor_encode,gn=o.cursor_kind,wt=o.cursor_pos,Gr=o.cursor_side,jr=o.decodeFrontiers,t_=o.decodeImportBlobMeta,tr=o.encodeFrontiers,ae=o.ephemeralstorewasm_apply,W_=o.ephemeralstorewasm_delete,Tn=o.ephemeralstorewasm_encode,Ko=o.ephemeralstorewasm_encodeAll,xn=o.ephemeralstorewasm_get,ho=o.ephemeralstorewasm_getAllStates,m_=o.ephemeralstorewasm_isEmpty,tn=o.ephemeralstorewasm_keys,Nn=o.ephemeralstorewasm_new,k_=o.ephemeralstorewasm_removeOutdated,To=o.ephemeralstorewasm_set,Mn=o.ephemeralstorewasm_subscribe,U_=o.ephemeralstorewasm_subscribeLocalUpdates,ln=o.lorocounter_decrement,Mo=o.lorocounter_getAttached,lo=o.lorocounter_getShallowValue,ro=o.lorocounter_id,d_=o.lorocounter_increment,$n=o.lorocounter_isAttached,cs=o.lorocounter_kind,A_=o.lorocounter_new,ns=o.lorocounter_parent,fr=o.lorocounter_subscribe,Cr=o.lorodoc_JSONPath,ze=o.lorodoc_applyDiff,Je=o.lorodoc_attach,Kt=o.lorodoc_changeCount,Fo=o.lorodoc_checkout,fe=o.lorodoc_checkoutToLatest,So=o.lorodoc_clearNextCommitOptions,Jt=o.lorodoc_cmpFrontiers,zt=o.lorodoc_cmpWithFrontiers,er=o.lorodoc_commit,Ke=o.lorodoc_configDefaultTextStyle,dt=o.lorodoc_configTextStyle,Dt=o.lorodoc_debugHistory,dr=o.lorodoc_deleteRootContainer,hs=o.lorodoc_detach,Ce=o.lorodoc_diff,Jr=o.lorodoc_export,st=o.lorodoc_exportJsonInIdSpan,Dr=o.lorodoc_exportJsonUpdates,zr=o.lorodoc_findIdSpansBetween,et=o.lorodoc_fork,Ct=o.lorodoc_forkAt,un=o.lorodoc_fromSnapshot,ft=o.lorodoc_frontiers,e_=o.lorodoc_frontiersToVV,Kr=o.lorodoc_getAllChanges,s_=o.lorodoc_getByPath,sr=o.lorodoc_getChangeAt,de=o.lorodoc_getChangeAtLamport,M_=o.lorodoc_getChangedContainersIn,kn=o.lorodoc_getContainerById,Ho=o.lorodoc_getCounter,mn=o.lorodoc_getCursorPos,bo=o.lorodoc_getDeepValueWithID,p_=o.lorodoc_getList,Yo=o.lorodoc_getMap,On=o.lorodoc_getMovableList,F_=o.lorodoc_getOpsInChange,Eo=o.lorodoc_getPathToContainer,Pn=o.lorodoc_getPendingTxnLength,J_=o.lorodoc_getShallowValue,K_=o.lorodoc_getText,nn=o.lorodoc_getTree,Po=o.lorodoc_getUncommittedOpsAsJson,so=o.lorodoc_hasContainer,eo=o.lorodoc_import,g_=o.lorodoc_importBatch,Hn=o.lorodoc_importJsonUpdates,S_=o.lorodoc_isDetached,_s=o.lorodoc_isDetachedEditingEnabled,pr=o.lorodoc_isShallow,Ne=o.lorodoc_new,Xn=o.lorodoc_opCount,xr=o.lorodoc_oplogFrontiers,Be=o.lorodoc_oplogVersion,Re=o.lorodoc_peerId,qt=o.lorodoc_peerIdStr,Io=o.lorodoc_revertTo,pe=o.lorodoc_setChangeMergeInterval,yo=o.lorodoc_setDetachedEditing,Rt=o.lorodoc_setHideEmptyRootContainers,Bt=o.lorodoc_setNextCommitMessage,Yt=o.lorodoc_setNextCommitOptions,qe=o.lorodoc_setNextCommitOrigin,gt=o.lorodoc_setNextCommitTimestamp,Nt=o.lorodoc_setPeerId,gr=o.lorodoc_setRecordTimestamp,us=o.lorodoc_shallowSinceFrontiers,xe=o.lorodoc_shallowSinceVV,Rr=o.lorodoc_subscribe,ot=o.lorodoc_subscribeFirstCommitFromPeer,Nr=o.lorodoc_subscribeJsonpath,Br=o.lorodoc_subscribeLocalUpdates,Ye=o.lorodoc_subscribePreCommit,xt=o.lorodoc_toJSON,wn=o.lorodoc_travelChangeAncestors,pt=o.lorodoc_version,Yr=o.lorodoc_vvToFrontiers,qr=o.lorolist_clear,o_=o.lorolist_delete,or=o.lorolist_get,ge=o.lorolist_getAttached,j_=o.lorolist_getCursor,Rn=o.lorolist_getIdAt,$o=o.lorolist_getShallowValue,yn=o.lorolist_id,po=o.lorolist_insert,f_=o.lorolist_insertContainer,en=o.lorolist_isAttached,In=o.lorolist_isDeleted,L_=o.lorolist_kind,Ro=o.lorolist_length,Bn=o.lorolist_new,V_=o.lorolist_parent,Q_=o.lorolist_pop,an=o.lorolist_push,Bo=o.lorolist_pushContainer,io=o.lorolist_subscribe,to=o.lorolist_toArray,c_=o.lorolist_toJSON,qn=o.loromap_clear,gs=o.loromap_delete,C_=o.loromap_entries,os=o.loromap_get,hr=o.loromap_getAttached,Fe=o.loromap_getLastEditor,Yn=o.loromap_getOrCreateContainer,Sr=o.loromap_getShallowValue,Me=o.loromap_id,Te=o.loromap_isAttached,$t=o.loromap_isDeleted,No=o.loromap_keys,he=o.loromap_kind,xo=o.loromap_new,Tt=o.loromap_parent,Mt=o.loromap_set,Zt=o.loromap_setContainer,$e=o.loromap_size,ct=o.loromap_subscribe,Ft=o.loromap_toJSON,cr=o.loromap_values,ps=o.loromovablelist_clear,Se=o.loromovablelist_delete,Tr=o.loromovablelist_get,nt=o.loromovablelist_getAttached,Fr=o.loromovablelist_getCreatorAt,Mr=o.loromovablelist_getCursor,Ze=o.loromovablelist_getLastEditorAt,St=o.loromovablelist_getLastMoverAt,bn=o.loromovablelist_getShallowValue,ht=o.loromovablelist_id,Zr=o.loromovablelist_insert,$r=o.loromovablelist_insertContainer,n_=o.loromovablelist_isAttached,nr=o.loromovablelist_isDeleted,ce=o.loromovablelist_kind,B_=o.loromovablelist_length,Ln=o.loromovablelist_move,Wo=o.loromovablelist_new,fn=o.loromovablelist_parent,wo=o.loromovablelist_pop,u_=o.loromovablelist_push,Xo=o.loromovablelist_pushContainer,An=o.loromovablelist_set,N_=o.loromovablelist_setContainer,ko=o.loromovablelist_subscribe,Un=o.loromovablelist_toArray,T_=o.loromovablelist_toJSON,$_=o.lorotext_applyDelta,on=o.lorotext_charAt,Uo=o.lorotext_convertPos,no=o.lorotext_delete,Z_=o.lorotext_deleteUtf8,l_=o.lorotext_getAttached,Wn=o.lorotext_getCursor,is=o.lorotext_getEditorOf,x_=o.lorotext_getShallowValue,rs=o.lorotext_id,ur=o.lorotext_insert,Ie=o.lorotext_insertUtf8,Qn=o.lorotext_isAttached,yr=o.lorotext_isDeleted,Pe=o.lorotext_iter,Ee=o.lorotext_kind,Ht=o.lorotext_length,Oo=o.lorotext_mark,ue=o.lorotext_new,vo=o.lorotext_parent,Et=o.lorotext_push,Pt=o.lorotext_slice,Xt=o.lorotext_sliceDelta,He=o.lorotext_sliceDeltaUtf8,lt=o.lorotext_splice,It=o.lorotext_subscribe,lr=o.lorotext_toDelta,bs=o.lorotext_toJSON,ye=o.lorotext_toString,Er=o.lorotext_unmark,_t=o.lorotext_update,Ir=o.lorotext_updateByLine,Pr=o.lorotree_createNode,Xe=o.lorotree_delete,yt=o.lorotree_disableFractionalIndex,dn=o.lorotree_enableFractionalIndex,ut=o.lorotree_getAttached,Xr=o.lorotree_getNodeByID,Hr=o.lorotree_getNodes,__=o.lorotree_getShallowValue,_r=o.lorotree_has,le=o.lorotree_id,P_=o.lorotree_isAttached,Dn=o.lorotree_isDeleted,jo=o.lorotree_isFractionalIndexEnabled,hn=o.lorotree_isNodeDeleted,co=o.lorotree_kind,b_=o.lorotree_move,Qo=o.lorotree_new,Cn=o.lorotree_nodes,I_=o.lorotree_parent,Lo=o.lorotree_roots,Vn=o.lorotree_subscribe,R_=o.lorotree_toArray,q_=o.lorotree_toJSON,_n=o.lorotreenode___getClassname,Vo=o.lorotreenode_children,oo=o.lorotreenode_createNode,Y_=o.lorotreenode_creationId,i_=o.lorotreenode_creator,jn=o.lorotreenode_data,as=o.lorotreenode_fractionalIndex,y_=o.lorotreenode_getLastMoveId,ts=o.lorotreenode_id,br=o.lorotreenode_index,Oe=o.lorotreenode_isDeleted,Gn=o.lorotreenode_move,vr=o.lorotreenode_moveAfter,Ue=o.lorotreenode_moveBefore,ke=o.lorotreenode_parent,Wt=o.lorotreenode_toJSON,be=o.redactJsonUpdates,mo=o.run,kt=o.setDebug,Ut=o.undomanager_addExcludeOriginPrefix,Qt=o.undomanager_canRedo,We=o.undomanager_canUndo,it=o.undomanager_clear,Ot=o.undomanager_groupEnd,ir=o.undomanager_groupStart,ws=o.undomanager_new,ve=o.undomanager_peer,kr=o.undomanager_redo,rt=o.undomanager_setMaxUndoSteps,Or=o.undomanager_setMergeInterval,Ur=o.undomanager_setOnPop,Qe=o.undomanager_setOnPush,vt=o.undomanager_topRedoValue,cn=o.undomanager_topUndoValue,bt=o.undomanager_undo,Qr=o.versionvector_compare,Wr=o.versionvector_decode,r_=o.versionvector_encode,rr=o.versionvector_get,ie=o.versionvector_length,z_=o.versionvector_new,En=o.versionvector_parseJSON,qo=o.versionvector_remove,vn=o.versionvector_setEnd,uo=o.versionvector_setLast,h_=o.versionvector_toJSON,ls=o.lorodoc_importUpdateBatch,rn=o.__wbg_loromovablelist_free,Zn=o.lorocounter_value,De=o.lorocounter_toJSON,Ae=o.__wbindgen_malloc,Kn=o.__wbindgen_realloc,ss=o.__wbindgen_exn_store,pn=o.__externref_table_alloc,v_=o.__wbindgen_export_4,wr=o.__wbindgen_free,es=o.__wbindgen_export_6,go=o.__externref_table_dealloc,zo=o.__externref_drop_slice,Ar=o.closure9_externref_shim,Ve=o._dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156,mr=o.__wbindgen_start})();export{ae as $,ie as $a,le as $i,ge as $n,ce as $r,de as $t,we as A,be as Aa,ue as Ai,pe as An,he as Ar,fe as At,me as B,ve as Ba,ye as Bi,xe as Bn,Se as Br,Ce as Bt,Ae as C,Oe as Ca,Ie as Ci,Ne as Cn,Fe as Cr,De as Ct,Le as D,ke as Da,Ee as Di,Re as Dn,Te as Dr,Je as Dt,Ve as E,Ue as Ea,Pe as Ei,Be as En,Me as Er,ze as Et,je as F,We as Fa,He as Fi,qe as Fn,$e as Fr,Ke as Ft,Ge as G,Qe as Ga,Xe as Gi,Ye as Gn,Ze as Gr,et as Gt,tt as H,rt as Ha,_t as Hi,ot as Hn,nt as Hr,st as Ht,at as I,it as Ia,lt as Ii,gt as In,ct as Ir,dt as It,wt as J,bt as Ja,ut as Ji,pt as Jn,ht as Jr,ft as Jt,mt as K,vt as Ka,yt as Ki,xt as Kn,St as Kr,Ct as Kt,At as L,Ot as La,It as Li,Nt as Ln,Ft as Lr,Dt as Lt,Lt as M,kt as Ma,Et as Mi,Rt as Mn,Tt as Mr,Jt as Mt,Vt as N,Ut as Na,Pt as Ni,Bt as Nn,Mt as Nr,zt as Nt,jt as O,Wt as Oa,Ht as Oi,qt as On,$t as Or,Kt as Ot,Gt as P,Qt as Pa,Xt as Pi,Yt as Pn,Zt as Pr,er as Pt,tr as Q,rr as Qa,_r as Qi,or as Qn,nr as Qr,sr as Qt,ar as R,ir as Ra,lr as Ri,gr as Rn,cr as Rr,dr as Rt,wr as S,br as Sa,ur as Si,pr as Sn,hr as Sr,fr as St,mr as T,vr as Ta,yr as Ti,xr as Tn,Sr as Tr,Cr as Tt,Ar as U,Or as Ua,Ir as Ui,Nr as Un,Fr as Ur,Dr as Ut,Lr as V,kr as Va,Er as Vi,Rr as Vn,Tr as Vr,Jr as Vt,Vr as W,Ur as Wa,Pr as Wi,Br as Wn,Mr as Wr,zr as Wt,jr as X,Wr as Xa,Hr as Xi,qr as Xn,$r as Xr,Kr as Xt,Gr as Y,Qr as Ya,Xr as Yi,Yr as Yn,Zr as Yr,e_ as Yt,t_ as Z,r_ as Za,__ as Zi,o_ as Zn,n_ as Zr,s_ as Zt,a_ as _,Hi as __tla,i_ as _a,l_ as _i,g_ as _n,c_ as _r,d_ as _t,w_ as a,b_ as aa,u_ as ai,p_ as an,h_ as ao,f_ as ar,m_ as at,v_ as b,y_ as ba,x_ as bi,S_ as bn,C_ as br,A_ as bt,O_ as c,I_ as ca,N_ as ci,F_ as cn,D_ as co,L_ as cr,k_ as ct,E_ as d,R_ as da,T_ as di,J_ as dn,L as do,V_ as dr,U_ as dt,P_ as ea,B_ as ei,M_ as en,z_ as eo,j_ as er,W_ as et,H_ as f,q_ as fa,$_ as fi,K_ as fn,G_ as fo,Q_ as fr,Ii as ft,X_ as g,Y_ as ga,Z_ as gi,eo as gn,Ni as go,to as gr,ro as gt,_o as h,oo as ha,no as hi,so as hn,ao as ho,io as hr,lo as ht,go as i,co as ia,wo as ii,bo as in,uo as io,po as ir,ho as it,fo as j,mo as ja,vo as ji,yo as jn,xo as jr,So as jt,Co as k,Ao as ka,Oo as ki,Io as kn,No as kr,Fo as kt,Do as l,Lo as la,ko as li,Eo as ln,Q as lo,Ro as lr,To as lt,Jo as m,Vo as ma,Uo as mi,Po as mn,X as mo,Bo as mr,Mo as mt,zo as n,jo as na,Wo as ni,Ho as nn,qo as no,$o as nr,Ko as nt,Go as o,Qo as oa,Xo as oi,Yo as on,Zo as oo,en as or,tn as ot,rn as p,_n as pa,on as pi,nn as pn,sn as po,an as pr,ln as pt,gn as q,cn as qa,dn as qi,wn as qn,bn as qr,un as qt,pn as r,hn as ra,fn as ri,mn as rn,vn as ro,yn as rr,xn as rt,Sn as s,Cn as sa,An as si,On as sn,S as so,In as sr,Nn as st,Fn as t,Dn as ta,Ln as ti,kn as tn,En as to,Rn as tr,Tn as tt,Jn as u,Vn as ua,Un as ui,Pn as un,N as uo,Bn as ur,Mn as ut,zn as v,jn as va,Wn as vi,Hn as vn,qn as vr,$n as vt,Kn as w,Gn as wa,Qn as wi,Xn as wn,Yn as wr,Zn as wt,es as x,ts as xa,rs as xi,_s as xn,os as xr,ns as xt,ss as y,as as ya,is as yi,ls as yn,gs as yr,cs as yt,ds as z,ws as za,bs as zi,us as zn,ps as zr,hs as zt};
|
|
Binary file
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{$ as a,$a as s,$i as o,$n as e,$r as r,$t as t,A as l,Aa as _,Ai as n,An as i,Ar as d,At as c,B as m,Ba as g,Bi as p,Bn as u,Br as b,Bt as w,C as h,Ca as v,Ci as x,Cn as f,Cr as C,Ct as S,D as A,Da as O,Di as y,Dn as I,Dr as N,Dt as D,E as J,Ea as k,Ei as V,En as E,Er as L,Et as P,F as T,Fa as F,Fi as U,Fn as M,Fr as B,Ft as R,G as W,Ga as H,Gi as z,Gn as j,Gr as q,Gt as G,H as K,Ha as Q,Hi as X,Hn as Y,Hr as Z,Ht as $,I as aa,Ia as sa,Ii as oa,In as ea,Ir as ra,It as ta,J as la,Ja as _a,Ji as na,Jn as ia,Jr as da,Jt as ca,K as ma,Ka as ga,Ki as pa,Kn as ua,Kr as ba,Kt as wa,L as ha,La as va,Li as xa,Ln as fa,Lr as Ca,Lt as Sa,M as Aa,Ma as Oa,Mi as ya,Mn as Ia,Mr as Na,Mt as Da,N as Ja,Na as ka,Ni as Va,Nn as Ea,Nr as La,Nt as Pa,O as Ta,Oa as Fa,Oi as Ua,On as Ma,Or as Ba,Ot as Ra,P as Wa,Pa as Ha,Pi as za,Pn as ja,Pr as qa,Pt as Ga,Q as Ka,Qa,Qi as Xa,Qn as Ya,Qr as Za,Qt as $a,R as as,Ra as ss,Ri as os,Rn as es,Rr as rs,Rt as ts,S as ls,Sa as _s,Si as ns,Sn as is,Sr as ds,St as cs,T as ms,Ta as gs,Ti as ps,Tn as us,Tr as bs,Tt as ws,U as hs,Ua as vs,Ui as xs,Un as fs,Ur as Cs,Ut as Ss,V as As,Va as Os,Vi as ys,Vn as Is,Vr as Ns,Vt as Ds,W as Js,Wa as ks,Wi as Vs,Wn as Es,Wr as Ls,Wt as Ps,X as Ts,Xa as Fs,Xi as Us,Xn as Ms,Xr as Bs,Xt as Rs,Y as Ws,Ya as Hs,Yi as zs,Yn as js,Yr as qs,Yt as Gs,Z as Ks,Za as Qs,Zi as Xs,Zn as Ys,Zr as Zs,Zt as $s,_ as ao,_a as so,_i as oo,_n as eo,_r as ro,_t as to,a as lo,aa as _o,ai as no,an as io,ao as co,ar as mo,at as go,b as po,ba as uo,bi as bo,bn as wo,br as ho,bt as vo,c as xo,ca as fo,ci as Co,cn as So,cr as Ao,ct as Oo,d as yo,da as Io,di as No,dn as Do,dr as Jo,dt as ko,ea as Vo,ei as Eo,en as Lo,eo as Po,er as To,et as Fo,f as Uo,fa as Mo,fi as Bo,fn as Ro,fr as Wo,g as Ho,ga as zo,gi as jo,gn as qo,gr as Go,gt as Ko,h as Qo,ha as Xo,hi as Yo,hn as Zo,hr as $o,ht as ae,i as se,ia as oe,ii as ee,in as re,io as te,ir as le,it as _e,j as ne,ja as ie,ji as de,jn as ce,jr as me,jt as ge,k as pe,ka as ue,ki as be,kn as we,kr as he,kt as ve,l as xe,la as fe,li as Ce,ln as Se,lr as Ae,lt as Oe,m as ye,ma as Ie,mi as Ne,mn as De,mr as Je,mt as ke,n as Ve,na as Ee,ni as Le,nn as Pe,no as Te,nr as Fe,nt as Ue,o as Me,oa as Be,oi as Re,on as We,or as He,ot as ze,p as je,pa as qe,pi as Ge,pn as Ke,pr as Qe,pt as Xe,q as Ye,qa as Ze,qi as $e,qn as ar,qr as sr,qt as or,r as er,ra as rr,ri as tr,rn as lr,ro as _r,rr as nr,rt as ir,s as dr,sa as cr,si as mr,sn as gr,sr as pr,st as ur,t as br,ta as wr,ti as hr,tn as vr,to as xr,tr as fr,tt as Cr,u as Sr,ua as Ar,ui as Or,un as yr,ur as Ir,ut as Nr,v as Dr,va as Jr,vi as kr,vn as Vr,vr as Er,vt as Lr,w as Pr,wa as Tr,wi as Fr,wn as Ur,wr as Mr,wt as Br,x as Rr,xa as Wr,xi as Hr,xn as zr,xr as jr,xt as qr,y as Gr,ya as Kr,yi as Qr,yn as Xr,yr as Yr,yt as Zr,z as $r,za as at,zi as st,zn as ot,zr as et,zt as rt,__tla as tt}from"./loro_wasm_bg-BnAHSQ7o.js";let lt=Promise.all([(()=>{try{return tt}catch{}})()]).then(async()=>{});export{br as LORO_VERSION,Ve as __externref_drop_slice,er as __externref_table_alloc,se as __externref_table_dealloc,lt as __tla,lo as __wbg_awarenesswasm_free,Me as __wbg_changemodifier_free,dr as __wbg_cursor_free,xo as __wbg_ephemeralstorewasm_free,xe as __wbg_lorocounter_free,Sr as __wbg_lorodoc_free,yo as __wbg_lorolist_free,Uo as __wbg_loromap_free,je as __wbg_loromovablelist_free,ye as __wbg_lorotext_free,Qo as __wbg_lorotree_free,Ho as __wbg_lorotreenode_free,ao as __wbg_undomanager_free,Dr as __wbg_versionvector_free,Gr as __wbindgen_exn_store,po as __wbindgen_export_4,Rr as __wbindgen_export_6,ls as __wbindgen_free,h as __wbindgen_malloc,Pr as __wbindgen_realloc,ms as __wbindgen_start,J as _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h2222385ed10d04df,A as awarenesswasm_apply,Ta as awarenesswasm_encode,pe as awarenesswasm_encodeAll,l as awarenesswasm_getAllStates,ne as awarenesswasm_getState,Aa as awarenesswasm_getTimestamp,Ja as awarenesswasm_isEmpty,Wa as awarenesswasm_length,T as awarenesswasm_new,aa as awarenesswasm_peer,ha as awarenesswasm_peers,as as awarenesswasm_removeOutdated,$r as awarenesswasm_setLocalState,m as callPendingEvents,As as changemodifier_setMessage,K as changemodifier_setTimestamp,hs as closure9_externref_shim,Js as cursor_containerId,W as cursor_decode,ma as cursor_encode,Ye as cursor_kind,la as cursor_pos,Ws as cursor_side,Ts as decodeFrontiers,Ks as decodeImportBlobMeta,Ka as encodeFrontiers,a as ephemeralstorewasm_apply,Fo as ephemeralstorewasm_delete,Cr as ephemeralstorewasm_encode,Ue as ephemeralstorewasm_encodeAll,ir as ephemeralstorewasm_get,_e as ephemeralstorewasm_getAllStates,go as ephemeralstorewasm_isEmpty,ze as ephemeralstorewasm_keys,ur as ephemeralstorewasm_new,Oo as ephemeralstorewasm_removeOutdated,Oe as ephemeralstorewasm_set,Nr as ephemeralstorewasm_subscribe,ko as ephemeralstorewasm_subscribeLocalUpdates,Xe as lorocounter_decrement,ke as lorocounter_getAttached,ae as lorocounter_getShallowValue,Ko as lorocounter_id,to as lorocounter_increment,Lr as lorocounter_isAttached,Zr as lorocounter_kind,vo as lorocounter_new,qr as lorocounter_parent,cs as lorocounter_subscribe,S as lorocounter_toJSON,Br as lorocounter_value,ws as lorodoc_JSONPath,P as lorodoc_applyDiff,D as lorodoc_attach,Ra as lorodoc_changeCount,ve as lorodoc_checkout,c as lorodoc_checkoutToLatest,ge as lorodoc_clearNextCommitOptions,Da as lorodoc_cmpFrontiers,Pa as lorodoc_cmpWithFrontiers,Ga as lorodoc_commit,R as lorodoc_configDefaultTextStyle,ta as lorodoc_configTextStyle,Sa as lorodoc_debugHistory,ts as lorodoc_deleteRootContainer,rt as lorodoc_detach,w as lorodoc_diff,Ds as lorodoc_export,$ as lorodoc_exportJsonInIdSpan,Ss as lorodoc_exportJsonUpdates,Ps as lorodoc_findIdSpansBetween,G as lorodoc_fork,wa as lorodoc_forkAt,or as lorodoc_fromSnapshot,ca as lorodoc_frontiers,Gs as lorodoc_frontiersToVV,Rs as lorodoc_getAllChanges,$s as lorodoc_getByPath,$a as lorodoc_getChangeAt,t as lorodoc_getChangeAtLamport,Lo as lorodoc_getChangedContainersIn,vr as lorodoc_getContainerById,Pe as lorodoc_getCounter,lr as lorodoc_getCursorPos,re as lorodoc_getDeepValueWithID,io as lorodoc_getList,We as lorodoc_getMap,gr as lorodoc_getMovableList,So as lorodoc_getOpsInChange,Se as lorodoc_getPathToContainer,yr as lorodoc_getPendingTxnLength,Do as lorodoc_getShallowValue,Ro as lorodoc_getText,Ke as lorodoc_getTree,De as lorodoc_getUncommittedOpsAsJson,Zo as lorodoc_hasContainer,qo as lorodoc_import,eo as lorodoc_importBatch,Vr as lorodoc_importJsonUpdates,Xr as lorodoc_importUpdateBatch,wo as lorodoc_isDetached,zr as lorodoc_isDetachedEditingEnabled,is as lorodoc_isShallow,f as lorodoc_new,Ur as lorodoc_opCount,us as lorodoc_oplogFrontiers,E as lorodoc_oplogVersion,I as lorodoc_peerId,Ma as lorodoc_peerIdStr,we as lorodoc_revertTo,i as lorodoc_setChangeMergeInterval,ce as lorodoc_setDetachedEditing,Ia as lorodoc_setHideEmptyRootContainers,Ea as lorodoc_setNextCommitMessage,ja as lorodoc_setNextCommitOptions,M as lorodoc_setNextCommitOrigin,ea as lorodoc_setNextCommitTimestamp,fa as lorodoc_setPeerId,es as lorodoc_setRecordTimestamp,ot as lorodoc_shallowSinceFrontiers,u as lorodoc_shallowSinceVV,Is as lorodoc_subscribe,Y as lorodoc_subscribeFirstCommitFromPeer,fs as lorodoc_subscribeJsonpath,Es as lorodoc_subscribeLocalUpdates,j as lorodoc_subscribePreCommit,ua as lorodoc_toJSON,ar as lorodoc_travelChangeAncestors,ia as lorodoc_version,js as lorodoc_vvToFrontiers,Ms as lorolist_clear,Ys as lorolist_delete,Ya as lorolist_get,e as lorolist_getAttached,To as lorolist_getCursor,fr as lorolist_getIdAt,Fe as lorolist_getShallowValue,nr as lorolist_id,le as lorolist_insert,mo as lorolist_insertContainer,He as lorolist_isAttached,pr as lorolist_isDeleted,Ao as lorolist_kind,Ae as lorolist_length,Ir as lorolist_new,Jo as lorolist_parent,Wo as lorolist_pop,Qe as lorolist_push,Je as lorolist_pushContainer,$o as lorolist_subscribe,Go as lorolist_toArray,ro as lorolist_toJSON,Er as loromap_clear,Yr as loromap_delete,ho as loromap_entries,jr as loromap_get,ds as loromap_getAttached,C as loromap_getLastEditor,Mr as loromap_getOrCreateContainer,bs as loromap_getShallowValue,L as loromap_id,N as loromap_isAttached,Ba as loromap_isDeleted,he as loromap_keys,d as loromap_kind,me as loromap_new,Na as loromap_parent,La as loromap_set,qa as loromap_setContainer,B as loromap_size,ra as loromap_subscribe,Ca as loromap_toJSON,rs as loromap_values,et as loromovablelist_clear,b as loromovablelist_delete,Ns as loromovablelist_get,Z as loromovablelist_getAttached,Cs as loromovablelist_getCreatorAt,Ls as loromovablelist_getCursor,q as loromovablelist_getLastEditorAt,ba as loromovablelist_getLastMoverAt,sr as loromovablelist_getShallowValue,da as loromovablelist_id,qs as loromovablelist_insert,Bs as loromovablelist_insertContainer,Zs as loromovablelist_isAttached,Za as loromovablelist_isDeleted,r as loromovablelist_kind,Eo as loromovablelist_length,hr as loromovablelist_move,Le as loromovablelist_new,tr as loromovablelist_parent,ee as loromovablelist_pop,no as loromovablelist_push,Re as loromovablelist_pushContainer,mr as loromovablelist_set,Co as loromovablelist_setContainer,Ce as loromovablelist_subscribe,Or as loromovablelist_toArray,No as loromovablelist_toJSON,Bo as lorotext_applyDelta,Ge as lorotext_charAt,Ne as lorotext_convertPos,Yo as lorotext_delete,jo as lorotext_deleteUtf8,oo as lorotext_getAttached,kr as lorotext_getCursor,Qr as lorotext_getEditorOf,bo as lorotext_getShallowValue,Hr as lorotext_id,ns as lorotext_insert,x as lorotext_insertUtf8,Fr as lorotext_isAttached,ps as lorotext_isDeleted,V as lorotext_iter,y as lorotext_kind,Ua as lorotext_length,be as lorotext_mark,n as lorotext_new,de as lorotext_parent,ya as lorotext_push,Va as lorotext_slice,za as lorotext_sliceDelta,U as lorotext_sliceDeltaUtf8,oa as lorotext_splice,xa as lorotext_subscribe,os as lorotext_toDelta,st as lorotext_toJSON,p as lorotext_toString,ys as lorotext_unmark,X as lorotext_update,xs as lorotext_updateByLine,Vs as lorotree_createNode,z as lorotree_delete,pa as lorotree_disableFractionalIndex,$e as lorotree_enableFractionalIndex,na as lorotree_getAttached,zs as lorotree_getNodeByID,Us as lorotree_getNodes,Xs as lorotree_getShallowValue,Xa as lorotree_has,o as lorotree_id,Vo as lorotree_isAttached,wr as lorotree_isDeleted,Ee as lorotree_isFractionalIndexEnabled,rr as lorotree_isNodeDeleted,oe as lorotree_kind,_o as lorotree_move,Be as lorotree_new,cr as lorotree_nodes,fo as lorotree_parent,fe as lorotree_roots,Ar as lorotree_subscribe,Io as lorotree_toArray,Mo as lorotree_toJSON,qe as lorotreenode___getClassname,Ie as lorotreenode_children,Xo as lorotreenode_createNode,zo as lorotreenode_creationId,so as lorotreenode_creator,Jr as lorotreenode_data,Kr as lorotreenode_fractionalIndex,uo as lorotreenode_getLastMoveId,Wr as lorotreenode_id,_s as lorotreenode_index,v as lorotreenode_isDeleted,Tr as lorotreenode_move,gs as lorotreenode_moveAfter,k as lorotreenode_moveBefore,O as lorotreenode_parent,Fa as lorotreenode_toJSON,ue as memory,_ as redactJsonUpdates,ie as run,Oa as setDebug,ka as undomanager_addExcludeOriginPrefix,Ha as undomanager_canRedo,F as undomanager_canUndo,sa as undomanager_clear,va as undomanager_groupEnd,ss as undomanager_groupStart,at as undomanager_new,g as undomanager_peer,Os as undomanager_redo,Q as undomanager_setMaxUndoSteps,vs as undomanager_setMergeInterval,ks as undomanager_setOnPop,H as undomanager_setOnPush,ga as undomanager_topRedoValue,Ze as undomanager_topUndoValue,_a as undomanager_undo,Hs as versionvector_compare,Fs as versionvector_decode,Qs as versionvector_encode,Qa as versionvector_get,s as versionvector_length,Po as versionvector_new,xr as versionvector_parseJSON,Te as versionvector_remove,_r as versionvector_setEnd,te as versionvector_setLast,co as versionvector_toJSON};
|
|
1
|
+
import{$ as a,$a as s,$i as o,$n as e,$r as r,$t as t,A as l,Aa as _,Ai as n,An as i,Ar as d,At as c,B as m,Ba as g,Bi as p,Bn as u,Br as b,Bt as w,C as h,Ca as v,Ci as x,Cn as f,Cr as C,Ct as S,D as A,Da as O,Di as y,Dn as I,Dr as N,Dt as D,E as J,Ea as k,Ei as V,En as E,Er as L,Et as P,F as T,Fa as F,Fi as U,Fn as M,Fr as B,Ft as R,G as W,Ga as H,Gi as z,Gn as j,Gr as q,Gt as G,H as K,Ha as Q,Hi as X,Hn as Y,Hr as Z,Ht as $,I as aa,Ia as sa,Ii as oa,In as ea,Ir as ra,It as ta,J as la,Ja as _a,Ji as na,Jn as ia,Jr as da,Jt as ca,K as ma,Ka as ga,Ki as pa,Kn as ua,Kr as ba,Kt as wa,L as ha,La as va,Li as xa,Ln as fa,Lr as Ca,Lt as Sa,M as Aa,Ma as Oa,Mi as ya,Mn as Ia,Mr as Na,Mt as Da,N as Ja,Na as ka,Ni as Va,Nn as Ea,Nr as La,Nt as Pa,O as Ta,Oa as Fa,Oi as Ua,On as Ma,Or as Ba,Ot as Ra,P as Wa,Pa as Ha,Pi as za,Pn as ja,Pr as qa,Pt as Ga,Q as Ka,Qa,Qi as Xa,Qn as Ya,Qr as Za,Qt as $a,R as as,Ra as ss,Ri as os,Rn as es,Rr as rs,Rt as ts,S as ls,Sa as _s,Si as ns,Sn as is,Sr as ds,St as cs,T as ms,Ta as gs,Ti as ps,Tn as us,Tr as bs,Tt as ws,U as hs,Ua as vs,Ui as xs,Un as fs,Ur as Cs,Ut as Ss,V as As,Va as Os,Vi as ys,Vn as Is,Vr as Ns,Vt as Ds,W as Js,Wa as ks,Wi as Vs,Wn as Es,Wr as Ls,Wt as Ps,X as Ts,Xa as Fs,Xi as Us,Xn as Ms,Xr as Bs,Xt as Rs,Y as Ws,Ya as Hs,Yi as zs,Yn as js,Yr as qs,Yt as Gs,Z as Ks,Za as Qs,Zi as Xs,Zn as Ys,Zr as Zs,Zt as $s,_ as ao,_a as so,_i as oo,_n as eo,_r as ro,_t as to,a as lo,aa as _o,ai as no,an as io,ao as co,ar as mo,at as go,b as po,ba as uo,bi as bo,bn as wo,br as ho,bt as vo,c as xo,ca as fo,ci as Co,cn as So,cr as Ao,ct as Oo,d as yo,da as Io,di as No,dn as Do,dr as Jo,dt as ko,ea as Vo,ei as Eo,en as Lo,eo as Po,er as To,et as Fo,f as Uo,fa as Mo,fi as Bo,fn as Ro,fr as Wo,g as Ho,ga as zo,gi as jo,gn as qo,gr as Go,gt as Ko,h as Qo,ha as Xo,hi as Yo,hn as Zo,hr as $o,ht as ae,i as se,ia as oe,ii as ee,in as re,io as te,ir as le,it as _e,j as ne,ja as ie,ji as de,jn as ce,jr as me,jt as ge,k as pe,ka as ue,ki as be,kn as we,kr as he,kt as ve,l as xe,la as fe,li as Ce,ln as Se,lr as Ae,lt as Oe,m as ye,ma as Ie,mi as Ne,mn as De,mr as Je,mt as ke,n as Ve,na as Ee,ni as Le,nn as Pe,no as Te,nr as Fe,nt as Ue,o as Me,oa as Be,oi as Re,on as We,or as He,ot as ze,p as je,pa as qe,pi as Ge,pn as Ke,pr as Qe,pt as Xe,q as Ye,qa as Ze,qi as $e,qn as ar,qr as sr,qt as or,r as er,ra as rr,ri as tr,rn as lr,ro as _r,rr as nr,rt as ir,s as dr,sa as cr,si as mr,sn as gr,sr as pr,st as ur,t as br,ta as wr,ti as hr,tn as vr,to as xr,tr as fr,tt as Cr,u as Sr,ua as Ar,ui as Or,un as yr,ur as Ir,ut as Nr,v as Dr,va as Jr,vi as kr,vn as Vr,vr as Er,vt as Lr,w as Pr,wa as Tr,wi as Fr,wn as Ur,wr as Mr,wt as Br,x as Rr,xa as Wr,xi as Hr,xn as zr,xr as jr,xt as qr,y as Gr,ya as Kr,yi as Qr,yn as Xr,yr as Yr,yt as Zr,z as $r,za as at,zi as st,zn as ot,zr as et,zt as rt,__tla as tt}from"./loro_wasm_bg-CdafknAX.js";let lt=Promise.all([(()=>{try{return tt}catch{}})()]).then(async()=>{});export{br as LORO_VERSION,Ve as __externref_drop_slice,er as __externref_table_alloc,se as __externref_table_dealloc,lt as __tla,lo as __wbg_awarenesswasm_free,Me as __wbg_changemodifier_free,dr as __wbg_cursor_free,xo as __wbg_ephemeralstorewasm_free,xe as __wbg_lorocounter_free,Sr as __wbg_lorodoc_free,yo as __wbg_lorolist_free,Uo as __wbg_loromap_free,je as __wbg_loromovablelist_free,ye as __wbg_lorotext_free,Qo as __wbg_lorotree_free,Ho as __wbg_lorotreenode_free,ao as __wbg_undomanager_free,Dr as __wbg_versionvector_free,Gr as __wbindgen_exn_store,po as __wbindgen_export_4,Rr as __wbindgen_export_6,ls as __wbindgen_free,h as __wbindgen_malloc,Pr as __wbindgen_realloc,ms as __wbindgen_start,J as _dyn_core__ops__function__FnMut_____Output___R_as_wasm_bindgen__closure__WasmClosure___describe__invoke__h423c5eefcad13156,A as awarenesswasm_apply,Ta as awarenesswasm_encode,pe as awarenesswasm_encodeAll,l as awarenesswasm_getAllStates,ne as awarenesswasm_getState,Aa as awarenesswasm_getTimestamp,Ja as awarenesswasm_isEmpty,Wa as awarenesswasm_length,T as awarenesswasm_new,aa as awarenesswasm_peer,ha as awarenesswasm_peers,as as awarenesswasm_removeOutdated,$r as awarenesswasm_setLocalState,m as callPendingEvents,As as changemodifier_setMessage,K as changemodifier_setTimestamp,hs as closure9_externref_shim,Js as cursor_containerId,W as cursor_decode,ma as cursor_encode,Ye as cursor_kind,la as cursor_pos,Ws as cursor_side,Ts as decodeFrontiers,Ks as decodeImportBlobMeta,Ka as encodeFrontiers,a as ephemeralstorewasm_apply,Fo as ephemeralstorewasm_delete,Cr as ephemeralstorewasm_encode,Ue as ephemeralstorewasm_encodeAll,ir as ephemeralstorewasm_get,_e as ephemeralstorewasm_getAllStates,go as ephemeralstorewasm_isEmpty,ze as ephemeralstorewasm_keys,ur as ephemeralstorewasm_new,Oo as ephemeralstorewasm_removeOutdated,Oe as ephemeralstorewasm_set,Nr as ephemeralstorewasm_subscribe,ko as ephemeralstorewasm_subscribeLocalUpdates,Xe as lorocounter_decrement,ke as lorocounter_getAttached,ae as lorocounter_getShallowValue,Ko as lorocounter_id,to as lorocounter_increment,Lr as lorocounter_isAttached,Zr as lorocounter_kind,vo as lorocounter_new,qr as lorocounter_parent,cs as lorocounter_subscribe,S as lorocounter_toJSON,Br as lorocounter_value,ws as lorodoc_JSONPath,P as lorodoc_applyDiff,D as lorodoc_attach,Ra as lorodoc_changeCount,ve as lorodoc_checkout,c as lorodoc_checkoutToLatest,ge as lorodoc_clearNextCommitOptions,Da as lorodoc_cmpFrontiers,Pa as lorodoc_cmpWithFrontiers,Ga as lorodoc_commit,R as lorodoc_configDefaultTextStyle,ta as lorodoc_configTextStyle,Sa as lorodoc_debugHistory,ts as lorodoc_deleteRootContainer,rt as lorodoc_detach,w as lorodoc_diff,Ds as lorodoc_export,$ as lorodoc_exportJsonInIdSpan,Ss as lorodoc_exportJsonUpdates,Ps as lorodoc_findIdSpansBetween,G as lorodoc_fork,wa as lorodoc_forkAt,or as lorodoc_fromSnapshot,ca as lorodoc_frontiers,Gs as lorodoc_frontiersToVV,Rs as lorodoc_getAllChanges,$s as lorodoc_getByPath,$a as lorodoc_getChangeAt,t as lorodoc_getChangeAtLamport,Lo as lorodoc_getChangedContainersIn,vr as lorodoc_getContainerById,Pe as lorodoc_getCounter,lr as lorodoc_getCursorPos,re as lorodoc_getDeepValueWithID,io as lorodoc_getList,We as lorodoc_getMap,gr as lorodoc_getMovableList,So as lorodoc_getOpsInChange,Se as lorodoc_getPathToContainer,yr as lorodoc_getPendingTxnLength,Do as lorodoc_getShallowValue,Ro as lorodoc_getText,Ke as lorodoc_getTree,De as lorodoc_getUncommittedOpsAsJson,Zo as lorodoc_hasContainer,qo as lorodoc_import,eo as lorodoc_importBatch,Vr as lorodoc_importJsonUpdates,Xr as lorodoc_importUpdateBatch,wo as lorodoc_isDetached,zr as lorodoc_isDetachedEditingEnabled,is as lorodoc_isShallow,f as lorodoc_new,Ur as lorodoc_opCount,us as lorodoc_oplogFrontiers,E as lorodoc_oplogVersion,I as lorodoc_peerId,Ma as lorodoc_peerIdStr,we as lorodoc_revertTo,i as lorodoc_setChangeMergeInterval,ce as lorodoc_setDetachedEditing,Ia as lorodoc_setHideEmptyRootContainers,Ea as lorodoc_setNextCommitMessage,ja as lorodoc_setNextCommitOptions,M as lorodoc_setNextCommitOrigin,ea as lorodoc_setNextCommitTimestamp,fa as lorodoc_setPeerId,es as lorodoc_setRecordTimestamp,ot as lorodoc_shallowSinceFrontiers,u as lorodoc_shallowSinceVV,Is as lorodoc_subscribe,Y as lorodoc_subscribeFirstCommitFromPeer,fs as lorodoc_subscribeJsonpath,Es as lorodoc_subscribeLocalUpdates,j as lorodoc_subscribePreCommit,ua as lorodoc_toJSON,ar as lorodoc_travelChangeAncestors,ia as lorodoc_version,js as lorodoc_vvToFrontiers,Ms as lorolist_clear,Ys as lorolist_delete,Ya as lorolist_get,e as lorolist_getAttached,To as lorolist_getCursor,fr as lorolist_getIdAt,Fe as lorolist_getShallowValue,nr as lorolist_id,le as lorolist_insert,mo as lorolist_insertContainer,He as lorolist_isAttached,pr as lorolist_isDeleted,Ao as lorolist_kind,Ae as lorolist_length,Ir as lorolist_new,Jo as lorolist_parent,Wo as lorolist_pop,Qe as lorolist_push,Je as lorolist_pushContainer,$o as lorolist_subscribe,Go as lorolist_toArray,ro as lorolist_toJSON,Er as loromap_clear,Yr as loromap_delete,ho as loromap_entries,jr as loromap_get,ds as loromap_getAttached,C as loromap_getLastEditor,Mr as loromap_getOrCreateContainer,bs as loromap_getShallowValue,L as loromap_id,N as loromap_isAttached,Ba as loromap_isDeleted,he as loromap_keys,d as loromap_kind,me as loromap_new,Na as loromap_parent,La as loromap_set,qa as loromap_setContainer,B as loromap_size,ra as loromap_subscribe,Ca as loromap_toJSON,rs as loromap_values,et as loromovablelist_clear,b as loromovablelist_delete,Ns as loromovablelist_get,Z as loromovablelist_getAttached,Cs as loromovablelist_getCreatorAt,Ls as loromovablelist_getCursor,q as loromovablelist_getLastEditorAt,ba as loromovablelist_getLastMoverAt,sr as loromovablelist_getShallowValue,da as loromovablelist_id,qs as loromovablelist_insert,Bs as loromovablelist_insertContainer,Zs as loromovablelist_isAttached,Za as loromovablelist_isDeleted,r as loromovablelist_kind,Eo as loromovablelist_length,hr as loromovablelist_move,Le as loromovablelist_new,tr as loromovablelist_parent,ee as loromovablelist_pop,no as loromovablelist_push,Re as loromovablelist_pushContainer,mr as loromovablelist_set,Co as loromovablelist_setContainer,Ce as loromovablelist_subscribe,Or as loromovablelist_toArray,No as loromovablelist_toJSON,Bo as lorotext_applyDelta,Ge as lorotext_charAt,Ne as lorotext_convertPos,Yo as lorotext_delete,jo as lorotext_deleteUtf8,oo as lorotext_getAttached,kr as lorotext_getCursor,Qr as lorotext_getEditorOf,bo as lorotext_getShallowValue,Hr as lorotext_id,ns as lorotext_insert,x as lorotext_insertUtf8,Fr as lorotext_isAttached,ps as lorotext_isDeleted,V as lorotext_iter,y as lorotext_kind,Ua as lorotext_length,be as lorotext_mark,n as lorotext_new,de as lorotext_parent,ya as lorotext_push,Va as lorotext_slice,za as lorotext_sliceDelta,U as lorotext_sliceDeltaUtf8,oa as lorotext_splice,xa as lorotext_subscribe,os as lorotext_toDelta,st as lorotext_toJSON,p as lorotext_toString,ys as lorotext_unmark,X as lorotext_update,xs as lorotext_updateByLine,Vs as lorotree_createNode,z as lorotree_delete,pa as lorotree_disableFractionalIndex,$e as lorotree_enableFractionalIndex,na as lorotree_getAttached,zs as lorotree_getNodeByID,Us as lorotree_getNodes,Xs as lorotree_getShallowValue,Xa as lorotree_has,o as lorotree_id,Vo as lorotree_isAttached,wr as lorotree_isDeleted,Ee as lorotree_isFractionalIndexEnabled,rr as lorotree_isNodeDeleted,oe as lorotree_kind,_o as lorotree_move,Be as lorotree_new,cr as lorotree_nodes,fo as lorotree_parent,fe as lorotree_roots,Ar as lorotree_subscribe,Io as lorotree_toArray,Mo as lorotree_toJSON,qe as lorotreenode___getClassname,Ie as lorotreenode_children,Xo as lorotreenode_createNode,zo as lorotreenode_creationId,so as lorotreenode_creator,Jr as lorotreenode_data,Kr as lorotreenode_fractionalIndex,uo as lorotreenode_getLastMoveId,Wr as lorotreenode_id,_s as lorotreenode_index,v as lorotreenode_isDeleted,Tr as lorotreenode_move,gs as lorotreenode_moveAfter,k as lorotreenode_moveBefore,O as lorotreenode_parent,Fa as lorotreenode_toJSON,ue as memory,_ as redactJsonUpdates,ie as run,Oa as setDebug,ka as undomanager_addExcludeOriginPrefix,Ha as undomanager_canRedo,F as undomanager_canUndo,sa as undomanager_clear,va as undomanager_groupEnd,ss as undomanager_groupStart,at as undomanager_new,g as undomanager_peer,Os as undomanager_redo,Q as undomanager_setMaxUndoSteps,vs as undomanager_setMergeInterval,ks as undomanager_setOnPop,H as undomanager_setOnPush,ga as undomanager_topRedoValue,Ze as undomanager_topUndoValue,_a as undomanager_undo,Hs as versionvector_compare,Fs as versionvector_decode,Qs as versionvector_encode,Qa as versionvector_get,s as versionvector_length,Po as versionvector_new,xr as versionvector_parseJSON,Te as versionvector_remove,_r as versionvector_setEnd,te as versionvector_setLast,co as versionvector_toJSON};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as f}from"./chunk-LvLJmgfZ.js";import{t as h}from"./react-
|
|
1
|
+
import{s as f}from"./chunk-LvLJmgfZ.js";import{t as h}from"./react-Bj1aDYRI.js";import{d as w}from"./hotkeys-BHHWjLlp.js";import{t as d}from"./createLucideIcon-BCdY6lG5.js";var C=d("chevrons-down-up",[["path",{d:"m7 20 5-5 5 5",key:"13a0gw"}],["path",{d:"m7 4 5 5 5-5",key:"1kwcof"}]]),s=d("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]),l=f(h());function i(r,o){if(r==null)return{};var e={},t=Object.keys(r),n,a;for(a=0;a<t.length;a++)n=t[a],!(o.indexOf(n)>=0)&&(e[n]=r[n]);return e}var v=["color"],g=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,v);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25H14C14.4142 0.25 14.75 0.585786 14.75 1V14C14.75 14.4142 14.4142 14.75 14 14.75H1C0.585786 14.75 0.25 14.4142 0.25 14V1ZM1.75 1.75V13.25H13.25V1.75H1.75Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}),(0,l.createElement)("rect",{x:"7",y:"5",width:"1",height:"1",rx:".5",fill:t}),(0,l.createElement)("rect",{x:"7",y:"3",width:"1",height:"1",rx:".5",fill:t}),(0,l.createElement)("rect",{x:"7",y:"7",width:"1",height:"1",rx:".5",fill:t}),(0,l.createElement)("rect",{x:"5",y:"7",width:"1",height:"1",rx:".5",fill:t}),(0,l.createElement)("rect",{x:"3",y:"7",width:"1",height:"1",rx:".5",fill:t}),(0,l.createElement)("rect",{x:"9",y:"7",width:"1",height:"1",rx:".5",fill:t}),(0,l.createElement)("rect",{x:"11",y:"7",width:"1",height:"1",rx:".5",fill:t}),(0,l.createElement)("rect",{x:"7",y:"9",width:"1",height:"1",rx:".5",fill:t}),(0,l.createElement)("rect",{x:"7",y:"11",width:"1",height:"1",rx:".5",fill:t}))}),u=["color"],m=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,u);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))}),p=["color"],L=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,p);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))}),x=["color"],E=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,x);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))}),R=["color"],y=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,R);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))}),M=["color"],Z=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,M);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))}),O=["color"],V=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,O);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))}),b=["color"],j=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,b);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z",fill:t}))}),B=["color"],k=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,B);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M2.05005 13.5C2.05005 13.7485 2.25152 13.95 2.50005 13.95C2.74858 13.95 2.95005 13.7485 2.95005 13.5L2.95005 1.49995C2.95005 1.25142 2.74858 1.04995 2.50005 1.04995C2.25152 1.04995 2.05005 1.25142 2.05005 1.49995L2.05005 13.5ZM8.4317 11.0681C8.60743 11.2439 8.89236 11.2439 9.06809 11.0681C9.24383 10.8924 9.24383 10.6075 9.06809 10.4317L6.58629 7.94993L14.5 7.94993C14.7485 7.94993 14.95 7.74846 14.95 7.49993C14.95 7.2514 14.7485 7.04993 14.5 7.04993L6.58629 7.04993L9.06809 4.56813C9.24383 4.39239 9.24383 4.10746 9.06809 3.93173C8.89236 3.75599 8.60743 3.75599 8.4317 3.93173L5.1817 7.18173C5.00596 7.35746 5.00596 7.64239 5.1817 7.81812L8.4317 11.0681Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))}),H=["color"],q=(0,l.forwardRef)(function(r,o){var e=r.color,t=e===void 0?"currentColor":e,n=i(r,H);return(0,l.createElement)("svg",Object.assign({width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},n,{ref:o}),(0,l.createElement)("path",{d:"M12.95 1.50005C12.95 1.25152 12.7485 1.05005 12.5 1.05005C12.2514 1.05005 12.05 1.25152 12.05 1.50005L12.05 13.5C12.05 13.7486 12.2514 13.95 12.5 13.95C12.7485 13.95 12.95 13.7486 12.95 13.5L12.95 1.50005ZM6.5683 3.93188C6.39257 3.75614 6.10764 3.75614 5.93191 3.93188C5.75617 4.10761 5.75617 4.39254 5.93191 4.56827L8.41371 7.05007L0.499984 7.05007C0.251456 7.05007 0.0499847 7.25155 0.0499847 7.50007C0.0499846 7.7486 0.251457 7.95007 0.499984 7.95007L8.41371 7.95007L5.93191 10.4319C5.75617 10.6076 5.75617 10.8925 5.93191 11.0683C6.10764 11.244 6.39257 11.244 6.56831 11.0683L9.8183 7.81827C9.99404 7.64254 9.99404 7.35761 9.8183 7.18188L6.5683 3.93188Z",fill:t,fillRule:"evenodd",clipRule:"evenodd"}))});const c={keyBy(r,o){let e=new Map,t=new Set;for(let n of r){let a=o(n);e.has(a)&&t.add(a),e.set(a,n)}return t.size>0&&w.trace(`Duplicate keys: ${[...t].join(", ")}`),e},collect(r,o,e){return c.mapValues(c.keyBy(r,o),e)},filterMap(r,o){let e=new Map;for(let[t,n]of r)o(n,t)&&e.set(t,n);return e},mapValues(r,o){let e=new Map;for(let[t,n]of r)e.set(t,o(n,t));return e}};export{E as a,V as c,q as d,s as f,L as i,j as l,g as n,y as o,C as p,m as r,Z as s,c as t,k as u};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{s as A}from"./chunk-LvLJmgfZ.js";import{u as ne}from"./useEvent-
|
|
1
|
+
import{s as A}from"./chunk-LvLJmgfZ.js";import{u as ne}from"./useEvent-BhXAndur.js";import{t as re}from"./react-Bj1aDYRI.js";import{jt as ae,w as ie,wt as oe}from"./cells-DdLMh4kY.js";import{t as q}from"./compiler-runtime-B3qBwwSJ.js";import{o as le}from"./utils-YqBXNpsM.js";import{t as se}from"./jsx-runtime-ZmTK25f3.js";import{t as D}from"./button-CZ3Cs4qb.js";import{at as ue}from"./dist-DBwNzi3C.js";import{t as ce}from"./createLucideIcon-BCdY6lG5.js";import{n as he,t as me}from"./LazyAnyLanguageCodeMirror-CQP8KZWO.js";import{r as pe}from"./useTheme-CTORu22_.js";import{t as fe}from"./copy-DHrHayPa.js";import{c as v,d as de,f as ge,g as xe,h as ye,l as we,m as T,o as ve,p as ke,s as N}from"./chunk-5FQGJX7Z-CwvgJCug.js";import{c as P}from"./katex-CDLTCvjQ.js";import{r as be}from"./html-to-image-Bc6qDa9c.js";import{o as Fe}from"./focus-Bd_p77qK.js";var Ne=ce("chevrons-up-down",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]),Ce=q(),b=A(re(),1),I={};function Te(e){let t=(0,Ce.c)(5),[r,n]=(0,b.useState)(I[e]??!1),a;t[0]===e?a=t[1]:(a=o=>{n(o),I[e]=o},t[0]=e,t[1]=a);let i;return t[2]!==r||t[3]!==a?(i=[r,a],t[2]=r,t[3]=a,t[4]=i):i=t[4],i}function Ee(e){return e==null||e.data==null||e.data===""}function Se(e,t){return`data:${t};base64,${e}`}function je(e){return e.startsWith("data:")&&e.includes(";base64,")}function $e(e){return e.split(",")[1]}function _(e){let t=window.atob(e);return Uint8Array.from(t,r=>r.charCodeAt(0))}function z(e){let t=_(e);return new DataView(t.buffer)}function Me(e){let t=Array.from(e,r=>String.fromCharCode(r));return window.btoa(t.join(""))}function Ae(e){return Me(new Uint8Array(e.buffer,e.byteOffset,e.byteLength))}function qe(e){return(e.buffers??[]).map(z)}function De(e,t){return B(e,t||{})||{type:"root",children:[]}}function B(e,t){let r=Pe(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function Pe(e,t){switch(e.nodeType){case 1:return Be(e,t);case 3:return _e(e);case 8:return ze(e);case 9:return O(e,t);case 10:return Ie();case 11:return O(e,t);default:return}}function O(e,t){return{type:"root",children:V(e,t)}}function Ie(){return{type:"doctype"}}function _e(e){return{type:"text",value:e.nodeValue||""}}function ze(e){return{type:"comment",value:e.nodeValue||""}}function Be(e,t){let r=e.namespaceURI,n=r===T.svg?xe:ye,a=r===T.html?e.tagName.toLowerCase():e.tagName,i=r===T.html&&a==="template"?e.content:e,o=e.getAttributeNames(),s={},l=-1;for(;++l<o.length;)s[o[l]]=e.getAttribute(o[l])||"";return n(a,s,V(i,t))}function V(e,t){let r=e.childNodes,n=[],a=-1;for(;++a<r.length;){let i=B(r[a],t);i!==void 0&&n.push(i)}return n}var Oe=new DOMParser;function Ve(e,t){return De(t!=null&&t.fragment?Le(e):Oe.parseFromString(e,"text/html"))}function Le(e){let t=document.createElement("template");return t.innerHTML=e,t.content}const L=(function(e,t,r){let n=ke(r);if(!e||!e.type||!e.children)throw Error("Expected parent node");if(typeof t=="number"){if(t<0||t===1/0)throw Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]}),k=(function(e){if(e==null)return We;if(typeof e=="string")return Ue(e);if(typeof e=="object")return Re(e);if(typeof e=="function")return E(e);throw Error("Expected function, string, or array as `test`")});function Re(e){let t=[],r=-1;for(;++r<e.length;)t[r]=k(e[r]);return E(n);function n(...a){let i=-1;for(;++i<t.length;)if(t[i].apply(this,a))return!0;return!1}}function Ue(e){return E(t);function t(r){return r.tagName===e}}function E(e){return t;function t(r,n,a){return!!(He(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function We(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function He(e){return typeof e=="object"&&!!e&&"type"in e&&"tagName"in e}var R=/\n/g,U=/[\t ]+/g,S=k("br"),W=k(et),Ke=k("p"),H=k("tr"),Qe=k(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",Ze,tt]),K=k("address.article.aside.blockquote.body.caption.center.dd.dialog.dir.dl.dt.div.figure.figcaption.footer.form,.h1.h2.h3.h4.h5.h6.header.hgroup.hr.html.legend.li.listing.main.menu.nav.ol.p.plaintext.pre.section.ul.xmp".split("."));function Xe(e,t){let r=t||{},n="children"in e?e.children:[],a=K(e),i=G(e,{whitespace:r.whitespace||"normal",breakBefore:!1,breakAfter:!1}),o=[];(e.type==="text"||e.type==="comment")&&o.push(...X(e,{whitespace:i,breakBefore:!0,breakAfter:!0}));let s=-1;for(;++s<n.length;)o.push(...Q(n[s],e,{whitespace:i,breakBefore:s?void 0:a,breakAfter:s<n.length-1?S(n[s+1]):a}));let l=[],h;for(s=-1;++s<o.length;){let m=o[s];typeof m=="number"?h!==void 0&&m>h&&(h=m):m&&(h!==void 0&&h>-1&&l.push(`
|
|
2
2
|
`.repeat(h)||" "),h=-1,l.push(m))}return l.join("")}function Q(e,t,r){return e.type==="element"?Ge(e,t,r):e.type==="text"?r.whitespace==="normal"?X(e,r):Je(e):[]}function Ge(e,t,r){let n=G(e,r),a=e.children||[],i=-1,o=[];if(Qe(e))return o;let s,l;for(S(e)||H(e)&&L(t,e,H)?l=`
|
|
3
3
|
`:Ke(e)?(s=2,l=2):K(e)&&(s=1,l=1);++i<a.length;)o=o.concat(Q(a[i],e,{whitespace:n,breakBefore:i?void 0:s,breakAfter:i<a.length-1?S(a[i+1]):l}));return W(e)&&L(t,e,W)&&o.push(" "),s&&o.unshift(s),l&&o.push(l),o}function X(e,t){let r=String(e.value),n=[],a=[],i=0;for(;i<=r.length;){R.lastIndex=i;let l=R.exec(r),h=l&&"index"in l?l.index:r.length;n.push(Ye(r.slice(i,h).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),i===0?t.breakBefore:!0,h===r.length?t.breakAfter:!0)),i=h+1}let o=-1,s;for(;++o<n.length;)n[o].charCodeAt(n[o].length-1)===8203||o<n.length-1&&n[o+1].charCodeAt(0)===8203?(a.push(n[o]),s=void 0):n[o]?(typeof s=="number"&&a.push(s),a.push(n[o]),s=0):(o===0||o===n.length-1)&&a.push(0);return a}function Je(e){return[String(e.value)]}function Ye(e,t,r){let n=[],a=0,i;for(;a<e.length;){U.lastIndex=a;let o=U.exec(e);i=o?o.index:e.length,!a&&!i&&o&&!t&&n.push(""),a!==i&&n.push(e.slice(a,i)),a=o?i+o[0].length:i}return a!==i&&!r&&n.push(""),n.join(" ")}function G(e,t){if(e.type==="element"){let r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap";default:}}return t.whitespace}function Ze(e){return!!(e.properties||{}).hidden}function et(e){return e.tagName==="td"||e.tagName==="th"}function tt(e){return e.tagName==="dialog"&&!(e.properties||{}).open}var nt={},rt=[];function at(e){let t=e||nt;return function(r,n){ge(r,"element",function(a,i){let o=Array.isArray(a.properties.className)?a.properties.className:rt,s=o.includes("language-math"),l=o.includes("math-display"),h=o.includes("math-inline"),m=l;if(!s&&!l&&!h)return;let p=i[i.length-1],d=a;if(a.tagName==="code"&&s&&p&&p.type==="element"&&p.tagName==="pre"&&(d=p,p=i[i.length-2],m=!0),!p)return;let f=Xe(d,{whitespace:"pre"}),u;try{u=P.renderToString(f,{...t,displayMode:m,throwOnError:!0})}catch(w){let F=w,c=F.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...i,a],cause:F,place:a.position,ruleId:c,source:"rehype-katex"});try{u=P.renderToString(f,{...t,displayMode:m,strict:"ignore",throwOnError:!1})}catch{u=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(w)},children:[{type:"text",value:f}]}]}}typeof u=="string"&&(u=Ve(u,{fragment:!0}).children);let g=p.children.indexOf(d);return p.children.splice(g,1,...u),de})}}function it(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:i},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:s,mathText:o,mathTextData:s}};function e(l){this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[{type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]}]}},l)}function t(){this.buffer()}function r(){let l=this.resume(),h=this.stack[this.stack.length-1];h.type,h.meta=l}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(l){let h=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),m=this.stack[this.stack.length-1];m.type,this.exit(l),m.value=h;let p=m.data.hChildren[0];p.type,p.tagName,p.children.push({type:"text",value:h}),this.data.mathFlowInside=void 0}function i(l){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},l),this.buffer()}function o(l){let h=this.resume(),m=this.stack[this.stack.length-1];m.type,this.exit(l),m.value=h,m.data.hChildren.push({type:"text",value:h})}function s(l){this.config.enter.data.call(this,l),this.config.exit.data.call(this,l)}}function ot(e){let t=(e||{}).singleDollarTextMath;return t??(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
|
|
4
4
|
`,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(i,o,s,l){let h=i.value||"",m=s.createTracker(l),p="$".repeat(Math.max(we(h,"$")+1,2)),d=s.enter("mathFlow"),f=m.move(p);if(i.meta){let u=s.enter("mathFlowMeta");f+=m.move(s.safe(i.meta,{after:`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{s as M}from"./chunk-LvLJmgfZ.js";import{t as O}from"./react-
|
|
1
|
+
import{s as M}from"./chunk-LvLJmgfZ.js";import{t as O}from"./react-Bj1aDYRI.js";import{t as P}from"./compiler-runtime-B3qBwwSJ.js";import{r as S}from"./useEventListener-Cb-RVVEn.js";import{t as _}from"./jsx-runtime-ZmTK25f3.js";import{n as u,t as v}from"./cn-BKtXLv3a.js";import{E as q,y as N}from"./Combination-izwufzWe.js";var a=M(O(),1),p=M(_(),1);function z(t){let e=t+"CollectionProvider",[o,n]=q(e),[s,l]=o(e,{collectionRef:{current:null},itemMap:new Map}),h=d=>{let{scope:r,children:c}=d,i=a.useRef(null),m=a.useRef(new Map).current;return(0,p.jsx)(s,{scope:r,itemMap:m,collectionRef:i,children:c})};h.displayName=e;let x=t+"CollectionSlot",A=N(x),y=a.forwardRef((d,r)=>{let{scope:c,children:i}=d;return(0,p.jsx)(A,{ref:S(r,l(x,c).collectionRef),children:i})});y.displayName=x;let g=t+"CollectionItemSlot",w="data-radix-collection-item",k=N(g),R=a.forwardRef((d,r)=>{let{scope:c,children:i,...m}=d,f=a.useRef(null),I=S(r,f),C=l(g,c);return a.useEffect(()=>(C.itemMap.set(f,{ref:f,...m}),()=>{C.itemMap.delete(f)})),(0,p.jsx)(k,{[w]:"",ref:I,children:i})});R.displayName=g;function E(d){let r=l(t+"CollectionConsumer",d);return a.useCallback(()=>{let c=r.collectionRef.current;if(!c)return[];let i=Array.from(c.querySelectorAll(`[${w}]`));return Array.from(r.itemMap.values()).sort((m,f)=>i.indexOf(m.ref.current)-i.indexOf(f.ref.current))},[r.collectionRef,r.itemMap])}return[{Provider:h,Slot:y,ItemSlot:R},E,n]}var V=a.createContext(void 0);function $(t){let e=a.useContext(V);return t||e||"ltr"}var B=P();const D=u("z-50 min-w-32 overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md",{variants:{subcontent:{true:"shadow-lg"}}}),F=u("flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground",{variants:{inset:{true:"pl-8"}}}),b="data-disabled:pointer-events-none data-disabled:opacity-50",G=u(v("relative flex cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-hidden transition-colors focus:bg-accent focus:text-accent-foreground",b),{variants:{}}),H=u("absolute left-2 flex h-3.5 w-3.5 items-center justify-center",{variants:{}}),J=u("px-2 py-1.5 text-sm font-semibold",{variants:{inset:{true:"pl-8"}}}),K=u(v("menu-item relative flex cursor-default select-none items-center rounded-sm px-2 py-1.5 text-sm outline-hidden",b),{variants:{inset:{true:"pl-8"},variant:{default:"focus:bg-accent focus:text-accent-foreground aria-selected:bg-accent aria-selected:text-accent-foreground",danger:"focus:bg-(--red-5) focus:text-(--red-12) aria-selected:bg-(--red-5) aria-selected:text-(--red-12)",muted:"focus:bg-muted/70 focus:text-muted-foreground aria-selected:bg-muted/70 aria-selected:text-muted-foreground",success:"focus:bg-(--grass-3) focus:text-(--grass-11) aria-selected:bg-(--grass-3) aria-selected:text-(--grass-11)",disabled:"text-muted-foreground"}},defaultVariants:{variant:"default"}}),L=u("-mx-1 my-1 h-px bg-border last:hidden",{variants:{}}),j=t=>{let e=(0,B.c)(8),o,n;e[0]===t?(o=e[1],n=e[2]):({className:o,...n}=t,e[0]=t,e[1]=o,e[2]=n);let s;e[3]===o?s=e[4]:(s=v("ml-auto text-xs tracking-widest opacity-60",o),e[3]=o,e[4]=s);let l;return e[5]!==n||e[6]!==s?(l=(0,p.jsx)("span",{className:s,...n}),e[5]=n,e[6]=s,e[7]=l):l=e[7],l};j.displayName="MenuShortcut";export{G as a,L as c,z as d,H as i,F as l,j as n,K as o,D as r,J as s,b as t,$ as u};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import"./react-Bj1aDYRI.js";import"./jsx-runtime-ZmTK25f3.js";import"./cjs-CH5Rj0g8.js";import{a as r}from"./chunk-5FQGJX7Z-CwvgJCug.js";export{r as Mermaid};
|