jodit-pro 4.11.2 → 4.11.7
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/es2015/jodit.css +4 -2
- package/es2015/jodit.fat.min.css +1 -1
- package/es2015/jodit.fat.min.js +6 -6
- package/es2015/jodit.js +36 -18
- package/es2015/jodit.min.css +1 -1
- package/es2015/jodit.min.js +5 -5
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +53 -31
- package/es2015/plugins/export-docs/export-docs.min.js +2 -2
- package/es2015/plugins/finder/finder.css +3 -1
- package/es2015/plugins/finder/finder.js +1 -1
- package/es2015/plugins/finder/finder.min.css +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/style/style.css +1 -1
- package/es2015/plugins/style/style.js +1 -1
- package/es2015/plugins/style/style.min.js +1 -1
- package/es2015/plugins/templates/templates.css +1 -1
- package/es2015/plugins/templates/templates.js +1 -1
- package/es2015/plugins/templates/templates.min.js +1 -1
- package/es2015/plugins/todo-list/todo-list.css +1 -1
- package/es2015/plugins/todo-list/todo-list.js +1 -1
- package/es2015/plugins/todo-list/todo-list.min.js +1 -1
- package/es2015/plugins/translate/translate.css +1 -1
- package/es2015/plugins/translate/translate.js +1 -1
- package/es2015/plugins/translate/translate.min.js +1 -1
- package/es2015/plugins/tune-block/tune-block.css +1 -1
- package/es2015/plugins/tune-block/tune-block.js +1 -1
- package/es2015/plugins/tune-block/tune-block.min.js +1 -1
- package/es2018/jodit.fat.min.css +1 -1
- package/es2018/jodit.fat.min.js +6 -6
- package/es2018/jodit.min.css +1 -1
- package/es2018/jodit.min.js +5 -5
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +2 -2
- package/es2018/plugins/finder/finder.min.css +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/style/style.min.js +1 -1
- package/es2018/plugins/templates/templates.min.js +1 -1
- package/es2018/plugins/todo-list/todo-list.min.js +1 -1
- package/es2018/plugins/translate/translate.min.js +1 -1
- package/es2018/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021/jodit.css +4 -2
- package/es2021/jodit.fat.min.css +1 -1
- package/es2021/jodit.fat.min.js +7 -7
- package/es2021/jodit.js +36 -18
- package/es2021/jodit.min.css +1 -1
- package/es2021/jodit.min.js +6 -6
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +49 -29
- package/es2021/plugins/export-docs/export-docs.min.js +3 -3
- package/es2021/plugins/finder/finder.css +3 -1
- package/es2021/plugins/finder/finder.js +1 -1
- package/es2021/plugins/finder/finder.min.css +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/style/style.css +1 -1
- package/es2021/plugins/style/style.js +1 -1
- package/es2021/plugins/style/style.min.js +1 -1
- package/es2021/plugins/templates/templates.css +1 -1
- package/es2021/plugins/templates/templates.js +1 -1
- package/es2021/plugins/templates/templates.min.js +1 -1
- package/es2021/plugins/todo-list/todo-list.css +1 -1
- package/es2021/plugins/todo-list/todo-list.js +1 -1
- package/es2021/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021/plugins/translate/translate.css +1 -1
- package/es2021/plugins/translate/translate.js +1 -1
- package/es2021/plugins/translate/translate.min.js +1 -1
- package/es2021/plugins/tune-block/tune-block.css +1 -1
- package/es2021/plugins/tune-block/tune-block.js +1 -1
- package/es2021/plugins/tune-block/tune-block.min.js +1 -1
- package/es2021.en/jodit.css +4 -2
- package/es2021.en/jodit.fat.min.css +1 -1
- package/es2021.en/jodit.fat.min.js +7 -7
- package/es2021.en/jodit.js +36 -18
- package/es2021.en/jodit.min.css +1 -1
- package/es2021.en/jodit.min.js +6 -6
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +49 -29
- package/es2021.en/plugins/export-docs/export-docs.min.js +3 -3
- package/es2021.en/plugins/finder/finder.css +3 -1
- package/es2021.en/plugins/finder/finder.js +1 -1
- package/es2021.en/plugins/finder/finder.min.css +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/style/style.css +1 -1
- package/es2021.en/plugins/style/style.js +1 -1
- package/es2021.en/plugins/style/style.min.js +1 -1
- package/es2021.en/plugins/templates/templates.css +1 -1
- package/es2021.en/plugins/templates/templates.js +1 -1
- package/es2021.en/plugins/templates/templates.min.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.css +1 -1
- package/es2021.en/plugins/todo-list/todo-list.js +1 -1
- package/es2021.en/plugins/todo-list/todo-list.min.js +1 -1
- package/es2021.en/plugins/translate/translate.css +1 -1
- package/es2021.en/plugins/translate/translate.js +1 -1
- package/es2021.en/plugins/translate/translate.min.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.css +1 -1
- package/es2021.en/plugins/tune-block/tune-block.js +1 -1
- package/es2021.en/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/jodit.css +3 -3
- package/es5/jodit.fat.min.css +1 -1
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +39 -18
- package/es5/jodit.min.css +3 -3
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +113 -59
- package/es5/plugins/export-docs/export-docs.min.js +2 -2
- package/es5/plugins/finder/finder.css +3 -1
- package/es5/plugins/finder/finder.js +1 -1
- package/es5/plugins/finder/finder.min.css +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/style/style.css +1 -1
- package/es5/plugins/style/style.js +1 -1
- package/es5/plugins/style/style.min.js +1 -1
- package/es5/plugins/templates/templates.css +1 -1
- package/es5/plugins/templates/templates.js +1 -1
- package/es5/plugins/templates/templates.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/config.d.ts +3 -0
- package/esm/plugins/export-docs/config.d.ts +3 -0
- package/esm/plugins/export-docs/config.js +1 -1
- package/esm/plugins/export-docs/export-docs.d.ts +1 -0
- package/esm/plugins/export-docs/export-docs.js +2 -2
- package/esm/plugins/license/helpers/helpers.js +1 -1
- package/package.json +1 -1
- package/types/config.d.ts +3 -0
- package/types/plugins/export-docs/config.d.ts +3 -0
- package/types/plugins/export-docs/export-docs.d.ts +1 -0
package/es2015/jodit.min.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.11.
|
|
4
|
+
* Version: v4.11.7
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
8
|
-
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var n in i)("object"==typeof exports?exports:e)[n]=i[n]}}(self,function(){return function(){"use strict";var e,t,i,n,r={6441:function(e,t,i){i.d(t,{Config:function(){return o}});var n=i(82758);let r={};class o{static get defaultOptions(){return o.__defaultOptions||(o.__defaultOptions=new o),o.__defaultOptions}constructor(){this.cache=!0,this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace","size","bold","hotkeys"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument=n.globalDocument,this.ownerWindow=n.globalWindow,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=200,this.useNativeTooltip=!1,this.defaultActionOnPaste=n.INSERT_AS_HTML,this.enter=n.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:n.PARAGRAPH,this.defaultMode=n.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.events={},this.textIcons=!1,this.popupRoot=null,this.showBrowserColorPicker=!0,Object.assign(this,r)}}r=o.prototype,o.prototype.controls={}},26992:function(e,t,i){i.d(t,{Async:function(){return p}});var n=i(82758),r=i(91898),o=i(12045),s=i(23282),a=i(84767),l=i(72430),c=i(14773),u=i(70799),d=i(86068),h=i(38837),f=i(93661);class p{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...i){if(this.isDestructed)return 0;let n={};(0,d.isVoid)(t)&&(t=0),(0,a.isNumber)(t)||(t=(n=t).timeout||0),n.label&&this.clearLabel(n.label);let o=(0,r.setTimeout)(e,t,...i),s=n.label||o;return this.timers.set(s,o),this.__callbacks.set(s,e),o}updateTimeout(e,t){if((0,h.assert)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;let i=this.__callbacks.get(e);return(0,h.assert)((0,s.isFunction)(i),"Callback is not a function"),this.setTimeout(i,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,u.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,i=!1){let n=0,a=!1,u=[],d=(...t)=>{if(!a){n=0;let i=e(...t);if(a=!0,u.length){let e=()=>{u.forEach(e=>e()),u.length=0};(0,c.isPromise)(i)?i.finally(e):e()}}},h=(...o)=>{a=!1,t?(!n&&i&&d(...o),(0,r.clearTimeout)(n),n=this.setTimeout(()=>d(...o),(0,s.isFunction)(t)?t():t),this.timers.set(e,n)):d(...o)};return(0,l.isPlainObject)(t)&&t.promisify?(...e)=>{let t=this.promise(e=>{u.push(e)}).catch(e=>{if((0,o.isAbortError)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let i,n=!1,r=!0;return(...o)=>{if(i=o,n){r=!0;return}r=!0,t&&(r=!1,e(...i)),n=!0,this.__queueMicrotaskNative(()=>{n=!1,!this.isDestructed&&r&&e(...i)})}}throttle(e,t,i=!1){let n=null,r,o,a;return(...i)=>{(r=!0,a=i,t)?n||(o=()=>{r?(e(...a),r=!1,n=this.setTimeout(o,(0,s.isFunction)(t)?t():t),this.timers.set(o,n)):n=null})():e(...a)}}promise(e){let t=()=>{},i=new Promise((i,n)=>{t=()=>n((0,f.abort)("Abort async")),this.promisesRejections.add(t),e(i,n)});return!i.finally&&"u">typeof process&&!n.IS_ES_NEXT&&(i.finally=e=>(i.then(e).catch(e),i)),i.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),i.rejectCallback=t,i}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});let t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){let i=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(i),i}requestIdlePromise(e){return this.promise(t=>{let i=this.requestIdleCallback(()=>t(i),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){let i=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>i.abort()),this.__controllers.add(i),void 0!==globalThis.scheduler){var n,r;let o=globalThis.scheduler.postTask(e,(n=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},t),r=r={signal:i.signal},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n));return o.finally(()=>{this.__controllers.delete(i)}).catch(()=>null),o}return this.promise((n,r)=>{let o=this.setTimeout(()=>{try{n(e())}catch(e){r(e)}this.__controllers.delete(i)},t.delay||1);i.signal.addEventListener("abort",()=>{this.clearTimeout(o),this.__controllers.delete(i),r((0,f.abort)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){let t=requestAnimationFrame(e);return this.__requestsRaf.add(t),t}cancelAnimationFrame(e){this.__requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.__requestsIdle.forEach(e=>this.cancelIdleCallback(e)),this.__requestsRaf.forEach(e=>this.cancelAnimationFrame(e)),this.__controllers.forEach(e=>e.abort()),this.timers.forEach(e=>(0,r.clearTimeout)(this.timers.get(e))),this.timers.clear(),this.promisesRejections.forEach(e=>e()),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}constructor(){var e,t,i,n,r;this.timers=new Map,this.__callbacks=new Map,this.__queueMicrotaskNative=null!=(e=null==queueMicrotask?void 0:queueMicrotask.bind(window))?e:Promise.resolve().then.bind(Promise.resolve()),this.promisesRejections=new Set,this.__requestsIdle=new Set,this.__controllers=new Set,this.__requestsRaf=new Set,this.__requestIdleCallbackNative=null!=(i=null==(t=window.requestIdleCallback)?void 0:t.bind(window))?i:(e,t)=>{var i;let n=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-n))})},null!=(i=null==t?void 0:t.timeout)?i:1)},this.__cancelIdleCallbackNative=null!=(r=null==(n=window.cancelIdleCallback)?void 0:n.bind(window))?r:e=>{this.clearTimeout(e)},this.isDestructed=!1}}},8884:function(e,t,i){i.d(t,{Async:function(){return n.Async}});var n=i(26992)},4012:function(e,t,i){i.d(t,{Component:function(){return l}});var n=i(8884),r=i(78213),o=i(580),s=i(21537);let a=new Map;class l{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,s.kebabCase)(((0,s.isFunction)(this.className)?this.className():"")||(0,s.getClassName)(this))),this.__componentName}getFullElName(e,t,i){let n=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),n.push(`__${e}`)),t&&(n.push("_",t),n.push("_",(0,s.isVoid)(i)?"true":i.toString())),n.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,s.get)(e,t||this)}get isReady(){return this.componentStatus===r.STATUSES.ready}get isDestructed(){return this.componentStatus===r.STATUSES.destructed}get isInDestruct(){return r.STATUSES.beforeDestruct===this.componentStatus||r.STATUSES.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(r.STATUSES.beforeDestruct,()=>!this.isInDestruct&&this.destruct()),this}destruct(){this.setStatus(r.STATUSES.destructed),this.async&&(this.async.destruct(),this.async=void 0),a.get(this)&&a.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);let i=Object.getPrototypeOf(this);i&&(0,s.isFunction)(i.setStatusComponent)&&i.setStatusComponent(e,t);let n=a.get(this),r=null==n?void 0:n[e];r&&r.length&&r.forEach(e=>e(t))}hookStatus(e,t){let i=a.get(this);i||(i={},a.set(this,i)),i[e]||(i[e]=[]),i[e].push(t)}static isInstanceOf(e,t){return e instanceof t}constructor(){this.async=new n.Async,this.ownerWindow=window,this.__componentStatus=r.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,o.uniqueUid)()}}l.STATUSES=r.STATUSES},91907:function(e,t,i){i.d(t,{Component:function(){return n.Component},STATUSES:function(){return r.STATUSES},ViewComponent:function(){return o.ViewComponent}});var n=i(4012),r=i(78213),o=i(80480)},78213:function(e,t,i){i.d(t,{STATUSES:function(){return n}});let n={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},80480:function(e,t,i){i.d(t,{ViewComponent:function(){return r}});var n=i(4012);class r extends n.Component{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e,...t){return this.j.i18n(e,...t)}setParentView(e){return this.jodit=e,e.components.add(this),this}destruct(){return this.j.components.delete(this),super.destruct()}constructor(e){super(),this.setParentView(e)}}},82758:function(e,t,i){i.r(t),i.d(t,{ACCURACY:function(){return U},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ef},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return V},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return r},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return er},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return eo},INVISIBLE_SPACE:function(){return f},INVISIBLE_SPACE_REG_EXP:function(){return m},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return o},IS_ES_NEXT:function(){return s},IS_IE:function(){return J},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return z},KEY_BACKSPACE:function(){return P},KEY_DELETE:function(){return F},KEY_DOWN:function(){return N},KEY_ENTER:function(){return L},KEY_ESC:function(){return x},KEY_F3:function(){return H},KEY_LEFT:function(){return R},KEY_META:function(){return j},KEY_RIGHT:function(){return M},KEY_SPACE:function(){return B},KEY_TAB:function(){return A},KEY_UP:function(){return O},LIST_TAGS:function(){return E},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return K},MODE_SPLIT:function(){return G},MODE_WYSIWYG:function(){return $},NBSP_SPACE:function(){return p},NEARBY:function(){return q},NO_EMPTY_TAGS:function(){return D},PARAGRAPH:function(){return Y},PASSIVE_EVENTS:function(){return eb},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return b},SPACE_REG_EXP_END:function(){return w},SPACE_REG_EXP_START:function(){return y},TEMP_ATTR:function(){return ep},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return X},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return _},globalWindow:function(){return S},lang:function(){return em}});let n="4.11.2",r="es2015",o=!0,s=!1,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/pro/",d=()=>l=!0,h={},f="\uFEFF",p="\xa0",m=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,b=()=>/[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,w=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,S="u">typeof window?window:void 0,_="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,E=new Set(["ul","ol"]),I=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...I,"br","hr"]),D=new Set(I),j="Meta",P="Backspace",A="Tab",L="Enter",x="Escape",z="Alt",R="ArrowLeft",O="ArrowUp",M="ArrowRight",N="ArrowDown",B="Space",F="Delete",H="F3",q=5,U=10,V=[j,P,F,O,N,M,R,L,x,H,A],W="br",Y="p",$=1,K=2,G=3,J="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),X=J?"text":"text/plain",Z=J?"html":"text/html",Q=J?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",er="insert_as_text",eo="insert_only_text",es=10,ea=void 0!==S&&/Mac|iPod|iPhone|iPad/.test(S.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=_.currentScript;if(e)return ec(e.src);let t=_.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(S.location.href)})(),eh=eu,ef=ed,ep="data-jodit-temp",em={},eg="clipboard",ev="source-consumer",eb=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},20218:function(e,t,i){i.d(t,{Create:function(){return a}});var n=i(82758),r=i(2748),o=i(21537),s=i(38837);class a{get doc(){return(0,o.isFunction)(this.document)?this.document():this.document}element(e,t,i){let n=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(n),t&&((0,o.isPlainObject)(t)?(0,o.attr)(n,t):i=t),i&&(0,o.asArray)(i).forEach(e=>n.appendChild((0,o.isString)(e)?this.fromHTML(e):e)),n}div(e,t,i){let n=this.element("div",t,i);return e&&(n.className=e),n}sandbox(){var e;let t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);let i=null==(e=t.contentWindow)?void 0:e.document;if((0,s.assert)(i,"iframe.contentWindow.document"),!i)throw Error("Iframe error");return i.open(),i.write("<!DOCTYPE html><html><head></head><body></body></html>"),i.close(),[i.body,t]}span(e,t,i){let n=this.element("span",t,i);return e&&(n.className=e),n}a(e,t,i){let n=this.element("a",t,i);return e&&(n.className=e),n}text(e){return this.doc.createTextNode(e)}fake(){return this.text(n.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(e,t){let i=this.div();i.innerHTML=e.toString();let n=i.firstChild===i.lastChild&&i.firstChild?i.firstChild:i;if(r.Dom.safeRemove(n),t){let e=(0,o.refs)(n);Object.keys(t).forEach(i=>{let n=e[i];n&&!1===t[i]&&r.Dom.hide(n)})}return n}applyCreateAttributes(e){if(this.createAttributes){let t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){let i=t[e.tagName.toLowerCase()];(0,o.isFunction)(i)?i(e):(0,o.isPlainObject)(i)&&(0,o.attr)(e,i)}}}constructor(e,t){this.document=e,this.createAttributes=t}}},12060:function(e,t,i){i.d(t,{Create:function(){return n.Create}});var n=i(20218)},45219:function(e,t,i){i.d(t,{autobind:function(){return r}});var n=i(23282);function r(e,t,i){if(!(0,n.isFunction)(i.value))throw TypeError(`@autobind can only be applied to methods, but "${t}" is not a function`);let r=i.value;return{configurable:!0,get(){let e=r.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}},33433:function(e,t,i){i.d(t,{cache:function(){return l},cacheHTML:function(){return c},cached:function(){return a}});var n=i(78213),r=i(2748),o=i(27613),s=i(82760);function a(e,t){let i=Object.getOwnPropertyDescriptor(e,t);return!i||(0,o.isFunction)(i.get)?null:i.value}function l(e,t,i){let n=i.get;if(!n)throw(0,s.error)("Getter property descriptor expected");i.get=function(){let e=n.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:i.configurable,enumerable:i.enumerable,writable:!1,value:e}),e}}function c(e,t,i){let a=i.value;if(!(0,o.isFunction)(a))throw(0,s.error)("Handler must be a Function");let l=!0,c=new WeakMap;i.value=function(...e){var t;if(l&&c.has(this.constructor))return null==(t=c.get(this.constructor))?void 0:t.cloneNode(!0);let i=a.apply(this,e);return l&&r.Dom.isElement(i)&&c.set(this.constructor,i),l?i.cloneNode(!0):i},e.hookStatus(n.STATUSES.ready,e=>{l=!!((0,o.isViewObject)(e)?e:e.jodit).options.cache})}},87325:function(e,t,i){i.d(t,{component:function(){return s},getComponentClass:function(){return a}});var n=i(82758),r=i(80568);let o=new Map;function s(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}let i=(0,r.getClassName)(e.prototype);if(o.has(i)&&!n.IS_PROD)throw Error(`Component with name "${i}" is already registered`);return o.set(i,t),t}function a(e){return o.get(e)}},81577:function(e,t,i){i.d(t,{debounce:function(){return a},throttle:function(){return l}});var n=i(91907),r=i(27613),o=i(38837),s=i(89890);function a(e,t=!1,i="debounce"){return(a,l)=>{let c=a[l];if(!(0,r.isFunction)(c))throw(0,s.error)("Handler must be a Function");return a.hookStatus(n.STATUSES.ready,n=>{let{async:s}=n;(0,o.assert)(null!=s,`Component ${n.componentName||n.constructor.name} should have "async:IAsync" field`);let a=(0,r.isFunction)(e)?e(n):e,c=(0,r.isNumber)(a)||(0,r.isPlainObject)(a)?a:n.defaultTimeout;Object.defineProperty(n,l,{configurable:!0,value:s[i](n[l].bind(n),c,t)})}),{configurable:!0,get(){return c.bind(this)}}}}function l(e,t=!1){return a(e,t,"throttle")}},55153:function(e,t,i){i.d(t,{derive:function(){return r}});var n=i(23282);function r(...e){return t=>{let i=t.prototype;for(let t=0;t<e.length;t++){let r=e[t],o=Object.getOwnPropertyNames(r.prototype);for(let e=0;e<o.length;e++){let t=o[e],s=Object.getOwnPropertyDescriptor(r.prototype,t);null!=s&&(0,n.isFunction)(s.value)&&!(0,n.isFunction)(i[t])&&Object.defineProperty(i,t,{enumerable:!0,configurable:!0,writable:!0,value:function(...e){return s.value.call(this,...e)}})}}}}},97357:function(e,t,i){i.d(t,{hook:function(){return o}});var n=i(23282),r=i(89890);function o(e){return(t,i)=>{if(!(0,n.isFunction)(t[i]))throw(0,r.error)("Handler must be a Function");t.hookStatus(e,e=>{e[i].call(e)})}}},78927:function(e,t,i){i.d(t,{idle:function(){return s}});var n=i(91907),r=i(23282),o=i(89890);function s(){return(e,t)=>{if(!(0,r.isFunction)(e[t]))throw(0,o.error)("Handler must be a Function");e.hookStatus(n.STATUSES.ready,e=>{let{async:i}=e,n=e[t];e[t]=(...t)=>i.requestIdleCallback(n.bind(e,...t))})}}},65478:function(e,t,i){i.r(t),i.d(t,{autobind:function(){return n.autobind},cache:function(){return r.cache},cacheHTML:function(){return r.cacheHTML},cached:function(){return r.cached},component:function(){return o.component},debounce:function(){return s.debounce},derive:function(){return a.derive},getComponentClass:function(){return o.getComponentClass},hook:function(){return l.hook},idle:function(){return c.idle},nonenumerable:function(){return u.nonenumerable},persistent:function(){return d.persistent},throttle:function(){return s.throttle},wait:function(){return h.wait},watch:function(){return f.watch}});var n=i(45219),r=i(33433),o=i(87325),s=i(81577),a=i(55153),l=i(97357),c=i(78927),u=i(31589),d=i(53213),h=i(13525),f=i(37133)},31589:function(e,t,i){i.d(t,{nonenumerable:function(){return n}});let n=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},53213:function(e,t,i){i.d(t,{persistent:function(){return o}});var n=i(78213),r=i(39955);function o(e,t){e.hookStatus(n.STATUSES.ready,e=>{let i=(0,r.isViewObject)(e)?e:e.jodit,n=`${i.options.namespace}${e.componentName}_prop_${t}`,o=e[t];Object.defineProperty(e,t,{get(){var e;return null!=(e=i.storage.get(n))?e:o},set(e){i.storage.set(n,e)}})})}},13525:function(e,t,i){i.d(t,{wait:function(){return s}});var n=i(78213),r=i(23282),o=i(89890);function s(e){return(t,i)=>{let s=t[i];if(!(0,r.isFunction)(s))throw(0,o.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,t=>{let{async:n}=t,r=t[i],o=0;Object.defineProperty(t,i,{configurable:!0,value:function i(...s){n.clearTimeout(o),e(t)?r.apply(t,s):o=n.setTimeout(()=>i(...s),10)}})})}}},37133:function(e,t,i){i.d(t,{watch:function(){return d}});var n=i(78213),r=i(73026),o=i(46559),s=i(23282),a=i(72430),l=i(39955),c=i(89890),u=i(37790);function d(e,t){return(i,d)=>{var h;if(!(0,s.isFunction)(i[d]))throw(0,c.error)("Handler must be a Function");let f=null==(h=null==t?void 0:t.immediately)||h,p=null==t?void 0:t.context,m=t=>{let n=(0,l.isViewObject)(t)?t:t.jodit,c=(e,...i)=>{if(!t.isInDestruct)return t[d](e,...i)};f||(c=t.async.microDebounce(c,!0)),(0,o.splitArray)(e).forEach(e=>{if(/:/.test(e)){let[i,r]=e.split(":"),o=p;i.length&&(o=t.get(i)),(0,s.isFunction)(o)&&(o=o(t)),n.events.on(o||t,r,c),o||n.events.on(r,c),t.hookStatus("beforeDestruct",()=>{n.events.off(o||t,r,c).off(r,c)});return}let o=e.split("."),[l]=o,d=o.slice(1),h=t[l];(0,a.isPlainObject)(h)&&(0,r.observable)(h).on(`change.${d.join(".")}`,c);let f=(0,u.getPropertyDescriptor)(i,l);Object.defineProperty(t,l,{configurable:!0,set(e){let i=h;i!==e&&(h=e,f&&f.set&&f.set.call(t,e),(0,a.isPlainObject)(h)&&(h=(0,r.observable)(h)).on(`change.${d.join(".")}`,c),c(l,i,h))},get(){return f&&f.get?f.get.call(t):h}})})};(0,s.isFunction)(i.hookStatus)?i.hookStatus(n.STATUSES.ready,m):m(i)}}},2748:function(e,t,i){i.d(t,{Dom:function(){return b}});var n=i(82758),r=i(4510),o=i(68345),s=i(23282),a=i(58487),l=i(42320),c=i(70799),u=i(86068),d=i(49055),h=i(38837),f=i(29960),p=i(41180),m=i(86583),g=i(89890),v=i(37790);class b{static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapNextInline(e,t,i){let n,r=e;i.s.save();let o=!1;do o=!1,(n=r.nextSibling)&&!b.isBlock(n)&&!b.isTag(n,"br")&&(o=!0,r=n);while(o);return b.__wrapElements(t,i,e,r)}static __wrapElements(e,t,i,n){let r=(0,c.isString)(e)?t.createInside.element(e):e;i.parentNode&&i.parentNode.insertBefore(r,i);let o=i;for(;o&&(o=i.nextSibling,r.appendChild(i),i!==n&&o);)i=o;return t.s.restore(),r}static wrapInline(e,t,i){let n,r=e,o=e;i.s.save();let s=!1;do s=!1,(n=r.previousSibling)&&!b.isBlock(n)&&(s=!0,r=n);while(s);do s=!1,(n=o.nextSibling)&&!b.isBlock(n)&&(s=!0,o=n);while(s);return b.__wrapElements(t,i,r,o)}static wrap(e,t,i){let n=(0,c.isString)(t)?i.element(t):t;if(b.isNode(e)){if(!e.parentNode)throw(0,g.error)("Element should be in DOM");e.parentNode.insertBefore(n,e),n.appendChild(e)}else{let t=e.extractContents();e.insertNode(n),n.appendChild(t)}return n}static unwrap(e){let t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);b.safeRemove(e)}}static between(e,t,i){let n=e;for(;n&&n!==t&&!(e!==n&&i(n));){let e=n.firstChild||n.nextSibling;if(!e){for(;n&&!n.nextSibling;)n=n.parentNode;e=null==n?void 0:n.nextSibling}n=e}}static replace(e,t,i,n=!1,o=!1){let s;if((0,a.isHTML)(t)&&((0,h.assert)(i,"Need create instance for new tag"),t=i.fromHTML(t)),(0,c.isString)(t)?((0,h.assert)(i,"Need create instance for new tag"),s=i.element(t)):s=t,!o)for(;e.firstChild;)s.appendChild(e.firstChild);return n&&b.isElement(e)&&b.isElement(s)&&(0,r.toArray)(e.attributes).forEach(e=>{s.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(s,e),s}static isEmptyTextNode(e){return b.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return b.each(e,e=>b.isEmptyTextNode(e))}static isContentEditable(e,t){return b.isNode(e)&&!b.closest(e,e=>b.isElement(e)&&"false"===e.getAttribute("contenteditable"),t)}static isEmpty(e,t=n.NO_EMPTY_TAGS){let i;if(!e)return!0;i=(0,s.isFunction)(t)?t:e=>t.has(e.nodeName.toLowerCase());let r=e=>null==e.nodeValue||0===(0,d.trim)(e.nodeValue).length;return b.isText(e)?r(e):!(b.isElement(e)&&i(e))&&b.each(e,e=>{if(b.isText(e)&&!r(e)||b.isElement(e)&&i(e))return!1})}static isNode(e){return!!(e&&(0,c.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,s.isFunction)(e.appendChild))}static isCell(e){return b.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return b.isTag(e,n.LIST_TAGS)}static isLeaf(e){return b.isTag(e,"li")}static isImage(e){return b.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,u.isVoid)(e)&&"object"==typeof e&&b.isNode(e)&&n.IS_BLOCK.test(e.nodeName)}static isText(e){return!!(e&&e.nodeType===Node.TEXT_NODE)}static isComment(e){return!!(e&&e.nodeType===Node.COMMENT_NODE)}static isElement(e){var t;return!!b.isNode(e)&&!!((null==(t=e.ownerDocument)?void 0:t.defaultView)&&e.nodeType===Node.ELEMENT_NODE)}static isFragment(e){var t;return!!b.isNode(e)&&!!((null==(t=e.ownerDocument)?void 0:t.defaultView)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){var t;if(!b.isNode(e))return!1;let i=null==(t=e.ownerDocument)?void 0:t.defaultView;return!!(i&&e instanceof i.HTMLElement)}static isInlineBlock(e){return b.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf((0,p.css)(e,"display").toString())}static canSplitBlock(e){return!(0,u.isVoid)(e)&&b.isHTMLElement(e)&&b.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static last(e,t){let i=null==e?void 0:e.lastChild;if(!i)return null;do{if(t(i))return i;let n=i.lastChild;if(n||(n=i.previousSibling),!n&&i.parentNode!==e){do i=i.parentNode;while(i&&!(null==i?void 0:i.previousSibling)&&i.parentNode!==e);n=null==i?void 0:i.previousSibling}i=n}while(i);return null}static prev(e,t,i,n=!0){return b.find(e,t,i,!1,n)}static next(e,t,i,n=!0){return b.find(e,t,i,!0,n)}static prevWithClass(e,t){return b.prev(e,e=>b.isElement(e)&&e.classList.contains(t),e.parentNode)}static nextWithClass(e,t){return b.next(e,e=>b.isElement(e)&&e.classList.contains(t),e.parentNode)}static find(e,t,i,n=!0,r=!0){let o=this.nextGen(e,i,n,r),s=o.next();for(;!s.done;){if(t(s.value))return s.value;s=o.next()}return null}static*nextGen(e,t,i=!0,n=!0){let r=[],o=e;do{let t=i?o.nextSibling:o.previousSibling;for(;t;)r.unshift(t),t=i?t.nextSibling:t.previousSibling;yield*this.runInStack(e,r,i,n),o=o.parentNode}while(o&&o!==t);return null}static each(e,t,i=!0){let n=this.eachGen(e,i),r=n.next();for(;!r.done;){if(!1===t(r.value))return!1;r=n.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,i,n=!0){for(;t.length;){let r=t.pop();if(n){let e=i?r.lastChild:r.firstChild;for(;e;)t.push(e),e=i?e.previousSibling:e.nextSibling}e!==r&&(yield r)}}static findWithCurrent(e,t,i,n="nextSibling",r="firstChild"){let o=e;do{if(t(o))return o||null;if(r&&o&&o[r]){let e=b.findWithCurrent(o[r],t,o,n,r);if(e)return e}for(;o&&!o[n]&&o!==i;)o=o.parentNode;o&&o[n]&&o!==i&&(o=o[n])}while(o&&o!==i);return null}static findSibling(e,t=!0,i=e=>!b.isEmptyTextNode(e)){let n=b.sibling(e,t);for(;n&&!i(n);)n=b.sibling(n,t);return n&&i(n)?n:null}static findNotEmptySibling(e,t){return b.findSibling(e,t,e=>{var t;return!b.isEmptyTextNode(e)&&!!(!b.isText(e)||(null==(t=e.nodeValue)?void 0:t.length)&&(0,d.trim)(e.nodeValue))})}static findNotEmptyNeighbor(e,t,i){return(0,v.call)(t?b.prev:b.next,e,e=>!!(e&&(!(b.isText(e)||b.isComment(e))||(0,d.trim)((null==e?void 0:e.nodeValue)||"").length)),i)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,i,n=!1){let r=e;if(!r)return null;do{if(t(r))return r;if(r===i||!r.parentNode)break;r=r.parentNode}while(r&&r!==i);return r===i&&n&&t(r)?r:null}static closest(e,t,i){let n,r=e=>e.toLowerCase();if((0,s.isFunction)(t))n=t;else if((0,o.isArray)(t)||(0,l.isSet)(t)){let e=(0,l.isSet)(t)?t:new Set(t.map(r));n=t=>!!(t&&e.has(r(t.nodeName)))}else n=e=>!!(e&&r(t)===r(e.nodeName));return b.up(e,n,i)}static furthest(e,t,i){let n=null,r=null==e?void 0:e.parentElement;for(;r&&r!==i;)t(r)&&(n=r),r=null==r?void 0:r.parentElement;return n}static appendChildFirst(e,t){let i=e.firstChild;i?i!==t&&e.insertBefore(t,i):e.appendChild(t)}static after(e,t){let{parentNode:i}=e;i&&(i.lastChild===e?i.appendChild(t):i.insertBefore(t,e.nextSibling))}static before(e,t){let{parentNode:i}=e;i&&i.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,o.isArray)(t)?t.forEach(t=>{this.append(e,t)}):e.appendChild(t)}static moveContent(e,t,i=!1,o=()=>!0){let s=(e.ownerDocument||n.globalDocument).createDocumentFragment();(0,r.toArray)(e.childNodes).filter(e=>!!o(e)||(b.safeRemove(e),!1)).forEach(e=>{s.appendChild(e)}),i&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}static isOrContains(e,t,i=!1){return e===t?!i:!!(t&&e&&this.up(t,t=>t===e,e,!0))}static safeRemove(...e){e.forEach(e=>b.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();let i=b.isFragment(t)?t.lastChild:t;e.startContainer===e.endContainer&&e.collapsed&&b.isTag(e.startContainer,n.INSEPARABLE_TAGS)?b.after(e.startContainer,t):(e.insertNode(t),i&&e.setStartBefore(i)),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach(e=>b.isText(e)&&!e.nodeValue&&b.safeRemove(e))}static hide(e){e&&((0,m.dataBind)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;let t=(0,m.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;let i=e.tagName.toLowerCase(),n=e.tagName.toUpperCase();if(t instanceof Set)return t.has(i)||t.has(n);if(Array.isArray(t))throw TypeError("Dom.isTag does not support array");return i===t||n===t}static markTemporary(e,t){return t&&(0,f.attr)(e,t),(0,f.attr)(e,n.TEMP_ATTR,!0),e}static isTemporary(e){return!!b.isElement(e)&&(b.isMarker(e)||"true"===(0,f.attr)(e,n.TEMP_ATTR))}static isMarker(e){return b.isNode(e)&&b.isTag(e,"span")&&e.hasAttribute("data-"+n.MARKER_CLASS)}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,r.toArray)(e.querySelectorAll(`[${n.TEMP_ATTR}]`))}constructor(){throw Error("Dom is static module")}}},22732:function(e,t,i){i.d(t,{Dom:function(){return n.Dom},LazyWalker:function(){return r.LazyWalker}});var n=i(2748),r=i(70071)},70071:function(e,t,i){i.d(t,{LazyWalker:function(){return s}});var n=i(45219),r=i(2748),o=i(72757);class s extends o.Eventify{setWork(e){return this.isWorked&&this.break(),this.workNodes=r.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this._requestStarting(),this}_requestStarting(){this.__schedulerController=new AbortController,this.async.schedulerPostTask(this.__workPerform,{delay:this.options.timeout,signal:this.__schedulerController.signal}).catch(()=>null)}break(e){this.isWorked&&(this.stop(),this.emit("break",e))}end(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}stop(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}destruct(){super.destruct(),this.stop()}__workPerform(){var e;if(this.workNodes){this.isWorked=!0;let t=0,i=null!=(e=this.options.timeoutChunkSize)?e:50;for(;!this.isFinished&&t<=i;){let e=this.workNodes.next();if(t+=1,this.visitNode(e.value)&&(this.hadAffect=!0),e.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(e){var t;return!!e&&(void 0===this.options.whatToShow||e.nodeType===this.options.whatToShow)&&null!=(t=this.emit("visit",e))&&t}constructor(e,t={}){super(),this.async=e,this.options=t,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}!function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);o>3&&s&&Object.defineProperty(t,i,s)}([n.autobind],s.prototype,"__workPerform",null)},98220:function(e,t,i){i.d(t,{EventEmitter:function(){return u}});var n=i(82758),r=i(46559),o=i(68345),s=i(23282),a=i(70799),l=i(89890),c=i(15738);class u{mute(e){return this.__mutedEvents.add(null!=e?e:"*"),this}isMuted(e){return!!(e&&this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(null!=e?e:"*"),this}__eachEvent(e,t){(0,r.splitArray)(e).map(e=>e.trim()).forEach(e=>{let i=e.split("."),n=i[1]||c.defaultNameSpace;t.call(this,i[0],n)})}__getStore(e){if(!e)throw(0,l.error)("Need subject");if(void 0===e[this.__key]){let t=new c.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){let i=this.__doc.createEvent("HTMLEvents");(0,a.isString)(t)?i.initEvent(t,!0,!0):(i.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(e=>{Object.defineProperty(i,e,{value:t[e],enumerable:!0})}),Object.defineProperty(i,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(i)}get current(){return this.currents[this.currents.length-1]}on(e,t,i,r){let c,u,h,f;if((0,a.isString)(e)||(0,a.isStringArray)(e)?(c=this,u=e,h=t,f=i):(c=e,u=t,h=i,f=r),!((0,a.isString)(u)||(0,a.isStringArray)(u))||0===u.length)throw(0,l.error)("Need events names");if(!(0,s.isFunction)(h))throw(0,l.error)("Need event handler");if((0,o.isArray)(c))return c.forEach(e=>{this.on(e,u,h,f)}),this;let p=c,m=this.__getStore(p),g=this,v=function(e,...t){if(!g.isMuted(e))return h&&h.call(this,...t)};return d(p)&&(v=function(e){if(!g.isMuted(e.type)&&(g.__prepareEvent(e),h&&!1===h.call(this,e)))return e.preventDefault(),e.stopImmediatePropagation(),!1}),this.__eachEvent(u,(e,t)=>{var i,r;if(0===e.length)throw(0,l.error)("Need event name");if(!1===m.indexOf(e,t,h)){let o={event:e,originalCallback:h,syntheticCallback:v};if(m.set(e,t,o,null==f?void 0:f.top),d(p)){let t=n.PASSIVE_EVENTS.has(e)?{passive:!0,capture:null!=(i=null==f?void 0:f.capture)&&i}:null!=(r=null==f?void 0:f.capture)&&r;v.options=t,p.addEventListener(e,v,t),this.__memoryDOMSubjectToHandler(p,v)}}}),this}__memoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap.get(e)||new Set;i.add(t),this.__domEventsMap.set(e,i)}__unmemoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap,n=i.get(e)||new Set;n.delete(t),n.size?i.set(e,n):i.delete(e)}one(e,t,i,n){let r,o,s,l;(0,a.isString)(e)||(0,a.isStringArray)(e)?(r=this,o=e,s=t,l=i):(r=e,o=t,s=i,l=n);let c=(...e)=>(this.off(r,o,c),s(...e));return this.on(r,o,c,l),this}off(e,t,i){let n,r,l;if((0,a.isString)(e)||(0,a.isStringArray)(e)?(n=this,r=e,l=t):(n=e,r=t,l=i),(0,o.isArray)(n))return n.forEach(e=>{this.off(e,r,l)}),this;let u=n,h=this.__getStore(u);if(!((0,a.isString)(r)||(0,a.isStringArray)(r))||0===r.length)return h.namespaces().forEach(e=>{this.off(u,"."+e)}),this.__removeStoreFromSubject(u),this;let f=e=>{var t;d(u)&&(u.removeEventListener(e.event,e.syntheticCallback,null!=(t=e.syntheticCallback.options)&&t),this.__unmemoryDOMSubjectToHandler(u,e.syntheticCallback))},p=(e,t)=>{if(""===e)return void h.events(t).forEach(e=>{""!==e&&p(e,t)});let i=h.get(e,t);if(i&&i.length)if((0,s.isFunction)(l)){let n=h.indexOf(e,t,l);!1!==n&&(f(i[n]),i.splice(n,1),i.length||h.clearEvents(t,e))}else i.forEach(f),i.length=0,h.clearEvents(t,e)};return this.__eachEvent(r,(e,t)=>{t===c.defaultNameSpace?h.namespaces().forEach(t=>{p(e,t)}):p(e,t)}),h.isEmpty()&&this.__removeStoreFromSubject(u),this}stopPropagation(e,t){let i=(0,a.isString)(e)?this:e,n=(0,a.isString)(e)?e:t;if("string"!=typeof n)throw(0,l.error)("Need event names");let r=this.__getStore(i);this.__eachEvent(n,(e,t)=>{let n=r.get(e,t);n&&this.__stopped.push(n),t===c.defaultNameSpace&&r.namespaces(!0).forEach(t=>this.stopPropagation(i,e+"."+t))})}__removeStop(e){if(e){let t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...i){let n,r,o=(0,a.isString)(e)?this:e,s=(0,a.isString)(e)?e:t,u=(0,a.isString)(e)?[t,...i]:i;if(!d(o)&&!(0,a.isString)(s))throw(0,l.error)("Need events names");let h=this.__getStore(o);return!(0,a.isString)(s)&&d(o)?this.__triggerNativeEvent(o,t):this.__eachEvent(s,(e,t)=>{if(d(o))this.__triggerNativeEvent(o,e);else{let i=h.get(e,t);if(i)try{[...i].every(t=>!this.__isStopped(i)&&(this.currents.push(e),r=t.syntheticCallback.call(o,e,...u),this.currents.pop(),void 0!==r&&(n=r),!0))}finally{this.__removeStop(i)}t!==c.defaultNameSpace||d(o)||h.namespaces().filter(e=>e!==t).forEach(t=>{let i=this.fire.apply(this,[o,e+"."+t,...u]);void 0!==i&&(n=i)})}}),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach((e,t)=>{this.off(t)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}constructor(e){this.__domEventsMap=new Map,this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=n.globalDocument,this.__prepareEvent=e=>{!e.cancelBubble&&(e.composed&&(0,s.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=new Date().getTime()}}function d(e){return(0,s.isFunction)(e.addEventListener)}},72757:function(e,t,i){i.d(t,{Eventify:function(){return n}});class n{on(e,t){var i;return this.__map.has(e)||this.__map.set(e,new Set),null==(i=this.__map.get(e))||i.add(t),this}off(e,t){var i;return this.__map.has(e)&&(null==(i=this.__map.get(e))||i.delete(t)),this}destruct(){this.__map.clear()}emit(e,...t){var i;let n;return this.__map.has(e)&&(null==(i=this.__map.get(e))||i.forEach(e=>{n=e(...t)})),n}constructor(){this.__map=new Map}}},57012:function(e,t,i){i.d(t,{eventEmitter:function(){return n}});let n=new(i(98220)).EventEmitter},3827:function(e,t,i){i.d(t,{EventEmitter:function(){return n.EventEmitter},EventHandlersStore:function(){return s.EventHandlersStore},Eventify:function(){return r.Eventify},defaultNameSpace:function(){return s.defaultNameSpace},observable:function(){return o.observable}});var n=i(98220),r=i(72757),o=i(73026),s=i(15738)},73026:function(e,t,i){i.d(t,{observable:function(){return c}});var n=i(68345),r=i(59292),o=i(72430),s=i(37790);let a=Symbol("observable-object");function l(e){return void 0!==e[a]}function c(e){if(l(e))return e;let t={},i={},c=(t,r)=>((0,n.isArray)(t)?t.map(e=>c(e,r)):(i[t]||(i[t]=[]),i[t].push(r)),e),u=(r,...o)=>{if((0,n.isArray)(r))return void r.map(e=>u(e,...o));try{!t[r]&&i[r]&&(t[r]=!0,i[r].forEach(t=>t.call(e,...o)))}finally{t[r]=!1}},d=(t,i=[])=>{let n={};l(t)||(Object.defineProperty(t,a,{enumerable:!1,value:!0}),Object.keys(t).forEach(a=>{let l=i.concat(a).filter(e=>e.length);n[a]=t[a];let c=(0,s.getPropertyDescriptor)(t,a);Object.defineProperty(t,a,{set:t=>{let i=n[a];if(!(0,r.isFastEqual)(n[a],t)){u(["beforeChange",`beforeChange.${l.join(".")}`],a,t),(0,o.isPlainObject)(t)&&d(t,l),c&&c.set?c.set.call(e,t):n[a]=t;let r=[];u(["change",...l.reduce((e,t)=>(r.push(t),e.push(`change.${r.join(".")}`),e),[])],l.join("."),i,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:()=>c&&c.get?c.get.call(e):n[a],enumerable:!0,configurable:!0}),(0,o.isPlainObject)(n[a])&&d(n[a],l)}),Object.defineProperty(e,"on",{value:c}))};return d(e),e}},15738:function(e,t,i){i.d(t,{EventHandlersStore:function(){return s},defaultNameSpace:function(){return o}});var n=i(4510),r=i(38837);let o="JoditEventDefaultNamespace";class s{get(e,t){if(this.__store.has(t)){let i=this.__store.get(t);return(0,r.assert)(i,"-"),i[e]}}indexOf(e,t,i){let n=this.get(e,t);if(n){for(let e=0;e<n.length;e+=1)if(n[e].originalCallback===i)return e}return!1}namespaces(e=!1){let t=(0,n.toArray)(this.__store.keys());return e?t.filter(e=>e!==o):t}events(e){let t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,i,n=!1){let r=this.__store.get(t);r||(r={},this.__store.set(t,r)),void 0===r[e]&&(r[e]=[]),n?r[e].unshift(i):r[e].push(i)}clear(){this.__store.clear()}clearEvents(e,t){let i=this.__store.get(e);i&&i[t]&&(delete i[t],Object.keys(i).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}constructor(){this.__store=new Map}}},580:function(e,t,i){i.d(t,{eventEmitter:function(){return C},extendLang:function(){return y},getContainer:function(){return S},getPopupViewRoot:function(){return _},instances:function(){return f},modules:function(){return b},pluginSystem:function(){return v},uniqueUid:function(){return g}});var n=i(19306),r=i(70799),o=i(39955),s=i(12475),a=i(41180),l=i(80568),c=i(41876),u=i(57012),d=i(82758),h=i(22732);let f={},p=1,m=new Set;function g(){function e(){return Math.round(p+=10*(Math.random()+1)).toString(16)}let t=e();for(;m.has(t);)t=e();return m.add(t),t}let v=new c.PluginSystem({getContainer:S}),b={},y=e=>{Object.keys(e).forEach(t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]})},w=new WeakMap;function S(e,t,i="div",a=!1){let c=(0,r.isString)(t)?t:t?(0,l.getClassName)(t.prototype):"jodit-utils",u=w.get(e)||{},d=c+i,f=(0,o.isViewObject)(e)?e:e.j,p=null;if(!u[d]){let t=f.c;if(p=_(f.o,f.container,e.od.body),a&&(0,n.isJoditObject)(e)&&e.od!==e.ed){t=e.createInside;let r="style"===i?e.ed.head:e.ed.body;p=(0,n.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:r}let r=t.element(i,{className:`jodit jodit-${(0,s.kebabCase)(c)}-container jodit-box`});r.classList.add(`jodit_theme_${f.o.theme||"default"}`),p.appendChild(r),u[d]=r,e.hookStatus("beforeDestruct",()=>{f.events.off(r),h.Dom.safeRemove(r),delete u[d],Object.keys(u).length&&w.delete(e)}),w.set(e,u),f.events.fire("getContainer",r)}return u[d].classList.remove("jodit_theme_default","jodit_theme_dark"),u[d].classList.add(`jodit_theme_${f.o.theme||"default"}`),u[d]}function _(e,t,i){var n,r,o;return null!=(o=null!=(r=null!=(n=e.popupRoot)?n:e.shadowRoot)?r:h.Dom.closest(t,e=>h.Dom.isHTMLElement(e)&&(h.Dom.isTag(e,"dialog")||["fixed","absolute"].includes((0,a.css)(e,"position"))),i))?o:i}let C=u.eventEmitter},29999:function(e,t,i){i.d(t,{asArray:function(){return r}});var n=i(68345);let r=e=>(0,n.isArray)(e)?e:[e]},76855:function(e,t,i){i.d(t,{asArray:function(){return n.asArray},splitArray:function(){return r.splitArray},toArray:function(){return o.toArray}});var n=i(29999),r=i(46559),o=i(4510)},46559:function(e,t,i){i.d(t,{splitArray:function(){return n}});function n(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}},4510:function(e,t,i){i.d(t,{toArray:function(){return o}});var n=i(70722),r=i(58844);let o=function(...e){var t;return((0,n.isNativeFunction)(Array.from)?Array.from:null!=(t=(0,r.reset)("Array.from"))?t:Array.from).apply(Array,e)}},91898:function(e,t,i){i.d(t,{clearTimeout:function(){return n.clearTimeout},setTimeout:function(){return n.setTimeout}});var n=i(13252)},13252:function(e,t,i){i.d(t,{clearTimeout:function(){return o},setTimeout:function(){return r}});var n=i(82758);function r(e,t,...i){return t?n.globalWindow.setTimeout(e,t,...i):(e.call(null,...i),0)}function o(e){n.globalWindow.clearTimeout(e)}},54765:function(e,t,i){i.d(t,{hasBrowserColorPicker:function(){return r}});var n=i(82758);function r(){let e=!0;try{let t=n.globalDocument.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}},27613:function(e,t,i){i.d(t,{hasBrowserColorPicker:function(){return n.hasBrowserColorPicker},hasContainer:function(){return d.hasContainer},isAbortError:function(){return r.isAbortError},isArray:function(){return o.isArray},isBoolean:function(){return s.isBoolean},isDestructable:function(){return d.isDestructable},isEqual:function(){return a.isEqual},isFastEqual:function(){return a.isFastEqual},isFunction:function(){return l.isFunction},isHTML:function(){return c.isHTML},isHtmlFromWord:function(){return u.isHtmlFromWord},isInitable:function(){return d.isInitable},isInt:function(){return h.isInt},isJoditObject:function(){return f.isJoditObject},isLicense:function(){return p.isLicense},isMarker:function(){return m.isMarker},isNativeFunction:function(){return g.isNativeFunction},isNumber:function(){return v.isNumber},isNumeric:function(){return b.isNumeric},isPlainObject:function(){return y.isPlainObject},isPromise:function(){return w.isPromise},isSet:function(){return S.isSet},isString:function(){return _.isString},isStringArray:function(){return _.isStringArray},isURL:function(){return C.isURL},isValidName:function(){return k.isValidName},isViewObject:function(){return E.isViewObject},isVoid:function(){return I.isVoid},isWindow:function(){return T.isWindow}});var n=i(54765),r=i(12045),o=i(68345),s=i(87612),a=i(59292),l=i(23282),c=i(58487),u=i(29673),d=i(60132),h=i(72913),f=i(19306),p=i(45603),m=i(78116),g=i(70722),v=i(84767),b=i(29807),y=i(72430),w=i(14773),S=i(42320),_=i(70799),C=i(26049),k=i(37508),E=i(39955),I=i(86068),T=i(52742)},12045:function(e,t,i){i.d(t,{isAbortError:function(){return n}});function n(e){return!!e&&e instanceof DOMException&&"AbortError"===e.name}},68345:function(e,t,i){i.d(t,{isArray:function(){return n}});function n(e){return Array.isArray(e)}},87612:function(e,t,i){i.d(t,{isBoolean:function(){return n}});function n(e){return"boolean"==typeof e}},59292:function(e,t,i){i.d(t,{isEqual:function(){return r},isFastEqual:function(){return o}});var n=i(67462);function r(e,t){return e===t||(0,n.stringify)(e)===(0,n.stringify)(t)}function o(e,t){return e===t}},23282:function(e,t,i){i.d(t,{isFunction:function(){return n}});function n(e){return"function"==typeof e}},29673:function(e,t,i){i.d(t,{isHtmlFromWord:function(){return n}});function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}},58487:function(e,t,i){i.d(t,{isHTML:function(){return r}});var n=i(70799);let r=e=>(0,n.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},60132:function(e,t,i){i.d(t,{hasContainer:function(){return l},isDestructable:function(){return a},isInitable:function(){return s}});var n=i(2748),r=i(23282),o=i(86068);function s(e){return!(0,o.isVoid)(e)&&(0,r.isFunction)(e.init)}function a(e){return!(0,o.isVoid)(e)&&(0,r.isFunction)(e.destruct)}function l(e){return!(0,o.isVoid)(e)&&n.Dom.isElement(e.container)}},72913:function(e,t,i){i.d(t,{isInt:function(){return o}});var n=i(29807),r=i(70799);function o(e){return(0,r.isString)(e)&&(0,n.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},19306:function(e,t,i){i.d(t,{isJoditObject:function(){return r}});var n=i(23282);function r(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&("u">typeof Jodit&&e instanceof Jodit||e.isJodit))}},45603:function(e,t,i){i.d(t,{isLicense:function(){return r}});var n=i(70799);let r=e=>(0,n.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},78116:function(e,t,i){i.d(t,{isMarker:function(){return r}});var n=i(2748);function r(e){return n.Dom.isMarker(e)}},70722:function(e,t,i){i.d(t,{isNativeFunction:function(){return n}});function n(e){return!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(e)))}},84767:function(e,t,i){i.d(t,{isNumber:function(){return n}});function n(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},29807:function(e,t,i){i.d(t,{isNumeric:function(){return r}});var n=i(70799);function r(e){if((0,n.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},72430:function(e,t,i){i.d(t,{isPlainObject:function(){return r}});var n=i(52742);function r(e){return!(!e||"object"!=typeof e||e.nodeType||(0,n.isWindow)(e))&&!(e.constructor&&!({}).hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},14773:function(e,t,i){i.d(t,{isPromise:function(){return n}});function n(e){return e&&"function"==typeof e.then}},42320:function(e,t,i){i.d(t,{isSet:function(){return r}});var n=i(23282);function r(e){return!!e&&(0,n.isFunction)(e.has)&&(0,n.isFunction)(e.add)&&(0,n.isFunction)(e.delete)}},70799:function(e,t,i){i.d(t,{isString:function(){return r},isStringArray:function(){return o}});var n=i(68345);function r(e){return"string"==typeof e}function o(e){return(0,n.isArray)(e)&&r(e[0])}},26049:function(e,t,i){i.d(t,{isURL:function(){return r}});var n=i(82758);function r(e){if(e.includes(" "))return!1;if("u">typeof URL)try{let t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}let t=n.globalDocument.createElement("a");return t.href=e,!!t.hostname}},37508:function(e,t,i){i.d(t,{isValidName:function(){return n}});function n(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(e)&&e.trim().length>0}},39955:function(e,t,i){i.d(t,{isViewObject:function(){return r}});var n=i(23282);function r(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&e.isView)}},86068:function(e,t,i){i.d(t,{isVoid:function(){return n}});function n(e){return null==e}},52742:function(e,t,i){i.d(t,{isWindow:function(){return n}});function n(e){return null!=e&&e===e.window}},35278:function(e,t,i){i.d(t,{colorToHex:function(){return n}});let n=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;let t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";let i=parseInt(t[2],10),n=parseInt(t[3],10),r=(parseInt(t[4],10)|n<<8|i<<16).toString(16).toUpperCase();for(;r.length<6;)r="0"+r;return t[1]+"#"+r}},58149:function(e,t,i){i.d(t,{colorToHex:function(){return n.colorToHex}});var n=i(35278)},32574:function(e,t,i){i.d(t,{applyStyles:function(){return l}});var n=i(82758),r=i(2748),o=i(49055),s=i(76078);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,(e,t,i)=>{switch(i.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e})}function l(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);let t=n.globalDocument.createElement("iframe");t.style.display="none",n.globalDocument.body.appendChild(t);let i="";try{let l=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(l){l.open(),l.write(e),l.close();try{for(let e=0;e<l.styleSheets.length;e+=1){let t=l.styleSheets[e].cssRules;for(let e=0;e<t.length;e+=1)""!==t[e].selectorText&&(0,s.$$)(t[e].selectorText,l.body).forEach(i=>{i.style.cssText=a(t[e].style.cssText+";"+i.style.cssText)})}}catch(e){if(!n.IS_PROD)throw e}r.Dom.each(l.body,e=>{if(r.Dom.isElement(e)){let t=e.getAttribute("style");t&&(e.style.cssText=a(t)),e.hasAttribute("style")&&!e.getAttribute("style")&&e.removeAttribute("style")}}),i=l.firstChild?(0,o.trim)(l.body.innerHTML):""}}catch(e){}finally{r.Dom.safeRemove(t)}return i&&(e=i),(0,o.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},53212:function(e,t,i){i.d(t,{cleanFromWord:function(){return a}});var n=i(82758),r=i(2748),o=i(4510),s=i(49055);function a(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));let t="";try{let i=n.globalDocument.createElement("div");i.innerHTML=e;let s=[];i.firstChild&&r.Dom.each(i,e=>{if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":s.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":r.Dom.unwrap(e);break;default:(0,o.toArray)(e.attributes).forEach(t=>{-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)})}break;case Node.TEXT_NODE:break;default:s.push(e)}}),r.Dom.safeRemove.apply(null,s),t=i.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(s.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},53326:function(e,t,i){i.d(t,{htmlspecialchars:function(){return r}});var n=i(82758);function r(e){let t=n.globalDocument.createElement("div");return t.textContent=e,t.innerHTML}},75275:function(e,t,i){i.d(t,{applyStyles:function(){return n.applyStyles},cleanFromWord:function(){return r.cleanFromWord},htmlspecialchars:function(){return o.htmlspecialchars},nl2br:function(){return s.nl2br},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},stripTags:function(){return l.stripTags}});var n=i(32574),r=i(53212),o=i(53326),s=i(45971),a=i(86518),l=i(91003)},45971:function(e,t,i){i.d(t,{nl2br:function(){return n}});function n(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}},86518:function(e,t,i){i.d(t,{safeHTML:function(){return o},sanitizeHTMLElement:function(){return a}});var n=i(2748),r=i(43555);function o(e,t){var i;(n.Dom.isElement(e)||n.Dom.isFragment(e))&&((null!=(i=t.removeEventAttributes)?i:t.removeOnError)?(s(e),(0,r.$$)("*",e).forEach(e=>s(e))):t.removeOnError&&(a(e,t),(0,r.$$)("[onerror]",e).forEach(e=>a(e,t))),t.safeJavaScriptLink&&(a(e,t),(0,r.$$)('a[href^="javascript"]',e).forEach(e=>a(e,t))),t.safeLinksTarget&&(0,r.$$)('a[target="_blank"]',e).forEach(e=>{let t=(e.getAttribute("rel")||"").split(/\s+/).filter(Boolean);t.includes("noopener")||t.push("noopener"),t.includes("noreferrer")||t.push("noreferrer"),(0,r.attr)(e,"rel",t.join(" "))}))}function s(e){if(!n.Dom.isElement(e))return!1;let t=!1,i=[];for(let t=0;t<e.attributes.length;t++)e.attributes[t].name.toLowerCase().startsWith("on")&&i.push(e.attributes[t].name);for(let n of i)e.removeAttribute(n),t=!0;return t}function a(e,{safeJavaScriptLink:t,removeOnError:i}={safeJavaScriptLink:!0,removeOnError:!0}){if(!n.Dom.isElement(e))return!1;let o=!1;i&&e.hasAttribute("onerror")&&((0,r.attr)(e,"onerror",null),o=!0);let s=e.getAttribute("href");return t&&s&&0===s.trim().indexOf("javascript")&&((0,r.attr)(e,"href",location.protocol+"//"+s),o=!0),o}},91003:function(e,t,i){i.d(t,{stripTags:function(){return function e(t,i=document,u=null){let d=i.createElement("div");return(0,r.isString)(t)?d.innerHTML=t:d.appendChild(t),(0,s.$$)("*",d).forEach(t=>{let r=t.parentNode;if(!r)return;if(u&&n.Dom.isTag(t,u)){let r=t.nodeName.toLowerCase(),o=n.Dom.isTag(t,c)?`%%%jodit-single-${r}%%%`:`%%%jodit-${r}%%%${e(t.innerHTML,i,u)}%%%/jodit-${r}%%%`;n.Dom.before(t,i.createTextNode(o)),n.Dom.safeRemove(t);return}if(n.Dom.isTag(t,l))return void n.Dom.safeRemove(t);if(!n.Dom.isTag(t,a))return;let o=t.nextSibling;!(n.Dom.isText(o)&&/^\s/.test(o.nodeValue||""))&&o&&r.insertBefore(i.createTextNode(" "),o)}),(0,o.trim)(d.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,(e,t,i,n)=>`<${t?"/":""}${n}>`)}}});var n=i(2748),r=i(70799),o=i(49055),s=i(43555);let a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"])},21537:function(e,t,i){i.r(t),i.d(t,{$$:function(){return d.$$},CamelCaseToKebabCase:function(){return u.CamelCaseToKebabCase},ConfigDeepFlatten:function(){return d.ConfigDeepFlatten},ConfigFlatten:function(){return d.ConfigFlatten},ConfigProto:function(){return d.ConfigProto},ConnectionError:function(){return d.ConnectionError},LimitedStack:function(){return d.LimitedStack},NUMBER_FIELDS_REG:function(){return l.NUMBER_FIELDS_REG},OptionsError:function(){return d.OptionsError},abort:function(){return d.abort},alignElement:function(){return d.alignElement},alreadyLoadedList:function(){return d.alreadyLoadedList},appendScriptAsync:function(){return d.appendScriptAsync},appendStyleAsync:function(){return d.appendStyleAsync},applyStyles:function(){return a.applyStyles},asArray:function(){return n.asArray},assert:function(){return d.assert},attr:function(){return d.attr},browser:function(){return d.browser},buildQuery:function(){return d.buildQuery},call:function(){return d.call},callPromise:function(){return d.callPromise},callThis:function(){return d.callThis},camelCase:function(){return u.camelCase},cleanFromWord:function(){return a.cleanFromWord},clearAlign:function(){return d.clearAlign},clearCenterAlign:function(){return d.clearCenterAlign},clearTimeout:function(){return r.clearTimeout},cns:function(){return d.cns},colorToHex:function(){return s.colorToHex},completeUrl:function(){return d.completeUrl},connection:function(){return d.connection},convertMediaUrlToVideoEmbed:function(){return d.convertMediaUrlToVideoEmbed},css:function(){return d.css},cssPath:function(){return d.cssPath},ctrlKey:function(){return d.ctrlKey},dataBind:function(){return d.dataBind},defaultLanguage:function(){return d.defaultLanguage},error:function(){return d.error},fastClone:function(){return d.fastClone},fuzzySearchIndex:function(){return u.fuzzySearchIndex},get:function(){return d.get},getClassName:function(){return d.getClassName},getContentWidth:function(){return c.getContentWidth},getDataTransfer:function(){return d.getDataTransfer},getPropertyDescriptor:function(){return d.getPropertyDescriptor},getScrollParent:function(){return c.getScrollParent},getXPathByElement:function(){return d.getXPathByElement},hAlignElement:function(){return d.hAlignElement},hasBrowserColorPicker:function(){return o.hasBrowserColorPicker},hasContainer:function(){return o.hasContainer},htmlspecialchars:function(){return a.htmlspecialchars},humanSizeToBytes:function(){return d.humanSizeToBytes},i18n:function(){return u.i18n},inView:function(){return d.inView},innerWidth:function(){return c.innerWidth},isAbortError:function(){return o.isAbortError},isArray:function(){return o.isArray},isAtom:function(){return d.isAtom},isBoolean:function(){return o.isBoolean},isDestructable:function(){return o.isDestructable},isEqual:function(){return o.isEqual},isFastEqual:function(){return o.isFastEqual},isFunction:function(){return o.isFunction},isHTML:function(){return o.isHTML},isHtmlFromWord:function(){return o.isHtmlFromWord},isInitable:function(){return o.isInitable},isInt:function(){return o.isInt},isJoditObject:function(){return o.isJoditObject},isLicense:function(){return o.isLicense},isMarker:function(){return o.isMarker},isNativeFunction:function(){return o.isNativeFunction},isNumber:function(){return o.isNumber},isNumeric:function(){return o.isNumeric},isPlainObject:function(){return o.isPlainObject},isPromise:function(){return o.isPromise},isSet:function(){return o.isSet},isString:function(){return o.isString},isStringArray:function(){return o.isStringArray},isURL:function(){return o.isURL},isValidName:function(){return o.isValidName},isViewObject:function(){return o.isViewObject},isVoid:function(){return o.isVoid},isWindow:function(){return o.isWindow},kebabCase:function(){return u.kebabCase},keepNames:function(){return d.keepNames},keys:function(){return d.keys},loadImage:function(){return d.loadImage},loadNext:function(){return d.loadNext},loadNextStyle:function(){return d.loadNextStyle},markAsAtomic:function(){return d.markAsAtomic},markDeprecated:function(){return d.markDeprecated},markOwner:function(){return d.markOwner},memorizeExec:function(){return d.memorizeExec},nl2br:function(){return a.nl2br},normalizeColor:function(){return l.normalizeColor},normalizeCssNumericValue:function(){return l.normalizeCssNumericValue},normalizeCssValue:function(){return l.normalizeCssValue},normalizeKeyAliases:function(){return l.normalizeKeyAliases},normalizeLicense:function(){return l.normalizeLicense},normalizePath:function(){return l.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return l.normalizeSize},normalizeUrl:function(){return l.normalizeUrl},offset:function(){return c.offset},options:function(){return d.options},parseQuery:function(){return d.parseQuery},position:function(){return c.position},previewBox:function(){return d.previewBox},refs:function(){return d.refs},reset:function(){return d.reset},resolveElement:function(){return d.resolveElement},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},scrollIntoViewIfNeeded:function(){return d.scrollIntoViewIfNeeded},set:function(){return d.set},setTimeout:function(){return r.setTimeout},size:function(){return c.size},splitArray:function(){return n.splitArray},sprintf:function(){return u.sprintf},stringify:function(){return u.stringify},stripTags:function(){return a.stripTags},toArray:function(){return n.toArray},trim:function(){return u.trim},trimChars:function(){return u.trimChars},trimInv:function(){return u.trimInv},ucfirst:function(){return u.ucfirst}});var n=i(76855),r=i(91898),o=i(27613),s=i(58149),a=i(75275),l=i(71521),c=i(56175),u=i(59007),d=i(43555)},71521:function(e,t,i){i.d(t,{NUMBER_FIELDS_REG:function(){return r.NUMBER_FIELDS_REG},normalizeColor:function(){return n.normalizeColor},normalizeCssNumericValue:function(){return r.normalizeCssNumericValue},normalizeCssValue:function(){return r.normalizeCssValue},normalizeKeyAliases:function(){return o.normalizeKeyAliases},normalizeLicense:function(){return s.normalizeLicense},normalizePath:function(){return a.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return c.normalizeSize},normalizeUrl:function(){return u.normalizeUrl}});var n=i(21224),r=i(3760),o=i(49033),s=i(12972),a=i(9992),l=i(70091),c=i(46334),u=i(37406)},21224:function(e,t,i){i.d(t,{normalizeColor:function(){return o}});var n=i(35278),r=i(49055);let o=e=>{let t=["#"],i=(0,n.colorToHex)(e);if(!i)return!1;if(3===(i=(i=(0,r.trim)(i.toUpperCase())).substring(1)).length){for(let e=0;e<3;e+=1)t.push(i[e]),t.push(i[e]);return t.join("")}return i.length>6&&(i=i.slice(0,6)),"#"+i}},3760:function(e,t,i){i.d(t,{NUMBER_FIELDS_REG:function(){return a},normalizeCssNumericValue:function(){return l},normalizeCssValue:function(){return c}});var n=i(29807),r=i(86068),o=i(35278),s=i(12475);let a=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function l(e,t){return!(0,r.isVoid)(t)&&a.test(e)&&(0,n.isNumeric)(t.toString())?parseInt(t.toString(),10)+"px":t}function c(e,t){if("font-weight"===(0,s.kebabCase)(e)){switch(t.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,n.isNumeric)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(t.toString())&&(0,o.colorToHex)(t.toString())||t}},49033:function(e,t,i){i.d(t,{normalizeKeyAliases:function(){return o}});var n=i(82758),r=i(49055);function o(e){let t={},i={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(e=>(0,r.trim)(e.toLowerCase())).map(e=>n.KEY_ALIASES[e]||e).sort((e,t)=>i[e]&&!i[t]?-1:!i[e]&&i[t]?1:i[e]&&i[t]?i[e]-i[t]:e>t?1:-1).filter(e=>!t[e]&&""!==e&&(t[e]=!0)).join("+")}},12972:function(e,t,i){i.d(t,{normalizeLicense:function(){return n}});let n=(e,t=8)=>{let i=[];for(;e.length;)i.push(e.substr(0,t)),e=e.substr(t);return i[1]=i[1].replace(/./g,"*"),i[2]=i[2].replace(/./g,"*"),i.join("-")}},9992:function(e,t,i){i.d(t,{normalizePath:function(){return r}});var n=i(49055);let r=(...e)=>e.filter(e=>(0,n.trim)(e).length).map((t,i)=>(t=t.replace(/([^:])[\\/]+/g,"$1/"),i&&(t=t.replace(/^\//,"")),i!==e.length-1&&(t=t.replace(/\/$/,"")),t)).join("/")},70091:function(e,t,i){i.d(t,{normalizeRelativePath:function(){return n}});let n=e=>e.split("/").reduce((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},46334:function(e,t,i){i.d(t,{normalizeSize:function(){return n}});let n=(e,t)=>/^[0-9]+$/.test(e.toString())?e+t:e.toString()},37406:function(e,t,i){i.d(t,{normalizeUrl:function(){return n}});let n=(...e)=>e.filter(e=>e.length).map(e=>e.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},44506:function(e,t,i){i.d(t,{getContentWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.offsetWidth-parseInt(i.getPropertyValue("padding-left")||"0",10)-parseInt(i.getPropertyValue("padding-right")||"0",10)}},16442:function(e,t,i){i.d(t,{getScrollParent:function(){return function e(t){if(!t)return null;let i=r.Dom.isHTMLElement(t),s=i&&(0,o.css)(t,"overflowY");return i&&"visible"!==s&&"hidden"!==s&&t.scrollHeight>=t.clientHeight?t:e(t.parentNode)||n.globalDocument.scrollingElement||n.globalDocument.body}}});var n=i(82758),r=i(2748),o=i(43555)},56175:function(e,t,i){i.d(t,{getContentWidth:function(){return n.getContentWidth},getScrollParent:function(){return r.getScrollParent},innerWidth:function(){return o.innerWidth},offset:function(){return a.offset},position:function(){return l.position},size:function(){return s.size}});var n=i(44506),r=i(16442),o=i(81630),s=i(21496),a=i(81284),l=i(5700)},81630:function(e,t,i){i.d(t,{innerWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.clientWidth-(parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"))}},21496:function(e,t,i){i.d(t,{size:function(){return r}});var n=i(27613);function r(e){return(0,n.isString)(e)||(0,n.isArray)(e)?e.length:(0,n.isPlainObject)(e)?Object.keys(e).length:0}},81284:function(e,t,i){i.d(t,{offset:function(){return n}});let n=(e,t,i,r=!1)=>{let o,s,a;try{o=e.getBoundingClientRect()}catch(e){o={top:0,bottom:0,left:0,right:0,width:0,height:0}}let l=i.body,c=i.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},u=i.defaultView||i.parentWindow,d=u.pageYOffset||c.scrollTop||l.scrollTop,h=u.pageXOffset||c.scrollLeft||l.scrollLeft,f=c.clientTop||l.clientTop||0,p=c.clientLeft||l.clientLeft||0,m=t.iframe;if(!r&&t&&t.options&&t.o.iframe&&m){let{top:e,left:i}=n(m,t,t.od,!0);s=o.top+e,a=o.left+i}else s=o.top+d-f,a=o.left+h-p;return{top:Math.round(s),left:Math.round(a),width:o.width,height:o.height}}},5700:function(e,t,i){i.d(t,{position:function(){return function e(t,i,r=!1){var o,s;let a=t.getBoundingClientRect(),l=a.left,c=a.top;if((0,n.isJoditObject)(i)&&i.iframe&&i.ed.body.contains(t)&&!r){let{left:t,top:n}=e(i.iframe,i,!0);l+=t,c+=n}return{left:Math.round(l),top:Math.round(c),width:Math.round(null!=(o=t.offsetWidth)?o:a.width),height:Math.round(null!=(s=t.offsetHeight)?s:a.height)}}}});var n=i(19306)},87058:function(e,t,i){i.d(t,{camelCase:function(){return n}});let n=e=>e.replace(/([-_])(.)/g,(e,t,i)=>i.toUpperCase())},67477:function(e,t,i){i.d(t,{fuzzySearchIndex:function(){return r}});var n=i(82758);function r(e,t,i=0,o=1){let s=0,a=0,l=-1,c=0,u=0;for(a=i;s<e.length&&a<t.length;)e[s].toLowerCase()===t[a].toLowerCase()?(s++,c++,u=0,-1===l&&(l=a)):s>0&&(u>=o&&t[a]!==n.INVISIBLE_SPACE?(s=0,l=-1,c=0,u=0,a--):(u++,c++)),a++;return s===e.length?[l,c]:[-1,0]}},56967:function(e,t,i){i.d(t,{i18n:function(){return c},sprintf:function(){return l}});var n=i(82758),r=i(70799),o=i(36409),s=i(43555),a=i(6441);let l=(e,t)=>{if(!t||!t.length)return e;let i=/%([sd])/g,n=i.exec(e),r=e,o=0;for(;n&&void 0!==t[o];)r=r.replace(n[0],t[o].toString()),o+=1,n=i.exec(e);return r};function c(e,t,i){if(!(0,r.isString)(e))throw(0,s.error)("i18n: Need string in first argument");if(!e.length)return e;let c=!!(null==i?void 0:i.debugLanguage),u={},d=e=>t&&t.length?l(e,t):e,h=(0,s.defaultLanguage)(a.Config.defaultOptions.language,a.Config.defaultOptions.language),f=(0,s.defaultLanguage)(null==i?void 0:i.language,h),p=t=>{if(!t)return;if((0,r.isString)(t[e]))return d(t[e]);let i=e.toLowerCase();if((0,r.isString)(t[i]))return d(t[i]);let n=(0,o.ucfirst)(e);if((0,r.isString)(t[n]))return d(t[n])};void 0!==n.lang[f]?u=n.lang[f]:c||(u=void 0!==n.lang[h]?n.lang[h]:n.lang.en);let m=null==i?void 0:i.i18n;if(m&&m[f]){let e=p(m[f]);if(e)return e}return p(u)||(!c&&n.lang.en&&(0,r.isString)(n.lang.en[e])&&n.lang.en[e]?d(n.lang.en[e]):c?"{"+e+"}":(n.IS_PROD,d(e)))}},59007:function(e,t,i){i.d(t,{CamelCaseToKebabCase:function(){return s.CamelCaseToKebabCase},camelCase:function(){return n.camelCase},fuzzySearchIndex:function(){return r.fuzzySearchIndex},i18n:function(){return o.i18n},kebabCase:function(){return s.kebabCase},sprintf:function(){return o.sprintf},stringify:function(){return a.stringify},trim:function(){return l.trim},trimChars:function(){return l.trimChars},trimInv:function(){return l.trimInv},ucfirst:function(){return c.ucfirst}});var n=i(87058),r=i(67477),o=i(56967),s=i(12475),a=i(67462),l=i(49055),c=i(36409)},12475:function(e,t,i){i.d(t,{CamelCaseToKebabCase:function(){return r},kebabCase:function(){return n}});let n=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),r=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},67462:function(e,t,i){i.d(t,{stringify:function(){return n}});function n(e,t={}){if("object"!=typeof e)return String(e);let i=new Set(t.excludeKeys),r=new WeakMap;return JSON.stringify(e,(e,t)=>{if(!i.has(e)){if("object"==typeof t&&null!=t){if(r.get(t))return"[refObject]";r.set(t,!0)}return t}},t.prettify)}},49055:function(e,t,i){i.d(t,{trim:function(){return r},trimChars:function(){return o},trimInv:function(){return s}});var n=i(82758);function r(e){return e.replace((0,n.SPACE_REG_EXP_END)(),"").replace((0,n.SPACE_REG_EXP_START)(),"")}function o(e,t){return e.replace(RegExp(`[${t}]+$`),"").replace(RegExp(`^[${t}]+`),"")}function s(e){return e.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,n.INVISIBLE_SPACE_REG_EXP_START)(),"")}},36409:function(e,t,i){i.d(t,{ucfirst:function(){return n}});function n(e){return e.length?e[0].toUpperCase()+e.substring(1):""}},25726:function(e,t,i){i.d(t,{alignElement:function(){return a},clearAlign:function(){return s},hAlignElement:function(){return o}});var n=i(22732),r=i(41180);function o(e,t){t&&"normal"!==t?"center"!==t?((0,r.css)(e,"float",t),(0,r.clearCenterAlign)(e)):(0,r.css)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,r.css)(e,"float")&&-1!==["right","left"].indexOf((0,r.css)(e,"float").toString().toLowerCase())&&(0,r.css)(e,"float",""),(0,r.clearCenterAlign)(e))}function s(e){n.Dom.each(e,e=>{n.Dom.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))})}function a(e,t){if(n.Dom.isNode(t)&&n.Dom.isElement(t))switch(s(t),e.toLowerCase()){case"justifyfull":t.style.textAlign="justify";break;case"justifyright":t.style.textAlign="right";break;case"justifyleft":t.style.textAlign="left";break;case"justifycenter":t.style.textAlign="center"}}},63799:function(e,t,i){i.d(t,{alreadyLoadedList:function(){return o},appendScriptAsync:function(){return a},appendStyleAsync:function(){return l},loadNext:function(){return function e(t,i,r=0){return(0,n.isString)(i[r])?a(t,i[r]).then(()=>e(t,i,r+1)):Promise.resolve()}},loadNextStyle:function(){return function e(t,i,r=0){return(0,n.isString)(i[r])?l(t,i[r]).then(()=>e(t,i,r+1)):Promise.resolve()}}});var n=i(70799),r=i(66292);let o=new Map,s=e=>(t,i)=>{if(o.has(i))return o.get(i);let n=e(t,i);return o.set(i,n),n},a=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let o=e.c.element("script",{type:"text/javascript",crossorigin:"anonymous",referrerpolicy:"no-referrer",async:!0,src:(0,r.completeUrl)(t)});e.e.one(o,"error",n).one(o,"load",i),e.od.body.appendChild(o)})),l=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let o=e.c.element("link");o.rel="stylesheet",o.media="all",o.crossOrigin="anonymous",e.isInDestruct||e.e.on(o,"load",()=>i(o)).on(o,"error",n),o.href=(0,r.completeUrl)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(o):e.od.body.appendChild(o)}))},38837:function(e,t,i){i.d(t,{assert:function(){return r}});class n extends Error{constructor(e){super(e),this.name="AssertionError"}}function r(e,t){if(!e)throw new n(`Assertion failed: ${t}`)}},29960:function(e,t,i){i.d(t,{attr:function(){return function e(t,i,l){if(!t||!(0,n.isFunction)(t.getAttribute))return null;if(!(0,o.isString)(i))return Object.keys(i).forEach(n=>{let o=i[n];(0,r.isPlainObject)(o)&&"style"===n?(0,a.css)(t,o):("className"===n&&(n="class"),e(t,n,o))}),null;let c=(0,s.CamelCaseToKebabCase)(i);if(/^-/.test(c)){let i=e(t,`data${c}`);if(i)return i;c=c.substr(1)}if(void 0!==l)if(null==l)t.hasAttribute(c)&&t.removeAttribute(c);else{let e=l.toString();return"IMG"===t.nodeName&&("width"===c||"height"===c)&&(e=e.replace("px","")),t.setAttribute(c,e),e}return t.getAttribute(c)}}});var n=i(23282),r=i(72430),o=i(70799),s=i(12475),a=i(41180)},97639:function(e,t,i){i.d(t,{browser:function(){return n}});let n=e=>{let t=navigator.userAgent.toLowerCase(),i=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?i[2]:"webkit"===e?"chrome"===i[1]||"webkit"===i[1]:"ff"===e?"firefox"===i[1]:"msie"===e?"trident"===i[1]||"msie"===i[1]:i[1]===e}},44710:function(e,t,i){i.d(t,{buildQuery:function(){return r}});var n=i(72430);let r=(e,t)=>{let i=[],o=encodeURIComponent;for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s)){let a=t?t+"["+s+"]":s,l=e[s];i.push((0,n.isPlainObject)(l)?r(l,a):o(a)+"="+o(l))}return i.join("&")}},66292:function(e,t,i){i.d(t,{completeUrl:function(){return r}});var n=i(82758);let r=e=>("file:"===n.globalWindow.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},68934:function(e,t,i){i.d(t,{ConfigDeepFlatten:function(){return function e(t){return(0,c.keys)(t,!1).reduce((i,n)=>(i[n]=(0,r.isPlainObject)(t[n])?e(t[n]):t[n],i),{})}},ConfigFlatten:function(){return u},ConfigProto:function(){return function e(t,i,c=0){if(Object.getPrototypeOf(t)!==Object.prototype)return t;let u=a.Config.defaultOptions;if((0,o.isString)(t.preset)){if(void 0!==u.presets[t.preset]){let e=u.presets[t.preset];Object.keys(e).forEach(i=>{(0,s.isVoid)(t[i])&&(t[i]=e[i])})}delete t.preset}let d={};return Object.keys(t).forEach(o=>{let s=t[o],a=i?i[o]:null;if((0,r.isPlainObject)(s)&&(0,r.isPlainObject)(a)&&!(0,l.isAtom)(s)){d[o]=e(s,a,c+1);return}if(0!==c&&(0,n.isArray)(s)&&!(0,l.isAtom)(s)&&(0,n.isArray)(a)){d[o]=[...s,...a.slice(s.length)];return}d[o]=s}),Object.setPrototypeOf(d,i),d}}});var n=i(68345),r=i(72430),o=i(70799),s=i(86068),a=i(6441),l=i(97735),c=i(37790);function u(e){return(0,c.keys)(e,!1).reduce((t,i)=>(t[i]=e[i],t),{})}},55877:function(e,t,i){i.d(t,{convertMediaUrlToVideoEmbed:function(){return s}});var n=i(82758),r=i(26049),o=i(82501);let s=(e,{width:t=400,height:i=345}={})=>{if(!(0,r.isURL)(e))return e;let s=n.globalDocument.createElement("a"),a=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;s.href=e,t||(t=400),i||(i=345);let l=s.protocol||"";switch(s.hostname){case"www.vimeo.com":case"vimeo.com":return a.test(e)?e.replace(a,'<iframe width="'+t+'" height="'+i+'" src="'+l+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{let n=s.search?(0,o.parseQuery)(s.search):{v:s.pathname.substring(1)};return/^embed\/.*/.test(n.v)&&(n.v=n.v.substring(6)),n.v?'<iframe width="'+t+'" height="'+i+'" src="'+l+"//www.youtube.com/embed/"+n.v+'" frameborder="0" allowfullscreen></iframe>':e}}return e}},41180:function(e,t,i){i.d(t,{clearCenterAlign:function(){return c},css:function(){return l}});var n=i(87612),r=i(72430),o=i(3760),s=i(87058),a=i(12475);function l(e,t,i,c=!1){if((0,n.isBoolean)(i)&&(c=i,i=void 0),(0,r.isPlainObject)(t)||void 0!==i){let n=(e,t,i)=>{void 0!==(i=(0,o.normalizeCssNumericValue)(t,i))&&(null==i||l(e,t,!0)!==(0,o.normalizeCssValue)(t,i))&&(e.style[t]=i)};if((0,r.isPlainObject)(t)){let i=Object.keys(t);for(let r=0;r<i.length;r+=1)n(e,(0,s.camelCase)(i[r]),t[i[r]])}else n(e,(0,s.camelCase)(t),i);return""}let u=(0,a.kebabCase)(t),d=e.ownerDocument||document,h=!!d&&(d.defaultView||d.parentWindow),f=e.style[t],p="";return void 0!==f&&""!==f?p=f:h&&!c&&(p=h.getComputedStyle(e).getPropertyValue(u)),o.NUMBER_FIELDS_REG.test(t)&&/^[-+]?[0-9.]+px$/.test(p.toString())&&(p=parseInt(p.toString(),10)),(0,o.normalizeCssValue)(t,p)}let c=e=>{"block"===l(e,"display")&&l(e,"display","");let{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},15456:function(e,t,i){i.d(t,{ctrlKey:function(){return n}});let n=e=>{if("u">typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},86583:function(e,t,i){i.d(t,{dataBind:function(){return o}});var n=i(39955);let r=new WeakMap,o=(e,t,i)=>{let o=r.get(e);if(!o){o={},r.set(e,o);let t=null;(0,n.isViewObject)(e.j)&&(t=e.j.e),(0,n.isViewObject)(e)&&(t=e.e),t&&t.on("beforeDestruct",()=>{r.delete(e)})}return void 0===i?o[t]:(o[t]=i,i)}},96325:function(e,t,i){i.d(t,{defaultLanguage:function(){return o}});var n=i(82758),r=i(70799);let o=(e,t="en")=>"auto"!==e&&(0,r.isString)(e)?e:n.globalDocument.documentElement&&n.globalDocument.documentElement.lang?n.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},82760:function(e,t,i){i.d(t,{connection:function(){return o},error:function(){return r},options:function(){return s}});var n=i(32880);function r(e){return TypeError(e)}function o(e){return new n.ConnectionError(e)}function s(e){return new n.OptionsError(e)}},93661:function(e,t,i){i.d(t,{abort:function(){return n}});function n(e="Aborted"){return new DOMException(e,"AbortError")}},86397:function(e,t,i){i.d(t,{ConnectionError:function(){return n}});class n extends Error{constructor(e){super(e),Object.setPrototypeOf(this,n.prototype)}}},32880:function(e,t,i){i.d(t,{ConnectionError:function(){return r.ConnectionError},OptionsError:function(){return o.OptionsError},abort:function(){return n.abort}});var n=i(93661),r=i(86397),o=i(57865)},57865:function(e,t,i){i.d(t,{OptionsError:function(){return n}});class n extends TypeError{constructor(e){super(e),Object.setPrototypeOf(this,n.prototype)}}},89890:function(e,t,i){i.d(t,{ConnectionError:function(){return r.ConnectionError},OptionsError:function(){return r.OptionsError},abort:function(){return r.abort},connection:function(){return n.connection},error:function(){return n.error},options:function(){return n.options}});var n=i(82760),r=i(32880)},97735:function(e,t,i){i.d(t,{fastClone:function(){return s},isAtom:function(){return r},markAsAtomic:function(){return o}});var n=i(67462);function r(e){return e&&e.isAtom}function o(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e}function s(e){return JSON.parse((0,n.stringify)(e))}},80568:function(e,t,i){i.d(t,{getClassName:function(){return o},keepNames:function(){return r}});var n=i(23282);let r=new Map,o=e=>{var t;if((0,n.isFunction)(e.className))return e.className();let i=(null==(t=e.constructor)?void 0:t.originalConstructor)||e.constructor;if(r.has(i))return r.get(i);if(i.name)return i.name;let o=new RegExp(/^\s*function\s*(\S*)\s*\(/),s=i.toString().match(o);return s?s[1]:""}},94643:function(e,t,i){i.d(t,{get:function(){return o}});var n=i(70799),r=i(86068);function o(e,t){if(!(0,n.isString)(e)||!e.length)return null;let i=e.split("."),o=t;try{for(let e of i){if((0,r.isVoid)(o[e]))return null;o=o[e]}}catch(e){return null}return(0,r.isVoid)(o)?null:o}},38420:function(e,t,i){i.d(t,{humanSizeToBytes:function(){return n}});let n=e=>{if(/^[0-9.]+$/.test(e.toString()))return parseFloat(e);let t=e.substr(-2,2).toUpperCase(),i=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return -1!==i.indexOf(t)?n*Math.pow(1024,i.indexOf(t)+1):parseInt(e,10)}},43555:function(e,t,i){i.d(t,{$$:function(){return I.$$},ConfigDeepFlatten:function(){return u.ConfigDeepFlatten},ConfigFlatten:function(){return u.ConfigFlatten},ConfigProto:function(){return u.ConfigProto},ConnectionError:function(){return g.ConnectionError},LimitedStack:function(){return D.LimitedStack},OptionsError:function(){return g.OptionsError},abort:function(){return g.abort},alignElement:function(){return n.alignElement},alreadyLoadedList:function(){return r.alreadyLoadedList},appendScriptAsync:function(){return r.appendScriptAsync},appendStyleAsync:function(){return r.appendStyleAsync},assert:function(){return o.assert},attr:function(){return s.attr},browser:function(){return a.browser},buildQuery:function(){return l.buildQuery},call:function(){return j.call},callPromise:function(){return j.callPromise},callThis:function(){return j.callThis},clearAlign:function(){return n.clearAlign},clearCenterAlign:function(){return h.clearCenterAlign},cns:function(){return S.cns},completeUrl:function(){return c.completeUrl},connection:function(){return g.connection},convertMediaUrlToVideoEmbed:function(){return d.convertMediaUrlToVideoEmbed},css:function(){return h.css},cssPath:function(){return I.cssPath},ctrlKey:function(){return f.ctrlKey},dataBind:function(){return p.dataBind},defaultLanguage:function(){return m.defaultLanguage},error:function(){return g.error},fastClone:function(){return v.fastClone},get:function(){return b.get},getClassName:function(){return y.getClassName},getDataTransfer:function(){return j.getDataTransfer},getPropertyDescriptor:function(){return j.getPropertyDescriptor},getXPathByElement:function(){return I.getXPathByElement},hAlignElement:function(){return n.hAlignElement},humanSizeToBytes:function(){return w.humanSizeToBytes},inView:function(){return E.inView},isAtom:function(){return v.isAtom},keepNames:function(){return y.keepNames},keys:function(){return j.keys},loadImage:function(){return j.loadImage},loadNext:function(){return r.loadNext},loadNextStyle:function(){return r.loadNextStyle},markAsAtomic:function(){return v.markAsAtomic},markDeprecated:function(){return S.markDeprecated},markOwner:function(){return j.markOwner},memorizeExec:function(){return j.memorizeExec},options:function(){return g.options},parseQuery:function(){return _.parseQuery},previewBox:function(){return C.previewBox},refs:function(){return I.refs},reset:function(){return k.reset},resolveElement:function(){return I.resolveElement},scrollIntoViewIfNeeded:function(){return E.scrollIntoViewIfNeeded},set:function(){return T.set}});var n=i(25726),r=i(63799),o=i(38837),s=i(29960),a=i(97639),l=i(44710),c=i(66292),u=i(68934),d=i(55877),h=i(41180),f=i(15456),p=i(86583),m=i(96325),g=i(89890),v=i(97735),b=i(94643),y=i(80568),w=i(38420),S=i(95942),_=i(82501),C=i(11628),k=i(58844),E=i(26395),I=i(76078),T=i(3703),D=i(50535),j=i(37790)},95942:function(e,t,i){i.d(t,{cns:function(){return n},markDeprecated:function(){return r}});let n=console;function r(e,t=[""],i=null){return(...r)=>(n.warn(`Method "${t[0]}" deprecated.`+(t[1]?` Use "${t[1]}" instead`:"")),e.call(i,...r))}},82501:function(e,t,i){i.d(t,{parseQuery:function(){return n}});let n=e=>{let t={},i=e.substring(1).split("&");for(let e=0;e<i.length;e+=1){let n=i[e].split("=");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1]||"")}return t}},11628:function(e,t,i){i.d(t,{previewBox:function(){return l}});var n=i(2748),r=i(70799),o=i(29960),s=i(41180),a=i(76078);function l(e,t,i="px",c=null){let u=[],d=function(e,t){let i=[];try{(0,a.$$)("img",e.editor).forEach(r=>{let s=[(0,o.attr)(r,"width"),(0,o.attr)(r,"height"),r.src];(0,o.attr)(r,{width:r.offsetWidth+t,height:r.offsetHeight+t});let a=e.createInside.a();e.ed.body.appendChild(a),a.href=r.src,r.src=a.href,n.Dom.safeRemove(a),i.push(()=>{var e;r.src=null!=(e=s[2])?e:"",(0,o.attr)(r,{width:s[0]||null,height:s[1]||null})})})}catch(e){throw i.forEach(e=>e()),i.length=0,e}return i}(e,i);try{let a=e.e.fire("beforePreviewBox",t,i);if(null!=a)return a;let l=e.c.div("jodit__preview-box jodit-context");c&&c.appendChild(l),(0,s.css)(l,{position:"relative",padding:16});let d=e.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${e.i18n("Empty")}</div>`;if(e.iframe){let t=e.create.element("iframe");(0,s.css)(t,{minWidth:800,minHeight:600,border:0}),l.appendChild(t);let i=t.contentWindow;if(i&&(e.e.fire("generateDocumentStructure.iframe",i.document,e),l=i.document.body,"function"==typeof ResizeObserver)){let n=!1,r=i.document.body,o=new ResizeObserver(e.async.debounce(()=>{o.unobserve(r),t.style.height=`${r.offsetHeight+20}px`,e.async.requestAnimationFrame(()=>{n||o.observe(r)})},100)),s=()=>{n=!0,o.unobserve(r),o.disconnect(),e.e.off("beforeDestruct",s)};u.push(s),e.e.on("beforeDestruct",s)}}else(0,s.css)(l,{minWidth:1024,minHeight:600,border:0});let h=(t,i)=>{let s=(0,r.isString)(i)?e.c.div():i;(0,r.isString)(i)&&(s.innerHTML=i);for(let e=0;e<s.childNodes.length;e+=1){let i=s.childNodes[e];if(n.Dom.isElement(i)){let e=t.ownerDocument.createElement(i.nodeName);for(let t=0;t<i.attributes.length;t+=1)(0,o.attr)(e,i.attributes[t].nodeName,i.attributes[t].nodeValue);0===i.childNodes.length||n.Dom.isTag(i,"table")?"SCRIPT"===i.nodeName?i.textContent&&(e.textContent=i.textContent):i.innerHTML&&(e.innerHTML=i.innerHTML):h(e,i);try{t.appendChild(e)}catch(e){}}else try{t.appendChild(i.cloneNode(!0))}catch(e){}}};return h(l,d),e.e.fire("afterPreviewBox",l),[l,()=>{u.forEach(e=>e())}]}finally{d.forEach(e=>e())}}},58844:function(e,t,i){i.d(t,{reset:function(){return a}});var n=i(82758),r=i(23282),o=i(94643);let s={};function a(e){var t,i;if(!(e in s)){let i=n.globalDocument.createElement("iframe");try{if(i.src="about:blank",n.globalDocument.body.appendChild(i),!i.contentWindow)return null;let t=(0,o.get)(e,i.contentWindow),a=(0,o.get)(e.split(".").slice(0,-1).join("."),i.contentWindow);(0,r.isFunction)(t)&&(s[e]=t.bind(a))}catch(e){if(!n.IS_PROD)throw e}finally{null==(t=i.parentNode)||t.removeChild(i)}}return null!=(i=s[e])?i:null}},26395:function(e,t,i){i.d(t,{inView:function(){return r},scrollIntoViewIfNeeded:function(){return o}});var n=i(2748);function r(e,t,i){let n=e.getBoundingClientRect(),r=e,o=n.top,s=n.height;for(;r&&r!==t&&r.parentNode;)if(!(o<=(n=(r=r.parentNode).getBoundingClientRect()).bottom)||o+s<=n.top)return!1;return o<=(i.documentElement&&i.documentElement.clientHeight||0)}function o(e,t,i){n.Dom.isHTMLElement(e)&&!r(e,t,i)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),r(e,t,i)||e.scrollIntoView())}},76078:function(e,t,i){i.d(t,{$$:function(){return d},cssPath:function(){return p},getXPathByElement:function(){return h},refs:function(){return f},resolveElement:function(){return m}});var n=i(82758),r=i(2748),o=i(4510),s=i(70799),a=i(87058),l=i(29960),c=i(89890);let u=1;function d(e,t){let i;if(!n.IS_ES_NEXT&&/:scope/.test(e)&&n.IS_IE&&!(t&&t.nodeType===Node.DOCUMENT_NODE)){let n=t.id,r=n||"_selector_id_"+String(Math.random()).slice(2)+ ++u;e=e.replace(/:scope/g,"#"+r),n||t.setAttribute("id",r),i=t.parentNode.querySelectorAll(e),n||t.removeAttribute("id")}else i=t.querySelectorAll(e);return[].slice.call(i)}let h=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE||!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";let i=[].filter.call(e.parentNode.childNodes,t=>t.nodeName===e.nodeName);return h(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(i.length>1?"["+((0,o.toArray)(i).indexOf(e)+1)+"]":"")},f=e=>("container"in e&&(e=e.container),d("[ref],[data-ref]",e).reduce((e,t)=>{let i=(0,l.attr)(t,"-ref");return i&&(0,s.isString)(i)&&(e[(0,a.camelCase)(i)]=t,e[i]=t),e},{})),p=e=>{if(!r.Dom.isElement(e))return null;let t=[],i=e;for(;i&&i.nodeType===Node.ELEMENT_NODE;){let e=i.nodeName.toLowerCase();if(i.id){e+="#"+i.id,t.unshift(e);break}{let t=i,n=1;do(t=t.previousElementSibling)&&t.nodeName.toLowerCase()===e&&n++;while(t);e+=":nth-of-type("+n+")"}t.unshift(e),i=i.parentNode}return t.join(" > ")};function m(e,t){let i=e;if((0,s.isString)(e))try{i=t.querySelector(e)}catch(t){throw(0,c.error)('String "'+e+'" should be valid HTML selector')}if(!i||"object"!=typeof i||!r.Dom.isElement(i)||!i.cloneNode)throw(0,c.error)('Element "'+e+'" should be string or HTMLElement instance');return i}},3703:function(e,t,i){i.d(t,{set:function(){return a}});var n=i(68345),r=i(29807),o=i(72430),s=i(70799);function a(e,t,i){if(!(0,s.isString)(e)||!e.length)return;let a=e.split("."),l=i,c=a[0];for(let e=0;e<a.length-1;e+=1)c=a[e],(0,n.isArray)(l[c])||(0,o.isPlainObject)(l[c])||(l[c]=(0,r.isNumeric)(a[e+1])?[]:{}),l=l[c];l&&(l[a[a.length-1]]=t)}},50535:function(e,t,i){i.d(t,{LimitedStack:function(){return n}});class n{push(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(e){return this.stack.find(e)}constructor(e){this.limit=e,this.stack=[]}}},37790:function(e,t,i){i.d(t,{call:function(){return a},callPromise:function(){return u},callThis:function(){return l},getDataTransfer:function(){return p},getPropertyDescriptor:function(){return m},keys:function(){return h},loadImage:function(){return d},markOwner:function(){return c},memorizeExec:function(){return f}});var n=i(14773),r=i(86068),o=i(29960),s=i(86583);function a(e,...t){return e(...t)}function l(e,t,...i){return e.apply(t,i)}function c(e,t){(0,o.attr)(t,"data-editor_id",e.id),t.component||Object.defineProperty(t,"jodit",{value:e})}function u(e,t){return(0,n.isPromise)(e)?e.then(e=>e,()=>null).finally(t):null==t?void 0:t()}let d=(e,t)=>t.async.promise((i,n)=>{let r=new Image,o=()=>{t.e.off(r),null==n||n()},s=()=>{t.e.off(r),i(r)};t.e.one(r,"load",s).one(r,"error",o).one(r,"abort",o),r.src=e,r.complete&&s()}),h=(e,t=!0)=>{if(t)return Object.keys(e);let i=[];for(let t in e)i.push(t);return i},f=(e,t,{control:i},n)=>{var o;let a=`button${i.command}`,l=null!=(o=i.args&&i.args[0])?o:(0,s.dataBind)(e,a);if((0,r.isVoid)(l))return!1;(0,s.dataBind)(e,a,l),n&&(l=n(l)),e.execCommand(i.command,!1,null!=l?l:void 0)},p=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}};function m(e,t){let i;do i=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e);while(!i&&e);return i}},31359:function(e,t,i){i.d(t,{init:function(){return s}});var n=i(82758),r=i(60132),o=i(14041);function s(e,t,i,s,a,l,c){if((0,r.isInitable)(s))try{s.init(e)}catch(e){if(!n.IS_PROD)throw e}a.set(t,s),l.delete(t),s.hasStyle&&(0,o.loadStyle)(e,t).catch(e=>{n.IS_PROD}),s.styles&&(c(e,t,"style").innerHTML=s.styles)}},14041:function(e,t,i){i.d(t,{loadExtras:function(){return d},loadStyle:function(){return c}});var n=i(82758),r=i(12475),o=i(63799),s=i(89672);function a(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}let l=new Set;function c(e,t){var i;return(i=function*(){let i=u(e,t,!1);if(!l.has(i))return l.add(i),(0,o.appendStyleAsync)(e,i)},function(){var e=this,t=arguments;return new Promise(function(n,r){var o=i.apply(e,t);function s(e){a(o,n,r,s,l,"next",e)}function l(e){a(o,n,r,s,l,"throw",e)}s(void 0)})})()}function u(e,t,i){t=(0,r.kebabCase)(t);let n=e.minified?".min":"";return e.basePath+"plugins/"+t+"/"+t+n+"."+(i?"js":"css")}function d(e,t,i,r){try{let n=i.filter(t=>!e.has((0,s.normalizeName)(t.name)));n.length&&n.map(e=>{let i=e.url||u(t,e.name,!0);return(0,o.appendScriptAsync)(t,i).then(r).catch(()=>null)})}catch(e){if(!n.IS_PROD)throw e}}},48591:function(e,t,i){i.d(t,{makeInstance:function(){return o}});var n=i(82758),r=i(23282);function o(e,t){try{try{return(0,r.isFunction)(t)?new t(e):t}catch(i){if((0,r.isFunction)(t)&&!t.prototype)return t(e)}}catch(e){if(!n.IS_PROD)throw e}return null}},89672:function(e,t,i){i.d(t,{normalizeName:function(){return r}});var n=i(12475);function r(e){return(0,n.kebabCase)(e).toLowerCase()}},50911:function(e,t,i){i.d(t,{Plugin:function(){return n.Plugin}});var n=i(20356);i(41876)},41876:function(e,t,i){i.d(t,{PluginSystem:function(){return f}});var n=i(82758),r=i(57012),o=i(46559),s=i(68345),a=i(60132),l=i(70799),c=i(31359),u=i(14041),d=i(48591),h=i(89672);class f{get size(){return this.__items.size}add(e,t){this.__items.set((0,h.normalizeName)(e),t),r.eventEmitter.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,h.normalizeName)(e))}remove(e){this.__items.delete((0,h.normalizeName)(e))}__getFullPluginsList(e){let t=[];return this.__items.forEach((i,n)=>{(!e||e.has(n))&&t.push([n,i])}),t}__init(e){let{extraList:t,disableList:i,filter:r}={extraList:e.o.extraPlugins.map(e=>(0,l.isString)(e)?{name:e}:e),disableList:new Set((0,o.splitArray)(e.o.disablePlugins).map(h.normalizeName)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null},f=new Map,p={},m=new Set;e.__plugins=p;let g=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(r).forEach(([n,r])=>{if(i.has(n)||f.has(n))return;let o=null==r?void 0:r.requires;if(o&&(0,s.isArray)(o)&&o.length){if(o.some(e=>i.has(e)))return;if(!o.every(e=>f.has(e)))return void m.add(n)}t=!0;let a=(0,d.makeInstance)(e,r);if(!a){f.set(n,null),m.delete(n);return}(0,c.init)(e,n,r,a,f,m,this.opts.getContainer),p[n]=a}),t&&(e.e.fire("updatePlugins"),g())};t&&t.length&&(0,u.loadExtras)(this.__items,e,t,g),g(),e.e.on("beforeDestruct",()=>{Object.keys(p).forEach(t=>{let i=p[t];(0,a.isDestructable)(i)&&i.destruct(e),delete p[t]}),delete e.__plugins}),n.IS_PROD||m.size}wait(e){return new Promise(t=>{if(this.get(e))return t();let i=()=>{t(),r.eventEmitter.off(`plugin:${e}:ready`,i)};r.eventEmitter.on(`plugin:${e}:ready`,i)})}constructor(e){this.opts=e,this.__items=new Map}}},20356:function(e,t,i){i.d(t,{Plugin:function(){return a}});var n=i(91907),r=i(65478),o=i(19306),s=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class a extends n.ViewComponent{className(){return"Plugin"}__afterPluginSystemInit(){let{j:e,buttons:t}=this;t&&(0,o.isJoditObject)(e)&&t.forEach(t=>{e.registerButton(t)})}__afterInit(){this.__inited=!0,this.setStatus(n.STATUSES.ready),this.afterInit(this.jodit)}init(e){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){var e;if(this.isInDestruct)return;let{j:t}=this;if(t.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(n.STATUSES.beforeDestruct),!this.__inited)return super.destruct();(0,o.isJoditObject)(t)&&(null==(e=this.buttons)||e.forEach(e=>{null==t||t.unregisterButton(e)})),this.beforeDestruct(this.j),super.destruct()}constructor(e){super(e),this.buttons=[],this.hasStyle=!1,this.__inited=!1,e.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}}a.requires=[],s([r.autobind],a.prototype,"__afterPluginSystemInit",null),s([r.autobind],a.prototype,"__afterInit",null),s([r.autobind],a.prototype,"__beforeDestruct",null)},54079:function(e,t,i){i.d(t,{Ajax:function(){return d}});var n=i(8884),r=i(82758),o=i(45219),s=i(21537),a=i(89890),l=i(6441);i(57459);var c=i(98582);function u(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}class d{className(){return"Ajax"}__buildParams(e,t){return(0,s.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,s.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,s.isString)(e)||e instanceof r.globalWindow.FormData||"object"==typeof e&&null!=e&&(0,s.isFunction)(e.append)?e:(0,s.buildQuery)(e)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(e){}return this}send(){this.__activated=!0;let{xhr:e,o:t}=this,i=this.prepareRequest();return this.__async.promise((n,r)=>{var o;return(o=function*(){var o;let l=()=>{this.__isFulfilled=!0,r(a.connection("Connection error"))},u=()=>{this.__isFulfilled=!0,n(new c.Response(i,e.status,e.statusText,!e.responseType?e.responseText:e.response))};e.onload=u,e.onabort=()=>{this.__isFulfilled=!0,r(a.abort("Abort connection"))},e.onerror=l,e.ontimeout=l,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{var t,i;let n=0;e.lengthComputable&&(n=e.loaded/e.total*100),null==(i=(t=this.options).onProgress)||i.call(t,n)},e.onreadystatechange=()=>{var i,n;null==(n=(i=this.options).onProgress)||n.call(i,10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?u():e.statusText&&(this.__isFulfilled=!0,r(a.connection(e.statusText))))},e.withCredentials=null!=(o=t.withCredentials)&&o;let{url:d,data:h,method:f}=i;e.open(f,d,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:p}=t;(0,s.isFunction)(p)&&(p=yield p.call(this)),p&&e.setRequestHeader&&Object.keys(p).forEach(t=>{e.setRequestHeader(t,p[t])}),this.__async.setTimeout(()=>{e.send(h?this.__buildParams(h):void 0)},0)},function(){var e=this,t=arguments;return new Promise(function(i,n){var r=o.apply(e,t);function s(e){u(r,i,n,s,a,"next",e)}function a(e){u(r,i,n,s,a,"throw",e)}s(void 0)})}).call(this)})}prepareRequest(){if(!this.o.url)throw a.error("Need URL for AJAX request");let e=this.o.url,t=this.o.data,i=(this.o.method||"get").toLowerCase();if("get"===i&&t&&(0,s.isPlainObject)(t)){let i=e.indexOf("?");if(-1!==i){let n=(0,s.parseQuery)(e);e=e.substring(0,i)+"?"+(0,s.buildQuery)(function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},n,t))}else e+="?"+(0,s.buildQuery)(this.o.data)}let n={url:e,method:i,data:t};return d.log.splice(100),d.log.push(n),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(e,t=l.Config.prototype.defaultAjaxOptions){this.__async=new n.Async,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,s.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}d.log=[],function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);o>3&&s&&Object.defineProperty(t,i,s)}([o.autobind],d.prototype,"destruct",null)},57459:function(e,t,i){i(6441).Config.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr(){return new XMLHttpRequest}}},41601:function(e,t,i){i.d(t,{Ajax:function(){return n.Ajax},Response:function(){return r.Response}});var n=i(54079),r=i(98582)},98582:function(e,t,i){function n(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}function r(e){return function(){var t=this,i=arguments;return new Promise(function(r,o){var s=e.apply(t,i);function a(e){n(s,r,o,a,l,"next",e)}function l(e){n(s,r,o,a,l,"throw",e)}a(void 0)})}}i.d(t,{Response:function(){return o}});class o{get url(){return this.request.url}json(){return r(function*(){return JSON.parse(this.body)}).call(this)}text(){return Promise.resolve(this.body)}blob(){return r(function*(){return this.body}).call(this)}constructor(e,t,i,n){this.request=e,this.status=t,this.statusText=i,this.body=n}}},45124:function(e,t,i){i.d(t,{cursorInTheEdgeOfString:function(){return s},findCorrectCurrentNode:function(){return a},moveNodeInsideStart:function(){return o.moveNodeInsideStart}});var n=i(82758),r=i(2748),o=i(26716);function s(e,t,i,r){var o;let s=(null==(o=e.nodeValue)?void 0:o.length)?e.nodeValue:"";if(r&&s.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").length>t)return!0;let a=(0,n.INVISIBLE_SPACE_REG_EXP_START)().exec(s);return i&&(a&&a[0].length<t||!a&&t>0)}function a(e,t,i,n,o,s){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],i=!0),e&&n&&!r.Dom.isText(e)){if(!i&&r.Dom.isText(e.previousSibling))e=e.previousSibling;else if(o){let t=s(e);for(;t;){if(t&&r.Dom.isText(t)){e=t;break}t=s(t)}}}if(e&&!n&&!r.Dom.isText(e)){let t=e,i=e;do t=t.firstChild,i=i.lastChild;while(t&&i&&!r.Dom.isText(t));t===i&&t&&r.Dom.isText(t)&&(e=t)}return{node:e,rightMode:i}}i(43463)},26716:function(e,t,i){i.d(t,{moveNodeInsideStart:function(){return o}});var n=i(82758),r=i(2748);function o(e,t,i){let o=r.Dom.findSibling(t,i),s=r.Dom.findSibling(t,!i);for(;r.Dom.isElement(o)&&!r.Dom.isTag(o,n.INSEPARABLE_TAGS)&&r.Dom.isContentEditable(o,e.editor)&&(!s||!r.Dom.closest(t,r.Dom.isElement,e.editor));)i||!o.firstChild?o.appendChild(t):r.Dom.before(o.firstChild,t),o=r.Dom.sibling(t,i),s=r.Dom.sibling(t,!i)}},43463:function(e,t,i){i.d(t,{moveTheNodeAlongTheEdgeOutward:function(){return r}});var n=i(2748);function r(e,t,i){let r=e;for(;r&&r!==i&&!(n.Dom.findSibling(r,t)||n.Dom.isBlock(r.parentElement));)(r=r.parentElement)&&r!==i&&(t?n.Dom.before(r,e):n.Dom.after(r,e))}},59242:function(e,t,i){i.d(t,{CHANGE:function(){return o.CHANGE},CommitStyle:function(){return r.CommitStyle},REPLACE:function(){return o.REPLACE},Selection:function(){return n.Selection},UNWRAP:function(){return o.UNWRAP},WRAP:function(){return o.WRAP}});var n=i(79348),r=i(25639),o=i(77361)},79348:function(e,t,i){i.d(t,{Selection:function(){return f}});var n=i(82758),r=i(65478),o=i(2748),s=i(21537),a=i(27613),l=i(38837),c=i(43463),u=i(25639),d=i(45124),h=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class f{get j(){return this.jodit}errorNode(e){if(!o.Dom.isNode(e))throw(0,s.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,a.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:e}=this,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!o.Dom.isOrContains(this.area,t.startContainer))}createRange(e=!1){let t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){let e=this.sel,t=this.current();if(e&&t)for(let t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){var e,t;(null==(e=this.sel)?void 0:e.rangeCount)&&(null==(t=this.sel)||t.removeAllRanges())}removeNode(e){if(!o.Dom.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");o.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{let i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let n=this.doc.caretPositionFromPoint(e,t);if(n)return i.setStart(n.offsetNode,n.offset)}if(this.doc.caretRangeFromPoint){let n=this.doc.caretRangeFromPoint(e,t);(0,l.assert)(n,"Incorrect caretRangeFromPoint behaviour"),i.setStart(n.startContainer,n.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch(e){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,s.$$)("span[data-"+n.MARKER_CLASS+"]",this.area)}removeMarkers(){o.Dom.safeRemove.apply(null,this.markers)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange()).collapse(e);let r=this.j.createInside.span();return r.id=n.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),r.style.lineHeight="0",r.style.display="none",o.Dom.markTemporary(r),(0,s.attr)(r,"data-"+n.MARKER_CLASS,e?"start":"end"),r.appendChild(this.j.createInside.text(n.INVISIBLE_SPACE)),i&&o.Dom.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(r),r}restore(){let e=!1,t=e=>`span[data-${n.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),r=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),r)e.setStartAfter(i),o.Dom.safeRemove(i),e.setEndBefore(r),o.Dom.safeRemove(r);else{let t=i.previousSibling;o.Dom.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),o.Dom.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){let e=this.sel;if(!e||!e.rangeCount)return[];let t=e.getRangeAt(0);(0,l.assert)(t,"Range is null");let i=t.cloneRange();i.collapse(!0);let n=this.j.createInside.fake();o.Dom.safeInsertNode(i,n),t.setStartBefore(n);let r=[n];if(!t.collapsed){let e=t.cloneRange();e.collapse(!1);let i=this.j.createInside.fake();o.Dom.safeInsertNode(e,i),t.setEndAfter(i),r.push(i)}return this.selectRange(t),r}restoreFakes(e){var t,i,n,r;let s=e.filter(e=>e.isConnected);if(!s.length)return;let[a,l]=s,c=this.createRange();c.setStartAfter(a),l&&c.setEndBefore(l),this.selectRange(c),(null==(t=a.parentNode)?void 0:t.firstChild)!==(null==(i=a.parentNode)?void 0:i.lastChild)&&o.Dom.safeRemove(a),(null==(n=null==l?void 0:l.parentNode)?void 0:n.firstChild)!==(null==(r=null==l?void 0:l.parentNode)?void 0:r.lastChild)&&o.Dom.safeRemove(l)}save(e=!1){if(this.hasMarkers)return[];let t=this.sel;if(!t||!t.rangeCount)return[];let i=[],n=t.rangeCount,r=[];for(let e=0;n>e;e+=1)if(r[e]=t.getRangeAt(e),r[e].collapsed){let t=this.marker(!0,r[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{let t=this.marker(!0,r[e]),n=this.marker(!1,r[e]);i[e]={startId:t.id,endId:n.id,collapsed:!1,startMarker:t.outerHTML,endMarker:n.outerHTML}}if(!e){t.removeAllRanges();for(let e=n-1;e>=0;--e){let n=this.doc.getElementById(i[e].startId);if(n){if(i[e].collapsed)r[e].setStartAfter(n),r[e].collapse(!0);else if(r[e].setStartBefore(n),i[e].endId){let t=this.doc.getElementById(i[e].endId);t&&r[e].setEndAfter(t)}try{t.addRange(r[e].cloneRange())}catch(e){}}}}return i}focus(e={preventScroll:!0}){var t,i;if(!this.isFocused()){let n=(0,s.getScrollParent)(this.j.container),r=null==n?void 0:n.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),r&&(null==n?void 0:n.scrollTo)&&n.scrollTo(0,r);let a=this.sel,l=(null==a?void 0:a.rangeCount)?null==a?void 0:a.getRangeAt(0):null;if(!l||!o.Dom.isOrContains(this.area,l.startContainer)){let e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||null==(i=null==(t=this.j)?void 0:t.events)||i.fire("focus"),!0}return!1}isCollapsed(){let e=this.sel;for(let t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==n.MODE_WYSIWYG)return null;let t=this.sel;if(!t||0===t.rangeCount)return null;let i=t.getRangeAt(0),r=i.startContainer,s=!1;if(o.Dom.isTag(r,"br")&&t.isCollapsed)return r;if(!o.Dom.isText(r)){let n=(0,d.findCorrectCurrentNode)(r,i,s,t.isCollapsed,e,e=>s?e.lastChild:e.firstChild);r=n.node,s=n.rightMode}return r&&o.Dom.isOrContains(this.area,r)?r:null}insertNode(e,t=!0,i=!0){this.errorNode(e);let n=o.Dom.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let r=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),r&&r.rangeCount){let t=r.getRangeAt(0),{firstChild:i}=e;o.Dom.isOrContains(this.area,t.commonAncestorContainer)?o.Dom.safeInsertNode(t,e):this.area.appendChild(e),[()=>null==i?void 0:i.previousSibling,()=>null==i?void 0:i.previousSibling,()=>{var e;return null==(e=null==i?void 0:i.previousSibling)?void 0:e.lastChild}].forEach(e=>{let t=e();t&&o.Dom.isEmptyTextNode(t)&&o.Dom.safeRemove(t)})}else this.area.appendChild(e);let i=e=>{if(o.Dom.isBlock(e)){let t=e.lastChild;if(t)return i(t)}this.setCursorAfter(e)};t&&(o.Dom.isFragment(e)?n&&i(n):i(e)),this.j.o.scrollToPastedContent&&(0,s.scrollIntoViewIfNeeded)(null!=n?n:e,this.j.editor,this.doc)}),i&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",o.Dom.isFragment(e)?n:e)}insertHTML(e,t=!0){if(""===e)return;let i=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),o.Dom.isNode(e)?i.appendChild(e):i.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",i.innerHTML))&&i.lastChild){for(;i.firstChild;)i.firstChild,n.appendChild(i.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,i=null){let n=(0,a.isString)(e)?this.j.createInside.element("img"):e;if((0,a.isString)(e)&&n.setAttribute("src",e),null!=i){let e=i.toString();e&&"auto"!==e&&0>String(e).indexOf("px")&&0>String(e).indexOf("%")&&(e+="px"),(0,s.attr)(n,"width",e)}t&&"object"==typeof t&&(0,s.css)(n,t);let r=()=>{(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",r)};this.j.e.on(n,"load",r),n.complete&&r(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}eachSelection(e){var t;let i=this.sel;if(!i||!i.rangeCount)return;let r=i.getRangeAt(0),l=r.commonAncestorContainer;o.Dom.isHTMLElement(l)||(l=l.parentElement);let c=[],u=r.startOffset,d=l.childNodes.length,h=r.startContainer===this.area?l.childNodes[u<d?u:d-1]:r.startContainer,f=r.endContainer===this.area?l.childNodes[r.endOffset-1]:r.endContainer;o.Dom.isText(h)&&h===r.startContainer&&r.startOffset===(null==(t=h.nodeValue)?void 0:t.length)&&h.nextSibling&&(h=h.nextSibling),o.Dom.isText(f)&&f===r.endContainer&&0===r.endOffset&&f.previousSibling&&(f=f.previousSibling);let p=e=>{!e||e===l||o.Dom.isEmptyTextNode(e)||(0,a.isMarker)(e)||c.push(e)};p(h),h!==f&&o.Dom.isOrContains(l,h,!0)&&o.Dom.find(h,e=>(p(e),e===f||e&&e.contains&&e.contains(f)),l,!0,!1);let m=t=>{if(o.Dom.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(t.childNodes).forEach(m);if(o.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{let e=this.j.createInside.text(n.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===c.length&&(o.Dom.isEmptyTextNode(h)&&c.push(h),h.firstChild&&c.push(h.firstChild)),c.forEach(m)}cursorInTheEdge(e,t,i=null){var n;let r=!e,a=null==(n=this.sel)?void 0:n.getRangeAt(0);if(null!=i||(i=this.current(!1)),!a||!i||!o.Dom.isOrContains(t,i,!0))return null;let l=e?a.startContainer:a.endContainer,c=e?a.startOffset:a.endOffset,u=e=>!!(e&&!o.Dom.isTag(e,"br")&&!o.Dom.isEmptyTextNode(e)&&!o.Dom.isTemporary(e)&&!(o.Dom.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(o.Dom.isText(l)){if((0,d.cursorInTheEdgeOfString)(l,c,e,r))return!1}else{let e=(0,s.toArray)(l.childNodes);if(r){if(e.slice(c).some(u))return!1}else if(e.slice(0,c).some(u))return!1}let h=i;for(;h&&h!==t;){let t=o.Dom.sibling(h,e);if(!t){h=h.parentNode;continue}if((h=t)&&u(h))return!1}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){var i,n;if(this.errorNode(e),!o.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let r=this.createRange(),a=null;return o.Dom.isText(e)?t?r.setStart(e,0):r.setEnd(e,null!=(n=null==(i=e.nodeValue)?void 0:i.length)?n:0):(a=this.j.createInside.fake(),t?r.setStartBefore(e):r.setEndAfter(e),r.collapse(t),o.Dom.safeInsertNode(r,a),r.selectNode(a)),r.collapse(t),this.selectRange(r),a}setCursorIn(e,t=!1){if(this.errorNode(e),!o.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let i=this.createRange(),r=e,a=e;do{if(o.Dom.isText(r)||o.Dom.isTag(r,n.INSEPARABLE_TAGS))break;a=r,r=t?r.firstChild:r.lastChild}while(r);if(!r){let e=this.j.createInside.text(n.INVISIBLE_SPACE);o.Dom.isTag(a,n.INSEPARABLE_TAGS)?r=a:(a.appendChild(e),a=e)}let l=r||a;return o.Dom.isTag(l,n.INSEPARABLE_TAGS)?t||o.Dom.isTag(l,"br")?i.setStartBefore(l):i.setEndAfter(l):i.selectNodeContents(l),i.collapse(t),this.selectRange(i),a}selectRange(e,t=!0){let i=this.sel;return t&&!this.isFocused()&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!o.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let i=this.createRange();return i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){let e=this.sel;if(e&&e.rangeCount>0){let t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){let t=this.jodit.createInside.element("font",n.INVISIBLE_SPACE);this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,o.Dom.unwrap(t);return}for(let e of((0,s.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,s.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,s.$$)("*[data-font-size]",this.area).forEach(e=>{let t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))}),(0,s.$$)('font[size="7"]',this.area))){let{firstChild:t,lastChild:i}=e;if(t&&t===i&&(0,a.isMarker)(t)){o.Dom.unwrap(e);continue}t&&(0,a.isMarker)(t)&&o.Dom.before(e,t),i&&(0,a.isMarker)(i)&&o.Dom.after(e,i),yield e,o.Dom.unwrap(e)}}wrapInTag(e){let t=[];for(let i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&(0,a.isMarker)(i.firstChild))continue;(0,a.isFunction)(e)?e(i):t.push(o.Dom.replace(i,e,this.j.createInside))}finally{let e=i.parentNode;e&&(o.Dom.unwrap(i),o.Dom.isEmpty(e)&&o.Dom.unwrap(e))}return t}commitStyle(e){(0,l.assert)((0,s.size)(e)>0,"Need to pass at least one option"),new u.CommitStyle(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;let i=this.createRange(),r=this.range;i.setStartBefore(e);let s=this.cursorOnTheRight(e,t),a=this.cursorOnTheLeft(e,t),c=this.j.createInside.element("br"),u=this.j.createInside.fake(),d=u.cloneNode();try{if(s||a){t?o.Dom.before(t,c):o.Dom.safeInsertNode(r,c);let e=(e,t)=>{let i=t(e);for(;i;){let e=t(i);if(i&&(o.Dom.isTag(i,"br")||o.Dom.isEmptyTextNode(i)))o.Dom.safeRemove(i);else break;i=e}};e(c,e=>e.nextSibling),e(c,e=>e.previousSibling),o.Dom.after(c,d),o.Dom.before(c,u),s?(i.setEndBefore(c),r.setEndBefore(c)):(i.setEndAfter(c),r.setEndAfter(c))}else i.setEnd(r.startContainer,r.startOffset);let h=i.extractContents(),f=e=>o.Dom.each(e,e=>o.Dom.isEmptyTextNode(e)&&o.Dom.safeRemove(e));(0,l.assert)(e.parentNode,"Splitting fails");try{if(f(h),f(e),e.parentNode.insertBefore(h,e),!t&&s&&(null==c?void 0:c.parentNode)){let e=this.createRange();e.setStartBefore(c),this.selectRange(e)}}catch(e){if(!n.IS_PROD)throw e}let p=e=>{var t,i,n;(null==(t=null==e?void 0:e.parentNode)?void 0:t.firstChild)===(null==(i=null==e?void 0:e.parentNode)?void 0:i.lastChild)&&(null==(n=null==e?void 0:e.parentNode)||n.appendChild(c.cloneNode()))};p(u),p(d)}finally{o.Dom.safeRemove(u),o.Dom.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:e}=this,t=e.cloneRange();if(!o.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;let i=t=>{let i=this.j.createInside.fake(),n=e.cloneRange();return n.collapse(t),o.Dom.safeInsertNode(n,i),(0,c.moveTheNodeAlongTheEdgeOutward)(i,t,this.j.editor),i},n=i(!0),r=i(!1);t.setStartAfter(n),t.setEndBefore(r);let a=o.Dom.findSibling(n,!1),l=o.Dom.findSibling(r,!0);if(a!==l){let e=o.Dom.isElement(a)&&o.Dom.isOrContains(a,r),i=!e&&o.Dom.isElement(l)&&o.Dom.isOrContains(l,n);if(e||i){let i=e?a:l,s=i;for(;o.Dom.isElement(i);)(i=e?i.firstElementChild:i.lastElementChild)&&(e?o.Dom.isOrContains(i,r):o.Dom.isOrContains(i,n))&&(s=i);e?t.setStart(s,0):t.setEnd(s,s.childNodes.length)}}if(this.selectRange(t),o.Dom.safeRemove(n,r),this.isCollapsed())throw(0,s.error)("Selection is collapsed");return this}constructor(e){this.jodit=e,e.e.on("removeMarkers",()=>{this.removeMarkers()})}}h([r.autobind],f.prototype,"createRange",null),h([r.autobind],f.prototype,"focus",null),h([r.autobind],f.prototype,"setCursorAfter",null),h([r.autobind],f.prototype,"setCursorBefore",null),h([r.autobind],f.prototype,"setCursorIn",null)},32526:function(e,t,i){i.d(t,{extractSelectedPart:function(){return a}});var n=i(2748),r=i(78116),o=i(49055),s=i(37790);function a(e,t,i){let n=i.s.createRange(),o=(0,r.isMarker)(t.previousSibling)?t.previousSibling:t;n.setStartBefore(e),n.setEndBefore(o),l(e,n,!0);let s=(0,r.isMarker)(t.nextSibling)?t.nextSibling:t;n.setStartAfter(s),n.setEndAfter(e),l(e,n,!1)}function l(e,t,i){let r=t.extractContents();r.textContent&&(0,o.trim)(r.textContent).length||!r.firstChild||n.Dom.unwrap(r.firstChild),e.parentNode&&(0,s.call)(i?n.Dom.before:n.Dom.after,e,r)}},49996:function(e,t,i){i.d(t,{FiniteStateMachine:function(){return s}});var n=i(82758),r=i(70799),o=i(38837);class s{setState(e){(0,o.assert)(!this.__previewsStates.has(e),"Circled states"),this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(e,t){let i=this.transitions[this.getState()][e];if(i){let e=i.call(this,t);return(0,o.assert)(e&&e!==t,"Action should return new value"),(0,o.assert)((0,r.isString)(e.next),"Value should contain the next state"),(0,o.assert)(e.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(e.next),n.IS_PROD||this.silent,e}throw Error(`invalid action: ${this.getState()}.${e.toString()}`)}constructor(e,t){this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}}},23738:function(e,t,i){i.d(t,{getSuitChild:function(){return s}});var n=i(2748),r=i(29136),o=i(97380);function s(e,t){let{firstChild:i}=t;for(;i&&!(0,r.isNormalNode)(i);)if(!(i=i.nextSibling))return null;return i&&!n.Dom.next(i,r.isNormalNode,t)&&(0,o.isSuitElement)(e,i,!1)?i:null}},44602:function(e,t,i){i.d(t,{getSuitParent:function(){return function e(t,i,s){let{parentNode:a}=i;return a===s||!n.Dom.isHTMLElement(a)||n.Dom.next(i,r.isNormalNode,a)||n.Dom.prev(i,r.isNormalNode,a)?null:t.isElementCommit&&t.elementIsBlock&&!n.Dom.isBlock(a)?e(t,a,s):(0,o.isSuitElement)(t,a,!1)&&(!n.Dom.isBlock(a)||t.elementIsBlock)?a:t.isElementCommit&&!n.Dom.isBlock(a)?e(t,a,s):null}}});var n=i(2748),r=i(29136),o=i(97380)},22030:function(e,t,i){i.d(t,{hasSameStyle:function(){return c},hasSameStyleKeys:function(){return u}});var n=i(82758),r=i(2748),o=i(86068),s=i(3760),a=i(38837),l=i(41180);function c(e,t){return!!(!r.Dom.isTag(e,"font")&&r.Dom.isHTMLElement(e)&&Object.keys(t).every(i=>{let n=(0,l.css)(e,i,!0);return""===n&&(""===t[i]||null==t[i])||!(0,o.isVoid)(n)&&""!==n&&!(0,o.isVoid)(t[i])&&(0,s.normalizeCssValue)(i,t[i]).toString().toLowerCase()===n.toString().toLowerCase()}))}if(n.globalDocument){let e=n.globalDocument.createElement("div");e.style.color="red",(0,a.assert)(c(e,{color:"red"}),"Style test"),(0,a.assert)(c(e,{fontSize:null}),"Style test"),(0,a.assert)(c(e,{fontSize:""}),"Style test")}function u(e,t){return!!(!r.Dom.isTag(e,"font")&&r.Dom.isHTMLElement(e)&&Object.keys(t).every(t=>""!==(0,l.css)(e,t,!0)))}if(n.globalDocument){let e=n.globalDocument.createElement("div");e.style.color="red",(0,a.assert)(u(e,{color:"red"}),"Style test"),(0,a.assert)(!u(e,{font:"Arial",color:"red"}),"Style test"),(0,a.assert)(!u(e,{border:"1px solid #ccc"}),"Style test")}},63687:function(e,t,i){i.d(t,{FiniteStateMachine:function(){return r.FiniteStateMachine},extractSelectedPart:function(){return n.extractSelectedPart},getSuitChild:function(){return o.getSuitChild},getSuitParent:function(){return s.getSuitParent},isInsideInvisibleElement:function(){return a.isInsideInvisibleElement},suitableClosest:function(){return l.suitableClosest},toggleAttributes:function(){return u.toggleAttributes},toggleOrderedList:function(){return c.toggleOrderedList},unwrapChildren:function(){return d.unwrapChildren},wrap:function(){return h.wrap}});var n=i(32526),r=i(49996),o=i(23738),s=i(44602);i(22030);var a=i(64291);i(29136),i(94466);var l=i(97380),c=i(20199);i(82515);var u=i(44253),d=i(75882),h=i(19263);i(6980)},64291:function(e,t,i){i.d(t,{isInsideInvisibleElement:function(){return r}});var n=i(2748);function r(e,t){return!!n.Dom.closest(e,["style","script"],t)}},29136:function(e,t,i){i.d(t,{isNormalNode:function(){return o}});var n=i(2748),r=i(78116);function o(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,r.isMarker)(e))}},94466:function(e,t,i){i.d(t,{elementsEqualAttributes:function(){return l},isSameAttributes:function(){return a}});var n=i(21496),r=i(43555),o=i(38837),s=i(22030);function a(e,t){return!((e.attributes.length||(0,n.size)(t))&&(0,n.size)(t))||((0,o.assert)(t,"Attrs must be a non-empty object"),Object.keys(t).every(i=>"class"===i||"className"===i?e.classList.contains(t[i]):"style"===i?(0,s.hasSameStyle)(e,t[i]):(0,r.attr)(e,i)===t[i]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},97380:function(e,t,i){i.d(t,{isSameStyleChild:function(){return l},isSuitElement:function(){return s},suitableClosest:function(){return a}});var n=i(2748),r=i(22030),o=i(29136);function s(e,t,i,a=!0){var l;if(!t||!(0,o.isNormalNode)(t))return!1;let{element:c,elementIsDefault:u,options:d}=e;if(n.Dom.isList(t)&&e.elementIsList)return!0;let h=n.Dom.isTag(t,c);return!!(h&&!(u&&i)||(null==(l=d.attributes)?void 0:l.style)&&(a?(0,r.hasSameStyle)(t,d.attributes.style):(0,r.hasSameStyleKeys)(t,d.attributes.style))&&!e.elementIsList)||!h&&!i&&u&&n.Dom.isInlineBlock(t)}function a(e,t,i){return n.Dom.closest(t,t=>s(e,t,!0,!1),i)}function l(e,t){var i,n;let{element:s,options:a}=e;if(!t||!(0,o.isNormalNode)(t))return!1;let l=t.nodeName.toLowerCase()===s,c=!!((null==(i=a.attributes)?void 0:i.style)&&(0,r.hasSameStyleKeys)(t,null==(n=a.attributes)?void 0:n.style));return l&&c}},20199:function(e,t,i){i.d(t,{toggleOrderedList:function(){return c}});var n=i(2748),r=i(38837),o=i(32526),s=i(44253),a=i(77361),l=i(82515);function c(e,t,i,n){if(!t)return n;let r=t.parentElement;if(!r)return n;let o=i.e.fire(`${a._PREFIX}BeforeToggleList`,n,e,r);if(void 0!==o)return o;let c=i.e.fire.bind(i.e,`${a._PREFIX}AfterToggleList`);if(n!==a.UNWRAP){let o=(0,s.toggleAttributes)(e,t.parentElement,i,a.INITIAL,!0)===a.CHANGE;if(n===a.REPLACE||o||r.tagName.toLowerCase()!==e.element){let n=u(a.REPLACE,r,t,i,e),o=(0,l.wrapList)(e,n,i);return c(a.REPLACE,o,e),a.REPLACE}}let d=u(a.UNWRAP,r,t,i,e);return c(a.UNWRAP,d,e),a.UNWRAP}function u(e,t,i,s,l){let c=s.e.fire(`${a._PREFIX}BeforeUnwrapList`,e,t,l);return c?((0,r.assert)(n.Dom.isHTMLElement(c),`${a._PREFIX}BeforeUnwrapList hook must return HTMLElement`),c):((0,o.extractSelectedPart)(t,i,s),(0,r.assert)(n.Dom.isHTMLElement(i.parentElement),"Element should be inside the list"),n.Dom.unwrap(i.parentElement),n.Dom.replace(i,"br"!==s.o.enter.toLowerCase()?s.o.enter:s.createInside.fragment(),s.createInside))}},82515:function(e,t,i){i.d(t,{wrapList:function(){return a}});var n=i(2748),r=i(94466),o=i(44253),s=i(77361);function a(e,t,i){let a=i.e.fire(`${s._PREFIX}BeforeWrapList`,s.REPLACE,t,e),l=null!=a?a:n.Dom.replace(t,"li",i.createInside),c=l.previousElementSibling,u=l.nextElementSibling,d=n.Dom.isTag(c,e.element)?c:null;return null!=d||(d=n.Dom.isTag(u,e.element)?u:null),n.Dom.isList(d)&&(0,r.isSameAttributes)(d,e.options.attributes)||(d=i.createInside.element(e.element),(0,o.toggleAttributes)(e,d,i,s.INITIAL),n.Dom.before(l,d)),c===d?n.Dom.append(d,l):n.Dom.prepend(d,l),n.Dom.isTag(d.nextElementSibling,e.element)&&(0,r.elementsEqualAttributes)(d,d.nextElementSibling)&&(n.Dom.append(d,Array.from(d.nextElementSibling.childNodes)),n.Dom.safeRemove(d.nextElementSibling)),i.e.fire(`${s._PREFIX}AfterWrapList`,s.WRAP,d,e),d}},44253:function(e,t,i){i.d(t,{toggleAttributes:function(){return m}});var n=i(82758),r=i(2748),o=i(580),s=i(27613),a=i(3760),l=i(21496),c=i(12475),u=i(43555),d=i(41180),h=i(86583),f=i(77361);let p="toggleAttributes";function m(e,t,i,v,b=!1){if(!b&&e.isApplied(t,p))return v;b||e.setApplied(t,p);let{attributes:y}=e.options;return y&&(0,l.size)(y)>0&&Object.keys(y).forEach(p=>{var m,w,S;let _=y[p];switch(p){case"style":m=v,(0,u.assert)((0,s.isPlainObject)(_)&&(0,l.size)(_),"Style must be an object"),Object.keys(_).forEach(s=>{let l=t.style.getPropertyValue((0,c.kebabCase)(s)),u=_[s];if(""!==l||null!=u){let c,p;if((c=i.create.element(t.tagName.toLowerCase())).style.cssText=t.style.cssText,(function(e){var t;if(void 0!==(0,h.dataBind)(e,"shadowRoot"))return(0,h.dataBind)(e,"shadowRoot");let i=(0,o.getContainer)(e),r=n.globalDocument.createElement("iframe");(0,d.css)(r,{width:0,height:0,position:"absolute",border:0}),r.src="about:blank",i.appendChild(r);let s=null==(t=r.contentWindow)?void 0:t.document,a=s?s.body:e.od.body;return(0,h.dataBind)(e,"shadowRoot",a),a})(i).appendChild(c),p=(0,d.css)(c,s),r.Dom.safeRemove(c),p===(0,a.normalizeCssValue)(s,u)){if(!l)return;b||(0,d.css)(t,s,null),m=g(e,t,m=f.UNSET);return}m=f.CHANGE,b||((0,d.css)(t,s,u),m=g(e,t,m))}}),v=m;break;case"className":case"class":let C;w=v,(0,u.assert)((0,s.isString)(_),"Class name must be a string"),C=i.e.fire.bind(i.e,`${f._PREFIX}AfterToggleAttribute`),t.classList.contains(_.toString())?(w=f.UNSET,b||(t.classList.remove(_),0===t.classList.length&&((0,u.attr)(t,"class",null),C(w,t,"class",null)))):(w=f.CHANGE,b||(t.classList.add(_),C(w,t,"class",_))),v=w;break;default:let k;S=v,(0,u.assert)((0,s.isString)(_)||(0,s.isNumber)(_)||(0,s.isBoolean)(_)||null==_,"Attribute value must be a string or number or boolean or null"),k=i.e.fire.bind(i.e,`${f._PREFIX}AfterToggleAttribute`),(0,u.attr)(t,p)===_?(b||(0,u.attr)(t,p,null),S=f.UNSET,b||k(S,t,p,_)):(S=f.CHANGE,b||((0,u.attr)(t,p,_),k(S,t,p,_))),v=S}}),v}function g(e,t,i){return(0,u.attr)(t,"style")||((0,u.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(r.Dom.unwrap(t),i=f.UNWRAP)),i}},75882:function(e,t,i){i.d(t,{unwrapChildren:function(){return a}});var n=i(2748),r=i(43555),o=i(22030),s=i(97380);function a(e,t){var i;let a,l=[],c=[],u=null==(i=e.options.attributes)?void 0:i.style;if(t.firstChild){let i=n.Dom.eachGen(t),d=i.next();for(;!d.done;){let t=d.value;(0,s.isSuitElement)(e,t,!0)&&(!u||(0,o.hasSameStyleKeys)(t,u))?(void 0===a&&(a=!0),l.push(t)):u&&(0,s.isSameStyleChild)(e,t)?(void 0===a&&(a=!1),c.push(()=>{(0,r.css)(t,Object.keys(u).reduce((e,t)=>(e[t]=null,e),{})),(0,r.attr)(t,"style")||(0,r.attr)(t,"style",null),(0,r.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||l.push(t)})):n.Dom.isEmptyTextNode(t)||void 0!==a||(a=!1),d=i.next()}}return c.forEach(e=>e()),l.forEach(n.Dom.unwrap),!!a}},6980:function(e,t,i){i.d(t,{wrapUnwrappedText:function(){return o}});var n=i(2748),r=i(78116);function o(e,t,i){let o=i.editor,s=i.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,r.isMarker)(a)&&!n.Dom.isTag(a,i.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!n.Dom.isBlock(a.parentNode)&&a.parentNode!==o?a.parentNode:null,!n.Dom.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),u=i.s.createRange();u.setStartBefore(l),u.setEndAfter(c);let d=u.extractContents(),h=s.element(e.element);return h.appendChild(d),n.Dom.safeInsertNode(u,h),e.elementIsBlock&&n.Dom.isEmpty(h)&&!n.Dom.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},19263:function(e,t,i){i.d(t,{wrap:function(){return a}});var n=i(22732),r=i(29960),o=i(82515),s=i(6980);function a(e,t,i){var a,c,u;let d=(a=e,c=t,u=i,a.elementIsBlock?n.Dom.up(c,e=>n.Dom.isBlock(e)&&!n.Dom.isTag(e,l),u.editor)||(0,s.wrapUnwrappedText)(a,c,u):((0,r.attr)(c,"size",null),c));return e.elementIsList?(0,o.wrapList)(e,d,i):n.Dom.replace(d,e.element,i.createInside,!0)}let l=new Set(["td","th","tr","tbody","table","li","ul","ol"])},83632:function(e,t,i){i.d(t,{ApplyStyle:function(){return s}});var n=i(63687),r=i(77361),o=i(55307);function s(e,t){var i;let{s:s,editor:a}=e;null==(i=a.firstChild)||i.normalize();let l=s.fakes(),c=e.s.wrapInTagGen(l),u=c.next();if(u.done)return;let d={collapsed:s.isCollapsed(),mode:r.INITIAL,element:u.value,next:o.states.START,jodit:e,style:t};for(;u&&!u.done;){let e=new n.FiniteStateMachine(o.states.START,o.transactions);for(d.element=u.value;e.getState()!==o.states.END;)d=e.dispatch("exec",d);u=c.next()}s.restoreFakes(l)}},25639:function(e,t,i){i.d(t,{CommitStyle:function(){return a}});var n=i(82758),r=i(87058),o=i(77361),s=i(83632);class a{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){var i;let n=null!=(i=this.__applyMap.get(e))?i:{};n[t]=!0,this.__applyMap.set(e,n)}get elementIsList(){return!!(this.options.element&&n.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&n.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,r.camelCase)(o._PREFIX+"_"+i),t[i])}),(0,s.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,r.camelCase)(o._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){this.options=e,this.__applyMap=new WeakMap}}},77361:function(e,t,i){i.d(t,{CHANGE:function(){return o},INITIAL:function(){return a},REPLACE:function(){return l},UNSET:function(){return s},UNWRAP:function(){return r},WRAP:function(){return n},_PREFIX:function(){return c}});let n="wrap",r="unwrap",o="change",s="unset",a="initial",l="replace",c="commitStyle"},55307:function(e,t,i){i.d(t,{states:function(){return u},transactions:function(){return d}});var n=i(82758),r=i(2748),o=i(38837),s=i(63687),a=i(77361);function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}let u={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},d={[u.START]:{exec(e){let{element:t,jodit:i,style:n,mode:o,collapsed:d}=e;if((0,s.isInsideInvisibleElement)(t,i.editor)||!d&&r.Dom.isEmptyContent(t))return c(l({},e),{next:u.END});let h=(0,s.getSuitParent)(n,t,i.editor)||(0,s.getSuitChild)(n,t);if(h)return c(l({},e),{next:u.ELEMENT,element:h});let f=(0,s.suitableClosest)(n,t,i.editor);return n.elementIsList&&r.Dom.isList(f)?c(l({},e),{next:u.LIST}):f?c(l({},e),{next:u.EXTRACT}):c(l({},e),{next:o!==a.UNWRAP?u.UNWRAP_CHILDREN:u.END})}},[u.LIST]:{exec(e){let{element:t,jodit:i,mode:o}=e;if(o!==a.INITIAL&&o!==a.UNWRAP&&o!==a.REPLACE)return c(l({},e),{next:u.END});let s=r.Dom.closest(t,"li",i.editor);return s&&r.Dom.closest(t,n.LIST_TAGS,i.editor)?c(l({},e),{element:s,next:u.TOGGLE_LIST}):c(l({},e),{next:u.END})}},[u.TOGGLE_LIST]:{exec(e){return c(l({},e),{mode:(0,s.toggleOrderedList)(e.style,e.element,e.jodit,e.mode),next:u.END})}},[u.EXTRACT]:{exec(e){var t;let{element:i,jodit:n,style:a}=e,d=(0,s.suitableClosest)(a,i,n.editor);return((0,o.assert)(d,"This place should have an element"),!a.elementIsBlock&&(null==(t=a.options.attributes)?void 0:t.style)&&r.Dom.isBlock(d))?c(l({},e),{next:u.WRAP}):(a.elementIsBlock||(0,s.extractSelectedPart)(d,i,n),c(l({},e),{element:d,next:u.ELEMENT}))}},[u.UNWRAP_CHILDREN]:{exec(e){let{element:t,style:i}=e;return(0,s.unwrapChildren)(i,t)?c(l({},e),{mode:a.UNWRAP,next:u.END}):c(l({},e),{next:u.WRAP})}},[u.WRAP]:{exec(e){let{element:t,jodit:i,style:n}=e,r=(0,s.wrap)(n,t,i);return c(l({},e),{next:n.elementIsList?u.END:u.CHANGE,mode:a.WRAP,element:r})}},[u.ELEMENT]:{exec(e){let{style:t,element:i,jodit:n}=e;return(0,s.toggleAttributes)(t,i,n,a.INITIAL,!0)!==a.INITIAL?c(l({},e),{next:u.CHANGE}):r.Dom.isTag(i,t.element)?c(l({},e),{next:u.UNWRAP}):c(l({},e),{next:u.END})}},[u.CHANGE]:{exec(e){let{style:t,element:i,jodit:n,mode:o}=e,d=(0,s.toggleAttributes)(t,i,n,e.mode);return o!==a.WRAP&&d===a.UNSET&&!i.attributes.length&&r.Dom.isTag(i,t.element)?c(l({},e),{next:u.UNWRAP}):c(l({},e),{mode:d,next:u.END})}},[u.UNWRAP]:{exec(e){return e.element.attributes.length&&r.Dom.isTag(e.element,e.style.element)?c(l({},e),{next:u.REPLACE_DEFAULT}):(r.Dom.unwrap(e.element),c(l({},e),{mode:a.UNWRAP,next:u.END}))}},[u.REPLACE_DEFAULT]:{exec(e){return r.Dom.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),c(l({},e),{mode:a.REPLACE,next:u.END})}},[u.END]:{exec(e){return e}}}},97333:function(e,t,i){i.d(t,{AsyncStorage:function(){return u}});var n=i(87058),r=i(2621),o=i(65638),s=i(21162),a=i(6700);function l(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}function c(e){return function(){var t=this,i=arguments;return new Promise(function(n,r){var o=e.apply(t,i);function s(e){l(o,n,r,s,a,"next",e)}function a(e){l(o,n,r,s,a,"throw",e)}s(void 0)})}}class u{set(e,t){return c(function*(){let i=yield this.provider;return yield i.set((0,n.camelCase)(this.prefix+e),t),this}).call(this)}delete(e){return c(function*(){let t=yield this.provider;return yield t.delete((0,n.camelCase)(this.prefix+e)),this}).call(this)}get(e){return c(function*(){return(yield this.provider).get((0,n.camelCase)(this.prefix+e))}).call(this)}exists(e){return c(function*(){return(yield this.provider).exists((0,n.camelCase)(this.prefix+e))}).call(this)}clear(){return c(function*(){let e=yield this.provider;return yield e.clear(),this}).call(this)}close(){return c(function*(){let e=yield this.provider;"close"in e&&"function"==typeof e.close&&(yield e.close())}).call(this)}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,o.canUsePersistentStorage)(e)&&(i=new o.LocalStorageProvider(a.StorageKey+(t||""),e)):("indexedDB"===e||!0===e)&&(i=(0,r.canUseIndexedDB)().then(e=>e?new r.IndexedDBProvider(a.StorageKey+(t||""),"keyValueStore"):new s.MemoryStorageProvider)),i||(i=new s.MemoryStorageProvider),new u(Promise.resolve(i),t)}constructor(e,t){this.provider=e,this.prefix=a.StorageKey,t&&(this.prefix+=t)}}},2621:function(e,t,i){i.d(t,{IndexedDBProvider:function(){return s},canUseIndexedDB:function(){return c},clearUseIndexedDBCache:function(){return l}});var n=i(82758);function r(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}function o(e){return function(){var t=this,i=arguments;return new Promise(function(n,o){var s=e.apply(t,i);function a(e){r(s,n,o,a,l,"next",e)}function l(e){r(s,n,o,a,l,"throw",e)}a(void 0)})}}class s{getDB(){return this.dbPromise||(this.dbPromise=new Promise((e,t)=>{let i=indexedDB.open(this.dbName,this.DB_VERSION);i.onerror=()=>{t(i.error)},i.onsuccess=()=>{e(i.result)},i.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName)}})),this.dbPromise}performTransaction(e,t){return o(function*(){try{let i=(yield this.getDB()).transaction([this.storeName],e).objectStore(this.storeName),n=t(i);return new Promise((e,t)=>{n.onsuccess=()=>{e(n.result)},n.onerror=()=>{t(n.error)}})}catch(e){return Promise.reject(e)}}).call(this)}set(e,t){return o(function*(){try{yield this.performTransaction("readwrite",i=>i.put(t,e))}catch(e){n.IS_PROD}return this}).call(this)}delete(e){return o(function*(){try{yield this.performTransaction("readwrite",t=>t.delete(e))}catch(e){}return this}).call(this)}get(e){return o(function*(){try{return yield this.performTransaction("readonly",t=>t.get(e))}catch(e){return}}).call(this)}exists(e){return o(function*(){try{let t=yield this.performTransaction("readonly",t=>t.get(e));return void 0!==t}catch(e){return!1}}).call(this)}clear(){return o(function*(){try{yield this.performTransaction("readwrite",e=>e.clear())}catch(e){}return this}).call(this)}close(){return o(function*(){if(this.dbPromise){try{(yield this.dbPromise).close()}catch(e){}this.dbPromise=null}}).call(this)}keys(){return o(function*(){try{let e=yield this.performTransaction("readonly",e=>e.getAllKeys());return e&&"object"==typeof e&&"then"in e&&(e=yield e),e.map(e=>String(e))}catch(e){return[]}}).call(this)}values(){return o(function*(){try{let e=yield this.performTransaction("readonly",e=>e.getAll());return e&&"object"==typeof e&&"then"in e&&(e=yield e),e}catch(e){return[]}}).call(this)}entries(){return o(function*(){try{let[e,t]=yield Promise.all([this.keys(),this.values()]);return e.map((e,i)=>[e,t[i]])}catch(e){return[]}}).call(this)}constructor(e="JoditDB",t="keyValueStore"){this.dbName=e,this.dbPromise=null,this.DB_VERSION=1,this.storeName=t}}let a=null;function l(){a=null}function c(){return o(function*(){if(null!=a)return a;try{if("u"<typeof indexedDB)return a=!1,!1;let e="___Jodit___"+Math.random().toString(),t=indexedDB.open(e);return a=yield new Promise(i=>{t.onerror=()=>{i(!1)},t.onsuccess=()=>{indexedDB.deleteDatabase(e),i(!0)}})}catch(e){return a=!1,!1}})()}},65638:function(e,t,i){i.d(t,{LocalStorageProvider:function(){return r},canUsePersistentStorage:function(){return n}});let n=(e="localStorage")=>{let t=new Map;if(t.has(e))return t.get(e);let i="___Jodit___"+Math.random().toString(),n="sessionStorage"===e?sessionStorage:localStorage;try{n.setItem(i,"1");let r="1"===n.getItem(i);return n.removeItem(i),t.set(e,r),r}catch(e){}return t.set(e,!1),!1};class r{get storage(){return"sessionStorage"===this.strategy?sessionStorage:localStorage}set(e,t){try{let i=this.storage.getItem(this.rootKey),n=i?JSON.parse(i):{};n[e]=t,this.storage.setItem(this.rootKey,JSON.stringify(n))}catch(e){}return this}delete(e){try{this.storage.removeItem(this.rootKey)}catch(e){}return this}get(e){try{let t=this.storage.getItem(this.rootKey),i=t?JSON.parse(t):{};return void 0!==i[e]?i[e]:void 0}catch(e){}}exists(e){return null!=this.get(e)}clear(){try{this.storage.removeItem(this.rootKey)}catch(e){}return this}constructor(e,t="localStorage"){this.rootKey=e,this.strategy=t}}},21162:function(e,t,i){i.d(t,{MemoryStorageProvider:function(){return n}});class n{set(e,t){return this.data.set(e,t),this}delete(e){return this.data.delete(e),this}get(e){return this.data.get(e)}exists(e){return this.data.has(e)}clear(){return this.data.clear(),this}constructor(){this.data=new Map}}},12081:function(e,t,i){i.d(t,{AsyncStorage:function(){return n.AsyncStorage},IndexedDBProvider:function(){return r.IndexedDBProvider},LocalStorageProvider:function(){return o.LocalStorageProvider},MemoryStorageProvider:function(){return s.MemoryStorageProvider},Storage:function(){return a.Storage},StorageKey:function(){return a.StorageKey},canUseIndexedDB:function(){return r.canUseIndexedDB},canUsePersistentStorage:function(){return o.canUsePersistentStorage},clearUseIndexedDBCache:function(){return r.clearUseIndexedDBCache}});var n=i(97333),r=i(2621),o=i(65638),s=i(21162),a=i(6700)},6700:function(e,t,i){i.d(t,{Storage:function(){return a},StorageKey:function(){return s}});var n=i(87058),r=i(65638),o=i(21162);let s="Jodit_";class a{set(e,t){return this.provider.set((0,n.camelCase)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,n.camelCase)(this.prefix+e)),this}get(e){return this.provider.get((0,n.camelCase)(this.prefix+e))}exists(e){return this.provider.exists((0,n.camelCase)(this.prefix+e))}clear(){return this.provider.clear(),this}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,r.canUsePersistentStorage)(e)&&(i=new r.LocalStorageProvider(s+(t||""),e)):!0===e&&(0,r.canUsePersistentStorage)("localStorage")&&(i=new r.LocalStorageProvider(s+(t||""))),i||(i=new o.MemoryStorageProvider),new a(i,t)}constructor(e,t){this.provider=e,this.prefix=s,t&&(this.prefix+=t)}}},70231:function(e,t,i){i.d(t,{Dlgs:function(){return a}});var n=i(580),r=i(27613),o=i(37790),s=i(638);class a{dlg(e){let t=(0,n.getPopupViewRoot)(this.o,this.container,this.od.body),i=new s.Dialog(function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize},e));return(0,o.markOwner)(this,i.container),i.parent=this,i.bindDestruct(this)}confirm(e,t,i){return e=l(e,this),t=l(t,this),s.Confirm.call(this.dlg({closeOnClickOverlay:!0}),e,t,i)}prompt(e,t,i,n,r){return e=l(e,this),t=l(t,this),n=l(n,this),s.Prompt.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n,r)}alert(e,t,i,n){return e=l(e,this),t=l(t,this),s.Alert.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n)}}function l(e,t){return(0,r.isString)(e)&&!(0,r.isHTML)(e)&&(e=t.i18n(e)),e}},14316:function(e,t,i){i.d(t,{Elms:function(){return r}});var n=i(4510);class r{getElm(e){return this.container.querySelector(`.${this.getFullElName(e)}`)}getElms(e){return(0,n.toArray)(this.container.querySelectorAll(`.${this.getFullElName(e)}`))}}},34176:function(e,t,i){i.d(t,{Mods:function(){return r}});var n=i(86068);class r{afterSetMod(e,t){}setMod(e,t,i){e=e.toLowerCase();let r=this.mods[e];if(r===t)return this;let o=`${this.componentName}_${e}_`,s=(i||this.container).classList;return null!=r&&s.remove(`${o}${r.toString().toLowerCase()}`),(0,n.isVoid)(t)||""===t||s.add(`${o}${t.toString().toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){var t;return null!=(t=this.mods[e])?t:null}}},10830:function(e,t,i){i.d(t,{Button:function(){return v},UIButton:function(){return g},UIButtonState:function(){return m}});var n=i(78213),r=i(33433),o=i(87325),s=i(37133),a=i(2748),l=i(23282),c=i(70799),u=i(38837),d=i(29960),h=i(48538),f=i(12153),p=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let m=()=>({size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0}),g=class e extends h.UIElement{className(){return"UIButton"}setState(e){return Object.assign(this.state,e),this}get text(){let e=this.getElm("text");return(0,u.assert)(e,"Text element not found"),e}get icon(){let e=this.getElm("icon");return(0,u.assert)(e,"Icon element not found"),e}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,d.attr)(this.container,"type",this.state.type)}onChangeRole(){(0,d.attr)(this.container,"role",this.state.role)}updateSize(){let e=(0,o.getComponentClass)("UIList"),t=this.closest(e);if(t){this.state.size=t.buttonSize;return}}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text),this.updateAriaLabel()}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,d.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,d.attr)(this.container,"aria-pressed",this.state.activated)}onChangeName(){this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`),this.name=this.state.name,(0,d.attr)(this.container,"data-ref",this.state.name),(0,d.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;this.get("j.o.useNativeTooltip")&&(0,d.attr)(this.container,"title",e),(0,d.attr)(this.container,"aria-label",e),this.updateAriaLabel()}updateAriaLabel(){let e=this.state.text.trim().length>0,t=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,d.attr)(this.container,"aria-label",t),(0,d.attr)(this.button,"aria-label",e?null:t)}onChangeTabIndex(){(0,d.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){let e=this.get("j.o.textIcons");if(!0===e||(0,l.isFunction)(e)&&e(this.state.name))return;a.Dom.detach(this.icon);let t=f.Icon.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}focus(){this.container.focus()}isFocused(){let{activeElement:e}=this.od;return!!(e&&a.Dom.isOrContains(this.container,e))}createContainer(){let e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1}),i=this.j.c.span(e+"__icon"),n=this.j.c.span(e+"__text");return t.appendChild(i),t.appendChild(n),t}destruct(){return this.j.e.off(this),this.j.e.off(this.container),super.destruct()}onAction(e){return this.actionHandlers.push(e),this}__onActionFire(e){e.buffer={actionTrigger:this},this.actionHandlers.forEach(t=>t.call(this,e)),this.j.e.fire(this,"click",e)}constructor(e,t){super(e),this.isButton=!0,this.state=m(),this.actionHandlers=[],this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),t&&this.hookStatus(n.STATUSES.ready,()=>{this.setState(t)})}};function v(e,t,i,n){let r=new g(e);return r.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,c.isString)(t)?(r.state.icon.name=t,r.state.name=t,n&&(r.state.variant=n),i&&(r.state.text=i)):r.setState(t),r}p([r.cache],g.prototype,"text",null),p([r.cache],g.prototype,"icon",null),p([(0,s.watch)("state.size",{immediately:!1})],g.prototype,"onChangeSize",null),p([(0,s.watch)("state.type",{immediately:!1})],g.prototype,"onChangeType",null),p([(0,s.watch)("state.role",{immediately:!1})],g.prototype,"onChangeRole",null),p([(0,s.watch)("parentElement")],g.prototype,"updateSize",null),p([(0,s.watch)("state.variant",{immediately:!1})],g.prototype,"onChangeStatus",null),p([(0,s.watch)("state.text",{immediately:!1})],g.prototype,"onChangeText",null),p([(0,s.watch)("state.text",{immediately:!1})],g.prototype,"onChangeTextSetMode",null),p([(0,s.watch)("state.disabled")],g.prototype,"onChangeDisabled",null),p([(0,s.watch)("state.activated")],g.prototype,"onChangeActivated",null),p([(0,s.watch)("state.name",{immediately:!1})],g.prototype,"onChangeName",null),p([(0,s.watch)("state.tooltip",{immediately:!1})],g.prototype,"onChangeTooltip",null),p([(0,s.watch)("state.tabIndex",{immediately:!1})],g.prototype,"onChangeTabIndex",null),p([(0,s.watch)("state.icon",{immediately:!1})],g.prototype,"onChangeIcon",null),p([r.cacheHTML],g.prototype,"createContainer",null),p([(0,s.watch)("button:click")],g.prototype,"__onActionFire",null),g=p([o.component],g)},71916:function(e,t,i){i.d(t,{UIButtonGroup:function(){return a}});var n=i(87325),r=i(38837),o=i(10830),s=i(62405);let a=class e extends s.UIGroup{className(){return"UIButtonGroup"}render(e){return`<div>
|
|
8
|
+
!function(e,t){if("object"==typeof exports&&"object"==typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var i=t();for(var n in i)("object"==typeof exports?exports:e)[n]=i[n]}}(self,function(){return function(){"use strict";var e,t,i,n,r={6441:function(e,t,i){i.d(t,{Config:function(){return o}});var n=i(82758);let r={};class o{static get defaultOptions(){return o.__defaultOptions||(o.__defaultOptions=new o),o.__defaultOptions}constructor(){this.cache=!0,this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace","size","bold","hotkeys"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument=n.globalDocument,this.ownerWindow=n.globalWindow,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=200,this.useNativeTooltip=!1,this.defaultActionOnPaste=n.INSERT_AS_HTML,this.enter=n.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:n.PARAGRAPH,this.defaultMode=n.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.events={},this.textIcons=!1,this.popupRoot=null,this.showBrowserColorPicker=!0,Object.assign(this,r)}}r=o.prototype,o.prototype.controls={}},26992:function(e,t,i){i.d(t,{Async:function(){return p}});var n=i(82758),r=i(91898),o=i(12045),s=i(23282),a=i(84767),l=i(72430),c=i(14773),u=i(70799),d=i(86068),h=i(38837),f=i(93661);class p{delay(e){return this.promise(t=>this.setTimeout(t,e))}setTimeout(e,t,...i){if(this.isDestructed)return 0;let n={};(0,d.isVoid)(t)&&(t=0),(0,a.isNumber)(t)||(t=(n=t).timeout||0),n.label&&this.clearLabel(n.label);let o=(0,r.setTimeout)(e,t,...i),s=n.label||o;return this.timers.set(s,o),this.__callbacks.set(s,e),o}updateTimeout(e,t){if((0,h.assert)(e&&this.timers.has(e),"Label does not exist"),!e||!this.timers.has(e))return null;let i=this.__callbacks.get(e);return(0,h.assert)((0,s.isFunction)(i),"Callback is not a function"),this.setTimeout(i,{label:e,timeout:t})}clearLabel(e){e&&this.timers.has(e)&&((0,r.clearTimeout)(this.timers.get(e)),this.timers.delete(e),this.__callbacks.delete(e))}clearTimeout(e){if((0,u.isString)(e))return this.clearLabel(e);(0,r.clearTimeout)(e),this.timers.delete(e),this.__callbacks.delete(e)}debounce(e,t,i=!1){let n=0,a=!1,u=[],d=(...t)=>{if(!a){n=0;let i=e(...t);if(a=!0,u.length){let e=()=>{u.forEach(e=>e()),u.length=0};(0,c.isPromise)(i)?i.finally(e):e()}}},h=(...o)=>{a=!1,t?(!n&&i&&d(...o),(0,r.clearTimeout)(n),n=this.setTimeout(()=>d(...o),(0,s.isFunction)(t)?t():t),this.timers.set(e,n)):d(...o)};return(0,l.isPlainObject)(t)&&t.promisify?(...e)=>{let t=this.promise(e=>{u.push(e)}).catch(e=>{if((0,o.isAbortError)(e))return null;throw e});return h(...e),t}:h}microDebounce(e,t=!1){let i,n=!1,r=!0;return(...o)=>{if(i=o,n){r=!0;return}r=!0,t&&(r=!1,e(...i)),n=!0,this.__queueMicrotaskNative(()=>{n=!1,!this.isDestructed&&r&&e(...i)})}}throttle(e,t,i=!1){let n=null,r,o,a;return(...i)=>{(r=!0,a=i,t)?n||(o=()=>{r?(e(...a),r=!1,n=this.setTimeout(o,(0,s.isFunction)(t)?t():t),this.timers.set(o,n)):n=null})():e(...a)}}promise(e){let t=()=>{},i=new Promise((i,n)=>{t=()=>n((0,f.abort)("Abort async")),this.promisesRejections.add(t),e(i,n)});return!i.finally&&"u">typeof process&&!n.IS_ES_NEXT&&(i.finally=e=>(i.then(e).catch(e),i)),i.finally(()=>{this.promisesRejections.delete(t)}).catch(()=>null),i.rejectCallback=t,i}promiseState(e){if(e.status)return e.status;if(!Promise.race)return new Promise(t=>{e.then(e=>(t("fulfilled"),e),e=>{throw t("rejected"),e}),this.setTimeout(()=>{t("pending")},100)});let t={};return Promise.race([e,t]).then(e=>e===t?"pending":"fulfilled",()=>"rejected")}requestIdleCallback(e,t={timeout:100}){let i=this.__requestIdleCallbackNative(e,t);return this.__requestsIdle.add(i),i}requestIdlePromise(e){return this.promise(t=>{let i=this.requestIdleCallback(()=>t(i),e)})}schedulerPostTask(e,t={delay:0,priority:"user-visible"}){let i=new AbortController;if(t.signal&&t.signal.addEventListener("abort",()=>i.abort()),this.__controllers.add(i),void 0!==globalThis.scheduler){var n,r;let o=globalThis.scheduler.postTask(e,(n=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},t),r=r={signal:i.signal},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n));return o.finally(()=>{this.__controllers.delete(i)}).catch(()=>null),o}return this.promise((n,r)=>{let o=this.setTimeout(()=>{try{n(e())}catch(e){r(e)}this.__controllers.delete(i)},t.delay||1);i.signal.addEventListener("abort",()=>{this.clearTimeout(o),this.__controllers.delete(i),r((0,f.abort)())})})}schedulerYield(){return this.schedulerPostTask(()=>{},{priority:"user-visible"})}cancelIdleCallback(e){return this.__requestsIdle.delete(e),this.__cancelIdleCallbackNative(e)}requestAnimationFrame(e){let t=requestAnimationFrame(e);return this.__requestsRaf.add(t),t}cancelAnimationFrame(e){this.__requestsRaf.delete(e),cancelAnimationFrame(e)}clear(){this.__requestsIdle.forEach(e=>this.cancelIdleCallback(e)),this.__requestsRaf.forEach(e=>this.cancelAnimationFrame(e)),this.__controllers.forEach(e=>e.abort()),this.timers.forEach(e=>(0,r.clearTimeout)(this.timers.get(e))),this.timers.clear(),this.promisesRejections.forEach(e=>e()),this.promisesRejections.clear()}destruct(){this.clear(),this.isDestructed=!0}constructor(){var e,t,i,n,r;this.timers=new Map,this.__callbacks=new Map,this.__queueMicrotaskNative=null!=(e=null==queueMicrotask?void 0:queueMicrotask.bind(window))?e:Promise.resolve().then.bind(Promise.resolve()),this.promisesRejections=new Set,this.__requestsIdle=new Set,this.__controllers=new Set,this.__requestsRaf=new Set,this.__requestIdleCallbackNative=null!=(i=null==(t=window.requestIdleCallback)?void 0:t.bind(window))?i:(e,t)=>{var i;let n=Date.now();return this.setTimeout(()=>{e({didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-n))})},null!=(i=null==t?void 0:t.timeout)?i:1)},this.__cancelIdleCallbackNative=null!=(r=null==(n=window.cancelIdleCallback)?void 0:n.bind(window))?r:e=>{this.clearTimeout(e)},this.isDestructed=!1}}},8884:function(e,t,i){i.d(t,{Async:function(){return n.Async}});var n=i(26992)},4012:function(e,t,i){i.d(t,{Component:function(){return l}});var n=i(8884),r=i(78213),o=i(580),s=i(21537);let a=new Map;class l{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,s.kebabCase)(((0,s.isFunction)(this.className)?this.className():"")||(0,s.getClassName)(this))),this.__componentName}getFullElName(e,t,i){let n=[this.componentName];return e&&(e=e.replace(/[^a-z0-9-]/gi,"-"),n.push(`__${e}`)),t&&(n.push("_",t),n.push("_",(0,s.isVoid)(i)?"true":i.toString())),n.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,s.get)(e,t||this)}get isReady(){return this.componentStatus===r.STATUSES.ready}get isDestructed(){return this.componentStatus===r.STATUSES.destructed}get isInDestruct(){return r.STATUSES.beforeDestruct===this.componentStatus||r.STATUSES.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(r.STATUSES.beforeDestruct,()=>!this.isInDestruct&&this.destruct()),this}destruct(){this.setStatus(r.STATUSES.destructed),this.async&&(this.async.destruct(),this.async=void 0),a.get(this)&&a.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);let i=Object.getPrototypeOf(this);i&&(0,s.isFunction)(i.setStatusComponent)&&i.setStatusComponent(e,t);let n=a.get(this),r=null==n?void 0:n[e];r&&r.length&&r.forEach(e=>e(t))}hookStatus(e,t){let i=a.get(this);i||(i={},a.set(this,i)),i[e]||(i[e]=[]),i[e].push(t)}static isInstanceOf(e,t){return e instanceof t}constructor(){this.async=new n.Async,this.ownerWindow=window,this.__componentStatus=r.STATUSES.beforeInit,this.uid="jodit-uid-"+(0,o.uniqueUid)()}}l.STATUSES=r.STATUSES},91907:function(e,t,i){i.d(t,{Component:function(){return n.Component},STATUSES:function(){return r.STATUSES},ViewComponent:function(){return o.ViewComponent}});var n=i(4012),r=i(78213),o=i(80480)},78213:function(e,t,i){i.d(t,{STATUSES:function(){return n}});let n={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},80480:function(e,t,i){i.d(t,{ViewComponent:function(){return r}});var n=i(4012);class r extends n.Component{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(e,...t){return this.j.i18n(e,...t)}setParentView(e){return this.jodit=e,e.components.add(this),this}destruct(){return this.j.components.delete(this),super.destruct()}constructor(e){super(),this.setParentView(e)}}},82758:function(e,t,i){i.r(t),i.d(t,{ACCURACY:function(){return U},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ef},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return V},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return r},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return er},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return eo},INVISIBLE_SPACE:function(){return f},INVISIBLE_SPACE_REG_EXP:function(){return m},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return o},IS_ES_NEXT:function(){return s},IS_IE:function(){return J},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return z},KEY_BACKSPACE:function(){return P},KEY_DELETE:function(){return F},KEY_DOWN:function(){return N},KEY_ENTER:function(){return L},KEY_ESC:function(){return x},KEY_F3:function(){return H},KEY_LEFT:function(){return R},KEY_META:function(){return j},KEY_RIGHT:function(){return M},KEY_SPACE:function(){return B},KEY_TAB:function(){return A},KEY_UP:function(){return O},LIST_TAGS:function(){return E},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return K},MODE_SPLIT:function(){return G},MODE_WYSIWYG:function(){return $},NBSP_SPACE:function(){return p},NEARBY:function(){return q},NO_EMPTY_TAGS:function(){return D},PARAGRAPH:function(){return Y},PASSIVE_EVENTS:function(){return eb},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return b},SPACE_REG_EXP_END:function(){return w},SPACE_REG_EXP_START:function(){return y},TEMP_ATTR:function(){return ep},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return X},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return _},globalWindow:function(){return S},lang:function(){return em}});let n="4.11.7",r="es2015",o=!0,s=!1,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/pro/",d=()=>l=!0,h={},f="\uFEFF",p="\xa0",m=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,b=()=>/[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,w=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,S="u">typeof window?window:void 0,_="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,E=new Set(["ul","ol"]),I=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...I,"br","hr"]),D=new Set(I),j="Meta",P="Backspace",A="Tab",L="Enter",x="Escape",z="Alt",R="ArrowLeft",O="ArrowUp",M="ArrowRight",N="ArrowDown",B="Space",F="Delete",H="F3",q=5,U=10,V=[j,P,F,O,N,M,R,L,x,H,A],W="br",Y="p",$=1,K=2,G=3,J="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),X=J?"text":"text/plain",Z=J?"html":"text/html",Q=J?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",er="insert_as_text",eo="insert_only_text",es=10,ea=void 0!==S&&/Mac|iPod|iPhone|iPad/.test(S.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=_.currentScript;if(e)return ec(e.src);let t=_.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(S.location.href)})(),eh=eu,ef=ed,ep="data-jodit-temp",em={},eg="clipboard",ev="source-consumer",eb=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},20218:function(e,t,i){i.d(t,{Create:function(){return a}});var n=i(82758),r=i(2748),o=i(21537),s=i(38837);class a{get doc(){return(0,o.isFunction)(this.document)?this.document():this.document}element(e,t,i){let n=this.doc.createElement(e.toLowerCase());return this.applyCreateAttributes(n),t&&((0,o.isPlainObject)(t)?(0,o.attr)(n,t):i=t),i&&(0,o.asArray)(i).forEach(e=>n.appendChild((0,o.isString)(e)?this.fromHTML(e):e)),n}div(e,t,i){let n=this.element("div",t,i);return e&&(n.className=e),n}sandbox(){var e;let t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);let i=null==(e=t.contentWindow)?void 0:e.document;if((0,s.assert)(i,"iframe.contentWindow.document"),!i)throw Error("Iframe error");return i.open(),i.write("<!DOCTYPE html><html><head></head><body></body></html>"),i.close(),[i.body,t]}span(e,t,i){let n=this.element("span",t,i);return e&&(n.className=e),n}a(e,t,i){let n=this.element("a",t,i);return e&&(n.className=e),n}text(e){return this.doc.createTextNode(e)}fake(){return this.text(n.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(e,t){let i=this.div();i.innerHTML=e.toString();let n=i.firstChild===i.lastChild&&i.firstChild?i.firstChild:i;if(r.Dom.safeRemove(n),t){let e=(0,o.refs)(n);Object.keys(t).forEach(i=>{let n=e[i];n&&!1===t[i]&&r.Dom.hide(n)})}return n}applyCreateAttributes(e){if(this.createAttributes){let t=this.createAttributes;if(t&&t[e.tagName.toLowerCase()]){let i=t[e.tagName.toLowerCase()];(0,o.isFunction)(i)?i(e):(0,o.isPlainObject)(i)&&(0,o.attr)(e,i)}}}constructor(e,t){this.document=e,this.createAttributes=t}}},12060:function(e,t,i){i.d(t,{Create:function(){return n.Create}});var n=i(20218)},45219:function(e,t,i){i.d(t,{autobind:function(){return r}});var n=i(23282);function r(e,t,i){if(!(0,n.isFunction)(i.value))throw TypeError(`@autobind can only be applied to methods, but "${t}" is not a function`);let r=i.value;return{configurable:!0,get(){let e=r.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}},33433:function(e,t,i){i.d(t,{cache:function(){return l},cacheHTML:function(){return c},cached:function(){return a}});var n=i(78213),r=i(2748),o=i(27613),s=i(82760);function a(e,t){let i=Object.getOwnPropertyDescriptor(e,t);return!i||(0,o.isFunction)(i.get)?null:i.value}function l(e,t,i){let n=i.get;if(!n)throw(0,s.error)("Getter property descriptor expected");i.get=function(){let e=n.call(this);return e&&!0===e.noCache||Object.defineProperty(this,t,{configurable:i.configurable,enumerable:i.enumerable,writable:!1,value:e}),e}}function c(e,t,i){let a=i.value;if(!(0,o.isFunction)(a))throw(0,s.error)("Handler must be a Function");let l=!0,c=new WeakMap;i.value=function(...e){var t;if(l&&c.has(this.constructor))return null==(t=c.get(this.constructor))?void 0:t.cloneNode(!0);let i=a.apply(this,e);return l&&r.Dom.isElement(i)&&c.set(this.constructor,i),l?i.cloneNode(!0):i},e.hookStatus(n.STATUSES.ready,e=>{l=!!((0,o.isViewObject)(e)?e:e.jodit).options.cache})}},87325:function(e,t,i){i.d(t,{component:function(){return s},getComponentClass:function(){return a}});var n=i(82758),r=i(80568);let o=new Map;function s(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}let i=(0,r.getClassName)(e.prototype);if(o.has(i)&&!n.IS_PROD)throw Error(`Component with name "${i}" is already registered`);return o.set(i,t),t}function a(e){return o.get(e)}},81577:function(e,t,i){i.d(t,{debounce:function(){return a},throttle:function(){return l}});var n=i(91907),r=i(27613),o=i(38837),s=i(89890);function a(e,t=!1,i="debounce"){return(a,l)=>{let c=a[l];if(!(0,r.isFunction)(c))throw(0,s.error)("Handler must be a Function");return a.hookStatus(n.STATUSES.ready,n=>{let{async:s}=n;(0,o.assert)(null!=s,`Component ${n.componentName||n.constructor.name} should have "async:IAsync" field`);let a=(0,r.isFunction)(e)?e(n):e,c=(0,r.isNumber)(a)||(0,r.isPlainObject)(a)?a:n.defaultTimeout;Object.defineProperty(n,l,{configurable:!0,value:s[i](n[l].bind(n),c,t)})}),{configurable:!0,get(){return c.bind(this)}}}}function l(e,t=!1){return a(e,t,"throttle")}},55153:function(e,t,i){i.d(t,{derive:function(){return r}});var n=i(23282);function r(...e){return t=>{let i=t.prototype;for(let t=0;t<e.length;t++){let r=e[t],o=Object.getOwnPropertyNames(r.prototype);for(let e=0;e<o.length;e++){let t=o[e],s=Object.getOwnPropertyDescriptor(r.prototype,t);null!=s&&(0,n.isFunction)(s.value)&&!(0,n.isFunction)(i[t])&&Object.defineProperty(i,t,{enumerable:!0,configurable:!0,writable:!0,value:function(...e){return s.value.call(this,...e)}})}}}}},97357:function(e,t,i){i.d(t,{hook:function(){return o}});var n=i(23282),r=i(89890);function o(e){return(t,i)=>{if(!(0,n.isFunction)(t[i]))throw(0,r.error)("Handler must be a Function");t.hookStatus(e,e=>{e[i].call(e)})}}},78927:function(e,t,i){i.d(t,{idle:function(){return s}});var n=i(91907),r=i(23282),o=i(89890);function s(){return(e,t)=>{if(!(0,r.isFunction)(e[t]))throw(0,o.error)("Handler must be a Function");e.hookStatus(n.STATUSES.ready,e=>{let{async:i}=e,n=e[t];e[t]=(...t)=>i.requestIdleCallback(n.bind(e,...t))})}}},65478:function(e,t,i){i.r(t),i.d(t,{autobind:function(){return n.autobind},cache:function(){return r.cache},cacheHTML:function(){return r.cacheHTML},cached:function(){return r.cached},component:function(){return o.component},debounce:function(){return s.debounce},derive:function(){return a.derive},getComponentClass:function(){return o.getComponentClass},hook:function(){return l.hook},idle:function(){return c.idle},nonenumerable:function(){return u.nonenumerable},persistent:function(){return d.persistent},throttle:function(){return s.throttle},wait:function(){return h.wait},watch:function(){return f.watch}});var n=i(45219),r=i(33433),o=i(87325),s=i(81577),a=i(55153),l=i(97357),c=i(78927),u=i(31589),d=i(53213),h=i(13525),f=i(37133)},31589:function(e,t,i){i.d(t,{nonenumerable:function(){return n}});let n=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},53213:function(e,t,i){i.d(t,{persistent:function(){return o}});var n=i(78213),r=i(39955);function o(e,t){e.hookStatus(n.STATUSES.ready,e=>{let i=(0,r.isViewObject)(e)?e:e.jodit,n=`${i.options.namespace}${e.componentName}_prop_${t}`,o=e[t];Object.defineProperty(e,t,{get(){var e;return null!=(e=i.storage.get(n))?e:o},set(e){i.storage.set(n,e)}})})}},13525:function(e,t,i){i.d(t,{wait:function(){return s}});var n=i(78213),r=i(23282),o=i(89890);function s(e){return(t,i)=>{let s=t[i];if(!(0,r.isFunction)(s))throw(0,o.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,t=>{let{async:n}=t,r=t[i],o=0;Object.defineProperty(t,i,{configurable:!0,value:function i(...s){n.clearTimeout(o),e(t)?r.apply(t,s):o=n.setTimeout(()=>i(...s),10)}})})}}},37133:function(e,t,i){i.d(t,{watch:function(){return d}});var n=i(78213),r=i(73026),o=i(46559),s=i(23282),a=i(72430),l=i(39955),c=i(89890),u=i(37790);function d(e,t){return(i,d)=>{var h;if(!(0,s.isFunction)(i[d]))throw(0,c.error)("Handler must be a Function");let f=null==(h=null==t?void 0:t.immediately)||h,p=null==t?void 0:t.context,m=t=>{let n=(0,l.isViewObject)(t)?t:t.jodit,c=(e,...i)=>{if(!t.isInDestruct)return t[d](e,...i)};f||(c=t.async.microDebounce(c,!0)),(0,o.splitArray)(e).forEach(e=>{if(/:/.test(e)){let[i,r]=e.split(":"),o=p;i.length&&(o=t.get(i)),(0,s.isFunction)(o)&&(o=o(t)),n.events.on(o||t,r,c),o||n.events.on(r,c),t.hookStatus("beforeDestruct",()=>{n.events.off(o||t,r,c).off(r,c)});return}let o=e.split("."),[l]=o,d=o.slice(1),h=t[l];(0,a.isPlainObject)(h)&&(0,r.observable)(h).on(`change.${d.join(".")}`,c);let f=(0,u.getPropertyDescriptor)(i,l);Object.defineProperty(t,l,{configurable:!0,set(e){let i=h;i!==e&&(h=e,f&&f.set&&f.set.call(t,e),(0,a.isPlainObject)(h)&&(h=(0,r.observable)(h)).on(`change.${d.join(".")}`,c),c(l,i,h))},get(){return f&&f.get?f.get.call(t):h}})})};(0,s.isFunction)(i.hookStatus)?i.hookStatus(n.STATUSES.ready,m):m(i)}}},2748:function(e,t,i){i.d(t,{Dom:function(){return b}});var n=i(82758),r=i(4510),o=i(68345),s=i(23282),a=i(58487),l=i(42320),c=i(70799),u=i(86068),d=i(49055),h=i(38837),f=i(29960),p=i(41180),m=i(86583),g=i(89890),v=i(37790);class b{static detach(e){for(;e&&e.firstChild;)e.removeChild(e.firstChild)}static wrapNextInline(e,t,i){let n,r=e;i.s.save();let o=!1;do o=!1,(n=r.nextSibling)&&!b.isBlock(n)&&!b.isTag(n,"br")&&(o=!0,r=n);while(o);return b.__wrapElements(t,i,e,r)}static __wrapElements(e,t,i,n){let r=(0,c.isString)(e)?t.createInside.element(e):e;i.parentNode&&i.parentNode.insertBefore(r,i);let o=i;for(;o&&(o=i.nextSibling,r.appendChild(i),i!==n&&o);)i=o;return t.s.restore(),r}static wrapInline(e,t,i){let n,r=e,o=e;i.s.save();let s=!1;do s=!1,(n=r.previousSibling)&&!b.isBlock(n)&&(s=!0,r=n);while(s);do s=!1,(n=o.nextSibling)&&!b.isBlock(n)&&(s=!0,o=n);while(s);return b.__wrapElements(t,i,r,o)}static wrap(e,t,i){let n=(0,c.isString)(t)?i.element(t):t;if(b.isNode(e)){if(!e.parentNode)throw(0,g.error)("Element should be in DOM");e.parentNode.insertBefore(n,e),n.appendChild(e)}else{let t=e.extractContents();e.insertNode(n),n.appendChild(t)}return n}static unwrap(e){let t=e.parentNode;if(t){for(;e.firstChild;)t.insertBefore(e.firstChild,e);b.safeRemove(e)}}static between(e,t,i){let n=e;for(;n&&n!==t&&!(e!==n&&i(n));){let e=n.firstChild||n.nextSibling;if(!e){for(;n&&!n.nextSibling;)n=n.parentNode;e=null==n?void 0:n.nextSibling}n=e}}static replace(e,t,i,n=!1,o=!1){let s;if((0,a.isHTML)(t)&&((0,h.assert)(i,"Need create instance for new tag"),t=i.fromHTML(t)),(0,c.isString)(t)?((0,h.assert)(i,"Need create instance for new tag"),s=i.element(t)):s=t,!o)for(;e.firstChild;)s.appendChild(e.firstChild);return n&&b.isElement(e)&&b.isElement(s)&&(0,r.toArray)(e.attributes).forEach(e=>{s.setAttribute(e.name,e.value)}),e.parentNode&&e.parentNode.replaceChild(s,e),s}static isEmptyTextNode(e){return b.isText(e)&&(!e.nodeValue||0===e.nodeValue.replace(n.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(e){return b.each(e,e=>b.isEmptyTextNode(e))}static isContentEditable(e,t){return b.isNode(e)&&!b.closest(e,e=>b.isElement(e)&&"false"===e.getAttribute("contenteditable"),t)}static isEmpty(e,t=n.NO_EMPTY_TAGS){let i;if(!e)return!0;i=(0,s.isFunction)(t)?t:e=>t.has(e.nodeName.toLowerCase());let r=e=>null==e.nodeValue||0===(0,d.trim)(e.nodeValue).length;return b.isText(e)?r(e):!(b.isElement(e)&&i(e))&&b.each(e,e=>{if(b.isText(e)&&!r(e)||b.isElement(e)&&i(e))return!1})}static isNode(e){return!!(e&&(0,c.isString)(e.nodeName)&&"number"==typeof e.nodeType&&e.childNodes&&(0,s.isFunction)(e.appendChild))}static isCell(e){return b.isNode(e)&&("TD"===e.nodeName||"TH"===e.nodeName)}static isList(e){return b.isTag(e,n.LIST_TAGS)}static isLeaf(e){return b.isTag(e,"li")}static isImage(e){return b.isNode(e)&&/^(img|svg|picture|canvas)$/i.test(e.nodeName)}static isBlock(e){return!(0,u.isVoid)(e)&&"object"==typeof e&&b.isNode(e)&&n.IS_BLOCK.test(e.nodeName)}static isText(e){return!!(e&&e.nodeType===Node.TEXT_NODE)}static isComment(e){return!!(e&&e.nodeType===Node.COMMENT_NODE)}static isElement(e){var t;return!!b.isNode(e)&&!!((null==(t=e.ownerDocument)?void 0:t.defaultView)&&e.nodeType===Node.ELEMENT_NODE)}static isFragment(e){var t;return!!b.isNode(e)&&!!((null==(t=e.ownerDocument)?void 0:t.defaultView)&&e.nodeType===Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(e){var t;if(!b.isNode(e))return!1;let i=null==(t=e.ownerDocument)?void 0:t.defaultView;return!!(i&&e instanceof i.HTMLElement)}static isInlineBlock(e){return b.isElement(e)&&!/^(BR|HR)$/i.test(e.tagName)&&-1!==["inline","inline-block"].indexOf((0,p.css)(e,"display").toString())}static canSplitBlock(e){return!(0,u.isVoid)(e)&&b.isHTMLElement(e)&&b.isBlock(e)&&!/^(TD|TH|CAPTION|FORM)$/.test(e.nodeName)&&void 0!==e.style&&!/^(fixed|absolute)/i.test(e.style.position)}static last(e,t){let i=null==e?void 0:e.lastChild;if(!i)return null;do{if(t(i))return i;let n=i.lastChild;if(n||(n=i.previousSibling),!n&&i.parentNode!==e){do i=i.parentNode;while(i&&!(null==i?void 0:i.previousSibling)&&i.parentNode!==e);n=null==i?void 0:i.previousSibling}i=n}while(i);return null}static prev(e,t,i,n=!0){return b.find(e,t,i,!1,n)}static next(e,t,i,n=!0){return b.find(e,t,i,!0,n)}static prevWithClass(e,t){return b.prev(e,e=>b.isElement(e)&&e.classList.contains(t),e.parentNode)}static nextWithClass(e,t){return b.next(e,e=>b.isElement(e)&&e.classList.contains(t),e.parentNode)}static find(e,t,i,n=!0,r=!0){let o=this.nextGen(e,i,n,r),s=o.next();for(;!s.done;){if(t(s.value))return s.value;s=o.next()}return null}static*nextGen(e,t,i=!0,n=!0){let r=[],o=e;do{let t=i?o.nextSibling:o.previousSibling;for(;t;)r.unshift(t),t=i?t.nextSibling:t.previousSibling;yield*this.runInStack(e,r,i,n),o=o.parentNode}while(o&&o!==t);return null}static each(e,t,i=!0){let n=this.eachGen(e,i),r=n.next();for(;!r.done;){if(!1===t(r.value))return!1;r=n.next()}return!0}static eachGen(e,t=!0){return this.runInStack(e,[e],t)}static*runInStack(e,t,i,n=!0){for(;t.length;){let r=t.pop();if(n){let e=i?r.lastChild:r.firstChild;for(;e;)t.push(e),e=i?e.previousSibling:e.nextSibling}e!==r&&(yield r)}}static findWithCurrent(e,t,i,n="nextSibling",r="firstChild"){let o=e;do{if(t(o))return o||null;if(r&&o&&o[r]){let e=b.findWithCurrent(o[r],t,o,n,r);if(e)return e}for(;o&&!o[n]&&o!==i;)o=o.parentNode;o&&o[n]&&o!==i&&(o=o[n])}while(o&&o!==i);return null}static findSibling(e,t=!0,i=e=>!b.isEmptyTextNode(e)){let n=b.sibling(e,t);for(;n&&!i(n);)n=b.sibling(n,t);return n&&i(n)?n:null}static findNotEmptySibling(e,t){return b.findSibling(e,t,e=>{var t;return!b.isEmptyTextNode(e)&&!!(!b.isText(e)||(null==(t=e.nodeValue)?void 0:t.length)&&(0,d.trim)(e.nodeValue))})}static findNotEmptyNeighbor(e,t,i){return(0,v.call)(t?b.prev:b.next,e,e=>!!(e&&(!(b.isText(e)||b.isComment(e))||(0,d.trim)((null==e?void 0:e.nodeValue)||"").length)),i)}static sibling(e,t){return t?e.previousSibling:e.nextSibling}static up(e,t,i,n=!1){let r=e;if(!r)return null;do{if(t(r))return r;if(r===i||!r.parentNode)break;r=r.parentNode}while(r&&r!==i);return r===i&&n&&t(r)?r:null}static closest(e,t,i){let n,r=e=>e.toLowerCase();if((0,s.isFunction)(t))n=t;else if((0,o.isArray)(t)||(0,l.isSet)(t)){let e=(0,l.isSet)(t)?t:new Set(t.map(r));n=t=>!!(t&&e.has(r(t.nodeName)))}else n=e=>!!(e&&r(t)===r(e.nodeName));return b.up(e,n,i)}static furthest(e,t,i){let n=null,r=null==e?void 0:e.parentElement;for(;r&&r!==i;)t(r)&&(n=r),r=null==r?void 0:r.parentElement;return n}static appendChildFirst(e,t){let i=e.firstChild;i?i!==t&&e.insertBefore(t,i):e.appendChild(t)}static after(e,t){let{parentNode:i}=e;i&&(i.lastChild===e?i.appendChild(t):i.insertBefore(t,e.nextSibling))}static before(e,t){let{parentNode:i}=e;i&&i.insertBefore(t,e)}static prepend(e,t){e.insertBefore(t,e.firstChild)}static append(e,t){(0,o.isArray)(t)?t.forEach(t=>{this.append(e,t)}):e.appendChild(t)}static moveContent(e,t,i=!1,o=()=>!0){let s=(e.ownerDocument||n.globalDocument).createDocumentFragment();(0,r.toArray)(e.childNodes).filter(e=>!!o(e)||(b.safeRemove(e),!1)).forEach(e=>{s.appendChild(e)}),i&&t.firstChild?t.insertBefore(s,t.firstChild):t.appendChild(s)}static isOrContains(e,t,i=!1){return e===t?!i:!!(t&&e&&this.up(t,t=>t===e,e,!0))}static safeRemove(...e){e.forEach(e=>b.isNode(e)&&e.parentNode&&e.parentNode.removeChild(e))}static safeInsertNode(e,t){e.collapsed||e.deleteContents();let i=b.isFragment(t)?t.lastChild:t;e.startContainer===e.endContainer&&e.collapsed&&b.isTag(e.startContainer,n.INSEPARABLE_TAGS)?b.after(e.startContainer,t):(e.insertNode(t),i&&e.setStartBefore(i)),e.collapse(!0),[t.nextSibling,t.previousSibling].forEach(e=>b.isText(e)&&!e.nodeValue&&b.safeRemove(e))}static hide(e){e&&((0,m.dataBind)(e,"__old_display",e.style.display),e.style.display="none")}static show(e){if(!e)return;let t=(0,m.dataBind)(e,"__old_display");"none"===e.style.display&&(e.style.display=t||"")}static isTag(e,t){if(!this.isElement(e))return!1;let i=e.tagName.toLowerCase(),n=e.tagName.toUpperCase();if(t instanceof Set)return t.has(i)||t.has(n);if(Array.isArray(t))throw TypeError("Dom.isTag does not support array");return i===t||n===t}static markTemporary(e,t){return t&&(0,f.attr)(e,t),(0,f.attr)(e,n.TEMP_ATTR,!0),e}static isTemporary(e){return!!b.isElement(e)&&(b.isMarker(e)||"true"===(0,f.attr)(e,n.TEMP_ATTR))}static isMarker(e){return b.isNode(e)&&b.isTag(e,"span")&&e.hasAttribute("data-"+n.MARKER_CLASS)}static replaceTemporaryFromString(e){return e.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(e){return(0,r.toArray)(e.querySelectorAll(`[${n.TEMP_ATTR}]`))}constructor(){throw Error("Dom is static module")}}},22732:function(e,t,i){i.d(t,{Dom:function(){return n.Dom},LazyWalker:function(){return r.LazyWalker}});var n=i(2748),r=i(70071)},70071:function(e,t,i){i.d(t,{LazyWalker:function(){return s}});var n=i(45219),r=i(2748),o=i(72757);class s extends o.Eventify{setWork(e){return this.isWorked&&this.break(),this.workNodes=r.Dom.eachGen(e,!this.options.reverse),this.isFinished=!1,this._requestStarting(),this}_requestStarting(){this.__schedulerController=new AbortController,this.async.schedulerPostTask(this.__workPerform,{delay:this.options.timeout,signal:this.__schedulerController.signal}).catch(()=>null)}break(e){this.isWorked&&(this.stop(),this.emit("break",e))}end(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}stop(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}destruct(){super.destruct(),this.stop()}__workPerform(){var e;if(this.workNodes){this.isWorked=!0;let t=0,i=null!=(e=this.options.timeoutChunkSize)?e:50;for(;!this.isFinished&&t<=i;){let e=this.workNodes.next();if(t+=1,this.visitNode(e.value)&&(this.hadAffect=!0),e.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(e){var t;return!!e&&(void 0===this.options.whatToShow||e.nodeType===this.options.whatToShow)&&null!=(t=this.emit("visit",e))&&t}constructor(e,t={}){super(),this.async=e,this.options=t,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}!function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);o>3&&s&&Object.defineProperty(t,i,s)}([n.autobind],s.prototype,"__workPerform",null)},98220:function(e,t,i){i.d(t,{EventEmitter:function(){return u}});var n=i(82758),r=i(46559),o=i(68345),s=i(23282),a=i(70799),l=i(89890),c=i(15738);class u{mute(e){return this.__mutedEvents.add(null!=e?e:"*"),this}isMuted(e){return!!(e&&this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(null!=e?e:"*"),this}__eachEvent(e,t){(0,r.splitArray)(e).map(e=>e.trim()).forEach(e=>{let i=e.split("."),n=i[1]||c.defaultNameSpace;t.call(this,i[0],n)})}__getStore(e){if(!e)throw(0,l.error)("Need subject");if(void 0===e[this.__key]){let t=new c.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){let i=this.__doc.createEvent("HTMLEvents");(0,a.isString)(t)?i.initEvent(t,!0,!0):(i.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(e=>{Object.defineProperty(i,e,{value:t[e],enumerable:!0})}),Object.defineProperty(i,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(i)}get current(){return this.currents[this.currents.length-1]}on(e,t,i,r){let c,u,h,f;if((0,a.isString)(e)||(0,a.isStringArray)(e)?(c=this,u=e,h=t,f=i):(c=e,u=t,h=i,f=r),!((0,a.isString)(u)||(0,a.isStringArray)(u))||0===u.length)throw(0,l.error)("Need events names");if(!(0,s.isFunction)(h))throw(0,l.error)("Need event handler");if((0,o.isArray)(c))return c.forEach(e=>{this.on(e,u,h,f)}),this;let p=c,m=this.__getStore(p),g=this,v=function(e,...t){if(!g.isMuted(e))return h&&h.call(this,...t)};return d(p)&&(v=function(e){if(!g.isMuted(e.type)&&(g.__prepareEvent(e),h&&!1===h.call(this,e)))return e.preventDefault(),e.stopImmediatePropagation(),!1}),this.__eachEvent(u,(e,t)=>{var i,r;if(0===e.length)throw(0,l.error)("Need event name");if(!1===m.indexOf(e,t,h)){let o={event:e,originalCallback:h,syntheticCallback:v};if(m.set(e,t,o,null==f?void 0:f.top),d(p)){let t=n.PASSIVE_EVENTS.has(e)?{passive:!0,capture:null!=(i=null==f?void 0:f.capture)&&i}:null!=(r=null==f?void 0:f.capture)&&r;v.options=t,p.addEventListener(e,v,t),this.__memoryDOMSubjectToHandler(p,v)}}}),this}__memoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap.get(e)||new Set;i.add(t),this.__domEventsMap.set(e,i)}__unmemoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap,n=i.get(e)||new Set;n.delete(t),n.size?i.set(e,n):i.delete(e)}one(e,t,i,n){let r,o,s,l;(0,a.isString)(e)||(0,a.isStringArray)(e)?(r=this,o=e,s=t,l=i):(r=e,o=t,s=i,l=n);let c=(...e)=>(this.off(r,o,c),s(...e));return this.on(r,o,c,l),this}off(e,t,i){let n,r,l;if((0,a.isString)(e)||(0,a.isStringArray)(e)?(n=this,r=e,l=t):(n=e,r=t,l=i),(0,o.isArray)(n))return n.forEach(e=>{this.off(e,r,l)}),this;let u=n,h=this.__getStore(u);if(!((0,a.isString)(r)||(0,a.isStringArray)(r))||0===r.length)return h.namespaces().forEach(e=>{this.off(u,"."+e)}),this.__removeStoreFromSubject(u),this;let f=e=>{var t;d(u)&&(u.removeEventListener(e.event,e.syntheticCallback,null!=(t=e.syntheticCallback.options)&&t),this.__unmemoryDOMSubjectToHandler(u,e.syntheticCallback))},p=(e,t)=>{if(""===e)return void h.events(t).forEach(e=>{""!==e&&p(e,t)});let i=h.get(e,t);if(i&&i.length)if((0,s.isFunction)(l)){let n=h.indexOf(e,t,l);!1!==n&&(f(i[n]),i.splice(n,1),i.length||h.clearEvents(t,e))}else i.forEach(f),i.length=0,h.clearEvents(t,e)};return this.__eachEvent(r,(e,t)=>{t===c.defaultNameSpace?h.namespaces().forEach(t=>{p(e,t)}):p(e,t)}),h.isEmpty()&&this.__removeStoreFromSubject(u),this}stopPropagation(e,t){let i=(0,a.isString)(e)?this:e,n=(0,a.isString)(e)?e:t;if("string"!=typeof n)throw(0,l.error)("Need event names");let r=this.__getStore(i);this.__eachEvent(n,(e,t)=>{let n=r.get(e,t);n&&this.__stopped.push(n),t===c.defaultNameSpace&&r.namespaces(!0).forEach(t=>this.stopPropagation(i,e+"."+t))})}__removeStop(e){if(e){let t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...i){let n,r,o=(0,a.isString)(e)?this:e,s=(0,a.isString)(e)?e:t,u=(0,a.isString)(e)?[t,...i]:i;if(!d(o)&&!(0,a.isString)(s))throw(0,l.error)("Need events names");let h=this.__getStore(o);return!(0,a.isString)(s)&&d(o)?this.__triggerNativeEvent(o,t):this.__eachEvent(s,(e,t)=>{if(d(o))this.__triggerNativeEvent(o,e);else{let i=h.get(e,t);if(i)try{[...i].every(t=>!this.__isStopped(i)&&(this.currents.push(e),r=t.syntheticCallback.call(o,e,...u),this.currents.pop(),void 0!==r&&(n=r),!0))}finally{this.__removeStop(i)}t!==c.defaultNameSpace||d(o)||h.namespaces().filter(e=>e!==t).forEach(t=>{let i=this.fire.apply(this,[o,e+"."+t,...u]);void 0!==i&&(n=i)})}}),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach((e,t)=>{this.off(t)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}constructor(e){this.__domEventsMap=new Map,this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=n.globalDocument,this.__prepareEvent=e=>{!e.cancelBubble&&(e.composed&&(0,s.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,e&&(this.__doc=e),this.__key+=new Date().getTime()}}function d(e){return(0,s.isFunction)(e.addEventListener)}},72757:function(e,t,i){i.d(t,{Eventify:function(){return n}});class n{on(e,t){var i;return this.__map.has(e)||this.__map.set(e,new Set),null==(i=this.__map.get(e))||i.add(t),this}off(e,t){var i;return this.__map.has(e)&&(null==(i=this.__map.get(e))||i.delete(t)),this}destruct(){this.__map.clear()}emit(e,...t){var i;let n;return this.__map.has(e)&&(null==(i=this.__map.get(e))||i.forEach(e=>{n=e(...t)})),n}constructor(){this.__map=new Map}}},57012:function(e,t,i){i.d(t,{eventEmitter:function(){return n}});let n=new(i(98220)).EventEmitter},3827:function(e,t,i){i.d(t,{EventEmitter:function(){return n.EventEmitter},EventHandlersStore:function(){return s.EventHandlersStore},Eventify:function(){return r.Eventify},defaultNameSpace:function(){return s.defaultNameSpace},observable:function(){return o.observable}});var n=i(98220),r=i(72757),o=i(73026),s=i(15738)},73026:function(e,t,i){i.d(t,{observable:function(){return c}});var n=i(68345),r=i(59292),o=i(72430),s=i(37790);let a=Symbol("observable-object");function l(e){return void 0!==e[a]}function c(e){if(l(e))return e;let t={},i={},c=(t,r)=>((0,n.isArray)(t)?t.map(e=>c(e,r)):(i[t]||(i[t]=[]),i[t].push(r)),e),u=(r,...o)=>{if((0,n.isArray)(r))return void r.map(e=>u(e,...o));try{!t[r]&&i[r]&&(t[r]=!0,i[r].forEach(t=>t.call(e,...o)))}finally{t[r]=!1}},d=(t,i=[])=>{let n={};l(t)||(Object.defineProperty(t,a,{enumerable:!1,value:!0}),Object.keys(t).forEach(a=>{let l=i.concat(a).filter(e=>e.length);n[a]=t[a];let c=(0,s.getPropertyDescriptor)(t,a);Object.defineProperty(t,a,{set:t=>{let i=n[a];if(!(0,r.isFastEqual)(n[a],t)){u(["beforeChange",`beforeChange.${l.join(".")}`],a,t),(0,o.isPlainObject)(t)&&d(t,l),c&&c.set?c.set.call(e,t):n[a]=t;let r=[];u(["change",...l.reduce((e,t)=>(r.push(t),e.push(`change.${r.join(".")}`),e),[])],l.join("."),i,(null==t?void 0:t.valueOf)?t.valueOf():t)}},get:()=>c&&c.get?c.get.call(e):n[a],enumerable:!0,configurable:!0}),(0,o.isPlainObject)(n[a])&&d(n[a],l)}),Object.defineProperty(e,"on",{value:c}))};return d(e),e}},15738:function(e,t,i){i.d(t,{EventHandlersStore:function(){return s},defaultNameSpace:function(){return o}});var n=i(4510),r=i(38837);let o="JoditEventDefaultNamespace";class s{get(e,t){if(this.__store.has(t)){let i=this.__store.get(t);return(0,r.assert)(i,"-"),i[e]}}indexOf(e,t,i){let n=this.get(e,t);if(n){for(let e=0;e<n.length;e+=1)if(n[e].originalCallback===i)return e}return!1}namespaces(e=!1){let t=(0,n.toArray)(this.__store.keys());return e?t.filter(e=>e!==o):t}events(e){let t=this.__store.get(e);return t?Object.keys(t):[]}set(e,t,i,n=!1){let r=this.__store.get(t);r||(r={},this.__store.set(t,r)),void 0===r[e]&&(r[e]=[]),n?r[e].unshift(i):r[e].push(i)}clear(){this.__store.clear()}clearEvents(e,t){let i=this.__store.get(e);i&&i[t]&&(delete i[t],Object.keys(i).length||this.__store.delete(e))}isEmpty(){return 0===this.__store.size}constructor(){this.__store=new Map}}},580:function(e,t,i){i.d(t,{eventEmitter:function(){return C},extendLang:function(){return y},getContainer:function(){return S},getPopupViewRoot:function(){return _},instances:function(){return f},modules:function(){return b},pluginSystem:function(){return v},uniqueUid:function(){return g}});var n=i(19306),r=i(70799),o=i(39955),s=i(12475),a=i(41180),l=i(80568),c=i(41876),u=i(57012),d=i(82758),h=i(22732);let f={},p=1,m=new Set;function g(){function e(){return Math.round(p+=10*(Math.random()+1)).toString(16)}let t=e();for(;m.has(t);)t=e();return m.add(t),t}let v=new c.PluginSystem({getContainer:S}),b={},y=e=>{Object.keys(e).forEach(t=>{d.lang[t]?Object.assign(d.lang[t],e[t]):d.lang[t]=e[t]})},w=new WeakMap;function S(e,t,i="div",a=!1){let c=(0,r.isString)(t)?t:t?(0,l.getClassName)(t.prototype):"jodit-utils",u=w.get(e)||{},d=c+i,f=(0,o.isViewObject)(e)?e:e.j,p=null;if(!u[d]){let t=f.c;if(p=_(f.o,f.container,e.od.body),a&&(0,n.isJoditObject)(e)&&e.od!==e.ed){t=e.createInside;let r="style"===i?e.ed.head:e.ed.body;p=(0,n.isJoditObject)(e)&&e.o.shadowRoot?e.o.shadowRoot:r}let r=t.element(i,{className:`jodit jodit-${(0,s.kebabCase)(c)}-container jodit-box`});r.classList.add(`jodit_theme_${f.o.theme||"default"}`),p.appendChild(r),u[d]=r,e.hookStatus("beforeDestruct",()=>{f.events.off(r),h.Dom.safeRemove(r),delete u[d],Object.keys(u).length&&w.delete(e)}),w.set(e,u),f.events.fire("getContainer",r)}return u[d].classList.remove("jodit_theme_default","jodit_theme_dark"),u[d].classList.add(`jodit_theme_${f.o.theme||"default"}`),u[d]}function _(e,t,i){var n,r,o;return null!=(o=null!=(r=null!=(n=e.popupRoot)?n:e.shadowRoot)?r:h.Dom.closest(t,e=>h.Dom.isHTMLElement(e)&&(h.Dom.isTag(e,"dialog")||["fixed","absolute"].includes((0,a.css)(e,"position"))),i))?o:i}let C=u.eventEmitter},29999:function(e,t,i){i.d(t,{asArray:function(){return r}});var n=i(68345);let r=e=>(0,n.isArray)(e)?e:[e]},76855:function(e,t,i){i.d(t,{asArray:function(){return n.asArray},splitArray:function(){return r.splitArray},toArray:function(){return o.toArray}});var n=i(29999),r=i(46559),o=i(4510)},46559:function(e,t,i){i.d(t,{splitArray:function(){return n}});function n(e){return Array.isArray(e)?e:e.split(/[,\s]+/)}},4510:function(e,t,i){i.d(t,{toArray:function(){return o}});var n=i(70722),r=i(58844);let o=function(...e){var t;return((0,n.isNativeFunction)(Array.from)?Array.from:null!=(t=(0,r.reset)("Array.from"))?t:Array.from).apply(Array,e)}},91898:function(e,t,i){i.d(t,{clearTimeout:function(){return n.clearTimeout},setTimeout:function(){return n.setTimeout}});var n=i(13252)},13252:function(e,t,i){i.d(t,{clearTimeout:function(){return o},setTimeout:function(){return r}});var n=i(82758);function r(e,t,...i){return t?n.globalWindow.setTimeout(e,t,...i):(e.call(null,...i),0)}function o(e){n.globalWindow.clearTimeout(e)}},54765:function(e,t,i){i.d(t,{hasBrowserColorPicker:function(){return r}});var n=i(82758);function r(){let e=!0;try{let t=n.globalDocument.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}},27613:function(e,t,i){i.d(t,{hasBrowserColorPicker:function(){return n.hasBrowserColorPicker},hasContainer:function(){return d.hasContainer},isAbortError:function(){return r.isAbortError},isArray:function(){return o.isArray},isBoolean:function(){return s.isBoolean},isDestructable:function(){return d.isDestructable},isEqual:function(){return a.isEqual},isFastEqual:function(){return a.isFastEqual},isFunction:function(){return l.isFunction},isHTML:function(){return c.isHTML},isHtmlFromWord:function(){return u.isHtmlFromWord},isInitable:function(){return d.isInitable},isInt:function(){return h.isInt},isJoditObject:function(){return f.isJoditObject},isLicense:function(){return p.isLicense},isMarker:function(){return m.isMarker},isNativeFunction:function(){return g.isNativeFunction},isNumber:function(){return v.isNumber},isNumeric:function(){return b.isNumeric},isPlainObject:function(){return y.isPlainObject},isPromise:function(){return w.isPromise},isSet:function(){return S.isSet},isString:function(){return _.isString},isStringArray:function(){return _.isStringArray},isURL:function(){return C.isURL},isValidName:function(){return k.isValidName},isViewObject:function(){return E.isViewObject},isVoid:function(){return I.isVoid},isWindow:function(){return T.isWindow}});var n=i(54765),r=i(12045),o=i(68345),s=i(87612),a=i(59292),l=i(23282),c=i(58487),u=i(29673),d=i(60132),h=i(72913),f=i(19306),p=i(45603),m=i(78116),g=i(70722),v=i(84767),b=i(29807),y=i(72430),w=i(14773),S=i(42320),_=i(70799),C=i(26049),k=i(37508),E=i(39955),I=i(86068),T=i(52742)},12045:function(e,t,i){i.d(t,{isAbortError:function(){return n}});function n(e){return!!e&&e instanceof DOMException&&"AbortError"===e.name}},68345:function(e,t,i){i.d(t,{isArray:function(){return n}});function n(e){return Array.isArray(e)}},87612:function(e,t,i){i.d(t,{isBoolean:function(){return n}});function n(e){return"boolean"==typeof e}},59292:function(e,t,i){i.d(t,{isEqual:function(){return r},isFastEqual:function(){return o}});var n=i(67462);function r(e,t){return e===t||(0,n.stringify)(e)===(0,n.stringify)(t)}function o(e,t){return e===t}},23282:function(e,t,i){i.d(t,{isFunction:function(){return n}});function n(e){return"function"==typeof e}},29673:function(e,t,i){i.d(t,{isHtmlFromWord:function(){return n}});function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}},58487:function(e,t,i){i.d(t,{isHTML:function(){return r}});var n=i(70799);let r=e=>(0,n.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},60132:function(e,t,i){i.d(t,{hasContainer:function(){return l},isDestructable:function(){return a},isInitable:function(){return s}});var n=i(2748),r=i(23282),o=i(86068);function s(e){return!(0,o.isVoid)(e)&&(0,r.isFunction)(e.init)}function a(e){return!(0,o.isVoid)(e)&&(0,r.isFunction)(e.destruct)}function l(e){return!(0,o.isVoid)(e)&&n.Dom.isElement(e.container)}},72913:function(e,t,i){i.d(t,{isInt:function(){return o}});var n=i(29807),r=i(70799);function o(e){return(0,r.isString)(e)&&(0,n.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},19306:function(e,t,i){i.d(t,{isJoditObject:function(){return r}});var n=i(23282);function r(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&("u">typeof Jodit&&e instanceof Jodit||e.isJodit))}},45603:function(e,t,i){i.d(t,{isLicense:function(){return r}});var n=i(70799);let r=e=>(0,n.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},78116:function(e,t,i){i.d(t,{isMarker:function(){return r}});var n=i(2748);function r(e){return n.Dom.isMarker(e)}},70722:function(e,t,i){i.d(t,{isNativeFunction:function(){return n}});function n(e){return!!e&&"function"===(typeof e).toLowerCase()&&(e===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(String(e)))}},84767:function(e,t,i){i.d(t,{isNumber:function(){return n}});function n(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},29807:function(e,t,i){i.d(t,{isNumeric:function(){return r}});var n=i(70799);function r(e){if((0,n.isString)(e)){if(!e.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;e=parseFloat(e)}return"number"==typeof e&&!isNaN(e)&&isFinite(e)}},72430:function(e,t,i){i.d(t,{isPlainObject:function(){return r}});var n=i(52742);function r(e){return!(!e||"object"!=typeof e||e.nodeType||(0,n.isWindow)(e))&&!(e.constructor&&!({}).hasOwnProperty.call(e.constructor.prototype,"isPrototypeOf"))}},14773:function(e,t,i){i.d(t,{isPromise:function(){return n}});function n(e){return e&&"function"==typeof e.then}},42320:function(e,t,i){i.d(t,{isSet:function(){return r}});var n=i(23282);function r(e){return!!e&&(0,n.isFunction)(e.has)&&(0,n.isFunction)(e.add)&&(0,n.isFunction)(e.delete)}},70799:function(e,t,i){i.d(t,{isString:function(){return r},isStringArray:function(){return o}});var n=i(68345);function r(e){return"string"==typeof e}function o(e){return(0,n.isArray)(e)&&r(e[0])}},26049:function(e,t,i){i.d(t,{isURL:function(){return r}});var n=i(82758);function r(e){if(e.includes(" "))return!1;if("u">typeof URL)try{let t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}let t=n.globalDocument.createElement("a");return t.href=e,!!t.hostname}},37508:function(e,t,i){i.d(t,{isValidName:function(){return n}});function n(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(e)&&e.trim().length>0}},39955:function(e,t,i){i.d(t,{isViewObject:function(){return r}});var n=i(23282);function r(e){return!!(e&&e instanceof Object&&(0,n.isFunction)(e.constructor)&&e.isView)}},86068:function(e,t,i){i.d(t,{isVoid:function(){return n}});function n(e){return null==e}},52742:function(e,t,i){i.d(t,{isWindow:function(){return n}});function n(e){return null!=e&&e===e.window}},35278:function(e,t,i){i.d(t,{colorToHex:function(){return n}});let n=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;let t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";let i=parseInt(t[2],10),n=parseInt(t[3],10),r=(parseInt(t[4],10)|n<<8|i<<16).toString(16).toUpperCase();for(;r.length<6;)r="0"+r;return t[1]+"#"+r}},58149:function(e,t,i){i.d(t,{colorToHex:function(){return n.colorToHex}});var n=i(35278)},32574:function(e,t,i){i.d(t,{applyStyles:function(){return l}});var n=i(82758),r=i(2748),o=i(49055),s=i(76078);function a(e){return e.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,(e,t,i)=>{switch(i.toLowerCase()){case"pt":return(1.328*parseFloat(t)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(t)).toFixed(0)+"px"}return e})}function l(e){if(-1===e.indexOf("<html "))return e;e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7);let t=n.globalDocument.createElement("iframe");t.style.display="none",n.globalDocument.body.appendChild(t);let i="";try{let l=t.contentDocument||(t.contentWindow?t.contentWindow.document:null);if(l){l.open(),l.write(e),l.close();try{for(let e=0;e<l.styleSheets.length;e+=1){let t=l.styleSheets[e].cssRules;for(let e=0;e<t.length;e+=1)""!==t[e].selectorText&&(0,s.$$)(t[e].selectorText,l.body).forEach(i=>{i.style.cssText=a(t[e].style.cssText+";"+i.style.cssText)})}}catch(e){if(!n.IS_PROD)throw e}r.Dom.each(l.body,e=>{if(r.Dom.isElement(e)){let t=e.getAttribute("style");t&&(e.style.cssText=a(t)),e.hasAttribute("style")&&!e.getAttribute("style")&&e.removeAttribute("style")}}),i=l.firstChild?(0,o.trim)(l.body.innerHTML):""}}catch(e){}finally{r.Dom.safeRemove(t)}return i&&(e=i),(0,o.trim)(e.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,""))}},53212:function(e,t,i){i.d(t,{cleanFromWord:function(){return a}});var n=i(82758),r=i(2748),o=i(4510),s=i(49055);function a(e){-1!==e.indexOf("<html ")&&(e=(e=e.substring(e.indexOf("<html "),e.length)).substring(0,e.lastIndexOf("</html>")+7));let t="";try{let i=n.globalDocument.createElement("div");i.innerHTML=e;let s=[];i.firstChild&&r.Dom.each(i,e=>{if(e)switch(e.nodeType){case Node.ELEMENT_NODE:switch(e.nodeName){case"STYLE":case"LINK":case"META":s.push(e);break;case"W:SDT":case"W:SDTPR":case"FONT":r.Dom.unwrap(e);break;default:(0,o.toArray)(e.attributes).forEach(t=>{-1===["src","href","rel","content"].indexOf(t.name.toLowerCase())&&e.removeAttribute(t.name)})}break;case Node.TEXT_NODE:break;default:s.push(e)}}),r.Dom.safeRemove.apply(null,s),t=i.innerHTML}catch(e){}return t&&(e=t),(e=e.split(/(\n)/).filter(s.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},53326:function(e,t,i){i.d(t,{htmlspecialchars:function(){return r}});var n=i(82758);function r(e){let t=n.globalDocument.createElement("div");return t.textContent=e,t.innerHTML}},75275:function(e,t,i){i.d(t,{applyStyles:function(){return n.applyStyles},cleanFromWord:function(){return r.cleanFromWord},htmlspecialchars:function(){return o.htmlspecialchars},nl2br:function(){return s.nl2br},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},stripTags:function(){return l.stripTags}});var n=i(32574),r=i(53212),o=i(53326),s=i(45971),a=i(86518),l=i(91003)},45971:function(e,t,i){i.d(t,{nl2br:function(){return n}});function n(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}},86518:function(e,t,i){i.d(t,{safeHTML:function(){return o},sanitizeHTMLElement:function(){return a}});var n=i(2748),r=i(43555);function o(e,t){var i;(n.Dom.isElement(e)||n.Dom.isFragment(e))&&((null!=(i=t.removeEventAttributes)?i:t.removeOnError)?(s(e),(0,r.$$)("*",e).forEach(e=>s(e))):t.removeOnError&&(a(e,t),(0,r.$$)("[onerror]",e).forEach(e=>a(e,t))),t.safeJavaScriptLink&&(a(e,t),(0,r.$$)('a[href^="javascript"]',e).forEach(e=>a(e,t))),t.safeLinksTarget&&(0,r.$$)('a[target="_blank"]',e).forEach(e=>{let t=(e.getAttribute("rel")||"").split(/\s+/).filter(Boolean);t.includes("noopener")||t.push("noopener"),t.includes("noreferrer")||t.push("noreferrer"),(0,r.attr)(e,"rel",t.join(" "))}))}function s(e){if(!n.Dom.isElement(e))return!1;let t=!1,i=[];for(let t=0;t<e.attributes.length;t++)e.attributes[t].name.toLowerCase().startsWith("on")&&i.push(e.attributes[t].name);for(let n of i)e.removeAttribute(n),t=!0;return t}function a(e,{safeJavaScriptLink:t,removeOnError:i}={safeJavaScriptLink:!0,removeOnError:!0}){if(!n.Dom.isElement(e))return!1;let o=!1;i&&e.hasAttribute("onerror")&&((0,r.attr)(e,"onerror",null),o=!0);let s=e.getAttribute("href");return t&&s&&0===s.trim().indexOf("javascript")&&((0,r.attr)(e,"href",location.protocol+"//"+s),o=!0),o}},91003:function(e,t,i){i.d(t,{stripTags:function(){return function e(t,i=document,u=null){let d=i.createElement("div");return(0,r.isString)(t)?d.innerHTML=t:d.appendChild(t),(0,s.$$)("*",d).forEach(t=>{let r=t.parentNode;if(!r)return;if(u&&n.Dom.isTag(t,u)){let r=t.nodeName.toLowerCase(),o=n.Dom.isTag(t,c)?`%%%jodit-single-${r}%%%`:`%%%jodit-${r}%%%${e(t.innerHTML,i,u)}%%%/jodit-${r}%%%`;n.Dom.before(t,i.createTextNode(o)),n.Dom.safeRemove(t);return}if(n.Dom.isTag(t,l))return void n.Dom.safeRemove(t);if(!n.Dom.isTag(t,a))return;let o=t.nextSibling;!(n.Dom.isText(o)&&/^\s/.test(o.nodeValue||""))&&o&&r.insertBefore(i.createTextNode(" "),o)}),(0,o.trim)(d.innerText).replace(/%%%(\/)?jodit(-single)?-([\w\n]+)%%%/g,(e,t,i,n)=>`<${t?"/":""}${n}>`)}}});var n=i(2748),r=i(70799),o=i(49055),s=i(43555);let a=new Set(["div","p","br","h1","h2","h3","h4","h5","h6","hr"]),l=new Set(["script","style"]),c=new Set(["br","hr","input"])},21537:function(e,t,i){i.r(t),i.d(t,{$$:function(){return d.$$},CamelCaseToKebabCase:function(){return u.CamelCaseToKebabCase},ConfigDeepFlatten:function(){return d.ConfigDeepFlatten},ConfigFlatten:function(){return d.ConfigFlatten},ConfigProto:function(){return d.ConfigProto},ConnectionError:function(){return d.ConnectionError},LimitedStack:function(){return d.LimitedStack},NUMBER_FIELDS_REG:function(){return l.NUMBER_FIELDS_REG},OptionsError:function(){return d.OptionsError},abort:function(){return d.abort},alignElement:function(){return d.alignElement},alreadyLoadedList:function(){return d.alreadyLoadedList},appendScriptAsync:function(){return d.appendScriptAsync},appendStyleAsync:function(){return d.appendStyleAsync},applyStyles:function(){return a.applyStyles},asArray:function(){return n.asArray},assert:function(){return d.assert},attr:function(){return d.attr},browser:function(){return d.browser},buildQuery:function(){return d.buildQuery},call:function(){return d.call},callPromise:function(){return d.callPromise},callThis:function(){return d.callThis},camelCase:function(){return u.camelCase},cleanFromWord:function(){return a.cleanFromWord},clearAlign:function(){return d.clearAlign},clearCenterAlign:function(){return d.clearCenterAlign},clearTimeout:function(){return r.clearTimeout},cns:function(){return d.cns},colorToHex:function(){return s.colorToHex},completeUrl:function(){return d.completeUrl},connection:function(){return d.connection},convertMediaUrlToVideoEmbed:function(){return d.convertMediaUrlToVideoEmbed},css:function(){return d.css},cssPath:function(){return d.cssPath},ctrlKey:function(){return d.ctrlKey},dataBind:function(){return d.dataBind},defaultLanguage:function(){return d.defaultLanguage},error:function(){return d.error},fastClone:function(){return d.fastClone},fuzzySearchIndex:function(){return u.fuzzySearchIndex},get:function(){return d.get},getClassName:function(){return d.getClassName},getContentWidth:function(){return c.getContentWidth},getDataTransfer:function(){return d.getDataTransfer},getPropertyDescriptor:function(){return d.getPropertyDescriptor},getScrollParent:function(){return c.getScrollParent},getXPathByElement:function(){return d.getXPathByElement},hAlignElement:function(){return d.hAlignElement},hasBrowserColorPicker:function(){return o.hasBrowserColorPicker},hasContainer:function(){return o.hasContainer},htmlspecialchars:function(){return a.htmlspecialchars},humanSizeToBytes:function(){return d.humanSizeToBytes},i18n:function(){return u.i18n},inView:function(){return d.inView},innerWidth:function(){return c.innerWidth},isAbortError:function(){return o.isAbortError},isArray:function(){return o.isArray},isAtom:function(){return d.isAtom},isBoolean:function(){return o.isBoolean},isDestructable:function(){return o.isDestructable},isEqual:function(){return o.isEqual},isFastEqual:function(){return o.isFastEqual},isFunction:function(){return o.isFunction},isHTML:function(){return o.isHTML},isHtmlFromWord:function(){return o.isHtmlFromWord},isInitable:function(){return o.isInitable},isInt:function(){return o.isInt},isJoditObject:function(){return o.isJoditObject},isLicense:function(){return o.isLicense},isMarker:function(){return o.isMarker},isNativeFunction:function(){return o.isNativeFunction},isNumber:function(){return o.isNumber},isNumeric:function(){return o.isNumeric},isPlainObject:function(){return o.isPlainObject},isPromise:function(){return o.isPromise},isSet:function(){return o.isSet},isString:function(){return o.isString},isStringArray:function(){return o.isStringArray},isURL:function(){return o.isURL},isValidName:function(){return o.isValidName},isViewObject:function(){return o.isViewObject},isVoid:function(){return o.isVoid},isWindow:function(){return o.isWindow},kebabCase:function(){return u.kebabCase},keepNames:function(){return d.keepNames},keys:function(){return d.keys},loadImage:function(){return d.loadImage},loadNext:function(){return d.loadNext},loadNextStyle:function(){return d.loadNextStyle},markAsAtomic:function(){return d.markAsAtomic},markDeprecated:function(){return d.markDeprecated},markOwner:function(){return d.markOwner},memorizeExec:function(){return d.memorizeExec},nl2br:function(){return a.nl2br},normalizeColor:function(){return l.normalizeColor},normalizeCssNumericValue:function(){return l.normalizeCssNumericValue},normalizeCssValue:function(){return l.normalizeCssValue},normalizeKeyAliases:function(){return l.normalizeKeyAliases},normalizeLicense:function(){return l.normalizeLicense},normalizePath:function(){return l.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return l.normalizeSize},normalizeUrl:function(){return l.normalizeUrl},offset:function(){return c.offset},options:function(){return d.options},parseQuery:function(){return d.parseQuery},position:function(){return c.position},previewBox:function(){return d.previewBox},refs:function(){return d.refs},reset:function(){return d.reset},resolveElement:function(){return d.resolveElement},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},scrollIntoViewIfNeeded:function(){return d.scrollIntoViewIfNeeded},set:function(){return d.set},setTimeout:function(){return r.setTimeout},size:function(){return c.size},splitArray:function(){return n.splitArray},sprintf:function(){return u.sprintf},stringify:function(){return u.stringify},stripTags:function(){return a.stripTags},toArray:function(){return n.toArray},trim:function(){return u.trim},trimChars:function(){return u.trimChars},trimInv:function(){return u.trimInv},ucfirst:function(){return u.ucfirst}});var n=i(76855),r=i(91898),o=i(27613),s=i(58149),a=i(75275),l=i(71521),c=i(56175),u=i(59007),d=i(43555)},71521:function(e,t,i){i.d(t,{NUMBER_FIELDS_REG:function(){return r.NUMBER_FIELDS_REG},normalizeColor:function(){return n.normalizeColor},normalizeCssNumericValue:function(){return r.normalizeCssNumericValue},normalizeCssValue:function(){return r.normalizeCssValue},normalizeKeyAliases:function(){return o.normalizeKeyAliases},normalizeLicense:function(){return s.normalizeLicense},normalizePath:function(){return a.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return c.normalizeSize},normalizeUrl:function(){return u.normalizeUrl}});var n=i(21224),r=i(3760),o=i(49033),s=i(12972),a=i(9992),l=i(70091),c=i(46334),u=i(37406)},21224:function(e,t,i){i.d(t,{normalizeColor:function(){return o}});var n=i(35278),r=i(49055);let o=e=>{let t=["#"],i=(0,n.colorToHex)(e);if(!i)return!1;if(3===(i=(i=(0,r.trim)(i.toUpperCase())).substring(1)).length){for(let e=0;e<3;e+=1)t.push(i[e]),t.push(i[e]);return t.join("")}return i.length>6&&(i=i.slice(0,6)),"#"+i}},3760:function(e,t,i){i.d(t,{NUMBER_FIELDS_REG:function(){return a},normalizeCssNumericValue:function(){return l},normalizeCssValue:function(){return c}});var n=i(29807),r=i(86068),o=i(35278),s=i(12475);let a=/^(left|top|bottom|right|width|min|max|height|margin|padding|fontsize|font-size)/i;function l(e,t){return!(0,r.isVoid)(t)&&a.test(e)&&(0,n.isNumeric)(t.toString())?parseInt(t.toString(),10)+"px":t}function c(e,t){if("font-weight"===(0,s.kebabCase)(e)){switch(t.toString().toLowerCase()){case"700":case"bold":return 700;case"400":case"normal":return 400;case"900":case"heavy":return 900}return(0,n.isNumeric)(t)?Number(t):t}return/color/i.test(e)&&/^rgb/i.test(t.toString())&&(0,o.colorToHex)(t.toString())||t}},49033:function(e,t,i){i.d(t,{normalizeKeyAliases:function(){return o}});var n=i(82758),r=i(49055);function o(e){let t={},i={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return e.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(e=>(0,r.trim)(e.toLowerCase())).map(e=>n.KEY_ALIASES[e]||e).sort((e,t)=>i[e]&&!i[t]?-1:!i[e]&&i[t]?1:i[e]&&i[t]?i[e]-i[t]:e>t?1:-1).filter(e=>!t[e]&&""!==e&&(t[e]=!0)).join("+")}},12972:function(e,t,i){i.d(t,{normalizeLicense:function(){return n}});let n=(e,t=8)=>{let i=[];for(;e.length;)i.push(e.substr(0,t)),e=e.substr(t);return i[1]=i[1].replace(/./g,"*"),i[2]=i[2].replace(/./g,"*"),i.join("-")}},9992:function(e,t,i){i.d(t,{normalizePath:function(){return r}});var n=i(49055);let r=(...e)=>e.filter(e=>(0,n.trim)(e).length).map((t,i)=>(t=t.replace(/([^:])[\\/]+/g,"$1/"),i&&(t=t.replace(/^\//,"")),i!==e.length-1&&(t=t.replace(/\/$/,"")),t)).join("/")},70091:function(e,t,i){i.d(t,{normalizeRelativePath:function(){return n}});let n=e=>e.split("/").reduce((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},46334:function(e,t,i){i.d(t,{normalizeSize:function(){return n}});let n=(e,t)=>/^[0-9]+$/.test(e.toString())?e+t:e.toString()},37406:function(e,t,i){i.d(t,{normalizeUrl:function(){return n}});let n=(...e)=>e.filter(e=>e.length).map(e=>e.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},44506:function(e,t,i){i.d(t,{getContentWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.offsetWidth-parseInt(i.getPropertyValue("padding-left")||"0",10)-parseInt(i.getPropertyValue("padding-right")||"0",10)}},16442:function(e,t,i){i.d(t,{getScrollParent:function(){return function e(t){if(!t)return null;let i=r.Dom.isHTMLElement(t),s=i&&(0,o.css)(t,"overflowY");return i&&"visible"!==s&&"hidden"!==s&&t.scrollHeight>=t.clientHeight?t:e(t.parentNode)||n.globalDocument.scrollingElement||n.globalDocument.body}}});var n=i(82758),r=i(2748),o=i(43555)},56175:function(e,t,i){i.d(t,{getContentWidth:function(){return n.getContentWidth},getScrollParent:function(){return r.getScrollParent},innerWidth:function(){return o.innerWidth},offset:function(){return a.offset},position:function(){return l.position},size:function(){return s.size}});var n=i(44506),r=i(16442),o=i(81630),s=i(21496),a=i(81284),l=i(5700)},81630:function(e,t,i){i.d(t,{innerWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.clientWidth-(parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"))}},21496:function(e,t,i){i.d(t,{size:function(){return r}});var n=i(27613);function r(e){return(0,n.isString)(e)||(0,n.isArray)(e)?e.length:(0,n.isPlainObject)(e)?Object.keys(e).length:0}},81284:function(e,t,i){i.d(t,{offset:function(){return n}});let n=(e,t,i,r=!1)=>{let o,s,a;try{o=e.getBoundingClientRect()}catch(e){o={top:0,bottom:0,left:0,right:0,width:0,height:0}}let l=i.body,c=i.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},u=i.defaultView||i.parentWindow,d=u.pageYOffset||c.scrollTop||l.scrollTop,h=u.pageXOffset||c.scrollLeft||l.scrollLeft,f=c.clientTop||l.clientTop||0,p=c.clientLeft||l.clientLeft||0,m=t.iframe;if(!r&&t&&t.options&&t.o.iframe&&m){let{top:e,left:i}=n(m,t,t.od,!0);s=o.top+e,a=o.left+i}else s=o.top+d-f,a=o.left+h-p;return{top:Math.round(s),left:Math.round(a),width:o.width,height:o.height}}},5700:function(e,t,i){i.d(t,{position:function(){return function e(t,i,r=!1){var o,s;let a=t.getBoundingClientRect(),l=a.left,c=a.top;if((0,n.isJoditObject)(i)&&i.iframe&&i.ed.body.contains(t)&&!r){let{left:t,top:n}=e(i.iframe,i,!0);l+=t,c+=n}return{left:Math.round(l),top:Math.round(c),width:Math.round(null!=(o=t.offsetWidth)?o:a.width),height:Math.round(null!=(s=t.offsetHeight)?s:a.height)}}}});var n=i(19306)},87058:function(e,t,i){i.d(t,{camelCase:function(){return n}});let n=e=>e.replace(/([-_])(.)/g,(e,t,i)=>i.toUpperCase())},67477:function(e,t,i){i.d(t,{fuzzySearchIndex:function(){return r}});var n=i(82758);function r(e,t,i=0,o=1){let s=0,a=0,l=-1,c=0,u=0;for(a=i;s<e.length&&a<t.length;)e[s].toLowerCase()===t[a].toLowerCase()?(s++,c++,u=0,-1===l&&(l=a)):s>0&&(u>=o&&t[a]!==n.INVISIBLE_SPACE?(s=0,l=-1,c=0,u=0,a--):(u++,c++)),a++;return s===e.length?[l,c]:[-1,0]}},56967:function(e,t,i){i.d(t,{i18n:function(){return c},sprintf:function(){return l}});var n=i(82758),r=i(70799),o=i(36409),s=i(43555),a=i(6441);let l=(e,t)=>{if(!t||!t.length)return e;let i=/%([sd])/g,n=i.exec(e),r=e,o=0;for(;n&&void 0!==t[o];)r=r.replace(n[0],t[o].toString()),o+=1,n=i.exec(e);return r};function c(e,t,i){if(!(0,r.isString)(e))throw(0,s.error)("i18n: Need string in first argument");if(!e.length)return e;let c=!!(null==i?void 0:i.debugLanguage),u={},d=e=>t&&t.length?l(e,t):e,h=(0,s.defaultLanguage)(a.Config.defaultOptions.language,a.Config.defaultOptions.language),f=(0,s.defaultLanguage)(null==i?void 0:i.language,h),p=t=>{if(!t)return;if((0,r.isString)(t[e]))return d(t[e]);let i=e.toLowerCase();if((0,r.isString)(t[i]))return d(t[i]);let n=(0,o.ucfirst)(e);if((0,r.isString)(t[n]))return d(t[n])};void 0!==n.lang[f]?u=n.lang[f]:c||(u=void 0!==n.lang[h]?n.lang[h]:n.lang.en);let m=null==i?void 0:i.i18n;if(m&&m[f]){let e=p(m[f]);if(e)return e}return p(u)||(!c&&n.lang.en&&(0,r.isString)(n.lang.en[e])&&n.lang.en[e]?d(n.lang.en[e]):c?"{"+e+"}":(n.IS_PROD,d(e)))}},59007:function(e,t,i){i.d(t,{CamelCaseToKebabCase:function(){return s.CamelCaseToKebabCase},camelCase:function(){return n.camelCase},fuzzySearchIndex:function(){return r.fuzzySearchIndex},i18n:function(){return o.i18n},kebabCase:function(){return s.kebabCase},sprintf:function(){return o.sprintf},stringify:function(){return a.stringify},trim:function(){return l.trim},trimChars:function(){return l.trimChars},trimInv:function(){return l.trimInv},ucfirst:function(){return c.ucfirst}});var n=i(87058),r=i(67477),o=i(56967),s=i(12475),a=i(67462),l=i(49055),c=i(36409)},12475:function(e,t,i){i.d(t,{CamelCaseToKebabCase:function(){return r},kebabCase:function(){return n}});let n=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),r=e=>e.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},67462:function(e,t,i){i.d(t,{stringify:function(){return n}});function n(e,t={}){if("object"!=typeof e)return String(e);let i=new Set(t.excludeKeys),r=new WeakMap;return JSON.stringify(e,(e,t)=>{if(!i.has(e)){if("object"==typeof t&&null!=t){if(r.get(t))return"[refObject]";r.set(t,!0)}return t}},t.prettify)}},49055:function(e,t,i){i.d(t,{trim:function(){return r},trimChars:function(){return o},trimInv:function(){return s}});var n=i(82758);function r(e){return e.replace((0,n.SPACE_REG_EXP_END)(),"").replace((0,n.SPACE_REG_EXP_START)(),"")}function o(e,t){return e.replace(RegExp(`[${t}]+$`),"").replace(RegExp(`^[${t}]+`),"")}function s(e){return e.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,n.INVISIBLE_SPACE_REG_EXP_START)(),"")}},36409:function(e,t,i){i.d(t,{ucfirst:function(){return n}});function n(e){return e.length?e[0].toUpperCase()+e.substring(1):""}},25726:function(e,t,i){i.d(t,{alignElement:function(){return a},clearAlign:function(){return s},hAlignElement:function(){return o}});var n=i(22732),r=i(41180);function o(e,t){t&&"normal"!==t?"center"!==t?((0,r.css)(e,"float",t),(0,r.clearCenterAlign)(e)):(0,r.css)(e,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,r.css)(e,"float")&&-1!==["right","left"].indexOf((0,r.css)(e,"float").toString().toLowerCase())&&(0,r.css)(e,"float",""),(0,r.clearCenterAlign)(e))}function s(e){n.Dom.each(e,e=>{n.Dom.isHTMLElement(e)&&e.style.textAlign&&(e.style.textAlign="",e.style.cssText.trim().length||e.removeAttribute("style"))})}function a(e,t){if(n.Dom.isNode(t)&&n.Dom.isElement(t))switch(s(t),e.toLowerCase()){case"justifyfull":t.style.textAlign="justify";break;case"justifyright":t.style.textAlign="right";break;case"justifyleft":t.style.textAlign="left";break;case"justifycenter":t.style.textAlign="center"}}},63799:function(e,t,i){i.d(t,{alreadyLoadedList:function(){return o},appendScriptAsync:function(){return a},appendStyleAsync:function(){return l},loadNext:function(){return function e(t,i,r=0){return(0,n.isString)(i[r])?a(t,i[r]).then(()=>e(t,i,r+1)):Promise.resolve()}},loadNextStyle:function(){return function e(t,i,r=0){return(0,n.isString)(i[r])?l(t,i[r]).then(()=>e(t,i,r+1)):Promise.resolve()}}});var n=i(70799),r=i(66292);let o=new Map,s=e=>(t,i)=>{if(o.has(i))return o.get(i);let n=e(t,i);return o.set(i,n),n},a=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let o=e.c.element("script",{type:"text/javascript",crossorigin:"anonymous",referrerpolicy:"no-referrer",async:!0,src:(0,r.completeUrl)(t)});e.e.one(o,"error",n).one(o,"load",i),e.od.body.appendChild(o)})),l=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let o=e.c.element("link");o.rel="stylesheet",o.media="all",o.crossOrigin="anonymous",e.isInDestruct||e.e.on(o,"load",()=>i(o)).on(o,"error",n),o.href=(0,r.completeUrl)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(o):e.od.body.appendChild(o)}))},38837:function(e,t,i){i.d(t,{assert:function(){return r}});class n extends Error{constructor(e){super(e),this.name="AssertionError"}}function r(e,t){if(!e)throw new n(`Assertion failed: ${t}`)}},29960:function(e,t,i){i.d(t,{attr:function(){return function e(t,i,l){if(!t||!(0,n.isFunction)(t.getAttribute))return null;if(!(0,o.isString)(i))return Object.keys(i).forEach(n=>{let o=i[n];(0,r.isPlainObject)(o)&&"style"===n?(0,a.css)(t,o):("className"===n&&(n="class"),e(t,n,o))}),null;let c=(0,s.CamelCaseToKebabCase)(i);if(/^-/.test(c)){let i=e(t,`data${c}`);if(i)return i;c=c.substr(1)}if(void 0!==l)if(null==l)t.hasAttribute(c)&&t.removeAttribute(c);else{let e=l.toString();return"IMG"===t.nodeName&&("width"===c||"height"===c)&&(e=e.replace("px","")),t.setAttribute(c,e),e}return t.getAttribute(c)}}});var n=i(23282),r=i(72430),o=i(70799),s=i(12475),a=i(41180)},97639:function(e,t,i){i.d(t,{browser:function(){return n}});let n=e=>{let t=navigator.userAgent.toLowerCase(),i=/(firefox)[\s/]([\w.]+)/.exec(t)||/(chrome)[\s/]([\w.]+)/.exec(t)||/(webkit)[\s/]([\w.]+)/.exec(t)||/(opera)(?:.*version)[\s/]([\w.]+)/.exec(t)||/(msie)[\s]([\w.]+)/.exec(t)||/(trident)\/([\w.]+)/.exec(t)||0>t.indexOf("compatible")||[];return"version"===e?i[2]:"webkit"===e?"chrome"===i[1]||"webkit"===i[1]:"ff"===e?"firefox"===i[1]:"msie"===e?"trident"===i[1]||"msie"===i[1]:i[1]===e}},44710:function(e,t,i){i.d(t,{buildQuery:function(){return r}});var n=i(72430);let r=(e,t)=>{let i=[],o=encodeURIComponent;for(let s in e)if(Object.prototype.hasOwnProperty.call(e,s)){let a=t?t+"["+s+"]":s,l=e[s];i.push((0,n.isPlainObject)(l)?r(l,a):o(a)+"="+o(l))}return i.join("&")}},66292:function(e,t,i){i.d(t,{completeUrl:function(){return r}});var n=i(82758);let r=e=>("file:"===n.globalWindow.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},68934:function(e,t,i){i.d(t,{ConfigDeepFlatten:function(){return function e(t){return(0,c.keys)(t,!1).reduce((i,n)=>(i[n]=(0,r.isPlainObject)(t[n])?e(t[n]):t[n],i),{})}},ConfigFlatten:function(){return u},ConfigProto:function(){return function e(t,i,c=0){if(Object.getPrototypeOf(t)!==Object.prototype)return t;let u=a.Config.defaultOptions;if((0,o.isString)(t.preset)){if(void 0!==u.presets[t.preset]){let e=u.presets[t.preset];Object.keys(e).forEach(i=>{(0,s.isVoid)(t[i])&&(t[i]=e[i])})}delete t.preset}let d={};return Object.keys(t).forEach(o=>{let s=t[o],a=i?i[o]:null;if((0,r.isPlainObject)(s)&&(0,r.isPlainObject)(a)&&!(0,l.isAtom)(s)){d[o]=e(s,a,c+1);return}if(0!==c&&(0,n.isArray)(s)&&!(0,l.isAtom)(s)&&(0,n.isArray)(a)){d[o]=[...s,...a.slice(s.length)];return}d[o]=s}),Object.setPrototypeOf(d,i),d}}});var n=i(68345),r=i(72430),o=i(70799),s=i(86068),a=i(6441),l=i(97735),c=i(37790);function u(e){return(0,c.keys)(e,!1).reduce((t,i)=>(t[i]=e[i],t),{})}},55877:function(e,t,i){i.d(t,{convertMediaUrlToVideoEmbed:function(){return s}});var n=i(82758),r=i(26049),o=i(82501);let s=(e,{width:t=400,height:i=345}={})=>{if(!(0,r.isURL)(e))return e;let s=n.globalDocument.createElement("a"),a=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;s.href=e,t||(t=400),i||(i=345);let l=s.protocol||"";switch(s.hostname){case"www.vimeo.com":case"vimeo.com":return a.test(e)?e.replace(a,'<iframe width="'+t+'" height="'+i+'" src="'+l+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):e;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{let n=s.search?(0,o.parseQuery)(s.search):{v:s.pathname.substring(1)};return/^embed\/.*/.test(n.v)&&(n.v=n.v.substring(6)),n.v?'<iframe width="'+t+'" height="'+i+'" src="'+l+"//www.youtube.com/embed/"+n.v+'" frameborder="0" allowfullscreen></iframe>':e}}return e}},41180:function(e,t,i){i.d(t,{clearCenterAlign:function(){return c},css:function(){return l}});var n=i(87612),r=i(72430),o=i(3760),s=i(87058),a=i(12475);function l(e,t,i,c=!1){if((0,n.isBoolean)(i)&&(c=i,i=void 0),(0,r.isPlainObject)(t)||void 0!==i){let n=(e,t,i)=>{void 0!==(i=(0,o.normalizeCssNumericValue)(t,i))&&(null==i||l(e,t,!0)!==(0,o.normalizeCssValue)(t,i))&&(e.style[t]=i)};if((0,r.isPlainObject)(t)){let i=Object.keys(t);for(let r=0;r<i.length;r+=1)n(e,(0,s.camelCase)(i[r]),t[i[r]])}else n(e,(0,s.camelCase)(t),i);return""}let u=(0,a.kebabCase)(t),d=e.ownerDocument||document,h=!!d&&(d.defaultView||d.parentWindow),f=e.style[t],p="";return void 0!==f&&""!==f?p=f:h&&!c&&(p=h.getComputedStyle(e).getPropertyValue(u)),o.NUMBER_FIELDS_REG.test(t)&&/^[-+]?[0-9.]+px$/.test(p.toString())&&(p=parseInt(p.toString(),10)),(0,o.normalizeCssValue)(t,p)}let c=e=>{"block"===l(e,"display")&&l(e,"display","");let{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},15456:function(e,t,i){i.d(t,{ctrlKey:function(){return n}});let n=e=>{if("u">typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},86583:function(e,t,i){i.d(t,{dataBind:function(){return o}});var n=i(39955);let r=new WeakMap,o=(e,t,i)=>{let o=r.get(e);if(!o){o={},r.set(e,o);let t=null;(0,n.isViewObject)(e.j)&&(t=e.j.e),(0,n.isViewObject)(e)&&(t=e.e),t&&t.on("beforeDestruct",()=>{r.delete(e)})}return void 0===i?o[t]:(o[t]=i,i)}},96325:function(e,t,i){i.d(t,{defaultLanguage:function(){return o}});var n=i(82758),r=i(70799);let o=(e,t="en")=>"auto"!==e&&(0,r.isString)(e)?e:n.globalDocument.documentElement&&n.globalDocument.documentElement.lang?n.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},82760:function(e,t,i){i.d(t,{connection:function(){return o},error:function(){return r},options:function(){return s}});var n=i(32880);function r(e){return TypeError(e)}function o(e){return new n.ConnectionError(e)}function s(e){return new n.OptionsError(e)}},93661:function(e,t,i){i.d(t,{abort:function(){return n}});function n(e="Aborted"){return new DOMException(e,"AbortError")}},86397:function(e,t,i){i.d(t,{ConnectionError:function(){return n}});class n extends Error{constructor(e){super(e),Object.setPrototypeOf(this,n.prototype)}}},32880:function(e,t,i){i.d(t,{ConnectionError:function(){return r.ConnectionError},OptionsError:function(){return o.OptionsError},abort:function(){return n.abort}});var n=i(93661),r=i(86397),o=i(57865)},57865:function(e,t,i){i.d(t,{OptionsError:function(){return n}});class n extends TypeError{constructor(e){super(e),Object.setPrototypeOf(this,n.prototype)}}},89890:function(e,t,i){i.d(t,{ConnectionError:function(){return r.ConnectionError},OptionsError:function(){return r.OptionsError},abort:function(){return r.abort},connection:function(){return n.connection},error:function(){return n.error},options:function(){return n.options}});var n=i(82760),r=i(32880)},97735:function(e,t,i){i.d(t,{fastClone:function(){return s},isAtom:function(){return r},markAsAtomic:function(){return o}});var n=i(67462);function r(e){return e&&e.isAtom}function o(e){return Object.defineProperty(e,"isAtom",{enumerable:!1,value:!0,configurable:!1}),e}function s(e){return JSON.parse((0,n.stringify)(e))}},80568:function(e,t,i){i.d(t,{getClassName:function(){return o},keepNames:function(){return r}});var n=i(23282);let r=new Map,o=e=>{var t;if((0,n.isFunction)(e.className))return e.className();let i=(null==(t=e.constructor)?void 0:t.originalConstructor)||e.constructor;if(r.has(i))return r.get(i);if(i.name)return i.name;let o=new RegExp(/^\s*function\s*(\S*)\s*\(/),s=i.toString().match(o);return s?s[1]:""}},94643:function(e,t,i){i.d(t,{get:function(){return o}});var n=i(70799),r=i(86068);function o(e,t){if(!(0,n.isString)(e)||!e.length)return null;let i=e.split("."),o=t;try{for(let e of i){if((0,r.isVoid)(o[e]))return null;o=o[e]}}catch(e){return null}return(0,r.isVoid)(o)?null:o}},38420:function(e,t,i){i.d(t,{humanSizeToBytes:function(){return n}});let n=e=>{if(/^[0-9.]+$/.test(e.toString()))return parseFloat(e);let t=e.substr(-2,2).toUpperCase(),i=["KB","MB","GB","TB"],n=parseFloat(e.substr(0,e.length-2));return -1!==i.indexOf(t)?n*Math.pow(1024,i.indexOf(t)+1):parseInt(e,10)}},43555:function(e,t,i){i.d(t,{$$:function(){return I.$$},ConfigDeepFlatten:function(){return u.ConfigDeepFlatten},ConfigFlatten:function(){return u.ConfigFlatten},ConfigProto:function(){return u.ConfigProto},ConnectionError:function(){return g.ConnectionError},LimitedStack:function(){return D.LimitedStack},OptionsError:function(){return g.OptionsError},abort:function(){return g.abort},alignElement:function(){return n.alignElement},alreadyLoadedList:function(){return r.alreadyLoadedList},appendScriptAsync:function(){return r.appendScriptAsync},appendStyleAsync:function(){return r.appendStyleAsync},assert:function(){return o.assert},attr:function(){return s.attr},browser:function(){return a.browser},buildQuery:function(){return l.buildQuery},call:function(){return j.call},callPromise:function(){return j.callPromise},callThis:function(){return j.callThis},clearAlign:function(){return n.clearAlign},clearCenterAlign:function(){return h.clearCenterAlign},cns:function(){return S.cns},completeUrl:function(){return c.completeUrl},connection:function(){return g.connection},convertMediaUrlToVideoEmbed:function(){return d.convertMediaUrlToVideoEmbed},css:function(){return h.css},cssPath:function(){return I.cssPath},ctrlKey:function(){return f.ctrlKey},dataBind:function(){return p.dataBind},defaultLanguage:function(){return m.defaultLanguage},error:function(){return g.error},fastClone:function(){return v.fastClone},get:function(){return b.get},getClassName:function(){return y.getClassName},getDataTransfer:function(){return j.getDataTransfer},getPropertyDescriptor:function(){return j.getPropertyDescriptor},getXPathByElement:function(){return I.getXPathByElement},hAlignElement:function(){return n.hAlignElement},humanSizeToBytes:function(){return w.humanSizeToBytes},inView:function(){return E.inView},isAtom:function(){return v.isAtom},keepNames:function(){return y.keepNames},keys:function(){return j.keys},loadImage:function(){return j.loadImage},loadNext:function(){return r.loadNext},loadNextStyle:function(){return r.loadNextStyle},markAsAtomic:function(){return v.markAsAtomic},markDeprecated:function(){return S.markDeprecated},markOwner:function(){return j.markOwner},memorizeExec:function(){return j.memorizeExec},options:function(){return g.options},parseQuery:function(){return _.parseQuery},previewBox:function(){return C.previewBox},refs:function(){return I.refs},reset:function(){return k.reset},resolveElement:function(){return I.resolveElement},scrollIntoViewIfNeeded:function(){return E.scrollIntoViewIfNeeded},set:function(){return T.set}});var n=i(25726),r=i(63799),o=i(38837),s=i(29960),a=i(97639),l=i(44710),c=i(66292),u=i(68934),d=i(55877),h=i(41180),f=i(15456),p=i(86583),m=i(96325),g=i(89890),v=i(97735),b=i(94643),y=i(80568),w=i(38420),S=i(95942),_=i(82501),C=i(11628),k=i(58844),E=i(26395),I=i(76078),T=i(3703),D=i(50535),j=i(37790)},95942:function(e,t,i){i.d(t,{cns:function(){return n},markDeprecated:function(){return r}});let n=console;function r(e,t=[""],i=null){return(...r)=>(n.warn(`Method "${t[0]}" deprecated.`+(t[1]?` Use "${t[1]}" instead`:"")),e.call(i,...r))}},82501:function(e,t,i){i.d(t,{parseQuery:function(){return n}});let n=e=>{let t={},i=e.substring(1).split("&");for(let e=0;e<i.length;e+=1){let n=i[e].split("=");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1]||"")}return t}},11628:function(e,t,i){i.d(t,{previewBox:function(){return l}});var n=i(2748),r=i(70799),o=i(29960),s=i(41180),a=i(76078);function l(e,t,i="px",c=null){let u=[],d=function(e,t){let i=[];try{(0,a.$$)("img",e.editor).forEach(r=>{let s=[(0,o.attr)(r,"width"),(0,o.attr)(r,"height"),r.src];(0,o.attr)(r,{width:r.offsetWidth+t,height:r.offsetHeight+t});let a=e.createInside.a();e.ed.body.appendChild(a),a.href=r.src,r.src=a.href,n.Dom.safeRemove(a),i.push(()=>{var e;r.src=null!=(e=s[2])?e:"",(0,o.attr)(r,{width:s[0]||null,height:s[1]||null})})})}catch(e){throw i.forEach(e=>e()),i.length=0,e}return i}(e,i);try{let a=e.e.fire("beforePreviewBox",t,i);if(null!=a)return a;let l=e.c.div("jodit__preview-box jodit-context");c&&c.appendChild(l),(0,s.css)(l,{position:"relative",padding:16});let d=e.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${e.i18n("Empty")}</div>`;if(e.iframe){let t=e.create.element("iframe");(0,s.css)(t,{minWidth:800,minHeight:600,border:0}),l.appendChild(t);let i=t.contentWindow;if(i&&(e.e.fire("generateDocumentStructure.iframe",i.document,e),l=i.document.body,"function"==typeof ResizeObserver)){let n=!1,r=i.document.body,o=new ResizeObserver(e.async.debounce(()=>{o.unobserve(r),t.style.height=`${r.offsetHeight+20}px`,e.async.requestAnimationFrame(()=>{n||o.observe(r)})},100)),s=()=>{n=!0,o.unobserve(r),o.disconnect(),e.e.off("beforeDestruct",s)};u.push(s),e.e.on("beforeDestruct",s)}}else(0,s.css)(l,{minWidth:1024,minHeight:600,border:0});let h=(t,i)=>{let s=(0,r.isString)(i)?e.c.div():i;(0,r.isString)(i)&&(s.innerHTML=i);for(let e=0;e<s.childNodes.length;e+=1){let i=s.childNodes[e];if(n.Dom.isElement(i)){let e=t.ownerDocument.createElement(i.nodeName);for(let t=0;t<i.attributes.length;t+=1)(0,o.attr)(e,i.attributes[t].nodeName,i.attributes[t].nodeValue);0===i.childNodes.length||n.Dom.isTag(i,"table")?"SCRIPT"===i.nodeName?i.textContent&&(e.textContent=i.textContent):i.innerHTML&&(e.innerHTML=i.innerHTML):h(e,i);try{t.appendChild(e)}catch(e){}}else try{t.appendChild(i.cloneNode(!0))}catch(e){}}};return h(l,d),e.e.fire("afterPreviewBox",l),[l,()=>{u.forEach(e=>e())}]}finally{d.forEach(e=>e())}}},58844:function(e,t,i){i.d(t,{reset:function(){return a}});var n=i(82758),r=i(23282),o=i(94643);let s={};function a(e){var t,i;if(!(e in s)){let i=n.globalDocument.createElement("iframe");try{if(i.src="about:blank",n.globalDocument.body.appendChild(i),!i.contentWindow)return null;let t=(0,o.get)(e,i.contentWindow),a=(0,o.get)(e.split(".").slice(0,-1).join("."),i.contentWindow);(0,r.isFunction)(t)&&(s[e]=t.bind(a))}catch(e){if(!n.IS_PROD)throw e}finally{null==(t=i.parentNode)||t.removeChild(i)}}return null!=(i=s[e])?i:null}},26395:function(e,t,i){i.d(t,{inView:function(){return r},scrollIntoViewIfNeeded:function(){return o}});var n=i(2748);function r(e,t,i){let n=e.getBoundingClientRect(),r=e,o=n.top,s=n.height;for(;r&&r!==t&&r.parentNode;)if(!(o<=(n=(r=r.parentNode).getBoundingClientRect()).bottom)||o+s<=n.top)return!1;return o<=(i.documentElement&&i.documentElement.clientHeight||0)}function o(e,t,i){n.Dom.isHTMLElement(e)&&!r(e,t,i)&&(t.clientHeight!==t.scrollHeight&&(t.scrollTop=e.offsetTop),r(e,t,i)||e.scrollIntoView())}},76078:function(e,t,i){i.d(t,{$$:function(){return d},cssPath:function(){return p},getXPathByElement:function(){return h},refs:function(){return f},resolveElement:function(){return m}});var n=i(82758),r=i(2748),o=i(4510),s=i(70799),a=i(87058),l=i(29960),c=i(89890);let u=1;function d(e,t){let i;if(!n.IS_ES_NEXT&&/:scope/.test(e)&&n.IS_IE&&!(t&&t.nodeType===Node.DOCUMENT_NODE)){let n=t.id,r=n||"_selector_id_"+String(Math.random()).slice(2)+ ++u;e=e.replace(/:scope/g,"#"+r),n||t.setAttribute("id",r),i=t.parentNode.querySelectorAll(e),n||t.removeAttribute("id")}else i=t.querySelectorAll(e);return[].slice.call(i)}let h=(e,t)=>{if(!e||e.nodeType!==Node.ELEMENT_NODE||!e.parentNode||t===e)return"";if(e.id)return"//*[@id='"+e.id+"']";let i=[].filter.call(e.parentNode.childNodes,t=>t.nodeName===e.nodeName);return h(e.parentNode,t)+"/"+e.nodeName.toLowerCase()+(i.length>1?"["+((0,o.toArray)(i).indexOf(e)+1)+"]":"")},f=e=>("container"in e&&(e=e.container),d("[ref],[data-ref]",e).reduce((e,t)=>{let i=(0,l.attr)(t,"-ref");return i&&(0,s.isString)(i)&&(e[(0,a.camelCase)(i)]=t,e[i]=t),e},{})),p=e=>{if(!r.Dom.isElement(e))return null;let t=[],i=e;for(;i&&i.nodeType===Node.ELEMENT_NODE;){let e=i.nodeName.toLowerCase();if(i.id){e+="#"+i.id,t.unshift(e);break}{let t=i,n=1;do(t=t.previousElementSibling)&&t.nodeName.toLowerCase()===e&&n++;while(t);e+=":nth-of-type("+n+")"}t.unshift(e),i=i.parentNode}return t.join(" > ")};function m(e,t){let i=e;if((0,s.isString)(e))try{i=t.querySelector(e)}catch(t){throw(0,c.error)('String "'+e+'" should be valid HTML selector')}if(!i||"object"!=typeof i||!r.Dom.isElement(i)||!i.cloneNode)throw(0,c.error)('Element "'+e+'" should be string or HTMLElement instance');return i}},3703:function(e,t,i){i.d(t,{set:function(){return a}});var n=i(68345),r=i(29807),o=i(72430),s=i(70799);function a(e,t,i){if(!(0,s.isString)(e)||!e.length)return;let a=e.split("."),l=i,c=a[0];for(let e=0;e<a.length-1;e+=1)c=a[e],(0,n.isArray)(l[c])||(0,o.isPlainObject)(l[c])||(l[c]=(0,r.isNumeric)(a[e+1])?[]:{}),l=l[c];l&&(l[a[a.length-1]]=t)}},50535:function(e,t,i){i.d(t,{LimitedStack:function(){return n}});class n{push(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(e){return this.stack.find(e)}constructor(e){this.limit=e,this.stack=[]}}},37790:function(e,t,i){i.d(t,{call:function(){return a},callPromise:function(){return u},callThis:function(){return l},getDataTransfer:function(){return p},getPropertyDescriptor:function(){return m},keys:function(){return h},loadImage:function(){return d},markOwner:function(){return c},memorizeExec:function(){return f}});var n=i(14773),r=i(86068),o=i(29960),s=i(86583);function a(e,...t){return e(...t)}function l(e,t,...i){return e.apply(t,i)}function c(e,t){(0,o.attr)(t,"data-editor_id",e.id),t.component||Object.defineProperty(t,"jodit",{value:e})}function u(e,t){return(0,n.isPromise)(e)?e.then(e=>e,()=>null).finally(t):null==t?void 0:t()}let d=(e,t)=>t.async.promise((i,n)=>{let r=new Image,o=()=>{t.e.off(r),null==n||n()},s=()=>{t.e.off(r),i(r)};t.e.one(r,"load",s).one(r,"error",o).one(r,"abort",o),r.src=e,r.complete&&s()}),h=(e,t=!0)=>{if(t)return Object.keys(e);let i=[];for(let t in e)i.push(t);return i},f=(e,t,{control:i},n)=>{var o;let a=`button${i.command}`,l=null!=(o=i.args&&i.args[0])?o:(0,s.dataBind)(e,a);if((0,r.isVoid)(l))return!1;(0,s.dataBind)(e,a,l),n&&(l=n(l)),e.execCommand(i.command,!1,null!=l?l:void 0)},p=e=>{if(e.clipboardData)return e.clipboardData;try{return e.dataTransfer||new DataTransfer}catch(e){return null}};function m(e,t){let i;do i=Object.getOwnPropertyDescriptor(e,t),e=Object.getPrototypeOf(e);while(!i&&e);return i}},31359:function(e,t,i){i.d(t,{init:function(){return s}});var n=i(82758),r=i(60132),o=i(14041);function s(e,t,i,s,a,l,c){if((0,r.isInitable)(s))try{s.init(e)}catch(e){if(!n.IS_PROD)throw e}a.set(t,s),l.delete(t),s.hasStyle&&(0,o.loadStyle)(e,t).catch(e=>{n.IS_PROD}),s.styles&&(c(e,t,"style").innerHTML=s.styles)}},14041:function(e,t,i){i.d(t,{loadExtras:function(){return d},loadStyle:function(){return c}});var n=i(82758),r=i(12475),o=i(63799),s=i(89672);function a(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}let l=new Set;function c(e,t){var i;return(i=function*(){let i=u(e,t,!1);if(!l.has(i))return l.add(i),(0,o.appendStyleAsync)(e,i)},function(){var e=this,t=arguments;return new Promise(function(n,r){var o=i.apply(e,t);function s(e){a(o,n,r,s,l,"next",e)}function l(e){a(o,n,r,s,l,"throw",e)}s(void 0)})})()}function u(e,t,i){t=(0,r.kebabCase)(t);let n=e.minified?".min":"";return e.basePath+"plugins/"+t+"/"+t+n+"."+(i?"js":"css")}function d(e,t,i,r){try{let n=i.filter(t=>!e.has((0,s.normalizeName)(t.name)));n.length&&n.map(e=>{let i=e.url||u(t,e.name,!0);return(0,o.appendScriptAsync)(t,i).then(r).catch(()=>null)})}catch(e){if(!n.IS_PROD)throw e}}},48591:function(e,t,i){i.d(t,{makeInstance:function(){return o}});var n=i(82758),r=i(23282);function o(e,t){try{try{return(0,r.isFunction)(t)?new t(e):t}catch(i){if((0,r.isFunction)(t)&&!t.prototype)return t(e)}}catch(e){if(!n.IS_PROD)throw e}return null}},89672:function(e,t,i){i.d(t,{normalizeName:function(){return r}});var n=i(12475);function r(e){return(0,n.kebabCase)(e).toLowerCase()}},50911:function(e,t,i){i.d(t,{Plugin:function(){return n.Plugin}});var n=i(20356);i(41876)},41876:function(e,t,i){i.d(t,{PluginSystem:function(){return f}});var n=i(82758),r=i(57012),o=i(46559),s=i(68345),a=i(60132),l=i(70799),c=i(31359),u=i(14041),d=i(48591),h=i(89672);class f{get size(){return this.__items.size}add(e,t){this.__items.set((0,h.normalizeName)(e),t),r.eventEmitter.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,h.normalizeName)(e))}remove(e){this.__items.delete((0,h.normalizeName)(e))}__getFullPluginsList(e){let t=[];return this.__items.forEach((i,n)=>{(!e||e.has(n))&&t.push([n,i])}),t}__init(e){let{extraList:t,disableList:i,filter:r}={extraList:e.o.extraPlugins.map(e=>(0,l.isString)(e)?{name:e}:e),disableList:new Set((0,o.splitArray)(e.o.disablePlugins).map(h.normalizeName)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null},f=new Map,p={},m=new Set;e.__plugins=p;let g=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(r).forEach(([n,r])=>{if(i.has(n)||f.has(n))return;let o=null==r?void 0:r.requires;if(o&&(0,s.isArray)(o)&&o.length){if(o.some(e=>i.has(e)))return;if(!o.every(e=>f.has(e)))return void m.add(n)}t=!0;let a=(0,d.makeInstance)(e,r);if(!a){f.set(n,null),m.delete(n);return}(0,c.init)(e,n,r,a,f,m,this.opts.getContainer),p[n]=a}),t&&(e.e.fire("updatePlugins"),g())};t&&t.length&&(0,u.loadExtras)(this.__items,e,t,g),g(),e.e.on("beforeDestruct",()=>{Object.keys(p).forEach(t=>{let i=p[t];(0,a.isDestructable)(i)&&i.destruct(e),delete p[t]}),delete e.__plugins}),n.IS_PROD||m.size}wait(e){return new Promise(t=>{if(this.get(e))return t();let i=()=>{t(),r.eventEmitter.off(`plugin:${e}:ready`,i)};r.eventEmitter.on(`plugin:${e}:ready`,i)})}constructor(e){this.opts=e,this.__items=new Map}}},20356:function(e,t,i){i.d(t,{Plugin:function(){return a}});var n=i(91907),r=i(65478),o=i(19306),s=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class a extends n.ViewComponent{className(){return"Plugin"}__afterPluginSystemInit(){let{j:e,buttons:t}=this;t&&(0,o.isJoditObject)(e)&&t.forEach(t=>{e.registerButton(t)})}__afterInit(){this.__inited=!0,this.setStatus(n.STATUSES.ready),this.afterInit(this.jodit)}init(e){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){var e;if(this.isInDestruct)return;let{j:t}=this;if(t.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(n.STATUSES.beforeDestruct),!this.__inited)return super.destruct();(0,o.isJoditObject)(t)&&(null==(e=this.buttons)||e.forEach(e=>{null==t||t.unregisterButton(e)})),this.beforeDestruct(this.j),super.destruct()}constructor(e){super(e),this.buttons=[],this.hasStyle=!1,this.__inited=!1,e.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}}a.requires=[],s([r.autobind],a.prototype,"__afterPluginSystemInit",null),s([r.autobind],a.prototype,"__afterInit",null),s([r.autobind],a.prototype,"__beforeDestruct",null)},54079:function(e,t,i){i.d(t,{Ajax:function(){return d}});var n=i(8884),r=i(82758),o=i(45219),s=i(21537),a=i(89890),l=i(6441);i(57459);var c=i(98582);function u(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}class d{className(){return"Ajax"}__buildParams(e,t){return(0,s.isPlainObject)(e)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(e):(0,s.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,e,t):(0,s.isString)(e)||e instanceof r.globalWindow.FormData||"object"==typeof e&&null!=e&&(0,s.isFunction)(e.append)?e:(0,s.buildQuery)(e)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(e){}return this}send(){this.__activated=!0;let{xhr:e,o:t}=this,i=this.prepareRequest();return this.__async.promise((n,r)=>{var o;return(o=function*(){var o;let l=()=>{this.__isFulfilled=!0,r(a.connection("Connection error"))},u=()=>{this.__isFulfilled=!0,n(new c.Response(i,e.status,e.statusText,!e.responseType?e.responseText:e.response))};e.onload=u,e.onabort=()=>{this.__isFulfilled=!0,r(a.abort("Abort connection"))},e.onerror=l,e.ontimeout=l,t.responseType&&(e.responseType=t.responseType),e.onprogress=e=>{var t,i;let n=0;e.lengthComputable&&(n=e.loaded/e.total*100),null==(i=(t=this.options).onProgress)||i.call(t,n)},e.onreadystatechange=()=>{var i,n;null==(n=(i=this.options).onProgress)||n.call(i,10),e.readyState===XMLHttpRequest.DONE&&(t.successStatuses.includes(e.status)?u():e.statusText&&(this.__isFulfilled=!0,r(a.connection(e.statusText))))},e.withCredentials=null!=(o=t.withCredentials)&&o;let{url:d,data:h,method:f}=i;e.open(f,d,!0),t.contentType&&e.setRequestHeader&&e.setRequestHeader("Content-type",t.contentType);let{headers:p}=t;(0,s.isFunction)(p)&&(p=yield p.call(this)),p&&e.setRequestHeader&&Object.keys(p).forEach(t=>{e.setRequestHeader(t,p[t])}),this.__async.setTimeout(()=>{e.send(h?this.__buildParams(h):void 0)},0)},function(){var e=this,t=arguments;return new Promise(function(i,n){var r=o.apply(e,t);function s(e){u(r,i,n,s,a,"next",e)}function a(e){u(r,i,n,s,a,"throw",e)}s(void 0)})}).call(this)})}prepareRequest(){if(!this.o.url)throw a.error("Need URL for AJAX request");let e=this.o.url,t=this.o.data,i=(this.o.method||"get").toLowerCase();if("get"===i&&t&&(0,s.isPlainObject)(t)){let i=e.indexOf("?");if(-1!==i){let n=(0,s.parseQuery)(e);e=e.substring(0,i)+"?"+(0,s.buildQuery)(function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},n,t))}else e+="?"+(0,s.buildQuery)(this.o.data)}let n={url:e,method:i,data:t};return d.log.splice(100),d.log.push(n),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(e,t=l.Config.prototype.defaultAjaxOptions){this.__async=new n.Async,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,s.ConfigProto)(e||{},t),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}d.log=[],function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);o>3&&s&&Object.defineProperty(t,i,s)}([o.autobind],d.prototype,"destruct",null)},57459:function(e,t,i){i(6441).Config.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr(){return new XMLHttpRequest}}},41601:function(e,t,i){i.d(t,{Ajax:function(){return n.Ajax},Response:function(){return r.Response}});var n=i(54079),r=i(98582)},98582:function(e,t,i){function n(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}function r(e){return function(){var t=this,i=arguments;return new Promise(function(r,o){var s=e.apply(t,i);function a(e){n(s,r,o,a,l,"next",e)}function l(e){n(s,r,o,a,l,"throw",e)}a(void 0)})}}i.d(t,{Response:function(){return o}});class o{get url(){return this.request.url}json(){return r(function*(){return JSON.parse(this.body)}).call(this)}text(){return Promise.resolve(this.body)}blob(){return r(function*(){return this.body}).call(this)}constructor(e,t,i,n){this.request=e,this.status=t,this.statusText=i,this.body=n}}},45124:function(e,t,i){i.d(t,{cursorInTheEdgeOfString:function(){return s},findCorrectCurrentNode:function(){return a},moveNodeInsideStart:function(){return o.moveNodeInsideStart}});var n=i(82758),r=i(2748),o=i(26716);function s(e,t,i,r){var o;let s=(null==(o=e.nodeValue)?void 0:o.length)?e.nodeValue:"";if(r&&s.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").length>t)return!0;let a=(0,n.INVISIBLE_SPACE_REG_EXP_START)().exec(s);return i&&(a&&a[0].length<t||!a&&t>0)}function a(e,t,i,n,o,s){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],i=!0),e&&n&&!r.Dom.isText(e)){if(!i&&r.Dom.isText(e.previousSibling))e=e.previousSibling;else if(o){let t=s(e);for(;t;){if(t&&r.Dom.isText(t)){e=t;break}t=s(t)}}}if(e&&!n&&!r.Dom.isText(e)){let t=e,i=e;do t=t.firstChild,i=i.lastChild;while(t&&i&&!r.Dom.isText(t));t===i&&t&&r.Dom.isText(t)&&(e=t)}return{node:e,rightMode:i}}i(43463)},26716:function(e,t,i){i.d(t,{moveNodeInsideStart:function(){return o}});var n=i(82758),r=i(2748);function o(e,t,i){let o=r.Dom.findSibling(t,i),s=r.Dom.findSibling(t,!i);for(;r.Dom.isElement(o)&&!r.Dom.isTag(o,n.INSEPARABLE_TAGS)&&r.Dom.isContentEditable(o,e.editor)&&(!s||!r.Dom.closest(t,r.Dom.isElement,e.editor));)i||!o.firstChild?o.appendChild(t):r.Dom.before(o.firstChild,t),o=r.Dom.sibling(t,i),s=r.Dom.sibling(t,!i)}},43463:function(e,t,i){i.d(t,{moveTheNodeAlongTheEdgeOutward:function(){return r}});var n=i(2748);function r(e,t,i){let r=e;for(;r&&r!==i&&!(n.Dom.findSibling(r,t)||n.Dom.isBlock(r.parentElement));)(r=r.parentElement)&&r!==i&&(t?n.Dom.before(r,e):n.Dom.after(r,e))}},59242:function(e,t,i){i.d(t,{CHANGE:function(){return o.CHANGE},CommitStyle:function(){return r.CommitStyle},REPLACE:function(){return o.REPLACE},Selection:function(){return n.Selection},UNWRAP:function(){return o.UNWRAP},WRAP:function(){return o.WRAP}});var n=i(79348),r=i(25639),o=i(77361)},79348:function(e,t,i){i.d(t,{Selection:function(){return f}});var n=i(82758),r=i(65478),o=i(2748),s=i(21537),a=i(27613),l=i(38837),c=i(43463),u=i(25639),d=i(45124),h=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class f{get j(){return this.jodit}errorNode(e){if(!o.Dom.isNode(e))throw(0,s.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,a.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:e}=this,t=(null==e?void 0:e.rangeCount)?e.getRangeAt(0):null;return!(!t||!o.Dom.isOrContains(this.area,t.startContainer))}createRange(e=!1){let t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){let e=this.sel,t=this.current();if(e&&t)for(let t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){var e,t;(null==(e=this.sel)?void 0:e.rangeCount)&&(null==(t=this.sel)||t.removeAllRanges())}removeNode(e){if(!o.Dom.isOrContains(this.j.editor,e,!0))throw(0,s.error)("Selection.removeNode can remove only editor's children");o.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{let i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let n=this.doc.caretPositionFromPoint(e,t);if(n)return i.setStart(n.offsetNode,n.offset)}if(this.doc.caretRangeFromPoint){let n=this.doc.caretRangeFromPoint(e,t);(0,l.assert)(n,"Incorrect caretRangeFromPoint behaviour"),i.setStart(n.startContainer,n.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch(e){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,s.$$)("span[data-"+n.MARKER_CLASS+"]",this.area)}removeMarkers(){o.Dom.safeRemove.apply(null,this.markers)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange()).collapse(e);let r=this.j.createInside.span();return r.id=n.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),r.style.lineHeight="0",r.style.display="none",o.Dom.markTemporary(r),(0,s.attr)(r,"data-"+n.MARKER_CLASS,e?"start":"end"),r.appendChild(this.j.createInside.text(n.INVISIBLE_SPACE)),i&&o.Dom.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(r),r}restore(){let e=!1,t=e=>`span[data-${n.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),r=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),r)e.setStartAfter(i),o.Dom.safeRemove(i),e.setEndBefore(r),o.Dom.safeRemove(r);else{let t=i.previousSibling;o.Dom.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),o.Dom.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){let e=this.sel;if(!e||!e.rangeCount)return[];let t=e.getRangeAt(0);(0,l.assert)(t,"Range is null");let i=t.cloneRange();i.collapse(!0);let n=this.j.createInside.fake();o.Dom.safeInsertNode(i,n),t.setStartBefore(n);let r=[n];if(!t.collapsed){let e=t.cloneRange();e.collapse(!1);let i=this.j.createInside.fake();o.Dom.safeInsertNode(e,i),t.setEndAfter(i),r.push(i)}return this.selectRange(t),r}restoreFakes(e){var t,i,n,r;let s=e.filter(e=>e.isConnected);if(!s.length)return;let[a,l]=s,c=this.createRange();c.setStartAfter(a),l&&c.setEndBefore(l),this.selectRange(c),(null==(t=a.parentNode)?void 0:t.firstChild)!==(null==(i=a.parentNode)?void 0:i.lastChild)&&o.Dom.safeRemove(a),(null==(n=null==l?void 0:l.parentNode)?void 0:n.firstChild)!==(null==(r=null==l?void 0:l.parentNode)?void 0:r.lastChild)&&o.Dom.safeRemove(l)}save(e=!1){if(this.hasMarkers)return[];let t=this.sel;if(!t||!t.rangeCount)return[];let i=[],n=t.rangeCount,r=[];for(let e=0;n>e;e+=1)if(r[e]=t.getRangeAt(e),r[e].collapsed){let t=this.marker(!0,r[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{let t=this.marker(!0,r[e]),n=this.marker(!1,r[e]);i[e]={startId:t.id,endId:n.id,collapsed:!1,startMarker:t.outerHTML,endMarker:n.outerHTML}}if(!e){t.removeAllRanges();for(let e=n-1;e>=0;--e){let n=this.doc.getElementById(i[e].startId);if(n){if(i[e].collapsed)r[e].setStartAfter(n),r[e].collapse(!0);else if(r[e].setStartBefore(n),i[e].endId){let t=this.doc.getElementById(i[e].endId);t&&r[e].setEndAfter(t)}try{t.addRange(r[e].cloneRange())}catch(e){}}}}return i}focus(e={preventScroll:!0}){var t,i;if(!this.isFocused()){let n=(0,s.getScrollParent)(this.j.container),r=null==n?void 0:n.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),r&&(null==n?void 0:n.scrollTo)&&n.scrollTo(0,r);let a=this.sel,l=(null==a?void 0:a.rangeCount)?null==a?void 0:a.getRangeAt(0):null;if(!l||!o.Dom.isOrContains(this.area,l.startContainer)){let e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||null==(i=null==(t=this.j)?void 0:t.events)||i.fire("focus"),!0}return!1}isCollapsed(){let e=this.sel;for(let t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==n.MODE_WYSIWYG)return null;let t=this.sel;if(!t||0===t.rangeCount)return null;let i=t.getRangeAt(0),r=i.startContainer,s=!1;if(o.Dom.isTag(r,"br")&&t.isCollapsed)return r;if(!o.Dom.isText(r)){let n=(0,d.findCorrectCurrentNode)(r,i,s,t.isCollapsed,e,e=>s?e.lastChild:e.firstChild);r=n.node,s=n.rightMode}return r&&o.Dom.isOrContains(this.area,r)?r:null}insertNode(e,t=!0,i=!0){this.errorNode(e);let n=o.Dom.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let r=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",e),r&&r.rangeCount){let t=r.getRangeAt(0),{firstChild:i}=e;o.Dom.isOrContains(this.area,t.commonAncestorContainer)?o.Dom.safeInsertNode(t,e):this.area.appendChild(e),[()=>null==i?void 0:i.previousSibling,()=>null==i?void 0:i.previousSibling,()=>{var e;return null==(e=null==i?void 0:i.previousSibling)?void 0:e.lastChild}].forEach(e=>{let t=e();t&&o.Dom.isEmptyTextNode(t)&&o.Dom.safeRemove(t)})}else this.area.appendChild(e);let i=e=>{if(o.Dom.isBlock(e)){let t=e.lastChild;if(t)return i(t)}this.setCursorAfter(e)};t&&(o.Dom.isFragment(e)?n&&i(n):i(e)),this.j.o.scrollToPastedContent&&(0,s.scrollIntoViewIfNeeded)(null!=n?n:e,this.j.editor,this.doc)}),i&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",o.Dom.isFragment(e)?n:e)}insertHTML(e,t=!0){if(""===e)return;let i=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),o.Dom.isNode(e)?i.appendChild(e):i.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",i.innerHTML))&&i.lastChild){for(;i.firstChild;)i.firstChild,n.appendChild(i.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,i=null){let n=(0,a.isString)(e)?this.j.createInside.element("img"):e;if((0,a.isString)(e)&&n.setAttribute("src",e),null!=i){let e=i.toString();e&&"auto"!==e&&0>String(e).indexOf("px")&&0>String(e).indexOf("%")&&(e+="px"),(0,s.attr)(n,"width",e)}t&&"object"==typeof t&&(0,s.css)(n,t);let r=()=>{(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",r)};this.j.e.on(n,"load",r),n.complete&&r(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}eachSelection(e){var t;let i=this.sel;if(!i||!i.rangeCount)return;let r=i.getRangeAt(0),l=r.commonAncestorContainer;o.Dom.isHTMLElement(l)||(l=l.parentElement);let c=[],u=r.startOffset,d=l.childNodes.length,h=r.startContainer===this.area?l.childNodes[u<d?u:d-1]:r.startContainer,f=r.endContainer===this.area?l.childNodes[r.endOffset-1]:r.endContainer;o.Dom.isText(h)&&h===r.startContainer&&r.startOffset===(null==(t=h.nodeValue)?void 0:t.length)&&h.nextSibling&&(h=h.nextSibling),o.Dom.isText(f)&&f===r.endContainer&&0===r.endOffset&&f.previousSibling&&(f=f.previousSibling);let p=e=>{!e||e===l||o.Dom.isEmptyTextNode(e)||(0,a.isMarker)(e)||c.push(e)};p(h),h!==f&&o.Dom.isOrContains(l,h,!0)&&o.Dom.find(h,e=>(p(e),e===f||e&&e.contains&&e.contains(f)),l,!0,!1);let m=t=>{if(o.Dom.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,s.toArray)(t.childNodes).forEach(m);if(o.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{let e=this.j.createInside.text(n.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===c.length&&(o.Dom.isEmptyTextNode(h)&&c.push(h),h.firstChild&&c.push(h.firstChild)),c.forEach(m)}cursorInTheEdge(e,t,i=null){var n;let r=!e,a=null==(n=this.sel)?void 0:n.getRangeAt(0);if(null!=i||(i=this.current(!1)),!a||!i||!o.Dom.isOrContains(t,i,!0))return null;let l=e?a.startContainer:a.endContainer,c=e?a.startOffset:a.endOffset,u=e=>!!(e&&!o.Dom.isTag(e,"br")&&!o.Dom.isEmptyTextNode(e)&&!o.Dom.isTemporary(e)&&!(o.Dom.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(o.Dom.isText(l)){if((0,d.cursorInTheEdgeOfString)(l,c,e,r))return!1}else{let e=(0,s.toArray)(l.childNodes);if(r){if(e.slice(c).some(u))return!1}else if(e.slice(0,c).some(u))return!1}let h=i;for(;h&&h!==t;){let t=o.Dom.sibling(h,e);if(!t){h=h.parentNode;continue}if((h=t)&&u(h))return!1}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){var i,n;if(this.errorNode(e),!o.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let r=this.createRange(),a=null;return o.Dom.isText(e)?t?r.setStart(e,0):r.setEnd(e,null!=(n=null==(i=e.nodeValue)?void 0:i.length)?n:0):(a=this.j.createInside.fake(),t?r.setStartBefore(e):r.setEndAfter(e),r.collapse(t),o.Dom.safeInsertNode(r,a),r.selectNode(a)),r.collapse(t),this.selectRange(r),a}setCursorIn(e,t=!1){if(this.errorNode(e),!o.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let i=this.createRange(),r=e,a=e;do{if(o.Dom.isText(r)||o.Dom.isTag(r,n.INSEPARABLE_TAGS))break;a=r,r=t?r.firstChild:r.lastChild}while(r);if(!r){let e=this.j.createInside.text(n.INVISIBLE_SPACE);o.Dom.isTag(a,n.INSEPARABLE_TAGS)?r=a:(a.appendChild(e),a=e)}let l=r||a;return o.Dom.isTag(l,n.INSEPARABLE_TAGS)?t||o.Dom.isTag(l,"br")?i.setStartBefore(l):i.setEndAfter(l):i.selectNodeContents(l),i.collapse(t),this.selectRange(i),a}selectRange(e,t=!0){let i=this.sel;return t&&!this.isFocused()&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!o.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,s.error)("Node element must be in editor");let i=this.createRange();return i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){let e=this.sel;if(e&&e.rangeCount>0){let t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){let t=this.jodit.createInside.element("font",n.INVISIBLE_SPACE);this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,o.Dom.unwrap(t);return}for(let e of((0,s.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,s.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,s.$$)("*[data-font-size]",this.area).forEach(e=>{let t=(0,s.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,s.attr)(e,"data-font-size",null))}),(0,s.$$)('font[size="7"]',this.area))){let{firstChild:t,lastChild:i}=e;if(t&&t===i&&(0,a.isMarker)(t)){o.Dom.unwrap(e);continue}t&&(0,a.isMarker)(t)&&o.Dom.before(e,t),i&&(0,a.isMarker)(i)&&o.Dom.after(e,i),yield e,o.Dom.unwrap(e)}}wrapInTag(e){let t=[];for(let i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&(0,a.isMarker)(i.firstChild))continue;(0,a.isFunction)(e)?e(i):t.push(o.Dom.replace(i,e,this.j.createInside))}finally{let e=i.parentNode;e&&(o.Dom.unwrap(i),o.Dom.isEmpty(e)&&o.Dom.unwrap(e))}return t}commitStyle(e){(0,l.assert)((0,s.size)(e)>0,"Need to pass at least one option"),new u.CommitStyle(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;let i=this.createRange(),r=this.range;i.setStartBefore(e);let s=this.cursorOnTheRight(e,t),a=this.cursorOnTheLeft(e,t),c=this.j.createInside.element("br"),u=this.j.createInside.fake(),d=u.cloneNode();try{if(s||a){t?o.Dom.before(t,c):o.Dom.safeInsertNode(r,c);let e=(e,t)=>{let i=t(e);for(;i;){let e=t(i);if(i&&(o.Dom.isTag(i,"br")||o.Dom.isEmptyTextNode(i)))o.Dom.safeRemove(i);else break;i=e}};e(c,e=>e.nextSibling),e(c,e=>e.previousSibling),o.Dom.after(c,d),o.Dom.before(c,u),s?(i.setEndBefore(c),r.setEndBefore(c)):(i.setEndAfter(c),r.setEndAfter(c))}else i.setEnd(r.startContainer,r.startOffset);let h=i.extractContents(),f=e=>o.Dom.each(e,e=>o.Dom.isEmptyTextNode(e)&&o.Dom.safeRemove(e));(0,l.assert)(e.parentNode,"Splitting fails");try{if(f(h),f(e),e.parentNode.insertBefore(h,e),!t&&s&&(null==c?void 0:c.parentNode)){let e=this.createRange();e.setStartBefore(c),this.selectRange(e)}}catch(e){if(!n.IS_PROD)throw e}let p=e=>{var t,i,n;(null==(t=null==e?void 0:e.parentNode)?void 0:t.firstChild)===(null==(i=null==e?void 0:e.parentNode)?void 0:i.lastChild)&&(null==(n=null==e?void 0:e.parentNode)||n.appendChild(c.cloneNode()))};p(u),p(d)}finally{o.Dom.safeRemove(u),o.Dom.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:e}=this,t=e.cloneRange();if(!o.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;let i=t=>{let i=this.j.createInside.fake(),n=e.cloneRange();return n.collapse(t),o.Dom.safeInsertNode(n,i),(0,c.moveTheNodeAlongTheEdgeOutward)(i,t,this.j.editor),i},n=i(!0),r=i(!1);t.setStartAfter(n),t.setEndBefore(r);let a=o.Dom.findSibling(n,!1),l=o.Dom.findSibling(r,!0);if(a!==l){let e=o.Dom.isElement(a)&&o.Dom.isOrContains(a,r),i=!e&&o.Dom.isElement(l)&&o.Dom.isOrContains(l,n);if(e||i){let i=e?a:l,s=i;for(;o.Dom.isElement(i);)(i=e?i.firstElementChild:i.lastElementChild)&&(e?o.Dom.isOrContains(i,r):o.Dom.isOrContains(i,n))&&(s=i);e?t.setStart(s,0):t.setEnd(s,s.childNodes.length)}}if(this.selectRange(t),o.Dom.safeRemove(n,r),this.isCollapsed())throw(0,s.error)("Selection is collapsed");return this}constructor(e){this.jodit=e,e.e.on("removeMarkers",()=>{this.removeMarkers()})}}h([r.autobind],f.prototype,"createRange",null),h([r.autobind],f.prototype,"focus",null),h([r.autobind],f.prototype,"setCursorAfter",null),h([r.autobind],f.prototype,"setCursorBefore",null),h([r.autobind],f.prototype,"setCursorIn",null)},32526:function(e,t,i){i.d(t,{extractSelectedPart:function(){return a}});var n=i(2748),r=i(78116),o=i(49055),s=i(37790);function a(e,t,i){let n=i.s.createRange(),o=(0,r.isMarker)(t.previousSibling)?t.previousSibling:t;n.setStartBefore(e),n.setEndBefore(o),l(e,n,!0);let s=(0,r.isMarker)(t.nextSibling)?t.nextSibling:t;n.setStartAfter(s),n.setEndAfter(e),l(e,n,!1)}function l(e,t,i){let r=t.extractContents();r.textContent&&(0,o.trim)(r.textContent).length||!r.firstChild||n.Dom.unwrap(r.firstChild),e.parentNode&&(0,s.call)(i?n.Dom.before:n.Dom.after,e,r)}},49996:function(e,t,i){i.d(t,{FiniteStateMachine:function(){return s}});var n=i(82758),r=i(70799),o=i(38837);class s{setState(e){(0,o.assert)(!this.__previewsStates.has(e),"Circled states"),this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(e,t){let i=this.transitions[this.getState()][e];if(i){let e=i.call(this,t);return(0,o.assert)(e&&e!==t,"Action should return new value"),(0,o.assert)((0,r.isString)(e.next),"Value should contain the next state"),(0,o.assert)(e.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(e.next),n.IS_PROD||this.silent,e}throw Error(`invalid action: ${this.getState()}.${e.toString()}`)}constructor(e,t){this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}}},23738:function(e,t,i){i.d(t,{getSuitChild:function(){return s}});var n=i(2748),r=i(29136),o=i(97380);function s(e,t){let{firstChild:i}=t;for(;i&&!(0,r.isNormalNode)(i);)if(!(i=i.nextSibling))return null;return i&&!n.Dom.next(i,r.isNormalNode,t)&&(0,o.isSuitElement)(e,i,!1)?i:null}},44602:function(e,t,i){i.d(t,{getSuitParent:function(){return function e(t,i,s){let{parentNode:a}=i;return a===s||!n.Dom.isHTMLElement(a)||n.Dom.next(i,r.isNormalNode,a)||n.Dom.prev(i,r.isNormalNode,a)?null:t.isElementCommit&&t.elementIsBlock&&!n.Dom.isBlock(a)?e(t,a,s):(0,o.isSuitElement)(t,a,!1)&&(!n.Dom.isBlock(a)||t.elementIsBlock)?a:t.isElementCommit&&!n.Dom.isBlock(a)?e(t,a,s):null}}});var n=i(2748),r=i(29136),o=i(97380)},22030:function(e,t,i){i.d(t,{hasSameStyle:function(){return c},hasSameStyleKeys:function(){return u}});var n=i(82758),r=i(2748),o=i(86068),s=i(3760),a=i(38837),l=i(41180);function c(e,t){return!!(!r.Dom.isTag(e,"font")&&r.Dom.isHTMLElement(e)&&Object.keys(t).every(i=>{let n=(0,l.css)(e,i,!0);return""===n&&(""===t[i]||null==t[i])||!(0,o.isVoid)(n)&&""!==n&&!(0,o.isVoid)(t[i])&&(0,s.normalizeCssValue)(i,t[i]).toString().toLowerCase()===n.toString().toLowerCase()}))}if(n.globalDocument){let e=n.globalDocument.createElement("div");e.style.color="red",(0,a.assert)(c(e,{color:"red"}),"Style test"),(0,a.assert)(c(e,{fontSize:null}),"Style test"),(0,a.assert)(c(e,{fontSize:""}),"Style test")}function u(e,t){return!!(!r.Dom.isTag(e,"font")&&r.Dom.isHTMLElement(e)&&Object.keys(t).every(t=>""!==(0,l.css)(e,t,!0)))}if(n.globalDocument){let e=n.globalDocument.createElement("div");e.style.color="red",(0,a.assert)(u(e,{color:"red"}),"Style test"),(0,a.assert)(!u(e,{font:"Arial",color:"red"}),"Style test"),(0,a.assert)(!u(e,{border:"1px solid #ccc"}),"Style test")}},63687:function(e,t,i){i.d(t,{FiniteStateMachine:function(){return r.FiniteStateMachine},extractSelectedPart:function(){return n.extractSelectedPart},getSuitChild:function(){return o.getSuitChild},getSuitParent:function(){return s.getSuitParent},isInsideInvisibleElement:function(){return a.isInsideInvisibleElement},suitableClosest:function(){return l.suitableClosest},toggleAttributes:function(){return u.toggleAttributes},toggleOrderedList:function(){return c.toggleOrderedList},unwrapChildren:function(){return d.unwrapChildren},wrap:function(){return h.wrap}});var n=i(32526),r=i(49996),o=i(23738),s=i(44602);i(22030);var a=i(64291);i(29136),i(94466);var l=i(97380),c=i(20199);i(82515);var u=i(44253),d=i(75882),h=i(19263);i(6980)},64291:function(e,t,i){i.d(t,{isInsideInvisibleElement:function(){return r}});var n=i(2748);function r(e,t){return!!n.Dom.closest(e,["style","script"],t)}},29136:function(e,t,i){i.d(t,{isNormalNode:function(){return o}});var n=i(2748),r=i(78116);function o(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,r.isMarker)(e))}},94466:function(e,t,i){i.d(t,{elementsEqualAttributes:function(){return l},isSameAttributes:function(){return a}});var n=i(21496),r=i(43555),o=i(38837),s=i(22030);function a(e,t){return!((e.attributes.length||(0,n.size)(t))&&(0,n.size)(t))||((0,o.assert)(t,"Attrs must be a non-empty object"),Object.keys(t).every(i=>"class"===i||"className"===i?e.classList.contains(t[i]):"style"===i?(0,s.hasSameStyle)(e,t[i]):(0,r.attr)(e,i)===t[i]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},97380:function(e,t,i){i.d(t,{isSameStyleChild:function(){return l},isSuitElement:function(){return s},suitableClosest:function(){return a}});var n=i(2748),r=i(22030),o=i(29136);function s(e,t,i,a=!0){var l;if(!t||!(0,o.isNormalNode)(t))return!1;let{element:c,elementIsDefault:u,options:d}=e;if(n.Dom.isList(t)&&e.elementIsList)return!0;let h=n.Dom.isTag(t,c);return!!(h&&!(u&&i)||(null==(l=d.attributes)?void 0:l.style)&&(a?(0,r.hasSameStyle)(t,d.attributes.style):(0,r.hasSameStyleKeys)(t,d.attributes.style))&&!e.elementIsList)||!h&&!i&&u&&n.Dom.isInlineBlock(t)}function a(e,t,i){return n.Dom.closest(t,t=>s(e,t,!0,!1),i)}function l(e,t){var i,n;let{element:s,options:a}=e;if(!t||!(0,o.isNormalNode)(t))return!1;let l=t.nodeName.toLowerCase()===s,c=!!((null==(i=a.attributes)?void 0:i.style)&&(0,r.hasSameStyleKeys)(t,null==(n=a.attributes)?void 0:n.style));return l&&c}},20199:function(e,t,i){i.d(t,{toggleOrderedList:function(){return c}});var n=i(2748),r=i(38837),o=i(32526),s=i(44253),a=i(77361),l=i(82515);function c(e,t,i,n){if(!t)return n;let r=t.parentElement;if(!r)return n;let o=i.e.fire(`${a._PREFIX}BeforeToggleList`,n,e,r);if(void 0!==o)return o;let c=i.e.fire.bind(i.e,`${a._PREFIX}AfterToggleList`);if(n!==a.UNWRAP){let o=(0,s.toggleAttributes)(e,t.parentElement,i,a.INITIAL,!0)===a.CHANGE;if(n===a.REPLACE||o||r.tagName.toLowerCase()!==e.element){let n=u(a.REPLACE,r,t,i,e),o=(0,l.wrapList)(e,n,i);return c(a.REPLACE,o,e),a.REPLACE}}let d=u(a.UNWRAP,r,t,i,e);return c(a.UNWRAP,d,e),a.UNWRAP}function u(e,t,i,s,l){let c=s.e.fire(`${a._PREFIX}BeforeUnwrapList`,e,t,l);return c?((0,r.assert)(n.Dom.isHTMLElement(c),`${a._PREFIX}BeforeUnwrapList hook must return HTMLElement`),c):((0,o.extractSelectedPart)(t,i,s),(0,r.assert)(n.Dom.isHTMLElement(i.parentElement),"Element should be inside the list"),n.Dom.unwrap(i.parentElement),n.Dom.replace(i,"br"!==s.o.enter.toLowerCase()?s.o.enter:s.createInside.fragment(),s.createInside))}},82515:function(e,t,i){i.d(t,{wrapList:function(){return a}});var n=i(2748),r=i(94466),o=i(44253),s=i(77361);function a(e,t,i){let a=i.e.fire(`${s._PREFIX}BeforeWrapList`,s.REPLACE,t,e),l=null!=a?a:n.Dom.replace(t,"li",i.createInside),c=l.previousElementSibling,u=l.nextElementSibling,d=n.Dom.isTag(c,e.element)?c:null;return null!=d||(d=n.Dom.isTag(u,e.element)?u:null),n.Dom.isList(d)&&(0,r.isSameAttributes)(d,e.options.attributes)||(d=i.createInside.element(e.element),(0,o.toggleAttributes)(e,d,i,s.INITIAL),n.Dom.before(l,d)),c===d?n.Dom.append(d,l):n.Dom.prepend(d,l),n.Dom.isTag(d.nextElementSibling,e.element)&&(0,r.elementsEqualAttributes)(d,d.nextElementSibling)&&(n.Dom.append(d,Array.from(d.nextElementSibling.childNodes)),n.Dom.safeRemove(d.nextElementSibling)),i.e.fire(`${s._PREFIX}AfterWrapList`,s.WRAP,d,e),d}},44253:function(e,t,i){i.d(t,{toggleAttributes:function(){return m}});var n=i(82758),r=i(2748),o=i(580),s=i(27613),a=i(3760),l=i(21496),c=i(12475),u=i(43555),d=i(41180),h=i(86583),f=i(77361);let p="toggleAttributes";function m(e,t,i,v,b=!1){if(!b&&e.isApplied(t,p))return v;b||e.setApplied(t,p);let{attributes:y}=e.options;return y&&(0,l.size)(y)>0&&Object.keys(y).forEach(p=>{var m,w,S;let _=y[p];switch(p){case"style":m=v,(0,u.assert)((0,s.isPlainObject)(_)&&(0,l.size)(_),"Style must be an object"),Object.keys(_).forEach(s=>{let l=t.style.getPropertyValue((0,c.kebabCase)(s)),u=_[s];if(""!==l||null!=u){let c,p;if((c=i.create.element(t.tagName.toLowerCase())).style.cssText=t.style.cssText,(function(e){var t;if(void 0!==(0,h.dataBind)(e,"shadowRoot"))return(0,h.dataBind)(e,"shadowRoot");let i=(0,o.getContainer)(e),r=n.globalDocument.createElement("iframe");(0,d.css)(r,{width:0,height:0,position:"absolute",border:0}),r.src="about:blank",i.appendChild(r);let s=null==(t=r.contentWindow)?void 0:t.document,a=s?s.body:e.od.body;return(0,h.dataBind)(e,"shadowRoot",a),a})(i).appendChild(c),p=(0,d.css)(c,s),r.Dom.safeRemove(c),p===(0,a.normalizeCssValue)(s,u)){if(!l)return;b||(0,d.css)(t,s,null),m=g(e,t,m=f.UNSET);return}m=f.CHANGE,b||((0,d.css)(t,s,u),m=g(e,t,m))}}),v=m;break;case"className":case"class":let C;w=v,(0,u.assert)((0,s.isString)(_),"Class name must be a string"),C=i.e.fire.bind(i.e,`${f._PREFIX}AfterToggleAttribute`),t.classList.contains(_.toString())?(w=f.UNSET,b||(t.classList.remove(_),0===t.classList.length&&((0,u.attr)(t,"class",null),C(w,t,"class",null)))):(w=f.CHANGE,b||(t.classList.add(_),C(w,t,"class",_))),v=w;break;default:let k;S=v,(0,u.assert)((0,s.isString)(_)||(0,s.isNumber)(_)||(0,s.isBoolean)(_)||null==_,"Attribute value must be a string or number or boolean or null"),k=i.e.fire.bind(i.e,`${f._PREFIX}AfterToggleAttribute`),(0,u.attr)(t,p)===_?(b||(0,u.attr)(t,p,null),S=f.UNSET,b||k(S,t,p,_)):(S=f.CHANGE,b||((0,u.attr)(t,p,_),k(S,t,p,_))),v=S}}),v}function g(e,t,i){return(0,u.attr)(t,"style")||((0,u.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(r.Dom.unwrap(t),i=f.UNWRAP)),i}},75882:function(e,t,i){i.d(t,{unwrapChildren:function(){return a}});var n=i(2748),r=i(43555),o=i(22030),s=i(97380);function a(e,t){var i;let a,l=[],c=[],u=null==(i=e.options.attributes)?void 0:i.style;if(t.firstChild){let i=n.Dom.eachGen(t),d=i.next();for(;!d.done;){let t=d.value;(0,s.isSuitElement)(e,t,!0)&&(!u||(0,o.hasSameStyleKeys)(t,u))?(void 0===a&&(a=!0),l.push(t)):u&&(0,s.isSameStyleChild)(e,t)?(void 0===a&&(a=!1),c.push(()=>{(0,r.css)(t,Object.keys(u).reduce((e,t)=>(e[t]=null,e),{})),(0,r.attr)(t,"style")||(0,r.attr)(t,"style",null),(0,r.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||l.push(t)})):n.Dom.isEmptyTextNode(t)||void 0!==a||(a=!1),d=i.next()}}return c.forEach(e=>e()),l.forEach(n.Dom.unwrap),!!a}},6980:function(e,t,i){i.d(t,{wrapUnwrappedText:function(){return o}});var n=i(2748),r=i(78116);function o(e,t,i){let o=i.editor,s=i.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,r.isMarker)(a)&&!n.Dom.isTag(a,i.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!n.Dom.isBlock(a.parentNode)&&a.parentNode!==o?a.parentNode:null,!n.Dom.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),u=i.s.createRange();u.setStartBefore(l),u.setEndAfter(c);let d=u.extractContents(),h=s.element(e.element);return h.appendChild(d),n.Dom.safeInsertNode(u,h),e.elementIsBlock&&n.Dom.isEmpty(h)&&!n.Dom.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},19263:function(e,t,i){i.d(t,{wrap:function(){return a}});var n=i(22732),r=i(29960),o=i(82515),s=i(6980);function a(e,t,i){var a,c,u;let d=(a=e,c=t,u=i,a.elementIsBlock?n.Dom.up(c,e=>n.Dom.isBlock(e)&&!n.Dom.isTag(e,l),u.editor)||(0,s.wrapUnwrappedText)(a,c,u):((0,r.attr)(c,"size",null),c));return e.elementIsList?(0,o.wrapList)(e,d,i):n.Dom.replace(d,e.element,i.createInside,!0)}let l=new Set(["td","th","tr","tbody","table","li","ul","ol"])},83632:function(e,t,i){i.d(t,{ApplyStyle:function(){return s}});var n=i(63687),r=i(77361),o=i(55307);function s(e,t){var i;let{s:s,editor:a}=e;null==(i=a.firstChild)||i.normalize();let l=s.fakes(),c=e.s.wrapInTagGen(l),u=c.next();if(u.done)return;let d={collapsed:s.isCollapsed(),mode:r.INITIAL,element:u.value,next:o.states.START,jodit:e,style:t};for(;u&&!u.done;){let e=new n.FiniteStateMachine(o.states.START,o.transactions);for(d.element=u.value;e.getState()!==o.states.END;)d=e.dispatch("exec",d);u=c.next()}s.restoreFakes(l)}},25639:function(e,t,i){i.d(t,{CommitStyle:function(){return a}});var n=i(82758),r=i(87058),o=i(77361),s=i(83632);class a{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){var i;let n=null!=(i=this.__applyMap.get(e))?i:{};n[t]=!0,this.__applyMap.set(e,n)}get elementIsList(){return!!(this.options.element&&n.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&n.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,r.camelCase)(o._PREFIX+"_"+i),t[i])}),(0,s.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,r.camelCase)(o._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){this.options=e,this.__applyMap=new WeakMap}}},77361:function(e,t,i){i.d(t,{CHANGE:function(){return o},INITIAL:function(){return a},REPLACE:function(){return l},UNSET:function(){return s},UNWRAP:function(){return r},WRAP:function(){return n},_PREFIX:function(){return c}});let n="wrap",r="unwrap",o="change",s="unset",a="initial",l="replace",c="commitStyle"},55307:function(e,t,i){i.d(t,{states:function(){return u},transactions:function(){return d}});var n=i(82758),r=i(2748),o=i(38837),s=i(63687),a=i(77361);function l(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function c(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}let u={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},d={[u.START]:{exec(e){let{element:t,jodit:i,style:n,mode:o,collapsed:d}=e;if((0,s.isInsideInvisibleElement)(t,i.editor)||!d&&r.Dom.isEmptyContent(t))return c(l({},e),{next:u.END});let h=(0,s.getSuitParent)(n,t,i.editor)||(0,s.getSuitChild)(n,t);if(h)return c(l({},e),{next:u.ELEMENT,element:h});let f=(0,s.suitableClosest)(n,t,i.editor);return n.elementIsList&&r.Dom.isList(f)?c(l({},e),{next:u.LIST}):f?c(l({},e),{next:u.EXTRACT}):c(l({},e),{next:o!==a.UNWRAP?u.UNWRAP_CHILDREN:u.END})}},[u.LIST]:{exec(e){let{element:t,jodit:i,mode:o}=e;if(o!==a.INITIAL&&o!==a.UNWRAP&&o!==a.REPLACE)return c(l({},e),{next:u.END});let s=r.Dom.closest(t,"li",i.editor);return s&&r.Dom.closest(t,n.LIST_TAGS,i.editor)?c(l({},e),{element:s,next:u.TOGGLE_LIST}):c(l({},e),{next:u.END})}},[u.TOGGLE_LIST]:{exec(e){return c(l({},e),{mode:(0,s.toggleOrderedList)(e.style,e.element,e.jodit,e.mode),next:u.END})}},[u.EXTRACT]:{exec(e){var t;let{element:i,jodit:n,style:a}=e,d=(0,s.suitableClosest)(a,i,n.editor);return((0,o.assert)(d,"This place should have an element"),!a.elementIsBlock&&(null==(t=a.options.attributes)?void 0:t.style)&&r.Dom.isBlock(d))?c(l({},e),{next:u.WRAP}):(a.elementIsBlock||(0,s.extractSelectedPart)(d,i,n),c(l({},e),{element:d,next:u.ELEMENT}))}},[u.UNWRAP_CHILDREN]:{exec(e){let{element:t,style:i}=e;return(0,s.unwrapChildren)(i,t)?c(l({},e),{mode:a.UNWRAP,next:u.END}):c(l({},e),{next:u.WRAP})}},[u.WRAP]:{exec(e){let{element:t,jodit:i,style:n}=e,r=(0,s.wrap)(n,t,i);return c(l({},e),{next:n.elementIsList?u.END:u.CHANGE,mode:a.WRAP,element:r})}},[u.ELEMENT]:{exec(e){let{style:t,element:i,jodit:n}=e;return(0,s.toggleAttributes)(t,i,n,a.INITIAL,!0)!==a.INITIAL?c(l({},e),{next:u.CHANGE}):r.Dom.isTag(i,t.element)?c(l({},e),{next:u.UNWRAP}):c(l({},e),{next:u.END})}},[u.CHANGE]:{exec(e){let{style:t,element:i,jodit:n,mode:o}=e,d=(0,s.toggleAttributes)(t,i,n,e.mode);return o!==a.WRAP&&d===a.UNSET&&!i.attributes.length&&r.Dom.isTag(i,t.element)?c(l({},e),{next:u.UNWRAP}):c(l({},e),{mode:d,next:u.END})}},[u.UNWRAP]:{exec(e){return e.element.attributes.length&&r.Dom.isTag(e.element,e.style.element)?c(l({},e),{next:u.REPLACE_DEFAULT}):(r.Dom.unwrap(e.element),c(l({},e),{mode:a.UNWRAP,next:u.END}))}},[u.REPLACE_DEFAULT]:{exec(e){return r.Dom.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),c(l({},e),{mode:a.REPLACE,next:u.END})}},[u.END]:{exec(e){return e}}}},97333:function(e,t,i){i.d(t,{AsyncStorage:function(){return u}});var n=i(87058),r=i(2621),o=i(65638),s=i(21162),a=i(6700);function l(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}function c(e){return function(){var t=this,i=arguments;return new Promise(function(n,r){var o=e.apply(t,i);function s(e){l(o,n,r,s,a,"next",e)}function a(e){l(o,n,r,s,a,"throw",e)}s(void 0)})}}class u{set(e,t){return c(function*(){let i=yield this.provider;return yield i.set((0,n.camelCase)(this.prefix+e),t),this}).call(this)}delete(e){return c(function*(){let t=yield this.provider;return yield t.delete((0,n.camelCase)(this.prefix+e)),this}).call(this)}get(e){return c(function*(){return(yield this.provider).get((0,n.camelCase)(this.prefix+e))}).call(this)}exists(e){return c(function*(){return(yield this.provider).exists((0,n.camelCase)(this.prefix+e))}).call(this)}clear(){return c(function*(){let e=yield this.provider;return yield e.clear(),this}).call(this)}close(){return c(function*(){let e=yield this.provider;"close"in e&&"function"==typeof e.close&&(yield e.close())}).call(this)}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,o.canUsePersistentStorage)(e)&&(i=new o.LocalStorageProvider(a.StorageKey+(t||""),e)):("indexedDB"===e||!0===e)&&(i=(0,r.canUseIndexedDB)().then(e=>e?new r.IndexedDBProvider(a.StorageKey+(t||""),"keyValueStore"):new s.MemoryStorageProvider)),i||(i=new s.MemoryStorageProvider),new u(Promise.resolve(i),t)}constructor(e,t){this.provider=e,this.prefix=a.StorageKey,t&&(this.prefix+=t)}}},2621:function(e,t,i){i.d(t,{IndexedDBProvider:function(){return s},canUseIndexedDB:function(){return c},clearUseIndexedDBCache:function(){return l}});var n=i(82758);function r(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}function o(e){return function(){var t=this,i=arguments;return new Promise(function(n,o){var s=e.apply(t,i);function a(e){r(s,n,o,a,l,"next",e)}function l(e){r(s,n,o,a,l,"throw",e)}a(void 0)})}}class s{getDB(){return this.dbPromise||(this.dbPromise=new Promise((e,t)=>{let i=indexedDB.open(this.dbName,this.DB_VERSION);i.onerror=()=>{t(i.error)},i.onsuccess=()=>{e(i.result)},i.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName)}})),this.dbPromise}performTransaction(e,t){return o(function*(){try{let i=(yield this.getDB()).transaction([this.storeName],e).objectStore(this.storeName),n=t(i);return new Promise((e,t)=>{n.onsuccess=()=>{e(n.result)},n.onerror=()=>{t(n.error)}})}catch(e){return Promise.reject(e)}}).call(this)}set(e,t){return o(function*(){try{yield this.performTransaction("readwrite",i=>i.put(t,e))}catch(e){n.IS_PROD}return this}).call(this)}delete(e){return o(function*(){try{yield this.performTransaction("readwrite",t=>t.delete(e))}catch(e){}return this}).call(this)}get(e){return o(function*(){try{return yield this.performTransaction("readonly",t=>t.get(e))}catch(e){return}}).call(this)}exists(e){return o(function*(){try{let t=yield this.performTransaction("readonly",t=>t.get(e));return void 0!==t}catch(e){return!1}}).call(this)}clear(){return o(function*(){try{yield this.performTransaction("readwrite",e=>e.clear())}catch(e){}return this}).call(this)}close(){return o(function*(){if(this.dbPromise){try{(yield this.dbPromise).close()}catch(e){}this.dbPromise=null}}).call(this)}keys(){return o(function*(){try{let e=yield this.performTransaction("readonly",e=>e.getAllKeys());return e&&"object"==typeof e&&"then"in e&&(e=yield e),e.map(e=>String(e))}catch(e){return[]}}).call(this)}values(){return o(function*(){try{let e=yield this.performTransaction("readonly",e=>e.getAll());return e&&"object"==typeof e&&"then"in e&&(e=yield e),e}catch(e){return[]}}).call(this)}entries(){return o(function*(){try{let[e,t]=yield Promise.all([this.keys(),this.values()]);return e.map((e,i)=>[e,t[i]])}catch(e){return[]}}).call(this)}constructor(e="JoditDB",t="keyValueStore"){this.dbName=e,this.dbPromise=null,this.DB_VERSION=1,this.storeName=t}}let a=null;function l(){a=null}function c(){return o(function*(){if(null!=a)return a;try{if("u"<typeof indexedDB)return a=!1,!1;let e="___Jodit___"+Math.random().toString(),t=indexedDB.open(e);return a=yield new Promise(i=>{t.onerror=()=>{i(!1)},t.onsuccess=()=>{indexedDB.deleteDatabase(e),i(!0)}})}catch(e){return a=!1,!1}})()}},65638:function(e,t,i){i.d(t,{LocalStorageProvider:function(){return r},canUsePersistentStorage:function(){return n}});let n=(e="localStorage")=>{let t=new Map;if(t.has(e))return t.get(e);let i="___Jodit___"+Math.random().toString(),n="sessionStorage"===e?sessionStorage:localStorage;try{n.setItem(i,"1");let r="1"===n.getItem(i);return n.removeItem(i),t.set(e,r),r}catch(e){}return t.set(e,!1),!1};class r{get storage(){return"sessionStorage"===this.strategy?sessionStorage:localStorage}set(e,t){try{let i=this.storage.getItem(this.rootKey),n=i?JSON.parse(i):{};n[e]=t,this.storage.setItem(this.rootKey,JSON.stringify(n))}catch(e){}return this}delete(e){try{this.storage.removeItem(this.rootKey)}catch(e){}return this}get(e){try{let t=this.storage.getItem(this.rootKey),i=t?JSON.parse(t):{};return void 0!==i[e]?i[e]:void 0}catch(e){}}exists(e){return null!=this.get(e)}clear(){try{this.storage.removeItem(this.rootKey)}catch(e){}return this}constructor(e,t="localStorage"){this.rootKey=e,this.strategy=t}}},21162:function(e,t,i){i.d(t,{MemoryStorageProvider:function(){return n}});class n{set(e,t){return this.data.set(e,t),this}delete(e){return this.data.delete(e),this}get(e){return this.data.get(e)}exists(e){return this.data.has(e)}clear(){return this.data.clear(),this}constructor(){this.data=new Map}}},12081:function(e,t,i){i.d(t,{AsyncStorage:function(){return n.AsyncStorage},IndexedDBProvider:function(){return r.IndexedDBProvider},LocalStorageProvider:function(){return o.LocalStorageProvider},MemoryStorageProvider:function(){return s.MemoryStorageProvider},Storage:function(){return a.Storage},StorageKey:function(){return a.StorageKey},canUseIndexedDB:function(){return r.canUseIndexedDB},canUsePersistentStorage:function(){return o.canUsePersistentStorage},clearUseIndexedDBCache:function(){return r.clearUseIndexedDBCache}});var n=i(97333),r=i(2621),o=i(65638),s=i(21162),a=i(6700)},6700:function(e,t,i){i.d(t,{Storage:function(){return a},StorageKey:function(){return s}});var n=i(87058),r=i(65638),o=i(21162);let s="Jodit_";class a{set(e,t){return this.provider.set((0,n.camelCase)(this.prefix+e),t),this}delete(e){return this.provider.delete((0,n.camelCase)(this.prefix+e)),this}get(e){return this.provider.get((0,n.camelCase)(this.prefix+e))}exists(e){return this.provider.exists((0,n.camelCase)(this.prefix+e))}clear(){return this.provider.clear(),this}static makeStorage(e=!1,t){let i;return"localStorage"===e||"sessionStorage"===e?(0,r.canUsePersistentStorage)(e)&&(i=new r.LocalStorageProvider(s+(t||""),e)):!0===e&&(0,r.canUsePersistentStorage)("localStorage")&&(i=new r.LocalStorageProvider(s+(t||""))),i||(i=new o.MemoryStorageProvider),new a(i,t)}constructor(e,t){this.provider=e,this.prefix=s,t&&(this.prefix+=t)}}},70231:function(e,t,i){i.d(t,{Dlgs:function(){return a}});var n=i(580),r=i(27613),o=i(37790),s=i(638);class a{dlg(e){let t=(0,n.getPopupViewRoot)(this.o,this.container,this.od.body),i=new s.Dialog(function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize},e));return(0,o.markOwner)(this,i.container),i.parent=this,i.bindDestruct(this)}confirm(e,t,i){return e=l(e,this),t=l(t,this),s.Confirm.call(this.dlg({closeOnClickOverlay:!0}),e,t,i)}prompt(e,t,i,n,r){return e=l(e,this),t=l(t,this),n=l(n,this),s.Prompt.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n,r)}alert(e,t,i,n){return e=l(e,this),t=l(t,this),s.Alert.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n)}}function l(e,t){return(0,r.isString)(e)&&!(0,r.isHTML)(e)&&(e=t.i18n(e)),e}},14316:function(e,t,i){i.d(t,{Elms:function(){return r}});var n=i(4510);class r{getElm(e){return this.container.querySelector(`.${this.getFullElName(e)}`)}getElms(e){return(0,n.toArray)(this.container.querySelectorAll(`.${this.getFullElName(e)}`))}}},34176:function(e,t,i){i.d(t,{Mods:function(){return r}});var n=i(86068);class r{afterSetMod(e,t){}setMod(e,t,i){e=e.toLowerCase();let r=this.mods[e];if(r===t)return this;let o=`${this.componentName}_${e}_`,s=(i||this.container).classList;return null!=r&&s.remove(`${o}${r.toString().toLowerCase()}`),(0,n.isVoid)(t)||""===t||s.add(`${o}${t.toString().toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){var t;return null!=(t=this.mods[e])?t:null}}},10830:function(e,t,i){i.d(t,{Button:function(){return v},UIButton:function(){return g},UIButtonState:function(){return m}});var n=i(78213),r=i(33433),o=i(87325),s=i(37133),a=i(2748),l=i(23282),c=i(70799),u=i(38837),d=i(29960),h=i(48538),f=i(12153),p=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let m=()=>({size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:"",scale:void 0},tooltip:"",text:"",tabIndex:void 0}),g=class e extends h.UIElement{className(){return"UIButton"}setState(e){return Object.assign(this.state,e),this}get text(){let e=this.getElm("text");return(0,u.assert)(e,"Text element not found"),e}get icon(){let e=this.getElm("icon");return(0,u.assert)(e,"Icon element not found"),e}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,d.attr)(this.container,"type",this.state.type)}onChangeRole(){(0,d.attr)(this.container,"role",this.state.role)}updateSize(){let e=(0,o.getComponentClass)("UIList"),t=this.closest(e);if(t){this.state.size=t.buttonSize;return}}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text),this.updateAriaLabel()}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,d.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,d.attr)(this.container,"aria-pressed",this.state.activated)}onChangeName(){this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`),this.name=this.state.name,(0,d.attr)(this.container,"data-ref",this.state.name),(0,d.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;this.get("j.o.useNativeTooltip")&&(0,d.attr)(this.container,"title",e),(0,d.attr)(this.container,"aria-label",e),this.updateAriaLabel()}updateAriaLabel(){let e=this.state.text.trim().length>0,t=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,d.attr)(this.container,"aria-label",t),(0,d.attr)(this.button,"aria-label",e?null:t)}onChangeTabIndex(){(0,d.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){let e=this.get("j.o.textIcons");if(!0===e||(0,l.isFunction)(e)&&e(this.state.name))return;a.Dom.detach(this.icon);let t=f.Icon.makeIcon(this.j,this.state.icon);t&&this.icon.appendChild(t)}focus(){this.container.focus()}isFocused(){let{activeElement:e}=this.od;return!!(e&&a.Dom.isOrContains(this.container,e))}createContainer(){let e=this.componentName,t=this.j.c.element("button",{class:e,type:"button",role:"button",ariaPressed:!1}),i=this.j.c.span(e+"__icon"),n=this.j.c.span(e+"__text");return t.appendChild(i),t.appendChild(n),t}destruct(){return this.j.e.off(this),this.j.e.off(this.container),super.destruct()}onAction(e){return this.actionHandlers.push(e),this}__onActionFire(e){e.buffer={actionTrigger:this},this.actionHandlers.forEach(t=>t.call(this,e)),this.j.e.fire(this,"click",e)}constructor(e,t){super(e),this.isButton=!0,this.state=m(),this.actionHandlers=[],this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),t&&this.hookStatus(n.STATUSES.ready,()=>{this.setState(t)})}};function v(e,t,i,n){let r=new g(e);return r.state.tabIndex=e.o.allowTabNavigation?0:-1,(0,c.isString)(t)?(r.state.icon.name=t,r.state.name=t,n&&(r.state.variant=n),i&&(r.state.text=i)):r.setState(t),r}p([r.cache],g.prototype,"text",null),p([r.cache],g.prototype,"icon",null),p([(0,s.watch)("state.size",{immediately:!1})],g.prototype,"onChangeSize",null),p([(0,s.watch)("state.type",{immediately:!1})],g.prototype,"onChangeType",null),p([(0,s.watch)("state.role",{immediately:!1})],g.prototype,"onChangeRole",null),p([(0,s.watch)("parentElement")],g.prototype,"updateSize",null),p([(0,s.watch)("state.variant",{immediately:!1})],g.prototype,"onChangeStatus",null),p([(0,s.watch)("state.text",{immediately:!1})],g.prototype,"onChangeText",null),p([(0,s.watch)("state.text",{immediately:!1})],g.prototype,"onChangeTextSetMode",null),p([(0,s.watch)("state.disabled")],g.prototype,"onChangeDisabled",null),p([(0,s.watch)("state.activated")],g.prototype,"onChangeActivated",null),p([(0,s.watch)("state.name",{immediately:!1})],g.prototype,"onChangeName",null),p([(0,s.watch)("state.tooltip",{immediately:!1})],g.prototype,"onChangeTooltip",null),p([(0,s.watch)("state.tabIndex",{immediately:!1})],g.prototype,"onChangeTabIndex",null),p([(0,s.watch)("state.icon",{immediately:!1})],g.prototype,"onChangeIcon",null),p([r.cacheHTML],g.prototype,"createContainer",null),p([(0,s.watch)("button:click")],g.prototype,"__onActionFire",null),g=p([o.component],g)},71916:function(e,t,i){i.d(t,{UIButtonGroup:function(){return a}});var n=i(87325),r=i(38837),o=i(10830),s=i(62405);let a=class e extends s.UIGroup{className(){return"UIButtonGroup"}render(e){return`<div>
|
|
9
9
|
<div class="&__label">~${e.label}~</div>
|
|
10
10
|
<div class="&__options"></div>
|
|
11
11
|
</div>`}appendChildToContainer(e){let t=this.getElm("options");(0,r.assert)(null!=t,"Options does not exist"),t.appendChild(e)}select(e){var t,i;this.elements.forEach((t,i)=>{i===e||t.state.value===e?t.state.activated=!0:this.options.radio&&(t.state.activated=!1)});let n=this.elements.filter(e=>e.state.activated).map(e=>({text:e.state.text,value:e.state.value}));this.jodit.e.fire(this,"select",n),null==(i=(t=this.options).onChange)||i.call(t,n)}constructor(e,t={radio:!0}){var i,n;super(e,null==(i=t.options)?void 0:i.map(t=>{let i=new o.UIButton(e,{text:t.text,value:t.value,variant:"primary"});return i.onAction(()=>{this.select(t.value)}),i}),t),this.options=t,this.select(null!=(n=t.value)?n:0)}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},62843:function(e,t,i){i.d(t,{Button:function(){return n.Button},UIButton:function(){return n.UIButton},UIButtonGroup:function(){return r.UIButtonGroup},UIButtonState:function(){return n.UIButtonState},UITooltip:function(){return o.UITooltip}});var n=i(10830),r=i(71916),o=i(57340)},57340:function(e,t,i){i.d(t,{UITooltip:function(){return p}});var n,r=i(91907),o=i(65478),s=i(22732),a=i(580),l=i(5700),c=i(43555),u=i(48538),d=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let h=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],f=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"],p=n=class e extends u.UIElement{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(e){(0,a.getContainer)(this.j,n).appendChild(this.container),this.__attachedContainers.add(e),this.__attachedContainers.add(this.j.container),this.j.e.on(e,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(e,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;let e=this.j;e.e.on(e.ow,h,this.__hide).on(f,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;let e=this.j;e.e.off(e.ow,h,this.__hide).off(f,this.__hide)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!s.Dom.isHTMLElement(e.target))return;let t=(0,c.attr)(e.target,"aria-label");if(!t||(0,c.attr)(e.target,"disabled")||!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;let i=e.target;this.__open(()=>{let e=(0,l.position)(i);return{x:e.left+e.width/2,y:e.top+e.height}},t)}__open(e,t){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);let i=this.j.o.showTooltipDelay||this.j.defaultTimeout;i?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(e,t),i):this.__show(e,t)}__show(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t;let i=e();(0,c.css)(this.container,{left:i.x,top:i.y})}__hide(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnLeave(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),this.getElm("content").innerHTML="",(0,c.css)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(e=>{this.j.e.off(e,"mouseenter.tooltip",this.__onMouseEnter).off(e,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(e){super(e),this.__isOpened=!1,this.__attachedContainers=new Set,this.__listenClose=!1,this.__currentTarget=null,this.__delayShowTimeout=0,this.__hideTimeout=0,e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||(this.j.e.on("getContainer",e=>{this.__onAttach(e)}),e.hookStatus(r.STATUSES.ready,()=>{this.__onAttach(this.j.container)}))}};d([o.autobind],p.prototype,"__onMouseLeave",null),d([o.autobind],p.prototype,"__onMouseEnter",null),d([o.autobind],p.prototype,"__hide",null),d([o.autobind],p.prototype,"__hideDelay",null),p=n=d([o.component],p)},48538:function(e,t,i){i.d(t,{UIElement:function(){return h}});var n,r=i(91907),o=i(55153),s=i(2748),a=i(70799),l=i(29960),c=i(14316),u=i(34176),d=i(12153);let h=n=class e extends r.ViewComponent{getRole(){var e;return(null==(e=this.options)?void 0:e.role)||""}get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){var t;return null==(t=this.__parentElement)||t.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){let t="object"==typeof e?t=>t===e:t=>r.Component.isInstanceOf(t,e),i=this.__parentElement;for(;i;){if(t(i))return i;i=!i.parentElement&&i.container.parentElement?n.closestElement(i.container.parentElement,n):i.parentElement}return null}static closestElement(e,t){let i=s.Dom.up(e,e=>{if(e){let{component:i}=e;return i&&r.Component.isInstanceOf(i,t)}return!1});return i?null==i?void 0:i.component:null}update(){}appendTo(e){return e.appendChild(this.container),this}clearName(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}render(e){return this.j.c.div(this.componentName)}createContainer(e){let t=this.render(e);if((0,a.isString)(t)){let e=this.parseTemplate(t);return e.classList.add(this.componentName),e}return t}parseTemplate(e){return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,(e,t)=>d.Icon.get(t)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(e,t)=>this.i18n(t)))}destruct(){return s.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(e,t){super(e),this.name="",this.__parentElement=null,this.mods={},this.options=t,this.container=this.createContainer(t);const i=this.getRole();i&&(0,l.attr)(this.container,"role",i),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};h=n=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([(0,o.derive)(u.Mods,c.Elms)],h)},19070:function(e,t,i){i.d(t,{UIBlock:function(){return s}});var n=i(87325),r=i(43555),o=i(62405);let s=class e extends o.UIGroup{className(){return"UIBlock"}constructor(e,t,i={align:"left"}){super(e,t),this.options=i,this.setMod("align",this.options.align||"left"),this.setMod("width",this.options.width||""),this.options.mod&&this.setMod(this.options.mod,!0),this.options.className&&this.container.classList.add(this.options.className),(0,r.attr)(this.container,"data-ref",i.ref),(0,r.attr)(this.container,"ref",i.ref)}};s=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],s)},86327:function(e,t,i){i.d(t,{UIForm:function(){return c}});var n=i(4012),r=i(87325),o=i(43555),s=i(80256),a=i(12234),l=i(62405);let c=class e extends l.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let e of this.allChildren.filter(e=>n.Component.isInstanceOf(e,s.UIInput)))if(!e.validate())return!1;for(let e of this.allChildren.filter(e=>n.Component.isInstanceOf(e,a.UISelect)))if(!e.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",()=>{let t=this.allChildren.filter(e=>n.Component.isInstanceOf(e,s.UIInput));return!!this.validate()&&(e(t.reduce((e,t)=>(e[t.state.name]=t.value,e),{})),!1)}),this}createContainer(){let e=this.j.c.element("form");return e.classList.add(this.componentName),(0,o.attr)(e,"dir",this.j.o.direction||"auto"),(0,o.attr)(e,"novalidate",""),e}constructor(...e){var t,i;super(...e),(null==(t=this.options)?void 0:t.className)&&this.container.classList.add(null==(i=this.options)?void 0:i.className)}};c=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([r.component],c)},2525:function(e,t,i){i.d(t,{UIBlock:function(){return n.UIBlock},UICheckbox:function(){return o.UICheckbox},UIFileInput:function(){return o.UIFileInput},UIForm:function(){return r.UIForm},UIInput:function(){return o.UIInput},UISelect:function(){return o.UISelect},UITextArea:function(){return o.UITextArea}});var n=i(19070),r=i(86327),o=i(8959)},85120:function(e,t,i){i.d(t,{UITextArea:function(){return d}});var n,r,o,s=i(65478),a=i(87325),l=i(80256);function c(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}var u=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let d=o=class e extends l.UIInput{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){let{size:e,resizable:t}=this.state;this.nativeInput.style.resize=t?"auto":"none",this.nativeInput.rows=null!=e?e:5}constructor(e,t){super(e,t),this.state=c({},o.defaultState),Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};d.defaultState=(n=c({},l.UIInput.defaultState),r=r={size:5,resizable:!0},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n),u([(0,s.watch)(["state.size","state.resizable"])],d.prototype,"onChangeStateSize",null),d=o=u([a.component],d)},17328:function(e,t,i){i.d(t,{UICheckbox:function(){return u}});var n,r=i(65478),o=i(2748),s=i(80256);function a(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function l(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}var c=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let u=n=class e extends s.UIInput{className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}onChangeChecked(){this.value=this.state.checked.toString(),this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}onChangeNativeCheckBox(){this.state.checked=this.nativeInput.checked}onChangeSwitch(){this.setMod("switch",this.state.switch);let e=this.getElm("switch-slider");this.state.switch?(e||(e=this.j.c.div(this.getFullElName("switch-slider"))),o.Dom.after(this.nativeInput,e)):o.Dom.safeRemove(e)}constructor(e,t){super(e,l(a({},t),{type:"checkbox"})),this.state=a({},n.defaultState),Object.assign(this.state,t)}};u.defaultState=l(a({},s.UIInput.defaultState),{checked:!1,switch:!1}),c([(0,r.watch)("state.checked"),(0,r.hook)("ready")],u.prototype,"onChangeChecked",null),c([(0,r.watch)("nativeInput:change")],u.prototype,"onChangeNativeCheckBox",null),c([(0,r.watch)("state.switch"),(0,r.hook)("ready")],u.prototype,"onChangeSwitch",null),u=n=c([r.component],u)},4242:function(e,t,i){i.d(t,{UIFileInput:function(){return a}});var n=i(87325),r=i(10830),o=i(80256);function s(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}let a=class e extends o.UIInput{className(){return"UIFileInput"}createContainer(e){this.button=new r.UIButton(this.j,{tooltip:e.tooltip,icon:{name:"plus"}});let{container:t}=this.button;this.nativeInput||(this.nativeInput=this.createNativeInput(e));let{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),t.classList.add(this.componentName),t.appendChild(i),t}createNativeInput(e){return this.j.create.fromHTML(`<input
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
tabindex="-1"
|
|
15
15
|
dir="auto"
|
|
16
16
|
multiple=""
|
|
17
|
-
/>`)}constructor(e,t){super(e,s({type:"file"},t)),this.state=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}(s({},o.UIInput.defaultState),{type:"file",onlyImages:!0})}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},8959:function(e,t,i){i.d(t,{UICheckbox:function(){return r.UICheckbox},UIFileInput:function(){return o.UIFileInput},UIInput:function(){return s.UIInput},UISelect:function(){return a.UISelect},UITextArea:function(){return n.UITextArea}});var n=i(85120),r=i(17328),o=i(4242),s=i(80256),a=i(12234)},80256:function(e,t,i){i.d(t,{UIInput:function(){return h}});var n,r=i(65478),o=i(2748),s=i(4510),a=i(43555),l=i(48538),c=i(30389),u=i(12153),d=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let h=n=class e extends l.UIElement{className(){return"UIInput"}onChangeClear(){this.state.clearButton?o.Dom.after(this.nativeInput,this.clearButton):o.Dom.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;let e=this.nativeInput,{name:t,icon:i,type:n,ref:r,required:s,placeholder:l,autocomplete:c,label:d}=this.state;(0,a.attr)(e,"name",t),(0,a.attr)(e,"type",n),(0,a.attr)(e,"data-ref",r||t),(0,a.attr)(e,"ref",r||t),(0,a.attr)(e,"required",s||null),(0,a.attr)(e,"autocomplete",c?null:"off"),(0,a.attr)(e,"placeholder",l?this.j.i18n(l):""),i&&u.Icon.exists(i)?(o.Dom.before(e,this.icon),this.icon.innerHTML=u.Icon.get(i)):o.Dom.safeRemove(this.icon),d?(o.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(d)):o.Dom.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(c.inputValidators.required),null==(e=this.state.validators)||e.forEach(e=>{let t=c.inputValidators[e];t&&this.validators.add(t)})}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):o.Dom.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){let e=this.state.value.toString();e!==this.value&&(this.value=e)}onChangeValue(){var e,t;let{value:i}=this;this.state.value!==i&&(this.state.value=i,this.j.e.fire(this,"change",i),null==(t=(e=this.state).onChange)||t.call(e,i))}validate(){this.error="";let e=(0,s.toArray)(this.validators).every(e=>e(this));return this.__markInputInvalid(),e}__markInputInvalid(){var e,t,i,n;this.error?(this.nativeInput.setAttribute("aria-invalid","true"),null==(t=(e=this.nativeInput).setCustomValidity)||t.call(e,this.error)):(this.nativeInput.removeAttribute("aria-invalid"),null==(n=(i=this.nativeInput).setCustomValidity)||n.call(i,""))}createContainer(e){let t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());let{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),this.wrapper.appendChild(i),t.appendChild(this.wrapper),(0,a.attr)(i,"dir",this.j.o.direction||"auto"),t}createNativeInput(e){return this.j.create.element("input")}focus(){this.nativeInput.focus()}get isFocused(){return this.nativeInput===this.j.od.activeElement}onChangeFocus(){this.setMod("focused",this.isFocused)}constructor(e,t){super(e,t),this.label=this.j.c.span(this.getFullElName("label")),this.icon=this.j.c.span(this.getFullElName("icon")),this.clearButton=this.j.c.span(this.getFullElName("clear"),u.Icon.get("cancel")),this.state=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},n.defaultState),this.__errorBox=this.j.c.span(this.getFullElName("error")),this.validators=new Set([]),(null==t?void 0:t.value)!==void 0&&(t.value=t.value.toString()),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()}).on(this.nativeInput,"input",()=>{this.state.clearButton=!!this.value.length}),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",()=>{this.onChangeFocus()}).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}};h.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},d([(0,r.watch)("state.clearButton")],h.prototype,"onChangeClear",null),d([(0,r.watch)("state.className")],h.prototype,"onChangeClassName",null),d([(0,r.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,r.debounce)()],h.prototype,"onChangeState",null),d([(0,r.watch)("state.value")],h.prototype,"onChangeStateValue",null),d([r.autobind],h.prototype,"onChangeValue",null),h=n=d([r.component],h)},12234:function(e,t,i){i.d(t,{UISelect:function(){return d}});var n,r,o,s=i(87325),a=i(29960),l=i(80256),c=i(30389);function u(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}let d=o=class e extends l.UIInput{className(){return"UISelect"}createContainer(e){var t;let i=super.createContainer(e),{j:n}=this,{nativeInput:r}=this;if(void 0!==e.placeholder){let t=n.create.element("option");t.value="",t.text=n.i18n(e.placeholder),r.add(t)}return null==(t=e.options)||t.forEach(e=>{let t=n.create.element("option");t.value=e.value.toString(),t.text=n.i18n(e.text),r.add(t)}),e.size&&e.size>0&&(0,a.attr)(r,"size",e.size),e.multiple&&(0,a.attr)(r,"multiple",""),i}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(c.inputValidators.required),this.validators.add(c.selectValidators.required))}constructor(e,t){super(e,t),this.state=u({},o.defaultState),Object.assign(this.state,t)}};d.defaultState=(n=u({},l.UIInput.defaultState),r=r={options:[],size:1,multiple:!1},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n),d=o=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([s.component],d)},30389:function(e,t,i){i.d(t,{inputValidators:function(){return n},selectValidators:function(){return r}});var n=i(25685),r=i(66465)},25685:function(e,t,i){i.r(t),i.d(t,{required:function(){return o},url:function(){return s}});var n=i(26049),r=i(49055);let o=function(e){return!!(0,r.trim)(e.value).length||(e.error="Please fill out this field",!1)},s=function(e){return!!(0,n.isURL)((0,r.trim)(e.value))||(e.error="Please enter a web address",!1)}},66465:function(e,t,i){i.d(t,{required:function(){return r}});var n=i(49055);let r=function(e){return!!(0,n.trim)(e.value).length||(e.error="Please fill out this field",!1)}},62405:function(e,t,i){i.d(t,{UIGroup:function(){return u}});var n,r=i(4012),o=i(65478),s=i(2748),a=i(21537),l=i(48538),c=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let u=n=class e extends l.UIElement{className(){return"UIGroup"}getRole(){var e;return(null==(e=this.options)?void 0:e.role)||"list"}get allChildren(){let e=[],t=[...this.elements];for(;t.length;){let i=t.shift();(0,a.isArray)(i)?t.push(...i):r.Component.isInstanceOf(i,n)?t.push(...i.elements):i&&e.push(i)}return e}update(){this.elements.forEach(e=>e.update()),this.setMod("size",this.buttonSize)}append(e,t){let i;if((0,a.isArray)(e)){if("number"==typeof t)throw Error("You can not use index when append array of elements");return e.forEach(e=>this.append(e,t)),this}if("number"==typeof t?(i=Math.min(Math.max(0,t),this.elements.length),this.elements.splice(i,0,e)):this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t&&"string"==typeof t){let i=this.getElm(t);if(null==i)throw Error("Element does not exist");i.appendChild(e.container)}else this.appendChildToContainer(e.container,i);return e.parentElement=this,this}afterSetMod(e,t){this.syncMod&&this.elements.forEach(i=>i.setMod(e,t))}appendChildToContainer(e,t){void 0===t||t<0||t>this.elements.length-1||null==this.container.children[t]?this.container.appendChild(e):this.container.insertBefore(e,this.container.children[t])}remove(e){let t=this.elements.indexOf(e);return -1!==t&&(this.elements.splice(t,1),s.Dom.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach(e=>e.destruct()),this.elements.length=0,this}setParentView(e){var t;return null==(t=this.elements)||t.forEach(t=>t.setParentView(e)),super.setParentView(e)}destruct(){return this.clear(),super.destruct()}constructor(e,t,i){super(e,i),this.options=i,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==t||t.forEach(e=>e&&this.append(e)),(null==i?void 0:i.name)&&(this.name=i.name)}};c([(0,o.watch)("buttonSize")],u.prototype,"update",null),u=n=c([o.component],u)},67290:function(e,t,i){i.d(t,{UIGroup:function(){return n.UIGroup},UIList:function(){return r.UIList},UISeparator:function(){return o.UISeparator},UISpacer:function(){return s.UISpacer}});var n=i(62405),r=i(24536),o=i(92113),s=i(34244)},24536:function(e,t,i){i.d(t,{UIList:function(){return g}});var n=i(4012),r=i(87325),o=i(97357),s=i(37133),a=i(46559),l=i(10830),c=i(62405),u=i(92113),d=i(34244),h=i(43649),f=i(72157),p=i(71262),m=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let g=class e extends c.UIGroup{className(){return"UIList"}getRole(){return"list"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(e){return new c.UIGroup(this.jodit,[],e?{role:e}:void 0)}get buttons(){return this.allChildren.filter(e=>n.Component.isInstanceOf(e,l.UIButton))}getButtonsNames(){return this.buttons.map(e=>e instanceof l.UIButton&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){let i;e=(0,a.splitArray)(e),this.clear();let n=!1,r=this.makeGroup("group");this.append(r),r.setMod("line",!0);let o=e=>{let o=null;switch(e.name){case"\n":(r=this.makeGroup("group")).setMod("line",!0),i=this.makeGroup(),r.append(i),this.append(r);break;case"|":n||(n=!0,o=new u.UISeparator(this.j));break;case"---":{i.setMod("before-spacer",!0);let e=new d.UISpacer(this.j);r.append(e),i=this.makeGroup(),r.append(i),n=!1;break}default:n=!1,o="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}o&&(i||(i=this.makeGroup(),r.append(i)),i.append(o))},s=e=>{var t;return!this.removeButtons.includes(e.name)&&(!e.isVisible||(null==(t=e.isVisible)?void 0:t.call(e,this.j,e)))};return e.forEach(e=>{if((0,h.isButtonGroup)(e)){let t=e.buttons.filter(e=>e);t.length&&((i=this.makeGroup()).setMod("separated",!0).setMod("group",e.group),r.append(i),(0,p.getStrongControlTypes)(t,this.j.o.controls).filter(s).forEach(o))}else{i||(i=this.makeGroup(),r.append(i));let t=(0,f.getControlType)(e,this.j.o.controls);s(t)&&o(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new l.UIButton(this.j,{name:e.name})}constructor(){super(...arguments),this.mode="horizontal",this.removeButtons=[]}};m([(0,s.watch)("mode"),(0,o.hook)("ready")],g.prototype,"__onChangeMode",null),g=m([r.component],g)},92113:function(e,t,i){i.d(t,{UISeparator:function(){return o}});var n=i(87325),r=i(48538);let o=class e extends r.UIElement{className(){return"UISeparator"}};o=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],o)},34244:function(e,t,i){i.d(t,{UISpacer:function(){return o}});var n=i(87325),r=i(48538);let o=class e extends r.UIElement{className(){return"UISpacer"}};o=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],o)},43649:function(e,t,i){i.d(t,{flatButtonsSet:function(){return o},isButtonGroup:function(){return r}});var n=i(68345);let r=e=>(0,n.isArray)(e.buttons);function o(e,t){let i=t.getRegisteredButtonGroups();return new Set(e.reduce((e,t)=>{var n;return r(t)?e=e.concat([...t.buttons,...null!=(n=i[t.group])?n:[]]):e.push(t),e},[]))}},72157:function(e,t,i){i.d(t,{findControlType:function(){return a},getControlType:function(){return s}});var n=i(21537),r=i(6441);function o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function s(e,t){let i;return t||(t=r.Config.defaultOptions.controls),(0,n.isString)(e)?i=a(e,t)||{name:e,command:e,tooltip:e}:void 0!==t[(i=o({name:"empty"},(0,n.ConfigFlatten)(e))).name]&&(i=o({},(0,n.ConfigFlatten)(t[i.name]),(0,n.ConfigFlatten)(i))),i}function a(e,t){let[i,r]=e.split(/\./),s=t;return null!=r?void 0!==t[i]&&(s=t[i]):r=i,s[r]?o({name:r},(0,n.ConfigFlatten)(s[r])):void 0}},71262:function(e,t,i){i.d(t,{getStrongControlTypes:function(){return a}});var n=i(68345),r=i(43555),o=i(6441),s=i(72157);function a(e,t){return((0,n.isArray)(e)?e:(0,r.keys)(e,!1).map(t=>{let i=e[t]||{};return(0,r.ConfigProto)({name:t},i)})).map(e=>(0,s.getControlType)(e,t||o.Config.defaultOptions.controls))}},12153:function(e,t,i){i.d(t,{Icon:function(){return s}});var n=i(82758),r=i(21537),o=i(41180);class s{static getIcon(e){if(/<svg/i.test(e))return e;let t=s.icons[e]||s.icons[e.replace(/-/g,"_")]||s.icons[e.replace(/_/g,"-")]||s.icons[(0,r.camelCase)(e)]||s.icons[(0,r.kebabCase)(e)]||s.icons[e.toLowerCase()];return n.IS_PROD,t}static exists(e){return void 0!==this.getIcon(e)}static get(e,t="<span></span>"){return this.getIcon(e)||t}static set(e,t){return this.icons[e.replace("_","-")]=t,this}static makeIcon(e,t){var i,n,r,a;let l,c;if(!t)return;let{name:u,iconURL:d,fill:h}=t,f=u.replace(/[^a-zA-Z0-9]/g,"_");/<svg/.test(u)||(c=null==(n=(i=e.o).getIcon)?void 0:n.call(i,u,f));let p=`${u}${d}${h}${null!=c?c:""}`;if(e.o.cache&&this.__cache.has(p))return null==(r=this.__cache.get(p))?void 0:r.cloneNode(!0);if(d)l=e.c.span(),(0,o.css)(l,"backgroundImage","url("+d.replace("{basePath}",(null==e?void 0:e.basePath)||"")+")");else{let t=c||s.get(u,"")||(null==(a=e.o.extraIcons)?void 0:a[u]);t&&(l=e.c.fromHTML(t.trim()),/^<svg/i.test(u)||l.classList.add("jodit-icon_"+f))}return l&&(l.classList.add("jodit-icon"),l.style.fill=h,e.o.cache&&this.__cache.set(p,l.cloneNode(!0))),l}}s.icons={},s.__cache=new Map},67510:function(e,t,i){i.d(t,{Button:function(){return n.Button},Icon:function(){return a.Icon},Popup:function(){return l.Popup},ProgressBar:function(){return c.ProgressBar},UIBlock:function(){return o.UIBlock},UIButton:function(){return n.UIButton},UIButtonGroup:function(){return n.UIButtonGroup},UIButtonState:function(){return n.UIButtonState},UICheckbox:function(){return o.UICheckbox},UIElement:function(){return r.UIElement},UIFileInput:function(){return o.UIFileInput},UIForm:function(){return o.UIForm},UIGroup:function(){return s.UIGroup},UIInput:function(){return o.UIInput},UIList:function(){return s.UIList},UISelect:function(){return o.UISelect},UISeparator:function(){return s.UISeparator},UISpacer:function(){return s.UISpacer},UITextArea:function(){return o.UITextArea},UITooltip:function(){return n.UITooltip}});var n=i(62843),r=i(48538),o=i(2525),s=i(67290),a=i(12153),l=i(61259),c=i(23769)},61259:function(e,t,i){i.d(t,{Popup:function(){return n.Popup}});var n=i(56917)},56917:function(e,t,i){i.d(t,{Popup:function(){return f}});var n=i(4012),r=i(65478),o=i(2748),s=i(580),a=i(21537),l=i(38837),c=i(48538),u=i(62405),d=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let h=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"];class f extends u.UIGroup{className(){return"Popup"}appendChildToContainer(e){let t=this.getElm("content");(0,l.assert)(t,"Content element should exist"),t.appendChild(e)}updateParentElement(e){return e!==this&&n.Component.isInstanceOf(e,f)&&(this.__childrenPopups.forEach(t=>{!e.closest(t)&&t.isOpened&&t.close()}),this.__childrenPopups.has(e)||this.j.e.on(e,"beforeClose",()=>{this.__childrenPopups.delete(e)}),this.__childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){if(this.allChildren.length)throw Error("Remove children");if(n.Component.isInstanceOf(e,c.UIElement))this.append(e);else{let t=(0,a.isString)(e)?this.j.c.fromHTML(e):e;this.appendChildToContainer(t)}return this.updatePosition(),this}open(e,t=!1,i){if((0,a.markOwner)(this.jodit,this.container),this.container.classList.add(`jodit_theme_${this.jodit.o.theme}`),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=t?this.getKeepBound(e):e,i)i.appendChild(this.container);else{let e=(0,s.getContainer)(this.jodit,f);i!==this.container.parentElement&&e.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}__calculateZIndex(){if(this.container.style.zIndex)return;let e=e=>{let t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(t.toString(),10)),!0)},{j:t}=this;if(e(t))return;let i=this.parentElement;for(;i;){if(e(i.j))return;if(i.container.style.zIndex)return void this.setZIndex(1+parseInt(i.container.style.zIndex.toString(),10));if(!i.parentElement&&i.container.parentElement){let e=c.UIElement.closestElement(i.container.parentElement,c.UIElement);if(e){i=e;continue}}i=i.parentElement}}getKeepBound(e){let t=e(),i=this.od.elementFromPoint(t.left,t.top);if(!i)return e;let n=o.Dom.isHTMLElement(i)?i:i.parentElement,r=(0,a.position)(n,this.j);return()=>{var t,i;let o=e(),s=(0,a.position)(n,this.j);return t=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},o),i=i={top:o.top+(s.top-r.top),left:o.left+(s.left-r.left)},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}),t}}updatePosition(){if(!this.isOpened)return this;let[e,t]=this.__calculatePosition(this.__targetBound(),this.viewBound(),(0,a.position)(this.container,this.j));return this.setMod("strategy",t),(0,a.css)(this.container,{left:e.left,top:e.top}),this.__childrenPopups.forEach(e=>e.updatePosition()),this}__throttleUpdatePosition(){this.updatePosition()}__calculatePosition(e,t,i,n=this.strategy){let r={left:e.left,right:e.left-(i.width-e.width)},o={bottom:e.top+e.height,top:e.top-i.height},s=Object.keys(r).reduce((e,t)=>e.concat(Object.keys(o).map(e=>`${t}${(0,a.ucfirst)(e)}`)),[]),l=e=>{let[t,n]=(0,a.kebabCase)(e).split("-");return{left:r[t],top:o[n],width:i.width,height:i.height}},c=e=>f.boxInView(l(n),e)?n:s.find(t=>{if(f.boxInView(l(t),e))return t})||null,u=c((0,a.position)(this.j.container,this.j));return u&&f.boxInView(l(u),t)||(u=c(t)||u||n),[l(u),u]}static boxInView(e,t){return e.top-t.top>=-2&&e.left-t.left>=-2&&t.top+t.height-(e.top+e.height)>=-2&&t.left+t.width-(e.left+e.width)>=-2}close(){return this.isOpened&&(this.isOpened=!1,this.__childrenPopups.forEach(e=>e.close()),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),o.Dom.safeRemove(this.container)),this}__closeOnOutsideClick(e){!this.isOpened||this.isOwnClick(e)||this.close()}isOwnClick(e){if(!e.target)return!1;let t=c.UIElement.closestElement(e.target,f);return!!(t&&(this===t||t.closest(this)))}__addGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;s.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on(h,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),o.Dom.up(this.j.container,t=>{t&&this.j.e.on(t,"scroll mousewheel",e)})}__removeGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;s.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off(h,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),this.j.container.isConnected&&o.Dom.up(this.j.container,t=>{t&&this.j.e.off(t,"scroll mousewheel",e)})}setZIndex(e){this.container.style.zIndex=e.toString()}render(){return`<div>
|
|
17
|
+
/>`)}constructor(e,t){super(e,s({type:"file"},t)),this.state=function(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}(s({},o.UIInput.defaultState),{type:"file",onlyImages:!0})}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},8959:function(e,t,i){i.d(t,{UICheckbox:function(){return r.UICheckbox},UIFileInput:function(){return o.UIFileInput},UIInput:function(){return s.UIInput},UISelect:function(){return a.UISelect},UITextArea:function(){return n.UITextArea}});var n=i(85120),r=i(17328),o=i(4242),s=i(80256),a=i(12234)},80256:function(e,t,i){i.d(t,{UIInput:function(){return h}});var n,r=i(65478),o=i(2748),s=i(4510),a=i(43555),l=i(48538),c=i(30389),u=i(12153),d=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let h=n=class e extends l.UIElement{className(){return"UIInput"}onChangeClear(){this.state.clearButton?o.Dom.after(this.nativeInput,this.clearButton):o.Dom.safeRemove(this.clearButton)}onChangeClassName(e,t){t&&this.container.classList.remove(t),this.state.className&&this.container.classList.add(this.state.className)}onChangeState(){this.name=this.state.name;let e=this.nativeInput,{name:t,icon:i,type:n,ref:r,required:s,placeholder:l,autocomplete:c,label:d}=this.state;(0,a.attr)(e,"name",t),(0,a.attr)(e,"type",n),(0,a.attr)(e,"data-ref",r||t),(0,a.attr)(e,"ref",r||t),(0,a.attr)(e,"required",s||null),(0,a.attr)(e,"autocomplete",c?null:"off"),(0,a.attr)(e,"placeholder",l?this.j.i18n(l):""),i&&u.Icon.exists(i)?(o.Dom.before(e,this.icon),this.icon.innerHTML=u.Icon.get(i)):o.Dom.safeRemove(this.icon),d?(o.Dom.before(this.wrapper,this.label),this.label.innerText=this.j.i18n(d)):o.Dom.safeRemove(this.label),this.updateValidators()}updateValidators(){var e;this.validators.clear(),this.state.required&&this.validators.add(c.inputValidators.required),null==(e=this.state.validators)||e.forEach(e=>{let t=c.inputValidators[e];t&&this.validators.add(t)})}set error(e){this.setMod("has-error",!!e),e?(this.__errorBox.innerText=this.j.i18n(e,this.j.i18n(this.state.label||"")),this.container.appendChild(this.__errorBox)):o.Dom.safeRemove(this.__errorBox)}get value(){return this.nativeInput.value}set value(e){this.value!==e&&(this.nativeInput.value=e,this.onChangeValue())}onChangeStateValue(){let e=this.state.value.toString();e!==this.value&&(this.value=e)}onChangeValue(){var e,t;let{value:i}=this;this.state.value!==i&&(this.state.value=i,this.j.e.fire(this,"change",i),null==(t=(e=this.state).onChange)||t.call(e,i))}validate(){this.error="";let e=(0,s.toArray)(this.validators).every(e=>e(this));return this.__markInputInvalid(),e}__markInputInvalid(){var e,t,i,n;this.error?(this.nativeInput.setAttribute("aria-invalid","true"),null==(t=(e=this.nativeInput).setCustomValidity)||t.call(e,this.error)):(this.nativeInput.removeAttribute("aria-invalid"),null==(n=(i=this.nativeInput).setCustomValidity)||n.call(i,""))}createContainer(e){let t=super.createContainer();this.wrapper=this.j.c.div(this.getFullElName("wrapper")),this.nativeInput||(this.nativeInput=this.createNativeInput());let{nativeInput:i}=this;return i.classList.add(this.getFullElName("input")),this.wrapper.appendChild(i),t.appendChild(this.wrapper),(0,a.attr)(i,"dir",this.j.o.direction||"auto"),t}createNativeInput(e){return this.j.create.element("input")}focus(){this.nativeInput.focus()}get isFocused(){return this.nativeInput===this.j.od.activeElement}onChangeFocus(){this.setMod("focused",this.isFocused)}constructor(e,t){super(e,t),this.label=this.j.c.span(this.getFullElName("label")),this.icon=this.j.c.span(this.getFullElName("icon")),this.clearButton=this.j.c.span(this.getFullElName("clear"),u.Icon.get("cancel")),this.state=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},n.defaultState),this.__errorBox=this.j.c.span(this.getFullElName("error")),this.validators=new Set([]),(null==t?void 0:t.value)!==void 0&&(t.value=t.value.toString()),Object.assign(this.state,t),void 0!==this.state.clearButton&&(this.j.e.on(this.clearButton,"click",e=>{e.preventDefault(),this.nativeInput.value="",this.j.e.fire(this.nativeInput,"input"),this.focus()}).on(this.nativeInput,"input",()=>{this.state.clearButton=!!this.value.length}),this.state.clearButton=!!this.value.length),this.j.e.on(this.nativeInput,"focus blur",()=>{this.onChangeFocus()}).on(this.nativeInput,"input change",this.onChangeValue),this.onChangeState(),this.onChangeClassName(),this.onChangeStateValue()}};h.defaultState={className:"",autocomplete:!0,name:"",value:"",icon:"",label:"",ref:"",type:"text",placeholder:"",required:!1,validators:[]},d([(0,r.watch)("state.clearButton")],h.prototype,"onChangeClear",null),d([(0,r.watch)("state.className")],h.prototype,"onChangeClassName",null),d([(0,r.watch)(["state.name","state.type","state.label","state.placeholder","state.autocomplete","state.icon"],{immediately:!1}),(0,r.debounce)()],h.prototype,"onChangeState",null),d([(0,r.watch)("state.value")],h.prototype,"onChangeStateValue",null),d([r.autobind],h.prototype,"onChangeValue",null),h=n=d([r.component],h)},12234:function(e,t,i){i.d(t,{UISelect:function(){return d}});var n,r,o,s=i(87325),a=i(29960),l=i(80256),c=i(30389);function u(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}let d=o=class e extends l.UIInput{className(){return"UISelect"}createContainer(e){var t;let i=super.createContainer(e),{j:n}=this,{nativeInput:r}=this;if(void 0!==e.placeholder){let t=n.create.element("option");t.value="",t.text=n.i18n(e.placeholder),r.add(t)}return null==(t=e.options)||t.forEach(e=>{let t=n.create.element("option");t.value=e.value.toString(),t.text=n.i18n(e.text),r.add(t)}),e.size&&e.size>0&&(0,a.attr)(r,"size",e.size),e.multiple&&(0,a.attr)(r,"multiple",""),i}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(c.inputValidators.required),this.validators.add(c.selectValidators.required))}constructor(e,t){super(e,t),this.state=u({},o.defaultState),Object.assign(this.state,t)}};d.defaultState=(n=u({},l.UIInput.defaultState),r=r={options:[],size:1,multiple:!1},Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(r)).forEach(function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}),n),d=o=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([s.component],d)},30389:function(e,t,i){i.d(t,{inputValidators:function(){return n},selectValidators:function(){return r}});var n=i(25685),r=i(66465)},25685:function(e,t,i){i.r(t),i.d(t,{required:function(){return o},url:function(){return s}});var n=i(26049),r=i(49055);let o=function(e){return!!(0,r.trim)(e.value).length||(e.error="Please fill out this field",!1)},s=function(e){return!!(0,n.isURL)((0,r.trim)(e.value))||(e.error="Please enter a web address",!1)}},66465:function(e,t,i){i.d(t,{required:function(){return r}});var n=i(49055);let r=function(e){return!!(0,n.trim)(e.value).length||(e.error="Please fill out this field",!1)}},62405:function(e,t,i){i.d(t,{UIGroup:function(){return u}});var n,r=i(4012),o=i(65478),s=i(2748),a=i(21537),l=i(48538),c=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let u=n=class e extends l.UIElement{className(){return"UIGroup"}getRole(){var e;return(null==(e=this.options)?void 0:e.role)||"list"}get allChildren(){let e=[],t=[...this.elements];for(;t.length;){let i=t.shift();(0,a.isArray)(i)?t.push(...i):r.Component.isInstanceOf(i,n)?t.push(...i.elements):i&&e.push(i)}return e}update(){this.elements.forEach(e=>e.update()),this.setMod("size",this.buttonSize)}append(e,t){let i;if((0,a.isArray)(e)){if("number"==typeof t)throw Error("You can not use index when append array of elements");return e.forEach(e=>this.append(e,t)),this}if("number"==typeof t?(i=Math.min(Math.max(0,t),this.elements.length),this.elements.splice(i,0,e)):this.elements.push(e),e.name&&e.container.classList.add(this.getFullElName(e.name)),t&&"string"==typeof t){let i=this.getElm(t);if(null==i)throw Error("Element does not exist");i.appendChild(e.container)}else this.appendChildToContainer(e.container,i);return e.parentElement=this,this}afterSetMod(e,t){this.syncMod&&this.elements.forEach(i=>i.setMod(e,t))}appendChildToContainer(e,t){void 0===t||t<0||t>this.elements.length-1||null==this.container.children[t]?this.container.appendChild(e):this.container.insertBefore(e,this.container.children[t])}remove(e){let t=this.elements.indexOf(e);return -1!==t&&(this.elements.splice(t,1),s.Dom.safeRemove(e.container),e.parentElement=null),this}clear(){return this.elements.forEach(e=>e.destruct()),this.elements.length=0,this}setParentView(e){var t;return null==(t=this.elements)||t.forEach(t=>t.setParentView(e)),super.setParentView(e)}destruct(){return this.clear(),super.destruct()}constructor(e,t,i){super(e,i),this.options=i,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==t||t.forEach(e=>e&&this.append(e)),(null==i?void 0:i.name)&&(this.name=i.name)}};c([(0,o.watch)("buttonSize")],u.prototype,"update",null),u=n=c([o.component],u)},67290:function(e,t,i){i.d(t,{UIGroup:function(){return n.UIGroup},UIList:function(){return r.UIList},UISeparator:function(){return o.UISeparator},UISpacer:function(){return s.UISpacer}});var n=i(62405),r=i(24536),o=i(92113),s=i(34244)},24536:function(e,t,i){i.d(t,{UIList:function(){return g}});var n=i(4012),r=i(87325),o=i(97357),s=i(37133),a=i(46559),l=i(10830),c=i(62405),u=i(92113),d=i(34244),h=i(43649),f=i(72157),p=i(71262),m=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let g=class e extends c.UIGroup{className(){return"UIList"}getRole(){return"list"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(e){return new c.UIGroup(this.jodit,[],e?{role:e}:void 0)}get buttons(){return this.allChildren.filter(e=>n.Component.isInstanceOf(e,l.UIButton))}getButtonsNames(){return this.buttons.map(e=>e instanceof l.UIButton&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){let i;e=(0,a.splitArray)(e),this.clear();let n=!1,r=this.makeGroup("group");this.append(r),r.setMod("line",!0);let o=e=>{let o=null;switch(e.name){case"\n":(r=this.makeGroup("group")).setMod("line",!0),i=this.makeGroup(),r.append(i),this.append(r);break;case"|":n||(n=!0,o=new u.UISeparator(this.j));break;case"---":{i.setMod("before-spacer",!0);let e=new d.UISpacer(this.j);r.append(e),i=this.makeGroup(),r.append(i),n=!1;break}default:n=!1,o="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}o&&(i||(i=this.makeGroup(),r.append(i)),i.append(o))},s=e=>{var t;return!this.removeButtons.includes(e.name)&&(!e.isVisible||(null==(t=e.isVisible)?void 0:t.call(e,this.j,e)))};return e.forEach(e=>{if((0,h.isButtonGroup)(e)){let t=e.buttons.filter(e=>e);t.length&&((i=this.makeGroup()).setMod("separated",!0).setMod("group",e.group),r.append(i),(0,p.getStrongControlTypes)(t,this.j.o.controls).filter(s).forEach(o))}else{i||(i=this.makeGroup(),r.append(i));let t=(0,f.getControlType)(e,this.j.o.controls);s(t)&&o(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new l.UIButton(this.j,{name:e.name})}constructor(){super(...arguments),this.mode="horizontal",this.removeButtons=[]}};m([(0,s.watch)("mode"),(0,o.hook)("ready")],g.prototype,"__onChangeMode",null),g=m([r.component],g)},92113:function(e,t,i){i.d(t,{UISeparator:function(){return o}});var n=i(87325),r=i(48538);let o=class e extends r.UIElement{className(){return"UISeparator"}};o=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],o)},34244:function(e,t,i){i.d(t,{UISpacer:function(){return o}});var n=i(87325),r=i(48538);let o=class e extends r.UIElement{className(){return"UISpacer"}};o=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],o)},43649:function(e,t,i){i.d(t,{flatButtonsSet:function(){return o},isButtonGroup:function(){return r}});var n=i(68345);let r=e=>(0,n.isArray)(e.buttons);function o(e,t){let i=t.getRegisteredButtonGroups();return new Set(e.reduce((e,t)=>{var n;return r(t)?e=e.concat([...t.buttons,...null!=(n=i[t.group])?n:[]]):e.push(t),e},[]))}},72157:function(e,t,i){i.d(t,{findControlType:function(){return a},getControlType:function(){return s}});var n=i(21537),r=i(6441);function o(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function s(e,t){let i;return t||(t=r.Config.defaultOptions.controls),(0,n.isString)(e)?i=a(e,t)||{name:e,command:e,tooltip:e}:void 0!==t[(i=o({name:"empty"},(0,n.ConfigFlatten)(e))).name]&&(i=o({},(0,n.ConfigFlatten)(t[i.name]),(0,n.ConfigFlatten)(i))),i}function a(e,t){let[i,r]=e.split(/\./),s=t;return null!=r?void 0!==t[i]&&(s=t[i]):r=i,s[r]?o({name:r},(0,n.ConfigFlatten)(s[r])):void 0}},71262:function(e,t,i){i.d(t,{getStrongControlTypes:function(){return a}});var n=i(68345),r=i(43555),o=i(6441),s=i(72157);function a(e,t){return((0,n.isArray)(e)?e:(0,r.keys)(e,!1).map(t=>{let i=e[t]||{};return(0,r.ConfigProto)({name:t},i)})).map(e=>(0,s.getControlType)(e,t||o.Config.defaultOptions.controls))}},12153:function(e,t,i){i.d(t,{Icon:function(){return s}});var n=i(82758),r=i(21537),o=i(41180);class s{static getIcon(e){if(/<svg/i.test(e))return e;let t=s.icons[e]||s.icons[e.replace(/-/g,"_")]||s.icons[e.replace(/_/g,"-")]||s.icons[(0,r.camelCase)(e)]||s.icons[(0,r.kebabCase)(e)]||s.icons[e.toLowerCase()];return n.IS_PROD,t}static exists(e){return void 0!==this.getIcon(e)}static get(e,t="<span></span>"){return this.getIcon(e)||t}static set(e,t){return this.icons[e.replace("_","-")]=t,this}static makeIcon(e,t){var i,n,r,a;let l,c;if(!t)return;let{name:u,iconURL:d,fill:h,scale:f}=t,p=u.replace(/[^a-zA-Z0-9]/g,"_");/<svg/.test(u)||(c=null==(n=(i=e.o).getIcon)?void 0:n.call(i,u,p));let m=`${u}${d}${h}${null!=f?f:""}${null!=c?c:""}`;if(e.o.cache&&this.__cache.has(m))return null==(r=this.__cache.get(m))?void 0:r.cloneNode(!0);if(d)l=e.c.span(),(0,o.css)(l,"backgroundImage","url("+d.replace("{basePath}",(null==e?void 0:e.basePath)||"")+")");else{let t=c||s.get(u,"")||(null==(a=e.o.extraIcons)?void 0:a[u]);t&&(l=e.c.fromHTML(t.trim()),/^<svg/i.test(u)||l.classList.add("jodit-icon_"+p))}return l&&(l.classList.add("jodit-icon"),l.style.fill=h,null!=f&&(l.style.transform=`scale(${f})`),e.o.cache&&this.__cache.set(m,l.cloneNode(!0))),l}}s.icons={},s.__cache=new Map},67510:function(e,t,i){i.d(t,{Button:function(){return n.Button},Icon:function(){return a.Icon},Popup:function(){return l.Popup},ProgressBar:function(){return c.ProgressBar},UIBlock:function(){return o.UIBlock},UIButton:function(){return n.UIButton},UIButtonGroup:function(){return n.UIButtonGroup},UIButtonState:function(){return n.UIButtonState},UICheckbox:function(){return o.UICheckbox},UIElement:function(){return r.UIElement},UIFileInput:function(){return o.UIFileInput},UIForm:function(){return o.UIForm},UIGroup:function(){return s.UIGroup},UIInput:function(){return o.UIInput},UIList:function(){return s.UIList},UISelect:function(){return o.UISelect},UISeparator:function(){return s.UISeparator},UISpacer:function(){return s.UISpacer},UITextArea:function(){return o.UITextArea},UITooltip:function(){return n.UITooltip}});var n=i(62843),r=i(48538),o=i(2525),s=i(67290),a=i(12153),l=i(61259),c=i(23769)},61259:function(e,t,i){i.d(t,{Popup:function(){return n.Popup}});var n=i(56917)},56917:function(e,t,i){i.d(t,{Popup:function(){return f}});var n=i(4012),r=i(65478),o=i(2748),s=i(580),a=i(21537),l=i(38837),c=i(48538),u=i(62405),d=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let h=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"];class f extends u.UIGroup{className(){return"Popup"}appendChildToContainer(e){let t=this.getElm("content");(0,l.assert)(t,"Content element should exist"),t.appendChild(e)}updateParentElement(e){return e!==this&&n.Component.isInstanceOf(e,f)&&(this.__childrenPopups.forEach(t=>{!e.closest(t)&&t.isOpened&&t.close()}),this.__childrenPopups.has(e)||this.j.e.on(e,"beforeClose",()=>{this.__childrenPopups.delete(e)}),this.__childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){if(this.allChildren.length)throw Error("Remove children");if(n.Component.isInstanceOf(e,c.UIElement))this.append(e);else{let t=(0,a.isString)(e)?this.j.c.fromHTML(e):e;this.appendChildToContainer(t)}return this.updatePosition(),this}open(e,t=!1,i){if((0,a.markOwner)(this.jodit,this.container),this.container.classList.add(`jodit_theme_${this.jodit.o.theme}`),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=t?this.getKeepBound(e):e,i)i.appendChild(this.container);else{let e=(0,s.getContainer)(this.jodit,f);i!==this.container.parentElement&&e.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}__calculateZIndex(){if(this.container.style.zIndex)return;let e=e=>{let t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(t.toString(),10)),!0)},{j:t}=this;if(e(t))return;let i=this.parentElement;for(;i;){if(e(i.j))return;if(i.container.style.zIndex)return void this.setZIndex(1+parseInt(i.container.style.zIndex.toString(),10));if(!i.parentElement&&i.container.parentElement){let e=c.UIElement.closestElement(i.container.parentElement,c.UIElement);if(e){i=e;continue}}i=i.parentElement}}getKeepBound(e){let t=e(),i=this.od.elementFromPoint(t.left,t.top);if(!i)return e;let n=o.Dom.isHTMLElement(i)?i:i.parentElement,r=(0,a.position)(n,this.j);return()=>{var t,i;let o=e(),s=(0,a.position)(n,this.j);return t=function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({},o),i=i={top:o.top+(s.top-r.top),left:o.left+(s.left-r.left)},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(i)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}),t}}updatePosition(){if(!this.isOpened)return this;let[e,t]=this.__calculatePosition(this.__targetBound(),this.viewBound(),(0,a.position)(this.container,this.j));return this.setMod("strategy",t),(0,a.css)(this.container,{left:e.left,top:e.top}),this.__childrenPopups.forEach(e=>e.updatePosition()),this}__throttleUpdatePosition(){this.updatePosition()}__calculatePosition(e,t,i,n=this.strategy){let r={left:e.left,right:e.left-(i.width-e.width)},o={bottom:e.top+e.height,top:e.top-i.height},s=Object.keys(r).reduce((e,t)=>e.concat(Object.keys(o).map(e=>`${t}${(0,a.ucfirst)(e)}`)),[]),l=e=>{let[t,n]=(0,a.kebabCase)(e).split("-");return{left:r[t],top:o[n],width:i.width,height:i.height}},c=e=>f.boxInView(l(n),e)?n:s.find(t=>{if(f.boxInView(l(t),e))return t})||null,u=c((0,a.position)(this.j.container,this.j));return u&&f.boxInView(l(u),t)||(u=c(t)||u||n),[l(u),u]}static boxInView(e,t){return e.top-t.top>=-2&&e.left-t.left>=-2&&t.top+t.height-(e.top+e.height)>=-2&&t.left+t.width-(e.left+e.width)>=-2}close(){return this.isOpened&&(this.isOpened=!1,this.__childrenPopups.forEach(e=>e.close()),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),o.Dom.safeRemove(this.container)),this}__closeOnOutsideClick(e){!this.isOpened||this.isOwnClick(e)||this.close()}isOwnClick(e){if(!e.target)return!1;let t=c.UIElement.closestElement(e.target,f);return!!(t&&(this===t||t.closest(this)))}__addGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;s.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on(h,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),o.Dom.up(this.j.container,t=>{t&&this.j.e.on(t,"scroll mousewheel",e)})}__removeGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;s.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off(h,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),this.j.container.isConnected&&o.Dom.up(this.j.container,t=>{t&&this.j.e.off(t,"scroll mousewheel",e)})}setZIndex(e){this.container.style.zIndex=e.toString()}render(){return`<div>
|
|
18
18
|
<div class="&__content"></div>
|
|
19
19
|
</div>`}destruct(){return this.close(),super.destruct()}constructor(e,t=!0){super(e),this.smart=t,this.isOpened=!1,this.strategy="leftBottom",this.viewBound=()=>({left:0,top:0,width:this.ow.innerWidth,height:this.ow.innerHeight}),this.__childrenPopups=new Set,(0,a.attr)(this.container,"role","popup")}}d([r.autobind],f.prototype,"updatePosition",null),d([(0,r.throttle)(10),r.autobind],f.prototype,"__throttleUpdatePosition",null),d([r.autobind],f.prototype,"close",null),d([r.autobind],f.prototype,"__closeOnOutsideClick",null)},23769:function(e,t,i){i.d(t,{ProgressBar:function(){return o}});var n=i(2748),r=i(48538);class o extends r.UIElement{className(){return"ProgressBar"}render(){return"<div><div></div></div>"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return n.Dom.safeRemove(this.container),this}progress(e){return this.container.style.width=e.toFixed(2)+"%",this}destruct(){return this.hide(),super.destruct()}}},84075:function(e,t,i){i.d(t,{ViewWithToolbar:function(){return m}});var n=i(78213),r=i(45219),o=i(37133),s=i(2748),a=i(76855),l=i(70799),c=i(76078),u=i(67510),d=i(43649),h=i(35608),f=i(21491),p=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class m extends h.View{get toolbarContainer(){return!this.o.fullsize&&((0,l.isString)(this.o.toolbar)||s.Dom.isHTMLElement(this.o.toolbar))?(0,c.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od):(this.o.toolbar&&s.Dom.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer)}setPanel(e){this.o.toolbar=e,this.buildToolbar()}buildToolbar(){var e;if(!this.o.toolbar)return;let t=this.o.buttons?(0,a.splitArray)(this.o.buttons):[];null==(e=this.toolbar)||e.setRemoveButtons(this.o.removeButtons).build(t.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(e){var t;this.registeredButtons.add(e);let i=null!=(t=e.group)?t:"other";return this.groupToButtons[i]||(this.groupToButtons[i]=[]),null!=e.position?this.groupToButtons[i][e.position]=e.name:this.groupToButtons[i].push(e.name),this}unregisterButton(e){var t;this.registeredButtons.delete(e);let i=null!=(t=e.group)?t:"other",n=this.groupToButtons[i];if(n){let t=n.indexOf(e.name);-1!==t&&n.splice(t,1),0===n.length&&delete this.groupToButtons[i]}return this}beforeToolbarBuild(e){if(Object.keys(this.groupToButtons).length)return e.map(e=>(0,d.isButtonGroup)(e)&&e.group&&this.groupToButtons[e.group]?{group:e.group,buttons:[...e.buttons,...this.groupToButtons[e.group]]}:e)}destruct(){this.isDestructed||(this.setStatus(n.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}constructor(e,t=!1){super(e,t),this.toolbar=(0,f.makeCollection)(this),this.__defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.__tooltip=new u.UITooltip(this),this.isJodit=t,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}p([(0,o.watch)(":rebuildToolbar")],m.prototype,"buildToolbar",null),p([r.autobind],m.prototype,"beforeToolbarBuild",null)},35608:function(e,t,i){i.d(t,{View:function(){return C}});var n,r=i(91907),o=i(4012),s=i(78213),a=i(82758),l=i(20218),c=i(33433),u=i(55153),d=i(97357),h=i(22732),f=i(3827),p=i(580),m=i(21537),g=i(97333),v=i(6700),b=i(14316),y=i(34176),w=i(23769),S=i(1808),_=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let C=n=class e extends o.Component{get basePath(){return this.o.basePath?this.o.basePath:a.BASE_PATH}get minified(){return void 0!==this.o.minified?this.o.minified:a.BASE_PATH_IS_MIN}get defaultTimeout(){return(0,m.isVoid)(this.o.defaultTimeout)?100:this.o.defaultTimeout}get buffer(){return v.Storage.makeStorage()}get message(){return this.getMessageModule(this.container)}getMessageModule(e){return new S.UIMessages(this,e)}get storage(){return v.Storage.makeStorage(!0,this.id)}get asyncStorage(){return g.AsyncStorage.makeStorage(!0,this.id)}get c(){return this.create}get container(){return this.__container}set container(e){this.__container=e}get e(){return this.events}get progressbar(){return new w.ProgressBar(this)}get options(){return this.__options}set options(e){this.__options=e}get o(){return this.options}i18n(e,...t){return(0,m.i18n)(e,t,this.options)}toggleFullSize(e){void 0===e&&(e=!this.__isFullSize),e!==this.__isFullSize&&(this.__isFullSize=e,this.e.fire("toggleFullSize",e))}get isLocked(){return""!==this.__whoLocked}lock(e="any"){return!this.isLocked&&(this.__whoLocked=e,!0)}unlock(){return!!this.isLocked&&(this.__whoLocked="",!0)}get isFullSize(){return this.__isFullSize}getVersion(){return n.version}static getVersion(){return n.version}initOptions(e){this.options=(0,m.ConfigProto)(e||{},(0,m.ConfigProto)(this.options||{},n.defaultOptions))}initOwners(){var e;this.ownerWindow=null!=(e=this.o.ownerWindow)?e:window}attachEvents(e){if(!e)return;let t=null==e?void 0:e.events;t&&Object.keys(t).forEach(e=>this.e.on(e,t[e]))}getInstance(e,t){let i=(0,m.isFunction)(e)?e.prototype.className():e,n=this.e.fire((0,m.camelCase)("getInstance_"+i),t);if(n)return n;let o=(0,m.isFunction)(e)?e:p.modules[i],s=this.__modulesInstances;if(!(0,m.isFunction)(o))throw(0,m.error)("Need real module name");if(!s.has(i)){let e=o.prototype instanceof r.ViewComponent?new o(this,t):new o(t);this.components.add(e),s.set(i,e)}return s.get(i)}addDisclaimer(e){this.container.appendChild(e)}beforeDestruct(){this.e.fire(s.STATUSES.beforeDestruct,this),this.components.forEach(e=>{(0,m.isDestructable)(e)&&!e.isInDestruct&&e.destruct()}),this.components.clear()}destruct(){var e,t,i,n;this.isDestructed||(null==(e=(0,c.cached)(this,"progressbar"))||e.destruct(),null==(t=(0,c.cached)(this,"message"))||t.destruct(),null==(i=(0,c.cached)(this,"asyncStorage"))||i.close(),this.events&&(this.events.destruct(),this.events=void 0),null==(n=(0,c.cached)(this,"buffer"))||n.clear(),h.Dom.safeRemove(this.container),super.destruct())}constructor(e,t=!1){var i;super(),this.isJodit=t,this.isView=!0,this.parent=null,this.mods={},this.components=new Set,this.OPTIONS=n.defaultOptions,this.__isFullSize=!1,this.__whoLocked="",this.isLockedNotBy=e=>this.isLocked&&this.__whoLocked!==e,this.__modulesInstances=new Map,this.id=new Date().getTime().toString(),this.initOptions(e),this.initOwners(),this.events=null!=(i=null==e?void 0:e.eventEmmiter)?i:new f.EventEmitter(this.od),this.create=new l.Create(this.od),this.__container=this.c.div(`jodit ${this.componentName}`)}};C.ES=a.ES,C.version=a.APP_VERSION,C.esNext=a.IS_ES_NEXT,C.esModern=a.IS_ES_MODERN,_([c.cache],C.prototype,"buffer",null),_([c.cache],C.prototype,"message",null),_([c.cache],C.prototype,"storage",null),_([c.cache],C.prototype,"asyncStorage",null),_([c.cache],C.prototype,"c",null),_([c.cache],C.prototype,"e",null),_([c.cache],C.prototype,"progressbar",null),_([(0,d.hook)(s.STATUSES.beforeDestruct)],C.prototype,"beforeDestruct",null),(C=n=_([(0,u.derive)(y.Mods,b.Elms)],C)).defaultOptions={extraButtons:[],cache:!0,textIcons:!1,namespace:"",removeButtons:[],zIndex:100002,defaultTimeout:100,fullsize:!1,showTooltip:!0,useNativeTooltip:!1,buttons:[],globalFullSize:!0,language:"auto"}},86019:function(e,t,i){i.d(t,{Jodit:function(){return n.Jodit}});var n=i(2303),r=i(27613),o=i(82758),s=i(65478),a=i(41409),l=i(17555),c=i(26152);i(46448),Object.keys(o).forEach(e=>{n.Jodit[e]=o[e]});let u=e=>"__esModule"!==e;Object.keys(l).filter(u).forEach(e=>{a.Icon.set(e.replace("_","-"),l[e])}),Object.keys(a).filter(u).forEach(e=>{var t;let i=a[e],o=(0,r.isFunction)(null==(t=i.prototype)?void 0:t.className)?i.prototype.className():e;(0,r.isString)(o)&&(n.Jodit.modules[o]=i)}),Object.keys(s).filter(u).forEach(e=>{n.Jodit.decorators[e]=s[e]}),["Confirm","Alert","Prompt"].forEach(e=>{n.Jodit[e]=a[e]}),Object.keys(c.default).filter(u).forEach(e=>{n.Jodit.lang[e]=c.default[e]})},2303:function(e,t,i){i.d(t,{Jodit:function(){return Jodit}});var n,r=i(82758),o=i(65478),s=i(580),a=i(21537),l=i(41601),c=i(70231),u=i(6441),d=i(41409),h=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let f="data-jodit-default-style-display",p="data-jodit-default-classes",m={contenteditable:!1},Jodit=n=class e extends d.ViewWithToolbar{className(){return"Jodit"}waitForReady(){return this.isReady?Promise.resolve(this):this.async.promise(e=>{this.hookStatus("ready",()=>e(this))})}static get ready(){return new Promise(e=>{s.eventEmitter.on("joditready",e)})}get text(){if(this.editor)return this.editor.innerText||"";let e=this.createInside.div();return e.innerHTML=this.getElementValue(),e.innerText||""}get defaultTimeout(){return(0,a.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:u.Config.defaultOptions.defaultTimeout}static atom(e){return(0,a.markAsAtomic)(e)}static make(e,t){return new this(e,t)}static isJoditAssigned(e){return e&&(0,a.isJoditObject)(e.component)&&!e.component.isInDestruct}static get defaultOptions(){return u.Config.defaultOptions}get createInside(){return new d.Create(()=>this.ed,this.o.createAttributes)}__setPlaceField(e,t){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[e]=t}get element(){return this.currentPlace.element}get editor(){return this.currentPlace.editor}set editor(e){this.__setPlaceField("editor",e)}get container(){return this.currentPlace.container}set container(e){this.__setPlaceField("container",e)}get workplace(){return this.currentPlace.workplace}get message(){return this.getMessageModule(this.workplace)}get statusbar(){return this.currentPlace.statusbar}get iframe(){return this.currentPlace.iframe}set iframe(e){this.__setPlaceField("iframe",e)}get history(){return this.currentPlace.history}get editorWindow(){return this.currentPlace.editorWindow}set editorWindow(e){this.__setPlaceField("editorWindow",e)}get ew(){return this.editorWindow}get editorDocument(){return this.currentPlace.editorWindow.document}get ed(){return this.editorDocument}get options(){return this.currentPlace.options}set options(e){this.__options=e,this.__setPlaceField("options",e)}get s(){return this.selection}get uploader(){return this.getInstance("Uploader",this.o.uploader)}get filebrowser(){let e=this,t=(0,a.ConfigProto)({defaultTimeout:e.defaultTimeout,uploader:e.o.uploader,language:e.o.language,license:e.o.license,theme:e.o.theme,shadowRoot:e.o.shadowRoot,defaultCallback(t){t.files&&t.files.length&&t.files.forEach((i,n)=>{let r=t.baseurl+i;t.isImages&&t.isImages[n]?e.s.insertImage(r,null,e.o.imageDefaultWidth):e.s.insertNode(e.createInside.fromHTML(`<a href='${r}' title='${r}'>${r}</a>`))})}},this.o.filebrowser);return e.getInstance("FileBrowser",t)}get mode(){return this.__mode}set mode(e){this.setMode(e)}getNativeEditorValue(){let e=this.e.fire("beforeGetNativeEditorValue");return(0,a.isString)(e)?e:this.editor?this.editor.innerHTML:this.getElementValue()}setNativeEditorValue(e){let t={value:e};!this.e.fire("beforeSetNativeEditorValue",t)&&this.editor&&(this.editor.innerHTML=t.value)}get value(){return this.getEditorValue()}set value(e){this.setEditorValue(e),this.history.__processChanges()}synchronizeValues(){this.__imdSynchronizeValues()}__imdSynchronizeValues(){this.setEditorValue()}getEditorValue(e=!0,t){let i;if(void 0!==(i=this.e.fire("beforeGetValueFromEditor",t)))return i;i=this.getNativeEditorValue().replace(r.INVISIBLE_SPACE_REG_EXP(),""),e&&(i=i.replace(/<span[^>]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"<br>"===i&&(i="");let n={value:i};return this.e.fire("afterGetValueFromEditor",n,t),n.value}setEditorValue(e){let t=this.e.fire("beforeSetValueToEditor",e);if(!1===t)return;if((0,a.isString)(t)&&(e=t),!this.editor){void 0!==e&&this.__setElementValue(e);return}if(!(0,a.isString)(e)&&!(0,a.isVoid)(e))throw(0,a.error)("value must be string");(0,a.isVoid)(e)||this.getNativeEditorValue()===e||this.setNativeEditorValue(e),this.e.fire("postProcessSetEditorValue");let i=this.getElementValue(),n=this.getEditorValue();if(!this.__isSilentChange&&i!==n&&this.__callChangeCount<r.SAFE_COUNT_CHANGE_CALL){this.__setElementValue(n),this.__callChangeCount+=1,r.IS_PROD||this.__callChangeCount;try{this.history.__upTick(),this.e.fire("change",n,i),this.e.fire(this.history,"change",n,i)}finally{this.__callChangeCount=0}}}updateElementValue(){this.__setElementValue(this.getEditorValue())}getElementValue(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}__setElementValue(e){if(!(0,a.isString)(e))throw(0,a.error)("value must be string");if(this.element!==this.container&&e!==this.getElementValue()){let t={value:e},i=this.e.fire("beforeSetElementValue",t);(0,a.callPromise)(i,()=>{void 0!==this.element.value?this.element.value=t.value:this.element.innerHTML=t.value,this.e.fire("afterSetElementValue",t)})}}registerCommand(e,t,i){let n=e.toLowerCase(),r=this.commands.get(n);if(void 0===r&&(r=[],this.commands.set(n,r)),r.push(t),!(0,a.isFunction)(t)){let r=this.o.commandToHotkeys[n]||this.o.commandToHotkeys[e]||t.hotkeys;r&&this.registerHotkeyToCommand(r,n,null==i?void 0:i.stopPropagation)}return this}registerHotkeyToCommand(e,t,i=!0){let n=(0,a.asArray)(e).map(a.normalizeKeyAliases).map(e=>e+".hotkey").join(" ");this.e.off(n).on(n,(e,n)=>(n&&(n.shouldStop=null==i||i),this.execCommand(t)))}execCommand(e,t,i,...n){let o;if(this.s.isFocused()||this.s.focus(),!this.o.readonly||this.o.allowCommandsInReadOnly.includes(e)){if(e=e.toLowerCase(),!1!==(o=this.e.fire(`beforeCommand${(0,a.ucfirst)(e)}`,t,i,...n))&&(o=this.e.fire("beforeCommand",e,t,i,...n)),!1!==o&&(o=this.__execCustomCommands(e,t,i,...n)),!1!==o){this.s.focus();try{o=this.nativeExecCommand(e,t,i)}catch(e){if(!r.IS_PROD)throw e}}return this.e.fire("afterCommand",e,t,i),this.__imdSynchronizeValues(),o}}nativeExecCommand(e,t,i){this.__isSilentChange=!0;try{return this.ed.execCommand(e,t,i)}finally{this.__isSilentChange=!1}}__execCustomCommands(e,t,i,...n){e=e.toLowerCase();let r=this.commands.get(e);if(void 0!==r){let o;return r.forEach(r=>{let s=((0,a.isFunction)(r)?r:r.exec).call(this,e,t,i,...n);void 0!==s&&(o=s)}),o}}lock(e="any"){return!!super.lock(e)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.container.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)}unlock(){return!!super.unlock()&&(this.container.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}getMode(){return this.mode}isEditorMode(){return this.getRealMode()===r.MODE_WYSIWYG}getRealMode(){if(this.getMode()!==r.MODE_SPLIT)return this.getMode();let e=this.od.activeElement;return e&&(e===this.iframe||d.Dom.isOrContains(this.editor,e)||d.Dom.isOrContains(this.toolbar.container,e))?r.MODE_WYSIWYG:r.MODE_SOURCE}setMode(e){let t=this.getMode(),i={mode:parseInt(e.toString(),10)},n=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",i)&&(this.__mode=[r.MODE_SOURCE,r.MODE_WYSIWYG,r.MODE_SPLIT].includes(i.mode)?i.mode:r.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),n.forEach(e=>{this.container.classList.remove(e)}),this.container.classList.add(n[this.mode-1]),t!==this.getMode()&&this.e.fire("afterSetMode"))}toggleMode(){let e=this.getMode();[r.MODE_SOURCE,r.MODE_WYSIWYG,this.o.useSplitMode?r.MODE_SPLIT:9].includes(e+1)?e+=1:e=r.MODE_WYSIWYG,this.setMode(e)}setDisabled(e){this.o.disabled=e;let t=this.__wasReadOnly;this.setReadOnly(e||t),this.__wasReadOnly=t,this.editor&&(this.editor.setAttribute("aria-disabled",e.toString()),this.container.classList.toggle("jodit_disabled",e),this.e.fire("disabled",e))}getDisabled(){return this.o.disabled}setReadOnly(e){this.__wasReadOnly!==e&&(this.__wasReadOnly=e,this.o.readonly=e,e?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",e))}getReadOnly(){return this.o.readonly}focus(){this.getMode()!==r.MODE_SOURCE&&this.s.focus()}get isFocused(){return this.s.isFocused()}beforeInitHook(){}afterInitHook(){}initOptions(e){this.options=(0,a.ConfigProto)(e||{},u.Config.defaultOptions)}initOwners(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}addPlace(e,t){let i=(0,a.resolveElement)(e,this.o.shadowRoot||this.od);this.attachEvents(t),i.attributes&&(0,a.toArray)(i.attributes).forEach(e=>{let i=e.name,n=e.value;void 0===u.Config.defaultOptions[i]||t&&void 0!==t[i]||(-1!==["readonly","disabled"].indexOf(i)&&(n=""===n||"true"===n),/^[0-9]+(\.)?([0-9]+)?$/.test(n.toString())&&(n=Number(n)),this.options[i]=n)});let n=this.c.div("jodit-container");n.classList.add("jodit"),n.classList.add("jodit-container"),n.classList.add(`jodit_theme_${this.o.theme||"default"}`),g(this.o.className,n),this.o.containerStyle&&(0,a.css)(n,this.o.containerStyle);let{styleValues:r}=this.o;Object.keys(r).forEach(e=>{let t=(0,a.kebabCase)(e);n.style.setProperty(`--jd-${t}`,r[e])}),n.setAttribute("contenteditable","false");let o=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(i.nodeName)&&(n=i,i.setAttribute(p,i.className.toString()),o=n.innerHTML,n.innerHTML=""),n.classList.add("jodit_inline"),n.classList.add("jodit-container")),i!==n&&(i.style.display&&i.setAttribute(f,i.style.display),i.style.display="none");let s="workplace-slot",l=this.c.div(this.getFullElName(s,"top"),m);n.appendChild(l);let c=this.c.div(this.getFullElName(s,"center"),m),h=this.c.div("jodit-workplace",m),v=this.c.div(this.getFullElName(s,"left"),m),b=this.c.div(this.getFullElName(s,"right"),m);c.appendChild(v),c.appendChild(h),c.appendChild(b),n.appendChild(c);let y=this.c.div(this.getFullElName(s,"bottom"),m);n.appendChild(y),i.parentNode&&i!==n&&i.parentNode.insertBefore(n,i),Object.defineProperty(i,"component",{enumerable:!1,configurable:!0,value:this});let w=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});h.appendChild(w);let S={editor:w,element:i,container:n,workplace:h,slots:{top:l,bottom:y,center:c,left:v,right:b},statusbar:new d.StatusBar(this,n),options:this.isReady?(0,a.ConfigProto)(t||{},u.Config.defaultOptions):this.options,history:new d.History(this),editorWindow:this.ow};this.__elementToPlace.set(w,S),this.setCurrentPlace(S),this.places.push(S),this.setNativeEditorValue(this.getElementValue());let _=this.__initEditor(o),C=this.options,k=()=>{C.enableDragAndDropFileToEditor&&C.uploader&&(C.uploader.url||C.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.__elementToPlace.get(this.editor)||this.__elementToPlace.set(this.editor,S),this.e.fire("afterAddPlace",S)};return(0,a.callPromise)(_,k)}addDisclaimer(e){this.workplace.appendChild(e)}setCurrentPlace(e){this.currentPlace!==e&&(this.isEditorMode()||this.setMode(r.MODE_WYSIWYG),this.currentPlace=e,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",e))}__initEditor(e){let t=this.__createEditor();return(0,a.callPromise)(t,()=>{if(this.isInDestruct)return;if(this.element!==this.container){let e=this.getElementValue();e!==this.getEditorValue()&&this.setEditorValue(e)}else null!=e&&this.setEditorValue(e);let t=this.o.defaultMode;if(this.o.saveModeInStorage){let e=this.storage.get("jodit_default_mode");"string"==typeof e&&(t=parseInt(e,10))}this.setMode(t),this.o.readonly&&(this.__wasReadOnly=!1,this.setReadOnly(!0)),this.o.disabled&&this.setDisabled(!0);try{this.ed.execCommand("defaultParagraphSeparator",!1,this.o.enter.toLowerCase())}catch(e){}})}__createEditor(){let e=this.editor,t=this.e.fire("createEditor",this);return(0,a.callPromise)(t,()=>{!this.isInDestruct&&((!1===t||(0,a.isPromise)(t))&&d.Dom.safeRemove(e),g(this.o.editorClassName,this.editor),this.o.style&&(0,a.css)(this.editor,this.o.style),this.e.on("synchro",()=>{this.setEditorValue()}).on("focus",()=>{this.editorIsActive=!0}).on("blur",()=>this.editorIsActive=!1),this.__prepareWYSIWYGEditor(),this.o.triggerChangeEvent&&this.e.on("change",this.async.debounce(()=>{this.e&&this.e.fire(this.element,"change")},this.defaultTimeout)))})}__prepareWYSIWYGEditor(){let{editor:e}=this;if(this.o.direction){let e="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=e,this.editor.setAttribute("dir",e),this.container.style.direction=e,this.container.setAttribute("dir",e),this.toolbar.setDirection(e)}this.e.on(e,"mousedown touchstart focus",()=>{let t=this.__elementToPlace.get(e);t&&this.setCurrentPlace(t)}).on(e,"compositionend",this.synchronizeValues).on(e,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",e=>{if(!this.o.readonly&&!this.__isSilentChange&&(!(e instanceof this.ew.KeyboardEvent)||!e.isComposing)&&this.e&&this.e.fire){if(!1===this.e.fire(e.type,e))return!1;this.synchronizeValues()}})}fetch(e,t){let i=new l.Ajax(function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({url:e},t),this.o.defaultAjaxOptions),n=()=>{this.e.off("beforeDestruct",n),this.progressbar.progress(100).hide(),i.destruct()};this.e.one("beforeDestruct",n),this.progressbar.show().progress(30);let r=i.send();return r.finally(n).catch(()=>null),r}destruct(){var e,t;if(this.isInDestruct)return;this.setStatus(d.STATUSES.beforeDestruct),this.__elementToPlace.clear(),null==(e=(0,o.cached)(this,"storage"))||e.clear(),null==(t=(0,o.cached)(this,"buffer"))||t.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body);let i=this.editor?this.getEditorValue():"";this.places.forEach(({container:e,workplace:t,statusbar:n,element:r,iframe:o,editor:s,history:l})=>{if(r){if(r!==e)if(r.hasAttribute(f)){let e=(0,a.attr)(r,f);e&&(r.style.display=e,r.removeAttribute(f))}else r.style.display="";else r.hasAttribute(p)&&(r.className=(0,a.attr)(r,p)||"",r.removeAttribute(p));r.hasAttribute("style")&&!(0,a.attr)(r,"style")&&r.removeAttribute("style"),n.destruct(),this.e.off(e),this.e.off(r),this.e.off(s),d.Dom.safeRemove(t),d.Dom.safeRemove(s),e!==r&&d.Dom.safeRemove(e),Object.defineProperty(r,"component",{enumerable:!1,configurable:!0,value:null}),d.Dom.safeRemove(o),e===r&&(r.innerHTML=i),l.destruct()}}),this.places.length=0,this.currentPlace={},delete s.instances[this.id],super.destruct()}constructor(e,t){super(t,!0),this.isJodit=!0,this.commands=new Map,this.__selectionLocked=null,this.__wasReadOnly=!1,this.editorIsActive=!1,this.__mode=r.MODE_WYSIWYG,this.__callChangeCount=0,this.__isSilentChange=!1,this.currentPlace={options:this.__options,container:this.__container},this.places=[],this.__elementToPlace=new Map;try{const t=(0,a.resolveElement)(e,this.options.shadowRoot||this.od);if(n.isJoditAssigned(t))return t.component}catch(e){if(!r.IS_PROD)throw e;throw this.destruct(),e}this.setStatus(d.STATUSES.beforeInit),this.id=(0,a.attr)((0,a.resolveElement)(e,this.o.shadowRoot||this.od),"id")||new Date().getTime().toString(),s.instances[this.id]=this,this.attachEvents(t),this.e.on(this.ow,"resize",()=>{this.e&&this.e.fire("resize")}),this.e.on("prepareWYSIWYGEditor",this.__prepareWYSIWYGEditor),this.selection=new d.Selection(this);const i=this.beforeInitHook();(0,a.callPromise)(i,()=>{if(this.isInDestruct)return;this.e.fire("beforeInit",this),s.pluginSystem.__init(this),this.e.fire("afterPluginSystemInit",this),this.e.on("changePlace",()=>{this.setReadOnly(this.o.readonly),this.setDisabled(this.o.disabled)}),this.places.length=0;let i=this.addPlace(e,t);s.instances[this.id]=this;let n=()=>{this.isInDestruct||(this.e&&this.e.fire("afterInit",this),(0,a.callPromise)(this.afterInitHook()),this.setStatus(d.STATUSES.ready),this.e.fire("afterConstructor",this))};(0,a.callPromise)(i,n)})}};function g(e,t){e&&e.split(/\s+/).forEach(e=>t.classList.add(e))}Jodit.fatMode=r.FAT_MODE,Jodit.plugins=s.pluginSystem,Jodit.modules=s.modules,Jodit.ns=s.modules,Jodit.decorators={},Jodit.constants=r,Jodit.instances=s.instances,Jodit.lang=r.lang,Jodit.core={Plugin:d.Plugin},h([o.cache],Jodit.prototype,"createInside",null),h([o.cache],Jodit.prototype,"message",null),h([o.cache],Jodit.prototype,"s",null),h([o.cache],Jodit.prototype,"uploader",null),h([o.cache],Jodit.prototype,"filebrowser",null),h([(0,o.throttle)()],Jodit.prototype,"synchronizeValues",null),h([(0,o.watch)(":internalChange")],Jodit.prototype,"updateElementValue",null),h([o.autobind],Jodit.prototype,"__prepareWYSIWYGEditor",null),Jodit=n=h([(0,o.derive)(c.Dlgs)],Jodit)},79910:function(e,t){t.default={"Type something":"إبدأ في الكتابة...","About Jodit":"حول جوديت","Jodit Editor":"محرر جوديت","Jodit User's Guide":"دليل مستخدم جوديت","contains detailed help for using":"يحتوي على مساعدة مفصلة للاستخدام","For information about the license, please go to our website:":"للحصول على معلومات حول الترخيص، يرجى الذهاب لموقعنا:","Buy full version":"شراء النسخة الكاملة","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"حقوق الطبع والنشر \xa9 XDSoft.net - Chupurnov Valeriy. كل الحقوق محفوظة.",Anchor:"مِرْساة","Open in new tab":"فتح في نافذة جديدة","Open in fullsize":"فتح المحرر في الحجم الكامل","Clear Formatting":"مسح التنسيق","Fill color or set the text color":"ملء اللون أو تعيين لون النص",Redo:"إعادة",Undo:"تراجع",Bold:"عريض",Italic:"مائل","Insert Unordered List":"إدراج قائمة غير مرتبة","Insert Ordered List":"إدراج قائمة مرتبة","Align Center":"محاذاة للوسط","Align Justify":"محاذاة مثبتة","Align Left":"محاذاة لليسار","Align Right":"محاذاة لليمين","Insert Horizontal Line":"إدراج خط أفقي","Insert Image":"إدراج صورة","Insert file":"ادخال الملف","Insert youtube/vimeo video":"إدراج فيديو يوتيوب/فيميو ","Insert link":"إدراج رابط","Font size":"حجم الخط","Font family":"نوع الخط","Insert format block":"إدراج كتلة تنسيق",Normal:"عادي","Heading 1":"عنوان 1","Heading 2":"عنوان 2","Heading 3":"عنوان 3","Heading 4":"عنوان 4",Quote:"إقتباس",Code:"كود",Insert:"إدراج","Insert table":"إدراج جدول","Decrease Indent":"تقليل المسافة البادئة","Increase Indent":"زيادة المسافة البادئة","Select Special Character":"تحديد أحرف خاصة","Insert Special Character":"إدراج حرف خاص","Paint format":"تنسيق الرسم","Change mode":"تغيير الوضع",Margins:"هوامش",top:"أعلى",right:"يمين",bottom:"أسفل",left:"يسار",Styles:"الأنماط",Classes:"الطبقات",Align:"محاذاة",Right:"اليمين",Center:"الوسط",Left:"اليسار","--Not Set--":"--غير مضبوط--",Src:"Src",Title:"العنوان",Alternative:"العنوان البديل",Link:"الرابط","Open link in new tab":"افتح الرابط في نافذة جديدة",Image:"الصورة",file:"ملف",Advanced:"متقدم","Image properties":"خصائص الصورة",Cancel:"إلغاء",Ok:"حسنا","File Browser":"متصفح الملفات","Error on load list":"حدث خطأ في تحميل القائمة ","Error on load folders":"حدث خطأ في تحميل المجلدات","Are you sure?":"هل أنت واثق؟","Enter Directory name":"أدخل اسم المجلد","Create directory":"إنشاء مجلد","type name":"أكتب إسم","Drop image":"إسقاط صورة","Drop file":"إسقاط الملف","or click":"أو أنقر","Alternative text":"النص البديل",Upload:"رفع",Browse:"تصفح",Background:"الخلفية",Text:"نص",Top:"أعلى",Middle:"الوسط",Bottom:"الأسفل","Insert column before":"إدراج عمود قبل","Insert column after":"إدراج عمود بعد","Insert row above":"إدراج صف أعلى","Insert row below":"إدراج صف أسفل","Delete table":"حذف الجدول","Delete row":"حذف الصف","Delete column":"حذف العمود","Empty cell":"خلية فارغة","Chars: %d":"%d حرف","Words: %d":"%d كلام","Strike through":"اضرب من خلال",Underline:"أكد",superscript:"حرف فوقي",subscript:"مخطوطة","Cut selection":"قطع الاختيار","Select all":"اختر الكل",Break:"استراحة","Search for":"البحث عن","Replace with":"استبدل ب",Replace:"محل",Paste:"معجون","Choose Content to Paste":"اختر محتوى للصق",source:"مصدر",bold:"بالخط العريض",italic:"مائل",brush:"شغل",link:"صلة",undo:"إلغاء",redo:"كرر",table:"طاولة",image:"صورة",eraser:"نظيف",paragraph:"فقرة",fontsize:"حجم الخط",video:"فيديو",font:"الخط",about:"حول المحرر",print:"طباعة",underline:"أكد",strikethrough:"شطب",indent:"المسافة البادئة",outdent:"نتوء",fullsize:"ملء الشاشة",shrink:"الحجم التقليدي",hr:"الخط",ul:"قائمة",ol:"قائمة مرقمة",cut:"قطع",selectall:"اختر الكل","Embed code":"قانون","Open link":"فتح الرابط","Edit link":"تعديل الرابط","No follow":"سمة Nofollow",Unlink:"إزالة الرابط",Update:"تحديث",pencil:"لتحرير",Eye:"مراجعة"," URL":"URL",Edit:"تحرير","Horizontal align":"محاذاة أفقية",Filter:"فلتر","Sort by changed":"عن طريق التغيير","Sort by name":"بالاسم","Sort by size":"حسب الحجم","Add folder":"إضافة مجلد",Reset:"إعادة",Save:"احتفظ","Save as ...":"حفظ باسم",Resize:"تغيير الحجم",Crop:"حجم القطع",Width:"عرض",Height:"ارتفاع","Keep Aspect Ratio":"حافظ على النسب",Yes:"أن",No:"لا",Remove:"حذف",Select:"تميز","Select %s":"تميز %s","Vertical align":"محاذاة عمودية",Split:"انشق، مزق",Merge:"اذهب","Add column":"أضف العمود","Add row":"اضف سطر","License: %s":"رخصة %s",Delete:"حذف","Split vertical":"انقسام عمودي","Split horizontal":"تقسيم أفقي",Border:"الحدود","Your code is similar to HTML. Keep as HTML?":"يشبه الكود الخاص بك HTML. تبقي كما HTML؟","Paste as HTML":"الصق ك HTML",Keep:"احتفظ","Insert as Text":"إدراج كنص","Insert only Text":"إدراج النص فقط","You can only edit your own images. Download this image on the host?":"يمكنك فقط تحرير صورك الخاصة. تحميل هذه الصورة على المضيف؟","The image has been successfully uploaded to the host!":"تم تحميل الصورة بنجاح على الخادم!",palette:"لوحة","There are no files":"لا توجد ملفات في هذا الدليل.",Rename:"إعادة تسمية","Enter new name":"أدخل اسم جديد",preview:"معاينة",download:"تحميل","Paste from clipboard":"لصق من الحافظة","Your browser doesn't support direct access to the clipboard.":"متصفحك لا يدعم إمكانية الوصول المباشر إلى الحافظة.","Copy selection":"نسخ التحديد",copy:"نسخ","Border radius":"دائرة نصف قطرها الحدود","Show all":"عرض كل",Apply:"تطبيق","Please fill out this field":"يرجى ملء هذا المجال","Please enter a web address":"يرجى إدخال عنوان ويب",Default:"الافتراضي",Circle:"دائرة",Dot:"نقطة",Quadrate:"المربعة",Find:"البحث","Find Previous":"تجد السابقة","Find Next":"تجد التالي","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"للصق المحتوى قادم من Microsoft Word/Excel الوثيقة. هل تريد أن تبقي شكل أو تنظيفه ؟ ","Word Paste Detected":"كلمة لصق الكشف عن",Clean:"نظيفة","Insert className":"أدخل اسم الفصل","Press Alt for custom resizing":"اضغط البديل لتغيير حجم مخصص","Line height":"ارتفاع الخط",spellcheck:"التدقيق الإملائي","Speech Recognize":"التعرف على الكلام",All:"تحديد الكل"}},4795:function(e,t){t.default={"Type something":"Napiš něco","About Jodit":"O Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Verze pro nekomerčn\xed použit\xed","Jodit User's Guide":"Jodit Uživatelsk\xe1 př\xedručka","contains detailed help for using":"obsahuje detailn\xed n\xe1povědu","For information about the license, please go to our website:":"Pro informace o licenci, pros\xedm, přejděte na naši str\xe1nku:","Buy full version":"Koupit plnou verzi","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Všechna pr\xe1va vyhrazena.",Anchor:"Anchor","Open in new tab":"Otevř\xedt v nov\xe9 z\xe1ložce","Open in fullsize":"Otevř\xedt v celoobrazovkov\xe9m režimu","Clear Formatting":"Vyčistit form\xe1tov\xe1n\xed","Fill color or set the text color":"Barva v\xfdplně a p\xedsma",Redo:"Vpřed",Undo:"Zpět",Bold:"Tučn\xe9",Italic:"Kurz\xedva","Insert Unordered List":"Odr\xe1žky","Insert Ordered List":"Č\xedslovan\xfd seznam","Align Center":"Zarovnat na střed","Align Justify":"Zarovnat do bloku","Align Left":"Zarovnat vlevo","Align Right":"Zarovnat vpravo","Insert Horizontal Line":"Vložit horizont\xe1ln\xed linku","Insert Image":"Vložit obr\xe1zek","Insert file":"Vložit soubor","Insert youtube/vimeo video":"Vložit video (YT/Vimeo)","Insert link":"Vložit odkaz","Font size":"Velikost p\xedsma","Font family":"Typ p\xedsma","Insert format block":"Form\xe1tovat blok",Normal:"Norm\xe1ln\xed text","Heading 1":"Nadpis 1","Heading 2":"Nadpis 2","Heading 3":"Nadpis 3","Heading 4":"Nadpis 4",Quote:"Cit\xe1t",Code:"K\xf3d",Insert:"Vložit","Insert table":"Vložit tabulku","Decrease Indent":"Zmenšit odsazen\xed","Increase Indent":"Zvětšit odsazen\xed","Select Special Character":"Vybrat speci\xe1ln\xed symbol","Insert Special Character":"Vložit speci\xe1ln\xed symbol","Paint format":"Použ\xedt form\xe1t","Change mode":"Změnit m\xf3d",Margins:"Okraje",top:"horn\xed",right:"prav\xfd",bottom:"spodn\xed",left:"lev\xfd",Styles:"Styly",Classes:"Tř\xeddy",Align:"Zarovn\xe1n\xed",Right:"Vpravo",Center:"Na střed",Left:"Vlevo","--Not Set--":"--nenastaveno--",Src:"src",Title:"Titulek",Alternative:"Alternativn\xed text (alt)",Link:"Link","Open link in new tab":"Otevř\xedt link v nov\xe9 z\xe1ložce",Image:"Obr\xe1zek",file:"soubor",Advanced:"Rozš\xedřen\xe9","Image properties":"Vlastnosti obr\xe1zku",Cancel:"Zpět",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"V\xe1š text se podob\xe1 HTML. Vložit ho jako HTML?","Paste as HTML":"Vložit jako HTML",Keep:"Ponechat origin\xe1l",Clean:"Vyčistit","Insert as Text":"Vložit jako TEXT","Insert only Text":"Vložit pouze TEXT","Word Paste Detected":"Detekov\xe1n fragment z Wordu nebo Excelu","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Obsah, kter\xfd vkl\xe1d\xe1te, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat form\xe1t nebo vložit pouze text?","File Browser":"Prohl\xedžeč souborů","Error on load list":"Chyba při nač\xedt\xe1n\xed seznamu souborů","Error on load folders":"Chyba při nač\xedt\xe1n\xed složek","Are you sure?":"Jste si jist\xfd(\xe1)?","Enter Directory name":"N\xe1zev složky","Create directory":"Vytvořit složku","type name":"n\xe1zev","Drop image":"Přet\xe1hněte sem obr\xe1zek","Drop file":"Přet\xe1hněte sem soubor","or click":"nebo klikněte","Alternative text":"Alternativn\xed text",Browse:"Server",Upload:"Nahr\xe1t",Background:"Pozad\xed",Text:"Text",Top:"Nahoru",Middle:"Na střed",Bottom:"Dolu","Insert column before":"Vložit sloupec před","Insert column after":"Vložit sloupec za","Insert row above":"Vložit ř\xe1dek nad","Insert row below":"Vložit ř\xe1dek pod","Delete table":"Vymazat tabulku","Delete row":"Vymazat ř\xe1dku","Delete column":"Vymazat sloupec","Empty cell":"Vyčistit buňku",source:"HTML",bold:"tučně",italic:"kurz\xedva",brush:"štětec",link:"odkaz",undo:"zpět",redo:"vpřed",table:"tabulka",image:"obr\xe1zek",eraser:"guma",paragraph:"odstavec",fontsize:"velikost p\xedsma",video:"video",font:"p\xedsmo",about:"о editoru",print:"tisk",underline:"podtrženo",strikethrough:"přeškrtnuto",indent:"zvětšit odsazen\xed",outdent:"zmenšit odsazen\xed",fullsize:"celoobrazovkov\xfd režim",shrink:"smrsknout",hr:"Linka",ul:"Odr\xe1žka",ol:"Č\xedslovan\xfd seznam",cut:"Vyjmout",selectall:"Označit vše","Embed code":"K\xf3d","Open link":"Otevř\xedt odkaz","Edit link":"Upravit odkaz","No follow":"Atribut no-follow",Unlink:"Odstranit odkaz",Eye:"Zobrazit",pencil:"Chcete-li upravit",Update:"Aktualizovat"," URL":"URL",Edit:"Editovat","Horizontal align":"Horizont\xe1ln\xed zarovn\xe1n\xed",Filter:"Filtr","Sort by changed":"Dle posledn\xed změny","Sort by name":"Dle n\xe1zvu","Sort by size":"Dle velikosti","Add folder":"Přidat složku",Reset:"Reset",Save:"Uložit","Save as ...":"Uložit jako...",Resize:"Změnit rozměr",Crop:"Ořezat",Width:"Š\xedřka",Height:"V\xfdška","Keep Aspect Ratio":"Ponechat poměr",Yes:"Ano",No:"Ne",Remove:"Vyjmout",Select:"Označit","Chars: %d":"Znaky: %d","Words: %d":"Slova: %d",All:"Vše","Select %s":"Označit %s","Select all":"Označit vše","Vertical align":"Vertik\xe1ln\xed zarovn\xe1n\xed",Split:"Rozdělit","Split vertical":"Rozdělit vertik\xe1lně","Split horizontal":"Rozdělit horizont\xe1lně",Merge:"Spojit","Add column":"Přidat sloupec","Add row":"Přidat ř\xe1dek",Delete:"Vymazat",Border:"Okraj","License: %s":"Licence: %s","Strike through":"Přeškrtnuto",Underline:"Podtrženo",superscript:"Horn\xed index",subscript:"Doln\xed index","Cut selection":"Vyjmout označen\xe9",Break:"Zalomen\xed","Search for":"Najdi","Replace with":"Nahradit za",Replace:"Vyměňte",Paste:"Vložit","Choose Content to Paste":"Vyber obsah pro vložen\xed","You can only edit your own images. Download this image on the host?":"Můžete upravovat pouze sv\xe9 obr\xe1zky. Nač\xedst obr\xe1zek?","The image has been successfully uploaded to the host!":"Obr\xe1zek byl \xfaspěšně nahr\xe1n!",palette:"paleta","There are no files":"V tomto adres\xe1ři nejsou ž\xe1dn\xe9 soubory.",Rename:"přejmenovat","Enter new name":"Zadejte nov\xfd n\xe1zev",preview:"n\xe1hled",download:"Stažen\xed","Paste from clipboard":"Vložit ze schr\xe1nky","Your browser doesn't support direct access to the clipboard.":"V\xe1š prohl\xedžeč nepodporuje př\xedm\xfd př\xedstup do schr\xe1nky.","Copy selection":"Kop\xedrovat v\xfdběr",copy:"kop\xedrov\xe1n\xed","Border radius":"Border radius","Show all":"Zobrazit všechny",Apply:"Plat\xed","Please fill out this field":"Pros\xedm, vyplňte toto pole","Please enter a web address":"Pros\xedm, zadejte webovou adresu",Default:"V\xfdchoz\xed",Circle:"Kruh",Dot:"Dot",Quadrate:"Quadrate",Find:"Naj\xedt","Find Previous":"Naj\xedt Předchoz\xed","Find Next":"Naj\xedt Dalš\xed","Insert className":"Vložte n\xe1zev tř\xeddy","Press Alt for custom resizing":"Stiskněte Alt pro vlastn\xed změnu velikosti"}},62770:function(e,t){t.default={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"\xdcber Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","For information about the license, please go to our website:":"F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Buy full version":"Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte \xf6ffnen","Open in fullsize":"Editor in voller Gr\xf6\xdfe \xf6ffnen","Clear Formatting":"Formatierung l\xf6schen","Fill color or set the text color":"F\xfcllfarbe oder Textfarbe \xe4ndern",Redo:"Wiederholen",Undo:"R\xfcckg\xe4ngig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einf\xfcgen","Insert Ordered List":"Nummerierte Liste einf\xfcgen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einf\xfcgen","Insert Image":"Bild einf\xfcgen","Insert file":"Datei einf\xfcgen","Insert youtube/vimeo video":"Youtube/vimeo Video einf\xfcgen","Insert link":"Link einf\xfcgen","Font size":"Schriftgr\xf6\xdfe","Font family":"Schriftfamilie","Insert format block":"Formatblock einf\xfcgen",Normal:"Normal","Heading 1":"\xdcberschrift 1","Heading 2":"\xdcberschrift 2","Heading 3":"\xdcberschrift 3","Heading 4":"\xdcberschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einf\xfcgen","Insert table":"Tabelle einf\xfcgen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergr\xf6\xdfern","Select Special Character":"Sonderzeichen ausw\xe4hlen","Insert Special Character":"Sonderzeichen einf\xfcgen","Paint format":"Format kopieren","Change mode":"\xc4nderungsmodus",Margins:"R\xe4nder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab \xf6ffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einf\xfcgen?",Keep:"Original speichern",Clean:"S\xe4ubern","Insert as Text":"Als Text einf\xfcgen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einf\xfcgen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei l\xf6schen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Ausw\xe4hlen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einf\xfcgen","Insert column after":"Spalte danach einf\xfcgen","Insert row above":"Zeile oberhalb einf\xfcgen","Insert row below":"Zeile unterhalb einf\xfcgen","Delete table":"Tabelle l\xf6schen","Delete row":"Zeile l\xf6schen","Delete column":"Spalte l\xf6schen","Empty cell":"Zelle leeren",Delete:"L\xf6schen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach ge\xe4ndert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Gr\xf6\xdfe sortiert","Add folder":"Ordner hinzuf\xfcgen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzuf\xfcgen","Add row":"Zeile hinzuf\xfcgen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einf\xfcgen","Choose Content to Paste":"W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","Chars: %d":"Zeichen: %d","Words: %d":"W\xf6rter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"B\xfcrste",link:"Verkn\xfcpfung",undo:"R\xfcckg\xe4ngig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgr\xf6\xdfe",video:"Video",font:"Schriftart",about:"\xdcber",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgr\xf6\xdfe",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"R\xf6misch (klein)","Upper Roman":"R\xf6misch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"W\xe4hlen Sie Alle aus","Open link":"Link \xf6ffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Gr\xf6\xdfe \xe4ndern",Crop:"Gr\xf6\xdfe anpassen",Width:"Breite",Height:"H\xf6he","Keep Aspect Ratio":"Seitenverh\xe4ltnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie k\xf6nnen nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einf\xfcgen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius f\xfcr abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte f\xfcllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einf\xfcgen","Press Alt for custom resizing":"Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung","License: %s":"Lizenz: %s"}},1830:function(e,t){t.default={"Type something":"Start writing...",pencil:"Edit",Quadrate:"Square"}},86273:function(e,t){t.default={"Type something":"Escriba algo...",Advanced:"Avanzado","About Jodit":"Acerca de Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Gu\xeda de usuario Jodit","contains detailed help for using":"contiene ayuda detallada para el uso.","For information about the license, please go to our website:":"Para informaci\xf3n sobre la licencia, por favor visite nuestro sitio:","Buy full version":"Compre la versi\xf3n completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.",Anchor:"Anclar","Open in new tab":"Abrir en nueva pesta\xf1a","Open in fullsize":"Abrir editor en pantalla completa","Clear Formatting":"Limpiar formato","Fill color or set the text color":"Color de relleno o de letra",Redo:"Rehacer",Undo:"Deshacer",Bold:"Negrita",Italic:"Cursiva","Insert Unordered List":"Insertar lista no ordenada","Insert Ordered List":"Insertar lista ordenada","Align Center":"Alinear Centrado","Align Justify":"Alinear Justificado","Align Left":"Alinear Izquierda","Align Right":"Alinear Derecha","Insert Horizontal Line":"Insertar l\xednea horizontal","Insert Image":"Insertar imagen","Insert file":"Insertar archivo","Insert youtube/vimeo video":"Insertar video de Youtube/vimeo","Insert link":"Insertar v\xednculo","Font size":"Tama\xf1o de letra","Font family":"Familia de letra","Insert format block":"Insertar bloque",Normal:"Normal","Heading 1":"Encabezado 1","Heading 2":"Encabezado 2","Heading 3":"Encabezado 3","Heading 4":"Encabezado 4",Quote:"Cita",Code:"C\xf3digo",Insert:"Insertar","Insert table":"Insertar tabla","Decrease Indent":"Disminuir sangr\xeda","Increase Indent":"Aumentar sangr\xeda","Select Special Character":"Seleccionar caracter especial","Insert Special Character":"Insertar caracter especial","Paint format":"Copiar formato","Change mode":"Cambiar modo",Margins:"M\xe1rgenes",top:"arriba",right:"derecha",bottom:"abajo",left:"izquierda",Styles:"Estilos CSS",Classes:"Clases CSS",Align:"Alinear",Right:"Derecha",Center:"Centrado",Left:"Izquierda","--Not Set--":"--No Establecido--",Src:"Fuente",Title:"T\xedtulo",Alternative:"Texto Alternativo",Filter:"Filtrar",Link:"V\xednculo","Open link in new tab":"Abrir v\xednculo en nueva pesta\xf1a",Image:"Imagen",file:"Archivo","Image properties":"Propiedades de imagen",Cancel:"Cancelar",Ok:"Aceptar","Your code is similar to HTML. Keep as HTML?":"El c\xf3digo es similar a HTML. \xbfMantener como HTML?","Paste as HTML":"Pegar como HTML?",Keep:"Mantener",Clean:"Limpiar","Insert as Text":"Insertar como texto","Word Paste Detected":"Pegado desde Word detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"El contenido pegado proviene de un documento de Microsoft Word/Excel. \xbfDesea mantener el formato o limpiarlo?","Insert only Text":"Insertar solo texto","File Browser":"Buscar archivo","Error on load list":"Error al cargar la lista","Error on load folders":"Error al cargar las carpetas","Are you sure?":"\xbfEst\xe1 seguro?","Enter Directory name":"Entre nombre de carpeta","Create directory":"Crear carpeta","type name":"Entre el nombre","Drop image":"Soltar imagen","Drop file":"Soltar archivo","or click":"o click","Alternative text":"Texto alternativo",Browse:"Buscar",Upload:"Subir",Background:"Fondo",Text:"Texto",Top:"Arriba",Middle:"Centro",Bottom:"Abajo","Insert column before":"Insertar columna antes","Insert column after":"Interar columna despu\xe9s","Insert row above":"Insertar fila arriba","Insert row below":"Insertar fila debajo","Delete table":"Borrar tabla","Delete row":"Borrar fila","Delete column":"Borrar columna","Empty cell":"Vaciar celda",Delete:"Borrar","Strike through":"Tachado",Underline:"Subrayado",Break:"Pausa","Search for":"Buscar","Replace with":"Reemplazar con",Replace:"Reemplazar",Edit:"Editar","Vertical align":"Alineaci\xf3n vertical","Horizontal align":"Alineaci\xf3n horizontal","Sort by changed":"Ordenar por fecha modificaci\xf3n","Sort by name":"Ordenar por nombre","Sort by size":"Ordenar por tama\xf1o","Add folder":"Agregar carpeta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mezclar","Add column":"Agregar columna","Add row":"Agregar fila",Border:"Borde","Embed code":"Incluir c\xf3digo",Update:"Actualizar",superscript:"super\xedndice",subscript:"sub\xedndice","Cut selection":"Cortar selecci\xf3n",Paste:"Pegar","Choose Content to Paste":"Seleccionar contenido para pegar","Chars: %d":"Caracteres: %d","Words: %d":"Palabras: %d",All:"Todo","Select %s":"Seleccionar: %s","Select all":"Seleccionar todo",source:"HTML",bold:"negrita",italic:"cursiva",brush:"Brocha",link:"V\xednculo",undo:"deshacer",redo:"rehacer",table:"Tabla",image:"Imagen",eraser:"Borrar",paragraph:"P\xe1rrafo",fontsize:"Tama\xf1o de letra",video:"Video",font:"Letra",about:"Acerca de",print:"Imprimir",underline:"subrayar",strikethrough:"tachar",indent:"sangr\xeda",outdent:"quitar sangr\xeda",fullsize:"Tama\xf1o completo",shrink:"encoger",hr:"l\xednea horizontal",ul:"lista sin ordenar",ol:"lista ordenada",cut:"Cortar",selectall:"Seleccionar todo","Open link":"Abrir v\xednculo","Edit link":"Editar v\xednculo","No follow":"No seguir",Unlink:"Desvincular",Eye:"Ver",pencil:"Para editar"," URL":"URL",Reset:"Resetear",Save:"Guardar","Save as ...":"Guardar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Ancho",Height:"Alto","Keep Aspect Ratio":"Mantener relaci\xf3n de aspecto",Yes:"Si",No:"No",Remove:"Quitar",Select:"Seleccionar","You can only edit your own images. Download this image on the host?":"Solo puedes editar tus propias im\xe1genes. \xbfDescargar esta imagen en el servidor?","The image has been successfully uploaded to the host!":"\xa1La imagen se ha subido correctamente al servidor!",palette:"paleta","There are no files":"No hay archivos en este directorio.",Rename:"renombrar","Enter new name":"Ingresa un nuevo nombre",preview:"avance",download:"Descargar","Paste from clipboard":"Pegar desde el portapapeles","Your browser doesn't support direct access to the clipboard.":"Su navegador no soporta el acceso directo en el portapapeles.","Copy selection":"Selecci\xf3n de copia",copy:"copia","Border radius":"Radio frontera","Show all":"Mostrar todos los",Apply:"Aplicar","Please fill out this field":"Por favor, rellene este campo","Please enter a web address":"Por favor, introduzca una direcci\xf3n web",Default:"Predeterminado",Circle:"C\xedrculo",Dot:"Punto",Quadrate:"Cuadro","Lower Alpha":"Letra Min\xfascula","Lower Greek":"Griego Min\xfascula","Lower Roman":"Romano Min\xfascula","Upper Alpha":"Letra May\xfascula","Upper Roman":"Romano May\xfascula",Find:"Encontrar","Find Previous":"Buscar Anterior","Find Next":"Buscar Siguiente","Insert className":"Insertar nombre de clase","Press Alt for custom resizing":"Presione Alt para cambiar el tama\xf1o personalizado","License: %s":"Licencia: %s"}},82168:function(e,t){t.default={"Type something":"Kirjoita jotain...",Advanced:"Avanzado","About Jodit":"Tietoja Jodit:ista","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit k\xe4ytt\xe4j\xe4n ohje","contains detailed help for using":"sis\xe4lt\xe4\xe4 tarkempaa tietoa k\xe4ytt\xe4miseen","For information about the license, please go to our website:":"Tietoa lisensoinnista, vieraile verkkosivuillamme:","Buy full version":"Osta t\xe4ysi versio","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Kaikki oikeudet pid\xe4tet\xe4\xe4n.",Anchor:"Ankkuri","Open in new tab":"Avaa uudessa v\xe4lilehdess\xe4","Open in fullsize":"Avaa t\xe4ysikokoisena","Clear Formatting":"Poista muotoilu","Fill color or set the text color":"T\xe4yt\xe4 v\xe4rill\xe4 tai aseta tekstin v\xe4ri",Redo:"Tee uudelleen",Undo:"Peruuta",Bold:"Lihavoitu",Italic:"Kursiivi","Insert Unordered List":"Lis\xe4\xe4 j\xe4rjest\xe4m\xe4t\xf6n lista","Insert Ordered List":"Lis\xe4\xe4 j\xe4rjestetty lista","Align Center":"Asemoi keskelle","Align Justify":"Asemoi tasav\xe4lein","Align Left":"Asemoi vasemmalle","Align Right":"Asemoi oikealle","Insert Horizontal Line":"Lis\xe4\xe4 vaakasuuntainen viiva","Insert Image":"Lis\xe4\xe4 kuva","Insert file":"Lis\xe4\xe4 tiedosto","Insert youtube/vimeo video":"Lis\xe4\xe4 Youtube-/vimeo- video","Insert link":"Lis\xe4\xe4 linkki","Font size":"Kirjasimen koko","Font family":"Kirjasimen nimi","Insert format block":"Lis\xe4\xe4 muotoilualue",Normal:"Normaali","Heading 1":"Otsikko 1","Heading 2":"Otsikko 2","Heading 3":"Otsikko 3","Heading 4":"Otsikko 4",Quote:"Lainaus",Code:"Koodi",Insert:"Lis\xe4\xe4","Insert table":"Lis\xe4\xe4 taulukko","Decrease Indent":"Pienenn\xe4 sisennyst\xe4","Increase Indent":"Lis\xe4\xe4 sisennyst\xe4","Select Special Character":"Valitse erikoismerkki","Insert Special Character":"Lis\xe4\xe4 erikoismerkki","Paint format":"Maalaa muotoilu","Change mode":"Vaihda tilaa",Margins:"Marginaalit",top:"yl\xf6s",right:"oikealle",bottom:"alas",left:"vasemmalle",Styles:"CSS-tyylit",Classes:"CSS-luokat",Align:"Asemointi",Right:"Oikea",Center:"Keskell\xe4",Left:"Vasen","--Not Set--":"--Ei asetettu--",Src:"Fuente",Title:"Otsikko",Alternative:"Vaihtoehtoinen teksti",Filter:"Suodatin",Link:"Linkki","Open link in new tab":"Avaa uudessa v\xe4lilehdess\xe4",Image:"Kuva",file:"Tiedosto","Image properties":"Kuvan ominaisuudet",Cancel:"Peruuta",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Koodi on HTML:n tapaista. S\xe4ilytet\xe4\xe4nk\xf6 HTML?","Paste as HTML":"Liit\xe4 HTML:n\xe4?",Keep:"S\xe4ilyt\xe4",Clean:"Tyhjenn\xe4","Insert as Text":"Lis\xe4\xe4 tekstin\xe4","Word Paste Detected":"Word liitt\xe4minen havaittu","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Liitetty sis\xe4lt\xf6 tulee Microsoft Word-/Excel- tiedostosta. Haluatko s\xe4ilytt\xe4\xe4 muotoilun vai poistaa sen?","Insert only Text":"Lis\xe4\xe4 vain teksti","File Browser":"Tiedostoselain","Error on load list":"Virhe listan latauksessa","Error on load folders":"Virhe kansioiden latauksessa","Are you sure?":"Oletko varma?","Enter Directory name":"Sy\xf6t\xe4 hakemiston nimi","Create directory":"Luo hakemisto","type name":"Sy\xf6t\xe4 nimi","Drop image":"Pudota kuva","Drop file":"Pudota tiedosto","or click":"tai klikkaa","Alternative text":"Vaihtoehtoinen teksti",Browse:"Selaa",Upload:"Lataa",Background:"Tausta",Text:"Teksti",Top:"Yl\xf6s",Middle:"Keskelle",Bottom:"Alas","Insert column before":"Lis\xe4\xe4 sarake ennen","Insert column after":"Lis\xe4\xe4 sarake j\xe4lkeen","Insert row above":"Lis\xe4\xe4 rivi yl\xf6s","Insert row below":"Lis\xe4\xe4 rivi alle","Delete table":"Poista taulukko","Delete row":"Poista rivi","Delete column":"Poista sarake","Empty cell":"Tyhjenn\xe4 solu",Delete:"Poista","Strike through":"Yliviivaus",Underline:"Alleviivaus",Break:"Vaihto","Search for":"Etsi arvoa","Replace with":"Korvaa arvolla",Replace:"Korvaa",Edit:"Muokkaa","Vertical align":"Pystyasemointi","Horizontal align":"Vaaka-asemointi","Sort by changed":"J\xe4rjest\xe4 muuttuneilla","Sort by name":"J\xe4rjest\xe4 nimell\xe4","Sort by size":"J\xe4rjest\xe4 koolla","Add folder":"Lis\xe4\xe4 kansio",Split:"Jaa","Split vertical":"Jaa pystysuuntaisesti","Split horizontal":"Jaa vaakasuuntaisesti",Merge:"Yhdist\xe4","Add column":"Lis\xe4\xe4 sarake","Add row":"Lis\xe4\xe4 rivi",Border:"Reuna","Embed code":"Sis\xe4llyt\xe4 koodi",Update:"P\xe4ivit\xe4",superscript:"yl\xe4viite",subscript:"alaviite","Cut selection":"Leikkaa valinta",Paste:"Liit\xe4","Choose Content to Paste":"Valitse liitett\xe4v\xe4 sis\xe4lt\xf6","Chars: %d":"Merkit: %d","Words: %d":"Sanat: %d",All:"Kaikki","Select %s":"Valitse: %s","Select all":"Valitse kaikki",source:"HTML",bold:"lihavoitu",italic:"kursiivi",brush:"sivellin",link:"linkki",undo:"peruuta",redo:"tee uudelleen",table:"taulukko",image:"kuva",eraser:"pyyhekumi",paragraph:"kappale",fontsize:"tekstin koko",video:"video",font:"kirjasin",about:"tietoja",print:"tulosta",underline:"alleviivaa",strikethrough:"yliviivaa",indent:"sisenn\xe4",outdent:"pienenn\xe4 sisennyst\xe4",fullsize:"t\xe4ysikokoinen",shrink:"pienenn\xe4",hr:"vaakaviiva",ul:"j\xe4rjestetty lista",ol:"j\xe4rjest\xe4m\xe4t\xf6n lista",cut:"leikkaa",selectall:"valitse kaikki","Open link":"Avaa linkki","Edit link":"Muokkaa linkki\xe4","No follow":"\xc4l\xe4 seuraa",Unlink:"Pura linkki",Eye:"Ver",pencil:"Muokkaa"," URL":"URL",Reset:"Nollaa",Save:"Tallenna","Save as ...":"Tallenna nimell\xe4 ...",Resize:"Muuta kokoa",Crop:"Rajaa",Width:"Leveys",Height:"Korkeus","Keep Aspect Ratio":"S\xe4ilyt\xe4 kuvasuhde",Yes:"Kyll\xe4",No:"Ei",Remove:"Poista",Select:"Valitse","You can only edit your own images. Download this image on the host?":"Voit muokata vain omia kuvia. Lataa t\xe4m\xe4 kuva palvelimelle?","The image has been successfully uploaded to the host!":"Kuva on onnistuneesti ladattu palvelimelle!",palette:"paletti","There are no files":"Tiedostoja ei ole",Rename:"Nime\xe4 uudelleen","Enter new name":"Sy\xf6t\xe4 uusi nimi",preview:"esikatselu",download:"Lataa","Paste from clipboard":"Liit\xe4 leikep\xf6yd\xe4lt\xe4","Your browser doesn't support direct access to the clipboard.":"Selaimesi ei tue suoraa p\xe4\xe4sy\xe4 leikep\xf6yd\xe4lle.","Copy selection":"Kopioi valinta",copy:"kopioi","Border radius":"Reunan py\xf6ristys","Show all":"N\xe4yt\xe4 kaikki",Apply:"K\xe4yt\xe4","Please fill out this field":"T\xe4yt\xe4 t\xe4m\xe4 kentt\xe4","Please enter a web address":"Annan web-osoite",Default:"Oletus",Circle:"Ympyr\xe4",Dot:"Piste",Quadrate:"Neli\xf6","Lower Alpha":"Pieni aakkosellinen","Lower Greek":"Pieni kreikkalainen","Lower Roman":"Pieni roomalainen","Upper Alpha":"Suuri aakkosellinen","Upper Roman":"Suuri roomalainen",Find:"Hae","Find Previous":"Hae edellinen","Find Next":"Hae seuraava","Insert className":"Lis\xe4\xe4 luokkanimi","Press Alt for custom resizing":"Paina Alt muokattuun koon muuttamiseen","Class name":"Luokan nimi","License: %s":"Lisenssi: %s"}},85017:function(e,t){t.default={"Type something":"Ecrivez ici","About Jodit":"A propos de Jodit","Jodit Editor":"Editeur Jodit","Jodit User's Guide":"Guide de l'utilisateur","contains detailed help for using":"Aide d\xe9taill\xe9e \xe0 l'utilisation","For information about the license, please go to our website:":"Consulter la licence sur notre site web:","Buy full version":"Acheter la version compl\xe8te","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tous droits r\xe9serv\xe9s.",Anchor:"Ancre","Open in new tab":"Ouvrir dans un nouvel onglet","Open in fullsize":"Ouvrir l'\xe9diteur en pleine page","Clear Formatting":"Supprimer le formattage","Fill color or set the text color":"Modifier la couleur du fond ou du texte",Redo:"Refaire",Undo:"D\xe9faire",Bold:"Gras",Italic:"Italique","Insert Unordered List":"Liste non ordonn\xe9e","Insert Ordered List":"Liste ordonn\xe9e","Align Center":"Centrer","Align Justify":"Justifier","Align Left":"Aligner \xe0 gauche ","Align Right":"Aligner \xe0 droite","Insert Horizontal Line":"Ins\xe9rer une ligne horizontale","Insert Image":"Ins\xe9rer une image","Insert file":"Ins\xe9rer un fichier","Insert youtube/vimeo video":"Ins\xe9rer une vid\xe9o","Insert link":"Ins\xe9rer un lien","Font size":"Taille des caract\xe8res","Font family":"Famille des caract\xe8res","Insert format block":"Bloc formatt\xe9",Normal:"Normal","Heading 1":"Titre 1","Heading 2":"Titre 2","Heading 3":"Titre 3","Heading 4":"Titre 4",Quote:"Citation",Code:"Code",Insert:"Ins\xe9rer","Insert table":"Ins\xe9rer un tableau","Decrease Indent":"Diminuer le retrait","Increase Indent":"Retrait plus","Select Special Character":"S\xe9lectionnez un caract\xe8re sp\xe9cial","Insert Special Character":"Ins\xe9rer un caract\xe8re sp\xe9cial","Paint format":"Cloner le format","Change mode":"Mode wysiwyg <-> code html",Margins:"Marges",top:"haut",right:"droite",bottom:"Bas",left:"gauche",Styles:"Styles",Classes:"Classes",Align:"Alignement",Right:"Droite",Center:"Centre",Left:"Gauche","--Not Set--":"--Non disponible--",Src:"Source",Title:"Titre",Alternative:"Alternative",Filter:"Filtre",Link:"Lien","Open link in new tab":"Ouvrir le lien dans un nouvel onglet",Image:"Image",file:"fichier",Advanced:"Avanc\xe9","Image properties":"Propri\xe9t\xe9s de l'image",Cancel:"Annuler",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Paste as HTML":"Coller en HTML?",Keep:"Sauvegarder l'original",Clean:"Nettoyer","Insert as Text":"Coller en tant que texte","Word Paste Detected":"C'est peut-\xeatre un fragment de Word ou Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Le contenu que vous ins\xe9rez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","Insert only Text":"Coller le texte seulement","File Browser":"Explorateur de fichiers","Error on load list":"Erreur de liste de chargement","Error on load folders":"Erreur de dossier de chargement","Are you sure?":"Etes-vous s\xfbrs ?","Enter Directory name":"Entrer le nom de dossier","Create directory":"Cr\xe9er un dossier","type name":"type de fichier","Drop image":"Coller une image","Drop file":"D\xe9poser un fichier","or click":"ou cliquer","Alternative text":"Texte de remplacemement",Browse:"Chercher",Upload:"Charger",Background:"Arri\xe8re-plan",Border:"Bordure",Text:"Texte",Top:"Haut",Middle:"Milieu",Bottom:"Bas","Insert column before":"Ins\xe9rer une colonne avant","Insert column after":"Ins\xe9rer une colonne apr\xe8s","Insert row above":"Ins\xe9rer une ligne au dessus","Insert row below":"Ins\xe9rer une ligne en dessous","Delete table":"Supprimer le tableau","Delete row":"Supprimer la ligne","Delete column":"Supprimer la colonne","Empty cell":"Vider la cellule","Chars: %d":"Symboles: %d","Words: %d":"Mots: %d",Split:"Split","Split vertical":"Split vertical","Split horizontal":"Split horizontal","Strike through":"Barrer",Underline:"Souligner",superscript:"exposant",subscript:"indice","Cut selection":"Couper la s\xe9lection","Select all":"Tout s\xe9lectionner",Break:"Pause","Search for":"Rechercher","Replace with":"Remplacer par",Replace:"Remplacer",Paste:"Coller","Choose Content to Paste":"Choisissez le contenu \xe0 coller",source:"la source",bold:"gras",italic:"italique",brush:"pinceau",link:"lien",undo:"annuler",redo:"refaire",table:"tableau",image:"image",eraser:"gomme",paragraph:"clause",fontsize:"taille de police",video:"Video",font:"police",about:"\xe0 propos de l'\xe9diteur",print:"impression",underline:"soulign\xe9",strikethrough:"barr\xe9",indent:"indentation",outdent:"retrait",fullsize:"taille r\xe9elle",shrink:"taille conventionnelle",hr:"la ligne",ul:"Liste",ol:"Liste num\xe9rot\xe9e",cut:"Couper",selectall:"S\xe9lectionner tout","Open link":"Ouvrir le lien","Edit link":"Modifier le lien","No follow":"Attribut Nofollow",Unlink:"Supprimer le lien",Eye:"Voir",pencil:"Pour \xe9diter"," URL":"URL",Reset:"Restaurer",Save:"Sauvegarder","Save as ...":"Enregistrer sous",Resize:"Changer la taille",Crop:"Taille de garniture",Width:"Largeur",Height:"Hauteur","Keep Aspect Ratio":"Garder les proportions",Yes:"Oui",No:"Non",Remove:"Supprimer",Select:"Mettre en \xe9vidence","Select %s":"Mettre en \xe9vidence: %s",Update:"Mettre \xe0 jour","Vertical align":"Alignement vertical",Merge:"aller","Add column":"Ajouter une colonne","Add row":"Ajouter une rang\xe9e",Delete:"Effacer","Horizontal align":"Alignement horizontal","Sort by changed":"Trier par modification","Sort by name":"Trier par nom","Sort by size":"Trier par taille","Add folder":"Cr\xe9er le dossier","You can only edit your own images. Download this image on the host?":"Vous ne pouvez \xe9diter que vos propres images. T\xe9l\xe9chargez cette image sur l'h\xf4te?","The image has been successfully uploaded to the host!":"L'image a \xe9t\xe9 t\xe9l\xe9charg\xe9e avec succ\xe8s sur le serveur!",palette:"Palette","There are no files":"Il n'y a aucun fichier dans ce r\xe9pertoire.",Rename:"renommer","Enter new name":"Entrez un nouveau nom",preview:"Aper\xe7u",download:"T\xe9l\xe9charger","Paste from clipboard":"Coller \xe0 partir du presse-papiers","Your browser doesn't support direct access to the clipboard.":"Votre navigateur ne prend pas en charge l'acc\xe8s direct au presse-papiers.","Copy selection":"Copier la s\xe9lection",copy:"copie","Border radius":"Rayon des bordures","Show all":"Afficher tous",Apply:"Appliquer","Please fill out this field":"Veuillez remplir ce champ","Please enter a web address":"Veuillez entrer une adresse web",Default:"Par d\xe9faut",Circle:"Cercle",Dot:"Point",Quadrate:"Quadratique",Find:"Trouver","Find Previous":"Pr\xe9c\xe9dent","Find Next":"Suivant","Insert className":"Ins\xe9rer un nom de classe","Press Alt for custom resizing":"Appuyez sur Alt pour un redimensionnement personnalis\xe9","Embed code":"Code d'int\xe9gration",Edit:"Modifier",All:"Tout s\xe9lectionner","License: %s":"Licence: %s"}},32726:function(e,t){t.default={"Type something":"הקלד משהו...",Advanced:"מתקדם","About Jodit":"About Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit User's Guide","contains detailed help for using":"contains detailed help for using.","For information about the license, please go to our website:":"For information about the license, please go to our website:","Buy full version":"Buy full version","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"מקום עיגון","Open in new tab":"פתח בכרטיסיה חדשה","Open in fullsize":"פתח את העורך בחלון חדש","Clear Formatting":"נקה עיצוב","Fill color or set the text color":"שנה צבע טקסט או רקע",Redo:"בצע שוב",Undo:"בטל",Bold:"מודגש",Italic:"נטוי","Insert Unordered List":"הכנס רשימת תבליטים","Insert Ordered List":"הכנס רשימה ממוספרת","Align Center":"מרכז","Align Justify":"ישר ","Align Left":"ישר לשמאל","Align Right":"ישר לימין","Insert Horizontal Line":"הכנס קו אופקי","Insert Image":"הכנס תמונה","Insert file":"הכנס קובץ","Insert youtube/vimeo video":"הכנס סרטון וידאו מYouTube/Vimeo","Insert link":"הכנס קישור","Font size":"גודל גופן","Font family":"גופן","Insert format block":"מעוצב מראש",Normal:"רגיל","Heading 1":"כותרת 1","Heading 2":"כותרת 2","Heading 3":"כותרת 3","Heading 4":"כותרת 4",Quote:"ציטוט",Code:"קוד",Insert:"הכנס","Insert table":"הכנס טבלה","Decrease Indent":"הקטן כניסה","Increase Indent":"הגדל כניסה","Select Special Character":"בחר תו מיוחד","Insert Special Character":"הכנס תו מיוחד","Paint format":"העתק עיצוב","Change mode":"החלף מצב",Margins:"ריווח",top:"עליון",right:"ימין",bottom:"תחתון",left:"שמאל",Styles:"עיצוב CSS",Classes:"מחלקת CSS",Align:"יישור",Right:"ימין",Center:"מרכז",Left:"שמאל","--Not Set--":"--לא נקבע--",Src:"מקור",Title:"כותרת",Alternative:"כיתוב חלופי",Link:"קישור","Open link in new tab":"פתח בכרטיסיה חדשה",Image:"תמונה",file:"קובץ","Image properties":"מאפייני תמונה",Cancel:"ביטול",Ok:"אישור","Your code is similar to HTML. Keep as HTML?":"הקוד דומה לHTML, האם להשאיר כHTML","Paste as HTML":"הדבק כHTML",Keep:"השאר",Clean:"נקה","Insert as Text":"הכנס כטקסט","Word Paste Detected":'זוהתה הדבקה מ"וורד"',"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו","Insert only Text":"הכנס טקסט בלבד","File Browser":"סייר הקבצים","Error on load list":"שגיאה בזמן טעינת רשימה","Error on load folders":"שגיאה בזמן טעינת תקיות","Are you sure?":"האם אתה בטוח?","Enter Directory name":"הכנס שם תקיה","Create directory":"צור תקיה","type name":"סוג הקובץ","Drop image":"הסר תמונה","Drop file":"הסר קובץ","or click":"או לחץ","Alternative text":"כיתוב חלופי",Browse:"סייר",Upload:"העלה",Background:"רקע",Text:"טקסט",Top:"עליון",Middle:"מרכז",Bottom:"תחתון","Insert column before":"הכנס עמודה לפני","Insert column after":"הכנס עמודה אחרי","Insert row above":"הכנס שורה מעל","Insert row below":"הכנס שורה מתחת","Delete table":"מחק טבלה","Delete row":"מחק שורה","Delete column":"מחק עמודה","Empty cell":"רוקן תא",Delete:"מחק","Strike through":"קו חוצה",Underline:"קו תחתון",Break:"שבירת שורה","Search for":"חפש","Replace with":"החלף ב",Replace:"להחליף",Edit:"ערוך","Vertical align":"יישור אנכי","Horizontal align":"יישור אופקי",Filter:"סנן","Sort by changed":"מין לפי שינוי","Sort by name":"מיין לפי שם","Sort by size":"מיין לפי גודל","Add folder":"הוסף תקייה",Split:"פיצול","Split vertical":"פיצול אנכי","Split horizontal":"פיצול אופקי",Merge:"מזג","Add column":"הוסף עמודה","Add row":"הוסף שורה",Border:"מסגרת","Embed code":"הוסף קוד",Update:"עדכן",superscript:"superscript",subscript:"subscript","Cut selection":"גזור בחירה",Paste:"הדבק","Choose Content to Paste":"בחר תוכן להדבקה","Chars: %d":"תווים: %d","Words: %d":"מילים: %d",All:"הכל","Select %s":"נבחר: %s","Select all":"בחר הכל",source:"HTML",bold:"מודגש",italic:"נטוי",brush:"מברשת",link:"קישור",undo:"בטל",redo:"בצע שוב",table:"טבלה",image:"תמונה",eraser:"מחק",paragraph:"פסקה",fontsize:"גודל גופן",video:"וידאו",font:"גופן",about:"עלינו",print:"הדפס",underline:"קו תחתון",strikethrough:"קו חוצה",indent:"הגדל כניסה",outdent:"הקטן כניסה",fullsize:"גודל מלא",shrink:"כווץ",hr:"קו אופקי",ul:"רשימת תבליטים",ol:"רשימה ממוספרת",cut:"חתוך",selectall:"בחר הכל","Open link":"פתח קישור","Edit link":"ערוך קישור","No follow":"ללא מעקב",Unlink:"בטל קישור",Eye:"הצג",pencil:"כדי לערוך"," URL":"כתובת",Reset:"אפס",Save:"שמור","Save as ...":"שמור בשם...",Resize:"שנה גודל",Crop:"חתוך",Width:"רוחב",Height:"גובה","Keep Aspect Ratio":"שמור יחס",Yes:"כן",No:"לא",Remove:"הסר",Select:"בחר","You can only edit your own images. Download this image on the host?":"רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","The image has been successfully uploaded to the host!":"התמונה עלתה בהצלחה!",palette:"לוח","There are no files":"אין קבצים בספריה זו.",Rename:"הונגרית","Enter new name":"הזן שם חדש",preview:"תצוגה מקדימה",download:"הורד","Paste from clipboard":"להדביק מהלוח","Your browser doesn't support direct access to the clipboard.":"הדפדפן שלך לא תומך גישה ישירה ללוח.","Copy selection":"העתק בחירה",copy:"העתק","Border radius":"רדיוס הגבול","Show all":"הצג את כל",Apply:"החל","Please fill out this field":"נא למלא שדה זה","Please enter a web address":"אנא הזן כתובת אינטרנט",Default:"ברירת המחדל",Circle:"מעגל",Dot:"נקודה",Quadrate:"הריבוע הזה",Find:"למצוא","Find Previous":"מצא את הקודם","Find Next":"חפש את הבא","Insert className":"הכנס את שם הכיתה","Press Alt for custom resizing":"לחץ על אלט לשינוי גודל מותאם אישית","License: %s":"רישיון: %s"}},67078:function(e,t){t.default={"Type something":"\xcdrjon be valamit",Advanced:"Halad\xf3","About Jodit":"Joditr\xf3l","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Ingyenes v\xe1ltozat","Jodit User's Guide":"Jodit \xfatmutat\xf3","contains detailed help for using":"tov\xe1bbi seg\xedts\xe9get tartalmaz","For information about the license, please go to our website:":"Tov\xe1bbi licence inform\xe1ci\xf3k\xe9rt l\xe1togassa meg a weboldalunkat:","Buy full version":"Teljes verzi\xf3 megv\xe1s\xe1rl\xe1sa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.",Anchor:"Horgony","Open in new tab":"Megnyit\xe1s \xfaj lapon","Open in fullsize":"Megnyit\xe1s teljes m\xe9retben","Clear Formatting":"Form\xe1z\xe1s t\xf6rl\xe9se","Fill color or set the text color":"H\xe1tt\xe9r/sz\xf6veg sz\xedn",Redo:"\xdajra",Undo:"Visszavon",Bold:"F\xe9lk\xf6v\xe9r",Italic:"Dőlt","Insert Unordered List":"Pontozott lista","Insert Ordered List":"Sz\xe1mozott lista","Align Center":"K\xf6z\xe9pre z\xe1rt","Align Justify":"Sorkiz\xe1rt","Align Left":"Balra z\xe1rt","Align Right":"Jobbra z\xe1rt","Insert Horizontal Line":"V\xedzszintes vonal besz\xfar\xe1sa","Insert Image":"K\xe9p besz\xfar\xe1s","Insert file":"F\xe1jl besz\xfar\xe1s","Insert youtube/vimeo video":"Youtube vide\xf3 besz\xfar\xe1sa","Insert link":"Link besz\xfar\xe1s","Font size":"Betűm\xe9ret","Font family":"Betűt\xedpus","Insert format block":"Form\xe1zott blokk besz\xfar\xe1sa",Normal:"Norm\xe1l","Heading 1":"Fejl\xe9c 1","Heading 2":"Fejl\xe9c 2","Heading 3":"Fejl\xe9c 3","Heading 4":"Fejl\xe9c 4",Quote:"Id\xe9zet",Code:"K\xf3d",Insert:"Besz\xfar","Insert table":"T\xe1bl\xe1zat besz\xfar\xe1sa","Decrease Indent":"Beh\xfaz\xe1s cs\xf6kkent\xe9se","Increase Indent":"Beh\xfaz\xe1s n\xf6vel\xe9se","Select Special Character":"Speci\xe1lis karakter kiv\xe1laszt\xe1sa","Insert Special Character":"Speci\xe1lis karakter besz\xfar\xe1sa","Paint format":"K\xe9p form\xe1z\xe1sa","Change mode":"N\xe9zet v\xe1lt\xe1sa",Print:"Nyomtat\xe1s",Margins:"Szeg\xe9lyek",top:"felső",right:"jobb",bottom:"als\xf3",left:"bal",Styles:"CSS st\xedlusok",Classes:"CSS oszt\xe1lyok",Align:"Igaz\xedt\xe1s",Right:"Jobbra",Center:"K\xf6z\xe9pre",Left:"Balra","--Not Set--":"Nincs",Src:"Forr\xe1s",Title:"C\xedm",Alternative:"Helyettes\xedtő sz\xf6veg",Link:"Link","Open link in new tab":"Link megnyit\xe1sa \xfaj lapon",Image:"K\xe9p",file:"F\xe1jl","Image properties":"K\xe9p tulajdons\xe1gai",Cancel:"M\xe9gsem",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"A beillesztett sz\xf6veg HTML-nek tűnik. Megtartsuk HTML-k\xe9nt?","Paste as HTML":"Besz\xfar\xe1s HTML-k\xe9nt",Keep:"Megtart\xe1s",Clean:"Elvet\xe9s","Insert as Text":"Besz\xfar\xe1s sz\xf6vegk\xe9nt","Word Paste Detected":"Word-ből m\xe1solt sz\xf6veg","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"A beillesztett tartalom Microsoft Word/Excel dokumentumb\xf3l sz\xe1rmazik. Meg szeretn\xe9 tartani a form\xe1tum\xe1t?","Insert only Text":"Csak sz\xf6veg beilleszt\xe9se","File Browser":"F\xe1jl tall\xf3z\xf3","Error on load list":"Hiba a lista bet\xf6lt\xe9se k\xf6zben","Error on load folders":"Hiba a mapp\xe1k bet\xf6lt\xe9se k\xf6zben","Are you sure?":"Biztosan ezt szeretn\xe9?","Enter Directory name":"\xcdrjon be egy mappanevet","Create directory":"Mappa l\xe9trehoz\xe1sa","type name":"\xedrjon be bevet","Drop image":"H\xfazza ide a k\xe9pet","Drop file":"H\xfazza ide a f\xe1jlt","or click":"vagy kattintson","Alternative text":"Helyettes\xedtő sz\xf6veg",Browse:"Tall\xf3z",Upload:"Felt\xf6lt",Background:"H\xe1tt\xe9r",Text:"Sz\xf6veg",Top:"Fent",Middle:"K\xf6z\xe9pen",Bottom:"Lent","Insert column before":"Oszlop besz\xfar\xe1s el\xe9","Insert column after":"Oszlop besz\xfar\xe1s ut\xe1na","Insert row above":"Sor besz\xfar\xe1s f\xf6l\xe9","Insert row below":"Sor besz\xfar\xe1s al\xe1","Delete table":"T\xe1bl\xe1zat t\xf6rl\xe9se","Delete row":"Sor t\xf6rl\xe9se","Delete column":"Oszlop t\xf6rl\xe9se","Empty cell":"Cella tartalm\xe1nak t\xf6rl\xe9se",Delete:"T\xf6rl\xe9s","Strike through":"\xc1th\xfazott",Underline:"Al\xe1h\xfazott",Break:"Sz\xfcnet","Search for":"Keres\xe9s","Replace with":"Csere erre",Replace:"Cser\xe9lje ki",Edit:"Szerkeszt","Vertical align":"F\xfcggőleges igaz\xedt\xe1s","Horizontal align":"V\xedzszintes igaz\xedt\xe1s",Filter:"Szűrő","Sort by changed":"Rendez\xe9s m\xf3dos\xedt\xe1s szerint","Sort by name":"Rendez\xe9s n\xe9v szerint","Sort by size":"Rendez\xe9s m\xe9ret szerint","Add folder":"Mappa hozz\xe1ad\xe1s","Split vertical":"F\xfcggőleges feloszt\xe1s","Split horizontal":"V\xedzszintes feloszt\xe1s",Merge:"\xd6sszevon\xe1s","Add column":"Oszlop hozz\xe1ad\xe1s","Add row":"Sor hozz\xe1ad\xe1s",Border:"Szeg\xe9ly","Embed code":"Be\xe1gyazott k\xf3d",Update:"Friss\xedt",superscript:"Felső index",subscript:"Als\xf3 index","Cut selection":"Kiv\xe1g\xe1s",Paste:"Beilleszt\xe9s","Choose Content to Paste":"V\xe1lasszon tartalmat a beilleszt\xe9shez",Split:"Feloszt\xe1s","Chars: %d":"Karakterek sz\xe1ma: %d","Words: %d":"Szavak sz\xe1ma: %d",All:"\xd6sszes","Select %s":"Kijel\xf6l: %s","Select all":"\xd6sszes kijel\xf6l\xe9se",source:"HTML",bold:"F\xe9lk\xf6v\xe9r",italic:"Dőlt",brush:"Ecset",link:"Link",undo:"Visszavon",redo:"\xdajra",table:"T\xe1bl\xe1zat",image:"K\xe9p",eraser:"T\xf6rl\xe9s",paragraph:"Paragr\xe1fus",fontsize:"Betűm\xe9ret",video:"Vide\xf3",font:"Betű",about:"R\xf3lunk",print:"Nyomtat",underline:"Al\xe1h\xfazott",strikethrough:"\xc1th\xfazott",indent:"Beh\xfaz\xe1s",outdent:"Aussenseiter",fullsize:"Teljes m\xe9ret",shrink:"\xd6sszenyom",hr:"Egyenes vonal",ul:"Lista",ol:"Sz\xe1mozott lista",cut:"Kiv\xe1g",selectall:"\xd6sszes kijel\xf6l\xe9se","Open link":"Link megnyit\xe1sa","Edit link":"Link szerkeszt\xe9se","No follow":"Nincs k\xf6vet\xe9s",Unlink:"Link lev\xe1laszt\xe1sa",Eye:"fel\xfclvizsg\xe1lat",pencil:"Szerkeszt\xe9s"," URL":"URL",Reset:"Vissza\xe1ll\xedt",Save:"Ment\xe9s","Save as ...":"Ment\xe9s m\xe1sk\xe9nt...",Resize:"\xc1tm\xe9retez\xe9s",Crop:"Kiv\xe1g",Width:"Sz\xe9less\xe9g",Height:"Magass\xe1g","Keep Aspect Ratio":"K\xe9par\xe1ny megtart\xe1sa",Yes:"Igen",No:"Nem",Remove:"Elt\xe1vol\xedt",Select:"Kijel\xf6l","You can only edit your own images. Download this image on the host?":"Csak a saj\xe1t k\xe9peit tudja szerkeszteni. Let\xf6lti ezt a k\xe9pet?","The image has been successfully uploaded to the host!":"K\xe9p sikeresen felt\xf6ltve!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"\xe1tnevez\xe9s","Enter new name":"Adja meg az \xfaj nevet",preview:"előn\xe9zet",download:"Let\xf6lt\xe9s","Paste from clipboard":"Illessze be a v\xe1g\xf3lap","Your browser doesn't support direct access to the clipboard.":"A b\xf6ng\xe9sző nem t\xe1mogatja a k\xf6zvetlen hozz\xe1f\xe9r\xe9st biztos\xedt a v\xe1g\xf3lapra.","Copy selection":"M\xe1sol\xe1s kiv\xe1laszt\xe1sa",copy:"m\xe1sol\xe1s","Border radius":"Hat\xe1r sug\xe1r","Show all":"\xd6sszes",Apply:"Alkalmazni","Please fill out this field":"K\xe9rj\xfck, t\xf6ltse ki ezt a mezőt,","Please enter a web address":"K\xe9rj\xfck, \xedrja be a webc\xedmet",Default:"Alap\xe9rtelmezett",Circle:"K\xf6r",Dot:"Pont",Quadrate:"Quadrate",Find:"Tal\xe1lni","Find Previous":"Megtal\xe1lja Előző","Find Next":"K\xf6vetkező Keres\xe9se","Insert className":"Helyezze be az oszt\xe1ly nev\xe9t","Press Alt for custom resizing":"Nyomja meg az Alt egy\xe9ni \xe1tm\xe9retez\xe9s","License: %s":"Licenc: %s"}},92648:function(e,t){t.default={"Type something":"Ketik sesuatu","About Jodit":"Tentang Jodit","Jodit Editor":"Editor Jodit","Free Non-commercial Version":"Versi Bebas Non-komersil","Jodit User's Guide":"Panduan Pengguna Jodit","contains detailed help for using":"mencakup detail bantuan penggunaan","For information about the license, please go to our website:":"Untuk informasi tentang lisensi, silakan kunjungi website:","Buy full version":"Beli versi lengkap","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Hak Cipta \xa9 XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.",Anchor:"Tautan","Open in new tab":"Buka di tab baru","Open in fullsize":"Buka editor dalam ukuran penuh","Clear Formatting":"Hapus Pemformatan","Fill color or set the text color":"Isi warna atau atur warna teks",Redo:"Ulangi",Undo:"Batalkan",Bold:"Tebal",Italic:"Miring","Insert Unordered List":"Sisipkan Daftar Tidak Berurut","Insert Ordered List":"Sisipkan Daftar Berurut","Align Center":"Tengah","Align Justify":"Penuh","Align Left":"Kiri","Align Right":"Kanan","Insert Horizontal Line":"Sisipkan Garis Horizontal","Insert Image":"Sisipkan Gambar","Insert file":"Sisipkan Berkas","Insert youtube/vimeo video":"Sisipkan video youtube/vimeo","Insert link":"Sisipkan tautan","Font size":"Ukuran font","Font family":"Keluarga font","Insert format block":"Sisipkan blok format",Normal:"Normal","Heading 1":"Heading 1","Heading 2":"Heading 2","Heading 3":"Heading 3","Heading 4":"Heading 4",Quote:"Kutip",Code:"Kode",Insert:"Sisipkan","Insert table":"Sisipkan tabel","Decrease Indent":"Kurangi Indentasi","Increase Indent":"Tambah Indentasi","Select Special Character":"Pilih Karakter Spesial","Insert Special Character":"Sisipkan Karakter Spesial","Paint format":"Formar warna","Change mode":"Ubah mode",Margins:"Batas",top:"atas",right:"kanan",bottom:"bawah",left:"kiri",Styles:"Gaya",Classes:"Class",Align:"Rata",Right:"Kanan",Center:"Tengah",Left:"Kiri","--Not Set--":"--Tidak diset--",Src:"Src",Title:"Judul",Alternative:"Teks alternatif",Link:"Tautan","Open link in new tab":"Buka tautan di tab baru",Image:"Gambar",file:"berkas",Advanced:"Lanjutan","Image properties":"Properti gambar",Cancel:"Batal",Ok:"Ya","Your code is similar to HTML. Keep as HTML?":"Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste as HTML":"Paste sebagai HTML",Keep:"Jaga",Clean:"Bersih","Insert as Text":"Sisipkan sebagai teks","Insert only Text":"Sisipkan hanya teks","Word Paste Detected":"Terdeteksi paste dari Word","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","File Browser":"Penjelajah Berkas","Error on load list":"Error ketika memuat list","Error on load folders":"Error ketika memuat folder","Are you sure?":"Apakah Anda yakin?","Enter Directory name":"Masukkan nama Direktori","Create directory":"Buat direktori","type name":"ketik nama","Drop image":"Letakkan gambar","Drop file":"Letakkan berkas","or click":"atau klik","Alternative text":"Teks alternatif",Browse:"Jelajahi",Upload:"Unggah",Background:"Latar Belakang",Text:"Teks",Top:"Atas",Middle:"Tengah",Bottom:"Bawah","Insert column before":"Sisipkan kolom sebelumnya","Insert column after":"Sisipkan kolom setelahnya","Insert row above":"Sisipkan baris di atasnya","Insert row below":"Sisipkan baris di bawahnya","Delete table":"Hapus tabel","Delete row":"Hapus baris","Delete column":"Hapus kolom","Empty cell":"Kosongkan cell",source:"sumber",bold:"tebal",italic:"miring",brush:"sikat",link:"tautan",undo:"batalkan",redo:"ulangi",table:"tabel",image:"gambar",eraser:"penghapus",paragraph:"paragraf",fontsize:"ukuran font",video:"video",font:"font",about:"tentang",print:"cetak",underline:"garis bawah",strikethrough:"coret",indent:"menjorok ke dalam",outdent:"menjorok ke luar",fullsize:"ukuran penuh",shrink:"menyusut",hr:"hr",ul:"ul",ol:"ol",cut:"potong",selectall:"Pilih semua","Embed code":"Kode embed","Open link":"Buka tautan","Edit link":"Edit tautan","No follow":"No follow",Unlink:"Hapus tautan",Eye:"Mata",pencil:"pensil",Update:"Perbarui"," URL":"URL",Edit:"Edit","Horizontal align":"Perataan horizontal",Filter:"Filter","Sort by changed":"Urutkan berdasarkan perubahan","Sort by name":"Urutkan berdasarkan nama","Sort by size":"Urutkan berdasarkan ukuran","Add folder":"Tambah folder",Reset:"Reset",Save:"Simpan","Save as ...":"Simpan sebagai...",Resize:"Ubah ukuran",Crop:"Crop",Width:"Lebar",Height:"Tinggi","Keep Aspect Ratio":"Jaga aspek rasio",Yes:"Ya",No:"Tidak",Remove:"Copot",Select:"Pilih","Chars: %d":"Karakter: %d","Words: %d":"Kata: %d",All:"Semua","Select %s":"Pilih %s","Select all":"Pilih semua","Vertical align":"Rata vertikal",Split:"Bagi","Split vertical":"Bagi secara vertikal","Split horizontal":"Bagi secara horizontal",Merge:"Gabungkan","Add column":"Tambah kolom","Add row":"tambah baris",Delete:"Hapus",Border:"Bingkai","License: %s":"Lisensi: %s","Strike through":"Coret",Underline:"Garis Bawah",superscript:"Superskrip",subscript:"Subskrip","Cut selection":"Potong pilihan",Break:"Berhenti","Search for":"Mencari","Replace with":"Ganti dengan",Replace:"Mengganti",Paste:"Paste","Choose Content to Paste":"Pilih konten untuk dipaste","You can only edit your own images. Download this image on the host?":"Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","The image has been successfully uploaded to the host!":"Gambar telah sukses diunggah ke host!",palette:"palet","There are no files":"Tidak ada berkas",Rename:"ganti nama","Enter new name":"Masukkan nama baru",preview:"pratinjau",download:"Unduh","Paste from clipboard":"Paste dari clipboard","Your browser doesn't support direct access to the clipboard.":"Browser anda tidak mendukung akses langsung ke clipboard.","Copy selection":"Copy seleksi",copy:"copy","Border radius":"Border radius","Show all":"Tampilkan semua",Apply:"Menerapkan","Please fill out this field":"Silahkan mengisi kolom ini","Please enter a web address":"Silahkan masukkan alamat web",Default:"Default",Circle:"Lingkaran",Dot:"Dot",Quadrate:"Kuadrat",Find:"Menemukan","Find Previous":"Menemukan Sebelumnya","Find Next":"Menemukan Berikutnya","Insert className":"Masukkan nama kelas","Press Alt for custom resizing":"Tekan Alt untuk mengubah ukuran kustom"}},62232:function(e,t){t.default={"Type something":"Scrivi qualcosa...",Advanced:"Avanzato","About Jodit":"A proposito di Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Guida utente di Jodit","contains detailed help for using":"contiene una guida dettagliata per l'uso.","For information about the license, please go to our website:":"Per informazioni sulla licenza, si prega di visitare il nostro sito web:","Buy full version":"Acquista la versione completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"gi\xf9",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio","Image properties":"Propriet\xe0 dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice \xe8 simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incolla testo da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca per","Replace with":"Sostituisci con",Replace:"Sostituisci",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"risorsa",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine \xe8 stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"}},62700:function(e,t){t.default={"Type something":"なにかタイプしてください",Advanced:"高度な設定","About Jodit":"Joditについて","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit ユーザーズ・ガイド","contains detailed help for using":"詳しい使い方","For information about the license, please go to our website:":"ライセンス詳細についてはJodit Webサイトを確認ください:","Buy full version":"フルバージョンを購入","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"新しいタブで開く","Open in fullsize":"エディターのサイズ(フル/ノーマル)","Clear Formatting":"書式をクリア","Fill color or set the text color":"テキストの色",Redo:"やり直し",Undo:"元に戻す",Bold:"太字",Italic:"斜体","Insert Unordered List":"箇条書き","Insert Ordered List":"番号付きリスト","Align Center":"中央揃え","Align Justify":"両端揃え","Align Left":"左揃え","Align Right":"右揃え","Insert Horizontal Line":"区切り線を挿入","Insert Image":"画像を挿入","Insert file":"ファイルを挿入","Insert youtube/vimeo video":"Youtube/Vimeo 動画","Insert link":"リンクを挿入","Font size":"フォントサイズ","Font family":"フォント","Insert format block":"テキストのスタイル",Normal:"指定なし","Heading 1":"タイトル1","Heading 2":"タイトル2","Heading 3":"タイトル3","Heading 4":"タイトル4",Quote:"引用",Code:"コード",Insert:"挿入","Insert table":"表を挿入","Decrease Indent":"インデント減","Increase Indent":"インデント増","Select Special Character":"特殊文字を選択","Insert Special Character":"特殊文字を挿入","Paint format":"書式を貼付け","Change mode":"編集モード切替え",Margins:"マージン",top:"上",right:"右",bottom:"下",left:"左",Styles:"スタイル",Classes:"クラス",Align:"配置",Right:"右寄せ",Center:"中央寄せ",Left:"左寄せ","--Not Set--":"指定なし",Src:"ソース",Title:"タイトル",Alternative:"代替テキスト",Link:"リンク","Open link in new tab":"新しいタブで開く",Image:"画像",file:"ファイル","Image properties":"画像のプロパティー",Cancel:"キャンセル",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"HTMLコードを保持しますか?","Paste as HTML":"HTMLで貼付け",Keep:"HTMLを保持",Clean:"Clean","Insert as Text":"HTMLをテキストにする","Word Paste Detected":"Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Insert only Text":"テキストだけ","File Browser":"File Browser","Error on load list":"Error on load list","Error on load folders":"Error on load folders","Are you sure?":"Are you sure?","Enter Directory name":"Enter Directory name","Create directory":"Create directory","type name":"type name","Drop image":"ここに画像をドロップ","Drop file":"ここにファイルをドロップ","or click":"or クリック","Alternative text":"代替テキスト",Browse:"ブラウズ",Upload:"アップロード",Background:"背景",Text:"文字",Top:"上",Middle:"中央",Bottom:"下","Insert column before":"左に列を挿入","Insert column after":"右に列を挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Delete table":"表を削除","Delete row":"行を削除","Delete column":"列を削除","Empty cell":"セルを空にする","Chars: %d":"文字数: %d","Words: %d":"単語数: %d","Strike through":"取り消し線",Underline:"下線",superscript:"上付き文字",subscript:"下付き文字","Cut selection":"切り取り","Select all":"すべて選択",Break:"Pause","Search for":"検索","Replace with":"置換",Replace:"交換",Paste:"貼付け","Choose Content to Paste":"選択した内容を貼付け",All:"全部",source:"source",bold:"bold",italic:"italic",brush:"brush",link:"link",undo:"undo",redo:"redo",table:"table",image:"image",eraser:"eraser",paragraph:"paragraph",fontsize:"fontsize",video:"video",font:"font",about:"about",print:"print",underline:"underline",strikethrough:"strikethrough",indent:"indent",outdent:"outdent",fullsize:"fullsize",shrink:"shrink",hr:"分割線",ul:"箇条書き",ol:"番号付きリスト",cut:"切り取り",selectall:"すべて選択","Open link":"リンクを開く","Edit link":"リンクを編集","No follow":"No follow",Unlink:"リンク解除",Eye:"サイトを確認"," URL":"URL",Reset:"リセット",Save:"保存","Save as ...":"Save as ...",Resize:"リサイズ",Crop:"Crop",Width:"幅",Height:"高さ","Keep Aspect Ratio":"縦横比を保持",Yes:"はい",No:"いいえ",Remove:"移除",Select:"選択","Select %s":"選択: %s",Update:"更新","Vertical align":"垂直方向の配置",Merge:"セルの結合","Add column":"列を追加","Add row":"行を追加",Border:"境界線","Embed code":"埋め込みコード",Delete:"削除",Edit:"編集","Horizontal align":"水平方向の配置",Filter:"Filter","Sort by changed":"Sort by changed","Sort by name":"Sort by name","Sort by size":"Sort by size","Add folder":"Add folder",Split:"分割","Split vertical":"セルの分割(垂直方向)","Split horizontal":"セルの分割(水平方向)","You can only edit your own images. Download this image on the host?":"You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!":"The image has been successfully uploaded to the host!",palette:"パレット",pencil:"鉛筆","There are no files":"There are no files",Rename:"Rename","Enter new name":"Enter new name",preview:"プレビュー",download:"ダウンロード","Paste from clipboard":"貼り付け","Your browser doesn't support direct access to the clipboard.":"お使いのブラウザはクリップボードを使用できません","Copy selection":"コピー",copy:"copy","Border radius":"角の丸み","Show all":"全て表示",Apply:"適用","Please fill out this field":"まだこの分野","Please enter a web address":"を入力してくださいウェブアドレス",Default:"デフォルト",Circle:"白丸",Dot:"黒丸",Quadrate:"四角",Find:"見","Find Previous":"探前","Find Next":"由来","Lower Alpha":"英小文字","Lower Greek":"ギリシャ文字","Lower Roman":"ローマ数字小文字","Upper Alpha":"英大文字","Upper Roman":"ローマ数字大文字","Insert className":"クラス名を挿入","Press Alt for custom resizing":"カスタムサイズ変更のためのAltキーを押します","License: %s":"ライセンス: %s"}},75445:function(e,t){t.default={}},97519:function(e,t){t.default={"Type something":"무엇이든 입력하세요","About Jodit":"Jodit에 대하여","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit 사용자 안내서","contains detailed help for using":"자세한 도움말이 들어있어요","For information about the license, please go to our website:":"라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:","Buy full version":"풀 버전 구입하기","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"\xa9 XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.",Anchor:"Anchor","Open in new tab":"새 탭에서 열기","Open in fullsize":"전체 크기로 보기","Clear Formatting":"서식 지우기","Fill color or set the text color":"글씨 색상",Redo:"재실행",Undo:"실행 취소",Bold:"굵게",Italic:"기울임","Insert Unordered List":"글머리 목록","Insert Ordered List":"번호 목록","Align Center":"가운데 정렬","Align Justify":"양쪽 정렬","Align Left":"왼쪽 정렬","Align Right":"오른쪽 정렬","Insert Horizontal Line":"수평 구분선 넣기","Insert Image":"이미지 넣기","Insert file":"파일 넣기","Insert youtube/vimeo video":"Youtube/Vimeo 동영상","Insert link":"링크 넣기","Font size":"글꼴 크기","Font family":"글꼴","Insert format block":"블록 요소 넣기",Normal:"일반 텍스트","Heading 1":"제목 1","Heading 2":"제목 2","Heading 3":"제목 3","Heading 4":"제목 4",Quote:"인용",Code:"코드",Insert:"붙여 넣기","Insert table":"테이블","Decrease Indent":"들여쓰기 감소","Increase Indent":"들여쓰기 증가","Select Special Character":"특수문자 선택","Insert Special Character":"특수문자 입력","Paint format":"페인트 형식","Change mode":"편집모드 변경",Margins:"마진",top:"위",right:"오른쪽",bottom:"아래",left:"왼쪽",Styles:"스타일",Classes:"클래스",Align:"정렬",Right:"오른쪽으로",Center:"가운데로",Left:"왼쪽으로","--Not Set--":"--지정 안 함--",Src:"경로(src)",Title:"제목",Alternative:"대체 텍스트(alt)",Link:"링크","Open link in new tab":"새 탭에서 열기",file:"파일",Advanced:"고급","Image properties":"이미지 속성",Cancel:"취소",Ok:"확인","Your code is similar to HTML. Keep as HTML?":"HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","Paste as HTML":"HTML로 붙여넣기",Keep:"원본 유지",Clean:"지우기","Insert as Text":"텍스트로 넣기","Insert only Text":"텍스트만 넣기","Word Paste Detected":"Word 붙여넣기 감지","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","File Browser":"파일 탐색기","Error on load list":"목록 불러오기 에러","Error on load folders":"폴더 불러오기","Are you sure?":"정말 진행할까요?","Enter Directory name":"디렉토리 이름 입력","Create directory":"디렉토리 생성","type name":"이름 입력","Drop image":"이미지 드래그","Drop file":"파일 드래그","or click":"혹은 클릭","Alternative text":"대체 텍스트",Browse:"탐색",Upload:"업로드",Background:"배경",Text:"텍스트",Top:"위",Middle:"중앙",Bottom:"아래","Insert column before":"이전 열에 삽입","Insert column after":"다음 열에 삽입","Insert row above":"위 행에 삽입","Insert row below":"아래 행에 삽입","Delete table":"테이블 삭제","Delete row":"행 삭제","Delete column":"열 삭제","Empty cell":"빈 셀",source:"HTML 소스",bold:"볼드",italic:"이탤릭",brush:"브러시",link:"링크",undo:"실행 취소",redo:"재실행",table:"테이블",image:"이미지",eraser:"지우개",paragraph:"문단",fontsize:"글꼴 크기",video:"비디오",font:"글꼴",about:"편집기 정보",print:"프린트",underline:"밑줄",strikethrough:"취소선",indent:"들여쓰기",outdent:"내어쓰기",fullsize:"전체 화면",shrink:"일반 화면",hr:"구분선",ul:"글머리 목록",ol:"번호 목록",cut:"잘라내기",selectall:"모두 선택","Embed code":"Embed 코드","Open link":"링크 열기","Edit link":"링크 편집","No follow":"No follow",Unlink:"링크 제거",Eye:"사이트 확인",pencil:"연필",Update:"갱신"," URL":"URL",Edit:"편집","Horizontal align":"수평 정렬",Filter:"필터","Sort by changed":"변경일 정렬","Sort by name":"이름 정렬","Sort by size":"크기 정렬","Add folder":"새 폴더",Reset:"초기화",Save:"저장","Save as ...":"새로 저장하기 ...",Resize:"리사이즈",Crop:"크롭",Width:"가로 길이",Height:"세로 높이","Keep Aspect Ratio":"비율 유지하기",Yes:"네",No:"아니오",Remove:"제거",Select:"선택","Chars: %d":"문자수: %d","Words: %d":"단어수: %d",All:"모두","Select all":"모두 선택","Select %s":"선택: %s","Vertical align":"수직 정렬",Split:"분할","Split vertical":"세로 셀 분할","Split horizontal":"가로 셀 분할",Merge:"셀 병합","Add column":"열 추가","Add row":"행 추가",Delete:"삭제",Border:"외곽선","License: %s":"라이센스: %s","Strike through":"취소선",Underline:"밑줄",superscript:"윗첨자",subscript:"아래첨자","Cut selection":"선택 잘라내기",Break:"구분자","Search for":"검색","Replace with":"대체하기",Replace:"대체",Paste:"붙여넣기","Choose Content to Paste":"붙여넣을 내용 선택","You can only edit your own images. Download this image on the host?":"외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","The image has been successfully uploaded to the host!":"이미지를 무사히 업로드 했어요!",palette:"팔레트","There are no files":"파일이 없어요",Rename:"이름 변경","Enter new name":"새 이름 입력",preview:"미리보기",download:"다운로드","Paste from clipboard":"클립보드 붙여넣기","Your browser doesn't support direct access to the clipboard.":"사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","Copy selection":"선택 복사",copy:"복사","Border radius":"둥근 테두리","Show all":"모두 보기",Apply:"적용","Please fill out this field":"이 항목을 입력해주세요!","Please enter a web address":"웹 URL을 입력해주세요.",Default:"기본",Circle:"원",Dot:"점",Quadrate:"정사각형",Find:"찾기","Find Previous":"이전 찾기","Find Next":"다음 찾기","Insert className":"className 입력","Press Alt for custom resizing":"사용자 지정 크기 조정에 대 한 고도 누르십시오"}},80926:function(e,t){t.default={"Type something":"Бичээд үзээрэй",Advanced:"Дэвшилтэт","About Jodit":"Jodit-ын талаар ","Jodit Editor":"Jodit програм","Jodit User's Guide":"Jodit гарын авлага","contains detailed help for using":"хэрэглээний талаар дэлгэрэнгүй мэдээллийг агуулна","For information about the license, please go to our website:":"Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:","Buy full version":"Бүрэн хувилбар худалдан авах","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Зохиогчийн эрх хамгаалагдсан \xa9 XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.",Anchor:"Холбоо барих","Open in new tab":"Шинэ табаар нээх","Open in fullsize":"Бүтэн дэлгэцээр нээх","Clear Formatting":"Форматыг арилгах","Fill color or set the text color":"Өнгөөр будах эсвэл текстийн өнгө сонгох",Redo:"Дахих",Undo:"Буцаах",Bold:"Тод",Italic:"Налуу","Insert Unordered List":"Тэмдэгт жагсаалт нэмэх","Insert Ordered List":"Дугаарт жагсаалт нэмэх","Align Center":"Голлож байрлуулах","Align Justify":"Тэгшитгэн байрлуулах","Align Left":"Зүүнд байрлуулах","Align Right":"Баруунд байрлуулах","Insert Horizontal Line":"Хэвтээ зураас нэмэх","Insert Image":"Зураг нэмэх","Insert file":"Файл нэмэх","Insert youtube/vimeo video":"Youtube/Vimeo видео нэмэх","Insert link":"Холбоос нэмэх","Font size":"Фонтын хэмжээ","Font family":"Фонтын бүл","Insert format block":"Блок нэмэх",Normal:"Хэвийн","Heading 1":"Гарчиг 1","Heading 2":"Гарчиг 2","Heading 3":"Гарчиг 3","Heading 4":"Гарчиг 4",Quote:"Ишлэл",Code:"Код",Insert:"Оруулах","Insert table":"Хүснэгт оруулах","Decrease Indent":"Доголын зай хасах","Increase Indent":"Доголын зай нэмэх","Select Special Character":"Тусгай тэмдэгт сонгох","Insert Special Character":"Тусгай тэмдэгт нэмэх","Paint format":"Зургийн формат","Change mode":"Горим өөрчлөх",Margins:"Цаасны зай",top:"Дээрээс",right:"Баруунаас",bottom:"Доороос",left:"Зүүнээс",Styles:"CSS стиль",Classes:"CSS анги",Align:"Байрлуулах",Right:"Баруун",Center:"Төв",Left:"Зүүн","--Not Set--":"--Тодорхойгүй--",Src:"Эх үүсвэр",Title:"Гарчиг",Alternative:"Алтернатив текст",Link:"Холбоос","Open link in new tab":"Холбоосыг шинэ хавтсанд нээх",Image:"Зураг",file:"Файл","Image properties":"Зургийн үзүүлэлт",Cancel:"Цуцлах",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Таны код HTML кодтой адил байна. HTML форматаар үргэлжлүүлэх үү?","Paste as HTML":"HTML байдлаар буулгах",Keep:"Хадгалах",Clean:"Цэвэрлэх","Insert as Text":"Текст байдлаар нэмэх","Word Paste Detected":"Word байдлаар буулгасан байна","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Буулгасан агуулга Microsoft Word/Excel форматтай байна. Энэ форматыг хэвээр хадгалах уу эсвэл арилгах уу?","Insert only Text":"Зөвхөн текст оруулах","File Browser":"Файлын цонх","Error on load list":"Жагсаалт татах үед алдаа гарлаа","Error on load folders":"Хавтас татах үед алдаа гарлаа","Are you sure?":"Итгэлтэй байна уу?","Enter Directory name":"Хавтсын нэр оруулах","Create directory":"Хавтас үүсгэх","type name":"Нэр бичих","Drop image":"Зураг буулгах","Drop file":"Файл буулгах","or click":"эсвэл товш","Alternative text":"Алтернатив текст",Browse:"Үзэх",Upload:"Байршуулах",Background:"Арын зураг",Text:"Текст",Top:"Дээр",Middle:"Дунд",Bottom:"Доор","Insert column before":"Урд нь багана нэмэх","Insert column after":"Ард нь багана нэмэх","Insert row above":"Дээр нь мөр нэмэх","Insert row below":"Доор нь мөр нэмэх","Delete table":"Хүснэгт устгах","Delete row":"Мөр устгах","Delete column":"Багана устгах","Empty cell":"Нүд цэвэрлэх",Delete:"Устгах","Strike through":"Дээгүүр зураас",Underline:"Доогуур зураас",Break:"Мөрийг таслах","Search for":"Хайх","Replace with":"Үүгээр солих",Replace:"Солих",Edit:"Засах","Vertical align":"Босоо эгнүүлэх","Horizontal align":"Хэвтээ эгнүүлэх",Filter:"Шүүх","Sort by changed":"Сүүлд өөрчлөгдсөнөөр жагсаах","Sort by name":"Нэрээр жагсаах","Sort by size":"Хэмжээгээр жагсаах","Add folder":"Хавтас нэмэх",Split:"Задлах","Split vertical":"Баганаар задлах","Split horizontal":"Мөрөөр задлах",Merge:"Нэгтгэх","Add column":"Багана нэмэх","Add row":"Мөр нэмэх",Border:"Хүрээ","Embed code":"Код оруулах",Update:"Шинэчлэх",superscript:"Дээд индекс",subscript:"Доод индекс","Cut selection":"Сонголтыг таслах",Paste:"Буулгах","Choose Content to Paste":"Буулгах агуулгаа сонгоно уу","Chars: %d":"Тэмдэгт: %d","Words: %d":"Үг: %d",All:"Бүгдийг","Select %s":"Сонго: %s","Select all":"Бүгдийг сонго",source:"Эх үүсвэр",bold:"Тод",italic:"Налуу",brush:"Будах",link:"Холбоос",undo:"Буцаах",redo:"Дахих",table:"Хүснэгт",image:"Зураг",eraser:"Баллуур",paragraph:"Параграф",fontsize:"Фонтын хэмжээ",video:"Видео",font:"Фонт",about:"Тухай",print:"Хэвлэх",underline:"Доогуур зураас",strikethrough:"Дээгүүр зураас",indent:"Догол нэмэх",outdent:"Догол багасгах",fullsize:"Бүтэн дэлгэц",shrink:"Багасга",hr:"Хаалт",ul:"Тэмдэгт жагсаалт",ol:"Дугаарласан жагсаалт",cut:"Таслах",selectall:"Бүгдийг сонго","Open link":"Холбоос нээх","Edit link":"Холбоос засах","No follow":"Nofollow \xf6zelliği",Unlink:"Холбоос салгах",Eye:"Нүд",pencil:"Засах"," URL":"URL",Reset:"Буцаах",Save:"Хадгалах","Save as ...":"Өөрөөр хадгалах",Resize:"Хэмжээг өөрчил",Crop:"Тайрах",Width:"Өргөн",Height:"Өндөр","Keep Aspect Ratio":"Харьцааг хадгал",Yes:"Тийм",No:"Үгүй",Remove:"Арилга",Select:"Сонго","You can only edit your own images. Download this image on the host?":"Та зөвхөн өөрийн зургуудаа янзлах боломжтой. Энэ зургийг өөр лүүгээ татмаар байна уу?","The image has been successfully uploaded to the host!":"Зургийг хост руу амжилттай хадгалсан",palette:"Палет","There are no files":"Энд ямар нэг файл алга",Rename:"Шинээр нэрлэх","Enter new name":"Шинэ нэр оруулна уу",preview:"Урьдчилан харах",download:"Татах","Paste from clipboard":"Самбараас хуулах ","Your browser doesn't support direct access to the clipboard.":"Энэ вэб хөтчөөс самбарт хандах эрх алга.","Copy selection":"Сонголтыг хуул",copy:"Хуулах","Border radius":"Хүрээний радиус","Show all":"Бүгдийг харуулах",Apply:"Хэрэгжүүл","Please fill out this field":"Энэ талбарыг бөглөнө үү","Please enter a web address":"Вэб хаягаа оруулна уу",Default:"Үндсэн",Circle:"Дугуй",Dot:"Цэг",Quadrate:"Дөрвөлжин",Find:"Хайх","Find Previous":"Өмнөхийг ол","Find Next":"Дараагийнхийг ол","Insert className":"Бүлгийн нэрээ оруулна уу","Press Alt for custom resizing":"Хэмжээсийг шинээр өөчрлөхийн тулд Alt товчин дээр дарна уу","License: %s":"Лиценз: %s"}},52995:function(e,t){t.default={"Type something":"Begin met typen..",Advanced:"Geavanceerd","About Jodit":"Over Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Gratis niet-commerci\xeble versie","Jodit User's Guide":"Jodit gebruikershandleiding","contains detailed help for using":"bevat gedetailleerde informatie voor gebruik.","For information about the license, please go to our website:":"Voor informatie over de licentie, ga naar onze website:","Buy full version":"Volledige versie kopen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.",Anchor:"Anker","Open in new tab":"Open in nieuwe tab","Open in fullsize":"Editor in volledig scherm openen","Clear Formatting":"Opmaak verwijderen","Fill color or set the text color":"Vulkleur of tekstkleur aanpassen",Redo:"Opnieuw",Undo:"Ongedaan maken",Bold:"Vet",Italic:"Cursief","Insert Unordered List":"Geordende list invoegen","Insert Ordered List":"Ongeordende lijst invoegen","Align Center":"Centreren","Align Justify":"Uitlijnen op volledige breedte","Align Left":"Links uitlijnen","Align Right":"Rechts uitlijnen","Insert Horizontal Line":"Horizontale lijn invoegen","Insert Image":"Afbeelding invoegen","Insert file":"Bestand invoegen","Insert youtube/vimeo video":"Youtube/Vimeo video invoegen","Insert link":"Link toevoegen","Font size":"Tekstgrootte","Font family":"Lettertype","Insert format block":"Format blok invoegen",Normal:"Normaal","Heading 1":"Koptekst 1","Heading 2":"Koptekst 2","Heading 3":"Koptekst 3","Heading 4":"Koptekst 4",Quote:"Citaat",Code:"Code",Insert:"Invoegen","Insert table":"Tabel invoegen","Decrease Indent":"Inspringing verkleinen","Increase Indent":"Inspringing vergroten","Select Special Character":"Symbool selecteren","Insert Special Character":"Symbool invoegen","Paint format":"Opmaak kopieren","Change mode":"Modus veranderen",Margins:"Marges",top:"Boven",right:"Rechts",bottom:"Onder",left:"Links",Styles:"CSS styles",Classes:"CSS classes",Align:"Uitlijning",Right:"Rechts",Center:"Gecentreerd",Left:"Links","--Not Set--":"--Leeg--",Src:"Src",Title:"Titel",Alternative:"Alternatieve tekst",Link:"Link","Open link in new tab":"Link in nieuwe tab openen",Image:"Afbeelding",file:"Bestand","Image properties":"Afbeeldingseigenschappen",Cancel:"Annuleren",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Deze code lijkt op HTML. Als HTML behouden?","Paste as HTML":"Invoegen als HTML",Keep:"Origineel behouden",Clean:"Opschonen","Insert as Text":"Als tekst invoegen","Word Paste Detected":"Word-tekst gedetecteerd","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Insert only Text":"Als onopgemaakte tekst invoegen","File Browser":"Bestandsbrowser","Error on load list":"Fout bij het laden van de lijst","Error on load folders":"Fout bij het laden van de mappenlijst","Are you sure?":"Weet je het zeker?","Enter Directory name":"Geef de map een naam","Create directory":"Map aanmaken","type name":"Type naam","Drop image":"Sleep hier een afbeelding naartoe","Drop file":"Sleep hier een bestand naartoe","or click":"of klik","Alternative text":"Alternatieve tekst",Browse:"Bladeren",Upload:"Uploaden",Background:"Achtergrond",Text:"Tekst",Top:"Boven",Middle:"Midden",Bottom:"Onder","Insert column before":"Kolom invoegen (voor)","Insert column after":"Kolom invoegen (na)","Insert row above":"Rij invoegen (boven)","Insert row below":"Rij invoegen (onder)","Delete table":"Tabel verwijderen","Delete row":"Rij verwijderen","Delete column":"Kolom verwijderen","Empty cell":"Cel leegmaken",Delete:"Verwijderen","Strike through":"Doorstrepen",Underline:"Onderstrepen",Break:"Enter","Search for":"Zoek naar","Replace with":"Vervangen door",Replace:"Vervangen",Edit:"Bewerken","Vertical align":"Verticaal uitlijnen","Horizontal align":"Horizontaal uitlijnen",Filter:"Filteren","Sort by changed":"Sorteren op wijzigingsdatum","Sort by name":"Sorteren op naam","Sort by size":"Sorteren op grootte","Add folder":"Map toevoegen",Split:"Splitsen","Split vertical":"Verticaal splitsen","Split horizontal":"Horizontaal splitsen",Merge:"Samenvoegen","Add column":"Kolom toevoegen","Add row":"Rij toevoegen",Border:"Rand","Embed code":"Embed code",Update:"Updaten",superscript:"Superscript",subscript:"Subscript","Cut selection":"Selectie knippen",Paste:"Plakken","Choose Content to Paste":"Kies content om te plakken","Chars: %d":"Tekens: %d","Words: %d":"Woorden: %d",All:"Alles","Select %s":"Selecteer: %s","Select all":"Selecteer alles",source:"Broncode",bold:"vet",italic:"cursief",brush:"kwast",link:"link",undo:"ongedaan maken",redo:"opnieuw",table:"tabel",image:"afbeelding",eraser:"gum",paragraph:"paragraaf",fontsize:"lettergrootte",video:"video",font:"lettertype",about:"over",print:"afdrukken",underline:"onderstreept",strikethrough:"doorgestreept",indent:"inspringen",outdent:"minder inspringen",fullsize:"volledige grootte",shrink:"kleiner maken",hr:"horizontale lijn",ul:"lijst",ol:"genummerde lijst",cut:"knip",selectall:"alles selecteren","Open link":"Link openen","Edit link":"Link aanpassen","No follow":"Niet volgen",Unlink:"link verwijderen",Eye:"Recensie",pencil:"Om te bewerken"," URL":" URL",Reset:"Herstellen",Save:"Opslaan","Save as ...":"Opslaan als ...",Resize:"Grootte aanpassen",Crop:"Bijknippen",Width:"Breedte",Height:"Hoogte","Keep Aspect Ratio":"Verhouding behouden",Yes:"Ja",No:"Nee",Remove:"Verwijderen",Select:"Selecteren","You can only edit your own images. Download this image on the host?":"Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","The image has been successfully uploaded to the host!":"De afbeelding is succesvol ge\xfcploadet!",palette:"Palette","There are no files":"Er zijn geen bestanden in deze map.",Rename:"Hernoemen","Enter new name":"Voer een nieuwe naam in",preview:"Voorvertoning",download:"Download","Paste from clipboard":"Plakken van klembord","Your browser doesn't support direct access to the clipboard.":"Uw browser ondersteunt geen directe toegang tot het klembord.","Copy selection":"Selectie kopi\xebren",copy:"kopi\xebren","Border radius":"Border radius","Show all":"Toon alle",Apply:"Toepassen","Please fill out this field":"Vul dit veld in","Please enter a web address":"Voer een webadres in",Default:"Standaard",Circle:"Cirkel",Dot:"Punt",Quadrate:"Kwadraat",Find:"Zoeken","Find Previous":"Vorige Zoeken","Find Next":"Volgende Zoeken","Insert className":"Voeg de klassenaam in","Press Alt for custom resizing":"Druk op Alt voor aangepaste grootte","License: %s":"Licentie: %s"}},59526:function(e,t){t.default={"Type something":"Skriv noe","About Jodit":"Om Jodit","Jodit Editor":"Jodit-redigerer","Jodit User's Guide":"Jodit brukerveiledning","contains detailed help for using":"Inneholder detaljert hjelp for bruk","For information about the license, please go to our website:":"For informasjon om lisensen, bes\xf8k v\xe5r nettside:","Buy full version":"Kj\xf8p fullversjon","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Opphavsrett \xa9 XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.",Anchor:"Anker","Open in new tab":"\xc5pne i ny fane","Open in fullsize":"\xc5pne i fullskjerm","Clear Formatting":"Fjern formatering","Fill color or set the text color":"Endre bakgrunns- eller tekstfarge",Redo:"Gj\xf8r om",Undo:"Angre",Bold:"Fet",Italic:"Kursiv","Insert Unordered List":"Sett inn punktliste","Insert Ordered List":"Sett inn nummerert liste","Align Center":"Midtstill","Align Justify":"Juster","Align Left":"Venstrejuster","Align Right":"H\xf8yrejuster","Insert Horizontal Line":"Sett inn horisontal linje","Insert Image":"Sett inn bilde","Insert file":"Sett inn fil","Insert youtube/vimeo video":"Sett inn YouTube/Vimeo-video","Insert link":"Sett inn lenke","Font size":"Skriftst\xf8rrelse","Font family":"Skriftfamilie","Insert format block":"Sett inn formateringsblokk",Normal:"Normal","Heading 1":"Overskrift 1","Heading 2":"Overskrift 2","Heading 3":"Overskrift 3","Heading 4":"Overskrift 4",Quote:"Sitat",Code:"Kode",Insert:"Sett inn","Insert table":"Sett inn tabell","Decrease Indent":"Reduser innrykk","Increase Indent":"\xd8k innrykk","Select Special Character":"Velg spesialtegn","Insert Special Character":"Sett inn spesialtegn","Paint format":"Kopier format","Change mode":"Bytt modus (WYSIWYG/HTML)",Margins:"Marger",top:"topp",right:"h\xf8yre",bottom:"bunn",left:"venstre",Styles:"Stiler",Classes:"Klasser",Align:"Justering",Right:"H\xf8yre",Center:"Senter",Left:"Venstre","--Not Set--":"--Ikke satt--",Src:"Kilde",Title:"Tittel",Alternative:"Alternativ",Filter:"Filter",Link:"Lenke","Open link in new tab":"\xc5pne lenke i ny fane",Image:"Bilde",file:"fil",Advanced:"Avansert","Image properties":"Bildeegenskaper",Cancel:"Avbryt",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Koden din ligner HTML. Beholde som HTML?","Paste as HTML":"Lim inn som HTML",Keep:"Behold",Clean:"Rens","Insert as Text":"Lim inn som tekst","Word Paste Detected":"Word-innliming oppdaget","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Insert only Text":"Lim inn kun tekst","File Browser":"Filutforsker","Error on load list":"Feil ved lasting av liste","Error on load folders":"Feil ved lasting av mapper","Are you sure?":"Er du sikker?","Enter Directory name":"Skriv inn mappenavn","Create directory":"Opprett mappe","type name":"skriv navn","Drop image":"Slipp bilde","Drop file":"Slipp fil","or click":"eller klikk","Alternative text":"Alternativ tekst",Browse:"Bla gjennom",Upload:"Last opp",Background:"Bakgrunn",Border:"Kantlinje",Text:"Tekst",Top:"Topp",Middle:"Midt",Bottom:"Bunn","Insert column before":"Sett inn kolonne f\xf8r","Insert column after":"Sett inn kolonne etter","Insert row above":"Sett inn rad over","Insert row below":"Sett inn rad under","Delete table":"Slett tabell","Delete row":"Slett rad","Delete column":"Slett kolonne","Empty cell":"T\xf8m celle","Chars: %d":"Tegn: %d","Words: %d":"Ord: %d",Split:"Del","Split vertical":"Del vertikalt","Split horizontal":"Del horisontalt","Strike through":"Gjennomstreking",Underline:"Understreking",superscript:"hevet skrift",subscript:"senket skrift","Cut selection":"Klipp ut markering","Select all":"Velg alt",Break:"Pause","Search for":"S\xf8k etter","Replace with":"Erstatt med",Replace:"Erstatt",Paste:"Lim inn","Choose Content to Paste":"Velg innhold \xe5 lime inn",source:"kilde",bold:"fet",italic:"kursiv",brush:"pensel",link:"lenke",undo:"angre",redo:"gj\xf8r om",table:"tabell",image:"bilde",eraser:"viskel\xe6r",paragraph:"avsnitt",fontsize:"skriftst\xf8rrelse",video:"video",font:"skrift",about:"om redigeringsverkt\xf8yet",print:"skriv ut",underline:"understreking",strikethrough:"gjennomstreking",indent:"innrykk",outdent:"reduser innrykk",fullsize:"full st\xf8rrelse",shrink:"krympe",hr:"linje",ul:"punktliste",ol:"nummerert liste",cut:"klipp ut",selectall:"velg alt","Open link":"\xc5pne lenke","Edit link":"Rediger lenke","No follow":"Ingen oppf\xf8lging",Unlink:"Fjern lenke",Eye:"Forh\xe5ndsvisning",pencil:"Rediger"," URL":"URL",Reset:"Tilbakestill",Save:"Lagre","Save as ...":"Lagre som ...",Resize:"Endre st\xf8rrelse",Crop:"Beskj\xe6r",Width:"Bredde",Height:"H\xf8yde","Keep Aspect Ratio":"Behold proporsjoner",Yes:"Ja",No:"Nei",Remove:"Fjern",Select:"Velg","Select %s":"Velg: %s",Update:"Oppdater","Vertical align":"Vertikal justering",Merge:"Sl\xe5 sammen","Add column":"Legg til kolonne","Add row":"Legg til rad",Delete:"Slett","Horizontal align":"Horisontal justering","Sort by changed":"Sorter etter endring","Sort by name":"Sorter etter navn","Sort by size":"Sorter etter st\xf8rrelse","Add folder":"Legg til mappe",palette:"Palett",preview:"Forh\xe5ndsvisning","Line height":"Linjeh\xf8yde","Insert className":"Sett inn klassenavn",apply:"Bruk",edit:"Rediger","Show all":"Vis alle",sound:"Lyd","Interim Results":"Forel\xf8pige resultater",default:"Standard",circle:"Sirkel",dot:"Punkt",square:"Firkant","Press Alt for custom resizing":"Trykk p\xe5 Alt for \xe5 endre st\xf8rrelse","Copy selection":"Kopier utvalg","Paste from clipboard":"Lim inn fra utklippstavlen",Find:"Finne","Embed code":"Bygge inn kode",Edit:"Rediger",All:"Velg alle","License: %s":"Lisens: %s","You can only edit your own images. Download this image on the host?":"Du kan bare redigere dine egne bilder. Last ned dette bildet p\xe5 verten?","The image has been successfully uploaded to the host!":"Bildet har blitt lastet opp til verten!","There are no files":"Det er ingen filer i denne katalogen",Rename:"Gi nytt navn","Enter new name":"Skriv inn nytt navn",download:"Last ned","Your browser doesn't support direct access to the clipboard.":"Nettleseren din st\xf8tter ikke direkte tilgang til utklippstavlen.",copy:"kopi","Border radius":"Grenseradius",Apply:"Bruk","Please fill out this field":"Vennligst fyll ut dette feltet","Please enter a web address":"Vennligst skriv inn en webadresse",Default:"Standard",Circle:"Sirkel",Dot:"Prikk",Quadrate:"Firkant","Find Previous":"Finn forrige","Find Next":"Finn neste"}},40565:function(e,t){t.default={"Type something":"Napisz coś",Advanced:"Zaawansowane","About Jodit":"O Jodit","Jodit Editor":"Edytor Jodit","Jodit User's Guide":"Instrukcja Jodit","contains detailed help for using":"zawiera szczeg\xf3łowe informacje dotyczące użytkowania.","For information about the license, please go to our website:":"Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Buy full version":"Zakup pełnej wersji","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.",Anchor:"Kotwica","Open in new tab":"Otw\xf3rz w nowej zakładce","Open in fullsize":"Otw\xf3rz edytor w pełnym rozmiarze","Clear Formatting":"Wyczyść formatowanie","Fill color or set the text color":"Kolor wypełnienia lub ustaw kolor tekstu",Redo:"Pon\xf3w",Undo:"Cofnij",Bold:"Pogrubienie",Italic:"Kursywa","Insert Unordered List":"Wstaw listę wypunktowaną","Insert Ordered List":"Wstaw listę numeryczną","Align Center":"Wyśrodkuj","Align Justify":"Wyjustuj","Align Left":"Wyr\xf3wnaj do lewej","Align Right":"Wyr\xf3wnaj do prawej","Insert Horizontal Line":"Wstaw linię poziomą","Insert Image":"Wstaw grafikę","Insert file":"Wstaw plik","Insert youtube/vimeo video":"Wstaw film Youtube/vimeo","Insert link":"Wstaw link","Font size":"Rozmiar tekstu","Font family":"Kr\xf3j czcionki","Insert format block":"Wstaw formatowanie",Normal:"Normalne","Heading 1":"Nagł\xf3wek 1","Heading 2":"Nagł\xf3wek 2","Heading 3":"Nagł\xf3wek 3","Heading 4":"Nagł\xf3wek 4",Quote:"Cytat",Code:"Kod",Insert:"Wstaw","Insert table":"Wstaw tabelę","Decrease Indent":"Zmniejsz wcięcie","Increase Indent":"Zwiększ wcięcie","Select Special Character":"Wybierz znak specjalny","Insert Special Character":"Wstaw znak specjalny","Paint format":"Malarz format\xf3w","Change mode":"Zmień tryb",Margins:"Marginesy",top:"G\xf3rny",right:"Prawy",bottom:"Dolny",left:"Levy",Styles:"Style CSS",Classes:"Klasy CSS",Align:"Wyr\xf3wnanie",Right:"Prawa",Center:"środek",Left:"Lewa","--Not Set--":"brak",Src:"Źr\xf3dło",Title:"Tytuł",Alternative:"Tekst alternatywny",Link:"Link","Open link in new tab":"Otw\xf3rz w nowej zakładce",Image:"Grafika",file:"Plik","Image properties":"Właściwości grafiki",Cancel:"Anuluj",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Tw\xf3j kod wygląda jak HTML. Zachować HTML?","Paste as HTML":"Wkleić jako HTML?",Keep:"Oryginalny tekst",Clean:"Wyczyść","Insert as Text":"Wstaw jako tekst","Word Paste Detected":"Wykryto tekst w formacie Word","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Insert only Text":"Wstaw tylko treść","File Browser":"Przeglądarka plik\xf3w","Error on load list":"Błąd ładowania listy plik\xf3w","Error on load folders":"Błąd ładowania folder\xf3w","Are you sure?":"Czy jesteś pewien?","Enter Directory name":"Wprowadź nazwę folderu","Create directory":"Utw\xf3rz folder","type name":"wprowadź nazwę","Drop image":"Upuść plik graficzny","Drop file":"Upuść plik","or click":"lub kliknij tu","Alternative text":"Tekst alternatywny",Browse:"Przeglądaj",Upload:"Wczytaj",Background:"Tło",Text:"Treść",Top:"G\xf3ra",Middle:"Środek",Bottom:"D\xf3ł","Insert column before":"Wstaw kolumnę przed","Insert column after":"Wstaw kolumnę po","Insert row above":"Wstaw wiersz przed","Insert row below":"Wstaw wiersz po","Delete table":"Usuń tabelę","Delete row":"Usuń wiersz","Delete column":"Usuń kolumnę","Empty cell":"Wyczyść kom\xf3rkę",Delete:"Usuń","Strike through":"Przekreślenie",Underline:"Podkreślenie",Break:"Przerwa","Search for":"Szukaj","Replace with":"Zamień na",Replace:"Wymienić",Edit:"Edytuj","Vertical align":"Wyr\xf3wnywanie w pionie","Horizontal align":"Wyr\xf3wnywanie w poziomie",Filter:"Filtruj","Sort by changed":"Sortuj wg zmiany","Sort by name":"Sortuj wg nazwy","Sort by size":"Sortuj wg rozmiaru","Add folder":"Dodaj folder","Split vertical":"Podziel w pionie","Split horizontal":"Podziel w poziomie",Split:"Podziel",Merge:"Scal","Add column":"Dodaj kolumnę","Add row":"Dodaj wiersz",Border:"Obramowanie","Embed code":"Wstaw kod",Update:"Aktualizuj",superscript:"indeks g\xf3rny",subscript:"index dolny","Cut selection":"Wytnij zaznaczenie",Paste:"Wklej","Choose Content to Paste":"Wybierz zawartość do wklejenia","Chars: %d":"Znaki: %d","Words: %d":"Słowa: %d",All:"Wszystko","Select %s":"Wybierz: %s","Select all":"Wybierz wszystko",source:"HTML",bold:"pogrubienie",italic:"kursywa",brush:"pędzel",link:"link",undo:"cofnij",redo:"pon\xf3w",table:"tabela",image:"grafika",eraser:"wyczyść",paragraph:"akapit",fontsize:"rozmiar czcionki",video:"wideo",font:"czcionka",about:"O programie",print:"drukuj",underline:"podkreślenie",strikethrough:"przekreślenie",indent:"wcięcie",outdent:"wycięcie",fullsize:"pełen rozmiar",shrink:"przytnij",hr:"linia pozioma",ul:"lista",ol:"lista numerowana",cut:"wytnij",selectall:"zaznacz wszystko","Open link":"otw\xf3rz link","Edit link":"edytuj link","No follow":"Atrybut no-follow",Unlink:"Usuń link",Eye:"szukaj",pencil:"edytuj"," URL":"URL",Reset:"wyczyść",Save:"zapisz","Save as ...":"zapisz jako",Resize:"Zmień rozmiar",Crop:"Przytnij",Width:"Szerokość",Height:"Wysokość","Keep Aspect Ratio":"Zachowaj proporcje",Yes:"Tak",No:"Nie",Remove:"Usuń",Select:"Wybierz","You can only edit your own images. Download this image on the host?":"Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","The image has been successfully uploaded to the host!":"Grafika została pomyślnienie dodana na serwer",palette:"Paleta","There are no files":"Brak plik\xf3w.",Rename:"zmień nazwę","Enter new name":"Wprowadź nową nazwę",preview:"podgląd",download:"pobierz","Paste from clipboard":"Wklej ze schowka","Your browser doesn't support direct access to the clipboard.":"Twoja przeglądarka nie obsługuje schowka","Copy selection":"Kopiuj zaznaczenie",copy:"kopiuj","Border radius":"Zaokrąglenie krawędzi","Show all":"Pokaż wszystkie",Apply:"Zastosuj","Please fill out this field":"Proszę wypełnić to pole","Please enter a web address":"Proszę, wpisz adres sieci web",Default:"Domyślnie",Circle:"Koło",Dot:"Punkt",Quadrate:"Kwadrat",Find:"Znaleźć","Find Previous":"Znaleźć Poprzednie","Find Next":"Znajdź Dalej","Insert className":"Wstaw nazwę zajęć","Press Alt for custom resizing":"Naciśnij Alt, aby zmienić rozmiar","License: %s":"Licencja: %s"}},19292:function(e,t){t.default={"Type something":"Escreva algo...",Advanced:"Avan\xe7ado","About Jodit":"Sobre o Jodit","Jodit Editor":"Editor Jodit","Jodit User's Guide":"Guia de usu\xe1rio Jodit","contains detailed help for using":"cont\xe9m ajuda detalhada para o uso.","For information about the license, please go to our website:":"Para informa\xe7\xe3o sobre a licen\xe7a, por favor visite nosso site:","Buy full version":"Compre a vers\xe3o completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.",Anchor:"Link","Open in new tab":"Abrir em nova aba","Open in fullsize":"Abrir editor em tela cheia","Clear Formatting":"Limpar formata\xe7\xe3o","Fill color or set the text color":"Cor de preenchimento ou cor do texto",Redo:"Refazer",Undo:"Desfazer",Bold:"Negrito",Italic:"It\xe1lico","Insert Unordered List":"Inserir lista n\xe3o ordenada","Insert Ordered List":"Inserir lista ordenada","Align Center":"Centralizar","Align Justify":"Justificar","Align Left":"Alinhar \xe0 Esquerda","Align Right":"Alinhar \xe0 Direita","Insert Horizontal Line":"Inserir linha horizontal","Insert Image":"Inserir imagem","Insert file":"Inserir arquivo","Insert youtube/vimeo video":"Inserir v\xeddeo do Youtube/vimeo","Insert link":"Inserir link","Font size":"Tamanho da letra","Font family":"Fonte","Insert format block":"Inserir bloco",Normal:"Normal","Heading 1":"Cabe\xe7alho 1","Heading 2":"Cabe\xe7alho 2","Heading 3":"Cabe\xe7alho 3","Heading 4":"Cabe\xe7alho 4",Quote:"Cita\xe7\xe3o",Code:"C\xf3digo",Insert:"Inserir","Insert table":"Inserir tabela","Decrease Indent":"Diminuir recuo","Increase Indent":"Aumentar recuo","Select Special Character":"Selecionar caractere especial","Insert Special Character":"Inserir caractere especial","Paint format":"Copiar formato","Change mode":"Mudar modo",Margins:"Margens",top:"cima",right:"direta",bottom:"baixo",left:"esquerda",Styles:"Estilos CSS",Classes:"Classes CSS",Align:"Alinhamento",Right:"Direita",Center:"Centro",Left:"Esquerda","--Not Set--":"--N\xe3o Estabelecido--",Src:"Fonte",Title:"T\xedtulo",Alternative:"Texto Alternativo",Link:"Link","Open link in new tab":"Abrir link em nova aba",Image:"Imagem",file:"Arquivo","Image properties":"Propriedades da imagem",Cancel:"Cancelar",Ok:"Ok","Your code is similar to HTML. Keep as HTML?":"Seu c\xf3digo \xe9 similar ao HTML. Manter como HTML?","Paste as HTML":"Colar como HTML?",Keep:"Manter",Clean:"Limpar","Insert as Text":"Inserir como Texto","Word Paste Detected":"Colado do Word Detectado","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"O conte\xfado colado veio de um documento Microsoft Word/Excel. Voc\xea deseja manter o formato ou limpa-lo?","Insert only Text":"Inserir somente o Texto","File Browser":"Procurar arquivo","Error on load list":"Erro ao carregar a lista","Error on load folders":"Erro ao carregar as pastas","Are you sure?":"Voc\xea tem certeza?","Enter Directory name":"Escreva o nome da pasta","Create directory":"Criar pasta","type name":"Escreva seu nome","Drop image":"Soltar imagem","Drop file":"Soltar arquivo","or click":"ou clique","Alternative text":"Texto alternativo",Browse:"Explorar",Upload:"Upload",Background:"Fundo",Text:"Texto",Top:"Cima",Middle:"Meio",Bottom:"Baixo","Insert column before":"Inserir coluna antes","Insert column after":"Inserir coluna depois","Insert row above":"Inserir linha acima","Insert row below":"Inserir linha abaixo","Delete table":"Excluir tabela","Delete row":"Excluir linha","Delete column":"Excluir coluna","Empty cell":"Limpar c\xe9lula",Delete:"Excluir","Strike through":"Tachado",Underline:"Sublinhar",Break:"Pausa","Search for":"Procurar por","Replace with":"Substituir com",Replace:"Substituir",Edit:"Editar","Vertical align":"Alinhamento vertical","Horizontal align":"Alinhamento horizontal",Filter:"filtrar","Sort by changed":"Ordenar por modifica\xe7\xe3o","Sort by name":"Ordenar por nome","Sort by size":"Ordenar por tamanho","Add folder":"Adicionar pasta",Split:"Dividir","Split vertical":"Dividir vertical","Split horizontal":"Dividir horizontal",Merge:"Mesclar","Add column":"Adicionar coluna","Add row":"Adicionar linha",Border:"Borda","Embed code":"Incluir c\xf3digo",Update:"Atualizar",superscript:"sobrescrito",subscript:"subscrito","Cut selection":"Cortar sele\xe7\xe3o",Paste:"Colar","Choose Content to Paste":"Escolher conte\xfado para colar","Chars: %d":"Caracteres: %d","Words: %d":"Palavras: %d",All:"Tudo","Select %s":"Selecionar: %s","Select all":"Selecionar tudo",source:"HTML",bold:"negrito",italic:"it\xe1lico",brush:"pincel",link:"link",undo:"desfazer",redo:"refazer",table:"tabela",image:"imagem",eraser:"apagar",paragraph:"par\xe1grafo",fontsize:"tamanho da letra",video:"v\xeddeo",font:"fonte",about:"Sobre de",print:"Imprimir",underline:"sublinhar",strikethrough:"tachado",indent:"recuar",outdent:"diminuir recuo",fullsize:"Tamanho completo",shrink:"diminuir",hr:"linha horizontal",ul:"lista n\xe3o ordenada",ol:"lista ordenada",cut:"Cortar",selectall:"Selecionar tudo","Open link":"Abrir link","Edit link":"Editar link","No follow":"N\xe3o siga",Unlink:"Remover link",Eye:"Visualizar",pencil:"Editar"," URL":"URL",Reset:"Resetar",Save:"Salvar","Save as ...":"Salvar como...",Resize:"Redimensionar",Crop:"Recortar",Width:"Largura",Height:"Altura","Keep Aspect Ratio":"Manter a propor\xe7\xe3o",Yes:"Sim",No:"N\xe3o",Remove:"Remover",Select:"Selecionar","You can only edit your own images. Download this image on the host?":"Voc\xea s\xf3 pode editar suas pr\xf3prias imagens. Baixar essa imagem pro servidor?","The image has been successfully uploaded to the host!":"A imagem foi enviada com sucesso para o servidor!",palette:"Palette","There are no files":"N\xe3o h\xe1 arquivos nesse diret\xf3rio.",Rename:"H\xfangara","Enter new name":"Digite um novo nome",preview:"preview",download:"Baixar","Paste from clipboard":"Colar da \xe1rea de transfer\xeancia","Your browser doesn't support direct access to the clipboard.":"O seu navegador n\xe3o oferece suporte a acesso direto para a \xe1rea de transfer\xeancia.","Copy selection":"Selec\xe7\xe3o de c\xf3pia",copy:"c\xf3pia","Border radius":"Border radius","Show all":"Mostrar todos os",Apply:"Aplicar","Please fill out this field":"Por favor, preencha este campo","Please enter a web address":"Por favor introduza um endere\xe7o web",Default:"Padr\xe3o",Circle:"C\xedrculo",Dot:"Ponto",Quadrate:"Quadro","Lower Alpha":"Letra Min\xfascula","Lower Greek":"Grego Min\xfascula","Lower Roman":"Romano Min\xfascula","Upper Alpha":"Letra Mai\xfascula","Upper Roman":"Romano Mai\xfascula",Find:"Encontrar","Find Previous":"Encontrar Anteriores","Find Next":"Localizar Pr\xf3xima","Insert className":"Insira o nome da classe","Press Alt for custom resizing":"Pressione Alt para redimensionamento personalizado","License: %s":"Licen\xe7a: %s"}},83160:function(e,t){t.default={"Type something":"Напишите что-либо","About Jodit":"О Jodit","Jodit Editor":"Редактор Jodit","Jodit User's Guide":"Jodit Руководство пользователя","contains detailed help for using":"содержит детальную информацию по использованию","For information about the license, please go to our website:":"Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Buy full version":"Купить полную версию","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторские права \xa9 XDSoft.net - Чупурнов Валерий. Все права защищены.",Anchor:"Анкор","Open in new tab":"Открывать ссылку в новой вкладке","Open in fullsize":"Открыть редактор в полном размере","Clear Formatting":"Очистить форматирование","Fill color or set the text color":"Цвет заливки или цвет текста",Redo:"Повтор",Undo:"Отмена",Bold:"Жирный",Italic:"Наклонный","Insert Unordered List":"Вставка маркированного списка","Insert Ordered List":"Вставить нумерованный список","Align Center":"Выровнять по центру","Align Justify":"Выровнять по ширине","Align Left":"Выровнять по левому краю","Align Right":"Выровнять по правому краю","Insert Horizontal Line":"Вставить горизонтальную линию","Insert Image":"Вставить изображение","Insert file":"Вставить файл","Insert youtube/vimeo video":"Вставьте видео","Insert link":"Вставить ссылку","Font size":"Размер шрифта","Font family":"Шрифт","Insert format block":"Вставить блочный элемент",Normal:"Нормальный текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставить","Insert table":"Вставить таблицу","Decrease Indent":"Уменьшить отступ","Increase Indent":"Увеличить отступ","Select Special Character":"Выберите специальный символ","Insert Special Character":"Вставить специальный символ","Paint format":"Формат краски","Change mode":"Источник",Margins:"Отступы",top:"сверху",right:"справа",bottom:"снизу",left:"слева",Styles:"Стили",Classes:"Классы",Align:"Выравнивание",Right:"По правому краю",Center:"По центру",Left:"По левому краю","--Not Set--":"--не устанавливать--",Src:"src",Title:"Заголовок",Alternative:"Альтернативный текст (alt)",Link:"Ссылка","Open link in new tab":"Открывать ссылку в новом окне",file:"Файл",Advanced:"Расширенные","Image properties":"Свойства изображения",Cancel:"Отмена",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Paste as HTML":"Вставить как HTML?",Keep:"Сохранить оригинал",Clean:"Почистить","Insert as Text":"Вставить как текст","Insert only Text":"Вставить только текст","Word Paste Detected":"Возможно это фрагмент Word или Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","File Browser":"Браузер файлов","Error on load list":"Ошибка при загрузке списка изображений","Error on load folders":"Ошибка при загрузке списка директорий","Are you sure?":"Вы уверены?","Enter Directory name":"Введите название директории","Create directory":"Создать директорию","type name":"введите название","Drop image":"Перетащите сюда изображение","Drop file":"Перетащите сюда файл","or click":"или нажмите","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Загрузка",Background:"Фон",Text:"Текст",Top:" К верху",Middle:"По середине",Bottom:"К низу","Insert column before":"Вставить столбец до","Insert column after":"Вставить столбец после","Insert row above":"Вставить ряд выше","Insert row below":"Вставить ряд ниже","Delete table":"Удалить таблицу","Delete row":"Удалять ряд","Delete column":"Удалить столбец","Empty cell":"Очистить ячейку",source:"HTML",bold:"жирный",italic:"курсив",brush:"заливка",link:"ссылка",undo:"отменить",redo:"повторить",table:"таблица",image:"Изображение",eraser:"очистить",paragraph:"параграф",fontsize:"размер шрифта",video:"видео",font:"шрифт",about:"о редакторе",print:"печать",underline:"подчеркнутый",strikethrough:"перечеркнутый",indent:"отступ",outdent:"выступ",fullsize:"во весь экран",shrink:"обычный размер",hr:"линия",ul:"Список",ol:"Нумерованный список",cut:"Вырезать",selectall:"Выделить все","Embed code":"Код","Open link":"Открыть ссылку","Edit link":"Редактировать ссылку","No follow":"Атрибут nofollow",Unlink:"Убрать ссылку",Eye:"Просмотр",pencil:"Редактировать",Update:"Обновить"," URL":"URL",Edit:"Редактировать","Horizontal align":"Горизонтальное выравнивание",Filter:"Фильтр","Sort by changed":"По изменению","Sort by name":"По имени","Sort by size":"По размеру","Add folder":"Добавить папку",Reset:"Восстановить",Save:"Сохранить","Save as ...":"Сохранить как",Resize:"Изменить размер",Crop:"Обрезать размер",Width:"Ширина",Height:"Высота","Keep Aspect Ratio":"Сохранять пропорции",Yes:"Да",No:"Нет",Remove:"Удалить",Select:"Выделить","Chars: %d":"Символов: %d","Words: %d":"Слов: %d",All:"Выделить все","Select %s":"Выделить: %s","Select all":"Выделить все","Vertical align":"Вертикальное выравнивание",Split:"Разделить","Split vertical":"Разделить по вертикали","Split horizontal":"Разделить по горизонтали",Merge:"Объединить в одну","Add column":"Добавить столбец","Add row":"Добавить строку",Delete:"Удалить",Border:"Рамка","License: %s":"Лицензия: %s","Strike through":"Перечеркнуть",Underline:"Подчеркивание",superscript:"верхний индекс",subscript:"индекс","Cut selection":"Вырезать",Break:"Разделитель","Search for":"Найти","Replace with":"Заменить на",Replace:"Заменить",Paste:"Вставить","Choose Content to Paste":"Выбрать контент для вставки","You can only edit your own images. Download this image on the host?":"Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","The image has been successfully uploaded to the host!":"Изображение успешно загружено на сервер!",palette:"палитра","There are no files":"В данном каталоге нет файлов",Rename:"Переименовать","Enter new name":"Введите новое имя",preview:"Предпросмотр",download:"Скачать","Paste from clipboard":"Вставить из буфера обмена","Your browser doesn't support direct access to the clipboard.":"Ваш браузер не поддерживает прямой доступ к буферу обмена.","Copy selection":"Скопировать выделенное",copy:"копия","Border radius":"Радиус границы","Show all":"Показать все",Apply:"Применить","Please fill out this field":"Пожалуйста, заполните это поле","Please enter a web address":"Пожалуйста, введите веб-адрес",Default:"По умолчанию",Circle:"Круг",Dot:"Точка",Quadrate:"Квадрат",Find:"Найти","Find Previous":"Найти Предыдущие","Find Next":"Найти Далее","Insert className":"Вставить название класса","Press Alt for custom resizing":"Нажмите Alt для изменения пользовательского размера"}},28923:function(e,t){t.default={"Type something":"Bir şeyler yaz",Advanced:"Gelişmiş","About Jodit":"Jodit Hakkında","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit Kullanım Kılavuzu","contains detailed help for using":"kullanım i\xe7in detaylı bilgiler i\xe7erir","For information about the license, please go to our website:":"Lisans hakkında bilgi i\xe7in l\xfctfen web sitemize gidin:","Buy full version":"Tam versiyonunu satın al","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. T\xfcm hakları saklıdır.",Anchor:"Bağlantı","Open in new tab":"Yeni sekmede a\xe7","Open in fullsize":"Edit\xf6r\xfc tam ekranda a\xe7","Clear Formatting":"Stili temizle","Fill color or set the text color":"Renk doldur veya yazı rengi se\xe7",Redo:"Yinele",Undo:"Geri Al",Bold:"Kalın",Italic:"İtalik","Insert Unordered List":"Sırasız Liste Ekle","Insert Ordered List":"Sıralı Liste Ekle","Align Center":"Ortala","Align Justify":"Kenarlara Yasla","Align Left":"Sola Yasla","Align Right":"Sağa Yasla","Insert Horizontal Line":"Yatay \xc7izgi Ekle","Insert Image":"Resim Ekle","Insert file":"Dosya Ekle","Insert youtube/vimeo video":"Youtube/Vimeo Videosu Ekle","Insert link":"Bağlantı Ekle","Font size":"Font Boyutu","Font family":"Font Ailesi","Insert format block":"Blok Ekle",Normal:"Normal","Heading 1":"Başlık 1","Heading 2":"Başlık 2","Heading 3":"Başlık 3","Heading 4":"Başlık 4",Quote:"Alıntı",Code:"Kod",Insert:"Ekle","Insert table":"Tablo Ekle","Decrease Indent":"Girintiyi Azalt","Increase Indent":"Girintiyi Arttır","Select Special Character":"\xd6zel Karakter Se\xe7","Insert Special Character":"\xd6zel Karakter Ekle","Paint format":"Resim Bi\xe7imi","Change mode":"Mod Değiştir",Margins:"Boşluklar",top:"\xdcst",right:"Sağ",bottom:"Alt",left:"Sol",Styles:"CSS Stilleri",Classes:"CSS Sınıfları",Align:"Hizalama",Right:"Sağ",Center:"Ortalı",Left:"Sol","--Not Set--":"Belirsiz",Src:"Kaynak",Title:"Başlık",Alternative:"Alternatif Yazı",Link:"Link","Open link in new tab":"Bağlantıyı yeni sekmede a\xe7",Image:"Resim",file:"Dosya","Image properties":"Resim \xf6zellikleri",Cancel:"İptal",Ok:"Tamam","Your code is similar to HTML. Keep as HTML?":"Kodunuz HTML koduna benziyor. HTML olarak devam etmek ister misiniz?","Paste as HTML":"HTML olarak yapıştır",Keep:"Sakla",Clean:"Temizle","Insert as Text":"Yazı olarak ekle","Word Paste Detected":"Word bi\xe7iminde yapıştırma algılandı","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder l\xf6schen?","Insert only Text":"Sadece yazıyı ekle","File Browser":"Dosya Listeleyici","Error on load list":"Liste y\xfcklenirken hata oluştu","Error on load folders":"Klas\xf6rler y\xfcklenirken hata oluştur","Are you sure?":"Emin misiniz?","Enter Directory name":"Dizin yolu giriniz","Create directory":"Dizin oluştur","type name":"İsim yaz","Drop image":"Resim bırak","Drop file":"Dosya bırak","or click":"veya tıkla","Alternative text":"Alternatif yazı",Browse:"G\xf6zat",Upload:"Y\xfckle",Background:"Arka plan",Text:"Yazı",Top:"\xdcst",Middle:"Orta",Bottom:"Aşağı","Insert column before":"\xd6ncesine kolon ekle","Insert column after":"Sonrasına kolon ekle","Insert row above":"\xdcst\xfcne satır ekle","Insert row below":"Altına satır ekle","Delete table":"Tabloyu sil","Delete row":"Satırı sil","Delete column":"Kolonu sil","Empty cell":"H\xfccreyi temizle",Delete:"Sil","Strike through":"\xdcst\xfc \xe7izili",Underline:"Alt \xe7izgi",Break:"Satır sonu","Search for":"Ara","Replace with":"Şununla değiştir",Replace:"Değiştir",Edit:"D\xfczenle","Vertical align":"Dikey hizala","Horizontal align":"Yatay hizala",Filter:"Filtre","Sort by changed":"Değişime g\xf6re sırala","Sort by name":"İsme g\xf6re sırala","Sort by size":"Boyuta g\xf6re sırala","Add folder":"Klas\xf6r ekle",Split:"Ayır","Split vertical":"Dikey ayır","Split horizontal":"Yatay ayır",Merge:"Birleştir","Add column":"Kolon ekle","Add row":"Satır ekle",Border:"Kenarlık","Embed code":"Kod ekle",Update:"G\xfcncelle",superscript:"\xdcst yazı",subscript:"Alt yazı","Cut selection":"Se\xe7ilimi kes",Paste:"Yapıştır","Choose Content to Paste":"Yapıştırılacak i\xe7erik se\xe7","Chars: %d":"Harfler: %d","Words: %d":"Kelimeler: %d",All:"T\xfcm\xfc","Select %s":"Se\xe7: %s","Select all":"T\xfcm\xfcn\xfc se\xe7",source:"Kaynak",bold:"Kalın",italic:"italik",brush:"Fır\xe7a",link:"Bağlantı",undo:"Geri al",redo:"Yinele",table:"Tablo",image:"Resim",eraser:"Silgi",paragraph:"Paragraf",fontsize:"Font boyutu",video:"Video",font:"Font",about:"Hakkında",print:"Yazdır",underline:"Alt \xe7izgi",strikethrough:"\xdcst\xfc \xe7izili",indent:"Girinti",outdent:"\xc7ıkıntı",fullsize:"Tam ekran",shrink:"K\xfc\xe7\xfclt",hr:"Ayra\xe7",ul:"Sırasız liste",ol:"Sıralı liste",cut:"Kes",selectall:"T\xfcm\xfcn\xfc se\xe7","Open link":"Bağlantıyı a\xe7","Edit link":"Bağlantıyı d\xfczenle","No follow":"Nofollow \xf6zelliği",Unlink:"Bağlantıyı kaldır",Eye:"Yorumu",pencil:"D\xfczenlemek i\xe7in"," URL":"URL",Reset:"Sıfırla",Save:"Kaydet","Save as ...":"Farklı kaydet",Resize:"Boyutlandır",Crop:"Kırp",Width:"Genişlik",Height:"Y\xfckseklik","Keep Aspect Ratio":"En boy oranını koru",Yes:"Evet",No:"Hayır",Remove:"Sil",Select:"Se\xe7","You can only edit your own images. Download this image on the host?":"Sadece kendi resimlerinizi d\xfczenleyebilirsiniz. Bu g\xf6rseli kendi hostunuza indirmek ister misiniz?","The image has been successfully uploaded to the host!":"G\xf6rsel başarıyla hostunuza y\xfcklendi",palette:"Palet","There are no files":"Bu dizinde dosya yok",Rename:"Yeniden isimlendir","Enter new name":"Yeni isim girin",preview:"\xd6n izleme",download:"İndir","Paste from clipboard":"Panodan yapıştır ","Your browser doesn't support direct access to the clipboard.":"Tarayıcınız panoya doğrudan erişimi desteklemiyor.","Copy selection":"Se\xe7imi kopyala",copy:"Kopyala","Border radius":"Sınır yarı\xe7apı","Show all":"T\xfcm\xfcn\xfc G\xf6ster",Apply:"Uygula","Please fill out this field":"L\xfctfen bu alanı doldurun","Please enter a web address":"L\xfctfen bir web adresi girin",Default:"Varsayılan",Circle:"Daire",Dot:"Nokta",Quadrate:"Kare",Find:"Bul","Find Previous":"\xd6ncekini Bul","Find Next":"Sonrakini Bul","Insert className":"Sınıf adı girin","Press Alt for custom resizing":"\xd6zel yeniden boyutlandırma i\xe7in Alt tuşuna basın","License: %s":"Lisans: %s"}},19007:function(e,t){t.default={"Type something":"Напишіть щось","About Jodit":"Про Jodit","Jodit Editor":"Редактор Jodit","Jodit User's Guide":"Jodit інструкція користувача","contains detailed help for using":"містить детальну інформацію щодо користування","For information about the license, please go to our website:":"Щоб дізнатись більше про ліцензію , будь ласка, перейдіть на наш сайт:","Buy full version":"Купити повну версію","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Авторські права \xa9 XDSoft.net - Чупурнов Валерій. Всі права захищені.",Anchor:"Анкор","Open in new tab":"Відкрити у новій вкладці","Open in fullsize":"Відкрити редактор в повному розмірі","Clear Formatting":"Очистити форматування","Fill color or set the text color":"Колір заливки або колір текста",Redo:"Повторити",Undo:"Відмінити",Bold:"Жирний",Italic:"Курсів","Insert Unordered List":"Вставити невпорядкований список","Insert Ordered List":"Вставити нумерованний список","Align Center":"Вирівняти по центру","Align Justify":"Вирівняти по ширині","Align Left":"Вирівняти по лівому краю","Align Right":"Вирівняти по правому краю","Insert Horizontal Line":"Вставити горизонтальну лінію","Insert Image":"Вставити зображення","Insert file":"Вставити файл","Insert youtube/vimeo video":"Вставити відео","Insert link":"Вставити посилання","Font size":"Розмір шрифту","Font family":"Шрифт","Insert format block":"Вставити блочний елемент",Normal:"Нормальний текст","Heading 1":"Заголовок 1","Heading 2":"Заголовок 2","Heading 3":"Заголовок 3","Heading 4":"Заголовок 4",Quote:"Цитата",Code:"Код",Insert:"Вставити","Insert table":"Вставити таблицю","Decrease Indent":"Збільшити відступ","Increase Indent":"Зменшити відступ","Select Special Character":"Оберіть спеціальный символ","Insert Special Character":"Вставити спеціальный символ","Paint format":"Формат краски","Change mode":"Джерело",Margins:"Відступи",top:"зверху",right:"справа",bottom:"знизу",left:"зліва",Styles:"Стилі",Classes:"Класи",Align:"Вирівнювання",Right:"По правому краю",Center:"По центру",Left:"По лівому краю","--Not Set--":"--не встановлено--",Src:"src",Title:"Заголовок",Alternative:"Альтернативний текст (alt)",Link:"Посилання","Open link in new tab":"Відкрити посилання в новій вкладці",file:"Файл",Advanced:"Розширені","Image properties":"Властивості зображення",Cancel:"Відміна",Ok:"Ок","Your code is similar to HTML. Keep as HTML?":"Текст, який Ви намагаєтесь вставити схожий на HTML. Вставити його як HTML?","Paste as HTML":"Вставити його як HTML",Keep:"Зберегти оригінал",Clean:"Почистити","Insert as Text":"Вставити як текст","Insert only Text":"Вставити тільки текст","Word Paste Detected":"Можливо це фрагмент Word або Excel","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Ви вставляєте контент з документа Microsoft Word або Excel. Бажаєте зберегти форматування?","File Browser":"Браузер файлів","Error on load list":"Помилка при завантаженні списку зображень","Error on load folders":"Помилка при завантаженні списку папок","Are you sure?":"Ви впевнені?","Enter Directory name":"Введіть назву папки","Create directory":"Створити папку","type name":"введіть назву","Drop image":"Перетягніть зображення сюди","Drop file":"Перетягніть файл сюди","or click":"або клікніть","Alternative text":"Альтернативный текст",Browse:"Сервер",Upload:"Завантаження",Background:"Фон",Text:"Текст",Top:" Вгору",Middle:"По центру",Bottom:"Донизу","Insert column before":"Вставити стовпець до","Insert column after":"Вставити стовпець після","Insert row above":"Вставити рядок вище","Insert row below":"Вставити рядок нижче","Delete table":"Видалити таблицю","Delete row":"Видалити рядок","Delete column":"Видалити стовпчик","Empty cell":"Очистити кліинку",source:"HTML",bold:"жирний",italic:"курсів",brush:"заливка",link:"посилання",undo:"відмінити",redo:"повторити",table:"таблиця",image:"зображення",eraser:"видалення",paragraph:"параграф",fontsize:"розмір шрифту",video:"відео",font:"шрифт",about:"про редактор",print:"друк",underline:"підкреслений",strikethrough:"закреслений",indent:"відступ",outdent:"заступ",fullsize:"на весь екран",shrink:"звичайний розмір",hr:"лінія",ul:"Список",ol:"Нумерований список",cut:"Вирізати",selectall:"Виділити все","Embed code":"Код","Open link":"Відкрити посилання","Edit link":"Редагувати посилання","No follow":"Атрибут nofollow",Unlink:"Видалити посилання",Eye:"Перегляд",pencil:"Редагування",Update:"Оновити"," URL":"URL",Edit:"Редагувати","Horizontal align":"Горизонтальне вирівнювання",Filter:"Фільтр","Sort by changed":"Сортувати за зміною","Sort by name":"Сортувати за ім'ям","Sort by size":"Сортувати за розміром","Add folder":"Додати папку",Reset:"Відновити",Save:"Зберегти","Save as ...":"Зберегти як",Resize:"Змінити розмір",Crop:"Обрізати розмір",Width:"Ширина",Height:"Висота","Keep Aspect Ratio":"Зберегти пропорції",Yes:"Так",No:"Ні",Remove:"Видалити",Select:"Вибрати","Chars: %d":"Символів: %d","Words: %d":"Слів: %d",All:"Вибрати все","Select %s":"Вибрати: %s","Select all":"Вибрати все","Vertical align":"Вертикальне вирівнювання",Split:"Розділити","Split vertical":"Розділити по вертикалі","Split horizontal":"Розділити по горизонталі",Merge:"Об'єднати в одну","Add column":"Додати стовпчик","Add row":"Додати рядок",Delete:"Видалити",Border:"Рамка","License: %s":"Ліцензія: %s","Strike through":"Закреслений",Underline:"Підкреслений",superscript:"верхній індекс",subscript:"індекс","Cut selection":"Обрізати вибране",Break:"Межа","Search for":"Шукати","Replace with":"Замінити на",Replace:"Замінити",Paste:"Вставити","Choose Content to Paste":"Обрати контент для вставки","You can only edit your own images. Download this image on the host?":"Ви можете редагувати лише власні зображення. Завантажити зображення на ваш сервер?","The image has been successfully uploaded to the host!":"Зображення успішно завантажено на сервер!",palette:"палітра","There are no files":"Файли відсутні",Rename:"Змінити назву","Enter new name":"Введіть нове імя'",preview:"Попередній перегляд",download:"Завантажити","Paste from clipboard":"Вставити з буфера обміну","Your browser doesn't support direct access to the clipboard.":"Ваш браузер не підтримує доступ до буфера обміну.","Copy selection":"Копіювати виділене",copy:"копія","Border radius":"Радіус рамки","Show all":"Показати все",Apply:"Застосувати","Please fill out this field":"Будь ласка, заповніть це поле","Please enter a web address":"Будь ласка, введіть веб-адресу",Default:"За замовченням",Circle:"Коло",Dot:"Крапка",Quadrate:"Квадрат",Find:"Знайти","Find Previous":"Знайти попередні","Find Next":"Знайти наступні","Insert className":"Вставити клас","Press Alt for custom resizing":"Натисніть Alt для зміни розміру"}},60175:function(e,t){t.default={"Type something":"输入一些内容",Advanced:"高级","About Jodit":"关于Jodit","Jodit Editor":"Jodit Editor","Free Non-commercial Version":"Free Non-commercial Version","Jodit User's Guide":"开发者指南","contains detailed help for using":"使用帮助","For information about the license, please go to our website:":"有关许可证的信息,请访问我们的网站:","Buy full version":"购买完整版本","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. 版权所有",Anchor:"Anchor","Open in new tab":"在新窗口打开","Open in fullsize":"全屏编辑","Clear Formatting":"清除样式","Fill color or set the text color":"颜色",Redo:"重做",Undo:"撤销",Bold:"粗体",Italic:"斜体","Insert Unordered List":"符号列表","Insert Ordered List":"编号","Align Center":"居中","Align Justify":"对齐文本","Align Left":"左对齐","Align Right":"右对齐","Insert Horizontal Line":"分割线","Insert Image":"图片","Insert file":"文件","Insert youtube/vimeo video":"视频","Insert link":"链接","Font size":"字号","Font family":"字体","Insert format block":"格式块",Normal:"默认","Heading 1":"标题1","Heading 2":"标题2","Heading 3":"标题3","Heading 4":"标题4",Quote:"引用",Code:"代码",Insert:"插入","Insert table":"表格","Decrease Indent":"减少缩进","Increase Indent":"增加缩进","Select Special Character":"选择特殊符号","Insert Special Character":"特殊符号","Paint format":"格式复制","Change mode":"改变模式",Margins:"外边距(Margins)",top:"top",right:"right",bottom:"bottom",left:"left",Styles:"样式",Classes:"Classes",Align:"对齐方式",Right:"居右",Center:"居中",Left:"居左","--Not Set--":"无",Src:"Src",Title:"Title",Alternative:"Alternative",Link:"Link","Open link in new tab":"在新窗口打开链接",Image:"图片",file:"file","Image properties":"图片属性",Cancel:"取消",Ok:"确定","Your code is similar to HTML. Keep as HTML?":"你粘贴的文本是一段html代码,是否保留源格式","Paste as HTML":"html粘贴",Keep:"保留源格式",Clean:"匹配目标格式","Insert as Text":"把html代码视为普通文本","Word Paste Detected":"文本粘贴","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"正在粘贴 Word/Excel 的文本,是否保留源格式?","Insert only Text":"只保留文本","File Browser":"文件管理","Error on load list":"加载list错误","Error on load folders":"加载folders错误","Are you sure?":"你确定吗?","Enter Directory name":"输入路径","Create directory":"创建路径","type name":"type name","Drop image":"拖动图片到此","Drop file":"拖动文件到此","or click":"或点击","Alternative text":"Alternative text",Browse:"浏览",Upload:"上传",Background:"背景色",Text:"文字",Top:"顶部",Middle:"中间",Bottom:"底部","Insert column before":"在之前插入列","Insert column after":"在之后插入列","Insert row above":"在之前插入行","Insert row below":"在之后插入行","Delete table":"删除表格","Delete row":"删除行","Delete column":"删除列","Empty cell":"清除内容","Chars: %d":"字符数: %d","Words: %d":"单词数: %d","Strike through":"删除线",Underline:"下划线",superscript:"上标",subscript:"下标","Cut selection":"剪切","Select all":"全选",Break:"Break","Search for":"查找","Replace with":"替换为",Replace:"替换",Edit:"编辑",Paste:"粘贴","Choose Content to Paste":"选择内容并粘贴",All:"全部",source:"源码",bold:"粗体",italic:"斜体",brush:"颜色",link:"链接",undo:"撤销",redo:"重做",table:"表格",image:"图片",eraser:"橡皮擦",paragraph:"段落",fontsize:"字号",video:"视频",font:"字体",about:"关于",print:"打印",underline:"下划线",strikethrough:"上出现",indent:"增加缩进",outdent:"减少缩进",fullsize:"全屏",shrink:"收缩",hr:"分割线",ul:"无序列表",ol:"顺序列表",cut:"剪切",selectall:"全选","Open link":"打开链接","Edit link":"编辑链接","No follow":"No follow",Unlink:"取消链接",Eye:"预览"," URL":"URL",Reset:"重置",Save:"保存","Save as ...":"保存为",Resize:"调整大小",Crop:"剪切",Width:"宽",Height:"高","Keep Aspect Ratio":"保持长宽比",Yes:"是",No:"不",Remove:"移除",Select:"选择","Select %s":"选择: %s",Update:"更新","Vertical align":"垂直对齐",Merge:"合并","Add column":"添加列","Add row":"添加行",Border:"边框","Embed code":"嵌入代码",Delete:"删除","Horizontal align":"水平对齐",Filter:"筛选","Sort by changed":"修改时间排序","Sort by name":"名称排序","Sort by size":"大小排序","Add folder":"新建文件夹",Split:"拆分","Split vertical":"垂直拆分","Split horizontal":"水平拆分","You can only edit your own images. Download this image on the host?":"你只能编辑你自己的图片。Download this image on the host?","The image has been successfully uploaded to the host!":"图片上传成功",palette:"调色板",pencil:"铅笔","There are no files":"此目录中沒有文件。",Rename:"重命名","Enter new name":"输入新名称",preview:"预览",download:"下载","Paste from clipboard":"粘贴从剪贴板","Your browser doesn't support direct access to the clipboard.":"你浏览器不支持直接访问的剪贴板。","Copy selection":"复制选中内容",copy:"复制","Border radius":"边界半径","Show all":"显示所有",Apply:"应用","Please fill out this field":"请填写这个字段","Please enter a web address":"请输入一个网址",Default:"默认",Circle:"圆圈",Dot:"点",Quadrate:"方形",Find:"搜索","Find Previous":"查找上一个","Find Next":"查找下一个","Insert className":"插入班级名称","Press Alt for custom resizing":"按Alt自定义调整大小","License: %s":"许可证: %s"}},69159:function(e,t){t.default={"Type something":"輸入一些內容",Advanced:"進階","About Jodit":"關於Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"開發者指南","contains detailed help for using":"使用幫助","For information about the license, please go to our website:":"相關授權條款資訊,請造訪我們的網站:","Buy full version":"購買完整版本","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"錨點","Open in new tab":"在新分頁開啟","Open in fullsize":"全螢幕編輯","Clear Formatting":"清除樣式","Fill color or set the text color":"顏色",Redo:"取消復原",Undo:"復原",Bold:"粗體",Italic:"斜體","Insert Unordered List":"項目符號清單","Insert Ordered List":"編號清單","Align Center":"置中","Align Justify":"文字對齊","Align Left":"靠左","Align Right":"靠右","Insert Horizontal Line":"分割線","Insert Image":"圖片","Insert file":"檔案","Insert youtube/vimeo video":"插入 youtube/vimeo 影片","Insert link":"插入連結","Font size":"文字大小","Font family":"字型","Insert format block":"格式化區塊",Normal:"內文","Heading 1":"標題1","Heading 2":"標題2","Heading 3":"標題3","Heading 4":"標題4",Quote:"引文",Code:"程式碼",Insert:"插入","Insert table":"表格","Decrease Indent":"減少縮排","Increase Indent":"增加縮排","Select Special Character":"選擇特殊符號","Insert Special Character":"特殊符號","Paint format":"格式複製","Change mode":"檢視原始碼",Margins:"邊距",top:"上",right:"右",bottom:"下",left:"左",Styles:"樣式",Classes:"Classes",Align:"對齊方式",Right:"靠右",Center:"置中",Left:"靠左","--Not Set--":"無",Src:"Src",Title:"Title",Alternative:"替代",Link:"Link","Open link in new tab":"在新分頁開啟連結",Image:"圖片",file:"檔案","Image properties":"圖片屬性",Cancel:"取消",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"您的程式碼與 HTML 類似,是否貼上 HTML 格式?","Paste as HTML":"貼上 HTML",Keep:"保留原始格式",Clean:"清除格式","Insert as Text":"以純文字貼上","Word Paste Detected":"貼上 Word 格式","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"正在貼上 Word/Excel 文件的內容,是否保留原始格式?","Insert only Text":"僅貼上內文","File Browser":"檔案瀏覽","Error on load list":"清單載入錯誤","Error on load folders":"資料夾載入錯誤","Are you sure?":"您確定嗎?","Enter Directory name":"輸入路徑","Create directory":"創建路徑","type name":"type name","Drop image":"拖曳圖片至此","Drop file":"拖曳檔案至此","or click":"或點擊","Alternative text":"替代文字",Browse:"瀏覽",Upload:"上傳",Background:"背景色",Text:"文字",Top:"頂部",Middle:"中間",Bottom:"底部","Insert column before":"插入左方欄","Insert column after":"插入右方欄","Insert row above":"插入上方列","Insert row below":"插入下方列","Delete table":"刪除表格","Delete row":"刪除整列","Delete column":"刪除整欄","Empty cell":"清除內容","Chars: %d":"字元數: %d","Words: %d":"單字數: %d","Strike through":"刪除線",Underline:"底線",superscript:"上標",subscript:"下標","Cut selection":"剪下","Select all":"全選",Break:"斷行","Search for":"尋找","Replace with":"取代為",Replace:"取代",Paste:"貼上","Choose Content to Paste":"選擇內容並貼上",All:"全部",source:"原始碼",bold:"粗體",italic:"斜體",brush:"顏色",link:"連結",undo:"復原",redo:"取消復原",table:"表格",image:"圖片",eraser:"橡皮擦",paragraph:"段落",fontsize:"文字大小",video:"影片",font:"字型",about:"關於",print:"列印",underline:"底線",strikethrough:"刪除線",indent:"增加縮排",outdent:"減少縮排",fullsize:"全螢幕",shrink:"縮減",hr:"分隔線",ul:"項目符號清單",ol:"編號清單",cut:"剪下",selectall:"全選","Open link":"打開連結","Edit link":"編輯連結","No follow":"No follow",Unlink:"取消連結",Eye:"查看"," URL":"URL",Reset:"重設",Save:"儲存","Save as ...":"另存為...",Resize:"調整大小",Crop:"裁切",Width:"寬",Height:"高","Keep Aspect Ratio":"維持長寬比",Yes:"是",No:"否",Remove:"移除",Select:"選擇","Select %s":"選擇: %s",Update:"更新","Vertical align":"垂直對齊",Merge:"合併","Add column":"新增欄","Add row":"新增列",Border:"邊框","Embed code":"嵌入程式碼",Delete:"刪除","Horizontal align":"水平對齊",Filter:"篩選","Sort by changed":"修改時間排序","Sort by name":"名稱排序","Sort by size":"大小排序","Add folder":"新增資料夾",Split:"分割","Split vertical":"垂直分割","Split horizontal":"水平分割","You can only edit your own images. Download this image on the host?":"您只能編輯您自己的圖片。是否下載此圖片?","The image has been successfully uploaded to the host!":"圖片上傳成功",palette:"調色盤",pencil:"鉛筆","There are no files":"沒有檔案",Rename:"重新命名","Enter new name":"輸入新名稱",preview:"預覽",download:"下載","Paste from clipboard":"從剪貼簿貼上","Your browser doesn't support direct access to the clipboard.":"瀏覽器無法存取剪貼簿。","Copy selection":"複製已選取項目",copy:"複製","Border radius":"邊框圓角","Show all":"顯示全部",Apply:"應用","Please fill out this field":"請輸入此欄位","Please enter a web address":"請輸入網址",Default:"預設",Circle:"圓圈",Dot:"點",Quadrate:"方形",Find:"尋找","Find Previous":"尋找上一個","Find Next":"尋找下一個","Insert className":"插入 class 名稱","Press Alt for custom resizing":"按住 Alt 以調整自訂大小",Edit:"編輯","License: %s":"許可證: %s"}},26152:function(e,t,i){var n=i(68345),r=i(79910),o=i(4795),s=i(62770),a=i(1830),l=i(86273),c=i(82168),u=i(85017),d=i(32726),h=i(67078),f=i(92648),p=i(62232),m=i(62700),g=i(75445),v=i(97519),b=i(80926),y=i(52995),w=i(59526),S=i(40565),_=i(19292),C=i(83160),k=i(28923),E=i(19007),I=i(60175),T=i(69159);let D={};D={ar:r.default,cs_cz:o.default,de:s.default,en:a.default,es:l.default,fi:c.default,fr:u.default,he:d.default,hu:h.default,id:f.default,it:p.default,ja:m.default,ko:v.default,mn:b.default,nl:y.default,no:w.default,pl:S.default,pt_br:_.default,ru:C.default,tr:k.default,ua:E.default,zh_cn:I.default,zh_tw:T.default};let j=e=>e?e.default||e:{},P={};(0,n.isArray)(j(g.default))&&j(g.default).forEach((e,t)=>{P[t]=e}),Object.keys(D).forEach(e=>{let t=j(D[e]);(0,n.isArray)(t)?(D[e]={},t.forEach((t,i)=>{D[e][P[i]]=t})):D[e]=t}),t.default=D},80870:function(e,t,i){i.d(t,{ContextMenu:function(){return a}});var n=i(87325),r=i(68345),o=i(10830),s=i(56917);let a=class e extends s.Popup{className(){return"ContextMenu"}show(e,t,i){let n=this;n.clear(),(0,r.isArray)(i)&&(i.forEach(e=>{if(!e)return;let t=(0,o.Button)(this.jodit,e.icon||"empty",e.title);this.jodit&&t.setParentView(this.jodit),t.setMod("context","menu"),t.onAction(t=>{var i;return null==(i=e.exec)||i.call(n,t),n.clear(),n.close(),!1}),this.append(t)}),this.open(()=>({left:e,top:t,width:0,height:0}),!0))}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},71568:function(e,t,i){i.d(t,{Alert:function(){return l}});var n=i(2748),r=i(29999),o=i(23282),s=i(10830),a=i(78584);function l(e,t,i,c="jodit-dialog_alert"){(0,o.isFunction)(t)&&(i=t,t=void 0);let u=this instanceof a.Dialog?this:new a.Dialog({closeOnClickOverlay:!0}),d=u.c.div(c),h=(0,s.Button)(u,"ok","Ok");return(0,r.asArray)(e).forEach(e=>{d.appendChild(n.Dom.isNode(e)?e:u.c.fromHTML(e))}),h.onAction(()=>{i&&(0,o.isFunction)(i)&&!1===i(u)||u.close()}),u.setFooter([h]),u.open(d,t||" ",!0,!0),h.focus(),u}},26866:function(e,t,i){i.d(t,{Confirm:function(){return s}});var n=i(23282),r=i(10830),o=i(78584);function s(e,t,i){let s=this instanceof o.Dialog?this:new o.Dialog({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);let c=e=>()=>{i&&!1===i(e)||s.close()},u=(0,r.Button)(s,"cancel","Cancel"),d=(0,r.Button)(s,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([d,u]),s.open(a,t||" ",!0,!0),d.focus(),s}},78584:function(e,t,i){i.d(t,{Dialog:function(){return w}});var n,r,o,s=i(91907),a=i(82758),l=i(65478),c=i(2748),u=i(580),d=i(76855),h=i(27613),f=i(43555),p=i(38837),m=i(67510),g=i(35608),v=i(84075),b=i(6441),y=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};b.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},b.Config.prototype.controls.dialog={close:{icon:"cancel",exec:e=>{e.close()}}};let w=o=class e extends v.ViewWithToolbar{className(){return"Dialog"}get destination(){let{popupRoot:e,shadowRoot:t}=this.o;return e||t||this.od.body}setElements(e,t){let i=[];(0,d.asArray)(t).forEach(t=>{let n;if((0,h.isArray)(t)){let n=this.c.div(this.getFullElName("column"));return i.push(n),e.appendChild(n),this.setElements(n,t)}n=(0,h.isString)(t)?this.c.fromHTML(t):(0,h.hasContainer)(t)?t.container:t,i.push(n),n.parentNode!==e&&e.appendChild(n)}),(0,d.toArray)(e.childNodes).forEach(t=>{-1===i.indexOf(t)&&e.removeChild(t)})}__onMouseUp(){(this.draggable||this.resizable)&&(this.__removeGlobalResizeListeners(),this.draggable=!1,this.resizable=!1,this.unlockSelect(),this.e&&(this.__removeGlobalResizeListeners(),this.e.fire(this,"endResize endMove")))}__onHeaderMouseDown(e){let t=e.target;!(!this.o.draggable||t&&t.nodeName.match(/^(INPUT|SELECT)$/))&&(this.draggable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.x=(0,f.css)(this.dialog,"left"),this.startPoint.y=(0,f.css)(this.dialog,"top"),this.setMaxZIndex(),e.cancelable&&e.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}__onMouseMove(e){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+e.clientX-this.startX,this.startPoint.y+e.clientY-this.startY),this.e&&this.e.fire(this,"move",e.clientX-this.startX,e.clientY-this.startY),e.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+e.clientX-this.startX,this.startPoint.h+e.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",e.clientX-this.startX,e.clientY-this.startY))}__onEsc(e){if(this.o.closeOnEsc&&this.isOpened&&e.key===a.KEY_ESC&&!0!==this.getMod("static")){let t=this.getMaxZIndexDialog();t?t.close():this.close(),e.stopImmediatePropagation()}}__onResizerMouseDown(e){this.resizable=!0,this.startX=e.clientX,this.startY=e.clientY,this.startPoint.w=this.dialog.offsetWidth,this.startPoint.h=this.dialog.offsetHeight,this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&this.e.fire(this,"startResize")}__addGlobalResizeListeners(){this.e.on(this.ow,"pointermove touchmove",this.__onMouseMove).on(this.ow,"pointerup touchend",this.__onMouseUp)}__removeGlobalResizeListeners(){this.e.off(this.ow,"mousemove pointermove",this.__onMouseMove).off(this.ow,"mouseup pointerup",this.__onMouseUp)}setSize(e,t){return null==e&&(e=this.dialog.offsetWidth),null==t&&(t=this.dialog.offsetHeight),(0,f.css)(this.dialog,{width:e,height:t}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(e,t){let i=this.ow.innerWidth,n=this.ow.innerHeight,r=i/2-this.dialog.offsetWidth/2,o=n/2-this.dialog.offsetHeight/2;return r<0&&(r=0),o<0&&(o=0),void 0!==e&&void 0!==t&&(this.offsetX=e,this.offsetY=t,this.moved=Math.abs(e-r)>100||Math.abs(t-o)>100),this.dialog.style.left=(e||r)+"px",this.dialog.style.top=(t||o)+"px",this}setHeader(e){return this.setElements(this.dialogbox_header,e),this}setContent(e){return this.setElements(this.dialogbox_content,e),this}setFooter(e){return this.setElements(this.dialogbox_footer,e),this.setMod("footer",!!e),this}getZIndex(){return parseInt((0,f.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let e=0,t,i,n=this;return(0,f.$$)(".jodit-dialog",this.destination).forEach(r=>{t=r.component,i=parseInt((0,f.css)(r,"zIndex"),10),t.isOpened&&!isNaN(i)&&i>e&&(n=t,e=i)}),n}setMaxZIndex(){if(this.getMod("static"))return;let e=0x1312d04,t=0;(0,f.$$)(".jodit-dialog",this.destination).forEach(i=>{e=Math.max(isNaN(t=parseInt((0,f.css)(i,"zIndex"),10))?0:t,e)}),this.container.style.zIndex=(e+1).toString()}toggleFullSize(e){(0,h.isVoid)(e)&&(e=!this.getMod("fullsize")),this.setMod("fullsize",e),super.toggleFullSize(e)}open(e,t,i,n){if(u.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,h.isBoolean)(e)&&(i=e),(0,h.isBoolean)(t)&&(n=t),this.destroyAfterClose=!0===i;let r=(0,h.isBoolean)(e)?void 0:e,o=(0,h.isBoolean)(t)?void 0:t;return void 0!==o&&this.setHeader(o),r&&this.setContent(r),this.setMod("active",!0),this.isOpened=!0,this.setModal(n),this.destination.appendChild(this.container),!0!==this.getMod("static")?(this.setPosition(this.offsetX,this.offsetY),this.setMaxZIndex()):this.container.style.removeProperty("z-index"),this.o.fullsize&&this.toggleFullSize(!0),this.e.fire("afterOpen",this),this}setModal(e){return this.isModal=!!e,this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;let{e}=this;return!1===e.fire(this,"beforeClose")||!1===e.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),c.Dom.safeRemove(this.container),this.__removeGlobalResizeListeners(),e.fire(this,"afterClose"),e.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,d.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(s.STATUSES.beforeDestruct),this.isOpened&&this.close(),this.events&&(this.__removeGlobalResizeListeners(),this.events.off(this.container,"close_dialog",self.close).off(this.ow,"keydown",this.__onEsc).off(this.ow,"resize",this.__onResize)),super.destruct())}constructor(e={}){super(e),this.destroyAfterClose=!1,this.moved=!1,this.resizable=!1,this.draggable=!1,this.startX=0,this.startY=0,this.startPoint={x:0,y:0,w:0,h:0},this.lockSelect=()=>{this.setMod("moved",!0)},this.unlockSelect=()=>{this.setMod("moved",!1)},this.__onResize=()=>{this.options&&this.o.resizable&&!this.moved&&this.isOpened&&!this.offsetX&&!this.offsetY&&this.setPosition()},this.isModal=!1,this.isOpened=!1,this.options=(0,f.ConfigProto)(e,(0,f.ConfigProto)(b.Config.prototype.dialog,o.defaultOptions)),c.Dom.safeRemove(this.container);const t=this.getFullElName.bind(this);this.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">
|
|
20
20
|
<div class="${t("overlay")}"></div>
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
</div>`:""}
|
|
106
106
|
</div>
|
|
107
107
|
</div>
|
|
108
|
-
</form>`)}},41409:function(e,t,i){i.r(t),i.d(t,{Ajax:function(){return f.Ajax},Alert:function(){return s.Alert},Async:function(){return l.Async},AsyncStorage:function(){return j.AsyncStorage},Button:function(){return p.Button},CommitStyle:function(){return D.CommitStyle},Component:function(){return n.Component},Confirm:function(){return s.Confirm},ContextMenu:function(){return o.ContextMenu},Create:function(){return c.Create},Dialog:function(){return s.Dialog},Dom:function(){return u.Dom},EventEmitter:function(){return d.EventEmitter},EventHandlersStore:function(){return d.EventHandlersStore},Eventify:function(){return d.Eventify},FileBrowser:function(){return a.FileBrowser},Helpers:function(){return r},History:function(){return v.History},Icon:function(){return p.Icon},ImageEditor:function(){return y.ImageEditor},IndexedDBProvider:function(){return j.IndexedDBProvider},LazyWalker:function(){return u.LazyWalker},LocalStorageProvider:function(){return j.LocalStorageProvider},MemoryStorageProvider:function(){return j.MemoryStorageProvider},Plugin:function(){return h.Plugin},PluginSystem:function(){return T.PluginSystem},Popup:function(){return p.Popup},ProgressBar:function(){return p.ProgressBar},Prompt:function(){return s.Prompt},Response:function(){return f.Response},STATUSES:function(){return n.STATUSES},Selection:function(){return D.Selection},Snapshot:function(){return b.Snapshot},StatusBar:function(){return S.StatusBar},Storage:function(){return j.Storage},StorageKey:function(){return j.StorageKey},Table:function(){return _.Table},ToolbarButton:function(){return C.ToolbarButton},ToolbarCollection:function(){return k.ToolbarCollection},ToolbarContent:function(){return C.ToolbarContent},ToolbarEditorCollection:function(){return E.ToolbarEditorCollection},ToolbarSelect:function(){return C.ToolbarSelect},UIBlock:function(){return p.UIBlock},UIButton:function(){return p.UIButton},UIButtonGroup:function(){return p.UIButtonGroup},UIButtonState:function(){return p.UIButtonState},UICheckbox:function(){return p.UICheckbox},UIElement:function(){return p.UIElement},UIFileInput:function(){return p.UIFileInput},UIForm:function(){return p.UIForm},UIGroup:function(){return p.UIGroup},UIInput:function(){return p.UIInput},UIList:function(){return p.UIList},UIMessages:function(){return w.UIMessages},UISelect:function(){return p.UISelect},UISeparator:function(){return p.UISeparator},UISpacer:function(){return p.UISpacer},UITextArea:function(){return p.UITextArea},UITooltip:function(){return p.UITooltip},Uploader:function(){return I.Uploader},View:function(){return m.View},ViewComponent:function(){return n.ViewComponent},ViewWithToolbar:function(){return g.ViewWithToolbar},canUseIndexedDB:function(){return j.canUseIndexedDB},canUsePersistentStorage:function(){return j.canUsePersistentStorage},clearUseIndexedDBCache:function(){return j.clearUseIndexedDBCache},defaultNameSpace:function(){return d.defaultNameSpace},observable:function(){return d.observable}});var n=i(91907),r=i(21537),o=i(80870),s=i(638),a=i(78513),l=i(8884),c=i(12060),u=i(22732),d=i(3827),h=i(50911),f=i(41601),p=i(67510),m=i(35608),g=i(84075),v=i(78818),b=i(52604),y=i(50050),w=i(1808),S=i(23512),_=i(76014),C=i(36646),k=i(11676),E=i(37426),I=i(57380),T=i(41876),D=i(59242),j=i(12081)},68389:function(e,t,i){i.d(t,{UIMessage:function(){return o}});var n=i(87325),r=i(67510);let o=class e extends r.UIElement{className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}};o=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],o)},1808:function(e,t,i){i.d(t,{UIMessages:function(){return a}});var n=i(87325),r=i(41180),o=i(62405),s=i(68389);let a=class e extends o.UIGroup{className(){return"UIMessages"}info(e,t){this.__message(e,"info",t)}success(e,t){this.__message(e,"success",t)}error(e,t){this.__message(e,"error",t)}message(e,t,i){this.__message(e,t,i)}__message(e,t="info",i){let n=e+":"+t;if(this.__messages.has(n))return void this.async.updateTimeout(n,i||this.options.defaultTimeout);if(!this.__box)throw Error("Container is not defined: "+n);this.__box.appendChild(this.container);let r=new s.UIMessage(this.j,{text:e,variant:t});this.append(r),this.__calcOffsets(),this.__messages.add(n);let o=this.__getRemoveCallback(r,n);this.j.e.on(r.container,"pointerdown",o),this.async.setTimeout(o,{label:n,timeout:i||this.options.defaultTimeout})}__getRemoveCallback(e,t){let i=n=>{n&&n.preventDefault(),e.isInDestruct||(this.async.clearTimeout(t),this.j.e.off(e.container,"pointerdown",i),this.__messages.delete(t),e.setMod("active",!1),this.async.setTimeout(()=>{this.remove(e),e.destruct(),this.__calcOffsets()},300))};return i}__calcOffsets(){let e=5;this.elements.forEach(t=>{(0,r.css)(t.container,"bottom",e+"px"),e+=t.container.offsetHeight+this.options.defaultOffset})}constructor(e,t,i={defaultTimeout:3e3,defaultOffset:5}){super(e),this.__box=t,this.options=i,this.__messages=new Set}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},23512:function(e,t,i){i.d(t,{StatusBar:function(){return l}});var n=i(91907),r=i(65478),o=i(2748),s=i(14316),a=i(34176);let l=class e extends n.ViewComponent{className(){return"StatusBar"}hide(){this.container.classList.add("jodit_hidden")}show(){this.container.classList.remove("jodit_hidden")}get isShown(){return!this.container.classList.contains("jodit_hidden")}getHeight(){var e,t;return null!=(t=null==(e=this.container)?void 0:e.offsetHeight)?t:0}findEmpty(e=!1){let t=this.getElms(e?"item-right":"item");for(let e=0;e<t.length;e+=1)if(!t[e].innerHTML.trim().length)return t[e]}append(e,t=!1){var i;let n=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&n.classList.add(this.getFullElName("item-right")),n.appendChild(e),null==(i=this.container)||i.appendChild(n),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}destruct(){this.isInDestruct||(this.setStatus(n.STATUSES.beforeDestruct),o.Dom.safeRemove(this.container),super.destruct())}constructor(e,t){super(e),this.target=t,this.mods={},this.container=e.c.div("jodit-status-bar"),t.appendChild(this.container),this.hide()}};l=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([r.component,(0,r.derive)(a.Mods,s.Elms)],l)},76014:function(e,t,i){i.d(t,{Table:function(){return u}});var n=i(91907),r=i(82758),o=i(65478),s=i(22732),a=i(580),l=i(21537);let c=new WeakMap;class u extends n.ViewComponent{className(){return"Table"}__recalculateStyles(){let e=(0,a.getContainer)(this.j,u,"style",!0),t=[];this.selected.forEach(e=>{let i=(0,l.cssPath)(e);i&&t.push(i)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();let t=s.Dom.closest(e,"table",this.j.editor);if(t){let i=u.__selectedByTable.get(t)||new Set;i.add(e),u.__selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();let t=s.Dom.closest(e,"table",this.j.editor);if(t){let i=u.__selectedByTable.get(t);i&&(i.delete(e),i.size||u.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,l.toArray)(this.selected)}static __getSelectedCellsByTable(e){let t=u.__selectedByTable.get(e);return t?(0,l.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return u.__getRowsCount(e)}static __getColumnsCount(e){return u.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return u.__getColumnsCount(e)}static __formalMatrix(e,t){let i=[[]],n=(0,l.toArray)(e.rows),r=(e,n)=>{void 0===i[n]&&(i[n]=[]);let r=e.colSpan,o=e.rowSpan,s,a,l=0;for(;i[n][l];)l+=1;for(a=0;o>a;a+=1)for(s=0;s<r;s+=1){if(void 0===i[n+a]&&(i[n+a]=[]),t&&!1===t(e,n+a,l+s,r,o))return!1;i[n+a][l+s]=e}};for(let e=0;e<n.length;e+=1){let t=(0,l.toArray)(n[e].cells);for(let n=0;n<t.length;n+=1)if(!1===r(t[n],e))return i}return i}formalMatrix(e,t){return u.__formalMatrix(e,t)}static __formalCoordinate(e,t,i=!1){let n=0,r=0,o=1,s=1;return u.__formalMatrix(e,(e,a,l,c,u)=>{if(t===e)return n=a,r=l,o=c||1,s=u||1,i&&(r+=(c||1)-1,n+=(u||1)-1),!1}),[n,r,o,s]}formalCoordinate(e,t,i=!1){return u.__formalCoordinate(e,t,i)}static __appendRow(e,t,i,n){var r;let o;if(t)o=t.cloneNode(!0),(0,l.$$)("td,th",t).forEach(e=>{let t=(0,l.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){let i=parseInt(t,10)-1;(0,l.attr)(e,"rowspan",i>1?i:null)}}),(0,l.$$)("td,th",o).forEach(e=>{e.innerHTML=""});else{let t=u.__getColumnsCount(e);o=n.element("tr");for(let e=0;e<t;e+=1)o.appendChild(n.element("td"))}i&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(o,t.nextSibling):!i&&t?t.parentNode&&t.parentNode.insertBefore(o,t):((null==(r=e.getElementsByTagName("tbody"))?void 0:r[0])||e).appendChild(o)}appendRow(e,t,i){return u.__appendRow(e,t,i,this.j.createInside)}static __removeRow(e,t){let i,n=u.__formalMatrix(e),r=e.rows[t];n[t].forEach((o,a)=>{if(i=!1,t-1>=0&&n[t-1][a]===o)i=!0;else if(n[t+1]&&n[t+1][a]===o){if(o.parentNode===r&&o.parentNode.nextSibling){i=!0;let r=a+1;for(;n[t+1][r]===o;)r+=1;let l=s.Dom.next(o.parentNode,e=>s.Dom.isTag(e,"tr"),e);l&&(n[t+1][r]?l.insertBefore(o,n[t+1][r]):l.appendChild(o))}}else s.Dom.safeRemove(o);if(i&&(o.parentNode===r||o!==n[t][a-1])){let e=o.rowSpan;(0,l.attr)(o,"rowspan",e-1>1?e-1:null)}}),s.Dom.safeRemove(r)}removeRow(e,t){return u.__removeRow(e,t)}appendColumn(e,t,i=!0){let n=u.__formalMatrix(e);if(!i&&s.Dom.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);let[,r]=u.__formalCoordinate(e,t,i),o=i?r+1:r;for(let e=0;e<n.length;){let t=n[e];if(t[r]!==t[o]||r===o){let e=this.j.createInside.element("td");i?s.Dom.after(t[r],e):s.Dom.before(t[r],e),t[r].rowSpan>1&&(e.rowSpan=t[r].rowSpan)}else t[r].colSpan+=1;e+=t[r].rowSpan||1}}static __removeColumn(e,t){let i,n=u.__formalMatrix(e);n.forEach((e,r)=>{let o=e[t];if(i=!1,t-1>=0&&n[r][t-1]===o||t+1<e.length&&n[r][t+1]===o?i=!0:s.Dom.safeRemove(o),i&&(r-1<0||o!==n[r-1][t])){let e=o.colSpan;(0,l.attr)(o,"colspan",e-1>1?(e-1).toString():null)}})}removeColumn(e,t){return u.__removeColumn(e,t)}static __getSelectedBound(e,t){let i,n,r,o=[[1/0,1/0],[0,0]],s=u.__formalMatrix(e);for(i=0;i<s.length;i+=1)for(n=0;s[i]&&n<s[i].length;n+=1)t.includes(s[i][n])&&(o[0][0]=Math.min(i,o[0][0]),o[0][1]=Math.min(n,o[0][1]),o[1][0]=Math.max(i,o[1][0]),o[1][1]=Math.max(n,o[1][1]));for(i=o[0][0];i<=o[1][0];i+=1)for(r=1,n=o[0][1];n<=o[1][1];n+=1){for(;s[i]&&s[i][n-r]&&s[i][n]===s[i][n-r];)o[0][1]=Math.min(n-r,o[0][1]),o[1][1]=Math.max(n-r,o[1][1]),r+=1;for(r=1;s[i]&&s[i][n+r]&&s[i][n]===s[i][n+r];)o[0][1]=Math.min(n+r,o[0][1]),o[1][1]=Math.max(n+r,o[1][1]),r+=1;for(r=1;s[i-r]&&s[i][n]===s[i-r][n];)o[0][0]=Math.min(i-r,o[0][0]),o[1][0]=Math.max(i-r,o[1][0]),r+=1;for(r=1;s[i+r]&&s[i][n]===s[i+r][n];)o[0][0]=Math.min(i+r,o[0][0]),o[1][0]=Math.max(i+r,o[1][0]),r+=1}return o}getSelectedBound(e,t){return u.__getSelectedBound(e,t)}static __normalizeTable(e){let t=[],i=u.__formalMatrix(e);u.__removeExtraColspans(i,t),u.__removeExtraRowspans(i,t);for(let e=0;e<i.length;e+=1)for(let t=0;t<i[e].length;t+=1)void 0!==i[e][t]&&(i[e][t].hasAttribute("rowspan")&&1===i[e][t].rowSpan&&(0,l.attr)(i[e][t],"rowspan",null),i[e][t].hasAttribute("colspan")&&1===i[e][t].colSpan&&(0,l.attr)(i[e][t],"colspan",null),i[e][t].hasAttribute("class")&&!(0,l.attr)(i[e][t],"class")&&(0,l.attr)(i[e][t],"class",null));u.__unmark(t)}static __removeExtraColspans(e,t){for(let i=0;i<e[0].length;i+=1){let n=1e6,r=!1;for(let t=0;t<e.length;t+=1)if(void 0!==e[t][i]){if(e[t][i].colSpan<2){r=!0;break}n=Math.min(n,e[t][i].colSpan)}if(!r)for(let r=0;r<e.length;r+=1)void 0!==e[r][i]&&u.__mark(e[r][i],"colspan",e[r][i].colSpan-n+1,t)}}static __removeExtraRowspans(e,t){let i=0,n=0;for(i=0;i<e.length;i+=1){let r=1e6,o=!1;for(n=0;n<e[i].length;n+=1)if(void 0!==e[i][n]){if(e[i][n].rowSpan<2){o=!0;break}r=Math.min(r,e[i][n].rowSpan)}if(!o)for(n=0;n<e[i].length;n+=1)void 0!==e[i][n]&&u.__mark(e[i][n],"rowspan",e[i][n].rowSpan-r+1,t)}}normalizeTable(e){return u.__normalizeTable(e)}static __mergeSelected(e,t){let i=[],n=u.__getSelectedBound(e,u.__getSelectedCellsByTable(e)),o=0,a=null,c=0,h=0,f=0,p=new Set,m=[];n&&(n[0][0]-n[1][0]||n[0][1]-n[1][1])&&(u.__formalMatrix(e,(e,r,s,g,v)=>{r>=n[0][0]&&r<=n[1][0]&&s>=n[0][1]&&s<=n[1][1]&&(p.has(e)||(p.add(e),r===n[0][0]&&e.style.width&&(o+=e.offsetWidth),""!==(0,l.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(h+=g-1),v>1&&(f+=v-1),a?(u.__mark(e,"remove",1,m),d(t).removeSelection(e)):(a=e,c=s)))}),h=n[1][1]-n[0][1]+1,f=n[1][0]-n[0][0]+1,a&&(h>1&&u.__mark(a,"colspan",h,m),f>1&&u.__mark(a,"rowspan",f,m),o&&(u.__mark(a,"width",(o/e.offsetWidth*100).toFixed(r.ACCURACY)+"%",m),c&&u.__setColumnWidthByDelta(e,c,0,!0,m)),a.innerHTML=i.join("<br/>"),d(t).addSelection(a),p.delete(a),u.__unmark(m),u.__normalizeTable(e),(0,l.toArray)(e.rows).forEach(e=>{e.cells.length||s.Dom.safeRemove(e)})))}mergeSelected(e){return u.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let i,n,r,o,a,l=[];u.__getSelectedCellsByTable(e).forEach(c=>{(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),r=t.createInside.element("tr"),i=u.__formalCoordinate(e,c),c.rowSpan<2?(u.__formalMatrix(e,(e,t,n)=>{i[0]===t&&i[1]!==n&&e!==c&&u.__mark(e,"rowspan",e.rowSpan+1,l)}),s.Dom.after(s.Dom.closest(c,"tr",e),r),r.appendChild(n)):(u.__mark(c,"rowspan",c.rowSpan-1,l),u.__formalMatrix(e,(t,n,r)=>{n>i[0]&&n<i[0]+c.rowSpan&&i[1]>r&&t.parentNode.rowIndex===n&&(a=t),i[0]<n&&t===c&&(o=e.rows[n])}),a?s.Dom.after(a,n):o.insertBefore(n,o.firstChild)),c.colSpan>1&&u.__mark(n,"colspan",c.colSpan,l),u.__unmark(l),d(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return u.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let i,n,o,a=[];u.__getSelectedCellsByTable(e).forEach(l=>{i=u.__formalCoordinate(e,l),l.colSpan<2?u.__formalMatrix(e,(e,t,n)=>{i[1]===n&&i[0]!==t&&e!==l&&u.__mark(e,"colspan",e.colSpan+1,a)}):u.__mark(l,"colspan",l.colSpan-1,a),(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),l.rowSpan>1&&u.__mark(n,"rowspan",l.rowSpan,a);let c=l.offsetWidth;s.Dom.after(l,n),o=c/e.offsetWidth/2,u.__mark(l,"width",(100*o).toFixed(r.ACCURACY)+"%",a),u.__mark(n,"width",(100*o).toFixed(r.ACCURACY)+"%",a),u.__unmark(a),d(t).removeSelection(l)}),u.__normalizeTable(e)}splitVertical(e){return u.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,i,n,o){let s=u.__formalMatrix(e),a=0;for(let n=0;n<s.length;n+=1){let l=s[n][t];if(l.colSpan>1&&s.length>1)continue;let c=(l.offsetWidth+i)/e.offsetWidth*100;u.__mark(l,"width",c.toFixed(r.ACCURACY)+"%",o),a=n;break}for(let e=a+1;e<s.length;e+=1){let i=s[e][t];u.__mark(i,"width",null,o)}n||u.__unmark(o)}setColumnWidthByDelta(e,t,i,n,r){return u.__setColumnWidthByDelta(e,t,i,n,r)}static __mark(e,t,i,n){var r;n.push(e);let o=null!=(r=c.get(e))?r:{};o[t]=void 0===i?1:i,c.set(e,o)}static __unmark(e){e.forEach(e=>{let t=c.get(e);t&&(Object.keys(t).forEach(i=>{let n=t[i];switch(i){case"remove":s.Dom.safeRemove(e);break;case"rowspan":(0,l.attr)(e,"rowspan",(0,l.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,l.attr)(e,"colspan",(0,l.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,l.attr)(e,"style")||(0,l.attr)(e,"style",null)):e.style.width=n.toString()}delete t[i]}),c.delete(e))})}constructor(){super(...arguments),this.selected=new Set}}u.__selectedByTable=new WeakMap,function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);o>3&&s&&Object.defineProperty(t,i,s)}([(0,o.debounce)()],u.prototype,"__recalculateStyles",null);let d=e=>e.getInstance("Table",e.o)},78644:function(e,t,i){i.d(t,{ToolbarButton:function(){return T}});var n=i(78213),r=i(45219),o=i(33433),s=i(87325),a=i(37133),l=i(2748),c=i(68345),u=i(23282),d=i(19306),h=i(72430),f=i(70799),p=i(56175),m=i(87058),g=i(38837),v=i(29960),b=i(37790),y=i(62843),w=i(72157),S=i(12153),_=i(56917),C=i(21491);function k(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function E(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}var I=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let T=class e extends y.UIButton{className(){return"ToolbarButton"}getRole(){return"listitem"}updateAriaLabel(){if(super.updateAriaLabel(),this.trigger){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,v.attr)(this.trigger,"aria-label",e)}}get toolbar(){let e=(0,s.getComponentClass)("ToolbarCollection");return this.closest(e)}update(){var e,t;let{control:i,state:n}=this,r=this.toolbar;if(!r)return;let o=null==(e=i.value)?void 0:e.call(i,r.jodit,this);void 0!==o&&(n.value=o),n.disabled=this.__calculateDisabledStatus(r),n.activated=this.__calculateActivatedStatus(r),null==(t=i.update)||t.call(i,r.jodit,this)}__calculateActivatedStatus(e){var t,i;return(!(0,d.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(i=(t=this.control).isActive)&&!!i.call(t,this.j,this)||!!(e&&e.shouldBeActive(this)))}__calculateDisabledStatus(e){var t,i;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(i=(t=this.control).isDisabled)?void 0:i.call(t,this.j,this)))||!!(e&&e.shouldBeDisabled(this))}onChangeActivated(){(0,v.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,u.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,v.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let e=this.componentName,t=this.j.c.span(e),i=super.createContainer();i.classList.remove(e),i.classList.add(e+"__button"),Object.defineProperty(i,"component",{value:this}),t.appendChild(i);let n=this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${e}__trigger">${S.Icon.get("chevron")}</span>`);return i.appendChild(n),t}focus(){var e;null==(e=this.container.querySelector("button"))||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):l.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let e=this.state.disabled?"disabled":null;(0,v.attr)(this.trigger,"disabled",e),(0,v.attr)(this.button,"disabled",e),(0,v.attr)(this.container,"disabled",e)}__initFromControl(){var e;let{control:t,state:i}=this;this.updateSize(),i.name=t.name;let{textIcons:n}=this.j.o;if(!0===n||(0,u.isFunction)(n)&&n(t.name)||t.template)i.icon=(0,y.UIButtonState)().icon,i.text=t.text||t.name;else{if(t.iconURL)i.icon.iconURL=t.iconURL;else{let n=t.icon||t.name;i.icon.name=S.Icon.exists(n)||(null==(e=this.j.o.extraIcons)?void 0:e[n])?n:""}t.iconURL||i.icon.name||(i.text=t.text||t.name)}t.tooltip&&(i.tooltip=(0,u.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip),i.hasTrigger=!!(t.list||t.popup&&t.exec)}onTriggerClick(e){var t,i,n;if(this.openedPopup)return void this.__closePopup();let{control:r}=this;if((0,v.attr)(this.trigger,"aria-expanded",!0),e.buffer={actionTrigger:this},r.list)return this.__openControlList(r);if((0,u.isFunction)(r.popup)){let e=this.openPopup();e.parentElement=this;try{if(!1!==this.j.e.fire((0,m.camelCase)(`before-${r.name}-open-popup`),this.target,r,e)){let o=null!=(n=null!=(i=null==(t=this.toolbar)?void 0:t.getTarget(this))?i:this.target)?n:null,s=r.popup(this.j,o,this.__closePopup,this);s?e.setContent((0,f.isString)(s)?this.j.c.fromHTML(s):s).open(()=>(0,p.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(e){throw this.__closePopup(),e}this.j.e.fire((0,m.camelCase)(`after-${r.name}-open-popup`),e.container)}}__openControlList(e){var t;let i=null!=(t=this.jodit.options.controls)?t:{},n=e=>(0,w.findControlType)(e,i),r=e.list,o=this.openPopup(),s=(0,C.makeCollection)(this.j);o.parentElement=this,s.parentElement=o,s.mode="vertical";let a=(t,i)=>{let r;if((0,f.isString)(i)&&n(i))return k({name:i.toString()},n(i));if((0,f.isString)(t)&&n(t))return k({name:t.toString()},n(t),"object"==typeof i?i:{});r=t,(0,h.isPlainObject)(r)&&"title"in r&&"value"in r&&(i=t.value,t=t.title);let{childTemplate:o}=e,s={name:t.toString(),template:o&&((e,t,i)=>o(e,t,i,this)),exec:e.childExec?(t,i,n)=>{var r;return null==(r=e.childExec)?void 0:r.call(e,t,i,E(k({},n),{parentControl:e}))}:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,i]};return(0,f.isString)(i)&&(s.text=i),s};s.build((0,c.isArray)(r)?r.map(a):(0,b.keys)(r,!1).map(e=>a(e,r[e])),this.target),o.setContent(s).open(()=>(0,p.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&l.Dom.isNode(e.target)&&(l.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new _.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null,this.trigger&&(0,v.attr)(this.trigger,"aria-expanded",!1))}onClick(e){var t,i,n,r,o,s,a;let{control:l}=this;if((0,u.isFunction)(l.exec)){let c=null!=(n=null!=(i=null==(t=this.toolbar)?void 0:t.getTarget(this))?i:this.target)?n:null,u=l.exec(this.j,c,{control:l,originalEvent:e,button:this});if(!1!==u&&!0!==u&&(null==(o=null==(r=this.j)?void 0:r.e)||o.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(a=null==(s=this.j)?void 0:s.e)||a.fire("closeAllPopups afterExec")),!1!==u)return}return l.list?this.__openControlList(l):(0,u.isFunction)(l.popup)?this.onTriggerClick(e):void((l.command||l.name)&&((0,b.call)((0,d.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),l.command||l.name,!1,l.args&&l.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.state=E(k({},(0,y.UIButtonState)()),{theme:"toolbar",currentValue:"",hasTrigger:!1}),this.openedPopup=null;const r=this.getElm("button");(0,g.assert)(r,"Element button should exists"),this.button=r,Object.defineProperty(r,"component",{value:this,configurable:!0});const o=this.getElm("trigger");(0,g.assert)(o,"Element trigger should exists"),this.trigger=o,o.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(n.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}};I([o.cacheHTML],T.prototype,"createContainer",null),I([(0,a.watch)("state.hasTrigger",{immediately:!1})],T.prototype,"onChangeHasTrigger",null),I([(0,a.watch)("trigger:click")],T.prototype,"onTriggerClick",null),I([r.autobind],T.prototype,"onOutsideClick",null),I([r.autobind],T.prototype,"__closePopup",null),T=I([s.component],T)},80319:function(e,t,i){i.d(t,{ToolbarContent:function(){return a}});var n=i(65478),r=i(22732),o=i(21537),s=i(62843);let a=class e extends s.UIButton{className(){return"ToolbarContent"}update(){let e=this.control.getContent(this.j,this);((0,o.isString)(e)||e.parentNode!==this.container)&&(r.Dom.detach(this.container),this.container.appendChild((0,o.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,o.attr)(this.container,"role","content")}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},36646:function(e,t,i){i.d(t,{ToolbarButton:function(){return n.ToolbarButton},ToolbarContent:function(){return r.ToolbarContent},ToolbarSelect:function(){return o.ToolbarSelect}});var n=i(78644),r=i(80319),o=i(83111)},83111:function(e,t,i){i.d(t,{ToolbarSelect:function(){return a}});var n=i(65478),r=i(72430),o=i(70799),s=i(78644);let a=class e extends s.ToolbarButton{className(){return"ToolbarSelect"}update(){var e,t,i;super.update(),this.state.icon.name="";let{list:n,data:s}=this.control;if(n){let a=this.state.value||(s&&(0,o.isString)(s.currentValue)?s.currentValue:void 0);a||(a=Object.keys(n)[0]);let l=((0,r.isPlainObject)(n)&&n[a.toString()]||a).toString();this.state.text=null!=(i=null==(t=(e=this.control).textTemplate)?void 0:t.call(e,this.jodit,l))?i:l}}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},11676:function(e,t,i){i.d(t,{ToolbarCollection:function(){return h}});var n=i(65478),r=i(45219),o=i(87325),s=i(97357),a=i(37133),l=i(82760),c=i(24536),u=i(21491),d=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let h=class e extends c.UIList{className(){return"ToolbarCollection"}getRole(){return"toolbar"}get firstButton(){let[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,u.makeButton)(this.j,e,t)}makeSelect(e,t=null){return(0,u.makeSelect)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,l.error)("The method is not implemented for this class.")}build(e,t=null){let i=this.j.e.fire("beforeToolbarBuild",e);return i&&(e=i),super.build(e,t),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(e){super(e),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur"}};d([(0,a.watch)(":afterInit"),r.autobind],h.prototype,"__immediateUpdate",null),d([(0,n.debounce)(e=>e.j.defaultTimeout,!0)],h.prototype,"update",null),d([(0,s.hook)("ready")],h.prototype,"__initEvents",null),h=d([o.component],h)},37426:function(e,t,i){i.d(t,{ToolbarEditorCollection:function(){return l}});var n=i(82758),r=i(65478),o=i(22732),s=i(21537),a=i(11676);let l=class e extends a.ToolbarCollection{className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){let t=super.shouldBeDisabled(e);if(void 0!==t)return t;let i=void 0===e.control.mode?n.MODE_WYSIWYG:e.control.mode;return i!==n.MODE_SPLIT&&i!==this.j.getRealMode()}shouldBeActive(e){let t,i=super.shouldBeActive(e);if(void 0!==i)return i;let n=this.j.selection?this.j.s.current():null;if(!n)return!1;if(e.control.tags){let i=e.control.tags;if(t=n,o.Dom.up(t,e=>{if(e&&-1!==i.indexOf(e.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(e.control.css){let i=e.control.css;if(t=n,o.Dom.up(t,e=>{if(e&&!o.Dom.isText(e)&&!o.Dom.isComment(e))return this.checkActiveStatus(i,e)},this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}prependInvisibleInput(e){let t=this.j.create.element("input",{name:"jodit-toolbar-focus-helper_"+this.j.id,tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});o.Dom.appendChildFirst(e,t)}showInline(e){this.jodit.e.fire("showInlineToolbar",e)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}constructor(e){super(e),this.checkActiveStatus=(e,t)=>{let i=0,n=0;return Object.keys(e).forEach(r=>{let o=e[r];(0,s.isFunction)(o)?o(this.j,(0,s.css)(t,r).toString())&&(i+=1):-1!==o.indexOf((0,s.css)(t,r).toString())&&(i+=1),n+=1}),n===i},this.prependInvisibleInput(this.container)}};l=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([r.component],l)},21491:function(e,t,i){i.d(t,{makeButton:function(){return a},makeCollection:function(){return s},makeSelect:function(){return l}});var n=i(87325),r=i(23282),o=i(19306);function s(e,t){let i=(0,n.getComponentClass)("ToolbarCollection"),r=(0,n.getComponentClass)("ToolbarEditorCollection"),s=(0,o.isJoditObject)(e)?new r(e):new i(e);return e.o.textIcons&&s.container.classList.add("jodit_text_icons"),t&&(s.parentElement=t),e.o.toolbarButtonSize&&(s.buttonSize=e.o.toolbarButtonSize),s}function a(e,t,i=null){if((0,r.isFunction)(t.getContent))return new((0,n.getComponentClass)("ToolbarContent"))(e,t,i);let o=new((0,n.getComponentClass)("ToolbarButton"))(e,t,i);return o.state.tabIndex=e.o.allowTabNavigation?0:-1,o}function l(e,t,i=null){return new((0,n.getComponentClass)("ToolbarSelect"))(e,t,i)}},80536:function(e,t,i){var n=i(68345),r=i(19306),o=i(6441);o.Config.prototype.enableDragAndDropFileToEditor=!0,o.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName(e){return`files[${e}]`},withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData(e){return e},isSuccess(e){return e.success},getMessage(e){return void 0!==e.data.messages&&(0,n.isArray)(e.data.messages)?e.data.messages.join(" "):""},processFileName(e,t,i){return[e,t,i]},process(e){return e.data},error(e){this.j.message.error(e.message,4e3)},getDisplayName(e,t){return e+t},defaultHandlerSuccess(e){let t=this.j||this;(0,r.isJoditObject)(t)&&e.files&&e.files.length&&e.files.forEach((i,n)=>{let[r,o]=e.isImages&&e.isImages[n]?["img","src"]:["a","href"],s=t.createInside.element(r);s.setAttribute(o,e.baseurl+i),"a"===r&&(s.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,i)),"img"===r?t.s.insertImage(s,null,t.o.imageDefaultWidth):t.s.insertNode(s)})},defaultHandlerError(e){this.j.message.error(e.message)},contentType(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},83987:function(e,t,i){i.d(t,{buildData:function(){return r}});var n=i(21537);function r(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);let i=e.ow.FormData;if(void 0!==i){if(t instanceof i||(0,n.isString)(t))return t;let e=new i;return Object.keys(t).forEach(i=>{e.append(i,t[i])}),e}return t}},74569:function(e,t,i){i.d(t,{dataURItoBlob:function(){return n}});function n(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(new ArrayBuffer(t.length));for(let e=0;e<t.length;e+=1)n[e]=t.charCodeAt(e);return new Blob([n.buffer],{type:i})}},94122:function(e,t,i){i.d(t,{ajaxInstances:function(){return r.ajaxInstances},hasFiles:function(){return s},hasItems:function(){return a},processOldBrowserDrag:function(){return n.processOldBrowserDrag},send:function(){return r.send},sendFiles:function(){return o.sendFiles}}),i(83987);var n=i(50373),r=i(71686),o=i(80020);function s(e){return!!(e&&e.files&&e.files.length>0)}function a(e){return!!(e&&e.items&&e.items.length>0)}},50373:function(e,t,i){i.d(t,{processOldBrowserDrag:function(){return c}});var n=i(82758),r=i(22732),o=i(580),s=i(21537),a=i(74569),l=i(80020);function c(e,t,i,c,u){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){let t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,o.getContainer)(e.j,e.constructor).appendChild(t);let n=(0,s.isJoditObject)(e.j)?e.j.s.save():null;t.focus(),e.j.async.setTimeout(()=>{let o=t.firstChild;if(r.Dom.safeRemove(t),o&&o.hasAttribute("src")){let t=(0,s.attr)(o,"src")||"";n&&(0,s.isJoditObject)(e.j)&&e.j.s.restore(),(0,l.sendFiles)(e,[(0,a.dataURItoBlob)(t)],i,c).finally(u)}},e.j.defaultTimeout)}}},80020:function(e,t,i){i.d(t,{sendFiles:function(){return o}});var n=i(21537),r=i(71686);function o(e,t,i,o,s){if(!t)return Promise.reject((0,n.error)("Need files"));let{o:a}=e,l=(0,n.toArray)(t);if(!l.length)return Promise.reject((0,n.error)("Need files"));let c=[];if(a.insertImageAsBase64URI&&function(e,t,i,r,o,s){let a,l;for(l=0;l<e.length;l+=1)if((a=e[l])&&a.type){let c=a.type.match(/\/([a-z0-9]+)/i),u=c[1]?c[1].toLowerCase():"";if(!t.includes(u))continue;let d=new FileReader;i.push(r.j.async.promise((e,t)=>{d.onerror=t,d.onloadend=()=>{let t={baseurl:"",files:[d.result],isImages:[!0]};((0,n.isFunction)(o)?o:s).call(r,t),e(t)},d.readAsDataURL(a)})),e[l]=null}}(l,a.imagesExtensions,c,e,i,a.defaultHandlerSuccess),(l=l.filter(e=>e)).length){let t,u=new FormData;u.append(a.pathVariableName,e.path),u.append("source",e.source);for(let i=0;i<l.length;i+=1)if(t=l[i]){let n=/\.\w+$/.test(t.name),r=t.type.match(/\/([a-z0-9]+)/i),o=r&&r[1]?r[1].toLowerCase():"",s=l[i].name||Math.random().toString().replace(".","");if(!n&&o){let e=o;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+o)}let[c,d,h]=a.processFileName.call(e,a.filesVariableName(i),l[i],s);u.append(c,d,h)}s&&s(u),a.data&&(0,n.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{u.append(e,a.data[e])}),a.prepareData.call(e,u),c.push((0,r.send)(e,u).then(t=>(a.isSuccess.call(e,t)?((0,n.isFunction)(i)?i:a.defaultHandlerSuccess).call(e,a.process.call(e,t)):((0,n.isFunction)(o)?o:a.defaultHandlerError).call(e,(0,n.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},71686:function(e,t,i){i.d(t,{ajaxInstances:function(){return s},send:function(){return a}});var n=i(21537),r=i(41601),o=i(83987);let s=new WeakMap;function a(e,t){let i=(0,o.buildData)(e,t),a=t=>{e.j.progressbar.show().progress(t),t>=100&&e.j.progressbar.hide()},l=(t,i)=>{let o=new r.Ajax({xhr:()=>{let t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(i(10),t.upload.addEventListener("progress",e=>{if(e.lengthComputable){let t=e.loaded/e.total;i(t*=100)}},!1)):i(100),t},method:e.o.method||"POST",data:t,url:(0,n.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1}),a=s.get(e);return a||(a=new Set,s.set(e,a)),a.add(o),e.j.e.one("beforeDestruct",o.destruct),o.send().then(e=>e.json()).catch(e=>({success:!1,data:{messages:[e]}})).finally(()=>{o.destruct(),null==a||a.delete(o)})};return((0,n.isFunction)(e.o.customUploadFunction)&&(l=e.o.customUploadFunction),(0,n.isPromise)(i))?i.then(e=>l(e,a)).catch(t=>{e.o.error.call(e,t)}):l(i,a)}},57380:function(e,t,i){i.d(t,{Uploader:function(){return l}});var n=i(91907),r=i(82758),o=i(21537),s=i(6441),a=i(94122);i(80536);class l extends n.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,i){let n=()=>{e.classList.remove("jodit_drag_hover")},o=this,s=e=>{let s,l,c,u=e.clipboardData,d=e=>{l&&(e.append("extension",c),e.append("mimetype",l.type))};if(!r.IS_IE&&(0,a.hasFiles)(u))return(0,a.sendFiles)(o,u.files,t,i).finally(n),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,a.processOldBrowserDrag)(o,u,t,i,n);if((0,a.hasItems)(u)){let{items:r}=u;for(s=0;s<r.length;s+=1)if("file"===r[s].kind&&"image/png"===r[s].type){if(l=r[s].getAsFile()){let e=l.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,a.sendFiles)(o,[l],t,i,d).finally(n)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s),this.attachEvents(e,t,i,n)}attachEvents(e,t,i,n){let r=this;r.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,a.hasFiles)(t.dataTransfer)||(0,a.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,a.hasFiles)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",o=>{e.classList.remove("jodit_drag_hover"),(0,a.hasFiles)(o.dataTransfer)&&(o.preventDefault(),o.stopImmediatePropagation(),(0,a.sendFiles)(r,o.dataTransfer.files,t,i).finally(n))});let o=e.querySelector("input[type=file]");o&&r.j.e.on(o,"change",()=>{(0,a.sendFiles)(r,o.files,t,i).then(()=>{o.value="",/safari/i.test(navigator.userAgent)||(o.type="",o.type="file")}).finally(n)})}uploadRemoteImage(e,t,i){let n=this,{o:r}=n,s=(0,o.isFunction)(i)?i:r.defaultHandlerError;(0,a.send)(n,{action:"fileUploadRemote",url:e}).then(e=>{r.isSuccess.call(n,e)?((0,o.isFunction)(t)?t:r.defaultHandlerSuccess).call(n,r.process.call(n,e)):s.call(n,(0,o.error)(r.getMessage.call(n,e)))}).catch(e=>s.call(n,e))}upload(e){return this.async.promise((t,i)=>{(0,a.sendFiles)(this,e,t,i)})}destruct(){this.setStatus(n.STATUSES.beforeDestruct);let e=a.ajaxInstances.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch(e){}}),e.clear()),super.destruct()}constructor(e,t){super(e),this.path="",this.source="default",this.options=(0,o.ConfigProto)(t||{},(0,o.ConfigProto)(s.Config.defaultOptions.uploader,(0,o.isJoditObject)(e)?e.o.uploader:{}))}}},22859:function(e,t,i){i.d(t,{ColorPickerWidget:function(){return a}});var n=i(22732),r=i(21537),o=i(67510),s=i(37068);o.Icon.set("palette",s.default);let a=(e,t,i)=>{let s="jodit-color-picker",a=(0,r.normalizeColor)(i),l=e.c.div(s),c=e.o.textIcons?`<span>${e.i18n("palette")}</span>`:o.Icon.get("palette"),u=e=>{let t=[];return(0,r.isPlainObject)(e)?Object.keys(e).forEach(i=>{t.push(`<div class="${s}__group ${s}__group-${i}">`),t.push(u(e[i])),t.push("</div>")}):(0,r.isArray)(e)&&e.forEach(e=>{t.push(`<span class='${s}__color-item ${a===e?s+"__color-item_active_true":""}' title="${e}" style="background-color:${e}" data-color="${e}"></span>`)}),t.join("")};l.appendChild(e.c.fromHTML(`<div class="${s}__groups">${u(e.o.colors)}</div>`)),l.appendChild(e.c.fromHTML(`<div data-ref="extra" class="${s}__extra"></div>`));let{extra:d}=(0,r.refs)(l);return e.o.showBrowserColorPicker&&(0,r.hasBrowserColorPicker)()&&(d.appendChild(e.c.fromHTML(`<div class="${s}__native">${c}<input type="color" value="#ffffff"/></div>`)),e.e.on(l,"change",e=>{e.stopPropagation();let i=e.target;if(!i||!i.tagName||!n.Dom.isTag(i,"input"))return;let o=i.value||"";(0,r.isFunction)(t)&&t(o),e.preventDefault()})),e.e.on(l,"mousedown touchend",i=>{i.stopPropagation(),i.preventDefault();let o=i.target;if((!o||!o.tagName||n.Dom.isTag(o,"svg")||n.Dom.isTag(o,"path"))&&o.parentNode&&(o=n.Dom.closest(o.parentNode,"span",e.editor)),!n.Dom.isTag(o,"span")||!o.classList.contains(s+"__color-item"))return;let a=(0,r.attr)(o,"-color")||"";t&&(0,r.isFunction)(t)&&t(a)}),e.e.fire("afterGenerateColorPicker",l,d,t,a),l}},37068:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg> '},34793:function(e,t,i){i.d(t,{FileSelectorWidget:function(){return a}});var n=i(2748),r=i(21537),o=i(67510),s=i(38927);let a=(e,t,i,a,c=!0)=>{let u,d=[],h=e.o.uploader;if(t.upload&&(h.url||h.insertImageAsBase64URI||h.customUploadFunction)){let i=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(c?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${c?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(i,i=>{let n=(0,r.isFunction)(t.upload)?t.upload:h.defaultHandlerSuccess;(0,r.isFunction)(n)&&n.call(e,i),e.e.fire("closeAllPopups")},t=>{e.message.error(t.message),e.e.fire("closeAllPopups")}),d.push({icon:"upload",name:"Upload",content:i})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&d.push({icon:"folder",name:"Browse",content:()=>{a&&a(),t.filebrowser&&e.filebrowser.open(t.filebrowser,c)}}),t.url){let s=new o.UIButton(e,{type:"submit",variant:"primary",text:"Insert"}),a=new o.UIForm(e,[new o.UIInput(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new o.UIInput(e,{name:"text",label:"Alternative text"}),new o.UIBlock(e,[s])]);u=null,i&&!n.Dom.isText(i)&&!n.Dom.isComment(i)&&(n.Dom.isTag(i,"img")||(0,r.$$)("img",i).length)&&(u="IMG"===i.tagName?i:(0,r.$$)("img",i)[0],l(a.container,"input[name=url]",(0,r.attr)(u,"src")),l(a.container,"input[name=text]",(0,r.attr)(u,"alt")),s.state.text="Update"),i&&n.Dom.isTag(i,"a")&&(l(a.container,"input[name=url]",(0,r.attr)(i,"href")),l(a.container,"input[name=text]",(0,r.attr)(i,"title")),s.state.text="Update"),a.onSubmit(i=>{(0,r.isFunction)(t.url)&&t.url.call(e,i.url,i.text)}),d.push({icon:"link",name:"URL",content:a.container})}return(0,s.TabsWidget)(e,d)};function l(e,t,i){let n=e.querySelector(t);return n?(i&&(n.value=i),n.value):""}},92762:function(e,t,i){i.d(t,{ColorPickerWidget:function(){return n.ColorPickerWidget},FileSelectorWidget:function(){return r.FileSelectorWidget},TabsWidget:function(){return o.TabsWidget}});var n=i(22859),r=i(34793),o=i(38927)},38927:function(e,t,i){i.d(t,{TabsWidget:function(){return l}});var n=i(91907),r=i(2748),o=i(23282),s=i(29960),a=i(67510);let l=(e,t,i)=>{let l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons");(0,s.attr)(u,{role:"tablist","aria-orientation":"horizontal"});let d={},h=[],f="";l.appendChild(u),l.appendChild(c);let p=e=>{d[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(d).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:m,content:g})=>{let v=e.c.div("jodit-tab");(0,s.attr)(v,{role:"tabpanel"});let b=(0,a.Button)(e,l||m,m);b.state.role="tab",e.e.on(b.container,"pointerdown",e=>e.preventDefault()),f||(f=m),u.appendChild(b.container),h.push(b),b.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,o.isFunction)(g)?v.classList.add("jodit-tab_empty"):v.appendChild(n.Component.isInstanceOf(g,a.UIElement)?g.container:g),c.appendChild(v),b.onAction(()=>(p(m),(0,o.isFunction)(g)&&!r.Dom.isElement(g)&&g.call(e),i&&(i.activeTab=m),!1)),d[m]={button:b,tab:v}}),Object.values(d).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),p(i&&i.activeTab&&d[i.activeTab]?i.activeTab:f),i){let e=i.activeTab;Object.defineProperty(i,"activeTab",{configurable:!0,enumerable:!1,get(){return e},set(t){e=t,p(t)}})}return l}},73391:function(e,t,i){var n=i(82758),r=i(580),o=i(21537),s=i(12153),a=i(6441),l=i(49399);a.Config.prototype.controls.about={exec:e=>{let t=e.dlg({closeOnClickOverlay:!0}),i=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(i("About Jodit")).setContent(`<div class="jodit-about">
|
|
108
|
+
</form>`)}},41409:function(e,t,i){i.r(t),i.d(t,{Ajax:function(){return f.Ajax},Alert:function(){return s.Alert},Async:function(){return l.Async},AsyncStorage:function(){return j.AsyncStorage},Button:function(){return p.Button},CommitStyle:function(){return D.CommitStyle},Component:function(){return n.Component},Confirm:function(){return s.Confirm},ContextMenu:function(){return o.ContextMenu},Create:function(){return c.Create},Dialog:function(){return s.Dialog},Dom:function(){return u.Dom},EventEmitter:function(){return d.EventEmitter},EventHandlersStore:function(){return d.EventHandlersStore},Eventify:function(){return d.Eventify},FileBrowser:function(){return a.FileBrowser},Helpers:function(){return r},History:function(){return v.History},Icon:function(){return p.Icon},ImageEditor:function(){return y.ImageEditor},IndexedDBProvider:function(){return j.IndexedDBProvider},LazyWalker:function(){return u.LazyWalker},LocalStorageProvider:function(){return j.LocalStorageProvider},MemoryStorageProvider:function(){return j.MemoryStorageProvider},Plugin:function(){return h.Plugin},PluginSystem:function(){return T.PluginSystem},Popup:function(){return p.Popup},ProgressBar:function(){return p.ProgressBar},Prompt:function(){return s.Prompt},Response:function(){return f.Response},STATUSES:function(){return n.STATUSES},Selection:function(){return D.Selection},Snapshot:function(){return b.Snapshot},StatusBar:function(){return S.StatusBar},Storage:function(){return j.Storage},StorageKey:function(){return j.StorageKey},Table:function(){return _.Table},ToolbarButton:function(){return C.ToolbarButton},ToolbarCollection:function(){return k.ToolbarCollection},ToolbarContent:function(){return C.ToolbarContent},ToolbarEditorCollection:function(){return E.ToolbarEditorCollection},ToolbarSelect:function(){return C.ToolbarSelect},UIBlock:function(){return p.UIBlock},UIButton:function(){return p.UIButton},UIButtonGroup:function(){return p.UIButtonGroup},UIButtonState:function(){return p.UIButtonState},UICheckbox:function(){return p.UICheckbox},UIElement:function(){return p.UIElement},UIFileInput:function(){return p.UIFileInput},UIForm:function(){return p.UIForm},UIGroup:function(){return p.UIGroup},UIInput:function(){return p.UIInput},UIList:function(){return p.UIList},UIMessages:function(){return w.UIMessages},UISelect:function(){return p.UISelect},UISeparator:function(){return p.UISeparator},UISpacer:function(){return p.UISpacer},UITextArea:function(){return p.UITextArea},UITooltip:function(){return p.UITooltip},Uploader:function(){return I.Uploader},View:function(){return m.View},ViewComponent:function(){return n.ViewComponent},ViewWithToolbar:function(){return g.ViewWithToolbar},canUseIndexedDB:function(){return j.canUseIndexedDB},canUsePersistentStorage:function(){return j.canUsePersistentStorage},clearUseIndexedDBCache:function(){return j.clearUseIndexedDBCache},defaultNameSpace:function(){return d.defaultNameSpace},observable:function(){return d.observable}});var n=i(91907),r=i(21537),o=i(80870),s=i(638),a=i(78513),l=i(8884),c=i(12060),u=i(22732),d=i(3827),h=i(50911),f=i(41601),p=i(67510),m=i(35608),g=i(84075),v=i(78818),b=i(52604),y=i(50050),w=i(1808),S=i(23512),_=i(76014),C=i(36646),k=i(11676),E=i(37426),I=i(57380),T=i(41876),D=i(59242),j=i(12081)},68389:function(e,t,i){i.d(t,{UIMessage:function(){return o}});var n=i(87325),r=i(67510);let o=class e extends r.UIElement{className(){return"UIMessage"}constructor(e,t){super(e),this.setMod("active",!0),this.setMod("variant",t.variant),this.container.textContent=t.text}};o=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],o)},1808:function(e,t,i){i.d(t,{UIMessages:function(){return a}});var n=i(87325),r=i(41180),o=i(62405),s=i(68389);let a=class e extends o.UIGroup{className(){return"UIMessages"}info(e,t){this.__message(e,"info",t)}success(e,t){this.__message(e,"success",t)}error(e,t){this.__message(e,"error",t)}message(e,t,i){this.__message(e,t,i)}__message(e,t="info",i){let n=e+":"+t;if(this.__messages.has(n))return void this.async.updateTimeout(n,i||this.options.defaultTimeout);if(!this.__box)throw Error("Container is not defined: "+n);this.__box.appendChild(this.container);let r=new s.UIMessage(this.j,{text:e,variant:t});this.append(r),this.__calcOffsets(),this.__messages.add(n);let o=this.__getRemoveCallback(r,n);this.j.e.on(r.container,"pointerdown",o),this.async.setTimeout(o,{label:n,timeout:i||this.options.defaultTimeout})}__getRemoveCallback(e,t){let i=n=>{n&&n.preventDefault(),e.isInDestruct||(this.async.clearTimeout(t),this.j.e.off(e.container,"pointerdown",i),this.__messages.delete(t),e.setMod("active",!1),this.async.setTimeout(()=>{this.remove(e),e.destruct(),this.__calcOffsets()},300))};return i}__calcOffsets(){let e=5;this.elements.forEach(t=>{(0,r.css)(t.container,"bottom",e+"px"),e+=t.container.offsetHeight+this.options.defaultOffset})}constructor(e,t,i={defaultTimeout:3e3,defaultOffset:5}){super(e),this.__box=t,this.options=i,this.__messages=new Set}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},23512:function(e,t,i){i.d(t,{StatusBar:function(){return l}});var n=i(91907),r=i(65478),o=i(2748),s=i(14316),a=i(34176);let l=class e extends n.ViewComponent{className(){return"StatusBar"}hide(){this.container.classList.add("jodit_hidden")}show(){this.container.classList.remove("jodit_hidden")}get isShown(){return!this.container.classList.contains("jodit_hidden")}getHeight(){var e,t;return null!=(t=null==(e=this.container)?void 0:e.offsetHeight)?t:0}findEmpty(e=!1){let t=this.getElms(e?"item-right":"item");for(let e=0;e<t.length;e+=1)if(!t[e].innerHTML.trim().length)return t[e]}append(e,t=!1){var i;let n=this.findEmpty(t)||this.j.c.div(this.getFullElName("item"));t&&n.classList.add(this.getFullElName("item-right")),n.appendChild(e),null==(i=this.container)||i.appendChild(n),this.j.o.statusbar&&this.show(),this.j.e.fire("resize")}destruct(){this.isInDestruct||(this.setStatus(n.STATUSES.beforeDestruct),o.Dom.safeRemove(this.container),super.destruct())}constructor(e,t){super(e),this.target=t,this.mods={},this.container=e.c.div("jodit-status-bar"),t.appendChild(this.container),this.hide()}};l=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([r.component,(0,r.derive)(a.Mods,s.Elms)],l)},76014:function(e,t,i){i.d(t,{Table:function(){return u}});var n=i(91907),r=i(82758),o=i(65478),s=i(22732),a=i(580),l=i(21537);let c=new WeakMap;class u extends n.ViewComponent{className(){return"Table"}__recalculateStyles(){let e=(0,a.getContainer)(this.j,u,"style",!0),t=[];this.selected.forEach(e=>{let i=(0,l.cssPath)(e);i&&t.push(i)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();let t=s.Dom.closest(e,"table",this.j.editor);if(t){let i=u.__selectedByTable.get(t)||new Set;i.add(e),u.__selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();let t=s.Dom.closest(e,"table",this.j.editor);if(t){let i=u.__selectedByTable.get(t);i&&(i.delete(e),i.size||u.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,l.toArray)(this.selected)}static __getSelectedCellsByTable(e){let t=u.__selectedByTable.get(e);return t?(0,l.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return u.__getRowsCount(e)}static __getColumnsCount(e){return u.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return u.__getColumnsCount(e)}static __formalMatrix(e,t){let i=[[]],n=(0,l.toArray)(e.rows),r=(e,n)=>{void 0===i[n]&&(i[n]=[]);let r=e.colSpan,o=e.rowSpan,s,a,l=0;for(;i[n][l];)l+=1;for(a=0;o>a;a+=1)for(s=0;s<r;s+=1){if(void 0===i[n+a]&&(i[n+a]=[]),t&&!1===t(e,n+a,l+s,r,o))return!1;i[n+a][l+s]=e}};for(let e=0;e<n.length;e+=1){let t=(0,l.toArray)(n[e].cells);for(let n=0;n<t.length;n+=1)if(!1===r(t[n],e))return i}return i}formalMatrix(e,t){return u.__formalMatrix(e,t)}static __formalCoordinate(e,t,i=!1){let n=0,r=0,o=1,s=1;return u.__formalMatrix(e,(e,a,l,c,u)=>{if(t===e)return n=a,r=l,o=c||1,s=u||1,i&&(r+=(c||1)-1,n+=(u||1)-1),!1}),[n,r,o,s]}formalCoordinate(e,t,i=!1){return u.__formalCoordinate(e,t,i)}static __appendRow(e,t,i,n){var r;let o;if(t)o=t.cloneNode(!0),(0,l.$$)("td,th",t).forEach(e=>{let t=(0,l.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){let i=parseInt(t,10)-1;(0,l.attr)(e,"rowspan",i>1?i:null)}}),(0,l.$$)("td,th",o).forEach(e=>{e.innerHTML=""});else{let t=u.__getColumnsCount(e);o=n.element("tr");for(let e=0;e<t;e+=1)o.appendChild(n.element("td"))}i&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(o,t.nextSibling):!i&&t?t.parentNode&&t.parentNode.insertBefore(o,t):((null==(r=e.getElementsByTagName("tbody"))?void 0:r[0])||e).appendChild(o)}appendRow(e,t,i){return u.__appendRow(e,t,i,this.j.createInside)}static __removeRow(e,t){let i,n=u.__formalMatrix(e),r=e.rows[t];n[t].forEach((o,a)=>{if(i=!1,t-1>=0&&n[t-1][a]===o)i=!0;else if(n[t+1]&&n[t+1][a]===o){if(o.parentNode===r&&o.parentNode.nextSibling){i=!0;let r=a+1;for(;n[t+1][r]===o;)r+=1;let l=s.Dom.next(o.parentNode,e=>s.Dom.isTag(e,"tr"),e);l&&(n[t+1][r]?l.insertBefore(o,n[t+1][r]):l.appendChild(o))}}else s.Dom.safeRemove(o);if(i&&(o.parentNode===r||o!==n[t][a-1])){let e=o.rowSpan;(0,l.attr)(o,"rowspan",e-1>1?e-1:null)}}),s.Dom.safeRemove(r)}removeRow(e,t){return u.__removeRow(e,t)}appendColumn(e,t,i=!0){let n=u.__formalMatrix(e);if(!i&&s.Dom.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);let[,r]=u.__formalCoordinate(e,t,i),o=i?r+1:r;for(let e=0;e<n.length;){let t=n[e];if(t[r]!==t[o]||r===o){let e=this.j.createInside.element("td");i?s.Dom.after(t[r],e):s.Dom.before(t[r],e),t[r].rowSpan>1&&(e.rowSpan=t[r].rowSpan)}else t[r].colSpan+=1;e+=t[r].rowSpan||1}}static __removeColumn(e,t){let i,n=u.__formalMatrix(e);n.forEach((e,r)=>{let o=e[t];if(i=!1,t-1>=0&&n[r][t-1]===o||t+1<e.length&&n[r][t+1]===o?i=!0:s.Dom.safeRemove(o),i&&(r-1<0||o!==n[r-1][t])){let e=o.colSpan;(0,l.attr)(o,"colspan",e-1>1?(e-1).toString():null)}})}removeColumn(e,t){return u.__removeColumn(e,t)}static __getSelectedBound(e,t){let i,n,r,o=[[1/0,1/0],[0,0]],s=u.__formalMatrix(e);for(i=0;i<s.length;i+=1)for(n=0;s[i]&&n<s[i].length;n+=1)t.includes(s[i][n])&&(o[0][0]=Math.min(i,o[0][0]),o[0][1]=Math.min(n,o[0][1]),o[1][0]=Math.max(i,o[1][0]),o[1][1]=Math.max(n,o[1][1]));for(i=o[0][0];i<=o[1][0];i+=1)for(r=1,n=o[0][1];n<=o[1][1];n+=1){for(;s[i]&&s[i][n-r]&&s[i][n]===s[i][n-r];)o[0][1]=Math.min(n-r,o[0][1]),o[1][1]=Math.max(n-r,o[1][1]),r+=1;for(r=1;s[i]&&s[i][n+r]&&s[i][n]===s[i][n+r];)o[0][1]=Math.min(n+r,o[0][1]),o[1][1]=Math.max(n+r,o[1][1]),r+=1;for(r=1;s[i-r]&&s[i][n]===s[i-r][n];)o[0][0]=Math.min(i-r,o[0][0]),o[1][0]=Math.max(i-r,o[1][0]),r+=1;for(r=1;s[i+r]&&s[i][n]===s[i+r][n];)o[0][0]=Math.min(i+r,o[0][0]),o[1][0]=Math.max(i+r,o[1][0]),r+=1}return o}getSelectedBound(e,t){return u.__getSelectedBound(e,t)}static __normalizeTable(e){let t=[],i=u.__formalMatrix(e);u.__removeExtraColspans(i,t),u.__removeExtraRowspans(i,t);for(let e=0;e<i.length;e+=1)for(let t=0;t<i[e].length;t+=1)void 0!==i[e][t]&&(i[e][t].hasAttribute("rowspan")&&1===i[e][t].rowSpan&&(0,l.attr)(i[e][t],"rowspan",null),i[e][t].hasAttribute("colspan")&&1===i[e][t].colSpan&&(0,l.attr)(i[e][t],"colspan",null),i[e][t].hasAttribute("class")&&!(0,l.attr)(i[e][t],"class")&&(0,l.attr)(i[e][t],"class",null));u.__unmark(t)}static __removeExtraColspans(e,t){for(let i=0;i<e[0].length;i+=1){let n=1e6,r=!1;for(let t=0;t<e.length;t+=1)if(void 0!==e[t][i]){if(e[t][i].colSpan<2){r=!0;break}n=Math.min(n,e[t][i].colSpan)}if(!r)for(let r=0;r<e.length;r+=1)void 0!==e[r][i]&&u.__mark(e[r][i],"colspan",e[r][i].colSpan-n+1,t)}}static __removeExtraRowspans(e,t){let i=0,n=0;for(i=0;i<e.length;i+=1){let r=1e6,o=!1;for(n=0;n<e[i].length;n+=1)if(void 0!==e[i][n]){if(e[i][n].rowSpan<2){o=!0;break}r=Math.min(r,e[i][n].rowSpan)}if(!o)for(n=0;n<e[i].length;n+=1)void 0!==e[i][n]&&u.__mark(e[i][n],"rowspan",e[i][n].rowSpan-r+1,t)}}normalizeTable(e){return u.__normalizeTable(e)}static __mergeSelected(e,t){let i=[],n=u.__getSelectedBound(e,u.__getSelectedCellsByTable(e)),o=0,a=null,c=0,h=0,f=0,p=new Set,m=[];n&&(n[0][0]-n[1][0]||n[0][1]-n[1][1])&&(u.__formalMatrix(e,(e,r,s,g,v)=>{r>=n[0][0]&&r<=n[1][0]&&s>=n[0][1]&&s<=n[1][1]&&(p.has(e)||(p.add(e),r===n[0][0]&&e.style.width&&(o+=e.offsetWidth),""!==(0,l.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(h+=g-1),v>1&&(f+=v-1),a?(u.__mark(e,"remove",1,m),d(t).removeSelection(e)):(a=e,c=s)))}),h=n[1][1]-n[0][1]+1,f=n[1][0]-n[0][0]+1,a&&(h>1&&u.__mark(a,"colspan",h,m),f>1&&u.__mark(a,"rowspan",f,m),o&&(u.__mark(a,"width",(o/e.offsetWidth*100).toFixed(r.ACCURACY)+"%",m),c&&u.__setColumnWidthByDelta(e,c,0,!0,m)),a.innerHTML=i.join("<br/>"),d(t).addSelection(a),p.delete(a),u.__unmark(m),u.__normalizeTable(e),(0,l.toArray)(e.rows).forEach(e=>{e.cells.length||s.Dom.safeRemove(e)})))}mergeSelected(e){return u.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let i,n,r,o,a,l=[];u.__getSelectedCellsByTable(e).forEach(c=>{(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),r=t.createInside.element("tr"),i=u.__formalCoordinate(e,c),c.rowSpan<2?(u.__formalMatrix(e,(e,t,n)=>{i[0]===t&&i[1]!==n&&e!==c&&u.__mark(e,"rowspan",e.rowSpan+1,l)}),s.Dom.after(s.Dom.closest(c,"tr",e),r),r.appendChild(n)):(u.__mark(c,"rowspan",c.rowSpan-1,l),u.__formalMatrix(e,(t,n,r)=>{n>i[0]&&n<i[0]+c.rowSpan&&i[1]>r&&t.parentNode.rowIndex===n&&(a=t),i[0]<n&&t===c&&(o=e.rows[n])}),a?s.Dom.after(a,n):o.insertBefore(n,o.firstChild)),c.colSpan>1&&u.__mark(n,"colspan",c.colSpan,l),u.__unmark(l),d(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return u.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let i,n,o,a=[];u.__getSelectedCellsByTable(e).forEach(l=>{i=u.__formalCoordinate(e,l),l.colSpan<2?u.__formalMatrix(e,(e,t,n)=>{i[1]===n&&i[0]!==t&&e!==l&&u.__mark(e,"colspan",e.colSpan+1,a)}):u.__mark(l,"colspan",l.colSpan-1,a),(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),l.rowSpan>1&&u.__mark(n,"rowspan",l.rowSpan,a);let c=l.offsetWidth;s.Dom.after(l,n),o=c/e.offsetWidth/2,u.__mark(l,"width",(100*o).toFixed(r.ACCURACY)+"%",a),u.__mark(n,"width",(100*o).toFixed(r.ACCURACY)+"%",a),u.__unmark(a),d(t).removeSelection(l)}),u.__normalizeTable(e)}splitVertical(e){return u.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,i,n,o){let s=u.__formalMatrix(e),a=0;for(let n=0;n<s.length;n+=1){let l=s[n][t];if(l.colSpan>1&&s.length>1)continue;let c=(l.offsetWidth+i)/e.offsetWidth*100;u.__mark(l,"width",c.toFixed(r.ACCURACY)+"%",o),a=n;break}for(let e=a+1;e<s.length;e+=1){let i=s[e][t];u.__mark(i,"width",null,o)}n||u.__unmark(o)}setColumnWidthByDelta(e,t,i,n,r){return u.__setColumnWidthByDelta(e,t,i,n,r)}static __mark(e,t,i,n){var r;n.push(e);let o=null!=(r=c.get(e))?r:{};o[t]=void 0===i?1:i,c.set(e,o)}static __unmark(e){e.forEach(e=>{let t=c.get(e);t&&(Object.keys(t).forEach(i=>{let n=t[i];switch(i){case"remove":s.Dom.safeRemove(e);break;case"rowspan":(0,l.attr)(e,"rowspan",(0,l.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,l.attr)(e,"colspan",(0,l.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,l.attr)(e,"style")||(0,l.attr)(e,"style",null)):e.style.width=n.toString()}delete t[i]}),c.delete(e))})}constructor(){super(...arguments),this.selected=new Set}}u.__selectedByTable=new WeakMap,function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);o>3&&s&&Object.defineProperty(t,i,s)}([(0,o.debounce)()],u.prototype,"__recalculateStyles",null);let d=e=>e.getInstance("Table",e.o)},78644:function(e,t,i){i.d(t,{ToolbarButton:function(){return T}});var n=i(78213),r=i(45219),o=i(33433),s=i(87325),a=i(37133),l=i(2748),c=i(68345),u=i(23282),d=i(19306),h=i(72430),f=i(70799),p=i(56175),m=i(87058),g=i(38837),v=i(29960),b=i(37790),y=i(62843),w=i(72157),S=i(12153),_=i(56917),C=i(21491);function k(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}function E(e,t){return t=null!=t?t:{},Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):(function(e){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t.push.apply(t,i)}return t})(Object(t)).forEach(function(i){Object.defineProperty(e,i,Object.getOwnPropertyDescriptor(t,i))}),e}var I=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let T=class e extends y.UIButton{className(){return"ToolbarButton"}getRole(){return"listitem"}updateAriaLabel(){if(super.updateAriaLabel(),this.trigger){let e=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,v.attr)(this.trigger,"aria-label",e)}}get toolbar(){let e=(0,s.getComponentClass)("ToolbarCollection");return this.closest(e)}update(){var e,t;let{control:i,state:n}=this,r=this.toolbar;if(!r)return;let o=null==(e=i.value)?void 0:e.call(i,r.jodit,this);void 0!==o&&(n.value=o),n.disabled=this.__calculateDisabledStatus(r),n.activated=this.__calculateActivatedStatus(r),null==(t=i.update)||t.call(i,r.jodit,this)}__calculateActivatedStatus(e){var t,i;return(!(0,d.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(i=(t=this.control).isActive)&&!!i.call(t,this.j,this)||!!(e&&e.shouldBeActive(this)))}__calculateDisabledStatus(e){var t,i;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(i=(t=this.control).isDisabled)?void 0:i.call(t,this.j,this)))||!!(e&&e.shouldBeDisabled(this))}onChangeActivated(){(0,v.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,u.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,v.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let e=this.componentName,t=this.j.c.span(e),i=super.createContainer();i.classList.remove(e),i.classList.add(e+"__button"),Object.defineProperty(i,"component",{value:this}),t.appendChild(i);let n=this.j.c.fromHTML(`<span role="button" aria-haspopup="true" aria-expanded="false" class="${e}__trigger">${S.Icon.get("chevron")}</span>`);return i.appendChild(n),t}focus(){var e;null==(e=this.container.querySelector("button"))||e.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):l.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let e=this.state.disabled?"disabled":null;(0,v.attr)(this.trigger,"disabled",e),(0,v.attr)(this.button,"disabled",e),(0,v.attr)(this.container,"disabled",e)}__initFromControl(){let{control:e,state:t}=this;this.updateSize(),t.name=e.name,this.__initIconFromControl(),e.tooltip&&(t.tooltip=(0,u.isFunction)(e.tooltip)?e.tooltip(this.j,e,this):e.tooltip),t.hasTrigger=!!(e.list||e.popup&&e.exec)}__initIconFromControl(){var e;let{control:t,state:i}=this,{textIcons:n}=this.j.o;if(!0===n||(0,u.isFunction)(n)&&n(t.name)||t.template){i.icon=(0,y.UIButtonState)().icon,i.text=t.text||t.name;return}if(!(0,f.isString)(t.icon)&&null!=t.icon){i.icon={name:t.icon.name||t.name,iconURL:t.icon.iconURL||"",fill:t.icon.fill||"",scale:t.icon.scale};return}if(t.iconURL)i.icon.iconURL=t.iconURL;else{let n=t.icon||t.name;i.icon.name=S.Icon.exists(n)||(null==(e=this.j.o.extraIcons)?void 0:e[n])?n:""}t.iconURL||i.icon.name||(i.text=t.text||t.name)}onTriggerClick(e){var t,i,n;if(this.openedPopup)return void this.__closePopup();let{control:r}=this;if((0,v.attr)(this.trigger,"aria-expanded",!0),e.buffer={actionTrigger:this},r.list)return this.__openControlList(r);if((0,u.isFunction)(r.popup)){let e=this.openPopup();e.parentElement=this;try{if(!1!==this.j.e.fire((0,m.camelCase)(`before-${r.name}-open-popup`),this.target,r,e)){let o=null!=(n=null!=(i=null==(t=this.toolbar)?void 0:t.getTarget(this))?i:this.target)?n:null,s=r.popup(this.j,o,this.__closePopup,this);s?e.setContent((0,f.isString)(s)?this.j.c.fromHTML(s):s).open(()=>(0,p.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(e){throw this.__closePopup(),e}this.j.e.fire((0,m.camelCase)(`after-${r.name}-open-popup`),e.container)}}__openControlList(e){var t;let i=null!=(t=this.jodit.options.controls)?t:{},n=e=>(0,w.findControlType)(e,i),r=e.list,o=this.openPopup(),s=(0,C.makeCollection)(this.j);o.parentElement=this,s.parentElement=o,s.mode="vertical";let a=(t,i)=>{let r;if((0,f.isString)(i)&&n(i))return k({name:i.toString()},n(i));if((0,f.isString)(t)&&n(t))return k({name:t.toString()},n(t),"object"==typeof i?i:{});r=t,(0,h.isPlainObject)(r)&&"title"in r&&"value"in r&&(i=t.value,t=t.title);let{childTemplate:o}=e,s={name:t.toString(),template:o&&((e,t,i)=>o(e,t,i,this)),exec:e.childExec?(t,i,n)=>{var r;return null==(r=e.childExec)?void 0:r.call(e,t,i,E(k({},n),{parentControl:e}))}:e.exec,data:e.data,command:e.command,isActive:e.isChildActive,value:e.value,isDisabled:e.isChildDisabled,mode:e.mode,args:[...e.args?e.args:[],t,i]};return(0,f.isString)(i)&&(s.text=i),s};s.build((0,c.isArray)(r)?r.map(a):(0,b.keys)(r,!1).map(e=>a(e,r[e])),this.target),o.setContent(s).open(()=>(0,p.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(e){this.openedPopup&&(e&&l.Dom.isNode(e.target)&&(l.Dom.isOrContains(this.container,e.target)||this.openedPopup.isOwnClick(e))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new _.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null,this.trigger&&(0,v.attr)(this.trigger,"aria-expanded",!1))}onClick(e){var t,i,n,r,o,s,a;let{control:l}=this;if((0,u.isFunction)(l.exec)){let c=null!=(n=null!=(i=null==(t=this.toolbar)?void 0:t.getTarget(this))?i:this.target)?n:null,u=l.exec(this.j,c,{control:l,originalEvent:e,button:this});if(!1!==u&&!0!==u&&(null==(o=null==(r=this.j)?void 0:r.e)||o.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(a=null==(s=this.j)?void 0:s.e)||a.fire("closeAllPopups afterExec")),!1!==u)return}return l.list?this.__openControlList(l):(0,u.isFunction)(l.popup)?this.onTriggerClick(e):void((l.command||l.name)&&((0,b.call)((0,d.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),l.command||l.name,!1,l.args&&l.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.state=E(k({},(0,y.UIButtonState)()),{theme:"toolbar",currentValue:"",hasTrigger:!1}),this.openedPopup=null;const r=this.getElm("button");(0,g.assert)(r,"Element button should exists"),this.button=r,Object.defineProperty(r,"component",{value:this,configurable:!0});const o=this.getElm("trigger");(0,g.assert)(o,"Element trigger should exists"),this.trigger=o,o.remove(),e.e.on([this.button,this.trigger],"mousedown",e=>e.preventDefault()),this.onAction(this.onClick),this.hookStatus(n.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),t.mods&&Object.keys(t.mods).forEach(e=>{t.mods&&this.setMod(e,t.mods[e])})}};I([o.cacheHTML],T.prototype,"createContainer",null),I([(0,a.watch)("state.hasTrigger",{immediately:!1})],T.prototype,"onChangeHasTrigger",null),I([(0,a.watch)("trigger:click")],T.prototype,"onTriggerClick",null),I([r.autobind],T.prototype,"onOutsideClick",null),I([r.autobind],T.prototype,"__closePopup",null),T=I([s.component],T)},80319:function(e,t,i){i.d(t,{ToolbarContent:function(){return a}});var n=i(65478),r=i(22732),o=i(21537),s=i(62843);let a=class e extends s.UIButton{className(){return"ToolbarContent"}update(){let e=this.control.getContent(this.j,this);((0,o.isString)(e)||e.parentNode!==this.container)&&(r.Dom.detach(this.container),this.container.appendChild((0,o.isString)(e)?this.j.create.fromHTML(e):e)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(e,t,i=null){super(e),this.control=t,this.target=i,this.container.classList.add(`${this.componentName}_${this.clearName(t.name)}`),(0,o.attr)(this.container,"role","content")}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},36646:function(e,t,i){i.d(t,{ToolbarButton:function(){return n.ToolbarButton},ToolbarContent:function(){return r.ToolbarContent},ToolbarSelect:function(){return o.ToolbarSelect}});var n=i(78644),r=i(80319),o=i(83111)},83111:function(e,t,i){i.d(t,{ToolbarSelect:function(){return a}});var n=i(65478),r=i(72430),o=i(70799),s=i(78644);let a=class e extends s.ToolbarButton{className(){return"ToolbarSelect"}update(){var e,t,i;super.update(),this.state.icon.name="";let{list:n,data:s}=this.control;if(n){let a=this.state.value||(s&&(0,o.isString)(s.currentValue)?s.currentValue:void 0);a||(a=Object.keys(n)[0]);let l=((0,r.isPlainObject)(n)&&n[a.toString()]||a).toString();this.state.text=null!=(i=null==(t=(e=this.control).textTemplate)?void 0:t.call(e,this.jodit,l))?i:l}}};a=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([n.component],a)},11676:function(e,t,i){i.d(t,{ToolbarCollection:function(){return h}});var n=i(65478),r=i(45219),o=i(87325),s=i(97357),a=i(37133),l=i(82760),c=i(24536),u=i(21491),d=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};let h=class e extends c.UIList{className(){return"ToolbarCollection"}getRole(){return"toolbar"}get firstButton(){let[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,u.makeButton)(this.j,e,t)}makeSelect(e,t=null){return(0,u.makeSelect)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,l.error)("The method is not implemented for this class.")}build(e,t=null){let i=this.j.e.fire("beforeToolbarBuild",e);return i&&(e=i),super.build(e,t),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(e){super(e),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur"}};d([(0,a.watch)(":afterInit"),r.autobind],h.prototype,"__immediateUpdate",null),d([(0,n.debounce)(e=>e.j.defaultTimeout,!0)],h.prototype,"update",null),d([(0,s.hook)("ready")],h.prototype,"__initEvents",null),h=d([o.component],h)},37426:function(e,t,i){i.d(t,{ToolbarEditorCollection:function(){return l}});var n=i(82758),r=i(65478),o=i(22732),s=i(21537),a=i(11676);let l=class e extends a.ToolbarCollection{className(){return"ToolbarEditorCollection"}shouldBeDisabled(e){let t=super.shouldBeDisabled(e);if(void 0!==t)return t;let i=void 0===e.control.mode?n.MODE_WYSIWYG:e.control.mode;return i!==n.MODE_SPLIT&&i!==this.j.getRealMode()}shouldBeActive(e){let t,i=super.shouldBeActive(e);if(void 0!==i)return i;let n=this.j.selection?this.j.s.current():null;if(!n)return!1;if(e.control.tags){let i=e.control.tags;if(t=n,o.Dom.up(t,e=>{if(e&&-1!==i.indexOf(e.nodeName.toLowerCase()))return!0},this.j.editor))return!0}if(e.control.css){let i=e.control.css;if(t=n,o.Dom.up(t,e=>{if(e&&!o.Dom.isText(e)&&!o.Dom.isComment(e))return this.checkActiveStatus(i,e)},this.j.editor))return!0}return!1}getTarget(e){return e.target||this.j.s.current()||null}prependInvisibleInput(e){let t=this.j.create.element("input",{name:"jodit-toolbar-focus-helper_"+this.j.id,tabIndex:-1,disabled:!0,style:"width: 0; height:0; position: absolute; visibility: hidden;"});o.Dom.appendChildFirst(e,t)}showInline(e){this.jodit.e.fire("showInlineToolbar",e)}hide(){this.jodit.e.fire("hidePopup"),super.hide(),this.jodit.e.fire("toggleToolbar")}show(){super.show(),this.jodit.e.fire("toggleToolbar")}constructor(e){super(e),this.checkActiveStatus=(e,t)=>{let i=0,n=0;return Object.keys(e).forEach(r=>{let o=e[r];(0,s.isFunction)(o)?o(this.j,(0,s.css)(t,r).toString())&&(i+=1):-1!==o.indexOf((0,s.css)(t,r).toString())&&(i+=1),n+=1}),n===i},this.prependInvisibleInput(this.container)}};l=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}([r.component],l)},21491:function(e,t,i){i.d(t,{makeButton:function(){return a},makeCollection:function(){return s},makeSelect:function(){return l}});var n=i(87325),r=i(23282),o=i(19306);function s(e,t){let i=(0,n.getComponentClass)("ToolbarCollection"),r=(0,n.getComponentClass)("ToolbarEditorCollection"),s=(0,o.isJoditObject)(e)?new r(e):new i(e);return e.o.textIcons&&s.container.classList.add("jodit_text_icons"),t&&(s.parentElement=t),e.o.toolbarButtonSize&&(s.buttonSize=e.o.toolbarButtonSize),s}function a(e,t,i=null){if((0,r.isFunction)(t.getContent))return new((0,n.getComponentClass)("ToolbarContent"))(e,t,i);let o=new((0,n.getComponentClass)("ToolbarButton"))(e,t,i);return o.state.tabIndex=e.o.allowTabNavigation?0:-1,o}function l(e,t,i=null){return new((0,n.getComponentClass)("ToolbarSelect"))(e,t,i)}},80536:function(e,t,i){var n=i(68345),r=i(19306),o=i(6441);o.Config.prototype.enableDragAndDropFileToEditor=!0,o.Config.prototype.uploader={url:"",insertImageAsBase64URI:!1,imagesExtensions:["jpg","png","jpeg","gif"],headers:null,data:null,filesVariableName(e){return`files[${e}]`},withCredentials:!1,pathVariableName:"path",format:"json",method:"POST",prepareData(e){return e},isSuccess(e){return e.success},getMessage(e){return void 0!==e.data.messages&&(0,n.isArray)(e.data.messages)?e.data.messages.join(" "):""},processFileName(e,t,i){return[e,t,i]},process(e){return e.data},error(e){this.j.message.error(e.message,4e3)},getDisplayName(e,t){return e+t},defaultHandlerSuccess(e){let t=this.j||this;(0,r.isJoditObject)(t)&&e.files&&e.files.length&&e.files.forEach((i,n)=>{let[r,o]=e.isImages&&e.isImages[n]?["img","src"]:["a","href"],s=t.createInside.element(r);s.setAttribute(o,e.baseurl+i),"a"===r&&(s.textContent=t.o.uploader.getDisplayName.call(this,e.baseurl,i)),"img"===r?t.s.insertImage(s,null,t.o.imageDefaultWidth):t.s.insertNode(s)})},defaultHandlerError(e){this.j.message.error(e.message)},contentType(e){return(void 0===this.ow.FormData||"string"==typeof e)&&"application/x-www-form-urlencoded; charset=UTF-8"}}},83987:function(e,t,i){i.d(t,{buildData:function(){return r}});var n=i(21537);function r(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);let i=e.ow.FormData;if(void 0!==i){if(t instanceof i||(0,n.isString)(t))return t;let e=new i;return Object.keys(t).forEach(i=>{e.append(i,t[i])}),e}return t}},74569:function(e,t,i){i.d(t,{dataURItoBlob:function(){return n}});function n(e){let t=atob(e.split(",")[1]),i=e.split(",")[0].split(":")[1].split(";")[0],n=new Uint8Array(new ArrayBuffer(t.length));for(let e=0;e<t.length;e+=1)n[e]=t.charCodeAt(e);return new Blob([n.buffer],{type:i})}},94122:function(e,t,i){i.d(t,{ajaxInstances:function(){return r.ajaxInstances},hasFiles:function(){return s},hasItems:function(){return a},processOldBrowserDrag:function(){return n.processOldBrowserDrag},send:function(){return r.send},sendFiles:function(){return o.sendFiles}}),i(83987);var n=i(50373),r=i(71686),o=i(80020);function s(e){return!!(e&&e.files&&e.files.length>0)}function a(e){return!!(e&&e.items&&e.items.length>0)}},50373:function(e,t,i){i.d(t,{processOldBrowserDrag:function(){return c}});var n=i(82758),r=i(22732),o=i(580),s=i(21537),a=i(74569),l=i(80020);function c(e,t,i,c,u){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){let t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,o.getContainer)(e.j,e.constructor).appendChild(t);let n=(0,s.isJoditObject)(e.j)?e.j.s.save():null;t.focus(),e.j.async.setTimeout(()=>{let o=t.firstChild;if(r.Dom.safeRemove(t),o&&o.hasAttribute("src")){let t=(0,s.attr)(o,"src")||"";n&&(0,s.isJoditObject)(e.j)&&e.j.s.restore(),(0,l.sendFiles)(e,[(0,a.dataURItoBlob)(t)],i,c).finally(u)}},e.j.defaultTimeout)}}},80020:function(e,t,i){i.d(t,{sendFiles:function(){return o}});var n=i(21537),r=i(71686);function o(e,t,i,o,s){if(!t)return Promise.reject((0,n.error)("Need files"));let{o:a}=e,l=(0,n.toArray)(t);if(!l.length)return Promise.reject((0,n.error)("Need files"));let c=[];if(a.insertImageAsBase64URI&&function(e,t,i,r,o,s){let a,l;for(l=0;l<e.length;l+=1)if((a=e[l])&&a.type){let c=a.type.match(/\/([a-z0-9]+)/i),u=c[1]?c[1].toLowerCase():"";if(!t.includes(u))continue;let d=new FileReader;i.push(r.j.async.promise((e,t)=>{d.onerror=t,d.onloadend=()=>{let t={baseurl:"",files:[d.result],isImages:[!0]};((0,n.isFunction)(o)?o:s).call(r,t),e(t)},d.readAsDataURL(a)})),e[l]=null}}(l,a.imagesExtensions,c,e,i,a.defaultHandlerSuccess),(l=l.filter(e=>e)).length){let t,u=new FormData;u.append(a.pathVariableName,e.path),u.append("source",e.source);for(let i=0;i<l.length;i+=1)if(t=l[i]){let n=/\.\w+$/.test(t.name),r=t.type.match(/\/([a-z0-9]+)/i),o=r&&r[1]?r[1].toLowerCase():"",s=l[i].name||Math.random().toString().replace(".","");if(!n&&o){let e=o;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+o)}let[c,d,h]=a.processFileName.call(e,a.filesVariableName(i),l[i],s);u.append(c,d,h)}s&&s(u),a.data&&(0,n.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{u.append(e,a.data[e])}),a.prepareData.call(e,u),c.push((0,r.send)(e,u).then(t=>(a.isSuccess.call(e,t)?((0,n.isFunction)(i)?i:a.defaultHandlerSuccess).call(e,a.process.call(e,t)):((0,n.isFunction)(o)?o:a.defaultHandlerError).call(e,(0,n.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},71686:function(e,t,i){i.d(t,{ajaxInstances:function(){return s},send:function(){return a}});var n=i(21537),r=i(41601),o=i(83987);let s=new WeakMap;function a(e,t){let i=(0,o.buildData)(e,t),a=t=>{e.j.progressbar.show().progress(t),t>=100&&e.j.progressbar.hide()},l=(t,i)=>{let o=new r.Ajax({xhr:()=>{let t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(i(10),t.upload.addEventListener("progress",e=>{if(e.lengthComputable){let t=e.loaded/e.total;i(t*=100)}},!1)):i(100),t},method:e.o.method||"POST",data:t,url:(0,n.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1}),a=s.get(e);return a||(a=new Set,s.set(e,a)),a.add(o),e.j.e.one("beforeDestruct",o.destruct),o.send().then(e=>e.json()).catch(e=>({success:!1,data:{messages:[e]}})).finally(()=>{o.destruct(),null==a||a.delete(o)})};return((0,n.isFunction)(e.o.customUploadFunction)&&(l=e.o.customUploadFunction),(0,n.isPromise)(i))?i.then(e=>l(e,a)).catch(t=>{e.o.error.call(e,t)}):l(i,a)}},57380:function(e,t,i){i.d(t,{Uploader:function(){return l}});var n=i(91907),r=i(82758),o=i(21537),s=i(6441),a=i(94122);i(80536);class l extends n.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,i){let n=()=>{e.classList.remove("jodit_drag_hover")},o=this,s=e=>{let s,l,c,u=e.clipboardData,d=e=>{l&&(e.append("extension",c),e.append("mimetype",l.type))};if(!r.IS_IE&&(0,a.hasFiles)(u))return(0,a.sendFiles)(o,u.files,t,i).finally(n),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,a.processOldBrowserDrag)(o,u,t,i,n);if((0,a.hasItems)(u)){let{items:r}=u;for(s=0;s<r.length;s+=1)if("file"===r[s].kind&&"image/png"===r[s].type){if(l=r[s].getAsFile()){let e=l.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,a.sendFiles)(o,[l],t,i,d).finally(n)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s),this.attachEvents(e,t,i,n)}attachEvents(e,t,i,n){let r=this;r.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,a.hasFiles)(t.dataTransfer)||(0,a.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,a.hasFiles)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",o=>{e.classList.remove("jodit_drag_hover"),(0,a.hasFiles)(o.dataTransfer)&&(o.preventDefault(),o.stopImmediatePropagation(),(0,a.sendFiles)(r,o.dataTransfer.files,t,i).finally(n))});let o=e.querySelector("input[type=file]");o&&r.j.e.on(o,"change",()=>{(0,a.sendFiles)(r,o.files,t,i).then(()=>{o.value="",/safari/i.test(navigator.userAgent)||(o.type="",o.type="file")}).finally(n)})}uploadRemoteImage(e,t,i){let n=this,{o:r}=n,s=(0,o.isFunction)(i)?i:r.defaultHandlerError;(0,a.send)(n,{action:"fileUploadRemote",url:e}).then(e=>{r.isSuccess.call(n,e)?((0,o.isFunction)(t)?t:r.defaultHandlerSuccess).call(n,r.process.call(n,e)):s.call(n,(0,o.error)(r.getMessage.call(n,e)))}).catch(e=>s.call(n,e))}upload(e){return this.async.promise((t,i)=>{(0,a.sendFiles)(this,e,t,i)})}destruct(){this.setStatus(n.STATUSES.beforeDestruct);let e=a.ajaxInstances.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch(e){}}),e.clear()),super.destruct()}constructor(e,t){super(e),this.path="",this.source="default",this.options=(0,o.ConfigProto)(t||{},(0,o.ConfigProto)(s.Config.defaultOptions.uploader,(0,o.isJoditObject)(e)?e.o.uploader:{}))}}},22859:function(e,t,i){i.d(t,{ColorPickerWidget:function(){return a}});var n=i(22732),r=i(21537),o=i(67510),s=i(37068);o.Icon.set("palette",s.default);let a=(e,t,i)=>{let s="jodit-color-picker",a=(0,r.normalizeColor)(i),l=e.c.div(s),c=e.o.textIcons?`<span>${e.i18n("palette")}</span>`:o.Icon.get("palette"),u=e=>{let t=[];return(0,r.isPlainObject)(e)?Object.keys(e).forEach(i=>{t.push(`<div class="${s}__group ${s}__group-${i}">`),t.push(u(e[i])),t.push("</div>")}):(0,r.isArray)(e)&&e.forEach(e=>{t.push(`<span class='${s}__color-item ${a===e?s+"__color-item_active_true":""}' title="${e}" style="background-color:${e}" data-color="${e}"></span>`)}),t.join("")};l.appendChild(e.c.fromHTML(`<div class="${s}__groups">${u(e.o.colors)}</div>`)),l.appendChild(e.c.fromHTML(`<div data-ref="extra" class="${s}__extra"></div>`));let{extra:d}=(0,r.refs)(l);return e.o.showBrowserColorPicker&&(0,r.hasBrowserColorPicker)()&&(d.appendChild(e.c.fromHTML(`<div class="${s}__native">${c}<input type="color" value="#ffffff"/></div>`)),e.e.on(l,"change",e=>{e.stopPropagation();let i=e.target;if(!i||!i.tagName||!n.Dom.isTag(i,"input"))return;let o=i.value||"";(0,r.isFunction)(t)&&t(o),e.preventDefault()})),e.e.on(l,"mousedown touchend",i=>{i.stopPropagation(),i.preventDefault();let o=i.target;if((!o||!o.tagName||n.Dom.isTag(o,"svg")||n.Dom.isTag(o,"path"))&&o.parentNode&&(o=n.Dom.closest(o.parentNode,"span",e.editor)),!n.Dom.isTag(o,"span")||!o.classList.contains(s+"__color-item"))return;let a=(0,r.attr)(o,"-color")||"";t&&(0,r.isFunction)(t)&&t(a)}),e.e.fire("afterGenerateColorPicker",l,d,t,a),l}},37068:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' x="0px" y="0px" viewBox="0 0 459 459"> <g> <path d="M229.5,0C102,0,0,102,0,229.5S102,459,229.5,459c20.4,0,38.25-17.85,38.25-38.25c0-10.2-2.55-17.85-10.2-25.5 c-5.1-7.65-10.2-15.3-10.2-25.5c0-20.4,17.851-38.25,38.25-38.25h45.9c71.4,0,127.5-56.1,127.5-127.5C459,91.8,357,0,229.5,0z M89.25,229.5c-20.4,0-38.25-17.85-38.25-38.25S68.85,153,89.25,153s38.25,17.85,38.25,38.25S109.65,229.5,89.25,229.5z M165.75,127.5c-20.4,0-38.25-17.85-38.25-38.25S145.35,51,165.75,51S204,68.85,204,89.25S186.15,127.5,165.75,127.5z M293.25,127.5c-20.4,0-38.25-17.85-38.25-38.25S272.85,51,293.25,51s38.25,17.85,38.25,38.25S313.65,127.5,293.25,127.5z M369.75,229.5c-20.4,0-38.25-17.85-38.25-38.25S349.35,153,369.75,153S408,170.85,408,191.25S390.15,229.5,369.75,229.5z" /> </g> </svg> '},34793:function(e,t,i){i.d(t,{FileSelectorWidget:function(){return a}});var n=i(2748),r=i(21537),o=i(67510),s=i(38927);let a=(e,t,i,a,c=!0)=>{let u,d=[],h=e.o.uploader;if(t.upload&&(h.url||h.insertImageAsBase64URI||h.customUploadFunction)){let i=e.c.fromHTML(`<div class="jodit-drag-and-drop__file-box"><strong>${e.i18n(c?"Drop image":"Drop file")}</strong><span><br>${e.i18n("or click")}</span><input type="file" accept="${c?"image/*":"*"}" tabindex="-1" dir="auto" multiple=""/></div>`);e.uploader.bind(i,i=>{let n=(0,r.isFunction)(t.upload)?t.upload:h.defaultHandlerSuccess;(0,r.isFunction)(n)&&n.call(e,i),e.e.fire("closeAllPopups")},t=>{e.message.error(t.message),e.e.fire("closeAllPopups")}),d.push({icon:"upload",name:"Upload",content:i})}if(t.filebrowser&&(e.o.filebrowser.ajax.url||e.o.filebrowser.items.url)&&d.push({icon:"folder",name:"Browse",content:()=>{a&&a(),t.filebrowser&&e.filebrowser.open(t.filebrowser,c)}}),t.url){let s=new o.UIButton(e,{type:"submit",variant:"primary",text:"Insert"}),a=new o.UIForm(e,[new o.UIInput(e,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new o.UIInput(e,{name:"text",label:"Alternative text"}),new o.UIBlock(e,[s])]);u=null,i&&!n.Dom.isText(i)&&!n.Dom.isComment(i)&&(n.Dom.isTag(i,"img")||(0,r.$$)("img",i).length)&&(u="IMG"===i.tagName?i:(0,r.$$)("img",i)[0],l(a.container,"input[name=url]",(0,r.attr)(u,"src")),l(a.container,"input[name=text]",(0,r.attr)(u,"alt")),s.state.text="Update"),i&&n.Dom.isTag(i,"a")&&(l(a.container,"input[name=url]",(0,r.attr)(i,"href")),l(a.container,"input[name=text]",(0,r.attr)(i,"title")),s.state.text="Update"),a.onSubmit(i=>{(0,r.isFunction)(t.url)&&t.url.call(e,i.url,i.text)}),d.push({icon:"link",name:"URL",content:a.container})}return(0,s.TabsWidget)(e,d)};function l(e,t,i){let n=e.querySelector(t);return n?(i&&(n.value=i),n.value):""}},92762:function(e,t,i){i.d(t,{ColorPickerWidget:function(){return n.ColorPickerWidget},FileSelectorWidget:function(){return r.FileSelectorWidget},TabsWidget:function(){return o.TabsWidget}});var n=i(22859),r=i(34793),o=i(38927)},38927:function(e,t,i){i.d(t,{TabsWidget:function(){return l}});var n=i(91907),r=i(2748),o=i(23282),s=i(29960),a=i(67510);let l=(e,t,i)=>{let l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons");(0,s.attr)(u,{role:"tablist","aria-orientation":"horizontal"});let d={},h=[],f="";l.appendChild(u),l.appendChild(c);let p=e=>{d[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(d).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:m,content:g})=>{let v=e.c.div("jodit-tab");(0,s.attr)(v,{role:"tabpanel"});let b=(0,a.Button)(e,l||m,m);b.state.role="tab",e.e.on(b.container,"pointerdown",e=>e.preventDefault()),f||(f=m),u.appendChild(b.container),h.push(b),b.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,o.isFunction)(g)?v.classList.add("jodit-tab_empty"):v.appendChild(n.Component.isInstanceOf(g,a.UIElement)?g.container:g),c.appendChild(v),b.onAction(()=>(p(m),(0,o.isFunction)(g)&&!r.Dom.isElement(g)&&g.call(e),i&&(i.activeTab=m),!1)),d[m]={button:b,tab:v}}),Object.values(d).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),p(i&&i.activeTab&&d[i.activeTab]?i.activeTab:f),i){let e=i.activeTab;Object.defineProperty(i,"activeTab",{configurable:!0,enumerable:!1,get(){return e},set(t){e=t,p(t)}})}return l}},73391:function(e,t,i){var n=i(82758),r=i(580),o=i(21537),s=i(12153),a=i(6441),l=i(49399);a.Config.prototype.controls.about={exec:e=>{let t=e.dlg({closeOnClickOverlay:!0}),i=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(i("About Jodit")).setContent(`<div class="jodit-about">
|
|
109
109
|
<div>${i("Jodit Editor")} v.${e.getVersion()}</div>
|
|
110
110
|
<div>${i("License: %s",!(0,o.isLicense)(e.o.license)?e.o.license||"MIT":(0,o.normalizeLicense)(e.o.license))}</div>
|
|
111
111
|
<div>
|
|
@@ -251,4 +251,4 @@
|
|
|
251
251
|
data-index-j="${n}"
|
|
252
252
|
role="option"
|
|
253
253
|
tabindex="-1"
|
|
254
|
-
>${e.o.specialCharacters[t]}</a>`);a.push(o),r.appendChild(o),i.appendChild(r)}o.appendChild(i)}let l=this;return e.e.on(a,"focus",function(){i.innerHTML=this.innerHTML}).on(a,"mousedown",function(t){r.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),(null==t?void 0:t.shiftKey)||e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())}).on(a,"mouseenter",function(){r.Dom.isTag(this,"a")&&this.focus()}).on(a,"keydown",t=>{let i=t.target;if(r.Dom.isTag(i,"a")){let r,o=parseInt((0,s.attr)(i,"-index")||"0",10),c=parseInt((0,s.attr)(i,"data-index-j")||"0",10);switch(t.key){case n.KEY_UP:case n.KEY_DOWN:void 0===a[r=t.key===n.KEY_UP?o-l.__countInRow:o+l.__countInRow]&&(r=t.key===n.KEY_UP?Math.floor(a.length/l.__countInRow)*l.__countInRow+c:c)>a.length-1&&(r-=l.__countInRow),a[r]&&a[r].focus();break;case n.KEY_RIGHT:case n.KEY_LEFT:void 0===a[r=t.key===n.KEY_LEFT?o-1:o+1]&&(r=t.key===n.KEY_LEFT?a.length-1:0),a[r]&&a[r].focus();break;case n.KEY_ENTER:e.e.fire(i,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}}),t})}beforeDestruct(e){e.e.off("generateSpecialCharactersTable.symbols")}constructor(e){super(e),this.buttons=[{name:"symbols",group:"insert"}],this.__countInRow=17,(0,o.extendLang)(l)}}o.pluginSystem.add("symbols",c)},5119:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg> '},47686:function(e,t,i){i.d(t,{onTabInsideLi:function(){return n.onTabInsideLi}});var n=i(26658)},26658:function(e,t,i){i.d(t,{onTabInsideLi:function(){return o}});var n=i(2748),r=i(38837);function o(e,t=!1){let i,s,a,l;if(!e.o.tab.tabInsideLiInsertNewList)return!1;let[c,u]=(i=e.createInside.fake(),s=e.createInside.fake(),(a=e.s.range.cloneRange()).collapse(!0),a.insertNode(i),(l=e.s.range.cloneRange()).collapse(!1),l.insertNode(s),[i,s]);try{let i,o,s,a,l,u=!!(i=n.Dom.closest(c,"li",e.editor))&&(!!t||!!n.Dom.isLeaf(i.previousElementSibling))&&(!t||!!n.Dom.closest(i,"li",e.editor))&&i;if(!u||!(o=n.Dom.closest(c,"li",e.editor))||o!==u&&!u.contains(o))return!1;let d=n.Dom.closest(u,["ol","ul"],e.editor);if(!d||t&&!n.Dom.closest(d,"li",e.editor))return!1;return t?function(e,t,i){let o=n.Dom.closest(t,"li",e.editor);(0,r.assert)(o,"tab parent li is null");let s=Array.from(t.children).filter(e=>n.Dom.isLeaf(e));n.Dom.after(o,i);let a=s.indexOf(i);if((0===a||1===s.length)&&n.Dom.safeRemove(t),a!==s.length-1){let e=t.cloneNode();n.Dom.append(i,e);for(let t=a+1;t<s.length;t+=1)n.Dom.append(e,s[t])}}(e,d,u):(s=u.previousElementSibling,(0,r.assert)(s,"tab previousElementSibling is null"),a=s.lastElementChild,(l=n.Dom.isTag(a,d.tagName)?a:e.createInside.element(d.tagName,Array.from(d.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}))).appendChild(u),a!==l&&s.appendChild(l)),!0}finally{let t=e.s.createRange();t.setStartAfter(c),t.setEndBefore(u),e.s.selectRange(t),n.Dom.safeRemove(c),n.Dom.safeRemove(u)}}},66288:function(e,t,i){i(6441).Config.prototype.tab={tabInsideLiInsertNewList:!0}},767:function(e,t,i){var n=i(82758),r=i(65478),o=i(580),s=i(50911);i(66288);var a=i(47686),l=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class c extends s.Plugin{afterInit(e){}__onTab(e){if(e.key===n.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){let t=(0,a.onTabInsideLi)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}l([(0,r.watch)(":keydown.tab")],c.prototype,"__onTab",null),l([(0,r.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),o.pluginSystem.add("tab",c)},72439:function(e,t,i){var n=i(82758),r=i(2748),o=i(580),s=i(21537),a=i(76014);let l=new Set([n.KEY_TAB,n.KEY_LEFT,n.KEY_RIGHT,n.KEY_UP,n.KEY_DOWN]);o.pluginSystem.add("tableKeyboardNavigation",function(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",t=>{let{key:i}=t,o=function(e,t){if(!l.has(t))return;let i=e.s.current();if(!i)return;let o=r.Dom.up(i,r.Dom.isCell,e.editor);if(!o)return;let{range:a}=e.s;if(t!==n.KEY_TAB&&i!==o){let e=t===n.KEY_RIGHT||t===n.KEY_DOWN,l=(0,s.call)(e?r.Dom.next:r.Dom.prev,i,e=>t===n.KEY_UP||t===n.KEY_DOWN?r.Dom.isTag(e,"br"):!!e,o);if(!e&&(l||t!==n.KEY_UP&&r.Dom.isText(i)&&0!==a.startOffset)||e&&(l||t!==n.KEY_DOWN&&r.Dom.isText(i)&&i.nodeValue&&a.startOffset!==i.nodeValue.length))return}return o}(e,i);if(!o)return;let c=e.getInstance(a.Table,e.o),u=r.Dom.closest(o,"table",e.editor),d=null,h=i===n.KEY_LEFT||t.shiftKey,f=()=>(0,s.call)(h?r.Dom.prev:r.Dom.next,o,r.Dom.isCell,u);switch(i){case n.KEY_TAB:case n.KEY_LEFT:(d=f())||(c.appendRow(u,!!h&&u.querySelector("tr"),!h),d=f());break;case n.KEY_UP:case n.KEY_DOWN:{let e=c.formalMatrix(u),[t,r]=c.formalCoordinate(u,o);i===n.KEY_UP?void 0!==e[t-1]&&(d=e[t-1][r]):void 0!==e[t+1]&&(d=e[t+1][r])}}if(d){if(e.e.fire("hidePopup hideResizer"),d.firstChild)i===n.KEY_TAB?e.s.select(d,!0):e.s.setCursorIn(d,i===n.KEY_RIGHT||i===n.KEY_DOWN);else{let t=e.createInside.element("br");d.appendChild(t),e.s.setCursorBefore(t)}return e.synchronizeValues(),!1}})})},40329:function(e,t,i){var n=i(22732),r=i(21537),o=i(43555),s=i(12153),a=i(6441),l=i(6091);a.Config.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",l.default),a.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:(e,t,i,s)=>{e.editor.normalize();let a=e.history.snapshot.make(),l=s.control,c=l.data&&l.data.rows?l.data.rows:10,u=l.data&&l.data.cols?l.data.cols:10,d=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";let t=[];if(l.data){let e=l.data.classList;Object.keys(e).forEach(i=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${i}" type="checkbox"/>${e[i]}</label>`)})}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> × <span>1</span></label></form>'),h=d.querySelectorAll("span")[0],f=d.querySelectorAll("span")[1],p=d.querySelector(".jodit-form__container"),m=d.querySelector(".jodit-form__options"),g=[],v=c*u;for(let t=0;t<v;t+=1)g[t]||g.push(e.c.element("span",{dataIndex:t}));if(e.e.on(p,"mousemove",(e,t)=>{let i=e.target;if(!n.Dom.isTag(i,"span"))return;let r=void 0===t||isNaN(t)?parseInt((0,o.attr)(i,"-index")||"0",10):t||0,s=Math.ceil((r+1)/u),a=r%u+1;for(let e=0;e<g.length;e+=1)a>=e%u+1&&s>=Math.ceil((e+1)/u)?g[e].className="jodit_hovered":g[e].className="";f.textContent=a.toString(),h.textContent=s.toString()}).on(p,"touchstart mousedown",t=>{let s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!n.Dom.isTag(s,"span"))return;let l=parseInt((0,o.attr)(s,"-index")||"0",10),c=Math.ceil((l+1)/u),d=l%u+1,h=e.createInside,f=h.element("tbody"),p=h.element("table");p.appendChild(f);let g=null,v,b;for(let e=1;c>=e;e+=1){v=h.element("tr");for(let e=1;e<=d;e+=1)b=h.element("td"),g||(g=b),(0,r.css)(b,"width",(100/d).toFixed(4)+"%"),b.appendChild(h.element("br")),v.appendChild(h.text("\n")),v.appendChild(h.text(" ")),v.appendChild(b);f.appendChild(h.text("\n")),f.appendChild(v)}(0,r.$$)("input[type=checkbox]:checked",m).forEach(e=>{e.value.split(/[\s]+/).forEach(e=>{p.classList.add(e)})}),e.s.restore(),e.s.removeMarkers(),e.editor.normalize(),e.history.snapshot.restore(a);let y=n.Dom.furthest(e.s.current(),n.Dom.isBlock,e.editor);if(y&&n.Dom.isEmpty(y))n.Dom.replace(y,p,void 0,!1,!0);else if(y){let t=h.text("\n");if(e.o.table.splitBlockOnInsertTable){let i=e.s.range;i.collapse(!1),i.insertNode(t),i.collapse(!1),e.s.selectRange(i);let r=e.s.splitSelection(y,t);r?n.Dom.after(r,p):n.Dom.after(y,p)}else n.Dom.after(y,t),n.Dom.after(t,p)}else e.s.insertNode(p,!1);g&&(e.s.setCursorIn(g),(0,r.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),i()}),s&&s.parentElement){for(let t=0;t<c;t+=1){let i=e.c.div();for(let e=0;e<u;e+=1)i.appendChild(g[t*u+e]);p.appendChild(i)}g[0]&&(g[0].className="hovered")}return d},tooltip:"Insert table"}},43003:function(e,t,i){var n=i(580);i(40329),n.pluginSystem.add("table",function(e){e.registerButton({name:"table",group:"insert"})})},6091:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg> '},14984:function(e,t,i){var n=i(21537),r=i(62843),o=i(2525),s=i(12153),a=i(6441),l=i(92762),c=i(37775);a.Config.prototype.video={parseUrlToVideoEmbed:n.convertMediaUrlToVideoEmbed,defaultWidth:400,defaultHeight:345},s.Icon.set("video",c.default),a.Config.prototype.controls.video={popup:(e,t,i)=>{let s=new o.UIForm(e,[new o.UIBlock(e,[new o.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new o.UIBlock(e,[(0,r.Button)(e,"","Insert","primary").onAction(()=>s.submit())])]),a=new o.UIForm(e,[new o.UIBlock(e,[new o.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new o.UIBlock(e,[(0,r.Button)(e,"","Insert","primary").onAction(()=>a.submit())])]),c=[],u=t=>{e.s.restore(),e.s.insertHTML(t),i()};return e.s.save(),c.push({icon:"link",name:"Link",content:s.container},{icon:"source",name:"Code",content:a.container}),s.onSubmit(t=>{var i,r,o,s;u((0,n.call)(null!=(r=null==(i=e.o.video)?void 0:i.parseUrlToVideoEmbed)?r:n.convertMediaUrlToVideoEmbed,t.url,{width:null==(o=e.o.video)?void 0:o.defaultWidth,height:null==(s=e.o.video)?void 0:s.defaultHeight}))}),a.onSubmit(e=>{u(e.code)}),(0,l.TabsWidget)(e,c)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},26551:function(e,t,i){var n=i(580);i(14984),n.pluginSystem.add("video",function(e){e.registerButton({name:"video",group:"media"})})},37775:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg> '},96967:function(e,t,i){i(6441).Config.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},72253:function(e,t,i){var n=i(65478),r=i(22732),o=i(580),s=i(70799),a=i(50911);i(96967);var l=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class c extends a.Plugin{afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,i=!1;for(;t;){if(t=function(e,t){let i=e,n=e;do if(r.Dom.isElement(n)&&r.Dom.isLeaf(n)&&!r.Dom.isList(n.parentElement)){let e=r.Dom.findNotEmptySibling(n,!1);r.Dom.isTag(i,"ul")?i.appendChild(n):i=r.Dom.wrap(n,"ul",t.createInside),n=e}else break;while(n);return i}(t,e),this.isSuitableStart(t)){i||e.s.save(),i=!0;let n=e.createInside.element(e.o.enter);for(r.Dom.before(t,n);t&&this.isSuitable(t);){let e=t.nextSibling;n.appendChild(t),t=e}n.normalize(),t=n}t=t&&t.nextSibling}i&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}preprocessInput(){let{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;let i=e.createInside.element(e.o.enter),n=e.createInside.element("br");r.Dom.append(i,n),r.Dom.append(e.editor,i),e.s.isFocused()&&e.s.setCursorBefore(n),e.e.fire("internalChange")}constructor(){super(...arguments),this.isSuitableStart=e=>{var t;return r.Dom.isText(e)&&(0,s.isString)(e.nodeValue)&&(/[^\s]/.test(e.nodeValue)||(null==(t=e.parentNode)?void 0:t.firstChild)===e&&this.isSuitable(e.nextSibling))||this.isNotWrapped(e)&&!r.Dom.isTemporary(e)},this.isSuitable=e=>r.Dom.isText(e)||this.isNotWrapped(e),this.isNotWrapped=e=>r.Dom.isElement(e)&&!(r.Dom.isBlock(e)||r.Dom.isTag(e,this.j.o.wrapNodes.exclude))}}l([n.autobind],c.prototype,"postProcessSetEditorValue",null),l([n.autobind],c.prototype,"preprocessInput",null),o.pluginSystem.add("wrapNodes",c)},86012:function(e,t,i){i(6441).Config.prototype.showXPathInStatusbar=!0},83671:function(e,t,i){var n=i(82758),r=i(22732),o=i(580),s=i(49055),a=i(29960),l=i(76078),c=i(50911),u=i(80870),d=i(21491);i(86012);class h extends c.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,a.attr)(this.container,"role","list");let e=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===n.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=n.INVISIBLE_SPACE),this.appendSelectAll()))};this.j.e.off(".xpath").on("pointerup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",e),e(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),r.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(e,t)=>(this.menu||(this.menu=new u.ContextMenu(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?r.Dom.safeRemove(e):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(e)}}]),!1),this.onSelectPath=(e,t)=>{this.j.s.focus();let i=(0,a.attr)(t.target,"-path")||"/";if("/"===i)return this.j.execCommand("selectall"),!1;try{let e=this.j.ed.evaluate(i,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(e)return this.j.s.select(e),!1}catch(e){}return this.j.s.select(e),!1},this.tpl=(e,t,i,n)=>{let r=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${n}" tabindex="-1"'>${(0,s.trim)(i)}</a></span>`),o=r.firstChild;return this.j.e.on(o,"click",this.onSelectPath.bind(this,e)).on(o,"contextmenu",this.onContext.bind(this,e)),r},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,d.makeButton)(this.j,function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({name:"selectall"},this.j.o.controls.selectall)),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;let e=this.j.s.current();if(this.container&&(this.container.innerHTML=n.INVISIBLE_SPACE),e){let t,i,n;r.Dom.up(e,e=>{e&&this.j.editor!==e&&!r.Dom.isText(e)&&!r.Dom.isComment(e)&&(t=e.nodeName.toLowerCase(),i=(0,l.getXPathByElement)(e,this.j.editor).replace(/^\//,""),n=this.tpl(e,i,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(n,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)}}o.pluginSystem.add("xpath",h)},78173:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg> '},16260:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg> '},37663:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg> '},51036:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg> '},31554:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg> '},18309:function(e,t){t.default='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg> '},99762:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg> '},7903:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg> '},58032:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg> '},52507:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg> '},43478:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg> '},60097:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg> '},49155:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg> '},17555:function(e,t,i){i.r(t),i.d(t,{angle_down:function(){return n.default},angle_left:function(){return r.default},angle_right:function(){return o.default},angle_up:function(){return s.default},bin:function(){return a.default},cancel:function(){return l.default},center:function(){return c.default},check:function(){return u.default},chevron:function(){return d.default},dots:function(){return h.default},eye:function(){return f.default},file:function(){return p.default},folder:function(){return m.default},info_circle:function(){return g.default},left:function(){return v.default},lock:function(){return b.default},ok:function(){return y.default},pencil:function(){return w.default},plus:function(){return S.default},resize_handler:function(){return _.default},right:function(){return C.default},save:function(){return k.default},settings:function(){return E.default},unlock:function(){return I.default},update:function(){return T.default},upload:function(){return D.default},valign:function(){return j.default}});var n=i(78173),r=i(16260),o=i(37663),s=i(51036),a=i(31554),l=i(18309),c=i(99762),u=i(7903),d=i(58032),h=i(52507),f=i(43478),p=i(60097),m=i(49155),g=i(17176),v=i(57882),b=i(58908),y=i(24829),w=i(4038),S=i(45575),_=i(84858),C=i(445),k=i(36886),E=i(10766),I=i(33651),T=i(20362),D=i(12202),j=i(80152)},17176:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg> '},57882:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg> '},58908:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg> '},24829:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg> '},4038:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg> '},45575:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg> '},84858:function(e,t){t.default='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg> '},445:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg> '},36886:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg> '},10766:function(e,t){t.default='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg> '},33651:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg> '},20362:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg> '},12202:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg> '},80152:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg> '},31356:function(e,t,i){i.d(t,{ListReconciler:function(){return n}});class n{static reconcile(e,t,i){let{getId:n,isEqual:r=(e,t)=>n(e)===n(t),preserveOrder:o=!0}=i,s=new Map,a=new Map;e.forEach((e,t)=>{let i=n(e);s.set(i,e),a.set(i,t)});let l=new Map,c=new Map;t.forEach((e,t)=>{let i=n(e);l.set(i,e),c.set(i,t)});let u=[],d=[],h=[],f=[];return t.forEach((e,t)=>{let i=n(e),l=s.get(i);l?!r(l,e)||o&&a.get(i)!==t?d.push({oldItem:l,newItem:e,index:o?t:a.get(i)}):f.push(l):u.push(e)}),e.forEach(e=>{let t=n(e);l.has(t)||h.push(e)}),{toCreate:u,toUpdate:d,toRemove:h,unchanged:f}}static applyResult(e,t,i={}){t.toRemove.forEach(t=>{let n=e.indexOf(t);if(-1!==n){var r;null==(r=i.onRemove)||r.call(i,t,n),e.splice(n,1)}}),t.toUpdate.forEach(({oldItem:t,newItem:n,index:r})=>{let o=e.indexOf(t);if(-1!==o){var s;null==(s=i.onUpdate)||s.call(i,t,n,r),e[o]=n}}),t.toCreate.forEach(t=>{var n;null==(n=i.onCreate)||n.call(i,t,e.length),e.push(t)})}}},2692:function(e,t,i){i.d(t,{JoditPro:function(){return l}});var n=i(77688),r=i(82758),o=i(63799),s=i(41180),a=i(86019);class l extends a.Jodit{static make(e,t){return new this(e,t)}beforeInitHook(){if(r.IS_PROD&&!r.IS_TEST&&this.o.loadExternalConfig)return(0,o.appendScriptAsync)(this,this.basePath+"config.js")}afterInitHook(){(0,n._)(function*(){if((yield this.e.fire("checkReserve",location.host))!=="normal"){if(this.isInDestruct)return;let e=this.c.div("",'Trial version. Buy <a href="https://xdsoft.net/jodit/pro/">Jodit Pro</a>');r.IS_TEST||r.IS_PROD,(0,s.css)(e,{position:"absolute",color:"red",right:10,bottom:10}),this.addDisclaimer(e)}}).call(this).catch(()=>null),super.afterInitHook()}getVersion(){return"PRO "+r.APP_VERSION}}},44864:function(e,t,i){i.r(t),i.d(t,{autocomplete:function(){return g}});var n=i(77688),r=i(82749),o=i(56075),s=i(31635);i(53586);var a=i(83725),l=i(64199),c=i(82758),u=i(65478),d=i(2748),h=i(21537),f=i(50911),p=i(56917),m=i(2692);class g extends f.Plugin{get list(){return new a.Autocomplete(this.jodit)}get popup(){let e=new p.Popup(this.jodit);return e.setMod("padding",!1),e.setContent(this.list.container),this.jodit.e.on(e,"beforeClose",()=>{this.list.currentSelection=0}),e}afterInit(e){e.e.on("select.autocomplete",t=>{let i=t.value;(0,h.isFunction)(t.insertValueRenderer)&&(i=t.insertValueRenderer(t)),d.Dom.isNode(i)||(i=e.createInside.fromHTML(i)),(0,l.replaceTextLeftOfCursorAfterSpace)(e.s.range,i),this.j.s.setCursorAfter(i),this.j.synchronizeValues(),this.popup.close()}).on("keydown.autocomplete",this.onKeyDown).on("keydown.autocomplete",this.onKeyControlDown,{top:!0}).on("beforeEnter.autocomplete",this.onEnter,{top:!0}).on("autocomplete.autocomplete",this.onAutoComplete).on("registerAutocompleteSource.autocomplete",this.registerAutocompleteSource).on("unregisterAutocompleteSource.autocomplete",this.unregisterAutocompleteSource)}registerAutocompleteSource(e){this.sources.push(e)}unregisterAutocompleteSource(e){let t=this.sources.indexOf(e);-1!==t&&this.sources.splice(t,1)}static isControlKey(e){return e===c.KEY_DOWN||e===c.KEY_UP||e===c.KEY_ENTER||e===c.KEY_TAB}onKeyDown(e){return(0,n._)(function*(){var t,i;if(e.key===c.KEY_ESC){this.popup.isOpened&&this.popup.close();return}let{s:n}=this.j;if(g.isControlKey(e.key)||!n.isInsideArea||!n.isCollapsed)return;let r=(null==(t=this.j.s.sel)?void 0:t.rangeCount)?null==(i=this.j.s.sel)?void 0:i.getRangeAt(0):null,o=r&&(0,l.getTextLeftOfCursor)(r).split(" ").pop();if(o&&(0,h.trim)(o).length){let e=yield this.onAutoComplete(o);if(e.length)return this.openPopup(e)}this.popup.isOpened&&this.popup.close()}).call(this)}onKeyControlDown(e){if(this.popup.isOpened&&g.isControlKey(e.key)){switch(e.key){case c.KEY_DOWN:this.list.selectNext();break;case c.KEY_UP:this.list.selectPrevious();break;case c.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(e.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}onAutoComplete(e){return(0,n._)(function*(){let t=[];return yield Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map(i=>(0,n._)(function*(){t.push(...yield this.resolveFeed(e,i))}).call(this))),t}).call(this)}resolveFeed(e,t,i){return(0,n._)(function*(){let n;if((0,h.isPromise)(t)&&(t=yield t),(0,h.isFunction)(t))n=yield t(e);else if((0,h.isArray)(t)){let i=t,{isMatchedQuery:r}=this.j.o.autocomplete;n=i.filter(t=>(0,h.isString)(t)?r(e,t):r(e,t.value)).map(e=>(0,h.isString)(e)?{title:e,value:e}:e)}else n=yield this.resolveFeed(e,t.feed,t);if(this.j.isDestructed)return[];if(n&&(0,h.isArray)(n)){let{itemRenderer:e,insertValueRenderer:t,maxItems:r}=this.j.o.autocomplete;return(n=n.map(n=>{var r,s;return(0,o._)({itemRenderer:null!=(r=null==i?void 0:i.itemRenderer)?r:e,insertValueRenderer:null!=(s=null==i?void 0:i.insertValueRenderer)?s:t},n)})).slice(0,r)}return[]}).call(this)}openPopup(e){this.list.build(e),this.popup.open(()=>{let{j:e}=this,t=e.s.range.getBoundingClientRect(),i={left:t.left,top:t.top,height:t.height,width:t.width};if(e.o.iframe&&e.iframe){let t=(0,h.position)(e.iframe,e);i.top+=t.top,i.left+=t.left}return i})}beforeDestruct(e){e.e.off(this.list).off(this.popup).off("keydown.autocomplete",this.onKeyDown).off("autocomplete.autocomplete",this.onAutoComplete).off(".autocomplete"),this.list.destruct(),this.popup.destruct()}constructor(...e){super(...e),(0,r._)(this,"hasStyle",!m.JoditPro.fatMode),(0,r._)(this,"sources",[])}}(0,r._)(g,"requires",["enter","license"]),(0,s.__decorate)([u.cache],g.prototype,"list",null),(0,s.__decorate)([u.cache],g.prototype,"popup",null),(0,s.__decorate)([u.autobind],g.prototype,"registerAutocompleteSource",null),(0,s.__decorate)([u.autobind],g.prototype,"unregisterAutocompleteSource",null),(0,s.__decorate)([(0,u.debounce)()],g.prototype,"onKeyDown",null),(0,s.__decorate)([u.autobind],g.prototype,"onKeyControlDown",null),(0,s.__decorate)([u.autobind],g.prototype,"onEnter",null),(0,s.__decorate)([u.autobind],g.prototype,"onAutoComplete",null),(0,s.__decorate)([u.autobind],g.prototype,"resolveFeed",null),m.JoditPro.plugins.add("autocomplete",g)},53586:function(e,t,i){i(6441).Config.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery:(e,t)=>0===t.toLowerCase().indexOf(e.toLowerCase()),itemRenderer:e=>{var t;return null!=(t=e.title)?t:e.value},insertValueRenderer:e=>e.value+" "}},64199:function(e,t,i){i.d(t,{getTextLeftOfCursor:function(){return r},replaceTextLeftOfCursorAfterSpace:function(){return o}});var n=i(2748);function r(e){var t,i,r,o;let{startContainer:s,startOffset:a}=e;if(n.Dom.isText(s))return null!=(t=null==(i=s.nodeValue)?void 0:i.substr(0,a))?t:"";let l=s.childNodes[a];if(!l)return"";if(n.Dom.isText(l))return null!=(r=l.nodeValue)?r:"";let c=n.Dom.findNotEmptyNeighbor(l,!0,s);return n.Dom.isText(c)&&null!=(o=l.nodeValue)?o:""}function o(e,t){var i,r,o;let{startContainer:s,startOffset:a}=e;if(!n.Dom.isText(s)&&(s=s.childNodes[a-1],n.Dom.isText(s)&&(a=null!=(i=null==(r=s.nodeValue)?void 0:r.length)?i:0)),n.Dom.isText(s)){let i=null!=(o=s.nodeValue)?o:"",n=i.substring(0,a),r=i.substring(a),l=n.split(" ");l[l.length-1]="";let c=l.join(" ");s.nodeValue=c+r,e.setStart(s,c.length),e.insertNode(t);return}}},83725:function(e,t,i){i.d(t,{Autocomplete:function(){return c}});var n=i(82749),r=i(31635),o=i(31356),s=i(35934),a=i(65478),l=i(62405);class c extends l.UIGroup{className(){return"Autocomplete"}onChangeSelection(){var e,t;this.elements.forEach(e=>e.setMod("active",!1)),null==(e=this.elements[this.currentSelection])||e.setMod("active",!0),null==(t=this.elements[this.currentSelection])||t.container.scrollIntoView(!1)}build(e){var t;let i=null==(t=this.elements[this.currentSelection])?void 0:t.item.value,n=e=>e.value,r=o.ListReconciler.reconcile(this.__previousList,e,{getId:n}),a=new Set;r.toRemove.forEach(e=>{let t=n(e);if(a.has(t))return;a.add(t);let i=this.itemsMap.get(t);i&&(-1!==this.elements.indexOf(i)&&(this.remove(i),i.destruct()),this.itemsMap.delete(e.value))}),r.toCreate.forEach(t=>{let i=n(t);if(a.has(i))return;a.add(i);let r=new s.AutocompleteItem(this.jodit,t,t=>{this.currentSelection=e.findIndex(e=>n(e)===t),this.select()});this.itemsMap.set(i,r);let o=e.indexOf(t);this.append(r,o)}),r.toUpdate.forEach(({newItem:e,index:t})=>{let i=n(e);if(a.has(i))return;a.add(i);let r=this.itemsMap.get(i);r&&(r.item=e,this.elements.indexOf(r)!==t&&t<this.elements.length&&(this.remove(r),this.append(r,t)))});let l=this.currentSelection;this.currentSelection=Math.max(0,e.findIndex(e=>n(e)===i)),l===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...e]}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}constructor(...e){super(...e),(0,n._)(this,"elements",[]),(0,n._)(this,"currentSelection",-1),(0,n._)(this,"__previousList",[]),(0,n._)(this,"itemsMap",new Map)}}(0,r.__decorate)([(0,a.watch)("currentSelection")],c.prototype,"onChangeSelection",null),c=(0,r.__decorate)([a.component],c)},35934:function(e,t,i){i.d(t,{AutocompleteItem:function(){return l}});var n=i(82749),r=i(31635),o=i(65478),s=i(27613),a=i(48538);class l extends a.UIElement{className(){return"AutocompleteItem"}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onClickHandler(){this.onClick(this.value)}constructor(e,t,i){super(e),(0,n._)(this,"item",void 0),(0,n._)(this,"onClick",void 0),(0,n._)(this,"value",void 0),this.item=t,this.onClick=i,this.value="";const{container:r}=this;if(this.value=t.value,(0,s.isFunction)(t.itemRenderer)){const e=t.itemRenderer(t);(0,s.isString)(e)?r.innerHTML=e:r.appendChild(e)}else{var o;r.innerText=null!=(o=t.title)?o:t.value}}}(0,r.__decorate)([(0,o.watch)("container:mousedown container:touchstart")],l.prototype,"onClickPrevent",null),(0,r.__decorate)([(0,o.watch)("container:click")],l.prototype,"onClickHandler",null),l=(0,r.__decorate)([o.component],l)},12373:function(e,t,i){i(25187),i(58858),i(21246),i(44864),i(3115)},38882:function(e,t,i){i.d(t,{isAllowedSubdomain:function(){return r},validateLicense:function(){return function e(t,i){var n;let o;if(n=t=t.replace(/[^A-Z0-9-]/g,"R"),/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(n)||r(i))return!0;let s=(o=i.split(".")).map(e=>{let t=e[0];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)+1):t}).concat(o.map(e=>{let t=e[e.length-1];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)-1):t})).map(e=>null!=e&&/\w/.test(e)?e:"r"),a=["[A-F013456][A-F0-9]{3}{part}","([0-3]){part}[E-L4-8]{2}\\1","[A-D]{part}[J-P5-6]{3}","{part}[A-R0-9]{3}[X-Z]"].map((e,t)=>e.replace("{part}",s[t]||"[R-T]")),l=RegExp(`^${a.join("-")}$`,"i"),c=t.substring(12,13),u=l.test(t);if(!u&&c===(typeof!i).toUpperCase()[5]){let n=i.split(".");return n.shift(),!!n.length&&e(t,n.join("."))}return u}}});let n=["*localhost*","staging.","*.dev.","*.test.","*.stg.","stg.*","test.*","beta.*","*demo.*","*test.*","acceptatie.*"];function r(e){return n.some(t=>new RegExp(t.replace(/\*/g,"%ANY%").replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&").replace(/%ANY%/g,".*")).test(e))}},21246:function(e,t,i){i.d(t,{license:function(){return d}});var n=i(77688),r=i(38882),o=i(82758),s=i(2748),a=i(87612),l=i(70799),c=i(20356),u=i(2692);class d extends c.Plugin{static make(e){return new d(e)}afterInit(e){this.j.e.on("checkReserve",e=>(0,n._)(function*(){let t=this.j.o.license;if((0,r.isAllowedSubdomain)(e))return"normal";if(!t||!(0,l.isString)(t))return"";let i=(0,r.validateLicense)(t,e);return i||!(t[12]>"A")||o.IS_TEST||(i=yield this.validateLicenseRemote(t,e)),i?"normal":""}).call(this))}beforeDestruct(e){}validateLicenseRemote(e,t){return(0,n._)(function*(){let i="validateJoditLicenseRemote",n=this.j.storage.get(i);if(n&&(0,r.validateLicense)(n,t))return!0;let o=document.createElement("script");return o.src=`https://xdsoft.net/jodit/pro/api/licenses/validate/?code=${encodeURIComponent(e)}&host=${encodeURIComponent(t)}`,document.body.appendChild(o),this.j.async.promise(e=>{window.onJoditResolveKeyCode=n=>{try{if((0,a.isBoolean)(n))return e(n);(0,r.validateLicense)(n,t)?(this.j.storage.set(i,n),e(!0)):e(!1)}finally{s.Dom.safeRemove(o)}},this.j.async.setTimeout(()=>{e(!1),s.Dom.safeRemove(o)},3e3)})}).call(this)}}u.JoditPro.plugins.add("license",d)},20823:function(e,t,i){i.d(t,{cleanStyles:function(){return r}});let n={"text-justify":["inter-ideograph"]};function r(e){return e.isElement&&e.attributes.style&&Object.keys(n).forEach(t=>{let i=n[t];if(e.style.has(t)){var r;i.includes(null==(r=e.style.get(t))?void 0:r.toString())&&e.style.set(t,null)}}),e}},47064:function(e,t,i){i.d(t,{clearAttributes:function(){return r}});let n=["cellspacing","cellpadding","border","v:shapes","o:spid"];function r(e){if(/^OLE_LINK\d+$/.test(e.attributes.name)&&(e.attributes.name=null,0===e.length))return e.remove(),null;for(let t of("_GoBack"===e.attributes.name&&(e.attributes.name=null),n))e.attributes[t]&&(e.attributes[t]=null);return e}},41157:function(e,t,i){i.d(t,{clearClassName:function(){return r}});var n=i(49055);let r=e=>(e.attributes.class&&(e.attributes.class=e.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,n.trim)(e.attributes.class)||(e.attributes.class=null)),e)},53585:function(e,t,i){i.d(t,{convertStyleUnitToPixels:function(){return r}});var n=i(43712);let r=(e,{jodit:t})=>{if(!t.o.pasteFromWord.convertUnitsToPixel)return e;let{style:i}=e;return i.forEach(e=>{let t=i.get(e);t&&i.set(e,t.toString().replace(/\d+(\.\d+)?(pt|cm)/g,e=>(0,n.convertUnitToPx)(e)+"px"))}),e}},80591:function(e,t,i){i.d(t,{convertToList:function(){return l}});var n=i(82758),r=i(10058),o=i(97420),s=i(31269),a=i(43712);function l(e){if((0,o.isPseudoLeaf)(e)){e.name="li",e.style.set("text-indent",null);let h=c(e),f=/[\da-np-zA-NP-Z].?/.test(h)?"ol":"ul",p=function(e,t){for(let t in r.listStyleMap)if(RegExp(t).test(e))return r.listStyleMap[t];return"ol"===t?"decimal":"disc"}(h,f);e.attributes[r.TYPE_KEY]=f,e.attributes[r.STYLE_KEY]=p,(0,s.calcListLevels)(e),function(e){for(;e;){let t=e.previousElement;if(!((0,o.isLeaf)(t)||(0,o.isList)(t)))break;if((0,o.isLeaf)(t)){if(e.attributes[r.LEVEL_KEY]<t.attributes[r.LEVEL_KEY]||e.attributes[r.LEVEL_KEY]===t.attributes[r.LEVEL_KEY]&&e.parent&&(0,o.isSameType)(e,e.parent))break;t.append(e);continue}if(e.attributes[r.LEVEL_KEY]<t.attributes[r.LEVEL_KEY]||e.attributes[r.LEVEL_KEY]===t.attributes[r.LEVEL_KEY]&&!(0,o.isSameType)(e,t))break;t.append(e)}}(e);let{parent:m}=e;if(!(0,o.isList)(m)||!(0,o.isSameType)(e,m)){var t,i,n,l,u,d;let s,c=(t=e,i=f,n=h,l=p,(s=t.wrap(i)).attributes.start=(0,a.calcStartBySymbol)(n),s.attributes[r.LEVEL_KEY]=t.attributes[r.LEVEL_KEY],s.attributes[r.STYLE_KEY]=t.attributes[r.STYLE_KEY],s.attributes[r.STYLE_VALID_KEY]=t.attributes[r.STYLE_KEY],s.style.set(r.STYLE_CSS_KEY,l),(0,o.isList)(s)&&(null==(u=s.parent)?void 0:u.name)!=="li"&&("disc"===s.style.get(r.STYLE_CSS_KEY)||"decimal"===s.style.get(r.STYLE_CSS_KEY))&&s.style.set(r.STYLE_CSS_KEY,null),s);if((0,o.isList)(m)){c.remove(),null==(d=m.lastElement)||d.append(c)}}}return e}let c=e=>e.textBetween(e=>e.isComment&&/\[if.*supportLists.*]/.test((0,o.html)(e)),e=>e.isComment&&/\[endif]/.test((0,o.html)(e))).replace(/ /g,"").replace((0,n.SPACE_REG_EXP)(),"")},64693:function(e,t,i){i.d(t,{cases:function(){return g}});var n=i(20823),r=i(47064),o=i(41157),s=i(53585),a=i(80591),l=i(98940),c=i(72621),u=i(1580),d=i(18616),h=i(84021),f=i(69994),p=i(76059),m=i(21357);let g=[u.processImage,l.markPageBreakElements,h.removeExtraTags,p.replaceOldTags,r.clearAttributes,a.convertToList,d.processLinks,f.removeInsideComment,s.convertStyleUnitToPixels,o.clearClassName,c.normalizeImageProps,m.removeWidthFromTableCell,n.cleanStyles]},98940:function(e,t,i){i.d(t,{markPageBreakElements:function(){return n}});let n=e=>((e.isElement&&"always"===e.style.get("page-break-before")||"page"===e.style.get("break-before"))&&(e.attributes["jd-safe"]=!0,e.style.add("page-break-before","always"),e.isSingle&&(e.name="div")),e)},72621:function(e,t,i){i.d(t,{normalizeImageProps:function(){return n}});let n=e=>(e.isElement&&"img"===e.name&&(e.attributes.align&&(e.style.add("float",e.attributes.align),e.attributes.align=null),e.attributes.hspace&&(e.style.add("marginLeft",e.attributes.hspace+"px"),e.style.add("marginRight",e.attributes.hspace+"px"),e.attributes.hspace=null)),e)},1580:function(e,t,i){i.d(t,{processImage:function(){return r}});var n=i(21537);let r=(e,t)=>{if(t.rtf&&"#comment"===e.name&&e.attributes.nodeValue&&-1!==e.attributes.nodeValue.indexOf("<v:shape")){t.shapes||(t.shapes={});let i=t.jodit.create.fromHTML(e.attributes.nodeValue);return(0,n.toArray)(i.getElementsByTagName("v:shape")).forEach(e=>{t.shapes[e.id]=e.getAttribute("o:spid")}),e}if("img"!==e.name)return e;if(t.rtf&&e.attributes["v:shapes"]){var i,r;let n=null==(i=t.shapes)?void 0:i[e.attributes["v:shapes"]];if(n){let i=null!=(r=t.imageMap)?r:{};t.imageMap||(t.imageMap=i,o(t.rtf,"i","\\shppict",t.imageMap),o(t.rtf,"s","\\shp{",t.imageMap));let s=i[n.substring(7)];if(s){let t=[],i=s.hex.match(/[0-9a-f]{2}/gi);if(i){for(let e=0;e<i.length;e++){let n=parseInt(i[e],16);t.push(String.fromCharCode(n))}e.attributes.src="data:"+s.type+";base64,"+btoa(t.join(""))}}}}return e};function o(e,t,i,n){for(let r of e.split(i)){let e=r.split("shplid");if(1<e.length){let i,r=e[1],o="";for(let e=0;e<r.length&&!/[{ \r\n\\]/.test(r[e]);e++)o+=r[e];let s=r.split("bliptag");if(s&&s.length<2)continue;let a=null;if(s[0].indexOf("pngblip")?a="image/png":-1!==s[0].indexOf("jpegblip")&&(a="image/jpeg"),!a)continue;let l=s[1].split("}");if(l&&l.length<2)continue;if(2<l.length&&l[0].includes("blipuid"))i=l[1].split(" ");else{if((i=l[0].split(" "))&&i.length<2)continue;i.shift()}n[t+o]={hex:i.join(""),type:a}}}}},18616:function(e,t,i){i.d(t,{processLinks:function(){return n}});let n=(e,t)=>{var i;let n=null!=(i=t.links)?i:{};if(e.attributes.href&&e.attributes.href.match(/#.+$/)&&(n[e.attributes.href.match(/#(.+)$/)[1]]=e),e.attributes.name&&n[e.attributes.name]){let t=n[e.attributes.name];t.attributes.href=t.attributes.href.replace(/.*#(.*)$/,"#$1")}return t.links=n,e}},84021:function(e,t,i){i.d(t,{removeExtraTags:function(){return r}});let n=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function r(e){return"none"===e.style.get("display")||0===e.length&&"span"===e.name||n.has(e.name)?(e.remove(),null):e}},69994:function(e,t,i){i.d(t,{removeInsideComment:function(){return o}});var n=i(99658);let r=0;function o(e){return(e.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,n.html)(e))&&(r++,e.remove()),e.isComment&&r>0&&(0,n.html)(e).includes("[endif]")&&(r=r>0?r-1:0,e.remove()),r&&(e.isText||"img"===e.name&&(!e.attributes.src||/^file:/.test(e.attributes.src))))?(e.remove(),null):e}},76059:function(e,t,i){i.d(t,{replaceOldTags:function(){return r}});let n={i:"em",b:"strong"};function r(e){let{name:t}=e;return t in n&&(e.name=n[t]),e}},21357:function(e,t,i){i.d(t,{removeWidthFromTableCell:function(){return n}});let n=e=>(e.attributes.width&&("th"===e.name||"td"===e.name)&&(e.attributes.width=null),e)},13085:function(e,t,i){i(6441).Config.prototype.pasteFromWord={enable:!1,convertUnitsToPixel:!1,allowedStyleProps:["background","background-color","border","border-.*","color","float","font-family","font-size","font-style","font-weight","height","line-height","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","padding","text-align","text-justify","text-decoration","text-indent","vertical-align","width"]}},10058:function(e,t,i){i.d(t,{LEVEL_KEY:function(){return n},STYLE_CSS_KEY:function(){return a},STYLE_KEY:function(){return o},STYLE_VALID_KEY:function(){return s},TYPE_KEY:function(){return r},listStyleMap:function(){return l}});let n="jd-list-level",r="jd-list-type",o="jd-list-style-type",s="data-list-style-type",a="list-style-type",l={"\xb7":"disc",o:"circle","\xa7":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},18594:function(e,t,i){i.d(t,{isLeaf:function(){return s},isList:function(){return o},isPseudoLeaf:function(){return a},isSameType:function(){return l}});var n=i(99658),r=i(10058);function o(e){return!!(e&&("ol"===e.name||"ul"===e.name))}function s(e){return!!(e&&"li"===e.name)}function a(e){return"li"!==e.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(e.attributes.style)||/msolistparagraph/i.test(e.attributes.class)&&!!e.find(e=>e.isComment&&(0,n.html)(e).includes("supportLists")).length}function l(e,t){let i=e.attributes[r.TYPE_KEY],n=e.attributes[r.STYLE_KEY];return t.name===i&&t.attributes[r.STYLE_KEY]===n&&e.attributes[r.LEVEL_KEY]===t.attributes[r.LEVEL_KEY]}},42968:function(e,t,i){i.d(t,{JElement:function(){return u}});var n=i(82749),r=i(99658),o=i(40273),s=i(82758),a=i(2748),l=i(38837);let c=new Set(s.INSEPARABLE_TAGS);class u{get isText(){return this.type===Node.TEXT_NODE}get isElement(){return this.type===Node.ELEMENT_NODE}get isComment(){return this.type===Node.COMMENT_NODE}get isSingle(){return c.has(this.name)}get length(){return this.children.length}static make(e,t=null){return new u(e,t)}wrap(e){var t;(0,l.assert)(null!=this.parent,"You can't wrap the root element");let i=u.make(document.createElement(e),this.parent),n=null!=(t=this.parent.children.indexOf(this))?t:-1;return -1===n?this.parent.append(i):this.parent.children[n]=i,i.append(this),i}append(e){return(0,l.assert)(e!==this,"Forbidden to add to yourself"),e.remove(),this.children.push(e),e.parent=this,this}get previousElement(){if(!this.parent)return null;let{children:e}=this.parent,t=e.indexOf(this);if(-1!==t){for(let i=t-1;i>=0;i-=1)if(e[i].isElement)return e[i]}return null}get lastElement(){let{children:e}=this;for(let t=e.length-1;t>=0;t-=1)if(e[t].isElement)return e[t];return null}get previous(){var e,t,i;return null!=(e=null!=(t=this.sibling(!1))?t:null==(i=this.parent)?void 0:i.previous)?e:null}get next(){var e,t,i;return null!=(e=null!=(t=this.sibling(!0))?t:null==(i=this.parent)?void 0:i.next)?e:null}sibling(e){if(!this.parent)return null;let{children:t}=this.parent,i=t.indexOf(this);return -1!==i&&t[i+(e?1:-1)]?t[i+(e?1:-1)]:null}forEach(e,t=!1){for(let i of[...this.children])if(!1===e(i)||t&&!1===i.forEach(e,!0))return!1}find(e,t=!0){let i=[];return this.forEach(t=>{e(t)&&i.push(t)},t),i}map(e){return this.children.map(e)}remove(){var e,t;let i=null==(e=this.parent)?void 0:e.children.indexOf(this);return null!=i&&-1!==i&&(null==(t=this.parent)||t.children.splice(i,1)),this}textBetween(e,t){let i=!1,n=[];return this.forEach(o=>{if(!i&&e(o)&&(i=!0),i&&o.isText&&n.push((0,r.html)(o)),i&&t(o))return!1},!0),n.join("")}constructor(e,t){(0,n._)(this,"parent",void 0),(0,n._)(this,"name",void 0),(0,n._)(this,"type",void 0),(0,n._)(this,"attributes",void 0),(0,n._)(this,"style",void 0),(0,n._)(this,"children",void 0),this.parent=t,this.name=e.nodeName.toLowerCase(),this.type=e.nodeType,this.attributes=function(e){let t={};if(a.Dom.isElement(e))for(let i=0,n=e.attributes;i<n.length;i+=1)t[n[i].name]=n[i].value;else t.nodeValue=e.nodeValue;return t}(e),this.style=new o.Style(this.attributes.style),this.children=[],e.childNodes.forEach(e=>this.children.push(u.make(e,this)))}}},97420:function(e,t,i){i.d(t,{JElement:function(){return r.JElement},html:function(){return o.html},innerHTML:function(){return o.innerHTML},isLeaf:function(){return n.isLeaf},isList:function(){return n.isList},isPseudoLeaf:function(){return n.isPseudoLeaf},isSameType:function(){return n.isSameType}});var n=i(18594),r=i(42968),o=i(99658)},99658:function(e,t,i){i.d(t,{html:function(){return s},innerHTML:function(){return l}});var n=i(82758),r=i(87612),o=i(49055);function s(e,t=()=>!0,i=!0,r){switch(!0){case e.isComment:case e.isText:{if(!t(e))return"";let{nodeValue:i}=e.attributes;return e.isComment?`<!--${i}-->`:i}case e.isElement:{let{attributes:n}=e,o=l(e,t,i,r);if(!e.attributes["jd-safe"]&&i&&0===o.replace(/[\n\t]/g,"").length&&!e.isSingle)return"";let s=Object.keys(n).map(e=>"style"===e||null==n[e]||/^jd-/.test(e)?"":`${e}="${c(n[e])}"`).filter(Boolean),{str:u}=e.style,d=c(u(e=>a(e,r)));if(d&&s.push(`style="${d}"`),i&&0===s.length&&["span","a"].includes(e.name))return o;let h=s.length?" "+s.join(" "):"";if(!t(e))return o;return e.isSingle?`<${e.name}${h}/>`:`<${e.name}${h}>${o}</${e.name}>`}default:if(!n.IS_PROD)throw Error("Need implementation for this type")}return""}function a(e,t){if(!t)return!0;if(a.cache.has(t)){var i;let n=null==(i=a.cache.get(t))?void 0:i.get(e);if((0,r.isBoolean)(n))return n}let n=t.some(t=>new RegExp(t).test(e)),o=a.cache.get(t)||new Map;return o.set(e,n),a.cache.set(t,o),n}function l(e,t=()=>!0,i=!0,n){let r=e.map(e=>s(e,t,i,n)).join("");return"p"===e.name&&0===(0,o.trim)(r).length&&(r=" "),r}function c(e){return e.toString().replace(/"/g,""")}a.cache=new WeakMap},40273:function(e,t,i){i.d(t,{Style:function(){return u}});var n=i(82749),r=i(31635),o=i(45219),s=i(70799),a=i(12475),l=i(49055),c=i(43712);class u{get keys(){return Object.keys(this._data)}forEach(e){this.keys.forEach(t=>e(t))}clear(){this._data={}}set(e,t){this._data[e]=t}get(e){var t;return null!=(t=this._data[e])?t:null}has(e){return void 0!==this._data[e]}add(e,t){return this._data=d(this.str()+";"+`${e}:${t}`),this}str(e=e=>!0){let t=Object.keys(this._data).filter(t=>t&&!/^mso-/.test(t)&&e(t)&&null!=this.get(t)),i=e=>(0,s.isString)(e)?/^0[a-z]+$/i.test(e)?"0":e:e.toString();return(["padding","margin"].forEach(e=>{if(this._data[e]){let n=t.indexOf(e),r=(0,c.calcMarginParts)(this._data[e]);["top","right","bottom","left"].forEach((o,s)=>{let a=`${e}-${o}`,l=this._data[a];null!=l&&(t.indexOf(a)<n||i(r[s])===i(l))&&-1!==t.indexOf(a)&&t.splice(t.indexOf(a),1)})}}),t.length)?t.map(e=>`${(0,a.kebabCase)(e)}:${this.get(e)}`).join(";"):""}constructor(e){(0,n._)(this,"_data",void 0),this._data=d(e)}}function d(e){return(function(e){let t={},i=[];for(let n=e.length-1;n>=0;n-=1){let r=e[n][0];t[r]||(t[r]=!0,i.unshift(e[n]))}return i})((null!=e?e:"").replace(/"/g,'"').split(";").filter(Boolean).map(e=>(0,l.trim)(e).split(":").map(l.trim))).reduce((e,[t,i])=>(t&&i&&(e[t]=i),e),{})}(0,r.__decorate)([o.autobind],u.prototype,"forEach",null),(0,r.__decorate)([o.autobind],u.prototype,"clear",null),(0,r.__decorate)([o.autobind],u.prototype,"set",null),(0,r.__decorate)([o.autobind],u.prototype,"get",null),(0,r.__decorate)([o.autobind],u.prototype,"has",null),(0,r.__decorate)([o.autobind],u.prototype,"add",null),(0,r.__decorate)([o.autobind],u.prototype,"str",null)},51586:function(e,t,i){i.d(t,{applyStylesPro:function(){return l}});var n=i(19606),r=i(2748),o=i(29960),s=i(76078),a=i(97420);function l(e,t,i,c=""){let u=document.createElement("iframe");u.style.display="none",document.body.appendChild(u);try{var d,h;let r=null!=(d=u.contentDocument)?d:null==(h=u.contentWindow)?void 0:h.document;if(!r)return t;r.open(),r.write(t),r.close();let l="jd-style";for(let e=0;e<r.styleSheets.length;e+=1)try{let t=r.styleSheets[e].cssRules;for(let e=0;e<t.length;e+=1)t[e].selectorText&&(0,s.$$)(t[e].selectorText,r.body).forEach(i=>{(0,o.attr)(i,l)||((0,o.attr)(i,l,(0,o.attr)(i,"style")||""),(0,o.attr)(i,"style","")),(0,o.attr)(i,"style",`${(0,o.attr)(i,"style")};${t[e].style.cssText}`)})}catch(e){}return(0,s.$$)(`[${l}]`,r.body).forEach(e=>{(0,o.attr)(e,"style",`${(0,o.attr)(e,"style")};${(0,o.attr)(e,l)}`)}),(0,n.transformWordToHtml)(e,a.JElement.make(r.body),i,c)}finally{r.Dom.safeRemove(u)}}},31269:function(e,t,i){i.d(t,{calcListLevels:function(){return s}});var n=i(43712),r=i(10058),o=i(97420);function s(e){if(void 0!==e.attributes[r.LEVEL_KEY])return;let t=[(0,n.realPixelIndent)(e)],i=[e],s=e.next;for(;s;){if(s.isElement&&!s.attributes[r.LEVEL_KEY]&&(0,o.isPseudoLeaf)(s)){let e=(0,n.realPixelIndent)(s);e&&(t.push(e),i.push(s))}s=s.next}let a=Math.min(...t.filter(e=>e>0)),l=t.map(e=>Math.ceil(e/10));-1!==l.indexOf(0)&&(l=l.map(e=>e+1)),i.forEach((e,t)=>{e.attributes[r.LEVEL_KEY]=l[t],e.style.add("margin-left",`${Math.max((0,n.realPixelIndent)(e)-10*l[t]/a*40,0)}px`)})}},43712:function(e,t,i){let n;function r(e){if(!e)return[0,0,0,0];let t=e.match(/(0|auto|(-?[.\d]+(?:\w+|%)))/g)||["0px"];switch(t.length){case 2:return[0,1,0,1].map(e=>t[e]);case 3:return[0,1,2,1].map(e=>t[e]);case 4:return[0,1,2,3].map(e=>t[e]);default:return[0,0,0,0].map(e=>t[e])}}function o(e){if("number"==typeof e)return e;if(/%$/.test(e))return 0;n||(Object.assign((n=document.createElement("div")).style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(n),setTimeout(()=>{null==n||n.remove(),n=null}));let t=0>parseFloat(e);t&&(e=e.replace("-","")),n.style.width=e;let i=n.clientWidth;return t?-i:i}function s(e){let{style:t}=e,i=t.keys.filter(e=>/margin/.test(e)),n=Math.max(i.indexOf("margin-left"),i.indexOf("margin")),s=n>0?i[n]:"margin-left";return o("margin"===s?r(t.get("margin"))[3]||0:t.get(s)||0)}function a(e){return/\d.\d/.test(e)?e.split(".").pop()||null:/^\d/.test(e)?(parseInt(e,10)||1).toString():null}i.d(t,{calcMarginParts:function(){return r},calcStartBySymbol:function(){return a},convertUnitToPx:function(){return o},realPixelIndent:function(){return s}})},30717:function(e,t,i){i.d(t,{applyStylesPro:function(){return n.applyStylesPro}});var n=i(51586);i(31269),i(19606)},19606:function(e,t,i){i.d(t,{transformWordToHtml:function(){return s}});var n=i(49055),r=i(64693),o=i(97420);function s(e,t,i,s){let a={jodit:e,rtf:s};return t.forEach(function e(t){if(t){for(let e of r.cases)if(null==(t=e(t,a)))break;null==t||t.forEach(e)}}),i&&t.forEach(e=>{e.style.clear()},!0),(0,n.trim)((0,o.innerHTML)(t,e=>!e.isComment,!0,e.o.pasteFromWord.allowedStyleProps))}},58858:function(e,t,i){i.r(t),i.d(t,{PasteFromWordPro:function(){return u}});var n=i(82749);i(13085);var r=i(30717),o=i(82758),s=i(70799),a=i(117),l=i(31571),c=i(2692);class u extends l.pasteFromWord{insertFromWordByType(e,t,i,n){if(this.j.o.pasteFromWord.enable&&(i===o.INSERT_AS_HTML||i===o.INSERT_AS_TEXT)){if(t=(0,r.applyStylesPro)(this.j,t,i===o.INSERT_AS_TEXT,n.rtf),this.j.o.beautifyHTML){var l;let e=null==(l=this.j.events)?void 0:l.fire("beautifyHTML",t);(0,s.isString)(e)&&(t=e)}(0,a.pasteInsertHtml)(e,this.j,t);return}return super.insertFromWordByType(e,t,i,n)}}(0,n._)(u,"requires",["license"]),c.JoditPro.plugins.remove("pasteFromWord"),c.JoditPro.plugins.add("pasteFromWordPro",u)},77688:function(e,t,i){function n(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}function r(e){return function(){var t=this,i=arguments;return new Promise(function(r,o){var s=e.apply(t,i);function a(e){n(s,r,o,a,l,"next",e)}function l(e){n(s,r,o,a,l,"throw",e)}a(void 0)})}}i.d(t,{_:function(){return r}})},82749:function(e,t,i){i.d(t,{_:function(){return n}});function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},56075:function(e,t,i){i.d(t,{_:function(){return r}});var n=i(82749);function r(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),r.forEach(function(t){(0,n._)(e,t,i[t])})}return e}},31635:function(e,t,i){function n(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}i.d(t,{__decorate:function(){return n}}),"function"==typeof SuppressedError&&SuppressedError}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={exports:{}};return r[e].call(i.exports,i,i.exports,s),i.exports}s.m=r,e=[],s.O=function(t,i,n,r){if(i){r=r||0;for(var o=e.length;o>0&&e[o-1][2]>r;o--)e[o]=e[o-1];e[o]=[i,n,r];return}for(var a=1/0,o=0;o<e.length;o++){for(var i=e[o][0],n=e[o][1],r=e[o][2],l=!0,c=0;c<i.length;c++)(!1&r||a>=r)&&Object.keys(s.O).every(function(e){return s.O[e](i[c])})?i.splice(c--,1):(l=!1,r<a&&(a=r));if(l){e.splice(o--,1);var u=n();void 0!==u&&(t=u)}}return t},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t={521:0},s.O.j=function(e){return 0===t[e]},i=function(e,i){var n,r,o=i[0],a=i[1],l=i[2],c=0;if(o.some(function(e){return 0!==t[e]})){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(l)var u=l(s)}for(e&&e(i);c<o.length;c++)r=o[c],s.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return s.O(u)},(n=self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).forEach(i.bind(null,0)),n.push=i.bind(null,n.push.bind(n));var a={};s.r(a),s.d(a,{Jodit:function(){return c.JoditPro}}),s(12373);var l=s(31356),c=s(2692);return c.JoditPro.plugins.add("poweredByJodit",function(){}),c.JoditPro.modules.ListReconciler=l.ListReconciler,a=s.O(a)}()});
|
|
254
|
+
>${e.o.specialCharacters[t]}</a>`);a.push(o),r.appendChild(o),i.appendChild(r)}o.appendChild(i)}let l=this;return e.e.on(a,"focus",function(){i.innerHTML=this.innerHTML}).on(a,"mousedown",function(t){r.Dom.isTag(this,"a")&&(e.s.focus(),e.s.insertHTML(this.innerHTML),(null==t?void 0:t.shiftKey)||e.e.fire(this,"close_dialog"),t&&t.preventDefault(),t&&t.stopImmediatePropagation())}).on(a,"mouseenter",function(){r.Dom.isTag(this,"a")&&this.focus()}).on(a,"keydown",t=>{let i=t.target;if(r.Dom.isTag(i,"a")){let r,o=parseInt((0,s.attr)(i,"-index")||"0",10),c=parseInt((0,s.attr)(i,"data-index-j")||"0",10);switch(t.key){case n.KEY_UP:case n.KEY_DOWN:void 0===a[r=t.key===n.KEY_UP?o-l.__countInRow:o+l.__countInRow]&&(r=t.key===n.KEY_UP?Math.floor(a.length/l.__countInRow)*l.__countInRow+c:c)>a.length-1&&(r-=l.__countInRow),a[r]&&a[r].focus();break;case n.KEY_RIGHT:case n.KEY_LEFT:void 0===a[r=t.key===n.KEY_LEFT?o-1:o+1]&&(r=t.key===n.KEY_LEFT?a.length-1:0),a[r]&&a[r].focus();break;case n.KEY_ENTER:e.e.fire(i,"mousedown"),t.stopImmediatePropagation(),t.preventDefault()}}}),t})}beforeDestruct(e){e.e.off("generateSpecialCharactersTable.symbols")}constructor(e){super(e),this.buttons=[{name:"symbols",group:"insert"}],this.__countInRow=17,(0,o.extendLang)(l)}}o.pluginSystem.add("symbols",c)},5119:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg> '},47686:function(e,t,i){i.d(t,{onTabInsideLi:function(){return n.onTabInsideLi}});var n=i(26658)},26658:function(e,t,i){i.d(t,{onTabInsideLi:function(){return o}});var n=i(2748),r=i(38837);function o(e,t=!1){let i,s,a,l;if(!e.o.tab.tabInsideLiInsertNewList)return!1;let[c,u]=(i=e.createInside.fake(),s=e.createInside.fake(),(a=e.s.range.cloneRange()).collapse(!0),a.insertNode(i),(l=e.s.range.cloneRange()).collapse(!1),l.insertNode(s),[i,s]);try{let i,o,s,a,l,u=!!(i=n.Dom.closest(c,"li",e.editor))&&(!!t||!!n.Dom.isLeaf(i.previousElementSibling))&&(!t||!!n.Dom.closest(i,"li",e.editor))&&i;if(!u||!(o=n.Dom.closest(c,"li",e.editor))||o!==u&&!u.contains(o))return!1;let d=n.Dom.closest(u,["ol","ul"],e.editor);if(!d||t&&!n.Dom.closest(d,"li",e.editor))return!1;return t?function(e,t,i){let o=n.Dom.closest(t,"li",e.editor);(0,r.assert)(o,"tab parent li is null");let s=Array.from(t.children).filter(e=>n.Dom.isLeaf(e));n.Dom.after(o,i);let a=s.indexOf(i);if((0===a||1===s.length)&&n.Dom.safeRemove(t),a!==s.length-1){let e=t.cloneNode();n.Dom.append(i,e);for(let t=a+1;t<s.length;t+=1)n.Dom.append(e,s[t])}}(e,d,u):(s=u.previousElementSibling,(0,r.assert)(s,"tab previousElementSibling is null"),a=s.lastElementChild,(l=n.Dom.isTag(a,d.tagName)?a:e.createInside.element(d.tagName,Array.from(d.attributes).reduce((e,t)=>(e[t.name]=t.value,e),{}))).appendChild(u),a!==l&&s.appendChild(l)),!0}finally{let t=e.s.createRange();t.setStartAfter(c),t.setEndBefore(u),e.s.selectRange(t),n.Dom.safeRemove(c),n.Dom.safeRemove(u)}}},66288:function(e,t,i){i(6441).Config.prototype.tab={tabInsideLiInsertNewList:!0}},767:function(e,t,i){var n=i(82758),r=i(65478),o=i(580),s=i(50911);i(66288);var a=i(47686),l=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class c extends s.Plugin{afterInit(e){}__onTab(e){if(e.key===n.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){let t=(0,a.onTabInsideLi)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}l([(0,r.watch)(":keydown.tab")],c.prototype,"__onTab",null),l([(0,r.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),o.pluginSystem.add("tab",c)},72439:function(e,t,i){var n=i(82758),r=i(2748),o=i(580),s=i(21537),a=i(76014);let l=new Set([n.KEY_TAB,n.KEY_LEFT,n.KEY_RIGHT,n.KEY_UP,n.KEY_DOWN]);o.pluginSystem.add("tableKeyboardNavigation",function(e){e.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",t=>{let{key:i}=t,o=function(e,t){if(!l.has(t))return;let i=e.s.current();if(!i)return;let o=r.Dom.up(i,r.Dom.isCell,e.editor);if(!o)return;let{range:a}=e.s;if(t!==n.KEY_TAB&&i!==o){let e=t===n.KEY_RIGHT||t===n.KEY_DOWN,l=(0,s.call)(e?r.Dom.next:r.Dom.prev,i,e=>t===n.KEY_UP||t===n.KEY_DOWN?r.Dom.isTag(e,"br"):!!e,o);if(!e&&(l||t!==n.KEY_UP&&r.Dom.isText(i)&&0!==a.startOffset)||e&&(l||t!==n.KEY_DOWN&&r.Dom.isText(i)&&i.nodeValue&&a.startOffset!==i.nodeValue.length))return}return o}(e,i);if(!o)return;let c=e.getInstance(a.Table,e.o),u=r.Dom.closest(o,"table",e.editor),d=null,h=i===n.KEY_LEFT||t.shiftKey,f=()=>(0,s.call)(h?r.Dom.prev:r.Dom.next,o,r.Dom.isCell,u);switch(i){case n.KEY_TAB:case n.KEY_LEFT:(d=f())||(c.appendRow(u,!!h&&u.querySelector("tr"),!h),d=f());break;case n.KEY_UP:case n.KEY_DOWN:{let e=c.formalMatrix(u),[t,r]=c.formalCoordinate(u,o);i===n.KEY_UP?void 0!==e[t-1]&&(d=e[t-1][r]):void 0!==e[t+1]&&(d=e[t+1][r])}}if(d){if(e.e.fire("hidePopup hideResizer"),d.firstChild)i===n.KEY_TAB?e.s.select(d,!0):e.s.setCursorIn(d,i===n.KEY_RIGHT||i===n.KEY_DOWN);else{let t=e.createInside.element("br");d.appendChild(t),e.s.setCursorBefore(t)}return e.synchronizeValues(),!1}})})},40329:function(e,t,i){var n=i(22732),r=i(21537),o=i(43555),s=i(12153),a=i(6441),l=i(6091);a.Config.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",l.default),a.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup:(e,t,i,s)=>{e.editor.normalize();let a=e.history.snapshot.make(),l=s.control,c=l.data&&l.data.rows?l.data.rows:10,u=l.data&&l.data.cols?l.data.cols:10,d=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";let t=[];if(l.data){let e=l.data.classList;Object.keys(e).forEach(i=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${i}" type="checkbox"/>${e[i]}</label>`)})}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> × <span>1</span></label></form>'),h=d.querySelectorAll("span")[0],f=d.querySelectorAll("span")[1],p=d.querySelector(".jodit-form__container"),m=d.querySelector(".jodit-form__options"),g=[],v=c*u;for(let t=0;t<v;t+=1)g[t]||g.push(e.c.element("span",{dataIndex:t}));if(e.e.on(p,"mousemove",(e,t)=>{let i=e.target;if(!n.Dom.isTag(i,"span"))return;let r=void 0===t||isNaN(t)?parseInt((0,o.attr)(i,"-index")||"0",10):t||0,s=Math.ceil((r+1)/u),a=r%u+1;for(let e=0;e<g.length;e+=1)a>=e%u+1&&s>=Math.ceil((e+1)/u)?g[e].className="jodit_hovered":g[e].className="";f.textContent=a.toString(),h.textContent=s.toString()}).on(p,"touchstart mousedown",t=>{let s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!n.Dom.isTag(s,"span"))return;let l=parseInt((0,o.attr)(s,"-index")||"0",10),c=Math.ceil((l+1)/u),d=l%u+1,h=e.createInside,f=h.element("tbody"),p=h.element("table");p.appendChild(f);let g=null,v,b;for(let e=1;c>=e;e+=1){v=h.element("tr");for(let e=1;e<=d;e+=1)b=h.element("td"),g||(g=b),(0,r.css)(b,"width",(100/d).toFixed(4)+"%"),b.appendChild(h.element("br")),v.appendChild(h.text("\n")),v.appendChild(h.text(" ")),v.appendChild(b);f.appendChild(h.text("\n")),f.appendChild(v)}(0,r.$$)("input[type=checkbox]:checked",m).forEach(e=>{e.value.split(/[\s]+/).forEach(e=>{p.classList.add(e)})}),e.s.restore(),e.s.removeMarkers(),e.editor.normalize(),e.history.snapshot.restore(a);let y=n.Dom.furthest(e.s.current(),n.Dom.isBlock,e.editor);if(y&&n.Dom.isEmpty(y))n.Dom.replace(y,p,void 0,!1,!0);else if(y){let t=h.text("\n");if(e.o.table.splitBlockOnInsertTable){let i=e.s.range;i.collapse(!1),i.insertNode(t),i.collapse(!1),e.s.selectRange(i);let r=e.s.splitSelection(y,t);r?n.Dom.after(r,p):n.Dom.after(y,p)}else n.Dom.after(y,t),n.Dom.after(t,p)}else e.s.insertNode(p,!1);g&&(e.s.setCursorIn(g),(0,r.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),i()}),s&&s.parentElement){for(let t=0;t<c;t+=1){let i=e.c.div();for(let e=0;e<u;e+=1)i.appendChild(g[t*u+e]);p.appendChild(i)}g[0]&&(g[0].className="hovered")}return d},tooltip:"Insert table"}},43003:function(e,t,i){var n=i(580);i(40329),n.pluginSystem.add("table",function(e){e.registerButton({name:"table",group:"insert"})})},6091:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M576 1376v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm-512-768v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm512 384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm0-384v-192q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v192q0 14 9 23t23 9h320q14 0 23-9t9-23zm128-320v1088q0 66-47 113t-113 47h-1344q-66 0-113-47t-47-113v-1088q0-66 47-113t113-47h1344q66 0 113 47t47 113z"/> </svg> '},14984:function(e,t,i){var n=i(21537),r=i(62843),o=i(2525),s=i(12153),a=i(6441),l=i(92762),c=i(37775);a.Config.prototype.video={parseUrlToVideoEmbed:n.convertMediaUrlToVideoEmbed,defaultWidth:400,defaultHeight:345},s.Icon.set("video",c.default),a.Config.prototype.controls.video={popup:(e,t,i)=>{let s=new o.UIForm(e,[new o.UIBlock(e,[new o.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new o.UIBlock(e,[(0,r.Button)(e,"","Insert","primary").onAction(()=>s.submit())])]),a=new o.UIForm(e,[new o.UIBlock(e,[new o.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new o.UIBlock(e,[(0,r.Button)(e,"","Insert","primary").onAction(()=>a.submit())])]),c=[],u=t=>{e.s.restore(),e.s.insertHTML(t),i()};return e.s.save(),c.push({icon:"link",name:"Link",content:s.container},{icon:"source",name:"Code",content:a.container}),s.onSubmit(t=>{var i,r,o,s;u((0,n.call)(null!=(r=null==(i=e.o.video)?void 0:i.parseUrlToVideoEmbed)?r:n.convertMediaUrlToVideoEmbed,t.url,{width:null==(o=e.o.video)?void 0:o.defaultWidth,height:null==(s=e.o.video)?void 0:s.defaultHeight}))}),a.onSubmit(e=>{u(e.code)}),(0,l.TabsWidget)(e,c)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},26551:function(e,t,i){var n=i(580);i(14984),n.pluginSystem.add("video",function(e){e.registerButton({name:"video",group:"media"})})},37775:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 352v1088q0 42-39 59-13 5-25 5-27 0-45-19l-403-403v166q0 119-84.5 203.5t-203.5 84.5h-704q-119 0-203.5-84.5t-84.5-203.5v-704q0-119 84.5-203.5t203.5-84.5h704q119 0 203.5 84.5t84.5 203.5v165l403-402q18-19 45-19 12 0 25 5 39 17 39 59z"/> </svg> '},96967:function(e,t,i){i(6441).Config.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},72253:function(e,t,i){var n=i(65478),r=i(22732),o=i(580),s=i(70799),a=i(50911);i(96967);var l=function(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s};class c extends a.Plugin{afterInit(e){"br"!==e.o.enter.toLowerCase()&&e.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(e){e.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:e}=this;if(!e.isEditorMode())return;let t=e.editor.firstChild,i=!1;for(;t;){if(t=function(e,t){let i=e,n=e;do if(r.Dom.isElement(n)&&r.Dom.isLeaf(n)&&!r.Dom.isList(n.parentElement)){let e=r.Dom.findNotEmptySibling(n,!1);r.Dom.isTag(i,"ul")?i.appendChild(n):i=r.Dom.wrap(n,"ul",t.createInside),n=e}else break;while(n);return i}(t,e),this.isSuitableStart(t)){i||e.s.save(),i=!0;let n=e.createInside.element(e.o.enter);for(r.Dom.before(t,n);t&&this.isSuitable(t);){let e=t.nextSibling;n.appendChild(t),t=e}n.normalize(),t=n}t=t&&t.nextSibling}i&&(e.s.restore(),"afterInit"===e.e.current&&e.e.fire("internalChange"))}preprocessInput(){let{jodit:e}=this,t="afterInit"===e.e.current;if(!e.isEditorMode()||e.editor.firstChild||!e.o.wrapNodes.emptyBlockAfterInit&&t)return;let i=e.createInside.element(e.o.enter),n=e.createInside.element("br");r.Dom.append(i,n),r.Dom.append(e.editor,i),e.s.isFocused()&&e.s.setCursorBefore(n),e.e.fire("internalChange")}constructor(){super(...arguments),this.isSuitableStart=e=>{var t;return r.Dom.isText(e)&&(0,s.isString)(e.nodeValue)&&(/[^\s]/.test(e.nodeValue)||(null==(t=e.parentNode)?void 0:t.firstChild)===e&&this.isSuitable(e.nextSibling))||this.isNotWrapped(e)&&!r.Dom.isTemporary(e)},this.isSuitable=e=>r.Dom.isText(e)||this.isNotWrapped(e),this.isNotWrapped=e=>r.Dom.isElement(e)&&!(r.Dom.isBlock(e)||r.Dom.isTag(e,this.j.o.wrapNodes.exclude))}}l([n.autobind],c.prototype,"postProcessSetEditorValue",null),l([n.autobind],c.prototype,"preprocessInput",null),o.pluginSystem.add("wrapNodes",c)},86012:function(e,t,i){i(6441).Config.prototype.showXPathInStatusbar=!0},83671:function(e,t,i){var n=i(82758),r=i(22732),o=i(580),s=i(49055),a=i(29960),l=i(76078),c=i(50911),u=i(80870),d=i(21491);i(86012);class h extends c.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,a.attr)(this.container,"role","list");let e=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===n.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=n.INVISIBLE_SPACE),this.appendSelectAll()))};this.j.e.off(".xpath").on("pointerup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",e),e(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),r.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(e,t)=>(this.menu||(this.menu=new u.ContextMenu(this.j)),this.menu.show(t.clientX,t.clientY,[{icon:"bin",title:e===this.j.editor?"Clear":"Remove",exec:()=>{e!==this.j.editor?r.Dom.safeRemove(e):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(e)}}]),!1),this.onSelectPath=(e,t)=>{this.j.s.focus();let i=(0,a.attr)(t.target,"-path")||"/";if("/"===i)return this.j.execCommand("selectall"),!1;try{let e=this.j.ed.evaluate(i,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(e)return this.j.s.select(e),!1}catch(e){}return this.j.s.select(e),!1},this.tpl=(e,t,i,n)=>{let r=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${t}" title="${n}" tabindex="-1"'>${(0,s.trim)(i)}</a></span>`),o=r.firstChild;return this.j.e.on(o,"click",this.onSelectPath.bind(this,e)).on(o,"contextmenu",this.onContext.bind(this,e)),r},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,d.makeButton)(this.j,function(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},n=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(n=n.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),n.forEach(function(t){var n;n=i[t],t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n})}return e}({name:"selectall"},this.j.o.controls.selectall)),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;let e=this.j.s.current();if(this.container&&(this.container.innerHTML=n.INVISIBLE_SPACE),e){let t,i,n;r.Dom.up(e,e=>{e&&this.j.editor!==e&&!r.Dom.isText(e)&&!r.Dom.isComment(e)&&(t=e.nodeName.toLowerCase(),i=(0,l.getXPathByElement)(e,this.j.editor).replace(/^\//,""),n=this.tpl(e,i,t,this.j.i18n("Select %s",t)),this.container&&this.container.insertBefore(n,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)}}o.pluginSystem.add("xpath",h)},78173:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg> '},16260:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg> '},37663:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1171 960q0 13-10 23l-466 466q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l393-393-393-393q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg> '},51036:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 1184q0 13-10 23l-50 50q-10 10-23 10t-23-10l-393-393-393 393q-10 10-23 10t-23-10l-50-50q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l466 466q10 10 10 23z"/> </svg> '},31554:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M704 1376v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm256 0v-704q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v704q0 14 9 23t23 9h64q14 0 23-9t9-23zm-544-992h448l-48-117q-7-9-17-11h-317q-10 2-17 11zm928 32v64q0 14-9 23t-23 9h-96v948q0 83-47 143.5t-113 60.5h-832q-66 0-113-58.5t-47-141.5v-952h-96q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h309l70-167q15-37 54-63t79-26h320q40 0 79 26t54 63l70 167h309q14 0 23 9t9 23z"/> </svg> '},18309:function(e,t){t.default='<svg viewBox="0 0 14 14" xmlns="http://www.w3.org/2000/svg"> <g stroke="none" stroke-width="1"> <path d="M14,1.4 L12.6,0 L7,5.6 L1.4,0 L0,1.4 L5.6,7 L0,12.6 L1.4,14 L7,8.4 L12.6,14 L14,12.6 L8.4,7 L14,1.4 Z"/> </g> </svg> '},99762:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-896q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h896q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1408q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1408q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-640q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h640q26 0 45 19t19 45z"/> </svg> '},7903:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1472 930v318q0 119-84.5 203.5t-203.5 84.5h-832q-119 0-203.5-84.5t-84.5-203.5v-832q0-119 84.5-203.5t203.5-84.5h832q63 0 117 25 15 7 18 23 3 17-9 29l-49 49q-10 10-23 10-3 0-9-2-23-6-45-6h-832q-66 0-113 47t-47 113v832q0 66 47 113t113 47h832q66 0 113-47t47-113v-254q0-13 9-22l64-64q10-10 23-10 6 0 12 3 20 8 20 29zm231-489l-814 814q-24 24-57 24t-57-24l-430-430q-24-24-24-57t24-57l110-110q24-24 57-24t57 24l263 263 647-647q24-24 57-24t57 24l110 110q24 24 24 57t-24 57z"/> </svg> '},58032:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg> '},52507:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg> '},43478:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg> '},60097:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 512v-472q22 14 36 28l408 408q14 14 28 36h-472zm-128 32q0 40 28 68t68 28h544v1056q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1600q0-40 28-68t68-28h800v544z"/> </svg> '},49155:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 608v704q0 92-66 158t-158 66h-1216q-92 0-158-66t-66-158v-960q0-92 66-158t158-66h320q92 0 158 66t66 158v32h672q92 0 158 66t66 158z"/> </svg> '},17555:function(e,t,i){i.r(t),i.d(t,{angle_down:function(){return n.default},angle_left:function(){return r.default},angle_right:function(){return o.default},angle_up:function(){return s.default},bin:function(){return a.default},cancel:function(){return l.default},center:function(){return c.default},check:function(){return u.default},chevron:function(){return d.default},dots:function(){return h.default},eye:function(){return f.default},file:function(){return p.default},folder:function(){return m.default},info_circle:function(){return g.default},left:function(){return v.default},lock:function(){return b.default},ok:function(){return y.default},pencil:function(){return w.default},plus:function(){return S.default},resize_handler:function(){return _.default},right:function(){return C.default},save:function(){return k.default},settings:function(){return E.default},unlock:function(){return I.default},update:function(){return T.default},upload:function(){return D.default},valign:function(){return j.default}});var n=i(78173),r=i(16260),o=i(37663),s=i(51036),a=i(31554),l=i(18309),c=i(99762),u=i(7903),d=i(58032),h=i(52507),f=i(43478),p=i(60097),m=i(49155),g=i(17176),v=i(57882),b=i(58908),y=i(24829),w=i(4038),S=i(45575),_=i(84858),C=i(445),k=i(36886),E=i(10766),I=i(33651),T=i(20362),D=i(12202),j=i(80152)},17176:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg> '},57882:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm256-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm-384-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg> '},58908:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg> '},24829:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 32 32"> <path d="M27 4l-15 15-7-7-5 5 12 12 20-20z"/> </svg> '},4038:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg> '},45575:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M1600 736v192q0 40-28 68t-68 28h-416v416q0 40-28 68t-68 28h-192q-40 0-68-28t-28-68v-416h-416q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h416v-416q0-40 28-68t68-28h192q40 0 68 28t28 68v416h416q40 0 68 28t28 68z"/></svg> '},84858:function(e,t){t.default='<svg viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg"> <path d="M5.9814 11.8049C5.59087 11.4144 5.59087 10.7812 5.9814 10.3907L10.224 6.14806C10.6146 5.75754 11.2477 5.75754 11.6383 6.14806C12.0288 6.53859 12.0288 7.17175 11.6383 7.56228L7.39561 11.8049C7.00509 12.1954 6.37192 12.1954 5.9814 11.8049Z"/> <path d="M0.707107 12.0208C0.316582 11.6303 0.316582 10.9971 0.707107 10.6066L10.6066 0.707121C10.9971 0.316597 11.6303 0.316596 12.0208 0.707121C12.4113 1.09764 12.4113 1.73081 12.0208 2.12133L2.12132 12.0208C1.7308 12.4114 1.09763 12.4114 0.707107 12.0208Z"/> </svg> '},445:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg> '},36886:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1536h768v-384h-768v384zm896 0h128v-896q0-14-10-38.5t-20-34.5l-281-281q-10-10-34-20t-39-10v416q0 40-28 68t-68 28h-576q-40 0-68-28t-28-68v-416h-128v1280h128v-416q0-40 28-68t68-28h832q40 0 68 28t28 68v416zm-384-928v-320q0-13-9.5-22.5t-22.5-9.5h-192q-13 0-22.5 9.5t-9.5 22.5v320q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5-9.5t9.5-22.5zm640 32v928q0 40-28 68t-68 28h-1344q-40 0-68-28t-28-68v-1344q0-40 28-68t68-28h928q40 0 88 20t76 48l280 280q28 28 48 76t20 88z"/> </svg> '},10766:function(e,t){t.default='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path stroke="null" d="m42.276011,26.302547c0.098397,-0.76605 0.172194,-1.54407 0.172194,-2.33406s-0.073797,-1.56801 -0.172194,-2.33406l5.202718,-3.961917c0.467384,-0.359086 0.602679,-1.005441 0.29519,-1.532101l-4.919828,-8.29489c-0.307489,-0.51469 -0.947067,-0.730142 -1.500548,-0.51469l-6.125186,2.405877c-1.266856,-0.945594 -2.656707,-1.747553 -4.157255,-2.357999l-0.922468,-6.343855c-0.110696,-0.562568 -0.614979,-1.005441 -1.229957,-1.005441l-9.839656,0c-0.614979,0 -1.119261,0.442873 -1.217657,1.005441l-0.922468,6.343855c-1.500548,0.610446 -2.890399,1.400436 -4.157255,2.357999l-6.125186,-2.405877c-0.553481,-0.203482 -1.193058,0 -1.500548,0.51469l-4.919828,8.29489c-0.307489,0.51469 -0.172194,1.161045 0.29519,1.532101l5.190419,3.961917c-0.098397,0.76605 -0.172194,1.54407 -0.172194,2.33406s0.073797,1.56801 0.172194,2.33406l-5.190419,3.961917c-0.467384,0.359086 -0.602679,1.005441 -0.29519,1.532101l4.919828,8.29489c0.307489,0.51469 0.947067,0.730142 1.500548,0.51469l6.125186,-2.405877c1.266856,0.945594 2.656707,1.747553 4.157255,2.357999l0.922468,6.343855c0.098397,0.562568 0.602679,1.005441 1.217657,1.005441l9.839656,0c0.614979,0 1.119261,-0.442873 1.217657,-1.005441l0.922468,-6.343855c1.500548,-0.610446 2.890399,-1.400436 4.157255,-2.357999l6.125186,2.405877c0.553481,0.203482 1.193058,0 1.500548,-0.51469l4.919828,-8.29489c0.307489,-0.51469 0.172194,-1.161045 -0.29519,-1.532101l-5.190419,-3.961917zm-18.277162,6.044617c-4.759934,0 -8.609699,-3.746465 -8.609699,-8.378677s3.849766,-8.378677 8.609699,-8.378677s8.609699,3.746465 8.609699,8.378677s-3.849766,8.378677 -8.609699,8.378677z"/> </svg> '},33651:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1728 576v256q0 26-19 45t-45 19h-64q-26 0-45-19t-19-45v-256q0-106-75-181t-181-75-181 75-75 181v192h96q40 0 68 28t28 68v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h672v-192q0-185 131.5-316.5t316.5-131.5 316.5 131.5 131.5 316.5z"/> </svg> '},20362:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg> '},12202:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg> '},80152:function(e,t){t.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1216 320q0 26-19 45t-45 19h-128v1024h128q26 0 45 19t19 45-19 45l-256 256q-19 19-45 19t-45-19l-256-256q-19-19-19-45t19-45 45-19h128v-1024h-128q-26 0-45-19t-19-45 19-45l256-256q19-19 45-19t45 19l256 256q19 19 19 45z"/> </svg> '},31356:function(e,t,i){i.d(t,{ListReconciler:function(){return n}});class n{static reconcile(e,t,i){let{getId:n,isEqual:r=(e,t)=>n(e)===n(t),preserveOrder:o=!0}=i,s=new Map,a=new Map;e.forEach((e,t)=>{let i=n(e);s.set(i,e),a.set(i,t)});let l=new Map,c=new Map;t.forEach((e,t)=>{let i=n(e);l.set(i,e),c.set(i,t)});let u=[],d=[],h=[],f=[];return t.forEach((e,t)=>{let i=n(e),l=s.get(i);l?!r(l,e)||o&&a.get(i)!==t?d.push({oldItem:l,newItem:e,index:o?t:a.get(i)}):f.push(l):u.push(e)}),e.forEach(e=>{let t=n(e);l.has(t)||h.push(e)}),{toCreate:u,toUpdate:d,toRemove:h,unchanged:f}}static applyResult(e,t,i={}){t.toRemove.forEach(t=>{let n=e.indexOf(t);if(-1!==n){var r;null==(r=i.onRemove)||r.call(i,t,n),e.splice(n,1)}}),t.toUpdate.forEach(({oldItem:t,newItem:n,index:r})=>{let o=e.indexOf(t);if(-1!==o){var s;null==(s=i.onUpdate)||s.call(i,t,n,r),e[o]=n}}),t.toCreate.forEach(t=>{var n;null==(n=i.onCreate)||n.call(i,t,e.length),e.push(t)})}}},2692:function(e,t,i){i.d(t,{JoditPro:function(){return l}});var n=i(77688),r=i(82758),o=i(63799),s=i(41180),a=i(86019);class l extends a.Jodit{static make(e,t){return new this(e,t)}beforeInitHook(){if(r.IS_PROD&&!r.IS_TEST&&this.o.loadExternalConfig)return(0,o.appendScriptAsync)(this,this.basePath+"config.js")}afterInitHook(){(0,n._)(function*(){if((yield this.e.fire("checkReserve",location.host))!=="normal"){if(this.isInDestruct)return;let e=this.c.div("",'Trial version. Buy <a href="https://xdsoft.net/jodit/pro/">Jodit Pro</a>');r.IS_TEST||r.IS_PROD,(0,s.css)(e,{position:"absolute",color:"red",right:10,bottom:10}),this.addDisclaimer(e)}}).call(this).catch(()=>null),super.afterInitHook()}getVersion(){return"PRO "+r.APP_VERSION}}},44864:function(e,t,i){i.r(t),i.d(t,{autocomplete:function(){return g}});var n=i(77688),r=i(82749),o=i(56075),s=i(31635);i(53586);var a=i(83725),l=i(64199),c=i(82758),u=i(65478),d=i(2748),h=i(21537),f=i(50911),p=i(56917),m=i(2692);class g extends f.Plugin{get list(){return new a.Autocomplete(this.jodit)}get popup(){let e=new p.Popup(this.jodit);return e.setMod("padding",!1),e.setContent(this.list.container),this.jodit.e.on(e,"beforeClose",()=>{this.list.currentSelection=0}),e}afterInit(e){e.e.on("select.autocomplete",t=>{let i=t.value;(0,h.isFunction)(t.insertValueRenderer)&&(i=t.insertValueRenderer(t)),d.Dom.isNode(i)||(i=e.createInside.fromHTML(i)),(0,l.replaceTextLeftOfCursorAfterSpace)(e.s.range,i),this.j.s.setCursorAfter(i),this.j.synchronizeValues(),this.popup.close()}).on("keydown.autocomplete",this.onKeyDown).on("keydown.autocomplete",this.onKeyControlDown,{top:!0}).on("beforeEnter.autocomplete",this.onEnter,{top:!0}).on("autocomplete.autocomplete",this.onAutoComplete).on("registerAutocompleteSource.autocomplete",this.registerAutocompleteSource).on("unregisterAutocompleteSource.autocomplete",this.unregisterAutocompleteSource)}registerAutocompleteSource(e){this.sources.push(e)}unregisterAutocompleteSource(e){let t=this.sources.indexOf(e);-1!==t&&this.sources.splice(t,1)}static isControlKey(e){return e===c.KEY_DOWN||e===c.KEY_UP||e===c.KEY_ENTER||e===c.KEY_TAB}onKeyDown(e){return(0,n._)(function*(){var t,i;if(e.key===c.KEY_ESC){this.popup.isOpened&&this.popup.close();return}let{s:n}=this.j;if(g.isControlKey(e.key)||!n.isInsideArea||!n.isCollapsed)return;let r=(null==(t=this.j.s.sel)?void 0:t.rangeCount)?null==(i=this.j.s.sel)?void 0:i.getRangeAt(0):null,o=r&&(0,l.getTextLeftOfCursor)(r).split(" ").pop();if(o&&(0,h.trim)(o).length){let e=yield this.onAutoComplete(o);if(e.length)return this.openPopup(e)}this.popup.isOpened&&this.popup.close()}).call(this)}onKeyControlDown(e){if(this.popup.isOpened&&g.isControlKey(e.key)){switch(e.key){case c.KEY_DOWN:this.list.selectNext();break;case c.KEY_UP:this.list.selectPrevious();break;case c.KEY_TAB:this.list.select()}return this.j.e.stopPropagation(e.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}onAutoComplete(e){return(0,n._)(function*(){let t=[];return yield Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map(i=>(0,n._)(function*(){t.push(...yield this.resolveFeed(e,i))}).call(this))),t}).call(this)}resolveFeed(e,t,i){return(0,n._)(function*(){let n;if((0,h.isPromise)(t)&&(t=yield t),(0,h.isFunction)(t))n=yield t(e);else if((0,h.isArray)(t)){let i=t,{isMatchedQuery:r}=this.j.o.autocomplete;n=i.filter(t=>(0,h.isString)(t)?r(e,t):r(e,t.value)).map(e=>(0,h.isString)(e)?{title:e,value:e}:e)}else n=yield this.resolveFeed(e,t.feed,t);if(this.j.isDestructed)return[];if(n&&(0,h.isArray)(n)){let{itemRenderer:e,insertValueRenderer:t,maxItems:r}=this.j.o.autocomplete;return(n=n.map(n=>{var r,s;return(0,o._)({itemRenderer:null!=(r=null==i?void 0:i.itemRenderer)?r:e,insertValueRenderer:null!=(s=null==i?void 0:i.insertValueRenderer)?s:t},n)})).slice(0,r)}return[]}).call(this)}openPopup(e){this.list.build(e),this.popup.open(()=>{let{j:e}=this,t=e.s.range.getBoundingClientRect(),i={left:t.left,top:t.top,height:t.height,width:t.width};if(e.o.iframe&&e.iframe){let t=(0,h.position)(e.iframe,e);i.top+=t.top,i.left+=t.left}return i})}beforeDestruct(e){e.e.off(this.list).off(this.popup).off("keydown.autocomplete",this.onKeyDown).off("autocomplete.autocomplete",this.onAutoComplete).off(".autocomplete"),this.list.destruct(),this.popup.destruct()}constructor(...e){super(...e),(0,r._)(this,"hasStyle",!m.JoditPro.fatMode),(0,r._)(this,"sources",[])}}(0,r._)(g,"requires",["enter","license"]),(0,s.__decorate)([u.cache],g.prototype,"list",null),(0,s.__decorate)([u.cache],g.prototype,"popup",null),(0,s.__decorate)([u.autobind],g.prototype,"registerAutocompleteSource",null),(0,s.__decorate)([u.autobind],g.prototype,"unregisterAutocompleteSource",null),(0,s.__decorate)([(0,u.debounce)()],g.prototype,"onKeyDown",null),(0,s.__decorate)([u.autobind],g.prototype,"onKeyControlDown",null),(0,s.__decorate)([u.autobind],g.prototype,"onEnter",null),(0,s.__decorate)([u.autobind],g.prototype,"onAutoComplete",null),(0,s.__decorate)([u.autobind],g.prototype,"resolveFeed",null),m.JoditPro.plugins.add("autocomplete",g)},53586:function(e,t,i){i(6441).Config.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery:(e,t)=>0===t.toLowerCase().indexOf(e.toLowerCase()),itemRenderer:e=>{var t;return null!=(t=e.title)?t:e.value},insertValueRenderer:e=>e.value+" "}},64199:function(e,t,i){i.d(t,{getTextLeftOfCursor:function(){return r},replaceTextLeftOfCursorAfterSpace:function(){return o}});var n=i(2748);function r(e){var t,i,r,o;let{startContainer:s,startOffset:a}=e;if(n.Dom.isText(s))return null!=(t=null==(i=s.nodeValue)?void 0:i.substr(0,a))?t:"";let l=s.childNodes[a];if(!l)return"";if(n.Dom.isText(l))return null!=(r=l.nodeValue)?r:"";let c=n.Dom.findNotEmptyNeighbor(l,!0,s);return n.Dom.isText(c)&&null!=(o=l.nodeValue)?o:""}function o(e,t){var i,r,o;let{startContainer:s,startOffset:a}=e;if(!n.Dom.isText(s)&&(s=s.childNodes[a-1],n.Dom.isText(s)&&(a=null!=(i=null==(r=s.nodeValue)?void 0:r.length)?i:0)),n.Dom.isText(s)){let i=null!=(o=s.nodeValue)?o:"",n=i.substring(0,a),r=i.substring(a),l=n.split(" ");l[l.length-1]="";let c=l.join(" ");s.nodeValue=c+r,e.setStart(s,c.length),e.insertNode(t);return}}},83725:function(e,t,i){i.d(t,{Autocomplete:function(){return c}});var n=i(82749),r=i(31635),o=i(31356),s=i(35934),a=i(65478),l=i(62405);class c extends l.UIGroup{className(){return"Autocomplete"}onChangeSelection(){var e,t;this.elements.forEach(e=>e.setMod("active",!1)),null==(e=this.elements[this.currentSelection])||e.setMod("active",!0),null==(t=this.elements[this.currentSelection])||t.container.scrollIntoView(!1)}build(e){var t;let i=null==(t=this.elements[this.currentSelection])?void 0:t.item.value,n=e=>e.value,r=o.ListReconciler.reconcile(this.__previousList,e,{getId:n}),a=new Set;r.toRemove.forEach(e=>{let t=n(e);if(a.has(t))return;a.add(t);let i=this.itemsMap.get(t);i&&(-1!==this.elements.indexOf(i)&&(this.remove(i),i.destruct()),this.itemsMap.delete(e.value))}),r.toCreate.forEach(t=>{let i=n(t);if(a.has(i))return;a.add(i);let r=new s.AutocompleteItem(this.jodit,t,t=>{this.currentSelection=e.findIndex(e=>n(e)===t),this.select()});this.itemsMap.set(i,r);let o=e.indexOf(t);this.append(r,o)}),r.toUpdate.forEach(({newItem:e,index:t})=>{let i=n(e);if(a.has(i))return;a.add(i);let r=this.itemsMap.get(i);r&&(r.item=e,this.elements.indexOf(r)!==t&&t<this.elements.length&&(this.remove(r),this.append(r,t)))});let l=this.currentSelection;this.currentSelection=Math.max(0,e.findIndex(e=>n(e)===i)),l===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...e]}selectNext(){this.currentSelection+1<=this.elements.length-1?this.currentSelection+=1:this.currentSelection=0}selectPrevious(){this.currentSelection-1>=0?this.currentSelection-=1:this.currentSelection=this.elements.length-1}select(){this.j.e.fire("select.autocomplete",this.elements[this.currentSelection].item)}constructor(...e){super(...e),(0,n._)(this,"elements",[]),(0,n._)(this,"currentSelection",-1),(0,n._)(this,"__previousList",[]),(0,n._)(this,"itemsMap",new Map)}}(0,r.__decorate)([(0,a.watch)("currentSelection")],c.prototype,"onChangeSelection",null),c=(0,r.__decorate)([a.component],c)},35934:function(e,t,i){i.d(t,{AutocompleteItem:function(){return l}});var n=i(82749),r=i(31635),o=i(65478),s=i(27613),a=i(48538);class l extends a.UIElement{className(){return"AutocompleteItem"}onClickPrevent(e){e.preventDefault(),e.stopPropagation()}onClickHandler(){this.onClick(this.value)}constructor(e,t,i){super(e),(0,n._)(this,"item",void 0),(0,n._)(this,"onClick",void 0),(0,n._)(this,"value",void 0),this.item=t,this.onClick=i,this.value="";const{container:r}=this;if(this.value=t.value,(0,s.isFunction)(t.itemRenderer)){const e=t.itemRenderer(t);(0,s.isString)(e)?r.innerHTML=e:r.appendChild(e)}else{var o;r.innerText=null!=(o=t.title)?o:t.value}}}(0,r.__decorate)([(0,o.watch)("container:mousedown container:touchstart")],l.prototype,"onClickPrevent",null),(0,r.__decorate)([(0,o.watch)("container:click")],l.prototype,"onClickHandler",null),l=(0,r.__decorate)([o.component],l)},12373:function(e,t,i){i(25187),i(58858),i(21246),i(44864),i(3115)},38882:function(e,t,i){i.d(t,{isAllowedSubdomain:function(){return r},validateLicense:function(){return function e(t,i){var n;let o;if(n=t=t.replace(/[^A-Z0-9-]/g,"R"),/[A-Z0-9][013456][A-P0-9]{2}[ABC]-([0-3])[ELPDF][E-L4-8]{2}\1-[A-D][R0][J-P5-6]{3}-[DPGHYE][GFPOD]{3}[A-SX-Z]/.test(n)||r(i))return!0;let s=(o=i.split(".")).map(e=>{let t=e[0];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)+1):t}).concat(o.map(e=>{let t=e[e.length-1];return"string"==typeof t&&t.charCodeAt(0)?String.fromCharCode(t.charCodeAt(0)-1):t})).map(e=>null!=e&&/\w/.test(e)?e:"r"),a=["[A-F013456][A-F0-9]{3}{part}","([0-3]){part}[E-L4-8]{2}\\1","[A-D]{part}[J-P5-6]{3}","{part}[A-R0-9]{3}[X-Z]"].map((e,t)=>e.replace("{part}",s[t]||"[R-T]")),l=RegExp(`^${a.join("-")}$`,"i"),c=t.substring(12,13),u=l.test(t);if(!u&&c===(typeof!i).toUpperCase()[5]){let n=i.split(".");return n.shift(),!!n.length&&e(t,n.join("."))}return u}}});let n=["*127.0.0.*","*localhost*","staging.","*.dev.","*.test.","*.stg.","stg.*","test.*","beta.*","*demo.*","*test.*","acceptatie.*"];function r(e){return n.some(t=>new RegExp(t.replace(/\*/g,"%ANY%").replace(/[/\-\\^$*+?.()|[\]{}]/g,"\\$&").replace(/%ANY%/g,".*")).test(e))}},21246:function(e,t,i){i.d(t,{license:function(){return d}});var n=i(77688),r=i(38882),o=i(82758),s=i(2748),a=i(87612),l=i(70799),c=i(20356),u=i(2692);class d extends c.Plugin{static make(e){return new d(e)}afterInit(e){this.j.e.on("checkReserve",e=>(0,n._)(function*(){let t=this.j.o.license;if((0,r.isAllowedSubdomain)(e))return"normal";if(!t||!(0,l.isString)(t))return"";let i=(0,r.validateLicense)(t,e);return i||!(t[12]>"A")||o.IS_TEST||(i=yield this.validateLicenseRemote(t,e)),i?"normal":""}).call(this))}beforeDestruct(e){}validateLicenseRemote(e,t){return(0,n._)(function*(){let i="validateJoditLicenseRemote",n=this.j.storage.get(i);if(n&&(0,r.validateLicense)(n,t))return!0;let o=document.createElement("script");return o.src=`https://xdsoft.net/jodit/pro/api/licenses/validate/?code=${encodeURIComponent(e)}&host=${encodeURIComponent(t)}`,document.body.appendChild(o),this.j.async.promise(e=>{window.onJoditResolveKeyCode=n=>{try{if((0,a.isBoolean)(n))return e(n);(0,r.validateLicense)(n,t)?(this.j.storage.set(i,n),e(!0)):e(!1)}finally{s.Dom.safeRemove(o)}},this.j.async.setTimeout(()=>{e(!1),s.Dom.safeRemove(o)},3e3)})}).call(this)}}u.JoditPro.plugins.add("license",d)},20823:function(e,t,i){i.d(t,{cleanStyles:function(){return r}});let n={"text-justify":["inter-ideograph"]};function r(e){return e.isElement&&e.attributes.style&&Object.keys(n).forEach(t=>{let i=n[t];if(e.style.has(t)){var r;i.includes(null==(r=e.style.get(t))?void 0:r.toString())&&e.style.set(t,null)}}),e}},47064:function(e,t,i){i.d(t,{clearAttributes:function(){return r}});let n=["cellspacing","cellpadding","border","v:shapes","o:spid"];function r(e){if(/^OLE_LINK\d+$/.test(e.attributes.name)&&(e.attributes.name=null,0===e.length))return e.remove(),null;for(let t of("_GoBack"===e.attributes.name&&(e.attributes.name=null),n))e.attributes[t]&&(e.attributes[t]=null);return e}},41157:function(e,t,i){i.d(t,{clearClassName:function(){return r}});var n=i(49055);let r=e=>(e.attributes.class&&(e.attributes.class=e.attributes.class.replace(/(el\d+)|(font\d+)|msonormal|msolistparagraph\w*/gi,""),(0,n.trim)(e.attributes.class)||(e.attributes.class=null)),e)},53585:function(e,t,i){i.d(t,{convertStyleUnitToPixels:function(){return r}});var n=i(43712);let r=(e,{jodit:t})=>{if(!t.o.pasteFromWord.convertUnitsToPixel)return e;let{style:i}=e;return i.forEach(e=>{let t=i.get(e);t&&i.set(e,t.toString().replace(/\d+(\.\d+)?(pt|cm)/g,e=>(0,n.convertUnitToPx)(e)+"px"))}),e}},80591:function(e,t,i){i.d(t,{convertToList:function(){return l}});var n=i(82758),r=i(10058),o=i(97420),s=i(31269),a=i(43712);function l(e){if((0,o.isPseudoLeaf)(e)){e.name="li",e.style.set("text-indent",null);let h=c(e),f=/[\da-np-zA-NP-Z].?/.test(h)?"ol":"ul",p=function(e,t){for(let t in r.listStyleMap)if(RegExp(t).test(e))return r.listStyleMap[t];return"ol"===t?"decimal":"disc"}(h,f);e.attributes[r.TYPE_KEY]=f,e.attributes[r.STYLE_KEY]=p,(0,s.calcListLevels)(e),function(e){for(;e;){let t=e.previousElement;if(!((0,o.isLeaf)(t)||(0,o.isList)(t)))break;if((0,o.isLeaf)(t)){if(e.attributes[r.LEVEL_KEY]<t.attributes[r.LEVEL_KEY]||e.attributes[r.LEVEL_KEY]===t.attributes[r.LEVEL_KEY]&&e.parent&&(0,o.isSameType)(e,e.parent))break;t.append(e);continue}if(e.attributes[r.LEVEL_KEY]<t.attributes[r.LEVEL_KEY]||e.attributes[r.LEVEL_KEY]===t.attributes[r.LEVEL_KEY]&&!(0,o.isSameType)(e,t))break;t.append(e)}}(e);let{parent:m}=e;if(!(0,o.isList)(m)||!(0,o.isSameType)(e,m)){var t,i,n,l,u,d;let s,c=(t=e,i=f,n=h,l=p,(s=t.wrap(i)).attributes.start=(0,a.calcStartBySymbol)(n),s.attributes[r.LEVEL_KEY]=t.attributes[r.LEVEL_KEY],s.attributes[r.STYLE_KEY]=t.attributes[r.STYLE_KEY],s.attributes[r.STYLE_VALID_KEY]=t.attributes[r.STYLE_KEY],s.style.set(r.STYLE_CSS_KEY,l),(0,o.isList)(s)&&(null==(u=s.parent)?void 0:u.name)!=="li"&&("disc"===s.style.get(r.STYLE_CSS_KEY)||"decimal"===s.style.get(r.STYLE_CSS_KEY))&&s.style.set(r.STYLE_CSS_KEY,null),s);if((0,o.isList)(m)){c.remove(),null==(d=m.lastElement)||d.append(c)}}}return e}let c=e=>e.textBetween(e=>e.isComment&&/\[if.*supportLists.*]/.test((0,o.html)(e)),e=>e.isComment&&/\[endif]/.test((0,o.html)(e))).replace(/ /g,"").replace((0,n.SPACE_REG_EXP)(),"")},64693:function(e,t,i){i.d(t,{cases:function(){return g}});var n=i(20823),r=i(47064),o=i(41157),s=i(53585),a=i(80591),l=i(98940),c=i(72621),u=i(1580),d=i(18616),h=i(84021),f=i(69994),p=i(76059),m=i(21357);let g=[u.processImage,l.markPageBreakElements,h.removeExtraTags,p.replaceOldTags,r.clearAttributes,a.convertToList,d.processLinks,f.removeInsideComment,s.convertStyleUnitToPixels,o.clearClassName,c.normalizeImageProps,m.removeWidthFromTableCell,n.cleanStyles]},98940:function(e,t,i){i.d(t,{markPageBreakElements:function(){return n}});let n=e=>((e.isElement&&"always"===e.style.get("page-break-before")||"page"===e.style.get("break-before"))&&(e.attributes["jd-safe"]=!0,e.style.add("page-break-before","always"),e.isSingle&&(e.name="div")),e)},72621:function(e,t,i){i.d(t,{normalizeImageProps:function(){return n}});let n=e=>(e.isElement&&"img"===e.name&&(e.attributes.align&&(e.style.add("float",e.attributes.align),e.attributes.align=null),e.attributes.hspace&&(e.style.add("marginLeft",e.attributes.hspace+"px"),e.style.add("marginRight",e.attributes.hspace+"px"),e.attributes.hspace=null)),e)},1580:function(e,t,i){i.d(t,{processImage:function(){return r}});var n=i(21537);let r=(e,t)=>{if(t.rtf&&"#comment"===e.name&&e.attributes.nodeValue&&-1!==e.attributes.nodeValue.indexOf("<v:shape")){t.shapes||(t.shapes={});let i=t.jodit.create.fromHTML(e.attributes.nodeValue);return(0,n.toArray)(i.getElementsByTagName("v:shape")).forEach(e=>{t.shapes[e.id]=e.getAttribute("o:spid")}),e}if("img"!==e.name)return e;if(t.rtf&&e.attributes["v:shapes"]){var i,r;let n=null==(i=t.shapes)?void 0:i[e.attributes["v:shapes"]];if(n){let i=null!=(r=t.imageMap)?r:{};t.imageMap||(t.imageMap=i,o(t.rtf,"i","\\shppict",t.imageMap),o(t.rtf,"s","\\shp{",t.imageMap));let s=i[n.substring(7)];if(s){let t=[],i=s.hex.match(/[0-9a-f]{2}/gi);if(i){for(let e=0;e<i.length;e++){let n=parseInt(i[e],16);t.push(String.fromCharCode(n))}e.attributes.src="data:"+s.type+";base64,"+btoa(t.join(""))}}}}return e};function o(e,t,i,n){for(let r of e.split(i)){let e=r.split("shplid");if(1<e.length){let i,r=e[1],o="";for(let e=0;e<r.length&&!/[{ \r\n\\]/.test(r[e]);e++)o+=r[e];let s=r.split("bliptag");if(s&&s.length<2)continue;let a=null;if(s[0].indexOf("pngblip")?a="image/png":-1!==s[0].indexOf("jpegblip")&&(a="image/jpeg"),!a)continue;let l=s[1].split("}");if(l&&l.length<2)continue;if(2<l.length&&l[0].includes("blipuid"))i=l[1].split(" ");else{if((i=l[0].split(" "))&&i.length<2)continue;i.shift()}n[t+o]={hex:i.join(""),type:a}}}}},18616:function(e,t,i){i.d(t,{processLinks:function(){return n}});let n=(e,t)=>{var i;let n=null!=(i=t.links)?i:{};if(e.attributes.href&&e.attributes.href.match(/#.+$/)&&(n[e.attributes.href.match(/#(.+)$/)[1]]=e),e.attributes.name&&n[e.attributes.name]){let t=n[e.attributes.name];t.attributes.href=t.attributes.href.replace(/.*#(.*)$/,"#$1")}return t.links=n,e}},84021:function(e,t,i){i.d(t,{removeExtraTags:function(){return r}});let n=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function r(e){return"none"===e.style.get("display")||0===e.length&&"span"===e.name||n.has(e.name)?(e.remove(),null):e}},69994:function(e,t,i){i.d(t,{removeInsideComment:function(){return o}});var n=i(99658);let r=0;function o(e){return(e.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,n.html)(e))&&(r++,e.remove()),e.isComment&&r>0&&(0,n.html)(e).includes("[endif]")&&(r=r>0?r-1:0,e.remove()),r&&(e.isText||"img"===e.name&&(!e.attributes.src||/^file:/.test(e.attributes.src))))?(e.remove(),null):e}},76059:function(e,t,i){i.d(t,{replaceOldTags:function(){return r}});let n={i:"em",b:"strong"};function r(e){let{name:t}=e;return t in n&&(e.name=n[t]),e}},21357:function(e,t,i){i.d(t,{removeWidthFromTableCell:function(){return n}});let n=e=>(e.attributes.width&&("th"===e.name||"td"===e.name)&&(e.attributes.width=null),e)},13085:function(e,t,i){i(6441).Config.prototype.pasteFromWord={enable:!1,convertUnitsToPixel:!1,allowedStyleProps:["background","background-color","border","border-.*","color","float","font-family","font-size","font-style","font-weight","height","line-height","list-style-type","margin","margin-bottom","margin-left","margin-right","margin-top","padding","text-align","text-justify","text-decoration","text-indent","vertical-align","width"]}},10058:function(e,t,i){i.d(t,{LEVEL_KEY:function(){return n},STYLE_CSS_KEY:function(){return a},STYLE_KEY:function(){return o},STYLE_VALID_KEY:function(){return s},TYPE_KEY:function(){return r},listStyleMap:function(){return l}});let n="jd-list-level",r="jd-list-type",o="jd-list-style-type",s="data-list-style-type",a="list-style-type",l={"\xb7":"disc",o:"circle","\xa7":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},18594:function(e,t,i){i.d(t,{isLeaf:function(){return s},isList:function(){return o},isPseudoLeaf:function(){return a},isSameType:function(){return l}});var n=i(99658),r=i(10058);function o(e){return!!(e&&("ol"===e.name||"ul"===e.name))}function s(e){return!!(e&&"li"===e.name)}function a(e){return"li"!==e.name&&/mso-list:\s*l\d+ level\d+ lfo\d+/i.test(e.attributes.style)||/msolistparagraph/i.test(e.attributes.class)&&!!e.find(e=>e.isComment&&(0,n.html)(e).includes("supportLists")).length}function l(e,t){let i=e.attributes[r.TYPE_KEY],n=e.attributes[r.STYLE_KEY];return t.name===i&&t.attributes[r.STYLE_KEY]===n&&e.attributes[r.LEVEL_KEY]===t.attributes[r.LEVEL_KEY]}},42968:function(e,t,i){i.d(t,{JElement:function(){return u}});var n=i(82749),r=i(99658),o=i(40273),s=i(82758),a=i(2748),l=i(38837);let c=new Set(s.INSEPARABLE_TAGS);class u{get isText(){return this.type===Node.TEXT_NODE}get isElement(){return this.type===Node.ELEMENT_NODE}get isComment(){return this.type===Node.COMMENT_NODE}get isSingle(){return c.has(this.name)}get length(){return this.children.length}static make(e,t=null){return new u(e,t)}wrap(e){var t;(0,l.assert)(null!=this.parent,"You can't wrap the root element");let i=u.make(document.createElement(e),this.parent),n=null!=(t=this.parent.children.indexOf(this))?t:-1;return -1===n?this.parent.append(i):this.parent.children[n]=i,i.append(this),i}append(e){return(0,l.assert)(e!==this,"Forbidden to add to yourself"),e.remove(),this.children.push(e),e.parent=this,this}get previousElement(){if(!this.parent)return null;let{children:e}=this.parent,t=e.indexOf(this);if(-1!==t){for(let i=t-1;i>=0;i-=1)if(e[i].isElement)return e[i]}return null}get lastElement(){let{children:e}=this;for(let t=e.length-1;t>=0;t-=1)if(e[t].isElement)return e[t];return null}get previous(){var e,t,i;return null!=(e=null!=(t=this.sibling(!1))?t:null==(i=this.parent)?void 0:i.previous)?e:null}get next(){var e,t,i;return null!=(e=null!=(t=this.sibling(!0))?t:null==(i=this.parent)?void 0:i.next)?e:null}sibling(e){if(!this.parent)return null;let{children:t}=this.parent,i=t.indexOf(this);return -1!==i&&t[i+(e?1:-1)]?t[i+(e?1:-1)]:null}forEach(e,t=!1){for(let i of[...this.children])if(!1===e(i)||t&&!1===i.forEach(e,!0))return!1}find(e,t=!0){let i=[];return this.forEach(t=>{e(t)&&i.push(t)},t),i}map(e){return this.children.map(e)}remove(){var e,t;let i=null==(e=this.parent)?void 0:e.children.indexOf(this);return null!=i&&-1!==i&&(null==(t=this.parent)||t.children.splice(i,1)),this}textBetween(e,t){let i=!1,n=[];return this.forEach(o=>{if(!i&&e(o)&&(i=!0),i&&o.isText&&n.push((0,r.html)(o)),i&&t(o))return!1},!0),n.join("")}constructor(e,t){(0,n._)(this,"parent",void 0),(0,n._)(this,"name",void 0),(0,n._)(this,"type",void 0),(0,n._)(this,"attributes",void 0),(0,n._)(this,"style",void 0),(0,n._)(this,"children",void 0),this.parent=t,this.name=e.nodeName.toLowerCase(),this.type=e.nodeType,this.attributes=function(e){let t={};if(a.Dom.isElement(e))for(let i=0,n=e.attributes;i<n.length;i+=1)t[n[i].name]=n[i].value;else t.nodeValue=e.nodeValue;return t}(e),this.style=new o.Style(this.attributes.style),this.children=[],e.childNodes.forEach(e=>this.children.push(u.make(e,this)))}}},97420:function(e,t,i){i.d(t,{JElement:function(){return r.JElement},html:function(){return o.html},innerHTML:function(){return o.innerHTML},isLeaf:function(){return n.isLeaf},isList:function(){return n.isList},isPseudoLeaf:function(){return n.isPseudoLeaf},isSameType:function(){return n.isSameType}});var n=i(18594),r=i(42968),o=i(99658)},99658:function(e,t,i){i.d(t,{html:function(){return s},innerHTML:function(){return l}});var n=i(82758),r=i(87612),o=i(49055);function s(e,t=()=>!0,i=!0,r){switch(!0){case e.isComment:case e.isText:{if(!t(e))return"";let{nodeValue:i}=e.attributes;return e.isComment?`<!--${i}-->`:i}case e.isElement:{let{attributes:n}=e,o=l(e,t,i,r);if(!e.attributes["jd-safe"]&&i&&0===o.replace(/[\n\t]/g,"").length&&!e.isSingle)return"";let s=Object.keys(n).map(e=>"style"===e||null==n[e]||/^jd-/.test(e)?"":`${e}="${c(n[e])}"`).filter(Boolean),{str:u}=e.style,d=c(u(e=>a(e,r)));if(d&&s.push(`style="${d}"`),i&&0===s.length&&["span","a"].includes(e.name))return o;let h=s.length?" "+s.join(" "):"";if(!t(e))return o;return e.isSingle?`<${e.name}${h}/>`:`<${e.name}${h}>${o}</${e.name}>`}default:if(!n.IS_PROD)throw Error("Need implementation for this type")}return""}function a(e,t){if(!t)return!0;if(a.cache.has(t)){var i;let n=null==(i=a.cache.get(t))?void 0:i.get(e);if((0,r.isBoolean)(n))return n}let n=t.some(t=>new RegExp(t).test(e)),o=a.cache.get(t)||new Map;return o.set(e,n),a.cache.set(t,o),n}function l(e,t=()=>!0,i=!0,n){let r=e.map(e=>s(e,t,i,n)).join("");return"p"===e.name&&0===(0,o.trim)(r).length&&(r=" "),r}function c(e){return e.toString().replace(/"/g,""")}a.cache=new WeakMap},40273:function(e,t,i){i.d(t,{Style:function(){return u}});var n=i(82749),r=i(31635),o=i(45219),s=i(70799),a=i(12475),l=i(49055),c=i(43712);class u{get keys(){return Object.keys(this._data)}forEach(e){this.keys.forEach(t=>e(t))}clear(){this._data={}}set(e,t){this._data[e]=t}get(e){var t;return null!=(t=this._data[e])?t:null}has(e){return void 0!==this._data[e]}add(e,t){return this._data=d(this.str()+";"+`${e}:${t}`),this}str(e=e=>!0){let t=Object.keys(this._data).filter(t=>t&&!/^mso-/.test(t)&&e(t)&&null!=this.get(t)),i=e=>(0,s.isString)(e)?/^0[a-z]+$/i.test(e)?"0":e:e.toString();return(["padding","margin"].forEach(e=>{if(this._data[e]){let n=t.indexOf(e),r=(0,c.calcMarginParts)(this._data[e]);["top","right","bottom","left"].forEach((o,s)=>{let a=`${e}-${o}`,l=this._data[a];null!=l&&(t.indexOf(a)<n||i(r[s])===i(l))&&-1!==t.indexOf(a)&&t.splice(t.indexOf(a),1)})}}),t.length)?t.map(e=>`${(0,a.kebabCase)(e)}:${this.get(e)}`).join(";"):""}constructor(e){(0,n._)(this,"_data",void 0),this._data=d(e)}}function d(e){return(function(e){let t={},i=[];for(let n=e.length-1;n>=0;n-=1){let r=e[n][0];t[r]||(t[r]=!0,i.unshift(e[n]))}return i})((null!=e?e:"").replace(/"/g,'"').split(";").filter(Boolean).map(e=>(0,l.trim)(e).split(":").map(l.trim))).reduce((e,[t,i])=>(t&&i&&(e[t]=i),e),{})}(0,r.__decorate)([o.autobind],u.prototype,"forEach",null),(0,r.__decorate)([o.autobind],u.prototype,"clear",null),(0,r.__decorate)([o.autobind],u.prototype,"set",null),(0,r.__decorate)([o.autobind],u.prototype,"get",null),(0,r.__decorate)([o.autobind],u.prototype,"has",null),(0,r.__decorate)([o.autobind],u.prototype,"add",null),(0,r.__decorate)([o.autobind],u.prototype,"str",null)},51586:function(e,t,i){i.d(t,{applyStylesPro:function(){return l}});var n=i(19606),r=i(2748),o=i(29960),s=i(76078),a=i(97420);function l(e,t,i,c=""){let u=document.createElement("iframe");u.style.display="none",document.body.appendChild(u);try{var d,h;let r=null!=(d=u.contentDocument)?d:null==(h=u.contentWindow)?void 0:h.document;if(!r)return t;r.open(),r.write(t),r.close();let l="jd-style";for(let e=0;e<r.styleSheets.length;e+=1)try{let t=r.styleSheets[e].cssRules;for(let e=0;e<t.length;e+=1)t[e].selectorText&&(0,s.$$)(t[e].selectorText,r.body).forEach(i=>{(0,o.attr)(i,l)||((0,o.attr)(i,l,(0,o.attr)(i,"style")||""),(0,o.attr)(i,"style","")),(0,o.attr)(i,"style",`${(0,o.attr)(i,"style")};${t[e].style.cssText}`)})}catch(e){}return(0,s.$$)(`[${l}]`,r.body).forEach(e=>{(0,o.attr)(e,"style",`${(0,o.attr)(e,"style")};${(0,o.attr)(e,l)}`)}),(0,n.transformWordToHtml)(e,a.JElement.make(r.body),i,c)}finally{r.Dom.safeRemove(u)}}},31269:function(e,t,i){i.d(t,{calcListLevels:function(){return s}});var n=i(43712),r=i(10058),o=i(97420);function s(e){if(void 0!==e.attributes[r.LEVEL_KEY])return;let t=[(0,n.realPixelIndent)(e)],i=[e],s=e.next;for(;s;){if(s.isElement&&!s.attributes[r.LEVEL_KEY]&&(0,o.isPseudoLeaf)(s)){let e=(0,n.realPixelIndent)(s);e&&(t.push(e),i.push(s))}s=s.next}let a=Math.min(...t.filter(e=>e>0)),l=t.map(e=>Math.ceil(e/10));-1!==l.indexOf(0)&&(l=l.map(e=>e+1)),i.forEach((e,t)=>{e.attributes[r.LEVEL_KEY]=l[t],e.style.add("margin-left",`${Math.max((0,n.realPixelIndent)(e)-10*l[t]/a*40,0)}px`)})}},43712:function(e,t,i){let n;function r(e){if(!e)return[0,0,0,0];let t=e.match(/(0|auto|(-?[.\d]+(?:\w+|%)))/g)||["0px"];switch(t.length){case 2:return[0,1,0,1].map(e=>t[e]);case 3:return[0,1,2,1].map(e=>t[e]);case 4:return[0,1,2,3].map(e=>t[e]);default:return[0,0,0,0].map(e=>t[e])}}function o(e){if("number"==typeof e)return e;if(/%$/.test(e))return 0;n||(Object.assign((n=document.createElement("div")).style,{position:"absolute",left:"-9999px",top:"-9999px",margin:"0",padding:"0",border:"0"}),document.body.append(n),setTimeout(()=>{null==n||n.remove(),n=null}));let t=0>parseFloat(e);t&&(e=e.replace("-","")),n.style.width=e;let i=n.clientWidth;return t?-i:i}function s(e){let{style:t}=e,i=t.keys.filter(e=>/margin/.test(e)),n=Math.max(i.indexOf("margin-left"),i.indexOf("margin")),s=n>0?i[n]:"margin-left";return o("margin"===s?r(t.get("margin"))[3]||0:t.get(s)||0)}function a(e){return/\d.\d/.test(e)?e.split(".").pop()||null:/^\d/.test(e)?(parseInt(e,10)||1).toString():null}i.d(t,{calcMarginParts:function(){return r},calcStartBySymbol:function(){return a},convertUnitToPx:function(){return o},realPixelIndent:function(){return s}})},30717:function(e,t,i){i.d(t,{applyStylesPro:function(){return n.applyStylesPro}});var n=i(51586);i(31269),i(19606)},19606:function(e,t,i){i.d(t,{transformWordToHtml:function(){return s}});var n=i(49055),r=i(64693),o=i(97420);function s(e,t,i,s){let a={jodit:e,rtf:s};return t.forEach(function e(t){if(t){for(let e of r.cases)if(null==(t=e(t,a)))break;null==t||t.forEach(e)}}),i&&t.forEach(e=>{e.style.clear()},!0),(0,n.trim)((0,o.innerHTML)(t,e=>!e.isComment,!0,e.o.pasteFromWord.allowedStyleProps))}},58858:function(e,t,i){i.r(t),i.d(t,{PasteFromWordPro:function(){return u}});var n=i(82749);i(13085);var r=i(30717),o=i(82758),s=i(70799),a=i(117),l=i(31571),c=i(2692);class u extends l.pasteFromWord{insertFromWordByType(e,t,i,n){if(this.j.o.pasteFromWord.enable&&(i===o.INSERT_AS_HTML||i===o.INSERT_AS_TEXT)){if(t=(0,r.applyStylesPro)(this.j,t,i===o.INSERT_AS_TEXT,n.rtf),this.j.o.beautifyHTML){var l;let e=null==(l=this.j.events)?void 0:l.fire("beautifyHTML",t);(0,s.isString)(e)&&(t=e)}(0,a.pasteInsertHtml)(e,this.j,t);return}return super.insertFromWordByType(e,t,i,n)}}(0,n._)(u,"requires",["license"]),c.JoditPro.plugins.remove("pasteFromWord"),c.JoditPro.plugins.add("pasteFromWordPro",u)},77688:function(e,t,i){function n(e,t,i,n,r,o,s){try{var a=e[o](s),l=a.value}catch(e){i(e);return}a.done?t(l):Promise.resolve(l).then(n,r)}function r(e){return function(){var t=this,i=arguments;return new Promise(function(r,o){var s=e.apply(t,i);function a(e){n(s,r,o,a,l,"next",e)}function l(e){n(s,r,o,a,l,"throw",e)}a(void 0)})}}i.d(t,{_:function(){return r}})},82749:function(e,t,i){i.d(t,{_:function(){return n}});function n(e,t,i){return t in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}},56075:function(e,t,i){i.d(t,{_:function(){return r}});var n=i(82749);function r(e){for(var t=1;t<arguments.length;t++){var i=null!=arguments[t]?arguments[t]:{},r=Object.keys(i);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(i).filter(function(e){return Object.getOwnPropertyDescriptor(i,e).enumerable}))),r.forEach(function(t){(0,n._)(e,t,i[t])})}return e}},31635:function(e,t,i){function n(e,t,i,n){var r,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,i):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,i,n);else for(var a=e.length-1;a>=0;a--)(r=e[a])&&(s=(o<3?r(s):o>3?r(t,i,s):r(t,i))||s);return o>3&&s&&Object.defineProperty(t,i,s),s}i.d(t,{__decorate:function(){return n}}),"function"==typeof SuppressedError&&SuppressedError}},o={};function s(e){var t=o[e];if(void 0!==t)return t.exports;var i=o[e]={exports:{}};return r[e].call(i.exports,i,i.exports,s),i.exports}s.m=r,e=[],s.O=function(t,i,n,r){if(i){r=r||0;for(var o=e.length;o>0&&e[o-1][2]>r;o--)e[o]=e[o-1];e[o]=[i,n,r];return}for(var a=1/0,o=0;o<e.length;o++){for(var i=e[o][0],n=e[o][1],r=e[o][2],l=!0,c=0;c<i.length;c++)(!1&r||a>=r)&&Object.keys(s.O).every(function(e){return s.O[e](i[c])})?i.splice(c--,1):(l=!1,r<a&&(a=r));if(l){e.splice(o--,1);var u=n();void 0!==u&&(t=u)}}return t},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t={521:0},s.O.j=function(e){return 0===t[e]},i=function(e,i){var n,r,o=i[0],a=i[1],l=i[2],c=0;if(o.some(function(e){return 0!==t[e]})){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(l)var u=l(s)}for(e&&e(i);c<o.length;c++)r=o[c],s.o(t,r)&&t[r]&&t[r][0](),t[r]=0;return s.O(u)},(n=self.webpackChunkjodit_pro=self.webpackChunkjodit_pro||[]).forEach(i.bind(null,0)),n.push=i.bind(null,n.push.bind(n));var a={};s.r(a),s.d(a,{Jodit:function(){return c.JoditPro}}),s(12373);var l=s(31356),c=s(2692);return c.JoditPro.plugins.add("poweredByJodit",function(){}),c.JoditPro.modules.ListReconciler=l.ListReconciler,a=s.O(a)}()});
|