@hiai-gg/docsmint 2.0.4 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +74 -5
- package/dist/backend/index.js +94475 -92073
- package/dist/backend-account-runtime-cleanup.js +293 -292
- package/dist/backend-api-key-facade.js +6 -5
- package/dist/backend-pipeline-cancellation.js +287 -286
- package/dist/client.d.ts +33 -7
- package/dist/client.js +55 -1
- package/dist/frontend/CategoryDialog-CVJi5PJu.js +602 -0
- package/dist/frontend/{ConfirmDialog-B1MjKlVQ.js → ConfirmDialog-0JwB8mKN.js} +5 -8
- package/dist/frontend/{CreateSnapshotDialog-BTMoPFdj.js → CreateSnapshotDialog-BLrtuYs5.js} +63 -68
- package/dist/frontend/{DatePicker-Bmjko3X7.js → DatePicker-BwSb8TRv.js} +17 -29
- package/dist/frontend/{DeleteDialog-BkfIeKXO.js → DeleteDialog-s7Dr6bXg.js} +51 -56
- package/dist/frontend/{FolderNode-Do8pIfyA.js → FolderNode-Y7cV9xeX.js} +105 -106
- package/dist/frontend/{FolderTreeSelector-FyxhcHjr.js → FolderTreeSelector-BR3lYmPU.js} +18 -20
- package/dist/frontend/HiAiEditor-BQERr-cd.js +3077 -0
- package/dist/frontend/{HiaiDocsExtensionProvider-Cc3yzW5I.js → HiaiDocsExtensionProvider-A2nGddUR.js} +2 -3
- package/dist/frontend/{Icon-3EYzvNyk.js → Icon-CiHcxcpv.js} +1 -2
- package/dist/frontend/SettingsDialog-BvS74JZu.js +978 -0
- package/dist/frontend/{ShareDialog-Ddvl7xvb.js → ShareDialog-Bo50h_Oe.js} +23 -25
- package/dist/frontend/Sidebar-i0kbanpg.js +2123 -0
- package/dist/frontend/{TagCreateDialog-DQmMJe_E.js → TagCreateDialog-DhKfsfv3.js} +78 -86
- package/dist/frontend/action_cancel-BdsWzQKU.js +4 -0
- package/dist/frontend/action_close-CVhfLPRQ.js +4 -0
- package/dist/frontend/action_create-ByaroO1_.js +4 -0
- package/dist/frontend/action_delete-SRloglWY.js +4 -0
- package/dist/frontend/action_go_to-DO1bicF-.js +4 -0
- package/dist/frontend/action_loading-iQ0KsN6i.js +4 -0
- package/dist/frontend/action_save-DeqrZQwV.js +4 -0
- package/dist/frontend/api/attachments.js +1 -2
- package/dist/frontend/api/categories.js +1 -2
- package/dist/frontend/api/documents.js +1 -2
- package/dist/frontend/api/folders.js +1 -2
- package/dist/frontend/api/settings.js +1 -2
- package/dist/frontend/api/share.js +1 -2
- package/dist/frontend/api/tags.js +1 -2
- package/dist/frontend/{api-keys-DIwAdYkg.js → api-keys-B63imiLr.js} +2 -3
- package/dist/frontend/app-shell.js +55 -79
- package/dist/frontend/{attachments-C225gTA7.js → attachments-Bfly-sam.js} +2 -3
- package/dist/frontend/{auth-client-CXR-7mIO.js → auth-client-Dx7d9Tzo.js} +409 -343
- package/dist/frontend/{bundle-mjs-CZ3g1Uzr.js → bundle-mjs-clTO1WW-.js} +5 -23
- package/dist/frontend/{camera-DtgHzfVI.js → camera-DsdOPOcD.js} +2 -3
- package/dist/frontend/{categories-C8AAkhCR.js → categories-CusvHb5Y.js} +3 -4
- package/dist/frontend/{categories_update_error-4aSI8PTr.js → categories_update_error-Cn8DBBHv.js} +2 -3
- package/dist/frontend/{check-DVx65aSv.js → check-DiMZRkKS.js} +2 -3
- package/dist/frontend/{chevron-down-C2tbZ8Ol.js → chevron-down-CxFrMFDJ.js} +2 -3
- package/dist/frontend/{circle-check-BAN-D7yg.js → circle-check-B4F_qgPx.js} +2 -3
- package/dist/frontend/{client-GbtOH90i.js → client-BDdDd84W.js} +1 -2
- package/dist/frontend/{clipboard-Cgzxc0_R.js → clipboard-Dt1oW6nm.js} +1 -2
- package/dist/frontend/{clock-ByiB0SwQ.js → clock-dcpueRk-.js} +2 -3
- package/dist/frontend/collaboration.js +6 -12
- package/dist/frontend/components/category-dialog.js +1 -2
- package/dist/frontend/components/create-snapshot-dialog.js +1 -2
- package/dist/frontend/components/delete-dialog.js +1 -2
- package/dist/frontend/components/editor/compact-editor.js +2 -3
- package/dist/frontend/components/editor/document-editor.js +1 -2
- package/dist/frontend/components/editor/document-title.js +3 -4
- package/dist/frontend/components/editor/docx-serializer.js +123 -167
- package/dist/frontend/components/editor/extensions.js +1 -2
- package/dist/frontend/components/editor/markdown-toggle.js +5 -6
- package/dist/frontend/components/editor/markdown.js +1 -2
- package/dist/frontend/components/folder-node.js +1 -2
- package/dist/frontend/components/folder-tree-selector.js +1 -2
- package/dist/frontend/components/save-as-dialog.js +86 -90
- package/dist/frontend/components/settings.js +1 -2
- package/dist/frontend/components/share-dialog.js +1 -2
- package/dist/frontend/components/sidebar.js +1 -2
- package/dist/frontend/components/tag-create-dialog.js +1 -2
- package/dist/frontend/components/version-history.js +177 -180
- package/dist/frontend/{context-D0zPFXZ4.js → context-BguSRnCt.js} +1 -2
- package/dist/frontend/{copy-CRzvfZGb.js → copy-Bag46YaR.js} +2 -3
- package/dist/frontend/dashboard.js +666 -690
- package/dist/frontend/{db-Dya0HRhS.js → db-B1ZV452J.js} +22 -39
- package/dist/frontend/{dialog-a_ZcpEC5.js → dialog-C0Bpok1d.js} +10 -18
- package/dist/frontend/{dist-CcHOStsA.js → dist-BlcV_BOY.js} +2 -3
- package/dist/frontend/{dist-qd_OnyUC.js → dist-DjId3RKL.js} +8 -21
- package/dist/frontend/dist-Dl9qg10h.js +301 -0
- package/dist/frontend/{dndzone-CDhrbpTg.js → dndzone-C62yjeG3.js} +38 -53
- package/dist/frontend/doc-tabs.js +1 -2
- package/dist/frontend/doc_title_label-BOuZzvqv.js +4 -0
- package/dist/frontend/doc_title_placeholder-ZxpdWWEn.js +4 -0
- package/dist/frontend/{document-drop-coordinator-Da7HcXgv.js → document-drop-coordinator-C_o93kKW.js} +3 -4
- package/dist/frontend/document-drop-coordinator.js +1 -2
- package/dist/frontend/{documents-CwCs1rA7.js → documents-CDJb8dv-.js} +4 -8
- package/dist/frontend/{dropdown-menu-DrHYReIC.js → dropdown-menu-B3nk2aM-.js} +13 -24
- package/dist/frontend/{editor-content-sanitizer-CWjqiz0T.js → editor-content-sanitizer-5MjSVPVn.js} +1 -2
- package/dist/frontend/editor-preferences.js +1 -2
- package/dist/frontend/{editor-preferences.svelte-Bt_A9k7n.js → editor-preferences.svelte-BpTE4mbz.js} +3 -5
- package/dist/frontend/{editorExtensions-DPR-CjMu.js → editorExtensions-DbiFj4tn.js} +3 -4
- package/dist/frontend/{editor_markdown_placeholder-BIWDUF1E.js → editor_markdown_placeholder-BztIY9Ci.js} +2 -3
- package/dist/frontend/{ellipsis-vertical-qxNgoXu-.js → ellipsis-vertical-Oymsv1R4.js} +2 -3
- package/dist/frontend/{error_dismiss-Dx_JbRjs.js → error_dismiss-C651ZdWI.js} +2 -3
- package/dist/frontend/error_generic-BlWqOE-a.js +4 -0
- package/dist/frontend/extension.js +1 -2
- package/dist/frontend/{folder-D74E-Kdp.js → folder-BpmB_sAy.js} +3 -5
- package/dist/frontend/folder-refresh.js +1 -2
- package/dist/frontend/{folders-CC0UWkZH.js → folders-DgKSovXa.js} +2 -3
- package/dist/frontend/{folders_rename-BJo4Gipq.js → folders_rename-Cxbg5GIw.js} +2 -3
- package/dist/frontend/frontend.css +1 -1
- package/dist/frontend/i18n.js +144 -145
- package/dist/frontend/{identity-BOA7Jejv.js → identity-B7HeOzDJ.js} +4 -5
- package/dist/frontend/{input-Q_7qCfnU.js → input-CbeB9220.js} +2 -3
- package/dist/frontend/keyboard.js +1 -2
- package/dist/frontend/{keyboard.svelte-CApmX0vl.js → keyboard.svelte-BBUdhTsM.js} +2 -3
- package/dist/frontend/{label-Dj8FDEhf.js → label-CfBWf3gI.js} +2 -3
- package/dist/frontend/{lib-aUbBbIW2.js → lib-CITdCbKa.js} +176 -365
- package/dist/frontend/{loader-circle-D3t5NkvC.js → loader-circle-skKwfRCB.js} +2 -3
- package/dist/frontend/markdown-6E9TWC6V.js +11 -0
- package/dist/frontend/offline/identity.js +1 -2
- package/dist/frontend/{popper-layer-force-mount-CNtiLgbV.js → popper-layer-force-mount-BG0eyrCk.js} +112 -284
- package/dist/frontend/{resolve-BG4HgzpN.js → resolve-DbT-KhGZ.js} +2 -3
- package/dist/frontend/{rolldown-runtime-DArdT4gl.js → rolldown-runtime-CwxnZyOB.js} +2 -3
- package/dist/frontend/{rotate-ccw-B1ybQ8oQ.js → rotate-ccw-DAUX7np7.js} +2 -3
- package/dist/frontend/{route-context-DYQlUfzL.js → route-context-6OHiGtfb.js} +2 -4
- package/dist/frontend/{runtime-CwWSo6c9.js → runtime-CGUiMzK6.js} +1 -2
- package/dist/frontend/{schemas-1Na35n71.js → schemas-YXxhj5o8.js} +850 -880
- package/dist/frontend/scroll_to_top_aria-lJc2RSx_.js +4 -0
- package/dist/frontend/{search-preferences-B1GdbdUc.js → search-preferences-DuLDczRu.js} +1 -2
- package/dist/frontend/search.js +277 -292
- package/dist/frontend/{search_title-DOC0cPlQ.js → search_title-BETwQYJq.js} +2 -3
- package/dist/frontend/{select-value-BkI1W1bn.js → select-value-BY5Hw6Rl.js} +28 -65
- package/dist/frontend/{settings-BRcYFQa_.js → settings-DyePuqjp.js} +3 -4
- package/dist/frontend/{share-D5yo0JOh.js → share-3gWTTYvH.js} +2 -3
- package/dist/frontend/{share-context-BJ4GF4yT.js → share-context-C2xyVP9M.js} +29 -37
- package/dist/frontend/{share_copied-DPxVzfWh.js → share_copied-BuAnmpbz.js} +2 -3
- package/dist/frontend/{share_toggle_password-DdxfIjj1.js → share_toggle_password-LEYUeHWr.js} +2 -3
- package/dist/frontend/shared-document.js +27 -36
- package/dist/frontend/{sidebar_uncategorized-qJ2_Aonf.js → sidebar_uncategorized-C5PGOflV.js} +2 -3
- package/dist/frontend/{sort_relevance-DwYX5MO9.js → sort_relevance-DpCVLby_.js} +2 -3
- package/dist/frontend/{subfolders-refresh-store.svelte-DxP21a1c.js → subfolders-refresh-store.svelte-CeyqvNpu.js} +1 -2
- package/dist/frontend/{tag-qbTBLj-g.js → tag-Wdfe0rKU.js} +3 -5
- package/dist/frontend/{tag-store.svelte-ogVCMCbv.js → tag-store.svelte-C9VYWqLQ.js} +2 -3
- package/dist/frontend/{tags-CF_cqzSV.js → tags-DlDVothf.js} +3 -4
- package/dist/frontend/{tags_load_error-BKjA1pI0.js → tags_load_error-BINNpPPV.js} +2 -3
- package/dist/frontend/{tags_new-BiNAJ9Bx.js → tags_new-Dw0Uy43-.js} +2 -3
- package/dist/frontend/{textarea-BNK0LFUK.js → textarea-D6emvAwM.js} +2 -3
- package/dist/frontend/theme.js +2 -3
- package/dist/frontend/{theme.svelte-BRdxXd-B.js → theme.svelte-BiXvrqwh.js} +7 -23
- package/dist/frontend/{theme_system-BBNUhYKh.js → theme_system-YIfa_2Xt.js} +2 -3
- package/dist/frontend/utils/clipboard.js +1 -2
- package/dist/frontend/utils/dndzone.js +1 -2
- package/dist/frontend/{utils-BovMJHdA.js → utils-CnAmIMwr.js} +2 -3
- package/dist/frontend/utils-DH0uqK40.js +6 -0
- package/dist/frontend/utils.js +1 -2
- package/dist/frontend/version_create_snapshot-D8xjbuCq.js +4 -0
- package/dist/frontend/{version_restored_from-dVRN3Zdk.js → version_restored_from-DYFFSuQj.js} +2 -3
- package/dist/frontend/{version_snapshot_label_placeholder-DrMikux0.js → version_snapshot_label_placeholder-BhKq1NQ7.js} +2 -3
- package/dist/frontend/{weekday_we-C5H_M-df.js → weekday_we-BxbzNVWR.js} +2 -3
- package/dist/frontend/{x-CvSSnrjl.js → x-CBUgPygC.js} +2 -3
- package/dist/frontend/{yjs-VUcKqaKW.js → yjs-BbwnvxgY.js} +9 -23
- package/dist/frontend-ssr/api/attachments.js +2 -3
- package/dist/frontend-ssr/api/categories.js +1 -2
- package/dist/frontend-ssr/api/documents.js +1 -2
- package/dist/frontend-ssr/api/folders.js +1 -2
- package/dist/frontend-ssr/api/settings.js +1 -2
- package/dist/frontend-ssr/api/share.js +2 -3
- package/dist/frontend-ssr/api/tags.js +1 -2
- package/dist/frontend-ssr/app-shell.js +19 -28
- package/dist/frontend-ssr/assets/{CategoryDialog-DuZLLlt7.js → CategoryDialog-2CCX508O.js} +17 -20
- package/dist/frontend-ssr/assets/{ConfirmDialog-0WVu9BCE.js → ConfirmDialog-Cc6lcY1N.js} +8 -14
- package/dist/frontend-ssr/assets/{CreateSnapshotDialog-3vhDTFNu.js → CreateSnapshotDialog-BB8fXF9W.js} +9 -10
- package/dist/frontend-ssr/assets/{DatePicker-t12leL2Y.js → DatePicker-CfzKzipR.js} +9 -15
- package/dist/frontend-ssr/assets/{DeleteDialog-B0AU1fJR.js → DeleteDialog-DRU4UgOW.js} +4 -5
- package/dist/frontend-ssr/assets/{FolderNode-C-B-s8x1.js → FolderNode-Dg_5-orQ.js} +11 -12
- package/dist/frontend-ssr/assets/{FolderTreeSelector-DdQuEcj0.js → FolderTreeSelector-D0reTdFS.js} +5 -7
- package/dist/frontend-ssr/assets/{HiAiEditor-Bj6tiE97.js → HiAiEditor-DeHWAIj-.js} +44 -69
- package/dist/frontend-ssr/assets/{HiaiDocsExtensionProvider-BRKWmcDd.js → HiaiDocsExtensionProvider-D6cGL-9s.js} +2 -3
- package/dist/frontend-ssr/assets/{Icon-DE_3EnuF.js → Icon-CrIRbT5O.js} +4 -8
- package/dist/frontend-ssr/assets/{SettingsDialog-h4SFwpUa.js → SettingsDialog-BpHY3IMb.js} +29 -40
- package/dist/frontend-ssr/assets/{ShareDialog-CpE9zd_f.js → ShareDialog-CY40nWZJ.js} +7 -9
- package/dist/frontend-ssr/assets/{Sidebar-BFBpsd3L.js → Sidebar-fpYk5MGO.js} +55 -63
- package/dist/frontend-ssr/assets/{TagCreateDialog-DBHO1DPU.js → TagCreateDialog-C2tpdEuj.js} +13 -14
- package/dist/frontend-ssr/assets/{action_cancel-OVgQDP5Q.js → action_cancel-CsBbxW0m.js} +2 -3
- package/dist/frontend-ssr/assets/{action_close-DagDyMXk.js → action_close-lFKBqBwg.js} +2 -3
- package/dist/frontend-ssr/assets/{action_create-hqJWjyqh.js → action_create-BV4ZOcQW.js} +2 -3
- package/dist/frontend-ssr/assets/{action_delete-B1-16jSo.js → action_delete-CNmRhKQP.js} +2 -3
- package/dist/frontend-ssr/assets/{action_go_to-DQScgw7P.js → action_go_to-tN5I26xM.js} +2 -3
- package/dist/frontend-ssr/assets/{action_save-Bx7vlLZI.js → action_save-YCfMiKb4.js} +2 -3
- package/dist/frontend-ssr/assets/{api-keys-CHOrbU-Q.js → api-keys-G6oimJIv.js} +2 -3
- package/dist/frontend-ssr/assets/{auth-client-BC4hSFKF.js → auth-client-BnnnJDAb.js} +368 -256
- package/dist/frontend-ssr/assets/{camera-B6ldo_Js.js → camera-OYNSMvMd.js} +2 -3
- package/dist/frontend-ssr/assets/{categories-C_dxFoHi.js → categories-bBPviKjl.js} +2 -3
- package/dist/frontend-ssr/assets/{categories_update_error-DkKgsqdD.js → categories_update_error-Bfx5vtvt.js} +11 -21
- package/dist/frontend-ssr/assets/{chevron-down-DQcr6JUc.js → chevron-down-DB6YsSbQ.js} +2 -3
- package/dist/frontend-ssr/assets/{chevron-right-9szrliZx.js → chevron-right-DOt2uY6b.js} +2 -3
- package/dist/frontend-ssr/assets/{circle-check-BgP9MRRv.js → circle-check-DQhTm9YR.js} +2 -3
- package/dist/frontend-ssr/assets/{client-rfwQYYHY.js → client-B2AniXwV.js} +1 -2
- package/dist/frontend-ssr/assets/{clipboard-CXOaoz2W.js → clipboard-CXKnyYba.js} +1 -2
- package/dist/frontend-ssr/assets/{clock-roNtGlT6.js → clock-B08dVWtf.js} +2 -3
- package/dist/frontend-ssr/assets/{context-Bi_mO-NS.js → context-C_xxvxnR.js} +1 -2
- package/dist/frontend-ssr/assets/{copy-BYqYnBIQ.js → copy-2jsznHar.js} +2 -3
- package/dist/frontend-ssr/assets/{db-C3rFdTZa.js → db-BEKLU5Fc.js} +2 -3
- package/dist/frontend-ssr/assets/{dialog-SqCnTT43.js → dialog-C6U-DqLr.js} +9 -17
- package/dist/frontend-ssr/assets/{dist-CaZQ1FhA.js → dist-DqXTz_zE.js} +9 -12
- package/dist/frontend-ssr/assets/{dist-CqxHwOlp.js → dist-ip9bPdma.js} +3 -6
- package/dist/frontend-ssr/assets/{dndzone-CnTCMhPd.js → dndzone-Dx3jt_e4.js} +4 -6
- package/dist/frontend-ssr/assets/{doc_title_label-Ev_ltlh3.js → doc_title_label-CE_l-Gum.js} +2 -3
- package/dist/frontend-ssr/assets/{doc_title_placeholder-DSHpUb7w.js → doc_title_placeholder-7_i7PtG6.js} +2 -3
- package/dist/frontend-ssr/assets/{document-drop-coordinator-CEaYACsC.js → document-drop-coordinator-BVytYy2K.js} +1 -2
- package/dist/frontend-ssr/assets/{documents-CEuA1V6N.js → documents-B_wpQFTh.js} +2 -3
- package/dist/frontend-ssr/assets/{dropdown-menu-CE6U0f1b.js → dropdown-menu-BS5fcN9l.js} +12 -23
- package/dist/frontend-ssr/assets/{editor-content-sanitizer-Gjm93iR-.js → editor-content-sanitizer-CIdFjBSC.js} +1 -2
- package/dist/frontend-ssr/assets/{editor-preferences.svelte-iI5jJM1x.js → editor-preferences.svelte-CdAXTd-I.js} +2 -4
- package/dist/frontend-ssr/assets/{editorExtensions-rhletNji.js → editorExtensions-2O7O2Nhv.js} +2 -3
- package/dist/frontend-ssr/assets/{editor_markdown_placeholder-BpezdkOr.js → editor_markdown_placeholder-CAeLJjFT.js} +3 -5
- package/dist/frontend-ssr/assets/{editor_toolbar_undo-CKJAOqv2.js → editor_toolbar_undo-CVCfQIS1.js} +29 -57
- package/dist/frontend-ssr/assets/{ellipsis-vertical-Cg1MrZsl.js → ellipsis-vertical-IFHt2NM1.js} +2 -3
- package/dist/frontend-ssr/assets/{error_generic-DTK0kwxT.js → error_generic-BB80i0Vk.js} +3 -5
- package/dist/frontend-ssr/assets/{folder-DHB-CEcQ.js → folder-CXa1_bm5.js} +2 -3
- package/dist/frontend-ssr/assets/{folders-BOXeb9hz.js → folders-CTLqWbMm.js} +2 -3
- package/dist/frontend-ssr/assets/{folders_rename-DvciOb6K.js → folders_rename-ydbfwQlj.js} +7 -13
- package/dist/frontend-ssr/assets/{identity-DNIo1bgc.js → identity-DTz1SQwC.js} +2 -3
- package/dist/frontend-ssr/assets/{input-DVrBVPgs.js → input-Bxw9sFF0.js} +2 -3
- package/dist/frontend-ssr/assets/{keyboard.svelte-BgF47N3L.js → keyboard.svelte-njehUCm3.js} +1 -2
- package/dist/frontend-ssr/assets/{label-vtCK3pTp.js → label-CMWedjs6.js} +2 -3
- package/dist/frontend-ssr/assets/{loader-circle-D3NWhCif.js → loader-circle-zbKj9Qb-.js} +2 -3
- package/dist/frontend-ssr/assets/{markdown-Co31-Tl2.js → markdown-BmIhDQp7.js} +2 -3
- package/dist/frontend-ssr/assets/{popper-layer-force-mount-C4dMMt-f.js → popper-layer-force-mount-CSHZsG2E.js} +78 -156
- package/dist/frontend-ssr/assets/{resolve-BqHozBXl.js → resolve-Wqdff4CL.js} +1 -2
- package/dist/frontend-ssr/assets/{rotate-ccw-DNf3nwMD.js → rotate-ccw-B7SaTFWf.js} +2 -3
- package/dist/frontend-ssr/assets/{route-context-BPRerEtZ.js → route-context-BsqLFt5Y.js} +2 -4
- package/dist/frontend-ssr/assets/{runtime-O78RzRqx.js → runtime-BX6-jTn_.js} +1 -2
- package/dist/frontend-ssr/assets/{scroll_to_top_aria-BN4ZfOnM.js → scroll_to_top_aria-CAYSiGHO.js} +2 -3
- package/dist/frontend-ssr/assets/{search_title-CKUsQDT0.js → search_title-C7NVXXq3.js} +2 -3
- package/dist/frontend-ssr/assets/{search_toggle_filters-hS9rvQhC.js → search_toggle_filters-Bq_YVD8s.js} +15 -29
- package/dist/frontend-ssr/assets/{select-value-Ce5c_fuA.js → select-value-TgslfiUB.js} +18 -34
- package/dist/frontend-ssr/assets/{settings-DWCpfCPj.js → settings-B1MA_FjO.js} +3 -4
- package/dist/frontend-ssr/assets/{share-context-B4UpvTSw.js → share-context-RVh8AExX.js} +17 -22
- package/dist/frontend-ssr/assets/{share_copied-BxU9rjXG.js → share_copied-CrwEwkb3.js} +31 -61
- package/dist/frontend-ssr/assets/{share_toggle_password-C6OmroqR.js → share_toggle_password-Co56z0Ha.js} +11 -21
- package/dist/frontend-ssr/assets/{sidebar_uncategorized-Dx-LTd5w.js → sidebar_uncategorized-COWdmZ3d.js} +6 -11
- package/dist/frontend-ssr/assets/{subfolders-refresh-store.svelte-CXHxQWKh.js → subfolders-refresh-store.svelte-LxG18U0n.js} +1 -2
- package/dist/frontend-ssr/assets/{tag-Cqv0fWVG.js → tag-BGhtDKpP.js} +3 -5
- package/dist/frontend-ssr/assets/{tag-store.svelte-QRysvGKe.js → tag-store.svelte-CUUgAaDD.js} +2 -3
- package/dist/frontend-ssr/assets/{tags-BBCoFYro.js → tags-C7u-LBsl.js} +2 -3
- package/dist/frontend-ssr/assets/{tags_load_error-CPrc6Gzs.js → tags_load_error-DW4FbHvr.js} +19 -37
- package/dist/frontend-ssr/assets/{tags_new-VmMr9v2V.js → tags_new-Dr3ByMPZ.js} +4 -7
- package/dist/frontend-ssr/assets/{textarea-BdjOJJVb.js → textarea-Bz5Tz4rw.js} +2 -3
- package/dist/frontend-ssr/assets/{theme.svelte-D6bbaJ9m.js → theme.svelte-CdHah46l.js} +3 -5
- package/dist/frontend-ssr/assets/{theme_system-BucaNntV.js → theme_system-E97FASeq.js} +19 -37
- package/dist/frontend-ssr/assets/{utils-DvZnctjz.js → utils-085zSPe5.js} +1 -2
- package/dist/frontend-ssr/assets/{utils-D3X7I8nz.js → utils-DF6CmRDX.js} +1 -2
- package/dist/frontend-ssr/assets/{version_create_snapshot-COHzwjle.js → version_create_snapshot-DeeYB7bb.js} +2 -3
- package/dist/frontend-ssr/assets/{version_restored_from-CertjFDl.js → version_restored_from-CTt2LM4A.js} +13 -25
- package/dist/frontend-ssr/assets/{version_snapshot_label_placeholder-Cy_rMCij.js → version_snapshot_label_placeholder-BbGD9YuN.js} +12 -23
- package/dist/frontend-ssr/assets/{weekday_we-DrI3U230.js → weekday_we-BzGQ-iFc.js} +22 -43
- package/dist/frontend-ssr/collaboration.js +2 -4
- package/dist/frontend-ssr/components/category-dialog.js +1 -2
- package/dist/frontend-ssr/components/create-snapshot-dialog.js +1 -2
- package/dist/frontend-ssr/components/delete-dialog.js +1 -2
- package/dist/frontend-ssr/components/editor/compact-editor.js +2 -3
- package/dist/frontend-ssr/components/editor/document-editor.js +1 -2
- package/dist/frontend-ssr/components/editor/document-title.js +3 -4
- package/dist/frontend-ssr/components/editor/docx-serializer.js +1 -2
- package/dist/frontend-ssr/components/editor/extensions.js +1 -2
- package/dist/frontend-ssr/components/editor/markdown-toggle.js +4 -5
- package/dist/frontend-ssr/components/editor/markdown.js +1 -2
- package/dist/frontend-ssr/components/folder-node.js +1 -2
- package/dist/frontend-ssr/components/folder-tree-selector.js +1 -2
- package/dist/frontend-ssr/components/save-as-dialog.js +12 -13
- package/dist/frontend-ssr/components/settings.js +1 -2
- package/dist/frontend-ssr/components/share-dialog.js +1 -2
- package/dist/frontend-ssr/components/sidebar.js +1 -2
- package/dist/frontend-ssr/components/tag-create-dialog.js +1 -2
- package/dist/frontend-ssr/components/version-history.js +18 -21
- package/dist/frontend-ssr/dashboard.js +64 -88
- package/dist/frontend-ssr/doc-tabs.js +1 -2
- package/dist/frontend-ssr/document-drop-coordinator.js +1 -2
- package/dist/frontend-ssr/editor-preferences.js +1 -2
- package/dist/frontend-ssr/extension.js +1 -2
- package/dist/frontend-ssr/folder-refresh.js +1 -2
- package/dist/frontend-ssr/i18n.js +315 -603
- package/dist/frontend-ssr/keyboard.js +1 -2
- package/dist/frontend-ssr/offline/identity.js +1 -2
- package/dist/frontend-ssr/search.js +17 -20
- package/dist/frontend-ssr/shared-document.js +5 -8
- package/dist/frontend-ssr/theme.js +2 -3
- package/dist/frontend-ssr/utils/clipboard.js +1 -2
- package/dist/frontend-ssr/utils/dndzone.js +1 -2
- package/dist/frontend-ssr/utils.js +1 -2
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/lifecycle-runtime.js +3998 -17872
- package/dist/mcp-cli.js +357 -78
- package/dist/mcp-server.d.ts +92 -23
- package/dist/mcp-server.js +525 -78
- package/dist/types.d.ts +68 -1
- package/package.json +5 -5
- package/packages/cli/src/index.ts +1 -1
- package/packages/db/src/schema.ts +3 -1
- package/server.json +2 -2
- package/dist/frontend/CategoryDialog-CJeAYxcd.js +0 -630
- package/dist/frontend/HiAiEditor-DDpfdQEg.js +0 -3129
- package/dist/frontend/SettingsDialog-DzlYW50I.js +0 -991
- package/dist/frontend/Sidebar-rFiVen96.js +0 -2149
- package/dist/frontend/action_cancel-Cuxsznzz.js +0 -5
- package/dist/frontend/action_close-BJm_52wm.js +0 -5
- package/dist/frontend/action_create-CtBQrRuj.js +0 -5
- package/dist/frontend/action_delete-BXBIzvn0.js +0 -5
- package/dist/frontend/action_go_to-VmK5jmEk.js +0 -5
- package/dist/frontend/action_loading-BLCGJVA9.js +0 -5
- package/dist/frontend/action_save-BRN2Z_GP.js +0 -5
- package/dist/frontend/dist-DcHl92QO.js +0 -316
- package/dist/frontend/doc_title_label-DS9jSIh2.js +0 -5
- package/dist/frontend/doc_title_placeholder-DBQpM1aH.js +0 -5
- package/dist/frontend/error_generic-CzNtmBT4.js +0 -5
- package/dist/frontend/markdown-O9YJA70S.js +0 -12
- package/dist/frontend/scroll_to_top_aria-CvkNF_Hu.js +0 -5
- package/dist/frontend/utils-BlHvR6OL.js +0 -7
- package/dist/frontend/version_create_snapshot-3bu-0qzH.js +0 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as e, t } from "./rolldown-runtime-
|
|
2
|
-
|
|
1
|
+
import { i as e, t } from "./rolldown-runtime-CwxnZyOB.js";
|
|
2
|
+
// ../node_modules/.bun/@tiptap+core@3.30.5+3036e96bad9728ab/node_modules/@tiptap/core/dist/rolldown-runtime-D7D4PA-g.js
|
|
3
3
|
var n = Object.defineProperty, r = (e, t) => {
|
|
4
4
|
let r = {};
|
|
5
5
|
for (var i in e) n(r, i, {
|
|
@@ -8,8 +8,7 @@ var n = Object.defineProperty, r = (e, t) => {
|
|
|
8
8
|
});
|
|
9
9
|
return t || n(r, Symbol.toStringTag, { value: "Module" }), r;
|
|
10
10
|
};
|
|
11
|
-
|
|
12
|
-
//#region ../node_modules/.bun/orderedmap@2.1.1/node_modules/orderedmap/dist/index.js
|
|
11
|
+
// ../node_modules/.bun/orderedmap@2.1.1/node_modules/orderedmap/dist/index.js
|
|
13
12
|
function i(e) {
|
|
14
13
|
this.content = e;
|
|
15
14
|
}
|
|
@@ -74,27 +73,25 @@ i.prototype = {
|
|
|
74
73
|
if (e) for (var n in e) t.push(n, e[n]);
|
|
75
74
|
return new i(t);
|
|
76
75
|
};
|
|
77
|
-
|
|
78
|
-
//#region ../node_modules/.bun/prosemirror-model@1.25.9/node_modules/prosemirror-model/dist/index.js
|
|
76
|
+
// ../node_modules/.bun/prosemirror-model@1.25.9/node_modules/prosemirror-model/dist/index.js
|
|
79
77
|
function a(e, t, n) {
|
|
80
78
|
for (let r = 0;; r++) {
|
|
81
79
|
if (r == e.childCount || r == t.childCount) return e.childCount == t.childCount ? null : n;
|
|
82
80
|
let i = e.child(r), o = t.child(r);
|
|
83
|
-
if (i == o)
|
|
81
|
+
if (i == o) n += i.nodeSize;
|
|
82
|
+
else {
|
|
83
|
+
if (!i.sameMarkup(o)) return n;
|
|
84
|
+
if (i.isText && i.text != o.text) {
|
|
85
|
+
let e = i.text, t = o.text, r = 0;
|
|
86
|
+
for (; e[r] == t[r]; r++) n++;
|
|
87
|
+
return r && r < e.length && r < t.length && c(e.charCodeAt(r - 1)) && s(e.charCodeAt(r)) && n--, n;
|
|
88
|
+
}
|
|
89
|
+
if (i.content.size || o.content.size) {
|
|
90
|
+
let e = a(i.content, o.content, n + 1);
|
|
91
|
+
if (e != null) return e;
|
|
92
|
+
}
|
|
84
93
|
n += i.nodeSize;
|
|
85
|
-
continue;
|
|
86
|
-
}
|
|
87
|
-
if (!i.sameMarkup(o)) return n;
|
|
88
|
-
if (i.isText && i.text != o.text) {
|
|
89
|
-
let e = i.text, t = o.text, r = 0;
|
|
90
|
-
for (; e[r] == t[r]; r++) n++;
|
|
91
|
-
return r && r < e.length && r < t.length && c(e.charCodeAt(r - 1)) && s(e.charCodeAt(r)) && n--, n;
|
|
92
94
|
}
|
|
93
|
-
if (i.content.size || o.content.size) {
|
|
94
|
-
let e = a(i.content, o.content, n + 1);
|
|
95
|
-
if (e != null) return e;
|
|
96
|
-
}
|
|
97
|
-
n += i.nodeSize;
|
|
98
95
|
}
|
|
99
96
|
}
|
|
100
97
|
function o(e, t, n, r) {
|
|
@@ -104,27 +101,26 @@ function o(e, t, n, r) {
|
|
|
104
101
|
b: r
|
|
105
102
|
};
|
|
106
103
|
let l = e.child(--i), u = t.child(--a), d = l.nodeSize;
|
|
107
|
-
if (l == u)
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}
|
|
111
|
-
if (!l.sameMarkup(u)) return {
|
|
112
|
-
a: n,
|
|
113
|
-
b: r
|
|
114
|
-
};
|
|
115
|
-
if (l.isText && l.text != u.text) {
|
|
116
|
-
let e = l.text, t = u.text, i = e.length, a = t.length;
|
|
117
|
-
for (; i > 0 && a > 0 && e[i - 1] == t[a - 1];) i--, a--, n--, r--;
|
|
118
|
-
return i && a && i < e.length && c(e.charCodeAt(i - 1)) && s(e.charCodeAt(i)) && (n++, r++), {
|
|
104
|
+
if (l == u) n -= d, r -= d;
|
|
105
|
+
else {
|
|
106
|
+
if (!l.sameMarkup(u)) return {
|
|
119
107
|
a: n,
|
|
120
108
|
b: r
|
|
121
109
|
};
|
|
110
|
+
if (l.isText && l.text != u.text) {
|
|
111
|
+
let e = l.text, t = u.text, i = e.length, a = t.length;
|
|
112
|
+
for (; i > 0 && a > 0 && e[i - 1] == t[a - 1];) i--, a--, n--, r--;
|
|
113
|
+
return i && a && i < e.length && c(e.charCodeAt(i - 1)) && s(e.charCodeAt(i)) && (n++, r++), {
|
|
114
|
+
a: n,
|
|
115
|
+
b: r
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
if (l.content.size || u.content.size) {
|
|
119
|
+
let e = o(l.content, u.content, n - 1, r - 1);
|
|
120
|
+
if (e) return e;
|
|
121
|
+
}
|
|
122
|
+
n -= d, r -= d;
|
|
122
123
|
}
|
|
123
|
-
if (l.content.size || u.content.size) {
|
|
124
|
-
let e = o(l.content, u.content, n - 1, r - 1);
|
|
125
|
-
if (e) return e;
|
|
126
|
-
}
|
|
127
|
-
n -= d, r -= d;
|
|
128
124
|
}
|
|
129
125
|
}
|
|
130
126
|
function s(e) {
|
|
@@ -517,14 +513,14 @@ var ee = class e {
|
|
|
517
513
|
n = r, r = e;
|
|
518
514
|
}
|
|
519
515
|
let i = n.marks;
|
|
520
|
-
for (var a = 0; a < i.length; a++) i[a].type.spec.inclusive
|
|
516
|
+
for (var a = 0; a < i.length; a++) i[a].type.spec.inclusive !== !1 || r && i[a].isInSet(r.marks) || (i = i[a--].removeFromSet(i));
|
|
521
517
|
return i;
|
|
522
518
|
}
|
|
523
519
|
marksAcross(e) {
|
|
524
520
|
let t = this.parent.maybeChild(this.index());
|
|
525
521
|
if (!t || !t.isInline) return null;
|
|
526
522
|
let n = t.marks, r = e.parent.maybeChild(e.index());
|
|
527
|
-
for (var i = 0; i < n.length; i++) n[i].type.spec.inclusive
|
|
523
|
+
for (var i = 0; i < n.length; i++) n[i].type.spec.inclusive !== !1 || r && n[i].isInSet(r.marks) || (n = n[i--].removeFromSet(n));
|
|
528
524
|
return n;
|
|
529
525
|
}
|
|
530
526
|
sharedDepth(e) {
|
|
@@ -893,7 +889,7 @@ var ae = class e {
|
|
|
893
889
|
}
|
|
894
890
|
for (let e = 0; e < i.next.length; e++) {
|
|
895
891
|
let { type: a, next: o } = i.next[e];
|
|
896
|
-
|
|
892
|
+
a.isLeaf || a.hasRequiredAttrs() || a.name in t || r.type && !o.validEnd || (n.push({
|
|
897
893
|
match: a.contentMatch,
|
|
898
894
|
type: a,
|
|
899
895
|
via: r
|
|
@@ -1540,7 +1536,7 @@ var ze = class {
|
|
|
1540
1536
|
e.nodeName == "BR" && this.top.type && this.top.type.inlineContent && this.addTextNode(e.ownerDocument.createTextNode("\n"), t);
|
|
1541
1537
|
}
|
|
1542
1538
|
ignoreFallback(e, t) {
|
|
1543
|
-
e.nodeName
|
|
1539
|
+
e.nodeName != "BR" || this.top.type && this.top.type.inlineContent || this.findPlace(this.parser.schema.text("-"), t, !0);
|
|
1544
1540
|
}
|
|
1545
1541
|
readStyles(e, t) {
|
|
1546
1542
|
let n = e.style;
|
|
@@ -1737,12 +1733,11 @@ var Ge = class e {
|
|
|
1737
1733
|
let n = 0, a = 0;
|
|
1738
1734
|
for (; n < i.length && a < e.marks.length;) {
|
|
1739
1735
|
let t = e.marks[a];
|
|
1740
|
-
if (!this.marks[t.type.name])
|
|
1741
|
-
|
|
1742
|
-
|
|
1736
|
+
if (!this.marks[t.type.name]) a++;
|
|
1737
|
+
else {
|
|
1738
|
+
if (!t.eq(i[n][0]) || t.type.spec.spanning === !1) break;
|
|
1739
|
+
n++, a++;
|
|
1743
1740
|
}
|
|
1744
|
-
if (!t.eq(i[n][0]) || t.type.spec.spanning === !1) break;
|
|
1745
|
-
n++, a++;
|
|
1746
1741
|
}
|
|
1747
1742
|
for (; n < i.length;) r = i.pop()[1];
|
|
1748
1743
|
for (; a < e.marks.length;) {
|
|
@@ -1855,8 +1850,7 @@ function Ze(e, t, n, r) {
|
|
|
1855
1850
|
contentDOM: s
|
|
1856
1851
|
};
|
|
1857
1852
|
}
|
|
1858
|
-
|
|
1859
|
-
//#region ../node_modules/.bun/prosemirror-transform@1.12.0/node_modules/prosemirror-transform/dist/index.js
|
|
1853
|
+
// ../node_modules/.bun/prosemirror-transform@1.12.0/node_modules/prosemirror-transform/dist/index.js
|
|
1860
1854
|
var Qe = 65535, $e = 2 ** 16;
|
|
1861
1855
|
function et(e, t) {
|
|
1862
1856
|
return e + t * $e;
|
|
@@ -3799,7 +3793,7 @@ function dr(e, t = null) {
|
|
|
3799
3793
|
let { $from: { pos: a }, $to: { pos: o } } = n.selection.ranges[r];
|
|
3800
3794
|
n.doc.nodesBetween(a, o, (r, a) => {
|
|
3801
3795
|
if (i) return !1;
|
|
3802
|
-
if (
|
|
3796
|
+
if (r.isTextblock && !r.hasMarkup(e, t)) {
|
|
3803
3797
|
if (r.type == e) i = !0;
|
|
3804
3798
|
else {
|
|
3805
3799
|
let t = n.doc.resolve(a), r = t.index();
|
|
@@ -3847,8 +3841,7 @@ var pr = fr(Pn, In, Vn), mr = fr(Pn, Wn, Gn), hr = {
|
|
|
3847
3841
|
};
|
|
3848
3842
|
for (let e in hr) gr[e] = hr[e];
|
|
3849
3843
|
typeof navigator < "u" ? /Mac|iP(hone|[oa]d)/.test(navigator.platform) : typeof os < "u" && os.platform && os.platform();
|
|
3850
|
-
|
|
3851
|
-
//#region ../node_modules/.bun/prosemirror-schema-list@1.5.1/node_modules/prosemirror-schema-list/dist/index.js
|
|
3844
|
+
// ../node_modules/.bun/prosemirror-schema-list@1.5.1/node_modules/prosemirror-schema-list/dist/index.js
|
|
3852
3845
|
function _r(e, t = null) {
|
|
3853
3846
|
return function(n, r) {
|
|
3854
3847
|
let { $from: i, $to: a } = n.selection, o = i.blockRange(a);
|
|
@@ -3917,8 +3910,7 @@ function Cr(e) {
|
|
|
3917
3910
|
return !0;
|
|
3918
3911
|
};
|
|
3919
3912
|
}
|
|
3920
|
-
|
|
3921
|
-
//#region ../node_modules/.bun/prosemirror-view@1.42.3/node_modules/prosemirror-view/dist/index.js
|
|
3913
|
+
// ../node_modules/.bun/prosemirror-view@1.42.3/node_modules/prosemirror-view/dist/index.js
|
|
3922
3914
|
var wr = function(e) {
|
|
3923
3915
|
for (var t = 0;; t++) if (e = e.previousSibling, !e) return t;
|
|
3924
3916
|
}, Tr = function(e) {
|
|
@@ -4509,7 +4501,7 @@ var Ri = 0, zi = 1, Bi = 2, Vi = 3, Hi = class {
|
|
|
4509
4501
|
for (let e; n && !(e = this.children[n - 1]).size && e instanceof Ui && e.side >= 0; n--);
|
|
4510
4502
|
if (t <= 0) {
|
|
4511
4503
|
let e, r = !0;
|
|
4512
|
-
for (; e = n ? this.children[n - 1] : null,
|
|
4504
|
+
for (; e = n ? this.children[n - 1] : null, e && e.dom.parentNode != this.contentDOM; n--, r = !1);
|
|
4513
4505
|
return e && t && r && !e.border && !e.domAtom ? e.domFromPos(e.size, t) : {
|
|
4514
4506
|
node: this.contentDOM,
|
|
4515
4507
|
offset: e ? wr(e.dom) + 1 : 0
|
|
@@ -4517,7 +4509,7 @@ var Ri = 0, zi = 1, Bi = 2, Vi = 3, Hi = class {
|
|
|
4517
4509
|
}
|
|
4518
4510
|
{
|
|
4519
4511
|
let e, r = !0;
|
|
4520
|
-
for (; e = n < this.children.length ? this.children[n] : null,
|
|
4512
|
+
for (; e = n < this.children.length ? this.children[n] : null, e && e.dom.parentNode != this.contentDOM; n++, r = !1);
|
|
4521
4513
|
return e && r && !e.border && !e.domAtom ? e.domFromPos(0, t) : {
|
|
4522
4514
|
node: this.contentDOM,
|
|
4523
4515
|
offset: e ? wr(e.dom) : this.contentDOM.childNodes.length
|
|
@@ -4735,7 +4727,7 @@ var Ri = 0, zi = 1, Bi = 2, Vi = 3, Hi = class {
|
|
|
4735
4727
|
}
|
|
4736
4728
|
static create(t, n, r, i) {
|
|
4737
4729
|
let a = i.nodeViews[n.type.name], o = a && a(n, i, r);
|
|
4738
|
-
return
|
|
4730
|
+
return o && o.dom || (o = Ge.renderSpec(document, n.type.spec.toDOM(n, r), null, n.attrs)), new e(t, n, o.dom, o.contentDOM || o.dom, o);
|
|
4739
4731
|
}
|
|
4740
4732
|
parseRule() {
|
|
4741
4733
|
return this.dirty & Vi || this.mark.type.spec.reparseInView ? null : {
|
|
@@ -5013,7 +5005,7 @@ function ta(e, t, n, r) {
|
|
|
5013
5005
|
let a = r[t], o = n[t];
|
|
5014
5006
|
if (t) {
|
|
5015
5007
|
let t;
|
|
5016
|
-
o && o.nodeName == a.nodeName && i != e && (t = i.parentNode) && t.nodeName.toLowerCase() == a.nodeName
|
|
5008
|
+
o && o.nodeName == a.nodeName && i != e && (t = i.parentNode) && t.nodeName.toLowerCase() == a.nodeName || (t = document.createElement(a.nodeName), t.pmIsDeco = !0, t.appendChild(i), o = $i[0]), i = t;
|
|
5017
5009
|
}
|
|
5018
5010
|
na(i, o || $i[0], a);
|
|
5019
5011
|
}
|
|
@@ -5967,7 +5959,7 @@ var Po = class {
|
|
|
5967
5959
|
n.button == 0 && (i.type.spec.draggable && i.type.spec.selectable !== !1 || c instanceof P && c.from <= a && c.to > a) && (this.mightDrag = {
|
|
5968
5960
|
node: i,
|
|
5969
5961
|
pos: a,
|
|
5970
|
-
addAttr:
|
|
5962
|
+
addAttr: !(!this.target || this.target.draggable),
|
|
5971
5963
|
setUneditable: !!(this.target && Yr && !this.target.hasAttribute("contentEditable"))
|
|
5972
5964
|
}), this.target && this.mightDrag && (this.mightDrag.addAttr || this.mightDrag.setUneditable) && (this.view.domObserver.stop(), this.mightDrag.addAttr && (this.target.draggable = !0), this.mightDrag.setUneditable && setTimeout(() => {
|
|
5973
5965
|
this.view.input.mouseDown == this && this.target.setAttribute("contentEditable", "false");
|
|
@@ -6064,7 +6056,7 @@ function Ho(e) {
|
|
|
6064
6056
|
if (!t || !t.isText(r.nodeValue)) return r;
|
|
6065
6057
|
if (e.input.compositionNode == r) {
|
|
6066
6058
|
let e = n.pmViewDesc;
|
|
6067
|
-
if (
|
|
6059
|
+
if (e && e.isText(n.nodeValue)) return r;
|
|
6068
6060
|
}
|
|
6069
6061
|
}
|
|
6070
6062
|
return n || r;
|
|
@@ -6557,12 +6549,11 @@ function _s(e) {
|
|
|
6557
6549
|
let r = t[n];
|
|
6558
6550
|
if (r.from != r.to) for (let i = n + 1; i < t.length; i++) {
|
|
6559
6551
|
let a = t[i];
|
|
6560
|
-
if (a.from == r.from)
|
|
6561
|
-
|
|
6562
|
-
|
|
6552
|
+
if (a.from == r.from) a.to != r.to && (t == e && (t = e.slice()), t[i] = a.copy(a.from, r.to), vs(t, i + 1, a.copy(r.to, a.to)));
|
|
6553
|
+
else {
|
|
6554
|
+
a.from < r.to && (t == e && (t = e.slice()), t[n] = r.copy(r.from, a.from), vs(t, i, r.copy(a.from, r.to)));
|
|
6555
|
+
break;
|
|
6563
6556
|
}
|
|
6564
|
-
a.from < r.to && (t == e && (t = e.slice()), t[n] = r.copy(r.from, a.from), vs(t, i, r.copy(a.from, r.to)));
|
|
6565
|
-
break;
|
|
6566
6557
|
}
|
|
6567
6558
|
}
|
|
6568
6559
|
return t;
|
|
@@ -7035,7 +7026,7 @@ var Bs = class {
|
|
|
7035
7026
|
let t = l && (qr || Zr) && !this.composing && !n.selection.empty && !e.selection.empty && Ws(n.selection, e.selection);
|
|
7036
7027
|
if (l) {
|
|
7037
7028
|
let n = Zr ? this.trackWrites = this.domSelectionRange().focusNode : null;
|
|
7038
|
-
this.composing && (this.input.compositionNode = Ho(this)), (r || !this.docView.update(e.doc, s, o, this)) && (this.docView.updateOuterDeco(s), this.docView.destroy(), this.docView = qi(e.doc, s, o, this.dom, this)), n
|
|
7029
|
+
this.composing && (this.input.compositionNode = Ho(this)), (r || !this.docView.update(e.doc, s, o, this)) && (this.docView.updateOuterDeco(s), this.docView.destroy(), this.docView = qi(e.doc, s, o, this.dom, this)), !n || this.trackWrites && this.dom.contains(this.trackWrites) || (t = !0);
|
|
7039
7030
|
}
|
|
7040
7031
|
let i = this.input.mouseDown;
|
|
7041
7032
|
t || !(i && this.domObserver.currentSelection.eq(this.domSelectionRange()) && Da(this) && i.delaySelUpdate()) ? ha(this, t) : (Sa(this, e.selection), this.domObserver.setCurSelection()), this.domObserver.start();
|
|
@@ -7044,7 +7035,7 @@ var Bs = class {
|
|
|
7044
7035
|
}
|
|
7045
7036
|
scrollToSelection() {
|
|
7046
7037
|
let e = this.domSelectionRange().focusNode;
|
|
7047
|
-
if (
|
|
7038
|
+
if (e && this.dom.contains(e.nodeType == 1 ? e : e.parentNode) && !this.someProp("handleScrollToSelection", (e) => e(this))) {
|
|
7048
7039
|
if (this.state.selection instanceof P) {
|
|
7049
7040
|
let t = this.docView.domAfterPos(this.state.selection.from);
|
|
7050
7041
|
t.nodeType == 1 && li(this, t.getBoundingClientRect(), e);
|
|
@@ -7305,8 +7296,7 @@ function ec(e) {
|
|
|
7305
7296
|
var t = !(Xs && e.metaKey && e.shiftKey && !e.ctrlKey && !e.altKey || Zs && e.shiftKey && e.key && e.key.length == 1 || e.key == "Unidentified") && e.key || (e.shiftKey ? Ys : Js)[e.keyCode] || e.key || "Unidentified";
|
|
7306
7297
|
return t == "Esc" && (t = "Escape"), t == "Del" && (t = "Delete"), t == "Left" && (t = "ArrowLeft"), t == "Up" && (t = "ArrowUp"), t == "Right" && (t = "ArrowRight"), t == "Down" && (t = "ArrowDown"), t;
|
|
7307
7298
|
}
|
|
7308
|
-
|
|
7309
|
-
//#region ../node_modules/.bun/prosemirror-keymap@1.2.3/node_modules/prosemirror-keymap/dist/index.js
|
|
7299
|
+
// ../node_modules/.bun/prosemirror-keymap@1.2.3/node_modules/prosemirror-keymap/dist/index.js
|
|
7310
7300
|
var tc = typeof navigator < "u" && /Mac|iP(hone|[oa]d)/.test(navigator.platform), nc = typeof navigator < "u" && /Win/.test(navigator.platform);
|
|
7311
7301
|
function rc(e) {
|
|
7312
7302
|
let t = e.split(/-(?!$)/), n = t[t.length - 1];
|
|
@@ -7352,8 +7342,7 @@ function sc(e) {
|
|
|
7352
7342
|
return !1;
|
|
7353
7343
|
};
|
|
7354
7344
|
}
|
|
7355
|
-
|
|
7356
|
-
//#region ../node_modules/.bun/@tiptap+core@3.30.5+3036e96bad9728ab/node_modules/@tiptap/core/dist/index.js
|
|
7345
|
+
// ../node_modules/.bun/@tiptap+core@3.30.5+3036e96bad9728ab/node_modules/@tiptap/core/dist/index.js
|
|
7357
7346
|
function cc(e) {
|
|
7358
7347
|
let { state: t, transaction: n } = e, { selection: r } = n, { doc: i } = n, { storedMarks: a } = n;
|
|
7359
7348
|
return {
|
|
@@ -7543,7 +7532,7 @@ function Oc(e, t, n = {}) {
|
|
|
7543
7532
|
function kc(e, t, n) {
|
|
7544
7533
|
if (!e || !t) return;
|
|
7545
7534
|
let r = e.parent.childAfter(e.parentOffset);
|
|
7546
|
-
if (
|
|
7535
|
+
if (r.node && r.node.marks.some((e) => e.type === t) || (r = e.parent.childBefore(e.parentOffset)), !r.node || !r.node.marks.some((e) => e.type === t)) return;
|
|
7547
7536
|
if (!n) {
|
|
7548
7537
|
let e = r.node.marks.find((e) => e.type === t);
|
|
7549
7538
|
e && (n = e.attrs);
|
|
@@ -8047,29 +8036,25 @@ function Ll(e) {
|
|
|
8047
8036
|
let t = [], n = "", r = !1, i = !1, a = 0, o = e.length;
|
|
8048
8037
|
for (let s = 0; s < o; s += 1) {
|
|
8049
8038
|
let o = e[s];
|
|
8050
|
-
if (o === "'" && !i)
|
|
8051
|
-
|
|
8052
|
-
|
|
8053
|
-
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8060
|
-
|
|
8061
|
-
|
|
8062
|
-
|
|
8063
|
-
|
|
8064
|
-
|
|
8065
|
-
|
|
8066
|
-
}
|
|
8067
|
-
if (o === ";" && a === 0) {
|
|
8068
|
-
t.push(n), n = "";
|
|
8069
|
-
continue;
|
|
8039
|
+
if (o === "'" && !i) r = !r, n += o;
|
|
8040
|
+
else if (o === "\"" && !r) i = !i, n += o;
|
|
8041
|
+
else {
|
|
8042
|
+
if (!r && !i) {
|
|
8043
|
+
if (o === "(") {
|
|
8044
|
+
a += 1, n += o;
|
|
8045
|
+
continue;
|
|
8046
|
+
}
|
|
8047
|
+
if (o === ")" && a > 0) {
|
|
8048
|
+
--a, n += o;
|
|
8049
|
+
continue;
|
|
8050
|
+
}
|
|
8051
|
+
if (o === ";" && a === 0) {
|
|
8052
|
+
t.push(n), n = "";
|
|
8053
|
+
continue;
|
|
8054
|
+
}
|
|
8070
8055
|
}
|
|
8056
|
+
n += o;
|
|
8071
8057
|
}
|
|
8072
|
-
n += o;
|
|
8073
8058
|
}
|
|
8074
8059
|
return n && t.push(n), t;
|
|
8075
8060
|
}
|
|
@@ -8087,20 +8072,14 @@ function V(...e) {
|
|
|
8087
8072
|
return e.filter((e) => !!e).reduce((e, t) => {
|
|
8088
8073
|
let n = { ...e };
|
|
8089
8074
|
return Object.entries(t).forEach(([e, t]) => {
|
|
8090
|
-
if (e === "__proto__") {
|
|
8091
|
-
|
|
8092
|
-
|
|
8093
|
-
|
|
8094
|
-
|
|
8095
|
-
|
|
8096
|
-
|
|
8097
|
-
|
|
8098
|
-
}
|
|
8099
|
-
if (!n[e]) {
|
|
8100
|
-
n[e] = t;
|
|
8101
|
-
return;
|
|
8102
|
-
}
|
|
8103
|
-
if (e === "class") {
|
|
8075
|
+
if (e === "__proto__") Object.defineProperty(n, e, {
|
|
8076
|
+
configurable: !0,
|
|
8077
|
+
enumerable: !0,
|
|
8078
|
+
value: t,
|
|
8079
|
+
writable: !0
|
|
8080
|
+
});
|
|
8081
|
+
else if (!n[e]) n[e] = t;
|
|
8082
|
+
else if (e === "class") {
|
|
8104
8083
|
let r = t ? String(t).split(" ") : [], i = n[e] ? n[e].split(" ") : [], a = r.filter((e) => !i.includes(e));
|
|
8105
8084
|
n[e] = [...i, ...a].join(" ");
|
|
8106
8085
|
} else if (e === "style") {
|
|
@@ -8328,7 +8307,7 @@ function iu(e, t, n) {
|
|
|
8328
8307
|
...i
|
|
8329
8308
|
});
|
|
8330
8309
|
}) : n.nodesBetween(e, t, (e, t) => {
|
|
8331
|
-
|
|
8310
|
+
e && e?.nodeSize !== void 0 && r.push(...e.marks.map((n) => ({
|
|
8332
8311
|
from: t,
|
|
8333
8312
|
to: t + e.nodeSize,
|
|
8334
8313
|
mark: n
|
|
@@ -9341,7 +9320,7 @@ function Rd(e) {
|
|
|
9341
9320
|
commands: h,
|
|
9342
9321
|
chain: g,
|
|
9343
9322
|
can: _
|
|
9344
|
-
})
|
|
9323
|
+
}) !== null && f.steps.length && (e.undoable && f.setMeta(o, {
|
|
9345
9324
|
transform: f,
|
|
9346
9325
|
from: n,
|
|
9347
9326
|
to: r,
|
|
@@ -9525,7 +9504,7 @@ function qd(e) {
|
|
|
9525
9504
|
state: e,
|
|
9526
9505
|
transaction: c
|
|
9527
9506
|
});
|
|
9528
|
-
if (
|
|
9507
|
+
if (Wd({
|
|
9529
9508
|
editor: t,
|
|
9530
9509
|
state: l,
|
|
9531
9510
|
from: Math.max(n - 1, 0),
|
|
@@ -9533,7 +9512,7 @@ function qd(e) {
|
|
|
9533
9512
|
rule: i,
|
|
9534
9513
|
pasteEvent: a,
|
|
9535
9514
|
dropEvent: s
|
|
9536
|
-
})
|
|
9515
|
+
}) && c.steps.length) {
|
|
9537
9516
|
try {
|
|
9538
9517
|
s = typeof DragEvent < "u" ? new DragEvent("drop") : null;
|
|
9539
9518
|
} catch {
|
|
@@ -9588,7 +9567,7 @@ function qd(e) {
|
|
|
9588
9567
|
});
|
|
9589
9568
|
}
|
|
9590
9569
|
let m = n.doc.content.findDiffStart(r.doc.content), h = n.doc.content.findDiffEnd(r.doc.content);
|
|
9591
|
-
if (
|
|
9570
|
+
if (Dd(m) && h && m !== h.b) return c({
|
|
9592
9571
|
rule: e,
|
|
9593
9572
|
state: r,
|
|
9594
9573
|
from: m,
|
|
@@ -10190,7 +10169,7 @@ var lf = class e {
|
|
|
10190
10169
|
if (!this.children || this.children.length === 0) return r;
|
|
10191
10170
|
let i = Object.keys(t);
|
|
10192
10171
|
return this.children.forEach((a) => {
|
|
10193
|
-
n && r.length > 0 || (a.node.type.name === e && i.every((e) => t[e] === a.node.attrs[e]) && r.push(a),
|
|
10172
|
+
n && r.length > 0 || (a.node.type.name === e && i.every((e) => t[e] === a.node.attrs[e]) && r.push(a), n && r.length > 0 || (r = r.concat(a.querySelectorAll(e, t, n))));
|
|
10194
10173
|
}), r;
|
|
10195
10174
|
}
|
|
10196
10175
|
setAttribute(e) {
|
|
@@ -10289,7 +10268,7 @@ var lf = class e {
|
|
|
10289
10268
|
this.options = {
|
|
10290
10269
|
...this.options,
|
|
10291
10270
|
...e
|
|
10292
|
-
},
|
|
10271
|
+
}, this.editorView && this.state && !this.isDestroyed && (this.options.editorProps && this.view.setProps(this.options.editorProps), this.view.updateState(this.state));
|
|
10293
10272
|
}
|
|
10294
10273
|
setEditable(e, t = !0) {
|
|
10295
10274
|
this.setOptions({ editable: e }), t && this.emit("update", {
|
|
@@ -10451,7 +10430,7 @@ var lf = class e {
|
|
|
10451
10430
|
editor: this,
|
|
10452
10431
|
event: c.event,
|
|
10453
10432
|
transaction: o
|
|
10454
|
-
}),
|
|
10433
|
+
}), e.getMeta("preventUpdate") || !n.some((e) => e.docChanged) || a.doc.eq(t.doc) || this.emit("update", {
|
|
10455
10434
|
editor: this,
|
|
10456
10435
|
transaction: e,
|
|
10457
10436
|
appendedTransactions: n.slice(1)
|
|
@@ -10735,8 +10714,7 @@ function vf(e) {
|
|
|
10735
10714
|
}
|
|
10736
10715
|
});
|
|
10737
10716
|
}
|
|
10738
|
-
|
|
10739
|
-
//#region ../node_modules/.bun/@tiptap+extension-code-block@3.30.5+7975016d88fecfaa/node_modules/@tiptap/extension-code-block/dist/index.js
|
|
10717
|
+
// ../node_modules/.bun/@tiptap+extension-code-block@3.30.5+7975016d88fecfaa/node_modules/@tiptap/extension-code-block/dist/index.js
|
|
10740
10718
|
var yf = 4, bf = /^```([a-z]+)?[\s\n]$/, xf = /^~~~([a-z]+)?[\s\n]$/, Sf = U.create({
|
|
10741
10719
|
name: "codeBlock",
|
|
10742
10720
|
addOptions() {
|
|
@@ -10895,7 +10873,7 @@ var yf = 4, bf = /^```([a-z]+)?[\s\n]$/, xf = /^~~~([a-z]+)?[\s\n]$/, Sf = U.cre
|
|
|
10895
10873
|
throw Error("set is read-only");
|
|
10896
10874
|
}), Object.freeze(e), Object.getOwnPropertyNames(e).forEach((t) => {
|
|
10897
10875
|
let r = e[t], i = typeof r;
|
|
10898
|
-
|
|
10876
|
+
i !== "object" && i !== "function" || Object.isFrozen(r) || n(r);
|
|
10899
10877
|
}), e;
|
|
10900
10878
|
}
|
|
10901
10879
|
var r = class {
|
|
@@ -11637,11 +11615,7 @@ var yf = 4, bf = /^```([a-z]+)?[\s\n]$/, xf = /^~~~([a-z]+)?[\s\n]$/, Sf = U.cre
|
|
|
11637
11615
|
function e() {
|
|
11638
11616
|
O();
|
|
11639
11617
|
}
|
|
11640
|
-
|
|
11641
|
-
ee || window.addEventListener("DOMContentLoaded", e, !1), ee = !0;
|
|
11642
|
-
return;
|
|
11643
|
-
}
|
|
11644
|
-
document.querySelectorAll(l.cssSelector).forEach(w);
|
|
11618
|
+
document.readyState === "loading" ? (ee || window.addEventListener("DOMContentLoaded", e, !1), ee = !0) : document.querySelectorAll(l.cssSelector).forEach(w);
|
|
11645
11619
|
}
|
|
11646
11620
|
function k(n, r) {
|
|
11647
11621
|
let i = null;
|
|
@@ -11730,8 +11704,7 @@ var yf = 4, bf = /^```([a-z]+)?[\s\n]$/, xf = /^~~~([a-z]+)?[\s\n]$/, Sf = U.cre
|
|
|
11730
11704
|
}, Ve = Be({});
|
|
11731
11705
|
Ve.newInstance = () => Be({}), t.exports = Ve, Ve.HighlightJS = Ve, Ve.default = Ve;
|
|
11732
11706
|
})))())).default;
|
|
11733
|
-
|
|
11734
|
-
//#region ../node_modules/.bun/@tiptap+extension-code-block-lowlight@3.30.5+25804fadd53f2d13/node_modules/@tiptap/extension-code-block-lowlight/dist/index.js
|
|
11707
|
+
// ../node_modules/.bun/@tiptap+extension-code-block-lowlight@3.30.5+25804fadd53f2d13/node_modules/@tiptap/extension-code-block-lowlight/dist/index.js
|
|
11735
11708
|
function wf(e, t = []) {
|
|
11736
11709
|
return e.flatMap((e) => {
|
|
11737
11710
|
let n = [...t, ...e.properties ? e.properties.className : []];
|
|
@@ -11947,11 +11920,7 @@ var Af = Sf.extend({
|
|
|
11947
11920
|
}
|
|
11948
11921
|
}), u.src !== null && (l.src = u.src);
|
|
11949
11922
|
let d = { ...s }, f = (e) => {
|
|
11950
|
-
|
|
11951
|
-
l.getAttribute("src") !== e && (l.src = e);
|
|
11952
|
-
return;
|
|
11953
|
-
}
|
|
11954
|
-
l.hasAttribute("src") && l.removeAttribute("src"), l.src !== "" && (l.src = "");
|
|
11923
|
+
typeof e == "string" && e !== "" ? l.getAttribute("src") !== e && (l.src = e) : (l.hasAttribute("src") && l.removeAttribute("src"), l.src !== "" && (l.src = ""));
|
|
11955
11924
|
};
|
|
11956
11925
|
f(s.src);
|
|
11957
11926
|
let p = new _f({
|
|
@@ -12521,8 +12490,7 @@ function Lm(e, t = null, n = null) {
|
|
|
12521
12490
|
}
|
|
12522
12491
|
return a;
|
|
12523
12492
|
}
|
|
12524
|
-
|
|
12525
|
-
//#region ../node_modules/.bun/@tiptap+extension-link@3.30.5+7975016d88fecfaa/node_modules/@tiptap/extension-link/dist/index.js
|
|
12493
|
+
// ../node_modules/.bun/@tiptap+extension-link@3.30.5+7975016d88fecfaa/node_modules/@tiptap/extension-link/dist/index.js
|
|
12526
12494
|
var Rm = "[\0- \xA0 -\u2029 ]", zm = new RegExp(Rm), Bm = RegExp(`${Rm}$`), Vm = new RegExp(Rm, "g");
|
|
12527
12495
|
function Hm(e) {
|
|
12528
12496
|
return e.length === 1 ? e[0].isLink : e.length === 3 && e[1].isLink ? ["()", "[]"].includes(e[0].value + e[2].value) : !1;
|
|
@@ -12593,11 +12561,7 @@ function qm(e, t) {
|
|
|
12593
12561
|
function Jm(e, t) {
|
|
12594
12562
|
let n = 0, r = 0;
|
|
12595
12563
|
for (; r < t;) {
|
|
12596
|
-
if (e[r] !== "`") {
|
|
12597
|
-
r += 1;
|
|
12598
|
-
continue;
|
|
12599
|
-
}
|
|
12600
|
-
if (n === 0 && qm(e, r)) {
|
|
12564
|
+
if (e[r] !== "`" || n === 0 && qm(e, r)) {
|
|
12601
12565
|
r += 1;
|
|
12602
12566
|
continue;
|
|
12603
12567
|
}
|
|
@@ -12709,11 +12673,7 @@ var rh = Vd.create({
|
|
|
12709
12673
|
exitable: !0,
|
|
12710
12674
|
onCreate() {
|
|
12711
12675
|
this.options.validate && !this.options.shouldAutoLink && (this.options.shouldAutoLink = this.options.validate, console.warn("The `validate` option is deprecated. Rename to the `shouldAutoLink` option instead.")), this.options.protocols.forEach((e) => {
|
|
12712
|
-
|
|
12713
|
-
Pm(e);
|
|
12714
|
-
return;
|
|
12715
|
-
}
|
|
12716
|
-
Pm(e.scheme, e.optionalSlashes);
|
|
12676
|
+
typeof e == "string" ? Pm(e) : Pm(e.scheme, e.optionalSlashes);
|
|
12717
12677
|
});
|
|
12718
12678
|
},
|
|
12719
12679
|
onDestroy() {
|
|
@@ -13041,7 +13001,7 @@ function xh(e) {
|
|
|
13041
13001
|
return t < 0 ? mh[n] : mh[t] + mh[n];
|
|
13042
13002
|
}
|
|
13043
13003
|
function Sh(e) {
|
|
13044
|
-
if (
|
|
13004
|
+
if (e && !/^\d+$/.test(e)) {
|
|
13045
13005
|
if (yh(e)) return e === e.toLowerCase() ? "i" : "I";
|
|
13046
13006
|
if (/^[a-z]{1,2}$/.test(e)) return "a";
|
|
13047
13007
|
if (/^[A-Z]{1,2}$/.test(e)) return "A";
|
|
@@ -13307,19 +13267,7 @@ function Kh(e) {
|
|
|
13307
13267
|
function qh(e) {
|
|
13308
13268
|
let t = [], n = [], r = !1;
|
|
13309
13269
|
return e.forEach((e) => {
|
|
13310
|
-
|
|
13311
|
-
n.push(e);
|
|
13312
|
-
return;
|
|
13313
|
-
}
|
|
13314
|
-
if (e.trim() === "") {
|
|
13315
|
-
r = !0, n.push(e);
|
|
13316
|
-
return;
|
|
13317
|
-
}
|
|
13318
|
-
if (t.length > 0 && Gh(e)) {
|
|
13319
|
-
r = !0, n.push(e);
|
|
13320
|
-
return;
|
|
13321
|
-
}
|
|
13322
|
-
t.push(e);
|
|
13270
|
+
r ? n.push(e) : e.trim() === "" || t.length > 0 && Gh(e) ? (r = !0, n.push(e)) : t.push(e);
|
|
13323
13271
|
}), {
|
|
13324
13272
|
paragraphLines: t,
|
|
13325
13273
|
blockLines: n
|
|
@@ -13813,8 +13761,7 @@ H.create({
|
|
|
13813
13761
|
return this.options.bulletList !== !1 && e.push(ch.configure(this.options.bulletList)), this.options.listItem !== !1 && e.push(jh.configure(this.options.listItem)), this.options.listKeymap !== !1 && e.push(Bh.configure(this.options.listKeymap)), this.options.orderedList !== !1 && e.push(rg.configure(this.options.orderedList)), this.options.taskItem !== !1 && e.push(sg.configure(this.options.taskItem)), this.options.taskList !== !1 && e.push(cg.configure(this.options.taskList)), e;
|
|
13814
13762
|
}
|
|
13815
13763
|
});
|
|
13816
|
-
|
|
13817
|
-
//#region ../node_modules/.bun/prosemirror-tables@1.8.5/node_modules/prosemirror-tables/dist/index.js
|
|
13764
|
+
// ../node_modules/.bun/prosemirror-tables@1.8.5/node_modules/prosemirror-tables/dist/index.js
|
|
13818
13765
|
var lg, ug;
|
|
13819
13766
|
if (typeof WeakMap < "u") {
|
|
13820
13767
|
let e = /* @__PURE__ */ new WeakMap();
|
|
@@ -13866,7 +13813,7 @@ var J = class {
|
|
|
13866
13813
|
let t = [], n = {};
|
|
13867
13814
|
for (let r = e.top; r < e.bottom; r++) for (let i = e.left; i < e.right; i++) {
|
|
13868
13815
|
let a = r * this.width + i, o = this.map[a];
|
|
13869
|
-
n[o] || (n[o] = !0,
|
|
13816
|
+
n[o] || (n[o] = !0, i == e.left && i && this.map[a - 1] == o || r == e.top && r && this.map[a - this.width] == o || t.push(o));
|
|
13870
13817
|
}
|
|
13871
13818
|
return t;
|
|
13872
13819
|
}
|
|
@@ -13966,7 +13913,7 @@ function pg(e, t, n) {
|
|
|
13966
13913
|
let s = null, c = o.attrs;
|
|
13967
13914
|
for (let n = 0; n < c.colspan; n++) {
|
|
13968
13915
|
let r = t[(i + n) % e.width * 2];
|
|
13969
|
-
r
|
|
13916
|
+
r == null || c.colwidth && c.colwidth[n] == r || ((s ||= mg(c))[n] = r);
|
|
13970
13917
|
}
|
|
13971
13918
|
s && e.problems.unshift({
|
|
13972
13919
|
type: "colwidth mismatch",
|
|
@@ -14468,7 +14415,7 @@ function Qg(e, t) {
|
|
|
14468
14415
|
let n = e.tr, a = {}, o = l.empty, s, c;
|
|
14469
14416
|
for (let e = r.top; e < r.bottom; e++) for (let t = r.left; t < r.right; t++) {
|
|
14470
14417
|
let l = i.map[e * i.width + t], u = r.table.nodeAt(l);
|
|
14471
|
-
if (!
|
|
14418
|
+
if (!a[l] && u) {
|
|
14472
14419
|
if (a[l] = !0, s == null) s = l, c = u;
|
|
14473
14420
|
else {
|
|
14474
14421
|
Xg(u) || (o = o.append(u.content));
|
|
@@ -15161,8 +15108,7 @@ function G_({ allowTableNodeSelection: e = !1 } = {}) {
|
|
|
15161
15108
|
}
|
|
15162
15109
|
});
|
|
15163
15110
|
}
|
|
15164
|
-
|
|
15165
|
-
//#region ../node_modules/.bun/@tiptap+extension-table@3.30.5+7975016d88fecfaa/node_modules/@tiptap/extension-table/dist/index.js
|
|
15111
|
+
// ../node_modules/.bun/@tiptap+extension-table@3.30.5+7975016d88fecfaa/node_modules/@tiptap/extension-table/dist/index.js
|
|
15166
15112
|
function K_(e) {
|
|
15167
15113
|
return e === "left" || e === "right" || e === "center" ? e : null;
|
|
15168
15114
|
}
|
|
@@ -15323,7 +15269,7 @@ var ov = class {
|
|
|
15323
15269
|
}
|
|
15324
15270
|
ignoreMutation(e) {
|
|
15325
15271
|
let t = e.target, n = this.dom.contains(t), r = this.contentDOM.contains(t);
|
|
15326
|
-
return
|
|
15272
|
+
return !(!n || r || e.type !== "attributes" && e.type !== "childList" && e.type !== "characterData");
|
|
15327
15273
|
}
|
|
15328
15274
|
};
|
|
15329
15275
|
function sv(e, t, n, r) {
|
|
@@ -15684,8 +15630,7 @@ var vv = U.create({
|
|
|
15684
15630
|
};
|
|
15685
15631
|
}
|
|
15686
15632
|
});
|
|
15687
|
-
|
|
15688
|
-
//#region ../node_modules/.bun/marked@17.0.6/node_modules/marked/lib/marked.esm.js
|
|
15633
|
+
// ../node_modules/.bun/marked@17.0.6/node_modules/marked/lib/marked.esm.js
|
|
15689
15634
|
function xv() {
|
|
15690
15635
|
return {
|
|
15691
15636
|
async: !1,
|
|
@@ -16007,8 +15952,8 @@ var Hy = class {
|
|
|
16007
15952
|
if (t) {
|
|
16008
15953
|
let e = Ly(t[0], "\n").split("\n"), n = "", r = "", i = [];
|
|
16009
15954
|
for (; e.length > 0;) {
|
|
16010
|
-
let t = !1, a = [], o;
|
|
16011
|
-
for (
|
|
15955
|
+
let t = !1, a = [], o = 0;
|
|
15956
|
+
for (; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
|
|
16012
15957
|
else if (!t) a.push(e[o]);
|
|
16013
15958
|
else break;
|
|
16014
15959
|
e = e.slice(o);
|
|
@@ -16028,7 +15973,6 @@ ${c}` : c;
|
|
|
16028
15973
|
if (u?.type === "list") {
|
|
16029
15974
|
let t = u, a = t.raw + "\n" + e.join("\n"), o = this.list(a);
|
|
16030
15975
|
i[i.length - 1] = o, n = n.substring(0, n.length - u.raw.length) + o.raw, r = r.substring(0, r.length - t.raw.length) + o.raw, e = a.substring(i.at(-1).raw.length).split("\n");
|
|
16031
|
-
continue;
|
|
16032
15976
|
}
|
|
16033
15977
|
}
|
|
16034
15978
|
return {
|
|
@@ -16449,27 +16393,7 @@ ${c}` : c;
|
|
|
16449
16393
|
n?.type === "paragraph" || n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.at(-1).src = n.text) : t.push(r);
|
|
16450
16394
|
continue;
|
|
16451
16395
|
}
|
|
16452
|
-
if (r = this.tokenizer.fences(e)) {
|
|
16453
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16454
|
-
continue;
|
|
16455
|
-
}
|
|
16456
|
-
if (r = this.tokenizer.heading(e)) {
|
|
16457
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16458
|
-
continue;
|
|
16459
|
-
}
|
|
16460
|
-
if (r = this.tokenizer.hr(e)) {
|
|
16461
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16462
|
-
continue;
|
|
16463
|
-
}
|
|
16464
|
-
if (r = this.tokenizer.blockquote(e)) {
|
|
16465
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16466
|
-
continue;
|
|
16467
|
-
}
|
|
16468
|
-
if (r = this.tokenizer.list(e)) {
|
|
16469
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16470
|
-
continue;
|
|
16471
|
-
}
|
|
16472
|
-
if (r = this.tokenizer.html(e)) {
|
|
16396
|
+
if ((r = this.tokenizer.fences(e)) || (r = this.tokenizer.heading(e)) || (r = this.tokenizer.hr(e)) || (r = this.tokenizer.blockquote(e)) || (r = this.tokenizer.list(e)) || (r = this.tokenizer.html(e))) {
|
|
16473
16397
|
e = e.substring(r.raw.length), t.push(r);
|
|
16474
16398
|
continue;
|
|
16475
16399
|
}
|
|
@@ -16482,11 +16406,7 @@ ${c}` : c;
|
|
|
16482
16406
|
}, t.push(r));
|
|
16483
16407
|
continue;
|
|
16484
16408
|
}
|
|
16485
|
-
if (r = this.tokenizer.table(e)) {
|
|
16486
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16487
|
-
continue;
|
|
16488
|
-
}
|
|
16489
|
-
if (r = this.tokenizer.lheading(e)) {
|
|
16409
|
+
if ((r = this.tokenizer.table(e)) || (r = this.tokenizer.lheading(e))) {
|
|
16490
16410
|
e = e.substring(r.raw.length), t.push(r);
|
|
16491
16411
|
continue;
|
|
16492
16412
|
}
|
|
@@ -16500,15 +16420,11 @@ ${c}` : c;
|
|
|
16500
16420
|
if (this.state.top && (r = this.tokenizer.paragraph(i))) {
|
|
16501
16421
|
let a = t.at(-1);
|
|
16502
16422
|
n && a?.type === "paragraph" ? (a.raw += (a.raw.endsWith("\n") ? "" : "\n") + r.raw, a.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = a.text) : t.push(r), n = i.length !== e.length, e = e.substring(r.raw.length);
|
|
16503
|
-
|
|
16504
|
-
}
|
|
16505
|
-
if (r = this.tokenizer.text(e)) {
|
|
16423
|
+
} else if (r = this.tokenizer.text(e)) {
|
|
16506
16424
|
e = e.substring(r.raw.length);
|
|
16507
16425
|
let n = t.at(-1);
|
|
16508
16426
|
n?.type === "text" ? (n.raw += (n.raw.endsWith("\n") ? "" : "\n") + r.raw, n.text += "\n" + r.text, this.inlineQueue.pop(), this.inlineQueue.at(-1).src = n.text) : t.push(r);
|
|
16509
|
-
|
|
16510
|
-
}
|
|
16511
|
-
if (e) {
|
|
16427
|
+
} else if (e) {
|
|
16512
16428
|
let t = "Infinite loop on byte: " + e.charCodeAt(0);
|
|
16513
16429
|
if (this.options.silent) {
|
|
16514
16430
|
console.error(t);
|
|
@@ -16541,15 +16457,7 @@ ${c}` : c;
|
|
|
16541
16457
|
a || (o = ""), a = !1;
|
|
16542
16458
|
let r;
|
|
16543
16459
|
if (this.options.extensions?.inline?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
|
|
16544
|
-
if (r = this.tokenizer.escape(e)) {
|
|
16545
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16546
|
-
continue;
|
|
16547
|
-
}
|
|
16548
|
-
if (r = this.tokenizer.tag(e)) {
|
|
16549
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16550
|
-
continue;
|
|
16551
|
-
}
|
|
16552
|
-
if (r = this.tokenizer.link(e)) {
|
|
16460
|
+
if ((r = this.tokenizer.escape(e)) || (r = this.tokenizer.tag(e)) || (r = this.tokenizer.link(e))) {
|
|
16553
16461
|
e = e.substring(r.raw.length), t.push(r);
|
|
16554
16462
|
continue;
|
|
16555
16463
|
}
|
|
@@ -16559,27 +16467,7 @@ ${c}` : c;
|
|
|
16559
16467
|
r.type === "text" && n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
|
|
16560
16468
|
continue;
|
|
16561
16469
|
}
|
|
16562
|
-
if (r = this.tokenizer.emStrong(e, n, o)) {
|
|
16563
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16564
|
-
continue;
|
|
16565
|
-
}
|
|
16566
|
-
if (r = this.tokenizer.codespan(e)) {
|
|
16567
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16568
|
-
continue;
|
|
16569
|
-
}
|
|
16570
|
-
if (r = this.tokenizer.br(e)) {
|
|
16571
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16572
|
-
continue;
|
|
16573
|
-
}
|
|
16574
|
-
if (r = this.tokenizer.del(e, n, o)) {
|
|
16575
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16576
|
-
continue;
|
|
16577
|
-
}
|
|
16578
|
-
if (r = this.tokenizer.autolink(e)) {
|
|
16579
|
-
e = e.substring(r.raw.length), t.push(r);
|
|
16580
|
-
continue;
|
|
16581
|
-
}
|
|
16582
|
-
if (!this.state.inLink && (r = this.tokenizer.url(e))) {
|
|
16470
|
+
if ((r = this.tokenizer.emStrong(e, n, o)) || (r = this.tokenizer.codespan(e)) || (r = this.tokenizer.br(e)) || (r = this.tokenizer.del(e, n, o)) || (r = this.tokenizer.autolink(e)) || !this.state.inLink && (r = this.tokenizer.url(e))) {
|
|
16583
16471
|
e = e.substring(r.raw.length), t.push(r);
|
|
16584
16472
|
continue;
|
|
16585
16473
|
}
|
|
@@ -16594,9 +16482,7 @@ ${c}` : c;
|
|
|
16594
16482
|
e = e.substring(r.raw.length), r.raw.slice(-1) !== "_" && (o = r.raw.slice(-1)), a = !0;
|
|
16595
16483
|
let n = t.at(-1);
|
|
16596
16484
|
n?.type === "text" ? (n.raw += r.raw, n.text += r.text) : t.push(r);
|
|
16597
|
-
|
|
16598
|
-
}
|
|
16599
|
-
if (e) {
|
|
16485
|
+
} else if (e) {
|
|
16600
16486
|
let t = "Infinite loop on byte: " + e.charCodeAt(0);
|
|
16601
16487
|
if (this.options.silent) {
|
|
16602
16488
|
console.error(t);
|
|
@@ -17117,8 +17003,7 @@ Z.options = Z.setOptions = function(e) {
|
|
|
17117
17003
|
}, Z.walkTokens = function(e, t) {
|
|
17118
17004
|
return Jy.walkTokens(e, t);
|
|
17119
17005
|
}, Z.parseInline = Jy.parseInline, Z.Parser = Ky, Z.parser = Ky.parse, Z.Renderer = Wy, Z.TextRenderer = Gy, Z.Lexer = Uy, Z.lexer = Uy.lex, Z.Tokenizer = Hy, Z.Hooks = qy, Z.parse = Z, Z.options, Z.setOptions, Z.use, Z.walkTokens, Z.parseInline, Ky.parse, Uy.lex;
|
|
17120
|
-
|
|
17121
|
-
//#region ../node_modules/.bun/@tiptap+markdown@3.30.5+7975016d88fecfaa/node_modules/@tiptap/markdown/dist/index.js
|
|
17006
|
+
// ../node_modules/.bun/@tiptap+markdown@3.30.5+7975016d88fecfaa/node_modules/@tiptap/markdown/dist/index.js
|
|
17122
17007
|
var Yy = /\n[^\S\n]*(?:\n[^\S\n]*)+$/;
|
|
17123
17008
|
function Xy(e) {
|
|
17124
17009
|
return e.flatMap((t, n) => {
|
|
@@ -17140,18 +17025,14 @@ function Zy(e, t) {
|
|
|
17140
17025
|
function Qy(e, t) {
|
|
17141
17026
|
let n = [];
|
|
17142
17027
|
return Array.from(e.entries()).forEach(([e, r]) => {
|
|
17143
|
-
|
|
17144
|
-
n.push(e);
|
|
17145
|
-
return;
|
|
17146
|
-
}
|
|
17147
|
-
(t.marks || []).find((t) => t.type === e && xd(t.attrs, r.attrs)) || n.push(e);
|
|
17028
|
+
t && (t.marks || []).find((t) => t.type === e && xd(t.attrs, r.attrs)) || n.push(e);
|
|
17148
17029
|
}), n;
|
|
17149
17030
|
}
|
|
17150
17031
|
function $y(e, t) {
|
|
17151
17032
|
let n = [];
|
|
17152
17033
|
return Array.from(t.entries()).forEach(([t, r]) => {
|
|
17153
17034
|
let i = e.get(t);
|
|
17154
|
-
|
|
17035
|
+
i && xd(i.attrs, r.attrs) || n.push({
|
|
17155
17036
|
type: t,
|
|
17156
17037
|
mark: r
|
|
17157
17038
|
});
|
|
@@ -17438,7 +17319,7 @@ var ub = class {
|
|
|
17438
17319
|
attrs: t || void 0,
|
|
17439
17320
|
content: n || void 0
|
|
17440
17321
|
};
|
|
17441
|
-
return
|
|
17322
|
+
return t && Object.keys(t).length !== 0 || delete r.attrs, r;
|
|
17442
17323
|
},
|
|
17443
17324
|
applyMark: (e, t, n) => ({
|
|
17444
17325
|
mark: e,
|
|
@@ -18457,8 +18338,7 @@ var vb = (e, t) => _b(e, t), yb = (e, t) => {
|
|
|
18457
18338
|
};
|
|
18458
18339
|
}
|
|
18459
18340
|
});
|
|
18460
|
-
|
|
18461
|
-
//#region ../node_modules/.bun/prosemirror-dropcursor@1.8.2/node_modules/prosemirror-dropcursor/dist/index.js
|
|
18341
|
+
// ../node_modules/.bun/prosemirror-dropcursor@1.8.2/node_modules/prosemirror-dropcursor/dist/index.js
|
|
18462
18342
|
function qb(e = {}) {
|
|
18463
18343
|
return new F({ view(t) {
|
|
18464
18344
|
return new Jb(t, e);
|
|
@@ -18643,9 +18523,7 @@ function Qb(e) {
|
|
|
18643
18523
|
let n = e.index(t), r = e.node(t);
|
|
18644
18524
|
if (n == 0) {
|
|
18645
18525
|
if (r.type.spec.isolating) return !0;
|
|
18646
|
-
|
|
18647
|
-
}
|
|
18648
|
-
for (let e = r.child(n - 1);; e = e.lastChild) {
|
|
18526
|
+
} else for (let e = r.child(n - 1);; e = e.lastChild) {
|
|
18649
18527
|
if (e.childCount == 0 && !e.inlineContent || Zb(e.type)) return !0;
|
|
18650
18528
|
if (e.inlineContent) return !1;
|
|
18651
18529
|
}
|
|
@@ -18657,9 +18535,7 @@ function $b(e) {
|
|
|
18657
18535
|
let n = e.indexAfter(t), r = e.node(t);
|
|
18658
18536
|
if (n == r.childCount) {
|
|
18659
18537
|
if (r.type.spec.isolating) return !0;
|
|
18660
|
-
|
|
18661
|
-
}
|
|
18662
|
-
for (let e = r.child(n);; e = e.firstChild) {
|
|
18538
|
+
} else for (let e = r.child(n);; e = e.firstChild) {
|
|
18663
18539
|
if (e.childCount == 0 && !e.inlineContent || Zb(e.type)) return !0;
|
|
18664
18540
|
if (e.inlineContent) return !1;
|
|
18665
18541
|
}
|
|
@@ -18719,8 +18595,7 @@ function ax(e) {
|
|
|
18719
18595
|
let t = document.createElement("div");
|
|
18720
18596
|
return t.className = "ProseMirror-gapcursor", L.create(e.doc, [is.widget(e.selection.head, t, { key: "gapcursor" })]);
|
|
18721
18597
|
}
|
|
18722
|
-
|
|
18723
|
-
//#region ../node_modules/.bun/rope-sequence@1.3.4/node_modules/rope-sequence/dist/index.js
|
|
18598
|
+
// ../node_modules/.bun/rope-sequence@1.3.4/node_modules/rope-sequence/dist/index.js
|
|
18724
18599
|
var ox = 200, Q = function() {};
|
|
18725
18600
|
Q.prototype.append = function(e) {
|
|
18726
18601
|
return e.length ? (e = Q.from(e), !this.length && e || e.length < ox && this.leafAppend(e) || this.length < ox && e.leafPrepend(this) || this.appendInner(e)) : this;
|
|
@@ -18815,16 +18690,15 @@ var cx = /* @__PURE__ */ function(e) {
|
|
|
18815
18690
|
n && (i = this.remapping(r, this.items.length), a = i.maps.length);
|
|
18816
18691
|
let o = t.tr, s, c, l = [], u = [];
|
|
18817
18692
|
return this.items.forEach((t, n) => {
|
|
18818
|
-
if (!t.step)
|
|
18819
|
-
|
|
18820
|
-
|
|
18693
|
+
if (!t.step) i || (i = this.remapping(r, n + 1), a = i.maps.length), a--, u.push(t);
|
|
18694
|
+
else {
|
|
18695
|
+
if (i) {
|
|
18696
|
+
u.push(new fx(t.map));
|
|
18697
|
+
let e = t.step.map(i.slice(a)), n;
|
|
18698
|
+
e && o.maybeStep(e).doc && (n = o.mapping.maps[o.mapping.maps.length - 1], l.push(new fx(n, void 0, void 0, l.length + u.length))), a--, n && i.appendMap(n, a);
|
|
18699
|
+
} else o.maybeStep(t.step);
|
|
18700
|
+
if (t.selection) return s = i ? t.selection.map(i.slice(a)) : t.selection, c = new e(this.items.slice(0, r).append(u.reverse().concat(l)), this.eventCount - 1), !1;
|
|
18821
18701
|
}
|
|
18822
|
-
if (i) {
|
|
18823
|
-
u.push(new fx(t.map));
|
|
18824
|
-
let e = t.step.map(i.slice(a)), n;
|
|
18825
|
-
e && o.maybeStep(e).doc && (n = o.mapping.maps[o.mapping.maps.length - 1], l.push(new fx(n, void 0, void 0, l.length + u.length))), a--, n && i.appendMap(n, a);
|
|
18826
|
-
} else o.maybeStep(t.step);
|
|
18827
|
-
if (t.selection) return s = i ? t.selection.map(i.slice(a)) : t.selection, c = new e(this.items.slice(0, r).append(u.reverse().concat(l)), this.eventCount - 1), !1;
|
|
18828
18702
|
}, this.items.length, 0), {
|
|
18829
18703
|
remaining: c,
|
|
18830
18704
|
transform: o,
|
|
@@ -19165,7 +19039,7 @@ function Fx({ editor: e, options: t, dataAttribute: n, doc: r, selection: i, fro
|
|
|
19165
19039
|
}), c;
|
|
19166
19040
|
}
|
|
19167
19041
|
function Ix({ editor: e, options: t, dataAttribute: n, doc: r, selection: i }) {
|
|
19168
|
-
if (!
|
|
19042
|
+
if (!e.isEditable && t.showOnlyWhenEditable) return null;
|
|
19169
19043
|
let { anchor: a } = i, o = [], s = e.isEmpty;
|
|
19170
19044
|
if (t.showOnlyCurrent && !t.includeChildren) {
|
|
19171
19045
|
let i = r.resolve(a), c = i.depth > 0 ? i.node(1) : i.nodeAfter, l = i.depth > 0 ? i.before(1) : a;
|
|
@@ -19459,8 +19333,7 @@ var $x = H.create({
|
|
|
19459
19333
|
return this.options.bold !== !1 && e.push(Eb.configure(this.options.bold)), this.options.blockquote !== !1 && e.push(xb.configure(this.options.blockquote)), this.options.bulletList !== !1 && e.push(ch.configure(this.options.bulletList)), this.options.code !== !1 && e.push(kb.configure(this.options.code)), this.options.codeBlock !== !1 && e.push(Sf.configure(this.options.codeBlock)), this.options.document !== !1 && e.push(Ab.configure(this.options.document)), this.options.dropcursor !== !1 && e.push(kx.configure(this.options.dropcursor)), this.options.gapcursor !== !1 && e.push(Ax.configure(this.options.gapcursor)), this.options.hardBreak !== !1 && e.push(jb.configure(this.options.hardBreak)), this.options.heading !== !1 && e.push(Mb.configure(this.options.heading)), this.options.undoRedo !== !1 && e.push(eS.configure(this.options.undoRedo)), this.options.horizontalRule !== !1 && e.push(Nb.configure(this.options.horizontalRule)), this.options.italic !== !1 && e.push(Rb.configure(this.options.italic)), this.options.listItem !== !1 && e.push(jh.configure(this.options.listItem)), this.options.listKeymap !== !1 && e.push(Bh.configure(this.options?.listKeymap)), this.options.link !== !1 && e.push(rh.configure(this.options?.link)), this.options.orderedList !== !1 && e.push(rg.configure(this.options.orderedList)), this.options.paragraph !== !1 && e.push(Vb.configure(this.options.paragraph)), this.options.strike !== !1 && e.push(Wb.configure(this.options.strike)), this.options.text !== !1 && e.push(Gb.configure(this.options.text)), this.options.underline !== !1 && e.push(Kb.configure(this.options?.underline)), this.options.trailingNode !== !1 && e.push($x.configure(this.options?.trailingNode)), e;
|
|
19460
19334
|
}
|
|
19461
19335
|
});
|
|
19462
|
-
|
|
19463
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/arduino.js
|
|
19336
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/arduino.js
|
|
19464
19337
|
function nS(e) {
|
|
19465
19338
|
let t = e.regex, n = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "[a-zA-Z_]\\w*::", i = "(?!struct)(decltype\\(auto\\)|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
|
|
19466
19339
|
className: "type",
|
|
@@ -19717,8 +19590,7 @@ function rS(e) {
|
|
|
19717
19590
|
}, n = nS(e), r = n.keywords;
|
|
19718
19591
|
return r.type = [...r.type, ...t.type], r.literal = [...r.literal, ...t.literal], r.built_in = [...r.built_in, ...t.built_in], r._hints = t._hints, n.name = "Arduino", n.aliases = ["ino"], n.supersetOf = "cpp", n;
|
|
19719
19592
|
}
|
|
19720
|
-
|
|
19721
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/bash.js
|
|
19593
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/bash.js
|
|
19722
19594
|
function iS(e) {
|
|
19723
19595
|
let t = e.regex, n = {}, r = {
|
|
19724
19596
|
begin: /\$\{/,
|
|
@@ -19774,17 +19646,7 @@ function iS(e) {
|
|
|
19774
19646
|
n
|
|
19775
19647
|
]
|
|
19776
19648
|
}, f = e.SHEBANG({
|
|
19777
|
-
binary:
|
|
19778
|
-
"fish",
|
|
19779
|
-
"bash",
|
|
19780
|
-
"zsh",
|
|
19781
|
-
"sh",
|
|
19782
|
-
"csh",
|
|
19783
|
-
"ksh",
|
|
19784
|
-
"tcsh",
|
|
19785
|
-
"dash",
|
|
19786
|
-
"scsh"
|
|
19787
|
-
].join("|")})`,
|
|
19649
|
+
binary: "(fish|bash|zsh|sh|csh|ksh|tcsh|dash|scsh)",
|
|
19788
19650
|
relevance: 10
|
|
19789
19651
|
}), p = {
|
|
19790
19652
|
className: "function",
|
|
@@ -19885,8 +19747,7 @@ function iS(e) {
|
|
|
19885
19747
|
]
|
|
19886
19748
|
};
|
|
19887
19749
|
}
|
|
19888
|
-
|
|
19889
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/c.js
|
|
19750
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/c.js
|
|
19890
19751
|
function aS(e) {
|
|
19891
19752
|
let t = e.regex, n = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "[a-zA-Z_]\\w*::", i = "(decltype\\(auto\\)|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
|
|
19892
19753
|
className: "type",
|
|
@@ -20060,8 +19921,7 @@ function aS(e) {
|
|
|
20060
19921
|
}
|
|
20061
19922
|
};
|
|
20062
19923
|
}
|
|
20063
|
-
|
|
20064
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/cpp.js
|
|
19924
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/cpp.js
|
|
20065
19925
|
function oS(e) {
|
|
20066
19926
|
let t = e.regex, n = e.COMMENT("//", "$", { contains: [{ begin: /\\\n/ }] }), r = "[a-zA-Z_]\\w*::", i = "(?!struct)(decltype\\(auto\\)|" + t.optional(r) + "[a-zA-Z_]\\w*" + t.optional("<[^<>]+>") + ")", a = {
|
|
20067
19927
|
className: "type",
|
|
@@ -20284,8 +20144,7 @@ function oS(e) {
|
|
|
20284
20144
|
])
|
|
20285
20145
|
};
|
|
20286
20146
|
}
|
|
20287
|
-
|
|
20288
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/csharp.js
|
|
20147
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/csharp.js
|
|
20289
20148
|
function sS(e) {
|
|
20290
20149
|
let t = [
|
|
20291
20150
|
"bool",
|
|
@@ -20543,8 +20402,7 @@ function sS(e) {
|
|
|
20543
20402
|
]
|
|
20544
20403
|
};
|
|
20545
20404
|
}
|
|
20546
|
-
|
|
20547
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/css.js
|
|
20405
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/css.js
|
|
20548
20406
|
var cS = (e) => ({
|
|
20549
20407
|
IMPORTANT: {
|
|
20550
20408
|
scope: "meta",
|
|
@@ -20682,8 +20540,7 @@ function gS(e) {
|
|
|
20682
20540
|
]
|
|
20683
20541
|
};
|
|
20684
20542
|
}
|
|
20685
|
-
|
|
20686
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/diff.js
|
|
20543
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/diff.js
|
|
20687
20544
|
function _S(e) {
|
|
20688
20545
|
let t = e.regex;
|
|
20689
20546
|
return {
|
|
@@ -20720,8 +20577,7 @@ function _S(e) {
|
|
|
20720
20577
|
]
|
|
20721
20578
|
};
|
|
20722
20579
|
}
|
|
20723
|
-
|
|
20724
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/go.js
|
|
20580
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/go.js
|
|
20725
20581
|
function vS(e) {
|
|
20726
20582
|
let t = {
|
|
20727
20583
|
keyword: [
|
|
@@ -20859,8 +20715,7 @@ function vS(e) {
|
|
|
20859
20715
|
]
|
|
20860
20716
|
};
|
|
20861
20717
|
}
|
|
20862
|
-
|
|
20863
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/graphql.js
|
|
20718
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/graphql.js
|
|
20864
20719
|
function yS(e) {
|
|
20865
20720
|
let t = e.regex;
|
|
20866
20721
|
return {
|
|
@@ -20925,8 +20780,7 @@ function yS(e) {
|
|
|
20925
20780
|
illegal: [/[;<']/, /BEGIN/]
|
|
20926
20781
|
};
|
|
20927
20782
|
}
|
|
20928
|
-
|
|
20929
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/ini.js
|
|
20783
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/ini.js
|
|
20930
20784
|
function bS(e) {
|
|
20931
20785
|
let t = e.regex, n = {
|
|
20932
20786
|
className: "number",
|
|
@@ -21012,8 +20866,7 @@ function bS(e) {
|
|
|
21012
20866
|
]
|
|
21013
20867
|
};
|
|
21014
20868
|
}
|
|
21015
|
-
|
|
21016
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/java.js
|
|
20869
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/java.js
|
|
21017
20870
|
var xS = "[0-9](_*[0-9])*", SS = `\\.(${xS})`, CS = "[0-9a-fA-F](_*[0-9a-fA-F])*", wS = {
|
|
21018
20871
|
className: "number",
|
|
21019
20872
|
variants: [
|
|
@@ -21180,8 +21033,7 @@ function ES(e) {
|
|
|
21180
21033
|
]
|
|
21181
21034
|
};
|
|
21182
21035
|
}
|
|
21183
|
-
|
|
21184
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/javascript.js
|
|
21036
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/javascript.js
|
|
21185
21037
|
var DS = "[A-Za-z$_][0-9A-Za-z$_]*", OS = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), kS = [
|
|
21186
21038
|
"true",
|
|
21187
21039
|
"false",
|
|
@@ -21246,14 +21098,7 @@ function FS(e) {
|
|
|
21246
21098
|
}
|
|
21247
21099
|
i === ">" && (n(e, { after: r }) || t.ignoreMatch());
|
|
21248
21100
|
let a, o = e.input.substring(r);
|
|
21249
|
-
|
|
21250
|
-
t.ignoreMatch();
|
|
21251
|
-
return;
|
|
21252
|
-
}
|
|
21253
|
-
if ((a = o.match(/^\s+extends\s+/)) && a.index === 0) {
|
|
21254
|
-
t.ignoreMatch();
|
|
21255
|
-
return;
|
|
21256
|
-
}
|
|
21101
|
+
((a = o.match(/^\s*=/)) || (a = o.match(/^\s+extends\s+/)) && a.index === 0) && t.ignoreMatch();
|
|
21257
21102
|
}
|
|
21258
21103
|
}, s = {
|
|
21259
21104
|
$pattern: DS,
|
|
@@ -21615,8 +21460,7 @@ function FS(e) {
|
|
|
21615
21460
|
]
|
|
21616
21461
|
};
|
|
21617
21462
|
}
|
|
21618
|
-
|
|
21619
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/json.js
|
|
21463
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/json.js
|
|
21620
21464
|
function IS(e) {
|
|
21621
21465
|
let t = {
|
|
21622
21466
|
className: "attr",
|
|
@@ -21650,8 +21494,7 @@ function IS(e) {
|
|
|
21650
21494
|
illegal: "\\S"
|
|
21651
21495
|
};
|
|
21652
21496
|
}
|
|
21653
|
-
|
|
21654
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/kotlin.js
|
|
21497
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/kotlin.js
|
|
21655
21498
|
var LS = "[0-9](_*[0-9])*", RS = `\\.(${LS})`, zS = "[0-9a-fA-F](_*[0-9a-fA-F])*", BS = {
|
|
21656
21499
|
className: "number",
|
|
21657
21500
|
variants: [
|
|
@@ -21850,8 +21693,7 @@ function VS(e) {
|
|
|
21850
21693
|
]
|
|
21851
21694
|
};
|
|
21852
21695
|
}
|
|
21853
|
-
|
|
21854
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/less.js
|
|
21696
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/less.js
|
|
21855
21697
|
var HS = (e) => ({
|
|
21856
21698
|
IMPORTANT: {
|
|
21857
21699
|
scope: "meta",
|
|
@@ -22041,8 +21883,7 @@ function ZS(e) {
|
|
|
22041
21883
|
contains: i
|
|
22042
21884
|
};
|
|
22043
21885
|
}
|
|
22044
|
-
|
|
22045
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/lua.js
|
|
21886
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/lua.js
|
|
22046
21887
|
function QS(e) {
|
|
22047
21888
|
let t = "\\[=*\\[", n = "\\]=*\\]", r = {
|
|
22048
21889
|
begin: t,
|
|
@@ -22086,8 +21927,7 @@ function QS(e) {
|
|
|
22086
21927
|
])
|
|
22087
21928
|
};
|
|
22088
21929
|
}
|
|
22089
|
-
|
|
22090
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/makefile.js
|
|
21930
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/makefile.js
|
|
22091
21931
|
function $S(e) {
|
|
22092
21932
|
let t = {
|
|
22093
21933
|
className: "variable",
|
|
@@ -22142,8 +21982,7 @@ function $S(e) {
|
|
|
22142
21982
|
]
|
|
22143
21983
|
};
|
|
22144
21984
|
}
|
|
22145
|
-
|
|
22146
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/markdown.js
|
|
21985
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/markdown.js
|
|
22147
21986
|
function eC(e) {
|
|
22148
21987
|
let t = e.regex, n = {
|
|
22149
21988
|
begin: /<\/?[A-Za-z_]/,
|
|
@@ -22322,8 +22161,7 @@ function eC(e) {
|
|
|
22322
22161
|
]
|
|
22323
22162
|
};
|
|
22324
22163
|
}
|
|
22325
|
-
|
|
22326
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/objectivec.js
|
|
22164
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/objectivec.js
|
|
22327
22165
|
function tC(e) {
|
|
22328
22166
|
let t = {
|
|
22329
22167
|
className: "built_in",
|
|
@@ -22438,8 +22276,7 @@ function tC(e) {
|
|
|
22438
22276
|
]
|
|
22439
22277
|
};
|
|
22440
22278
|
}
|
|
22441
|
-
|
|
22442
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/perl.js
|
|
22279
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/perl.js
|
|
22443
22280
|
function nC(e) {
|
|
22444
22281
|
let t = e.regex, n = /* @__PURE__ */ "abs.accept.alarm.and.atan2.bind.binmode.bless.break.caller.chdir.chmod.chomp.chop.chown.chr.chroot.class.close.closedir.connect.continue.cos.crypt.dbmclose.dbmopen.defined.delete.die.do.dump.each.else.elsif.endgrent.endhostent.endnetent.endprotoent.endpwent.endservent.eof.eval.exec.exists.exit.exp.fcntl.field.fileno.flock.for.foreach.fork.format.formline.getc.getgrent.getgrgid.getgrnam.gethostbyaddr.gethostbyname.gethostent.getlogin.getnetbyaddr.getnetbyname.getnetent.getpeername.getpgrp.getpriority.getprotobyname.getprotobynumber.getprotoent.getpwent.getpwnam.getpwuid.getservbyname.getservbyport.getservent.getsockname.getsockopt.given.glob.gmtime.goto.grep.gt.hex.if.index.int.ioctl.join.keys.kill.last.lc.lcfirst.length.link.listen.local.localtime.log.lstat.lt.ma.map.method.mkdir.msgctl.msgget.msgrcv.msgsnd.my.ne.next.no.not.oct.open.opendir.or.ord.our.pack.package.pipe.pop.pos.print.printf.prototype.push.q|0.qq.quotemeta.qw.qx.rand.read.readdir.readline.readlink.readpipe.recv.redo.ref.rename.require.reset.return.reverse.rewinddir.rindex.rmdir.say.scalar.seek.seekdir.select.semctl.semget.semop.send.setgrent.sethostent.setnetent.setpgrp.setpriority.setprotoent.setpwent.setservent.setsockopt.shift.shmctl.shmget.shmread.shmwrite.shutdown.sin.sleep.socket.socketpair.sort.splice.split.sprintf.sqrt.srand.stat.state.study.sub.substr.symlink.syscall.sysopen.sysread.sysseek.system.syswrite.tell.telldir.tie.tied.time.times.tr.truncate.uc.ucfirst.umask.undef.unless.unlink.unpack.unshift.untie.until.use.utime.values.vec.wait.waitpid.wantarray.warn.when.while.write.x|0.xor.y|0".split("."), r = /[dualxmsipngr]{0,12}/, i = {
|
|
22445
22282
|
$pattern: /[\w.]+/,
|
|
@@ -22629,8 +22466,7 @@ function nC(e) {
|
|
|
22629
22466
|
contains: m
|
|
22630
22467
|
};
|
|
22631
22468
|
}
|
|
22632
|
-
|
|
22633
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/php.js
|
|
22469
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/php.js
|
|
22634
22470
|
function rC(e) {
|
|
22635
22471
|
let t = e.regex, n = /(?![A-Za-z0-9])(?![$])/, r = t.concat(/[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*/, n), i = t.concat(/(\\?[A-Z][a-z0-9_\x7f-\xff]+|\\?[A-Z]+(?=[A-Z][a-z0-9_\x7f-\xff])){1,}/, n), a = t.concat(/[A-Z]+/, n), o = {
|
|
22636
22472
|
scope: "variable",
|
|
@@ -22922,8 +22758,7 @@ function rC(e) {
|
|
|
22922
22758
|
]
|
|
22923
22759
|
};
|
|
22924
22760
|
}
|
|
22925
|
-
|
|
22926
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/php-template.js
|
|
22761
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/php-template.js
|
|
22927
22762
|
function iC(e) {
|
|
22928
22763
|
return {
|
|
22929
22764
|
name: "PHP template",
|
|
@@ -22964,8 +22799,7 @@ function iC(e) {
|
|
|
22964
22799
|
}]
|
|
22965
22800
|
};
|
|
22966
22801
|
}
|
|
22967
|
-
|
|
22968
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/plaintext.js
|
|
22802
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/plaintext.js
|
|
22969
22803
|
function aC(e) {
|
|
22970
22804
|
return {
|
|
22971
22805
|
name: "Plain text",
|
|
@@ -22973,8 +22807,7 @@ function aC(e) {
|
|
|
22973
22807
|
disableAutodetect: !0
|
|
22974
22808
|
};
|
|
22975
22809
|
}
|
|
22976
|
-
|
|
22977
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/python.js
|
|
22810
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/python.js
|
|
22978
22811
|
function oC(e) {
|
|
22979
22812
|
let t = e.regex, n = /[\p{XID_Start}_]\p{XID_Continue}*/u, r = /* @__PURE__ */ "and.as.assert.async.await.break.case.class.continue.def.del.elif.else.except.finally.for.from.global.if.import.in.is.lambda.match.nonlocal|10.not.or.pass.raise.return.try.while.with.yield".split("."), i = {
|
|
22980
22813
|
$pattern: /[A-Za-z]\w+|__\w+__/,
|
|
@@ -23210,8 +23043,7 @@ function oC(e) {
|
|
|
23210
23043
|
]
|
|
23211
23044
|
};
|
|
23212
23045
|
}
|
|
23213
|
-
|
|
23214
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/python-repl.js
|
|
23046
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/python-repl.js
|
|
23215
23047
|
function sC(e) {
|
|
23216
23048
|
return {
|
|
23217
23049
|
aliases: ["pycon"],
|
|
@@ -23228,8 +23060,7 @@ function sC(e) {
|
|
|
23228
23060
|
}]
|
|
23229
23061
|
};
|
|
23230
23062
|
}
|
|
23231
|
-
|
|
23232
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/r.js
|
|
23063
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/r.js
|
|
23233
23064
|
function cC(e) {
|
|
23234
23065
|
let t = e.regex, n = /(?:(?:[a-zA-Z]|\.[._a-zA-Z])[._a-zA-Z0-9]*)|\.(?!\d)/, r = t.either(/0[xX][0-9a-fA-F]+\.[0-9a-fA-F]*[pP][+-]?\d+i?/, /0[xX][0-9a-fA-F]+(?:[pP][+-]?\d+)?[Li]?/, /(?:\d+(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+)?[Li]?/), i = /[=!<>:]=|\|\||&&|:::?|<-|<<-|->>|->|\|>|[-+*\/?!$&|:<=>@^~]|\*\*/, a = t.either(/[()]/, /[{}]/, /\[\[/, /[[\]]/, /\\/, /,/);
|
|
23235
23066
|
return {
|
|
@@ -23367,8 +23198,7 @@ function cC(e) {
|
|
|
23367
23198
|
]
|
|
23368
23199
|
};
|
|
23369
23200
|
}
|
|
23370
|
-
|
|
23371
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/ruby.js
|
|
23201
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/ruby.js
|
|
23372
23202
|
function lC(e) {
|
|
23373
23203
|
let t = e.regex, n = "([a-zA-Z_]\\w*[!?=]?|[-+~]@|<<|>>|=~|===?|<=>|[<>]=?|\\*\\*|[-/+%^&*~`|]|\\[\\]=?)", r = t.either(/\b([A-Z]+[a-z0-9]+)+/, /\b([A-Z]+[a-z0-9]+)+[A-Z]+/), i = t.concat(r, /(::\w+)*/), a = {
|
|
23374
23204
|
"variable.constant": [
|
|
@@ -23628,8 +23458,7 @@ function lC(e) {
|
|
|
23628
23458
|
contains: [e.SHEBANG({ binary: "ruby" })].concat(h, c, m)
|
|
23629
23459
|
};
|
|
23630
23460
|
}
|
|
23631
|
-
|
|
23632
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/rust.js
|
|
23461
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/rust.js
|
|
23633
23462
|
function uC(e) {
|
|
23634
23463
|
let t = e.regex, n = /(r#)?/, r = t.concat(n, e.UNDERSCORE_IDENT_RE), i = t.concat(n, e.IDENT_RE), a = {
|
|
23635
23464
|
className: "title.function.invoke",
|
|
@@ -23796,8 +23625,7 @@ function uC(e) {
|
|
|
23796
23625
|
]
|
|
23797
23626
|
};
|
|
23798
23627
|
}
|
|
23799
|
-
|
|
23800
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/scss.js
|
|
23628
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/scss.js
|
|
23801
23629
|
var dC = (e) => ({
|
|
23802
23630
|
IMPORTANT: {
|
|
23803
23631
|
scope: "meta",
|
|
@@ -23945,8 +23773,7 @@ function yC(e) {
|
|
|
23945
23773
|
]
|
|
23946
23774
|
};
|
|
23947
23775
|
}
|
|
23948
|
-
|
|
23949
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/shell.js
|
|
23776
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/shell.js
|
|
23950
23777
|
function bC(e) {
|
|
23951
23778
|
return {
|
|
23952
23779
|
name: "Shell Session",
|
|
@@ -23961,8 +23788,7 @@ function bC(e) {
|
|
|
23961
23788
|
}]
|
|
23962
23789
|
};
|
|
23963
23790
|
}
|
|
23964
|
-
|
|
23965
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/sql.js
|
|
23791
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/sql.js
|
|
23966
23792
|
function xC(e) {
|
|
23967
23793
|
let t = e.regex, n = e.COMMENT("--", "$"), r = {
|
|
23968
23794
|
scope: "string",
|
|
@@ -24078,8 +23904,7 @@ function xC(e) {
|
|
|
24078
23904
|
]
|
|
24079
23905
|
};
|
|
24080
23906
|
}
|
|
24081
|
-
|
|
24082
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/swift.js
|
|
23907
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/swift.js
|
|
24083
23908
|
function SC(e) {
|
|
24084
23909
|
return e ? typeof e == "string" ? e : e.source : null;
|
|
24085
23910
|
}
|
|
@@ -24651,8 +24476,7 @@ function WC(e) {
|
|
|
24651
24476
|
]
|
|
24652
24477
|
};
|
|
24653
24478
|
}
|
|
24654
|
-
|
|
24655
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/typescript.js
|
|
24479
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/typescript.js
|
|
24656
24480
|
var GC = "[A-Za-z$_][0-9A-Za-z$_]*", KC = /* @__PURE__ */ "as.in.of.if.for.while.finally.var.new.function.do.return.void.else.break.catch.instanceof.with.throw.case.default.try.switch.continue.typeof.delete.let.yield.const.class.debugger.async.await.static.import.from.export.extends.using".split("."), qC = [
|
|
24657
24481
|
"true",
|
|
24658
24482
|
"false",
|
|
@@ -24717,14 +24541,7 @@ function $C(e) {
|
|
|
24717
24541
|
}
|
|
24718
24542
|
i === ">" && (n(e, { after: r }) || t.ignoreMatch());
|
|
24719
24543
|
let a, o = e.input.substring(r);
|
|
24720
|
-
|
|
24721
|
-
t.ignoreMatch();
|
|
24722
|
-
return;
|
|
24723
|
-
}
|
|
24724
|
-
if ((a = o.match(/^\s+extends\s+/)) && a.index === 0) {
|
|
24725
|
-
t.ignoreMatch();
|
|
24726
|
-
return;
|
|
24727
|
-
}
|
|
24544
|
+
((a = o.match(/^\s*=/)) || (a = o.match(/^\s+extends\s+/)) && a.index === 0) && t.ignoreMatch();
|
|
24728
24545
|
}
|
|
24729
24546
|
}, s = {
|
|
24730
24547
|
$pattern: GC,
|
|
@@ -25171,8 +24988,7 @@ function ew(e) {
|
|
|
25171
24988
|
]
|
|
25172
24989
|
}), n;
|
|
25173
24990
|
}
|
|
25174
|
-
|
|
25175
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/vbnet.js
|
|
24991
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/vbnet.js
|
|
25176
24992
|
function tw(e) {
|
|
25177
24993
|
let t = e.regex, n = {
|
|
25178
24994
|
className: "string",
|
|
@@ -25239,8 +25055,7 @@ function tw(e) {
|
|
|
25239
25055
|
]
|
|
25240
25056
|
};
|
|
25241
25057
|
}
|
|
25242
|
-
|
|
25243
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/wasm.js
|
|
25058
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/wasm.js
|
|
25244
25059
|
function nw(e) {
|
|
25245
25060
|
e.regex;
|
|
25246
25061
|
let t = e.COMMENT(/\(;/, /;\)/);
|
|
@@ -25301,8 +25116,7 @@ function nw(e) {
|
|
|
25301
25116
|
]
|
|
25302
25117
|
};
|
|
25303
25118
|
}
|
|
25304
|
-
|
|
25305
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/xml.js
|
|
25119
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/xml.js
|
|
25306
25120
|
function rw(e) {
|
|
25307
25121
|
let t = e.regex, n = t.concat(/[\p{L}_]/u, t.optional(/[\p{L}0-9_.-]*:/u), /[\p{L}0-9_.-]*/u), r = /[\p{L}0-9._:-]+/u, i = {
|
|
25308
25122
|
className: "symbol",
|
|
@@ -25466,8 +25280,7 @@ function rw(e) {
|
|
|
25466
25280
|
]
|
|
25467
25281
|
};
|
|
25468
25282
|
}
|
|
25469
|
-
|
|
25470
|
-
//#region ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/yaml.js
|
|
25283
|
+
// ../node_modules/.bun/highlight.js@11.11.1/node_modules/highlight.js/es/languages/yaml.js
|
|
25471
25284
|
function iw(e) {
|
|
25472
25285
|
let t = "true false yes no null", n = "[\\w#;/?:@&=+$,.~*'()[\\]]+", r = {
|
|
25473
25286
|
className: "attr",
|
|
@@ -25609,8 +25422,7 @@ function iw(e) {
|
|
|
25609
25422
|
contains: f
|
|
25610
25423
|
};
|
|
25611
25424
|
}
|
|
25612
|
-
|
|
25613
|
-
//#region ../node_modules/.bun/lowlight@3.3.0/node_modules/lowlight/lib/common.js
|
|
25425
|
+
// ../node_modules/.bun/lowlight@3.3.0/node_modules/lowlight/lib/common.js
|
|
25614
25426
|
var aw = {
|
|
25615
25427
|
arduino: rS,
|
|
25616
25428
|
bash: iS,
|
|
@@ -25770,5 +25582,4 @@ var lw = class {
|
|
|
25770
25582
|
return "";
|
|
25771
25583
|
}
|
|
25772
25584
|
};
|
|
25773
|
-
//#endregion
|
|
25774
25585
|
export { l as A, vn as C, M as D, I as E, N as O, L as S, F as T, U as _, ub as a, mf as b, sg as c, Ff as d, Nf as f, vu as g, H as h, db as i, h as j, vt as k, cg as l, df as m, aw as n, bv as o, Af as p, tS as r, yv as s, cw as t, ih as u, yu as v, P as w, is as x, V as y };
|