@opentiny/fluent-editor 4.0.0-alpha.7 → 4.0.0-alpha.8
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/LICENSE +21 -0
- package/dist/README.md +88 -0
- package/dist/es/attributors/line-height.es.js.map +1 -0
- package/dist/es/config/base64-image.es.js.map +1 -0
- package/dist/es/config/editor.config.es.js.map +1 -0
- package/dist/es/config/editor.utils.es.js.map +1 -0
- package/dist/es/config/i18n/en-us.es.js.map +1 -0
- package/dist/es/config/i18n/zh-cn.es.js.map +1 -0
- package/dist/es/config/index.es.js.map +1 -0
- package/dist/es/core/fluent-editor.es.js.map +1 -0
- package/dist/es/fluent-editor.es.js.map +1 -0
- package/dist/es/formats/emoji.es.js.map +1 -0
- package/dist/es/formats/soft-break.es.js.map +1 -0
- package/dist/es/formats/strike.es.js.map +1 -0
- package/dist/es/formats/video.es.js.map +1 -0
- package/dist/es/modules/ai/constants.es.js.map +1 -0
- package/dist/es/modules/ai/icons.es.js.map +1 -0
- package/dist/es/modules/ai/index.es.js.map +1 -0
- package/dist/es/modules/collaborative-editing/awareness/awareness.es.js +93 -0
- package/dist/es/modules/collaborative-editing/awareness/awareness.es.js.map +1 -0
- package/dist/es/modules/collaborative-editing/awareness/y-indexeddb.es.js +12 -0
- package/dist/es/modules/collaborative-editing/awareness/y-indexeddb.es.js.map +1 -0
- package/dist/es/modules/collaborative-editing/collaborative-editing.es.js +105 -0
- package/dist/es/modules/collaborative-editing/collaborative-editing.es.js.map +1 -0
- package/dist/es/modules/collaborative-editing/module.es.js.map +1 -0
- package/dist/es/modules/collaborative-editing/provider/providerRegistry.es.js.map +1 -0
- package/dist/es/modules/collaborative-editing/provider/webrtc.es.js +99 -0
- package/dist/es/modules/collaborative-editing/provider/webrtc.es.js.map +1 -0
- package/dist/es/modules/collaborative-editing/provider/websocket.es.js +111 -0
- package/dist/es/modules/collaborative-editing/provider/websocket.es.js.map +1 -0
- package/dist/es/modules/counter.es.js.map +1 -0
- package/dist/es/modules/custom-clipboard.es.js.map +1 -0
- package/dist/es/modules/custom-image/actions/action.es.js.map +1 -0
- package/dist/es/modules/custom-image/actions/custom-resize-action.es.js.map +1 -0
- package/dist/es/modules/custom-image/actions/delete-action.es.js.map +1 -0
- package/dist/es/modules/custom-image/blot-formatter.es.js.map +1 -0
- package/dist/es/modules/custom-image/image.es.js.map +1 -0
- package/dist/es/modules/custom-image/options.es.js.map +1 -0
- package/dist/es/modules/custom-image/specs/blot-spec.es.js.map +1 -0
- package/dist/es/modules/custom-image/specs/custom-image-spec.es.js.map +1 -0
- package/dist/es/modules/custom-image/specs/image-spec.es.js.map +1 -0
- package/dist/es/modules/divider.es.js.map +1 -0
- package/dist/es/modules/emoji.es.js +167 -0
- package/dist/es/modules/emoji.es.js.map +1 -0
- package/dist/es/modules/file/formats/file.es.js.map +1 -0
- package/dist/es/modules/file/modules/file-bar.es.js.map +1 -0
- package/dist/es/modules/file/modules/file-module.es.js.map +1 -0
- package/dist/es/modules/link/formats/link.es.js.map +1 -0
- package/dist/es/modules/link/modules/tooltip.es.js.map +1 -0
- package/dist/es/modules/mathlive/formats.es.js.map +1 -0
- package/dist/es/modules/mathlive/tooltip.es.js.map +1 -0
- package/dist/es/modules/mention/constants.es.js.map +1 -0
- package/dist/es/modules/mention/mention-link.es.js.map +1 -0
- package/dist/es/modules/mention/mention.es.js.map +1 -0
- package/dist/es/modules/syntax.es.js.map +1 -0
- package/dist/es/modules/toolbar/better-picker.es.js.map +1 -0
- package/dist/es/themes/snow.es.js.map +1 -0
- package/dist/es/tools/screenshot.es.js.map +1 -0
- package/dist/es/ui/icons.config.es.js.map +1 -0
- package/dist/es/ui/icons.es.js.map +1 -0
- package/dist/es/utils/debounce.es.js.map +1 -0
- package/dist/es/utils/method.es.js.map +1 -0
- package/dist/lib/attributors/line-height.cjs.js.map +1 -0
- package/dist/lib/config/base64-image.cjs.js.map +1 -0
- package/dist/lib/config/editor.config.cjs.js.map +1 -0
- package/dist/lib/config/editor.utils.cjs.js.map +1 -0
- package/dist/lib/config/i18n/en-us.cjs.js.map +1 -0
- package/dist/lib/config/i18n/zh-cn.cjs.js.map +1 -0
- package/dist/lib/config/index.cjs.js.map +1 -0
- package/dist/lib/core/fluent-editor.cjs.js.map +1 -0
- package/dist/lib/fluent-editor.cjs.js.map +1 -0
- package/dist/lib/formats/emoji.cjs.js.map +1 -0
- package/dist/lib/formats/soft-break.cjs.js.map +1 -0
- package/dist/lib/formats/strike.cjs.js.map +1 -0
- package/dist/lib/formats/video.cjs.js.map +1 -0
- package/dist/lib/modules/ai/constants.cjs.js.map +1 -0
- package/dist/lib/modules/ai/icons.cjs.js.map +1 -0
- package/dist/lib/modules/ai/index.cjs.js.map +1 -0
- package/dist/lib/modules/collaborative-editing/awareness/awareness.cjs.js +110 -0
- package/dist/lib/modules/collaborative-editing/awareness/awareness.cjs.js.map +1 -0
- package/dist/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js +12 -0
- package/dist/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js.map +1 -0
- package/dist/lib/modules/collaborative-editing/collaborative-editing.cjs.js +122 -0
- package/dist/lib/modules/collaborative-editing/collaborative-editing.cjs.js.map +1 -0
- package/dist/lib/modules/collaborative-editing/module.cjs.js.map +1 -0
- package/dist/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js.map +1 -0
- package/dist/lib/modules/collaborative-editing/provider/webrtc.cjs.js +116 -0
- package/dist/lib/modules/collaborative-editing/provider/webrtc.cjs.js.map +1 -0
- package/dist/lib/modules/collaborative-editing/provider/websocket.cjs.js +128 -0
- package/dist/lib/modules/collaborative-editing/provider/websocket.cjs.js.map +1 -0
- package/dist/lib/modules/counter.cjs.js.map +1 -0
- package/dist/lib/modules/custom-clipboard.cjs.js.map +1 -0
- package/dist/lib/modules/custom-image/actions/action.cjs.js.map +1 -0
- package/dist/lib/modules/custom-image/actions/custom-resize-action.cjs.js.map +1 -0
- package/dist/lib/modules/custom-image/actions/delete-action.cjs.js.map +1 -0
- package/dist/lib/modules/custom-image/blot-formatter.cjs.js.map +1 -0
- package/dist/lib/modules/custom-image/image.cjs.js.map +1 -0
- package/dist/lib/modules/custom-image/options.cjs.js.map +1 -0
- package/dist/lib/modules/custom-image/specs/blot-spec.cjs.js.map +1 -0
- package/dist/lib/modules/custom-image/specs/custom-image-spec.cjs.js.map +1 -0
- package/dist/lib/modules/custom-image/specs/image-spec.cjs.js.map +1 -0
- package/dist/lib/modules/divider.cjs.js.map +1 -0
- package/dist/lib/modules/emoji.cjs.js +167 -0
- package/dist/lib/modules/emoji.cjs.js.map +1 -0
- package/dist/lib/modules/file/formats/file.cjs.js.map +1 -0
- package/dist/lib/modules/file/modules/file-bar.cjs.js.map +1 -0
- package/dist/lib/modules/file/modules/file-module.cjs.js.map +1 -0
- package/dist/lib/modules/link/formats/link.cjs.js.map +1 -0
- package/dist/lib/modules/link/modules/tooltip.cjs.js.map +1 -0
- package/dist/lib/modules/mathlive/formats.cjs.js.map +1 -0
- package/dist/lib/modules/mathlive/tooltip.cjs.js.map +1 -0
- package/dist/lib/modules/mention/constants.cjs.js.map +1 -0
- package/dist/lib/modules/mention/mention-link.cjs.js.map +1 -0
- package/dist/lib/modules/mention/mention.cjs.js.map +1 -0
- package/dist/lib/modules/syntax.cjs.js.map +1 -0
- package/dist/lib/modules/toolbar/better-picker.cjs.js.map +1 -0
- package/dist/lib/themes/snow.cjs.js.map +1 -0
- package/dist/lib/tools/screenshot.cjs.js.map +1 -0
- package/dist/lib/ui/icons.cjs.js.map +1 -0
- package/dist/lib/ui/icons.config.cjs.js.map +1 -0
- package/dist/lib/utils/debounce.cjs.js.map +1 -0
- package/dist/lib/utils/method.cjs.js.map +1 -0
- package/dist/package.json +67 -0
- package/dist/types/attributors/font-size.d.ts +1 -0
- package/dist/types/attributors/font-style.d.ts +1 -0
- package/dist/types/attributors/index.d.ts +4 -0
- package/dist/types/attributors/line-height.d.ts +1 -0
- package/dist/types/attributors/text-indent.d.ts +1 -0
- package/dist/types/config/base64-image.d.ts +2 -0
- package/dist/types/config/editor.config.d.ts +11 -0
- package/dist/types/config/editor.utils.d.ts +40 -0
- package/dist/types/config/i18n/en-us.d.ts +123 -0
- package/dist/types/config/i18n/zh-cn.d.ts +123 -0
- package/dist/types/config/index.d.ts +7 -0
- package/dist/types/config/types/editor-config.interface.d.ts +14 -0
- package/dist/types/config/types/editor-modules.interface.d.ts +41 -0
- package/dist/types/config/types/index.d.ts +3 -0
- package/dist/types/config/types/type.d.ts +2 -0
- package/dist/types/core/fluent-editor.d.ts +13 -0
- package/dist/types/fluent-editor.d.ts +2 -0
- package/dist/types/formats/emoji.d.ts +8 -0
- package/dist/types/formats/index.d.ts +4 -0
- package/dist/types/formats/soft-break.d.ts +12 -0
- package/dist/types/formats/strike.d.ts +8 -0
- package/dist/types/formats/video.d.ts +13 -0
- package/dist/types/index.d.ts +8 -0
- package/dist/types/modules/ai/constants.d.ts +30 -0
- package/dist/types/modules/ai/icons.d.ts +21 -0
- package/dist/types/modules/ai/index.d.ts +96 -0
- package/dist/types/modules/ai/types.d.ts +16 -0
- package/dist/types/modules/collaborative-editing/awareness/awareness.d.ts +28 -0
- package/dist/types/modules/collaborative-editing/awareness/index.d.ts +2 -0
- package/dist/types/modules/collaborative-editing/awareness/y-indexeddb.d.ts +2 -0
- package/dist/types/modules/collaborative-editing/collaborative-editing.d.ts +24 -0
- package/dist/types/modules/collaborative-editing/index.d.ts +2 -0
- package/dist/types/modules/collaborative-editing/module.d.ts +11 -0
- package/dist/types/modules/collaborative-editing/provider/index.d.ts +3 -0
- package/dist/types/modules/collaborative-editing/provider/providerRegistry.d.ts +25 -0
- package/dist/types/modules/collaborative-editing/provider/webrtc.d.ts +36 -0
- package/dist/types/modules/collaborative-editing/provider/websocket.d.ts +40 -0
- package/dist/types/modules/collaborative-editing/types.d.ts +37 -0
- package/dist/types/modules/counter.d.ts +23 -0
- package/dist/types/modules/custom-clipboard.d.ts +25 -0
- package/dist/types/modules/custom-image/actions/action.d.ts +8 -0
- package/dist/types/modules/custom-image/actions/custom-resize-action.d.ts +23 -0
- package/dist/types/modules/custom-image/actions/delete-action.d.ts +6 -0
- package/dist/types/modules/custom-image/actions/image-toolbar-buttons.d.ts +16 -0
- package/dist/types/modules/custom-image/actions/index.d.ts +6 -0
- package/dist/types/modules/custom-image/actions/toolbar-action.d.ts +11 -0
- package/dist/types/modules/custom-image/actions/toolbar.d.ts +19 -0
- package/dist/types/modules/custom-image/blot-formatter.d.ts +23 -0
- package/dist/types/modules/custom-image/image.d.ts +28 -0
- package/dist/types/modules/custom-image/index.d.ts +4 -0
- package/dist/types/modules/custom-image/options.d.ts +47 -0
- package/dist/types/modules/custom-image/specs/blot-spec.d.ts +12 -0
- package/dist/types/modules/custom-image/specs/custom-image-spec.d.ts +17 -0
- package/dist/types/modules/custom-image/specs/image-spec.d.ts +8 -0
- package/dist/types/modules/custom-image/specs/index.d.ts +3 -0
- package/dist/types/modules/custom-uploader.d.ts +40 -0
- package/dist/types/modules/divider.d.ts +8 -0
- package/dist/types/modules/emoji.d.ts +39 -0
- package/dist/types/modules/file/formats/file.d.ts +18 -0
- package/dist/types/modules/file/index.d.ts +3 -0
- package/dist/types/modules/file/modules/file-bar.d.ts +14 -0
- package/dist/types/modules/file/modules/file-module.d.ts +9 -0
- package/dist/types/modules/i18n.d.ts +14 -0
- package/dist/types/modules/index.d.ts +16 -0
- package/dist/types/modules/link/formats/link.d.ts +15 -0
- package/dist/types/modules/link/index.d.ts +2 -0
- package/dist/types/modules/link/modules/tooltip.d.ts +27 -0
- package/dist/types/modules/mathlive/formats.d.ts +22 -0
- package/dist/types/modules/mathlive/index.d.ts +3 -0
- package/dist/types/modules/mathlive/module.d.ts +9 -0
- package/dist/types/modules/mathlive/tooltip.d.ts +18 -0
- package/dist/types/modules/mention/constants.d.ts +3 -0
- package/dist/types/modules/mention/index.d.ts +2 -0
- package/dist/types/modules/mention/mention-link.d.ts +16 -0
- package/dist/types/modules/mention/mention.d.ts +53 -0
- package/dist/types/modules/shortcut-key/index.d.ts +71 -0
- package/dist/types/modules/syntax.d.ts +13 -0
- package/dist/types/modules/table-up/index.d.ts +34 -0
- package/dist/types/modules/toolbar/better-picker.d.ts +15 -0
- package/dist/types/modules/toolbar/better-toolbar.d.ts +7 -0
- package/dist/types/modules/toolbar/index.d.ts +3 -0
- package/dist/types/modules/toolbar/toolbar-tip.d.ts +9 -0
- package/dist/types/themes/snow.d.ts +11 -0
- package/dist/types/tools/format-painter.d.ts +13 -0
- package/dist/types/tools/fullscreen.d.ts +6 -0
- package/dist/types/tools/screenshot.d.ts +19 -0
- package/dist/types/ui/icons.config.d.ts +38 -0
- package/dist/types/ui/icons.d.ts +6 -0
- package/dist/types/utils/debounce.d.ts +6 -0
- package/dist/types/utils/image.d.ts +1 -0
- package/dist/types/utils/is.d.ts +6 -0
- package/dist/types/utils/method.d.ts +6 -0
- package/dist/types/utils/scroll-lock.d.ts +6 -0
- package/package.json +67 -67
- package/scripts/pre-release.cjs +35 -0
- package/src/assets/ai.scss +451 -0
- package/src/assets/common/config.scss +4 -0
- package/src/assets/common.scss +132 -0
- package/src/assets/counter.scss +16 -0
- package/src/assets/custom-image.scss +19 -0
- package/src/assets/editor.scss +351 -0
- package/src/assets/fileBar.scss +107 -0
- package/src/assets/font.scss +18 -0
- package/src/assets/fullscreen.scss +50 -0
- package/src/assets/iconfont/iconfont.ttf +0 -0
- package/src/assets/iconfont/iconfont.woff +0 -0
- package/src/assets/iconfont/iconfont.woff2 +0 -0
- package/src/assets/imageBar.scss +98 -0
- package/src/assets/lineHeight.scss +15 -0
- package/src/assets/link.scss +120 -0
- package/src/assets/mathlive.scss +40 -0
- package/src/assets/mention.scss +48 -0
- package/src/assets/screenshot.scss +78 -0
- package/src/assets/size.scss +11 -0
- package/src/assets/style.scss +46 -0
- package/src/assets/svgs/align-center.svg +41 -0
- package/src/assets/svgs/align-justify.svg +8 -0
- package/src/assets/svgs/arrow-down.svg +6 -0
- package/src/assets/svgs/background-color.svg +7 -0
- package/src/assets/svgs/clean.svg +8 -0
- package/src/assets/svgs/code-block.svg +5 -0
- package/src/assets/svgs/code.svg +25 -0
- package/src/assets/svgs/color.svg +7 -0
- package/src/assets/svgs/direction-ltr.svg +8 -0
- package/src/assets/svgs/direction-rtl.svg +8 -0
- package/src/assets/svgs/divider.svg +4 -0
- package/src/assets/svgs/emoji.svg +53 -0
- package/src/assets/svgs/file.svg +12 -0
- package/src/assets/svgs/format-painter.svg +10 -0
- package/src/assets/svgs/formula.svg +6 -0
- package/src/assets/svgs/fullscreen.svg +43 -0
- package/src/assets/svgs/image.svg +17 -0
- package/src/assets/svgs/italic.svg +6 -0
- package/src/assets/svgs/link.svg +9 -0
- package/src/assets/svgs/list-bullet.svg +16 -0
- package/src/assets/svgs/list-ordered.svg +18 -0
- package/src/assets/svgs/list-task.svg +5 -0
- package/src/assets/svgs/redo.svg +8 -0
- package/src/assets/svgs/screenshot.svg +17 -0
- package/src/assets/svgs/script-sub.svg +15 -0
- package/src/assets/svgs/script-super.svg +15 -0
- package/src/assets/svgs/strike.svg +6 -0
- package/src/assets/svgs/underline.svg +13 -0
- package/src/assets/svgs/undo.svg +8 -0
- package/src/assets/svgs/video.svg +10 -0
- package/src/assets/tasklist.scss +76 -0
- package/src/assets/toolbar.scss +385 -0
- package/src/assets/variable.scss +9 -0
- package/src/assets/video.scss +5 -0
- package/src/attributors/font-size.ts +6 -0
- package/src/attributors/font-style.ts +6 -0
- package/src/attributors/index.ts +4 -0
- package/src/attributors/line-height.ts +6 -0
- package/src/attributors/text-indent.ts +6 -0
- package/src/config/base64-image.ts +5 -0
- package/src/config/editor.config.ts +86 -0
- package/src/config/editor.utils.ts +193 -0
- package/src/config/i18n/en-us.ts +138 -0
- package/src/config/i18n/zh-cn.ts +137 -0
- package/src/config/index.ts +44 -0
- package/src/config/types/editor-config.interface.ts +16 -0
- package/src/config/types/editor-modules.interface.ts +47 -0
- package/src/config/types/index.ts +3 -0
- package/src/config/types/type.ts +2 -0
- package/src/core/fluent-editor.ts +31 -0
- package/src/fluent-editor.ts +72 -0
- package/src/formats/emoji.ts +10 -0
- package/src/formats/index.ts +4 -0
- package/src/formats/soft-break.ts +27 -0
- package/src/formats/strike.ts +11 -0
- package/src/formats/video.ts +53 -0
- package/src/index.ts +9 -0
- package/src/modules/ai/constants.ts +43 -0
- package/src/modules/ai/icons.ts +333 -0
- package/src/modules/ai/index.ts +850 -0
- package/src/modules/ai/types.ts +18 -0
- package/src/modules/collaborative-editing/awareness/awareness.ts +141 -0
- package/src/modules/collaborative-editing/awareness/index.ts +2 -0
- package/src/modules/collaborative-editing/awareness/y-indexeddb.ts +12 -0
- package/src/modules/collaborative-editing/collaborative-editing.ts +115 -0
- package/src/modules/collaborative-editing/index.ts +2 -0
- package/src/modules/collaborative-editing/module.ts +32 -0
- package/src/modules/collaborative-editing/provider/index.ts +3 -0
- package/src/modules/collaborative-editing/provider/providerRegistry.ts +57 -0
- package/src/modules/collaborative-editing/provider/webrtc.ts +125 -0
- package/src/modules/collaborative-editing/provider/websocket.ts +142 -0
- package/src/modules/collaborative-editing/types.ts +44 -0
- package/src/modules/counter.ts +84 -0
- package/src/modules/custom-clipboard.ts +537 -0
- package/src/modules/custom-image/actions/action.ts +15 -0
- package/src/modules/custom-image/actions/custom-resize-action.ts +207 -0
- package/src/modules/custom-image/actions/delete-action.ts +32 -0
- package/src/modules/custom-image/actions/image-toolbar-buttons.ts +135 -0
- package/src/modules/custom-image/actions/index.ts +6 -0
- package/src/modules/custom-image/actions/toolbar-action.ts +32 -0
- package/src/modules/custom-image/actions/toolbar.ts +145 -0
- package/src/modules/custom-image/blot-formatter.ts +158 -0
- package/src/modules/custom-image/image.ts +132 -0
- package/src/modules/custom-image/index.ts +4 -0
- package/src/modules/custom-image/options.ts +139 -0
- package/src/modules/custom-image/specs/blot-spec.ts +30 -0
- package/src/modules/custom-image/specs/custom-image-spec.ts +131 -0
- package/src/modules/custom-image/specs/image-spec.ts +28 -0
- package/src/modules/custom-image/specs/index.ts +3 -0
- package/src/modules/custom-uploader.ts +101 -0
- package/src/modules/divider.ts +15 -0
- package/src/modules/emoji.ts +230 -0
- package/src/modules/file/formats/file.ts +61 -0
- package/src/modules/file/index.ts +3 -0
- package/src/modules/file/modules/file-bar.ts +146 -0
- package/src/modules/file/modules/file-module.ts +33 -0
- package/src/modules/i18n.ts +66 -0
- package/src/modules/index.ts +16 -0
- package/src/modules/link/formats/link.ts +43 -0
- package/src/modules/link/index.ts +2 -0
- package/src/modules/link/modules/tooltip.ts +341 -0
- package/src/modules/mathlive/formats.ts +39 -0
- package/src/modules/mathlive/index.ts +3 -0
- package/src/modules/mathlive/module.ts +37 -0
- package/src/modules/mathlive/tooltip.ts +87 -0
- package/src/modules/mention/constants.ts +3 -0
- package/src/modules/mention/index.ts +2 -0
- package/src/modules/mention/mention-link.ts +64 -0
- package/src/modules/mention/mention.ts +404 -0
- package/src/modules/shortcut-key/index.ts +237 -0
- package/src/modules/syntax.ts +35 -0
- package/src/modules/table-up/index.ts +83 -0
- package/src/modules/toolbar/better-picker.ts +67 -0
- package/src/modules/toolbar/better-toolbar.ts +176 -0
- package/src/modules/toolbar/index.ts +3 -0
- package/src/modules/toolbar/toolbar-tip.ts +142 -0
- package/src/themes/snow.ts +309 -0
- package/src/tools/format-painter.ts +85 -0
- package/src/tools/fullscreen.ts +66 -0
- package/src/tools/screenshot.ts +231 -0
- package/src/ui/icons.config.ts +361 -0
- package/src/ui/icons.ts +89 -0
- package/src/utils/debounce.ts +150 -0
- package/src/utils/image.ts +22 -0
- package/src/utils/is.ts +9 -0
- package/src/utils/method.ts +77 -0
- package/src/utils/scroll-lock.ts +52 -0
- package/tsconfig.json +25 -0
- package/vite.config.ts +83 -0
- package/README.md +0 -88
- package/es/_virtual/_commonjs-dynamic-modules.es.js +0 -7
- package/es/_virtual/_commonjs-dynamic-modules.es.js.map +0 -1
- package/es/_virtual/_commonjsHelpers.es.js +0 -42
- package/es/_virtual/_commonjsHelpers.es.js.map +0 -1
- package/es/_virtual/quill-cursors.es.js +0 -5
- package/es/_virtual/quill-cursors.es.js.map +0 -1
- package/es/_virtual/simplepeer.min.es.js +0 -5
- package/es/_virtual/simplepeer.min.es.js.map +0 -1
- package/es/attributors/line-height.es.js.map +0 -1
- package/es/config/base64-image.es.js.map +0 -1
- package/es/config/editor.config.es.js.map +0 -1
- package/es/config/editor.utils.es.js.map +0 -1
- package/es/config/i18n/en-us.es.js.map +0 -1
- package/es/config/i18n/zh-cn.es.js.map +0 -1
- package/es/config/index.es.js.map +0 -1
- package/es/core/fluent-editor.es.js.map +0 -1
- package/es/fluent-editor.es.js.map +0 -1
- package/es/formats/emoji.es.js.map +0 -1
- package/es/formats/soft-break.es.js.map +0 -1
- package/es/formats/strike.es.js.map +0 -1
- package/es/formats/video.es.js.map +0 -1
- package/es/modules/ai/constants.es.js.map +0 -1
- package/es/modules/ai/icons.es.js.map +0 -1
- package/es/modules/ai/index.es.js.map +0 -1
- package/es/modules/collaborative-editing/awareness/awareness.es.js +0 -93
- package/es/modules/collaborative-editing/awareness/awareness.es.js.map +0 -1
- package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js +0 -12
- package/es/modules/collaborative-editing/awareness/y-indexeddb.es.js.map +0 -1
- package/es/modules/collaborative-editing/collaborative-editing.es.js +0 -105
- package/es/modules/collaborative-editing/collaborative-editing.es.js.map +0 -1
- package/es/modules/collaborative-editing/module.es.js.map +0 -1
- package/es/modules/collaborative-editing/provider/providerRegistry.es.js.map +0 -1
- package/es/modules/collaborative-editing/provider/webrtc.es.js +0 -99
- package/es/modules/collaborative-editing/provider/webrtc.es.js.map +0 -1
- package/es/modules/collaborative-editing/provider/websocket.es.js +0 -111
- package/es/modules/collaborative-editing/provider/websocket.es.js.map +0 -1
- package/es/modules/counter.es.js.map +0 -1
- package/es/modules/custom-clipboard.es.js.map +0 -1
- package/es/modules/custom-image/actions/action.es.js.map +0 -1
- package/es/modules/custom-image/actions/custom-resize-action.es.js.map +0 -1
- package/es/modules/custom-image/actions/delete-action.es.js.map +0 -1
- package/es/modules/custom-image/blot-formatter.es.js.map +0 -1
- package/es/modules/custom-image/image.es.js.map +0 -1
- package/es/modules/custom-image/options.es.js.map +0 -1
- package/es/modules/custom-image/specs/blot-spec.es.js.map +0 -1
- package/es/modules/custom-image/specs/custom-image-spec.es.js.map +0 -1
- package/es/modules/custom-image/specs/image-spec.es.js.map +0 -1
- package/es/modules/divider.es.js.map +0 -1
- package/es/modules/emoji.es.js +0 -163
- package/es/modules/emoji.es.js.map +0 -1
- package/es/modules/file/formats/file.es.js.map +0 -1
- package/es/modules/file/modules/file-bar.es.js.map +0 -1
- package/es/modules/file/modules/file-module.es.js.map +0 -1
- package/es/modules/link/formats/link.es.js.map +0 -1
- package/es/modules/link/modules/tooltip.es.js.map +0 -1
- package/es/modules/mathlive/formats.es.js.map +0 -1
- package/es/modules/mathlive/tooltip.es.js.map +0 -1
- package/es/modules/mention/constants.es.js.map +0 -1
- package/es/modules/mention/mention-link.es.js.map +0 -1
- package/es/modules/mention/mention.es.js.map +0 -1
- package/es/modules/syntax.es.js.map +0 -1
- package/es/modules/toolbar/better-picker.es.js.map +0 -1
- package/es/node_modules/.pnpm/@emoji-mart_data@1.2.1/node_modules/@emoji-mart/data/sets/15/native.json.es.js +0 -40145
- package/es/node_modules/.pnpm/@emoji-mart_data@1.2.1/node_modules/@emoji-mart/data/sets/15/native.json.es.js.map +0 -1
- package/es/node_modules/.pnpm/@floating-ui_core@1.7.2/node_modules/@floating-ui/core/dist/floating-ui.core.es.js +0 -938
- package/es/node_modules/.pnpm/@floating-ui_core@1.7.2/node_modules/@floating-ui/core/dist/floating-ui.core.es.js.map +0 -1
- package/es/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js +0 -624
- package/es/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.es.js.map +0 -1
- package/es/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js +0 -174
- package/es/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.es.js.map +0 -1
- package/es/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js +0 -159
- package/es/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.es.js.map +0 -1
- package/es/node_modules/.pnpm/emoji-mart@5.6.0/node_modules/emoji-mart/dist/module.es.js +0 -2849
- package/es/node_modules/.pnpm/emoji-mart@5.6.0/node_modules/emoji-mart/dist/module.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/array.es.js +0 -112
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/array.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/binary.es.js +0 -133
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/binary.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/broadcastchannel.es.js +0 -59
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/broadcastchannel.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/buffer.es.js +0 -75
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/buffer.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/conditions.es.js +0 -5
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/conditions.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/decoding.es.js +0 -422
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/decoding.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/dom.es.js +0 -142
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/dom.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/encoding.es.js +0 -484
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/encoding.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/environment.es.js +0 -79
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/environment.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/error.es.js +0 -13
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/error.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/eventloop.es.js +0 -69
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/eventloop.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/function.es.js +0 -124
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/function.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/indexeddb.es.js +0 -92
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/indexeddb.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/iterator.es.js +0 -38
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/iterator.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/json.es.js +0 -7
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/json.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.common.es.js +0 -99
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.common.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.es.js +0 -288
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/map.es.js +0 -47
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/map.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/math.es.js +0 -37
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/math.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/metric.es.js +0 -64
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/metric.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/mutex.es.js +0 -19
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/mutex.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/number.es.js +0 -31
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/number.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/object.es.js +0 -72
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/object.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/observable.es.js +0 -128
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/observable.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/pair.es.js +0 -22
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/pair.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/promise.es.js +0 -50
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/promise.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/random.es.js +0 -24
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/random.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/set.es.js +0 -11
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/set.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/storage.es.js +0 -44
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/storage.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/string.es.js +0 -95
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/string.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/symbol.es.js +0 -7
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/symbol.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/time.es.js +0 -28
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/time.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/traits.es.js +0 -5
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/traits.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/url.es.js +0 -20
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/url.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/webcrypto.es.js +0 -7
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/webcrypto.es.js.map +0 -1
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/websocket.es.js +0 -113
- package/es/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/websocket.es.js.map +0 -1
- package/es/node_modules/.pnpm/quill-cursors@4.0.4/node_modules/quill-cursors/dist/quill-cursors.es.js +0 -1796
- package/es/node_modules/.pnpm/quill-cursors@4.0.4/node_modules/quill-cursors/dist/quill-cursors.es.js.map +0 -1
- package/es/node_modules/.pnpm/simple-peer@9.11.1/node_modules/simple-peer/simplepeer.min.es.js +0 -2620
- package/es/node_modules/.pnpm/simple-peer@9.11.1/node_modules/simple-peer/simplepeer.min.es.js.map +0 -1
- package/es/node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.27/node_modules/y-indexeddb/src/y-indexeddb.es.js +0 -155
- package/es/node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.27/node_modules/y-indexeddb/src/y-indexeddb.es.js.map +0 -1
- package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/auth.es.js +0 -20
- package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/auth.es.js.map +0 -1
- package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/awareness.es.js +0 -232
- package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/awareness.es.js.map +0 -1
- package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/sync.es.js +0 -58
- package/es/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/sync.es.js.map +0 -1
- package/es/node_modules/.pnpm/y-quill@1.0.0_quill-cursors@4.0.4_quill@2.0.3_patch_hash_dnirvjhpzdmsvdidsclwslxxji__yjs@13.6.27/node_modules/y-quill/src/y-quill.es.js +0 -157
- package/es/node_modules/.pnpm/y-quill@1.0.0_quill-cursors@4.0.4_quill@2.0.3_patch_hash_dnirvjhpzdmsvdidsclwslxxji__yjs@13.6.27/node_modules/y-quill/src/y-quill.es.js.map +0 -1
- package/es/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/crypto.es.js +0 -94
- package/es/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/crypto.es.js.map +0 -1
- package/es/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/y-webrtc.es.js +0 -537
- package/es/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/y-webrtc.es.js.map +0 -1
- package/es/node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.27/node_modules/y-websocket/src/y-websocket.es.js +0 -380
- package/es/node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.27/node_modules/y-websocket/src/y-websocket.es.js.map +0 -1
- package/es/node_modules/.pnpm/yjs@13.6.27/node_modules/yjs/dist/yjs.es.js +0 -7653
- package/es/node_modules/.pnpm/yjs@13.6.27/node_modules/yjs/dist/yjs.es.js.map +0 -1
- package/es/themes/snow.es.js.map +0 -1
- package/es/tools/screenshot.es.js.map +0 -1
- package/es/ui/icons.config.es.js.map +0 -1
- package/es/ui/icons.es.js.map +0 -1
- package/es/utils/debounce.es.js.map +0 -1
- package/es/utils/method.es.js.map +0 -1
- package/lib/_virtual/_commonjs-dynamic-modules.cjs.js +0 -7
- package/lib/_virtual/_commonjs-dynamic-modules.cjs.js.map +0 -1
- package/lib/_virtual/_commonjsHelpers.cjs.js +0 -42
- package/lib/_virtual/_commonjsHelpers.cjs.js.map +0 -1
- package/lib/_virtual/quill-cursors.cjs.js +0 -5
- package/lib/_virtual/quill-cursors.cjs.js.map +0 -1
- package/lib/_virtual/simplepeer.min.cjs.js +0 -5
- package/lib/_virtual/simplepeer.min.cjs.js.map +0 -1
- package/lib/attributors/line-height.cjs.js.map +0 -1
- package/lib/config/base64-image.cjs.js.map +0 -1
- package/lib/config/editor.config.cjs.js.map +0 -1
- package/lib/config/editor.utils.cjs.js.map +0 -1
- package/lib/config/i18n/en-us.cjs.js.map +0 -1
- package/lib/config/i18n/zh-cn.cjs.js.map +0 -1
- package/lib/config/index.cjs.js.map +0 -1
- package/lib/core/fluent-editor.cjs.js.map +0 -1
- package/lib/fluent-editor.cjs.js.map +0 -1
- package/lib/formats/emoji.cjs.js.map +0 -1
- package/lib/formats/soft-break.cjs.js.map +0 -1
- package/lib/formats/strike.cjs.js.map +0 -1
- package/lib/formats/video.cjs.js.map +0 -1
- package/lib/modules/ai/constants.cjs.js.map +0 -1
- package/lib/modules/ai/icons.cjs.js.map +0 -1
- package/lib/modules/ai/index.cjs.js.map +0 -1
- package/lib/modules/collaborative-editing/awareness/awareness.cjs.js +0 -93
- package/lib/modules/collaborative-editing/awareness/awareness.cjs.js.map +0 -1
- package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js +0 -12
- package/lib/modules/collaborative-editing/awareness/y-indexeddb.cjs.js.map +0 -1
- package/lib/modules/collaborative-editing/collaborative-editing.cjs.js +0 -105
- package/lib/modules/collaborative-editing/collaborative-editing.cjs.js.map +0 -1
- package/lib/modules/collaborative-editing/module.cjs.js.map +0 -1
- package/lib/modules/collaborative-editing/provider/providerRegistry.cjs.js.map +0 -1
- package/lib/modules/collaborative-editing/provider/webrtc.cjs.js +0 -99
- package/lib/modules/collaborative-editing/provider/webrtc.cjs.js.map +0 -1
- package/lib/modules/collaborative-editing/provider/websocket.cjs.js +0 -111
- package/lib/modules/collaborative-editing/provider/websocket.cjs.js.map +0 -1
- package/lib/modules/counter.cjs.js.map +0 -1
- package/lib/modules/custom-clipboard.cjs.js.map +0 -1
- package/lib/modules/custom-image/actions/action.cjs.js.map +0 -1
- package/lib/modules/custom-image/actions/custom-resize-action.cjs.js.map +0 -1
- package/lib/modules/custom-image/actions/delete-action.cjs.js.map +0 -1
- package/lib/modules/custom-image/blot-formatter.cjs.js.map +0 -1
- package/lib/modules/custom-image/image.cjs.js.map +0 -1
- package/lib/modules/custom-image/options.cjs.js.map +0 -1
- package/lib/modules/custom-image/specs/blot-spec.cjs.js.map +0 -1
- package/lib/modules/custom-image/specs/custom-image-spec.cjs.js.map +0 -1
- package/lib/modules/custom-image/specs/image-spec.cjs.js.map +0 -1
- package/lib/modules/divider.cjs.js.map +0 -1
- package/lib/modules/emoji.cjs.js +0 -163
- package/lib/modules/emoji.cjs.js.map +0 -1
- package/lib/modules/file/formats/file.cjs.js.map +0 -1
- package/lib/modules/file/modules/file-bar.cjs.js.map +0 -1
- package/lib/modules/file/modules/file-module.cjs.js.map +0 -1
- package/lib/modules/link/formats/link.cjs.js.map +0 -1
- package/lib/modules/link/modules/tooltip.cjs.js.map +0 -1
- package/lib/modules/mathlive/formats.cjs.js.map +0 -1
- package/lib/modules/mathlive/tooltip.cjs.js.map +0 -1
- package/lib/modules/mention/constants.cjs.js.map +0 -1
- package/lib/modules/mention/mention-link.cjs.js.map +0 -1
- package/lib/modules/mention/mention.cjs.js.map +0 -1
- package/lib/modules/syntax.cjs.js.map +0 -1
- package/lib/modules/toolbar/better-picker.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/@emoji-mart_data@1.2.1/node_modules/@emoji-mart/data/sets/15/native.json.cjs.js +0 -40145
- package/lib/node_modules/.pnpm/@emoji-mart_data@1.2.1/node_modules/@emoji-mart/data/sets/15/native.json.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/@floating-ui_core@1.7.2/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.js +0 -938
- package/lib/node_modules/.pnpm/@floating-ui_core@1.7.2/node_modules/@floating-ui/core/dist/floating-ui.core.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.js +0 -624
- package/lib/node_modules/.pnpm/@floating-ui_dom@1.7.2/node_modules/@floating-ui/dom/dist/floating-ui.dom.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.js +0 -159
- package/lib/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.js +0 -174
- package/lib/node_modules/.pnpm/@floating-ui_utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/emoji-mart@5.6.0/node_modules/emoji-mart/dist/module.cjs.js +0 -2847
- package/lib/node_modules/.pnpm/emoji-mart@5.6.0/node_modules/emoji-mart/dist/module.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/array.cjs.js +0 -112
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/array.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/binary.cjs.js +0 -133
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/binary.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/broadcastchannel.cjs.js +0 -59
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/broadcastchannel.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/buffer.cjs.js +0 -75
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/buffer.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/conditions.cjs.js +0 -5
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/conditions.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/decoding.cjs.js +0 -422
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/decoding.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/dom.cjs.js +0 -142
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/dom.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/encoding.cjs.js +0 -484
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/encoding.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/environment.cjs.js +0 -79
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/environment.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/error.cjs.js +0 -13
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/error.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/eventloop.cjs.js +0 -69
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/eventloop.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/function.cjs.js +0 -124
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/function.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/indexeddb.cjs.js +0 -92
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/indexeddb.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/iterator.cjs.js +0 -38
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/iterator.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/json.cjs.js +0 -7
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/json.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.cjs.js +0 -288
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.common.cjs.js +0 -99
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/logging.common.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/map.cjs.js +0 -47
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/map.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/math.cjs.js +0 -37
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/math.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/metric.cjs.js +0 -64
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/metric.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/mutex.cjs.js +0 -19
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/mutex.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/number.cjs.js +0 -31
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/number.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/object.cjs.js +0 -72
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/object.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/observable.cjs.js +0 -128
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/observable.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/pair.cjs.js +0 -22
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/pair.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/promise.cjs.js +0 -50
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/promise.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/random.cjs.js +0 -24
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/random.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/set.cjs.js +0 -11
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/set.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/storage.cjs.js +0 -44
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/storage.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/string.cjs.js +0 -94
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/string.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/symbol.cjs.js +0 -7
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/symbol.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/time.cjs.js +0 -28
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/time.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/traits.cjs.js +0 -5
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/traits.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/url.cjs.js +0 -20
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/url.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/webcrypto.cjs.js +0 -7
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/webcrypto.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/websocket.cjs.js +0 -113
- package/lib/node_modules/.pnpm/lib0@0.2.114/node_modules/lib0/websocket.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/quill-cursors@4.0.4/node_modules/quill-cursors/dist/quill-cursors.cjs.js +0 -1796
- package/lib/node_modules/.pnpm/quill-cursors@4.0.4/node_modules/quill-cursors/dist/quill-cursors.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/simple-peer@9.11.1/node_modules/simple-peer/simplepeer.min.cjs.js +0 -2620
- package/lib/node_modules/.pnpm/simple-peer@9.11.1/node_modules/simple-peer/simplepeer.min.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.27/node_modules/y-indexeddb/src/y-indexeddb.cjs.js +0 -155
- package/lib/node_modules/.pnpm/y-indexeddb@9.0.12_yjs@13.6.27/node_modules/y-indexeddb/src/y-indexeddb.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/auth.cjs.js +0 -20
- package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/auth.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/awareness.cjs.js +0 -232
- package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/awareness.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/sync.cjs.js +0 -58
- package/lib/node_modules/.pnpm/y-protocols@1.0.6_yjs@13.6.27/node_modules/y-protocols/sync.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/y-quill@1.0.0_quill-cursors@4.0.4_quill@2.0.3_patch_hash_dnirvjhpzdmsvdidsclwslxxji__yjs@13.6.27/node_modules/y-quill/src/y-quill.cjs.js +0 -157
- package/lib/node_modules/.pnpm/y-quill@1.0.0_quill-cursors@4.0.4_quill@2.0.3_patch_hash_dnirvjhpzdmsvdidsclwslxxji__yjs@13.6.27/node_modules/y-quill/src/y-quill.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/crypto.cjs.js +0 -94
- package/lib/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/crypto.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/y-webrtc.cjs.js +0 -537
- package/lib/node_modules/.pnpm/y-webrtc@10.3.0_yjs@13.6.27/node_modules/y-webrtc/src/y-webrtc.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.27/node_modules/y-websocket/src/y-websocket.cjs.js +0 -380
- package/lib/node_modules/.pnpm/y-websocket@3.0.0_yjs@13.6.27/node_modules/y-websocket/src/y-websocket.cjs.js.map +0 -1
- package/lib/node_modules/.pnpm/yjs@13.6.27/node_modules/yjs/dist/yjs.cjs.js +0 -7653
- package/lib/node_modules/.pnpm/yjs@13.6.27/node_modules/yjs/dist/yjs.cjs.js.map +0 -1
- package/lib/themes/snow.cjs.js.map +0 -1
- package/lib/tools/screenshot.cjs.js.map +0 -1
- package/lib/ui/icons.cjs.js.map +0 -1
- package/lib/ui/icons.config.cjs.js.map +0 -1
- package/lib/utils/debounce.cjs.js.map +0 -1
- package/lib/utils/method.cjs.js.map +0 -1
- package/types/attributors/font-size.d.ts +0 -1
- package/types/attributors/font-style.d.ts +0 -1
- package/types/attributors/index.d.ts +0 -4
- package/types/attributors/line-height.d.ts +0 -1
- package/types/attributors/text-indent.d.ts +0 -1
- package/types/config/base64-image.d.ts +0 -2
- package/types/config/editor.config.d.ts +0 -11
- package/types/config/editor.utils.d.ts +0 -40
- package/types/config/i18n/en-us.d.ts +0 -123
- package/types/config/i18n/zh-cn.d.ts +0 -123
- package/types/config/index.d.ts +0 -7
- package/types/config/types/editor-config.interface.d.ts +0 -15
- package/types/config/types/editor-modules.interface.d.ts +0 -42
- package/types/config/types/index.d.ts +0 -3
- package/types/config/types/type.d.ts +0 -2
- package/types/core/fluent-editor.d.ts +0 -14
- package/types/fluent-editor.d.ts +0 -3
- package/types/formats/emoji.d.ts +0 -9
- package/types/formats/index.d.ts +0 -4
- package/types/formats/soft-break.d.ts +0 -13
- package/types/formats/strike.d.ts +0 -9
- package/types/formats/video.d.ts +0 -14
- package/types/index.d.ts +0 -9
- package/types/modules/ai/constants.d.ts +0 -30
- package/types/modules/ai/icons.d.ts +0 -21
- package/types/modules/ai/index.d.ts +0 -97
- package/types/modules/ai/types.d.ts +0 -16
- package/types/modules/collaborative-editing/awareness/awareness.d.ts +0 -29
- package/types/modules/collaborative-editing/awareness/index.d.ts +0 -2
- package/types/modules/collaborative-editing/awareness/y-indexeddb.d.ts +0 -3
- package/types/modules/collaborative-editing/collaborative-editing.d.ts +0 -25
- package/types/modules/collaborative-editing/index.d.ts +0 -2
- package/types/modules/collaborative-editing/module.d.ts +0 -12
- package/types/modules/collaborative-editing/provider/index.d.ts +0 -3
- package/types/modules/collaborative-editing/provider/providerRegistry.d.ts +0 -26
- package/types/modules/collaborative-editing/provider/webrtc.d.ts +0 -37
- package/types/modules/collaborative-editing/provider/websocket.d.ts +0 -41
- package/types/modules/collaborative-editing/types.d.ts +0 -37
- package/types/modules/counter.d.ts +0 -24
- package/types/modules/custom-clipboard.d.ts +0 -26
- package/types/modules/custom-image/actions/action.d.ts +0 -9
- package/types/modules/custom-image/actions/custom-resize-action.d.ts +0 -24
- package/types/modules/custom-image/actions/delete-action.d.ts +0 -7
- package/types/modules/custom-image/actions/image-toolbar-buttons.d.ts +0 -17
- package/types/modules/custom-image/actions/index.d.ts +0 -6
- package/types/modules/custom-image/actions/toolbar-action.d.ts +0 -12
- package/types/modules/custom-image/actions/toolbar.d.ts +0 -20
- package/types/modules/custom-image/blot-formatter.d.ts +0 -24
- package/types/modules/custom-image/image.d.ts +0 -29
- package/types/modules/custom-image/index.d.ts +0 -4
- package/types/modules/custom-image/options.d.ts +0 -48
- package/types/modules/custom-image/specs/blot-spec.d.ts +0 -13
- package/types/modules/custom-image/specs/custom-image-spec.d.ts +0 -18
- package/types/modules/custom-image/specs/image-spec.d.ts +0 -9
- package/types/modules/custom-image/specs/index.d.ts +0 -3
- package/types/modules/custom-uploader.d.ts +0 -41
- package/types/modules/divider.d.ts +0 -9
- package/types/modules/emoji.d.ts +0 -34
- package/types/modules/file/formats/file.d.ts +0 -19
- package/types/modules/file/index.d.ts +0 -3
- package/types/modules/file/modules/file-bar.d.ts +0 -14
- package/types/modules/file/modules/file-module.d.ts +0 -10
- package/types/modules/i18n.d.ts +0 -15
- package/types/modules/index.d.ts +0 -16
- package/types/modules/link/formats/link.d.ts +0 -16
- package/types/modules/link/index.d.ts +0 -2
- package/types/modules/link/modules/tooltip.d.ts +0 -28
- package/types/modules/mathlive/formats.d.ts +0 -23
- package/types/modules/mathlive/index.d.ts +0 -3
- package/types/modules/mathlive/module.d.ts +0 -10
- package/types/modules/mathlive/tooltip.d.ts +0 -19
- package/types/modules/mention/constants.d.ts +0 -3
- package/types/modules/mention/index.d.ts +0 -2
- package/types/modules/mention/mention-link.d.ts +0 -17
- package/types/modules/mention/mention.d.ts +0 -54
- package/types/modules/shortcut-key/index.d.ts +0 -72
- package/types/modules/syntax.d.ts +0 -14
- package/types/modules/table-up/index.d.ts +0 -35
- package/types/modules/toolbar/better-picker.d.ts +0 -16
- package/types/modules/toolbar/better-toolbar.d.ts +0 -8
- package/types/modules/toolbar/index.d.ts +0 -3
- package/types/modules/toolbar/toolbar-tip.d.ts +0 -10
- package/types/themes/snow.d.ts +0 -12
- package/types/tools/format-painter.d.ts +0 -14
- package/types/tools/fullscreen.d.ts +0 -7
- package/types/tools/screenshot.d.ts +0 -20
- package/types/ui/icons.config.d.ts +0 -38
- package/types/ui/icons.d.ts +0 -6
- package/types/utils/debounce.d.ts +0 -6
- package/types/utils/image.d.ts +0 -1
- package/types/utils/is.d.ts +0 -6
- package/types/utils/method.d.ts +0 -6
- package/types/utils/scroll-lock.d.ts +0 -6
- /package/{es → dist/es}/attributors/font-size.es.js +0 -0
- /package/{es → dist/es}/attributors/font-size.es.js.map +0 -0
- /package/{es → dist/es}/attributors/font-style.es.js +0 -0
- /package/{es → dist/es}/attributors/font-style.es.js.map +0 -0
- /package/{es → dist/es}/attributors/index.es.js +0 -0
- /package/{es → dist/es}/attributors/index.es.js.map +0 -0
- /package/{es → dist/es}/attributors/line-height.es.js +0 -0
- /package/{es → dist/es}/attributors/text-indent.es.js +0 -0
- /package/{es → dist/es}/attributors/text-indent.es.js.map +0 -0
- /package/{es → dist/es}/config/base64-image.es.js +0 -0
- /package/{es → dist/es}/config/editor.config.es.js +0 -0
- /package/{es → dist/es}/config/editor.utils.es.js +0 -0
- /package/{es → dist/es}/config/i18n/en-us.es.js +0 -0
- /package/{es → dist/es}/config/i18n/zh-cn.es.js +0 -0
- /package/{es → dist/es}/config/index.es.js +0 -0
- /package/{es → dist/es}/config/types/editor-config.interface.es.js +0 -0
- /package/{es → dist/es}/config/types/editor-config.interface.es.js.map +0 -0
- /package/{es → dist/es}/config/types/editor-modules.interface.es.js +0 -0
- /package/{es → dist/es}/config/types/editor-modules.interface.es.js.map +0 -0
- /package/{es → dist/es}/config/types/index.es.js +0 -0
- /package/{es → dist/es}/config/types/index.es.js.map +0 -0
- /package/{es → dist/es}/config/types/type.es.js +0 -0
- /package/{es → dist/es}/config/types/type.es.js.map +0 -0
- /package/{es → dist/es}/core/fluent-editor.es.js +0 -0
- /package/{es → dist/es}/fluent-editor.es.js +0 -0
- /package/{es → dist/es}/formats/emoji.es.js +0 -0
- /package/{es → dist/es}/formats/index.es.js +0 -0
- /package/{es → dist/es}/formats/index.es.js.map +0 -0
- /package/{es → dist/es}/formats/soft-break.es.js +0 -0
- /package/{es → dist/es}/formats/strike.es.js +0 -0
- /package/{es → dist/es}/formats/video.es.js +0 -0
- /package/{es → dist/es}/index.es.js +0 -0
- /package/{es → dist/es}/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/ai/constants.es.js +0 -0
- /package/{es → dist/es}/modules/ai/icons.es.js +0 -0
- /package/{es → dist/es}/modules/ai/index.es.js +0 -0
- /package/{es → dist/es}/modules/collaborative-editing/awareness/index.es.js +0 -0
- /package/{es → dist/es}/modules/collaborative-editing/awareness/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/collaborative-editing/index.es.js +0 -0
- /package/{es → dist/es}/modules/collaborative-editing/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/collaborative-editing/module.es.js +0 -0
- /package/{es → dist/es}/modules/collaborative-editing/provider/providerRegistry.es.js +0 -0
- /package/{es → dist/es}/modules/collaborative-editing/types.es.js +0 -0
- /package/{es → dist/es}/modules/collaborative-editing/types.es.js.map +0 -0
- /package/{es → dist/es}/modules/counter.es.js +0 -0
- /package/{es → dist/es}/modules/custom-clipboard.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/action.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/custom-resize-action.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/delete-action.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/image-toolbar-buttons.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/image-toolbar-buttons.es.js.map +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/index.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/toolbar-action.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/toolbar-action.es.js.map +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/toolbar.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/actions/toolbar.es.js.map +0 -0
- /package/{es → dist/es}/modules/custom-image/blot-formatter.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/image.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/index.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/custom-image/options.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/specs/blot-spec.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/specs/custom-image-spec.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/specs/image-spec.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/specs/index.es.js +0 -0
- /package/{es → dist/es}/modules/custom-image/specs/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/custom-uploader.es.js +0 -0
- /package/{es → dist/es}/modules/custom-uploader.es.js.map +0 -0
- /package/{es → dist/es}/modules/divider.es.js +0 -0
- /package/{es → dist/es}/modules/file/formats/file.es.js +0 -0
- /package/{es → dist/es}/modules/file/index.es.js +0 -0
- /package/{es → dist/es}/modules/file/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/file/modules/file-bar.es.js +0 -0
- /package/{es → dist/es}/modules/file/modules/file-module.es.js +0 -0
- /package/{es → dist/es}/modules/i18n.es.js +0 -0
- /package/{es → dist/es}/modules/i18n.es.js.map +0 -0
- /package/{es → dist/es}/modules/index.es.js +0 -0
- /package/{es → dist/es}/modules/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/link/formats/link.es.js +0 -0
- /package/{es → dist/es}/modules/link/index.es.js +0 -0
- /package/{es → dist/es}/modules/link/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/link/modules/tooltip.es.js +0 -0
- /package/{es → dist/es}/modules/mathlive/formats.es.js +0 -0
- /package/{es → dist/es}/modules/mathlive/index.es.js +0 -0
- /package/{es → dist/es}/modules/mathlive/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/mathlive/module.es.js +0 -0
- /package/{es → dist/es}/modules/mathlive/module.es.js.map +0 -0
- /package/{es → dist/es}/modules/mathlive/tooltip.es.js +0 -0
- /package/{es → dist/es}/modules/mention/constants.es.js +0 -0
- /package/{es → dist/es}/modules/mention/index.es.js +0 -0
- /package/{es → dist/es}/modules/mention/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/mention/mention-link.es.js +0 -0
- /package/{es → dist/es}/modules/mention/mention.es.js +0 -0
- /package/{es → dist/es}/modules/shortcut-key/index.es.js +0 -0
- /package/{es → dist/es}/modules/shortcut-key/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/syntax.es.js +0 -0
- /package/{es → dist/es}/modules/table-up/index.es.js +0 -0
- /package/{es → dist/es}/modules/table-up/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/toolbar/better-picker.es.js +0 -0
- /package/{es → dist/es}/modules/toolbar/better-toolbar.es.js +0 -0
- /package/{es → dist/es}/modules/toolbar/better-toolbar.es.js.map +0 -0
- /package/{es → dist/es}/modules/toolbar/index.es.js +0 -0
- /package/{es → dist/es}/modules/toolbar/index.es.js.map +0 -0
- /package/{es → dist/es}/modules/toolbar/toolbar-tip.es.js +0 -0
- /package/{es → dist/es}/modules/toolbar/toolbar-tip.es.js.map +0 -0
- /package/{es → dist/es}/themes/snow.es.js +0 -0
- /package/{es → dist/es}/tools/format-painter.es.js +0 -0
- /package/{es → dist/es}/tools/format-painter.es.js.map +0 -0
- /package/{es → dist/es}/tools/fullscreen.es.js +0 -0
- /package/{es → dist/es}/tools/fullscreen.es.js.map +0 -0
- /package/{es → dist/es}/tools/screenshot.es.js +0 -0
- /package/{es → dist/es}/ui/icons.config.es.js +0 -0
- /package/{es → dist/es}/ui/icons.es.js +0 -0
- /package/{es → dist/es}/utils/debounce.es.js +0 -0
- /package/{es → dist/es}/utils/image.es.js +0 -0
- /package/{es → dist/es}/utils/image.es.js.map +0 -0
- /package/{es → dist/es}/utils/is.es.js +0 -0
- /package/{es → dist/es}/utils/is.es.js.map +0 -0
- /package/{es → dist/es}/utils/method.es.js +0 -0
- /package/{es → dist/es}/utils/scroll-lock.es.js +0 -0
- /package/{es → dist/es}/utils/scroll-lock.es.js.map +0 -0
- /package/{lib → dist/lib}/attributors/font-size.cjs.js +0 -0
- /package/{lib → dist/lib}/attributors/font-size.cjs.js.map +0 -0
- /package/{lib → dist/lib}/attributors/font-style.cjs.js +0 -0
- /package/{lib → dist/lib}/attributors/font-style.cjs.js.map +0 -0
- /package/{lib → dist/lib}/attributors/index.cjs.js +0 -0
- /package/{lib → dist/lib}/attributors/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/attributors/line-height.cjs.js +0 -0
- /package/{lib → dist/lib}/attributors/text-indent.cjs.js +0 -0
- /package/{lib → dist/lib}/attributors/text-indent.cjs.js.map +0 -0
- /package/{lib → dist/lib}/config/base64-image.cjs.js +0 -0
- /package/{lib → dist/lib}/config/editor.config.cjs.js +0 -0
- /package/{lib → dist/lib}/config/editor.utils.cjs.js +0 -0
- /package/{lib → dist/lib}/config/i18n/en-us.cjs.js +0 -0
- /package/{lib → dist/lib}/config/i18n/zh-cn.cjs.js +0 -0
- /package/{lib → dist/lib}/config/index.cjs.js +0 -0
- /package/{lib → dist/lib}/config/types/editor-config.interface.cjs.js +0 -0
- /package/{lib → dist/lib}/config/types/editor-config.interface.cjs.js.map +0 -0
- /package/{lib → dist/lib}/config/types/editor-modules.interface.cjs.js +0 -0
- /package/{lib → dist/lib}/config/types/editor-modules.interface.cjs.js.map +0 -0
- /package/{lib → dist/lib}/config/types/index.cjs.js +0 -0
- /package/{lib → dist/lib}/config/types/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/config/types/type.cjs.js +0 -0
- /package/{lib → dist/lib}/config/types/type.cjs.js.map +0 -0
- /package/{lib → dist/lib}/core/fluent-editor.cjs.js +0 -0
- /package/{lib → dist/lib}/fluent-editor.cjs.js +0 -0
- /package/{lib → dist/lib}/formats/emoji.cjs.js +0 -0
- /package/{lib → dist/lib}/formats/index.cjs.js +0 -0
- /package/{lib → dist/lib}/formats/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/formats/soft-break.cjs.js +0 -0
- /package/{lib → dist/lib}/formats/strike.cjs.js +0 -0
- /package/{lib → dist/lib}/formats/video.cjs.js +0 -0
- /package/{lib → dist/lib}/index.cjs.js +0 -0
- /package/{lib → dist/lib}/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/ai/constants.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/ai/icons.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/ai/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/collaborative-editing/awareness/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/collaborative-editing/awareness/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/collaborative-editing/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/collaborative-editing/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/collaborative-editing/module.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/collaborative-editing/provider/providerRegistry.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/collaborative-editing/types.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/collaborative-editing/types.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/counter.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-clipboard.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/action.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/custom-resize-action.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/delete-action.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/image-toolbar-buttons.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/image-toolbar-buttons.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/toolbar-action.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/toolbar-action.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/toolbar.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/actions/toolbar.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/custom-image/blot-formatter.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/image.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/custom-image/options.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/specs/blot-spec.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/specs/custom-image-spec.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/specs/image-spec.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/specs/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-image/specs/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/custom-uploader.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/custom-uploader.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/divider.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/file/formats/file.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/file/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/file/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/file/modules/file-bar.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/file/modules/file-module.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/i18n.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/i18n.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/link/formats/link.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/link/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/link/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/link/modules/tooltip.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/mathlive/formats.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/mathlive/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/mathlive/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/mathlive/module.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/mathlive/module.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/mathlive/tooltip.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/mention/constants.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/mention/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/mention/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/mention/mention-link.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/mention/mention.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/shortcut-key/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/shortcut-key/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/syntax.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/table-up/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/table-up/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/toolbar/better-picker.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/toolbar/better-toolbar.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/toolbar/better-toolbar.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/toolbar/index.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/toolbar/index.cjs.js.map +0 -0
- /package/{lib → dist/lib}/modules/toolbar/toolbar-tip.cjs.js +0 -0
- /package/{lib → dist/lib}/modules/toolbar/toolbar-tip.cjs.js.map +0 -0
- /package/{lib → dist/lib}/themes/snow.cjs.js +0 -0
- /package/{lib → dist/lib}/tools/format-painter.cjs.js +0 -0
- /package/{lib → dist/lib}/tools/format-painter.cjs.js.map +0 -0
- /package/{lib → dist/lib}/tools/fullscreen.cjs.js +0 -0
- /package/{lib → dist/lib}/tools/fullscreen.cjs.js.map +0 -0
- /package/{lib → dist/lib}/tools/screenshot.cjs.js +0 -0
- /package/{lib → dist/lib}/ui/icons.cjs.js +0 -0
- /package/{lib → dist/lib}/ui/icons.config.cjs.js +0 -0
- /package/{lib → dist/lib}/utils/debounce.cjs.js +0 -0
- /package/{lib → dist/lib}/utils/image.cjs.js +0 -0
- /package/{lib → dist/lib}/utils/image.cjs.js.map +0 -0
- /package/{lib → dist/lib}/utils/is.cjs.js +0 -0
- /package/{lib → dist/lib}/utils/is.cjs.js.map +0 -0
- /package/{lib → dist/lib}/utils/method.cjs.js +0 -0
- /package/{lib → dist/lib}/utils/scroll-lock.cjs.js +0 -0
- /package/{lib → dist/lib}/utils/scroll-lock.cjs.js.map +0 -0
- /package/{style.css → dist/style.css} +0 -0
|
@@ -1,1796 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const _commonjsHelpers = require("../../../../../../_virtual/_commonjsHelpers.cjs.js");
|
|
4
|
-
const quillCursors$1 = require("../../../../../../_virtual/quill-cursors.cjs.js");
|
|
5
|
-
/*! For license information please see quill-cursors.js.LICENSE.txt */
|
|
6
|
-
var quillCursors = quillCursors$1.__module.exports;
|
|
7
|
-
(function(module2, exports2) {
|
|
8
|
-
!function(t, e) {
|
|
9
|
-
true ? module2.exports = e() : false ? (void 0)([], e) : true ? exports2.QuillCursors = e() : t.QuillCursors = e();
|
|
10
|
-
}(self, () => (() => {
|
|
11
|
-
var t = { 582: (t2, e2, n2) => {
|
|
12
|
-
"use strict";
|
|
13
|
-
n2.d(e2, { Z: () => a });
|
|
14
|
-
var r2 = n2(81), i = n2.n(r2), o = n2(645), s = n2.n(o)()(i());
|
|
15
|
-
s.push([t2.id, ".ql-container{position:relative;overflow:hidden}@media(pointer: coarse){.ql-cursor-caret-container{z-index:-1}}.ql-cursor.hidden{display:none}.ql-cursor .ql-cursor-caret-container,.ql-cursor .ql-cursor-flag{position:absolute}.ql-cursor .ql-cursor-flag{z-index:1;transform:translate3d(-1px, -100%, 0);opacity:0;visibility:hidden;color:#fff;padding-bottom:2px;border-radius:0 3px 3px 0}.ql-cursor .ql-cursor-flag.flag-flipped{border-radius:3px 0 0 3px;transform:translate3d(calc(-100% + 1px ), -100%, 0)}@media screen{.ql-cursor .ql-cursor-flag{transition:opacity 0ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms,visibility 0ms cubic-bezier(0.25, 0.46, 0.45, 0.94) 0ms}}.ql-cursor .ql-cursor-flag .ql-cursor-name{margin-left:5px;margin-right:5px;display:inline-block;margin-top:-2px;white-space:nowrap}.ql-cursor .ql-cursor-flag.no-delay[style]{transition-delay:unset !important}.ql-cursor .ql-cursor-caret-container{cursor:text;margin-left:-9px;padding:0 9px}.ql-cursor .ql-cursor-caret-container.hover+.ql-cursor-flag{opacity:1;visibility:visible;transition:none}.ql-cursor .ql-cursor-caret-container.no-pointer{pointer-events:none}.ql-cursor .ql-cursor-caret-container .ql-cursor-caret{position:absolute;top:0;bottom:0;width:2px;margin-left:-1px;background-color:attr(data-color)}.ql-cursor .ql-cursor-selection-block{position:absolute;pointer-events:none}", ""]);
|
|
16
|
-
const a = s;
|
|
17
|
-
}, 645: (t2) => {
|
|
18
|
-
"use strict";
|
|
19
|
-
t2.exports = function(t3) {
|
|
20
|
-
var e2 = [];
|
|
21
|
-
return e2.toString = function() {
|
|
22
|
-
return this.map(function(e3) {
|
|
23
|
-
var n2 = "", r2 = void 0 !== e3[5];
|
|
24
|
-
return e3[4] && (n2 += "@supports (".concat(e3[4], ") {")), e3[2] && (n2 += "@media ".concat(e3[2], " {")), r2 && (n2 += "@layer".concat(e3[5].length > 0 ? " ".concat(e3[5]) : "", " {")), n2 += t3(e3), r2 && (n2 += "}"), e3[2] && (n2 += "}"), e3[4] && (n2 += "}"), n2;
|
|
25
|
-
}).join("");
|
|
26
|
-
}, e2.i = function(t4, n2, r2, i, o) {
|
|
27
|
-
"string" == typeof t4 && (t4 = [[null, t4, void 0]]);
|
|
28
|
-
var s = {};
|
|
29
|
-
if (r2) for (var a = 0; a < this.length; a++) {
|
|
30
|
-
var u = this[a][0];
|
|
31
|
-
null != u && (s[u] = true);
|
|
32
|
-
}
|
|
33
|
-
for (var c = 0; c < t4.length; c++) {
|
|
34
|
-
var l = [].concat(t4[c]);
|
|
35
|
-
r2 && s[l[0]] || (void 0 !== o && (void 0 === l[5] || (l[1] = "@layer".concat(l[5].length > 0 ? " ".concat(l[5]) : "", " {").concat(l[1], "}")), l[5] = o), n2 && (l[2] ? (l[1] = "@media ".concat(l[2], " {").concat(l[1], "}"), l[2] = n2) : l[2] = n2), i && (l[4] ? (l[1] = "@supports (".concat(l[4], ") {").concat(l[1], "}"), l[4] = i) : l[4] = "".concat(i)), e2.push(l));
|
|
36
|
-
}
|
|
37
|
-
}, e2;
|
|
38
|
-
};
|
|
39
|
-
}, 81: (t2) => {
|
|
40
|
-
"use strict";
|
|
41
|
-
t2.exports = function(t3) {
|
|
42
|
-
return t3[1];
|
|
43
|
-
};
|
|
44
|
-
}, 529: (t2) => {
|
|
45
|
-
var e2 = -1;
|
|
46
|
-
function n2(t3, a2, u2, c2) {
|
|
47
|
-
if (t3 === a2) return t3 ? [[0, t3]] : [];
|
|
48
|
-
if (null != u2) {
|
|
49
|
-
var l2 = function(t4, e3, n3) {
|
|
50
|
-
var r3 = "number" == typeof n3 ? { index: n3, length: 0 } : n3.oldRange, i2 = "number" == typeof n3 ? null : n3.newRange, o2 = t4.length, s2 = e3.length;
|
|
51
|
-
if (0 === r3.length && (null === i2 || 0 === i2.length)) {
|
|
52
|
-
var a3 = r3.index, u3 = t4.slice(0, a3), c3 = t4.slice(a3), l3 = i2 ? i2.index : null, h3 = a3 + s2 - o2;
|
|
53
|
-
if ((null === l3 || l3 === h3) && !(h3 < 0 || h3 > s2)) {
|
|
54
|
-
var p2 = e3.slice(0, h3);
|
|
55
|
-
if ((v = e3.slice(h3)) === c3) {
|
|
56
|
-
var d2 = Math.min(a3, h3);
|
|
57
|
-
if ((y = u3.slice(0, d2)) === (m = p2.slice(0, d2))) return f(y, u3.slice(d2), p2.slice(d2), c3);
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
if (null === l3 || l3 === a3) {
|
|
61
|
-
var g2 = a3, v = (p2 = e3.slice(0, g2), e3.slice(g2));
|
|
62
|
-
if (p2 === u3) {
|
|
63
|
-
var _ = Math.min(o2 - g2, s2 - g2);
|
|
64
|
-
if ((b = c3.slice(c3.length - _)) === (C = v.slice(v.length - _))) return f(u3, c3.slice(0, c3.length - _), v.slice(0, v.length - _), b);
|
|
65
|
-
}
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
if (r3.length > 0 && i2 && 0 === i2.length) {
|
|
69
|
-
var y = t4.slice(0, r3.index), b = t4.slice(r3.index + r3.length);
|
|
70
|
-
if (!(s2 < (d2 = y.length) + (_ = b.length))) {
|
|
71
|
-
var m = e3.slice(0, d2), C = e3.slice(s2 - _);
|
|
72
|
-
if (y === m && b === C) return f(y, t4.slice(d2, o2 - _), e3.slice(d2, s2 - _), b);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
return null;
|
|
76
|
-
}(t3, a2, u2);
|
|
77
|
-
if (l2) return l2;
|
|
78
|
-
}
|
|
79
|
-
var h2 = i(t3, a2), p = t3.substring(0, h2);
|
|
80
|
-
h2 = o(t3 = t3.substring(h2), a2 = a2.substring(h2));
|
|
81
|
-
var d = t3.substring(t3.length - h2), g = function(t4, s2) {
|
|
82
|
-
var a3;
|
|
83
|
-
if (!t4) return [[1, s2]];
|
|
84
|
-
if (!s2) return [[e2, t4]];
|
|
85
|
-
var u3 = t4.length > s2.length ? t4 : s2, c3 = t4.length > s2.length ? s2 : t4, l3 = u3.indexOf(c3);
|
|
86
|
-
if (-1 !== l3) return a3 = [[1, u3.substring(0, l3)], [0, c3], [1, u3.substring(l3 + c3.length)]], t4.length > s2.length && (a3[0][0] = a3[2][0] = e2), a3;
|
|
87
|
-
if (1 === c3.length) return [[e2, t4], [1, s2]];
|
|
88
|
-
var f2 = function(t5, e3) {
|
|
89
|
-
var n3 = t5.length > e3.length ? t5 : e3, r3 = t5.length > e3.length ? e3 : t5;
|
|
90
|
-
if (n3.length < 4 || 2 * r3.length < n3.length) return null;
|
|
91
|
-
function s3(t6, e4, n4) {
|
|
92
|
-
for (var r4, s4, a5, u5, c5 = t6.substring(n4, n4 + Math.floor(t6.length / 4)), l5 = -1, f4 = ""; -1 !== (l5 = e4.indexOf(c5, l5 + 1)); ) {
|
|
93
|
-
var h5 = i(t6.substring(n4), e4.substring(l5)), p4 = o(t6.substring(0, n4), e4.substring(0, l5));
|
|
94
|
-
f4.length < p4 + h5 && (f4 = e4.substring(l5 - p4, l5) + e4.substring(l5, l5 + h5), r4 = t6.substring(0, n4 - p4), s4 = t6.substring(n4 + h5), a5 = e4.substring(0, l5 - p4), u5 = e4.substring(l5 + h5));
|
|
95
|
-
}
|
|
96
|
-
return 2 * f4.length >= t6.length ? [r4, s4, a5, u5, f4] : null;
|
|
97
|
-
}
|
|
98
|
-
var a4, u4, c4, l4, f3, h4 = s3(n3, r3, Math.ceil(n3.length / 4)), p3 = s3(n3, r3, Math.ceil(n3.length / 2));
|
|
99
|
-
return h4 || p3 ? (a4 = p3 ? h4 && h4[4].length > p3[4].length ? h4 : p3 : h4, t5.length > e3.length ? (u4 = a4[0], c4 = a4[1], l4 = a4[2], f3 = a4[3]) : (l4 = a4[0], f3 = a4[1], u4 = a4[2], c4 = a4[3]), [u4, c4, l4, f3, a4[4]]) : null;
|
|
100
|
-
}(t4, s2);
|
|
101
|
-
if (f2) {
|
|
102
|
-
var h3 = f2[0], p2 = f2[1], d2 = f2[2], g2 = f2[3], v = f2[4], _ = n2(h3, d2), y = n2(p2, g2);
|
|
103
|
-
return _.concat([[0, v]], y);
|
|
104
|
-
}
|
|
105
|
-
return function(t5, n3) {
|
|
106
|
-
for (var i2 = t5.length, o2 = n3.length, s3 = Math.ceil((i2 + o2) / 2), a4 = s3, u4 = 2 * s3, c4 = new Array(u4), l4 = new Array(u4), f3 = 0; f3 < u4; f3++) c4[f3] = -1, l4[f3] = -1;
|
|
107
|
-
c4[a4 + 1] = 0, l4[a4 + 1] = 0;
|
|
108
|
-
for (var h4 = i2 - o2, p3 = h4 % 2 != 0, d3 = 0, g3 = 0, v2 = 0, _2 = 0, y2 = 0; y2 < s3; y2++) {
|
|
109
|
-
for (var b = -y2 + d3; b <= y2 - g3; b += 2) {
|
|
110
|
-
for (var m = a4 + b, C = (S = b === -y2 || b !== y2 && c4[m - 1] < c4[m + 1] ? c4[m + 1] : c4[m - 1] + 1) - b; S < i2 && C < o2 && t5.charAt(S) === n3.charAt(C); ) S++, C++;
|
|
111
|
-
if (c4[m] = S, S > i2) g3 += 2;
|
|
112
|
-
else if (C > o2) d3 += 2;
|
|
113
|
-
else if (p3 && (O = a4 + h4 - b) >= 0 && O < u4 && -1 !== l4[O] && S >= (A = i2 - l4[O])) return r2(t5, n3, S, C);
|
|
114
|
-
}
|
|
115
|
-
for (var E = -y2 + v2; E <= y2 - _2; E += 2) {
|
|
116
|
-
for (var A, O = a4 + E, w = (A = E === -y2 || E !== y2 && l4[O - 1] < l4[O + 1] ? l4[O + 1] : l4[O - 1] + 1) - E; A < i2 && w < o2 && t5.charAt(i2 - A - 1) === n3.charAt(o2 - w - 1); ) A++, w++;
|
|
117
|
-
if (l4[O] = A, A > i2) _2 += 2;
|
|
118
|
-
else if (w > o2) v2 += 2;
|
|
119
|
-
else if (!p3) {
|
|
120
|
-
var S;
|
|
121
|
-
if ((m = a4 + h4 - E) >= 0 && m < u4 && -1 !== c4[m]) {
|
|
122
|
-
if (C = a4 + (S = c4[m]) - m, S >= (A = i2 - A)) return r2(t5, n3, S, C);
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
return [[e2, t5], [1, n3]];
|
|
128
|
-
}(t4, s2);
|
|
129
|
-
}(t3 = t3.substring(0, t3.length - h2), a2 = a2.substring(0, a2.length - h2));
|
|
130
|
-
return p && g.unshift([0, p]), d && g.push([0, d]), s(g, c2), g;
|
|
131
|
-
}
|
|
132
|
-
function r2(t3, e3, r3, i2) {
|
|
133
|
-
var o2 = t3.substring(0, r3), s2 = e3.substring(0, i2), a2 = t3.substring(r3), u2 = e3.substring(i2), c2 = n2(o2, s2), l2 = n2(a2, u2);
|
|
134
|
-
return c2.concat(l2);
|
|
135
|
-
}
|
|
136
|
-
function i(t3, e3) {
|
|
137
|
-
if (!t3 || !e3 || t3.charAt(0) !== e3.charAt(0)) return 0;
|
|
138
|
-
for (var n3 = 0, r3 = Math.min(t3.length, e3.length), i2 = r3, o2 = 0; n3 < i2; ) t3.substring(o2, i2) == e3.substring(o2, i2) ? o2 = n3 = i2 : r3 = i2, i2 = Math.floor((r3 - n3) / 2 + n3);
|
|
139
|
-
return a(t3.charCodeAt(i2 - 1)) && i2--, i2;
|
|
140
|
-
}
|
|
141
|
-
function o(t3, e3) {
|
|
142
|
-
if (!t3 || !e3 || t3.slice(-1) !== e3.slice(-1)) return 0;
|
|
143
|
-
for (var n3 = 0, r3 = Math.min(t3.length, e3.length), i2 = r3, o2 = 0; n3 < i2; ) t3.substring(t3.length - i2, t3.length - o2) == e3.substring(e3.length - i2, e3.length - o2) ? o2 = n3 = i2 : r3 = i2, i2 = Math.floor((r3 - n3) / 2 + n3);
|
|
144
|
-
return u(t3.charCodeAt(t3.length - i2)) && i2--, i2;
|
|
145
|
-
}
|
|
146
|
-
function s(t3, n3) {
|
|
147
|
-
t3.push([0, ""]);
|
|
148
|
-
for (var r3, a2 = 0, u2 = 0, f2 = 0, h2 = "", p = ""; a2 < t3.length; ) if (a2 < t3.length - 1 && !t3[a2][1]) t3.splice(a2, 1);
|
|
149
|
-
else switch (t3[a2][0]) {
|
|
150
|
-
case 1:
|
|
151
|
-
f2++, p += t3[a2][1], a2++;
|
|
152
|
-
break;
|
|
153
|
-
case e2:
|
|
154
|
-
u2++, h2 += t3[a2][1], a2++;
|
|
155
|
-
break;
|
|
156
|
-
case 0:
|
|
157
|
-
var d = a2 - f2 - u2 - 1;
|
|
158
|
-
if (n3) {
|
|
159
|
-
if (d >= 0 && l(t3[d][1])) {
|
|
160
|
-
var g = t3[d][1].slice(-1);
|
|
161
|
-
if (t3[d][1] = t3[d][1].slice(0, -1), h2 = g + h2, p = g + p, !t3[d][1]) {
|
|
162
|
-
t3.splice(d, 1), a2--;
|
|
163
|
-
var v = d - 1;
|
|
164
|
-
t3[v] && 1 === t3[v][0] && (f2++, p = t3[v][1] + p, v--), t3[v] && t3[v][0] === e2 && (u2++, h2 = t3[v][1] + h2, v--), d = v;
|
|
165
|
-
}
|
|
166
|
-
}
|
|
167
|
-
c(t3[a2][1]) && (g = t3[a2][1].charAt(0), t3[a2][1] = t3[a2][1].slice(1), h2 += g, p += g);
|
|
168
|
-
}
|
|
169
|
-
if (a2 < t3.length - 1 && !t3[a2][1]) {
|
|
170
|
-
t3.splice(a2, 1);
|
|
171
|
-
break;
|
|
172
|
-
}
|
|
173
|
-
if (h2.length > 0 || p.length > 0) {
|
|
174
|
-
h2.length > 0 && p.length > 0 && (0 !== (r3 = i(p, h2)) && (d >= 0 ? t3[d][1] += p.substring(0, r3) : (t3.splice(0, 0, [0, p.substring(0, r3)]), a2++), p = p.substring(r3), h2 = h2.substring(r3)), 0 !== (r3 = o(p, h2)) && (t3[a2][1] = p.substring(p.length - r3) + t3[a2][1], p = p.substring(0, p.length - r3), h2 = h2.substring(0, h2.length - r3)));
|
|
175
|
-
var _ = f2 + u2;
|
|
176
|
-
0 === h2.length && 0 === p.length ? (t3.splice(a2 - _, _), a2 -= _) : 0 === h2.length ? (t3.splice(a2 - _, _, [1, p]), a2 = a2 - _ + 1) : 0 === p.length ? (t3.splice(a2 - _, _, [e2, h2]), a2 = a2 - _ + 1) : (t3.splice(a2 - _, _, [e2, h2], [1, p]), a2 = a2 - _ + 2);
|
|
177
|
-
}
|
|
178
|
-
0 !== a2 && 0 === t3[a2 - 1][0] ? (t3[a2 - 1][1] += t3[a2][1], t3.splice(a2, 1)) : a2++, f2 = 0, u2 = 0, h2 = "", p = "";
|
|
179
|
-
}
|
|
180
|
-
"" === t3[t3.length - 1][1] && t3.pop();
|
|
181
|
-
var y = false;
|
|
182
|
-
for (a2 = 1; a2 < t3.length - 1; ) 0 === t3[a2 - 1][0] && 0 === t3[a2 + 1][0] && (t3[a2][1].substring(t3[a2][1].length - t3[a2 - 1][1].length) === t3[a2 - 1][1] ? (t3[a2][1] = t3[a2 - 1][1] + t3[a2][1].substring(0, t3[a2][1].length - t3[a2 - 1][1].length), t3[a2 + 1][1] = t3[a2 - 1][1] + t3[a2 + 1][1], t3.splice(a2 - 1, 1), y = true) : t3[a2][1].substring(0, t3[a2 + 1][1].length) == t3[a2 + 1][1] && (t3[a2 - 1][1] += t3[a2 + 1][1], t3[a2][1] = t3[a2][1].substring(t3[a2 + 1][1].length) + t3[a2 + 1][1], t3.splice(a2 + 1, 1), y = true)), a2++;
|
|
183
|
-
y && s(t3, n3);
|
|
184
|
-
}
|
|
185
|
-
function a(t3) {
|
|
186
|
-
return t3 >= 55296 && t3 <= 56319;
|
|
187
|
-
}
|
|
188
|
-
function u(t3) {
|
|
189
|
-
return t3 >= 56320 && t3 <= 57343;
|
|
190
|
-
}
|
|
191
|
-
function c(t3) {
|
|
192
|
-
return u(t3.charCodeAt(0));
|
|
193
|
-
}
|
|
194
|
-
function l(t3) {
|
|
195
|
-
return a(t3.charCodeAt(t3.length - 1));
|
|
196
|
-
}
|
|
197
|
-
function f(t3, n3, r3, i2) {
|
|
198
|
-
return l(t3) || c(i2) ? null : function(t4) {
|
|
199
|
-
for (var e3 = [], n4 = 0; n4 < t4.length; n4++) t4[n4][1].length > 0 && e3.push(t4[n4]);
|
|
200
|
-
return e3;
|
|
201
|
-
}([[0, t3], [e2, n3], [1, r3], [0, i2]]);
|
|
202
|
-
}
|
|
203
|
-
function h(t3, e3, r3) {
|
|
204
|
-
return n2(t3, e3, r3, true);
|
|
205
|
-
}
|
|
206
|
-
h.INSERT = 1, h.DELETE = e2, h.EQUAL = 0, t2.exports = h;
|
|
207
|
-
}, 465: (t2, e2, n2) => {
|
|
208
|
-
t2 = n2.nmd(t2);
|
|
209
|
-
var r2 = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", s = "[object Boolean]", a = "[object Date]", u = "[object Function]", c = "[object GeneratorFunction]", l = "[object Map]", f = "[object Number]", h = "[object Object]", p = "[object Promise]", d = "[object RegExp]", g = "[object Set]", v = "[object String]", _ = "[object Symbol]", y = "[object WeakMap]", b = "[object ArrayBuffer]", m = "[object DataView]", C = "[object Float32Array]", E = "[object Float64Array]", A = "[object Int8Array]", O = "[object Int16Array]", w = "[object Int32Array]", S = "[object Uint8Array]", j = "[object Uint8ClampedArray]", x = "[object Uint16Array]", L = "[object Uint32Array]", T = /\w*$/, M = /^\[object .+?Constructor\]$/, N = /^(?:0|[1-9]\d*)$/, R = {};
|
|
210
|
-
R[o] = R["[object Array]"] = R[b] = R[m] = R[s] = R[a] = R[C] = R[E] = R[A] = R[O] = R[w] = R[l] = R[f] = R[h] = R[d] = R[g] = R[v] = R[_] = R[S] = R[j] = R[x] = R[L] = true, R["[object Error]"] = R[u] = R[y] = false;
|
|
211
|
-
var k = "object" == typeof n2.g && n2.g && n2.g.Object === Object && n2.g, D = "object" == typeof self && self && self.Object === Object && self, q = k || D || Function("return this")(), I = e2 && !e2.nodeType && e2, B = I && t2 && !t2.nodeType && t2, P = B && B.exports === I;
|
|
212
|
-
function F(t3, e3) {
|
|
213
|
-
return t3.set(e3[0], e3[1]), t3;
|
|
214
|
-
}
|
|
215
|
-
function z(t3, e3) {
|
|
216
|
-
return t3.add(e3), t3;
|
|
217
|
-
}
|
|
218
|
-
function U(t3, e3, n3, r3) {
|
|
219
|
-
var i2 = -1, o2 = t3 ? t3.length : 0;
|
|
220
|
-
for (r3 && o2 && (n3 = t3[++i2]); ++i2 < o2; ) n3 = e3(n3, t3[i2], i2, t3);
|
|
221
|
-
return n3;
|
|
222
|
-
}
|
|
223
|
-
function G(t3) {
|
|
224
|
-
var e3 = false;
|
|
225
|
-
if (null != t3 && "function" != typeof t3.toString) try {
|
|
226
|
-
e3 = !!(t3 + "");
|
|
227
|
-
} catch (t4) {
|
|
228
|
-
}
|
|
229
|
-
return e3;
|
|
230
|
-
}
|
|
231
|
-
function H(t3) {
|
|
232
|
-
var e3 = -1, n3 = Array(t3.size);
|
|
233
|
-
return t3.forEach(function(t4, r3) {
|
|
234
|
-
n3[++e3] = [r3, t4];
|
|
235
|
-
}), n3;
|
|
236
|
-
}
|
|
237
|
-
function $(t3, e3) {
|
|
238
|
-
return function(n3) {
|
|
239
|
-
return t3(e3(n3));
|
|
240
|
-
};
|
|
241
|
-
}
|
|
242
|
-
function V(t3) {
|
|
243
|
-
var e3 = -1, n3 = Array(t3.size);
|
|
244
|
-
return t3.forEach(function(t4) {
|
|
245
|
-
n3[++e3] = t4;
|
|
246
|
-
}), n3;
|
|
247
|
-
}
|
|
248
|
-
var W, X = Array.prototype, Q = Function.prototype, Z = Object.prototype, Y = q["__core-js_shared__"], K = (W = /[^.]+$/.exec(Y && Y.keys && Y.keys.IE_PROTO || "")) ? "Symbol(src)_1." + W : "", J = Q.toString, tt = Z.hasOwnProperty, et = Z.toString, nt = RegExp("^" + J.call(tt).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), rt = P ? q.Buffer : void 0, it = q.Symbol, ot = q.Uint8Array, st = $(Object.getPrototypeOf, Object), at = Object.create, ut = Z.propertyIsEnumerable, ct = X.splice, lt = Object.getOwnPropertySymbols, ft = rt ? rt.isBuffer : void 0, ht = $(Object.keys, Object), pt = qt(q, "DataView"), dt = qt(q, "Map"), gt = qt(q, "Promise"), vt = qt(q, "Set"), _t = qt(q, "WeakMap"), yt = qt(Object, "create"), bt = zt(pt), mt = zt(dt), Ct = zt(gt), Et = zt(vt), At = zt(_t), Ot = it ? it.prototype : void 0, wt = Ot ? Ot.valueOf : void 0;
|
|
249
|
-
function St(t3) {
|
|
250
|
-
var e3 = -1, n3 = t3 ? t3.length : 0;
|
|
251
|
-
for (this.clear(); ++e3 < n3; ) {
|
|
252
|
-
var r3 = t3[e3];
|
|
253
|
-
this.set(r3[0], r3[1]);
|
|
254
|
-
}
|
|
255
|
-
}
|
|
256
|
-
function jt(t3) {
|
|
257
|
-
var e3 = -1, n3 = t3 ? t3.length : 0;
|
|
258
|
-
for (this.clear(); ++e3 < n3; ) {
|
|
259
|
-
var r3 = t3[e3];
|
|
260
|
-
this.set(r3[0], r3[1]);
|
|
261
|
-
}
|
|
262
|
-
}
|
|
263
|
-
function xt(t3) {
|
|
264
|
-
var e3 = -1, n3 = t3 ? t3.length : 0;
|
|
265
|
-
for (this.clear(); ++e3 < n3; ) {
|
|
266
|
-
var r3 = t3[e3];
|
|
267
|
-
this.set(r3[0], r3[1]);
|
|
268
|
-
}
|
|
269
|
-
}
|
|
270
|
-
function Lt(t3) {
|
|
271
|
-
this.__data__ = new jt(t3);
|
|
272
|
-
}
|
|
273
|
-
function Tt(t3, e3, n3) {
|
|
274
|
-
var r3 = t3[e3];
|
|
275
|
-
tt.call(t3, e3) && Ut(r3, n3) && (void 0 !== n3 || e3 in t3) || (t3[e3] = n3);
|
|
276
|
-
}
|
|
277
|
-
function Mt(t3, e3) {
|
|
278
|
-
for (var n3 = t3.length; n3--; ) if (Ut(t3[n3][0], e3)) return n3;
|
|
279
|
-
return -1;
|
|
280
|
-
}
|
|
281
|
-
function Nt(t3, e3, n3, r3, i2, p2, y2) {
|
|
282
|
-
var M2;
|
|
283
|
-
if (r3 && (M2 = p2 ? r3(t3, i2, p2, y2) : r3(t3)), void 0 !== M2) return M2;
|
|
284
|
-
if (!Wt(t3)) return t3;
|
|
285
|
-
var N2 = Gt(t3);
|
|
286
|
-
if (N2) {
|
|
287
|
-
if (M2 = function(t4) {
|
|
288
|
-
var e4 = t4.length, n4 = t4.constructor(e4);
|
|
289
|
-
return e4 && "string" == typeof t4[0] && tt.call(t4, "index") && (n4.index = t4.index, n4.input = t4.input), n4;
|
|
290
|
-
}(t3), !e3) return function(t4, e4) {
|
|
291
|
-
var n4 = -1, r4 = t4.length;
|
|
292
|
-
for (e4 || (e4 = Array(r4)); ++n4 < r4; ) e4[n4] = t4[n4];
|
|
293
|
-
return e4;
|
|
294
|
-
}(t3, M2);
|
|
295
|
-
} else {
|
|
296
|
-
var k2 = Bt(t3), D2 = k2 == u || k2 == c;
|
|
297
|
-
if ($t(t3)) return function(t4, e4) {
|
|
298
|
-
if (e4) return t4.slice();
|
|
299
|
-
var n4 = new t4.constructor(t4.length);
|
|
300
|
-
return t4.copy(n4), n4;
|
|
301
|
-
}(t3, e3);
|
|
302
|
-
if (k2 == h || k2 == o || D2 && !p2) {
|
|
303
|
-
if (G(t3)) return p2 ? t3 : {};
|
|
304
|
-
if (M2 = function(t4) {
|
|
305
|
-
return "function" != typeof t4.constructor || Ft(t4) ? {} : Wt(e4 = st(t4)) ? at(e4) : {};
|
|
306
|
-
var e4;
|
|
307
|
-
}(D2 ? {} : t3), !e3) return function(t4, e4) {
|
|
308
|
-
return kt(t4, It(t4), e4);
|
|
309
|
-
}(t3, function(t4, e4) {
|
|
310
|
-
return t4 && kt(e4, Xt(e4), t4);
|
|
311
|
-
}(M2, t3));
|
|
312
|
-
} else {
|
|
313
|
-
if (!R[k2]) return p2 ? t3 : {};
|
|
314
|
-
M2 = function(t4, e4, n4, r4) {
|
|
315
|
-
var i3, o2 = t4.constructor;
|
|
316
|
-
switch (e4) {
|
|
317
|
-
case b:
|
|
318
|
-
return Rt(t4);
|
|
319
|
-
case s:
|
|
320
|
-
case a:
|
|
321
|
-
return new o2(+t4);
|
|
322
|
-
case m:
|
|
323
|
-
return function(t5, e5) {
|
|
324
|
-
var n5 = e5 ? Rt(t5.buffer) : t5.buffer;
|
|
325
|
-
return new t5.constructor(n5, t5.byteOffset, t5.byteLength);
|
|
326
|
-
}(t4, r4);
|
|
327
|
-
case C:
|
|
328
|
-
case E:
|
|
329
|
-
case A:
|
|
330
|
-
case O:
|
|
331
|
-
case w:
|
|
332
|
-
case S:
|
|
333
|
-
case j:
|
|
334
|
-
case x:
|
|
335
|
-
case L:
|
|
336
|
-
return function(t5, e5) {
|
|
337
|
-
var n5 = e5 ? Rt(t5.buffer) : t5.buffer;
|
|
338
|
-
return new t5.constructor(n5, t5.byteOffset, t5.length);
|
|
339
|
-
}(t4, r4);
|
|
340
|
-
case l:
|
|
341
|
-
return function(t5, e5, n5) {
|
|
342
|
-
return U(e5 ? n5(H(t5), true) : H(t5), F, new t5.constructor());
|
|
343
|
-
}(t4, r4, n4);
|
|
344
|
-
case f:
|
|
345
|
-
case v:
|
|
346
|
-
return new o2(t4);
|
|
347
|
-
case d:
|
|
348
|
-
return function(t5) {
|
|
349
|
-
var e5 = new t5.constructor(t5.source, T.exec(t5));
|
|
350
|
-
return e5.lastIndex = t5.lastIndex, e5;
|
|
351
|
-
}(t4);
|
|
352
|
-
case g:
|
|
353
|
-
return function(t5, e5, n5) {
|
|
354
|
-
return U(e5 ? n5(V(t5), true) : V(t5), z, new t5.constructor());
|
|
355
|
-
}(t4, r4, n4);
|
|
356
|
-
case _:
|
|
357
|
-
return i3 = t4, wt ? Object(wt.call(i3)) : {};
|
|
358
|
-
}
|
|
359
|
-
}(t3, k2, Nt, e3);
|
|
360
|
-
}
|
|
361
|
-
}
|
|
362
|
-
y2 || (y2 = new Lt());
|
|
363
|
-
var q2 = y2.get(t3);
|
|
364
|
-
if (q2) return q2;
|
|
365
|
-
if (y2.set(t3, M2), !N2) var I2 = n3 ? function(t4) {
|
|
366
|
-
return function(t5, e4, n4) {
|
|
367
|
-
var r4 = e4(t5);
|
|
368
|
-
return Gt(t5) ? r4 : function(t6, e5) {
|
|
369
|
-
for (var n5 = -1, r5 = e5.length, i3 = t6.length; ++n5 < r5; ) t6[i3 + n5] = e5[n5];
|
|
370
|
-
return t6;
|
|
371
|
-
}(r4, n4(t5));
|
|
372
|
-
}(t4, Xt, It);
|
|
373
|
-
}(t3) : Xt(t3);
|
|
374
|
-
return function(t4, e4) {
|
|
375
|
-
for (var n4 = -1, r4 = t4 ? t4.length : 0; ++n4 < r4 && false !== e4(t4[n4], n4); ) ;
|
|
376
|
-
}(I2 || t3, function(i3, o2) {
|
|
377
|
-
I2 && (i3 = t3[o2 = i3]), Tt(M2, o2, Nt(i3, e3, n3, r3, o2, t3, y2));
|
|
378
|
-
}), M2;
|
|
379
|
-
}
|
|
380
|
-
function Rt(t3) {
|
|
381
|
-
var e3 = new t3.constructor(t3.byteLength);
|
|
382
|
-
return new ot(e3).set(new ot(t3)), e3;
|
|
383
|
-
}
|
|
384
|
-
function kt(t3, e3, n3, r3) {
|
|
385
|
-
n3 || (n3 = {});
|
|
386
|
-
for (var i2 = -1, o2 = e3.length; ++i2 < o2; ) {
|
|
387
|
-
var s2 = e3[i2], a2 = r3 ? r3(n3[s2], t3[s2], s2, n3, t3) : void 0;
|
|
388
|
-
Tt(n3, s2, void 0 === a2 ? t3[s2] : a2);
|
|
389
|
-
}
|
|
390
|
-
return n3;
|
|
391
|
-
}
|
|
392
|
-
function Dt(t3, e3) {
|
|
393
|
-
var n3, r3, i2 = t3.__data__;
|
|
394
|
-
return ("string" == (r3 = typeof (n3 = e3)) || "number" == r3 || "symbol" == r3 || "boolean" == r3 ? "__proto__" !== n3 : null === n3) ? i2["string" == typeof e3 ? "string" : "hash"] : i2.map;
|
|
395
|
-
}
|
|
396
|
-
function qt(t3, e3) {
|
|
397
|
-
var n3 = function(t4, e4) {
|
|
398
|
-
return null == t4 ? void 0 : t4[e4];
|
|
399
|
-
}(t3, e3);
|
|
400
|
-
return function(t4) {
|
|
401
|
-
return !(!Wt(t4) || (e4 = t4, K && K in e4)) && (Vt(t4) || G(t4) ? nt : M).test(zt(t4));
|
|
402
|
-
var e4;
|
|
403
|
-
}(n3) ? n3 : void 0;
|
|
404
|
-
}
|
|
405
|
-
St.prototype.clear = function() {
|
|
406
|
-
this.__data__ = yt ? yt(null) : {};
|
|
407
|
-
}, St.prototype.delete = function(t3) {
|
|
408
|
-
return this.has(t3) && delete this.__data__[t3];
|
|
409
|
-
}, St.prototype.get = function(t3) {
|
|
410
|
-
var e3 = this.__data__;
|
|
411
|
-
if (yt) {
|
|
412
|
-
var n3 = e3[t3];
|
|
413
|
-
return n3 === r2 ? void 0 : n3;
|
|
414
|
-
}
|
|
415
|
-
return tt.call(e3, t3) ? e3[t3] : void 0;
|
|
416
|
-
}, St.prototype.has = function(t3) {
|
|
417
|
-
var e3 = this.__data__;
|
|
418
|
-
return yt ? void 0 !== e3[t3] : tt.call(e3, t3);
|
|
419
|
-
}, St.prototype.set = function(t3, e3) {
|
|
420
|
-
return this.__data__[t3] = yt && void 0 === e3 ? r2 : e3, this;
|
|
421
|
-
}, jt.prototype.clear = function() {
|
|
422
|
-
this.__data__ = [];
|
|
423
|
-
}, jt.prototype.delete = function(t3) {
|
|
424
|
-
var e3 = this.__data__, n3 = Mt(e3, t3);
|
|
425
|
-
return !(n3 < 0 || (n3 == e3.length - 1 ? e3.pop() : ct.call(e3, n3, 1), 0));
|
|
426
|
-
}, jt.prototype.get = function(t3) {
|
|
427
|
-
var e3 = this.__data__, n3 = Mt(e3, t3);
|
|
428
|
-
return n3 < 0 ? void 0 : e3[n3][1];
|
|
429
|
-
}, jt.prototype.has = function(t3) {
|
|
430
|
-
return Mt(this.__data__, t3) > -1;
|
|
431
|
-
}, jt.prototype.set = function(t3, e3) {
|
|
432
|
-
var n3 = this.__data__, r3 = Mt(n3, t3);
|
|
433
|
-
return r3 < 0 ? n3.push([t3, e3]) : n3[r3][1] = e3, this;
|
|
434
|
-
}, xt.prototype.clear = function() {
|
|
435
|
-
this.__data__ = { hash: new St(), map: new (dt || jt)(), string: new St() };
|
|
436
|
-
}, xt.prototype.delete = function(t3) {
|
|
437
|
-
return Dt(this, t3).delete(t3);
|
|
438
|
-
}, xt.prototype.get = function(t3) {
|
|
439
|
-
return Dt(this, t3).get(t3);
|
|
440
|
-
}, xt.prototype.has = function(t3) {
|
|
441
|
-
return Dt(this, t3).has(t3);
|
|
442
|
-
}, xt.prototype.set = function(t3, e3) {
|
|
443
|
-
return Dt(this, t3).set(t3, e3), this;
|
|
444
|
-
}, Lt.prototype.clear = function() {
|
|
445
|
-
this.__data__ = new jt();
|
|
446
|
-
}, Lt.prototype.delete = function(t3) {
|
|
447
|
-
return this.__data__.delete(t3);
|
|
448
|
-
}, Lt.prototype.get = function(t3) {
|
|
449
|
-
return this.__data__.get(t3);
|
|
450
|
-
}, Lt.prototype.has = function(t3) {
|
|
451
|
-
return this.__data__.has(t3);
|
|
452
|
-
}, Lt.prototype.set = function(t3, e3) {
|
|
453
|
-
var n3 = this.__data__;
|
|
454
|
-
if (n3 instanceof jt) {
|
|
455
|
-
var r3 = n3.__data__;
|
|
456
|
-
if (!dt || r3.length < 199) return r3.push([t3, e3]), this;
|
|
457
|
-
n3 = this.__data__ = new xt(r3);
|
|
458
|
-
}
|
|
459
|
-
return n3.set(t3, e3), this;
|
|
460
|
-
};
|
|
461
|
-
var It = lt ? $(lt, Object) : function() {
|
|
462
|
-
return [];
|
|
463
|
-
}, Bt = function(t3) {
|
|
464
|
-
return et.call(t3);
|
|
465
|
-
};
|
|
466
|
-
function Pt(t3, e3) {
|
|
467
|
-
return !!(e3 = null == e3 ? i : e3) && ("number" == typeof t3 || N.test(t3)) && t3 > -1 && t3 % 1 == 0 && t3 < e3;
|
|
468
|
-
}
|
|
469
|
-
function Ft(t3) {
|
|
470
|
-
var e3 = t3 && t3.constructor;
|
|
471
|
-
return t3 === ("function" == typeof e3 && e3.prototype || Z);
|
|
472
|
-
}
|
|
473
|
-
function zt(t3) {
|
|
474
|
-
if (null != t3) {
|
|
475
|
-
try {
|
|
476
|
-
return J.call(t3);
|
|
477
|
-
} catch (t4) {
|
|
478
|
-
}
|
|
479
|
-
try {
|
|
480
|
-
return t3 + "";
|
|
481
|
-
} catch (t4) {
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
return "";
|
|
485
|
-
}
|
|
486
|
-
function Ut(t3, e3) {
|
|
487
|
-
return t3 === e3 || t3 != t3 && e3 != e3;
|
|
488
|
-
}
|
|
489
|
-
(pt && Bt(new pt(new ArrayBuffer(1))) != m || dt && Bt(new dt()) != l || gt && Bt(gt.resolve()) != p || vt && Bt(new vt()) != g || _t && Bt(new _t()) != y) && (Bt = function(t3) {
|
|
490
|
-
var e3 = et.call(t3), n3 = e3 == h ? t3.constructor : void 0, r3 = n3 ? zt(n3) : void 0;
|
|
491
|
-
if (r3) switch (r3) {
|
|
492
|
-
case bt:
|
|
493
|
-
return m;
|
|
494
|
-
case mt:
|
|
495
|
-
return l;
|
|
496
|
-
case Ct:
|
|
497
|
-
return p;
|
|
498
|
-
case Et:
|
|
499
|
-
return g;
|
|
500
|
-
case At:
|
|
501
|
-
return y;
|
|
502
|
-
}
|
|
503
|
-
return e3;
|
|
504
|
-
});
|
|
505
|
-
var Gt = Array.isArray;
|
|
506
|
-
function Ht(t3) {
|
|
507
|
-
return null != t3 && function(t4) {
|
|
508
|
-
return "number" == typeof t4 && t4 > -1 && t4 % 1 == 0 && t4 <= i;
|
|
509
|
-
}(t3.length) && !Vt(t3);
|
|
510
|
-
}
|
|
511
|
-
var $t = ft || function() {
|
|
512
|
-
return false;
|
|
513
|
-
};
|
|
514
|
-
function Vt(t3) {
|
|
515
|
-
var e3 = Wt(t3) ? et.call(t3) : "";
|
|
516
|
-
return e3 == u || e3 == c;
|
|
517
|
-
}
|
|
518
|
-
function Wt(t3) {
|
|
519
|
-
var e3 = typeof t3;
|
|
520
|
-
return !!t3 && ("object" == e3 || "function" == e3);
|
|
521
|
-
}
|
|
522
|
-
function Xt(t3) {
|
|
523
|
-
return Ht(t3) ? function(t4, e3) {
|
|
524
|
-
var n3 = Gt(t4) || function(t5) {
|
|
525
|
-
return function(t6) {
|
|
526
|
-
return /* @__PURE__ */ function(t7) {
|
|
527
|
-
return !!t7 && "object" == typeof t7;
|
|
528
|
-
}(t6) && Ht(t6);
|
|
529
|
-
}(t5) && tt.call(t5, "callee") && (!ut.call(t5, "callee") || et.call(t5) == o);
|
|
530
|
-
}(t4) ? function(t5, e4) {
|
|
531
|
-
for (var n4 = -1, r4 = Array(t5); ++n4 < t5; ) r4[n4] = e4(n4);
|
|
532
|
-
return r4;
|
|
533
|
-
}(t4.length, String) : [], r3 = n3.length, i2 = !!r3;
|
|
534
|
-
for (var s2 in t4) !e3 && !tt.call(t4, s2) || i2 && ("length" == s2 || Pt(s2, r3)) || n3.push(s2);
|
|
535
|
-
return n3;
|
|
536
|
-
}(t3) : function(t4) {
|
|
537
|
-
if (!Ft(t4)) return ht(t4);
|
|
538
|
-
var e3 = [];
|
|
539
|
-
for (var n3 in Object(t4)) tt.call(t4, n3) && "constructor" != n3 && e3.push(n3);
|
|
540
|
-
return e3;
|
|
541
|
-
}(t3);
|
|
542
|
-
}
|
|
543
|
-
t2.exports = function(t3) {
|
|
544
|
-
return Nt(t3, true, true);
|
|
545
|
-
};
|
|
546
|
-
}, 307: (t2, e2, n2) => {
|
|
547
|
-
t2 = n2.nmd(t2);
|
|
548
|
-
var r2 = "__lodash_hash_undefined__", i = 9007199254740991, o = "[object Arguments]", s = "[object Array]", a = "[object Boolean]", u = "[object Date]", c = "[object Error]", l = "[object Function]", f = "[object Map]", h = "[object Number]", p = "[object Object]", d = "[object Promise]", g = "[object RegExp]", v = "[object Set]", _ = "[object String]", y = "[object WeakMap]", b = "[object ArrayBuffer]", m = "[object DataView]", C = /^\[object .+?Constructor\]$/, E = /^(?:0|[1-9]\d*)$/, A = {};
|
|
549
|
-
A["[object Float32Array]"] = A["[object Float64Array]"] = A["[object Int8Array]"] = A["[object Int16Array]"] = A["[object Int32Array]"] = A["[object Uint8Array]"] = A["[object Uint8ClampedArray]"] = A["[object Uint16Array]"] = A["[object Uint32Array]"] = true, A[o] = A[s] = A[b] = A[a] = A[m] = A[u] = A[c] = A[l] = A[f] = A[h] = A[p] = A[g] = A[v] = A[_] = A[y] = false;
|
|
550
|
-
var O = "object" == typeof n2.g && n2.g && n2.g.Object === Object && n2.g, w = "object" == typeof self && self && self.Object === Object && self, S = O || w || Function("return this")(), j = e2 && !e2.nodeType && e2, x = j && t2 && !t2.nodeType && t2, L = x && x.exports === j, T = L && O.process, M = function() {
|
|
551
|
-
try {
|
|
552
|
-
return T && T.binding && T.binding("util");
|
|
553
|
-
} catch (t3) {
|
|
554
|
-
}
|
|
555
|
-
}(), N = M && M.isTypedArray;
|
|
556
|
-
function R(t3, e3) {
|
|
557
|
-
for (var n3 = -1, r3 = null == t3 ? 0 : t3.length; ++n3 < r3; ) if (e3(t3[n3], n3, t3)) return true;
|
|
558
|
-
return false;
|
|
559
|
-
}
|
|
560
|
-
function k(t3) {
|
|
561
|
-
var e3 = -1, n3 = Array(t3.size);
|
|
562
|
-
return t3.forEach(function(t4, r3) {
|
|
563
|
-
n3[++e3] = [r3, t4];
|
|
564
|
-
}), n3;
|
|
565
|
-
}
|
|
566
|
-
function D(t3) {
|
|
567
|
-
var e3 = -1, n3 = Array(t3.size);
|
|
568
|
-
return t3.forEach(function(t4) {
|
|
569
|
-
n3[++e3] = t4;
|
|
570
|
-
}), n3;
|
|
571
|
-
}
|
|
572
|
-
var q, I, B, P = Array.prototype, F = Function.prototype, z = Object.prototype, U = S["__core-js_shared__"], G = F.toString, H = z.hasOwnProperty, $ = (q = /[^.]+$/.exec(U && U.keys && U.keys.IE_PROTO || "")) ? "Symbol(src)_1." + q : "", V = z.toString, W = RegExp("^" + G.call(H).replace(/[\\^$.*+?()[\]{}|]/g, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"), X = L ? S.Buffer : void 0, Q = S.Symbol, Z = S.Uint8Array, Y = z.propertyIsEnumerable, K = P.splice, J = Q ? Q.toStringTag : void 0, tt = Object.getOwnPropertySymbols, et = X ? X.isBuffer : void 0, nt = (I = Object.keys, B = Object, function(t3) {
|
|
573
|
-
return I(B(t3));
|
|
574
|
-
}), rt = xt(S, "DataView"), it = xt(S, "Map"), ot = xt(S, "Promise"), st = xt(S, "Set"), at = xt(S, "WeakMap"), ut = xt(Object, "create"), ct = Nt(rt), lt = Nt(it), ft = Nt(ot), ht = Nt(st), pt = Nt(at), dt = Q ? Q.prototype : void 0, gt = dt ? dt.valueOf : void 0;
|
|
575
|
-
function vt(t3) {
|
|
576
|
-
var e3 = -1, n3 = null == t3 ? 0 : t3.length;
|
|
577
|
-
for (this.clear(); ++e3 < n3; ) {
|
|
578
|
-
var r3 = t3[e3];
|
|
579
|
-
this.set(r3[0], r3[1]);
|
|
580
|
-
}
|
|
581
|
-
}
|
|
582
|
-
function _t(t3) {
|
|
583
|
-
var e3 = -1, n3 = null == t3 ? 0 : t3.length;
|
|
584
|
-
for (this.clear(); ++e3 < n3; ) {
|
|
585
|
-
var r3 = t3[e3];
|
|
586
|
-
this.set(r3[0], r3[1]);
|
|
587
|
-
}
|
|
588
|
-
}
|
|
589
|
-
function yt(t3) {
|
|
590
|
-
var e3 = -1, n3 = null == t3 ? 0 : t3.length;
|
|
591
|
-
for (this.clear(); ++e3 < n3; ) {
|
|
592
|
-
var r3 = t3[e3];
|
|
593
|
-
this.set(r3[0], r3[1]);
|
|
594
|
-
}
|
|
595
|
-
}
|
|
596
|
-
function bt(t3) {
|
|
597
|
-
var e3 = -1, n3 = null == t3 ? 0 : t3.length;
|
|
598
|
-
for (this.__data__ = new yt(); ++e3 < n3; ) this.add(t3[e3]);
|
|
599
|
-
}
|
|
600
|
-
function mt(t3) {
|
|
601
|
-
var e3 = this.__data__ = new _t(t3);
|
|
602
|
-
this.size = e3.size;
|
|
603
|
-
}
|
|
604
|
-
function Ct(t3, e3) {
|
|
605
|
-
for (var n3 = t3.length; n3--; ) if (Rt(t3[n3][0], e3)) return n3;
|
|
606
|
-
return -1;
|
|
607
|
-
}
|
|
608
|
-
function Et(t3) {
|
|
609
|
-
return null == t3 ? void 0 === t3 ? "[object Undefined]" : "[object Null]" : J && J in Object(t3) ? function(t4) {
|
|
610
|
-
var e3 = H.call(t4, J), n3 = t4[J];
|
|
611
|
-
try {
|
|
612
|
-
t4[J] = void 0;
|
|
613
|
-
var r3 = true;
|
|
614
|
-
} catch (t5) {
|
|
615
|
-
}
|
|
616
|
-
var i2 = V.call(t4);
|
|
617
|
-
return r3 && (e3 ? t4[J] = n3 : delete t4[J]), i2;
|
|
618
|
-
}(t3) : function(t4) {
|
|
619
|
-
return V.call(t4);
|
|
620
|
-
}(t3);
|
|
621
|
-
}
|
|
622
|
-
function At(t3) {
|
|
623
|
-
return Ft(t3) && Et(t3) == o;
|
|
624
|
-
}
|
|
625
|
-
function Ot(t3, e3, n3, r3, i2) {
|
|
626
|
-
return t3 === e3 || (null == t3 || null == e3 || !Ft(t3) && !Ft(e3) ? t3 != t3 && e3 != e3 : function(t4, e4, n4, r4, i3, l2) {
|
|
627
|
-
var d2 = Dt(t4), y2 = Dt(e4), C2 = d2 ? s : Tt(t4), E2 = y2 ? s : Tt(e4), A2 = (C2 = C2 == o ? p : C2) == p, O2 = (E2 = E2 == o ? p : E2) == p, w2 = C2 == E2;
|
|
628
|
-
if (w2 && qt(t4)) {
|
|
629
|
-
if (!qt(e4)) return false;
|
|
630
|
-
d2 = true, A2 = false;
|
|
631
|
-
}
|
|
632
|
-
if (w2 && !A2) return l2 || (l2 = new mt()), d2 || zt(t4) ? wt(t4, e4, n4, r4, i3, l2) : function(t5, e5, n5, r5, i4, o2, s2) {
|
|
633
|
-
switch (n5) {
|
|
634
|
-
case m:
|
|
635
|
-
if (t5.byteLength != e5.byteLength || t5.byteOffset != e5.byteOffset) return false;
|
|
636
|
-
t5 = t5.buffer, e5 = e5.buffer;
|
|
637
|
-
case b:
|
|
638
|
-
return !(t5.byteLength != e5.byteLength || !o2(new Z(t5), new Z(e5)));
|
|
639
|
-
case a:
|
|
640
|
-
case u:
|
|
641
|
-
case h:
|
|
642
|
-
return Rt(+t5, +e5);
|
|
643
|
-
case c:
|
|
644
|
-
return t5.name == e5.name && t5.message == e5.message;
|
|
645
|
-
case g:
|
|
646
|
-
case _:
|
|
647
|
-
return t5 == e5 + "";
|
|
648
|
-
case f:
|
|
649
|
-
var l3 = k;
|
|
650
|
-
case v:
|
|
651
|
-
var p2 = 1 & r5;
|
|
652
|
-
if (l3 || (l3 = D), t5.size != e5.size && !p2) return false;
|
|
653
|
-
var d3 = s2.get(t5);
|
|
654
|
-
if (d3) return d3 == e5;
|
|
655
|
-
r5 |= 2, s2.set(t5, e5);
|
|
656
|
-
var y3 = wt(l3(t5), l3(e5), r5, i4, o2, s2);
|
|
657
|
-
return s2.delete(t5), y3;
|
|
658
|
-
case "[object Symbol]":
|
|
659
|
-
if (gt) return gt.call(t5) == gt.call(e5);
|
|
660
|
-
}
|
|
661
|
-
return false;
|
|
662
|
-
}(t4, e4, C2, n4, r4, i3, l2);
|
|
663
|
-
if (!(1 & n4)) {
|
|
664
|
-
var S2 = A2 && H.call(t4, "__wrapped__"), j2 = O2 && H.call(e4, "__wrapped__");
|
|
665
|
-
if (S2 || j2) {
|
|
666
|
-
var x2 = S2 ? t4.value() : t4, L2 = j2 ? e4.value() : e4;
|
|
667
|
-
return l2 || (l2 = new mt()), i3(x2, L2, n4, r4, l2);
|
|
668
|
-
}
|
|
669
|
-
}
|
|
670
|
-
return !!w2 && (l2 || (l2 = new mt()), function(t5, e5, n5, r5, i4, o2) {
|
|
671
|
-
var s2 = 1 & n5, a2 = St(t5), u2 = a2.length;
|
|
672
|
-
if (u2 != St(e5).length && !s2) return false;
|
|
673
|
-
for (var c2 = u2; c2--; ) {
|
|
674
|
-
var l3 = a2[c2];
|
|
675
|
-
if (!(s2 ? l3 in e5 : H.call(e5, l3))) return false;
|
|
676
|
-
}
|
|
677
|
-
var f2 = o2.get(t5);
|
|
678
|
-
if (f2 && o2.get(e5)) return f2 == e5;
|
|
679
|
-
var h2 = true;
|
|
680
|
-
o2.set(t5, e5), o2.set(e5, t5);
|
|
681
|
-
for (var p2 = s2; ++c2 < u2; ) {
|
|
682
|
-
var d3 = t5[l3 = a2[c2]], g2 = e5[l3];
|
|
683
|
-
if (r5) var v2 = s2 ? r5(g2, d3, l3, e5, t5, o2) : r5(d3, g2, l3, t5, e5, o2);
|
|
684
|
-
if (!(void 0 === v2 ? d3 === g2 || i4(d3, g2, n5, r5, o2) : v2)) {
|
|
685
|
-
h2 = false;
|
|
686
|
-
break;
|
|
687
|
-
}
|
|
688
|
-
p2 || (p2 = "constructor" == l3);
|
|
689
|
-
}
|
|
690
|
-
if (h2 && !p2) {
|
|
691
|
-
var _2 = t5.constructor, y3 = e5.constructor;
|
|
692
|
-
_2 == y3 || !("constructor" in t5) || !("constructor" in e5) || "function" == typeof _2 && _2 instanceof _2 && "function" == typeof y3 && y3 instanceof y3 || (h2 = false);
|
|
693
|
-
}
|
|
694
|
-
return o2.delete(t5), o2.delete(e5), h2;
|
|
695
|
-
}(t4, e4, n4, r4, i3, l2));
|
|
696
|
-
}(t3, e3, n3, r3, Ot, i2));
|
|
697
|
-
}
|
|
698
|
-
function wt(t3, e3, n3, r3, i2, o2) {
|
|
699
|
-
var s2 = 1 & n3, a2 = t3.length, u2 = e3.length;
|
|
700
|
-
if (a2 != u2 && !(s2 && u2 > a2)) return false;
|
|
701
|
-
var c2 = o2.get(t3);
|
|
702
|
-
if (c2 && o2.get(e3)) return c2 == e3;
|
|
703
|
-
var l2 = -1, f2 = true, h2 = 2 & n3 ? new bt() : void 0;
|
|
704
|
-
for (o2.set(t3, e3), o2.set(e3, t3); ++l2 < a2; ) {
|
|
705
|
-
var p2 = t3[l2], d2 = e3[l2];
|
|
706
|
-
if (r3) var g2 = s2 ? r3(d2, p2, l2, e3, t3, o2) : r3(p2, d2, l2, t3, e3, o2);
|
|
707
|
-
if (void 0 !== g2) {
|
|
708
|
-
if (g2) continue;
|
|
709
|
-
f2 = false;
|
|
710
|
-
break;
|
|
711
|
-
}
|
|
712
|
-
if (h2) {
|
|
713
|
-
if (!R(e3, function(t4, e4) {
|
|
714
|
-
if (s3 = e4, !h2.has(s3) && (p2 === t4 || i2(p2, t4, n3, r3, o2))) return h2.push(e4);
|
|
715
|
-
var s3;
|
|
716
|
-
})) {
|
|
717
|
-
f2 = false;
|
|
718
|
-
break;
|
|
719
|
-
}
|
|
720
|
-
} else if (p2 !== d2 && !i2(p2, d2, n3, r3, o2)) {
|
|
721
|
-
f2 = false;
|
|
722
|
-
break;
|
|
723
|
-
}
|
|
724
|
-
}
|
|
725
|
-
return o2.delete(t3), o2.delete(e3), f2;
|
|
726
|
-
}
|
|
727
|
-
function St(t3) {
|
|
728
|
-
return function(t4, e3, n3) {
|
|
729
|
-
var r3 = e3(t4);
|
|
730
|
-
return Dt(t4) ? r3 : function(t5, e4) {
|
|
731
|
-
for (var n4 = -1, r4 = e4.length, i2 = t5.length; ++n4 < r4; ) t5[i2 + n4] = e4[n4];
|
|
732
|
-
return t5;
|
|
733
|
-
}(r3, n3(t4));
|
|
734
|
-
}(t3, Ut, Lt);
|
|
735
|
-
}
|
|
736
|
-
function jt(t3, e3) {
|
|
737
|
-
var n3, r3, i2 = t3.__data__;
|
|
738
|
-
return ("string" == (r3 = typeof (n3 = e3)) || "number" == r3 || "symbol" == r3 || "boolean" == r3 ? "__proto__" !== n3 : null === n3) ? i2["string" == typeof e3 ? "string" : "hash"] : i2.map;
|
|
739
|
-
}
|
|
740
|
-
function xt(t3, e3) {
|
|
741
|
-
var n3 = function(t4, e4) {
|
|
742
|
-
return null == t4 ? void 0 : t4[e4];
|
|
743
|
-
}(t3, e3);
|
|
744
|
-
return function(t4) {
|
|
745
|
-
return !(!Pt(t4) || function(t5) {
|
|
746
|
-
return !!$ && $ in t5;
|
|
747
|
-
}(t4)) && (It(t4) ? W : C).test(Nt(t4));
|
|
748
|
-
}(n3) ? n3 : void 0;
|
|
749
|
-
}
|
|
750
|
-
vt.prototype.clear = function() {
|
|
751
|
-
this.__data__ = ut ? ut(null) : {}, this.size = 0;
|
|
752
|
-
}, vt.prototype.delete = function(t3) {
|
|
753
|
-
var e3 = this.has(t3) && delete this.__data__[t3];
|
|
754
|
-
return this.size -= e3 ? 1 : 0, e3;
|
|
755
|
-
}, vt.prototype.get = function(t3) {
|
|
756
|
-
var e3 = this.__data__;
|
|
757
|
-
if (ut) {
|
|
758
|
-
var n3 = e3[t3];
|
|
759
|
-
return n3 === r2 ? void 0 : n3;
|
|
760
|
-
}
|
|
761
|
-
return H.call(e3, t3) ? e3[t3] : void 0;
|
|
762
|
-
}, vt.prototype.has = function(t3) {
|
|
763
|
-
var e3 = this.__data__;
|
|
764
|
-
return ut ? void 0 !== e3[t3] : H.call(e3, t3);
|
|
765
|
-
}, vt.prototype.set = function(t3, e3) {
|
|
766
|
-
var n3 = this.__data__;
|
|
767
|
-
return this.size += this.has(t3) ? 0 : 1, n3[t3] = ut && void 0 === e3 ? r2 : e3, this;
|
|
768
|
-
}, _t.prototype.clear = function() {
|
|
769
|
-
this.__data__ = [], this.size = 0;
|
|
770
|
-
}, _t.prototype.delete = function(t3) {
|
|
771
|
-
var e3 = this.__data__, n3 = Ct(e3, t3);
|
|
772
|
-
return !(n3 < 0 || (n3 == e3.length - 1 ? e3.pop() : K.call(e3, n3, 1), --this.size, 0));
|
|
773
|
-
}, _t.prototype.get = function(t3) {
|
|
774
|
-
var e3 = this.__data__, n3 = Ct(e3, t3);
|
|
775
|
-
return n3 < 0 ? void 0 : e3[n3][1];
|
|
776
|
-
}, _t.prototype.has = function(t3) {
|
|
777
|
-
return Ct(this.__data__, t3) > -1;
|
|
778
|
-
}, _t.prototype.set = function(t3, e3) {
|
|
779
|
-
var n3 = this.__data__, r3 = Ct(n3, t3);
|
|
780
|
-
return r3 < 0 ? (++this.size, n3.push([t3, e3])) : n3[r3][1] = e3, this;
|
|
781
|
-
}, yt.prototype.clear = function() {
|
|
782
|
-
this.size = 0, this.__data__ = { hash: new vt(), map: new (it || _t)(), string: new vt() };
|
|
783
|
-
}, yt.prototype.delete = function(t3) {
|
|
784
|
-
var e3 = jt(this, t3).delete(t3);
|
|
785
|
-
return this.size -= e3 ? 1 : 0, e3;
|
|
786
|
-
}, yt.prototype.get = function(t3) {
|
|
787
|
-
return jt(this, t3).get(t3);
|
|
788
|
-
}, yt.prototype.has = function(t3) {
|
|
789
|
-
return jt(this, t3).has(t3);
|
|
790
|
-
}, yt.prototype.set = function(t3, e3) {
|
|
791
|
-
var n3 = jt(this, t3), r3 = n3.size;
|
|
792
|
-
return n3.set(t3, e3), this.size += n3.size == r3 ? 0 : 1, this;
|
|
793
|
-
}, bt.prototype.add = bt.prototype.push = function(t3) {
|
|
794
|
-
return this.__data__.set(t3, r2), this;
|
|
795
|
-
}, bt.prototype.has = function(t3) {
|
|
796
|
-
return this.__data__.has(t3);
|
|
797
|
-
}, mt.prototype.clear = function() {
|
|
798
|
-
this.__data__ = new _t(), this.size = 0;
|
|
799
|
-
}, mt.prototype.delete = function(t3) {
|
|
800
|
-
var e3 = this.__data__, n3 = e3.delete(t3);
|
|
801
|
-
return this.size = e3.size, n3;
|
|
802
|
-
}, mt.prototype.get = function(t3) {
|
|
803
|
-
return this.__data__.get(t3);
|
|
804
|
-
}, mt.prototype.has = function(t3) {
|
|
805
|
-
return this.__data__.has(t3);
|
|
806
|
-
}, mt.prototype.set = function(t3, e3) {
|
|
807
|
-
var n3 = this.__data__;
|
|
808
|
-
if (n3 instanceof _t) {
|
|
809
|
-
var r3 = n3.__data__;
|
|
810
|
-
if (!it || r3.length < 199) return r3.push([t3, e3]), this.size = ++n3.size, this;
|
|
811
|
-
n3 = this.__data__ = new yt(r3);
|
|
812
|
-
}
|
|
813
|
-
return n3.set(t3, e3), this.size = n3.size, this;
|
|
814
|
-
};
|
|
815
|
-
var Lt = tt ? function(t3) {
|
|
816
|
-
return null == t3 ? [] : (t3 = Object(t3), function(e3, n3) {
|
|
817
|
-
for (var r3 = -1, i2 = null == e3 ? 0 : e3.length, o2 = 0, s2 = []; ++r3 < i2; ) {
|
|
818
|
-
var a2 = e3[r3];
|
|
819
|
-
u2 = a2, Y.call(t3, u2) && (s2[o2++] = a2);
|
|
820
|
-
}
|
|
821
|
-
var u2;
|
|
822
|
-
return s2;
|
|
823
|
-
}(tt(t3)));
|
|
824
|
-
} : function() {
|
|
825
|
-
return [];
|
|
826
|
-
}, Tt = Et;
|
|
827
|
-
function Mt(t3, e3) {
|
|
828
|
-
return !!(e3 = null == e3 ? i : e3) && ("number" == typeof t3 || E.test(t3)) && t3 > -1 && t3 % 1 == 0 && t3 < e3;
|
|
829
|
-
}
|
|
830
|
-
function Nt(t3) {
|
|
831
|
-
if (null != t3) {
|
|
832
|
-
try {
|
|
833
|
-
return G.call(t3);
|
|
834
|
-
} catch (t4) {
|
|
835
|
-
}
|
|
836
|
-
try {
|
|
837
|
-
return t3 + "";
|
|
838
|
-
} catch (t4) {
|
|
839
|
-
}
|
|
840
|
-
}
|
|
841
|
-
return "";
|
|
842
|
-
}
|
|
843
|
-
function Rt(t3, e3) {
|
|
844
|
-
return t3 === e3 || t3 != t3 && e3 != e3;
|
|
845
|
-
}
|
|
846
|
-
(rt && Tt(new rt(new ArrayBuffer(1))) != m || it && Tt(new it()) != f || ot && Tt(ot.resolve()) != d || st && Tt(new st()) != v || at && Tt(new at()) != y) && (Tt = function(t3) {
|
|
847
|
-
var e3 = Et(t3), n3 = e3 == p ? t3.constructor : void 0, r3 = n3 ? Nt(n3) : "";
|
|
848
|
-
if (r3) switch (r3) {
|
|
849
|
-
case ct:
|
|
850
|
-
return m;
|
|
851
|
-
case lt:
|
|
852
|
-
return f;
|
|
853
|
-
case ft:
|
|
854
|
-
return d;
|
|
855
|
-
case ht:
|
|
856
|
-
return v;
|
|
857
|
-
case pt:
|
|
858
|
-
return y;
|
|
859
|
-
}
|
|
860
|
-
return e3;
|
|
861
|
-
});
|
|
862
|
-
var kt = At(/* @__PURE__ */ function() {
|
|
863
|
-
return arguments;
|
|
864
|
-
}()) ? At : function(t3) {
|
|
865
|
-
return Ft(t3) && H.call(t3, "callee") && !Y.call(t3, "callee");
|
|
866
|
-
}, Dt = Array.isArray, qt = et || function() {
|
|
867
|
-
return false;
|
|
868
|
-
};
|
|
869
|
-
function It(t3) {
|
|
870
|
-
if (!Pt(t3)) return false;
|
|
871
|
-
var e3 = Et(t3);
|
|
872
|
-
return e3 == l || "[object GeneratorFunction]" == e3 || "[object AsyncFunction]" == e3 || "[object Proxy]" == e3;
|
|
873
|
-
}
|
|
874
|
-
function Bt(t3) {
|
|
875
|
-
return "number" == typeof t3 && t3 > -1 && t3 % 1 == 0 && t3 <= i;
|
|
876
|
-
}
|
|
877
|
-
function Pt(t3) {
|
|
878
|
-
var e3 = typeof t3;
|
|
879
|
-
return null != t3 && ("object" == e3 || "function" == e3);
|
|
880
|
-
}
|
|
881
|
-
function Ft(t3) {
|
|
882
|
-
return null != t3 && "object" == typeof t3;
|
|
883
|
-
}
|
|
884
|
-
var zt = N ? /* @__PURE__ */ function(t3) {
|
|
885
|
-
return function(e3) {
|
|
886
|
-
return t3(e3);
|
|
887
|
-
};
|
|
888
|
-
}(N) : function(t3) {
|
|
889
|
-
return Ft(t3) && Bt(t3.length) && !!A[Et(t3)];
|
|
890
|
-
};
|
|
891
|
-
function Ut(t3) {
|
|
892
|
-
return null != (e3 = t3) && Bt(e3.length) && !It(e3) ? function(t4, e4) {
|
|
893
|
-
var n3 = Dt(t4), r3 = !n3 && kt(t4), i2 = !n3 && !r3 && qt(t4), o2 = !n3 && !r3 && !i2 && zt(t4), s2 = n3 || r3 || i2 || o2, a2 = s2 ? function(t5, e5) {
|
|
894
|
-
for (var n4 = -1, r4 = Array(t5); ++n4 < t5; ) r4[n4] = e5(n4);
|
|
895
|
-
return r4;
|
|
896
|
-
}(t4.length, String) : [], u2 = a2.length;
|
|
897
|
-
for (var c2 in t4) !e4 && !H.call(t4, c2) || s2 && ("length" == c2 || i2 && ("offset" == c2 || "parent" == c2) || o2 && ("buffer" == c2 || "byteLength" == c2 || "byteOffset" == c2) || Mt(c2, u2)) || a2.push(c2);
|
|
898
|
-
return a2;
|
|
899
|
-
}(t3) : function(t4) {
|
|
900
|
-
if (n3 = (e4 = t4) && e4.constructor, e4 !== ("function" == typeof n3 && n3.prototype || z)) return nt(t4);
|
|
901
|
-
var e4, n3, r3 = [];
|
|
902
|
-
for (var i2 in Object(t4)) H.call(t4, i2) && "constructor" != i2 && r3.push(i2);
|
|
903
|
-
return r3;
|
|
904
|
-
}(t3);
|
|
905
|
-
var e3;
|
|
906
|
-
}
|
|
907
|
-
t2.exports = function(t3, e3) {
|
|
908
|
-
return Ot(t3, e3);
|
|
909
|
-
};
|
|
910
|
-
}, 210: function(t2, e2, n2) {
|
|
911
|
-
"use strict";
|
|
912
|
-
var r2 = this && this.__importDefault || function(t3) {
|
|
913
|
-
return t3 && t3.__esModule ? t3 : { default: t3 };
|
|
914
|
-
};
|
|
915
|
-
Object.defineProperty(e2, "__esModule", { value: true });
|
|
916
|
-
var i, o = r2(n2(465)), s = r2(n2(307));
|
|
917
|
-
!function(t3) {
|
|
918
|
-
t3.compose = function(t4, e3, n3) {
|
|
919
|
-
void 0 === t4 && (t4 = {}), void 0 === e3 && (e3 = {}), "object" != typeof t4 && (t4 = {}), "object" != typeof e3 && (e3 = {});
|
|
920
|
-
var r3 = o.default(e3);
|
|
921
|
-
for (var i2 in n3 || (r3 = Object.keys(r3).reduce(function(t5, e4) {
|
|
922
|
-
return null != r3[e4] && (t5[e4] = r3[e4]), t5;
|
|
923
|
-
}, {})), t4) void 0 !== t4[i2] && void 0 === e3[i2] && (r3[i2] = t4[i2]);
|
|
924
|
-
return Object.keys(r3).length > 0 ? r3 : void 0;
|
|
925
|
-
}, t3.diff = function(t4, e3) {
|
|
926
|
-
void 0 === t4 && (t4 = {}), void 0 === e3 && (e3 = {}), "object" != typeof t4 && (t4 = {}), "object" != typeof e3 && (e3 = {});
|
|
927
|
-
var n3 = Object.keys(t4).concat(Object.keys(e3)).reduce(function(n4, r3) {
|
|
928
|
-
return s.default(t4[r3], e3[r3]) || (n4[r3] = void 0 === e3[r3] ? null : e3[r3]), n4;
|
|
929
|
-
}, {});
|
|
930
|
-
return Object.keys(n3).length > 0 ? n3 : void 0;
|
|
931
|
-
}, t3.invert = function(t4, e3) {
|
|
932
|
-
void 0 === t4 && (t4 = {}), void 0 === e3 && (e3 = {}), t4 = t4 || {};
|
|
933
|
-
var n3 = Object.keys(e3).reduce(function(n4, r3) {
|
|
934
|
-
return e3[r3] !== t4[r3] && void 0 !== t4[r3] && (n4[r3] = e3[r3]), n4;
|
|
935
|
-
}, {});
|
|
936
|
-
return Object.keys(t4).reduce(function(n4, r3) {
|
|
937
|
-
return t4[r3] !== e3[r3] && void 0 === e3[r3] && (n4[r3] = null), n4;
|
|
938
|
-
}, n3);
|
|
939
|
-
}, t3.transform = function(t4, e3, n3) {
|
|
940
|
-
if (void 0 === n3 && (n3 = false), "object" != typeof t4) return e3;
|
|
941
|
-
if ("object" == typeof e3) {
|
|
942
|
-
if (!n3) return e3;
|
|
943
|
-
var r3 = Object.keys(e3).reduce(function(n4, r4) {
|
|
944
|
-
return void 0 === t4[r4] && (n4[r4] = e3[r4]), n4;
|
|
945
|
-
}, {});
|
|
946
|
-
return Object.keys(r3).length > 0 ? r3 : void 0;
|
|
947
|
-
}
|
|
948
|
-
};
|
|
949
|
-
}(i || (i = {})), e2.default = i;
|
|
950
|
-
}, 895: function(t2, e2, n2) {
|
|
951
|
-
"use strict";
|
|
952
|
-
var r2 = this && this.__importDefault || function(t3) {
|
|
953
|
-
return t3 && t3.__esModule ? t3 : { default: t3 };
|
|
954
|
-
}, i = r2(n2(529)), o = r2(n2(465)), s = r2(n2(307)), a = r2(n2(210)), u = r2(n2(430)), c = String.fromCharCode(0), l = function() {
|
|
955
|
-
function t3(t4) {
|
|
956
|
-
Array.isArray(t4) ? this.ops = t4 : null != t4 && Array.isArray(t4.ops) ? this.ops = t4.ops : this.ops = [];
|
|
957
|
-
}
|
|
958
|
-
return t3.prototype.insert = function(t4, e3) {
|
|
959
|
-
var n3 = {};
|
|
960
|
-
return "string" == typeof t4 && 0 === t4.length ? this : (n3.insert = t4, null != e3 && "object" == typeof e3 && Object.keys(e3).length > 0 && (n3.attributes = e3), this.push(n3));
|
|
961
|
-
}, t3.prototype.delete = function(t4) {
|
|
962
|
-
return t4 <= 0 ? this : this.push({ delete: t4 });
|
|
963
|
-
}, t3.prototype.retain = function(t4, e3) {
|
|
964
|
-
if (t4 <= 0) return this;
|
|
965
|
-
var n3 = { retain: t4 };
|
|
966
|
-
return null != e3 && "object" == typeof e3 && Object.keys(e3).length > 0 && (n3.attributes = e3), this.push(n3);
|
|
967
|
-
}, t3.prototype.push = function(t4) {
|
|
968
|
-
var e3 = this.ops.length, n3 = this.ops[e3 - 1];
|
|
969
|
-
if (t4 = o.default(t4), "object" == typeof n3) {
|
|
970
|
-
if ("number" == typeof t4.delete && "number" == typeof n3.delete) return this.ops[e3 - 1] = { delete: n3.delete + t4.delete }, this;
|
|
971
|
-
if ("number" == typeof n3.delete && null != t4.insert && (e3 -= 1, "object" != typeof (n3 = this.ops[e3 - 1]))) return this.ops.unshift(t4), this;
|
|
972
|
-
if (s.default(t4.attributes, n3.attributes)) {
|
|
973
|
-
if ("string" == typeof t4.insert && "string" == typeof n3.insert) return this.ops[e3 - 1] = { insert: n3.insert + t4.insert }, "object" == typeof t4.attributes && (this.ops[e3 - 1].attributes = t4.attributes), this;
|
|
974
|
-
if ("number" == typeof t4.retain && "number" == typeof n3.retain) return this.ops[e3 - 1] = { retain: n3.retain + t4.retain }, "object" == typeof t4.attributes && (this.ops[e3 - 1].attributes = t4.attributes), this;
|
|
975
|
-
}
|
|
976
|
-
}
|
|
977
|
-
return e3 === this.ops.length ? this.ops.push(t4) : this.ops.splice(e3, 0, t4), this;
|
|
978
|
-
}, t3.prototype.chop = function() {
|
|
979
|
-
var t4 = this.ops[this.ops.length - 1];
|
|
980
|
-
return t4 && t4.retain && !t4.attributes && this.ops.pop(), this;
|
|
981
|
-
}, t3.prototype.filter = function(t4) {
|
|
982
|
-
return this.ops.filter(t4);
|
|
983
|
-
}, t3.prototype.forEach = function(t4) {
|
|
984
|
-
this.ops.forEach(t4);
|
|
985
|
-
}, t3.prototype.map = function(t4) {
|
|
986
|
-
return this.ops.map(t4);
|
|
987
|
-
}, t3.prototype.partition = function(t4) {
|
|
988
|
-
var e3 = [], n3 = [];
|
|
989
|
-
return this.forEach(function(r3) {
|
|
990
|
-
(t4(r3) ? e3 : n3).push(r3);
|
|
991
|
-
}), [e3, n3];
|
|
992
|
-
}, t3.prototype.reduce = function(t4, e3) {
|
|
993
|
-
return this.ops.reduce(t4, e3);
|
|
994
|
-
}, t3.prototype.changeLength = function() {
|
|
995
|
-
return this.reduce(function(t4, e3) {
|
|
996
|
-
return e3.insert ? t4 + u.default.length(e3) : e3.delete ? t4 - e3.delete : t4;
|
|
997
|
-
}, 0);
|
|
998
|
-
}, t3.prototype.length = function() {
|
|
999
|
-
return this.reduce(function(t4, e3) {
|
|
1000
|
-
return t4 + u.default.length(e3);
|
|
1001
|
-
}, 0);
|
|
1002
|
-
}, t3.prototype.slice = function(e3, n3) {
|
|
1003
|
-
void 0 === e3 && (e3 = 0), void 0 === n3 && (n3 = 1 / 0);
|
|
1004
|
-
for (var r3 = [], i2 = u.default.iterator(this.ops), o2 = 0; o2 < n3 && i2.hasNext(); ) {
|
|
1005
|
-
var s2 = void 0;
|
|
1006
|
-
o2 < e3 ? s2 = i2.next(e3 - o2) : (s2 = i2.next(n3 - o2), r3.push(s2)), o2 += u.default.length(s2);
|
|
1007
|
-
}
|
|
1008
|
-
return new t3(r3);
|
|
1009
|
-
}, t3.prototype.compose = function(e3) {
|
|
1010
|
-
var n3 = u.default.iterator(this.ops), r3 = u.default.iterator(e3.ops), i2 = [], o2 = r3.peek();
|
|
1011
|
-
if (null != o2 && "number" == typeof o2.retain && null == o2.attributes) {
|
|
1012
|
-
for (var c2 = o2.retain; "insert" === n3.peekType() && n3.peekLength() <= c2; ) c2 -= n3.peekLength(), i2.push(n3.next());
|
|
1013
|
-
o2.retain - c2 > 0 && r3.next(o2.retain - c2);
|
|
1014
|
-
}
|
|
1015
|
-
for (var l2 = new t3(i2); n3.hasNext() || r3.hasNext(); ) if ("insert" === r3.peekType()) l2.push(r3.next());
|
|
1016
|
-
else if ("delete" === n3.peekType()) l2.push(n3.next());
|
|
1017
|
-
else {
|
|
1018
|
-
var f = Math.min(n3.peekLength(), r3.peekLength()), h = n3.next(f), p = r3.next(f);
|
|
1019
|
-
if ("number" == typeof p.retain) {
|
|
1020
|
-
var d = {};
|
|
1021
|
-
"number" == typeof h.retain ? d.retain = f : d.insert = h.insert;
|
|
1022
|
-
var g = a.default.compose(h.attributes, p.attributes, "number" == typeof h.retain);
|
|
1023
|
-
if (g && (d.attributes = g), l2.push(d), !r3.hasNext() && s.default(l2.ops[l2.ops.length - 1], d)) {
|
|
1024
|
-
var v = new t3(n3.rest());
|
|
1025
|
-
return l2.concat(v).chop();
|
|
1026
|
-
}
|
|
1027
|
-
} else "number" == typeof p.delete && "number" == typeof h.retain && l2.push(p);
|
|
1028
|
-
}
|
|
1029
|
-
return l2.chop();
|
|
1030
|
-
}, t3.prototype.concat = function(e3) {
|
|
1031
|
-
var n3 = new t3(this.ops.slice());
|
|
1032
|
-
return e3.ops.length > 0 && (n3.push(e3.ops[0]), n3.ops = n3.ops.concat(e3.ops.slice(1))), n3;
|
|
1033
|
-
}, t3.prototype.diff = function(e3, n3) {
|
|
1034
|
-
if (this.ops === e3.ops) return new t3();
|
|
1035
|
-
var r3 = [this, e3].map(function(t4) {
|
|
1036
|
-
return t4.map(function(n4) {
|
|
1037
|
-
if (null != n4.insert) return "string" == typeof n4.insert ? n4.insert : c;
|
|
1038
|
-
throw new Error("diff() called " + (t4 === e3 ? "on" : "with") + " non-document");
|
|
1039
|
-
}).join("");
|
|
1040
|
-
}), o2 = new t3(), l2 = i.default(r3[0], r3[1], n3), f = u.default.iterator(this.ops), h = u.default.iterator(e3.ops);
|
|
1041
|
-
return l2.forEach(function(t4) {
|
|
1042
|
-
for (var e4 = t4[1].length; e4 > 0; ) {
|
|
1043
|
-
var n4 = 0;
|
|
1044
|
-
switch (t4[0]) {
|
|
1045
|
-
case i.default.INSERT:
|
|
1046
|
-
n4 = Math.min(h.peekLength(), e4), o2.push(h.next(n4));
|
|
1047
|
-
break;
|
|
1048
|
-
case i.default.DELETE:
|
|
1049
|
-
n4 = Math.min(e4, f.peekLength()), f.next(n4), o2.delete(n4);
|
|
1050
|
-
break;
|
|
1051
|
-
case i.default.EQUAL:
|
|
1052
|
-
n4 = Math.min(f.peekLength(), h.peekLength(), e4);
|
|
1053
|
-
var r4 = f.next(n4), u2 = h.next(n4);
|
|
1054
|
-
s.default(r4.insert, u2.insert) ? o2.retain(n4, a.default.diff(r4.attributes, u2.attributes)) : o2.push(u2).delete(n4);
|
|
1055
|
-
}
|
|
1056
|
-
e4 -= n4;
|
|
1057
|
-
}
|
|
1058
|
-
}), o2.chop();
|
|
1059
|
-
}, t3.prototype.eachLine = function(e3, n3) {
|
|
1060
|
-
void 0 === n3 && (n3 = "\n");
|
|
1061
|
-
for (var r3 = u.default.iterator(this.ops), i2 = new t3(), o2 = 0; r3.hasNext(); ) {
|
|
1062
|
-
if ("insert" !== r3.peekType()) return;
|
|
1063
|
-
var s2 = r3.peek(), a2 = u.default.length(s2) - r3.peekLength(), c2 = "string" == typeof s2.insert ? s2.insert.indexOf(n3, a2) - a2 : -1;
|
|
1064
|
-
if (c2 < 0) i2.push(r3.next());
|
|
1065
|
-
else if (c2 > 0) i2.push(r3.next(c2));
|
|
1066
|
-
else {
|
|
1067
|
-
if (false === e3(i2, r3.next(1).attributes || {}, o2)) return;
|
|
1068
|
-
o2 += 1, i2 = new t3();
|
|
1069
|
-
}
|
|
1070
|
-
}
|
|
1071
|
-
i2.length() > 0 && e3(i2, {}, o2);
|
|
1072
|
-
}, t3.prototype.invert = function(e3) {
|
|
1073
|
-
var n3 = new t3();
|
|
1074
|
-
return this.reduce(function(t4, r3) {
|
|
1075
|
-
if (r3.insert) n3.delete(u.default.length(r3));
|
|
1076
|
-
else {
|
|
1077
|
-
if (r3.retain && null == r3.attributes) return n3.retain(r3.retain), t4 + r3.retain;
|
|
1078
|
-
if (r3.delete || r3.retain && r3.attributes) {
|
|
1079
|
-
var i2 = r3.delete || r3.retain;
|
|
1080
|
-
return e3.slice(t4, t4 + i2).forEach(function(t5) {
|
|
1081
|
-
r3.delete ? n3.push(t5) : r3.retain && r3.attributes && n3.retain(u.default.length(t5), a.default.invert(r3.attributes, t5.attributes));
|
|
1082
|
-
}), t4 + i2;
|
|
1083
|
-
}
|
|
1084
|
-
}
|
|
1085
|
-
return t4;
|
|
1086
|
-
}, 0), n3.chop();
|
|
1087
|
-
}, t3.prototype.transform = function(e3, n3) {
|
|
1088
|
-
if (void 0 === n3 && (n3 = false), n3 = !!n3, "number" == typeof e3) return this.transformPosition(e3, n3);
|
|
1089
|
-
for (var r3 = e3, i2 = u.default.iterator(this.ops), o2 = u.default.iterator(r3.ops), s2 = new t3(); i2.hasNext() || o2.hasNext(); ) if ("insert" !== i2.peekType() || !n3 && "insert" === o2.peekType()) if ("insert" === o2.peekType()) s2.push(o2.next());
|
|
1090
|
-
else {
|
|
1091
|
-
var c2 = Math.min(i2.peekLength(), o2.peekLength()), l2 = i2.next(c2), f = o2.next(c2);
|
|
1092
|
-
if (l2.delete) continue;
|
|
1093
|
-
f.delete ? s2.push(f) : s2.retain(c2, a.default.transform(l2.attributes, f.attributes, n3));
|
|
1094
|
-
}
|
|
1095
|
-
else s2.retain(u.default.length(i2.next()));
|
|
1096
|
-
return s2.chop();
|
|
1097
|
-
}, t3.prototype.transformPosition = function(t4, e3) {
|
|
1098
|
-
void 0 === e3 && (e3 = false), e3 = !!e3;
|
|
1099
|
-
for (var n3 = u.default.iterator(this.ops), r3 = 0; n3.hasNext() && r3 <= t4; ) {
|
|
1100
|
-
var i2 = n3.peekLength(), o2 = n3.peekType();
|
|
1101
|
-
n3.next(), "delete" !== o2 ? ("insert" === o2 && (r3 < t4 || !e3) && (t4 += i2), r3 += i2) : t4 -= Math.min(i2, t4 - r3);
|
|
1102
|
-
}
|
|
1103
|
-
return t4;
|
|
1104
|
-
}, t3.Op = u.default, t3.AttributeMap = a.default, t3;
|
|
1105
|
-
}();
|
|
1106
|
-
t2.exports = l;
|
|
1107
|
-
}, 977: function(t2, e2, n2) {
|
|
1108
|
-
"use strict";
|
|
1109
|
-
var r2 = this && this.__importDefault || function(t3) {
|
|
1110
|
-
return t3 && t3.__esModule ? t3 : { default: t3 };
|
|
1111
|
-
};
|
|
1112
|
-
Object.defineProperty(e2, "__esModule", { value: true });
|
|
1113
|
-
var i = r2(n2(430)), o = function() {
|
|
1114
|
-
function t3(t4) {
|
|
1115
|
-
this.ops = t4, this.index = 0, this.offset = 0;
|
|
1116
|
-
}
|
|
1117
|
-
return t3.prototype.hasNext = function() {
|
|
1118
|
-
return this.peekLength() < 1 / 0;
|
|
1119
|
-
}, t3.prototype.next = function(t4) {
|
|
1120
|
-
t4 || (t4 = 1 / 0);
|
|
1121
|
-
var e3 = this.ops[this.index];
|
|
1122
|
-
if (e3) {
|
|
1123
|
-
var n3 = this.offset, r3 = i.default.length(e3);
|
|
1124
|
-
if (t4 >= r3 - n3 ? (t4 = r3 - n3, this.index += 1, this.offset = 0) : this.offset += t4, "number" == typeof e3.delete) return { delete: t4 };
|
|
1125
|
-
var o2 = {};
|
|
1126
|
-
return e3.attributes && (o2.attributes = e3.attributes), "number" == typeof e3.retain ? o2.retain = t4 : "string" == typeof e3.insert ? o2.insert = e3.insert.substr(n3, t4) : o2.insert = e3.insert, o2;
|
|
1127
|
-
}
|
|
1128
|
-
return { retain: 1 / 0 };
|
|
1129
|
-
}, t3.prototype.peek = function() {
|
|
1130
|
-
return this.ops[this.index];
|
|
1131
|
-
}, t3.prototype.peekLength = function() {
|
|
1132
|
-
return this.ops[this.index] ? i.default.length(this.ops[this.index]) - this.offset : 1 / 0;
|
|
1133
|
-
}, t3.prototype.peekType = function() {
|
|
1134
|
-
return this.ops[this.index] ? "number" == typeof this.ops[this.index].delete ? "delete" : "number" == typeof this.ops[this.index].retain ? "retain" : "insert" : "retain";
|
|
1135
|
-
}, t3.prototype.rest = function() {
|
|
1136
|
-
if (this.hasNext()) {
|
|
1137
|
-
if (0 === this.offset) return this.ops.slice(this.index);
|
|
1138
|
-
var t4 = this.offset, e3 = this.index, n3 = this.next(), r3 = this.ops.slice(this.index);
|
|
1139
|
-
return this.offset = t4, this.index = e3, [n3].concat(r3);
|
|
1140
|
-
}
|
|
1141
|
-
return [];
|
|
1142
|
-
}, t3;
|
|
1143
|
-
}();
|
|
1144
|
-
e2.default = o;
|
|
1145
|
-
}, 430: function(t2, e2, n2) {
|
|
1146
|
-
"use strict";
|
|
1147
|
-
var r2 = this && this.__importDefault || function(t3) {
|
|
1148
|
-
return t3 && t3.__esModule ? t3 : { default: t3 };
|
|
1149
|
-
};
|
|
1150
|
-
Object.defineProperty(e2, "__esModule", { value: true });
|
|
1151
|
-
var i, o = r2(n2(977));
|
|
1152
|
-
!function(t3) {
|
|
1153
|
-
t3.iterator = function(t4) {
|
|
1154
|
-
return new o.default(t4);
|
|
1155
|
-
}, t3.length = function(t4) {
|
|
1156
|
-
return "number" == typeof t4.delete ? t4.delete : "number" == typeof t4.retain ? t4.retain : "string" == typeof t4.insert ? t4.insert.length : 1;
|
|
1157
|
-
};
|
|
1158
|
-
}(i || (i = {})), e2.default = i;
|
|
1159
|
-
}, 165: function(t2, e2, n2) {
|
|
1160
|
-
var r2, i;
|
|
1161
|
-
void 0 === (i = "function" == typeof (r2 = function() {
|
|
1162
|
-
var t3, e3 = {};
|
|
1163
|
-
function n3(t4, e4, n4) {
|
|
1164
|
-
var r4 = t4.getClientRects();
|
|
1165
|
-
if (2 === r4.length) {
|
|
1166
|
-
var i3 = t4.getBoundingClientRect();
|
|
1167
|
-
return r4[e4][n4] < i3[n4];
|
|
1168
|
-
}
|
|
1169
|
-
return false;
|
|
1170
|
-
}
|
|
1171
|
-
function r3(t4) {
|
|
1172
|
-
if (!t4) return t4;
|
|
1173
|
-
if (screen.deviceXDPI === screen.logicalXDPI) return t4;
|
|
1174
|
-
if ("length" in t4) return Array.prototype.map.call(t4, r3);
|
|
1175
|
-
var e4 = screen.deviceXDPI / screen.logicalXDPI;
|
|
1176
|
-
return { top: t4.top / e4, bottom: t4.bottom / e4, left: t4.left / e4, right: t4.right / e4, width: t4.width / e4, height: t4.height / e4 };
|
|
1177
|
-
}
|
|
1178
|
-
function i2(t4, e4) {
|
|
1179
|
-
var n4, r4 = 0, i3 = 1024;
|
|
1180
|
-
if (i3 >= e4.length) return Array.prototype.push.apply(t4, e4);
|
|
1181
|
-
for (; r4 < e4.length; ) n4 = Array.prototype.push.apply(t4, Array.prototype.slice.call(e4, r4, r4 + i3)), r4 += i3;
|
|
1182
|
-
return n4;
|
|
1183
|
-
}
|
|
1184
|
-
return e3.isBroken = function() {
|
|
1185
|
-
if (void 0 === t3) {
|
|
1186
|
-
var e4 = document.createElement("p"), r4 = document.createElement("span"), i3 = document.createTextNode("aa"), o = document.createTextNode("aa"), s = document.createElement("img");
|
|
1187
|
-
s.setAttribute("src", "data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=");
|
|
1188
|
-
var a = document.createRange();
|
|
1189
|
-
if (t3 = {}, e4.appendChild(i3), e4.appendChild(r4), r4.appendChild(s), r4.appendChild(o), document.body.appendChild(e4), a.setStart(i3, 1), a.setEnd(r4, 0), t3.getClientRects = t3.getBoundingClientRect = a.getClientRects().length > 1, t3.getClientRects || (a.setEnd(o, 1), t3.getClientRects = t3.getBoundingClientRect = 2 === a.getClientRects().length), !t3.getBoundingClientRect) {
|
|
1190
|
-
a.setEnd(a.startContainer, a.startOffset);
|
|
1191
|
-
var u = a.getBoundingClientRect();
|
|
1192
|
-
t3.getBoundingClientRect = 0 === u.top && 0 === u.left;
|
|
1193
|
-
}
|
|
1194
|
-
if (document.body.removeChild(e4), !t3.getBoundingClientRect) {
|
|
1195
|
-
var c = document.createElement("p");
|
|
1196
|
-
c.style.width = "0px", c.style.fontSize = "20px", c.style.whiteSpace = "normal", c.style.wordBreak = "normal";
|
|
1197
|
-
var l = document.createTextNode("m mm");
|
|
1198
|
-
c.appendChild(l), document.body.appendChild(c), a.setStart(l, 1), a.setEnd(l, 2), n3(a, 1, "left") ? t3.getBoundingClientRect = true : (a.setStart(l, 1), a.setEnd(l, 3), n3(a, 0, "top") && (t3.getBoundingClientRect = true)), document.body.removeChild(c);
|
|
1199
|
-
}
|
|
1200
|
-
var f = window.ActiveXObject && new Function("/*@cc_on return @_jscript_version; @*/")();
|
|
1201
|
-
t3.ieZoom = !!f && f <= 10;
|
|
1202
|
-
}
|
|
1203
|
-
return t3;
|
|
1204
|
-
}, e3.getClientRects = function(t4) {
|
|
1205
|
-
var e4 = this.isBroken();
|
|
1206
|
-
if (e4.ieZoom) return r3(t4.getClientRects());
|
|
1207
|
-
if (!e4.getClientRects) return t4.getClientRects();
|
|
1208
|
-
var n4 = [], o = [], s = t4.endContainer, a = t4.endOffset, u = document.createRange();
|
|
1209
|
-
function c(t5) {
|
|
1210
|
-
for (var e5 = 0; t5 = t5.previousSibling; ) e5++;
|
|
1211
|
-
return e5;
|
|
1212
|
-
}
|
|
1213
|
-
for (; s !== t4.commonAncestorContainer; ) u.setStart(s, 0), u.setEnd(s, a), i2(o, u.getClientRects()), a = c(s), s = s.parentNode;
|
|
1214
|
-
return (u = t4.cloneRange()).setEnd(s, a), i2(n4, u.getClientRects()), i2(n4, o), n4;
|
|
1215
|
-
}, e3.getBoundingClientRect = function(t4) {
|
|
1216
|
-
var e4 = this.getClientRects(t4);
|
|
1217
|
-
if (0 === e4.length) return null;
|
|
1218
|
-
var n4, i3 = t4.getBoundingClientRect(), o = this.isBroken();
|
|
1219
|
-
if (o.ieZoom) return r3(i3);
|
|
1220
|
-
if (!o.getBoundingClientRect) return i3;
|
|
1221
|
-
if (0 === i3.width && 0 === i3.height) return e4[0];
|
|
1222
|
-
for (var s = 0, a = e4.length; s < a; s++) {
|
|
1223
|
-
var u = e4[s];
|
|
1224
|
-
n4 ? (n4.left = Math.min(n4.left, u.left), n4.top = Math.min(n4.top, u.top), n4.right = Math.max(n4.right, u.right), n4.bottom = Math.max(n4.bottom, u.bottom)) : n4 = { left: u.left, top: u.top, right: u.right, bottom: u.bottom };
|
|
1225
|
-
}
|
|
1226
|
-
return n4 && (n4.width = n4.right - n4.left, n4.height = n4.bottom - n4.top), n4;
|
|
1227
|
-
}, e3;
|
|
1228
|
-
}) ? r2.call(e2, n2, e2, t2) : r2) || (t2.exports = i);
|
|
1229
|
-
}, 33: (t2, e2, n2) => {
|
|
1230
|
-
"use strict";
|
|
1231
|
-
n2.r(e2), n2.d(e2, { default: () => A });
|
|
1232
|
-
var r2 = function() {
|
|
1233
|
-
if ("undefined" != typeof Map) return Map;
|
|
1234
|
-
function t3(t4, e3) {
|
|
1235
|
-
var n3 = -1;
|
|
1236
|
-
return t4.some(function(t5, r3) {
|
|
1237
|
-
return t5[0] === e3 && (n3 = r3, true);
|
|
1238
|
-
}), n3;
|
|
1239
|
-
}
|
|
1240
|
-
return function() {
|
|
1241
|
-
function e3() {
|
|
1242
|
-
this.__entries__ = [];
|
|
1243
|
-
}
|
|
1244
|
-
return Object.defineProperty(e3.prototype, "size", { get: function() {
|
|
1245
|
-
return this.__entries__.length;
|
|
1246
|
-
}, enumerable: true, configurable: true }), e3.prototype.get = function(e4) {
|
|
1247
|
-
var n3 = t3(this.__entries__, e4), r3 = this.__entries__[n3];
|
|
1248
|
-
return r3 && r3[1];
|
|
1249
|
-
}, e3.prototype.set = function(e4, n3) {
|
|
1250
|
-
var r3 = t3(this.__entries__, e4);
|
|
1251
|
-
~r3 ? this.__entries__[r3][1] = n3 : this.__entries__.push([e4, n3]);
|
|
1252
|
-
}, e3.prototype.delete = function(e4) {
|
|
1253
|
-
var n3 = this.__entries__, r3 = t3(n3, e4);
|
|
1254
|
-
~r3 && n3.splice(r3, 1);
|
|
1255
|
-
}, e3.prototype.has = function(e4) {
|
|
1256
|
-
return !!~t3(this.__entries__, e4);
|
|
1257
|
-
}, e3.prototype.clear = function() {
|
|
1258
|
-
this.__entries__.splice(0);
|
|
1259
|
-
}, e3.prototype.forEach = function(t4, e4) {
|
|
1260
|
-
void 0 === e4 && (e4 = null);
|
|
1261
|
-
for (var n3 = 0, r3 = this.__entries__; n3 < r3.length; n3++) {
|
|
1262
|
-
var i2 = r3[n3];
|
|
1263
|
-
t4.call(e4, i2[1], i2[0]);
|
|
1264
|
-
}
|
|
1265
|
-
}, e3;
|
|
1266
|
-
}();
|
|
1267
|
-
}(), i = "undefined" != typeof window && "undefined" != typeof document && window.document === document, o = void 0 !== n2.g && n2.g.Math === Math ? n2.g : "undefined" != typeof self && self.Math === Math ? self : "undefined" != typeof window && window.Math === Math ? window : Function("return this")(), s = "function" == typeof requestAnimationFrame ? requestAnimationFrame.bind(o) : function(t3) {
|
|
1268
|
-
return setTimeout(function() {
|
|
1269
|
-
return t3(Date.now());
|
|
1270
|
-
}, 1e3 / 60);
|
|
1271
|
-
}, a = ["top", "right", "bottom", "left", "width", "height", "size", "weight"], u = "undefined" != typeof MutationObserver, c = function() {
|
|
1272
|
-
function t3() {
|
|
1273
|
-
this.connected_ = false, this.mutationEventsAdded_ = false, this.mutationsObserver_ = null, this.observers_ = [], this.onTransitionEnd_ = this.onTransitionEnd_.bind(this), this.refresh = /* @__PURE__ */ function(t4, e3) {
|
|
1274
|
-
var n3 = false, r3 = false, i2 = 0;
|
|
1275
|
-
function o2() {
|
|
1276
|
-
n3 && (n3 = false, t4()), r3 && u2();
|
|
1277
|
-
}
|
|
1278
|
-
function a2() {
|
|
1279
|
-
s(o2);
|
|
1280
|
-
}
|
|
1281
|
-
function u2() {
|
|
1282
|
-
var t5 = Date.now();
|
|
1283
|
-
if (n3) {
|
|
1284
|
-
if (t5 - i2 < 2) return;
|
|
1285
|
-
r3 = true;
|
|
1286
|
-
} else n3 = true, r3 = false, setTimeout(a2, 20);
|
|
1287
|
-
i2 = t5;
|
|
1288
|
-
}
|
|
1289
|
-
return u2;
|
|
1290
|
-
}(this.refresh.bind(this));
|
|
1291
|
-
}
|
|
1292
|
-
return t3.prototype.addObserver = function(t4) {
|
|
1293
|
-
~this.observers_.indexOf(t4) || this.observers_.push(t4), this.connected_ || this.connect_();
|
|
1294
|
-
}, t3.prototype.removeObserver = function(t4) {
|
|
1295
|
-
var e3 = this.observers_, n3 = e3.indexOf(t4);
|
|
1296
|
-
~n3 && e3.splice(n3, 1), !e3.length && this.connected_ && this.disconnect_();
|
|
1297
|
-
}, t3.prototype.refresh = function() {
|
|
1298
|
-
this.updateObservers_() && this.refresh();
|
|
1299
|
-
}, t3.prototype.updateObservers_ = function() {
|
|
1300
|
-
var t4 = this.observers_.filter(function(t5) {
|
|
1301
|
-
return t5.gatherActive(), t5.hasActive();
|
|
1302
|
-
});
|
|
1303
|
-
return t4.forEach(function(t5) {
|
|
1304
|
-
return t5.broadcastActive();
|
|
1305
|
-
}), t4.length > 0;
|
|
1306
|
-
}, t3.prototype.connect_ = function() {
|
|
1307
|
-
i && !this.connected_ && (document.addEventListener("transitionend", this.onTransitionEnd_), window.addEventListener("resize", this.refresh), u ? (this.mutationsObserver_ = new MutationObserver(this.refresh), this.mutationsObserver_.observe(document, { attributes: true, childList: true, characterData: true, subtree: true })) : (document.addEventListener("DOMSubtreeModified", this.refresh), this.mutationEventsAdded_ = true), this.connected_ = true);
|
|
1308
|
-
}, t3.prototype.disconnect_ = function() {
|
|
1309
|
-
i && this.connected_ && (document.removeEventListener("transitionend", this.onTransitionEnd_), window.removeEventListener("resize", this.refresh), this.mutationsObserver_ && this.mutationsObserver_.disconnect(), this.mutationEventsAdded_ && document.removeEventListener("DOMSubtreeModified", this.refresh), this.mutationsObserver_ = null, this.mutationEventsAdded_ = false, this.connected_ = false);
|
|
1310
|
-
}, t3.prototype.onTransitionEnd_ = function(t4) {
|
|
1311
|
-
var e3 = t4.propertyName, n3 = void 0 === e3 ? "" : e3;
|
|
1312
|
-
a.some(function(t5) {
|
|
1313
|
-
return !!~n3.indexOf(t5);
|
|
1314
|
-
}) && this.refresh();
|
|
1315
|
-
}, t3.getInstance = function() {
|
|
1316
|
-
return this.instance_ || (this.instance_ = new t3()), this.instance_;
|
|
1317
|
-
}, t3.instance_ = null, t3;
|
|
1318
|
-
}(), l = function(t3, e3) {
|
|
1319
|
-
for (var n3 = 0, r3 = Object.keys(e3); n3 < r3.length; n3++) {
|
|
1320
|
-
var i2 = r3[n3];
|
|
1321
|
-
Object.defineProperty(t3, i2, { value: e3[i2], enumerable: false, writable: false, configurable: true });
|
|
1322
|
-
}
|
|
1323
|
-
return t3;
|
|
1324
|
-
}, f = function(t3) {
|
|
1325
|
-
return t3 && t3.ownerDocument && t3.ownerDocument.defaultView || o;
|
|
1326
|
-
}, h = _(0, 0, 0, 0);
|
|
1327
|
-
function p(t3) {
|
|
1328
|
-
return parseFloat(t3) || 0;
|
|
1329
|
-
}
|
|
1330
|
-
function d(t3) {
|
|
1331
|
-
for (var e3 = [], n3 = 1; n3 < arguments.length; n3++) e3[n3 - 1] = arguments[n3];
|
|
1332
|
-
return e3.reduce(function(e4, n4) {
|
|
1333
|
-
return e4 + p(t3["border-" + n4 + "-width"]);
|
|
1334
|
-
}, 0);
|
|
1335
|
-
}
|
|
1336
|
-
var g = "undefined" != typeof SVGGraphicsElement ? function(t3) {
|
|
1337
|
-
return t3 instanceof f(t3).SVGGraphicsElement;
|
|
1338
|
-
} : function(t3) {
|
|
1339
|
-
return t3 instanceof f(t3).SVGElement && "function" == typeof t3.getBBox;
|
|
1340
|
-
};
|
|
1341
|
-
function v(t3) {
|
|
1342
|
-
return i ? g(t3) ? function(t4) {
|
|
1343
|
-
var e3 = t4.getBBox();
|
|
1344
|
-
return _(0, 0, e3.width, e3.height);
|
|
1345
|
-
}(t3) : function(t4) {
|
|
1346
|
-
var e3 = t4.clientWidth, n3 = t4.clientHeight;
|
|
1347
|
-
if (!e3 && !n3) return h;
|
|
1348
|
-
var r3 = f(t4).getComputedStyle(t4), i2 = function(t5) {
|
|
1349
|
-
for (var e4 = {}, n4 = 0, r4 = ["top", "right", "bottom", "left"]; n4 < r4.length; n4++) {
|
|
1350
|
-
var i3 = r4[n4], o3 = t5["padding-" + i3];
|
|
1351
|
-
e4[i3] = p(o3);
|
|
1352
|
-
}
|
|
1353
|
-
return e4;
|
|
1354
|
-
}(r3), o2 = i2.left + i2.right, s2 = i2.top + i2.bottom, a2 = p(r3.width), u2 = p(r3.height);
|
|
1355
|
-
if ("border-box" === r3.boxSizing && (Math.round(a2 + o2) !== e3 && (a2 -= d(r3, "left", "right") + o2), Math.round(u2 + s2) !== n3 && (u2 -= d(r3, "top", "bottom") + s2)), !function(t5) {
|
|
1356
|
-
return t5 === f(t5).document.documentElement;
|
|
1357
|
-
}(t4)) {
|
|
1358
|
-
var c2 = Math.round(a2 + o2) - e3, l2 = Math.round(u2 + s2) - n3;
|
|
1359
|
-
1 !== Math.abs(c2) && (a2 -= c2), 1 !== Math.abs(l2) && (u2 -= l2);
|
|
1360
|
-
}
|
|
1361
|
-
return _(i2.left, i2.top, a2, u2);
|
|
1362
|
-
}(t3) : h;
|
|
1363
|
-
}
|
|
1364
|
-
function _(t3, e3, n3, r3) {
|
|
1365
|
-
return { x: t3, y: e3, width: n3, height: r3 };
|
|
1366
|
-
}
|
|
1367
|
-
var y = function() {
|
|
1368
|
-
function t3(t4) {
|
|
1369
|
-
this.broadcastWidth = 0, this.broadcastHeight = 0, this.contentRect_ = _(0, 0, 0, 0), this.target = t4;
|
|
1370
|
-
}
|
|
1371
|
-
return t3.prototype.isActive = function() {
|
|
1372
|
-
var t4 = v(this.target);
|
|
1373
|
-
return this.contentRect_ = t4, t4.width !== this.broadcastWidth || t4.height !== this.broadcastHeight;
|
|
1374
|
-
}, t3.prototype.broadcastRect = function() {
|
|
1375
|
-
var t4 = this.contentRect_;
|
|
1376
|
-
return this.broadcastWidth = t4.width, this.broadcastHeight = t4.height, t4;
|
|
1377
|
-
}, t3;
|
|
1378
|
-
}(), b = function(t3, e3) {
|
|
1379
|
-
var n3, r3, i2, o2, s2, a2, u2, c2 = (r3 = (n3 = e3).x, i2 = n3.y, o2 = n3.width, s2 = n3.height, a2 = "undefined" != typeof DOMRectReadOnly ? DOMRectReadOnly : Object, u2 = Object.create(a2.prototype), l(u2, { x: r3, y: i2, width: o2, height: s2, top: i2, right: r3 + o2, bottom: s2 + i2, left: r3 }), u2);
|
|
1380
|
-
l(this, { target: t3, contentRect: c2 });
|
|
1381
|
-
}, m = function() {
|
|
1382
|
-
function t3(t4, e3, n3) {
|
|
1383
|
-
if (this.activeObservations_ = [], this.observations_ = new r2(), "function" != typeof t4) throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
1384
|
-
this.callback_ = t4, this.controller_ = e3, this.callbackCtx_ = n3;
|
|
1385
|
-
}
|
|
1386
|
-
return t3.prototype.observe = function(t4) {
|
|
1387
|
-
if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
|
|
1388
|
-
if ("undefined" != typeof Element && Element instanceof Object) {
|
|
1389
|
-
if (!(t4 instanceof f(t4).Element)) throw new TypeError('parameter 1 is not of type "Element".');
|
|
1390
|
-
var e3 = this.observations_;
|
|
1391
|
-
e3.has(t4) || (e3.set(t4, new y(t4)), this.controller_.addObserver(this), this.controller_.refresh());
|
|
1392
|
-
}
|
|
1393
|
-
}, t3.prototype.unobserve = function(t4) {
|
|
1394
|
-
if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
|
|
1395
|
-
if ("undefined" != typeof Element && Element instanceof Object) {
|
|
1396
|
-
if (!(t4 instanceof f(t4).Element)) throw new TypeError('parameter 1 is not of type "Element".');
|
|
1397
|
-
var e3 = this.observations_;
|
|
1398
|
-
e3.has(t4) && (e3.delete(t4), e3.size || this.controller_.removeObserver(this));
|
|
1399
|
-
}
|
|
1400
|
-
}, t3.prototype.disconnect = function() {
|
|
1401
|
-
this.clearActive(), this.observations_.clear(), this.controller_.removeObserver(this);
|
|
1402
|
-
}, t3.prototype.gatherActive = function() {
|
|
1403
|
-
var t4 = this;
|
|
1404
|
-
this.clearActive(), this.observations_.forEach(function(e3) {
|
|
1405
|
-
e3.isActive() && t4.activeObservations_.push(e3);
|
|
1406
|
-
});
|
|
1407
|
-
}, t3.prototype.broadcastActive = function() {
|
|
1408
|
-
if (this.hasActive()) {
|
|
1409
|
-
var t4 = this.callbackCtx_, e3 = this.activeObservations_.map(function(t5) {
|
|
1410
|
-
return new b(t5.target, t5.broadcastRect());
|
|
1411
|
-
});
|
|
1412
|
-
this.callback_.call(t4, e3, t4), this.clearActive();
|
|
1413
|
-
}
|
|
1414
|
-
}, t3.prototype.clearActive = function() {
|
|
1415
|
-
this.activeObservations_.splice(0);
|
|
1416
|
-
}, t3.prototype.hasActive = function() {
|
|
1417
|
-
return this.activeObservations_.length > 0;
|
|
1418
|
-
}, t3;
|
|
1419
|
-
}(), C = "undefined" != typeof WeakMap ? /* @__PURE__ */ new WeakMap() : new r2(), E = function t3(e3) {
|
|
1420
|
-
if (!(this instanceof t3)) throw new TypeError("Cannot call a class as a function.");
|
|
1421
|
-
if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
|
|
1422
|
-
var n3 = c.getInstance(), r3 = new m(e3, n3, this);
|
|
1423
|
-
C.set(this, r3);
|
|
1424
|
-
};
|
|
1425
|
-
["observe", "unobserve", "disconnect"].forEach(function(t3) {
|
|
1426
|
-
E.prototype[t3] = function() {
|
|
1427
|
-
var e3;
|
|
1428
|
-
return (e3 = C.get(this))[t3].apply(e3, arguments);
|
|
1429
|
-
};
|
|
1430
|
-
});
|
|
1431
|
-
const A = void 0 !== o.ResizeObserver ? o.ResizeObserver : E;
|
|
1432
|
-
}, 413: (t2, e2, n2) => {
|
|
1433
|
-
"use strict";
|
|
1434
|
-
n2.r(e2), n2.d(e2, { default: () => _ });
|
|
1435
|
-
var r2 = n2(379), i = n2.n(r2), o = n2(795), s = n2.n(o), a = n2(569), u = n2.n(a), c = n2(565), l = n2.n(c), f = n2(216), h = n2.n(f), p = n2(589), d = n2.n(p), g = n2(582), v = {};
|
|
1436
|
-
v.styleTagTransform = d(), v.setAttributes = l(), v.insert = u().bind(null, "head"), v.domAPI = s(), v.insertStyleElement = h(), i()(g.Z, v);
|
|
1437
|
-
const _ = g.Z && g.Z.locals ? g.Z.locals : void 0;
|
|
1438
|
-
}, 379: (t2) => {
|
|
1439
|
-
"use strict";
|
|
1440
|
-
var e2 = [];
|
|
1441
|
-
function n2(t3) {
|
|
1442
|
-
for (var n3 = -1, r3 = 0; r3 < e2.length; r3++) if (e2[r3].identifier === t3) {
|
|
1443
|
-
n3 = r3;
|
|
1444
|
-
break;
|
|
1445
|
-
}
|
|
1446
|
-
return n3;
|
|
1447
|
-
}
|
|
1448
|
-
function r2(t3, r3) {
|
|
1449
|
-
for (var o = {}, s = [], a = 0; a < t3.length; a++) {
|
|
1450
|
-
var u = t3[a], c = r3.base ? u[0] + r3.base : u[0], l = o[c] || 0, f = "".concat(c, " ").concat(l);
|
|
1451
|
-
o[c] = l + 1;
|
|
1452
|
-
var h = n2(f), p = { css: u[1], media: u[2], sourceMap: u[3], supports: u[4], layer: u[5] };
|
|
1453
|
-
if (-1 !== h) e2[h].references++, e2[h].updater(p);
|
|
1454
|
-
else {
|
|
1455
|
-
var d = i(p, r3);
|
|
1456
|
-
r3.byIndex = a, e2.splice(a, 0, { identifier: f, updater: d, references: 1 });
|
|
1457
|
-
}
|
|
1458
|
-
s.push(f);
|
|
1459
|
-
}
|
|
1460
|
-
return s;
|
|
1461
|
-
}
|
|
1462
|
-
function i(t3, e3) {
|
|
1463
|
-
var n3 = e3.domAPI(e3);
|
|
1464
|
-
return n3.update(t3), function(e4) {
|
|
1465
|
-
if (e4) {
|
|
1466
|
-
if (e4.css === t3.css && e4.media === t3.media && e4.sourceMap === t3.sourceMap && e4.supports === t3.supports && e4.layer === t3.layer) return;
|
|
1467
|
-
n3.update(t3 = e4);
|
|
1468
|
-
} else n3.remove();
|
|
1469
|
-
};
|
|
1470
|
-
}
|
|
1471
|
-
t2.exports = function(t3, i2) {
|
|
1472
|
-
var o = r2(t3 = t3 || [], i2 = i2 || {});
|
|
1473
|
-
return function(t4) {
|
|
1474
|
-
t4 = t4 || [];
|
|
1475
|
-
for (var s = 0; s < o.length; s++) {
|
|
1476
|
-
var a = n2(o[s]);
|
|
1477
|
-
e2[a].references--;
|
|
1478
|
-
}
|
|
1479
|
-
for (var u = r2(t4, i2), c = 0; c < o.length; c++) {
|
|
1480
|
-
var l = n2(o[c]);
|
|
1481
|
-
0 === e2[l].references && (e2[l].updater(), e2.splice(l, 1));
|
|
1482
|
-
}
|
|
1483
|
-
o = u;
|
|
1484
|
-
};
|
|
1485
|
-
};
|
|
1486
|
-
}, 569: (t2) => {
|
|
1487
|
-
"use strict";
|
|
1488
|
-
var e2 = {};
|
|
1489
|
-
t2.exports = function(t3, n2) {
|
|
1490
|
-
var r2 = function(t4) {
|
|
1491
|
-
if (void 0 === e2[t4]) {
|
|
1492
|
-
var n3 = document.querySelector(t4);
|
|
1493
|
-
if (window.HTMLIFrameElement && n3 instanceof window.HTMLIFrameElement) try {
|
|
1494
|
-
n3 = n3.contentDocument.head;
|
|
1495
|
-
} catch (t5) {
|
|
1496
|
-
n3 = null;
|
|
1497
|
-
}
|
|
1498
|
-
e2[t4] = n3;
|
|
1499
|
-
}
|
|
1500
|
-
return e2[t4];
|
|
1501
|
-
}(t3);
|
|
1502
|
-
if (!r2) throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
|
|
1503
|
-
r2.appendChild(n2);
|
|
1504
|
-
};
|
|
1505
|
-
}, 216: (t2) => {
|
|
1506
|
-
"use strict";
|
|
1507
|
-
t2.exports = function(t3) {
|
|
1508
|
-
var e2 = document.createElement("style");
|
|
1509
|
-
return t3.setAttributes(e2, t3.attributes), t3.insert(e2, t3.options), e2;
|
|
1510
|
-
};
|
|
1511
|
-
}, 565: (t2, e2, n2) => {
|
|
1512
|
-
"use strict";
|
|
1513
|
-
t2.exports = function(t3) {
|
|
1514
|
-
var e3 = n2.nc;
|
|
1515
|
-
e3 && t3.setAttribute("nonce", e3);
|
|
1516
|
-
};
|
|
1517
|
-
}, 795: (t2) => {
|
|
1518
|
-
"use strict";
|
|
1519
|
-
t2.exports = function(t3) {
|
|
1520
|
-
var e2 = t3.insertStyleElement(t3);
|
|
1521
|
-
return { update: function(n2) {
|
|
1522
|
-
!function(t4, e3, n3) {
|
|
1523
|
-
var r2 = "";
|
|
1524
|
-
n3.supports && (r2 += "@supports (".concat(n3.supports, ") {")), n3.media && (r2 += "@media ".concat(n3.media, " {"));
|
|
1525
|
-
var i = void 0 !== n3.layer;
|
|
1526
|
-
i && (r2 += "@layer".concat(n3.layer.length > 0 ? " ".concat(n3.layer) : "", " {")), r2 += n3.css, i && (r2 += "}"), n3.media && (r2 += "}"), n3.supports && (r2 += "}");
|
|
1527
|
-
var o = n3.sourceMap;
|
|
1528
|
-
o && "undefined" != typeof btoa && (r2 += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o)))), " */")), e3.styleTagTransform(r2, t4, e3.options);
|
|
1529
|
-
}(e2, t3, n2);
|
|
1530
|
-
}, remove: function() {
|
|
1531
|
-
!function(t4) {
|
|
1532
|
-
if (null === t4.parentNode) return false;
|
|
1533
|
-
t4.parentNode.removeChild(t4);
|
|
1534
|
-
}(e2);
|
|
1535
|
-
} };
|
|
1536
|
-
};
|
|
1537
|
-
}, 589: (t2) => {
|
|
1538
|
-
"use strict";
|
|
1539
|
-
t2.exports = function(t3, e2) {
|
|
1540
|
-
if (e2.styleSheet) e2.styleSheet.cssText = t3;
|
|
1541
|
-
else {
|
|
1542
|
-
for (; e2.firstChild; ) e2.removeChild(e2.firstChild);
|
|
1543
|
-
e2.appendChild(document.createTextNode(t3));
|
|
1544
|
-
}
|
|
1545
|
-
};
|
|
1546
|
-
}, 607: function(t2, e2, n2) {
|
|
1547
|
-
"use strict";
|
|
1548
|
-
var r2 = this && this.__importDefault || function(t3) {
|
|
1549
|
-
return t3 && t3.__esModule ? t3 : { default: t3 };
|
|
1550
|
-
};
|
|
1551
|
-
Object.defineProperty(e2, "__esModule", { value: true }), e2.Cursor = e2.default = void 0;
|
|
1552
|
-
var i = r2(n2(678));
|
|
1553
|
-
e2.default = i.default;
|
|
1554
|
-
var o = r2(n2(353));
|
|
1555
|
-
e2.Cursor = o.default, n2(413);
|
|
1556
|
-
}, 353: (t2, e2) => {
|
|
1557
|
-
"use strict";
|
|
1558
|
-
Object.defineProperty(e2, "__esModule", { value: true });
|
|
1559
|
-
var n2 = function() {
|
|
1560
|
-
function t3(t4, e3, n3) {
|
|
1561
|
-
this.id = t4, this.name = e3, this.color = n3, this.toggleNearCursor = this.toggleNearCursor.bind(this), this._toggleOpenedCursor = this._toggleOpenedCursor.bind(this), this._setHoverState = this._setHoverState.bind(this);
|
|
1562
|
-
}
|
|
1563
|
-
return t3.prototype.build = function(e3) {
|
|
1564
|
-
var n3 = document.createElement(t3.CONTAINER_ELEMENT_TAG);
|
|
1565
|
-
n3.classList.add(t3.CURSOR_CLASS), n3.id = "ql-cursor-".concat(this.id), n3.innerHTML = e3.template;
|
|
1566
|
-
var r2 = n3.getElementsByClassName(t3.SELECTION_CLASS)[0], i = n3.getElementsByClassName(t3.CARET_CONTAINER_CLASS)[0], o = i.getElementsByClassName(t3.CARET_CLASS)[0], s = n3.getElementsByClassName(t3.FLAG_CLASS)[0];
|
|
1567
|
-
return s.style.backgroundColor = this.color, o.style.backgroundColor = this.color, n3.getElementsByClassName(t3.NAME_CLASS)[0].textContent = this.name, this._hideDelay = "".concat(e3.hideDelayMs, "ms"), this._hideSpeedMs = e3.hideSpeedMs, this._positionFlag = e3.positionFlag, s.style.transitionDelay = this._hideDelay, s.style.transitionDuration = "".concat(this._hideSpeedMs, "ms"), this._el = n3, this._selectionEl = r2, this._caretEl = i, this._flagEl = s, i.addEventListener("mouseover", this._setHoverState, { passive: true }), this._el;
|
|
1568
|
-
}, t3.prototype.show = function() {
|
|
1569
|
-
this._el.classList.remove(t3.HIDDEN_CLASS);
|
|
1570
|
-
}, t3.prototype.hide = function() {
|
|
1571
|
-
this._el.classList.add(t3.HIDDEN_CLASS);
|
|
1572
|
-
}, t3.prototype.remove = function() {
|
|
1573
|
-
this._el.parentNode.removeChild(this._el);
|
|
1574
|
-
}, t3.prototype.toggleNearCursor = function(e3, n3) {
|
|
1575
|
-
var r2 = this._getCoordinates(), i = r2.left, o = r2.right, s = r2.top, a = r2.bottom, u = e3 >= i && e3 <= o && n3 >= s && n3 <= a;
|
|
1576
|
-
return this._caretEl.classList.toggle(t3.CONTAINER_HOVER_CLASS, u), u;
|
|
1577
|
-
}, t3.prototype.toggleFlag = function(e3) {
|
|
1578
|
-
var n3 = this;
|
|
1579
|
-
this._caretEl.classList.toggle(t3.CONTAINER_HOVER_CLASS, e3) || (this._flagEl.classList.add(t3.NO_DELAY_CLASS), setTimeout(function() {
|
|
1580
|
-
return n3._flagEl.classList.remove(t3.NO_DELAY_CLASS);
|
|
1581
|
-
}, this._hideSpeedMs));
|
|
1582
|
-
}, t3.prototype.updateCaret = function(t4, e3) {
|
|
1583
|
-
this._caretEl.style.top = "".concat(t4.top, "px"), this._caretEl.style.left = "".concat(t4.left, "px"), this._caretEl.style.height = "".concat(t4.height, "px"), this._positionFlag ? this._positionFlag(this._flagEl, t4, e3) : this._updateCaretFlag(t4, e3);
|
|
1584
|
-
}, t3.prototype.updateSelection = function(t4, e3) {
|
|
1585
|
-
var n3 = this;
|
|
1586
|
-
this._clearSelection(), t4 = t4 || [], t4 = Array.from(t4), t4 = this._sanitize(t4), (t4 = this._sortByDomPosition(t4)).forEach(function(t5) {
|
|
1587
|
-
return n3._addSelection(t5, e3);
|
|
1588
|
-
});
|
|
1589
|
-
}, t3.prototype._setHoverState = function() {
|
|
1590
|
-
document.addEventListener("mousemove", this._toggleOpenedCursor, { passive: true });
|
|
1591
|
-
}, t3.prototype._toggleOpenedCursor = function(e3) {
|
|
1592
|
-
var n3 = this.toggleNearCursor(e3.clientX, e3.clientY);
|
|
1593
|
-
this._caretEl.classList.toggle(t3.CONTAINER_NO_POINTER_CLASS, n3), n3 || document.removeEventListener("mousemove", this._toggleOpenedCursor);
|
|
1594
|
-
}, t3.prototype._getCoordinates = function() {
|
|
1595
|
-
return this._caretEl.getBoundingClientRect();
|
|
1596
|
-
}, t3.prototype._updateCaretFlag = function(e3, n3) {
|
|
1597
|
-
this._flagEl.style.width = "";
|
|
1598
|
-
var r2 = this._flagEl.getBoundingClientRect();
|
|
1599
|
-
this._flagEl.classList.remove(t3.FLAG_FLIPPED_CLASS), e3.left > n3.width - r2.width && this._flagEl.classList.add(t3.FLAG_FLIPPED_CLASS), this._flagEl.style.left = "".concat(e3.left, "px"), this._flagEl.style.top = "".concat(e3.top, "px"), this._flagEl.style.width = "".concat(Math.ceil(r2.width), "px");
|
|
1600
|
-
}, t3.prototype._clearSelection = function() {
|
|
1601
|
-
this._selectionEl.innerHTML = "";
|
|
1602
|
-
}, t3.prototype._addSelection = function(t4, e3) {
|
|
1603
|
-
var n3 = this._selectionBlock(t4, e3);
|
|
1604
|
-
this._selectionEl.appendChild(n3);
|
|
1605
|
-
}, t3.prototype._selectionBlock = function(e3, n3) {
|
|
1606
|
-
var r2 = document.createElement(t3.SELECTION_ELEMENT_TAG);
|
|
1607
|
-
return r2.classList.add(t3.SELECTION_BLOCK_CLASS), r2.style.top = "".concat(e3.top - n3.top, "px"), r2.style.left = "".concat(e3.left - n3.left, "px"), r2.style.width = "".concat(e3.width, "px"), r2.style.height = "".concat(e3.height, "px"), r2.style.backgroundColor = this.color, r2.style.opacity = "0.3", r2;
|
|
1608
|
-
}, t3.prototype._sortByDomPosition = function(t4) {
|
|
1609
|
-
return t4.sort(function(t5, e3) {
|
|
1610
|
-
return t5.top === e3.top ? t5.left - e3.left : t5.top - e3.top;
|
|
1611
|
-
});
|
|
1612
|
-
}, t3.prototype._sanitize = function(t4) {
|
|
1613
|
-
var e3 = this, n3 = /* @__PURE__ */ new Set();
|
|
1614
|
-
return t4.filter(function(t5) {
|
|
1615
|
-
if (!t5.width || !t5.height) return false;
|
|
1616
|
-
var r2 = e3._serialize(t5);
|
|
1617
|
-
return !n3.has(r2) && (n3.add(r2), true);
|
|
1618
|
-
});
|
|
1619
|
-
}, t3.prototype._serialize = function(t4) {
|
|
1620
|
-
return ["top:".concat(t4.top), "right:".concat(t4.right), "bottom:".concat(t4.bottom), "left:".concat(t4.left)].join(";");
|
|
1621
|
-
}, t3.CONTAINER_ELEMENT_TAG = "SPAN", t3.SELECTION_ELEMENT_TAG = "SPAN", t3.CURSOR_CLASS = "ql-cursor", t3.SELECTION_CLASS = "ql-cursor-selections", t3.SELECTION_BLOCK_CLASS = "ql-cursor-selection-block", t3.CARET_CLASS = "ql-cursor-caret", t3.CARET_CONTAINER_CLASS = "ql-cursor-caret-container", t3.CONTAINER_HOVER_CLASS = "hover", t3.CONTAINER_NO_POINTER_CLASS = "no-pointer", t3.FLAG_CLASS = "ql-cursor-flag", t3.FLAG_FLIPPED_CLASS = "flag-flipped", t3.NAME_CLASS = "ql-cursor-name", t3.HIDDEN_CLASS = "hidden", t3.NO_DELAY_CLASS = "no-delay", t3;
|
|
1622
|
-
}();
|
|
1623
|
-
e2.default = n2;
|
|
1624
|
-
}, 678: function(t2, e2, n2) {
|
|
1625
|
-
"use strict";
|
|
1626
|
-
var r2 = this && this.__createBinding || (Object.create ? function(t3, e3, n3, r3) {
|
|
1627
|
-
void 0 === r3 && (r3 = n3);
|
|
1628
|
-
var i2 = Object.getOwnPropertyDescriptor(e3, n3);
|
|
1629
|
-
i2 && !("get" in i2 ? !e3.__esModule : i2.writable || i2.configurable) || (i2 = { enumerable: true, get: function() {
|
|
1630
|
-
return e3[n3];
|
|
1631
|
-
} }), Object.defineProperty(t3, r3, i2);
|
|
1632
|
-
} : function(t3, e3, n3, r3) {
|
|
1633
|
-
void 0 === r3 && (r3 = n3), t3[r3] = e3[n3];
|
|
1634
|
-
}), i = this && this.__setModuleDefault || (Object.create ? function(t3, e3) {
|
|
1635
|
-
Object.defineProperty(t3, "default", { enumerable: true, value: e3 });
|
|
1636
|
-
} : function(t3, e3) {
|
|
1637
|
-
t3.default = e3;
|
|
1638
|
-
}), o = this && this.__importStar || function(t3) {
|
|
1639
|
-
if (t3 && t3.__esModule) return t3;
|
|
1640
|
-
var e3 = {};
|
|
1641
|
-
if (null != t3) for (var n3 in t3) "default" !== n3 && Object.prototype.hasOwnProperty.call(t3, n3) && r2(e3, t3, n3);
|
|
1642
|
-
return i(e3, t3), e3;
|
|
1643
|
-
}, s = this && this.__importDefault || function(t3) {
|
|
1644
|
-
return t3 && t3.__esModule ? t3 : { default: t3 };
|
|
1645
|
-
};
|
|
1646
|
-
Object.defineProperty(e2, "__esModule", { value: true });
|
|
1647
|
-
var a = s(n2(353)), u = o(n2(165)), c = s(n2(338)), l = s(n2(33)), f = n2(895), h = function() {
|
|
1648
|
-
function t3(t4, e3) {
|
|
1649
|
-
void 0 === e3 && (e3 = {}), this._cursors = {}, this._isObserving = false, this._handleCursorTouch = this._handleCursorTouch.bind(this), this.quill = t4, this.options = this._setDefaults(e3), this._container = this.quill.addContainer(this.options.containerClass), this._boundsContainer = this.options.boundsContainer || this.quill.container, this._currentSelection = this.quill.getSelection(), this._registerSelectionChangeListeners(), this._registerTextChangeListener(), this._registerDomListeners();
|
|
1650
|
-
}
|
|
1651
|
-
return t3.prototype.createCursor = function(t4, e3, n3) {
|
|
1652
|
-
var r3 = this._cursors[t4];
|
|
1653
|
-
if (!r3) {
|
|
1654
|
-
r3 = new a.default(t4, e3, n3), this._cursors[t4] = r3;
|
|
1655
|
-
var i2 = r3.build(this.options);
|
|
1656
|
-
this._container.appendChild(i2);
|
|
1657
|
-
}
|
|
1658
|
-
return r3;
|
|
1659
|
-
}, t3.prototype.moveCursor = function(t4, e3) {
|
|
1660
|
-
var n3 = this._cursors[t4];
|
|
1661
|
-
n3 && (n3.range = e3, this._updateCursor(n3));
|
|
1662
|
-
}, t3.prototype.removeCursor = function(t4) {
|
|
1663
|
-
var e3 = this._cursors[t4];
|
|
1664
|
-
e3 && (e3.remove(), delete this._cursors[t4]);
|
|
1665
|
-
}, t3.prototype.update = function() {
|
|
1666
|
-
var t4 = this;
|
|
1667
|
-
this.cursors().forEach(function(e3) {
|
|
1668
|
-
return t4._updateCursor(e3);
|
|
1669
|
-
});
|
|
1670
|
-
}, t3.prototype.clearCursors = function() {
|
|
1671
|
-
var t4 = this;
|
|
1672
|
-
this.cursors().forEach(function(e3) {
|
|
1673
|
-
return t4.removeCursor(e3.id);
|
|
1674
|
-
});
|
|
1675
|
-
}, t3.prototype.toggleFlag = function(t4, e3) {
|
|
1676
|
-
var n3 = this._cursors[t4];
|
|
1677
|
-
n3 && n3.toggleFlag(e3);
|
|
1678
|
-
}, t3.prototype.cursors = function() {
|
|
1679
|
-
var t4 = this;
|
|
1680
|
-
return Object.keys(this._cursors).map(function(e3) {
|
|
1681
|
-
return t4._cursors[e3];
|
|
1682
|
-
});
|
|
1683
|
-
}, t3.prototype._registerSelectionChangeListeners = function() {
|
|
1684
|
-
var t4 = this;
|
|
1685
|
-
this.quill.on(this.quill.constructor.events.SELECTION_CHANGE, function(e3) {
|
|
1686
|
-
t4._currentSelection = e3;
|
|
1687
|
-
});
|
|
1688
|
-
}, t3.prototype._registerTextChangeListener = function() {
|
|
1689
|
-
var t4 = this;
|
|
1690
|
-
this.quill.on(this.quill.constructor.events.TEXT_CHANGE, function(e3) {
|
|
1691
|
-
return t4._handleTextChange(e3);
|
|
1692
|
-
});
|
|
1693
|
-
}, t3.prototype._registerDomListeners = function() {
|
|
1694
|
-
var t4 = this, e3 = this.quill.container.getElementsByClassName("ql-editor")[0];
|
|
1695
|
-
e3.addEventListener("scroll", function() {
|
|
1696
|
-
return t4.update();
|
|
1697
|
-
}, { passive: true }), e3.addEventListener("touchstart", this._handleCursorTouch, { passive: true });
|
|
1698
|
-
}, t3.prototype._handleCursorTouch = function(t4) {
|
|
1699
|
-
var e3 = this;
|
|
1700
|
-
this.cursors().forEach(function(n3) {
|
|
1701
|
-
n3.toggleNearCursor(t4.pageX, t4.pageY), setTimeout(function() {
|
|
1702
|
-
return n3.toggleFlag(false);
|
|
1703
|
-
}, e3.options.hideDelayMs);
|
|
1704
|
-
});
|
|
1705
|
-
}, t3.prototype._registerResizeObserver = function() {
|
|
1706
|
-
var t4 = this;
|
|
1707
|
-
if (!this._isObserving) {
|
|
1708
|
-
var e3 = this.quill.container.getElementsByClassName("ql-editor")[0], n3 = new l.default(function(e4) {
|
|
1709
|
-
if (!e4[0].target.isConnected) return n3.disconnect(), void (t4._isObserving = false);
|
|
1710
|
-
t4.update();
|
|
1711
|
-
});
|
|
1712
|
-
n3.observe(e3), this._isObserving = true;
|
|
1713
|
-
}
|
|
1714
|
-
}, t3.prototype._updateCursor = function(t4) {
|
|
1715
|
-
if (this._registerResizeObserver(), !t4.range) return t4.hide();
|
|
1716
|
-
var e3 = this._indexWithinQuillBounds(t4.range.index), n3 = this._indexWithinQuillBounds(t4.range.index + t4.range.length), r3 = this.quill.getLeaf(e3), i2 = this.quill.getLeaf(n3);
|
|
1717
|
-
if (!this._leafIsValid(r3) || !this._leafIsValid(i2)) return t4.hide();
|
|
1718
|
-
t4.show();
|
|
1719
|
-
var o2 = this._boundsContainer.getBoundingClientRect(), s2 = this.quill.getBounds(n3);
|
|
1720
|
-
t4.updateCaret(s2, o2);
|
|
1721
|
-
var a2 = this._lineRanges(t4, r3, i2).reduce(function(t5, e4) {
|
|
1722
|
-
return t5.concat(Array.from(u.getClientRects(e4)));
|
|
1723
|
-
}, []);
|
|
1724
|
-
t4.updateSelection(a2, o2);
|
|
1725
|
-
}, t3.prototype._indexWithinQuillBounds = function(t4) {
|
|
1726
|
-
var e3 = this.quill.getLength(), n3 = e3 ? e3 - 1 : 0;
|
|
1727
|
-
return t4 = Math.max(t4, 0), Math.min(t4, n3);
|
|
1728
|
-
}, t3.prototype._leafIsValid = function(t4) {
|
|
1729
|
-
return t4 && t4[0] && t4[0].domNode && t4[1] >= 0;
|
|
1730
|
-
}, t3.prototype._handleTextChange = function(t4) {
|
|
1731
|
-
var e3 = this;
|
|
1732
|
-
window.setTimeout(function() {
|
|
1733
|
-
e3.options.transformOnTextChange && e3._transformCursors(t4), e3.options.selectionChangeSource && (e3._emitSelection(), e3.update());
|
|
1734
|
-
});
|
|
1735
|
-
}, t3.prototype._emitSelection = function() {
|
|
1736
|
-
this.quill.emitter.emit(this.quill.constructor.events.SELECTION_CHANGE, this.quill.getSelection(), this._currentSelection, this.options.selectionChangeSource);
|
|
1737
|
-
}, t3.prototype._setDefaults = function(e3) {
|
|
1738
|
-
return (e3 = Object.assign({}, e3)).template || (e3.template = t3.DEFAULTS.template), e3.containerClass || (e3.containerClass = t3.DEFAULTS.containerClass), null !== e3.selectionChangeSource && (e3.selectionChangeSource || (e3.selectionChangeSource = t3.DEFAULTS.selectionChangeSource)), e3.hideDelayMs = Number.isInteger(e3.hideDelayMs) ? e3.hideDelayMs : t3.DEFAULTS.hideDelayMs, e3.hideSpeedMs = Number.isInteger(e3.hideSpeedMs) ? e3.hideSpeedMs : t3.DEFAULTS.hideSpeedMs, e3.transformOnTextChange = !!e3.transformOnTextChange, e3;
|
|
1739
|
-
}, t3.prototype._lineRanges = function(t4, e3, n3) {
|
|
1740
|
-
var r3 = this.quill.getLines(t4.range);
|
|
1741
|
-
return r3.reduce(function(t5, i2, o2) {
|
|
1742
|
-
if (!i2.children) {
|
|
1743
|
-
var s2 = document.createRange();
|
|
1744
|
-
return s2.selectNode(i2.domNode), t5.concat(s2);
|
|
1745
|
-
}
|
|
1746
|
-
var a2 = 0 === o2 ? e3 : i2.path(0).pop(), u2 = a2[0], c2 = a2[1], l2 = o2 === r3.length - 1 ? n3 : i2.path(i2.length() - 1).pop(), f2 = l2[0], h2 = l2[1], p = document.createRange();
|
|
1747
|
-
return u2.domNode.nodeType === Node.TEXT_NODE ? p.setStart(u2.domNode, c2) : p.setStartBefore(u2.domNode), f2.domNode.nodeType === Node.TEXT_NODE ? p.setEnd(f2.domNode, h2) : p.setEndAfter(f2.domNode), t5.concat(p);
|
|
1748
|
-
}, []);
|
|
1749
|
-
}, t3.prototype._transformCursors = function(t4) {
|
|
1750
|
-
var e3 = this;
|
|
1751
|
-
t4 = new f(t4), this.cursors().filter(function(t5) {
|
|
1752
|
-
return t5.range;
|
|
1753
|
-
}).forEach(function(n3) {
|
|
1754
|
-
n3.range.index = t4.transformPosition(n3.range.index), e3._updateCursor(n3);
|
|
1755
|
-
});
|
|
1756
|
-
}, t3.DEFAULTS = { template: c.default, containerClass: "ql-cursors", selectionChangeSource: "api", hideDelayMs: 3e3, hideSpeedMs: 400 }, t3;
|
|
1757
|
-
}();
|
|
1758
|
-
e2.default = h;
|
|
1759
|
-
}, 338: function(t2, e2, n2) {
|
|
1760
|
-
"use strict";
|
|
1761
|
-
var r2 = this && this.__importDefault || function(t3) {
|
|
1762
|
-
return t3 && t3.__esModule ? t3 : { default: t3 };
|
|
1763
|
-
};
|
|
1764
|
-
Object.defineProperty(e2, "__esModule", { value: true });
|
|
1765
|
-
var i = r2(n2(353)), o = '\n <span class="'.concat(i.default.SELECTION_CLASS, '"></span>\n <span class="').concat(i.default.CARET_CONTAINER_CLASS, '">\n <span class="').concat(i.default.CARET_CLASS, '"></span>\n </span>\n <div class="').concat(i.default.FLAG_CLASS, '">\n <small class="').concat(i.default.NAME_CLASS, '"></small>\n </div>\n');
|
|
1766
|
-
e2.default = o;
|
|
1767
|
-
} }, e = {};
|
|
1768
|
-
function n(r2) {
|
|
1769
|
-
var i = e[r2];
|
|
1770
|
-
if (void 0 !== i) return i.exports;
|
|
1771
|
-
var o = e[r2] = { id: r2, loaded: false, exports: {} };
|
|
1772
|
-
return t[r2].call(o.exports, o, o.exports, n), o.loaded = true, o.exports;
|
|
1773
|
-
}
|
|
1774
|
-
n.n = (t2) => {
|
|
1775
|
-
var e2 = t2 && t2.__esModule ? () => t2.default : () => t2;
|
|
1776
|
-
return n.d(e2, { a: e2 }), e2;
|
|
1777
|
-
}, n.d = (t2, e2) => {
|
|
1778
|
-
for (var r2 in e2) n.o(e2, r2) && !n.o(t2, r2) && Object.defineProperty(t2, r2, { enumerable: true, get: e2[r2] });
|
|
1779
|
-
}, n.g = function() {
|
|
1780
|
-
if ("object" == typeof globalThis) return globalThis;
|
|
1781
|
-
try {
|
|
1782
|
-
return this || new Function("return this")();
|
|
1783
|
-
} catch (t2) {
|
|
1784
|
-
if ("object" == typeof window) return window;
|
|
1785
|
-
}
|
|
1786
|
-
}(), n.o = (t2, e2) => Object.prototype.hasOwnProperty.call(t2, e2), n.r = (t2) => {
|
|
1787
|
-
"undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t2, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(t2, "__esModule", { value: true });
|
|
1788
|
-
}, n.nmd = (t2) => (t2.paths = [], t2.children || (t2.children = []), t2), n.nc = void 0;
|
|
1789
|
-
var r = n(607);
|
|
1790
|
-
return r.default;
|
|
1791
|
-
})());
|
|
1792
|
-
})(quillCursors$1.__module, quillCursors$1.__module.exports);
|
|
1793
|
-
var quillCursorsExports = quillCursors$1.__module.exports;
|
|
1794
|
-
const QuillCursors = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(quillCursorsExports);
|
|
1795
|
-
exports.default = QuillCursors;
|
|
1796
|
-
//# sourceMappingURL=quill-cursors.cjs.js.map
|