jodit-pro 4.9.30 → 4.9.35
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/CHANGELOG.md +17 -1
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +13 -13
- package/es2015/jodit.js +15 -10
- 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 +37 -38
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +3 -3
- 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 +1 -1
- package/es2015/plugins/export-docs/export-docs.min.js +1 -1
- package/es2015/plugins/finder/finder.css +1 -1
- package/es2015/plugins/finder/finder.js +40 -4
- package/es2015/plugins/finder/finder.min.js +4 -4
- 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 +37 -21
- package/es2015/plugins/style/style.min.js +2 -2
- 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.js +13 -13
- package/es2018/jodit.min.js +5 -5
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +3 -3
- 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 +1 -1
- package/es2018/plugins/finder/finder.min.js +3 -3
- 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 +2 -2
- 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 +1 -1
- package/es2021/jodit.fat.min.js +13 -13
- package/es2021/jodit.js +15 -10
- 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 +37 -38
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +3 -3
- 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 +1 -1
- package/es2021/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021/plugins/finder/finder.css +1 -1
- package/es2021/plugins/finder/finder.js +40 -4
- package/es2021/plugins/finder/finder.min.js +4 -4
- 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 +31 -21
- package/es2021/plugins/style/style.min.js +2 -2
- 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 +1 -1
- package/es2021.en/jodit.fat.min.js +12 -12
- package/es2021.en/jodit.js +15 -10
- 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 +37 -38
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +3 -3
- 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 +1 -1
- package/es2021.en/plugins/export-docs/export-docs.min.js +1 -1
- package/es2021.en/plugins/finder/finder.css +1 -1
- package/es2021.en/plugins/finder/finder.js +6 -4
- package/es2021.en/plugins/finder/finder.min.js +2 -2
- 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 +31 -21
- package/es2021.en/plugins/style/style.min.js +2 -2
- 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 +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +15 -10
- package/es5/jodit.min.css +2 -2
- 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 +34 -35
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +2 -2
- 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 +1 -1
- package/es5/plugins/export-docs/export-docs.min.js +1 -1
- package/es5/plugins/finder/finder.css +1 -1
- package/es5/plugins/finder/finder.js +40 -4
- package/es5/plugins/finder/finder.min.js +2 -2
- 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 +37 -21
- package/es5/plugins/style/style.min.js +2 -2
- 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 +2 -2
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +2 -2
- package/esm/plugins/finder/langs/de.d.ts +22 -0
- package/esm/plugins/finder/langs/de.js +1 -0
- package/esm/plugins/finder/langs/index.d.ts +2 -1
- package/esm/plugins/finder/langs/index.js +1 -1
- package/esm/plugins/style/helpers/apply-style.js +1 -1
- package/esm/plugins/style/helpers/detect-active-style.js +1 -1
- package/esm/plugins/style/interface.d.ts +1 -1
- package/esm/plugins/style/ui/style-popup.js +1 -1
- package/package.json +1 -1
- package/types/plugins/finder/langs/de.d.ts +22 -0
- package/types/plugins/finder/langs/index.d.ts +2 -1
- package/types/plugins/style/interface.d.ts +1 -1
package/es2015/jodit.fat.min.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit-pro - PRO Version of Jodit Editor
|
|
3
3
|
* Author: Chupurnov Valerii <chupurnov@gmail.com>
|
|
4
|
-
* Version: v4.9.
|
|
4
|
+
* Version: v4.9.35
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
/>`)}constructor(t,i){super(t,a({type:"file"},i)),this.state=function(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}(a({},s.UIInput.defaultState),{type:"file",onlyImages:!0})}};l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],l)},4278:function(t,i,n){"use strict";n.d(i,{UIBrowserPanel:function(){return m}});var r=n(82749),o=n(31635),s=n(65478),a=n(21537),l=n(67510),u=n(8358),c=n(60062),d=n(70950),h=n(59198),p=n(17234),f=n(43778);class m extends l.UIGroup{className(){return"UIBrowserPanel"}get countInRow(){if("list"===this.state.view||!this.items.elements.length)return 1;let{container:t}=this.items.elements[0],i=(0,a.css)(t,"marginLeft");return Math.floor(this.items.container.offsetWidth/(t.offsetWidth+((0,a.isNumber)(i)?i:0)))}get countInColumn(){if(!this.items.elements.length)return 1;let{container:t}=this.items.elements[0],i=(0,a.css)(t,"marginTop");return Math.floor(this.items.container.offsetHeight/(t.offsetHeight+((0,a.isNumber)(i)?i:0)))}render(){return`<div>
|
|
19
19
|
<div class='&__content'></div>
|
|
20
20
|
<div class='&__footer'></div>
|
|
21
|
-
</div>`}onChangeTheme(){this.setMod("theme",this.stateManager.state.theme)}onChangeElements(){this.items.build(this.stateManager.state.elements)}onChangeActiveElements(){this.state.activeElements.length||(this.state.info="",this.state.metaInfo=null),this.items.elements.forEach(t=>{t.setMod("active",!!this.stateManager.isActive(t.item))}),this.j.e.fire("changeSelection")}onChangeFavorites(){this.items.elements.forEach(t=>{t.setMod("favorite",!!this.stateManager.isFavorite(t.item))})}onChangeSources(){this.sources.build(this.stateManager.state.tree)}onChangeLastSelectedIndex(){var t;let i=null==(t=this.items.elements[this.stateManager.state.lastSelectedIndex])?void 0:t.container;i&&((0,a.scrollIntoViewIfNeeded)(i,this.items.container,this.j.od),i.focus())}onChangeInfo(){this.statusbar.value(this.state.info,"center")}onChangePathOrSource(){this.statusbar.value(this.state.currentPath?`${this.state.currentPath} (${this.state.currentSource})`:this.i18n("Home"),"left")}onChangeShowSettings(){this.settings.setMod("hidden",!this.stateManager.state.showSettings)}onChangeShowPreview(){this.preview.setMod("hidden",!this.stateManager.state.showPreview)}onChangeShowSideBar(){this.sidebar.setMod("hidden",!this.stateManager.state.showSideBar)}onChangeView(){this.items.setMod("view",this.stateManager.state.view)}onChangeTileSize(){this.items.setMod("size",this.stateManager.state.tileSize)}onChangeShowFavorites(){this.sidebar.setMod("show-favorites",this.stateManager.state.showFavorites),this.items.setMod("show-favorites",this.stateManager.state.showFavorites)}onItemDblClick(){return this.j.e.fire("select.filebrowser"),!1}onItemClick(t,i){this.stateManager.addActive(t,i)}onTogglePreview(){return this.state.showPreview=!this.state.showPreview,!1}onToggleFavoriteItem(t){this.stateManager.toggleFavorite(t)}onFolderClick(t){this.stateManager.state.currentSource=t.sourceName,this.stateManager.state.currentPath=t.path||"/",this.j.e.fire("afterOpenFolder.filebrowser")}constructor(t,i){super(t),(0,r._)(this,"stateManager",void 0),(0,r._)(this,"syncMod",void 0),(0,r._)(this,"state",void 0),(0,r._)(this,"sources",void 0),(0,r._)(this,"sidebar",void 0),(0,r._)(this,"preview",void 0),(0,r._)(this,"statusbar",void 0),(0,r._)(this,"items",void 0),(0,r._)(this,"settings",void 0),this.stateManager=i,this.syncMod=!0,this.sources=new h.UIBrowserSources(this.j),this.sidebar=new d.UISidebar(this.jodit,[this.sources],this.stateManager.state),this.preview=new u.UIPreview(this.jodit,this.stateManager.state),this.statusbar=new p.UIBrowserStatusBar(this.j),this.items=new f.UIVirtualScroll(this.j,this.stateManager),this.settings=new c.UIBrowserSettings(this.jodit,this.stateManager.state),this.state=i.state,this.append(this.sidebar,"content"),this.append(this.items,"content"),this.append(this.settings,"content"),this.append(this.preview,"content"),this.append(this.statusbar,"footer"),this.onChangeElements(),this.onChangeSources(),this.onChangeView(),this.onChangeTileSize(),this.onChangeShowFavorites(),this.onChangeActiveElements(),this.onChangeFavorites(),this.onChangeShowSideBar(),this.onChangeShowSettings(),this.onChangeShowPreview(),this.onChangeTheme()}}(0,o.__decorate)([(0,s.watch)("state.theme")],m.prototype,"onChangeTheme",null),(0,o.__decorate)([(0,s.watch)("state.elements")],m.prototype,"onChangeElements",null),(0,o.__decorate)([(0,s.watch)("state.activeElements")],m.prototype,"onChangeActiveElements",null),(0,o.__decorate)([(0,s.watch)(["state.favorites","state.elements"])],m.prototype,"onChangeFavorites",null),(0,o.__decorate)([(0,s.watch)("state.sources")],m.prototype,"onChangeSources",null),(0,o.__decorate)([(0,s.watch)("state.lastSelectedIndex")],m.prototype,"onChangeLastSelectedIndex",null),(0,o.__decorate)([(0,s.watch)("state.info")],m.prototype,"onChangeInfo",null),(0,o.__decorate)([(0,s.watch)(["state.currentPath","state.currentSource"])],m.prototype,"onChangePathOrSource",null),(0,o.__decorate)([(0,s.watch)("state.showSettings")],m.prototype,"onChangeShowSettings",null),(0,o.__decorate)([(0,s.watch)("state.showPreview")],m.prototype,"onChangeShowPreview",null),(0,o.__decorate)([(0,s.watch)("state.showSideBar")],m.prototype,"onChangeShowSideBar",null),(0,o.__decorate)([(0,s.watch)("state.view")],m.prototype,"onChangeView",null),(0,o.__decorate)([(0,s.watch)("state.tileSize")],m.prototype,"onChangeTileSize",null),(0,o.__decorate)([(0,s.watch)("state.showFavorites")],m.prototype,"onChangeShowFavorites",null),(0,o.__decorate)([(0,s.watch)(":dblclickItem.filebrowser")],m.prototype,"onItemDblClick",null),(0,o.__decorate)([(0,s.watch)(":clickItem.filebrowser")],m.prototype,"onItemClick",null),(0,o.__decorate)([(0,s.watch)(":togglePreview.filebrowser")],m.prototype,"onTogglePreview",null),(0,o.__decorate)([(0,s.watch)(":toggleFavoriteItem")],m.prototype,"onToggleFavoriteItem",null),(0,o.__decorate)([(0,s.watch)(":openFolder")],m.prototype,"onFolderClick",null),m=(0,o.__decorate)([s.component],m)},4510:function(t,i,n){"use strict";n.d(i,{toArray:function(){return s}});var r=n(70722),o=n(58844);let s=function(...t){var i;return((0,r.isNativeFunction)(Array.from)?Array.from:null!=(i=(0,o.reset)("Array.from"))?i:Array.from).apply(Array,t)}},4604:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(6342);o.Config.prototype.addNewLine=!0,o.Config.prototype.addNewLineOnDBLClick=!0,o.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],o.Config.prototype.addNewLineDeltaShow=20,r.Icon.set("enter",s.default)},4774:function(t,i,n){"use strict";n.d(i,{UIMap:function(){return r.UIMap},UIMapsControlsForm:function(){return o.UIMapsControlsForm},UIMapsPropsForm:function(){return s.UIMapsPropsForm}}),n(90835);var r=n(4169),o=n(8073),s=n(83039);n(11093)},4795:function(t,i){"use strict";i.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"}},4941:function(t,i,n){"use strict";n.d(i,{Emoji:function(){return p}});var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(31635),u=n(65478),c=n(2748),d=n(21537),h=n(67510);class p extends h.UIElement{className(){return"Emoji"}get defaultList(){return this.recent.concat(this.data?this.data.emoji:[])}reset(){this.input.nativeInput.value="",this.setItems(this.defaultList),this.setActiveCategory(0)}setItems(t){var i,n;this.list.scrollTo(0,0),c.Dom.detach(this.list),c.Dom.append(this.list,this.generateEmojiList(t,null!=(i=null==(n=this.data)?void 0:n.categories)?i:[]))}createContainer(t){let i=this.j.c.div("jodit-emoji");this.input=new h.UIInput(this.j,{name:"search",icon:"search",autocomplete:!1,clearButton:!0,placeholder:"Search emoji"}),this.input.container.classList.add(this.getFullElName("input")),this.categories=this.j.c.div(this.getFullElName("categories")),this.list=this.j.c.div(this.getFullElName("emojis"));let n=this.j.c.div(this.getFullElName("navigate"));return c.Dom.append(n,[this.categories,this.input.container]),c.Dom.append(i,[n,this.list]),i}setActiveCategory(t,i=!1){let n=this.getElms("category"),r=n[this.activeIndex];n[t]||(t=n.length-1);let o=n[t],s=this.getFullElName("category","active",!0);r&&r.classList.remove(s),o&&o.classList.add(s),i&&this.getElms("category-title")[t].scrollIntoView(),this.activeIndex=t}generateCategoriesList(t){return t.map((i,n)=>this.j.c.div(this.getFullElName("category"),{"data-index":n,title:i,style:{width:100/t.length+"%"}}))}generateEmojiList(t,i){let n="";return t.reduce((t,r,o)=>{var s,a;let l=-1===(r=p.normalizeEmoji(r)).category?"Recently":i[r.category];if(l!==n){n=l;let i=null!=(a=this.cache[n])?a:this.j.c.div(this.getFullElName("category-title"),n?this.j.i18n(n):"");this.cache[n]=i,t.push(i)}let u=null!=(s=this.cache[r.emoji+r.category])?s:this.j.c.div(this.getFullElName("emoji"),{"data-id":o,"data-value":r.emoji},r.emoji);return this.cache[r.emoji+r.category]=u,t.push(u),t},[])}static isShortCat(t){return t&&(0,d.isString)(t.e)}static normalizeEmoji(t){return p.isShortCat(t)?{emoji:t.e,description:t.d,category:t.c,aliases:t.a,tags:t.t}:t}onInsertCode(t){this.jodit.e.fire(this,"insert",t);let i=this.map[t];if(i){let n=[...this.recent],r=n.findIndex(i=>i.emoji===t);-1!==r&&n.splice(r,1),n.unshift((0,a._)((0,s._)({},i),{category:-1})),this.recent=n}}onScrollList(){let t=this.list.scrollTop,i=this.getElms("category-title"),n=0;i.forEach((i,r)=>{t>i.offsetTop-this.list.offsetTop-20&&(n=r)}),this.setActiveCategory(n)}onClickCategory(t){this.clearFilter();let i=t.target;i.classList.contains(this.getFullElName("category"))&&this.setActiveCategory(parseInt((0,d.attr)(i,"-index")||"0",10)||0,!0)}onClickItem(t){let i=t.target;if(i.classList.contains(this.getFullElName("emoji"))){let t=(0,d.attr)(i,"-value")||"";t&&this.onInsertCode(t)}t.preventDefault()}onInputFilter(){let t=this.input.value.toLowerCase();if(!t.length)return this.setItems(this.defaultList);this.setItems(this.defaultList.filter(i=>{var n,r,o;let s=p.normalizeEmoji(i);return(null==(n=s.description)?void 0:n.toLowerCase().includes(t))||(null==(r=s.tags)?void 0:r.join(" ").toLowerCase().includes(t))||(null==(o=s.aliases)?void 0:o.join(" ").toLowerCase().includes(t))}))}clearFilter(){this.input.nativeInput.value.length&&this.reset()}onReady(){this.j.e.on(this.input.nativeInput,"input",this.onInputFilter).on(this.categories,"click",this.onClickCategory).on(this.list,"scroll",this.onScrollList).on(this.list,"mousedown touchstart",this.onClickItem)}destruct(){return this.input.destruct(),super.destruct()}constructor(t){var i;super(t),i=this,(0,o._)(this,"data",null),(0,o._)(this,"recent",[]),(0,o._)(this,"map",{}),(0,o._)(this,"activeIndex",0),(0,o._)(this,"cache",{}),this.setMod("loading",!0),(0,r._)(function*(){i.data=yield t.o.emoji.data(),i.setMod("loading",!1),i.data.emoji.forEach(t=>{let n=p.normalizeEmoji(t);i.map[n.emoji]=n}),i.setItems(i.defaultList),c.Dom.append(i.categories,i.generateCategoriesList(i.data.categories)),i.setActiveCategory(0)})()}}(0,l.__decorate)([u.persistent],p.prototype,"recent",void 0),(0,l.__decorate)([(0,u.throttle)()],p.prototype,"onScrollList",null),(0,l.__decorate)([u.autobind],p.prototype,"onClickCategory",null),(0,l.__decorate)([u.autobind],p.prototype,"onClickItem",null),(0,l.__decorate)([(0,u.debounce)()],p.prototype,"onInputFilter",null),(0,l.__decorate)([(0,u.hook)("ready")],p.prototype,"onReady",null),p=(0,l.__decorate)([u.component],p)},5082:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"ラインの高さ"}},5119:function(t,i){"use strict";i.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> '},5287:function(t,i,n){"use strict";n.d(i,{wrapText:function(){return o}});var r=n(2748);function o(t,i){let n=t;r.Dom.up(n,t=>{t&&t.hasChildNodes()&&t!==i.editor&&(n=t)},i.editor);let o=r.Dom.wrapInline(n,i.o.enter,i);if(r.Dom.isEmpty(o)){let n=i.createInside.element("br");o.appendChild(n),r.Dom.before(n,t)}return o}},5422:function(t,i,n){"use strict";n.d(i,{FileBrowserPro:function(){return D}});var r=n(77688),o=n(82749),s=n(31635);n(34042);var a=n(8087),l=n(77841),u=n(17578),c=n(97770),d=n(42663),h=n(55535),p=n(18250),f=n(69277),m=n(4278),g=n(95002),b=n(6441),v=n(82758),y=n(65478),_=n(21537),C=n(70231),w=n(41409),F=n(638),E=n(63399),k=n(50050),S=n(2692),A=n(21246);class D extends F.Dialog{className(){return"FileBrowserPro"}lock(t="any"){return this.container.classList.add("jodit_disabled"),super.lock(t)}unlock(){return this.container.classList.remove("jodit_disabled"),super.unlock()}status(t,i=!(t instanceof Error)){(0,_.isAbortError)(t)||(v.IS_PROD||(0,_.isString)(t),this.message.message((0,_.isString)(t)?t:t.message,i?"success":"error",this.options.howLongShowMsg))}get progressbar(){return new g.UIProgress(this,this.stateManager.state)}addDisclaimer(t){this.dialog.appendChild(t)}open(t){var i=this,n=()=>super.open;return(0,r._)(function*(t=this.o.defaultCallback,r){return this.state.onlyImages=!!r,this.prepareOpening(t),n().call(i,this.panel.container),this.e.fire("update.filebrowser")}).apply(this,arguments)}onResizeWindow(){(0,_.css)(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})}onChangePath(){let{currentPath:t,currentSource:i}=this.state;this.uploader.setPath(t),this.uploader.setSource(i)}onChangeTheme(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme}onToggleSettings(){this.state.showSettings=!this.state.showSettings}prepareOpening(t){this.registerGlobalListeners(),t&&(this.state.onSelectCallBack=i=>{this.close(),t(i)}),this.persistent.syncWithState()}registerGlobalListeners(){this.e.on(this.ow,"keydown",this.onKeyPress)}onKeyPress(t){let{activeElement:i}=this.od;if(!this.state.activeElements.length||!i||!w.Dom.isOrContains(this.panel.items.container,i))return;let n=this.state.elements;switch(t.key){case v.KEY_ENTER:return this.onChooseItems();case v.KEY_DELETE:return this.onFileRemove();case v.KEY_RIGHT:case v.KEY_LEFT:case v.KEY_DOWN:case v.KEY_UP:{let i,r=t.key===v.KEY_RIGHT||t.key===v.KEY_DOWN,o=this.state.lastSelectedIndex;if([v.KEY_RIGHT,v.KEY_LEFT].includes(t.key))i=r?n[o+1]?o+1:0:n[o-1]?o-1:n.length-1;else{let{countInRow:t}=this.panel;i=Math.round(((o+1)/t+(r?1:-1))*t-1)}return n[i]&&this.stateManager.addActive(n[i],t.shiftKey),!1}}}removeGlobalListeners(){this.e.off(this.ow,"keydown",this.onKeyPress)}onFileRemove(){this.state.activeElements.length&&this.confirm("Are you sure?","Delete",t=>{t&&this.__itemsRemove(this.state.activeElements)}).bindDestruct(this)}__itemsRemove(t){if(!t.length)return Promise.resolve();let i=[];return t.forEach(t=>{var n;i.push("folder"===t.type?this.__folderRemove((0,l.parentPath)(t.path),null!=(n=t.name)?n:"",t.sourceName):this.__removeFile(t.file||t.name||"",t.sourceName))}),this.state.activeElements.forEach(t=>{this.stateManager.isFavorite(t)&&this.stateManager.toggleFavorite(t)}),this.state.activeElements=[],Promise.allSettled(i).then(()=>Promise.allSettled([this.loadingManager.loadItems(),this.loadingManager.loadFolders()]))}__removeFile(t,i){return this.dataProvider.fileRemove(this.state.currentPath,t,i).then(i=>{this.status(i||this.i18n('File "%s" was deleted',t),!0)}).catch(this.status)}__folderRemove(t,i,n){return this.dataProvider.folderRemove(t,i,n).then(r=>{this.status(r||this.i18n('Folder "%s" was deleted',i),!0),this.state.currentPath===t&&(this.state.currentPath=(0,l.parentPath)(t),this.state.currentSource=n)}).catch(this.status)}onFileEdit(){if(1===this.state.activeElements.length){let[t]=this.state.activeElements;k.openImageEditor.call(this,t.fileURL,t.file||"",t.path,t.sourceName,void 0,this.status)}}onFolderRename(t){this.prompt("Enter new name","Rename",i=>{if(!(0,_.isValidName)(i)||i===t.name)return this.status(this.i18n("Enter new name")),!1;this.dataProvider.folderRename((0,l.parentPath)(t.path),t.name,i,t.sourceName).then(n=>{this.state.activeElements=[],this.status(n,!0),this.state.currentPath=(0,l.parentPath)(t.path)+"/"+i,this.state.currentSource=t.sourceName,this.historyManager.updateCurrent(),this.loadingManager.loadFolders()}).catch(this.status)},this.i18n("type name"),t.name).bindDestruct(this)}onFolderRemove(t){this.confirm("Are you sure?","Delete",i=>{i&&this.__itemsRemove([{type:"folder",name:t.name,path:t.path,sourceName:t.sourceName}])}).bindDestruct(this)}onFolderCreate(t){this.prompt("Enter Directory name","Create directory",i=>{let n=t.path||"/";this.dataProvider.createFolder(i,t.path||"/",t.sourceName).then(()=>{this.state.currentSource===t.sourceName&&this.state.currentPath===n?this.e.fire("update.filebrowser"):(this.state.currentSource=t.sourceName,this.state.currentPath=n),this.historyManager.updateCurrent()},this.status)},this.i18n("type name")).bindDestruct(this)}onFileRename(t){let i=t.file||t.name||"";1===this.state.activeElements.length&&i&&this.prompt("Enter new name","Rename",t=>{if(!(0,_.isValidName)(t))return this.status(this.i18n("Enter new name")),!1;this.dataProvider.fileRename(this.state.currentPath,i,t,this.state.currentSource).then(t=>{this.state.activeElements=[],this.status(t,!0),this.loadingManager.loadItems()}).catch(this.status)},this.i18n("type name"),i).bindDestruct(this)}onChooseItems(){let t=this.stateManager.state.activeElements;if(t.length){if("folder"===t[0].type){this.state.currentPath=this.state.currentPath+"/"+t[0].name,this.state.currentSource=t[0].sourceName,this.e.fire("afterOpenFolder.filebrowser");return}this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(t[0])}}onOpenLightBox(t){f.UILightBox.open(this,t,this.state.elements)}initUploader(){let t=this,i=(0,_.ConfigProto)(t.o.uploader||{},b.Config.defaultOptions.uploader),n=()=>this.loadingManager.loadItems();t.uploader=t.getInstance("Uploader",i),t.uploader.bind(t.panel.container,n,t.status),t.e.on("bindUploader.filebrowser",i=>{t.uploader.bind(i,n,t.status)})}destruct(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),super.destruct()}fullFillOptions(){["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(t=>{null!=this.options[t]&&(this.options[t]=(0,_.ConfigProto)(this.options[t],this.o.ajax))})}constructor(t){super((0,_.ConfigProto)(Object.assign(t||{},{resizable:!0,draggable:!0,toolbarButtons:(null==t?void 0:t.toolbarButtons)||b.Config.defaultOptions.filebrowser.buttons,buttons:S.JoditPro.atom(["filebrowser.settings","fullsize","dialog.close"])}),b.Config.defaultOptions.filebrowser)),(0,o._)(this,"dataProvider",(0,E.makeDataProvider)(this,this.options)),(0,o._)(this,"state",(0,w.observable)({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1})),(0,o._)(this,"persistent",new d.PersistentStore(this,this.state)),(0,o._)(this,"loadingManager",new c.LoadingManager(this,this.state)),(0,o._)(this,"stateManager",new h.StateManager(this.state)),(0,o._)(this,"historyManager",new u.HistoryManager(this,this.state)),(0,o._)(this,"contextMenuManager",new a.ContextMenuManager(this)),(0,o._)(this,"header",new p.UIBrowserHeader(this,this.options,this.stateManager)),(0,o._)(this,"panel",new m.UIBrowserPanel(this,this.stateManager)),(0,o._)(this,"files",this.panel),(0,o._)(this,"tree",this.panel),(0,o._)(this,"uploader",void 0),A.license.make(this),!this.persistent.theme&&this.options.theme&&(this.persistent.theme=this.options.theme),this.panel.append(this.progressbar),this.toolbar.setMod("mode","header"),this.setSize(Math.min(this.options.width,screen.width),Math.min(this.options.height,screen.height)).setHeader(this.header),this.onResizeWindow(),this.initUploader(),this.onChangeTheme(),this.fullFillOptions(),this.dataProvider.onProgress(t=>{0===t&&(t=30),this.state.progress=t}),this.e.on("beforeClose",this.removeGlobalListeners),this.e.fire("afterInit"),S.JoditPro.prototype.afterInitHook.call(this)}}(0,s.__decorate)([y.autobind],D.prototype,"status",null),(0,s.__decorate)([y.cache],D.prototype,"progressbar",null),(0,s.__decorate)([(0,y.watch)(":resize",{context:window})],D.prototype,"onResizeWindow",null),(0,s.__decorate)([(0,y.watch)(["state.currentPath","state.currentSource"])],D.prototype,"onChangePath",null),(0,s.__decorate)([(0,y.watch)("state.theme")],D.prototype,"onChangeTheme",null),(0,s.__decorate)([(0,y.watch)(":toggleSettings.filebrowser")],D.prototype,"onToggleSettings",null),(0,s.__decorate)([y.autobind],D.prototype,"onKeyPress",null),(0,s.__decorate)([y.autobind],D.prototype,"removeGlobalListeners",null),(0,s.__decorate)([(0,y.watch)(":fileRemove.filebrowser")],D.prototype,"onFileRemove",null),(0,s.__decorate)([(0,y.watch)(":edit.filebrowser")],D.prototype,"onFileEdit",null),(0,s.__decorate)([(0,y.watch)(":folderRename.filebrowser")],D.prototype,"onFolderRename",null),(0,s.__decorate)([(0,y.watch)(":folderRemove.filebrowser")],D.prototype,"onFolderRemove",null),(0,s.__decorate)([(0,y.watch)(":folderCreate.filebrowser")],D.prototype,"onFolderCreate",null),(0,s.__decorate)([(0,y.watch)(":fileRename.filebrowser")],D.prototype,"onFileRename",null),(0,s.__decorate)([(0,y.watch)(":select.filebrowser")],D.prototype,"onChooseItems",null),(0,s.__decorate)([(0,y.watch)(":openLightBox.filebrowser")],D.prototype,"onOpenLightBox",null),D=(0,s.__decorate)([y.component,(0,y.derive)(C.Dlgs)],D),Object.defineProperty(S.JoditPro.modules,"FileBrowserPro",{value:D,writable:!1,enumerable:!0,configurable:!0})},5440:function(t,i,n){"use strict";n.d(i,{buildStylePopup:function(){return l}});var r=n(31105),o=n(8060),s=n(69341);let a="jodit-style-popup";function l(t,i,n){let l=(0,o.classifyDefinitions)(i),u=(0,s.detectActiveStyle)(t,i),c=t.c.div(a);for(let o of l){let s=t.c.div(`${a}__group-title`);s.textContent=t.i18n(o.title),c.appendChild(s);let l=t.c.div(`${a}__grid`);for(let s of o.definitions){let o=t.c.element("button");o.type="button",o.className=`${a}__card`+(u===s?` ${a}__card_active_true`:"");let c=t.c.div(`${a}__card-preview`),d=t.c.element(s.element);for(let t of s.classes)d.classList.add(t);d.textContent=s.name,c.appendChild(d),o.appendChild(c);let h=t.c.div(`${a}__card-label`);h.textContent=s.name,o.appendChild(h),t.e.on(o,"click",()=>{t.s.focus(),(0,r.applyStyle)(t,s,i),t.synchronizeValues(),n()}),l.appendChild(o)}c.appendChild(l)}return c}},5567:function(t,i){"use strict";i.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-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 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-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg> '},5618:function(t,i,n){"use strict";var r=n(56075),o=n(11886),s=n(93809),a=n(28157);i.default=(0,o._)((0,r._)({},s),{execute:a.execute})},5700:function(t,i,n){"use strict";n.d(i,{position:function(){return function t(i,n,o=!1){var s,a;let l=i.getBoundingClientRect(),u=l.left,c=l.top;if((0,r.isJoditObject)(n)&&n.iframe&&n.ed.body.contains(i)&&!o){let{left:i,top:r}=t(n.iframe,n,!0);u+=i,c+=r}return{left:Math.round(u),top:Math.round(c),width:Math.round(null!=(s=i.offsetWidth)?s:l.width),height:Math.round(null!=(a=i.offsetHeight)?a:l.height)}}}});var r=n(19306)},5827:function(t,i,n){"use strict";var r=n(2748),o=n(12153),s=n(6441),a=n(27190),l=n(42345),u=n(10411);s.Config.prototype.link={formTemplate:u.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.Icon.set("link",a.default).set("unlink",l.default),s.Config.prototype.controls.unlink={exec:(t,i)=>{let n=r.Dom.closest(i,"a",t.editor);n&&r.Dom.unwrap(n),t.synchronizeValues(),t.e.fire("hidePopup")},tooltip:"Unlink"},s.Config.prototype.controls.link={isActive:t=>{let i=t.s.current();return!!(i&&r.Dom.closest(i,"a",t.editor))},popup:(t,i,n)=>t.e.fire("generateLinkForm.link",i,n),tags:["a"],tooltip:"Insert link"}},6091:function(t,i){"use strict";i.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> '},6183:function(t,i,n){"use strict";n.d(i,{UIBackupList:function(){return d}});var r=n(82749),o=n(31635),s=n(38512),a=n(82758),l=n(65478),u=n(21537),c=n(67510);class d extends c.UIGroup{className(){return"UIBackupList"}createContainer(t){let i=super.createContainer(t);return(0,u.attr)(i,"tabIndex","-1"),i}build(t){this.clear(),t.forEach((t,i)=>{let n=new s.UIBackupItem(this.jodit,t);this.append(n),this.j.e.on(n.container,"focus",()=>this.onSelect(i)).on(n.container,"click",()=>this.onSelect(i)).on(n.container,"dblclick",()=>this.onChoose(i))}),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}onChangeCurrentSelection(t,i,n){var r,o,s;null==(r=this.elements[i])||r.setMod("active",!1),null==(o=this.elements[n])||o.setMod("active",!0),null==(s=this.elements[n])||s.focus(),this.j.e.fire(this,"select",this.elements[n].data)}onSelect(t){this.currentSelection=t}onChoose(t){this.j.e.fire(this,"choose",this.elements[null!=t?t:this.currentSelection].data)}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}constructor(t){super(t),(0,r._)(this,"elements",[]),(0,r._)(this,"currentSelection",-1),t.e.on(this.container,"keydown",t=>{switch(t.key){case a.KEY_ENTER:t.preventDefault(),t.stopPropagation(),this.onChoose(this.currentSelection);break;case a.KEY_DOWN:this.selectNext();break;case a.KEY_UP:this.selectPrevious()}})}}(0,o.__decorate)([(0,l.watch)("currentSelection")],d.prototype,"onChangeCurrentSelection",null),(0,o.__decorate)([l.autobind],d.prototype,"onSelect",null),(0,o.__decorate)([l.autobind],d.prototype,"onChoose",null),d=(0,o.__decorate)([l.component],d)},6342:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg> '},6402:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Дүрмийн алдаа шалгах"}},6441:function(t,i,n){"use strict";n.d(i,{Config:function(){return s}});var r=n(82758);let o={};class s{static get defaultOptions(){return s.__defaultOptions||(s.__defaultOptions=new s),s.__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=r.globalDocument,this.ownerWindow=r.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=r.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.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,o)}}o=s.prototype,s.prototype.controls={}},6602:function(t){t.exports={"Show Blocks":"Pokaż Bloki"}},6687:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(20356),a=n(12153),l=n(6441),u=n(66863),c=n(64489);a.Icon.set("redo",u.default).set("undo",c.default),l.Config.prototype.controls.redo={mode:r.MODE_SPLIT,isDisabled:t=>!t.history.canRedo(),tooltip:"Redo"},l.Config.prototype.controls.undo={mode:r.MODE_SPLIT,isDisabled:t=>!t.history.canUndo(),tooltip:"Undo"};class d extends s.Plugin{beforeDestruct(){}afterInit(t){let i=i=>(t.history[i](),!1);t.registerCommand("redo",{exec:i,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),t.registerCommand("undo",{exec:i,hotkeys:["ctrl+z","cmd+z"]})}constructor(){super(...arguments),this.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}]}}o.pluginSystem.add("redoUndo",d)},6689:function(t,i,n){"use strict";n.d(i,{throwIfAborted:function(){return o}});var r=n(93661);function o(t){if(t.aborted)throw(0,r.abort)()}},6700:function(t,i,n){"use strict";n.d(i,{Storage:function(){return l},StorageKey:function(){return a}});var r=n(87058),o=n(65638),s=n(21162);let a="Jodit_";class l{set(t,i){return this.provider.set((0,r.camelCase)(this.prefix+t),i),this}delete(t){return this.provider.delete((0,r.camelCase)(this.prefix+t)),this}get(t){return this.provider.get((0,r.camelCase)(this.prefix+t))}exists(t){return this.provider.exists((0,r.camelCase)(this.prefix+t))}clear(){return this.provider.clear(),this}static makeStorage(t=!1,i){let n;return"localStorage"===t||"sessionStorage"===t?(0,o.canUsePersistentStorage)(t)&&(n=new o.LocalStorageProvider(a+(i||""),t)):!0===t&&(0,o.canUsePersistentStorage)("localStorage")&&(n=new o.LocalStorageProvider(a+(i||""))),n||(n=new s.MemoryStorageProvider),new l(n,i)}constructor(t,i){this.provider=t,this.prefix=a,i&&(this.prefix+=i)}}},6950:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg> '},6980:function(t,i,n){"use strict";n.d(i,{wrapUnwrappedText:function(){return s}});var r=n(2748),o=n(78116);function s(t,i,n){let s=n.editor,a=n.createInside,l=(t,i="previousSibling")=>{let a=t,l=t;for(;l&&!(0,o.isMarker)(l)&&!r.Dom.isTag(l,n.o.enter)&&(a=l,l=l[i]?l[i]:l.parentNode&&!r.Dom.isBlock(l.parentNode)&&l.parentNode!==s?l.parentNode:null,!r.Dom.isBlock(l)););return a},u=l(i),c=l(i,"nextSibling"),d=n.s.createRange();d.setStartBefore(u),d.setEndAfter(c);let h=d.extractContents(),p=a.element(t.element);return p.appendChild(h),r.Dom.safeInsertNode(d,p),t.elementIsBlock&&r.Dom.isEmpty(p)&&!r.Dom.isTag(p.firstElementChild,"br")&&p.appendChild(a.element("br")),p}},7085:function(t){t.exports={"Show Blocks":"تظهر كتل"}},7307:function(t){t.exports='<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path d="M365.4,59.628c60.56,0,109.6,49.03,109.6,109.47c0,109.47-109.6,171.8-219.06,281.271 C146.47,340.898,37,278.568,37,169.099c0-60.44,49.04-109.47,109.47-109.47c54.73,0,82.1,27.37,109.47,82.1 C283.3,86.999,310.67,59.628,365.4,59.628z"/> </svg>'},7309:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(20356);n(99649);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){o.Dom.safeRemove(this.charCounter),o.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(){super(...arguments),this.charCounter=null,this.wordCounter=null,this.reInit=()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()},this.calc=this.j.async.throttle(()=>{let t=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let i;i=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):t.replace((0,r.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",i.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").split((0,r.SPACE_REG_EXP)()).filter(t=>t.length).length))},this.j.defaultTimeout)}}s.pluginSystem.add("stat",l)},7483:function(t,i,n){"use strict";n.d(i,{TextAreaEditor:function(){return a}});var r=n(2748),o=n(41180),s=n(23370);class a extends s.SourceEditor{init(t){this.instance=t.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===t.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),t.e.on(this.instance,"mousedown keydown touchstart input",t.async.debounce(this.toWYSIWYG,t.defaultTimeout)).on("setMinHeight.source",t=>{(0,o.css)(this.instance,"minHeight",t)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",i=>{t.e.fire(i.type,i)}),this.autosize(),this.onReady()}destruct(){r.Dom.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(t){this.instance.value=t}insertRaw(t){let i=this.getValue();if(this.getSelectionStart()>=0){let n=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(i.substring(0,n)+t+i.substring(r,i.length))}else this.setValue(i+t)}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(t,i=t){this.instance.setSelectionRange(t,i)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(t){this.instance.setAttribute("placeholder",t)}setReadOnly(t){t?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){let{history:t}=this.jodit;this.j.e.on(this.instance,"keydown",i=>{if((i.ctrlKey||i.metaKey)&&"z"===i.key)return i.shiftKey?t.redo():t.undo(),this.setSelectionRange(this.getValue().length),!1})}constructor(){super(...arguments),this.autosize=this.j.async.debounce(()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"},this.j.defaultTimeout,!0)}}},7886:function(t,i,n){"use strict";n.r(i),i.default={aiAssistant:"Asistente de IA",aiCommands:"Comandos de IA","AI Assistant":"Asistente de IA","AI Commands":"Comandos de IA","Improve writing":"Mejorar escritura","Make shorter":"Hacer m\xe1s corto","Make longer":"Hacer m\xe1s largo","Simplify language":"Simplificar lenguaje",Summarize:"Resumir",Continue:"Continuar",Prompt:"Solicitud",Insert:"Insertar","Insert After":"Insertar despu\xe9s","Try Again":"Intentar de nuevo","Ask AI to improve generated text":"Pida a la IA que mejore el texto generado","Change tone to professional":"Cambiar tono a profesional","Change tone to friendly":"Cambiar tono a amigable","Change tone to formal":"Cambiar tono a formal","Change tone to casual":"Cambiar tono a casual","Change tone to direct":"Cambiar tono a directo","Change tone to confident":"Cambiar tono a confiado","Change tone to business":"Cambiar tono a empresarial","Change style to legal":"Cambiar estilo a legal","Change style to journalism":"Cambiar estilo a period\xedstico","Change style to poetic":"Cambiar estilo a po\xe9tico","Translate to Spanish":"Traducir al espa\xf1ol","Translate to French":"Traducir al franc\xe9s","Translate to German":"Traducir al alem\xe1n","Translate to Italian":"Traducir al italiano","Translate to Portuguese":"Traducir al portugu\xe9s","Translate to English":"Traducir al ingl\xe9s","Translate to Chinese":"Traducir al chino","Translate to Japanese":"Traducid al japon\xe9s","Translate to Korean":"Traducir al coreano","Translate to Russian":"Traducir al ruso","Translate to Arabic":"Traducir al \xe1rabe",Submit:"Enviar"}},7903:function(t,i){"use strict";i.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> '},8060:function(t,i,n){"use strict";n.d(i,{classifyDefinitions:function(){return o}});var r=n(82758);function o(t){let i=[],n=[];for(let o of t)r.IS_BLOCK.test(o.element)?i.push(o):n.push(o);let o=[];return i.length&&o.push({title:"Block styles",definitions:i}),n.length&&o.push({title:"Text styles",definitions:n}),o}},8073:function(t,i,n){"use strict";n.d(i,{UIMapsControlsForm:function(){return c}});var r=n(82749),o=n(56075),s=n(11886),a=n(31635),l=n(87325),u=n(67510);class c extends u.UIForm{className(){return"UIMapsControlsForm"}onChangeSize(t,i){this.state.controls=(0,s._)((0,o._)({},this.state.controls),{[t]:"true"===i})}constructor(t,i){super(t),(0,r._)(this,"state",void 0),this.state=i;const n={zoomControl:"Zoom control",mapTypeControl:"Map Type control",scaleControl:"Scale control",streetViewControl:"Street View control ",rotateControl:"Rotate control",fullscreenControl:"Fullscreen control"},o=Object.keys(n);this.append(o.map(i=>new u.UICheckbox(t,{label:n[i],name:i,checked:this.state.controls[i],switch:!0,type:"checkbox",onChange:this.onChangeSize.bind(this,i)})))}}c=(0,a.__decorate)([l.component],c)},8087:function(t,i,n){"use strict";n.d(i,{ContextMenuManager:function(){return l}});var r=n(31635),o=n(80480),s=n(65478),a=n(63399);class l extends o.ViewComponent{className(){return"ContextMenuManager"}onFolderContext(t,i){return this.buildContextItemMenu(this.getFolderContextActions(t),i),!1}onItemContext(t,i,n){return this.buildContextItemMenu(this.getItemContextActions(t),n),!1}onSourceContext(t,i){return this.buildContextItemMenu(this.getSourceContextActions(t),i),!1}buildContextItemMenu(t,i){if(!this.j.o.contextMenu)return;let n=(0,a.makeContextMenu)(this.j).setMod("theme",this.j.state.theme);n.show(i.clientX,i.clientY,t.filter(t=>t&&!1!==t.enabled)),this.j.e.on(this.j,"afterClose",()=>{n.isOpened&&n.close()})}getItemContextActions(t){if(this.j.stateManager.isActive(t)||this.j.stateManager.addActive(t,this.j.state.activeElements.length>1),"folder"===t.type)return this.getFolderContextActions({type:"directory",children:[],name:t.name||"",path:t.path,sourceName:t.sourceName});let i=this.j.options,n=this.j.dataProvider,r=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:!!t.isImage&&i.editImage&&r&&(n.canI("ImageResize")||n.canI("ImageCrop")),exec:()=>{this.j.e.fire("edit.filebrowser")}},{icon:"italic",title:"Rename",enabled:n.canI("FileRename")&&r,exec:()=>this.j.e.fire("fileRename.filebrowser",t)},{icon:"bin",title:"Delete",enabled:n.canI("FileRemove"),exec:()=>this.j.e.fire("fileRemove.filebrowser",t)},{icon:"eye",title:"Preview",enabled:!!(t.isImage||"file"===t.type)&&i.preview&&r,exec:()=>this.j.e.fire("openLightBox.filebrowser",t)},{icon:"upload",title:"Download",exec:()=>{t.fileURL&&this.j.ow.open(t.fileURL)}}]}getFolderContextActions(t){let i=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:()=>{this.j.e.fire("folderRename.filebrowser",t)},enabled:i.canI("FolderRename")},{icon:"bin",title:"Delete",exec:()=>{this.j.e.fire("folderRemove.filebrowser",t)},enabled:i.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",t)},enabled:i.canI("FolderCreate")}]}getSourceContextActions(t){return[{icon:"plus",title:"Create folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",t)}}]}}(0,r.__decorate)([(0,s.watch)(":contextmenuFolder.filebrowser")],l.prototype,"onFolderContext",null),(0,r.__decorate)([(0,s.watch)(":contextmenuItem.filebrowser")],l.prototype,"onItemContext",null),(0,r.__decorate)([(0,s.watch)(":contextmenuSource.filebrowser")],l.prototype,"onSourceContext",null),l=(0,r.__decorate)([s.component],l)},8172:function(t,i,n){"use strict";n.d(i,{FileBrowserFiles:function(){return r.FileBrowserFiles},FileBrowserTree:function(){return o.FileBrowserTree}});var r=n(97379),o=n(8193)},8193:function(t,i,n){"use strict";n.d(i,{FileBrowserTree:function(){return o}});var r=n(67510);class o extends r.UIGroup{className(){return"FileBrowserTree"}}},8256:function(t,i,n){"use strict";var r=n(6441),o=n(22732),s=n(21537);let a=["tune.up","tune.remove","tune.down"],l=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...a];function u(t){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+t.toUpperCase()+"</text></svg>",isActive(i,n){var r;return(null==n||null==(r=n.target)?void 0:r.tagName.toLowerCase())===t},exec(i,n){if(n){i.selection.save();let r=o.Dom.replace(n,t,i.createInside);i.selection.restore(),i.e.fire("synchro"),i.e.fire("afterExecTune.tune",r)}return!0}}}function c(t){let i=t?"previousSibling":"nextSibling";return{icon:t?"angle-up":"angle-down",isDisabled(t,n){var r;return!(null==n||null==(r=n.target)?void 0:r[i])},exec(n,r){let a=null==r?void 0:r[i];return r&&a&&(n.selection.save(),(0,s.call)(t?o.Dom.before:o.Dom.after,a,r),n.selection.restore()),n.e.fire("synchro"),n.e.fire("afterExecTune.tune"),!0}}}r.Config.prototype.tuneBlock={popup:{p:a,table:a,img:a,blockquote:a,div:a,pre:["tune.editPre",...a],h1:l,h2:l,h3:l,h4:l,h5:l,h6:l}},r.Config.prototype.controls.tune={h1:u("h1"),h2:u("h2"),h3:u("h3"),h4:u("h4"),h5:u("h5"),h6:u("h6"),up:c(!0),down:c(!1),editPre:{icon:"pencil",exec(t,i){t.e.fire("editPreInPasteCode",i)}},remove:{icon:"bin",exec(t,i){o.Dom.safeRemove(i),t.e.fire("synchro"),t.e.fire("closeTuner.tune"),t.e.fire("hideTuner.tune")}}}},8355:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(11628);n(6441).Config.prototype.controls.preview={icon:"eye",command:"preview",mode:r.MODE_SOURCE+r.MODE_WYSIWYG,tooltip:"Preview"},o.pluginSystem.add("preview",function(t){t.registerButton({name:"preview"}),t.registerCommand("preview",(i,n,r)=>{let o=t.dlg();o.setSize(1024,600).open("",t.i18n("Preview")).setModal(!0);let[,a]=(0,s.previewBox)(t,r,"px",o.getElm("content"));o.e.on(o,"afterClose",a)})})},8358:function(t,i,n){"use strict";n.d(i,{UIPreview:function(){return p}});var r=n(82749),o=n(31635),s=n(65478),a=n(2748),l=n(43555),u=n(38837),c=n(62405),d=n(21130),h=n(54747);class p extends c.UIGroup{className(){return"UIPreview"}addResize(){(0,l.css)(this.container,{width:null,height:null}),h.UIResize.remove(this),h.UIResize.install(this,screen.width>450?"left":"top")}render(){return`<div>
|
|
21
|
+
</div>`}onChangeTheme(){this.setMod("theme",this.stateManager.state.theme)}onChangeElements(){this.items.build(this.stateManager.state.elements)}onChangeActiveElements(){this.state.activeElements.length||(this.state.info="",this.state.metaInfo=null),this.items.elements.forEach(t=>{t.setMod("active",!!this.stateManager.isActive(t.item))}),this.j.e.fire("changeSelection")}onChangeFavorites(){this.items.elements.forEach(t=>{t.setMod("favorite",!!this.stateManager.isFavorite(t.item))})}onChangeSources(){this.sources.build(this.stateManager.state.tree)}onChangeLastSelectedIndex(){var t;let i=null==(t=this.items.elements[this.stateManager.state.lastSelectedIndex])?void 0:t.container;i&&((0,a.scrollIntoViewIfNeeded)(i,this.items.container,this.j.od),i.focus())}onChangeInfo(){this.statusbar.value(this.state.info,"center")}onChangePathOrSource(){this.statusbar.value(this.state.currentPath?`${this.state.currentPath} (${this.state.currentSource})`:this.i18n("Home"),"left")}onChangeShowSettings(){this.settings.setMod("hidden",!this.stateManager.state.showSettings)}onChangeShowPreview(){this.preview.setMod("hidden",!this.stateManager.state.showPreview)}onChangeShowSideBar(){this.sidebar.setMod("hidden",!this.stateManager.state.showSideBar)}onChangeView(){this.items.setMod("view",this.stateManager.state.view)}onChangeTileSize(){this.items.setMod("size",this.stateManager.state.tileSize)}onChangeShowFavorites(){this.sidebar.setMod("show-favorites",this.stateManager.state.showFavorites),this.items.setMod("show-favorites",this.stateManager.state.showFavorites)}onItemDblClick(){return this.j.e.fire("select.filebrowser"),!1}onItemClick(t,i){this.stateManager.addActive(t,i)}onTogglePreview(){return this.state.showPreview=!this.state.showPreview,!1}onToggleFavoriteItem(t){this.stateManager.toggleFavorite(t)}onFolderClick(t){this.stateManager.state.currentSource=t.sourceName,this.stateManager.state.currentPath=t.path||"/",this.j.e.fire("afterOpenFolder.filebrowser")}constructor(t,i){super(t),(0,r._)(this,"stateManager",void 0),(0,r._)(this,"syncMod",void 0),(0,r._)(this,"state",void 0),(0,r._)(this,"sources",void 0),(0,r._)(this,"sidebar",void 0),(0,r._)(this,"preview",void 0),(0,r._)(this,"statusbar",void 0),(0,r._)(this,"items",void 0),(0,r._)(this,"settings",void 0),this.stateManager=i,this.syncMod=!0,this.sources=new h.UIBrowserSources(this.j),this.sidebar=new d.UISidebar(this.jodit,[this.sources],this.stateManager.state),this.preview=new u.UIPreview(this.jodit,this.stateManager.state),this.statusbar=new p.UIBrowserStatusBar(this.j),this.items=new f.UIVirtualScroll(this.j,this.stateManager),this.settings=new c.UIBrowserSettings(this.jodit,this.stateManager.state),this.state=i.state,this.append(this.sidebar,"content"),this.append(this.items,"content"),this.append(this.settings,"content"),this.append(this.preview,"content"),this.append(this.statusbar,"footer"),this.onChangeElements(),this.onChangeSources(),this.onChangeView(),this.onChangeTileSize(),this.onChangeShowFavorites(),this.onChangeActiveElements(),this.onChangeFavorites(),this.onChangeShowSideBar(),this.onChangeShowSettings(),this.onChangeShowPreview(),this.onChangeTheme()}}(0,o.__decorate)([(0,s.watch)("state.theme")],m.prototype,"onChangeTheme",null),(0,o.__decorate)([(0,s.watch)("state.elements")],m.prototype,"onChangeElements",null),(0,o.__decorate)([(0,s.watch)("state.activeElements")],m.prototype,"onChangeActiveElements",null),(0,o.__decorate)([(0,s.watch)(["state.favorites","state.elements"])],m.prototype,"onChangeFavorites",null),(0,o.__decorate)([(0,s.watch)("state.sources")],m.prototype,"onChangeSources",null),(0,o.__decorate)([(0,s.watch)("state.lastSelectedIndex")],m.prototype,"onChangeLastSelectedIndex",null),(0,o.__decorate)([(0,s.watch)("state.info")],m.prototype,"onChangeInfo",null),(0,o.__decorate)([(0,s.watch)(["state.currentPath","state.currentSource"])],m.prototype,"onChangePathOrSource",null),(0,o.__decorate)([(0,s.watch)("state.showSettings")],m.prototype,"onChangeShowSettings",null),(0,o.__decorate)([(0,s.watch)("state.showPreview")],m.prototype,"onChangeShowPreview",null),(0,o.__decorate)([(0,s.watch)("state.showSideBar")],m.prototype,"onChangeShowSideBar",null),(0,o.__decorate)([(0,s.watch)("state.view")],m.prototype,"onChangeView",null),(0,o.__decorate)([(0,s.watch)("state.tileSize")],m.prototype,"onChangeTileSize",null),(0,o.__decorate)([(0,s.watch)("state.showFavorites")],m.prototype,"onChangeShowFavorites",null),(0,o.__decorate)([(0,s.watch)(":dblclickItem.filebrowser")],m.prototype,"onItemDblClick",null),(0,o.__decorate)([(0,s.watch)(":clickItem.filebrowser")],m.prototype,"onItemClick",null),(0,o.__decorate)([(0,s.watch)(":togglePreview.filebrowser")],m.prototype,"onTogglePreview",null),(0,o.__decorate)([(0,s.watch)(":toggleFavoriteItem")],m.prototype,"onToggleFavoriteItem",null),(0,o.__decorate)([(0,s.watch)(":openFolder")],m.prototype,"onFolderClick",null),m=(0,o.__decorate)([s.component],m)},4510:function(t,i,n){"use strict";n.d(i,{toArray:function(){return s}});var r=n(70722),o=n(58844);let s=function(...t){var i;return((0,r.isNativeFunction)(Array.from)?Array.from:null!=(i=(0,o.reset)("Array.from"))?i:Array.from).apply(Array,t)}},4604:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(6342);o.Config.prototype.addNewLine=!0,o.Config.prototype.addNewLineOnDBLClick=!0,o.Config.prototype.addNewLineTagsTriggers=["table","iframe","img","hr","pre","jodit"],o.Config.prototype.addNewLineDeltaShow=20,r.Icon.set("enter",s.default)},4774:function(t,i,n){"use strict";n.d(i,{UIMap:function(){return r.UIMap},UIMapsControlsForm:function(){return o.UIMapsControlsForm},UIMapsPropsForm:function(){return s.UIMapsPropsForm}}),n(90835);var r=n(4169),o=n(8073),s=n(83039);n(11093)},4795:function(t,i){"use strict";i.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"}},4941:function(t,i,n){"use strict";n.d(i,{Emoji:function(){return p}});var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(31635),u=n(65478),c=n(2748),d=n(21537),h=n(67510);class p extends h.UIElement{className(){return"Emoji"}get defaultList(){return this.recent.concat(this.data?this.data.emoji:[])}reset(){this.input.nativeInput.value="",this.setItems(this.defaultList),this.setActiveCategory(0)}setItems(t){var i,n;this.list.scrollTo(0,0),c.Dom.detach(this.list),c.Dom.append(this.list,this.generateEmojiList(t,null!=(i=null==(n=this.data)?void 0:n.categories)?i:[]))}createContainer(t){let i=this.j.c.div("jodit-emoji");this.input=new h.UIInput(this.j,{name:"search",icon:"search",autocomplete:!1,clearButton:!0,placeholder:"Search emoji"}),this.input.container.classList.add(this.getFullElName("input")),this.categories=this.j.c.div(this.getFullElName("categories")),this.list=this.j.c.div(this.getFullElName("emojis"));let n=this.j.c.div(this.getFullElName("navigate"));return c.Dom.append(n,[this.categories,this.input.container]),c.Dom.append(i,[n,this.list]),i}setActiveCategory(t,i=!1){let n=this.getElms("category"),r=n[this.activeIndex];n[t]||(t=n.length-1);let o=n[t],s=this.getFullElName("category","active",!0);r&&r.classList.remove(s),o&&o.classList.add(s),i&&this.getElms("category-title")[t].scrollIntoView(),this.activeIndex=t}generateCategoriesList(t){return t.map((i,n)=>this.j.c.div(this.getFullElName("category"),{"data-index":n,title:i,style:{width:100/t.length+"%"}}))}generateEmojiList(t,i){let n="";return t.reduce((t,r,o)=>{var s,a;let l=-1===(r=p.normalizeEmoji(r)).category?"Recently":i[r.category];if(l!==n){n=l;let i=null!=(a=this.cache[n])?a:this.j.c.div(this.getFullElName("category-title"),n?this.j.i18n(n):"");this.cache[n]=i,t.push(i)}let u=null!=(s=this.cache[r.emoji+r.category])?s:this.j.c.div(this.getFullElName("emoji"),{"data-id":o,"data-value":r.emoji},r.emoji);return this.cache[r.emoji+r.category]=u,t.push(u),t},[])}static isShortCat(t){return t&&(0,d.isString)(t.e)}static normalizeEmoji(t){return p.isShortCat(t)?{emoji:t.e,description:t.d,category:t.c,aliases:t.a,tags:t.t}:t}onInsertCode(t){this.jodit.e.fire(this,"insert",t);let i=this.map[t];if(i){let n=[...this.recent],r=n.findIndex(i=>i.emoji===t);-1!==r&&n.splice(r,1),n.unshift((0,a._)((0,s._)({},i),{category:-1})),this.recent=n}}onScrollList(){let t=this.list.scrollTop,i=this.getElms("category-title"),n=0;i.forEach((i,r)=>{t>i.offsetTop-this.list.offsetTop-20&&(n=r)}),this.setActiveCategory(n)}onClickCategory(t){this.clearFilter();let i=t.target;i.classList.contains(this.getFullElName("category"))&&this.setActiveCategory(parseInt((0,d.attr)(i,"-index")||"0",10)||0,!0)}onClickItem(t){let i=t.target;if(i.classList.contains(this.getFullElName("emoji"))){let t=(0,d.attr)(i,"-value")||"";t&&this.onInsertCode(t)}t.preventDefault()}onInputFilter(){let t=this.input.value.toLowerCase();if(!t.length)return this.setItems(this.defaultList);this.setItems(this.defaultList.filter(i=>{var n,r,o;let s=p.normalizeEmoji(i);return(null==(n=s.description)?void 0:n.toLowerCase().includes(t))||(null==(r=s.tags)?void 0:r.join(" ").toLowerCase().includes(t))||(null==(o=s.aliases)?void 0:o.join(" ").toLowerCase().includes(t))}))}clearFilter(){this.input.nativeInput.value.length&&this.reset()}onReady(){this.j.e.on(this.input.nativeInput,"input",this.onInputFilter).on(this.categories,"click",this.onClickCategory).on(this.list,"scroll",this.onScrollList).on(this.list,"mousedown touchstart",this.onClickItem)}destruct(){return this.input.destruct(),super.destruct()}constructor(t){var i;super(t),i=this,(0,o._)(this,"data",null),(0,o._)(this,"recent",[]),(0,o._)(this,"map",{}),(0,o._)(this,"activeIndex",0),(0,o._)(this,"cache",{}),this.setMod("loading",!0),(0,r._)(function*(){i.data=yield t.o.emoji.data(),i.setMod("loading",!1),i.data.emoji.forEach(t=>{let n=p.normalizeEmoji(t);i.map[n.emoji]=n}),i.setItems(i.defaultList),c.Dom.append(i.categories,i.generateCategoriesList(i.data.categories)),i.setActiveCategory(0)})()}}(0,l.__decorate)([u.persistent],p.prototype,"recent",void 0),(0,l.__decorate)([(0,u.throttle)()],p.prototype,"onScrollList",null),(0,l.__decorate)([u.autobind],p.prototype,"onClickCategory",null),(0,l.__decorate)([u.autobind],p.prototype,"onClickItem",null),(0,l.__decorate)([(0,u.debounce)()],p.prototype,"onInputFilter",null),(0,l.__decorate)([(0,u.hook)("ready")],p.prototype,"onReady",null),p=(0,l.__decorate)([u.component],p)},5082:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"ラインの高さ"}},5119:function(t,i){"use strict";i.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> '},5287:function(t,i,n){"use strict";n.d(i,{wrapText:function(){return o}});var r=n(2748);function o(t,i){let n=t;r.Dom.up(n,t=>{t&&t.hasChildNodes()&&t!==i.editor&&(n=t)},i.editor);let o=r.Dom.wrapInline(n,i.o.enter,i);if(r.Dom.isEmpty(o)){let n=i.createInside.element("br");o.appendChild(n),r.Dom.before(n,t)}return o}},5422:function(t,i,n){"use strict";n.d(i,{FileBrowserPro:function(){return D}});var r=n(77688),o=n(82749),s=n(31635);n(34042);var a=n(8087),l=n(77841),u=n(17578),c=n(97770),d=n(42663),h=n(55535),p=n(18250),f=n(69277),m=n(4278),g=n(95002),b=n(6441),v=n(82758),y=n(65478),_=n(21537),C=n(70231),w=n(41409),F=n(638),E=n(63399),k=n(50050),S=n(2692),A=n(21246);class D extends F.Dialog{className(){return"FileBrowserPro"}lock(t="any"){return this.container.classList.add("jodit_disabled"),super.lock(t)}unlock(){return this.container.classList.remove("jodit_disabled"),super.unlock()}status(t,i=!(t instanceof Error)){(0,_.isAbortError)(t)||(v.IS_PROD||(0,_.isString)(t),this.message.message((0,_.isString)(t)?t:t.message,i?"success":"error",this.options.howLongShowMsg))}get progressbar(){return new g.UIProgress(this,this.stateManager.state)}addDisclaimer(t){this.dialog.appendChild(t)}open(t){var i=this,n=()=>super.open;return(0,r._)(function*(t=this.o.defaultCallback,r){return this.state.onlyImages=!!r,this.prepareOpening(t),n().call(i,this.panel.container),this.e.fire("update.filebrowser")}).apply(this,arguments)}onResizeWindow(){(0,_.css)(this.dialog,{maxWidth:screen.width,minHeight:Math.min(this.options.height,screen.height),minWidth:Math.min(this.options.width,screen.width)})}onChangePath(){let{currentPath:t,currentSource:i}=this.state;this.uploader.setPath(t),this.uploader.setSource(i)}onChangeTheme(){this.setMod("theme",this.state.theme),this.header.setMod("theme",this.state.theme),this.panel.setMod("theme",this.state.theme),this.options.theme=this.state.theme}onToggleSettings(){this.state.showSettings=!this.state.showSettings}prepareOpening(t){this.registerGlobalListeners(),t&&(this.state.onSelectCallBack=i=>{this.close(),t(i)}),this.persistent.syncWithState()}registerGlobalListeners(){this.e.on(this.ow,"keydown",this.onKeyPress)}onKeyPress(t){let{activeElement:i}=this.od;if(!this.state.activeElements.length||!i||!w.Dom.isOrContains(this.panel.items.container,i))return;let n=this.state.elements;switch(t.key){case v.KEY_ENTER:return this.onChooseItems();case v.KEY_DELETE:return this.onFileRemove();case v.KEY_RIGHT:case v.KEY_LEFT:case v.KEY_DOWN:case v.KEY_UP:{let i,r=t.key===v.KEY_RIGHT||t.key===v.KEY_DOWN,o=this.state.lastSelectedIndex;if([v.KEY_RIGHT,v.KEY_LEFT].includes(t.key))i=r?n[o+1]?o+1:0:n[o-1]?o-1:n.length-1;else{let{countInRow:t}=this.panel;i=Math.round(((o+1)/t+(r?1:-1))*t-1)}return n[i]&&this.stateManager.addActive(n[i],t.shiftKey),!1}}}removeGlobalListeners(){this.e.off(this.ow,"keydown",this.onKeyPress)}onFileRemove(){this.state.activeElements.length&&this.confirm("Are you sure?","Delete",t=>{t&&this.__itemsRemove(this.state.activeElements)}).bindDestruct(this)}__itemsRemove(t){if(!t.length)return Promise.resolve();let i=[];return t.forEach(t=>{var n;i.push("folder"===t.type?this.__folderRemove((0,l.parentPath)(t.path),null!=(n=t.name)?n:"",t.sourceName):this.__removeFile(t.file||t.name||"",t.sourceName))}),this.state.activeElements.forEach(t=>{this.stateManager.isFavorite(t)&&this.stateManager.toggleFavorite(t)}),this.state.activeElements=[],Promise.allSettled(i).then(()=>Promise.allSettled([this.loadingManager.loadItems(),this.loadingManager.loadFolders()]))}__removeFile(t,i){return this.dataProvider.fileRemove(this.state.currentPath,t,i).then(i=>{this.status(i||this.i18n('File "%s" was deleted',t),!0)}).catch(this.status)}__folderRemove(t,i,n){return this.dataProvider.folderRemove(t,i,n).then(r=>{this.status(r||this.i18n('Folder "%s" was deleted',i),!0),this.state.currentPath===t&&(this.state.currentPath=(0,l.parentPath)(t),this.state.currentSource=n)}).catch(this.status)}onFileEdit(){if(1===this.state.activeElements.length){let[t]=this.state.activeElements;k.openImageEditor.call(this,t.fileURL,t.file||"",t.path,t.sourceName,void 0,this.status)}}onFolderRename(t){this.prompt("Enter new name","Rename",i=>{if(!(0,_.isValidName)(i)||i===t.name)return this.status(this.i18n("Enter new name")),!1;this.dataProvider.folderRename((0,l.parentPath)(t.path),t.name,i,t.sourceName).then(n=>{this.state.activeElements=[],this.status(n,!0),this.state.currentPath=(0,l.parentPath)(t.path)+"/"+i,this.state.currentSource=t.sourceName,this.historyManager.updateCurrent(),this.loadingManager.loadFolders()}).catch(this.status)},this.i18n("type name"),t.name).bindDestruct(this)}onFolderRemove(t){this.confirm("Are you sure?","Delete",i=>{i&&this.__itemsRemove([{type:"folder",name:t.name,path:t.path,sourceName:t.sourceName}])}).bindDestruct(this)}onFolderCreate(t){this.prompt("Enter Directory name","Create directory",i=>{let n=t.path||"/";this.dataProvider.createFolder(i,t.path||"/",t.sourceName).then(()=>{this.state.currentSource===t.sourceName&&this.state.currentPath===n?this.e.fire("update.filebrowser"):(this.state.currentSource=t.sourceName,this.state.currentPath=n),this.historyManager.updateCurrent()},this.status)},this.i18n("type name")).bindDestruct(this)}onFileRename(t){let i=t.file||t.name||"";1===this.state.activeElements.length&&i&&this.prompt("Enter new name","Rename",t=>{if(!(0,_.isValidName)(t))return this.status(this.i18n("Enter new name")),!1;this.dataProvider.fileRename(this.state.currentPath,i,t,this.state.currentSource).then(t=>{this.state.activeElements=[],this.status(t,!0),this.loadingManager.loadItems()}).catch(this.status)},this.i18n("type name"),i).bindDestruct(this)}onChooseItems(){let t=this.stateManager.state.activeElements;if(t.length){if("folder"===t[0].type){this.state.currentPath=this.state.currentPath+"/"+t[0].name,this.state.currentSource=t[0].sourceName,this.e.fire("afterOpenFolder.filebrowser");return}this.state.onSelectCallBack?this.stateManager.callSelectHandler():this.onOpenLightBox(t[0])}}onOpenLightBox(t){f.UILightBox.open(this,t,this.state.elements)}initUploader(){let t=this,i=(0,_.ConfigProto)(t.o.uploader||{},b.Config.defaultOptions.uploader),n=()=>this.loadingManager.loadItems();t.uploader=t.getInstance("Uploader",i),t.uploader.bind(t.panel.container,n,t.status),t.e.on("bindUploader.filebrowser",i=>{t.uploader.bind(i,n,t.status)})}destruct(){this.removeGlobalListeners(),this.header.destruct(),this.panel.destruct(),super.destruct()}fullFillOptions(){["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(t=>{null!=this.options[t]&&(this.options[t]=(0,_.ConfigProto)(this.options[t],this.o.ajax))})}constructor(t){super((0,_.ConfigProto)(Object.assign(t||{},{resizable:!0,draggable:!0,toolbarButtons:(null==t?void 0:t.toolbarButtons)||b.Config.defaultOptions.filebrowser.buttons,buttons:S.JoditPro.atom(["filebrowser.settings","fullsize","dialog.close"])}),b.Config.defaultOptions.filebrowser)),(0,o._)(this,"dataProvider",(0,E.makeDataProvider)(this,this.options)),(0,o._)(this,"state",(0,w.observable)({onSelectCallBack:null,theme:"default",showSideBar:!0,showFavorites:!0,showSettings:!1,showPreview:!1,withFolders:!0,foldersPosition:"bottom",info:"",metaInfo:null,currentPath:"",currentSource:"",currentBaseUrl:"",tree:[],activeElements:[],favorites:[],progress:0,lastSelectedIndex:0,elements:[],messages:[],sources:[],view:"tiles",tileSize:"default",sortBy:"name-asc",filterWord:"",onlyImages:!1})),(0,o._)(this,"persistent",new d.PersistentStore(this,this.state)),(0,o._)(this,"loadingManager",new c.LoadingManager(this,this.state)),(0,o._)(this,"stateManager",new h.StateManager(this.state)),(0,o._)(this,"historyManager",new u.HistoryManager(this,this.state)),(0,o._)(this,"contextMenuManager",new a.ContextMenuManager(this)),(0,o._)(this,"header",new p.UIBrowserHeader(this,this.options,this.stateManager)),(0,o._)(this,"panel",new m.UIBrowserPanel(this,this.stateManager)),(0,o._)(this,"files",this.panel),(0,o._)(this,"tree",this.panel),(0,o._)(this,"uploader",void 0),A.license.make(this),!this.persistent.theme&&this.options.theme&&(this.persistent.theme=this.options.theme),this.panel.append(this.progressbar),this.toolbar.setMod("mode","header"),this.setSize(Math.min(this.options.width,screen.width),Math.min(this.options.height,screen.height)).setHeader(this.header),this.onResizeWindow(),this.initUploader(),this.onChangeTheme(),this.fullFillOptions(),this.dataProvider.onProgress(t=>{0===t&&(t=30),this.state.progress=t}),this.e.on("beforeClose",this.removeGlobalListeners),this.e.fire("afterInit"),S.JoditPro.prototype.afterInitHook.call(this)}}(0,s.__decorate)([y.autobind],D.prototype,"status",null),(0,s.__decorate)([y.cache],D.prototype,"progressbar",null),(0,s.__decorate)([(0,y.watch)(":resize",{context:window})],D.prototype,"onResizeWindow",null),(0,s.__decorate)([(0,y.watch)(["state.currentPath","state.currentSource"])],D.prototype,"onChangePath",null),(0,s.__decorate)([(0,y.watch)("state.theme")],D.prototype,"onChangeTheme",null),(0,s.__decorate)([(0,y.watch)(":toggleSettings.filebrowser")],D.prototype,"onToggleSettings",null),(0,s.__decorate)([y.autobind],D.prototype,"onKeyPress",null),(0,s.__decorate)([y.autobind],D.prototype,"removeGlobalListeners",null),(0,s.__decorate)([(0,y.watch)(":fileRemove.filebrowser")],D.prototype,"onFileRemove",null),(0,s.__decorate)([(0,y.watch)(":edit.filebrowser")],D.prototype,"onFileEdit",null),(0,s.__decorate)([(0,y.watch)(":folderRename.filebrowser")],D.prototype,"onFolderRename",null),(0,s.__decorate)([(0,y.watch)(":folderRemove.filebrowser")],D.prototype,"onFolderRemove",null),(0,s.__decorate)([(0,y.watch)(":folderCreate.filebrowser")],D.prototype,"onFolderCreate",null),(0,s.__decorate)([(0,y.watch)(":fileRename.filebrowser")],D.prototype,"onFileRename",null),(0,s.__decorate)([(0,y.watch)(":select.filebrowser")],D.prototype,"onChooseItems",null),(0,s.__decorate)([(0,y.watch)(":openLightBox.filebrowser")],D.prototype,"onOpenLightBox",null),D=(0,s.__decorate)([y.component,(0,y.derive)(C.Dlgs)],D),Object.defineProperty(S.JoditPro.modules,"FileBrowserPro",{value:D,writable:!1,enumerable:!0,configurable:!0})},5440:function(t,i,n){"use strict";n.d(i,{buildStylePopup:function(){return l}});var r=n(31105),o=n(8060),s=n(69341);let a="jodit-style-popup";function l(t,i,n){let l=(0,o.classifyDefinitions)(i),u=(0,s.detectActiveStyle)(t,i),c=t.c.div(a);for(let o of l){let s=t.c.div(`${a}__group-title`);s.textContent=t.i18n(o.title),c.appendChild(s);let l=t.c.div(`${a}__grid`);for(let s of o.definitions){var d,h;let o=t.c.element("button");o.type="button",o.className=`${a}__card`+(u===s?` ${a}__card_active_true`:"");let c=t.c.div(`${a}__card-preview`),p=t.c.element(s.element);for(let t of null!=(d=null==(h=s.classes)?void 0:h.filter(Boolean))?d:[])p.classList.add(t);p.textContent=s.name,c.appendChild(p),o.appendChild(c);let f=t.c.div(`${a}__card-label`);f.textContent=s.name,o.appendChild(f),t.e.on(o,"click",()=>{t.s.focus(),(0,r.applyStyle)(t,s,i),t.synchronizeValues(),n()}),l.appendChild(o)}c.appendChild(l)}return c}},5567:function(t,i){"use strict";i.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-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 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-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg> '},5618:function(t,i,n){"use strict";var r=n(56075),o=n(11886),s=n(93809),a=n(28157);i.default=(0,o._)((0,r._)({},s),{execute:a.execute})},5700:function(t,i,n){"use strict";n.d(i,{position:function(){return function t(i,n,o=!1){var s,a;let l=i.getBoundingClientRect(),u=l.left,c=l.top;if((0,r.isJoditObject)(n)&&n.iframe&&n.ed.body.contains(i)&&!o){let{left:i,top:r}=t(n.iframe,n,!0);u+=i,c+=r}return{left:Math.round(u),top:Math.round(c),width:Math.round(null!=(s=i.offsetWidth)?s:l.width),height:Math.round(null!=(a=i.offsetHeight)?a:l.height)}}}});var r=n(19306)},5827:function(t,i,n){"use strict";var r=n(2748),o=n(12153),s=n(6441),a=n(27190),l=n(42345),u=n(10411);s.Config.prototype.link={formTemplate:u.formTemplate,followOnDblClick:!1,processVideoLink:!0,processPastedLink:!0,noFollowCheckbox:!0,openInNewTabCheckbox:!0,modeClassName:"input",selectMultipleClassName:!0,preventReadOnlyNavigation:!0,selectSizeClassName:3,selectOptionsClassName:[],hotkeys:["ctrl+k","cmd+k"]},o.Icon.set("link",a.default).set("unlink",l.default),s.Config.prototype.controls.unlink={exec:(t,i)=>{let n=r.Dom.closest(i,"a",t.editor);n&&r.Dom.unwrap(n),t.synchronizeValues(),t.e.fire("hidePopup")},tooltip:"Unlink"},s.Config.prototype.controls.link={isActive:t=>{let i=t.s.current();return!!(i&&r.Dom.closest(i,"a",t.editor))},popup:(t,i,n)=>t.e.fire("generateLinkForm.link",i,n),tags:["a"],tooltip:"Insert link"}},6091:function(t,i){"use strict";i.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> '},6183:function(t,i,n){"use strict";n.d(i,{UIBackupList:function(){return d}});var r=n(82749),o=n(31635),s=n(38512),a=n(82758),l=n(65478),u=n(21537),c=n(67510);class d extends c.UIGroup{className(){return"UIBackupList"}createContainer(t){let i=super.createContainer(t);return(0,u.attr)(i,"tabIndex","-1"),i}build(t){this.clear(),t.forEach((t,i)=>{let n=new s.UIBackupItem(this.jodit,t);this.append(n),this.j.e.on(n.container,"focus",()=>this.onSelect(i)).on(n.container,"click",()=>this.onSelect(i)).on(n.container,"dblclick",()=>this.onChoose(i))}),this.currentSelection=0,this.onChangeCurrentSelection(void 0,-1,0)}onChangeCurrentSelection(t,i,n){var r,o,s;null==(r=this.elements[i])||r.setMod("active",!1),null==(o=this.elements[n])||o.setMod("active",!0),null==(s=this.elements[n])||s.focus(),this.j.e.fire(this,"select",this.elements[n].data)}onSelect(t){this.currentSelection=t}onChoose(t){this.j.e.fire(this,"choose",this.elements[null!=t?t:this.currentSelection].data)}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}constructor(t){super(t),(0,r._)(this,"elements",[]),(0,r._)(this,"currentSelection",-1),t.e.on(this.container,"keydown",t=>{switch(t.key){case a.KEY_ENTER:t.preventDefault(),t.stopPropagation(),this.onChoose(this.currentSelection);break;case a.KEY_DOWN:this.selectNext();break;case a.KEY_UP:this.selectPrevious()}})}}(0,o.__decorate)([(0,l.watch)("currentSelection")],d.prototype,"onChangeCurrentSelection",null),(0,o.__decorate)([l.autobind],d.prototype,"onSelect",null),(0,o.__decorate)([l.autobind],d.prototype,"onChoose",null),d=(0,o.__decorate)([l.component],d)},6342:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg> '},6402:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Дүрмийн алдаа шалгах"}},6441:function(t,i,n){"use strict";n.d(i,{Config:function(){return s}});var r=n(82758);let o={};class s{static get defaultOptions(){return s.__defaultOptions||(s.__defaultOptions=new s),s.__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=r.globalDocument,this.ownerWindow=r.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=r.INSERT_AS_HTML,this.enter=r.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:r.PARAGRAPH,this.defaultMode=r.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,o)}}o=s.prototype,s.prototype.controls={}},6602:function(t){t.exports={"Show Blocks":"Pokaż Bloki"}},6687:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(20356),a=n(12153),l=n(6441),u=n(66863),c=n(64489);a.Icon.set("redo",u.default).set("undo",c.default),l.Config.prototype.controls.redo={mode:r.MODE_SPLIT,isDisabled:t=>!t.history.canRedo(),tooltip:"Redo"},l.Config.prototype.controls.undo={mode:r.MODE_SPLIT,isDisabled:t=>!t.history.canUndo(),tooltip:"Undo"};class d extends s.Plugin{beforeDestruct(){}afterInit(t){let i=i=>(t.history[i](),!1);t.registerCommand("redo",{exec:i,hotkeys:["ctrl+y","ctrl+shift+z","cmd+y","cmd+shift+z"]}),t.registerCommand("undo",{exec:i,hotkeys:["ctrl+z","cmd+z"]})}constructor(){super(...arguments),this.buttons=[{name:"undo",group:"history"},{name:"redo",group:"history"}]}}o.pluginSystem.add("redoUndo",d)},6689:function(t,i,n){"use strict";n.d(i,{throwIfAborted:function(){return o}});var r=n(93661);function o(t){if(t.aborted)throw(0,r.abort)()}},6700:function(t,i,n){"use strict";n.d(i,{Storage:function(){return l},StorageKey:function(){return a}});var r=n(87058),o=n(65638),s=n(21162);let a="Jodit_";class l{set(t,i){return this.provider.set((0,r.camelCase)(this.prefix+t),i),this}delete(t){return this.provider.delete((0,r.camelCase)(this.prefix+t)),this}get(t){return this.provider.get((0,r.camelCase)(this.prefix+t))}exists(t){return this.provider.exists((0,r.camelCase)(this.prefix+t))}clear(){return this.provider.clear(),this}static makeStorage(t=!1,i){let n;return"localStorage"===t||"sessionStorage"===t?(0,o.canUsePersistentStorage)(t)&&(n=new o.LocalStorageProvider(a+(i||""),t)):!0===t&&(0,o.canUsePersistentStorage)("localStorage")&&(n=new o.LocalStorageProvider(a+(i||""))),n||(n=new s.MemoryStorageProvider),new l(n,i)}constructor(t,i){this.provider=t,this.prefix=a,i&&(this.prefix+=i)}}},6950:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <path stroke-width="0" d="M22,20.6L3.4,2H8V0H0v8h2V3.4L20.6,22H16v2h8v-8h-2V20.6z M16,0v2h4.7l-6.3,6.3l1.4,1.4L22,3.5V8h2V0H16z M8.3,14.3L2,20.6V16H0v8h8v-2H3.5l6.3-6.3L8.3,14.3z"/> </svg> '},6980:function(t,i,n){"use strict";n.d(i,{wrapUnwrappedText:function(){return s}});var r=n(2748),o=n(78116);function s(t,i,n){let s=n.editor,a=n.createInside,l=(t,i="previousSibling")=>{let a=t,l=t;for(;l&&!(0,o.isMarker)(l)&&!r.Dom.isTag(l,n.o.enter)&&(a=l,l=l[i]?l[i]:l.parentNode&&!r.Dom.isBlock(l.parentNode)&&l.parentNode!==s?l.parentNode:null,!r.Dom.isBlock(l)););return a},u=l(i),c=l(i,"nextSibling"),d=n.s.createRange();d.setStartBefore(u),d.setEndAfter(c);let h=d.extractContents(),p=a.element(t.element);return p.appendChild(h),r.Dom.safeInsertNode(d,p),t.elementIsBlock&&r.Dom.isEmpty(p)&&!r.Dom.isTag(p.firstElementChild,"br")&&p.appendChild(a.element("br")),p}},7085:function(t){t.exports={"Show Blocks":"تظهر كتل"}},7307:function(t){t.exports='<svg viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg"> <path d="M365.4,59.628c60.56,0,109.6,49.03,109.6,109.47c0,109.47-109.6,171.8-219.06,281.271 C146.47,340.898,37,278.568,37,169.099c0-60.44,49.04-109.47,109.47-109.47c54.73,0,82.1,27.37,109.47,82.1 C283.3,86.999,310.67,59.628,365.4,59.628z"/> </svg>'},7309:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(20356);n(99649);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){o.Dom.safeRemove(this.charCounter),o.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(){super(...arguments),this.charCounter=null,this.wordCounter=null,this.reInit=()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()},this.calc=this.j.async.throttle(()=>{let t=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let i;i=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):t.replace((0,r.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",i.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").split((0,r.SPACE_REG_EXP)()).filter(t=>t.length).length))},this.j.defaultTimeout)}}s.pluginSystem.add("stat",l)},7483:function(t,i,n){"use strict";n.d(i,{TextAreaEditor:function(){return a}});var r=n(2748),o=n(41180),s=n(23370);class a extends s.SourceEditor{init(t){this.instance=t.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===t.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),t.e.on(this.instance,"mousedown keydown touchstart input",t.async.debounce(this.toWYSIWYG,t.defaultTimeout)).on("setMinHeight.source",t=>{(0,o.css)(this.instance,"minHeight",t)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",i=>{t.e.fire(i.type,i)}),this.autosize(),this.onReady()}destruct(){r.Dom.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(t){this.instance.value=t}insertRaw(t){let i=this.getValue();if(this.getSelectionStart()>=0){let n=this.getSelectionStart(),r=this.getSelectionEnd();this.setValue(i.substring(0,n)+t+i.substring(r,i.length))}else this.setValue(i+t)}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(t,i=t){this.instance.setSelectionRange(t,i)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(t){this.instance.setAttribute("placeholder",t)}setReadOnly(t){t?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){let{history:t}=this.jodit;this.j.e.on(this.instance,"keydown",i=>{if((i.ctrlKey||i.metaKey)&&"z"===i.key)return i.shiftKey?t.redo():t.undo(),this.setSelectionRange(this.getValue().length),!1})}constructor(){super(...arguments),this.autosize=this.j.async.debounce(()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"},this.j.defaultTimeout,!0)}}},7886:function(t,i,n){"use strict";n.r(i),i.default={aiAssistant:"Asistente de IA",aiCommands:"Comandos de IA","AI Assistant":"Asistente de IA","AI Commands":"Comandos de IA","Improve writing":"Mejorar escritura","Make shorter":"Hacer m\xe1s corto","Make longer":"Hacer m\xe1s largo","Simplify language":"Simplificar lenguaje",Summarize:"Resumir",Continue:"Continuar",Prompt:"Solicitud",Insert:"Insertar","Insert After":"Insertar despu\xe9s","Try Again":"Intentar de nuevo","Ask AI to improve generated text":"Pida a la IA que mejore el texto generado","Change tone to professional":"Cambiar tono a profesional","Change tone to friendly":"Cambiar tono a amigable","Change tone to formal":"Cambiar tono a formal","Change tone to casual":"Cambiar tono a casual","Change tone to direct":"Cambiar tono a directo","Change tone to confident":"Cambiar tono a confiado","Change tone to business":"Cambiar tono a empresarial","Change style to legal":"Cambiar estilo a legal","Change style to journalism":"Cambiar estilo a period\xedstico","Change style to poetic":"Cambiar estilo a po\xe9tico","Translate to Spanish":"Traducir al espa\xf1ol","Translate to French":"Traducir al franc\xe9s","Translate to German":"Traducir al alem\xe1n","Translate to Italian":"Traducir al italiano","Translate to Portuguese":"Traducir al portugu\xe9s","Translate to English":"Traducir al ingl\xe9s","Translate to Chinese":"Traducir al chino","Translate to Japanese":"Traducid al japon\xe9s","Translate to Korean":"Traducir al coreano","Translate to Russian":"Traducir al ruso","Translate to Arabic":"Traducir al \xe1rabe",Submit:"Enviar"}},7903:function(t,i){"use strict";i.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> '},8060:function(t,i,n){"use strict";n.d(i,{classifyDefinitions:function(){return o}});var r=n(82758);function o(t){let i=[],n=[];for(let o of t)r.IS_BLOCK.test(o.element)?i.push(o):n.push(o);let o=[];return i.length&&o.push({title:"Block styles",definitions:i}),n.length&&o.push({title:"Text styles",definitions:n}),o}},8073:function(t,i,n){"use strict";n.d(i,{UIMapsControlsForm:function(){return c}});var r=n(82749),o=n(56075),s=n(11886),a=n(31635),l=n(87325),u=n(67510);class c extends u.UIForm{className(){return"UIMapsControlsForm"}onChangeSize(t,i){this.state.controls=(0,s._)((0,o._)({},this.state.controls),{[t]:"true"===i})}constructor(t,i){super(t),(0,r._)(this,"state",void 0),this.state=i;const n={zoomControl:"Zoom control",mapTypeControl:"Map Type control",scaleControl:"Scale control",streetViewControl:"Street View control ",rotateControl:"Rotate control",fullscreenControl:"Fullscreen control"},o=Object.keys(n);this.append(o.map(i=>new u.UICheckbox(t,{label:n[i],name:i,checked:this.state.controls[i],switch:!0,type:"checkbox",onChange:this.onChangeSize.bind(this,i)})))}}c=(0,a.__decorate)([l.component],c)},8087:function(t,i,n){"use strict";n.d(i,{ContextMenuManager:function(){return l}});var r=n(31635),o=n(80480),s=n(65478),a=n(63399);class l extends o.ViewComponent{className(){return"ContextMenuManager"}onFolderContext(t,i){return this.buildContextItemMenu(this.getFolderContextActions(t),i),!1}onItemContext(t,i,n){return this.buildContextItemMenu(this.getItemContextActions(t),n),!1}onSourceContext(t,i){return this.buildContextItemMenu(this.getSourceContextActions(t),i),!1}buildContextItemMenu(t,i){if(!this.j.o.contextMenu)return;let n=(0,a.makeContextMenu)(this.j).setMod("theme",this.j.state.theme);n.show(i.clientX,i.clientY,t.filter(t=>t&&!1!==t.enabled)),this.j.e.on(this.j,"afterClose",()=>{n.isOpened&&n.close()})}getItemContextActions(t){if(this.j.stateManager.isActive(t)||this.j.stateManager.addActive(t,this.j.state.activeElements.length>1),"folder"===t.type)return this.getFolderContextActions({type:"directory",children:[],name:t.name||"",path:t.path,sourceName:t.sourceName});let i=this.j.options,n=this.j.dataProvider,r=1===this.j.state.activeElements.length;return[{icon:"pencil",title:"Edit",enabled:!!t.isImage&&i.editImage&&r&&(n.canI("ImageResize")||n.canI("ImageCrop")),exec:()=>{this.j.e.fire("edit.filebrowser")}},{icon:"italic",title:"Rename",enabled:n.canI("FileRename")&&r,exec:()=>this.j.e.fire("fileRename.filebrowser",t)},{icon:"bin",title:"Delete",enabled:n.canI("FileRemove"),exec:()=>this.j.e.fire("fileRemove.filebrowser",t)},{icon:"eye",title:"Preview",enabled:!!(t.isImage||"file"===t.type)&&i.preview&&r,exec:()=>this.j.e.fire("openLightBox.filebrowser",t)},{icon:"upload",title:"Download",exec:()=>{t.fileURL&&this.j.ow.open(t.fileURL)}}]}getFolderContextActions(t){let i=this.j.dataProvider;return[{icon:"pencil",title:"Rename",exec:()=>{this.j.e.fire("folderRename.filebrowser",t)},enabled:i.canI("FolderRename")},{icon:"bin",title:"Delete",exec:()=>{this.j.e.fire("folderRemove.filebrowser",t)},enabled:i.canI("FolderRemove")},{icon:"plus",title:"Add folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",t)},enabled:i.canI("FolderCreate")}]}getSourceContextActions(t){return[{icon:"plus",title:"Create folder",exec:()=>{this.j.e.fire("folderCreate.filebrowser",t)}}]}}(0,r.__decorate)([(0,s.watch)(":contextmenuFolder.filebrowser")],l.prototype,"onFolderContext",null),(0,r.__decorate)([(0,s.watch)(":contextmenuItem.filebrowser")],l.prototype,"onItemContext",null),(0,r.__decorate)([(0,s.watch)(":contextmenuSource.filebrowser")],l.prototype,"onSourceContext",null),l=(0,r.__decorate)([s.component],l)},8172:function(t,i,n){"use strict";n.d(i,{FileBrowserFiles:function(){return r.FileBrowserFiles},FileBrowserTree:function(){return o.FileBrowserTree}});var r=n(97379),o=n(8193)},8193:function(t,i,n){"use strict";n.d(i,{FileBrowserTree:function(){return o}});var r=n(67510);class o extends r.UIGroup{className(){return"FileBrowserTree"}}},8256:function(t,i,n){"use strict";var r=n(6441),o=n(22732),s=n(21537);let a=["tune.up","tune.remove","tune.down"],l=["tune.h1","tune.h2","tune.h3","\n","tune.h4","tune.h5","tune.h6","\n",...a];function u(t){return{icon:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 50 50"><text dominant-baseline="text-before-edge" style="font: 45px sans-serif" x="0" y="0">'+t.toUpperCase()+"</text></svg>",isActive(i,n){var r;return(null==n||null==(r=n.target)?void 0:r.tagName.toLowerCase())===t},exec(i,n){if(n){i.selection.save();let r=o.Dom.replace(n,t,i.createInside);i.selection.restore(),i.e.fire("synchro"),i.e.fire("afterExecTune.tune",r)}return!0}}}function c(t){let i=t?"previousSibling":"nextSibling";return{icon:t?"angle-up":"angle-down",isDisabled(t,n){var r;return!(null==n||null==(r=n.target)?void 0:r[i])},exec(n,r){let a=null==r?void 0:r[i];return r&&a&&(n.selection.save(),(0,s.call)(t?o.Dom.before:o.Dom.after,a,r),n.selection.restore()),n.e.fire("synchro"),n.e.fire("afterExecTune.tune"),!0}}}r.Config.prototype.tuneBlock={popup:{p:a,table:a,img:a,blockquote:a,div:a,pre:["tune.editPre",...a],h1:l,h2:l,h3:l,h4:l,h5:l,h6:l}},r.Config.prototype.controls.tune={h1:u("h1"),h2:u("h2"),h3:u("h3"),h4:u("h4"),h5:u("h5"),h6:u("h6"),up:c(!0),down:c(!1),editPre:{icon:"pencil",exec(t,i){t.e.fire("editPreInPasteCode",i)}},remove:{icon:"bin",exec(t,i){o.Dom.safeRemove(i),t.e.fire("synchro"),t.e.fire("closeTuner.tune"),t.e.fire("hideTuner.tune")}}}},8355:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(11628);n(6441).Config.prototype.controls.preview={icon:"eye",command:"preview",mode:r.MODE_SOURCE+r.MODE_WYSIWYG,tooltip:"Preview"},o.pluginSystem.add("preview",function(t){t.registerButton({name:"preview"}),t.registerCommand("preview",(i,n,r)=>{let o=t.dlg();o.setSize(1024,600).open("",t.i18n("Preview")).setModal(!0);let[,a]=(0,s.previewBox)(t,r,"px",o.getElm("content"));o.e.on(o,"afterClose",a)})})},8358:function(t,i,n){"use strict";n.d(i,{UIPreview:function(){return p}});var r=n(82749),o=n(31635),s=n(65478),a=n(2748),l=n(43555),u=n(38837),c=n(62405),d=n(21130),h=n(54747);class p extends c.UIGroup{className(){return"UIPreview"}addResize(){(0,l.css)(this.container,{width:null,height:null}),h.UIResize.remove(this),h.UIResize.install(this,screen.width>450?"left":"top")}render(){return`<div>
|
|
22
22
|
<div class="&__image"></div>
|
|
23
23
|
<div class="&__info"></div>
|
|
24
24
|
<div class="&__loader"></div>
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
</div>`}afterSetMod(t,i){"hidden"===t&&!1===i&&this.onChangeMetaInfo(),super.afterSetMod(t,i)}onChangeMetaInfo(){var t,i;if(this.getMod("hidden"))return;let{metaInfo:n}=this.state;this.setMod("empty",!n);let r=this.getElm("info");(0,u.assert)(null!=r,"info element does not exists"),a.Dom.detach(r);let o=this.getElm("image");(0,u.assert)(null!=o,"image element does not exists"),(0,l.css)(o,{backgroundImage:null}),n&&(this.setMod("is-file",!1===n.isImage).setMod("type",null!=(t=n.type)?t:"file"),d.UIBrowserItem.prototype.setElementValue.call(this,"name",n.file),d.UIBrowserItem.prototype.setElementValue.call(this,"time",n.time),d.UIBrowserItem.prototype.setElementValue.call(this,"filesize",n.size),this.setMod("loading",!0),null==(i=this.lastLoadPromise)||i.rejectCallback(),this.lastLoadPromise=(0,l.loadImage)(n.isImage?n.fileURL:n.imageURL,this.j),this.lastLoadPromise.then(t=>{let i=this.getElm("image");(0,u.assert)(null!=i,"image element does not exist"),t&&(0,l.css)(i,{backgroundImage:`url(${t.src})`})}).finally(()=>{this.setMod("loading",!1)}).catch(()=>{}))}constructor(t,i){super(t),(0,r._)(this,"state",void 0),(0,r._)(this,"lastLoadPromise",void 0),this.state=i,this.lastLoadPromise=null,this.onChangeMetaInfo()}}(0,o.__decorate)([(0,s.hook)("ready"),(0,s.watch)(":resize",{context:window}),(0,s.debounce)()],p.prototype,"addResize",null),(0,o.__decorate)([(0,s.watch)("state.metaInfo")],p.prototype,"onChangeMetaInfo",null),p=(0,o.__decorate)([s.component],p)},8390:function(t,i,n){"use strict";var r=n(82749);n(89683);var o=n(2748),s=n(36409),a=n(50911),l=n(2692);class u extends a.Plugin{afterInit(t){t.registerCommand("changeCase",{exec:(i,n,r)=>{r=r.toLowerCase();let s=t.s.range,{startContainer:a,startOffset:l}=s;if(t.s.isCollapsed()){let i=t.s.current(!0);i&&i.parentElement&&this.applyCase(r,i.parentElement),s.setStart(a,l),t.s.selectRange(s)}else{let i=s.cloneRange(),n=s.cloneRange(),a=t.createInside.fake(),l=t.createInside.fake();i.collapse(!0),n.collapse(!1),i.insertNode(a),n.insertNode(l),o.Dom.between(a,l,t=>{this.applyCase(r,t)}),s.setStartAfter(a),s.setEndBefore(l),t.s.selectRange(s),o.Dom.safeRemove(a),o.Dom.safeRemove(l)}}})}applyCase(t,i){if(o.Dom.isText(i)){let n=i.nodeValue;n&&(i.nodeValue=(i=>{switch(t){case"lowercase":return i.toLowerCase();case"uppercase":return i.toUpperCase();default:return i.split(" ").map(s.ucfirst).join(" ")}})(n))}else o.Dom.each(i,i=>{this.applyCase(t,i)})}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"changeCase",group:"font-style"}])}}(0,r._)(u,"requires",["license"]),l.JoditPro.plugins.add("change-case",u)},8432:function(t){t.exports={"Show Blocks":"Haritayı Blokları"}},8661:function(t,i,n){"use strict";n.r(i),i.default={newline:"linha",delete:"excluir",space:"espaco","Speech Recognize":"Discurso Reconhecer",Sound:"Som","Interim Results":"Resultados Provis\xf3rios"}},8884:function(t,i,n){"use strict";n.d(i,{Async:function(){return r.Async}});var r=n(26992)},8959:function(t,i,n){"use strict";n.d(i,{UICheckbox:function(){return o.UICheckbox},UIFileInput:function(){return s.UIFileInput},UIInput:function(){return a.UIInput},UISelect:function(){return l.UISelect},UITextArea:function(){return r.UITextArea}});var r=n(85120),o=n(17328),s=n(4242),a=n(80256),l=n(12234)},9045:function(t,i,n){"use strict";n(6441).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},9159:function(t,i,n){"use strict";var r=n(65478),o=n(22732),s=n(580),a=n(50911),l=n(67510);n(68252);var u=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class c extends a.Plugin{afterInit(t){let{height:i,width:n,allowResizeX:r}=t.o,{allowResizeY:o}=t.o;"auto"===i&&"auto"!==n&&(o=!1),("auto"!==i||"auto"!==n)&&(r||o)&&(t.statusbar.setMod("resize-handle",!0),t.e.on("toggleFullSize.resizeHandler",()=>{this.handle.style.display=t.isFullSize?"none":"block"}).on(this.handle,"mousedown touchstart",this.onHandleResizeStart).on(t.ow,"mouseup touchend",this.onHandleResizeEnd),t.container.appendChild(this.handle))}onHandleResizeStart(t){this.isResized=!0,this.start.x=t.clientX,this.start.y=t.clientY,this.start.w=this.j.container.offsetWidth,this.start.h=this.j.container.offsetHeight,this.j.lock(),this.j.e.on(this.j.ow,"mousemove touchmove",this.onHandleResize),t.preventDefault()}onHandleResize(t){this.isResized&&(this.j.o.allowResizeY&&this.j.e.fire("setHeight",this.start.h+t.clientY-this.start.y),this.j.o.allowResizeX&&this.j.e.fire("setWidth",this.start.w+t.clientX-this.start.x),this.j.e.fire("resize"))}onHandleResizeEnd(){this.isResized&&(this.isResized=!1,this.j.e.off(this.j.ow,"mousemove touchmove",this.onHandleResize),this.j.unlock())}beforeDestruct(){o.Dom.safeRemove(this.handle),this.j.e.off(this.j.ow,"mouseup touchsend",this.onHandleResizeEnd)}constructor(){super(...arguments),this.isResized=!1,this.start={x:0,y:0,w:0,h:0},this.handle=this.j.c.div("jodit-editor__resize",l.Icon.get("resize_handler"))}}c.requires=["size"],u([r.autobind],c.prototype,"onHandleResizeStart",null),u([r.autobind],c.prototype,"onHandleResize",null),u([r.autobind],c.prototype,"onHandleResizeEnd",null),s.pluginSystem.add("resizeHandler",c)},9881:function(t,i,n){"use strict";var r=n(65478),o=n(2748),s=n(580),a=n(87058),l=n(50911),u=n(67510);n(67215);var c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class d extends l.Plugin{afterInit(t){this.proxyEventsList.forEach(i=>{t.e.on(i+".select",this.onStartSelection)})}beforeDestruct(t){this.proxyEventsList.forEach(i=>{t.e.on(i+".select",this.onStartSelection)})}onStartSelection(t){let{j:i}=this,n,r=t.target;for(;void 0===n&&r&&r!==i.editor;)n=i.e.fire((0,a.camelCase)(t.type+"_"+r.nodeName.toLowerCase()),r,t),r=r.parentElement;"click"===t.type&&void 0===n&&r===i.editor&&i.e.fire(t.type+"Editor",r,t)}onOutsideClick(t){let i=t.target;o.Dom.up(i,t=>t===this.j.editor)||u.UIElement.closestElement(i,u.Popup)||this.j.e.fire("outsideClick",t)}beforeCommandCut(){let{s:t}=this.j;if(!t.isCollapsed()){let i=t.current();i&&o.Dom.isOrContains(this.j.editor,i)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){let{s:t}=this.j;return t.focus(),t.select(this.j.editor,!0),t.expandSelection(),!1}onTripleClickNormalizeSelection(t){if(3!==t.detail||!this.j.o.select.normalizeTripleClick)return;let{s:i}=this.j,{startContainer:n,startOffset:r}=i.range;0===r&&o.Dom.isText(n)&&i.select(o.Dom.closest(n,o.Dom.isBlock,this.j.editor)||n,!0)}onCopyNormalizeSelectionBound(t){let{s:i,editor:n,o:r}=this.j;!r.select.normalizeSelectionBeforeCutAndCopy||i.isCollapsed()||(!t||t.isTrusted&&o.Dom.isNode(t.target)&&o.Dom.isOrContains(n,t.target))&&this.jodit.s.expandSelection()}constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}}c([r.autobind],d.prototype,"onStartSelection",null),c([(0,r.watch)("ow:click")],d.prototype,"onOutsideClick",null),c([(0,r.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),c([(0,r.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),c([(0,r.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),c([(0,r.watch)([":copy",":cut"])],d.prototype,"onCopyNormalizeSelectionBound",null),s.pluginSystem.add("select",d)},9914:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 48 48"> <path d="M6 18h4v-4h-4v4zm0-8h4v-4h-4v4zm8 32h4v-4h-4v4zm0-16h4v-4h-4v4zm-8 0h4v-4h-4v4zm0 16h4v-4h-4v4zm0-8h4v-4h-4v4zm8-24h4v-4h-4v4zm24 24h4v-4h-4v4zm-16 8h4v-36h-4v36zm16 0h4v-4h-4v4zm0-16h4v-4h-4v4zm0-20v4h4v-4h-4zm0 12h4v-4h-4v4zm-8-8h4v-4h-4v4zm0 32h4v-4h-4v4zm0-16h4v-4h-4v4z"/> <path d="M0 0h48v48h-48z" fill="none"/> </svg> '},9992:function(t,i,n){"use strict";n.d(i,{normalizePath:function(){return o}});var r=n(49055);let o=(...t)=>t.filter(t=>(0,r.trim)(t).length).map((i,n)=>(i=i.replace(/([^:])[\\/]+/g,"$1/"),n&&(i=i.replace(/^\//,"")),n!==t.length-1&&(i=i.replace(/\/$/,"")),i)).join("/")},10052:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg> '},10058:function(t,i,n){"use strict";n.d(i,{LEVEL_KEY:function(){return r},STYLE_CSS_KEY:function(){return l},STYLE_KEY:function(){return s},STYLE_VALID_KEY:function(){return a},TYPE_KEY:function(){return o},listStyleMap:function(){return u}});let r="jd-list-level",o="jd-list-type",s="jd-list-style-type",a="data-list-style-type",l="list-style-type",u={"\xb7":"disc",o:"circle","\xa7":"square","[ivx]":"lower-roman","[IVX]":"upper-roman","[a-z]":"lower-alpha","[A-Z]":"upper-alpha","\\d":"decimal"}},10263:function(t,i,n){"use strict";n.d(i,{openImagePopup:function(){return u}});var r=n(68345),o=n(5700),s=n(56917),a=n(34793);function l(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function u(t,i,n,u){let c=new s.Popup(i),d=()=>{c.close(),c.destruct()};c.setContent((0,a.FileSelectorWidget)(t,{upload:t=>{t.files&&t.files.length&&(n.values.imageSrc=t.baseurl+t.files[0]),d()},filebrowser:t=>{var i;return(i=function*(){t&&(0,r.isArray)(t.files)&&t.files.length&&(n.values.imageSrc=t.files[0],d())},function(){var t=this,n=arguments;return new Promise(function(r,o){var s=i.apply(t,n);function a(t){l(s,r,o,a,u,"next",t)}function u(t){l(s,r,o,a,u,"throw",t)}a(void 0)})})()}},n.image,d)).open(()=>(0,o.position)(u))}},10411:function(t,i,n){"use strict";n.d(i,{formTemplate:function(){return s}});var r=n(62843),o=n(2525);let s=t=>{let{openInNewTabCheckbox:i,noFollowCheckbox:n,modeClassName:s,selectSizeClassName:a,selectMultipleClassName:l,selectOptionsClassName:u}=t.o.link;return new o.UIForm(t,[new o.UIBlock(t,[new o.UIInput(t,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new o.UIBlock(t,[new o.UIInput(t,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),s?new o.UIBlock(t,["input"===s?new o.UIInput(t,{name:"className",ref:"className_input",label:"Class name"}):"select"===s?new o.UISelect(t,{name:"className",ref:"className_select",label:"Class name",size:a,multiple:l,options:u}):null]):null,i?new o.UICheckbox(t,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,n?new o.UICheckbox(t,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new o.UIBlock(t,[new r.UIButton(t,{name:"unlink",variant:"default",text:"Unlink"}),new r.UIButton(t,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},10690:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V24H8V15.2625H0L15 0.5Z"/> <rect x="8" y="26" width="14" height="3"/> </svg>'},10766:function(t,i){"use strict";i.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> '},10830:function(t,i,n){"use strict";n.d(i,{Button:function(){return v},UIButton:function(){return b},UIButtonState:function(){return g}});var r=n(78213),o=n(33433),s=n(87325),a=n(37133),l=n(2748),u=n(23282),c=n(70799),d=n(38837),h=n(29960),p=n(48538),f=n(12153),m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let g=()=>({size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0}),b=class t extends p.UIElement{className(){return"UIButton"}setState(t){return Object.assign(this.state,t),this}get text(){let t=this.getElm("text");return(0,d.assert)(t,"Text element not found"),t}get icon(){let t=this.getElm("icon");return(0,d.assert)(t,"Icon element not found"),t}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,h.attr)(this.container,"type",this.state.type)}onChangeRole(){(0,h.attr)(this.container,"role",this.state.role)}updateSize(){let t=(0,s.getComponentClass)("UIList"),i=this.closest(t);if(i){this.state.size=i.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,h.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,h.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,h.attr)(this.container,"data-ref",this.state.name),(0,h.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){let t=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;this.get("j.o.useNativeTooltip")&&(0,h.attr)(this.container,"title",t),(0,h.attr)(this.container,"aria-label",t),this.updateAriaLabel()}updateAriaLabel(){let t=this.state.text.trim().length>0,i=this.state.tooltip?this.jodit.i18n(this.state.tooltip):null;(0,h.attr)(this.container,"aria-label",i),(0,h.attr)(this.button,"aria-label",t?null:i)}onChangeTabIndex(){(0,h.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){let t=this.get("j.o.textIcons");if(!0===t||(0,u.isFunction)(t)&&t(this.state.name))return;l.Dom.detach(this.icon);let i=f.Icon.makeIcon(this.j,this.state.icon);i&&this.icon.appendChild(i)}focus(){this.container.focus()}isFocused(){let{activeElement:t}=this.od;return!!(t&&l.Dom.isOrContains(this.container,t))}createContainer(){let t=this.componentName,i=this.j.c.element("button",{class:t,type:"button",role:"button",ariaPressed:!1}),n=this.j.c.span(t+"__icon"),r=this.j.c.span(t+"__text");return i.appendChild(n),i.appendChild(r),i}destruct(){return this.j.e.off(this),this.j.e.off(this.container),super.destruct()}onAction(t){return this.actionHandlers.push(t),this}__onActionFire(t){t.buffer={actionTrigger:this},this.actionHandlers.forEach(i=>i.call(this,t)),this.j.e.fire(this,"click",t)}constructor(t,i){super(t),this.isButton=!0,this.state=g(),this.actionHandlers=[],this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),i&&this.hookStatus(r.STATUSES.ready,()=>{this.setState(i)})}};function v(t,i,n,r){let o=new b(t);return o.state.tabIndex=t.o.allowTabNavigation?0:-1,(0,c.isString)(i)?(o.state.icon.name=i,o.state.name=i,r&&(o.state.variant=r),n&&(o.state.text=n)):o.setState(i),o}m([o.cache],b.prototype,"text",null),m([o.cache],b.prototype,"icon",null),m([(0,a.watch)("state.size",{immediately:!1})],b.prototype,"onChangeSize",null),m([(0,a.watch)("state.type",{immediately:!1})],b.prototype,"onChangeType",null),m([(0,a.watch)("state.role",{immediately:!1})],b.prototype,"onChangeRole",null),m([(0,a.watch)("parentElement")],b.prototype,"updateSize",null),m([(0,a.watch)("state.variant",{immediately:!1})],b.prototype,"onChangeStatus",null),m([(0,a.watch)("state.text",{immediately:!1})],b.prototype,"onChangeText",null),m([(0,a.watch)("state.text",{immediately:!1})],b.prototype,"onChangeTextSetMode",null),m([(0,a.watch)("state.disabled")],b.prototype,"onChangeDisabled",null),m([(0,a.watch)("state.activated")],b.prototype,"onChangeActivated",null),m([(0,a.watch)("state.name",{immediately:!1})],b.prototype,"onChangeName",null),m([(0,a.watch)("state.tooltip",{immediately:!1})],b.prototype,"onChangeTooltip",null),m([(0,a.watch)("state.tabIndex",{immediately:!1})],b.prototype,"onChangeTabIndex",null),m([(0,a.watch)("state.icon",{immediately:!1})],b.prototype,"onChangeIcon",null),m([o.cacheHTML],b.prototype,"createContainer",null),m([(0,a.watch)("button:click")],b.prototype,"__onActionFire",null),b=m([s.component],b)},10937:function(t,i){"use strict";i.default='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg> '},11079:function(t,i,n){"use strict";n.d(i,{openPropsDialog:function(){return c}});var r=n(56075),o=n(11886),s=n(47660),a=n(72690),l=n(90835);function u(){let t=new google.maps.InfoWindow({content:"<div>test</div>"});return t.addListener("domready",()=>{this.setMod("info-opened",!0)}),t.addListener("closeclick",()=>{this.setMod("info-opened",!1)}),t}function c(t,i){let n;switch(this.state.mode="hand",t.type){case"polyline":n=new l.UIPolylineEditor(this.jodit,t.state,this.options);break;case"marker":n=new l.UIMarkerEditor(this.jodit,t.state,this.options);break;case"circle":case"polygon":n=new l.UIPolygonEditor(this.jodit,t.state,this.options)}if(!n)return;this.append(n),this.j.e.on(n,"bin",()=>{s.removeElement.call(this,t)}).on(n,"change",(n,s)=>{a.updateStateAndGme.call(this,(0,o._)((0,r._)({},t.state),{[n]:s}),i)});let c=u.call(this);if("polygon"===t.type||"polyline"===t.type){let i=t.gme.getPath().getAt(0);c.setPosition(i)}"circle"===t.type&&c.setPosition(t.gme.getCenter()),c.setContent(n.container),c.open(this.map,t.gme),c.addListener("closeclick",()=>{n&&(this.remove(n),n.destruct())})}},11093:function(t,i,n){"use strict";n.d(i,{UIWysiwyg:function(){return c}});var r=n(56075),o=n(31635),s=n(87325),a=n(38837),l=n(48538),u=n(2692);class c extends l.UIElement{className(){return"UIWysiwyg"}render(){return`<div>
|
|
27
27
|
<div class='&__label'>~Info~</div>
|
|
28
28
|
<div class='&__editor'></div>
|
|
29
|
-
</div>`}constructor(t,i,n,o){super(t);const s=this.getElm("editor");(0,a.assert)(null!=s,"editor element does not exist");const l=u.JoditPro.make(s,(0,r._)({buttons:["bold","italic","image"],height:100,minHeight:100,allowResizeY:!1,allowResizeX:!1,disablePlugins:["mobile","backup","highlight-signature","tune-block","show-blocks"],toolbarButtonSize:"small",language:t.o.language,direction:t.o.direction,theme:t.o.theme,statusbar:!1},i));l.value=n,l.e.on("change",()=>o(l.value))}}c=(0,o.__decorate)([s.component],c)},11317:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(6441),a=n(92762);s.Config.prototype.controls.file={popup:(t,i,n)=>{let o=(i,n="")=>{t.s.insertNode(t.createInside.fromHTML(`<a href="${i}" title="${n}">${n||i}</a>`))},s=null;return i&&(r.Dom.isTag(i,"a")||r.Dom.closest(i,"a",t.editor))&&(s=r.Dom.isTag(i,"a")?i:r.Dom.closest(i,"a",t.editor)),(0,a.FileSelectorWidget)(t,{filebrowser:t=>{t.files&&t.files.forEach(i=>o(t.baseurl+i)),n()},upload:!0,url:(t,i)=>{s?(s.setAttribute("href",t),s.setAttribute("title",i)):o(t,i),n()}},s,n,!1)},tags:["a"],tooltip:"Insert file"},o.pluginSystem.add("file",function(t){t.registerButton({name:"file",group:"media"})})},11338:function(t,i,n){"use strict";function r(t){return!t.s.isCollapsed()&&(t.execCommand("Delete"),!0)}n.d(i,{checkNotCollapsed:function(){return r}})},11373:function(t){t.exports='<svg stroke="black" stroke-linejoin="round" stroke-linecap="round" stroke-width="28" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> \x3c!-- <rect fill="none" height="256" width="256"/>--\x3e <line fill="none" x1="130" x2="241" y1="54" y2="54"/> <line fill="none" x1="130" x2="241" y1="128" y2="128"/> <line fill="none" x1="130" x2="241" y1="202" y2="202"/> <polyline fill="none" points="92 38 57.3 70 40 54"/> <polyline fill="none" points="92 112 57.3 144 40 128"/> <polyline fill="none" points="92 186 57.3 218 40 202"/> </svg>'},11628:function(t,i,n){"use strict";n.d(i,{previewBox:function(){return u}});var r=n(2748),o=n(70799),s=n(29960),a=n(41180),l=n(76078);function u(t,i,n="px",c=null){let d=[],h=function(t,i){let n=[];try{(0,l.$$)("img",t.editor).forEach(o=>{let a=[(0,s.attr)(o,"width"),(0,s.attr)(o,"height"),o.src];(0,s.attr)(o,{width:o.offsetWidth+i,height:o.offsetHeight+i});let l=t.createInside.a();t.ed.body.appendChild(l),l.href=o.src,o.src=l.href,r.Dom.safeRemove(l),n.push(()=>{var t;o.src=null!=(t=a[2])?t:"",(0,s.attr)(o,{width:a[0]||null,height:a[1]||null})})})}catch(t){throw n.forEach(t=>t()),n.length=0,t}return n}(t,n);try{let l=t.e.fire("beforePreviewBox",i,n);if(null!=l)return l;let u=t.c.div("jodit__preview-box jodit-context");c&&c.appendChild(u),(0,a.css)(u,{position:"relative",padding:16});let h=t.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${t.i18n("Empty")}</div>`;if(t.iframe){let i=t.create.element("iframe");(0,a.css)(i,{minWidth:800,minHeight:600,border:0}),u.appendChild(i);let n=i.contentWindow;if(n&&(t.e.fire("generateDocumentStructure.iframe",n.document,t),u=n.document.body,"function"==typeof ResizeObserver)){let r=!1,o=n.document.body,s=new ResizeObserver(t.async.debounce(()=>{s.unobserve(o),i.style.height=`${o.offsetHeight+20}px`,t.async.requestAnimationFrame(()=>{r||s.observe(o)})},100)),a=()=>{r=!0,s.unobserve(o),s.disconnect(),t.e.off("beforeDestruct",a)};d.push(a),t.e.on("beforeDestruct",a)}}else(0,a.css)(u,{minWidth:1024,minHeight:600,border:0});let p=(i,n)=>{let a=(0,o.isString)(n)?t.c.div():n;(0,o.isString)(n)&&(a.innerHTML=n);for(let t=0;t<a.childNodes.length;t+=1){let n=a.childNodes[t];if(r.Dom.isElement(n)){let t=i.ownerDocument.createElement(n.nodeName);for(let i=0;i<n.attributes.length;i+=1)(0,s.attr)(t,n.attributes[i].nodeName,n.attributes[i].nodeValue);0===n.childNodes.length||r.Dom.isTag(n,"table")?"SCRIPT"===n.nodeName?n.textContent&&(t.textContent=n.textContent):n.innerHTML&&(t.innerHTML=n.innerHTML):p(t,n);try{i.appendChild(t)}catch(t){}}else try{i.appendChild(n.cloneNode(!0))}catch(t){}}};return p(u,h),t.e.fire("afterPreviewBox",u),[u,()=>{d.forEach(t=>t())}]}finally{h.forEach(t=>t())}}},11676:function(t,i,n){"use strict";n.d(i,{ToolbarCollection:function(){return p}});var r=n(65478),o=n(45219),s=n(87325),a=n(97357),l=n(37133),u=n(82760),c=n(24536),d=n(21491),h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p=class t extends c.UIList{className(){return"ToolbarCollection"}getRole(){return"toolbar"}get firstButton(){let[t]=this.buttons;return t||null}makeButton(t,i=null){return(0,d.makeButton)(this.j,t,i)}makeSelect(t,i=null){return(0,d.makeSelect)(this.j,t,i)}shouldBeActive(t){}shouldBeDisabled(t){}getTarget(t){return t.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(t){this.container.style.direction=t,this.container.setAttribute("dir",t)}__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(t){throw(0,u.error)("The method is not implemented for this class.")}build(t,i=null){let n=this.j.e.fire("beforeToolbarBuild",t);return n&&(t=n),super.build(t,i),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(t){super(t),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur"}};h([(0,l.watch)(":afterInit"),o.autobind],p.prototype,"__immediateUpdate",null),h([(0,r.debounce)(t=>t.j.defaultTimeout,!0)],p.prototype,"update",null),h([(0,a.hook)("ready")],p.prototype,"__initEvents",null),p=h([s.component],p)},11696:function(t,i,n){"use strict";n.d(i,{UIPolygonEditor:function(){return u}});var r=n(31635),o=n(65478),s=n(62357),a=n(45128),l=n(69398);class u extends l.UIPolylineEditor{className(){return"UIPolygonEditor"}onReady(){var t,i;this.append([new a.ColorInput(this.j,{label:"Fill color",value:null!=(t=this.state.fillColor)?t:"#000",onChange:t=>this.j.e.fire(this,"change","fillColor",t)}).setMod("trigger",!1),new s.UIRange(this.j,{label:"Opacity",min:0,max:1,value:null!=(i=this.state.fillOpacity)?i:1,onChange:t=>{this.j.e.fire(this,"change","fillOpacity",parseFloat(t)||0)}}).setMod("log",!1)],"form")}}(0,r.__decorate)([(0,o.hook)("ready")],u.prototype,"onReady",null),u=(0,r.__decorate)([o.component],u)},11699:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},11787:function(t,i,n){"use strict";n.d(i,{DEFAULT_SOURCE_NAME:function(){return g},default:function(){return v}});var r=n(82758),o=n(45219),s=n(23282),a=n(70091),l=n(68934),u=n(89890),c=n(3703),d=n(54079),h=n(159);function p(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function f(t){return function(){var i=this,n=arguments;return new Promise(function(r,o){var s=t.apply(i,n);function a(t){p(s,r,o,a,l,"next",t)}function l(t){p(s,r,o,a,l,"throw",t)}a(void 0)})}}var m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let g="default",b=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);class v{get o(){return this.options}get(t){let i=this.__ajaxInstances;if(i.has(t)){let n=i.get(t);null==n||n.abort(),i.delete(t)}let n=(0,l.ConfigProto)(void 0!==this.options[t]?this.options[t]:{},(0,l.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));n.prepareData&&(n.data=n.prepareData.call(this,n.data));let r=new d.Ajax(n);i.set(t,r);let o=r.send();return o.finally(()=>{r.destruct(),i.delete(t),this.progressHandler(100)}).catch(()=>null),o.then(t=>t.json()).then(t=>{if(t&&!this.isSuccess(t))throw Error(this.getMessage(t));return t})}onProgress(t){this.progressHandler=t}permissions(t,i){return f(function*(){return this.o.permissions&&(this.o.permissions.data.path=t,this.o.permissions.data.source=i,this.o.permissions.url)?this.get("permissions").then(t=>{if(this.parent.isInDestruct)throw(0,u.abort)();let i=this.o.permissions.process;if(i||(i=this.o.ajax.process),i){let n=i.call(self,t);n.data.permissions&&(this.parent.events.fire(this,"changePermissions",this.__currentPermissions,n.data.permissions),this.__currentPermissions=n.data.permissions)}return this.__currentPermissions}):null}).call(this)}canI(t){let i="allow"+t;if(!r.IS_PROD&&!b.has(i))throw(0,u.error)("Wrong action "+t);let n=this.o.permissionsPresets[i];return void 0!==n?n:null==this.__currentPermissions||void 0===this.__currentPermissions[i]||this.__currentPermissions[i]}__items(t,i,n,r){let o=this.options;return o.items?(o.items.data.path=t,o.items.data.source=i,o.items.data.mods=n,this.get("items").then(t=>{let i=this.o.items.process;return i||(i=this.o.ajax.process),i&&(t=i.call(self,t)),r(t)})):Promise.reject(Error("Set Items api options"))}items(t,i,n={}){return this.__items(t,i,n,t=>this.__generateItemsList(t.data.sources,n))}itemsEx(t,i,n={}){return this.__items(t,i,n,t=>({items:this.__generateItemsList(t.data.sources,n),loadedTotal:t.data.sources.reduce((t,i)=>t+i.files.length,0)}))}__generateItemsList(t,i={}){let n=[],r=t=>{var n;return!(null==(n=i.filterWord)?void 0:n.length)||void 0===this.o.filter||this.o.filter(t,i.filterWord)};return t.forEach(t=>{if(t.files&&t.files.length){let{sort:o}=this.o;(0,s.isFunction)(o)&&i.sortBy&&t.files.sort((t,n)=>o(t,n,i.sortBy)),t.files.forEach(o=>{var s,a;r(o)&&("folder"===o.type||!i.onlyImages||void 0===o.isImage||o.isImage)&&n.push(h.FileBrowserItem.create((s=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({},o),a=a={sourceName:t.name,source:t},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(a)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(a)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(a,t))}),s)))})}}),n}tree(t,i){return f(function*(){return(t=(0,a.normalizeRelativePath)(t),this.o.folder)?(yield this.permissions(t,i),this.o.folder.data.path=t,this.o.folder.data.source=i,this.get("folder").then(t=>{let i=this.o.folder.process;return i||(i=this.o.ajax.process),i&&(t=i.call(self,t)),t.data.sources})):Promise.reject(Error("Set Folder Api options"))}).call(this)}getPathByUrl(t){return(0,c.set)("options.getLocalFileByUrl.data.url",t,this),this.get("getLocalFileByUrl").then(t=>{if(this.isSuccess(t))return t.data;throw(0,u.error)(this.getMessage(t))})}createFolder(t,i,n){let{create:r}=this.o;if(!r)throw(0,u.error)("Set Create api options");return r.data.source=n,r.data.path=i,r.data.name=t,this.get("create").then(t=>{if(this.isSuccess(t))return!0;throw(0,u.error)(this.getMessage(t))})}move(t,i,n,r){let o=r?"fileMove":"folderMove",s=this.options[o];if(!s)throw(0,u.error)("Set Move api options");return s.data.from=t,s.data.path=i,s.data.source=n,this.get(o).then(t=>{if(this.isSuccess(t))return!0;throw(0,u.error)(this.getMessage(t))})}__remove(t,i,n,r){let o=this.o[t];if(!o)throw(0,u.error)(`Set "${t}" api options`);return o.data.path=i,o.data.name=n,o.data.source=r,this.get(t).then(t=>(o.process&&(t=o.process.call(this,t)),this.getMessage(t)))}fileRemove(t,i,n){return this.__remove("fileRemove",t,i,n)}folderRemove(t,i,n){return this.__remove("folderRemove",t,i,n)}__rename(t,i,n,r,o){let s=this.o[t];if(!s)throw(0,u.error)(`Set "${t}" api options`);return s.data.path=i,s.data.name=n,s.data.newname=r,s.data.source=o,this.get(t).then(t=>(s.process&&(t=s.process.call(self,t)),this.getMessage(t)))}folderRename(t,i,n,r){return this.__rename("folderRename",t,i,n,r)}fileRename(t,i,n,r){return this.__rename("fileRename",t,i,n,r)}__changeImage(t,i,n,r,o,s){this.o[t]||(this.o[t]={data:{}});let a=this.o[t];return void 0===a.data&&(a.data={action:t}),a.data.newname=o||r,s&&(a.data.box=s),a.data.path=i,a.data.name=r,a.data.source=n,this.get(t).then(()=>!0)}crop(t,i,n,r,o){return this.__changeImage("crop",t,i,n,r,o)}resize(t,i,n,r,o){return this.__changeImage("resize",t,i,n,r,o)}getMessage(t){return this.options.getMessage(t)}isSuccess(t){return this.options.isSuccess(t)}destruct(){this.__ajaxInstances.forEach(t=>t.destruct()),this.__ajaxInstances.clear()}constructor(t,i){this.parent=t,this.options=i,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=t=>{}}}m([o.autobind],v.prototype,"onProgress",null),m([o.autobind],v.prototype,"permissions",null),m([o.autobind],v.prototype,"canI",null),m([o.autobind],v.prototype,"items",null),m([o.autobind],v.prototype,"itemsEx",null),m([o.autobind],v.prototype,"tree",null),m([o.autobind],v.prototype,"getPathByUrl",null),m([o.autobind],v.prototype,"createFolder",null),m([o.autobind],v.prototype,"move",null),m([o.autobind],v.prototype,"fileRemove",null),m([o.autobind],v.prototype,"folderRemove",null),m([o.autobind],v.prototype,"folderRename",null),m([o.autobind],v.prototype,"fileRename",null),m([o.autobind],v.prototype,"crop",null),m([o.autobind],v.prototype,"resize",null),m([o.autobind],v.prototype,"getMessage",null),m([o.autobind],v.prototype,"isSuccess",null),m([o.autobind],v.prototype,"destruct",null)},11886:function(t,i,n){"use strict";function r(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}n.d(i,{_:function(){return r}})},12019:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(20356);n(71675);var c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d="__jodit-resizer_binded";class h extends u.Plugin{afterInit(t){(0,l.$$)("div",this.rect).forEach(i=>{t.e.on(i,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,i))}),a.eventEmitter.on("hideHelpers",this.hide),t.e.on("readonly",t=>{t&&this.hide()}).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",t=>{let i=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;i.test(t.value)&&(t.value=t.value.replace(i,"$1"))}),this.addEventListeners(),this.__onChangeEditor()}onEditorClick(t){let i=t.target,{editor:n,options:{allowResizeTags:r}}=this.j;for(;i&&i!==n;){if(s.Dom.isTag(i,r)){this.__bind(i),this.onClickElement(i);return}i=i.parentNode}}__afterInsertImage(t){if(this.j.o.resizer.forImageChangeAttributes)return;let i=(0,l.attr)(t,"width");i&&!(0,l.css)(t,"width",!0)&&((0,l.css)(t,"width",i),(0,l.attr)(t,"width",null))}addEventListeners(){let t=this.j;t.e.off(t.editor,".resizer").off(t.ow,".resizer").on(t.editor,"keydown.resizer",t=>{this.isShown&&t.key===r.KEY_DELETE&&this.element&&!s.Dom.isTag(this.element,"table")&&this.onDelete(t)}).on(t.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([t.ow,t.editor],"scroll.resizer",()=>{this.isShown&&!this.isResizeMode&&this.hide()}).on(t.ow,"keydown.resizer",this.onKeyDown).on(t.ow,"keyup.resizer",this.onKeyUp).on(t.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(t,i){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=t,i.cancelable&&i.preventDefault(),i.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=i.clientX,this.startY=i.clientY,this.pointerX=i.clientX,this.pointerY=i.clientY;let{j:n}=this;n.e.fire("hidePopup"),n.lock(this.LOCK_KEY),n.e.on(n.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){let{j:t}=this;t.unlock(),this.isResizeMode=!1,this.isAltMode=!1,t.synchronizeValues(),t.e.off(t.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(t){if(this.isResizeMode){let i,n;if(!this.element)return;if(this.pointerX=t.clientX,this.pointerY=t.clientY,this.j.options.iframe){let r=this.getWorkplacePosition();i=t.clientX+r.left-this.startX,n=t.clientY+r.top-this.startY}else i=this.pointerX-this.startX,n=this.pointerY-this.startY;let r=this.handle.className,o=0,a=0,u=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===u||u&&s.Dom.isTag(this.element,u))?(i?a=Math.round((o=this.width+(r.match(/left/)?-1:1)*i)/this.ratio):o=Math.round((a=this.height+(r.match(/top/)?-1:1)*n)*this.ratio),o>(0,l.innerWidth)(this.j.editor,this.j.ow)&&(a=Math.round((o=(0,l.innerWidth)(this.j.editor,this.j.ow))/this.ratio))):(o=this.width+(r.match(/left/)?-1:1)*i,a=this.height+(r.match(/top/)?-1:1)*n),o>this.j.o.resizer.min_width&&(o<this.rect.parentNode.offsetWidth?this.applySize(this.element,"width",o):this.applySize(this.element,"width","100%")),a>this.j.o.resizer.min_height&&this.applySize(this.element,"height",a),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),t.stopImmediatePropagation()}}onKeyDown(t){this.isAltMode=t.key===r.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(t){if(this.isShown){if(!this.isResizeMode)return this.hide();t.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,l.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(t,i,n){let r=s.Dom.isImage(t)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,l.attr)(t,i,n),(!r||t.style[i])&&(0,l.css)(t,i,n)}onDelete(t){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(s.Dom.safeRemove(this.element),this.hide(),t.preventDefault()))}__onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,l.$$)("iframe",this.j.editor).forEach(this.__bind)}__bind(t){let i;if(!(!s.Dom.isHTMLElement(t)||!this.j.o.allowResizeTags.has(t.tagName.toLowerCase())||(0,l.dataBind)(t,d))){if((0,l.dataBind)(t,d,!0),s.Dom.isTag(t,"iframe")){let n=t;s.Dom.isHTMLElement(t.parentNode)&&(0,l.attr)(t.parentNode,"-jodit_iframe_wrapper")?t=t.parentNode:(i=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,l.attr)(i,"style",(0,l.attr)(t,"style")),(0,l.css)(i,{display:"inline-block"===t.style.display?"inline-block":"block",width:t.offsetWidth,height:t.offsetHeight}),t.parentNode&&t.parentNode.insertBefore(i,t),i.appendChild(t),this.j.e.on(i,"click",()=>{(0,l.attr)(i,"data-jodit-wrapper_active",!0)}),t=i),this.j.e.off(t,"mousedown.select touchstart.select").on(t,"mousedown.select touchstart.select",()=>{this.j.s.select(t)}).off(t,"changesize").on(t,"changesize",()=>{n.setAttribute("width",t.offsetWidth+"px"),n.setAttribute("height",t.offsetHeight+"px")})}this.j.e.on(t,"dragstart",this.hide),!r.IS_ES_NEXT&&r.IS_IE&&this.j.e.on(t,"mousedown",i=>{s.Dom.isTag(t,"img")&&i.preventDefault()})}}showSizeViewer(t,i){if(this.j.o.resizer.showSize){if(t<this.sizeViewer.offsetWidth||i<this.sizeViewer.offsetHeight)return void this.hideSizeViewer();this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${t} x ${i}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})}}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,l.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=(0,l.css)(this.j.container,"zIndex").toString()),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,s.Dom.safeRemove(this.rect),(0,l.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach(t=>(0,l.attr)(t,"data-jodit-wrapper_active",!1)))}beforeDestruct(t){this.hide(),a.eventEmitter.off("hideHelpers",this.hide),t.e.off(this.j.ow,".resizer").off(".resizer")}constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`<div title="${this.j.i18n("Press Alt for custom resizing")}" class="jodit-resizer">
|
|
29
|
+
</div>`}constructor(t,i,n,o){super(t);const s=this.getElm("editor");(0,a.assert)(null!=s,"editor element does not exist");const l=u.JoditPro.make(s,(0,r._)({buttons:["bold","italic","image"],height:100,minHeight:100,allowResizeY:!1,allowResizeX:!1,disablePlugins:["mobile","backup","highlight-signature","tune-block","show-blocks"],toolbarButtonSize:"small",language:t.o.language,direction:t.o.direction,theme:t.o.theme,statusbar:!1},i));l.value=n,l.e.on("change",()=>o(l.value))}}c=(0,o.__decorate)([s.component],c)},11317:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(6441),a=n(92762);s.Config.prototype.controls.file={popup:(t,i,n)=>{let o=(i,n="")=>{t.s.insertNode(t.createInside.fromHTML(`<a href="${i}" title="${n}">${n||i}</a>`))},s=null;return i&&(r.Dom.isTag(i,"a")||r.Dom.closest(i,"a",t.editor))&&(s=r.Dom.isTag(i,"a")?i:r.Dom.closest(i,"a",t.editor)),(0,a.FileSelectorWidget)(t,{filebrowser:t=>{t.files&&t.files.forEach(i=>o(t.baseurl+i)),n()},upload:!0,url:(t,i)=>{s?(s.setAttribute("href",t),s.setAttribute("title",i)):o(t,i),n()}},s,n,!1)},tags:["a"],tooltip:"Insert file"},o.pluginSystem.add("file",function(t){t.registerButton({name:"file",group:"media"})})},11338:function(t,i,n){"use strict";function r(t){return!t.s.isCollapsed()&&(t.execCommand("Delete"),!0)}n.d(i,{checkNotCollapsed:function(){return r}})},11373:function(t){t.exports='<svg stroke="black" stroke-linejoin="round" stroke-linecap="round" stroke-width="28" viewBox="0 0 256 256" xmlns="http://www.w3.org/2000/svg"> \x3c!-- <rect fill="none" height="256" width="256"/>--\x3e <line fill="none" x1="130" x2="241" y1="54" y2="54"/> <line fill="none" x1="130" x2="241" y1="128" y2="128"/> <line fill="none" x1="130" x2="241" y1="202" y2="202"/> <polyline fill="none" points="92 38 57.3 70 40 54"/> <polyline fill="none" points="92 112 57.3 144 40 128"/> <polyline fill="none" points="92 186 57.3 218 40 202"/> </svg>'},11628:function(t,i,n){"use strict";n.d(i,{previewBox:function(){return u}});var r=n(2748),o=n(70799),s=n(29960),a=n(41180),l=n(76078);function u(t,i,n="px",c=null){let d=[],h=function(t,i){let n=[];try{(0,l.$$)("img",t.editor).forEach(o=>{let a=[(0,s.attr)(o,"width"),(0,s.attr)(o,"height"),o.src];(0,s.attr)(o,{width:o.offsetWidth+i,height:o.offsetHeight+i});let l=t.createInside.a();t.ed.body.appendChild(l),l.href=o.src,o.src=l.href,r.Dom.safeRemove(l),n.push(()=>{var t;o.src=null!=(t=a[2])?t:"",(0,s.attr)(o,{width:a[0]||null,height:a[1]||null})})})}catch(t){throw n.forEach(t=>t()),n.length=0,t}return n}(t,n);try{let l=t.e.fire("beforePreviewBox",i,n);if(null!=l)return l;let u=t.c.div("jodit__preview-box jodit-context");c&&c.appendChild(u),(0,a.css)(u,{position:"relative",padding:16});let h=t.value||`<div style='position: absolute;left:50%;top:50%;transform: translateX(-50%) translateY(-50%);color:#ccc;'>${t.i18n("Empty")}</div>`;if(t.iframe){let i=t.create.element("iframe");(0,a.css)(i,{minWidth:800,minHeight:600,border:0}),u.appendChild(i);let n=i.contentWindow;if(n&&(t.e.fire("generateDocumentStructure.iframe",n.document,t),u=n.document.body,"function"==typeof ResizeObserver)){let r=!1,o=n.document.body,s=new ResizeObserver(t.async.debounce(()=>{s.unobserve(o),i.style.height=`${o.offsetHeight+20}px`,t.async.requestAnimationFrame(()=>{r||s.observe(o)})},100)),a=()=>{r=!0,s.unobserve(o),s.disconnect(),t.e.off("beforeDestruct",a)};d.push(a),t.e.on("beforeDestruct",a)}}else(0,a.css)(u,{minWidth:1024,minHeight:600,border:0});let p=(i,n)=>{let a=(0,o.isString)(n)?t.c.div():n;(0,o.isString)(n)&&(a.innerHTML=n);for(let t=0;t<a.childNodes.length;t+=1){let n=a.childNodes[t];if(r.Dom.isElement(n)){let t=i.ownerDocument.createElement(n.nodeName);for(let i=0;i<n.attributes.length;i+=1)(0,s.attr)(t,n.attributes[i].nodeName,n.attributes[i].nodeValue);0===n.childNodes.length||r.Dom.isTag(n,"table")?"SCRIPT"===n.nodeName?n.textContent&&(t.textContent=n.textContent):n.innerHTML&&(t.innerHTML=n.innerHTML):p(t,n);try{i.appendChild(t)}catch(t){}}else try{i.appendChild(n.cloneNode(!0))}catch(t){}}};return p(u,h),t.e.fire("afterPreviewBox",u),[u,()=>{d.forEach(t=>t())}]}finally{h.forEach(t=>t())}}},11676:function(t,i,n){"use strict";n.d(i,{ToolbarCollection:function(){return p}});var r=n(65478),o=n(45219),s=n(87325),a=n(97357),l=n(37133),u=n(82760),c=n(24536),d=n(21491),h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let p=class t extends c.UIList{className(){return"ToolbarCollection"}getRole(){return"toolbar"}get firstButton(){let[t]=this.buttons;return t||null}makeButton(t,i=null){return(0,d.makeButton)(this.j,t,i)}makeSelect(t,i=null){return(0,d.makeSelect)(this.j,t,i)}shouldBeActive(t){}shouldBeDisabled(t){}getTarget(t){return t.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(t){this.container.style.direction=t,this.container.setAttribute("dir",t)}__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(t){throw(0,u.error)("The method is not implemented for this class.")}build(t,i=null){let n=this.j.e.fire("beforeToolbarBuild",t);return n&&(t=n),super.build(t,i),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(t){super(t),this.__listenEvents="updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur"}};h([(0,l.watch)(":afterInit"),o.autobind],p.prototype,"__immediateUpdate",null),h([(0,r.debounce)(t=>t.j.defaultTimeout,!0)],p.prototype,"update",null),h([(0,a.hook)("ready")],p.prototype,"__initEvents",null),p=h([s.component],p)},11696:function(t,i,n){"use strict";n.d(i,{UIPolygonEditor:function(){return u}});var r=n(31635),o=n(65478),s=n(62357),a=n(45128),l=n(69398);class u extends l.UIPolylineEditor{className(){return"UIPolygonEditor"}onReady(){var t,i;this.append([new a.ColorInput(this.j,{label:"Fill color",value:null!=(t=this.state.fillColor)?t:"#000",onChange:t=>this.j.e.fire(this,"change","fillColor",t)}).setMod("trigger",!1),new s.UIRange(this.j,{label:"Opacity",min:0,max:1,value:null!=(i=this.state.fillOpacity)?i:1,onChange:t=>{this.j.e.fire(this,"change","fillOpacity",parseFloat(t)||0)}}).setMod("log",!1)],"form")}}(0,r.__decorate)([(0,o.hook)("ready")],u.prototype,"onReady",null),u=(0,r.__decorate)([o.component],u)},11699:function(t){t.exports='<svg viewBox="0 0 30 29" xmlns="http://www.w3.org/2000/svg"> <path d="M15 0.5L30 15.2625H22V29H8V15.2625H0L15 0.5Z"/> </svg>'},11787:function(t,i,n){"use strict";n.d(i,{DEFAULT_SOURCE_NAME:function(){return g},default:function(){return v}});var r=n(82758),o=n(45219),s=n(23282),a=n(70091),l=n(68934),u=n(89890),c=n(3703),d=n(54079),h=n(159);function p(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function f(t){return function(){var i=this,n=arguments;return new Promise(function(r,o){var s=t.apply(i,n);function a(t){p(s,r,o,a,l,"next",t)}function l(t){p(s,r,o,a,l,"throw",t)}a(void 0)})}}var m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let g="default",b=new Set(["allowFiles","allowFileMove","allowFileUpload","allowFileUploadRemote","allowFileRemove","allowFileRename","allowFolders","allowFolderMove","allowFolderCreate","allowFolderRemove","allowFolderRename","allowImageResize","allowImageCrop"]);class v{get o(){return this.options}get(t){let i=this.__ajaxInstances;if(i.has(t)){let n=i.get(t);null==n||n.abort(),i.delete(t)}let n=(0,l.ConfigProto)(void 0!==this.options[t]?this.options[t]:{},(0,l.ConfigProto)({onProgress:this.progressHandler},this.o.ajax));n.prepareData&&(n.data=n.prepareData.call(this,n.data));let r=new d.Ajax(n);i.set(t,r);let o=r.send();return o.finally(()=>{r.destruct(),i.delete(t),this.progressHandler(100)}).catch(()=>null),o.then(t=>t.json()).then(t=>{if(t&&!this.isSuccess(t))throw Error(this.getMessage(t));return t})}onProgress(t){this.progressHandler=t}permissions(t,i){return f(function*(){return this.o.permissions&&(this.o.permissions.data.path=t,this.o.permissions.data.source=i,this.o.permissions.url)?this.get("permissions").then(t=>{if(this.parent.isInDestruct)throw(0,u.abort)();let i=this.o.permissions.process;if(i||(i=this.o.ajax.process),i){let n=i.call(self,t);n.data.permissions&&(this.parent.events.fire(this,"changePermissions",this.__currentPermissions,n.data.permissions),this.__currentPermissions=n.data.permissions)}return this.__currentPermissions}):null}).call(this)}canI(t){let i="allow"+t;if(!r.IS_PROD&&!b.has(i))throw(0,u.error)("Wrong action "+t);let n=this.o.permissionsPresets[i];return void 0!==n?n:null==this.__currentPermissions||void 0===this.__currentPermissions[i]||this.__currentPermissions[i]}__items(t,i,n,r){let o=this.options;return o.items?(o.items.data.path=t,o.items.data.source=i,o.items.data.mods=n,this.get("items").then(t=>{let i=this.o.items.process;return i||(i=this.o.ajax.process),i&&(t=i.call(self,t)),r(t)})):Promise.reject(Error("Set Items api options"))}items(t,i,n={}){return this.__items(t,i,n,t=>this.__generateItemsList(t.data.sources,n))}itemsEx(t,i,n={}){return this.__items(t,i,n,t=>({items:this.__generateItemsList(t.data.sources,n),loadedTotal:t.data.sources.reduce((t,i)=>t+i.files.length,0)}))}__generateItemsList(t,i={}){let n=[],r=t=>{var n;return!(null==(n=i.filterWord)?void 0:n.length)||void 0===this.o.filter||this.o.filter(t,i.filterWord)};return t.forEach(t=>{if(t.files&&t.files.length){let{sort:o}=this.o;(0,s.isFunction)(o)&&i.sortBy&&t.files.sort((t,n)=>o(t,n,i.sortBy)),t.files.forEach(o=>{var s,a;r(o)&&("folder"===o.type||!i.onlyImages||void 0===o.isImage||o.isImage)&&n.push(h.FileBrowserItem.create((s=function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({},o),a=a={sourceName:t.name,source:t},Object.getOwnPropertyDescriptors?Object.defineProperties(s,Object.getOwnPropertyDescriptors(a)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(a)).forEach(function(t){Object.defineProperty(s,t,Object.getOwnPropertyDescriptor(a,t))}),s)))})}}),n}tree(t,i){return f(function*(){return(t=(0,a.normalizeRelativePath)(t),this.o.folder)?(yield this.permissions(t,i),this.o.folder.data.path=t,this.o.folder.data.source=i,this.get("folder").then(t=>{let i=this.o.folder.process;return i||(i=this.o.ajax.process),i&&(t=i.call(self,t)),t.data.sources})):Promise.reject(Error("Set Folder Api options"))}).call(this)}getPathByUrl(t){return(0,c.set)("options.getLocalFileByUrl.data.url",t,this),this.get("getLocalFileByUrl").then(t=>{if(this.isSuccess(t))return t.data;throw(0,u.error)(this.getMessage(t))})}createFolder(t,i,n){let{create:r}=this.o;if(!r)throw(0,u.error)("Set Create api options");return r.data.source=n,r.data.path=i,r.data.name=t,this.get("create").then(t=>{if(this.isSuccess(t))return!0;throw(0,u.error)(this.getMessage(t))})}move(t,i,n,r){let o=r?"fileMove":"folderMove",s=this.options[o];if(!s)throw(0,u.error)("Set Move api options");return s.data.from=t,s.data.path=i,s.data.source=n,this.get(o).then(t=>{if(this.isSuccess(t))return!0;throw(0,u.error)(this.getMessage(t))})}__remove(t,i,n,r){let o=this.o[t];if(!o)throw(0,u.error)(`Set "${t}" api options`);return o.data.path=i,o.data.name=n,o.data.source=r,this.get(t).then(t=>(o.process&&(t=o.process.call(this,t)),this.getMessage(t)))}fileRemove(t,i,n){return this.__remove("fileRemove",t,i,n)}folderRemove(t,i,n){return this.__remove("folderRemove",t,i,n)}__rename(t,i,n,r,o){let s=this.o[t];if(!s)throw(0,u.error)(`Set "${t}" api options`);return s.data.path=i,s.data.name=n,s.data.newname=r,s.data.source=o,this.get(t).then(t=>(s.process&&(t=s.process.call(self,t)),this.getMessage(t)))}folderRename(t,i,n,r){return this.__rename("folderRename",t,i,n,r)}fileRename(t,i,n,r){return this.__rename("fileRename",t,i,n,r)}__changeImage(t,i,n,r,o,s){this.o[t]||(this.o[t]={data:{}});let a=this.o[t];return void 0===a.data&&(a.data={action:t}),a.data.newname=o||r,s&&(a.data.box=s),a.data.path=i,a.data.name=r,a.data.source=n,this.get(t).then(t=>t.data.newPath||!0)}crop(t,i,n,r,o){return this.__changeImage("crop",t,i,n,r,o)}resize(t,i,n,r,o){return this.__changeImage("resize",t,i,n,r,o)}getMessage(t){return this.options.getMessage(t)}isSuccess(t){return this.options.isSuccess(t)}destruct(){this.__ajaxInstances.forEach(t=>t.destruct()),this.__ajaxInstances.clear()}constructor(t,i){this.parent=t,this.options=i,this.__currentPermissions=null,this.__ajaxInstances=new Map,this.progressHandler=t=>{}}}m([o.autobind],v.prototype,"onProgress",null),m([o.autobind],v.prototype,"permissions",null),m([o.autobind],v.prototype,"canI",null),m([o.autobind],v.prototype,"items",null),m([o.autobind],v.prototype,"itemsEx",null),m([o.autobind],v.prototype,"tree",null),m([o.autobind],v.prototype,"getPathByUrl",null),m([o.autobind],v.prototype,"createFolder",null),m([o.autobind],v.prototype,"move",null),m([o.autobind],v.prototype,"fileRemove",null),m([o.autobind],v.prototype,"folderRemove",null),m([o.autobind],v.prototype,"folderRename",null),m([o.autobind],v.prototype,"fileRename",null),m([o.autobind],v.prototype,"crop",null),m([o.autobind],v.prototype,"resize",null),m([o.autobind],v.prototype,"getMessage",null),m([o.autobind],v.prototype,"isSuccess",null),m([o.autobind],v.prototype,"destruct",null)},11886:function(t,i,n){"use strict";function r(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}n.d(i,{_:function(){return r}})},12019:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(20356);n(71675);var c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d="__jodit-resizer_binded";class h extends u.Plugin{afterInit(t){(0,l.$$)("div",this.rect).forEach(i=>{t.e.on(i,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,i))}),a.eventEmitter.on("hideHelpers",this.hide),t.e.on("readonly",t=>{t&&this.hide()}).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",t=>{let i=/<jodit[^>]+data-jodit_iframe_wrapper[^>]+>(.*?<iframe[^>]*>.*?<\/iframe>.*?)<\/jodit>/gi;i.test(t.value)&&(t.value=t.value.replace(i,"$1"))}),this.addEventListeners(),this.__onChangeEditor()}onEditorClick(t){let i=t.target,{editor:n,options:{allowResizeTags:r}}=this.j;for(;i&&i!==n;){if(s.Dom.isTag(i,r)){this.__bind(i),this.onClickElement(i);return}i=i.parentNode}}__afterInsertImage(t){if(this.j.o.resizer.forImageChangeAttributes)return;let i=(0,l.attr)(t,"width");i&&!(0,l.css)(t,"width",!0)&&((0,l.css)(t,"width",i),(0,l.attr)(t,"width",null))}addEventListeners(){let t=this.j;t.e.off(t.editor,".resizer").off(t.ow,".resizer").on(t.editor,"keydown.resizer",t=>{this.isShown&&t.key===r.KEY_DELETE&&this.element&&!s.Dom.isTag(this.element,"table")&&this.onDelete(t)}).on(t.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([t.ow,t.editor],"scroll.resizer",()=>{this.isShown&&!this.isResizeMode&&this.hide()}).on(t.ow,"keydown.resizer",this.onKeyDown).on(t.ow,"keyup.resizer",this.onKeyUp).on(t.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(t,i){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=t,i.cancelable&&i.preventDefault(),i.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=i.clientX,this.startY=i.clientY,this.pointerX=i.clientX,this.pointerY=i.clientY;let{j:n}=this;n.e.fire("hidePopup"),n.lock(this.LOCK_KEY),n.e.on(n.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){let{j:t}=this;t.unlock(),this.isResizeMode=!1,this.isAltMode=!1,t.synchronizeValues(),t.e.off(t.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(t){if(this.isResizeMode){let i,n;if(!this.element)return;if(this.pointerX=t.clientX,this.pointerY=t.clientY,this.j.options.iframe){let r=this.getWorkplacePosition();i=t.clientX+r.left-this.startX,n=t.clientY+r.top-this.startY}else i=this.pointerX-this.startX,n=this.pointerY-this.startY;let r=this.handle.className,o=0,a=0,u=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===u||u&&s.Dom.isTag(this.element,u))?(i?a=Math.round((o=this.width+(r.match(/left/)?-1:1)*i)/this.ratio):o=Math.round((a=this.height+(r.match(/top/)?-1:1)*n)*this.ratio),o>(0,l.innerWidth)(this.j.editor,this.j.ow)&&(a=Math.round((o=(0,l.innerWidth)(this.j.editor,this.j.ow))/this.ratio))):(o=this.width+(r.match(/left/)?-1:1)*i,a=this.height+(r.match(/top/)?-1:1)*n),o>this.j.o.resizer.min_width&&(o<this.rect.parentNode.offsetWidth?this.applySize(this.element,"width",o):this.applySize(this.element,"width","100%")),a>this.j.o.resizer.min_height&&this.applySize(this.element,"height",a),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),t.stopImmediatePropagation()}}onKeyDown(t){this.isAltMode=t.key===r.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(t){if(this.isShown){if(!this.isResizeMode)return this.hide();t.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,l.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(t,i,n){let r=s.Dom.isImage(t)&&this.j.o.resizer.forImageChangeAttributes;r&&(0,l.attr)(t,i,n),(!r||t.style[i])&&(0,l.css)(t,i,n)}onDelete(t){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(s.Dom.safeRemove(this.element),this.hide(),t.preventDefault()))}__onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,l.$$)("iframe",this.j.editor).forEach(this.__bind)}__bind(t){let i;if(!(!s.Dom.isHTMLElement(t)||!this.j.o.allowResizeTags.has(t.tagName.toLowerCase())||(0,l.dataBind)(t,d))){if((0,l.dataBind)(t,d,!0),s.Dom.isTag(t,"iframe")){let n=t;s.Dom.isHTMLElement(t.parentNode)&&(0,l.attr)(t.parentNode,"-jodit_iframe_wrapper")?t=t.parentNode:(i=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,l.attr)(i,"style",(0,l.attr)(t,"style")),(0,l.css)(i,{display:"inline-block"===t.style.display?"inline-block":"block",width:t.offsetWidth,height:t.offsetHeight}),t.parentNode&&t.parentNode.insertBefore(i,t),i.appendChild(t),this.j.e.on(i,"click",()=>{(0,l.attr)(i,"data-jodit-wrapper_active",!0)}),t=i),this.j.e.off(t,"mousedown.select touchstart.select").on(t,"mousedown.select touchstart.select",()=>{this.j.s.select(t)}).off(t,"changesize").on(t,"changesize",()=>{n.setAttribute("width",t.offsetWidth+"px"),n.setAttribute("height",t.offsetHeight+"px")})}this.j.e.on(t,"dragstart",this.hide),!r.IS_ES_NEXT&&r.IS_IE&&this.j.e.on(t,"mousedown",i=>{s.Dom.isTag(t,"img")&&i.preventDefault()})}}showSizeViewer(t,i){if(this.j.o.resizer.showSize){if(t<this.sizeViewer.offsetWidth||i<this.sizeViewer.offsetHeight)return void this.hideSizeViewer();this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${t} x ${i}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})}}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,l.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=(0,l.css)(this.j.container,"zIndex").toString()),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,s.Dom.safeRemove(this.rect),(0,l.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach(t=>(0,l.attr)(t,"data-jodit-wrapper_active",!1)))}beforeDestruct(t){this.hide(),a.eventEmitter.off("hideHelpers",this.hide),t.e.off(this.j.ow,".resizer").off(".resizer")}constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`<div title="${this.j.i18n("Press Alt for custom resizing")}" class="jodit-resizer">
|
|
30
30
|
<div class="jodit-resizer__top-left"></div>
|
|
31
31
|
<div class="jodit-resizer__top-right"></div>
|
|
32
32
|
<div class="jodit-resizer__bottom-right"></div>
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
>
|
|
150
150
|
<label>~Border radius~</label>
|
|
151
151
|
<input type="number" class="jodit-input &__borderRadius"/>
|
|
152
|
-
</div>`}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){let t=this.getElm("align");this.state.values.align=t.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=this.state.values.borderRadius.toString()}onChangeBorderRadius(){let t=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(t.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){let t=this.getElm("id");this.state.values.id=t.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){let t=this.getElm("style");this.state.values.style=t.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){let t=this.getElm("classes");this.state.values.classes=t.value}onLockMarginClick(t){this.state.marginIsLocked=!this.state.marginIsLocked,t.preventDefault()}onChangeMarginIsLocked(){let t=this.getElm("marginBottom"),i=this.getElm("marginRight"),n=this.getElm("marginLeft"),r=this.getElm("lockMargin");if([i,t,n].forEach(t=>{(0,u.attr)(t,"disabled",this.state.marginIsLocked||null)}),r.innerHTML=d.Icon.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){let t=this.state.values.marginTop;this.state.values.marginRight=t,this.state.values.marginBottom=t,this.state.values.marginLeft=t}}onStateValuesMarginChange(){let t=this.getElm("marginTop"),i=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");t.value=this.state.values.marginTop.toString(),i.value=this.state.values.marginRight.toString(),n.value=this.state.values.marginBottom.toString(),r.value=this.state.values.marginLeft.toString()}onChangeMargin(){let t=this.getElm("marginTop"),i=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");this.state.values.marginTop=(0,h.normalSizeFromString)(t.value),this.state.marginIsLocked?(this.state.values.marginRight=this.state.values.marginTop,this.state.values.marginBottom=this.state.values.marginTop,this.state.values.marginLeft=this.state.values.marginTop):(this.state.values.marginRight=(0,h.normalSizeFromString)(i.value),this.state.values.marginBottom=(0,h.normalSizeFromString)(n.value),this.state.values.marginLeft=(0,h.normalSizeFromString)(r.value))}hideFieldByOptions(){let t=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach(([i,n])=>{let r=this.getElm(n);(0,a.css)(r,"display",t[i]?null:"none")})}constructor(t,i,n){super(t,{availableClasses:t.o.image.availableClasses}),this.state=i,this.handlers=n}};p([(0,o.hook)("ready"),(0,s.watch)("state.values.align")],f.prototype,"onStateAlignChange",null),p([(0,s.watch)("align:change")],f.prototype,"onChangeAlign",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.borderRadius")],f.prototype,"onStateValuesBorderRadiusChange",null),p([(0,s.watch)("borderRadius:change")],f.prototype,"onChangeBorderRadius",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.id")],f.prototype,"onStateValuesIdChange",null),p([(0,s.watch)("id:change")],f.prototype,"onChangeId",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.style")],f.prototype,"onStateValuesStyleChange",null),p([(0,s.watch)("style:change")],f.prototype,"onChangeStyle",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.classes")],f.prototype,"onStateValuesClassesChange",null),p([(0,s.watch)("classes:change")],f.prototype,"onChangClasses",null),p([(0,s.watch)("lockMargin:click")],f.prototype,"onLockMarginClick",null),p([(0,o.hook)("ready"),(0,s.watch)("state.marginIsLocked")],f.prototype,"onChangeMarginIsLocked",null),p([(0,o.hook)("ready"),(0,s.watch)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],f.prototype,"onStateValuesMarginChange",null),p([(0,s.watch)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],f.prototype,"onChangeMargin",null),p([(0,o.hook)("ready")],f.prototype,"hideFieldByOptions",null),f=p([r.component],f)},29960:function(t,i,n){"use strict";n.d(i,{attr:function(){return function t(i,n,u){if(!i||!(0,r.isFunction)(i.getAttribute))return null;if(!(0,s.isString)(n))return Object.keys(n).forEach(r=>{let s=n[r];(0,o.isPlainObject)(s)&&"style"===r?(0,l.css)(i,s):("className"===r&&(r="class"),t(i,r,s))}),null;let c=(0,a.CamelCaseToKebabCase)(n);if(/^-/.test(c)){let n=t(i,`data${c}`);if(n)return n;c=c.substr(1)}if(void 0!==u)if(null==u)i.hasAttribute(c)&&i.removeAttribute(c);else{let t=u.toString();return"IMG"===i.nodeName&&("width"===c||"height"===c)&&(t=t.replace("px","")),i.setAttribute(c,t),t}return i.getAttribute(c)}}});var r=n(23282),o=n(72430),s=n(70799),a=n(12475),l=n(41180)},29999:function(t,i,n){"use strict";n.d(i,{asArray:function(){return o}});var r=n(68345);let o=t=>(0,r.isArray)(t)?t:[t]},30389:function(t,i,n){"use strict";n.d(i,{inputValidators:function(){return r},selectValidators:function(){return o}});var r=n(25685),o=n(66465)},30465:function(t,i,n){"use strict";function r(t){return t.files.setMod("active",!0),t.files.setMod("loading",!0),t.dataProvider.items(t.state.currentPath,t.state.currentSource,{sortBy:t.state.sortBy,onlyImages:t.state.onlyImages,filterWord:t.state.filterWord}).then(i=>{i&&(t.state.elements=i,t.state.activeElements=[])}).catch(t.status).finally(()=>t.files.setMod("loading",!1))}n.d(i,{loadItems:function(){return r}})},30592:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Vonal magass\xe1ga"}},30717:function(t,i,n){"use strict";n.d(i,{applyStylesPro:function(){return r.applyStylesPro}});var r=n(51586);n(31269),n(19606)},30798:function(t,i,n){"use strict";n.r(i),i.default={newline:"newline",delete:"usunąć",space:"przestrzeń","Speech Recognize":"Rozpoznawanie Mowy",Sound:"Dźwięk","Interim Results":"Wyniki Okresowe"}},31105:function(t,i,n){"use strict";n.d(i,{applyStyle:function(){return u}});var r=n(69341),o=n(82758),s=n(2748);function a(t,i){let n=t.s.current();if(!n)return null;if(o.IS_BLOCK.test(i.element))return s.Dom.closest(n,s.Dom.isBlock,t.editor);let r=s.Dom.isElement(n)?n:n.parentNode;for(;r&&r!==t.editor;){if(s.Dom.isElement(r)&&r.nodeName.toLowerCase()===i.element)return r;r=r.parentNode}return null}function l(t,i){for(let n of i)t.classList.remove(n);""===t.className&&t.removeAttribute("class")}function u(t,i,n){let u=(0,r.detectActiveStyle)(t,n);u&&(t.s.commitStyle({element:u.element,attributes:{class:u.classes[0]}}),!function(t,i){if(i.classes.length<=1)return;let n=t.s.current();if(n)if(o.IS_BLOCK.test(i.element)){let r=s.Dom.closest(n,s.Dom.isBlock,t.editor);r&&l(r,i.classes.slice(1))}else{let n=a(t,i);n&&(l(n,i.classes.slice(1)),"span"!==n.nodeName.toLowerCase()||n.attributes.length||s.Dom.unwrap(n))}}(t,u),u===i)||(t.s.commitStyle({element:i.element,attributes:{class:i.classes[0]}}),function(t,i){if(i.classes.length<=1)return;let n=a(t,i);if(n)for(let t=1;t<i.classes.length;t++)n.classList.add(i.classes[t])}(t,i))}},31151:function(t,i){"use strict";i.default='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg> '},31269:function(t,i,n){"use strict";n.d(i,{calcListLevels:function(){return a}});var r=n(43712),o=n(10058),s=n(97420);function a(t){if(void 0!==t.attributes[o.LEVEL_KEY])return;let i=[(0,r.realPixelIndent)(t)],n=[t],a=t.next;for(;a;){if(a.isElement&&!a.attributes[o.LEVEL_KEY]&&(0,s.isPseudoLeaf)(a)){let t=(0,r.realPixelIndent)(a);t&&(i.push(t),n.push(a))}a=a.next}let l=Math.min(...i.filter(t=>t>0)),u=i.map(t=>Math.ceil(t/10));-1!==u.indexOf(0)&&(u=u.map(t=>t+1)),n.forEach((t,i)=>{t.attributes[o.LEVEL_KEY]=u[i],t.style.add("margin-left",`${Math.max((0,r.realPixelIndent)(t)-10*u[i]/l*40,0)}px`)})}},31356:function(t,i,n){"use strict";n.d(i,{ListReconciler:function(){return r}});class r{static reconcile(t,i,n){let{getId:r,isEqual:o=(t,i)=>r(t)===r(i),preserveOrder:s=!0}=n,a=new Map,l=new Map;t.forEach((t,i)=>{let n=r(t);a.set(n,t),l.set(n,i)});let u=new Map,c=new Map;i.forEach((t,i)=>{let n=r(t);u.set(n,t),c.set(n,i)});let d=[],h=[],p=[],f=[];return i.forEach((t,i)=>{let n=r(t),u=a.get(n);u?!o(u,t)||s&&l.get(n)!==i?h.push({oldItem:u,newItem:t,index:s?i:l.get(n)}):f.push(u):d.push(t)}),t.forEach(t=>{let i=r(t);u.has(i)||p.push(t)}),{toCreate:d,toUpdate:h,toRemove:p,unchanged:f}}static applyResult(t,i,n={}){i.toRemove.forEach(i=>{let r=t.indexOf(i);if(-1!==r){var o;null==(o=n.onRemove)||o.call(n,i,r),t.splice(r,1)}}),i.toUpdate.forEach(({oldItem:i,newItem:r,index:o})=>{let s=t.indexOf(i);if(-1!==s){var a;null==(a=n.onUpdate)||a.call(n,i,r,o),t[s]=r}}),i.toCreate.forEach(i=>{var r;null==(r=n.onCreate)||r.call(n,i,t.length),t.push(i)})}}},31359:function(t,i,n){"use strict";n.d(i,{init:function(){return a}});var r=n(82758),o=n(60132),s=n(14041);function a(t,i,n,a,l,u,c){if((0,o.isInitable)(a))try{a.init(t)}catch(t){if(!r.IS_PROD)throw t}l.set(i,a),u.delete(i),a.hasStyle&&(0,s.loadStyle)(t,i).catch(t=>{r.IS_PROD}),a.styles&&(c(t,i,"style").innerHTML=a.styles)}},31554:function(t,i){"use strict";i.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> '},31571:function(t,i,n){"use strict";n.d(i,{pasteFromWord:function(){return c}});var r=n(82758),o=n(65478),s=n(580),a=n(21537),l=n(50911);n(71842);var u=n(117);class c extends l.Plugin{afterInit(t){}beforeDestruct(t){}processWordHTML(t,i,n){let{j:r}=this,{processPasteFromWord:o,askBeforePasteFromWord:s,defaultActionOnPasteFromWord:l,defaultActionOnPaste:c,pasteFromWordActionList:d}=r.o;return!!(o&&(0,a.isHtmlFromWord)(i))&&(s?(0,u.askInsertTypeDialog)(r,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",r=>{this.insertFromWordByType(t,i,r,n)},d):this.insertFromWordByType(t,i,l||c,n),!0)}insertFromWordByType(t,i,n,o){var s;switch(n){case r.INSERT_AS_HTML:{i=(0,a.applyStyles)(i);let t=null==(s=this.j.events)?void 0:s.fire("beautifyHTML",i);(0,a.isString)(t)&&(i=t);break}case r.INSERT_AS_TEXT:i=(0,a.cleanFromWord)(i);break;case r.INSERT_ONLY_TEXT:i=(0,a.stripTags)((0,a.cleanFromWord)(i))}(0,u.pasteInsertHtml)(t,this.j,i)}}c.requires=["paste"],function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,o.watch)(":processHTML")],c.prototype,"processWordHTML",null),s.pluginSystem.add("pasteFromWord",c)},31589:function(t,i,n){"use strict";n.d(i,{nonenumerable:function(){return r}});let r=(t,i)=>{!1!==(Object.getOwnPropertyDescriptor(t,i)||{}).enumerable&&Object.defineProperty(t,i,{enumerable:!1,set(t){Object.defineProperty(this,i,{enumerable:!1,writable:!0,value:t})}})}},31635:function(t,i,n){"use strict";function r(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}n.d(i,{__decorate:function(){return r}}),"function"==typeof SuppressedError&&SuppressedError},31974:function(t,i,n){"use strict";n.d(i,{aiAssitentCommands:function(){return l}});var r=n(12153),o=n(6441),s=n(64488),a=n(23658);let l={aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"};o.Config.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},r.Icon.set("ai-assistant",a.default),r.Icon.set("ai-commands",s.default),o.Config.prototype.controls["ai-commands"]={isDisabled(t){return!t.o.aiAssistant.aiAssistantCallback},tooltip:"AI Commands",list:l,exec:(t,i,{control:n})=>{t.e.fire("generateAiAssistantForm.ai-assistant",n.name)}},o.Config.prototype.controls["ai-assistant"]={isDisabled(t){return!t.o.aiAssistant.aiAssistantCallback},hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec:(t,i,n)=>{t.e.fire("generateAiAssistantForm.ai-assistant")}}},32118:function(t,i,n){"use strict";n.d(i,{elementsMap:function(){return o}});let r=new WeakMap,o=t=>{let i=r.get(t);return i||(i={},r.set(t,i)),i}},32172:function(t,i){"use strict";i.default={"copy-format":"format kopii"}},32309:function(t,i,n){"use strict";var r=n(580),o=n(21537),s=n(43649);n(37585),r.pluginSystem.add("mobile",function(t){let i=0,n=(0,o.splitArray)(t.o.buttons);t.o.mobileTapTimeout&&t.e.on("touchend",n=>{if(n.changedTouches&&n.changedTouches.length){let r=new Date().getTime(),o=r-i;o>t.o.mobileTapTimeout&&(i=r,o<1.5*t.o.mobileTapTimeout&&t.s.insertCursorAtPoint(n.clientX,n.clientY))}}),t.e.on("getDiffButtons.mobile",i=>{if(i===t.toolbar){let i=(0,s.flatButtonsSet)((0,o.splitArray)(t.o.buttons),t),r=(0,s.flatButtonsSet)(n,t);return(0,o.toArray)(i).reduce((t,i)=>(r.has(i)||t.push(i),t),[])}}),t.o.toolbarAdaptive&&t.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",()=>{var i,r;if(!t.o.toolbar)return;let s=(null!=(i=t.container.parentElement)?i:t.container).offsetWidth,a=t.isFullSize||s>=t.o.sizeLG?(0,o.splitArray)(t.o.buttons):s>=t.o.sizeMD?(0,o.splitArray)(t.o.buttonsMD):s>=t.o.sizeSM?(0,o.splitArray)(t.o.buttonsSM):(0,o.splitArray)(t.o.buttonsXS);a.toString()!==n.toString()&&(n=a,t.e.fire("closeAllPopups"),null==(r=t.toolbar)||r.setRemoveButtons(t.o.removeButtons).build(n.concat(t.o.extraButtons)))}).on(t.ow,"load resize",()=>t.e.fire("recalcAdaptive"))})},32496:function(t,i,n){"use strict";n(6441).Config.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},32523:function(t,i,n){"use strict";n.d(i,{UiAiAssistant:function(){return d}});var r=n(87325),o=n(37133),s=n(2748),a=n(70799),l=n(67510),u=n(48538),c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d=class t extends u.UIElement{className(){return"UIAiAssistant"}render(){return`<div>
|
|
152
|
+
</div>`}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){let t=this.getElm("align");this.state.values.align=t.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=this.state.values.borderRadius.toString()}onChangeBorderRadius(){let t=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(t.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){let t=this.getElm("id");this.state.values.id=t.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){let t=this.getElm("style");this.state.values.style=t.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){let t=this.getElm("classes");this.state.values.classes=t.value}onLockMarginClick(t){this.state.marginIsLocked=!this.state.marginIsLocked,t.preventDefault()}onChangeMarginIsLocked(){let t=this.getElm("marginBottom"),i=this.getElm("marginRight"),n=this.getElm("marginLeft"),r=this.getElm("lockMargin");if([i,t,n].forEach(t=>{(0,u.attr)(t,"disabled",this.state.marginIsLocked||null)}),r.innerHTML=d.Icon.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){let t=this.state.values.marginTop;this.state.values.marginRight=t,this.state.values.marginBottom=t,this.state.values.marginLeft=t}}onStateValuesMarginChange(){let t=this.getElm("marginTop"),i=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");t.value=this.state.values.marginTop.toString(),i.value=this.state.values.marginRight.toString(),n.value=this.state.values.marginBottom.toString(),r.value=this.state.values.marginLeft.toString()}onChangeMargin(){let t=this.getElm("marginTop"),i=this.getElm("marginRight"),n=this.getElm("marginBottom"),r=this.getElm("marginLeft");this.state.values.marginTop=(0,h.normalSizeFromString)(t.value),this.state.marginIsLocked?(this.state.values.marginRight=this.state.values.marginTop,this.state.values.marginBottom=this.state.values.marginTop,this.state.values.marginLeft=this.state.values.marginTop):(this.state.values.marginRight=(0,h.normalSizeFromString)(i.value),this.state.values.marginBottom=(0,h.normalSizeFromString)(n.value),this.state.values.marginLeft=(0,h.normalSizeFromString)(r.value))}hideFieldByOptions(){let t=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach(([i,n])=>{let r=this.getElm(n);(0,a.css)(r,"display",t[i]?null:"none")})}constructor(t,i,n){super(t,{availableClasses:t.o.image.availableClasses}),this.state=i,this.handlers=n}};p([(0,o.hook)("ready"),(0,s.watch)("state.values.align")],f.prototype,"onStateAlignChange",null),p([(0,s.watch)("align:change")],f.prototype,"onChangeAlign",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.borderRadius")],f.prototype,"onStateValuesBorderRadiusChange",null),p([(0,s.watch)("borderRadius:change")],f.prototype,"onChangeBorderRadius",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.id")],f.prototype,"onStateValuesIdChange",null),p([(0,s.watch)("id:change")],f.prototype,"onChangeId",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.style")],f.prototype,"onStateValuesStyleChange",null),p([(0,s.watch)("style:change")],f.prototype,"onChangeStyle",null),p([(0,o.hook)("ready"),(0,s.watch)("state.values.classes")],f.prototype,"onStateValuesClassesChange",null),p([(0,s.watch)("classes:change")],f.prototype,"onChangClasses",null),p([(0,s.watch)("lockMargin:click")],f.prototype,"onLockMarginClick",null),p([(0,o.hook)("ready"),(0,s.watch)("state.marginIsLocked")],f.prototype,"onChangeMarginIsLocked",null),p([(0,o.hook)("ready"),(0,s.watch)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],f.prototype,"onStateValuesMarginChange",null),p([(0,s.watch)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],f.prototype,"onChangeMargin",null),p([(0,o.hook)("ready")],f.prototype,"hideFieldByOptions",null),f=p([r.component],f)},29960:function(t,i,n){"use strict";n.d(i,{attr:function(){return function t(i,n,u){if(!i||!(0,r.isFunction)(i.getAttribute))return null;if(!(0,s.isString)(n))return Object.keys(n).forEach(r=>{let s=n[r];(0,o.isPlainObject)(s)&&"style"===r?(0,l.css)(i,s):("className"===r&&(r="class"),t(i,r,s))}),null;let c=(0,a.CamelCaseToKebabCase)(n);if(/^-/.test(c)){let n=t(i,`data${c}`);if(n)return n;c=c.substr(1)}if(void 0!==u)if(null==u)i.hasAttribute(c)&&i.removeAttribute(c);else{let t=u.toString();return"IMG"===i.nodeName&&("width"===c||"height"===c)&&(t=t.replace("px","")),i.setAttribute(c,t),t}return i.getAttribute(c)}}});var r=n(23282),o=n(72430),s=n(70799),a=n(12475),l=n(41180)},29999:function(t,i,n){"use strict";n.d(i,{asArray:function(){return o}});var r=n(68345);let o=t=>(0,r.isArray)(t)?t:[t]},30389:function(t,i,n){"use strict";n.d(i,{inputValidators:function(){return r},selectValidators:function(){return o}});var r=n(25685),o=n(66465)},30465:function(t,i,n){"use strict";function r(t){return t.files.setMod("active",!0),t.files.setMod("loading",!0),t.dataProvider.items(t.state.currentPath,t.state.currentSource,{sortBy:t.state.sortBy,onlyImages:t.state.onlyImages,filterWord:t.state.filterWord}).then(i=>{i&&(t.state.elements=i,t.state.activeElements=[])}).catch(t.status).finally(()=>t.files.setMod("loading",!1))}n.d(i,{loadItems:function(){return r}})},30592:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Vonal magass\xe1ga"}},30717:function(t,i,n){"use strict";n.d(i,{applyStylesPro:function(){return r.applyStylesPro}});var r=n(51586);n(31269),n(19606)},30798:function(t,i,n){"use strict";n.r(i),i.default={newline:"newline",delete:"usunąć",space:"przestrzeń","Speech Recognize":"Rozpoznawanie Mowy",Sound:"Dźwięk","Interim Results":"Wyniki Okresowe"}},31105:function(t,i,n){"use strict";n.d(i,{applyStyle:function(){return c}});var r=n(69341),o=n(82758),s=n(2748);function a(t,i){let n=t.s.current();if(!n)return null;if(o.IS_BLOCK.test(i.element))return s.Dom.closest(n,s.Dom.isBlock,t.editor);let r=s.Dom.isElement(n)?n:n.parentNode;for(;r&&r!==t.editor;){if(s.Dom.isElement(r)&&r.nodeName.toLowerCase()===i.element)return r;r=r.parentNode}return null}function l(t,i){for(let n of i)t.classList.remove(n);""===t.className&&t.removeAttribute("class")}function u(t){var i;let n=null==(i=t.classes)?void 0:i.filter(Boolean)[0];return n?{element:t.element,attributes:{class:n}}:{element:t.element}}function c(t,i,n){let c=(0,r.detectActiveStyle)(t,n);c&&(t.s.commitStyle(u(c)),!function(t,i){var n;let r=null==(n=i.classes)?void 0:n.filter(Boolean);if(!r||r.length<=1)return;let u=t.s.current();if(u)if(o.IS_BLOCK.test(i.element)){let i=s.Dom.closest(u,s.Dom.isBlock,t.editor);i&&l(i,r.slice(1))}else{let n=a(t,i);n&&(l(n,r.slice(1)),"span"!==n.nodeName.toLowerCase()||n.attributes.length||s.Dom.unwrap(n))}}(t,c),c===i)||(t.s.commitStyle(u(i)),function(t,i){var n;let r=null==(n=i.classes)?void 0:n.filter(Boolean);if(!r||r.length<=1)return;let o=a(t,i);if(o)for(let t=1;t<r.length;t++)o.classList.add(r[t])}(t,i))}},31151:function(t,i){"use strict";i.default='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg> '},31269:function(t,i,n){"use strict";n.d(i,{calcListLevels:function(){return a}});var r=n(43712),o=n(10058),s=n(97420);function a(t){if(void 0!==t.attributes[o.LEVEL_KEY])return;let i=[(0,r.realPixelIndent)(t)],n=[t],a=t.next;for(;a;){if(a.isElement&&!a.attributes[o.LEVEL_KEY]&&(0,s.isPseudoLeaf)(a)){let t=(0,r.realPixelIndent)(a);t&&(i.push(t),n.push(a))}a=a.next}let l=Math.min(...i.filter(t=>t>0)),u=i.map(t=>Math.ceil(t/10));-1!==u.indexOf(0)&&(u=u.map(t=>t+1)),n.forEach((t,i)=>{t.attributes[o.LEVEL_KEY]=u[i],t.style.add("margin-left",`${Math.max((0,r.realPixelIndent)(t)-10*u[i]/l*40,0)}px`)})}},31356:function(t,i,n){"use strict";n.d(i,{ListReconciler:function(){return r}});class r{static reconcile(t,i,n){let{getId:r,isEqual:o=(t,i)=>r(t)===r(i),preserveOrder:s=!0}=n,a=new Map,l=new Map;t.forEach((t,i)=>{let n=r(t);a.set(n,t),l.set(n,i)});let u=new Map,c=new Map;i.forEach((t,i)=>{let n=r(t);u.set(n,t),c.set(n,i)});let d=[],h=[],p=[],f=[];return i.forEach((t,i)=>{let n=r(t),u=a.get(n);u?!o(u,t)||s&&l.get(n)!==i?h.push({oldItem:u,newItem:t,index:s?i:l.get(n)}):f.push(u):d.push(t)}),t.forEach(t=>{let i=r(t);u.has(i)||p.push(t)}),{toCreate:d,toUpdate:h,toRemove:p,unchanged:f}}static applyResult(t,i,n={}){i.toRemove.forEach(i=>{let r=t.indexOf(i);if(-1!==r){var o;null==(o=n.onRemove)||o.call(n,i,r),t.splice(r,1)}}),i.toUpdate.forEach(({oldItem:i,newItem:r,index:o})=>{let s=t.indexOf(i);if(-1!==s){var a;null==(a=n.onUpdate)||a.call(n,i,r,o),t[s]=r}}),i.toCreate.forEach(i=>{var r;null==(r=n.onCreate)||r.call(n,i,t.length),t.push(i)})}}},31359:function(t,i,n){"use strict";n.d(i,{init:function(){return a}});var r=n(82758),o=n(60132),s=n(14041);function a(t,i,n,a,l,u,c){if((0,o.isInitable)(a))try{a.init(t)}catch(t){if(!r.IS_PROD)throw t}l.set(i,a),u.delete(i),a.hasStyle&&(0,s.loadStyle)(t,i).catch(t=>{r.IS_PROD}),a.styles&&(c(t,i,"style").innerHTML=a.styles)}},31554:function(t,i){"use strict";i.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> '},31571:function(t,i,n){"use strict";n.d(i,{pasteFromWord:function(){return c}});var r=n(82758),o=n(65478),s=n(580),a=n(21537),l=n(50911);n(71842);var u=n(117);class c extends l.Plugin{afterInit(t){}beforeDestruct(t){}processWordHTML(t,i,n){let{j:r}=this,{processPasteFromWord:o,askBeforePasteFromWord:s,defaultActionOnPasteFromWord:l,defaultActionOnPaste:c,pasteFromWordActionList:d}=r.o;return!!(o&&(0,a.isHtmlFromWord)(i))&&(s?(0,u.askInsertTypeDialog)(r,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",r=>{this.insertFromWordByType(t,i,r,n)},d):this.insertFromWordByType(t,i,l||c,n),!0)}insertFromWordByType(t,i,n,o){var s;switch(n){case r.INSERT_AS_HTML:{i=(0,a.applyStyles)(i);let t=null==(s=this.j.events)?void 0:s.fire("beautifyHTML",i);(0,a.isString)(t)&&(i=t);break}case r.INSERT_AS_TEXT:i=(0,a.cleanFromWord)(i);break;case r.INSERT_ONLY_TEXT:i=(0,a.stripTags)((0,a.cleanFromWord)(i))}(0,u.pasteInsertHtml)(t,this.j,i)}}c.requires=["paste"],function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,o.watch)(":processHTML")],c.prototype,"processWordHTML",null),s.pluginSystem.add("pasteFromWord",c)},31589:function(t,i,n){"use strict";n.d(i,{nonenumerable:function(){return r}});let r=(t,i)=>{!1!==(Object.getOwnPropertyDescriptor(t,i)||{}).enumerable&&Object.defineProperty(t,i,{enumerable:!1,set(t){Object.defineProperty(this,i,{enumerable:!1,writable:!0,value:t})}})}},31635:function(t,i,n){"use strict";function r(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}n.d(i,{__decorate:function(){return r}}),"function"==typeof SuppressedError&&SuppressedError},31974:function(t,i,n){"use strict";n.d(i,{aiAssitentCommands:function(){return l}});var r=n(12153),o=n(6441),s=n(64488),a=n(23658);let l={aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"};o.Config.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},r.Icon.set("ai-assistant",a.default),r.Icon.set("ai-commands",s.default),o.Config.prototype.controls["ai-commands"]={isDisabled(t){return!t.o.aiAssistant.aiAssistantCallback},tooltip:"AI Commands",list:l,exec:(t,i,{control:n})=>{t.e.fire("generateAiAssistantForm.ai-assistant",n.name)}},o.Config.prototype.controls["ai-assistant"]={isDisabled(t){return!t.o.aiAssistant.aiAssistantCallback},hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec:(t,i,n)=>{t.e.fire("generateAiAssistantForm.ai-assistant")}}},32118:function(t,i,n){"use strict";n.d(i,{elementsMap:function(){return o}});let r=new WeakMap,o=t=>{let i=r.get(t);return i||(i={},r.set(t,i)),i}},32172:function(t,i){"use strict";i.default={"copy-format":"format kopii"}},32309:function(t,i,n){"use strict";var r=n(580),o=n(21537),s=n(43649);n(37585),r.pluginSystem.add("mobile",function(t){let i=0,n=(0,o.splitArray)(t.o.buttons);t.o.mobileTapTimeout&&t.e.on("touchend",n=>{if(n.changedTouches&&n.changedTouches.length){let r=new Date().getTime(),o=r-i;o>t.o.mobileTapTimeout&&(i=r,o<1.5*t.o.mobileTapTimeout&&t.s.insertCursorAtPoint(n.clientX,n.clientY))}}),t.e.on("getDiffButtons.mobile",i=>{if(i===t.toolbar){let i=(0,s.flatButtonsSet)((0,o.splitArray)(t.o.buttons),t),r=(0,s.flatButtonsSet)(n,t);return(0,o.toArray)(i).reduce((t,i)=>(r.has(i)||t.push(i),t),[])}}),t.o.toolbarAdaptive&&t.e.on("resize afterInit recalcAdaptive changePlace afterAddPlace",()=>{var i,r;if(!t.o.toolbar)return;let s=(null!=(i=t.container.parentElement)?i:t.container).offsetWidth,a=t.isFullSize||s>=t.o.sizeLG?(0,o.splitArray)(t.o.buttons):s>=t.o.sizeMD?(0,o.splitArray)(t.o.buttonsMD):s>=t.o.sizeSM?(0,o.splitArray)(t.o.buttonsSM):(0,o.splitArray)(t.o.buttonsXS);a.toString()!==n.toString()&&(n=a,t.e.fire("closeAllPopups"),null==(r=t.toolbar)||r.setRemoveButtons(t.o.removeButtons).build(n.concat(t.o.extraButtons)))}).on(t.ow,"load resize",()=>t.e.fire("recalcAdaptive"))})},32496:function(t,i,n){"use strict";n(6441).Config.prototype.delete={hotkeys:{delete:["delete","cmd+backspace"],deleteWord:["ctrl+delete","cmd+alt+backspace","ctrl+alt+backspace"],deleteSentence:["ctrl+shift+delete","cmd+shift+delete"],backspace:["backspace"],backspaceWord:["ctrl+backspace"],backspaceSentence:["ctrl+shift+backspace","cmd+shift+backspace"]}}},32523:function(t,i,n){"use strict";n.d(i,{UiAiAssistant:function(){return d}});var r=n(87325),o=n(37133),s=n(2748),a=n(70799),l=n(67510),u=n(48538),c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let d=class t extends u.UIElement{className(){return"UIAiAssistant"}render(){return`<div>
|
|
153
153
|
<div class="&__container">
|
|
154
154
|
<div class="&__error"></div>
|
|
155
155
|
<div class="&__body"></div>
|
|
@@ -217,13 +217,13 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
|
|
|
217
217
|
<div class="&__empty-message">~There are no files~</div>
|
|
218
218
|
<div class='&__loader'></div>
|
|
219
219
|
<div class='&__drag-area'>~Drop image~</div>
|
|
220
|
-
</div>`}reconcile(t){let i=this.elements.findIndex((i,n)=>!t[n]||i.item.uniqueHashKey!==u.FileBrowserItem.create(t[n]).uniqueHashKey);if(i>-1){for(let t=i;t<this.elements.length;t+=1)this.elements[t].destruct();this.elements.length=i}return i}build(t){let i=this.reconcile(t);t.slice(i>-1?i:this.elements.length).forEach(t=>{let i=new c.UIBrowserItem(this.jodit,t);Object.keys(this.mods).forEach(t=>{i.setMod(t,this.mods[t])}),this.append(i)}),this.setMod("empty",!this.elements.length)}onScrollLoadChunk(){!this.stateManager.isFavoriteItems&&this.container.scrollHeight-(this.container.scrollTop+this.container.offsetHeight)<this.j.o.pixelOffsetLoadNewChunk&&this.j.loadingManager.loadItemsChunk()}onDragOver(t){t.preventDefault(),this.setMod("dragover",!0)}onDragLeave(t){t.preventDefault(),this.setMod("dragover",!1)}addItemsSelector(){d.UISelectItems.install(this)}static intersectRect(t,i){return!(i.left>t.left+t.width||i.left+i.width<t.left||i.top>t.top+t.height||i.top+i.height<t.top)}onSelectItems(t){let i=[];this.elements.forEach(n=>{let r=(0,a.position)(n.container);h.intersectRect(r,t)&&i.push(n.item)}),this.stateManager.state.activeElements=i}constructor(t,i){super(t),(0,r._)(this,"stateManager",void 0),(0,r._)(this,"syncMod",void 0),this.stateManager=i,this.syncMod=!0,this.addItemsSelector()}}(0,o.__decorate)([(0,s.watch)(":afterResize"),(0,s.watch)(":resize"),(0,s.watch)("container:scroll"),(0,s.throttle)()],h.prototype,"onScrollLoadChunk",null),(0,o.__decorate)([(0,s.watch)("container:dragover")],h.prototype,"onDragOver",null),(0,o.__decorate)([(0,s.watch)(["container:dragleave","container:drop"])],h.prototype,"onDragLeave",null),h=(0,o.__decorate)([s.component],h)},43809:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(29960),a=n(50911);n(99085);var l=n(26529);class u extends a.Plugin{afterInit(t){t.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),t.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,s.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(t){}constructor(t){super(t),this.buttons=[{group:"state",name:"spellcheck"}],(0,o.extendLang)(l)}}!function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([r.autobind],u.prototype,"toggleSpellcheck",null),o.pluginSystem.add("spellcheck",u)},44245:function(t,i,n){"use strict";n.d(i,{insertParagraph:function(){return s}});var r=n(2748),o=n(26395);function s(t,i,n,s){let a="br"===n.toLowerCase(),{createInside:l}=i,u=l.element(n),c=l.element("br");return a||u.appendChild(c),s&&s.cssText&&u.setAttribute("style",s.cssText),r.Dom.after(t,u),r.Dom.before(a?u:c,t),(0,o.scrollIntoViewIfNeeded)(u,i.editor,i.ed),u}},44253:function(t,i,n){"use strict";n.d(i,{toggleAttributes:function(){return g}});var r=n(82758),o=n(2748),s=n(580),a=n(27613),l=n(3760),u=n(21496),c=n(12475),d=n(43555),h=n(41180),p=n(86583),f=n(77361);let m="toggleAttributes";function g(t,i,n,v,y=!1){if(!y&&t.isApplied(i,m))return v;y||t.setApplied(i,m);let{attributes:_}=t.options;return _&&(0,u.size)(_)>0&&Object.keys(_).forEach(m=>{var g,C,w;let F=_[m];switch(m){case"style":g=v,(0,d.assert)((0,a.isPlainObject)(F)&&(0,u.size)(F),"Style must be an object"),Object.keys(F).forEach(a=>{let u=i.style.getPropertyValue((0,c.kebabCase)(a)),d=F[a];if(""!==u||null!=d){let c,m;if((c=n.create.element(i.tagName.toLowerCase())).style.cssText=i.style.cssText,(function(t){var i;if(void 0!==(0,p.dataBind)(t,"shadowRoot"))return(0,p.dataBind)(t,"shadowRoot");let n=(0,s.getContainer)(t),o=r.globalDocument.createElement("iframe");(0,h.css)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",n.appendChild(o);let a=null==(i=o.contentWindow)?void 0:i.document,l=a?a.body:t.od.body;return(0,p.dataBind)(t,"shadowRoot",l),l})(n).appendChild(c),m=(0,h.css)(c,a),o.Dom.safeRemove(c),m===(0,l.normalizeCssValue)(a,d)){if(!u)return;y||(0,h.css)(i,a,null),g=b(t,i,g=f.UNSET);return}g=f.CHANGE,y||((0,h.css)(i,a,d),g=b(t,i,g))}}),v=g;break;case"className":case"class":let E;C=v,(0,d.assert)((0,a.isString)(F),"Class name must be a string"),E=n.e.fire.bind(n.e,`${f._PREFIX}AfterToggleAttribute`),i.classList.contains(F.toString())?(C=f.UNSET,y||(i.classList.remove(F),0===i.classList.length&&((0,d.attr)(i,"class",null),E(C,i,"class",null)))):(C=f.CHANGE,y||(i.classList.add(F),E(C,i,"class",F))),v=C;break;default:let k;w=v,(0,d.assert)((0,a.isString)(F)||(0,a.isNumber)(F)||(0,a.isBoolean)(F)||null==F,"Attribute value must be a string or number or boolean or null"),k=n.e.fire.bind(n.e,`${f._PREFIX}AfterToggleAttribute`),(0,d.attr)(i,m)===F?(y||(0,d.attr)(i,m,null),w=f.UNSET,y||k(w,i,m,F)):(w=f.CHANGE,y||((0,d.attr)(i,m,F),k(w,i,m,F))),v=w}}),v}function b(t,i,n){return(0,d.attr)(i,"style")||((0,d.attr)(i,"style",null),i.tagName.toLowerCase()===t.defaultTag&&(o.Dom.unwrap(i),n=f.UNWRAP)),n}},44328:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Sembol"}},44330:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg> '},44450:function(t,i,n){"use strict";function r(t,i,n){return t.dataProvider.fileRemove(t.state.currentPath,i,n).then(n=>{t.status(n||t.i18n('File "%s" was deleted',i),!0)}).catch(t.status)}n.d(i,{deleteFile:function(){return r}})},44506:function(t,i,n){"use strict";n.d(i,{getContentWidth:function(){return r}});let r=(t,i)=>{let n=i.getComputedStyle(t);return t.offsetWidth-parseInt(n.getPropertyValue("padding-left")||"0",10)-parseInt(n.getPropertyValue("padding-right")||"0",10)}},44526:function(t,i,n){"use strict";n.d(i,{resolveBlock:function(){return o}});var r=n(22732);function o(t,{selector:i,index:n,requireExactlyOne:s=!1}={}){let a=null!=i,l=null!=n;if(s&&a===l)throw Error("Either index or selector must be provided, but not both");if(!a&&!l)throw Error("Block identifier is required");if(a){if("string"!=typeof i)throw Error("Selector must be a string");let n=t.editor.querySelector(i);if(!n)throw Error(`No element found matching selector "${i}"`);if(!r.Dom.isElement(n))throw Error(`Selector "${i}" does not point to an element node`);return{element:n,identifier:`with selector "${i}"`}}if("number"!=typeof n)throw Error("Block index must be a number");let u=Array.from(t.editor.children);if(n<0||n>=u.length)throw Error(`Block index ${n} is out of range. Document has ${u.length} blocks`);let c=u[n];if(!r.Dom.isElement(c))throw Error(`Block at index ${n} is not a valid element`);return{element:c,identifier:`at index ${n}`}}},44586:function(t,i,n){"use strict";n(6441).Config.prototype.draggableTags=["img","jodit-media","jodit"]},44602:function(t,i,n){"use strict";n.d(i,{getSuitParent:function(){return function t(i,n,a){let{parentNode:l}=n;return l===a||!r.Dom.isHTMLElement(l)||r.Dom.next(n,o.isNormalNode,l)||r.Dom.prev(n,o.isNormalNode,l)?null:i.isElementCommit&&i.elementIsBlock&&!r.Dom.isBlock(l)?t(i,l,a):(0,s.isSuitElement)(i,l,!1)&&(!r.Dom.isBlock(l)||i.elementIsBlock)?l:i.isElementCommit&&!r.Dom.isBlock(l)?t(i,l,a):null}}});var r=n(2748),o=n(29136),s=n(97380)},44710:function(t,i,n){"use strict";n.d(i,{buildQuery:function(){return o}});var r=n(72430);let o=(t,i)=>{let n=[],s=encodeURIComponent;for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a)){let l=i?i+"["+a+"]":a,u=t[a];n.push((0,r.isPlainObject)(u)?o(u,l):s(l)+"="+s(u))}return n.join("&")}},44730:function(t,i,n){"use strict";n.r(i),i.default={symbols:"caract\xe8re"}},44850:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Helyes\xedr\xe1s-ellenőrz\xe9s"}},44864:function(t,i,n){"use strict";var r=n(77688),o=n(82749),s=n(56075),a=n(31635);n(53586);var l=n(83725),u=n(64199),c=n(82758),d=n(65478),h=n(2748),p=n(21537),f=n(50911),m=n(56917),g=n(2692);class b extends f.Plugin{get list(){return new l.Autocomplete(this.jodit)}get popup(){let t=new m.Popup(this.jodit);return t.setMod("padding",!1),t.setContent(this.list.container),this.jodit.e.on(t,"beforeClose",()=>{this.list.currentSelection=0}),t}afterInit(t){t.e.on("select.autocomplete",i=>{let n=i.value;(0,p.isFunction)(i.insertValueRenderer)&&(n=i.insertValueRenderer(i)),h.Dom.isNode(n)||(n=t.createInside.fromHTML(n)),(0,u.replaceTextLeftOfCursorAfterSpace)(t.s.range,n),this.j.s.setCursorAfter(n),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(t){this.sources.push(t)}unregisterAutocompleteSource(t){let i=this.sources.indexOf(t);-1!==i&&this.sources.splice(i,1)}static isControlKey(t){return t===c.KEY_DOWN||t===c.KEY_UP||t===c.KEY_ENTER||t===c.KEY_TAB}onKeyDown(t){return(0,r._)(function*(){var i,n;if(t.key===c.KEY_ESC){this.popup.isOpened&&this.popup.close();return}let{s:r}=this.j;if(b.isControlKey(t.key)||!r.isInsideArea||!r.isCollapsed)return;let o=(null==(i=this.j.s.sel)?void 0:i.rangeCount)?null==(n=this.j.s.sel)?void 0:n.getRangeAt(0):null,s=o&&(0,u.getTextLeftOfCursor)(o).split(" ").pop();if(s&&(0,p.trim)(s).length){let t=yield this.onAutoComplete(s);if(t.length)return this.openPopup(t)}this.popup.isOpened&&this.popup.close()}).call(this)}onKeyControlDown(t){if(this.popup.isOpened&&b.isControlKey(t.key)){switch(t.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(t.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}onAutoComplete(t){return(0,r._)(function*(){let i=[];return yield Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map(n=>(0,r._)(function*(){i.push(...yield this.resolveFeed(t,n))}).call(this))),i}).call(this)}resolveFeed(t,i,n){return(0,r._)(function*(){let r;if((0,p.isPromise)(i)&&(i=yield i),(0,p.isFunction)(i))r=yield i(t);else if((0,p.isArray)(i)){let n=i,{isMatchedQuery:o}=this.j.o.autocomplete;r=n.filter(i=>(0,p.isString)(i)?o(t,i):o(t,i.value)).map(t=>(0,p.isString)(t)?{title:t,value:t}:t)}else r=yield this.resolveFeed(t,i.feed,i);if(this.j.isDestructed)return[];if(r&&(0,p.isArray)(r)){let{itemRenderer:t,insertValueRenderer:i,maxItems:o}=this.j.o.autocomplete;return(r=r.map(r=>{var o,a;return(0,s._)({itemRenderer:null!=(o=null==n?void 0:n.itemRenderer)?o:t,insertValueRenderer:null!=(a=null==n?void 0:n.insertValueRenderer)?a:i},r)})).slice(0,o)}return[]}).call(this)}openPopup(t){this.list.build(t),this.popup.open(()=>{let{j:t}=this,i=t.s.range.getBoundingClientRect(),n={left:i.left,top:i.top,height:i.height,width:i.width};if(t.o.iframe&&t.iframe){let i=(0,p.position)(t.iframe,t);n.top+=i.top,n.left+=i.left}return n})}beforeDestruct(t){t.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(...t){super(...t),(0,o._)(this,"hasStyle",!g.JoditPro.fatMode),(0,o._)(this,"sources",[])}}(0,o._)(b,"requires",["enter","license"]),(0,a.__decorate)([d.cache],b.prototype,"list",null),(0,a.__decorate)([d.cache],b.prototype,"popup",null),(0,a.__decorate)([d.autobind],b.prototype,"registerAutocompleteSource",null),(0,a.__decorate)([d.autobind],b.prototype,"unregisterAutocompleteSource",null),(0,a.__decorate)([(0,d.debounce)()],b.prototype,"onKeyDown",null),(0,a.__decorate)([d.autobind],b.prototype,"onKeyControlDown",null),(0,a.__decorate)([d.autobind],b.prototype,"onEnter",null),(0,a.__decorate)([d.autobind],b.prototype,"onAutoComplete",null),(0,a.__decorate)([d.autobind],b.prototype,"resolveFeed",null),g.JoditPro.plugins.add("autocomplete",b)},45124:function(t,i,n){"use strict";n.d(i,{cursorInTheEdgeOfString:function(){return a},findCorrectCurrentNode:function(){return l},moveNodeInsideStart:function(){return s.moveNodeInsideStart}});var r=n(82758),o=n(2748),s=n(26716);function a(t,i,n,o){var s;let a=(null==(s=t.nodeValue)?void 0:s.length)?t.nodeValue:"";if(o&&a.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").length>i)return!0;let l=(0,r.INVISIBLE_SPACE_REG_EXP_START)().exec(a);return n&&(l&&l[0].length<i||!l&&i>0)}function l(t,i,n,r,s,a){if((t=i.startContainer.childNodes[i.startOffset])||(t=i.startContainer.childNodes[i.startOffset-1],n=!0),t&&r&&!o.Dom.isText(t)){if(!n&&o.Dom.isText(t.previousSibling))t=t.previousSibling;else if(s){let i=a(t);for(;i;){if(i&&o.Dom.isText(i)){t=i;break}i=a(i)}}}if(t&&!r&&!o.Dom.isText(t)){let i=t,n=t;do i=i.firstChild,n=n.lastChild;while(i&&n&&!o.Dom.isText(i));i===n&&i&&o.Dom.isText(i)&&(t=i)}return{node:t,rightMode:n}}n(43463)},45128:function(t,i,n){"use strict";n.d(i,{ColorInput:function(){return p}});var r=n(82749),o=n(31635),s=n(46146),a=n(82758),l=n(65478),u=n(21537),c=n(38837),d=n(67510),h=n(41409);class p extends d.UIInput{className(){return"ColorInput"}afterSetMode(t,i){"slim"===t&&i&&this.nativeInput.setAttribute("readonly","true")}onChangeSelfValue(){this.nativeInput.style.backgroundColor=this.value}onEscKeyDown(t){if(t.key===a.KEY_ESC){var i;null==(i=this.popup)||i.close()}}constructor(t,i){super(t,i),(0,r._)(this,"trigger",void 0),(0,r._)(this,"popup",void 0);const n=new d.Popup(t);this.popup=n,this.trigger=(0,d.Button)(this.j,"ok");const o=this.getElm("wrapper");(0,c.assert)(null!=o,"wrapper element does not exist"),o.appendChild(this.trigger.container),this.trigger.container.classList.add(this.getFullElName("trigger")),this.trigger.onAction(()=>{var t,i;null==(t=(i=this.state).onChange)||t.call(i,this.value),n.close()}),n.setMod("padding",!1).setMod("max-height",!1);const a=this.j.create.div(this.getFullElName("picker")),l=s.createPicker(a,{paletteEditable:!0,showAlpha:!0,palette:"PALETTE_MATERIAL_CHROME"}).on("change",(t,i)=>{this.isFocused||(this.value=s.parseColor(i||"","hex"))});this.j.e.on(this,"change",()=>{let t;t=this.value,s.parseColor(t,"hex")!==l.color&&(l.color=this.value)}),n.setContent(a),this.j.e.on(this.nativeInput,"click",()=>{n.parentElement=this,this.jodit instanceof h.Dialog&&n.setZIndex(this.jodit.getZIndex()+1),n.open(()=>(0,u.position)(this.container))}),this.onChangeValue(),this.onChangeSelfValue()}}(0,o.__decorate)([(0,l.watch)(":change")],p.prototype,"onChangeSelfValue",null),(0,o.__decorate)([(0,l.watch)("nativeInput:keydown")],p.prototype,"onEscKeyDown",null),p=(0,o.__decorate)([l.component],p)},45198:function(t,i,n){"use strict";n.r(i),n.d(i,{ar:function(){return o.a},cs_cz:function(){return a.a},de:function(){return u.a},es:function(){return d.a},fa:function(){return p.a},fr:function(){return m.a},he:function(){return b.a},hu:function(){return y.a},id:function(){return C.a},it:function(){return F.a},ja:function(){return k.a},ko:function(){return A.a},nl:function(){return x.a},pl:function(){return B.a},pt_br:function(){return j.a},ru:function(){return L.a},tr:function(){return M.a},zh_cn:function(){return O.a},zh_tw:function(){return H.a}});var r=n(7085),o=n.n(r),s=n(42350),a=n.n(s),l=n(53189),u=n.n(l),c=n(48154),d=n.n(c),h=n(59551),p=n.n(h),f=n(41858),m=n.n(f),g=n(78777),b=n.n(g),v=n(25321),y=n.n(v),_=n(27847),C=n.n(_),w=n(23287),F=n.n(w),E=n(73035),k=n.n(E),S=n(97028),A=n.n(S),D=n(26436),x=n.n(D),I=n(6602),B=n.n(I),T=n(86401),j=n.n(T),P=n(54023),L=n.n(P),R=n(8432),M=n.n(R),z=n(58366),O=n.n(z),N=n(46954),H=n.n(N)},45219:function(t,i,n){"use strict";n.d(i,{autobind:function(){return o}});var r=n(23282);function o(t,i,n){if(!(0,r.isFunction)(n.value))throw TypeError(`@autobind can only be applied to methods, but "${i}" is not a function`);let o=n.value;return{configurable:!0,get(){let t=o.bind(this);return Object.defineProperty(this,i,{value:t,configurable:!0,writable:!0}),t}}}},45235:function(t,i,n){"use strict";n.r(i),n.d(i,{allowAttributes:function(){return r.allowAttributes},fillEmptyParagraph:function(){return o.fillEmptyParagraph},removeEmptyTextNode:function(){return s.removeEmptyTextNode},removeInvTextNodes:function(){return a.removeInvTextNodes},replaceOldTags:function(){return l.replaceOldTags},sanitizeAttributes:function(){return u.sanitizeAttributes},tryRemoveNode:function(){return c.tryRemoveNode}});var r=n(82558),o=n(39433),s=n(53392),a=n(25813),l=n(80973),u=n(384),c=n(28800)},45575:function(t,i){"use strict";i.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> '},45603:function(t,i,n){"use strict";n.d(i,{isLicense:function(){return o}});var r=n(70799);let o=t=>(0,r.isString)(t)&&23===t.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(t)},45632:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(82158);var s=n(82520),a=n(35987),l=n(65478),u=n(2748),c=n(50911),d=n(62843),h=n(78584),p=n(2692);class f extends c.Plugin{afterInit(t){t.e.on("toggleButtonGenerator",this.toggleButtonGenerator).on("isButtonGeneratorOpened",()=>{var t;return null==(t=this.__dialog)?void 0:t.isOpened})}toggleButtonGenerator(t){this.__dialog||(this.__dialog=new h.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__ui=new a.UIButtonGenerator(this.__dialog),this.__dialog.setHeader("Button Generator").setContent(this.__ui).setSize(730,700)),t&&!u.Dom.isTag(t,new Set(["button","a"]))&&(t=void 0);let i=this.__ui,n=this.__dialog;n.isOpened?n.close():(t&&s.UIGButton.extractStyle(i.state,t),i.target=t,i.update(),n.setFooter([(0,d.Button)(n,"cancel","Cancel","default").onAction(()=>n.close()),(0,d.Button)(n,"ok",t?"Update":"Insert","primary").onAction(()=>{t||(t=this.j.createInside.element(i.state.href?"a":"button"),this.j.s.insertNode(t,!0,!1)),s.UIGButton.applyStyle(i.state,t),t.className=i.state.className||"",this.jodit.e.fire("synchro"),n.close()})]).open())}onDblClick(t){u.Dom.isTag(t.target,"button")&&this.toggleButtonGenerator(t.target)}beforeDestruct(t){var i;null==(i=this.__dialog)||i.destruct()}constructor(...t){super(...t),(0,r._)(this,"hasStyle",!p.JoditPro.fatMode),(0,r._)(this,"buttons",[{group:"form",name:"buttonGenerator"}]),(0,r._)(this,"__dialog",void 0),(0,r._)(this,"__ui",void 0)}}(0,r._)(f,"requires",["license","color-picker"]),(0,o.__decorate)([l.autobind],f.prototype,"toggleButtonGenerator",null),(0,o.__decorate)([(0,l.watch)(":dblclick")],f.prototype,"onDblClick",null),p.JoditPro.plugins.add("button-generator",f)},45927:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(84767),a=n(41180),l=n(20356);n(80792);var u=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class c extends l.Plugin{afterInit(t){t.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(t.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__immediateInitialize()}__initialize(){this.__immediateInitialize()}__immediateInitialize(){let{j:t}=this;if(t.o.inline)return;let{height:i}=t.o;if(t.o.saveHeightInStorage&&"auto"!==i){let n=t.storage.get("height");n&&(i=n)}(0,a.css)(t.editor,{minHeight:"100%"}),(0,a.css)(t.container,{minHeight:t.o.minHeight,maxHeight:t.o.maxHeight,minWidth:t.o.minWidth,maxWidth:t.o.maxWidth}),t.isFullSize||(this.__setHeight(i),this.__setWidth(t.o.width))}__setHeight(t){let{clientHeight:i,clientWidth:n}=this.j.container;if((0,s.isNumber)(t)){let{minHeight:i,maxHeight:n}=this.j.o;(0,s.isNumber)(i)&&i>t&&(t=i),(0,s.isNumber)(n)&&n<t&&(t=n)}(0,a.css)(this.j.container,"height",t),this.j.o.saveHeightInStorage&&this.j.storage.set("height",t),this.__resizeWorkspaceImd({clientHeight:i,clientWidth:n})}__setWidth(t){let{clientHeight:i,clientWidth:n}=this.j.container;if((0,s.isNumber)(t)){let{minWidth:i,maxWidth:n}=this.j.o;(0,s.isNumber)(i)&&i>t&&(t=i),(0,s.isNumber)(n)&&t>n&&(t=n)}(0,a.css)(this.j.container,"width",t),this.__resizeWorkspaceImd({clientHeight:i,clientWidth:n})}__getNotWorkHeight(){var t,i;return((null==(t=this.j.toolbarContainer)?void 0:t.offsetHeight)||0)+((null==(i=this.j.statusbar)?void 0:i.getHeight())||0)+2}__resizeWorkspaceImd({clientHeight:t,clientWidth:i}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline||!this.j.container||!this.j.container.parentNode)return;let n=((0,a.css)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,s.isNumber)(n)&&n>0&&([this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(t=>{t&&(0,a.css)(t,"minHeight",n)}),this.j.e.fire("setMinHeight",n)),(0,s.isNumber)(this.j.o.maxHeight)){let t=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(i=>{i&&(0,a.css)(i,"maxHeight",t)}),this.j.e.fire("setMaxHeight",t)}if(this.j.container){let t="auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto";(0,a.css)(this.j.workplace,"height",t),this.j.container.style.setProperty("--jd-jodit-workplace-height",(0,s.isNumber)(t)?t+"px":t)}let{clientHeight:r,clientWidth:o}=this.j.container;(t!==r||i!==o)&&this.j.e.fire(this.j,"resize")}beforeDestruct(t){t.e.off(t.ow,"load.size",this.__resizeWorkspaces).off(".size")}constructor(){super(...arguments),this.__resizeWorkspaces=this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0)}}u([(0,r.throttle)()],c.prototype,"__initialize",null),u([r.autobind],c.prototype,"__setHeight",null),u([r.autobind],c.prototype,"__setWidth",null),u([r.autobind],c.prototype,"__resizeWorkspaceImd",null),o.pluginSystem.add("size",c)},45971:function(t,i,n){"use strict";function r(t){return t.replace(/\r\n|\r|\n/g,"<br/>")}n.d(i,{nl2br:function(){return r}})},46104:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg> '},46124:function(t,i,n){"use strict";n.r(i),n.d(i,{removeExtraBr:function(){return r.removeExtraBr}});var r=n(94870)},46146:function(t){"u">typeof self&&self,t.exports=function(){var t=[function(t,i,n){"use strict";var r=n(3);function o(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var i,n;return!1!==o(t)&&"function"==typeof(i=t.constructor)&&!1!==o(n=i.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.VERSION=i.PALETTE_MATERIAL_CHROME=i.PALETTE_MATERIAL_500=i.COLOR_NAMES=i.getLuminance=i.intToRgb=i.rgbToInt=i.rgbToHsv=i.rgbToHsl=i.hslToRgb=i.rgbToHex=i.parseColor=i.parseColorToHsla=i.parseColorToHsl=i.parseColorToRgba=i.parseColorToRgb=i.from=i.createPicker=void 0;var r=function(){function t(t,i){for(var n=0;n<i.length;n++){var r=i[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(i,n,r){return n&&t(i.prototype,n),r&&t(i,r),i}}(),o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var n=[],r=!0,o=!1,s=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!i||n.length!==i);r=!0);}catch(t){o=!0,s=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw s}}return n}(t,i);throw TypeError("Invalid attempt to destructure non-iterable instance")},s=n(2),a=u(n(0)),l=u(n(4));function u(t){return t&&t.__esModule?t:{default:t}}function c(t,i){if(!(t instanceof i))throw TypeError("Cannot call a class as a function")}function d(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}return Array.from(t)}var h="u">typeof window&&window.navigator.userAgent.indexOf("Edge")>-1,p="u">typeof window&&window.navigator.userAgent.indexOf("rv:")>-1,f={id:null,attachTo:"body",showHSL:!0,showRGB:!0,showHEX:!0,showAlpha:!1,color:"#ff0000",palette:null,paletteEditable:!1,useAlphaInPalette:"auto",slBarSize:[232,150],hueBarSize:[150,11],alphaBarSize:[150,11]},m="COLOR",g="RGBA_USER",b="HSLA_USER";function v(t,i,n){return t?t instanceof HTMLElement?t:t instanceof NodeList?t[0]:"string"==typeof t?document.querySelector(t):t.jquery?t.get(0):n?i:null:i}function y(t){var i=t.getContext("2d"),n=+t.width,r=+t.height,a=i.createLinearGradient(1,1,1,r-1);return a.addColorStop(0,"white"),a.addColorStop(1,"black"),{setHue:function(t){var o=i.createLinearGradient(1,0,n-1,0);o.addColorStop(0,"hsla("+t+", 100%, 50%, 0)"),o.addColorStop(1,"hsla("+t+", 100%, 50%, 1)"),i.fillStyle=a,i.fillRect(0,0,n,r),i.fillStyle=o,i.globalCompositeOperation="multiply",i.fillRect(0,0,n,r),i.globalCompositeOperation="source-over"},grabColor:function(t,n){return i.getImageData(t,n,1,1).data},findColor:function(t,i,a){var l=o((0,s.rgbToHsv)(t,i,a),3);return[l[1]*n,r-l[2]*r]}}}function _(t,i,n){return null===t?i:/^\s*$/.test(t)?n:!!/true|yes|1/i.test(t)||!/false|no|0/i.test(t)&&i}function C(t,i,n){if(null===t)return i;if(/^\s*$/.test(t))return n;var r=t.split(",").map(Number);return 2===r.length&&r[0]&&r[1]?r:i}var w=function(){function t(i,n){if(c(this,t),n?(i=v(i),this.options=Object.assign({},f,n)):i&&(0,a.default)(i)?(this.options=Object.assign({},f,i),i=v(this.options.attachTo)):(this.options=Object.assign({},f),i=v((0,s.nvl)(i,this.options.attachTo))),!i)throw Error("Container not found: "+this.options.attachTo);!function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"acp-";if(i.hasAttribute(n+"show-hsl")&&(t.showHSL=_(i.getAttribute(n+"show-hsl"),f.showHSL,!0)),i.hasAttribute(n+"show-rgb")&&(t.showRGB=_(i.getAttribute(n+"show-rgb"),f.showRGB,!0)),i.hasAttribute(n+"show-hex")&&(t.showHEX=_(i.getAttribute(n+"show-hex"),f.showHEX,!0)),i.hasAttribute(n+"show-alpha")&&(t.showAlpha=_(i.getAttribute(n+"show-alpha"),f.showAlpha,!0)),i.hasAttribute(n+"palette-editable")&&(t.paletteEditable=_(i.getAttribute(n+"palette-editable"),f.paletteEditable,!0)),i.hasAttribute(n+"sl-bar-size")&&(t.slBarSize=C(i.getAttribute(n+"sl-bar-size"),f.slBarSize,[232,150])),i.hasAttribute(n+"hue-bar-size")&&(t.hueBarSize=C(i.getAttribute(n+"hue-bar-size"),f.hueBarSize,[150,11]),t.alphaBarSize=t.hueBarSize),i.hasAttribute(n+"palette")){var r=i.getAttribute(n+"palette");switch(r){case"PALETTE_MATERIAL_500":t.palette=s.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":case"":t.palette=s.PALETTE_MATERIAL_CHROME;break;default:t.palette=r.split(/[;|]/)}}i.hasAttribute(n+"color")&&(t.color=i.getAttribute(n+"color"))}(this.options,i),this.H=0,this.S=0,this.L=0,this.R=0,this.G=0,this.B=0,this.A=1,this.palette={},this.element=document.createElement("div"),this.options.id&&(this.element.id=this.options.id),this.element.className="a-color-picker",this.element.innerHTML=l.default,i.appendChild(this.element);var r=this.element.querySelector(".a-color-picker-h");this.setupHueCanvas(r),this.hueBarHelper=y(r),this.huePointer=this.element.querySelector(".a-color-picker-h+.a-color-picker-dot");var o=this.element.querySelector(".a-color-picker-sl");this.setupSlCanvas(o),this.slBarHelper=y(o),this.slPointer=this.element.querySelector(".a-color-picker-sl+.a-color-picker-dot"),this.preview=this.element.querySelector(".a-color-picker-preview"),this.setupClipboard(this.preview.querySelector(".a-color-picker-clipbaord")),this.options.showHSL?(this.setupInput(this.inputH=this.element.querySelector(".a-color-picker-hsl>input[nameref=H]")),this.setupInput(this.inputS=this.element.querySelector(".a-color-picker-hsl>input[nameref=S]")),this.setupInput(this.inputL=this.element.querySelector(".a-color-picker-hsl>input[nameref=L]"))):this.element.querySelector(".a-color-picker-hsl").remove(),this.options.showRGB?(this.setupInput(this.inputR=this.element.querySelector(".a-color-picker-rgb>input[nameref=R]")),this.setupInput(this.inputG=this.element.querySelector(".a-color-picker-rgb>input[nameref=G]")),this.setupInput(this.inputB=this.element.querySelector(".a-color-picker-rgb>input[nameref=B]"))):this.element.querySelector(".a-color-picker-rgb").remove(),this.options.showHEX?this.setupInput(this.inputRGBHEX=this.element.querySelector("input[nameref=RGBHEX]")):this.element.querySelector(".a-color-picker-rgbhex").remove(),this.options.paletteEditable||this.options.palette&&this.options.palette.length>0?this.setPalette(this.paletteRow=this.element.querySelector(".a-color-picker-palette")):(this.paletteRow=this.element.querySelector(".a-color-picker-palette"),this.paletteRow.remove()),this.options.showAlpha?(this.setupAlphaCanvas(this.element.querySelector(".a-color-picker-a")),this.alphaPointer=this.element.querySelector(".a-color-picker-a+.a-color-picker-dot")):this.element.querySelector(".a-color-picker-alpha").remove(),this.element.style.width=this.options.slBarSize[0]+"px",this.onValueChanged(m,this.options.color)}return r(t,[{key:"setupHueCanvas",value:function(t){var i=this;t.width=this.options.hueBarSize[0],t.height=this.options.hueBarSize[1];for(var n=t.getContext("2d"),r=n.createLinearGradient(0,0,this.options.hueBarSize[0],0),o=0;o<=1;o+=1/360)r.addColorStop(o,"hsl("+360*o+", 100%, 50%)");n.fillStyle=r,n.fillRect(0,0,this.options.hueBarSize[0],this.options.hueBarSize[1]);var a=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.hueBarSize[0]),o=Math.round(360*r/i.options.hueBarSize[0]);i.huePointer.style.left=r-7+"px",i.onValueChanged("H",o)},l=function t(){document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){a(t),document.addEventListener("mousemove",a),document.addEventListener("mouseup",l)})}},{key:"setupSlCanvas",value:function(t){var i=this;t.width=this.options.slBarSize[0],t.height=this.options.slBarSize[1];var n=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.slBarSize[0]-1),o=(0,s.limit)(n.clientY-t.getBoundingClientRect().top,0,i.options.slBarSize[1]-1),a=i.slBarHelper.grabColor(r,o);i.slPointer.style.left=r-7+"px",i.slPointer.style.top=o-7+"px",i.onValueChanged("RGB",a)},r=function t(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){n(t),document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)})}},{key:"setupAlphaCanvas",value:function(t){var i=this;t.width=this.options.alphaBarSize[0],t.height=this.options.alphaBarSize[1];var n=t.getContext("2d"),r=n.createLinearGradient(0,0,t.width-1,0);r.addColorStop(0,"hsla(0, 0%, 50%, 0)"),r.addColorStop(1,"hsla(0, 0%, 50%, 1)"),n.fillStyle=r,n.fillRect(0,0,this.options.alphaBarSize[0],this.options.alphaBarSize[1]);var o=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.alphaBarSize[0]),o=+(r/i.options.alphaBarSize[0]).toFixed(2);i.alphaPointer.style.left=r-7+"px",i.onValueChanged("ALPHA",o)},a=function t(){document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){o(t),document.addEventListener("mousemove",o),document.addEventListener("mouseup",a)})}},{key:"setupInput",value:function(t){var i=this,n=+t.min,r=+t.max,o=t.getAttribute("nameref");t.hasAttribute("select-on-focus")&&t.addEventListener("focus",function(){t.select()}),"text"===t.type?t.addEventListener("change",function(){i.onValueChanged(o,t.value)}):((h||p)&&t.addEventListener("keydown",function(a){"Up"===a.key?(t.value=(0,s.limit)(+t.value+1,n,r),i.onValueChanged(o,t.value),a.returnValue=!1):"Down"===a.key&&(t.value=(0,s.limit)(t.value-1,n,r),i.onValueChanged(o,t.value),a.returnValue=!1)}),t.addEventListener("change",function(){var a=+t.value;i.onValueChanged(o,(0,s.limit)(a,n,r))}))}},{key:"setupClipboard",value:function(t){var i=this;t.title="click to copy",t.addEventListener("click",function(){t.value=(0,s.parseColor)([i.R,i.G,i.B,i.A],"hexcss4"),t.select(),document.execCommand("copy")})}},{key:"setPalette",value:function(t){var i=this,n="auto"===this.options.useAlphaInPalette?this.options.showAlpha:this.options.useAlphaInPalette,r=null;switch(this.options.palette){case"PALETTE_MATERIAL_500":r=s.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":r=s.PALETTE_MATERIAL_CHROME;break;default:r=(0,s.ensureArray)(this.options.palette)}if(this.options.paletteEditable||r.length>0){var o=function(n,r,o){var s=t.querySelector('.a-color-picker-palette-color[data-color="'+n+'"]')||document.createElement("div");s.className="a-color-picker-palette-color",s.style.backgroundColor=n,s.setAttribute("data-color",n),s.title=n,t.insertBefore(s,r),i.palette[n]=!0,o&&i.onPaletteColorAdd(n)},a=function(n,r){n?(t.removeChild(n),i.palette[n.getAttribute("data-color")]=!1,r&&i.onPaletteColorRemove(n.getAttribute("data-color"))):(t.querySelectorAll(".a-color-picker-palette-color[data-color]").forEach(function(i){t.removeChild(i)}),Object.keys(i.palette).forEach(function(t){i.palette[t]=!1}),r&&i.onPaletteColorRemove())};if(r.map(function(t){return(0,s.parseColor)(t,n?"rgbcss4":"hex")}).filter(function(t){return!!t}).forEach(function(t){return o(t)}),this.options.paletteEditable){var l=document.createElement("div");l.className="a-color-picker-palette-color a-color-picker-palette-add",l.innerHTML="+",t.appendChild(l),t.addEventListener("click",function(t){/a-color-picker-palette-add/.test(t.target.className)?t.shiftKey?a(null,!0):o(n?(0,s.parseColor)([i.R,i.G,i.B,i.A],"rgbcss4"):(0,s.rgbToHex)(i.R,i.G,i.B),t.target,!0):/a-color-picker-palette-color/.test(t.target.className)&&(t.shiftKey?a(t.target,!0):i.onValueChanged(m,t.target.getAttribute("data-color")))})}else t.addEventListener("click",function(t){/a-color-picker-palette-color/.test(t.target.className)&&i.onValueChanged(m,t.target.getAttribute("data-color"))})}else t.style.display="none"}},{key:"updatePalette",value:function(t){this.paletteRow.innerHTML="",this.palette={},this.paletteRow.parentElement||this.element.appendChild(this.paletteRow),this.options.palette=t,this.setPalette(this.paletteRow)}},{key:"onValueChanged",value:function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{silent:!1};switch(t){case"H":this.H=i;var r=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=r[0],this.G=r[1],this.B=r[2],this.slBarHelper.setHue(i),this.updatePointerH(this.H),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"S":this.S=i;var a=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=a[0],this.G=a[1],this.B=a[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"L":this.L=i;var l=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=l[0],this.G=l[1],this.B=l[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"R":this.R=i;var u=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=u[0],this.S=u[1],this.L=u[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"G":this.G=i;var c=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=c[0],this.S=c[1],this.L=c[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"B":this.B=i;var d=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=d[0],this.S=d[1],this.L=d[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"RGB":var h=o(i,3);this.R=h[0],this.G=h[1],this.B=h[2];var p=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=p[0],this.S=p[1],this.L=p[2],this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case g:var f=o(i,4);this.R=f[0],this.G=f[1],this.B=f[2],this.A=f[3];var v=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=v[0],this.S=v[1],this.L=v[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case b:var y=o(i,4);this.H=y[0],this.S=y[1],this.L=y[2],this.A=y[3];var _=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=_[0],this.G=_[1],this.B=_[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"RGBHEX":var C=o((0,s.cssColorToRgb)(i)||[this.R,this.G,this.B],3);this.R=C[0],this.G=C[1],this.B=C[2];var w=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=w[0],this.S=w[1],this.L=w[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B);break;case m:var F=o((0,s.parseColor)(i,"rgba")||[0,0,0,1],4);this.R=F[0],this.G=F[1],this.B=F[2],this.A=F[3];var E=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=E[0],this.S=E[1],this.L=E[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"ALPHA":this.A=i}1===this.A?this.preview.style.backgroundColor="rgb("+this.R+","+this.G+","+this.B+")":this.preview.style.backgroundColor="rgba("+this.R+","+this.G+","+this.B+","+this.A+")",n&&n.silent||this.onchange&&this.onchange(this.preview.style.backgroundColor)}},{key:"onPaletteColorAdd",value:function(t){this.oncoloradd&&this.oncoloradd(t)}},{key:"onPaletteColorRemove",value:function(t){this.oncolorremove&&this.oncolorremove(t)}},{key:"updateInputHSL",value:function(t,i,n){this.options.showHSL&&(this.inputH.value=t,this.inputS.value=i,this.inputL.value=n)}},{key:"updateInputRGB",value:function(t,i,n){this.options.showRGB&&(this.inputR.value=t,this.inputG.value=i,this.inputB.value=n)}},{key:"updateInputRGBHEX",value:function(t,i,n){this.options.showHEX&&(this.inputRGBHEX.value=(0,s.rgbToHex)(t,i,n))}},{key:"updatePointerH",value:function(t){var i=this.options.hueBarSize[0]*t/360;this.huePointer.style.left=i-7+"px"}},{key:"updatePointerSL",value:function(t,i,n){var r=o((0,s.hslToRgb)(t,i,n),3),a=r[0],l=r[1],u=r[2],c=o(this.slBarHelper.findColor(a,l,u),2),d=c[0],h=c[1];d>=0&&(this.slPointer.style.left=d-7+"px",this.slPointer.style.top=h-7+"px")}},{key:"updatePointerA",value:function(t){if(this.options.showAlpha){var i=this.options.alphaBarSize[0]*t;this.alphaPointer.style.left=i-7+"px"}}}]),t}(),F=function(){function t(i){c(this,t),this.name=i,this.listeners=[]}return r(t,[{key:"on",value:function(t){t&&this.listeners.push(t)}},{key:"off",value:function(t){this.listeners=t?this.listeners.filter(function(i){return i!==t}):[]}},{key:"emit",value:function(t,i){for(var n=this.listeners.slice(0),r=0;r<n.length;r++)n[r].apply(i,t)}}]),t}();function E(t,i){var n=new w(t,i),r={change:new F("change"),coloradd:new F("coloradd"),colorremove:new F("colorremove")},a=!0,l={},u={get element(){return n.element},get rgb(){return[n.R,n.G,n.B]},set rgb(e){var c=o(e,3),d=c[0],h=c[1],p=c[2],f=[(0,s.limit)(d,0,255),(0,s.limit)(h,0,255),(0,s.limit)(p,0,255)];d=f[0],h=f[1],p=f[2],n.onValueChanged(g,[d,h,p,1])},get hsl(){return[n.H,n.S,n.L]},set hsl(e){var v=o(e,3),y=v[0],_=v[1],C=v[2],E=[(0,s.limit)(y,0,360),(0,s.limit)(_,0,100),(0,s.limit)(C,0,100)];y=E[0],_=E[1],C=E[2],n.onValueChanged(b,[y,_,C,1])},get rgbhex(){return this.all.hex},get rgba(){return[n.R,n.G,n.B,n.A]},set rgba(e){var k=o(e,4),S=k[0],A=k[1],D=k[2],x=k[3],I=[(0,s.limit)(S,0,255),(0,s.limit)(A,0,255),(0,s.limit)(D,0,255),(0,s.limit)(x,0,1)];S=I[0],A=I[1],D=I[2],x=I[3],n.onValueChanged(g,[S,A,D,x])},get hsla(){return[n.H,n.S,n.L,n.A]},set hsla(e){var B=o(e,4),T=B[0],j=B[1],P=B[2],L=B[3],R=[(0,s.limit)(T,0,360),(0,s.limit)(j,0,100),(0,s.limit)(P,0,100),(0,s.limit)(L,0,1)];T=R[0],j=R[1],P=R[2],L=R[3],n.onValueChanged(b,[T,j,P,L])},get color(){return this.all.toString()},set color(e){n.onValueChanged(m,e)},setColor:function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.onValueChanged(m,t,{silent:i})},get all(){if(a){var M=[n.R,n.G,n.B,n.A],z=n.A<1?"rgba("+n.R+","+n.G+","+n.B+","+n.A+")":s.rgbToHex.apply(void 0,M);(l=(0,s.parseColor)(M,l)).toString=function(){return z},a=!1}return Object.assign({},l)},get onchange(){return r.change&&r.change.listeners[0]},set onchange(e){this.off("change").on("change",e)},get oncoloradd(){return r.coloradd&&r.coloradd.listeners[0]},set oncoloradd(e){this.off("coloradd").on("coloradd",e)},get oncolorremove(){return r.colorremove&&r.colorremove.listeners[0]},set oncolorremove(e){this.off("colorremove").on("colorremove",e)},get palette(){return Object.keys(n.palette).filter(function(t){return n.palette[t]})},set palette(e){n.updatePalette(e)},show:function(){n.element.classList.remove("hidden")},hide:function(){n.element.classList.add("hidden")},toggle:function(){n.element.classList.toggle("hidden")},on:function(t,i){return t&&r[t]&&r[t].on(i),this},off:function(t,i){return t&&r[t]&&r[t].off(i),this},destroy:function(){r.change.off(),r.coloradd.off(),r.colorremove.off(),n.element.remove(),r=null,n=null}};return n.onchange=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];a=!0,r.change.emit([u].concat(i),u)},n.oncoloradd=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r.coloradd.emit([u].concat(i),u)},n.oncolorremove=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r.colorremove.emit([u].concat(i),u)},n.element.ctrl=u,u}if("u">typeof window&&!document.querySelector('head>style[data-source="a-color-picker"]')){var k=n(5).toString(),S=document.createElement("style");S.setAttribute("type","text/css"),S.setAttribute("data-source","a-color-picker"),S.innerHTML=k,document.querySelector("head").appendChild(S)}i.createPicker=E,i.from=function(t,i){var n=(t?Array.isArray(t)?t:t instanceof HTMLElement?[t]:t instanceof NodeList?[].concat(d(t)):"string"==typeof t?[].concat(d(document.querySelectorAll(t))):t.jquery?t.get():[]:[]).map(function(t,n){var r=E(t,i);return r.index=n,r});return n.on=function(t,i){return n.forEach(function(n){return n.on(t,i)}),this},n.off=function(t){return n.forEach(function(i){return i.off(t)}),this},n},i.parseColorToRgb=s.parseColorToRgb,i.parseColorToRgba=s.parseColorToRgba,i.parseColorToHsl=s.parseColorToHsl,i.parseColorToHsla=s.parseColorToHsla,i.parseColor=s.parseColor,i.rgbToHex=s.rgbToHex,i.hslToRgb=s.hslToRgb,i.rgbToHsl=s.rgbToHsl,i.rgbToHsv=s.rgbToHsv,i.rgbToInt=s.rgbToInt,i.intToRgb=s.intToRgb,i.getLuminance=s.getLuminance,i.COLOR_NAMES=s.COLOR_NAMES,i.PALETTE_MATERIAL_500=s.PALETTE_MATERIAL_500,i.PALETTE_MATERIAL_CHROME=s.PALETTE_MATERIAL_CHROME,i.VERSION="1.2.1"},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.nvl=i.ensureArray=i.limit=i.getLuminance=i.parseColor=i.parseColorToHsla=i.parseColorToHsl=i.cssHslaToHsla=i.cssHslToHsl=i.parseColorToRgba=i.parseColorToRgb=i.cssRgbaToRgba=i.cssRgbToRgb=i.cssColorToRgba=i.cssColorToRgb=i.intToRgb=i.rgbToInt=i.rgbToHsv=i.rgbToHsl=i.hslToRgb=i.rgbToHex=i.PALETTE_MATERIAL_CHROME=i.PALETTE_MATERIAL_500=i.COLOR_NAMES=void 0;var r,o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var n=[],r=!0,o=!1,s=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!i||n.length!==i);r=!0);}catch(t){o=!0,s=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw s}}return n}(t,i);throw TypeError("Invalid attempt to destructure non-iterable instance")},s=(r=n(0))&&r.__esModule?r:{default:r};function a(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}return Array.from(t)}var l={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4","indianred ":"#CD5C5C","indigo ":"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function u(t,i,n){return isNaN(t*=1)||i>t?i:t>n?n:t}function c(t,i){return null==t?i:t}function d(t,i,n){var r=[u(t,0,255),u(i,0,255),u(n,0,255)];return"#"+("000000"+((t=r[0])<<16|(i=r[1])<<8|(n=r[2])).toString(16)).slice(-6)}function h(t,i,n){var r=void 0,o=void 0,s=void 0,a=[u(t,0,360)/360,u(i,0,100)/100,u(n,0,100)/100];if(t=a[0],n=a[2],0==(i=a[1]))r=o=s=n;else{var l=function(t,i,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(i-t)*n:n<.5?i:n<2/3?t+(i-t)*(2/3-n)*6:t},c=n<.5?n*(1+i):n+i-n*i,d=2*n-c;r=l(d,c,t+1/3),o=l(d,c,t),s=l(d,c,t-1/3)}return[255*r,255*o,255*s].map(Math.round)}function p(t,i,n){var r=[u(t,0,255)/255,u(i,0,255)/255,u(n,0,255)/255],o=Math.max(t=r[0],i=r[1],n=r[2]),s=Math.min(t,i,n),a=void 0,l=void 0,c=(o+s)/2;if(o==s)a=l=0;else{var d=o-s;switch(l=c>.5?d/(2-o-s):d/(o+s),o){case t:a=(i-n)/d+6*(i<n);break;case i:a=(n-t)/d+2;break;case n:a=(t-i)/d+4}a/=6}return[360*a,100*l,100*c].map(Math.round)}function f(t,i,n){return t<<16|i<<8|n}function m(t){if(t){var i=l[t.toString().toLowerCase()],n=o(/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F]))|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})))\s*$/i.exec(i||t)||[],10),r=n[3],s=n[4],a=n[5],u=n[7],c=n[8],d=n[9];if(void 0!==r)return[parseInt(r+r,16),parseInt(s+s,16),parseInt(a+a,16)];if(void 0!==u)return[parseInt(u,16),parseInt(c,16),parseInt(d,16)]}}function g(t){if(t){var i=l[t.toString().toLowerCase()],n=o(/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])?)|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?))\s*$/i.exec(i||t)||[],12),r=n[3],s=n[4],a=n[5],u=n[6],c=n[8],d=n[9],h=n[10],p=n[11];if(void 0!==r)return[parseInt(r+r,16),parseInt(s+s,16),parseInt(a+a,16),u?+(parseInt(u+u,16)/255).toFixed(2):1];if(void 0!==c)return[parseInt(c,16),parseInt(d,16),parseInt(h,16),p?+(parseInt(p,16)/255).toFixed(2):1]}}function b(t){if(t){var i=o(/^rgb\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(t)||[],4),n=i[0],r=i[1],s=i[2],a=i[3];return n?[u(r,0,255),u(s,0,255),u(a,0,255)]:void 0}}function v(t){if(t){var i=o(/^rgba?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(t)||[],6),n=i[0],r=i[1],s=i[2],a=i[3],l=i[5];return n?[u(r,0,255),u(s,0,255),u(a,0,255),u(c(l,1),0,1)]:void 0}}function y(t){if(Array.isArray(t))return[u(t[0],0,255),u(t[1],0,255),u(t[2],0,255),u(c(t[3],1),0,1)];var i=g(t)||v(t);return i&&3===i.length&&i.push(1),i}function _(t){if(t){var i=o(/^hsl\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(t)||[],4),n=i[0],r=i[1],s=i[2],a=i[3];return n?[u(r,0,360),u(s,0,100),u(a,0,100)]:void 0}}function C(t){if(t){var i=o(/^hsla?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(t)||[],6),n=i[0],r=i[1],s=i[2],a=i[3],l=i[5];return n?[u(r,0,255),u(s,0,255),u(a,0,255),u(c(l,1),0,1)]:void 0}}function w(t){if(Array.isArray(t))return[u(t[0],0,360),u(t[1],0,100),u(t[2],0,100),u(c(t[3],1),0,1)];var i=C(t);return i&&3===i.length&&i.push(1),i}function F(t,i){switch(i){case"rgb":default:return t.slice(0,3);case"rgbcss":return"rgb("+t[0]+", "+t[1]+", "+t[2]+")";case"rgbcss4":return"rgb("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")";case"rgba":return t;case"rgbacss":return"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")";case"hsl":return p.apply(void 0,a(t));case"hslcss":return"hsl("+(t=p.apply(void 0,a(t)))[0]+", "+t[1]+", "+t[2]+")";case"hslcss4":var n=p.apply(void 0,a(t));return"hsl("+n[0]+", "+n[1]+", "+n[2]+", "+t[3]+")";case"hsla":return[].concat(a(p.apply(void 0,a(t))),[t[3]]);case"hslacss":var r=p.apply(void 0,a(t));return"hsla("+r[0]+", "+r[1]+", "+r[2]+", "+t[3]+")";case"hex":return d.apply(void 0,a(t));case"hexcss4":return d.apply(void 0,a(t))+("00"+parseInt(255*t[3]).toString(16)).slice(-2);case"int":return f.apply(void 0,a(t))}}i.COLOR_NAMES=l,i.PALETTE_MATERIAL_500=["#F44336","#E91E63","#E91E63","#9C27B0","#9C27B0","#673AB7","#673AB7","#3F51B5","#3F51B5","#2196F3","#2196F3","#03A9F4","#03A9F4","#00BCD4","#00BCD4","#009688","#009688","#4CAF50","#4CAF50","#8BC34A","#8BC34A","#CDDC39","#CDDC39","#FFEB3B","#FFEB3B","#FFC107","#FFC107","#FF9800","#FF9800","#FF5722","#FF5722","#795548","#795548","#9E9E9E","#9E9E9E","#607D8B","#607D8B"],i.PALETTE_MATERIAL_CHROME=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722","#795548","#9e9e9e","#607d8b"],i.rgbToHex=d,i.hslToRgb=h,i.rgbToHsl=p,i.rgbToHsv=function(t,i,n){var r=[u(t,0,255)/255,u(i,0,255)/255,u(n,0,255)/255],o,s=Math.max(t=r[0],i=r[1],n=r[2]),a=Math.min(t,i,n),l=void 0,c=s-a;if(o=0===s?0:c/s,s==a)l=0;else{switch(s){case t:l=(i-n)/c+6*(i<n);break;case i:l=(n-t)/c+2;break;case n:l=(t-i)/c+4}l/=6}return[l,o,s]},i.rgbToInt=f,i.intToRgb=function(t){return[t>>16&255,t>>8&255,255&t]},i.cssColorToRgb=m,i.cssColorToRgba=g,i.cssRgbToRgb=b,i.cssRgbaToRgba=v,i.parseColorToRgb=function(t){return Array.isArray(t)?t=[u(t[0],0,255),u(t[1],0,255),u(t[2],0,255)]:m(t)||b(t)},i.parseColorToRgba=y,i.cssHslToHsl=_,i.cssHslaToHsla=C,i.parseColorToHsl=function(t){return Array.isArray(t)?t=[u(t[0],0,360),u(t[1],0,100),u(t[2],0,100)]:_(t)},i.parseColorToHsla=w,i.parseColor=function(t,i){if(i=i||"rgb",null!=t){var n=void 0;if((n=y(t))||(n=w(t))&&(n=[].concat(a(h.apply(void 0,a(n))),[n[3]])))return(0,s.default)(i)?["rgb","rgbcss","rgbcss4","rgba","rgbacss","hsl","hslcss","hslcss4","hsla","hslacss","hex","hexcss4","int"].reduce(function(t,i){return t[i]=F(n,i),t},i||{}):F(n,i.toString().toLowerCase())}},i.getLuminance=function(t,i,n){return .2126*(t=(t/=255)<.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(i=(i/=255)<.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*((n/=255)<.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},i.limit=u,i.ensureArray=function(t){return t?Array.from(t):[]},i.nvl=c},function(t,i,n){"use strict";t.exports=function(t){return null!=t&&"object"==typeof t&&!1===Array.isArray(t)}},function(t,i){t.exports='<div class="a-color-picker-row a-color-picker-stack a-color-picker-row-top"> <canvas class="a-color-picker-sl a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> <div class=a-color-picker-row> <div class="a-color-picker-stack a-color-picker-transparent a-color-picker-circle"> <div class=a-color-picker-preview> <input class=a-color-picker-clipbaord type=text> </div> </div> <div class=a-color-picker-column> <div class="a-color-picker-cell a-color-picker-stack"> <canvas class=a-color-picker-h></canvas> <div class=a-color-picker-dot></div> </div> <div class="a-color-picker-cell a-color-picker-alpha a-color-picker-stack" show-on-alpha> <canvas class="a-color-picker-a a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> </div> </div> <div class="a-color-picker-row a-color-picker-hsl" show-on-hsl> <label>H</label> <input nameref=H type=number maxlength=3 min=0 max=360 value=0> <label>S</label> <input nameref=S type=number maxlength=3 min=0 max=100 value=0> <label>L</label> <input nameref=L type=number maxlength=3 min=0 max=100 value=0> </div> <div class="a-color-picker-row a-color-picker-rgb" show-on-rgb> <label>R</label> <input nameref=R type=number maxlength=3 min=0 max=255 value=0> <label>G</label> <input nameref=G type=number maxlength=3 min=0 max=255 value=0> <label>B</label> <input nameref=B type=number maxlength=3 min=0 max=255 value=0> </div> <div class="a-color-picker-row a-color-picker-rgbhex a-color-picker-single-input" show-on-single-input> <label>HEX</label> <input nameref=RGBHEX type=text select-on-focus> </div> <div class="a-color-picker-row a-color-picker-palette"></div>'},function(t,i,n){var r=n(6);t.exports="string"==typeof r?r:r.toString()},function(t,i,n){(t.exports=n(7)(!1)).push([t.i,"/*!\n * a-color-picker\n * https://github.com/narsenico/a-color-picker\n *\n * Copyright (c) 2017-2018, Gianfranco Caldi.\n * Released under the MIT License.\n */.a-color-picker{background-color:#fff;padding:0;display:inline-flex;flex-direction:column;user-select:none;width:232px;font:400 10px Helvetica,Arial,sans-serif;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 2px 4px rgba(0,0,0,.25)}.a-color-picker,.a-color-picker-row,.a-color-picker input{box-sizing:border-box}.a-color-picker-row{padding:15px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;user-select:none}.a-color-picker-row-top{padding:0}.a-color-picker-row:not(:first-child){border-top:1px solid #f5f5f5}.a-color-picker-column{display:flex;flex-direction:column}.a-color-picker-cell{flex:1 1 auto;margin-bottom:4px}.a-color-picker-cell:last-child{margin-bottom:0}.a-color-picker-stack{position:relative}.a-color-picker-dot{position:absolute;width:14px;height:14px;top:0;left:0;background:#fff;pointer-events:none;border-radius:50px;z-index:1000;box-shadow:0 1px 2px rgba(0,0,0,.75)}.a-color-picker-a,.a-color-picker-h,.a-color-picker-sl{cursor:cell}.a-color-picker-a+.a-color-picker-dot,.a-color-picker-h+.a-color-picker-dot{top:-2px}.a-color-picker-a,.a-color-picker-h{border-radius:2px}.a-color-picker-preview{box-sizing:border-box;width:30px;height:30px;user-select:none;border-radius:15px}.a-color-picker-circle{border-radius:50px;border:1px solid #eee}.a-color-picker-hsl,.a-color-picker-rgb,.a-color-picker-single-input{justify-content:space-evenly}.a-color-picker-hsl>label,.a-color-picker-rgb>label,.a-color-picker-single-input>label{padding:0 8px;flex:0 0 auto;color:#969696}.a-color-picker-hsl>input,.a-color-picker-rgb>input,.a-color-picker-single-input>input{text-align:center;padding:2px 0;width:0;flex:1 1 auto;border:1px solid #e0e0e0;line-height:20px}.a-color-picker-hsl>input::-webkit-inner-spin-button,.a-color-picker-rgb>input::-webkit-inner-spin-button,.a-color-picker-single-input>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.a-color-picker-hsl>input:focus,.a-color-picker-rgb>input:focus,.a-color-picker-single-input>input:focus{border-color:#04a9f4;outline:none}.a-color-picker-transparent{background-image:linear-gradient(-45deg,#cdcdcd 25%,transparent 0),linear-gradient(45deg,#cdcdcd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#cdcdcd 0),linear-gradient(45deg,transparent 75%,#cdcdcd 0);background-size:11px 11px;background-position:0 0,0 -5.5px,-5.5px 5.5px,5.5px 0}.a-color-picker-sl{border-radius:3px 3px 0 0}.a-color-picker.hide-alpha [show-on-alpha],.a-color-picker.hide-hsl [show-on-hsl],.a-color-picker.hide-rgb [show-on-rgb],.a-color-picker.hide-single-input [show-on-single-input]{display:none}.a-color-picker-clipbaord{width:100%;height:100%;opacity:0;cursor:pointer}.a-color-picker-palette{flex-flow:wrap;flex-direction:row;justify-content:flex-start;padding:10px}.a-color-picker-palette-color{width:15px;height:15px;flex:0 1 15px;margin:3px;box-sizing:border-box;cursor:pointer;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.a-color-picker-palette-add{text-align:center;line-height:13px;color:#607d8b}.a-color-picker.hidden{display:none}",""])},function(t,i){t.exports=function(t){var i=[];return i.toString=function(){return this.map(function(i){var n=function(t,i){var n=t[1]||"",r=t[3];if(!r)return n;if(i&&"function"==typeof btoa){var o="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */";return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n}).join("")},i.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var s=this[o][0];"number"==typeof s&&(r[s]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),i.push(a))}},i}}],i={};function n(r){if(i[r])return i[r].exports;var o=i[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=i,n.d=function(t,i,r){n.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:r})},n.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,i){if(1&i&&(t=n(t)),8&i||4&i&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var o in t)n.d(r,o,(function(i){return t[i]}).bind(null,o));return r},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},n.p="",n(n.s=1)}()},46166:function(t,i,n){"use strict";n.d(i,{StateManager:function(){return a}});var r=n(82749),o=n(56075),s=n(11886);class a{createInitialState(){return{isOpen:!1,currentView:"welcome",currentConversation:null,conversations:[],isLoading:!1,error:null,pendingToolCalls:[],selectionContexts:[],abortController:null,editingMessageId:null,theme:this.jodit.o.aiAssistantPro.theme||"parent",displayMode:this.jodit.o.aiAssistantPro.displayMode,panelWidth:this.jodit.o.aiAssistantPro.panelWidth,panelHeight:this.jodit.o.aiAssistantPro.panelHeight,defaultModel:this.jodit.o.aiAssistantPro.defaultModel,defaultTemperature:this.jodit.o.aiAssistantPro.defaultTemperature}}open(){this.state.isOpen=!0,this.jodit.e.fire("open.ai-assistant-pro",this.state.currentConversation)}close(){this.state.isOpen=!1,this.jodit.e.fire("close.ai-assistant-pro")}isOpen(){return this.state.isOpen}setView(t){this.state.currentView=t,this.jodit.e.fire("viewChanged.ai-assistant-pro",t)}getView(){return this.state.currentView}setConversations(t){this.state.conversations=t}setSavedState(t){t.theme&&(this.state.theme=t.theme),t.displayMode&&(this.state.displayMode=t.displayMode),t.panelWidth&&(this.state.panelWidth=t.panelWidth),t.panelHeight&&(this.state.panelHeight=t.panelHeight),t.defaultModel&&(this.state.defaultModel=t.defaultModel),t.defaultTemperature&&(this.state.defaultTemperature=t.defaultTemperature)}getConversations(){return this.state.conversations}setCurrentConversation(t){if(this.state.currentConversation===t)throw Error("Conversation is already current");this.state.currentConversation=t||null,t&&(this.setView("conversation"),this.jodit.e.fire("conversationSwitched.ai-assistant-pro",t))}getCurrentConversation(){return this.state.currentConversation}removeConversation(t){let i=this.state.conversations.filter(i=>i.id!==t);this.setConversations(i)}setLoading(t){this.state.isLoading=t}isLoading(){return this.state.isLoading}setError(t){this.state.error=t,t&&this.jodit.e.fire("error.ai-assistant-pro",Error(t))}getError(){return this.state.error}clearError(){this.setError(null)}setPendingToolCalls(t){this.state.pendingToolCalls=t}getPendingToolCalls(){return this.state.pendingToolCalls}addPendingToolCall(t){let i=[...this.state.pendingToolCalls,t];this.setPendingToolCalls(i)}removePendingToolCall(t){let i=this.state.pendingToolCalls.filter(i=>i.id!==t);this.setPendingToolCalls(i)}updateToolCallStatus(t,i){let n=this.state.pendingToolCalls.map(n=>n.id===t?(0,s._)((0,o._)({},n),{status:i}):n);this.setPendingToolCalls(n)}setSelectionContexts(t){this.state.selectionContexts=t}getSelectionContexts(){return this.state.selectionContexts}addSelectionContext(t){let{maxContextRanges:i}=this.jodit.o.aiAssistantPro,n=[...this.state.selectionContexts,t];n.length>i&&(n=n.slice(-i)),this.setSelectionContexts(n),this.jodit.e.fire("contextAdded.ai-assistant-pro",t)}removeSelectionContext(t){let i=this.state.selectionContexts.filter((i,n)=>n!==t);this.setSelectionContexts(i),this.jodit.e.fire("contextRemoved.ai-assistant-pro",t)}clearSelectionContexts(){this.setSelectionContexts([])}setAbortController(t){this.state.abortController=t}getAbortController(){return this.state.abortController}setEditingMessageId(t){this.state.editingMessageId=t}getEditingMessageId(){return this.state.editingMessageId}isEditingMessage(){return null!=this.state.editingMessageId}clearEditingMessage(){this.setEditingMessageId(null)}reset(){this.state=this.createInitialState()}destruct(){this.state.abortController&&this.state.abortController.abort(),this.reset()}constructor(t){(0,r._)(this,"jodit",void 0),(0,r._)(this,"state",void 0),this.jodit=t,this.state=this.createInitialState()}}},46295:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Altura de la l\xednea"}},46334:function(t,i,n){"use strict";n.d(i,{normalizeSize:function(){return r}});let r=(t,i)=>/^[0-9]+$/.test(t.toString())?t+i:t.toString()},46425:function(t){t.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M23,13.6l5,5V4c0-0.6-0.4-1-1-1h-4V13.6z"/> <polygon points="12.4,3 16.7,7.3 19.7,10.3 21,11.6 21,3"/> <path d="M14.6,8l-5-5H5C4.4,3,4,3.4,4,4v14.6L14.6,8z"/> </g> <path d="M28.8,29.2L26,26.4c0.7-1,1-2.1,1-3.4c0-3.3-2.7-6-6-6s-6,2.7-6,6s2.7,6,6,6c1.2,0,2.4-0.4,3.4-1l2.8,2.8 c0.4,0.4,1.2,0.4,1.6,0C29.2,30.4,29.2,29.6,28.8,29.2z"/> <path d="M13,23c0-4.4,3.6-8,8-8c0.2,0,0.4,0,0.6,0l-0.3-0.3c0,0,0,0,0,0l-3-3L16,9.4l-12,12V26c0,0.6,0.4,1,1,1h9.1 C13.4,25.8,13,24.5,13,23z"/> </svg>'},46448:function(t,i,n){"use strict";n(73391),n(93183),n(66707),n(41107),n(93079),n(575),n(23399),n(96111),n(42263),n(77469),n(23531),n(93401),n(65517),n(64837),n(59451),n(18363),n(6687),n(45927),n(7309),n(43003),n(72253),n(65735)},46559:function(t,i,n){"use strict";function r(t){return Array.isArray(t)?t:t.split(/[,\s]+/)}n.d(i,{splitArray:function(){return r}})},46614:function(t,i,n){"use strict";var r=n(87612),o=n(70799),s=n(29960),a=n(86583),l=n(12153),u=n(6441),c=n(26532),d=n(93602),h=n(75259);u.Config.prototype.speechRecognize={api:void 0!==c.SpeechRecognition?c.SpeechRecognition:null,sound:!0,continuous:!1,interimResults:!0,commands:{"newline|enter":"enter","delete|remove word|delete word":"backspaceWordButton",comma:"inserthtml::,",underline:"inserthtml::_",hyphen:"inserthtml::-",space:"inserthtml:: ",question:"inserthtml::?",dot:"inserthtml::.","quote|quotes|open quote":"inserthtml::'","header|header h1":"formatblock::h1","select all":"selectall"}},l.Icon.set("speech-recognize",h.default),u.Config.prototype.controls.speechRecognize={isVisible(t){return!!t.o.speechRecognize.api},isActive(t,i){let n=(0,a.dataBind)(t,"speech");return!!(null==n?void 0:n.isEnabled)},isDisabled(t){return!t.o.speechRecognize.api},exec(t,i,{button:n,control:l}){var u;let{api:c,lang:h,continuous:p,interimResults:f,sound:m}=t.o.speechRecognize;if(!c)return void t.alert("Speech recognize API unsupported in your browser");let g=(0,a.dataBind)(t,"speech");if(!g){let i=new c;(g=new d.RecognizeManager(t.async,i)).lang=(0,o.isString)(h)?h:null!=(u=(0,s.attr)(t.od.documentElement,"lang"))?u:void 0,g.continuous=p,g.interimResults=f,g.sound=m,(0,a.dataBind)(t,"speech",g),g.on("pulse",t=>{n.setMod("pulse",t)}),g.on("result",i=>t.e.fire("speechRecognizeResult",i)),g.on("progress",i=>t.e.fire("speechRecognizeProgressResult",i)),g.on("error",i=>t.message.error(i)),n.hookStatus("beforeDestruct",()=>{(0,a.dataBind)(t,"speech",null),g.destruct()})}if(l.args){let t=l.args[0];if((0,r.isBoolean)(g[t])){g[t]=!g[t],g.isEnabled&&g.restart();return}}g.toggle(),g.isEnabled&&n.setMod("pulse",!0),n.state.activated=g.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(t,i,n){var r;let o=(0,a.dataBind)(t,"speech"),s=null!=(r=null==o?void 0:o[i])?r:t.o.speechRecognize[i];return`<span class='jodit-speech-recognize__list-item'><input ${s?"checked":""} class='jodit-checkbox' type='checkbox'> ${n}</span>`},mods:{stroke:!1}}},46776:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(44330);o.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},o.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},r.Icon.set("eraser",s.default)},46954:function(t){t.exports={"Show Blocks":"แสดงช่วงตึก"}},46958:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(36347);var s=n(65478),a=n(2748),l=n(29960),u=n(20356),c=n(2692);class d extends u.Plugin{afterInit(t){Object.keys(t.o.highlightSignature.schema).length&&(t.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",d.removeUtilWrappers),this.walkNodes())}beforeDestruct(t){t.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",d.removeUtilWrappers)}walkNodes(){var t;if(!this.j.isEditorMode())return;this.checkUtilsBoxToSchema();let{j:i}=this,n=i.ed.createNodeIterator(i.editor,NodeFilter.SHOW_TEXT);null==(t=this.abortController)||t.abort(),this.workLoop(n)}runWorker(t){let i;this.j.e.mute();let n=0,{processInChunkCount:r}=this.j.o.highlightSignature;try{do{if(n+=1,!(i=t.nextNode())||this.checkNormalizing(i))return;this.checkReplaceSchemas(i)}while(i&&r>n)}finally{this.j.e.unmute()}this.workLoop(t)}workLoop(t){this.abortController=new AbortController,this.j.async.schedulerPostTask(()=>this.runWorker(t),{delay:this.j.o.highlightSignature.processDelay}).catch(()=>null)}checkNormalizing(t){return!!a.Dom.isText(t.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)}checkReplaceSchemas(t){if(d.hasUtilWrapper(t))return;let i=t.nodeValue;if(null==i)return;let{j:n}=this,r=n.o.highlightSignature;for(let n in r.schema){let o=RegExp(n);if(o.test(i)){let s=i.match(o);if(!s||void 0===s.index)continue;let l=r.schema[n](this.j,s);if(l){a.Dom.markTemporary(l,{dataHighlightSchema:n}),this.replaceMatchedTextToElm(t,i,s,l);return}}}}replaceMatchedTextToElm(t,i,n,r){var o;let{j:s}=this,{range:l}=s.s,u=l.startContainer===t,c=l.startOffset,d=null!=(o=n.index)?o:0;t.nodeValue=i.substring(0,d);let h=i.substring(d+n[0].length);if(h.length){let i=s.createInside.text(h);a.Dom.after(t,i)}r.innerText=n[0],a.Dom.after(t,r),u&&this.restoreCursorPosition(c,t,r.firstChild,r.nextSibling)}static hasUtilWrapper(t){return a.Dom.isTemporary(t.parentElement)}static removeUtilWrappers(t){t.value=a.Dom.replaceTemporaryFromString(t.value)}restoreCursorPosition(t,...i){for(let n of i)if(n&&n.nodeValue){let i=n.nodeValue;if(i.length>=t){let i=this.j.s.createRange();i.setStart(n,t),this.j.s.selectRange(i,!1);break}t-=i.length}}checkUtilsBoxToSchema(){a.Dom.temporaryList(this.j.editor).forEach(t=>{var i;let n=(0,l.attr)(t,"dataHighlightSchema");if(!n)return;let r=RegExp(n),o=null!=(i=t.innerText)?i:"";(!r.test(o)||o.replace(r,"").length)&&(this.j.s.save(),a.Dom.unwrap(t),this.j.s.restore())})}constructor(...t){super(...t),(0,r._)(this,"abortController",null)}}(0,r._)(d,"requires",["license"]),(0,o.__decorate)([(0,s.debounce)()],d.prototype,"walkNodes",null),(0,o.__decorate)([s.autobind],d.prototype,"runWorker",null),c.JoditPro.plugins.add("highlight-signature",d)},46995:function(t){t.exports='<svg height="1792" viewBox="0 0 1792 1792" width="1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1262 1075q-37 121-138 195t-228 74-228-74-138-195q-8-25 4-48.5t38-31.5q25-8 48.5 4t31.5 38q25 80 92.5 129.5t151.5 49.5 151.5-49.5 92.5-129.5q8-26 32-38t49-4 37 31.5 4 48.5zm-494-435q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm512 0q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm256 256q0-130-51-248.5t-136.5-204-204-136.5-248.5-51-248.5 51-204 136.5-136.5 204-51 248.5 51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 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>'},47064:function(t,i,n){"use strict";n.d(i,{clearAttributes:function(){return o}});let r=["cellspacing","cellpadding","border","v:shapes","o:spid"];function o(t){if(/^OLE_LINK\d+$/.test(t.attributes.name)&&(t.attributes.name=null,0===t.length))return t.remove(),null;for(let i of("_GoBack"===t.attributes.name&&(t.attributes.name=null),r))t.attributes[i]&&(t.attributes[i]=null);return t}},47193:function(t,i,n){"use strict";n.r(i),i.default={aiAssistant:"AI Assistant",aiCommands:"AI Commands","AI Assistant":"AI Assistant",Prompt:"Prompt","Ask AI to improve generated text":"Ask AI to improve generated text",Submit:"Submit"}},47373:function(t,i,n){"use strict";function r(t,i,n="image/png"){let o=atob(t),s=o.length,a=new Uint8Array(s);for(let t=0;s>t;t++)a[t]=o.charCodeAt(t);return new File([new Blob([a],{type:n})],i,{type:n})}n.d(i,{base64ToFile:function(){return r}})},47615:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Simbolo"}},47660:function(t,i,n){"use strict";function r(t){let i=this.mapElements.indexOf(t);-1!==i&&(this.mapElements[i].gme.setMap(null),this.mapElements.splice(i,1),this.state.elements.splice(i,1),this.state.elements=[...this.state.elements])}n.d(i,{removeElement:function(){return r}})},47682:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(12324);var s=n(45198),a=n(78879),l=n.n(a),u=n(65478),c=n(2748),d=n(580),h=n(50911),p=n(12153),f=n(2692);class m extends h.Plugin{get style(){return(0,d.getContainer)(this.jodit,m,"style",!0)}enable(){this.isEnabled=!0;let t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:i,color:n}=this.j.o.showBlocks;this.style.innerHTML=i.map(i=>{var r;return`${t} ${i}{
|
|
220
|
+
</div>`}reconcile(t){let i=this.elements.findIndex((i,n)=>!t[n]||i.item.uniqueHashKey!==u.FileBrowserItem.create(t[n]).uniqueHashKey);if(i>-1){for(let t=i;t<this.elements.length;t+=1)this.elements[t].destruct();this.elements.length=i}return i}build(t){let i=this.reconcile(t);t.slice(i>-1?i:this.elements.length).forEach(t=>{let i=new c.UIBrowserItem(this.jodit,t);Object.keys(this.mods).forEach(t=>{i.setMod(t,this.mods[t])}),this.append(i)}),this.setMod("empty",!this.elements.length)}onScrollLoadChunk(){!this.stateManager.isFavoriteItems&&this.container.scrollHeight-(this.container.scrollTop+this.container.offsetHeight)<this.j.o.pixelOffsetLoadNewChunk&&this.j.loadingManager.loadItemsChunk()}onDragOver(t){t.preventDefault(),this.setMod("dragover",!0)}onDragLeave(t){t.preventDefault(),this.setMod("dragover",!1)}addItemsSelector(){d.UISelectItems.install(this)}static intersectRect(t,i){return!(i.left>t.left+t.width||i.left+i.width<t.left||i.top>t.top+t.height||i.top+i.height<t.top)}onSelectItems(t){let i=[];this.elements.forEach(n=>{let r=(0,a.position)(n.container);h.intersectRect(r,t)&&i.push(n.item)}),this.stateManager.state.activeElements=i}constructor(t,i){super(t),(0,r._)(this,"stateManager",void 0),(0,r._)(this,"syncMod",void 0),this.stateManager=i,this.syncMod=!0,this.addItemsSelector()}}(0,o.__decorate)([(0,s.watch)(":afterResize"),(0,s.watch)(":resize"),(0,s.watch)("container:scroll"),(0,s.throttle)()],h.prototype,"onScrollLoadChunk",null),(0,o.__decorate)([(0,s.watch)("container:dragover")],h.prototype,"onDragOver",null),(0,o.__decorate)([(0,s.watch)(["container:dragleave","container:drop"])],h.prototype,"onDragLeave",null),h=(0,o.__decorate)([s.component],h)},43809:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(29960),a=n(50911);n(99085);var l=n(26529);class u extends a.Plugin{afterInit(t){t.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),t.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,s.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(t){}constructor(t){super(t),this.buttons=[{group:"state",name:"spellcheck"}],(0,o.extendLang)(l)}}!function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([r.autobind],u.prototype,"toggleSpellcheck",null),o.pluginSystem.add("spellcheck",u)},44245:function(t,i,n){"use strict";n.d(i,{insertParagraph:function(){return s}});var r=n(2748),o=n(26395);function s(t,i,n,s){let a="br"===n.toLowerCase(),{createInside:l}=i,u=l.element(n),c=l.element("br");return a||u.appendChild(c),s&&s.cssText&&u.setAttribute("style",s.cssText),r.Dom.after(t,u),r.Dom.before(a?u:c,t),(0,o.scrollIntoViewIfNeeded)(u,i.editor,i.ed),u}},44253:function(t,i,n){"use strict";n.d(i,{toggleAttributes:function(){return g}});var r=n(82758),o=n(2748),s=n(580),a=n(27613),l=n(3760),u=n(21496),c=n(12475),d=n(43555),h=n(41180),p=n(86583),f=n(77361);let m="toggleAttributes";function g(t,i,n,v,y=!1){if(!y&&t.isApplied(i,m))return v;y||t.setApplied(i,m);let{attributes:_}=t.options;return _&&(0,u.size)(_)>0&&Object.keys(_).forEach(m=>{var g,C,w;let F=_[m];switch(m){case"style":g=v,(0,d.assert)((0,a.isPlainObject)(F)&&(0,u.size)(F),"Style must be an object"),Object.keys(F).forEach(a=>{let u=i.style.getPropertyValue((0,c.kebabCase)(a)),d=F[a];if(""!==u||null!=d){let c,m;if((c=n.create.element(i.tagName.toLowerCase())).style.cssText=i.style.cssText,(function(t){var i;if(void 0!==(0,p.dataBind)(t,"shadowRoot"))return(0,p.dataBind)(t,"shadowRoot");let n=(0,s.getContainer)(t),o=r.globalDocument.createElement("iframe");(0,h.css)(o,{width:0,height:0,position:"absolute",border:0}),o.src="about:blank",n.appendChild(o);let a=null==(i=o.contentWindow)?void 0:i.document,l=a?a.body:t.od.body;return(0,p.dataBind)(t,"shadowRoot",l),l})(n).appendChild(c),m=(0,h.css)(c,a),o.Dom.safeRemove(c),m===(0,l.normalizeCssValue)(a,d)){if(!u)return;y||(0,h.css)(i,a,null),g=b(t,i,g=f.UNSET);return}g=f.CHANGE,y||((0,h.css)(i,a,d),g=b(t,i,g))}}),v=g;break;case"className":case"class":let E;C=v,(0,d.assert)((0,a.isString)(F),"Class name must be a string"),E=n.e.fire.bind(n.e,`${f._PREFIX}AfterToggleAttribute`),i.classList.contains(F.toString())?(C=f.UNSET,y||(i.classList.remove(F),0===i.classList.length&&((0,d.attr)(i,"class",null),E(C,i,"class",null)))):(C=f.CHANGE,y||(i.classList.add(F),E(C,i,"class",F))),v=C;break;default:let k;w=v,(0,d.assert)((0,a.isString)(F)||(0,a.isNumber)(F)||(0,a.isBoolean)(F)||null==F,"Attribute value must be a string or number or boolean or null"),k=n.e.fire.bind(n.e,`${f._PREFIX}AfterToggleAttribute`),(0,d.attr)(i,m)===F?(y||(0,d.attr)(i,m,null),w=f.UNSET,y||k(w,i,m,F)):(w=f.CHANGE,y||((0,d.attr)(i,m,F),k(w,i,m,F))),v=w}}),v}function b(t,i,n){return(0,d.attr)(i,"style")||((0,d.attr)(i,"style",null),i.tagName.toLowerCase()===t.defaultTag&&(o.Dom.unwrap(i),n=f.UNWRAP)),n}},44328:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Sembol"}},44330:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M832 1408l336-384h-768l-336 384h768zm1013-1077q15 34 9.5 71.5t-30.5 65.5l-896 1024q-38 44-96 44h-768q-38 0-69.5-20.5t-47.5-54.5q-15-34-9.5-71.5t30.5-65.5l896-1024q38-44 96-44h768q38 0 69.5 20.5t47.5 54.5z"/> </svg> '},44450:function(t,i,n){"use strict";function r(t,i,n){return t.dataProvider.fileRemove(t.state.currentPath,i,n).then(n=>{t.status(n||t.i18n('File "%s" was deleted',i),!0)}).catch(t.status)}n.d(i,{deleteFile:function(){return r}})},44506:function(t,i,n){"use strict";n.d(i,{getContentWidth:function(){return r}});let r=(t,i)=>{let n=i.getComputedStyle(t);return t.offsetWidth-parseInt(n.getPropertyValue("padding-left")||"0",10)-parseInt(n.getPropertyValue("padding-right")||"0",10)}},44526:function(t,i,n){"use strict";n.d(i,{resolveBlock:function(){return o}});var r=n(22732);function o(t,{selector:i,index:n,requireExactlyOne:s=!1}={}){let a=null!=i,l=null!=n;if(s&&a===l)throw Error("Either index or selector must be provided, but not both");if(!a&&!l)throw Error("Block identifier is required");if(a){if("string"!=typeof i)throw Error("Selector must be a string");let n=t.editor.querySelector(i);if(!n)throw Error(`No element found matching selector "${i}"`);if(!r.Dom.isElement(n))throw Error(`Selector "${i}" does not point to an element node`);return{element:n,identifier:`with selector "${i}"`}}if("number"!=typeof n)throw Error("Block index must be a number");let u=Array.from(t.editor.children);if(n<0||n>=u.length)throw Error(`Block index ${n} is out of range. Document has ${u.length} blocks`);let c=u[n];if(!r.Dom.isElement(c))throw Error(`Block at index ${n} is not a valid element`);return{element:c,identifier:`at index ${n}`}}},44586:function(t,i,n){"use strict";n(6441).Config.prototype.draggableTags=["img","jodit-media","jodit"]},44602:function(t,i,n){"use strict";n.d(i,{getSuitParent:function(){return function t(i,n,a){let{parentNode:l}=n;return l===a||!r.Dom.isHTMLElement(l)||r.Dom.next(n,o.isNormalNode,l)||r.Dom.prev(n,o.isNormalNode,l)?null:i.isElementCommit&&i.elementIsBlock&&!r.Dom.isBlock(l)?t(i,l,a):(0,s.isSuitElement)(i,l,!1)&&(!r.Dom.isBlock(l)||i.elementIsBlock)?l:i.isElementCommit&&!r.Dom.isBlock(l)?t(i,l,a):null}}});var r=n(2748),o=n(29136),s=n(97380)},44710:function(t,i,n){"use strict";n.d(i,{buildQuery:function(){return o}});var r=n(72430);let o=(t,i)=>{let n=[],s=encodeURIComponent;for(let a in t)if(Object.prototype.hasOwnProperty.call(t,a)){let l=i?i+"["+a+"]":a,u=t[a];n.push((0,r.isPlainObject)(u)?o(u,l):s(l)+"="+s(u))}return n.join("&")}},44730:function(t,i,n){"use strict";n.r(i),i.default={symbols:"caract\xe8re"}},44850:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Helyes\xedr\xe1s-ellenőrz\xe9s"}},44864:function(t,i,n){"use strict";var r=n(77688),o=n(82749),s=n(56075),a=n(31635);n(53586);var l=n(83725),u=n(64199),c=n(82758),d=n(65478),h=n(2748),p=n(21537),f=n(50911),m=n(56917),g=n(2692);class b extends f.Plugin{get list(){return new l.Autocomplete(this.jodit)}get popup(){let t=new m.Popup(this.jodit);return t.setMod("padding",!1),t.setContent(this.list.container),this.jodit.e.on(t,"beforeClose",()=>{this.list.currentSelection=0}),t}afterInit(t){t.e.on("select.autocomplete",i=>{let n=i.value;(0,p.isFunction)(i.insertValueRenderer)&&(n=i.insertValueRenderer(i)),h.Dom.isNode(n)||(n=t.createInside.fromHTML(n)),(0,u.replaceTextLeftOfCursorAfterSpace)(t.s.range,n),this.j.s.setCursorAfter(n),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(t){this.sources.push(t)}unregisterAutocompleteSource(t){let i=this.sources.indexOf(t);-1!==i&&this.sources.splice(i,1)}static isControlKey(t){return t===c.KEY_DOWN||t===c.KEY_UP||t===c.KEY_ENTER||t===c.KEY_TAB}onKeyDown(t){return(0,r._)(function*(){var i,n;if(t.key===c.KEY_ESC){this.popup.isOpened&&this.popup.close();return}let{s:r}=this.j;if(b.isControlKey(t.key)||!r.isInsideArea||!r.isCollapsed)return;let o=(null==(i=this.j.s.sel)?void 0:i.rangeCount)?null==(n=this.j.s.sel)?void 0:n.getRangeAt(0):null,s=o&&(0,u.getTextLeftOfCursor)(o).split(" ").pop();if(s&&(0,p.trim)(s).length){let t=yield this.onAutoComplete(s);if(t.length)return this.openPopup(t)}this.popup.isOpened&&this.popup.close()}).call(this)}onKeyControlDown(t){if(this.popup.isOpened&&b.isControlKey(t.key)){switch(t.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(t.type),!1}}onEnter(){if(this.popup.isOpened)return this.list.select(),!1}onAutoComplete(t){return(0,r._)(function*(){let i=[];return yield Promise.all(this.sources.concat(this.j.o.autocomplete.sources).map(n=>(0,r._)(function*(){i.push(...yield this.resolveFeed(t,n))}).call(this))),i}).call(this)}resolveFeed(t,i,n){return(0,r._)(function*(){let r;if((0,p.isPromise)(i)&&(i=yield i),(0,p.isFunction)(i))r=yield i(t);else if((0,p.isArray)(i)){let n=i,{isMatchedQuery:o}=this.j.o.autocomplete;r=n.filter(i=>(0,p.isString)(i)?o(t,i):o(t,i.value)).map(t=>(0,p.isString)(t)?{title:t,value:t}:t)}else r=yield this.resolveFeed(t,i.feed,i);if(this.j.isDestructed)return[];if(r&&(0,p.isArray)(r)){let{itemRenderer:t,insertValueRenderer:i,maxItems:o}=this.j.o.autocomplete;return(r=r.map(r=>{var o,a;return(0,s._)({itemRenderer:null!=(o=null==n?void 0:n.itemRenderer)?o:t,insertValueRenderer:null!=(a=null==n?void 0:n.insertValueRenderer)?a:i},r)})).slice(0,o)}return[]}).call(this)}openPopup(t){this.list.build(t),this.popup.open(()=>{let{j:t}=this,i=t.s.range.getBoundingClientRect(),n={left:i.left,top:i.top,height:i.height,width:i.width};if(t.o.iframe&&t.iframe){let i=(0,p.position)(t.iframe,t);n.top+=i.top,n.left+=i.left}return n})}beforeDestruct(t){t.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(...t){super(...t),(0,o._)(this,"hasStyle",!g.JoditPro.fatMode),(0,o._)(this,"sources",[])}}(0,o._)(b,"requires",["enter","license"]),(0,a.__decorate)([d.cache],b.prototype,"list",null),(0,a.__decorate)([d.cache],b.prototype,"popup",null),(0,a.__decorate)([d.autobind],b.prototype,"registerAutocompleteSource",null),(0,a.__decorate)([d.autobind],b.prototype,"unregisterAutocompleteSource",null),(0,a.__decorate)([(0,d.debounce)()],b.prototype,"onKeyDown",null),(0,a.__decorate)([d.autobind],b.prototype,"onKeyControlDown",null),(0,a.__decorate)([d.autobind],b.prototype,"onEnter",null),(0,a.__decorate)([d.autobind],b.prototype,"onAutoComplete",null),(0,a.__decorate)([d.autobind],b.prototype,"resolveFeed",null),g.JoditPro.plugins.add("autocomplete",b)},45124:function(t,i,n){"use strict";n.d(i,{cursorInTheEdgeOfString:function(){return a},findCorrectCurrentNode:function(){return l},moveNodeInsideStart:function(){return s.moveNodeInsideStart}});var r=n(82758),o=n(2748),s=n(26716);function a(t,i,n,o){var s;let a=(null==(s=t.nodeValue)?void 0:s.length)?t.nodeValue:"";if(o&&a.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").length>i)return!0;let l=(0,r.INVISIBLE_SPACE_REG_EXP_START)().exec(a);return n&&(l&&l[0].length<i||!l&&i>0)}function l(t,i,n,r,s,a){if((t=i.startContainer.childNodes[i.startOffset])||(t=i.startContainer.childNodes[i.startOffset-1],n=!0),t&&r&&!o.Dom.isText(t)){if(!n&&o.Dom.isText(t.previousSibling))t=t.previousSibling;else if(s){let i=a(t);for(;i;){if(i&&o.Dom.isText(i)){t=i;break}i=a(i)}}}if(t&&!r&&!o.Dom.isText(t)){let i=t,n=t;do i=i.firstChild,n=n.lastChild;while(i&&n&&!o.Dom.isText(i));i===n&&i&&o.Dom.isText(i)&&(t=i)}return{node:t,rightMode:n}}n(43463)},45128:function(t,i,n){"use strict";n.d(i,{ColorInput:function(){return p}});var r=n(82749),o=n(31635),s=n(46146),a=n(82758),l=n(65478),u=n(21537),c=n(38837),d=n(67510),h=n(41409);class p extends d.UIInput{className(){return"ColorInput"}afterSetMode(t,i){"slim"===t&&i&&this.nativeInput.setAttribute("readonly","true")}onChangeSelfValue(){this.nativeInput.style.backgroundColor=this.value}onEscKeyDown(t){if(t.key===a.KEY_ESC){var i;null==(i=this.popup)||i.close()}}constructor(t,i){super(t,i),(0,r._)(this,"trigger",void 0),(0,r._)(this,"popup",void 0);const n=new d.Popup(t);this.popup=n,this.trigger=(0,d.Button)(this.j,"ok");const o=this.getElm("wrapper");(0,c.assert)(null!=o,"wrapper element does not exist"),o.appendChild(this.trigger.container),this.trigger.container.classList.add(this.getFullElName("trigger")),this.trigger.onAction(()=>{var t,i;null==(t=(i=this.state).onChange)||t.call(i,this.value),n.close()}),n.setMod("padding",!1).setMod("max-height",!1);const a=this.j.create.div(this.getFullElName("picker")),l=s.createPicker(a,{paletteEditable:!0,showAlpha:!0,palette:"PALETTE_MATERIAL_CHROME"}).on("change",(t,i)=>{this.isFocused||(this.value=s.parseColor(i||"","hex"))});this.j.e.on(this,"change",()=>{let t;t=this.value,s.parseColor(t,"hex")!==l.color&&(l.color=this.value)}),n.setContent(a),this.j.e.on(this.nativeInput,"click",()=>{n.parentElement=this,this.jodit instanceof h.Dialog&&n.setZIndex(this.jodit.getZIndex()+1),n.open(()=>(0,u.position)(this.container))}),this.onChangeValue(),this.onChangeSelfValue()}}(0,o.__decorate)([(0,l.watch)(":change")],p.prototype,"onChangeSelfValue",null),(0,o.__decorate)([(0,l.watch)("nativeInput:keydown")],p.prototype,"onEscKeyDown",null),p=(0,o.__decorate)([l.component],p)},45198:function(t,i,n){"use strict";n.r(i),n.d(i,{ar:function(){return o.a},cs_cz:function(){return a.a},de:function(){return u.a},es:function(){return d.a},fa:function(){return p.a},fr:function(){return m.a},he:function(){return b.a},hu:function(){return y.a},id:function(){return C.a},it:function(){return F.a},ja:function(){return k.a},ko:function(){return A.a},nl:function(){return x.a},pl:function(){return B.a},pt_br:function(){return j.a},ru:function(){return L.a},tr:function(){return M.a},zh_cn:function(){return O.a},zh_tw:function(){return H.a}});var r=n(7085),o=n.n(r),s=n(42350),a=n.n(s),l=n(53189),u=n.n(l),c=n(48154),d=n.n(c),h=n(59551),p=n.n(h),f=n(41858),m=n.n(f),g=n(78777),b=n.n(g),v=n(25321),y=n.n(v),_=n(27847),C=n.n(_),w=n(23287),F=n.n(w),E=n(73035),k=n.n(E),S=n(97028),A=n.n(S),D=n(26436),x=n.n(D),I=n(6602),B=n.n(I),T=n(86401),j=n.n(T),P=n(54023),L=n.n(P),R=n(8432),M=n.n(R),z=n(58366),O=n.n(z),N=n(46954),H=n.n(N)},45219:function(t,i,n){"use strict";n.d(i,{autobind:function(){return o}});var r=n(23282);function o(t,i,n){if(!(0,r.isFunction)(n.value))throw TypeError(`@autobind can only be applied to methods, but "${i}" is not a function`);let o=n.value;return{configurable:!0,get(){let t=o.bind(this);return Object.defineProperty(this,i,{value:t,configurable:!0,writable:!0}),t}}}},45235:function(t,i,n){"use strict";n.r(i),n.d(i,{allowAttributes:function(){return r.allowAttributes},fillEmptyParagraph:function(){return o.fillEmptyParagraph},removeEmptyTextNode:function(){return s.removeEmptyTextNode},removeInvTextNodes:function(){return a.removeInvTextNodes},replaceOldTags:function(){return l.replaceOldTags},sanitizeAttributes:function(){return u.sanitizeAttributes},tryRemoveNode:function(){return c.tryRemoveNode}});var r=n(82558),o=n(39433),s=n(53392),a=n(25813),l=n(80973),u=n(384),c=n(28800)},45575:function(t,i){"use strict";i.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> '},45603:function(t,i,n){"use strict";n.d(i,{isLicense:function(){return o}});var r=n(70799);let o=t=>(0,r.isString)(t)&&23===t.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(t)},45632:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(82158);var s=n(82520),a=n(35987),l=n(65478),u=n(2748),c=n(50911),d=n(62843),h=n(78584),p=n(2692);class f extends c.Plugin{afterInit(t){t.e.on("toggleButtonGenerator",this.toggleButtonGenerator).on("isButtonGeneratorOpened",()=>{var t;return null==(t=this.__dialog)?void 0:t.isOpened})}toggleButtonGenerator(t){this.__dialog||(this.__dialog=new h.Dialog({language:this.j.o.language,theme:this.j.o.theme}),this.__ui=new a.UIButtonGenerator(this.__dialog),this.__dialog.setHeader("Button Generator").setContent(this.__ui).setSize(730,700)),t&&!u.Dom.isTag(t,new Set(["button","a"]))&&(t=void 0);let i=this.__ui,n=this.__dialog;n.isOpened?n.close():(t&&s.UIGButton.extractStyle(i.state,t),i.target=t,i.update(),n.setFooter([(0,d.Button)(n,"cancel","Cancel","default").onAction(()=>n.close()),(0,d.Button)(n,"ok",t?"Update":"Insert","primary").onAction(()=>{t||(t=this.j.createInside.element(i.state.href?"a":"button"),this.j.s.insertNode(t,!0,!1)),s.UIGButton.applyStyle(i.state,t),t.className=i.state.className||"",this.jodit.e.fire("synchro"),n.close()})]).open())}onDblClick(t){u.Dom.isTag(t.target,"button")&&this.toggleButtonGenerator(t.target)}beforeDestruct(t){var i;null==(i=this.__dialog)||i.destruct()}constructor(...t){super(...t),(0,r._)(this,"hasStyle",!p.JoditPro.fatMode),(0,r._)(this,"buttons",[{group:"form",name:"buttonGenerator"}]),(0,r._)(this,"__dialog",void 0),(0,r._)(this,"__ui",void 0)}}(0,r._)(f,"requires",["license","color-picker"]),(0,o.__decorate)([l.autobind],f.prototype,"toggleButtonGenerator",null),(0,o.__decorate)([(0,l.watch)(":dblclick")],f.prototype,"onDblClick",null),p.JoditPro.plugins.add("button-generator",f)},45927:function(t,i,n){"use strict";var r=n(65478),o=n(580),s=n(84767),a=n(41180),l=n(20356);n(80792);var u=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class c extends l.Plugin{afterInit(t){t.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(t.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__immediateInitialize()}__initialize(){this.__immediateInitialize()}__immediateInitialize(){let{j:t}=this;if(t.o.inline)return;let{height:i}=t.o;if(t.o.saveHeightInStorage&&"auto"!==i){let n=t.storage.get("height");n&&(i=n)}(0,a.css)(t.editor,{minHeight:"100%"}),(0,a.css)(t.container,{minHeight:t.o.minHeight,maxHeight:t.o.maxHeight,minWidth:t.o.minWidth,maxWidth:t.o.maxWidth}),t.isFullSize||(this.__setHeight(i),this.__setWidth(t.o.width))}__setHeight(t){let{clientHeight:i,clientWidth:n}=this.j.container;if((0,s.isNumber)(t)){let{minHeight:i,maxHeight:n}=this.j.o;(0,s.isNumber)(i)&&i>t&&(t=i),(0,s.isNumber)(n)&&n<t&&(t=n)}(0,a.css)(this.j.container,"height",t),this.j.o.saveHeightInStorage&&this.j.storage.set("height",t),this.__resizeWorkspaceImd({clientHeight:i,clientWidth:n})}__setWidth(t){let{clientHeight:i,clientWidth:n}=this.j.container;if((0,s.isNumber)(t)){let{minWidth:i,maxWidth:n}=this.j.o;(0,s.isNumber)(i)&&i>t&&(t=i),(0,s.isNumber)(n)&&t>n&&(t=n)}(0,a.css)(this.j.container,"width",t),this.__resizeWorkspaceImd({clientHeight:i,clientWidth:n})}__getNotWorkHeight(){var t,i;return((null==(t=this.j.toolbarContainer)?void 0:t.offsetHeight)||0)+((null==(i=this.j.statusbar)?void 0:i.getHeight())||0)+2}__resizeWorkspaceImd({clientHeight:t,clientWidth:i}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline||!this.j.container||!this.j.container.parentNode)return;let n=((0,a.css)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,s.isNumber)(n)&&n>0&&([this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(t=>{t&&(0,a.css)(t,"minHeight",n)}),this.j.e.fire("setMinHeight",n)),(0,s.isNumber)(this.j.o.maxHeight)){let t=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(i=>{i&&(0,a.css)(i,"maxHeight",t)}),this.j.e.fire("setMaxHeight",t)}if(this.j.container){let t="auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto";(0,a.css)(this.j.workplace,"height",t),this.j.container.style.setProperty("--jd-jodit-workplace-height",(0,s.isNumber)(t)?t+"px":t)}let{clientHeight:r,clientWidth:o}=this.j.container;(t!==r||i!==o)&&this.j.e.fire(this.j,"resize")}beforeDestruct(t){t.e.off(t.ow,"load.size",this.__resizeWorkspaces).off(".size")}constructor(){super(...arguments),this.__resizeWorkspaces=this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0)}}u([(0,r.throttle)()],c.prototype,"__initialize",null),u([r.autobind],c.prototype,"__setHeight",null),u([r.autobind],c.prototype,"__setWidth",null),u([r.autobind],c.prototype,"__resizeWorkspaceImd",null),o.pluginSystem.add("size",c)},45971:function(t,i,n){"use strict";function r(t){return t.replace(/\r\n|\r|\n/g,"<br/>")}n.d(i,{nl2br:function(){return r}})},46104:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg> '},46124:function(t,i,n){"use strict";n.r(i),n.d(i,{removeExtraBr:function(){return r.removeExtraBr}});var r=n(94870)},46146:function(t){"u">typeof self&&self,t.exports=function(){var t=[function(t,i,n){"use strict";var r=n(3);function o(t){return!0===r(t)&&"[object Object]"===Object.prototype.toString.call(t)}t.exports=function(t){var i,n;return!1!==o(t)&&"function"==typeof(i=t.constructor)&&!1!==o(n=i.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")}},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.VERSION=i.PALETTE_MATERIAL_CHROME=i.PALETTE_MATERIAL_500=i.COLOR_NAMES=i.getLuminance=i.intToRgb=i.rgbToInt=i.rgbToHsv=i.rgbToHsl=i.hslToRgb=i.rgbToHex=i.parseColor=i.parseColorToHsla=i.parseColorToHsl=i.parseColorToRgba=i.parseColorToRgb=i.from=i.createPicker=void 0;var r=function(){function t(t,i){for(var n=0;n<i.length;n++){var r=i[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(i,n,r){return n&&t(i.prototype,n),r&&t(i,r),i}}(),o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var n=[],r=!0,o=!1,s=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!i||n.length!==i);r=!0);}catch(t){o=!0,s=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw s}}return n}(t,i);throw TypeError("Invalid attempt to destructure non-iterable instance")},s=n(2),a=u(n(0)),l=u(n(4));function u(t){return t&&t.__esModule?t:{default:t}}function c(t,i){if(!(t instanceof i))throw TypeError("Cannot call a class as a function")}function d(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}return Array.from(t)}var h="u">typeof window&&window.navigator.userAgent.indexOf("Edge")>-1,p="u">typeof window&&window.navigator.userAgent.indexOf("rv:")>-1,f={id:null,attachTo:"body",showHSL:!0,showRGB:!0,showHEX:!0,showAlpha:!1,color:"#ff0000",palette:null,paletteEditable:!1,useAlphaInPalette:"auto",slBarSize:[232,150],hueBarSize:[150,11],alphaBarSize:[150,11]},m="COLOR",g="RGBA_USER",b="HSLA_USER";function v(t,i,n){return t?t instanceof HTMLElement?t:t instanceof NodeList?t[0]:"string"==typeof t?document.querySelector(t):t.jquery?t.get(0):n?i:null:i}function y(t){var i=t.getContext("2d"),n=+t.width,r=+t.height,a=i.createLinearGradient(1,1,1,r-1);return a.addColorStop(0,"white"),a.addColorStop(1,"black"),{setHue:function(t){var o=i.createLinearGradient(1,0,n-1,0);o.addColorStop(0,"hsla("+t+", 100%, 50%, 0)"),o.addColorStop(1,"hsla("+t+", 100%, 50%, 1)"),i.fillStyle=a,i.fillRect(0,0,n,r),i.fillStyle=o,i.globalCompositeOperation="multiply",i.fillRect(0,0,n,r),i.globalCompositeOperation="source-over"},grabColor:function(t,n){return i.getImageData(t,n,1,1).data},findColor:function(t,i,a){var l=o((0,s.rgbToHsv)(t,i,a),3);return[l[1]*n,r-l[2]*r]}}}function _(t,i,n){return null===t?i:/^\s*$/.test(t)?n:!!/true|yes|1/i.test(t)||!/false|no|0/i.test(t)&&i}function C(t,i,n){if(null===t)return i;if(/^\s*$/.test(t))return n;var r=t.split(",").map(Number);return 2===r.length&&r[0]&&r[1]?r:i}var w=function(){function t(i,n){if(c(this,t),n?(i=v(i),this.options=Object.assign({},f,n)):i&&(0,a.default)(i)?(this.options=Object.assign({},f,i),i=v(this.options.attachTo)):(this.options=Object.assign({},f),i=v((0,s.nvl)(i,this.options.attachTo))),!i)throw Error("Container not found: "+this.options.attachTo);!function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"acp-";if(i.hasAttribute(n+"show-hsl")&&(t.showHSL=_(i.getAttribute(n+"show-hsl"),f.showHSL,!0)),i.hasAttribute(n+"show-rgb")&&(t.showRGB=_(i.getAttribute(n+"show-rgb"),f.showRGB,!0)),i.hasAttribute(n+"show-hex")&&(t.showHEX=_(i.getAttribute(n+"show-hex"),f.showHEX,!0)),i.hasAttribute(n+"show-alpha")&&(t.showAlpha=_(i.getAttribute(n+"show-alpha"),f.showAlpha,!0)),i.hasAttribute(n+"palette-editable")&&(t.paletteEditable=_(i.getAttribute(n+"palette-editable"),f.paletteEditable,!0)),i.hasAttribute(n+"sl-bar-size")&&(t.slBarSize=C(i.getAttribute(n+"sl-bar-size"),f.slBarSize,[232,150])),i.hasAttribute(n+"hue-bar-size")&&(t.hueBarSize=C(i.getAttribute(n+"hue-bar-size"),f.hueBarSize,[150,11]),t.alphaBarSize=t.hueBarSize),i.hasAttribute(n+"palette")){var r=i.getAttribute(n+"palette");switch(r){case"PALETTE_MATERIAL_500":t.palette=s.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":case"":t.palette=s.PALETTE_MATERIAL_CHROME;break;default:t.palette=r.split(/[;|]/)}}i.hasAttribute(n+"color")&&(t.color=i.getAttribute(n+"color"))}(this.options,i),this.H=0,this.S=0,this.L=0,this.R=0,this.G=0,this.B=0,this.A=1,this.palette={},this.element=document.createElement("div"),this.options.id&&(this.element.id=this.options.id),this.element.className="a-color-picker",this.element.innerHTML=l.default,i.appendChild(this.element);var r=this.element.querySelector(".a-color-picker-h");this.setupHueCanvas(r),this.hueBarHelper=y(r),this.huePointer=this.element.querySelector(".a-color-picker-h+.a-color-picker-dot");var o=this.element.querySelector(".a-color-picker-sl");this.setupSlCanvas(o),this.slBarHelper=y(o),this.slPointer=this.element.querySelector(".a-color-picker-sl+.a-color-picker-dot"),this.preview=this.element.querySelector(".a-color-picker-preview"),this.setupClipboard(this.preview.querySelector(".a-color-picker-clipbaord")),this.options.showHSL?(this.setupInput(this.inputH=this.element.querySelector(".a-color-picker-hsl>input[nameref=H]")),this.setupInput(this.inputS=this.element.querySelector(".a-color-picker-hsl>input[nameref=S]")),this.setupInput(this.inputL=this.element.querySelector(".a-color-picker-hsl>input[nameref=L]"))):this.element.querySelector(".a-color-picker-hsl").remove(),this.options.showRGB?(this.setupInput(this.inputR=this.element.querySelector(".a-color-picker-rgb>input[nameref=R]")),this.setupInput(this.inputG=this.element.querySelector(".a-color-picker-rgb>input[nameref=G]")),this.setupInput(this.inputB=this.element.querySelector(".a-color-picker-rgb>input[nameref=B]"))):this.element.querySelector(".a-color-picker-rgb").remove(),this.options.showHEX?this.setupInput(this.inputRGBHEX=this.element.querySelector("input[nameref=RGBHEX]")):this.element.querySelector(".a-color-picker-rgbhex").remove(),this.options.paletteEditable||this.options.palette&&this.options.palette.length>0?this.setPalette(this.paletteRow=this.element.querySelector(".a-color-picker-palette")):(this.paletteRow=this.element.querySelector(".a-color-picker-palette"),this.paletteRow.remove()),this.options.showAlpha?(this.setupAlphaCanvas(this.element.querySelector(".a-color-picker-a")),this.alphaPointer=this.element.querySelector(".a-color-picker-a+.a-color-picker-dot")):this.element.querySelector(".a-color-picker-alpha").remove(),this.element.style.width=this.options.slBarSize[0]+"px",this.onValueChanged(m,this.options.color)}return r(t,[{key:"setupHueCanvas",value:function(t){var i=this;t.width=this.options.hueBarSize[0],t.height=this.options.hueBarSize[1];for(var n=t.getContext("2d"),r=n.createLinearGradient(0,0,this.options.hueBarSize[0],0),o=0;o<=1;o+=1/360)r.addColorStop(o,"hsl("+360*o+", 100%, 50%)");n.fillStyle=r,n.fillRect(0,0,this.options.hueBarSize[0],this.options.hueBarSize[1]);var a=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.hueBarSize[0]),o=Math.round(360*r/i.options.hueBarSize[0]);i.huePointer.style.left=r-7+"px",i.onValueChanged("H",o)},l=function t(){document.removeEventListener("mousemove",a),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){a(t),document.addEventListener("mousemove",a),document.addEventListener("mouseup",l)})}},{key:"setupSlCanvas",value:function(t){var i=this;t.width=this.options.slBarSize[0],t.height=this.options.slBarSize[1];var n=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.slBarSize[0]-1),o=(0,s.limit)(n.clientY-t.getBoundingClientRect().top,0,i.options.slBarSize[1]-1),a=i.slBarHelper.grabColor(r,o);i.slPointer.style.left=r-7+"px",i.slPointer.style.top=o-7+"px",i.onValueChanged("RGB",a)},r=function t(){document.removeEventListener("mousemove",n),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){n(t),document.addEventListener("mousemove",n),document.addEventListener("mouseup",r)})}},{key:"setupAlphaCanvas",value:function(t){var i=this;t.width=this.options.alphaBarSize[0],t.height=this.options.alphaBarSize[1];var n=t.getContext("2d"),r=n.createLinearGradient(0,0,t.width-1,0);r.addColorStop(0,"hsla(0, 0%, 50%, 0)"),r.addColorStop(1,"hsla(0, 0%, 50%, 1)"),n.fillStyle=r,n.fillRect(0,0,this.options.alphaBarSize[0],this.options.alphaBarSize[1]);var o=function(n){var r=(0,s.limit)(n.clientX-t.getBoundingClientRect().left,0,i.options.alphaBarSize[0]),o=+(r/i.options.alphaBarSize[0]).toFixed(2);i.alphaPointer.style.left=r-7+"px",i.onValueChanged("ALPHA",o)},a=function t(){document.removeEventListener("mousemove",o),document.removeEventListener("mouseup",t)};t.addEventListener("mousedown",function(t){o(t),document.addEventListener("mousemove",o),document.addEventListener("mouseup",a)})}},{key:"setupInput",value:function(t){var i=this,n=+t.min,r=+t.max,o=t.getAttribute("nameref");t.hasAttribute("select-on-focus")&&t.addEventListener("focus",function(){t.select()}),"text"===t.type?t.addEventListener("change",function(){i.onValueChanged(o,t.value)}):((h||p)&&t.addEventListener("keydown",function(a){"Up"===a.key?(t.value=(0,s.limit)(+t.value+1,n,r),i.onValueChanged(o,t.value),a.returnValue=!1):"Down"===a.key&&(t.value=(0,s.limit)(t.value-1,n,r),i.onValueChanged(o,t.value),a.returnValue=!1)}),t.addEventListener("change",function(){var a=+t.value;i.onValueChanged(o,(0,s.limit)(a,n,r))}))}},{key:"setupClipboard",value:function(t){var i=this;t.title="click to copy",t.addEventListener("click",function(){t.value=(0,s.parseColor)([i.R,i.G,i.B,i.A],"hexcss4"),t.select(),document.execCommand("copy")})}},{key:"setPalette",value:function(t){var i=this,n="auto"===this.options.useAlphaInPalette?this.options.showAlpha:this.options.useAlphaInPalette,r=null;switch(this.options.palette){case"PALETTE_MATERIAL_500":r=s.PALETTE_MATERIAL_500;break;case"PALETTE_MATERIAL_CHROME":r=s.PALETTE_MATERIAL_CHROME;break;default:r=(0,s.ensureArray)(this.options.palette)}if(this.options.paletteEditable||r.length>0){var o=function(n,r,o){var s=t.querySelector('.a-color-picker-palette-color[data-color="'+n+'"]')||document.createElement("div");s.className="a-color-picker-palette-color",s.style.backgroundColor=n,s.setAttribute("data-color",n),s.title=n,t.insertBefore(s,r),i.palette[n]=!0,o&&i.onPaletteColorAdd(n)},a=function(n,r){n?(t.removeChild(n),i.palette[n.getAttribute("data-color")]=!1,r&&i.onPaletteColorRemove(n.getAttribute("data-color"))):(t.querySelectorAll(".a-color-picker-palette-color[data-color]").forEach(function(i){t.removeChild(i)}),Object.keys(i.palette).forEach(function(t){i.palette[t]=!1}),r&&i.onPaletteColorRemove())};if(r.map(function(t){return(0,s.parseColor)(t,n?"rgbcss4":"hex")}).filter(function(t){return!!t}).forEach(function(t){return o(t)}),this.options.paletteEditable){var l=document.createElement("div");l.className="a-color-picker-palette-color a-color-picker-palette-add",l.innerHTML="+",t.appendChild(l),t.addEventListener("click",function(t){/a-color-picker-palette-add/.test(t.target.className)?t.shiftKey?a(null,!0):o(n?(0,s.parseColor)([i.R,i.G,i.B,i.A],"rgbcss4"):(0,s.rgbToHex)(i.R,i.G,i.B),t.target,!0):/a-color-picker-palette-color/.test(t.target.className)&&(t.shiftKey?a(t.target,!0):i.onValueChanged(m,t.target.getAttribute("data-color")))})}else t.addEventListener("click",function(t){/a-color-picker-palette-color/.test(t.target.className)&&i.onValueChanged(m,t.target.getAttribute("data-color"))})}else t.style.display="none"}},{key:"updatePalette",value:function(t){this.paletteRow.innerHTML="",this.palette={},this.paletteRow.parentElement||this.element.appendChild(this.paletteRow),this.options.palette=t,this.setPalette(this.paletteRow)}},{key:"onValueChanged",value:function(t,i){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{silent:!1};switch(t){case"H":this.H=i;var r=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=r[0],this.G=r[1],this.B=r[2],this.slBarHelper.setHue(i),this.updatePointerH(this.H),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"S":this.S=i;var a=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=a[0],this.G=a[1],this.B=a[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"L":this.L=i;var l=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=l[0],this.G=l[1],this.B=l[2],this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"R":this.R=i;var u=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=u[0],this.S=u[1],this.L=u[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"G":this.G=i;var c=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=c[0],this.S=c[1],this.L=c[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"B":this.B=i;var d=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=d[0],this.S=d[1],this.L=d[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGBHEX(this.R,this.G,this.B);break;case"RGB":var h=o(i,3);this.R=h[0],this.G=h[1],this.B=h[2];var p=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=p[0],this.S=p[1],this.L=p[2],this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B);break;case g:var f=o(i,4);this.R=f[0],this.G=f[1],this.B=f[2],this.A=f[3];var v=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=v[0],this.S=v[1],this.L=v[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case b:var y=o(i,4);this.H=y[0],this.S=y[1],this.L=y[2],this.A=y[3];var _=o((0,s.hslToRgb)(this.H,this.S,this.L),3);this.R=_[0],this.G=_[1],this.B=_[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"RGBHEX":var C=o((0,s.cssColorToRgb)(i)||[this.R,this.G,this.B],3);this.R=C[0],this.G=C[1],this.B=C[2];var w=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=w[0],this.S=w[1],this.L=w[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B);break;case m:var F=o((0,s.parseColor)(i,"rgba")||[0,0,0,1],4);this.R=F[0],this.G=F[1],this.B=F[2],this.A=F[3];var E=o((0,s.rgbToHsl)(this.R,this.G,this.B),3);this.H=E[0],this.S=E[1],this.L=E[2],this.slBarHelper.setHue(this.H),this.updatePointerH(this.H),this.updatePointerSL(this.H,this.S,this.L),this.updateInputHSL(this.H,this.S,this.L),this.updateInputRGB(this.R,this.G,this.B),this.updateInputRGBHEX(this.R,this.G,this.B),this.updatePointerA(this.A);break;case"ALPHA":this.A=i}1===this.A?this.preview.style.backgroundColor="rgb("+this.R+","+this.G+","+this.B+")":this.preview.style.backgroundColor="rgba("+this.R+","+this.G+","+this.B+","+this.A+")",n&&n.silent||this.onchange&&this.onchange(this.preview.style.backgroundColor)}},{key:"onPaletteColorAdd",value:function(t){this.oncoloradd&&this.oncoloradd(t)}},{key:"onPaletteColorRemove",value:function(t){this.oncolorremove&&this.oncolorremove(t)}},{key:"updateInputHSL",value:function(t,i,n){this.options.showHSL&&(this.inputH.value=t,this.inputS.value=i,this.inputL.value=n)}},{key:"updateInputRGB",value:function(t,i,n){this.options.showRGB&&(this.inputR.value=t,this.inputG.value=i,this.inputB.value=n)}},{key:"updateInputRGBHEX",value:function(t,i,n){this.options.showHEX&&(this.inputRGBHEX.value=(0,s.rgbToHex)(t,i,n))}},{key:"updatePointerH",value:function(t){var i=this.options.hueBarSize[0]*t/360;this.huePointer.style.left=i-7+"px"}},{key:"updatePointerSL",value:function(t,i,n){var r=o((0,s.hslToRgb)(t,i,n),3),a=r[0],l=r[1],u=r[2],c=o(this.slBarHelper.findColor(a,l,u),2),d=c[0],h=c[1];d>=0&&(this.slPointer.style.left=d-7+"px",this.slPointer.style.top=h-7+"px")}},{key:"updatePointerA",value:function(t){if(this.options.showAlpha){var i=this.options.alphaBarSize[0]*t;this.alphaPointer.style.left=i-7+"px"}}}]),t}(),F=function(){function t(i){c(this,t),this.name=i,this.listeners=[]}return r(t,[{key:"on",value:function(t){t&&this.listeners.push(t)}},{key:"off",value:function(t){this.listeners=t?this.listeners.filter(function(i){return i!==t}):[]}},{key:"emit",value:function(t,i){for(var n=this.listeners.slice(0),r=0;r<n.length;r++)n[r].apply(i,t)}}]),t}();function E(t,i){var n=new w(t,i),r={change:new F("change"),coloradd:new F("coloradd"),colorremove:new F("colorremove")},a=!0,l={},u={get element(){return n.element},get rgb(){return[n.R,n.G,n.B]},set rgb(e){var c=o(e,3),d=c[0],h=c[1],p=c[2],f=[(0,s.limit)(d,0,255),(0,s.limit)(h,0,255),(0,s.limit)(p,0,255)];d=f[0],h=f[1],p=f[2],n.onValueChanged(g,[d,h,p,1])},get hsl(){return[n.H,n.S,n.L]},set hsl(e){var v=o(e,3),y=v[0],_=v[1],C=v[2],E=[(0,s.limit)(y,0,360),(0,s.limit)(_,0,100),(0,s.limit)(C,0,100)];y=E[0],_=E[1],C=E[2],n.onValueChanged(b,[y,_,C,1])},get rgbhex(){return this.all.hex},get rgba(){return[n.R,n.G,n.B,n.A]},set rgba(e){var k=o(e,4),S=k[0],A=k[1],D=k[2],x=k[3],I=[(0,s.limit)(S,0,255),(0,s.limit)(A,0,255),(0,s.limit)(D,0,255),(0,s.limit)(x,0,1)];S=I[0],A=I[1],D=I[2],x=I[3],n.onValueChanged(g,[S,A,D,x])},get hsla(){return[n.H,n.S,n.L,n.A]},set hsla(e){var B=o(e,4),T=B[0],j=B[1],P=B[2],L=B[3],R=[(0,s.limit)(T,0,360),(0,s.limit)(j,0,100),(0,s.limit)(P,0,100),(0,s.limit)(L,0,1)];T=R[0],j=R[1],P=R[2],L=R[3],n.onValueChanged(b,[T,j,P,L])},get color(){return this.all.toString()},set color(e){n.onValueChanged(m,e)},setColor:function(t){var i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];n.onValueChanged(m,t,{silent:i})},get all(){if(a){var M=[n.R,n.G,n.B,n.A],z=n.A<1?"rgba("+n.R+","+n.G+","+n.B+","+n.A+")":s.rgbToHex.apply(void 0,M);(l=(0,s.parseColor)(M,l)).toString=function(){return z},a=!1}return Object.assign({},l)},get onchange(){return r.change&&r.change.listeners[0]},set onchange(e){this.off("change").on("change",e)},get oncoloradd(){return r.coloradd&&r.coloradd.listeners[0]},set oncoloradd(e){this.off("coloradd").on("coloradd",e)},get oncolorremove(){return r.colorremove&&r.colorremove.listeners[0]},set oncolorremove(e){this.off("colorremove").on("colorremove",e)},get palette(){return Object.keys(n.palette).filter(function(t){return n.palette[t]})},set palette(e){n.updatePalette(e)},show:function(){n.element.classList.remove("hidden")},hide:function(){n.element.classList.add("hidden")},toggle:function(){n.element.classList.toggle("hidden")},on:function(t,i){return t&&r[t]&&r[t].on(i),this},off:function(t,i){return t&&r[t]&&r[t].off(i),this},destroy:function(){r.change.off(),r.coloradd.off(),r.colorremove.off(),n.element.remove(),r=null,n=null}};return n.onchange=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];a=!0,r.change.emit([u].concat(i),u)},n.oncoloradd=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r.coloradd.emit([u].concat(i),u)},n.oncolorremove=function(){for(var t=arguments.length,i=Array(t),n=0;n<t;n++)i[n]=arguments[n];r.colorremove.emit([u].concat(i),u)},n.element.ctrl=u,u}if("u">typeof window&&!document.querySelector('head>style[data-source="a-color-picker"]')){var k=n(5).toString(),S=document.createElement("style");S.setAttribute("type","text/css"),S.setAttribute("data-source","a-color-picker"),S.innerHTML=k,document.querySelector("head").appendChild(S)}i.createPicker=E,i.from=function(t,i){var n=(t?Array.isArray(t)?t:t instanceof HTMLElement?[t]:t instanceof NodeList?[].concat(d(t)):"string"==typeof t?[].concat(d(document.querySelectorAll(t))):t.jquery?t.get():[]:[]).map(function(t,n){var r=E(t,i);return r.index=n,r});return n.on=function(t,i){return n.forEach(function(n){return n.on(t,i)}),this},n.off=function(t){return n.forEach(function(i){return i.off(t)}),this},n},i.parseColorToRgb=s.parseColorToRgb,i.parseColorToRgba=s.parseColorToRgba,i.parseColorToHsl=s.parseColorToHsl,i.parseColorToHsla=s.parseColorToHsla,i.parseColor=s.parseColor,i.rgbToHex=s.rgbToHex,i.hslToRgb=s.hslToRgb,i.rgbToHsl=s.rgbToHsl,i.rgbToHsv=s.rgbToHsv,i.rgbToInt=s.rgbToInt,i.intToRgb=s.intToRgb,i.getLuminance=s.getLuminance,i.COLOR_NAMES=s.COLOR_NAMES,i.PALETTE_MATERIAL_500=s.PALETTE_MATERIAL_500,i.PALETTE_MATERIAL_CHROME=s.PALETTE_MATERIAL_CHROME,i.VERSION="1.2.1"},function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.nvl=i.ensureArray=i.limit=i.getLuminance=i.parseColor=i.parseColorToHsla=i.parseColorToHsl=i.cssHslaToHsla=i.cssHslToHsl=i.parseColorToRgba=i.parseColorToRgb=i.cssRgbaToRgba=i.cssRgbToRgb=i.cssColorToRgba=i.cssColorToRgb=i.intToRgb=i.rgbToInt=i.rgbToHsv=i.rgbToHsl=i.hslToRgb=i.rgbToHex=i.PALETTE_MATERIAL_CHROME=i.PALETTE_MATERIAL_500=i.COLOR_NAMES=void 0;var r,o=function(t,i){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,i){var n=[],r=!0,o=!1,s=void 0;try{for(var a,l=t[Symbol.iterator]();!(r=(a=l.next()).done)&&(n.push(a.value),!i||n.length!==i);r=!0);}catch(t){o=!0,s=t}finally{try{!r&&l.return&&l.return()}finally{if(o)throw s}}return n}(t,i);throw TypeError("Invalid attempt to destructure non-iterable instance")},s=(r=n(0))&&r.__esModule?r:{default:r};function a(t){if(Array.isArray(t)){for(var i=0,n=Array(t.length);i<t.length;i++)n[i]=t[i];return n}return Array.from(t)}var l={aliceblue:"#F0F8FF",antiquewhite:"#FAEBD7",aqua:"#00FFFF",aquamarine:"#7FFFD4",azure:"#F0FFFF",beige:"#F5F5DC",bisque:"#FFE4C4",black:"#000000",blanchedalmond:"#FFEBCD",blue:"#0000FF",blueviolet:"#8A2BE2",brown:"#A52A2A",burlywood:"#DEB887",cadetblue:"#5F9EA0",chartreuse:"#7FFF00",chocolate:"#D2691E",coral:"#FF7F50",cornflowerblue:"#6495ED",cornsilk:"#FFF8DC",crimson:"#DC143C",cyan:"#00FFFF",darkblue:"#00008B",darkcyan:"#008B8B",darkgoldenrod:"#B8860B",darkgray:"#A9A9A9",darkgrey:"#A9A9A9",darkgreen:"#006400",darkkhaki:"#BDB76B",darkmagenta:"#8B008B",darkolivegreen:"#556B2F",darkorange:"#FF8C00",darkorchid:"#9932CC",darkred:"#8B0000",darksalmon:"#E9967A",darkseagreen:"#8FBC8F",darkslateblue:"#483D8B",darkslategray:"#2F4F4F",darkslategrey:"#2F4F4F",darkturquoise:"#00CED1",darkviolet:"#9400D3",deeppink:"#FF1493",deepskyblue:"#00BFFF",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1E90FF",firebrick:"#B22222",floralwhite:"#FFFAF0",forestgreen:"#228B22",fuchsia:"#FF00FF",gainsboro:"#DCDCDC",ghostwhite:"#F8F8FF",gold:"#FFD700",goldenrod:"#DAA520",gray:"#808080",grey:"#808080",green:"#008000",greenyellow:"#ADFF2F",honeydew:"#F0FFF0",hotpink:"#FF69B4","indianred ":"#CD5C5C","indigo ":"#4B0082",ivory:"#FFFFF0",khaki:"#F0E68C",lavender:"#E6E6FA",lavenderblush:"#FFF0F5",lawngreen:"#7CFC00",lemonchiffon:"#FFFACD",lightblue:"#ADD8E6",lightcoral:"#F08080",lightcyan:"#E0FFFF",lightgoldenrodyellow:"#FAFAD2",lightgray:"#D3D3D3",lightgrey:"#D3D3D3",lightgreen:"#90EE90",lightpink:"#FFB6C1",lightsalmon:"#FFA07A",lightseagreen:"#20B2AA",lightskyblue:"#87CEFA",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#B0C4DE",lightyellow:"#FFFFE0",lime:"#00FF00",limegreen:"#32CD32",linen:"#FAF0E6",magenta:"#FF00FF",maroon:"#800000",mediumaquamarine:"#66CDAA",mediumblue:"#0000CD",mediumorchid:"#BA55D3",mediumpurple:"#9370DB",mediumseagreen:"#3CB371",mediumslateblue:"#7B68EE",mediumspringgreen:"#00FA9A",mediumturquoise:"#48D1CC",mediumvioletred:"#C71585",midnightblue:"#191970",mintcream:"#F5FFFA",mistyrose:"#FFE4E1",moccasin:"#FFE4B5",navajowhite:"#FFDEAD",navy:"#000080",oldlace:"#FDF5E6",olive:"#808000",olivedrab:"#6B8E23",orange:"#FFA500",orangered:"#FF4500",orchid:"#DA70D6",palegoldenrod:"#EEE8AA",palegreen:"#98FB98",paleturquoise:"#AFEEEE",palevioletred:"#DB7093",papayawhip:"#FFEFD5",peachpuff:"#FFDAB9",peru:"#CD853F",pink:"#FFC0CB",plum:"#DDA0DD",powderblue:"#B0E0E6",purple:"#800080",rebeccapurple:"#663399",red:"#FF0000",rosybrown:"#BC8F8F",royalblue:"#4169E1",saddlebrown:"#8B4513",salmon:"#FA8072",sandybrown:"#F4A460",seagreen:"#2E8B57",seashell:"#FFF5EE",sienna:"#A0522D",silver:"#C0C0C0",skyblue:"#87CEEB",slateblue:"#6A5ACD",slategray:"#708090",slategrey:"#708090",snow:"#FFFAFA",springgreen:"#00FF7F",steelblue:"#4682B4",tan:"#D2B48C",teal:"#008080",thistle:"#D8BFD8",tomato:"#FF6347",turquoise:"#40E0D0",violet:"#EE82EE",wheat:"#F5DEB3",white:"#FFFFFF",whitesmoke:"#F5F5F5",yellow:"#FFFF00",yellowgreen:"#9ACD32"};function u(t,i,n){return isNaN(t*=1)||i>t?i:t>n?n:t}function c(t,i){return null==t?i:t}function d(t,i,n){var r=[u(t,0,255),u(i,0,255),u(n,0,255)];return"#"+("000000"+((t=r[0])<<16|(i=r[1])<<8|(n=r[2])).toString(16)).slice(-6)}function h(t,i,n){var r=void 0,o=void 0,s=void 0,a=[u(t,0,360)/360,u(i,0,100)/100,u(n,0,100)/100];if(t=a[0],n=a[2],0==(i=a[1]))r=o=s=n;else{var l=function(t,i,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(i-t)*n:n<.5?i:n<2/3?t+(i-t)*(2/3-n)*6:t},c=n<.5?n*(1+i):n+i-n*i,d=2*n-c;r=l(d,c,t+1/3),o=l(d,c,t),s=l(d,c,t-1/3)}return[255*r,255*o,255*s].map(Math.round)}function p(t,i,n){var r=[u(t,0,255)/255,u(i,0,255)/255,u(n,0,255)/255],o=Math.max(t=r[0],i=r[1],n=r[2]),s=Math.min(t,i,n),a=void 0,l=void 0,c=(o+s)/2;if(o==s)a=l=0;else{var d=o-s;switch(l=c>.5?d/(2-o-s):d/(o+s),o){case t:a=(i-n)/d+6*(i<n);break;case i:a=(n-t)/d+2;break;case n:a=(t-i)/d+4}a/=6}return[360*a,100*l,100*c].map(Math.round)}function f(t,i,n){return t<<16|i<<8|n}function m(t){if(t){var i=l[t.toString().toLowerCase()],n=o(/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F]))|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})))\s*$/i.exec(i||t)||[],10),r=n[3],s=n[4],a=n[5],u=n[7],c=n[8],d=n[9];if(void 0!==r)return[parseInt(r+r,16),parseInt(s+s,16),parseInt(a+a,16)];if(void 0!==u)return[parseInt(u,16),parseInt(c,16),parseInt(d,16)]}}function g(t){if(t){var i=l[t.toString().toLowerCase()],n=o(/^\s*#?((([0-9A-F])([0-9A-F])([0-9A-F])([0-9A-F])?)|(([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})([0-9A-F]{2})?))\s*$/i.exec(i||t)||[],12),r=n[3],s=n[4],a=n[5],u=n[6],c=n[8],d=n[9],h=n[10],p=n[11];if(void 0!==r)return[parseInt(r+r,16),parseInt(s+s,16),parseInt(a+a,16),u?+(parseInt(u+u,16)/255).toFixed(2):1];if(void 0!==c)return[parseInt(c,16),parseInt(d,16),parseInt(h,16),p?+(parseInt(p,16)/255).toFixed(2):1]}}function b(t){if(t){var i=o(/^rgb\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(t)||[],4),n=i[0],r=i[1],s=i[2],a=i[3];return n?[u(r,0,255),u(s,0,255),u(a,0,255)]:void 0}}function v(t){if(t){var i=o(/^rgba?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(t)||[],6),n=i[0],r=i[1],s=i[2],a=i[3],l=i[5];return n?[u(r,0,255),u(s,0,255),u(a,0,255),u(c(l,1),0,1)]:void 0}}function y(t){if(Array.isArray(t))return[u(t[0],0,255),u(t[1],0,255),u(t[2],0,255),u(c(t[3],1),0,1)];var i=g(t)||v(t);return i&&3===i.length&&i.push(1),i}function _(t){if(t){var i=o(/^hsl\((\d+)[\s,](\d+)[\s,](\d+)\)/i.exec(t)||[],4),n=i[0],r=i[1],s=i[2],a=i[3];return n?[u(r,0,360),u(s,0,100),u(a,0,100)]:void 0}}function C(t){if(t){var i=o(/^hsla?\((\d+)\s*[\s,]\s*(\d+)\s*[\s,]\s*(\d+)(\s*[\s,]\s*(\d*(.\d+)?))?\)/i.exec(t)||[],6),n=i[0],r=i[1],s=i[2],a=i[3],l=i[5];return n?[u(r,0,255),u(s,0,255),u(a,0,255),u(c(l,1),0,1)]:void 0}}function w(t){if(Array.isArray(t))return[u(t[0],0,360),u(t[1],0,100),u(t[2],0,100),u(c(t[3],1),0,1)];var i=C(t);return i&&3===i.length&&i.push(1),i}function F(t,i){switch(i){case"rgb":default:return t.slice(0,3);case"rgbcss":return"rgb("+t[0]+", "+t[1]+", "+t[2]+")";case"rgbcss4":return"rgb("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")";case"rgba":return t;case"rgbacss":return"rgba("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")";case"hsl":return p.apply(void 0,a(t));case"hslcss":return"hsl("+(t=p.apply(void 0,a(t)))[0]+", "+t[1]+", "+t[2]+")";case"hslcss4":var n=p.apply(void 0,a(t));return"hsl("+n[0]+", "+n[1]+", "+n[2]+", "+t[3]+")";case"hsla":return[].concat(a(p.apply(void 0,a(t))),[t[3]]);case"hslacss":var r=p.apply(void 0,a(t));return"hsla("+r[0]+", "+r[1]+", "+r[2]+", "+t[3]+")";case"hex":return d.apply(void 0,a(t));case"hexcss4":return d.apply(void 0,a(t))+("00"+parseInt(255*t[3]).toString(16)).slice(-2);case"int":return f.apply(void 0,a(t))}}i.COLOR_NAMES=l,i.PALETTE_MATERIAL_500=["#F44336","#E91E63","#E91E63","#9C27B0","#9C27B0","#673AB7","#673AB7","#3F51B5","#3F51B5","#2196F3","#2196F3","#03A9F4","#03A9F4","#00BCD4","#00BCD4","#009688","#009688","#4CAF50","#4CAF50","#8BC34A","#8BC34A","#CDDC39","#CDDC39","#FFEB3B","#FFEB3B","#FFC107","#FFC107","#FF9800","#FF9800","#FF5722","#FF5722","#795548","#795548","#9E9E9E","#9E9E9E","#607D8B","#607D8B"],i.PALETTE_MATERIAL_CHROME=["#f44336","#e91e63","#9c27b0","#673ab7","#3f51b5","#2196f3","#03a9f4","#00bcd4","#009688","#4caf50","#8bc34a","#cddc39","#ffeb3b","#ffc107","#ff9800","#ff5722","#795548","#9e9e9e","#607d8b"],i.rgbToHex=d,i.hslToRgb=h,i.rgbToHsl=p,i.rgbToHsv=function(t,i,n){var r=[u(t,0,255)/255,u(i,0,255)/255,u(n,0,255)/255],o,s=Math.max(t=r[0],i=r[1],n=r[2]),a=Math.min(t,i,n),l=void 0,c=s-a;if(o=0===s?0:c/s,s==a)l=0;else{switch(s){case t:l=(i-n)/c+6*(i<n);break;case i:l=(n-t)/c+2;break;case n:l=(t-i)/c+4}l/=6}return[l,o,s]},i.rgbToInt=f,i.intToRgb=function(t){return[t>>16&255,t>>8&255,255&t]},i.cssColorToRgb=m,i.cssColorToRgba=g,i.cssRgbToRgb=b,i.cssRgbaToRgba=v,i.parseColorToRgb=function(t){return Array.isArray(t)?t=[u(t[0],0,255),u(t[1],0,255),u(t[2],0,255)]:m(t)||b(t)},i.parseColorToRgba=y,i.cssHslToHsl=_,i.cssHslaToHsla=C,i.parseColorToHsl=function(t){return Array.isArray(t)?t=[u(t[0],0,360),u(t[1],0,100),u(t[2],0,100)]:_(t)},i.parseColorToHsla=w,i.parseColor=function(t,i){if(i=i||"rgb",null!=t){var n=void 0;if((n=y(t))||(n=w(t))&&(n=[].concat(a(h.apply(void 0,a(n))),[n[3]])))return(0,s.default)(i)?["rgb","rgbcss","rgbcss4","rgba","rgbacss","hsl","hslcss","hslcss4","hsla","hslacss","hex","hexcss4","int"].reduce(function(t,i){return t[i]=F(n,i),t},i||{}):F(n,i.toString().toLowerCase())}},i.getLuminance=function(t,i,n){return .2126*(t=(t/=255)<.03928?t/12.92:Math.pow((t+.055)/1.055,2.4))+.7152*(i=(i/=255)<.03928?i/12.92:Math.pow((i+.055)/1.055,2.4))+.0722*((n/=255)<.03928?n/12.92:Math.pow((n+.055)/1.055,2.4))},i.limit=u,i.ensureArray=function(t){return t?Array.from(t):[]},i.nvl=c},function(t,i,n){"use strict";t.exports=function(t){return null!=t&&"object"==typeof t&&!1===Array.isArray(t)}},function(t,i){t.exports='<div class="a-color-picker-row a-color-picker-stack a-color-picker-row-top"> <canvas class="a-color-picker-sl a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> <div class=a-color-picker-row> <div class="a-color-picker-stack a-color-picker-transparent a-color-picker-circle"> <div class=a-color-picker-preview> <input class=a-color-picker-clipbaord type=text> </div> </div> <div class=a-color-picker-column> <div class="a-color-picker-cell a-color-picker-stack"> <canvas class=a-color-picker-h></canvas> <div class=a-color-picker-dot></div> </div> <div class="a-color-picker-cell a-color-picker-alpha a-color-picker-stack" show-on-alpha> <canvas class="a-color-picker-a a-color-picker-transparent"></canvas> <div class=a-color-picker-dot></div> </div> </div> </div> <div class="a-color-picker-row a-color-picker-hsl" show-on-hsl> <label>H</label> <input nameref=H type=number maxlength=3 min=0 max=360 value=0> <label>S</label> <input nameref=S type=number maxlength=3 min=0 max=100 value=0> <label>L</label> <input nameref=L type=number maxlength=3 min=0 max=100 value=0> </div> <div class="a-color-picker-row a-color-picker-rgb" show-on-rgb> <label>R</label> <input nameref=R type=number maxlength=3 min=0 max=255 value=0> <label>G</label> <input nameref=G type=number maxlength=3 min=0 max=255 value=0> <label>B</label> <input nameref=B type=number maxlength=3 min=0 max=255 value=0> </div> <div class="a-color-picker-row a-color-picker-rgbhex a-color-picker-single-input" show-on-single-input> <label>HEX</label> <input nameref=RGBHEX type=text select-on-focus> </div> <div class="a-color-picker-row a-color-picker-palette"></div>'},function(t,i,n){var r=n(6);t.exports="string"==typeof r?r:r.toString()},function(t,i,n){(t.exports=n(7)(!1)).push([t.i,"/*!\n * a-color-picker\n * https://github.com/narsenico/a-color-picker\n *\n * Copyright (c) 2017-2018, Gianfranco Caldi.\n * Released under the MIT License.\n */.a-color-picker{background-color:#fff;padding:0;display:inline-flex;flex-direction:column;user-select:none;width:232px;font:400 10px Helvetica,Arial,sans-serif;border-radius:3px;box-shadow:0 0 0 1px rgba(0,0,0,.05),0 2px 4px rgba(0,0,0,.25)}.a-color-picker,.a-color-picker-row,.a-color-picker input{box-sizing:border-box}.a-color-picker-row{padding:15px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;user-select:none}.a-color-picker-row-top{padding:0}.a-color-picker-row:not(:first-child){border-top:1px solid #f5f5f5}.a-color-picker-column{display:flex;flex-direction:column}.a-color-picker-cell{flex:1 1 auto;margin-bottom:4px}.a-color-picker-cell:last-child{margin-bottom:0}.a-color-picker-stack{position:relative}.a-color-picker-dot{position:absolute;width:14px;height:14px;top:0;left:0;background:#fff;pointer-events:none;border-radius:50px;z-index:1000;box-shadow:0 1px 2px rgba(0,0,0,.75)}.a-color-picker-a,.a-color-picker-h,.a-color-picker-sl{cursor:cell}.a-color-picker-a+.a-color-picker-dot,.a-color-picker-h+.a-color-picker-dot{top:-2px}.a-color-picker-a,.a-color-picker-h{border-radius:2px}.a-color-picker-preview{box-sizing:border-box;width:30px;height:30px;user-select:none;border-radius:15px}.a-color-picker-circle{border-radius:50px;border:1px solid #eee}.a-color-picker-hsl,.a-color-picker-rgb,.a-color-picker-single-input{justify-content:space-evenly}.a-color-picker-hsl>label,.a-color-picker-rgb>label,.a-color-picker-single-input>label{padding:0 8px;flex:0 0 auto;color:#969696}.a-color-picker-hsl>input,.a-color-picker-rgb>input,.a-color-picker-single-input>input{text-align:center;padding:2px 0;width:0;flex:1 1 auto;border:1px solid #e0e0e0;line-height:20px}.a-color-picker-hsl>input::-webkit-inner-spin-button,.a-color-picker-rgb>input::-webkit-inner-spin-button,.a-color-picker-single-input>input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.a-color-picker-hsl>input:focus,.a-color-picker-rgb>input:focus,.a-color-picker-single-input>input:focus{border-color:#04a9f4;outline:none}.a-color-picker-transparent{background-image:linear-gradient(-45deg,#cdcdcd 25%,transparent 0),linear-gradient(45deg,#cdcdcd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#cdcdcd 0),linear-gradient(45deg,transparent 75%,#cdcdcd 0);background-size:11px 11px;background-position:0 0,0 -5.5px,-5.5px 5.5px,5.5px 0}.a-color-picker-sl{border-radius:3px 3px 0 0}.a-color-picker.hide-alpha [show-on-alpha],.a-color-picker.hide-hsl [show-on-hsl],.a-color-picker.hide-rgb [show-on-rgb],.a-color-picker.hide-single-input [show-on-single-input]{display:none}.a-color-picker-clipbaord{width:100%;height:100%;opacity:0;cursor:pointer}.a-color-picker-palette{flex-flow:wrap;flex-direction:row;justify-content:flex-start;padding:10px}.a-color-picker-palette-color{width:15px;height:15px;flex:0 1 15px;margin:3px;box-sizing:border-box;cursor:pointer;border-radius:3px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.1)}.a-color-picker-palette-add{text-align:center;line-height:13px;color:#607d8b}.a-color-picker.hidden{display:none}",""])},function(t,i){t.exports=function(t){var i=[];return i.toString=function(){return this.map(function(i){var n=function(t,i){var n=t[1]||"",r=t[3];if(!r)return n;if(i&&"function"==typeof btoa){var o="/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */";return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([o]).join("\n")}return[n].join("\n")}(i,t);return i[2]?"@media "+i[2]+"{"+n+"}":n}).join("")},i.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var s=this[o][0];"number"==typeof s&&(r[s]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"==typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),i.push(a))}},i}}],i={};function n(r){if(i[r])return i[r].exports;var o=i[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=i,n.d=function(t,i,r){n.o(t,i)||Object.defineProperty(t,i,{enumerable:!0,get:r})},n.r=function(t){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,i){if(1&i&&(t=n(t)),8&i||4&i&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&i&&"string"!=typeof t)for(var o in t)n.d(r,o,(function(i){return t[i]}).bind(null,o));return r},n.n=function(t){var i=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(i,"a",i),i},n.o=function(t,i){return Object.prototype.hasOwnProperty.call(t,i)},n.p="",n(n.s=1)}()},46166:function(t,i,n){"use strict";n.d(i,{StateManager:function(){return a}});var r=n(82749),o=n(56075),s=n(11886);class a{createInitialState(){return{isOpen:!1,currentView:"welcome",currentConversation:null,conversations:[],isLoading:!1,error:null,pendingToolCalls:[],selectionContexts:[],abortController:null,editingMessageId:null,theme:this.jodit.o.aiAssistantPro.theme||"parent",displayMode:this.jodit.o.aiAssistantPro.displayMode,panelWidth:this.jodit.o.aiAssistantPro.panelWidth,panelHeight:this.jodit.o.aiAssistantPro.panelHeight,defaultModel:this.jodit.o.aiAssistantPro.defaultModel,defaultTemperature:this.jodit.o.aiAssistantPro.defaultTemperature}}open(){this.state.isOpen=!0,this.jodit.e.fire("open.ai-assistant-pro",this.state.currentConversation)}close(){this.state.isOpen=!1,this.jodit.e.fire("close.ai-assistant-pro")}isOpen(){return this.state.isOpen}setView(t){this.state.currentView=t,this.jodit.e.fire("viewChanged.ai-assistant-pro",t)}getView(){return this.state.currentView}setConversations(t){this.state.conversations=t}setSavedState(t){t.theme&&(this.state.theme=t.theme),t.displayMode&&(this.state.displayMode=t.displayMode),t.panelWidth&&(this.state.panelWidth=t.panelWidth),t.panelHeight&&(this.state.panelHeight=t.panelHeight),t.defaultModel&&(this.state.defaultModel=t.defaultModel),t.defaultTemperature&&(this.state.defaultTemperature=t.defaultTemperature)}getConversations(){return this.state.conversations}setCurrentConversation(t){if(this.state.currentConversation===t)throw Error("Conversation is already current");this.state.currentConversation=t||null,t&&(this.setView("conversation"),this.jodit.e.fire("conversationSwitched.ai-assistant-pro",t))}getCurrentConversation(){return this.state.currentConversation}removeConversation(t){let i=this.state.conversations.filter(i=>i.id!==t);this.setConversations(i)}setLoading(t){this.state.isLoading=t}isLoading(){return this.state.isLoading}setError(t){this.state.error=t,t&&this.jodit.e.fire("error.ai-assistant-pro",Error(t))}getError(){return this.state.error}clearError(){this.setError(null)}setPendingToolCalls(t){this.state.pendingToolCalls=t}getPendingToolCalls(){return this.state.pendingToolCalls}addPendingToolCall(t){let i=[...this.state.pendingToolCalls,t];this.setPendingToolCalls(i)}removePendingToolCall(t){let i=this.state.pendingToolCalls.filter(i=>i.id!==t);this.setPendingToolCalls(i)}updateToolCallStatus(t,i){let n=this.state.pendingToolCalls.map(n=>n.id===t?(0,s._)((0,o._)({},n),{status:i}):n);this.setPendingToolCalls(n)}setSelectionContexts(t){this.state.selectionContexts=t}getSelectionContexts(){return this.state.selectionContexts}addSelectionContext(t){let{maxContextRanges:i}=this.jodit.o.aiAssistantPro,n=[...this.state.selectionContexts,t];n.length>i&&(n=n.slice(-i)),this.setSelectionContexts(n),this.jodit.e.fire("contextAdded.ai-assistant-pro",t)}removeSelectionContext(t){let i=this.state.selectionContexts.filter((i,n)=>n!==t);this.setSelectionContexts(i),this.jodit.e.fire("contextRemoved.ai-assistant-pro",t)}clearSelectionContexts(){this.setSelectionContexts([])}setAbortController(t){this.state.abortController=t}getAbortController(){return this.state.abortController}setEditingMessageId(t){this.state.editingMessageId=t}getEditingMessageId(){return this.state.editingMessageId}isEditingMessage(){return null!=this.state.editingMessageId}clearEditingMessage(){this.setEditingMessageId(null)}reset(){this.state=this.createInitialState()}destruct(){this.state.abortController&&this.state.abortController.abort(),this.reset()}constructor(t){(0,r._)(this,"jodit",void 0),(0,r._)(this,"state",void 0),this.jodit=t,this.state=this.createInitialState()}}},46295:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Altura de la l\xednea"}},46334:function(t,i,n){"use strict";n.d(i,{normalizeSize:function(){return r}});let r=(t,i)=>/^[0-9]+$/.test(t.toString())?t+i:t.toString()},46425:function(t){t.exports='<svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M23,13.6l5,5V4c0-0.6-0.4-1-1-1h-4V13.6z"/> <polygon points="12.4,3 16.7,7.3 19.7,10.3 21,11.6 21,3"/> <path d="M14.6,8l-5-5H5C4.4,3,4,3.4,4,4v14.6L14.6,8z"/> </g> <path d="M28.8,29.2L26,26.4c0.7-1,1-2.1,1-3.4c0-3.3-2.7-6-6-6s-6,2.7-6,6s2.7,6,6,6c1.2,0,2.4-0.4,3.4-1l2.8,2.8 c0.4,0.4,1.2,0.4,1.6,0C29.2,30.4,29.2,29.6,28.8,29.2z"/> <path d="M13,23c0-4.4,3.6-8,8-8c0.2,0,0.4,0,0.6,0l-0.3-0.3c0,0,0,0,0,0l-3-3L16,9.4l-12,12V26c0,0.6,0.4,1,1,1h9.1 C13.4,25.8,13,24.5,13,23z"/> </svg>'},46448:function(t,i,n){"use strict";n(73391),n(93183),n(66707),n(41107),n(93079),n(575),n(23399),n(96111),n(42263),n(77469),n(23531),n(93401),n(65517),n(64837),n(59451),n(18363),n(6687),n(45927),n(7309),n(43003),n(72253),n(65735)},46559:function(t,i,n){"use strict";function r(t){return Array.isArray(t)?t:t.split(/[,\s]+/)}n.d(i,{splitArray:function(){return r}})},46614:function(t,i,n){"use strict";var r=n(87612),o=n(70799),s=n(29960),a=n(86583),l=n(12153),u=n(6441),c=n(26532),d=n(93602),h=n(75259);u.Config.prototype.speechRecognize={api:void 0!==c.SpeechRecognition?c.SpeechRecognition:null,sound:!0,continuous:!1,interimResults:!0,commands:{"newline|enter":"enter","delete|remove word|delete word":"backspaceWordButton",comma:"inserthtml::,",underline:"inserthtml::_",hyphen:"inserthtml::-",space:"inserthtml:: ",question:"inserthtml::?",dot:"inserthtml::.","quote|quotes|open quote":"inserthtml::'","header|header h1":"formatblock::h1","select all":"selectall"}},l.Icon.set("speech-recognize",h.default),u.Config.prototype.controls.speechRecognize={isVisible(t){return!!t.o.speechRecognize.api},isActive(t,i){let n=(0,a.dataBind)(t,"speech");return!!(null==n?void 0:n.isEnabled)},isDisabled(t){return!t.o.speechRecognize.api},exec(t,i,{button:n,control:l}){var u;let{api:c,lang:h,continuous:p,interimResults:f,sound:m}=t.o.speechRecognize;if(!c)return void t.alert("Speech recognize API unsupported in your browser");let g=(0,a.dataBind)(t,"speech");if(!g){let i=new c;(g=new d.RecognizeManager(t.async,i)).lang=(0,o.isString)(h)?h:null!=(u=(0,s.attr)(t.od.documentElement,"lang"))?u:void 0,g.continuous=p,g.interimResults=f,g.sound=m,(0,a.dataBind)(t,"speech",g),g.on("pulse",t=>{n.setMod("pulse",t)}),g.on("result",i=>t.e.fire("speechRecognizeResult",i)),g.on("progress",i=>t.e.fire("speechRecognizeProgressResult",i)),g.on("error",i=>t.message.error(i)),n.hookStatus("beforeDestruct",()=>{(0,a.dataBind)(t,"speech",null),g.destruct()})}if(l.args){let t=l.args[0];if((0,r.isBoolean)(g[t])){g[t]=!g[t],g.isEnabled&&g.restart();return}}g.toggle(),g.isEnabled&&n.setMod("pulse",!0),n.state.activated=g.isEnabled},name:"speechRecognize",command:"toggleSpeechRecognize",tooltip:"Speech Recognize",list:{sound:"Sound",interimResults:"Interim Results"},childTemplate(t,i,n){var r;let o=(0,a.dataBind)(t,"speech"),s=null!=(r=null==o?void 0:o[i])?r:t.o.speechRecognize[i];return`<span class='jodit-speech-recognize__list-item'><input ${s?"checked":""} class='jodit-checkbox' type='checkbox'> ${n}</span>`},mods:{stroke:!1}}},46732:function(t){t.exports={Favorites:"Favoriten",Settings:"Einstellungen",Light:"Hell",Dark:"Dunkel",Theme:"Design",Show:"Anzeigen",Hide:"Ausblenden","Show favorites":"Favoriten anzeigen",Tiles:"Kacheln",List:"Liste",Compact:"Kompakt",View:"Ansicht","Folders position":"Ordnerposition","Sort by":"Sortieren nach","Extra small":"Sehr klein",Small:"Klein",Large:"Gro\xdf","Extra large":"Sehr gro\xdf","Tile size":"Kachelgr\xf6\xdfe"}},46776:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(44330);o.Config.prototype.cleanHTML={timeout:300,removeEmptyElements:!0,fillEmptyParagraph:!0,replaceNBSP:!0,replaceOldTags:{i:"em",b:"strong"},allowTags:!1,denyTags:"script",useIframeSandbox:!1,removeOnError:!0,safeJavaScriptLink:!0,disableCleanFilter:null},o.Config.prototype.controls.eraser={command:"removeFormat",tooltip:"Clear Formatting"},r.Icon.set("eraser",s.default)},46954:function(t){t.exports={"Show Blocks":"แสดงช่วงตึก"}},46958:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(36347);var s=n(65478),a=n(2748),l=n(29960),u=n(20356),c=n(2692);class d extends u.Plugin{afterInit(t){Object.keys(t.o.highlightSignature.schema).length&&(t.e.on("change afterSetMode",this.walkNodes).on("afterGetValueFromEditor",d.removeUtilWrappers),this.walkNodes())}beforeDestruct(t){t.e.off("change afterSetMode",this.walkNodes).off("afterGetValueFromEditor",d.removeUtilWrappers)}walkNodes(){var t;if(!this.j.isEditorMode())return;this.checkUtilsBoxToSchema();let{j:i}=this,n=i.ed.createNodeIterator(i.editor,NodeFilter.SHOW_TEXT);null==(t=this.abortController)||t.abort(),this.workLoop(n)}runWorker(t){let i;this.j.e.mute();let n=0,{processInChunkCount:r}=this.j.o.highlightSignature;try{do{if(n+=1,!(i=t.nextNode())||this.checkNormalizing(i))return;this.checkReplaceSchemas(i)}while(i&&r>n)}finally{this.j.e.unmute()}this.workLoop(t)}workLoop(t){this.abortController=new AbortController,this.j.async.schedulerPostTask(()=>this.runWorker(t),{delay:this.j.o.highlightSignature.processDelay}).catch(()=>null)}checkNormalizing(t){return!!a.Dom.isText(t.nextSibling)&&(this.j.editor.normalize(),this.walkNodes(),!0)}checkReplaceSchemas(t){if(d.hasUtilWrapper(t))return;let i=t.nodeValue;if(null==i)return;let{j:n}=this,r=n.o.highlightSignature;for(let n in r.schema){let o=RegExp(n);if(o.test(i)){let s=i.match(o);if(!s||void 0===s.index)continue;let l=r.schema[n](this.j,s);if(l){a.Dom.markTemporary(l,{dataHighlightSchema:n}),this.replaceMatchedTextToElm(t,i,s,l);return}}}}replaceMatchedTextToElm(t,i,n,r){var o;let{j:s}=this,{range:l}=s.s,u=l.startContainer===t,c=l.startOffset,d=null!=(o=n.index)?o:0;t.nodeValue=i.substring(0,d);let h=i.substring(d+n[0].length);if(h.length){let i=s.createInside.text(h);a.Dom.after(t,i)}r.innerText=n[0],a.Dom.after(t,r),u&&this.restoreCursorPosition(c,t,r.firstChild,r.nextSibling)}static hasUtilWrapper(t){return a.Dom.isTemporary(t.parentElement)}static removeUtilWrappers(t){t.value=a.Dom.replaceTemporaryFromString(t.value)}restoreCursorPosition(t,...i){for(let n of i)if(n&&n.nodeValue){let i=n.nodeValue;if(i.length>=t){let i=this.j.s.createRange();i.setStart(n,t),this.j.s.selectRange(i,!1);break}t-=i.length}}checkUtilsBoxToSchema(){a.Dom.temporaryList(this.j.editor).forEach(t=>{var i;let n=(0,l.attr)(t,"dataHighlightSchema");if(!n)return;let r=RegExp(n),o=null!=(i=t.innerText)?i:"";(!r.test(o)||o.replace(r,"").length)&&(this.j.s.save(),a.Dom.unwrap(t),this.j.s.restore())})}constructor(...t){super(...t),(0,r._)(this,"abortController",null)}}(0,r._)(d,"requires",["license"]),(0,o.__decorate)([(0,s.debounce)()],d.prototype,"walkNodes",null),(0,o.__decorate)([s.autobind],d.prototype,"runWorker",null),c.JoditPro.plugins.add("highlight-signature",d)},46995:function(t){t.exports='<svg height="1792" viewBox="0 0 1792 1792" width="1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1262 1075q-37 121-138 195t-228 74-228-74-138-195q-8-25 4-48.5t38-31.5q25-8 48.5 4t31.5 38q25 80 92.5 129.5t151.5 49.5 151.5-49.5 92.5-129.5q8-26 32-38t49-4 37 31.5 4 48.5zm-494-435q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm512 0q0 53-37.5 90.5t-90.5 37.5-90.5-37.5-37.5-90.5 37.5-90.5 90.5-37.5 90.5 37.5 37.5 90.5zm256 256q0-130-51-248.5t-136.5-204-204-136.5-248.5-51-248.5 51-204 136.5-136.5 204-51 248.5 51 248.5 136.5 204 204 136.5 248.5 51 248.5-51 204-136.5 136.5-204 51-248.5zm128 0q0 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>'},47064:function(t,i,n){"use strict";n.d(i,{clearAttributes:function(){return o}});let r=["cellspacing","cellpadding","border","v:shapes","o:spid"];function o(t){if(/^OLE_LINK\d+$/.test(t.attributes.name)&&(t.attributes.name=null,0===t.length))return t.remove(),null;for(let i of("_GoBack"===t.attributes.name&&(t.attributes.name=null),r))t.attributes[i]&&(t.attributes[i]=null);return t}},47193:function(t,i,n){"use strict";n.r(i),i.default={aiAssistant:"AI Assistant",aiCommands:"AI Commands","AI Assistant":"AI Assistant",Prompt:"Prompt","Ask AI to improve generated text":"Ask AI to improve generated text",Submit:"Submit"}},47373:function(t,i,n){"use strict";function r(t,i,n="image/png"){let o=atob(t),s=o.length,a=new Uint8Array(s);for(let t=0;s>t;t++)a[t]=o.charCodeAt(t);return new File([new Blob([a],{type:n})],i,{type:n})}n.d(i,{base64ToFile:function(){return r}})},47615:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Simbolo"}},47660:function(t,i,n){"use strict";function r(t){let i=this.mapElements.indexOf(t);-1!==i&&(this.mapElements[i].gme.setMap(null),this.mapElements.splice(i,1),this.state.elements.splice(i,1),this.state.elements=[...this.state.elements])}n.d(i,{removeElement:function(){return r}})},47682:function(t,i,n){"use strict";var r=n(82749),o=n(31635);n(12324);var s=n(45198),a=n(78879),l=n.n(a),u=n(65478),c=n(2748),d=n(580),h=n(50911),p=n(12153),f=n(2692);class m extends h.Plugin{get style(){return(0,d.getContainer)(this.jodit,m,"style",!0)}enable(){this.isEnabled=!0;let t=this.j.o.iframe?"body":".jodit-wysiwyg",{tagList:i,color:n}=this.j.o.showBlocks;this.style.innerHTML=i.map(i=>{var r;return`${t} ${i}{
|
|
221
221
|
outline: 1px dashed ${n};
|
|
222
222
|
background-image: url("${r='<svg xmlns="http://www.w3.org/2000/svg" width="50px"><text dominant-baseline="hanging" text-anchor="end" style="fill: '+n+';font: 10px sans-serif" x="50px" y="0">'+i+"</text></svg>",`data:image/svg+xml;utf8,${escape(r)}`}");
|
|
223
223
|
background-position: top 2px ${"rtl"===this.j.o.direction?"left":"right"} 4px;
|
|
224
224
|
background-repeat: no-repeat;
|
|
225
225
|
position: relative;
|
|
226
|
-
}`}).join("")}disable(){this.isEnabled=!1;let t=(0,u.cached)(this,"style");t&&(t.innerHTML="")}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}afterInit(t){t.e.on("showBlocksEnabled",()=>this.isEnabled),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),c.Dom.safeRemove((0,u.cached)(this,"style"))}constructor(t){super(t),(0,r._)(this,"buttons",[{name:"showBlocks",group:"state"}]),(0,r._)(this,"isEnabled",!1),(0,d.extendLang)(s),p.Icon.set("showBlocks",l())}}(0,r._)(m,"requires",["license"]),(0,o.__decorate)([u.cache],m.prototype,"style",null),(0,o.__decorate)([u.autobind],m.prototype,"enable",null),(0,o.__decorate)([u.autobind],m.prototype,"disable",null),(0,o.__decorate)([u.autobind],m.prototype,"toggle",null),f.JoditPro.plugins.add("show-blocks",m)},47686:function(t,i,n){"use strict";n.d(i,{onTabInsideLi:function(){return r.onTabInsideLi}});var r=n(26658)},47749:function(t,i,n){"use strict";n.d(i,{readMargins:function(){return o}});var r=n(12475);function o(t,i,n){let o=!0,s=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(n=>{let a=t.style.getPropertyValue((0,r.kebabCase)(n));if(!a){s=!0,i[n]=0;return}/^[0-9]+(px)?$/.test(a)&&(a=parseInt(a,10)),i[n]=a,(s&&i[n]||o&&"marginTop"!==n&&i[n]!==i.marginTop)&&(o=!1)}),n.marginIsLocked=o}},48038:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0},48154:function(t){t.exports={"Show Blocks":"Mostrar Bloques"}},48538:function(t,i,n){"use strict";n.d(i,{UIElement:function(){return p}});var r,o=n(91907),s=n(55153),a=n(2748),l=n(70799),u=n(29960),c=n(14316),d=n(34176),h=n(12153);let p=r=class t extends o.ViewComponent{getRole(){var t;return(null==(t=this.options)?void 0:t.role)||""}get parentElement(){return this.__parentElement}set parentElement(t){this.__parentElement=t,t&&t.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(t){let i=this.parentElement;for(;i;)t(i),i=i.parentElement;return this}updateParentElement(t){var i;return null==(i=this.__parentElement)||i.updateParentElement(t),this}get(t,i){return super.get(t,i)||this.getElm(t)}closest(t){let i="object"==typeof t?i=>i===t:i=>o.Component.isInstanceOf(i,t),n=this.__parentElement;for(;n;){if(i(n))return n;n=!n.parentElement&&n.container.parentElement?r.closestElement(n.container.parentElement,r):n.parentElement}return null}static closestElement(t,i){let n=a.Dom.up(t,t=>{if(t){let{component:n}=t;return n&&o.Component.isInstanceOf(n,i)}return!1});return n?null==n?void 0:n.component:null}update(){}appendTo(t){return t.appendChild(this.container),this}clearName(t){return t.replace(/[^a-zA-Z0-9]/g,"_")}render(t){return this.j.c.div(this.componentName)}createContainer(t){let i=this.render(t);if((0,l.isString)(i)){let t=this.parseTemplate(i);return t.classList.add(this.componentName),t}return i}parseTemplate(t){return this.j.c.fromHTML(t.replace(/\*([^*]+?)\*/g,(t,i)=>h.Icon.get(i)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(t,i)=>this.i18n(i)))}destruct(){return a.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(t,i){super(t),this.name="",this.__parentElement=null,this.mods={},this.options=i,this.container=this.createContainer(i);const n=this.getRole();n&&(0,u.attr)(this.container,"role",n),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};p=r=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([(0,s.derive)(d.Mods,c.Elms)],p)},48591:function(t,i,n){"use strict";n.d(i,{makeInstance:function(){return s}});var r=n(82758),o=n(23282);function s(t,i){try{try{return(0,o.isFunction)(i)?new i(t):i}catch(n){if((0,o.isFunction)(i)&&!i.prototype)return i(t)}}catch(t){if(!r.IS_PROD)throw t}return null}},48705:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return r.UISettingsButton}});var r=n(76697)},49033:function(t,i,n){"use strict";n.d(i,{normalizeKeyAliases:function(){return s}});var r=n(82758),o=n(49055);function s(t){let i={},n={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return t.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(t=>(0,o.trim)(t.toLowerCase())).map(t=>r.KEY_ALIASES[t]||t).sort((t,i)=>n[t]&&!n[i]?-1:!n[t]&&n[i]?1:n[t]&&n[i]?n[t]-n[i]:t>i?1:-1).filter(t=>!i[t]&&""!==t&&(i[t]=!0)).join("+")}},49055:function(t,i,n){"use strict";n.d(i,{trim:function(){return o},trimChars:function(){return s},trimInv:function(){return a}});var r=n(82758);function o(t){return t.replace((0,r.SPACE_REG_EXP_END)(),"").replace((0,r.SPACE_REG_EXP_START)(),"")}function s(t,i){return t.replace(RegExp(`[${i}]+$`),"").replace(RegExp(`^[${i}]+`),"")}function a(t){return t.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,r.INVISIBLE_SPACE_REG_EXP_START)(),"")}},49155:function(t,i){"use strict";i.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> '},49377:function(t){t.exports='<svg viewBox="0 0 76 76" xmlns="http://www.w3.org/2000/svg"> <path d="M38 6.90909C36.2517 6.90909 34.7591 7.58381 33.5221 8.93324C32.2852 10.2827 31.6667 11.911 31.6667 13.8182V20.7273H30.0833V15.7074C30.0833 13.9801 29.5556 12.5137 28.5 11.3082C27.4444 10.1027 26.125 9.5 24.5417 9.5C23.0243 9.5 21.7214 10.0938 20.6328 11.2813C19.5443 12.4688 19 13.8902 19 15.5455V38.7017L17.4167 37.0824V27.7983C17.4167 26.071 16.8889 24.6046 15.8333 23.3991C14.7778 22.1937 13.4583 21.5909 11.875 21.5909C10.3576 21.5909 9.05469 22.1847 7.96615 23.3722C6.8776 24.5597 6.33333 25.9811 6.33333 27.6364V39.7273C6.33333 41.4186 6.91059 42.8939 8.0651 44.1534L23.4036 60.1307C24.6901 61.5341 25.3333 63.3693 25.3333 65.6364C25.3333 66.572 25.6467 67.3816 26.2734 68.0653C26.9002 68.7491 27.6424 69.0909 28.5 69.0909H60.1667C61.0243 69.0909 61.7665 68.7491 62.3932 68.0653C63.02 67.3816 63.3333 66.572 63.3333 65.6364V64.2869C63.3333 62.8116 63.4983 61.4261 63.8281 60.1307L69.1719 36.5966C69.5017 35.3011 69.6667 33.9157 69.6667 32.4403V19.1619C69.6667 17.4347 69.1389 15.9683 68.0833 14.7628C67.0278 13.5573 65.7083 12.9545 64.125 12.9545C62.6076 12.9545 61.3047 13.5483 60.2161 14.7358C59.1276 15.9233 58.5833 17.3447 58.5833 19V20.7273H57V13.9801C57 12.5407 56.5877 11.2363 55.763 10.0668C54.9384 8.89725 53.8828 8.16856 52.5964 7.88068C52.1345 7.80871 51.7552 7.77273 51.4583 7.77273C49.941 7.77273 48.638 8.36648 47.5495 9.55398C46.4609 10.7415 45.9167 12.1629 45.9167 13.8182V20.7273H44.3333V14.142C44.3333 12.3068 43.7973 10.6965 42.7253 9.31108C41.6532 7.92566 40.2925 7.14299 38.6432 6.96307C38.4783 6.92708 38.2639 6.90909 38 6.90909ZM38 0C40.7708 0 43.2283 0.899621 45.3724 2.69886C47.2526 1.47538 49.2813 0.863636 51.4583 0.863636C53.4045 0.863636 55.2352 1.34943 56.9505 2.32102C58.6658 3.29261 60.0842 4.66004 61.2057 6.4233C62.0964 6.1714 63.0694 6.04545 64.125 6.04545C67.4236 6.04545 70.2274 7.33191 72.5365 9.90483C74.8455 12.4777 76 15.5634 76 19.1619V32.4403C76 34.2756 75.7856 36.2188 75.3568 38.2699L69.9635 61.804C69.7656 62.6676 69.6667 63.9451 69.6667 65.6364C69.6667 68.5152 68.7431 70.9621 66.8958 72.9773C65.0486 74.9924 62.8056 76 60.1667 76H28.5C25.7292 76 23.4531 74.9474 21.6719 72.8423C19.8906 70.7372 19 68.1733 19 65.1506L3.76042 49.1733C1.25347 46.5464 0 43.3977 0 39.7273V27.6364C0 24.0739 1.16276 21.0241 3.48828 18.4872C5.8138 15.9503 8.60938 14.6818 11.875 14.6818C12.2378 14.6818 12.5017 14.6998 12.6667 14.7358C12.8646 11.3172 14.1098 8.43845 16.4023 6.09943C18.6949 3.76042 21.408 2.59091 24.5417 2.59091C26.2569 2.59091 27.8733 2.96875 29.3906 3.72443C31.7656 1.24148 34.6354 0 38 0Z"/> </svg>'},49399:function(t,i){"use strict";i.default='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg> '},49459:function(t,i,n){"use strict";function r(t,i,n={}){let o=t[i];if("string"!=typeof o||!n.allowEmpty&&""===o)throw Error(`Parameter "${i}" is required and must be a${n.allowEmpty?"":" non-empty"} string`);return o}n.d(i,{requireString:function(){return r}})},49759:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Symbolit"}},49841:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Szimb\xf3lum"}},49922:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg> '},49996:function(t,i,n){"use strict";n.d(i,{FiniteStateMachine:function(){return a}});var r=n(82758),o=n(70799),s=n(38837);class a{setState(t){(0,s.assert)(!this.__previewsStates.has(t),"Circled states"),this.__previewsStates.add(t),this.__state=t}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(t,i){let n=this.transitions[this.getState()][t];if(n){let t=n.call(this,i);return(0,s.assert)(t&&t!==i,"Action should return new value"),(0,s.assert)((0,o.isString)(t.next),"Value should contain the next state"),(0,s.assert)(t.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(t.next),r.IS_PROD||this.silent,t}throw Error(`invalid action: ${this.getState()}.${t.toString()}`)}constructor(t,i){this.transitions=i,this.silent=!0,this.__previewsStates=new Set,this.setState(t)}}},50050:function(t,i,n){"use strict";n.d(i,{ImageEditor:function(){return C},openImageEditor:function(){return w}});var r,o=n(91907),s=n(65478),a=n(22732),l=n(4510),u=n(49055),c=n(29960),d=n(41180),h=n(76078),p=n(37790),f=n(62843),m=n(6441);n(62489);var g=n(22461),b=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let v="jodit-image-editor",y="resize",_="crop",C=r=class t extends o.ViewComponent{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(t,i){return this.j.async.promise(n=>{let r=new Date().getTime();this.image=this.j.c.element("img"),(0,h.$$)("img,.jodit-icon_loader",this.resize_box).forEach(a.Dom.safeRemove),(0,h.$$)("img,.jodit-icon_loader",this.crop_box).forEach(a.Dom.safeRemove),(0,d.css)(this.cropHandler,"background","transparent"),this.onSave=i,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(t)?t+="&_tst="+r:t+="?_tst="+r,this.image.setAttribute("src",t),this._dialog.open();let{widthInput:o,heightInput:s}=(0,h.refs)(this.editor),l=()=>{this.isDestructed||(this.image.removeEventListener("load",l),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,o.value=this.naturalWidth.toString(),s.value=this.naturalHeight.toString(),this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),a.Dom.safeRemove.apply(null,(0,h.$$)(".jodit-icon_loader",this.editor)),this.activeTab===_&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this._dialog.setPosition(),this.j.e.fire("afterImageEditor"),n(this._dialog))};this.image.addEventListener("load",l),this.image.complete&&l()})}onTitleModeClick(t){let i=t.target,n=null==i?void 0:i.parentElement;if(!n)return;(0,h.$$)(`.${v}__slider,.${v}__area`,this.editor).forEach(t=>t.classList.remove(`${v}_active`)),n.classList.add(`${v}_active`),this.activeTab=(0,c.attr)(n,"-area")||y;let r=this.editor.querySelector(`.${v}__area.${v}__area_`+this.activeTab);r&&r.classList.add(`${v}_active`),this.activeTab===_&&this.showCrop()}onChangeSizeInput(t){let i,n=t.target,{widthInput:r,heightInput:o}=(0,h.refs)(this.editor),s="widthInput"===(0,c.attr)(n,"data-ref"),a=parseInt(n.value,10),l=s?this.o.min_width:this.o.min_height,u=s?this.o.min_height:this.o.min_width;a>l&&((0,d.css)(this.image,s?"width":"height",a),this.resizeUseRatio&&(i=s?Math.round(a/this.ratio):Math.round(a*this.ratio))>u&&((0,d.css)(this.image,s?"height":"width",i),s?o.value=i.toString():r.value=i.toString())),this.j.e.fire(this.resizeHandler,"updatesize")}onResizeHandleMouseDown(t){this.target=t.target,t.preventDefault(),t.stopImmediatePropagation(),this.clicked=!0,this.start_x=t.clientX,this.start_y=t.clientY,this.activeTab===_?(this.top_x=(0,d.css)(this.cropHandler,"left"),this.top_y=(0,d.css)(this.cropHandler,"top"),this.width=this.cropHandler.offsetWidth,this.height=this.cropHandler.offsetHeight):(this.width=this.image.offsetWidth,this.height=this.image.offsetHeight),this.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(t){this.clicked&&(this.clicked=!1,t.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(t){if(!this.clicked)return;let{widthInput:i,heightInput:n}=(0,h.refs)(this.editor);this.diff_x=t.clientX-this.start_x,this.diff_y=t.clientY-this.start_y,this.activeTab===y&&this.resizeUseRatio||this.activeTab===_&&this.cropUseRatio?this.diff_x?(this.new_w=this.width+this.diff_x,this.new_h=Math.round(this.new_w/this.ratio)):(this.new_h=this.height+this.diff_y,this.new_w=Math.round(this.new_h*this.ratio)):(this.new_w=this.width+this.diff_x,this.new_h=this.height+this.diff_y),this.activeTab===y?(this.new_w>this.o.resizeMinWidth&&((0,d.css)(this.image,"width",this.new_w+"px"),i.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,d.css)(this.image,"height",this.new_h+"px"),n.value=this.new_h.toString()),this.j.e.fire(this.resizeHandler,"updatesize")):(this.target!==this.cropHandler?(this.top_x+this.new_w>this.cropImage.offsetWidth&&(this.new_w=this.cropImage.offsetWidth-this.top_x),this.top_y+this.new_h>this.cropImage.offsetHeight&&(this.new_h=this.cropImage.offsetHeight-this.top_y),(0,d.css)(this.cropHandler,{width:this.new_w,height:this.new_h})):(this.top_x+this.diff_x+this.cropHandler.offsetWidth>this.cropImage.offsetWidth&&(this.diff_x=this.cropImage.offsetWidth-this.top_x-this.cropHandler.offsetWidth),(0,d.css)(this.cropHandler,"left",this.top_x+this.diff_x),this.top_y+this.diff_y+this.cropHandler.offsetHeight>this.cropImage.offsetHeight&&(this.diff_y=this.cropImage.offsetHeight-this.top_y-this.cropHandler.offsetHeight),(0,d.css)(this.cropHandler,"top",this.top_y+this.diff_y)),this.j.e.fire(this.cropHandler,"updatesize"))}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),a.Dom.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,`.${v}`).off(`.${v}`),super.destruct())}constructor(t){super(t),this.resizeUseRatio=!0,this.cropUseRatio=!0,this.clicked=!1,this.start_x=0,this.start_y=0,this.top_x=0,this.top_y=0,this.width=0,this.height=0,this.activeTab=y,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{let t=this.crop_box.parentNode,i=.8*t.offsetWidth,n=.8*t.offsetHeight,r=i,o=n,{naturalWidth:s,naturalHeight:a}=this;i>s&&n>a?(r=s,o=a):this.ratio>i/n?(r=i,o=i/s*a):(r=n/a*s,o=n),(0,d.css)(this.crop_box,{width:r,height:o})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();let t=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=r.calcValueByPercent(t,this.o.cropDefaultWidth);let i=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.cropUseRatio?this.new_h=this.new_w/this.ratio:this.new_h=r.calcValueByPercent(i,this.o.cropDefaultHeight),(0,d.css)(this.cropHandler,{backgroundImage:"url("+(0,c.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:t/2-this.new_w/2,top:i/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;let t=this.cropImage.offsetWidth/this.naturalWidth,i=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,d.css)(this.cropHandler,"left")/t,this.cropBox.y=(0,d.css)(this.cropHandler,"top")/i,this.cropBox.w=this.cropHandler.offsetWidth/t,this.cropBox.h=this.cropHandler.offsetHeight/i,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{let t=this,{widthInput:i,heightInput:n}=(0,h.refs)(this.editor);t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],`mousedown.${v}`,this.onResizeHandleMouseDown).on(this.j.ow,`resize.${v}`,()=>{this.j.e.fire(t.resizeHandler,"updatesize"),t.showCrop(),this.j.e.fire(t.cropHandler,"updatesize")}),t.j.e.on((0,l.toArray)(this.editor.querySelectorAll(`.${v}__slider-title`)),"click",this.onTitleModeClick).on([i,n],"input",this.onChangeSizeInput);let{keepAspectRatioResize:r,keepAspectRatioCrop:o}=(0,h.refs)(this.editor);r&&r.addEventListener("change",()=>{this.resizeUseRatio=r.checked}),o&&o.addEventListener("change",()=>{this.cropUseRatio=o.checked}),t.j.e.on(t.resizeHandler,"updatesize",()=>{(0,d.css)(t.resizeHandler,{top:0,left:0,width:t.image.offsetWidth||t.naturalWidth,height:t.image.offsetHeight||t.naturalHeight}),this.updateResizeBox()}).on(t.cropHandler,"updatesize",()=>{if(!t.cropImage)return;let i=(0,d.css)(t.cropHandler,"left"),n=(0,d.css)(t.cropHandler,"top"),r=t.cropHandler.offsetWidth,o=t.cropHandler.offsetHeight;i<0&&(i=0),n<0&&(n=0),i+r>t.cropImage.offsetWidth&&(r=t.cropImage.offsetWidth-i,t.cropUseRatio&&(o=r/t.ratio)),n+o>t.cropImage.offsetHeight&&(o=t.cropImage.offsetHeight-n,t.cropUseRatio&&(r=o*t.ratio)),(0,d.css)(t.cropHandler,{width:r,height:o,left:i,top:n,backgroundPosition:-i-1+"px "+(-n-1)+"px",backgroundSize:t.cropImage.offsetWidth+"px "+t.cropImage.offsetHeight+"px"}),t.updateCropBox()}),Object.values(t.buttons).forEach(r=>{r.onAction(()=>{let o={action:t.activeTab,box:t.activeTab===y?t.resizeBox:t.cropBox};switch(r){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",i=>{if(!(0,u.trim)(i))return t.j.alert("The name should not be empty"),!1;t.onSave(i,o,t.hide,i=>{t.j.alert(i.message)})});break;case t.buttons.save:t.onSave(void 0,o,t.hide,i=>{t.j.alert(i.message)});break;case t.buttons.reset:t.activeTab===y?((0,d.css)(t.image,{width:null,height:null}),i.value=t.naturalWidth.toString(),n.value=t.naturalHeight.toString(),t.j.e.fire(t.resizeHandler,"updatesize")):t.showCrop()}})})},this.options=t&&t.o&&t.o.imageeditor?t.o.imageeditor:m.Config.defaultOptions.imageeditor;const i=this.options;this.resizeUseRatio=i.resizeUseRatio,this.cropUseRatio=i.cropUseRatio,this.buttons={reset:(0,f.Button)(this.j,"update","Reset"),save:(0,f.Button)(this.j,"save","Save"),saveas:(0,f.Button)(this.j,{icon:{name:"save"},name:"save-as",text:"Save as ..."})},this.activeTab=i.resize?y:_,this.editor=(0,g.form)(this.j,this.options);const{resizeBox:n,cropBox:o}=(0,h.refs)(this.editor);this.resize_box=n,this.crop_box=o,this.sizes=this.editor.querySelector(`.${v}__area.${v}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${v}__resizer`),this.cropHandler=this.editor.querySelector(`.${v}__croper`),this._dialog=this.j.dlg({buttons:["fullsize","dialog.close"]}),this._dialog.setContent(this.editor),this._dialog.setSize(this.o.width,this.o.height),this._dialog.setHeader([this.buttons.reset,this.buttons.save,this.buttons.saveas]),this.setHandlers()}};function w(t,i,n,r,o,s){return this.getInstance("ImageEditor",this.o).open(t,(t,a,l,u)=>(0,p.call)("resize"===a.action?this.dataProvider.resize:this.dataProvider.crop,n,r,i,t,a.box).then(t=>{t&&(l(),o&&o())}).catch(t=>{u(t),s&&s(t)}))}C.calcValueByPercent=(t,i)=>{let n,r=i.toString(),o=parseFloat(t.toString());return(n=/^[-+]?[0-9]+(px)?$/.exec(r))?parseInt(r,10):(n=/^([-+]?[0-9.]+)%$/.exec(r))?Math.round(o*(parseFloat(n[1])/100)):o||0},b([s.autobind],C.prototype,"hide",null),b([s.autobind],C.prototype,"open",null),b([s.autobind],C.prototype,"onTitleModeClick",null),b([(0,s.debounce)(),s.autobind],C.prototype,"onChangeSizeInput",null),b([s.autobind],C.prototype,"onResizeHandleMouseDown",null),b([s.autobind],C.prototype,"onGlobalMouseUp",null),b([(0,s.throttle)(10)],C.prototype,"onGlobalMouseMove",null),C=r=b([s.component],C)},50267:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},50373:function(t,i,n){"use strict";n.d(i,{processOldBrowserDrag:function(){return c}});var r=n(82758),o=n(22732),s=n(580),a=n(21537),l=n(74569),u=n(80020);function c(t,i,n,c,d){if(i&&(!i.types.length||i.types[0]!==r.TEXT_PLAIN)){let i=t.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,s.getContainer)(t.j,t.constructor).appendChild(i);let r=(0,a.isJoditObject)(t.j)?t.j.s.save():null;i.focus(),t.j.async.setTimeout(()=>{let s=i.firstChild;if(o.Dom.safeRemove(i),s&&s.hasAttribute("src")){let i=(0,a.attr)(s,"src")||"";r&&(0,a.isJoditObject)(t.j)&&t.j.s.restore(),(0,u.sendFiles)(t,[(0,l.dataURItoBlob)(i)],n,c).finally(d)}},t.j.defaultTimeout)}}},50535:function(t,i,n){"use strict";n.d(i,{LimitedStack:function(){return r}});class r{push(t){return this.stack.push(t),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(t){return this.stack.find(t)}constructor(t){this.limit=t,this.stack=[]}}},50911:function(t,i,n){"use strict";n.d(i,{Plugin:function(){return r.Plugin}});var r=n(20356);n(41876)},50963:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.iframeBaseUrl="",r.Config.prototype.iframeTitle="Jodit Editor",r.Config.prototype.iframeDoctype="<!DOCTYPE html>",r.Config.prototype.iframeDefaultSrc="about:blank",r.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',r.Config.prototype.iframeCSSLinks=[],r.Config.prototype.iframeSandbox=null},51036:function(t,i){"use strict";i.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> '},51251:function(t,i,n){"use strict";n.d(i,{UIMainPanel:function(){return b}});var r=n(77688),o=n(82749),s=n(31635),a=n(68365),l=n(63227),u=n(86563),c=n(93677),d=n(48705),h=n(55885),p=n(65478),f=n(2748),m=n(67510),g=n(62843);class b extends m.UIElement{className(){return"UIMainPanel"}setParentView(t){var i,n,r,o,s,a;return null==(i=this.welcomeScreen)||i.setParentView(t),null==(n=this.conversationList)||n.setParentView(t),null==(r=this.messageList)||r.setParentView(t),null==(o=this.inputArea)||o.setParentView(t),null==(s=this.permissionRequest)||s.setParentView(t),null==(a=this.settingsButton)||a.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
|
|
226
|
+
}`}).join("")}disable(){this.isEnabled=!1;let t=(0,u.cached)(this,"style");t&&(t.innerHTML="")}toggle(){this.isEnabled?this.disable():this.enable(),this.j.e.fire("updateToolbar")}afterInit(t){t.e.on("showBlocksEnabled",()=>this.isEnabled),t.registerCommand("enableShowBlocks",this.enable).registerCommand("disableShowBlocks",this.disable).registerCommand("toggleShowBlocks",this.toggle),this.j.o.showBlocks.enable&&this.enable()}beforeDestruct(t){this.disable(),c.Dom.safeRemove((0,u.cached)(this,"style"))}constructor(t){super(t),(0,r._)(this,"buttons",[{name:"showBlocks",group:"state"}]),(0,r._)(this,"isEnabled",!1),(0,d.extendLang)(s),p.Icon.set("showBlocks",l())}}(0,r._)(m,"requires",["license"]),(0,o.__decorate)([u.cache],m.prototype,"style",null),(0,o.__decorate)([u.autobind],m.prototype,"enable",null),(0,o.__decorate)([u.autobind],m.prototype,"disable",null),(0,o.__decorate)([u.autobind],m.prototype,"toggle",null),f.JoditPro.plugins.add("show-blocks",m)},47686:function(t,i,n){"use strict";n.d(i,{onTabInsideLi:function(){return r.onTabInsideLi}});var r=n(26658)},47749:function(t,i,n){"use strict";n.d(i,{readMargins:function(){return o}});var r=n(12475);function o(t,i,n){let o=!0,s=!1;["marginTop","marginRight","marginBottom","marginLeft"].forEach(n=>{let a=t.style.getPropertyValue((0,r.kebabCase)(n));if(!a){s=!0,i[n]=0;return}/^[0-9]+(px)?$/.test(a)&&(a=parseInt(a,10)),i[n]=a,(s&&i[n]||o&&"marginTop"!==n&&i[n]!==i.marginTop)&&(o=!1)}),n.marginIsLocked=o}},48038:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.toolbarSticky=!0,r.Config.prototype.toolbarDisableStickyForMobile=!0,r.Config.prototype.toolbarStickyOffset=0},48154:function(t){t.exports={"Show Blocks":"Mostrar Bloques"}},48538:function(t,i,n){"use strict";n.d(i,{UIElement:function(){return p}});var r,o=n(91907),s=n(55153),a=n(2748),l=n(70799),u=n(29960),c=n(14316),d=n(34176),h=n(12153);let p=r=class t extends o.ViewComponent{getRole(){var t;return(null==(t=this.options)?void 0:t.role)||""}get parentElement(){return this.__parentElement}set parentElement(t){this.__parentElement=t,t&&t.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(t){let i=this.parentElement;for(;i;)t(i),i=i.parentElement;return this}updateParentElement(t){var i;return null==(i=this.__parentElement)||i.updateParentElement(t),this}get(t,i){return super.get(t,i)||this.getElm(t)}closest(t){let i="object"==typeof t?i=>i===t:i=>o.Component.isInstanceOf(i,t),n=this.__parentElement;for(;n;){if(i(n))return n;n=!n.parentElement&&n.container.parentElement?r.closestElement(n.container.parentElement,r):n.parentElement}return null}static closestElement(t,i){let n=a.Dom.up(t,t=>{if(t){let{component:n}=t;return n&&o.Component.isInstanceOf(n,i)}return!1});return n?null==n?void 0:n.component:null}update(){}appendTo(t){return t.appendChild(this.container),this}clearName(t){return t.replace(/[^a-zA-Z0-9]/g,"_")}render(t){return this.j.c.div(this.componentName)}createContainer(t){let i=this.render(t);if((0,l.isString)(i)){let t=this.parseTemplate(i);return t.classList.add(this.componentName),t}return i}parseTemplate(t){return this.j.c.fromHTML(t.replace(/\*([^*]+?)\*/g,(t,i)=>h.Icon.get(i)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(t,i)=>this.i18n(i)))}destruct(){return a.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(t,i){super(t),this.name="",this.__parentElement=null,this.mods={},this.options=i,this.container=this.createContainer(i);const n=this.getRole();n&&(0,u.attr)(this.container,"role",n),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};p=r=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([(0,s.derive)(d.Mods,c.Elms)],p)},48591:function(t,i,n){"use strict";n.d(i,{makeInstance:function(){return s}});var r=n(82758),o=n(23282);function s(t,i){try{try{return(0,o.isFunction)(i)?new i(t):i}catch(n){if((0,o.isFunction)(i)&&!i.prototype)return i(t)}}catch(t){if(!r.IS_PROD)throw t}return null}},48705:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return r.UISettingsButton}});var r=n(76697)},49033:function(t,i,n){"use strict";n.d(i,{normalizeKeyAliases:function(){return s}});var r=n(82758),o=n(49055);function s(t){let i={},n={meta:1,ctrl:2,control:2,alt:3,shift:4,space:5};return t.replace(/\+\+/g,"+add").split(/[\s]*\+[\s]*/).map(t=>(0,o.trim)(t.toLowerCase())).map(t=>r.KEY_ALIASES[t]||t).sort((t,i)=>n[t]&&!n[i]?-1:!n[t]&&n[i]?1:n[t]&&n[i]?n[t]-n[i]:t>i?1:-1).filter(t=>!i[t]&&""!==t&&(i[t]=!0)).join("+")}},49055:function(t,i,n){"use strict";n.d(i,{trim:function(){return o},trimChars:function(){return s},trimInv:function(){return a}});var r=n(82758);function o(t){return t.replace((0,r.SPACE_REG_EXP_END)(),"").replace((0,r.SPACE_REG_EXP_START)(),"")}function s(t,i){return t.replace(RegExp(`[${i}]+$`),"").replace(RegExp(`^[${i}]+`),"")}function a(t){return t.replace((0,r.INVISIBLE_SPACE_REG_EXP_END)(),"").replace((0,r.INVISIBLE_SPACE_REG_EXP_START)(),"")}},49155:function(t,i){"use strict";i.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> '},49377:function(t){t.exports='<svg viewBox="0 0 76 76" xmlns="http://www.w3.org/2000/svg"> <path d="M38 6.90909C36.2517 6.90909 34.7591 7.58381 33.5221 8.93324C32.2852 10.2827 31.6667 11.911 31.6667 13.8182V20.7273H30.0833V15.7074C30.0833 13.9801 29.5556 12.5137 28.5 11.3082C27.4444 10.1027 26.125 9.5 24.5417 9.5C23.0243 9.5 21.7214 10.0938 20.6328 11.2813C19.5443 12.4688 19 13.8902 19 15.5455V38.7017L17.4167 37.0824V27.7983C17.4167 26.071 16.8889 24.6046 15.8333 23.3991C14.7778 22.1937 13.4583 21.5909 11.875 21.5909C10.3576 21.5909 9.05469 22.1847 7.96615 23.3722C6.8776 24.5597 6.33333 25.9811 6.33333 27.6364V39.7273C6.33333 41.4186 6.91059 42.8939 8.0651 44.1534L23.4036 60.1307C24.6901 61.5341 25.3333 63.3693 25.3333 65.6364C25.3333 66.572 25.6467 67.3816 26.2734 68.0653C26.9002 68.7491 27.6424 69.0909 28.5 69.0909H60.1667C61.0243 69.0909 61.7665 68.7491 62.3932 68.0653C63.02 67.3816 63.3333 66.572 63.3333 65.6364V64.2869C63.3333 62.8116 63.4983 61.4261 63.8281 60.1307L69.1719 36.5966C69.5017 35.3011 69.6667 33.9157 69.6667 32.4403V19.1619C69.6667 17.4347 69.1389 15.9683 68.0833 14.7628C67.0278 13.5573 65.7083 12.9545 64.125 12.9545C62.6076 12.9545 61.3047 13.5483 60.2161 14.7358C59.1276 15.9233 58.5833 17.3447 58.5833 19V20.7273H57V13.9801C57 12.5407 56.5877 11.2363 55.763 10.0668C54.9384 8.89725 53.8828 8.16856 52.5964 7.88068C52.1345 7.80871 51.7552 7.77273 51.4583 7.77273C49.941 7.77273 48.638 8.36648 47.5495 9.55398C46.4609 10.7415 45.9167 12.1629 45.9167 13.8182V20.7273H44.3333V14.142C44.3333 12.3068 43.7973 10.6965 42.7253 9.31108C41.6532 7.92566 40.2925 7.14299 38.6432 6.96307C38.4783 6.92708 38.2639 6.90909 38 6.90909ZM38 0C40.7708 0 43.2283 0.899621 45.3724 2.69886C47.2526 1.47538 49.2813 0.863636 51.4583 0.863636C53.4045 0.863636 55.2352 1.34943 56.9505 2.32102C58.6658 3.29261 60.0842 4.66004 61.2057 6.4233C62.0964 6.1714 63.0694 6.04545 64.125 6.04545C67.4236 6.04545 70.2274 7.33191 72.5365 9.90483C74.8455 12.4777 76 15.5634 76 19.1619V32.4403C76 34.2756 75.7856 36.2188 75.3568 38.2699L69.9635 61.804C69.7656 62.6676 69.6667 63.9451 69.6667 65.6364C69.6667 68.5152 68.7431 70.9621 66.8958 72.9773C65.0486 74.9924 62.8056 76 60.1667 76H28.5C25.7292 76 23.4531 74.9474 21.6719 72.8423C19.8906 70.7372 19 68.1733 19 65.1506L3.76042 49.1733C1.25347 46.5464 0 43.3977 0 39.7273V27.6364C0 24.0739 1.16276 21.0241 3.48828 18.4872C5.8138 15.9503 8.60938 14.6818 11.875 14.6818C12.2378 14.6818 12.5017 14.6998 12.6667 14.7358C12.8646 11.3172 14.1098 8.43845 16.4023 6.09943C18.6949 3.76042 21.408 2.59091 24.5417 2.59091C26.2569 2.59091 27.8733 2.96875 29.3906 3.72443C31.7656 1.24148 34.6354 0 38 0Z"/> </svg>'},49399:function(t,i){"use strict";i.default='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <path d="M1088 1256v240q0 16-12 28t-28 12h-240q-16 0-28-12t-12-28v-240q0-16 12-28t28-12h240q16 0 28 12t12 28zm316-600q0 54-15.5 101t-35 76.5-55 59.5-57.5 43.5-61 35.5q-41 23-68.5 65t-27.5 67q0 17-12 32.5t-28 15.5h-240q-15 0-25.5-18.5t-10.5-37.5v-45q0-83 65-156.5t143-108.5q59-27 84-56t25-76q0-42-46.5-74t-107.5-32q-65 0-108 29-35 25-107 115-13 16-31 16-12 0-25-8l-164-125q-13-10-15.5-25t5.5-28q160-266 464-266 80 0 161 31t146 83 106 127.5 41 158.5z"/> </svg> '},49459:function(t,i,n){"use strict";function r(t,i,n={}){let o=t[i];if("string"!=typeof o||!n.allowEmpty&&""===o)throw Error(`Parameter "${i}" is required and must be a${n.allowEmpty?"":" non-empty"} string`);return o}n.d(i,{requireString:function(){return r}})},49759:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Symbolit"}},49841:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Szimb\xf3lum"}},49922:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M621 1280h595v-595zm-45-45l595-595h-595v595zm1152 77v192q0 14-9 23t-23 9h-224v224q0 14-9 23t-23 9h-192q-14 0-23-9t-9-23v-224h-864q-14 0-23-9t-9-23v-864h-224q-14 0-23-9t-9-23v-192q0-14 9-23t23-9h224v-224q0-14 9-23t23-9h192q14 0 23 9t9 23v224h851l246-247q10-9 23-9t23 9q9 10 9 23t-9 23l-247 246v851h224q14 0 23 9t9 23z"/> </svg> '},49996:function(t,i,n){"use strict";n.d(i,{FiniteStateMachine:function(){return a}});var r=n(82758),o=n(70799),s=n(38837);class a{setState(t){(0,s.assert)(!this.__previewsStates.has(t),"Circled states"),this.__previewsStates.add(t),this.__state=t}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(t,i){let n=this.transitions[this.getState()][t];if(n){let t=n.call(this,i);return(0,s.assert)(t&&t!==i,"Action should return new value"),(0,s.assert)((0,o.isString)(t.next),"Value should contain the next state"),(0,s.assert)(t.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(t.next),r.IS_PROD||this.silent,t}throw Error(`invalid action: ${this.getState()}.${t.toString()}`)}constructor(t,i){this.transitions=i,this.silent=!0,this.__previewsStates=new Set,this.setState(t)}}},50050:function(t,i,n){"use strict";n.d(i,{ImageEditor:function(){return C},openImageEditor:function(){return w}});var r,o=n(91907),s=n(65478),a=n(22732),l=n(4510),u=n(49055),c=n(29960),d=n(41180),h=n(76078),p=n(37790),f=n(62843),m=n(6441);n(62489);var g=n(22461),b=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let v="jodit-image-editor",y="resize",_="crop",C=r=class t extends o.ViewComponent{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(t,i){return this.j.async.promise(n=>{let r=new Date().getTime();this.image=this.j.c.element("img"),(0,h.$$)("img,.jodit-icon_loader",this.resize_box).forEach(a.Dom.safeRemove),(0,h.$$)("img,.jodit-icon_loader",this.crop_box).forEach(a.Dom.safeRemove),(0,d.css)(this.cropHandler,"background","transparent"),this.onSave=i,this.resize_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),this.crop_box.appendChild(this.j.c.element("i",{class:"jodit-icon_loader"})),/\?/.test(t)?t+="&_tst="+r:t+="?_tst="+r,this.image.setAttribute("src",t),this._dialog.open();let{widthInput:o,heightInput:s}=(0,h.refs)(this.editor),l=()=>{this.isDestructed||(this.image.removeEventListener("load",l),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,o.value=this.naturalWidth.toString(),s.value=this.naturalHeight.toString(),this.ratio=this.naturalWidth/this.naturalHeight,this.resize_box.appendChild(this.image),this.cropImage=this.image.cloneNode(!0),this.crop_box.appendChild(this.cropImage),a.Dom.safeRemove.apply(null,(0,h.$$)(".jodit-icon_loader",this.editor)),this.activeTab===_&&this.showCrop(),this.j.e.fire(this.resizeHandler,"updatesize"),this.j.e.fire(this.cropHandler,"updatesize"),this._dialog.setPosition(),this.j.e.fire("afterImageEditor"),n(this._dialog))};this.image.addEventListener("load",l),this.image.complete&&l()})}onTitleModeClick(t){let i=t.target,n=null==i?void 0:i.parentElement;if(!n)return;(0,h.$$)(`.${v}__slider,.${v}__area`,this.editor).forEach(t=>t.classList.remove(`${v}_active`)),n.classList.add(`${v}_active`),this.activeTab=(0,c.attr)(n,"-area")||y;let r=this.editor.querySelector(`.${v}__area.${v}__area_`+this.activeTab);r&&r.classList.add(`${v}_active`),this.activeTab===_&&this.showCrop()}onChangeSizeInput(t){let i,n=t.target,{widthInput:r,heightInput:o}=(0,h.refs)(this.editor),s="widthInput"===(0,c.attr)(n,"data-ref"),a=parseInt(n.value,10),l=s?this.o.min_width:this.o.min_height,u=s?this.o.min_height:this.o.min_width;a>l&&((0,d.css)(this.image,s?"width":"height",a),this.resizeUseRatio&&(i=s?Math.round(a/this.ratio):Math.round(a*this.ratio))>u&&((0,d.css)(this.image,s?"height":"width",i),s?o.value=i.toString():r.value=i.toString())),this.j.e.fire(this.resizeHandler,"updatesize")}onResizeHandleMouseDown(t){this.target=t.target,t.preventDefault(),t.stopImmediatePropagation(),this.clicked=!0,this.start_x=t.clientX,this.start_y=t.clientY,this.activeTab===_?(this.top_x=(0,d.css)(this.cropHandler,"left"),this.top_y=(0,d.css)(this.cropHandler,"top"),this.width=this.cropHandler.offsetWidth,this.height=this.cropHandler.offsetHeight):(this.width=this.image.offsetWidth,this.height=this.image.offsetHeight),this.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(t){this.clicked&&(this.clicked=!1,t.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(t){if(!this.clicked)return;let{widthInput:i,heightInput:n}=(0,h.refs)(this.editor);this.diff_x=t.clientX-this.start_x,this.diff_y=t.clientY-this.start_y,this.activeTab===y&&this.resizeUseRatio||this.activeTab===_&&this.cropUseRatio?this.diff_x?(this.new_w=this.width+this.diff_x,this.new_h=Math.round(this.new_w/this.ratio)):(this.new_h=this.height+this.diff_y,this.new_w=Math.round(this.new_h*this.ratio)):(this.new_w=this.width+this.diff_x,this.new_h=this.height+this.diff_y),this.activeTab===y?(this.new_w>this.o.resizeMinWidth&&((0,d.css)(this.image,"width",this.new_w+"px"),i.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,d.css)(this.image,"height",this.new_h+"px"),n.value=this.new_h.toString()),this.j.e.fire(this.resizeHandler,"updatesize")):(this.target!==this.cropHandler?(this.top_x+this.new_w>this.cropImage.offsetWidth&&(this.new_w=this.cropImage.offsetWidth-this.top_x),this.top_y+this.new_h>this.cropImage.offsetHeight&&(this.new_h=this.cropImage.offsetHeight-this.top_y),(0,d.css)(this.cropHandler,{width:this.new_w,height:this.new_h})):(this.top_x+this.diff_x+this.cropHandler.offsetWidth>this.cropImage.offsetWidth&&(this.diff_x=this.cropImage.offsetWidth-this.top_x-this.cropHandler.offsetWidth),(0,d.css)(this.cropHandler,"left",this.top_x+this.diff_x),this.top_y+this.diff_y+this.cropHandler.offsetHeight>this.cropImage.offsetHeight&&(this.diff_y=this.cropImage.offsetHeight-this.top_y-this.cropHandler.offsetHeight),(0,d.css)(this.cropHandler,"top",this.top_y+this.diff_y)),this.j.e.fire(this.cropHandler,"updatesize"))}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),a.Dom.safeRemove(this.editor),this.j.e&&this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove).off(this.j.ow,"mouseup",this.onGlobalMouseUp).off(this.ow,`.${v}`).off(`.${v}`),super.destruct())}constructor(t){super(t),this.resizeUseRatio=!0,this.cropUseRatio=!0,this.clicked=!1,this.start_x=0,this.start_y=0,this.top_x=0,this.top_y=0,this.width=0,this.height=0,this.activeTab=y,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{let t=this.crop_box.parentNode,i=.8*t.offsetWidth,n=.8*t.offsetHeight,r=i,o=n,{naturalWidth:s,naturalHeight:a}=this;i>s&&n>a?(r=s,o=a):this.ratio>i/n?(r=i,o=i/s*a):(r=n/a*s,o=n),(0,d.css)(this.crop_box,{width:r,height:o})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();let t=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=r.calcValueByPercent(t,this.o.cropDefaultWidth);let i=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.cropUseRatio?this.new_h=this.new_w/this.ratio:this.new_h=r.calcValueByPercent(i,this.o.cropDefaultHeight),(0,d.css)(this.cropHandler,{backgroundImage:"url("+(0,c.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:t/2-this.new_w/2,top:i/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;let t=this.cropImage.offsetWidth/this.naturalWidth,i=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,d.css)(this.cropHandler,"left")/t,this.cropBox.y=(0,d.css)(this.cropHandler,"top")/i,this.cropBox.w=this.cropHandler.offsetWidth/t,this.cropBox.h=this.cropHandler.offsetHeight/i,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{let t=this,{widthInput:i,heightInput:n}=(0,h.refs)(this.editor);t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],`mousedown.${v}`,this.onResizeHandleMouseDown).on(this.j.ow,`resize.${v}`,()=>{this.j.e.fire(t.resizeHandler,"updatesize"),t.showCrop(),this.j.e.fire(t.cropHandler,"updatesize")}),t.j.e.on((0,l.toArray)(this.editor.querySelectorAll(`.${v}__slider-title`)),"click",this.onTitleModeClick).on([i,n],"input",this.onChangeSizeInput);let{keepAspectRatioResize:r,keepAspectRatioCrop:o}=(0,h.refs)(this.editor);r&&r.addEventListener("change",()=>{this.resizeUseRatio=r.checked}),o&&o.addEventListener("change",()=>{this.cropUseRatio=o.checked}),t.j.e.on(t.resizeHandler,"updatesize",()=>{(0,d.css)(t.resizeHandler,{top:0,left:0,width:t.image.offsetWidth||t.naturalWidth,height:t.image.offsetHeight||t.naturalHeight}),this.updateResizeBox()}).on(t.cropHandler,"updatesize",()=>{if(!t.cropImage)return;let i=(0,d.css)(t.cropHandler,"left"),n=(0,d.css)(t.cropHandler,"top"),r=t.cropHandler.offsetWidth,o=t.cropHandler.offsetHeight;i<0&&(i=0),n<0&&(n=0),i+r>t.cropImage.offsetWidth&&(r=t.cropImage.offsetWidth-i,t.cropUseRatio&&(o=r/t.ratio)),n+o>t.cropImage.offsetHeight&&(o=t.cropImage.offsetHeight-n,t.cropUseRatio&&(r=o*t.ratio)),(0,d.css)(t.cropHandler,{width:r,height:o,left:i,top:n,backgroundPosition:-i-1+"px "+(-n-1)+"px",backgroundSize:t.cropImage.offsetWidth+"px "+t.cropImage.offsetHeight+"px"}),t.updateCropBox()}),Object.values(t.buttons).forEach(r=>{r.onAction(()=>{let o={action:t.activeTab,box:t.activeTab===y?t.resizeBox:t.cropBox};switch(r){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",i=>{if(!(0,u.trim)(i))return t.j.alert("The name should not be empty"),!1;t.onSave(i,o,t.hide,i=>{t.j.alert(i.message)})});break;case t.buttons.save:t.onSave(void 0,o,t.hide,i=>{t.j.alert(i.message)});break;case t.buttons.reset:t.activeTab===y?((0,d.css)(t.image,{width:null,height:null}),i.value=t.naturalWidth.toString(),n.value=t.naturalHeight.toString(),t.j.e.fire(t.resizeHandler,"updatesize")):t.showCrop()}})})},this.options=t&&t.o&&t.o.imageeditor?t.o.imageeditor:m.Config.defaultOptions.imageeditor;const i=this.options;this.resizeUseRatio=i.resizeUseRatio,this.cropUseRatio=i.cropUseRatio,this.buttons={reset:(0,f.Button)(this.j,"update","Reset"),save:(0,f.Button)(this.j,"save","Save"),saveas:(0,f.Button)(this.j,{icon:{name:"save"},name:"save-as",text:"Save as ..."})},this.activeTab=i.resize?y:_,this.editor=(0,g.form)(this.j,this.options);const{resizeBox:n,cropBox:o}=(0,h.refs)(this.editor);this.resize_box=n,this.crop_box=o,this.sizes=this.editor.querySelector(`.${v}__area.${v}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${v}__resizer`),this.cropHandler=this.editor.querySelector(`.${v}__croper`),this._dialog=this.j.dlg({buttons:["fullsize","dialog.close"]}),this._dialog.setContent(this.editor),this._dialog.setSize(this.o.width,this.o.height),this._dialog.setHeader([this.buttons.reset,this.buttons.save,this.buttons.saveas]),this.setHandlers()}};function w(t,i,n,r,o,s){return this.getInstance("ImageEditor",this.o).open(t,(t,a,l,u)=>(0,p.call)("resize"===a.action?this.dataProvider.resize:this.dataProvider.crop,n,r,i,t,a.box).then(t=>{t&&(l(),o&&o("string"==typeof t?t:void 0))}).catch(t=>{u(t),s&&s(t)}))}C.calcValueByPercent=(t,i)=>{let n,r=i.toString(),o=parseFloat(t.toString());return(n=/^[-+]?[0-9]+(px)?$/.exec(r))?parseInt(r,10):(n=/^([-+]?[0-9.]+)%$/.exec(r))?Math.round(o*(parseFloat(n[1])/100)):o||0},b([s.autobind],C.prototype,"hide",null),b([s.autobind],C.prototype,"open",null),b([s.autobind],C.prototype,"onTitleModeClick",null),b([(0,s.debounce)(),s.autobind],C.prototype,"onChangeSizeInput",null),b([s.autobind],C.prototype,"onResizeHandleMouseDown",null),b([s.autobind],C.prototype,"onGlobalMouseUp",null),b([(0,s.throttle)(10)],C.prototype,"onGlobalMouseMove",null),C=r=b([s.component],C)},50267:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path stroke-width="0" d="M384 1408q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm0-512q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm-1408-928q0 80-56 136t-136 56-136-56-56-136 56-136 136-56 136 56 56 136zm1408 416v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5zm0-512v192q0 13-9.5 22.5t-22.5 9.5h-1216q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1216q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},50373:function(t,i,n){"use strict";n.d(i,{processOldBrowserDrag:function(){return c}});var r=n(82758),o=n(22732),s=n(580),a=n(21537),l=n(74569),u=n(80020);function c(t,i,n,c,d){if(i&&(!i.types.length||i.types[0]!==r.TEXT_PLAIN)){let i=t.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,s.getContainer)(t.j,t.constructor).appendChild(i);let r=(0,a.isJoditObject)(t.j)?t.j.s.save():null;i.focus(),t.j.async.setTimeout(()=>{let s=i.firstChild;if(o.Dom.safeRemove(i),s&&s.hasAttribute("src")){let i=(0,a.attr)(s,"src")||"";r&&(0,a.isJoditObject)(t.j)&&t.j.s.restore(),(0,u.sendFiles)(t,[(0,l.dataURItoBlob)(i)],n,c).finally(d)}},t.j.defaultTimeout)}}},50535:function(t,i,n){"use strict";n.d(i,{LimitedStack:function(){return r}});class r{push(t){return this.stack.push(t),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(t){return this.stack.find(t)}constructor(t){this.limit=t,this.stack=[]}}},50911:function(t,i,n){"use strict";n.d(i,{Plugin:function(){return r.Plugin}});var r=n(20356);n(41876)},50963:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.iframeBaseUrl="",r.Config.prototype.iframeTitle="Jodit Editor",r.Config.prototype.iframeDoctype="<!DOCTYPE html>",r.Config.prototype.iframeDefaultSrc="about:blank",r.Config.prototype.iframeStyle='html{margin:0;padding:0;min-height: 100%;}body{box-sizing:border-box;font-size:13px;line-height:1.6;padding:10px;margin:0;background:transparent;color:#000;position:relative;z-index:2;user-select:auto;margin:0px;overflow:auto;outline:none;}table{width:100%;border:none;border-collapse:collapse;empty-cells: show;max-width: 100%;}th,td{padding: 2px 5px;border:1px solid #ccc;-webkit-user-select:text;-moz-user-select:text;-ms-user-select:text;user-select:text}p{margin-top:0;}.jodit_editor .jodit_iframe_wrapper{display: block;clear: both;user-select: none;position: relative;}.jodit_editor .jodit_iframe_wrapper:after {position:absolute;content:"";z-index:1;top:0;left:0;right: 0;bottom: 0;cursor: pointer;display: block;background: rgba(0, 0, 0, 0);} .jodit_disabled{user-select: none;-o-user-select: none;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;-ms-user-select: none}',r.Config.prototype.iframeCSSLinks=[],r.Config.prototype.iframeSandbox=null},51036:function(t,i){"use strict";i.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> '},51251:function(t,i,n){"use strict";n.d(i,{UIMainPanel:function(){return b}});var r=n(77688),o=n(82749),s=n(31635),a=n(68365),l=n(63227),u=n(86563),c=n(93677),d=n(48705),h=n(55885),p=n(65478),f=n(2748),m=n(67510),g=n(62843);class b extends m.UIElement{className(){return"UIMainPanel"}setParentView(t){var i,n,r,o,s,a;return null==(i=this.welcomeScreen)||i.setParentView(t),null==(n=this.conversationList)||n.setParentView(t),null==(r=this.messageList)||r.setParentView(t),null==(o=this.inputArea)||o.setParentView(t),null==(s=this.permissionRequest)||s.setParentView(t),null==(a=this.settingsButton)||a.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
|
|
227
227
|
<div class="&__header">
|
|
228
228
|
<div class="&__header-left"></div>
|
|
229
229
|
<div class="&__header-title"></div>
|
|
@@ -234,7 +234,7 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
|
|
|
234
234
|
<div class="&__loading-spinner"></div>
|
|
235
235
|
</div>
|
|
236
236
|
<div class="&__footer"></div>
|
|
237
|
-
</div>`}addResize(){}afterRender(){this.content=this.getElm("content"),this.createComponents(),this.createHeaderButtons(),this.__updateView("welcome")}__onChangeView(){return(0,r._)(function*(){this.__updateView(this.state.currentView,this.state.currentConversation)}).call(this)}createComponents(){this.welcomeScreen=new h.UIWelcomeScreen(this.j),this.conversationList=new a.UIConversationList(this.j,this.options),this.messageList=new u.UIMessageList(this.j,this.options),this.inputArea=new l.UIInputArea(this.j,this.options),this.getElm("footer").appendChild(this.inputArea.container)}createHeaderButtons(){let t=this.getElm("header-left"),i=this.getElm("header-right"),n=new g.UIButton(this.j,{icon:{name:"angle-left"},size:"small",variant:"initial"});n.container.classList.add(this.getFullElName("back-button")),this.j.e.on(n,"click",()=>{this.j.e.fire("backToList.ai-assistant-pro")}),t.appendChild(n.container);let r=new g.UIButton(this.j,{icon:{name:"plus"},size:"small",tooltip:"New chat",variant:"initial"});if(r.container.classList.add(this.getFullElName("new-button")),this.j.e.on(r,"click",()=>{this.j.e.fire("newConversation.ai-assistant-pro")}),i.appendChild(r.container),this.shouldShowSettings()&&(this.settingsButton=new d.UISettingsButton(this.j,this.state,this.options,()=>this.state.currentConversation,this.updateConversation),this.settingsButton.container.classList.add(this.getFullElName("settings-button")),i.appendChild(this.settingsButton.container)),"dialog"===this.mods.displayMode||!1===this.mods.allowClose)return;let o=new g.UIButton(this.j,{icon:{name:"cancel"},size:"small",tooltip:"Close",variant:"initial"});o.container.classList.add(this.getFullElName("close-button")),this.j.e.on(o,"click",()=>{this.j.e.fire("closeAIAssistantPro.ai-assistant-pro")}),i.appendChild(o.container)}isFlightMode(){return"flight"===this.mods.displayMode}shouldShowSettings(){let t=this.options,i=t.allowEditDisplayMode||t.allowEditPanelWidth,n=t.allowEditDialogSettings;return i||n}__updateView(t,i=null){var n;null==(n=this.settingsButton)||n.update();let r=this.getElm("header-title");this.setMod("view",t);let o=this.isFlightMode();switch(t){case"welcome":r.textContent=this.j.i18n("AI Assistant"),f.Dom.safeRemove(this.conversationList.container),f.Dom.safeRemove(this.messageList.container),this.content.appendChild(this.welcomeScreen.container),this.inputArea.focus();break;case"conversationList":r.textContent=this.j.i18n("AI Assistant"),f.Dom.safeRemove(this.welcomeScreen.container),f.Dom.safeRemove(this.messageList.container),this.conversationList.container.isConnected||this.content.appendChild(this.conversationList.container);break;case"conversation":r.textContent=o?this.j.i18n("AI Assistant"):(null==i?void 0:i.title)||this.j.i18n("Conversation"),f.Dom.safeRemove(this.welcomeScreen.container),f.Dom.safeRemove(this.conversationList.container),this.messageList.container.isConnected||this.content.appendChild(this.messageList.container),i&&this.messageList.setMessages(i.messages),this.inputArea.focus()}}onChangeCurrentConversation(){let{currentConversation:t}=this.state;t&&(this.conversationList.setActiveConversation(t.id),this.messageList.setMessages(t.messages))}onChangeConversations(){this.conversationList.setConversations(this.state.conversations)}onChangeSelectionContexts(){this.inputArea.setContexts(this.state.selectionContexts)}onChangeLoading(){this.inputArea.setLoading(this.state.isLoading)}onChangePendingToolCalls(){this.state.pendingToolCalls&&this.state.pendingToolCalls.length>0?this.showPermissionRequest(this.state.pendingToolCalls[0]):this.hidePermissionRequest()}showPermissionRequest(t){this.permissionRequest||(this.permissionRequest=new c.UIPermissionRequest(this.j,this.options)),this.permissionRequest.setToolCall(t);let i=this.getElm("footer");i.contains(this.permissionRequest.container)||i.insertBefore(this.permissionRequest.container,this.inputArea.container)}hidePermissionRequest(){this.permissionRequest&&this.permissionRequest.container.parentNode&&this.permissionRequest.container.parentNode.removeChild(this.permissionRequest.container)}destruct(){var t,i,n,r,o,s;null==(t=this.welcomeScreen)||t.destruct(),null==(i=this.conversationList)||i.destruct(),null==(n=this.messageList)||n.destruct(),null==(r=this.inputArea)||r.destruct(),null==(o=this.permissionRequest)||o.destruct(),null==(s=this.settingsButton)||s.destruct(),super.destruct()}constructor(t,i,n,r){super(t),(0,o._)(this,"state",void 0),(0,o._)(this,"options",void 0),(0,o._)(this,"updateConversation",void 0),(0,o._)(this,"permissionRequest",void 0),(0,o._)(this,"settingsButton",void 0),(0,o._)(this,"content",void 0),this.state=i,this.options=n,this.updateConversation=r,this.permissionRequest=null,this.settingsButton=null}}(0,s.__decorate)([(0,p.hook)("ready")],b.prototype,"afterRender",null),(0,s.__decorate)([(0,p.watch)(["state.currentView","state.currentConversation"])],b.prototype,"__onChangeView",null),(0,s.__decorate)([(0,p.watch)("state.currentConversation")],b.prototype,"onChangeCurrentConversation",null),(0,s.__decorate)([(0,p.watch)("state.conversations")],b.prototype,"onChangeConversations",null),(0,s.__decorate)([(0,p.watch)("state.selectionContexts")],b.prototype,"onChangeSelectionContexts",null),(0,s.__decorate)([(0,p.watch)("state.isLoading")],b.prototype,"onChangeLoading",null),(0,s.__decorate)([(0,p.watch)("state.pendingToolCalls")],b.prototype,"onChangePendingToolCalls",null),b=(0,s.__decorate)([p.component],b)},51359:function(t,i,n){"use strict";n.d(i,{UIMessageListItem:function(){return h}});var r=n(82749),o=n(31635),s=n(81835),a=n(65478),l=n(67510),u=n(62843),c=n(62405),d=n(80870);class h extends l.UIElement{className(){return"UIMessageListItem"}render(){return`<div class="${this.getFullElName("message")}"></div>`}onReady(){this.updateContent(),this.contextMenu=new d.ContextMenu(this.j)}updateContent(){let t=this.container;t.innerHTML="",t.setAttribute("data-message-id",this.message.id),t.setAttribute("data-role",this.message.role);let i=this.j.c.div(this.getFullElName("message-bubble"));i.classList.add(this.getFullElName("message-bubble",this.message.role,!0));let n=this.j.c.div(this.getFullElName("message-content"));if(n.innerHTML=this.formatMessageContent(this.message.content),i.appendChild(n),this.opts.showTimestamps){let t=this.j.c.div(this.getFullElName("message-timestamp"));t.textContent=this.formatTimestamp(this.message.timestamp),i.appendChild(t)}let r=this.j.c.div(this.getFullElName("message-actions"));if(this.renderActionsButton(r),i.appendChild(r),t.appendChild(i),this.message.toolCalls&&this.message.toolCalls.length>0){let i=this.j.c.div(this.getFullElName("tool-calls"));t.appendChild(i),this.message.toolCalls.forEach(t=>{let n=this.createToolCallElement(t);i.appendChild(n)})}this.message.artifacts&&this.message.artifacts.length>0&&this.renderArtifacts()}renderActionsButton(t){let i=this.opts;(i.showCopyMessageAction||i.showRestartMessageAction||i.showEditMessageAction||i.showDeleteMessageAction)&&(this.actionsButton=new u.UIButton(this.j,{icon:{name:"dots"},tooltip:"Message actions",name:"messageActions",size:"tiny"}),this.actionsButton.onAction(t=>{this.showActionsMenu(t)}),t.appendChild(this.actionsButton.container))}showActionsMenu(t){if(!this.contextMenu||!this.actionsButton)return;let i=this.j,n=i.o.aiAssistantPro,r=[];n.showCopyMessageAction&&r.push({title:"Copy message",icon:"copy",exec:()=>{this.j.e.fire("copyMessage.ai-assistant-pro",this.message.id)}}),"user"===this.message.role&&(n.showRestartMessageAction&&r.push({title:"Restart from here",icon:"update",exec:()=>{this.j.e.fire("restartFromMessage.ai-assistant-pro",this.message.id)}}),n.showEditMessageAction&&r.push({title:"Edit message",icon:"pencil",exec:()=>{this.j.e.fire("editMessage.ai-assistant-pro",this.message.id)}})),n.showDeleteMessageAction&&r.push({title:"Delete message",icon:"bin",exec:()=>{i.confirm("Are you sure you want to delete this message?","Delete message",t=>{t&&this.j.e.fire("deleteMessage.ai-assistant-pro",this.message.id)})}});let o=this.actionsButton.container.getBoundingClientRect();this.contextMenu.show(o.left,o.bottom,r),t.stopPropagation()}renderArtifacts(){if(!this.message.artifacts||0===this.message.artifacts.length)return;let t=this.j.c.div(this.getFullElName("artifacts"));this.container.appendChild(t),this.artifactGroup||(this.artifactGroup=new c.UIGroup(this.j),this.artifactGroup.container.className="jodit-ui-artifact-group"),this.artifactGroup.clear(),this.message.artifacts.forEach(t=>{let i=new s.UIArtifact(this.j,t);this.artifactGroup.append(i)}),t.appendChild(this.artifactGroup.container)}createToolCallElement(t){let i=this.j.c.div(this.getFullElName("tool-call"));i.setAttribute("data-tool-id",t.id),i.setAttribute("data-status",t.status);let n=this.j.c.div(this.getFullElName("tool-header")),r=this.j.c.div(this.getFullElName("tool-icon"));r.classList.add(this.getFullElName("tool-icon",t.status,!0)),r.textContent="⚡";let o=this.j.c.div(this.getFullElName("tool-name"));o.textContent=this.j.i18n(t.name);let s=this.j.c.div(this.getFullElName("tool-status"));s.textContent=this.getToolStatusText(t.status||"unknown"),n.appendChild(r),n.appendChild(o),n.appendChild(s),i.appendChild(n);let a=this.createExpandableSection("Arguments",JSON.stringify(t.arguments||{},null,2));if(i.appendChild(a),t.result){let n=t.result.error?`Error: ${t.result.error}`:t.result.result||"",r=this.createExpandableSection("Result","string"==typeof n?n:JSON.stringify(n,null,2));i.appendChild(r)}return i}createExpandableSection(t,i){let n=this.j.c.div(this.getFullElName("tool-expandable")),r=this.j.c.element("button",{type:"button",class:this.getFullElName("tool-expandable-toggle")});r.textContent=`▶ ${this.j.i18n(t)}`;let o=this.j.c.element("pre",{class:this.getFullElName("tool-expandable-content")});return o.textContent=i,o.style.display="none",this.j.e.on(r,"click",()=>{"none"!==o.style.display?(o.style.display="none",r.textContent=`▶ ${this.j.i18n(t)}`):(o.style.display="block",r.textContent=`▼ ${this.j.i18n(t)}`)}),n.appendChild(r),n.appendChild(o),n}getToolStatusText(t){return({pending:"⏳",approved:"✓",denied:"✕",executing:"⚡",executed:"✓",error:"⚠"})[t]||"●"}formatMessageContent(t){return(0,this.opts.formatMessageContent)(t,this.message.role,this.j.i18n.bind(this.j))}formatTimestamp(t){return(0,this.opts.formatTimestamp)(t,this.j.i18n.bind(this.j))}updateMessage(t){this.message=t,this.updateContent()}destruct(){var t,i,n;null==(t=this.actionsButton)||t.destruct(),null==(i=this.contextMenu)||i.destruct(),null==(n=this.artifactGroup)||n.destruct(),super.destruct()}constructor(t,i,n){super(t),(0,r._)(this,"message",void 0),(0,r._)(this,"opts",void 0),(0,r._)(this,"artifactGroup",void 0),(0,r._)(this,"actionsButton",void 0),(0,r._)(this,"contextMenu",void 0),this.message=i,this.opts=n,this.artifactGroup=null,this.actionsButton=null,this.contextMenu=null}}(0,o.__decorate)([(0,a.hook)("ready")],h.prototype,"onReady",null),h=(0,o.__decorate)([a.component],h)},51586:function(t,i,n){"use strict";n.d(i,{applyStylesPro:function(){return u}});var r=n(19606),o=n(2748),s=n(29960),a=n(76078),l=n(97420);function u(t,i,n,c=""){let d=document.createElement("iframe");d.style.display="none",document.body.appendChild(d);try{var h,p;let o=null!=(h=d.contentDocument)?h:null==(p=d.contentWindow)?void 0:p.document;if(!o)return i;o.open(),o.write(i),o.close();let u="jd-style";for(let t=0;t<o.styleSheets.length;t+=1)try{let i=o.styleSheets[t].cssRules;for(let t=0;t<i.length;t+=1)i[t].selectorText&&(0,a.$$)(i[t].selectorText,o.body).forEach(n=>{(0,s.attr)(n,u)||((0,s.attr)(n,u,(0,s.attr)(n,"style")||""),(0,s.attr)(n,"style","")),(0,s.attr)(n,"style",`${(0,s.attr)(n,"style")};${i[t].style.cssText}`)})}catch(t){}return(0,a.$$)(`[${u}]`,o.body).forEach(t=>{(0,s.attr)(t,"style",`${(0,s.attr)(t,"style")};${(0,s.attr)(t,u)}`)}),(0,r.transformWordToHtml)(t,l.JElement.make(o.body),n,c)}finally{o.Dom.safeRemove(d)}}},51642:function(t,i,n){"use strict";n.d(i,{readAlign:function(){return o}});var r=n(41180);function o(t,i){t.style.cssFloat&&-1!==["left","right"].indexOf(t.style.cssFloat.toLowerCase())?i.align=(0,r.css)(t,"float"):"block"===(0,r.css)(t,"display")&&"auto"===t.style.marginLeft&&"auto"===t.style.marginRight?i.align="center":i.align=""}},51804:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbool"}},51834:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Altezza linea"}},51855:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg> '},52230:function(t,i){"use strict";i.default={"copy-format":"복사 형식"}},52285:function(t,i){"use strict";i.default={"copy-format":"کپی کردن قالب"}},52507:function(t,i){"use strict";i.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> '},52604:function(t,i,n){"use strict";n.d(i,{Snapshot:function(){return a}});var r=n(91907),o=n(82758),s=n(2748);class a extends r.ViewComponent{className(){return"Snapshot"}static equal(t,i){return t.html===i.html&&JSON.stringify(t.range)===JSON.stringify(i.range)}static countNodesBeforeInParent(t){if(!t.parentNode)return 0;let i=t.parentNode.childNodes,n=0,r=null;for(let o=0;o<i.length;o+=1){if(!r||this.isIgnoredNode(i[o])||s.Dom.isText(r)&&s.Dom.isText(i[o])||(n+=1),i[o]===t)return n;r=i[o]}return 0}static strokeOffset(t,i){for(;s.Dom.isText(t);)t=t.previousSibling,s.Dom.isText(t)&&t.nodeValue&&(i+=t.nodeValue.length);return i}calcHierarchyLadder(t){let i=[];if(!t||!t.parentNode||!s.Dom.isOrContains(this.j.editor,t))return[];for(;t&&t!==this.j.editor;)t&&!a.isIgnoredNode(t)&&i.push(a.countNodesBeforeInParent(t)),t=t.parentNode;return i.reverse()}getElementByLadder(t){let i=this.j.editor,n;for(n=0;i&&n<t.length;n+=1)i=i.childNodes[t[n]];return i}get isBlocked(){return this.__isBlocked}__block(t){this.__isBlocked=t}transaction(t){this.__block(!0),this.__levelOfTransaction+=1;try{t()}catch(t){if(!o.IS_PROD)throw t}finally{this.__levelOfTransaction-=1,0===this.__levelOfTransaction&&this.__block(!1)}}make(){let t={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};t.html=this.__getCleanedEditorValue(this.j.editor);let i=this.j.s.sel;if(i&&i.rangeCount){let n=i.getRangeAt(0),r=this.calcHierarchyLadder(n.startContainer),o=this.calcHierarchyLadder(n.endContainer),s=a.strokeOffset(n.startContainer,n.startOffset),l=a.strokeOffset(n.endContainer,n.endOffset);r.length||n.startContainer===this.j.editor||(s=0),o.length||n.endContainer===this.j.editor||(l=0),t.range={startContainer:r,startOffset:s,endContainer:o,endOffset:l}}return t}restore(t){this.transaction(()=>{let i=this.storeScrollState();this.__getCleanedEditorValue(this.j.editor)!==t.html&&(this.j.value=t.html),this.restoreOnlySelection(t),this.restoreScrollState(i)})}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(t){let{j:i}=this,{ow:n}=i;n.scrollTo(n.scrollX,t[0]),i.editor.scrollTop=t[1]}restoreOnlySelection(t){try{if(t.range){let i=this.j.ed.createRange();i.setStart(this.getElementByLadder(t.range.startContainer),t.range.startOffset),i.setEnd(this.getElementByLadder(t.range.endContainer),t.range.endOffset),this.j.s.selectRange(i)}}catch(t){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild),o.IS_PROD}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(t){return s.Dom.isText(t)&&!t.nodeValue||s.Dom.isTemporary(t)}__getCleanedEditorValue(t){let i=t.cloneNode(!0);return s.Dom.temporaryList(i).forEach(s.Dom.unwrap),i.innerHTML}constructor(){super(...arguments),this.__isBlocked=!1,this.__levelOfTransaction=0}}},52742:function(t,i,n){"use strict";function r(t){return null!=t&&t===t.window}n.d(i,{isWindow:function(){return r}})},52826:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="readSelection",o="Get information about the current selection including HTML content and optional context",s=[{name:"contextCharsBefore",type:"number",description:"Number of characters to include before the selection",required:!1,default:0},{name:"contextCharsAfter",type:"number",description:"Number of characters to include after the selection",required:!1,default:0}],a=!1},52951:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(50911);n(36204);var c=n(70022),d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class h extends u.Plugin{onInsertHTML(t){var i;if(!this.j.o.readonly&&!this.j.isEditorMode())return null==(i=this.sourceEditor)||i.insertRaw(t),this.toWYSIWYG(),!1}fromWYSIWYG(t=!1){if(!this.__lock||!0===t){this.__lock=!0;let t=this.j.getEditorValue(!1,r.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;let t=this.getMirrorValue();t!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=t,this.__lock=!1,this.__oldMirrorValue=t)}getNormalPosition(t,i){for(i=i.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,t=>{let i="";for(let n=0;n<t.length;n+=1)i+=r.INVISIBLE_SPACE;return i});t>0&&i[t]===r.INVISIBLE_SPACE;)t--;let n=t;for(;n>0;){if("<"===i[--n]&&void 0!==i[n+1]&&i[n+1].match(/[\w/]+/i))return n;if(">"===i[n])break}return t}clnInv(t){return t.replace(r.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(t){var i;if("selectall"===t.toLowerCase()&&this.j.getRealMode()===r.MODE_SOURCE)return null==(i=this.sourceEditor)||i.selectAll(),!1}getMirrorValue(){var t;return(null==(t=this.sourceEditor)?void 0:t.getValue())||""}setMirrorValue(t){var i;null==(i=this.sourceEditor)||i.setValue(t)}setFocusToMirror(){var t;null==(t=this.sourceEditor)||t.focus()}saveSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;let t=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){let i=this.j.s.marker(!0),n=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(t.substring(0,n)+this.clnInv(i.outerHTML)+t.substring(n))}else{let i=this.j.s.marker(!0),n=this.j.s.marker(!1),r=this.getNormalPosition(this.getSelectionStart(),t),o=this.getNormalPosition(this.getSelectionEnd(),t);this.setMirrorValue(t.slice(0,r)+this.clnInv(i.outerHTML)+t.slice(r,o)+this.clnInv(n.outerHTML)+t.slice(o))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG){this.__lock=!0,this.j.s.restore(),this.__lock=!1;return}let t=this.getMirrorValue(),i=0,n=0;try{if(t=t.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let i=this.j.e.fire("beautifyHTML",t);(0,l.isString)(i)&&(t=i)}if(n=i=t.indexOf(this.tempMarkerStart),t=t.replace(this.tempMarkerStartReg,""),-1!==i){let i=t.indexOf(this.tempMarkerEnd);-1!==i&&(n=i)}t=t.replace(this.tempMarkerEndReg,"")}finally{t=t.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(t),this.setMirrorSelectionRange(i,n),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(t,i){var n;null==(n=this.sourceEditor)||n.setSelectionRange(t,i)}onReadonlyReact(){var t;null==(t=this.sourceEditor)||t.setReadOnly(this.j.o.readonly)}afterInit(t){if(this.mirrorContainer=t.c.div("jodit-source"),t.workplace.appendChild(this.mirrorContainer),t.e.on("afterAddPlace changePlace afterInit",()=>{t.workplace.appendChild(this.mirrorContainer)}),this.sourceEditor=(0,c.createSourceEditor)("area",t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),t.e.on(t.ow,"keydown",t=>{var i;t.key===r.KEY_ESC&&(null==(i=this.sourceEditor)?void 0:i.isFocused)&&this.sourceEditor.blur()}),this.onReadonlyReact(),t.e.on("placeholder.source",t=>{var i;null==(i=this.sourceEditor)||i.setPlaceHolder(t)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",t=>t),t.o.beautifyHTML){let i=()=>{var i;if(t.isInDestruct)return!1;let n=t.ow.html_beautify;return!!n&&!t.isInDestruct&&(null==(i=t.events)||i.off("beautifyHTML").on("beautifyHTML",t=>n(t)),!0)};i()||(0,l.loadNext)(t,t.o.beautifyHTMLCDNUrlsJS).then(i,()=>null)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(t)}syncValueFromWYSIWYG(t=!1){let i=this.j;(i.getMode()===r.MODE_SPLIT||i.getMode()===r.MODE_SOURCE)&&this.fromWYSIWYG(t)}initSourceEditor(t){var i;if("area"!==t.o.sourceEditor){let i=(0,c.createSourceEditor)(t.o.sourceEditor,t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);i.onReadyAlways(()=>{var n,r;null==(n=this.sourceEditor)||n.destruct(),this.sourceEditor=i,this.syncValueFromWYSIWYG(!0),null==(r=t.events)||r.fire("sourceEditorReady",t)})}else null==(i=this.sourceEditor)||i.onReadyAlways(()=>{var i;this.syncValueFromWYSIWYG(!0),null==(i=t.events)||i.fire("sourceEditorReady",t)})}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),s.Dom.safeRemove(this.mirrorContainer)}constructor(){super(...arguments),this.buttons=[{name:"source",group:"source"}],this.__lock=!1,this.__oldMirrorValue="",this.tempMarkerStart="{start-jodit-selection}",this.tempMarkerStartReg=/{start-jodit-selection}/g,this.tempMarkerEnd="{end-jodit-selection}",this.tempMarkerEndReg=/{end-jodit-selection}/g,this.getSelectionStart=()=>{var t,i;return null!=(i=null==(t=this.sourceEditor)?void 0:t.getSelectionStart())?i:0},this.getSelectionEnd=()=>{var t,i;return null!=(i=null==(t=this.sourceEditor)?void 0:t.getSelectionEnd())?i:0}}}d([(0,o.watch)(":insertHTML.source")],h.prototype,"onInsertHTML",null),d([o.autobind],h.prototype,"fromWYSIWYG",null),d([o.autobind],h.prototype,"toWYSIWYG",null),d([o.autobind],h.prototype,"getNormalPosition",null),d([(0,o.watch)(":beforeCommand.source")],h.prototype,"onSelectAll",null),d([(0,o.watch)(":beforeSetMode.source")],h.prototype,"saveSelection",null),d([(0,o.watch)(":afterSetMode.source")],h.prototype,"removeSelection",null),d([o.autobind],h.prototype,"setMirrorSelectionRange",null),d([(0,o.watch)(":readonly.source")],h.prototype,"onReadonlyReact",null),d([o.autobind],h.prototype,"syncValueFromWYSIWYG",null),a.pluginSystem.add("source",h)},52968:function(t,i,n){"use strict";n.d(i,{AceEditor:function(){return r.AceEditor},TextAreaEditor:function(){return o.TextAreaEditor}});var r=n(60031),o=n(7483)},52995:function(t,i){"use strict";i.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"}},53014:function(t,i,n){"use strict";n.d(i,{applyTheme:function(){return s}});let r=["jodit_theme_dark","jodit-ai-assistant-pro_theme_dark","jodit-dialog_theme_dark"],o=["jodit_theme_light","jodit-ai-assistant-pro_theme_light","jodit-dialog_theme_light"];function s(t,i,n,s,a){let l;if(null==s||s.classList.remove(...r),null==s||s.classList.remove(...o),"dialog"===n){let t=null==a?void 0:a.container;null==t||t.classList.remove(...r),null==t||t.classList.remove(...o)}if(l="dark"===i?r:o,null==s||s.classList.add(...l),"dialog"===n){let t=null==a?void 0:a.container;null==t||t.classList.add(...l)}}},53121:function(t){t.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M19,21H5a2,2,0,0,1-2-2V17a1,1,0,0,1,2,0v2H19V17a1,1,0,0,1,2,0v2A2,2,0,0,1,19,21Z"/> <path d="M18,5H6A1,1,0,0,1,6,3H18a1,1,0,0,1,0,2Z"/> <path d="M15.71,10.29l-3-3a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-3,3a1,1,0,0,0-.21,1.09A1,1,0,0,0,9,12h2v3a1,1,0,0,0,2,0V12h2a1,1,0,0,0,.92-.62A1,1,0,0,0,15.71,10.29Z"/> </svg>'},53189:function(t){t.exports={"Show Blocks":"Zeigen Bl\xf6cke"}},53212:function(t,i,n){"use strict";n.d(i,{cleanFromWord:function(){return l}});var r=n(82758),o=n(2748),s=n(4510),a=n(49055);function l(t){-1!==t.indexOf("<html ")&&(t=(t=t.substring(t.indexOf("<html "),t.length)).substring(0,t.lastIndexOf("</html>")+7));let i="";try{let n=r.globalDocument.createElement("div");n.innerHTML=t;let a=[];n.firstChild&&o.Dom.each(n,t=>{if(t)switch(t.nodeType){case Node.ELEMENT_NODE:switch(t.nodeName){case"STYLE":case"LINK":case"META":a.push(t);break;case"W:SDT":case"W:SDTPR":case"FONT":o.Dom.unwrap(t);break;default:(0,s.toArray)(t.attributes).forEach(i=>{-1===["src","href","rel","content"].indexOf(i.name.toLowerCase())&&t.removeAttribute(i.name)})}break;case Node.TEXT_NODE:break;default:a.push(t)}}),o.Dom.safeRemove.apply(null,a),i=n.innerHTML}catch(t){}return i&&(t=i),(t=t.split(/(\n)/).filter(a.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},53213:function(t,i,n){"use strict";n.d(i,{persistent:function(){return s}});var r=n(78213),o=n(39955);function s(t,i){t.hookStatus(r.STATUSES.ready,t=>{let n=(0,o.isViewObject)(t)?t:t.jodit,r=`${n.options.namespace}${t.componentName}_prop_${i}`,s=t[i];Object.defineProperty(t,i,{get(){var t;return null!=(t=n.storage.get(r))?t:s},set(t){n.storage.set(r,t)}})})}},53259:function(t,i){"use strict";i.default='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg> '},53326:function(t,i,n){"use strict";n.d(i,{htmlspecialchars:function(){return o}});var r=n(82758);function o(t){let i=r.globalDocument.createElement("div");return i.textContent=t,i.innerHTML}},53361:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Sprawdzanie pisowni"}},53392:function(t,i,n){"use strict";n.d(i,{removeEmptyTextNode:function(){return o}});var r=n(2748);function o(t,i,n,o,s,a){return r.Dom.isText(i)&&!i.nodeValue?(i===a&&t.s.isCollapsed()&&t.s.setCursorAfter(i),r.Dom.safeRemove(i),!0):n}},53437:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Symbol"}},53454:function(t,i,n){"use strict";n.d(i,{onChangeGeometries:function(){return l}});var r=n(56075),o=n(11886),s=n(72690),a=n(67912);function l(t,i){var n,l,u,c;switch(t.type){case"polyline":case"polygon":{let n=(0,a.pathToArray)(t.gme.getPath()),l=(0,o._)((0,r._)({},t.state),{coordinates:n});s.updateStateAndGme.call(this,l,i,!0);break}case"marker":{let a=t.gme.getPosition(),u=(0,o._)((0,r._)({},t.state),{coordinates:[null!=(n=null==a?void 0:a.lat())?n:0,null!=(l=null==a?void 0:a.lng())?l:0]});s.updateStateAndGme.call(this,u,i,!0);break}case"circle":{let n=t.gme.getCenter(),a=(0,o._)((0,r._)({},t.state),{radius:t.gme.getRadius(),coordinates:[null!=(u=null==n?void 0:n.lat())?u:0,null!=(c=null==n?void 0:n.lng())?c:0]});s.updateStateAndGme.call(this,a,i,!0)}}}},53585:function(t,i,n){"use strict";n.d(i,{convertStyleUnitToPixels:function(){return o}});var r=n(43712);let o=(t,{jodit:i})=>{if(!i.o.pasteFromWord.convertUnitsToPixel)return t;let{style:n}=t;return n.forEach(t=>{let i=n.get(t);i&&n.set(t,i.toString().replace(/\d+(\.\d+)?(pt|cm)/g,t=>(0,r.convertUnitToPx)(t)+"px"))}),t}},53586:function(t,i,n){"use strict";n(6441).Config.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery:(t,i)=>0===i.toLowerCase().indexOf(t.toLowerCase()),itemRenderer:t=>{var i;return null!=(i=t.title)?i:t.value},insertValueRenderer:t=>t.value+" "}},53636:function(t,i,n){"use strict";n.d(i,{openImageEditorDialog:function(){return a}});var r=n(70799),o=n(29960),s=n(50050);function a(t,i){let n=(0,o.attr)(i.image,"src")||"",a=t.c.element("a"),l=()=>{if(a.host!==location.host)return void t.confirm("You can only edit your own images. Download this image on the host?",n=>{n&&t.uploader&&t.uploader.uploadRemoteImage(a.href.toString(),n=>{t.alert("The image has been successfully uploaded to the host!",()=>{(0,r.isString)(n.newfilename)&&(i.values.imageSrc=n.baseurl+n.newfilename)})},i=>{t.alert("There was an error loading %s",i.message)})})};a.href=n,t.filebrowser.dataProvider.getPathByUrl(a.href.toString()).then(r=>{s.openImageEditor.call(t.filebrowser,a.href,r.name,r.path,r.source,()=>{let t=new Date().getTime();i.values.imageSrc=n+(-1!==n.indexOf("?")?"":"?")+"&_tmp="+t.toString()},i=>{t.alert(i.message)})}).catch(i=>{t.alert(i.message,l)})}},53650:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbol"}},53651:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg> '},53696:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg> '},53822:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Высота линии"}},53835:function(t,i,n){"use strict";n.d(i,{BUILT_IN_TOOLS:function(){return p},getToolNames:function(){return f}});var r=n(39296),o=n(16745),s=n(78717),a=n(5618),l=n(90991),u=n(2020),c=n(12570),d=n(95323),h=n(97603);let p={readDocument:a.default,readBlocks:s.default,readSelection:l.default,writeDocument:h.default,replaceSelection:d.default,replaceBlock:u.default,replaceInDocument:c.default,insertHTML:o.default,applyFormat:r.default};function f(){return Object.keys(p)}},54023:function(t){t.exports={"Show Blocks":"Показать Блоки"}},54041:function(t,i,n){"use strict";n.d(i,{getBlockWrapper:function(){return function t(i,n,s=r.IS_BLOCK){let a=i,l=n.editor;do{if(!a||a===l)break;if(s.test(a.nodeName)){if(o.Dom.isLeaf(a))return a;return t(a.parentNode,n,/^li$/i)||a}a=a.parentNode}while(a&&a!==l);return null}}});var r=n(82758),o=n(2748)},54076:function(t,i,n){"use strict";function r(t,i){let[n,r]=i.split("::");t.execCommand(n,null,r)}n.d(i,{execSpellCommand:function(){return r}})},54079:function(t,i,n){"use strict";n.d(i,{Ajax:function(){return h}});var r=n(8884),o=n(82758),s=n(45219),a=n(21537),l=n(89890),u=n(6441);n(57459);var c=n(98582);function d(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}class h{className(){return"Ajax"}__buildParams(t,i){return(0,a.isPlainObject)(t)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(t):(0,a.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,t,i):(0,a.isString)(t)||t instanceof o.globalWindow.FormData||"object"==typeof t&&null!=t&&(0,a.isFunction)(t.append)?t:(0,a.buildQuery)(t)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(t){}return this}send(){this.__activated=!0;let{xhr:t,o:i}=this,n=this.prepareRequest();return this.__async.promise((r,o)=>{var s;return(s=function*(){var s;let u=()=>{this.__isFulfilled=!0,o(l.connection("Connection error"))},d=()=>{this.__isFulfilled=!0,r(new c.Response(n,t.status,t.statusText,!t.responseType?t.responseText:t.response))};t.onload=d,t.onabort=()=>{this.__isFulfilled=!0,o(l.abort("Abort connection"))},t.onerror=u,t.ontimeout=u,i.responseType&&(t.responseType=i.responseType),t.onprogress=t=>{var i,n;let r=0;t.lengthComputable&&(r=t.loaded/t.total*100),null==(n=(i=this.options).onProgress)||n.call(i,r)},t.onreadystatechange=()=>{var n,r;null==(r=(n=this.options).onProgress)||r.call(n,10),t.readyState===XMLHttpRequest.DONE&&(i.successStatuses.includes(t.status)?d():t.statusText&&(this.__isFulfilled=!0,o(l.connection(t.statusText))))},t.withCredentials=null!=(s=i.withCredentials)&&s;let{url:h,data:p,method:f}=n;t.open(f,h,!0),i.contentType&&t.setRequestHeader&&t.setRequestHeader("Content-type",i.contentType);let{headers:m}=i;(0,a.isFunction)(m)&&(m=yield m.call(this)),m&&t.setRequestHeader&&Object.keys(m).forEach(i=>{t.setRequestHeader(i,m[i])}),this.__async.setTimeout(()=>{t.send(p?this.__buildParams(p):void 0)},0)},function(){var t=this,i=arguments;return new Promise(function(n,r){var o=s.apply(t,i);function a(t){d(o,n,r,a,l,"next",t)}function l(t){d(o,n,r,a,l,"throw",t)}a(void 0)})}).call(this)})}prepareRequest(){if(!this.o.url)throw l.error("Need URL for AJAX request");let t=this.o.url,i=this.o.data,n=(this.o.method||"get").toLowerCase();if("get"===n&&i&&(0,a.isPlainObject)(i)){let n=t.indexOf("?");if(-1!==n){let r=(0,a.parseQuery)(t);t=t.substring(0,n)+"?"+(0,a.buildQuery)(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({},r,i))}else t+="?"+(0,a.buildQuery)(this.o.data)}let r={url:t,method:n,data:i};return h.log.splice(100),h.log.push(r),r}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(t,i=u.Config.prototype.defaultAjaxOptions){this.__async=new r.Async,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,a.ConfigProto)(t||{},i),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}h.log=[],function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([s.autobind],h.prototype,"destruct",null)},54296:function(t,i,n){"use strict";n.d(i,{buildTemplatesPopup:function(){return o}});let r="jodit-templates-popup";function o(t,i,n){let o=t.c.div(r);for(let s of i){let i=t.c.element("button");i.type="button",i.className=`${r}__card`;let a=t.c.div(`${r}__card-preview`);if(s.image){let i=t.c.element("img");i.src=s.image,i.alt=s.title,a.appendChild(i)}else{let i=t.c.div(`${r}__card-preview-inner`);i.innerHTML=s.html,a.appendChild(i)}i.appendChild(a);let l=t.c.div(`${r}__card-info`),u=t.c.div(`${r}__card-title`);u.textContent=s.title,l.appendChild(u);let c=t.c.div(`${r}__card-description`);c.textContent=s.description,l.appendChild(c),i.appendChild(l),t.e.on(i,"click",()=>{t.s.focus(),t.s.insertHTML(s.html),t.synchronizeValues(),n()}),o.appendChild(i)}return o}},54389:function(t,i,n){"use strict";var r=n(22732),o=n(12153),s=n(6441),a=n(78614),l=n(86835),u=n(302);o.Icon.set("indent",a.default).set("outdent",l.default),s.Config.prototype.controls.indent={tooltip:"Increase Indent"},s.Config.prototype.controls.outdent={isDisabled:t=>{let i=t.s.current();if(i){let n=r.Dom.closest(i,r.Dom.isBlock,t.editor);if(n){let i=(0,u.getKey)(t.o.direction,n);return!n.style[i]||0>=parseInt(n.style[i],10)}}return!0},tooltip:"Decrease Indent"},s.Config.prototype.indentMargin=10},54600:function(t,i,n){"use strict";n.d(i,{splitFragment:function(){return a}});var r=n(2748),o=n(26395),s=n(44245);function a(t,i,n){let a=i.s,{enter:l}=i.o,u=l.toLowerCase(),c=r.Dom.isLeaf(n),d=n.tagName.toLowerCase()===u||c,h=a.cursorOnTheRight(n,t),p=a.cursorOnTheLeft(n,t);if(!d&&(h||p)){h?r.Dom.after(n,t):r.Dom.before(n,t),(0,s.insertParagraph)(t,i,u),p&&!h&&r.Dom.prepend(n,t);return}let f=a.splitSelection(n,t);(0,o.scrollIntoViewIfNeeded)(f,i.editor,i.ed)}},54747:function(t,i,n){"use strict";n.d(i,{UIResize:function(){return s}});var r=n(2748),o=n(41180);class s{static remove(t){t.container.classList.remove("jodit-ui-resize"),r.Dom.safeRemove(t.container.querySelector(".jodit-ui-resize__handle"))}static install(t,i,n={}){var r;t.container.classList.add("jodit-ui-resize"),"static"===(0,o.css)(t.container,"position")&&(0,o.css)(t.container,"position","relative");let s=t.j.c.div("jodit-ui-resize__handle");s.classList.add("jodit-ui-resize__handle_type_"+i),n.handleClassName&&s.classList.add(n.handleClassName),t.container.appendChild(s),t.j.e.on(s,"mousedown touchstart",this.onStartResize.bind(this,t,i,null!=(r=n.onResize)?r:()=>void 0))}static onStartResize(t,i,n,r){let o={x:r.clientX,y:r.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight,direction:i},s=t.j.async.throttle(this.onResize.bind(this,t,o,n),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",s).one(t.j.ow,"mouseup touchend",this.onEndResize.bind(this,t,s))}static onResize(t,i,n,r){let s,a=["left","right"].includes(i.direction),l=t.container.parentElement;l&&(s=a?i.w+(r.clientX-i.x)*("right"===i.direction?1:-1):i.h+(r.clientY-i.y)*("top"===i.direction?-1:1),!0!==(null==n?void 0:n({newSize:s}))&&(0,o.css)(t.container,a?"width":"height",s/(a?l.offsetWidth:l.offsetHeight)*100+"%"))}static onEndResize(t,i,n){t.j.e.off(t.j.ow,"mousemove touchmove",i),t.j.unlock()}}},54765:function(t,i,n){"use strict";n.d(i,{hasBrowserColorPicker:function(){return o}});var r=n(82758);function o(){let t=!0;try{let i=r.globalDocument.createElement("input");i.type="color",i.value="!",t="color"===i.type&&"!"!==i.value}catch(i){t=!1}return t}},55029:function(t,i,n){"use strict";var r=n(17298),o=n(6441);o.Config.prototype.googleMaps={saveStateInStorage:!0,useStaticImage:!1,apiUrl:"https://maps.googleapis.com/maps/api/js?key=${j.o.googleMaps.API_KEY}&libraries=geometry,places,drawing&language=${j.o.language}&callback=JoditGoogleReadyHandler",API_KEY:"AIzaSyDjnR03hxN8fo0QJ85Jkkvk2DALTh3eynY",dialog:{size:[700,700]},inlineEditorOptions:{buttons:["bold","italic","link","brush","fontsize","image"]},map:{type:"roadmap",layer:"default",center:"auto",defaultCenter:[-34.397,150.644],defaultZoom:10,zoom:10,size:[500,400],defaultStates:{polyline:{strokeColor:"#5ba4f3",strokeWeight:3},polygon:{strokeColor:"#417706",fillColor:"#5b9302",strokeWeight:1,fillOpacity:.5},marker:{},text:{},circle:{strokeColor:"#da767c",fillColor:"#f34ca8",strokeWeight:1,fillOpacity:.5}}}},o.Config.prototype.controls.googleMaps={tooltip:"Google Maps",icon:"map",command:r.COMMAND_OPEN_DIALOG};let s=t=>({icon:`edit-${t}`,isActive:i=>i.buffer.get("createMode.gm")===t,exec:i=>{i.e.fire("changeCreateMode.gm",t)}});o.Config.prototype.controls.gm={hand:s("hand"),marker:s("marker"),polyline:s("polyline"),polygon:s("polygon"),circle:s("circle"),text:s("text")}},55099:function(t,i,n){"use strict";var r=n(82758),o=n(12153),s=n(6441),a=n(21597);s.Config.prototype.useSearch=!0,s.Config.prototype.search={lazyIdleTimeout:0,useCustomHighlightAPI:r.globalWindow&&void 0!==r.globalWindow.Highlight},o.Icon.set("search",a.default),s.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec(t,i,{control:n}){switch(n.args&&n.args[0]){case"findPrevious":t.e.fire("searchPrevious");break;case"findNext":t.e.fire("searchNext");break;case"replace":t.execCommand("openReplaceDialog");break;default:t.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(t,i,n)=>n}},55153:function(t,i,n){"use strict";n.d(i,{derive:function(){return o}});var r=n(23282);function o(...t){return i=>{let n=i.prototype;for(let i=0;i<t.length;i++){let o=t[i],s=Object.getOwnPropertyNames(o.prototype);for(let t=0;t<s.length;t++){let i=s[t],a=Object.getOwnPropertyDescriptor(o.prototype,i);null!=a&&(0,r.isFunction)(a.value)&&!(0,r.isFunction)(n[i])&&Object.defineProperty(n,i,{enumerable:!0,configurable:!0,writable:!0,value:function(...t){return a.value.call(this,...t)}})}}}}},55307:function(t,i,n){"use strict";n.d(i,{states:function(){return d},transactions:function(){return h}});var r=n(82758),o=n(2748),s=n(38837),a=n(63687),l=n(77361);function u(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}function c(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}let d={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"},h={[d.START]:{exec(t){let{element:i,jodit:n,style:r,mode:s,collapsed:h}=t;if((0,a.isInsideInvisibleElement)(i,n.editor)||!h&&o.Dom.isEmptyContent(i))return c(u({},t),{next:d.END});let p=(0,a.getSuitParent)(r,i,n.editor)||(0,a.getSuitChild)(r,i);if(p)return c(u({},t),{next:d.ELEMENT,element:p});let f=(0,a.suitableClosest)(r,i,n.editor);return r.elementIsList&&o.Dom.isList(f)?c(u({},t),{next:d.LIST}):f?c(u({},t),{next:d.EXTRACT}):c(u({},t),{next:s!==l.UNWRAP?d.UNWRAP_CHILDREN:d.END})}},[d.LIST]:{exec(t){let{element:i,jodit:n,mode:s}=t;if(s!==l.INITIAL&&s!==l.UNWRAP&&s!==l.REPLACE)return c(u({},t),{next:d.END});let a=o.Dom.closest(i,"li",n.editor);return a&&o.Dom.closest(i,r.LIST_TAGS,n.editor)?c(u({},t),{element:a,next:d.TOGGLE_LIST}):c(u({},t),{next:d.END})}},[d.TOGGLE_LIST]:{exec(t){return c(u({},t),{mode:(0,a.toggleOrderedList)(t.style,t.element,t.jodit,t.mode),next:d.END})}},[d.EXTRACT]:{exec(t){var i;let{element:n,jodit:r,style:l}=t,h=(0,a.suitableClosest)(l,n,r.editor);return((0,s.assert)(h,"This place should have an element"),!l.elementIsBlock&&(null==(i=l.options.attributes)?void 0:i.style)&&o.Dom.isBlock(h))?c(u({},t),{next:d.WRAP}):(l.elementIsBlock||(0,a.extractSelectedPart)(h,n,r),c(u({},t),{element:h,next:d.ELEMENT}))}},[d.UNWRAP_CHILDREN]:{exec(t){let{element:i,style:n}=t;return(0,a.unwrapChildren)(n,i)?c(u({},t),{mode:l.UNWRAP,next:d.END}):c(u({},t),{next:d.WRAP})}},[d.WRAP]:{exec(t){let{element:i,jodit:n,style:r}=t,o=(0,a.wrap)(r,i,n);return c(u({},t),{next:r.elementIsList?d.END:d.CHANGE,mode:l.WRAP,element:o})}},[d.ELEMENT]:{exec(t){let{style:i,element:n,jodit:r}=t;return(0,a.toggleAttributes)(i,n,r,l.INITIAL,!0)!==l.INITIAL?c(u({},t),{next:d.CHANGE}):o.Dom.isTag(n,i.element)?c(u({},t),{next:d.UNWRAP}):c(u({},t),{next:d.END})}},[d.CHANGE]:{exec(t){let{style:i,element:n,jodit:r,mode:s}=t,h=(0,a.toggleAttributes)(i,n,r,t.mode);return s!==l.WRAP&&h===l.UNSET&&!n.attributes.length&&o.Dom.isTag(n,i.element)?c(u({},t),{next:d.UNWRAP}):c(u({},t),{mode:h,next:d.END})}},[d.UNWRAP]:{exec(t){return t.element.attributes.length&&o.Dom.isTag(t.element,t.style.element)?c(u({},t),{next:d.REPLACE_DEFAULT}):(o.Dom.unwrap(t.element),c(u({},t),{mode:l.UNWRAP,next:d.END}))}},[d.REPLACE_DEFAULT]:{exec(t){return o.Dom.replace(t.element,t.style.defaultTag,t.jodit.createInside,!0),c(u({},t),{mode:l.REPLACE,next:d.END})}},[d.END]:{exec(t){return t}}}},55311:function(t,i,n){"use strict";n(6441).Config.prototype.tableAllowCellSelection=!0},55487:function(t,i,n){"use strict";n.d(i,{ToolRegistry:function(){return l}});var r=n(77688),o=n(82749),s=n(56075),a=n(53835);class l{registerBuiltInTools(t){t.forEach(t=>{let i=a.BUILT_IN_TOOLS[t];i&&this.tools.set(t,i)})}registerCustomTools(t){t.forEach(t=>{this.validateToolDefinition(t),this.tools.set(t.name,t)})}validateToolDefinition(t){if(!t.name||"string"!=typeof t.name)throw Error("Tool must have a valid name");if(!t.description||"string"!=typeof t.description)throw Error(`Tool "${t.name}" must have a description`);if(!Array.isArray(t.parameters))throw Error(`Tool "${t.name}" must have a parameters array`);if("function"!=typeof t.execute)throw Error(`Tool "${t.name}" must have an execute function`);t.parameters.forEach(i=>{if(!i.name||"string"!=typeof i.name)throw Error(`Tool "${t.name}" has a parameter without a valid name`);if(!i.type)throw Error(`Tool "${t.name}" parameter "${i.name}" must have a type`);if("boolean"!=typeof i.required)throw Error(`Tool "${t.name}" parameter "${i.name}" must specify if it's required`)})}getAllTools(){return Array.from(this.tools.values())}getTool(t){return this.tools.get(t)}hasTool(t){return this.tools.has(t)}getToolNames(){return Array.from(this.tools.keys())}executeTool(t,i,n){return(0,r._)(function*(){let r=this.getTool(t);if(!r)throw Error(`Tool "${t}" not found`);let o=this.applyDefaults(r,i);this.validateArguments(r,o);try{return yield r.execute(this.jodit,o,n)}catch(t){if((null==t?void 0:t.name)==="AbortError"||n.aborted)throw Error("Tool execution was aborted");throw t}}).call(this)}validateArguments(t,i){let n=Object.keys(i);for(let i of t.parameters.filter(t=>t.required).map(t=>t.name))if(!n.includes(i))throw Error(`Tool "${t.name}" requires parameter "${i}"`);for(let[n,r]of Object.entries(i)){let i=t.parameters.find(t=>t.name===n);if(!i){this.jodit.o.aiAssistantPro.debug;continue}let o=Array.isArray(r)?"array":"object"==typeof r&&null!=r?"object":typeof r;if(i.type!==o&&!("number"===i.type&&"string"===o&&!isNaN(Number(r))))throw Error(`Tool "${t.name}" parameter "${n}" expects type "${i.type}" but got "${o}"`);if(i.enum&&i.enum.length>0&&!i.enum.includes(r))throw Error(`Tool "${t.name}" parameter "${n}" must be one of: ${i.enum.join(", ")}`)}}applyDefaults(t,i){let n=(0,s._)({},i);for(let i of t.parameters)void 0===n[i.name]&&void 0!==i.default&&(n[i.name]=i.default);return n}destruct(){this.tools.clear()}constructor(t){(0,o._)(this,"jodit",void 0),(0,o._)(this,"tools",void 0),this.jodit=t,this.tools=new Map,this.registerBuiltInTools(t.o.aiAssistantPro.enabledTools||[]),this.registerCustomTools(t.o.aiAssistantPro.customTools||[])}}},55535:function(t,i,n){"use strict";n.d(i,{StateManager:function(){return a}});var r=n(82749),o=n(31635),s=n(65478);class a{getIndex(t,i=this.state.elements){return i.findIndex(i=>i.uniqueHashKey===t.uniqueHashKey)}isActive(t){return!!this.state.activeElements.find(i=>i.uniqueHashKey===t.uniqueHashKey)}isFavorite(t){return!!this.state.favorites.find(i=>i.uniqueHashKey===t.uniqueHashKey)}addActive(t,i){var n;this.state.metaInfo=t,this.state.info=null!=(n=t.file)?n:"",this.state.lastSelectedIndex=this.getIndex(t),this.state.activeElements=i?[...this.state.activeElements,t]:[t]}callSelectHandler(){var t;let i=this.state.activeElements;null==(t=this.state.onSelectCallBack)||t.call(this,{baseurl:"",files:i.map(t=>t.fileURL),isImages:i.map(t=>!!t.isImage)})}setFilter(t){this.state.filterWord=t}toggleFavorite(t){let i=this.getIndex(t,this.state.favorites),n=[...this.state.favorites];-1===i?n.push(t):n.splice(i,1),this.state.favorites=n}fillTreeForPath(t,i){if(!this.state.tree.length||!i||"/"===i){this.state.tree=t.map(c);return}this.removeActive(this.state.tree),t.forEach(t=>{var n;let r=l(this.state.tree,t.name);r||(r=c(t),this.state.tree.push(r)),r.isActive=!0;let o=(n=r,i.split("/").reduce((t,i)=>t&&l(t.children,i),n));o&&(o.isActive=!0,o.children=u(t.folders).map(n=>d(n,i+"/"+n,t.name)))}),this.state.tree=[...this.state.tree]}removeActive(t){t.forEach(t=>{t.isActive=!1,this.removeActive(t.children)})}get isFavoriteItems(){return this.state.favorites===this.state.elements}constructor(t){(0,r._)(this,"state",void 0),this.state=t}}function l(t,i){var n;return null!=(n=t.find(t=>t.name===i))?n:null}function u(t){return t.filter(t=>"."!==t&&".."!==t)}function c(t){return{type:"source",name:t.name,title:t.title,sourceName:t.name,path:"/",children:u(t.folders).map(i=>d(i,i,t.name))}}function d(t,i,n){return{type:"directory",name:t,path:i,sourceName:n,children:[]}}(0,o.__decorate)([s.autobind],a.prototype,"getIndex",null),(0,o.__decorate)([s.autobind],a.prototype,"isActive",null),(0,o.__decorate)([s.autobind],a.prototype,"isFavorite",null)},55611:function(t,i,n){"use strict";n.d(i,{SentenceFinder:function(){return o.SentenceFinder},clearSelectionWrappers:function(){return r.clearSelectionWrappers},clearSelectionWrappersFromHTML:function(){return r.clearSelectionWrappersFromHTML},getSelectionWrappers:function(){return r.getSelectionWrappers},highlightTextRanges:function(){return r.highlightTextRanges}});var r=n(12270),o=n(93119)},55776:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"スペルチェック"}},55790:function(t){t.exports={"AI Assistant":"AI Ассистент","AI Assistant Pro":"AI Ассистент Pro","Welcome to AI Assistant":"Добро пожаловать в AI Ассистент","Start your first conversation":"Начните первый диалог","Tip: Select text in editor to add context":"Подсказка: Выделите текст в редакторе для добавления контекста","New chat":"Новый чат","Search conversations...":"Поиск диалогов...","No conversations yet":"Пока нет диалогов","Ask me anything...":"Спросите меня о чем угодно...","Ask a follow-up...":"Задайте дополнительный вопрос...","Reply...":"Ответить...","Type your message...":"Введите ваше сообщение...",Send:"Отправить",Cancel:"Отмена",Retry:"Повторить",Insert:"Вставить",Copy:"Копировать",Edit:"Редактировать",Delete:"Удалить",New:"Новый",Back:"Назад","Permission Required":"Требуется разрешение",Approve:"Разрешить",Deny:"Отклонить",Once:"Один раз","This conversation":"Этот диалог",Always:"Всегда","The AI wants to execute:":"AI хочет выполнить:","This will modify your document content.":"Это изменит содержимое вашего документа.","Executing...":"Выполняется...","Completed successfully":"Успешно выполнено",Failed:"Ошибка","Pending approval":"Ожидает разрешения","Denied by user":"Отклонено пользователем","Tool Result":"Результат инструмента","Tool Execution Error":"Ошибка выполнения инструмента",Context:"Контекст",Contexts:"Контексты","Add to AI Context":"Добавить в контекст AI",Remove:"Удалить","Clear all":"Очистить все","An error occurred":"Произошла ошибка","Request failed":"Запрос не выполнен","Connection error":"Ошибка соединения","AI Assistant is not configured":"AI Ассистент не настроен","Thinking...":"Думаю...","Generating response...":"Генерирую ответ...",insertHTML:"Вставить HTML",readDocument:"Прочитать документ",readBlock:"Прочитать блок",replaceInDocument:"Заменить в документе",replaceInBlock:"Заменить в блоке",getSelection:"Получить выделение","Just now":"Только что",Conversation:"Диалог","New Conversation":"Новый диалог",Yesterday:"Вчера","Delete conversation":"Удалить диалог","Are you sure you want to delete this conversation?":"Вы уверены, что хотите удалить этот диалог?","Failed to delete conversation":"Не удалось удалить диалог",Settings:"Настройки","General Settings":"Общие настройки","Conversation Settings":"Настройки диалога","Display Mode":"Режим отображения","Panel Width":"Ширина панели",Theme:"Тема",Model:"Модель",Temperature:"Температура",Close:"Закрыть",Dialog:"Модальное окно",Left:"Левая панель",Right:"Правая панель",Top:"Верхняя панель",Bottom:"Нижняя панель",Inherit:"Наследовать от редактора",Light:"Светлая тема",Dark:"Тёмная тема","%dm ago":"%dм назад","%dh ago":"%dч назад"}},55877:function(t,i,n){"use strict";n.d(i,{convertMediaUrlToVideoEmbed:function(){return a}});var r=n(82758),o=n(26049),s=n(82501);let a=(t,{width:i=400,height:n=345}={})=>{if(!(0,o.isURL)(t))return t;let a=r.globalDocument.createElement("a"),l=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;a.href=t,i||(i=400),n||(n=345);let u=a.protocol||"";switch(a.hostname){case"www.vimeo.com":case"vimeo.com":return l.test(t)?t.replace(l,'<iframe width="'+i+'" height="'+n+'" src="'+u+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):t;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{let r=a.search?(0,s.parseQuery)(a.search):{v:a.pathname.substring(1)};return/^embed\/.*/.test(r.v)&&(r.v=r.v.substring(6)),r.v?'<iframe width="'+i+'" height="'+n+'" src="'+u+"//www.youtube.com/embed/"+r.v+'" frameborder="0" allowfullscreen></iframe>':t}}return t}},55885:function(t,i,n){"use strict";n.d(i,{UIWelcomeScreen:function(){return a}});var r=n(31635),o=n(65478),s=n(67510);class a extends s.UIElement{className(){return"UIWelcomeScreen"}render(){return`<div class="&__container">
|
|
237
|
+
</div>`}addResize(){}afterRender(){this.content=this.getElm("content"),this.createComponents(),this.createHeaderButtons(),this.__updateView("welcome")}__onChangeView(){return(0,r._)(function*(){this.__updateView(this.state.currentView,this.state.currentConversation)}).call(this)}createComponents(){this.welcomeScreen=new h.UIWelcomeScreen(this.j),this.conversationList=new a.UIConversationList(this.j,this.options),this.messageList=new u.UIMessageList(this.j,this.options),this.inputArea=new l.UIInputArea(this.j,this.options),this.getElm("footer").appendChild(this.inputArea.container)}createHeaderButtons(){let t=this.getElm("header-left"),i=this.getElm("header-right"),n=new g.UIButton(this.j,{icon:{name:"angle-left"},size:"small",variant:"initial"});n.container.classList.add(this.getFullElName("back-button")),this.j.e.on(n,"click",()=>{this.j.e.fire("backToList.ai-assistant-pro")}),t.appendChild(n.container);let r=new g.UIButton(this.j,{icon:{name:"plus"},size:"small",tooltip:"New chat",variant:"initial"});if(r.container.classList.add(this.getFullElName("new-button")),this.j.e.on(r,"click",()=>{this.j.e.fire("newConversation.ai-assistant-pro")}),i.appendChild(r.container),this.shouldShowSettings()&&(this.settingsButton=new d.UISettingsButton(this.j,this.state,this.options,()=>this.state.currentConversation,this.updateConversation),this.settingsButton.container.classList.add(this.getFullElName("settings-button")),i.appendChild(this.settingsButton.container)),"dialog"===this.mods.displayMode||!1===this.mods.allowClose)return;let o=new g.UIButton(this.j,{icon:{name:"cancel"},size:"small",tooltip:"Close",variant:"initial"});o.container.classList.add(this.getFullElName("close-button")),this.j.e.on(o,"click",()=>{this.j.e.fire("closeAIAssistantPro.ai-assistant-pro")}),i.appendChild(o.container)}isFlightMode(){return"flight"===this.mods.displayMode}shouldShowSettings(){let t=this.options,i=t.allowEditDisplayMode||t.allowEditPanelWidth,n=t.allowEditDialogSettings;return i||n}__updateView(t,i=null){var n;null==(n=this.settingsButton)||n.update();let r=this.getElm("header-title");this.setMod("view",t);let o=this.isFlightMode();switch(t){case"welcome":r.textContent=this.j.i18n("AI Assistant"),f.Dom.safeRemove(this.conversationList.container),f.Dom.safeRemove(this.messageList.container),this.content.appendChild(this.welcomeScreen.container),this.inputArea.focus();break;case"conversationList":r.textContent=this.j.i18n("AI Assistant"),f.Dom.safeRemove(this.welcomeScreen.container),f.Dom.safeRemove(this.messageList.container),this.conversationList.container.isConnected||this.content.appendChild(this.conversationList.container);break;case"conversation":r.textContent=o?this.j.i18n("AI Assistant"):(null==i?void 0:i.title)||this.j.i18n("Conversation"),f.Dom.safeRemove(this.welcomeScreen.container),f.Dom.safeRemove(this.conversationList.container),this.messageList.container.isConnected||this.content.appendChild(this.messageList.container),i&&this.messageList.setMessages(i.messages),this.inputArea.focus()}}onChangeCurrentConversation(){let{currentConversation:t}=this.state;t&&(this.conversationList.setActiveConversation(t.id),this.messageList.setMessages(t.messages))}onChangeConversations(){this.conversationList.setConversations(this.state.conversations)}onChangeSelectionContexts(){this.inputArea.setContexts(this.state.selectionContexts)}onChangeLoading(){this.inputArea.setLoading(this.state.isLoading)}onChangePendingToolCalls(){this.state.pendingToolCalls&&this.state.pendingToolCalls.length>0?this.showPermissionRequest(this.state.pendingToolCalls[0]):this.hidePermissionRequest()}showPermissionRequest(t){this.permissionRequest||(this.permissionRequest=new c.UIPermissionRequest(this.j,this.options)),this.permissionRequest.setToolCall(t);let i=this.getElm("footer");i.contains(this.permissionRequest.container)||i.insertBefore(this.permissionRequest.container,this.inputArea.container)}hidePermissionRequest(){this.permissionRequest&&this.permissionRequest.container.parentNode&&this.permissionRequest.container.parentNode.removeChild(this.permissionRequest.container)}destruct(){var t,i,n,r,o,s;null==(t=this.welcomeScreen)||t.destruct(),null==(i=this.conversationList)||i.destruct(),null==(n=this.messageList)||n.destruct(),null==(r=this.inputArea)||r.destruct(),null==(o=this.permissionRequest)||o.destruct(),null==(s=this.settingsButton)||s.destruct(),super.destruct()}constructor(t,i,n,r){super(t),(0,o._)(this,"state",void 0),(0,o._)(this,"options",void 0),(0,o._)(this,"updateConversation",void 0),(0,o._)(this,"permissionRequest",void 0),(0,o._)(this,"settingsButton",void 0),(0,o._)(this,"content",void 0),this.state=i,this.options=n,this.updateConversation=r,this.permissionRequest=null,this.settingsButton=null}}(0,s.__decorate)([(0,p.hook)("ready")],b.prototype,"afterRender",null),(0,s.__decorate)([(0,p.watch)(["state.currentView","state.currentConversation"])],b.prototype,"__onChangeView",null),(0,s.__decorate)([(0,p.watch)("state.currentConversation")],b.prototype,"onChangeCurrentConversation",null),(0,s.__decorate)([(0,p.watch)("state.conversations")],b.prototype,"onChangeConversations",null),(0,s.__decorate)([(0,p.watch)("state.selectionContexts")],b.prototype,"onChangeSelectionContexts",null),(0,s.__decorate)([(0,p.watch)("state.isLoading")],b.prototype,"onChangeLoading",null),(0,s.__decorate)([(0,p.watch)("state.pendingToolCalls")],b.prototype,"onChangePendingToolCalls",null),b=(0,s.__decorate)([p.component],b)},51359:function(t,i,n){"use strict";n.d(i,{UIMessageListItem:function(){return h}});var r=n(82749),o=n(31635),s=n(81835),a=n(65478),l=n(67510),u=n(62843),c=n(62405),d=n(80870);class h extends l.UIElement{className(){return"UIMessageListItem"}render(){return`<div class="${this.getFullElName("message")}"></div>`}onReady(){this.updateContent(),this.contextMenu=new d.ContextMenu(this.j)}updateContent(){let t=this.container;t.innerHTML="",t.setAttribute("data-message-id",this.message.id),t.setAttribute("data-role",this.message.role);let i=this.j.c.div(this.getFullElName("message-bubble"));i.classList.add(this.getFullElName("message-bubble",this.message.role,!0));let n=this.j.c.div(this.getFullElName("message-content"));if(n.innerHTML=this.formatMessageContent(this.message.content),i.appendChild(n),this.opts.showTimestamps){let t=this.j.c.div(this.getFullElName("message-timestamp"));t.textContent=this.formatTimestamp(this.message.timestamp),i.appendChild(t)}let r=this.j.c.div(this.getFullElName("message-actions"));if(this.renderActionsButton(r),i.appendChild(r),t.appendChild(i),this.message.toolCalls&&this.message.toolCalls.length>0){let i=this.j.c.div(this.getFullElName("tool-calls"));t.appendChild(i),this.message.toolCalls.forEach(t=>{let n=this.createToolCallElement(t);i.appendChild(n)})}this.message.artifacts&&this.message.artifacts.length>0&&this.renderArtifacts()}renderActionsButton(t){let i=this.opts;(i.showCopyMessageAction||i.showRestartMessageAction||i.showEditMessageAction||i.showDeleteMessageAction)&&(this.actionsButton=new u.UIButton(this.j,{icon:{name:"dots"},tooltip:"Message actions",name:"messageActions",size:"tiny"}),this.actionsButton.onAction(t=>{this.showActionsMenu(t)}),t.appendChild(this.actionsButton.container))}showActionsMenu(t){if(!this.contextMenu||!this.actionsButton)return;let i=this.j,n=i.o.aiAssistantPro,r=[];n.showCopyMessageAction&&r.push({title:"Copy message",icon:"copy",exec:()=>{this.j.e.fire("copyMessage.ai-assistant-pro",this.message.id)}}),"user"===this.message.role&&(n.showRestartMessageAction&&r.push({title:"Restart from here",icon:"update",exec:()=>{this.j.e.fire("restartFromMessage.ai-assistant-pro",this.message.id)}}),n.showEditMessageAction&&r.push({title:"Edit message",icon:"pencil",exec:()=>{this.j.e.fire("editMessage.ai-assistant-pro",this.message.id)}})),n.showDeleteMessageAction&&r.push({title:"Delete message",icon:"bin",exec:()=>{i.confirm("Are you sure you want to delete this message?","Delete message",t=>{t&&this.j.e.fire("deleteMessage.ai-assistant-pro",this.message.id)})}});let o=this.actionsButton.container.getBoundingClientRect();this.contextMenu.show(o.left,o.bottom,r),t.stopPropagation()}renderArtifacts(){if(!this.message.artifacts||0===this.message.artifacts.length)return;let t=this.j.c.div(this.getFullElName("artifacts"));this.container.appendChild(t),this.artifactGroup||(this.artifactGroup=new c.UIGroup(this.j),this.artifactGroup.container.className="jodit-ui-artifact-group"),this.artifactGroup.clear(),this.message.artifacts.forEach(t=>{let i=new s.UIArtifact(this.j,t);this.artifactGroup.append(i)}),t.appendChild(this.artifactGroup.container)}createToolCallElement(t){let i=this.j.c.div(this.getFullElName("tool-call"));i.setAttribute("data-tool-id",t.id),i.setAttribute("data-status",t.status);let n=this.j.c.div(this.getFullElName("tool-header")),r=this.j.c.div(this.getFullElName("tool-icon"));r.classList.add(this.getFullElName("tool-icon",t.status,!0)),r.textContent="⚡";let o=this.j.c.div(this.getFullElName("tool-name"));o.textContent=this.j.i18n(t.name);let s=this.j.c.div(this.getFullElName("tool-status"));s.textContent=this.getToolStatusText(t.status||"unknown"),n.appendChild(r),n.appendChild(o),n.appendChild(s),i.appendChild(n);let a=this.createExpandableSection("Arguments",JSON.stringify(t.arguments||{},null,2));if(i.appendChild(a),t.result){let n=t.result.error?`Error: ${t.result.error}`:t.result.result||"",r=this.createExpandableSection("Result","string"==typeof n?n:JSON.stringify(n,null,2));i.appendChild(r)}return i}createExpandableSection(t,i){let n=this.j.c.div(this.getFullElName("tool-expandable")),r=this.j.c.element("button",{type:"button",class:this.getFullElName("tool-expandable-toggle")});r.textContent=`▶ ${this.j.i18n(t)}`;let o=this.j.c.element("pre",{class:this.getFullElName("tool-expandable-content")});return o.textContent=i,o.style.display="none",this.j.e.on(r,"click",()=>{"none"!==o.style.display?(o.style.display="none",r.textContent=`▶ ${this.j.i18n(t)}`):(o.style.display="block",r.textContent=`▼ ${this.j.i18n(t)}`)}),n.appendChild(r),n.appendChild(o),n}getToolStatusText(t){return({pending:"⏳",approved:"✓",denied:"✕",executing:"⚡",executed:"✓",error:"⚠"})[t]||"●"}formatMessageContent(t){return(0,this.opts.formatMessageContent)(t,this.message.role,this.j.i18n.bind(this.j))}formatTimestamp(t){return(0,this.opts.formatTimestamp)(t,this.j.i18n.bind(this.j))}updateMessage(t){this.message=t,this.updateContent()}destruct(){var t,i,n;null==(t=this.actionsButton)||t.destruct(),null==(i=this.contextMenu)||i.destruct(),null==(n=this.artifactGroup)||n.destruct(),super.destruct()}constructor(t,i,n){super(t),(0,r._)(this,"message",void 0),(0,r._)(this,"opts",void 0),(0,r._)(this,"artifactGroup",void 0),(0,r._)(this,"actionsButton",void 0),(0,r._)(this,"contextMenu",void 0),this.message=i,this.opts=n,this.artifactGroup=null,this.actionsButton=null,this.contextMenu=null}}(0,o.__decorate)([(0,a.hook)("ready")],h.prototype,"onReady",null),h=(0,o.__decorate)([a.component],h)},51586:function(t,i,n){"use strict";n.d(i,{applyStylesPro:function(){return u}});var r=n(19606),o=n(2748),s=n(29960),a=n(76078),l=n(97420);function u(t,i,n,c=""){let d=document.createElement("iframe");d.style.display="none",document.body.appendChild(d);try{var h,p;let o=null!=(h=d.contentDocument)?h:null==(p=d.contentWindow)?void 0:p.document;if(!o)return i;o.open(),o.write(i),o.close();let u="jd-style";for(let t=0;t<o.styleSheets.length;t+=1)try{let i=o.styleSheets[t].cssRules;for(let t=0;t<i.length;t+=1)i[t].selectorText&&(0,a.$$)(i[t].selectorText,o.body).forEach(n=>{(0,s.attr)(n,u)||((0,s.attr)(n,u,(0,s.attr)(n,"style")||""),(0,s.attr)(n,"style","")),(0,s.attr)(n,"style",`${(0,s.attr)(n,"style")};${i[t].style.cssText}`)})}catch(t){}return(0,a.$$)(`[${u}]`,o.body).forEach(t=>{(0,s.attr)(t,"style",`${(0,s.attr)(t,"style")};${(0,s.attr)(t,u)}`)}),(0,r.transformWordToHtml)(t,l.JElement.make(o.body),n,c)}finally{o.Dom.safeRemove(d)}}},51642:function(t,i,n){"use strict";n.d(i,{readAlign:function(){return o}});var r=n(41180);function o(t,i){t.style.cssFloat&&-1!==["left","right"].indexOf(t.style.cssFloat.toLowerCase())?i.align=(0,r.css)(t,"float"):"block"===(0,r.css)(t,"display")&&"auto"===t.style.marginLeft&&"auto"===t.style.marginRight?i.align="center":i.align=""}},51804:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbool"}},51834:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Altezza linea"}},51855:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg> '},52230:function(t,i){"use strict";i.default={"copy-format":"복사 형식"}},52285:function(t,i){"use strict";i.default={"copy-format":"کپی کردن قالب"}},52507:function(t,i){"use strict";i.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> '},52604:function(t,i,n){"use strict";n.d(i,{Snapshot:function(){return a}});var r=n(91907),o=n(82758),s=n(2748);class a extends r.ViewComponent{className(){return"Snapshot"}static equal(t,i){return t.html===i.html&&JSON.stringify(t.range)===JSON.stringify(i.range)}static countNodesBeforeInParent(t){if(!t.parentNode)return 0;let i=t.parentNode.childNodes,n=0,r=null;for(let o=0;o<i.length;o+=1){if(!r||this.isIgnoredNode(i[o])||s.Dom.isText(r)&&s.Dom.isText(i[o])||(n+=1),i[o]===t)return n;r=i[o]}return 0}static strokeOffset(t,i){for(;s.Dom.isText(t);)t=t.previousSibling,s.Dom.isText(t)&&t.nodeValue&&(i+=t.nodeValue.length);return i}calcHierarchyLadder(t){let i=[];if(!t||!t.parentNode||!s.Dom.isOrContains(this.j.editor,t))return[];for(;t&&t!==this.j.editor;)t&&!a.isIgnoredNode(t)&&i.push(a.countNodesBeforeInParent(t)),t=t.parentNode;return i.reverse()}getElementByLadder(t){let i=this.j.editor,n;for(n=0;i&&n<t.length;n+=1)i=i.childNodes[t[n]];return i}get isBlocked(){return this.__isBlocked}__block(t){this.__isBlocked=t}transaction(t){this.__block(!0),this.__levelOfTransaction+=1;try{t()}catch(t){if(!o.IS_PROD)throw t}finally{this.__levelOfTransaction-=1,0===this.__levelOfTransaction&&this.__block(!1)}}make(){let t={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};t.html=this.__getCleanedEditorValue(this.j.editor);let i=this.j.s.sel;if(i&&i.rangeCount){let n=i.getRangeAt(0),r=this.calcHierarchyLadder(n.startContainer),o=this.calcHierarchyLadder(n.endContainer),s=a.strokeOffset(n.startContainer,n.startOffset),l=a.strokeOffset(n.endContainer,n.endOffset);r.length||n.startContainer===this.j.editor||(s=0),o.length||n.endContainer===this.j.editor||(l=0),t.range={startContainer:r,startOffset:s,endContainer:o,endOffset:l}}return t}restore(t){this.transaction(()=>{let i=this.storeScrollState();this.__getCleanedEditorValue(this.j.editor)!==t.html&&(this.j.value=t.html),this.restoreOnlySelection(t),this.restoreScrollState(i)})}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(t){let{j:i}=this,{ow:n}=i;n.scrollTo(n.scrollX,t[0]),i.editor.scrollTop=t[1]}restoreOnlySelection(t){try{if(t.range){let i=this.j.ed.createRange();i.setStart(this.getElementByLadder(t.range.startContainer),t.range.startOffset),i.setEnd(this.getElementByLadder(t.range.endContainer),t.range.endOffset),this.j.s.selectRange(i)}}catch(t){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild),o.IS_PROD}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(t){return s.Dom.isText(t)&&!t.nodeValue||s.Dom.isTemporary(t)}__getCleanedEditorValue(t){let i=t.cloneNode(!0);return s.Dom.temporaryList(i).forEach(s.Dom.unwrap),i.innerHTML}constructor(){super(...arguments),this.__isBlocked=!1,this.__levelOfTransaction=0}}},52742:function(t,i,n){"use strict";function r(t){return null!=t&&t===t.window}n.d(i,{isWindow:function(){return r}})},52826:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="readSelection",o="Get information about the current selection including HTML content and optional context",s=[{name:"contextCharsBefore",type:"number",description:"Number of characters to include before the selection",required:!1,default:0},{name:"contextCharsAfter",type:"number",description:"Number of characters to include after the selection",required:!1,default:0}],a=!1},52951:function(t,i,n){"use strict";var r=n(82758),o=n(65478),s=n(2748),a=n(580),l=n(21537),u=n(50911);n(36204);var c=n(70022),d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class h extends u.Plugin{onInsertHTML(t){var i;if(!this.j.o.readonly&&!this.j.isEditorMode())return null==(i=this.sourceEditor)||i.insertRaw(t),this.toWYSIWYG(),!1}fromWYSIWYG(t=!1){if(!this.__lock||!0===t){this.__lock=!0;let t=this.j.getEditorValue(!1,r.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;let t=this.getMirrorValue();t!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=t,this.__lock=!1,this.__oldMirrorValue=t)}getNormalPosition(t,i){for(i=i.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,t=>{let i="";for(let n=0;n<t.length;n+=1)i+=r.INVISIBLE_SPACE;return i});t>0&&i[t]===r.INVISIBLE_SPACE;)t--;let n=t;for(;n>0;){if("<"===i[--n]&&void 0!==i[n+1]&&i[n+1].match(/[\w/]+/i))return n;if(">"===i[n])break}return t}clnInv(t){return t.replace(r.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(t){var i;if("selectall"===t.toLowerCase()&&this.j.getRealMode()===r.MODE_SOURCE)return null==(i=this.sourceEditor)||i.selectAll(),!1}getMirrorValue(){var t;return(null==(t=this.sourceEditor)?void 0:t.getValue())||""}setMirrorValue(t){var i;null==(i=this.sourceEditor)||i.setValue(t)}setFocusToMirror(){var t;null==(t=this.sourceEditor)||t.focus()}saveSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;let t=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){let i=this.j.s.marker(!0),n=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(t.substring(0,n)+this.clnInv(i.outerHTML)+t.substring(n))}else{let i=this.j.s.marker(!0),n=this.j.s.marker(!1),r=this.getNormalPosition(this.getSelectionStart(),t),o=this.getNormalPosition(this.getSelectionEnd(),t);this.setMirrorValue(t.slice(0,r)+this.clnInv(i.outerHTML)+t.slice(r,o)+this.clnInv(n.outerHTML)+t.slice(o))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG){this.__lock=!0,this.j.s.restore(),this.__lock=!1;return}let t=this.getMirrorValue(),i=0,n=0;try{if(t=t.replace(/<span[^>]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/<span[^>]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let i=this.j.e.fire("beautifyHTML",t);(0,l.isString)(i)&&(t=i)}if(n=i=t.indexOf(this.tempMarkerStart),t=t.replace(this.tempMarkerStartReg,""),-1!==i){let i=t.indexOf(this.tempMarkerEnd);-1!==i&&(n=i)}t=t.replace(this.tempMarkerEndReg,"")}finally{t=t.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(t),this.setMirrorSelectionRange(i,n),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(t,i){var n;null==(n=this.sourceEditor)||n.setSelectionRange(t,i)}onReadonlyReact(){var t;null==(t=this.sourceEditor)||t.setReadOnly(this.j.o.readonly)}afterInit(t){if(this.mirrorContainer=t.c.div("jodit-source"),t.workplace.appendChild(this.mirrorContainer),t.e.on("afterAddPlace changePlace afterInit",()=>{t.workplace.appendChild(this.mirrorContainer)}),this.sourceEditor=(0,c.createSourceEditor)("area",t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),t.e.on(t.ow,"keydown",t=>{var i;t.key===r.KEY_ESC&&(null==(i=this.sourceEditor)?void 0:i.isFocused)&&this.sourceEditor.blur()}),this.onReadonlyReact(),t.e.on("placeholder.source",t=>{var i;null==(i=this.sourceEditor)||i.setPlaceHolder(t)}).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",t=>t),t.o.beautifyHTML){let i=()=>{var i;if(t.isInDestruct)return!1;let n=t.ow.html_beautify;return!!n&&!t.isInDestruct&&(null==(i=t.events)||i.off("beautifyHTML").on("beautifyHTML",t=>n(t)),!0)};i()||(0,l.loadNext)(t,t.o.beautifyHTMLCDNUrlsJS).then(i,()=>null)}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(t)}syncValueFromWYSIWYG(t=!1){let i=this.j;(i.getMode()===r.MODE_SPLIT||i.getMode()===r.MODE_SOURCE)&&this.fromWYSIWYG(t)}initSourceEditor(t){var i;if("area"!==t.o.sourceEditor){let i=(0,c.createSourceEditor)(t.o.sourceEditor,t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);i.onReadyAlways(()=>{var n,r;null==(n=this.sourceEditor)||n.destruct(),this.sourceEditor=i,this.syncValueFromWYSIWYG(!0),null==(r=t.events)||r.fire("sourceEditorReady",t)})}else null==(i=this.sourceEditor)||i.onReadyAlways(()=>{var i;this.syncValueFromWYSIWYG(!0),null==(i=t.events)||i.fire("sourceEditorReady",t)})}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),s.Dom.safeRemove(this.mirrorContainer)}constructor(){super(...arguments),this.buttons=[{name:"source",group:"source"}],this.__lock=!1,this.__oldMirrorValue="",this.tempMarkerStart="{start-jodit-selection}",this.tempMarkerStartReg=/{start-jodit-selection}/g,this.tempMarkerEnd="{end-jodit-selection}",this.tempMarkerEndReg=/{end-jodit-selection}/g,this.getSelectionStart=()=>{var t,i;return null!=(i=null==(t=this.sourceEditor)?void 0:t.getSelectionStart())?i:0},this.getSelectionEnd=()=>{var t,i;return null!=(i=null==(t=this.sourceEditor)?void 0:t.getSelectionEnd())?i:0}}}d([(0,o.watch)(":insertHTML.source")],h.prototype,"onInsertHTML",null),d([o.autobind],h.prototype,"fromWYSIWYG",null),d([o.autobind],h.prototype,"toWYSIWYG",null),d([o.autobind],h.prototype,"getNormalPosition",null),d([(0,o.watch)(":beforeCommand.source")],h.prototype,"onSelectAll",null),d([(0,o.watch)(":beforeSetMode.source")],h.prototype,"saveSelection",null),d([(0,o.watch)(":afterSetMode.source")],h.prototype,"removeSelection",null),d([o.autobind],h.prototype,"setMirrorSelectionRange",null),d([(0,o.watch)(":readonly.source")],h.prototype,"onReadonlyReact",null),d([o.autobind],h.prototype,"syncValueFromWYSIWYG",null),a.pluginSystem.add("source",h)},52968:function(t,i,n){"use strict";n.d(i,{AceEditor:function(){return r.AceEditor},TextAreaEditor:function(){return o.TextAreaEditor}});var r=n(60031),o=n(7483)},52995:function(t,i){"use strict";i.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"}},53014:function(t,i,n){"use strict";n.d(i,{applyTheme:function(){return s}});let r=["jodit_theme_dark","jodit-ai-assistant-pro_theme_dark","jodit-dialog_theme_dark"],o=["jodit_theme_light","jodit-ai-assistant-pro_theme_light","jodit-dialog_theme_light"];function s(t,i,n,s,a){let l;if(null==s||s.classList.remove(...r),null==s||s.classList.remove(...o),"dialog"===n){let t=null==a?void 0:a.container;null==t||t.classList.remove(...r),null==t||t.classList.remove(...o)}if(l="dark"===i?r:o,null==s||s.classList.add(...l),"dialog"===n){let t=null==a?void 0:a.container;null==t||t.classList.add(...l)}}},53121:function(t){t.exports='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M19,21H5a2,2,0,0,1-2-2V17a1,1,0,0,1,2,0v2H19V17a1,1,0,0,1,2,0v2A2,2,0,0,1,19,21Z"/> <path d="M18,5H6A1,1,0,0,1,6,3H18a1,1,0,0,1,0,2Z"/> <path d="M15.71,10.29l-3-3a1,1,0,0,0-.33-.21,1,1,0,0,0-.76,0,1,1,0,0,0-.33.21l-3,3a1,1,0,0,0-.21,1.09A1,1,0,0,0,9,12h2v3a1,1,0,0,0,2,0V12h2a1,1,0,0,0,.92-.62A1,1,0,0,0,15.71,10.29Z"/> </svg>'},53189:function(t){t.exports={"Show Blocks":"Zeigen Bl\xf6cke"}},53212:function(t,i,n){"use strict";n.d(i,{cleanFromWord:function(){return l}});var r=n(82758),o=n(2748),s=n(4510),a=n(49055);function l(t){-1!==t.indexOf("<html ")&&(t=(t=t.substring(t.indexOf("<html "),t.length)).substring(0,t.lastIndexOf("</html>")+7));let i="";try{let n=r.globalDocument.createElement("div");n.innerHTML=t;let a=[];n.firstChild&&o.Dom.each(n,t=>{if(t)switch(t.nodeType){case Node.ELEMENT_NODE:switch(t.nodeName){case"STYLE":case"LINK":case"META":a.push(t);break;case"W:SDT":case"W:SDTPR":case"FONT":o.Dom.unwrap(t);break;default:(0,s.toArray)(t.attributes).forEach(i=>{-1===["src","href","rel","content"].indexOf(i.name.toLowerCase())&&t.removeAttribute(i.name)})}break;case Node.TEXT_NODE:break;default:a.push(t)}}),o.Dom.safeRemove.apply(null,a),i=n.innerHTML}catch(t){}return i&&(t=i),(t=t.split(/(\n)/).filter(a.trim).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/<!--[^>]*>/g,"")}},53213:function(t,i,n){"use strict";n.d(i,{persistent:function(){return s}});var r=n(78213),o=n(39955);function s(t,i){t.hookStatus(r.STATUSES.ready,t=>{let n=(0,o.isViewObject)(t)?t:t.jodit,r=`${n.options.namespace}${t.componentName}_prop_${i}`,s=t[i];Object.defineProperty(t,i,{get(){var t;return null!=(t=n.storage.get(r))?t:s},set(t){n.storage.set(r,t)}})})}},53259:function(t,i){"use strict";i.default='<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"> <path d="M5.09668 6.99707H7.17358L4.17358 3.99707L1.17358 6.99707H3.09668V17.0031H1.15881L4.15881 20.0031L7.15881 17.0031H5.09668V6.99707Z"/> <path d="M22.8412 7H8.84119V5H22.8412V7Z"/> <path d="M22.8412 11H8.84119V9H22.8412V11Z"/> <path d="M8.84119 15H22.8412V13H8.84119V15Z"/> <path d="M22.8412 19H8.84119V17H22.8412V19Z"/> </svg> '},53326:function(t,i,n){"use strict";n.d(i,{htmlspecialchars:function(){return o}});var r=n(82758);function o(t){let i=r.globalDocument.createElement("div");return i.textContent=t,i.innerHTML}},53361:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Sprawdzanie pisowni"}},53392:function(t,i,n){"use strict";n.d(i,{removeEmptyTextNode:function(){return o}});var r=n(2748);function o(t,i,n,o,s,a){return r.Dom.isText(i)&&!i.nodeValue?(i===a&&t.s.isCollapsed()&&t.s.setCursorAfter(i),r.Dom.safeRemove(i),!0):n}},53437:function(t,i,n){"use strict";n.r(i),i.default={symbols:"Symbol"}},53454:function(t,i,n){"use strict";n.d(i,{onChangeGeometries:function(){return l}});var r=n(56075),o=n(11886),s=n(72690),a=n(67912);function l(t,i){var n,l,u,c;switch(t.type){case"polyline":case"polygon":{let n=(0,a.pathToArray)(t.gme.getPath()),l=(0,o._)((0,r._)({},t.state),{coordinates:n});s.updateStateAndGme.call(this,l,i,!0);break}case"marker":{let a=t.gme.getPosition(),u=(0,o._)((0,r._)({},t.state),{coordinates:[null!=(n=null==a?void 0:a.lat())?n:0,null!=(l=null==a?void 0:a.lng())?l:0]});s.updateStateAndGme.call(this,u,i,!0);break}case"circle":{let n=t.gme.getCenter(),a=(0,o._)((0,r._)({},t.state),{radius:t.gme.getRadius(),coordinates:[null!=(u=null==n?void 0:n.lat())?u:0,null!=(c=null==n?void 0:n.lng())?c:0]});s.updateStateAndGme.call(this,a,i,!0)}}}},53585:function(t,i,n){"use strict";n.d(i,{convertStyleUnitToPixels:function(){return o}});var r=n(43712);let o=(t,{jodit:i})=>{if(!i.o.pasteFromWord.convertUnitsToPixel)return t;let{style:n}=t;return n.forEach(t=>{let i=n.get(t);i&&n.set(t,i.toString().replace(/\d+(\.\d+)?(pt|cm)/g,t=>(0,r.convertUnitToPx)(t)+"px"))}),t}},53586:function(t,i,n){"use strict";n(6441).Config.prototype.autocomplete={sources:[],maxItems:50,isMatchedQuery:(t,i)=>0===i.toLowerCase().indexOf(t.toLowerCase()),itemRenderer:t=>{var i;return null!=(i=t.title)?i:t.value},insertValueRenderer:t=>t.value+" "}},53636:function(t,i,n){"use strict";n.d(i,{openImageEditorDialog:function(){return a}});var r=n(70799),o=n(29960),s=n(50050);function a(t,i){let n=(0,o.attr)(i.image,"src")||"",a=t.c.element("a"),l=()=>{if(a.host!==location.host)return void t.confirm("You can only edit your own images. Download this image on the host?",n=>{n&&t.uploader&&t.uploader.uploadRemoteImage(a.href.toString(),n=>{t.alert("The image has been successfully uploaded to the host!",()=>{(0,r.isString)(n.newfilename)&&(i.values.imageSrc=n.baseurl+n.newfilename)})},i=>{t.alert("There was an error loading %s",i.message)})})};a.href=n,t.filebrowser.dataProvider.getPathByUrl(a.href.toString()).then(r=>{s.openImageEditor.call(t.filebrowser,a.href,r.name,r.path,r.source,t=>{let r=new Date().getTime(),o=t||n;i.values.imageSrc=o+(-1!==o.indexOf("?")?"":"?")+"&_tmp="+r.toString()},i=>{t.alert(i.message)})}).catch(i=>{t.alert(i.message,l)})}},53650:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbol"}},53651:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 1662l17-85q6-2 81.5-21.5t111.5-37.5q28-35 41-101 1-7 62-289t114-543.5 52-296.5v-25q-24-13-54.5-18.5t-69.5-8-58-5.5l19-103q33 2 120 6.5t149.5 7 120.5 2.5q48 0 98.5-2.5t121-7 98.5-6.5q-5 39-19 89-30 10-101.5 28.5t-108.5 33.5q-8 19-14 42.5t-9 40-7.5 45.5-6.5 42q-27 148-87.5 419.5t-77.5 355.5q-2 9-13 58t-20 90-16 83.5-6 57.5l1 18q17 4 185 31-3 44-16 99-11 0-32.5 1.5t-32.5 1.5q-29 0-87-10t-86-10q-138-2-206-2-51 0-143 9t-121 11z"/> </svg> '},53696:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg> '},53822:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Высота линии"}},53835:function(t,i,n){"use strict";n.d(i,{BUILT_IN_TOOLS:function(){return p},getToolNames:function(){return f}});var r=n(39296),o=n(16745),s=n(78717),a=n(5618),l=n(90991),u=n(2020),c=n(12570),d=n(95323),h=n(97603);let p={readDocument:a.default,readBlocks:s.default,readSelection:l.default,writeDocument:h.default,replaceSelection:d.default,replaceBlock:u.default,replaceInDocument:c.default,insertHTML:o.default,applyFormat:r.default};function f(){return Object.keys(p)}},54023:function(t){t.exports={"Show Blocks":"Показать Блоки"}},54041:function(t,i,n){"use strict";n.d(i,{getBlockWrapper:function(){return function t(i,n,s=r.IS_BLOCK){let a=i,l=n.editor;do{if(!a||a===l)break;if(s.test(a.nodeName)){if(o.Dom.isLeaf(a))return a;return t(a.parentNode,n,/^li$/i)||a}a=a.parentNode}while(a&&a!==l);return null}}});var r=n(82758),o=n(2748)},54076:function(t,i,n){"use strict";function r(t,i){let[n,r]=i.split("::");t.execCommand(n,null,r)}n.d(i,{execSpellCommand:function(){return r}})},54079:function(t,i,n){"use strict";n.d(i,{Ajax:function(){return h}});var r=n(8884),o=n(82758),s=n(45219),a=n(21537),l=n(89890),u=n(6441);n(57459);var c=n(98582);function d(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}class h{className(){return"Ajax"}__buildParams(t,i){return(0,a.isPlainObject)(t)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(t):(0,a.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,t,i):(0,a.isString)(t)||t instanceof o.globalWindow.FormData||"object"==typeof t&&null!=t&&(0,a.isFunction)(t.append)?t:(0,a.buildQuery)(t)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch(t){}return this}send(){this.__activated=!0;let{xhr:t,o:i}=this,n=this.prepareRequest();return this.__async.promise((r,o)=>{var s;return(s=function*(){var s;let u=()=>{this.__isFulfilled=!0,o(l.connection("Connection error"))},d=()=>{this.__isFulfilled=!0,r(new c.Response(n,t.status,t.statusText,!t.responseType?t.responseText:t.response))};t.onload=d,t.onabort=()=>{this.__isFulfilled=!0,o(l.abort("Abort connection"))},t.onerror=u,t.ontimeout=u,i.responseType&&(t.responseType=i.responseType),t.onprogress=t=>{var i,n;let r=0;t.lengthComputable&&(r=t.loaded/t.total*100),null==(n=(i=this.options).onProgress)||n.call(i,r)},t.onreadystatechange=()=>{var n,r;null==(r=(n=this.options).onProgress)||r.call(n,10),t.readyState===XMLHttpRequest.DONE&&(i.successStatuses.includes(t.status)?d():t.statusText&&(this.__isFulfilled=!0,o(l.connection(t.statusText))))},t.withCredentials=null!=(s=i.withCredentials)&&s;let{url:h,data:p,method:f}=n;t.open(f,h,!0),i.contentType&&t.setRequestHeader&&t.setRequestHeader("Content-type",i.contentType);let{headers:m}=i;(0,a.isFunction)(m)&&(m=yield m.call(this)),m&&t.setRequestHeader&&Object.keys(m).forEach(i=>{t.setRequestHeader(i,m[i])}),this.__async.setTimeout(()=>{t.send(p?this.__buildParams(p):void 0)},0)},function(){var t=this,i=arguments;return new Promise(function(n,r){var o=s.apply(t,i);function a(t){d(o,n,r,a,l,"next",t)}function l(t){d(o,n,r,a,l,"throw",t)}a(void 0)})}).call(this)})}prepareRequest(){if(!this.o.url)throw l.error("Need URL for AJAX request");let t=this.o.url,i=this.o.data,n=(this.o.method||"get").toLowerCase();if("get"===n&&i&&(0,a.isPlainObject)(i)){let n=t.indexOf("?");if(-1!==n){let r=(0,a.parseQuery)(t);t=t.substring(0,n)+"?"+(0,a.buildQuery)(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({},r,i))}else t+="?"+(0,a.buildQuery)(this.o.data)}let r={url:t,method:n,data:i};return h.log.splice(100),h.log.push(r),r}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}constructor(t,i=u.Config.prototype.defaultAjaxOptions){this.__async=new r.Async,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,a.ConfigProto)(t||{},i),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}}h.log=[],function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([s.autobind],h.prototype,"destruct",null)},54296:function(t,i,n){"use strict";n.d(i,{buildTemplatesPopup:function(){return o}});let r="jodit-templates-popup";function o(t,i,n){let o=t.c.div(r);for(let s of i){let i=t.c.element("button");i.type="button",i.className=`${r}__card`;let a=t.c.div(`${r}__card-preview`);if(s.image){let i=t.c.element("img");i.src=s.image,i.alt=s.title,a.appendChild(i)}else{let i=t.c.div(`${r}__card-preview-inner`);i.innerHTML=s.html,a.appendChild(i)}i.appendChild(a);let l=t.c.div(`${r}__card-info`),u=t.c.div(`${r}__card-title`);u.textContent=s.title,l.appendChild(u);let c=t.c.div(`${r}__card-description`);c.textContent=s.description,l.appendChild(c),i.appendChild(l),t.e.on(i,"click",()=>{t.s.focus(),t.s.insertHTML(s.html),t.synchronizeValues(),n()}),o.appendChild(i)}return o}},54389:function(t,i,n){"use strict";var r=n(22732),o=n(12153),s=n(6441),a=n(78614),l=n(86835),u=n(302);o.Icon.set("indent",a.default).set("outdent",l.default),s.Config.prototype.controls.indent={tooltip:"Increase Indent"},s.Config.prototype.controls.outdent={isDisabled:t=>{let i=t.s.current();if(i){let n=r.Dom.closest(i,r.Dom.isBlock,t.editor);if(n){let i=(0,u.getKey)(t.o.direction,n);return!n.style[i]||0>=parseInt(n.style[i],10)}}return!0},tooltip:"Decrease Indent"},s.Config.prototype.indentMargin=10},54600:function(t,i,n){"use strict";n.d(i,{splitFragment:function(){return a}});var r=n(2748),o=n(26395),s=n(44245);function a(t,i,n){let a=i.s,{enter:l}=i.o,u=l.toLowerCase(),c=r.Dom.isLeaf(n),d=n.tagName.toLowerCase()===u||c,h=a.cursorOnTheRight(n,t),p=a.cursorOnTheLeft(n,t);if(!d&&(h||p)){h?r.Dom.after(n,t):r.Dom.before(n,t),(0,s.insertParagraph)(t,i,u),p&&!h&&r.Dom.prepend(n,t);return}let f=a.splitSelection(n,t);(0,o.scrollIntoViewIfNeeded)(f,i.editor,i.ed)}},54747:function(t,i,n){"use strict";n.d(i,{UIResize:function(){return s}});var r=n(2748),o=n(41180);class s{static remove(t){t.container.classList.remove("jodit-ui-resize"),r.Dom.safeRemove(t.container.querySelector(".jodit-ui-resize__handle"))}static install(t,i,n={}){var r;t.container.classList.add("jodit-ui-resize"),"static"===(0,o.css)(t.container,"position")&&(0,o.css)(t.container,"position","relative");let s=t.j.c.div("jodit-ui-resize__handle");s.classList.add("jodit-ui-resize__handle_type_"+i),n.handleClassName&&s.classList.add(n.handleClassName),t.container.appendChild(s),t.j.e.on(s,"mousedown touchstart",this.onStartResize.bind(this,t,i,null!=(r=n.onResize)?r:()=>void 0))}static onStartResize(t,i,n,r){let o={x:r.clientX,y:r.clientY,w:t.container.offsetWidth,h:t.container.offsetHeight,direction:i},s=t.j.async.throttle(this.onResize.bind(this,t,o,n),t.j.defaultTimeout/10);t.j.lock(),t.j.e.on(t.j.ow,"mousemove touchmove",s).one(t.j.ow,"mouseup touchend",this.onEndResize.bind(this,t,s))}static onResize(t,i,n,r){let s,a=["left","right"].includes(i.direction),l=t.container.parentElement;l&&(s=a?i.w+(r.clientX-i.x)*("right"===i.direction?1:-1):i.h+(r.clientY-i.y)*("top"===i.direction?-1:1),!0!==(null==n?void 0:n({newSize:s}))&&(0,o.css)(t.container,a?"width":"height",s/(a?l.offsetWidth:l.offsetHeight)*100+"%"))}static onEndResize(t,i,n){t.j.e.off(t.j.ow,"mousemove touchmove",i),t.j.unlock()}}},54765:function(t,i,n){"use strict";n.d(i,{hasBrowserColorPicker:function(){return o}});var r=n(82758);function o(){let t=!0;try{let i=r.globalDocument.createElement("input");i.type="color",i.value="!",t="color"===i.type&&"!"!==i.value}catch(i){t=!1}return t}},55029:function(t,i,n){"use strict";var r=n(17298),o=n(6441);o.Config.prototype.googleMaps={saveStateInStorage:!0,useStaticImage:!1,apiUrl:"https://maps.googleapis.com/maps/api/js?key=${j.o.googleMaps.API_KEY}&libraries=geometry,places,drawing&language=${j.o.language}&callback=JoditGoogleReadyHandler",API_KEY:"AIzaSyDjnR03hxN8fo0QJ85Jkkvk2DALTh3eynY",dialog:{size:[700,700]},inlineEditorOptions:{buttons:["bold","italic","link","brush","fontsize","image"]},map:{type:"roadmap",layer:"default",center:"auto",defaultCenter:[-34.397,150.644],defaultZoom:10,zoom:10,size:[500,400],defaultStates:{polyline:{strokeColor:"#5ba4f3",strokeWeight:3},polygon:{strokeColor:"#417706",fillColor:"#5b9302",strokeWeight:1,fillOpacity:.5},marker:{},text:{},circle:{strokeColor:"#da767c",fillColor:"#f34ca8",strokeWeight:1,fillOpacity:.5}}}},o.Config.prototype.controls.googleMaps={tooltip:"Google Maps",icon:"map",command:r.COMMAND_OPEN_DIALOG};let s=t=>({icon:`edit-${t}`,isActive:i=>i.buffer.get("createMode.gm")===t,exec:i=>{i.e.fire("changeCreateMode.gm",t)}});o.Config.prototype.controls.gm={hand:s("hand"),marker:s("marker"),polyline:s("polyline"),polygon:s("polygon"),circle:s("circle"),text:s("text")}},55099:function(t,i,n){"use strict";var r=n(82758),o=n(12153),s=n(6441),a=n(21597);s.Config.prototype.useSearch=!0,s.Config.prototype.search={lazyIdleTimeout:0,useCustomHighlightAPI:r.globalWindow&&void 0!==r.globalWindow.Highlight},o.Icon.set("search",a.default),s.Config.prototype.controls.find={tooltip:"Find",icon:"search",exec(t,i,{control:n}){switch(n.args&&n.args[0]){case"findPrevious":t.e.fire("searchPrevious");break;case"findNext":t.e.fire("searchNext");break;case"replace":t.execCommand("openReplaceDialog");break;default:t.execCommand("openSearchDialog")}},list:{search:"Find",findNext:"Find Next",findPrevious:"Find Previous",replace:"Replace"},childTemplate:(t,i,n)=>n}},55153:function(t,i,n){"use strict";n.d(i,{derive:function(){return o}});var r=n(23282);function o(...t){return i=>{let n=i.prototype;for(let i=0;i<t.length;i++){let o=t[i],s=Object.getOwnPropertyNames(o.prototype);for(let t=0;t<s.length;t++){let i=s[t],a=Object.getOwnPropertyDescriptor(o.prototype,i);null!=a&&(0,r.isFunction)(a.value)&&!(0,r.isFunction)(n[i])&&Object.defineProperty(n,i,{enumerable:!0,configurable:!0,writable:!0,value:function(...t){return a.value.call(this,...t)}})}}}}},55307:function(t,i,n){"use strict";n.d(i,{states:function(){return d},transactions:function(){return h}});var r=n(82758),o=n(2748),s=n(38837),a=n(63687),l=n(77361);function u(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}function c(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}let d={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"},h={[d.START]:{exec(t){let{element:i,jodit:n,style:r,mode:s,collapsed:h}=t;if((0,a.isInsideInvisibleElement)(i,n.editor)||!h&&o.Dom.isEmptyContent(i))return c(u({},t),{next:d.END});let p=(0,a.getSuitParent)(r,i,n.editor)||(0,a.getSuitChild)(r,i);if(p)return c(u({},t),{next:d.ELEMENT,element:p});let f=(0,a.suitableClosest)(r,i,n.editor);return r.elementIsList&&o.Dom.isList(f)?c(u({},t),{next:d.LIST}):f?c(u({},t),{next:d.EXTRACT}):c(u({},t),{next:s!==l.UNWRAP?d.UNWRAP_CHILDREN:d.END})}},[d.LIST]:{exec(t){let{element:i,jodit:n,mode:s}=t;if(s!==l.INITIAL&&s!==l.UNWRAP&&s!==l.REPLACE)return c(u({},t),{next:d.END});let a=o.Dom.closest(i,"li",n.editor);return a&&o.Dom.closest(i,r.LIST_TAGS,n.editor)?c(u({},t),{element:a,next:d.TOGGLE_LIST}):c(u({},t),{next:d.END})}},[d.TOGGLE_LIST]:{exec(t){return c(u({},t),{mode:(0,a.toggleOrderedList)(t.style,t.element,t.jodit,t.mode),next:d.END})}},[d.EXTRACT]:{exec(t){var i;let{element:n,jodit:r,style:l}=t,h=(0,a.suitableClosest)(l,n,r.editor);return((0,s.assert)(h,"This place should have an element"),!l.elementIsBlock&&(null==(i=l.options.attributes)?void 0:i.style)&&o.Dom.isBlock(h))?c(u({},t),{next:d.WRAP}):(l.elementIsBlock||(0,a.extractSelectedPart)(h,n,r),c(u({},t),{element:h,next:d.ELEMENT}))}},[d.UNWRAP_CHILDREN]:{exec(t){let{element:i,style:n}=t;return(0,a.unwrapChildren)(n,i)?c(u({},t),{mode:l.UNWRAP,next:d.END}):c(u({},t),{next:d.WRAP})}},[d.WRAP]:{exec(t){let{element:i,jodit:n,style:r}=t,o=(0,a.wrap)(r,i,n);return c(u({},t),{next:r.elementIsList?d.END:d.CHANGE,mode:l.WRAP,element:o})}},[d.ELEMENT]:{exec(t){let{style:i,element:n,jodit:r}=t;return(0,a.toggleAttributes)(i,n,r,l.INITIAL,!0)!==l.INITIAL?c(u({},t),{next:d.CHANGE}):o.Dom.isTag(n,i.element)?c(u({},t),{next:d.UNWRAP}):c(u({},t),{next:d.END})}},[d.CHANGE]:{exec(t){let{style:i,element:n,jodit:r,mode:s}=t,h=(0,a.toggleAttributes)(i,n,r,t.mode);return s!==l.WRAP&&h===l.UNSET&&!n.attributes.length&&o.Dom.isTag(n,i.element)?c(u({},t),{next:d.UNWRAP}):c(u({},t),{mode:h,next:d.END})}},[d.UNWRAP]:{exec(t){return t.element.attributes.length&&o.Dom.isTag(t.element,t.style.element)?c(u({},t),{next:d.REPLACE_DEFAULT}):(o.Dom.unwrap(t.element),c(u({},t),{mode:l.UNWRAP,next:d.END}))}},[d.REPLACE_DEFAULT]:{exec(t){return o.Dom.replace(t.element,t.style.defaultTag,t.jodit.createInside,!0),c(u({},t),{mode:l.REPLACE,next:d.END})}},[d.END]:{exec(t){return t}}}},55311:function(t,i,n){"use strict";n(6441).Config.prototype.tableAllowCellSelection=!0},55487:function(t,i,n){"use strict";n.d(i,{ToolRegistry:function(){return l}});var r=n(77688),o=n(82749),s=n(56075),a=n(53835);class l{registerBuiltInTools(t){t.forEach(t=>{let i=a.BUILT_IN_TOOLS[t];i&&this.tools.set(t,i)})}registerCustomTools(t){t.forEach(t=>{this.validateToolDefinition(t),this.tools.set(t.name,t)})}validateToolDefinition(t){if(!t.name||"string"!=typeof t.name)throw Error("Tool must have a valid name");if(!t.description||"string"!=typeof t.description)throw Error(`Tool "${t.name}" must have a description`);if(!Array.isArray(t.parameters))throw Error(`Tool "${t.name}" must have a parameters array`);if("function"!=typeof t.execute)throw Error(`Tool "${t.name}" must have an execute function`);t.parameters.forEach(i=>{if(!i.name||"string"!=typeof i.name)throw Error(`Tool "${t.name}" has a parameter without a valid name`);if(!i.type)throw Error(`Tool "${t.name}" parameter "${i.name}" must have a type`);if("boolean"!=typeof i.required)throw Error(`Tool "${t.name}" parameter "${i.name}" must specify if it's required`)})}getAllTools(){return Array.from(this.tools.values())}getTool(t){return this.tools.get(t)}hasTool(t){return this.tools.has(t)}getToolNames(){return Array.from(this.tools.keys())}executeTool(t,i,n){return(0,r._)(function*(){let r=this.getTool(t);if(!r)throw Error(`Tool "${t}" not found`);let o=this.applyDefaults(r,i);this.validateArguments(r,o);try{return yield r.execute(this.jodit,o,n)}catch(t){if((null==t?void 0:t.name)==="AbortError"||n.aborted)throw Error("Tool execution was aborted");throw t}}).call(this)}validateArguments(t,i){let n=Object.keys(i);for(let i of t.parameters.filter(t=>t.required).map(t=>t.name))if(!n.includes(i))throw Error(`Tool "${t.name}" requires parameter "${i}"`);for(let[n,r]of Object.entries(i)){let i=t.parameters.find(t=>t.name===n);if(!i){this.jodit.o.aiAssistantPro.debug;continue}let o=Array.isArray(r)?"array":"object"==typeof r&&null!=r?"object":typeof r;if(i.type!==o&&!("number"===i.type&&"string"===o&&!isNaN(Number(r))))throw Error(`Tool "${t.name}" parameter "${n}" expects type "${i.type}" but got "${o}"`);if(i.enum&&i.enum.length>0&&!i.enum.includes(r))throw Error(`Tool "${t.name}" parameter "${n}" must be one of: ${i.enum.join(", ")}`)}}applyDefaults(t,i){let n=(0,s._)({},i);for(let i of t.parameters)void 0===n[i.name]&&void 0!==i.default&&(n[i.name]=i.default);return n}destruct(){this.tools.clear()}constructor(t){(0,o._)(this,"jodit",void 0),(0,o._)(this,"tools",void 0),this.jodit=t,this.tools=new Map,this.registerBuiltInTools(t.o.aiAssistantPro.enabledTools||[]),this.registerCustomTools(t.o.aiAssistantPro.customTools||[])}}},55535:function(t,i,n){"use strict";n.d(i,{StateManager:function(){return a}});var r=n(82749),o=n(31635),s=n(65478);class a{getIndex(t,i=this.state.elements){return i.findIndex(i=>i.uniqueHashKey===t.uniqueHashKey)}isActive(t){return!!this.state.activeElements.find(i=>i.uniqueHashKey===t.uniqueHashKey)}isFavorite(t){return!!this.state.favorites.find(i=>i.uniqueHashKey===t.uniqueHashKey)}addActive(t,i){var n;this.state.metaInfo=t,this.state.info=null!=(n=t.file)?n:"",this.state.lastSelectedIndex=this.getIndex(t),this.state.activeElements=i?[...this.state.activeElements,t]:[t]}callSelectHandler(){var t;let i=this.state.activeElements;null==(t=this.state.onSelectCallBack)||t.call(this,{baseurl:"",files:i.map(t=>t.fileURL),isImages:i.map(t=>!!t.isImage)})}setFilter(t){this.state.filterWord=t}toggleFavorite(t){let i=this.getIndex(t,this.state.favorites),n=[...this.state.favorites];-1===i?n.push(t):n.splice(i,1),this.state.favorites=n}fillTreeForPath(t,i){if(!this.state.tree.length||!i||"/"===i){this.state.tree=t.map(c);return}this.removeActive(this.state.tree),t.forEach(t=>{var n;let r=l(this.state.tree,t.name);r||(r=c(t),this.state.tree.push(r)),r.isActive=!0;let o=(n=r,i.split("/").reduce((t,i)=>t&&l(t.children,i),n));o&&(o.isActive=!0,o.children=u(t.folders).map(n=>d(n,i+"/"+n,t.name)))}),this.state.tree=[...this.state.tree]}removeActive(t){t.forEach(t=>{t.isActive=!1,this.removeActive(t.children)})}get isFavoriteItems(){return this.state.favorites===this.state.elements}constructor(t){(0,r._)(this,"state",void 0),this.state=t}}function l(t,i){var n;return null!=(n=t.find(t=>t.name===i))?n:null}function u(t){return t.filter(t=>"."!==t&&".."!==t)}function c(t){return{type:"source",name:t.name,title:t.title,sourceName:t.name,path:"/",children:u(t.folders).map(i=>d(i,i,t.name))}}function d(t,i,n){return{type:"directory",name:t,path:i,sourceName:n,children:[]}}(0,o.__decorate)([s.autobind],a.prototype,"getIndex",null),(0,o.__decorate)([s.autobind],a.prototype,"isActive",null),(0,o.__decorate)([s.autobind],a.prototype,"isFavorite",null)},55611:function(t,i,n){"use strict";n.d(i,{SentenceFinder:function(){return o.SentenceFinder},clearSelectionWrappers:function(){return r.clearSelectionWrappers},clearSelectionWrappersFromHTML:function(){return r.clearSelectionWrappersFromHTML},getSelectionWrappers:function(){return r.getSelectionWrappers},highlightTextRanges:function(){return r.highlightTextRanges}});var r=n(12270),o=n(93119)},55776:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"スペルチェック"}},55790:function(t){t.exports={"AI Assistant":"AI Ассистент","AI Assistant Pro":"AI Ассистент Pro","Welcome to AI Assistant":"Добро пожаловать в AI Ассистент","Start your first conversation":"Начните первый диалог","Tip: Select text in editor to add context":"Подсказка: Выделите текст в редакторе для добавления контекста","New chat":"Новый чат","Search conversations...":"Поиск диалогов...","No conversations yet":"Пока нет диалогов","Ask me anything...":"Спросите меня о чем угодно...","Ask a follow-up...":"Задайте дополнительный вопрос...","Reply...":"Ответить...","Type your message...":"Введите ваше сообщение...",Send:"Отправить",Cancel:"Отмена",Retry:"Повторить",Insert:"Вставить",Copy:"Копировать",Edit:"Редактировать",Delete:"Удалить",New:"Новый",Back:"Назад","Permission Required":"Требуется разрешение",Approve:"Разрешить",Deny:"Отклонить",Once:"Один раз","This conversation":"Этот диалог",Always:"Всегда","The AI wants to execute:":"AI хочет выполнить:","This will modify your document content.":"Это изменит содержимое вашего документа.","Executing...":"Выполняется...","Completed successfully":"Успешно выполнено",Failed:"Ошибка","Pending approval":"Ожидает разрешения","Denied by user":"Отклонено пользователем","Tool Result":"Результат инструмента","Tool Execution Error":"Ошибка выполнения инструмента",Context:"Контекст",Contexts:"Контексты","Add to AI Context":"Добавить в контекст AI",Remove:"Удалить","Clear all":"Очистить все","An error occurred":"Произошла ошибка","Request failed":"Запрос не выполнен","Connection error":"Ошибка соединения","AI Assistant is not configured":"AI Ассистент не настроен","Thinking...":"Думаю...","Generating response...":"Генерирую ответ...",insertHTML:"Вставить HTML",readDocument:"Прочитать документ",readBlock:"Прочитать блок",replaceInDocument:"Заменить в документе",replaceInBlock:"Заменить в блоке",getSelection:"Получить выделение","Just now":"Только что",Conversation:"Диалог","New Conversation":"Новый диалог",Yesterday:"Вчера","Delete conversation":"Удалить диалог","Are you sure you want to delete this conversation?":"Вы уверены, что хотите удалить этот диалог?","Failed to delete conversation":"Не удалось удалить диалог",Settings:"Настройки","General Settings":"Общие настройки","Conversation Settings":"Настройки диалога","Display Mode":"Режим отображения","Panel Width":"Ширина панели",Theme:"Тема",Model:"Модель",Temperature:"Температура",Close:"Закрыть",Dialog:"Модальное окно",Left:"Левая панель",Right:"Правая панель",Top:"Верхняя панель",Bottom:"Нижняя панель",Inherit:"Наследовать от редактора",Light:"Светлая тема",Dark:"Тёмная тема","%dm ago":"%dм назад","%dh ago":"%dч назад"}},55877:function(t,i,n){"use strict";n.d(i,{convertMediaUrlToVideoEmbed:function(){return a}});var r=n(82758),o=n(26049),s=n(82501);let a=(t,{width:i=400,height:n=345}={})=>{if(!(0,o.isURL)(t))return t;let a=r.globalDocument.createElement("a"),l=/(?:http?s?:\/\/)?(?:www\.)?(?:vimeo\.com)\/?(.+)/g;a.href=t,i||(i=400),n||(n=345);let u=a.protocol||"";switch(a.hostname){case"www.vimeo.com":case"vimeo.com":return l.test(t)?t.replace(l,'<iframe width="'+i+'" height="'+n+'" src="'+u+'//player.vimeo.com/video/$1" frameborder="0" allowfullscreen></iframe>'):t;case"youtube.com":case"www.youtube.com":case"youtu.be":case"www.youtu.be":{let r=a.search?(0,s.parseQuery)(a.search):{v:a.pathname.substring(1)};return/^embed\/.*/.test(r.v)&&(r.v=r.v.substring(6)),r.v?'<iframe width="'+i+'" height="'+n+'" src="'+u+"//www.youtube.com/embed/"+r.v+'" frameborder="0" allowfullscreen></iframe>':t}}return t}},55885:function(t,i,n){"use strict";n.d(i,{UIWelcomeScreen:function(){return a}});var r=n(31635),o=n(65478),s=n(67510);class a extends s.UIElement{className(){return"UIWelcomeScreen"}render(){return`<div class="&__container">
|
|
238
238
|
<div class="&__icon">
|
|
239
239
|
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
240
240
|
<path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2v1.93zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39z"/>
|
|
@@ -466,15 +466,15 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
|
|
|
466
466
|
<div class='&__preview'></div>
|
|
467
467
|
<div class='&__loader'></div>
|
|
468
468
|
<div class='&__next'>*angle-right*</div>
|
|
469
|
-
</div>`}onChangeCurrent(){return(0,r._)(function*(){let{current:t}=this;this.setMod("loading",!0);let i=this.getElm("preview");if((0,c.assert)(null!=i,"preview element does not exist"),d.Dom.detach(i),(0,u.css)(i,{backgroundImage:null}),t.isImage){let n=yield(0,u.loadImage)(t.fileURL,this.j);this.dialog.setPosition(),(0,u.css)(i,{width:Math.min(this.jodit.ow.innerWidth,n.naturalWidth),height:Math.min(this.jodit.ow.innerHeight-100,n.naturalHeight),backgroundImage:`url(${n.src})`})}else{let n=yield this.makeIframe(t.fileURL);i.appendChild(n)}this.dialog.setSize(),this.dialog.setPosition(),this.setMod("loading",!1)}).call(this)}makeIframe(t){let i=this.j.c.element("iframe");return i.classList.add(this.getFullElName("office-iframe")),i.src=/\.pdf/.test(t)?t:this.j.o.previewOfficeURL+encodeURIComponent(t),i}onPreviousClick(){let{current:t}=this,i=this.j.stateManager.getIndex(t,this.elements);i<=0?i=this.elements.length-1:i-=1,this.current=this.elements[i]}onNextClick(){let{current:t}=this,i=this.j.stateManager.getIndex(t,this.elements);i>=this.elements.length-1?i=0:i+=1,this.current=this.elements[i]}static open(t,i,n){return new h(t,i,n)}addGlobalListeners(){this.j.e.on(this.j.od,"keydown",this.onKeyPress)}onKeyPress(t){if(t.key===a.KEY_LEFT||t.key===a.KEY_RIGHT||t.key===a.KEY_SPACE)return t.key===a.KEY_LEFT?this.onPreviousClick():this.onNextClick(),!1}removeGlobalListeners(){this.j.e.off(this.j.od,"keydown",this.onKeyPress)}destruct(){return this.removeGlobalListeners(),this.dialog.destruct(),super.destruct()}constructor(t,i,n){super(t),(0,o._)(this,"current",void 0),(0,o._)(this,"elements",void 0),(0,o._)(this,"dialog",void 0),this.current=i,this.elements=n,this.dialog=new d.Dialog;const{dialog:r}=this;r.setMod("theme",t.state.theme).toolbar.setMod("mode","header"),r.open(this),this.elements=this.elements.filter(t=>t.isImage),r.e.on(r,"afterClose",()=>{this.destruct()}),this.addGlobalListeners(),this.onChangeCurrent(),r.toolbar.build([{icon:"check",exec:()=>{t.stateManager.addActive(this.current,!1),t.e.fire("select.filebrowser"),r.close()}},"dialog.close"])}}(0,s.__decorate)([(0,l.watch)("current")],h.prototype,"onChangeCurrent",null),(0,s.__decorate)([(0,l.watch)("previous:click")],h.prototype,"onPreviousClick",null),(0,s.__decorate)([(0,l.watch)("next:click")],h.prototype,"onNextClick",null),(0,s.__decorate)([l.autobind],h.prototype,"onKeyPress",null),h=(0,s.__decorate)([l.component],h)},69341:function(t,i,n){"use strict";n.d(i,{detectActiveStyle:function(){return a}});var r=n(82758),o=n(2748);function s(t,i){return t.nodeName.toLowerCase()===i.element&&i.classes.every(i=>t.classList.contains(i))}function a(t,i){let n=t.s.current();if(!n)return null;for(let a of i)if(r.IS_BLOCK.test(a.element)){let i=o.Dom.closest(n,o.Dom.isBlock,t.editor);if(i&&s(i,a))return a}else{let i=o.Dom.isElement(n)?n:n.parentNode;for(;i&&i!==t.editor;){if(o.Dom.isElement(i)&&s(i,a))return a;i=i.parentNode}}return null}},69398:function(t,i,n){"use strict";n.d(i,{UIPolylineEditor:function(){return u}});var r=n(31635),o=n(65478),s=n(80256),a=n(45128),l=n(14002);class u extends l.UIBaseEditor{className(){return"UIPolylineEditor"}onReady(){var t,i;super.onReady(),this.append([new s.UIInput(this.j,{label:"Stroke weight",value:null!=(t=this.state.strokeWeight)?t:1,type:"number",onChange:t=>this.j.e.fire(this,"change","strokeWeight",t)}),new a.ColorInput(this.j,{label:"Stroke color",value:null!=(i=this.state.strokeColor)?i:"#000",onChange:t=>this.j.e.fire(this,"change","strokeColor",t)}).setMod("trigger",!1)],"form")}}(0,r.__decorate)([(0,o.hook)("ready")],u.prototype,"onReady",null),u=(0,r.__decorate)([o.component],u)},69625:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Висота лінії"}},69874:function(t,i,n){"use strict";n.r(i),i.default={newline:"新行",delete:"删除",space:"空间","Speech Recognize":"言语识别",Sound:"声音","Interim Results":"中期业绩"}},69994:function(t,i,n){"use strict";n.d(i,{removeInsideComment:function(){return s}});var r=n(99658);let o=0;function s(t){return(t.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,r.html)(t))&&(o++,t.remove()),t.isComment&&o>0&&(0,r.html)(t).includes("[endif]")&&(o=o>0?o-1:0,t.remove()),o&&(t.isText||"img"===t.name&&(!t.attributes.src||/^file:/.test(t.attributes.src))))?(t.remove(),null):t}},70022:function(t,i,n){"use strict";n.d(i,{createSourceEditor:function(){return s}});var r=n(21537),o=n(52968);function s(t,i,n,s,a){let l;if((0,r.isFunction)(t))l=t(i);else switch(t){case"ace":if(!i.o.shadowRoot){l=new o.AceEditor(i,n,s,a);break}default:l=new o.TextAreaEditor(i,n,s,a)}return l.init(i),l.onReadyAlways(()=>{l.setReadOnly(i.o.readonly)}),l}},70045:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(43555);n(54389);var l=n(302);let u=(t,i,n,r)=>{if(!i||t.has(i))return;let o=(0,l.getKey)(n.o.direction,i);t.add(i);let s=i.style[o]?parseInt(i.style[o],10):0;s+=n.o.indentMargin*("outdent"===r?-1:1),i.style[o]=s>0?s+"px":"",(0,a.attr)(i,"style")||(0,a.attr)(i,"style",null)};s.pluginSystem.add("indent",function(t){t.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});let i=i=>{let n=new Set,{enter:s,enterBlock:l}=t.o,c=s.toLowerCase()===r.BR,d=t.s.current();return c&&t.s.isCollapsed()&&d?u(n,o.Dom.wrapNextInline(d,l,t),t,i):(t.s.eachSelection(r=>{t.s.save();let d=!!r&&o.Dom.up(r,o.Dom.isBlock,t.editor);if(!d&&r&&(d=(0,a.call)(c?o.Dom.wrapNextInline:o.Dom.wrapInline,r,c?l:s.toLowerCase(),t)),!d)return t.s.restore(),!1;u(n,d,t,i),t.s.restore()}),t.synchronizeValues()),!1};t.registerCommand("indent",{exec:i,hotkeys:["ctrl+]","cmd+]"]}),t.registerCommand("outdent",{exec:i,hotkeys:["ctrl+[","cmd+["]})})},70071:function(t,i,n){"use strict";n.d(i,{LazyWalker:function(){return a}});var r=n(45219),o=n(2748),s=n(72757);class a extends s.Eventify{setWork(t){return this.isWorked&&this.break(),this.workNodes=o.Dom.eachGen(t,!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(t){this.isWorked&&(this.stop(),this.emit("break",t))}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 t;if(this.workNodes){this.isWorked=!0;let i=0,n=null!=(t=this.options.timeoutChunkSize)?t:50;for(;!this.isFinished&&i<=n;){let t=this.workNodes.next();if(i+=1,this.visitNode(t.value)&&(this.hadAffect=!0),t.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(t){var i;return!!t&&(void 0===this.options.whatToShow||t.nodeType===this.options.whatToShow)&&null!=(i=this.emit("visit",t))&&i}constructor(t,i={}){super(),this.async=t,this.options=i,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}!function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([r.autobind],a.prototype,"__workPerform",null)},70091:function(t,i,n){"use strict";n.d(i,{normalizeRelativePath:function(){return r}});let r=t=>t.split("/").reduce((t,i)=>{switch(i){case"":case".":break;case"..":t.pop();break;default:t.push(i)}return t},[]).join("/")+(t.endsWith("/")?"/":"")},70190:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"ارتفاع خط"}},70231:function(t,i,n){"use strict";n.d(i,{Dlgs:function(){return l}});var r=n(580),o=n(27613),s=n(37790),a=n(638);class l{dlg(t){let i=(0,r.getPopupViewRoot)(this.o,this.container,this.od.body),n=new a.Dialog(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:i,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize},t));return(0,s.markOwner)(this,n.container),n.parent=this,n.bindDestruct(this)}confirm(t,i,n){return t=u(t,this),i=u(i,this),a.Confirm.call(this.dlg({closeOnClickOverlay:!0}),t,i,n)}prompt(t,i,n,r,o){return t=u(t,this),i=u(i,this),r=u(r,this),a.Prompt.call(this.dlg({closeOnClickOverlay:!0}),t,i,n,r,o)}alert(t,i,n,r){return t=u(t,this),i=u(i,this),a.Alert.call(this.dlg({closeOnClickOverlay:!0}),t,i,n,r)}}function u(t,i){return(0,o.isString)(t)&&!(0,o.isHTML)(t)&&(t=i.i18n(t)),t}},70308:function(t,i,n){"use strict";n.d(i,{areAllToolCallsExecuted:function(){return a},createNewConversation:function(){return o},findParentMessageId:function(){return s}});var r=n(21064);function o(t,i,n,s=[]){let a=t.o.aiAssistantPro,l={id:(0,r.generateConversationId)(),created:Date.now(),updated:Date.now(),messages:s,permissions:[],options:{model:null!=i?i:a.defaultModel,temperature:null!=n?n:a.defaultTemperature}};return t.e.fire("conversationCreated.ai-assistant-pro",l),l}function s(t){for(let i=t.messages.length-1;i>=0;i--){let n=t.messages[i];if("assistant"===n.role&&!n.id.startsWith("error_"))return n.id}return null}function a(t){let i=t.messages[t.messages.length-1];return!!(null==i?void 0:i.toolCalls)&&i.toolCalls.every(t=>"executed"===t.status||"denied"===t.status||"error"===t.status)}},70722:function(t,i,n){"use strict";function r(t){return!!t&&"function"===(typeof t).toLowerCase()&&(t===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(t)))}n.d(i,{isNativeFunction:function(){return r}})},70750:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="replaceSelection",o="Replace the current selection with new HTML content",s=[{name:"html",type:"string",description:"HTML content to insert in place of the selection",required:!0},{name:"collapseToEnd",type:"boolean",description:"Move cursor to the end of the inserted content",required:!1,default:!0}],a=!0},70799:function(t,i,n){"use strict";n.d(i,{isString:function(){return o},isStringArray:function(){return s}});var r=n(68345);function o(t){return"string"==typeof t}function s(t){return(0,r.isArray)(t)&&o(t[0])}},70824:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Verifica\xe7\xe3o ortogr\xe1fica"}},70945:function(t,i,n){"use strict";n.r(i),i.default={symbols:"תו מיוחד"}},70950:function(t,i,n){"use strict";n.d(i,{UISidebar:function(){return d}});var r=n(82749),o=n(31635),s=n(65478),a=n(38837),l=n(41180),u=n(62405),c=n(54747);class d extends u.UIGroup{className(){return"UISidebar"}render(){return`<div>
|
|
469
|
+
</div>`}onChangeCurrent(){return(0,r._)(function*(){let{current:t}=this;this.setMod("loading",!0);let i=this.getElm("preview");if((0,c.assert)(null!=i,"preview element does not exist"),d.Dom.detach(i),(0,u.css)(i,{backgroundImage:null}),t.isImage){let n=yield(0,u.loadImage)(t.fileURL,this.j);this.dialog.setPosition(),(0,u.css)(i,{width:Math.min(this.jodit.ow.innerWidth,n.naturalWidth),height:Math.min(this.jodit.ow.innerHeight-100,n.naturalHeight),backgroundImage:`url(${n.src})`})}else{let n=yield this.makeIframe(t.fileURL);i.appendChild(n)}this.dialog.setSize(),this.dialog.setPosition(),this.setMod("loading",!1)}).call(this)}makeIframe(t){let i=this.j.c.element("iframe");return i.classList.add(this.getFullElName("office-iframe")),i.src=/\.pdf/.test(t)?t:this.j.o.previewOfficeURL+encodeURIComponent(t),i}onPreviousClick(){let{current:t}=this,i=this.j.stateManager.getIndex(t,this.elements);i<=0?i=this.elements.length-1:i-=1,this.current=this.elements[i]}onNextClick(){let{current:t}=this,i=this.j.stateManager.getIndex(t,this.elements);i>=this.elements.length-1?i=0:i+=1,this.current=this.elements[i]}static open(t,i,n){return new h(t,i,n)}addGlobalListeners(){this.j.e.on(this.j.od,"keydown",this.onKeyPress)}onKeyPress(t){if(t.key===a.KEY_LEFT||t.key===a.KEY_RIGHT||t.key===a.KEY_SPACE)return t.key===a.KEY_LEFT?this.onPreviousClick():this.onNextClick(),!1}removeGlobalListeners(){this.j.e.off(this.j.od,"keydown",this.onKeyPress)}destruct(){return this.removeGlobalListeners(),this.dialog.destruct(),super.destruct()}constructor(t,i,n){super(t),(0,o._)(this,"current",void 0),(0,o._)(this,"elements",void 0),(0,o._)(this,"dialog",void 0),this.current=i,this.elements=n,this.dialog=new d.Dialog;const{dialog:r}=this;r.setMod("theme",t.state.theme).toolbar.setMod("mode","header"),r.open(this),this.elements=this.elements.filter(t=>t.isImage),r.e.on(r,"afterClose",()=>{this.destruct()}),this.addGlobalListeners(),this.onChangeCurrent(),r.toolbar.build([{icon:"check",exec:()=>{t.stateManager.addActive(this.current,!1),t.e.fire("select.filebrowser"),r.close()}},"dialog.close"])}}(0,s.__decorate)([(0,l.watch)("current")],h.prototype,"onChangeCurrent",null),(0,s.__decorate)([(0,l.watch)("previous:click")],h.prototype,"onPreviousClick",null),(0,s.__decorate)([(0,l.watch)("next:click")],h.prototype,"onNextClick",null),(0,s.__decorate)([l.autobind],h.prototype,"onKeyPress",null),h=(0,s.__decorate)([l.component],h)},69341:function(t,i,n){"use strict";n.d(i,{detectActiveStyle:function(){return a}});var r=n(82758),o=n(2748);function s(t,i){var n;if(t.nodeName.toLowerCase()!==i.element)return!1;let r=null==(n=i.classes)?void 0:n.filter(Boolean);return null==r||!r.length||r.every(i=>t.classList.contains(i))}function a(t,i){let n=t.s.current();if(!n)return null;for(let a of i)if(r.IS_BLOCK.test(a.element)){let i=o.Dom.closest(n,o.Dom.isBlock,t.editor);if(i&&s(i,a))return a}else{let i=o.Dom.isElement(n)?n:n.parentNode;for(;i&&i!==t.editor;){if(o.Dom.isElement(i)&&s(i,a))return a;i=i.parentNode}}return null}},69398:function(t,i,n){"use strict";n.d(i,{UIPolylineEditor:function(){return u}});var r=n(31635),o=n(65478),s=n(80256),a=n(45128),l=n(14002);class u extends l.UIBaseEditor{className(){return"UIPolylineEditor"}onReady(){var t,i;super.onReady(),this.append([new s.UIInput(this.j,{label:"Stroke weight",value:null!=(t=this.state.strokeWeight)?t:1,type:"number",onChange:t=>this.j.e.fire(this,"change","strokeWeight",t)}),new a.ColorInput(this.j,{label:"Stroke color",value:null!=(i=this.state.strokeColor)?i:"#000",onChange:t=>this.j.e.fire(this,"change","strokeColor",t)}).setMod("trigger",!1)],"form")}}(0,r.__decorate)([(0,o.hook)("ready")],u.prototype,"onReady",null),u=(0,r.__decorate)([o.component],u)},69625:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Висота лінії"}},69874:function(t,i,n){"use strict";n.r(i),i.default={newline:"新行",delete:"删除",space:"空间","Speech Recognize":"言语识别",Sound:"声音","Interim Results":"中期业绩"}},69994:function(t,i,n){"use strict";n.d(i,{removeInsideComment:function(){return s}});var r=n(99658);let o=0;function s(t){return(t.isComment&&/\[if.*(supportLists|gte vml).*]/.test((0,r.html)(t))&&(o++,t.remove()),t.isComment&&o>0&&(0,r.html)(t).includes("[endif]")&&(o=o>0?o-1:0,t.remove()),o&&(t.isText||"img"===t.name&&(!t.attributes.src||/^file:/.test(t.attributes.src))))?(t.remove(),null):t}},70022:function(t,i,n){"use strict";n.d(i,{createSourceEditor:function(){return s}});var r=n(21537),o=n(52968);function s(t,i,n,s,a){let l;if((0,r.isFunction)(t))l=t(i);else switch(t){case"ace":if(!i.o.shadowRoot){l=new o.AceEditor(i,n,s,a);break}default:l=new o.TextAreaEditor(i,n,s,a)}return l.init(i),l.onReadyAlways(()=>{l.setReadOnly(i.o.readonly)}),l}},70045:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(43555);n(54389);var l=n(302);let u=(t,i,n,r)=>{if(!i||t.has(i))return;let o=(0,l.getKey)(n.o.direction,i);t.add(i);let s=i.style[o]?parseInt(i.style[o],10):0;s+=n.o.indentMargin*("outdent"===r?-1:1),i.style[o]=s>0?s+"px":"",(0,a.attr)(i,"style")||(0,a.attr)(i,"style",null)};s.pluginSystem.add("indent",function(t){t.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});let i=i=>{let n=new Set,{enter:s,enterBlock:l}=t.o,c=s.toLowerCase()===r.BR,d=t.s.current();return c&&t.s.isCollapsed()&&d?u(n,o.Dom.wrapNextInline(d,l,t),t,i):(t.s.eachSelection(r=>{t.s.save();let d=!!r&&o.Dom.up(r,o.Dom.isBlock,t.editor);if(!d&&r&&(d=(0,a.call)(c?o.Dom.wrapNextInline:o.Dom.wrapInline,r,c?l:s.toLowerCase(),t)),!d)return t.s.restore(),!1;u(n,d,t,i),t.s.restore()}),t.synchronizeValues()),!1};t.registerCommand("indent",{exec:i,hotkeys:["ctrl+]","cmd+]"]}),t.registerCommand("outdent",{exec:i,hotkeys:["ctrl+[","cmd+["]})})},70071:function(t,i,n){"use strict";n.d(i,{LazyWalker:function(){return a}});var r=n(45219),o=n(2748),s=n(72757);class a extends s.Eventify{setWork(t){return this.isWorked&&this.break(),this.workNodes=o.Dom.eachGen(t,!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(t){this.isWorked&&(this.stop(),this.emit("break",t))}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 t;if(this.workNodes){this.isWorked=!0;let i=0,n=null!=(t=this.options.timeoutChunkSize)?t:50;for(;!this.isFinished&&i<=n;){let t=this.workNodes.next();if(i+=1,this.visitNode(t.value)&&(this.hadAffect=!0),t.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(t){var i;return!!t&&(void 0===this.options.whatToShow||t.nodeType===this.options.whatToShow)&&null!=(i=this.emit("visit",t))&&i}constructor(t,i={}){super(),this.async=t,this.options=i,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}}!function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([r.autobind],a.prototype,"__workPerform",null)},70091:function(t,i,n){"use strict";n.d(i,{normalizeRelativePath:function(){return r}});let r=t=>t.split("/").reduce((t,i)=>{switch(i){case"":case".":break;case"..":t.pop();break;default:t.push(i)}return t},[]).join("/")+(t.endsWith("/")?"/":"")},70190:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"ارتفاع خط"}},70231:function(t,i,n){"use strict";n.d(i,{Dlgs:function(){return l}});var r=n(580),o=n(27613),s=n(37790),a=n(638);class l{dlg(t){let i=(0,r.getPopupViewRoot)(this.o,this.container,this.od.body),n=new a.Dialog(function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:i,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize},t));return(0,s.markOwner)(this,n.container),n.parent=this,n.bindDestruct(this)}confirm(t,i,n){return t=u(t,this),i=u(i,this),a.Confirm.call(this.dlg({closeOnClickOverlay:!0}),t,i,n)}prompt(t,i,n,r,o){return t=u(t,this),i=u(i,this),r=u(r,this),a.Prompt.call(this.dlg({closeOnClickOverlay:!0}),t,i,n,r,o)}alert(t,i,n,r){return t=u(t,this),i=u(i,this),a.Alert.call(this.dlg({closeOnClickOverlay:!0}),t,i,n,r)}}function u(t,i){return(0,o.isString)(t)&&!(0,o.isHTML)(t)&&(t=i.i18n(t)),t}},70308:function(t,i,n){"use strict";n.d(i,{areAllToolCallsExecuted:function(){return a},createNewConversation:function(){return o},findParentMessageId:function(){return s}});var r=n(21064);function o(t,i,n,s=[]){let a=t.o.aiAssistantPro,l={id:(0,r.generateConversationId)(),created:Date.now(),updated:Date.now(),messages:s,permissions:[],options:{model:null!=i?i:a.defaultModel,temperature:null!=n?n:a.defaultTemperature}};return t.e.fire("conversationCreated.ai-assistant-pro",l),l}function s(t){for(let i=t.messages.length-1;i>=0;i--){let n=t.messages[i];if("assistant"===n.role&&!n.id.startsWith("error_"))return n.id}return null}function a(t){let i=t.messages[t.messages.length-1];return!!(null==i?void 0:i.toolCalls)&&i.toolCalls.every(t=>"executed"===t.status||"denied"===t.status||"error"===t.status)}},70722:function(t,i,n){"use strict";function r(t){return!!t&&"function"===(typeof t).toLowerCase()&&(t===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(t)))}n.d(i,{isNativeFunction:function(){return r}})},70750:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="replaceSelection",o="Replace the current selection with new HTML content",s=[{name:"html",type:"string",description:"HTML content to insert in place of the selection",required:!0},{name:"collapseToEnd",type:"boolean",description:"Move cursor to the end of the inserted content",required:!1,default:!0}],a=!0},70799:function(t,i,n){"use strict";n.d(i,{isString:function(){return o},isStringArray:function(){return s}});var r=n(68345);function o(t){return"string"==typeof t}function s(t){return(0,r.isArray)(t)&&o(t[0])}},70824:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Verifica\xe7\xe3o ortogr\xe1fica"}},70945:function(t,i,n){"use strict";n.r(i),i.default={symbols:"תו מיוחד"}},70950:function(t,i,n){"use strict";n.d(i,{UISidebar:function(){return d}});var r=n(82749),o=n(31635),s=n(65478),a=n(38837),l=n(41180),u=n(62405),c=n(54747);class d extends u.UIGroup{className(){return"UISidebar"}render(){return`<div>
|
|
470
470
|
<div class='&__hide-btn'>*angle-left*</div>
|
|
471
471
|
<div class='&__favorites'>*heart* ~Favorites~</div>
|
|
472
472
|
<div class='&__box'></div>
|
|
473
473
|
</div>`}appendChildToContainer(t){let i=this.getElm("box");(0,a.assert)(null!=i,"box element does not exists"),i.appendChild(t)}addResize(){(0,l.css)(this.container,{width:null,height:null}),c.UIResize.remove(this),c.UIResize.install(this,screen.width>450?"right":"bottom")}onChangeFavorites(){this.setMod("has-favorites",!!this.state.favorites.length)}onClickHideButton(){return this.state.showSideBar=!this.state.showSideBar,!1}onClickFavorites(){return this.state.elements=this.state.favorites,!1}constructor(t,i,n){super(t,i),(0,r._)(this,"state",void 0),this.state=n,this.onChangeFavorites()}}(0,o.__decorate)([(0,s.hook)("ready"),(0,s.watch)(":resize",{context:window}),(0,s.debounce)()],d.prototype,"addResize",null),(0,o.__decorate)([(0,s.watch)("state.favorites")],d.prototype,"onChangeFavorites",null),(0,o.__decorate)([(0,s.watch)("hide-btn:click")],d.prototype,"onClickHideButton",null),(0,o.__decorate)([(0,s.watch)("favorites:click")],d.prototype,"onClickFavorites",null),d=(0,o.__decorate)([s.component],d)},71042:function(t,i){"use strict";i.default={"copy-format":"opmaak kopi\xebren"}},71050:function(t,i,n){"use strict";n.d(i,{invertMode:function(){return o},resizeInPanelView:function(){return s}});var r=n(41180);function o(t){switch(t){case"left":return"right";case"right":return"left";case"top":return"bottom";case"bottom":return"top"}}function s(t,i,n,s){var a,l,u,c;if("dialog"===i||"flight"===i)return;("left"===i||"right"===i)&&(null==(u=t.currentPlace.slots[o(i)])||u.style.setProperty(`--jd-slot-${o(i)}-width`,"auto"),null==(c=t.currentPlace.slots[i])||c.style.setProperty(`--jd-slot-${i}-width`,`${n}px`));let d=null!=(a=(0,r.css)(t.currentPlace.workplace,"height"))?a:0;null==(l=t.currentPlace.slots[i])||l.style.setProperty("min-height",`${Math.min(d,s)}px`)}},71102:function(t,i,n){"use strict";n.d(i,{UIGlobalSettings:function(){return d}});var r=n(77688),o=n(82749),s=n(31635),a=n(65478),l=n(67510),u=n(80256),c=n(12234);class d extends l.UIElement{className(){return"UIGlobalSettings"}setParentView(t){var i,n,r;return null==(i=this.displayModeSelect)||i.setParentView(t),null==(n=this.panelWidthInput)||n.setParentView(t),null==(r=this.themeSelect)||r.setParentView(t),super.setParentView(t)}build(){return(0,r._)(function*(){var t,i,n,r,o,s;let a=this.container;this.options.allowEditDisplayMode&&(this.displayModeSelect=new c.UISelect(this.j,{label:"Display Mode",name:"displayMode",value:null!=(t=null==(i=this.state)?void 0:i.displayMode)?t:"right",options:[{text:"Dialog",value:"dialog"},{text:"Flight",value:"flight"},{text:"Left",value:"left"},{text:"Right",value:"right"},{text:"Top",value:"top"},{text:"Bottom",value:"bottom"}],onChange:()=>{this.onDisplayModeChange()}}),a.appendChild(this.displayModeSelect.container)),this.options.allowEditPanelWidth&&(this.panelWidthInput=new u.UIInput(this.j,{label:"Panel Width",name:"panelWidth",type:"number",value:String(null!=(n=null==(r=this.state)?void 0:r.panelWidth)?n:400),onChange:()=>{this.onPanelWidthChange()}}),this.panelWidthInput.nativeInput.setAttribute("min","200"),this.panelWidthInput.nativeInput.setAttribute("max","800"),this.panelWidthInput.nativeInput.setAttribute("step","10"),a.appendChild(this.panelWidthInput.container)),this.options.allowEditTheme&&(this.themeSelect=new c.UISelect(this.j,{label:"Theme",name:"theme",value:null!=(o=null==(s=this.state)?void 0:s.theme)?o:"parent",options:[{text:"Inherit",value:"parent"},{text:"Light",value:"light"},{text:"Dark",value:"dark"}],onChange:()=>{this.onThemeChange()}}),a.appendChild(this.themeSelect.container))}).call(this)}onDisplayModeChange(){return(0,r._)(function*(){this.displayModeSelect&&(this.state.displayMode=this.displayModeSelect.value,this.j.async.setTimeout(()=>(0,r._)(function*(){this.j.e.fire("closeAIAssistantPro.ai-assistant-pro"),yield this.j.async.requestIdlePromise(),this.j.e.fire("openAIAssistantPro.ai-assistant-pro")}).call(this),100))}).call(this)}onPanelWidthChange(){return(0,r._)(function*(){if(!this.panelWidthInput)return;let t=parseInt(this.panelWidthInput.value,10);isNaN(t)||t<200||t>800||(this.state.panelWidth=t)}).call(this)}onThemeChange(){return(0,r._)(function*(){this.themeSelect&&(this.state.theme=this.themeSelect.value)}).call(this)}destruct(){var t,i,n;null==(t=this.displayModeSelect)||t.destruct(),null==(i=this.panelWidthInput)||i.destruct(),null==(n=this.themeSelect)||n.destruct(),super.destruct()}onStateDisplayModeChange(){this.displayModeSelect&&(this.displayModeSelect.value=this.state.displayMode)}onStatePanelWidthChange(){this.panelWidthInput&&this.panelWidthInput.value!==String(this.state.panelWidth)&&(this.panelWidthInput.value=String(this.state.panelWidth))}onStateThemeChange(){this.themeSelect&&(this.themeSelect.value=this.state.theme)}constructor(t,i,n){super(t),(0,o._)(this,"state",void 0),(0,o._)(this,"options",void 0),(0,o._)(this,"displayModeSelect",void 0),(0,o._)(this,"panelWidthInput",void 0),(0,o._)(this,"themeSelect",void 0),this.state=i,this.options=n,this.displayModeSelect=null,this.panelWidthInput=null,this.themeSelect=null,this.build()}}(0,s.__decorate)([(0,a.watch)("state.displayMode")],d.prototype,"onStateDisplayModeChange",null),(0,s.__decorate)([(0,a.watch)("state.panelWidth")],d.prototype,"onStatePanelWidthChange",null),(0,s.__decorate)([(0,a.watch)("state.theme")],d.prototype,"onStateThemeChange",null),d=(0,s.__decorate)([a.component],d)},71255:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(37790),a=n(50911),l=n(12153),u=n(6441),c=n(31151);u.Config.prototype.controls.classSpan={command:"applyClassName",exec:s.memorizeExec,list:["enabled","disabled","activated","text-left","text-center","text-right","warning","error"],isChildActive:(t,i)=>{let n=t.s.current();if(n){let o=r.Dom.closest(n,r.Dom.isElement,t.editor)||t.editor;return!!(i.control.args&&o.classList.contains(i.control.args[0].toString()))}return!1},isActive:(t,i)=>{let n=t.s.current();if(n){let o=r.Dom.closest(n,r.Dom.isElement,t.editor)||t.editor,s=!1;return i.control.list&&Object.keys(i.control.list).forEach(t=>{o.classList.contains(t)&&(s=!0)}),!!(o&&o!==t.editor&&void 0!==i.control.list&&s)}return!1},childTemplate:(t,i,n)=>`<span class="${i}">${t.i18n(n)}</span>`,tooltip:"Insert className"};class d extends a.Plugin{afterInit(t){t.registerCommand("applyClassName",(i,n,r)=>(t.s.commitStyle({attributes:{class:r}}),!1))}beforeDestruct(){}constructor(){super(...arguments),this.buttons=[{name:"classSpan",group:"script"}]}}o.pluginSystem.add("classSpan",d),l.Icon.set("class-span",c.default)},71262:function(t,i,n){"use strict";n.d(i,{getStrongControlTypes:function(){return l}});var r=n(68345),o=n(43555),s=n(6441),a=n(72157);function l(t,i){return((0,r.isArray)(t)?t:(0,o.keys)(t,!1).map(i=>{let n=t[i]||{};return(0,o.ConfigProto)({name:i},n)})).map(t=>(0,a.getControlType)(t,i||s.Config.defaultOptions.controls))}},71521:function(t,i,n){"use strict";n.d(i,{NUMBER_FIELDS_REG:function(){return o.NUMBER_FIELDS_REG},normalizeColor:function(){return r.normalizeColor},normalizeCssNumericValue:function(){return o.normalizeCssNumericValue},normalizeCssValue:function(){return o.normalizeCssValue},normalizeKeyAliases:function(){return s.normalizeKeyAliases},normalizeLicense:function(){return a.normalizeLicense},normalizePath:function(){return l.normalizePath},normalizeRelativePath:function(){return u.normalizeRelativePath},normalizeSize:function(){return c.normalizeSize},normalizeUrl:function(){return d.normalizeUrl}});var r=n(21224),o=n(3760),s=n(49033),a=n(12972),l=n(9992),u=n(70091),c=n(46334),d=n(37406)},71568:function(t,i,n){"use strict";n.d(i,{Alert:function(){return u}});var r=n(2748),o=n(29999),s=n(23282),a=n(10830),l=n(78584);function u(t,i,n,c="jodit-dialog_alert"){(0,s.isFunction)(i)&&(n=i,i=void 0);let d=this instanceof l.Dialog?this:new l.Dialog({closeOnClickOverlay:!0}),h=d.c.div(c),p=(0,a.Button)(d,"ok","Ok");return(0,o.asArray)(t).forEach(t=>{h.appendChild(r.Dom.isNode(t)?t:d.c.fromHTML(t))}),p.onAction(()=>{n&&(0,s.isFunction)(n)&&!1===n(d)||d.close()}),d.setFooter([p]),d.open(h,i||" ",!0,!0),p.focus(),d}},71675:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),r.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},71686:function(t,i,n){"use strict";n.d(i,{ajaxInstances:function(){return a},send:function(){return l}});var r=n(21537),o=n(41601),s=n(83987);let a=new WeakMap;function l(t,i){let n=(0,s.buildData)(t,i),l=i=>{t.j.progressbar.show().progress(i),i>=100&&t.j.progressbar.hide()},u=(i,n)=>{let s=new o.Ajax({xhr:()=>{let i=new XMLHttpRequest;return void 0!==t.j.ow.FormData&&i.upload?(n(10),i.upload.addEventListener("progress",t=>{if(t.lengthComputable){let i=t.loaded/t.total;n(i*=100)}},!1)):n(100),i},method:t.o.method||"POST",data:i,url:(0,r.isFunction)(t.o.url)?t.o.url(i):t.o.url,headers:t.o.headers,queryBuild:t.o.queryBuild,contentType:t.o.contentType.call(t,i),withCredentials:t.o.withCredentials||!1}),l=a.get(t);return l||(l=new Set,a.set(t,l)),l.add(s),t.j.e.one("beforeDestruct",s.destruct),s.send().then(t=>t.json()).catch(t=>({success:!1,data:{messages:[t]}})).finally(()=>{s.destruct(),null==l||l.delete(s)})};return((0,r.isFunction)(t.o.customUploadFunction)&&(u=t.o.customUploadFunction),(0,r.isPromise)(n))?n.then(t=>u(t,l)).catch(i=>{t.o.error.call(t,i)}):u(n,l)}},71705:function(t,i,n){"use strict";n.r(i),i.default={newline:"الخط الجديد",delete:"حذف",space:"الفضاء","Speech Recognize":"التعرف على الكلام",Sound:"الصوت","Interim Results":"النتائج المؤقتة"}},71724:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Zeilenh\xf6he"}},71842:function(t,i,n){"use strict";var r=n(82758),o=n(6441);o.Config.prototype.askBeforePasteFromWord=!0,o.Config.prototype.processPasteFromWord=!0,o.Config.prototype.defaultActionOnPasteFromWord=null,o.Config.prototype.pasteFromWordActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Clean"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}]},71916:function(t,i,n){"use strict";n.d(i,{UIButtonGroup:function(){return l}});var r=n(87325),o=n(38837),s=n(10830),a=n(62405);let l=class t extends a.UIGroup{className(){return"UIButtonGroup"}render(t){return`<div>
|
|
474
474
|
<div class="&__label">~${t.label}~</div>
|
|
475
475
|
<div class="&__options"></div>
|
|
476
|
-
</div>`}appendChildToContainer(t){let i=this.getElm("options");(0,o.assert)(null!=i,"Options does not exist"),i.appendChild(t)}select(t){var i,n;this.elements.forEach((i,n)=>{n===t||i.state.value===t?i.state.activated=!0:this.options.radio&&(i.state.activated=!1)});let r=this.elements.filter(t=>t.state.activated).map(t=>({text:t.state.text,value:t.state.value}));this.jodit.e.fire(this,"select",r),null==(n=(i=this.options).onChange)||n.call(i,r)}constructor(t,i={radio:!0}){var n,r;super(t,null==(n=i.options)?void 0:n.map(i=>{let n=new s.UIButton(t,{text:i.text,value:i.value,variant:"primary"});return n.onAction(()=>{this.select(i.value)}),n}),i),this.options=i,this.select(null!=(r=i.value)?r:0)}};l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],l)},72144:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg> '},72157:function(t,i,n){"use strict";n.d(i,{findControlType:function(){return l},getControlType:function(){return a}});var r=n(21537),o=n(6441);function s(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}function a(t,i){let n;return i||(i=o.Config.defaultOptions.controls),(0,r.isString)(t)?n=l(t,i)||{name:t,command:t,tooltip:t}:void 0!==i[(n=s({name:"empty"},(0,r.ConfigFlatten)(t))).name]&&(n=s({},(0,r.ConfigFlatten)(i[n.name]),(0,r.ConfigFlatten)(n))),n}function l(t,i){let[n,o]=t.split(/\./),a=i;return null!=o?void 0!==i[n]&&(a=i[n]):o=n,a[o]?s({name:o},(0,r.ConfigFlatten)(a[o])):void 0}},72253:function(t,i,n){"use strict";var r=n(65478),o=n(22732),s=n(580),a=n(70799),l=n(50911);n(96967);var u=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class c extends l.Plugin{afterInit(t){"br"!==t.o.enter.toLowerCase()&&t.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(t){t.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:t}=this;if(!t.isEditorMode())return;let i=t.editor.firstChild,n=!1;for(;i;){if(i=function(t,i){let n=t,r=t;do if(o.Dom.isElement(r)&&o.Dom.isLeaf(r)&&!o.Dom.isList(r.parentElement)){let t=o.Dom.findNotEmptySibling(r,!1);o.Dom.isTag(n,"ul")?n.appendChild(r):n=o.Dom.wrap(r,"ul",i.createInside),r=t}else break;while(r);return n}(i,t),this.isSuitableStart(i)){n||t.s.save(),n=!0;let r=t.createInside.element(t.o.enter);for(o.Dom.before(i,r);i&&this.isSuitable(i);){let t=i.nextSibling;r.appendChild(i),i=t}r.normalize(),i=r}i=i&&i.nextSibling}n&&(t.s.restore(),"afterInit"===t.e.current&&t.e.fire("internalChange"))}preprocessInput(){let{jodit:t}=this,i="afterInit"===t.e.current;if(!t.isEditorMode()||t.editor.firstChild||!t.o.wrapNodes.emptyBlockAfterInit&&i)return;let n=t.createInside.element(t.o.enter),r=t.createInside.element("br");o.Dom.append(n,r),o.Dom.append(t.editor,n),t.s.isFocused()&&t.s.setCursorBefore(r),t.e.fire("internalChange")}constructor(){super(...arguments),this.isSuitableStart=t=>{var i;return o.Dom.isText(t)&&(0,a.isString)(t.nodeValue)&&(/[^\s]/.test(t.nodeValue)||(null==(i=t.parentNode)?void 0:i.firstChild)===t&&this.isSuitable(t.nextSibling))||this.isNotWrapped(t)&&!o.Dom.isTemporary(t)},this.isSuitable=t=>o.Dom.isText(t)||this.isNotWrapped(t),this.isNotWrapped=t=>o.Dom.isElement(t)&&!(o.Dom.isBlock(t)||o.Dom.isTag(t,this.j.o.wrapNodes.exclude))}}u([r.autobind],c.prototype,"postProcessSetEditorValue",null),u([r.autobind],c.prototype,"preprocessInput",null),s.pluginSystem.add("wrapNodes",c)},72337:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg> '},72392:function(t,i){"use strict";i.default={"copy-format":"Kop\xedrovat form\xe1t"}},72430:function(t,i,n){"use strict";n.d(i,{isPlainObject:function(){return o}});var r=n(52742);function o(t){return!(!t||"object"!=typeof t||t.nodeType||(0,r.isWindow)(t))&&!(t.constructor&&!({}).hasOwnProperty.call(t.constructor.prototype,"isPrototypeOf"))}},72439:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(21537),l=n(76014);let u=new Set([r.KEY_TAB,r.KEY_LEFT,r.KEY_RIGHT,r.KEY_UP,r.KEY_DOWN]);s.pluginSystem.add("tableKeyboardNavigation",function(t){t.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",i=>{let{key:n}=i,s=function(t,i){if(!u.has(i))return;let n=t.s.current();if(!n)return;let s=o.Dom.up(n,o.Dom.isCell,t.editor);if(!s)return;let{range:l}=t.s;if(i!==r.KEY_TAB&&n!==s){let t=i===r.KEY_RIGHT||i===r.KEY_DOWN,u=(0,a.call)(t?o.Dom.next:o.Dom.prev,n,t=>i===r.KEY_UP||i===r.KEY_DOWN?o.Dom.isTag(t,"br"):!!t,s);if(!t&&(u||i!==r.KEY_UP&&o.Dom.isText(n)&&0!==l.startOffset)||t&&(u||i!==r.KEY_DOWN&&o.Dom.isText(n)&&n.nodeValue&&l.startOffset!==n.nodeValue.length))return}return s}(t,n);if(!s)return;let c=t.getInstance(l.Table,t.o),d=o.Dom.closest(s,"table",t.editor),h=null,p=n===r.KEY_LEFT||i.shiftKey,f=()=>(0,a.call)(p?o.Dom.prev:o.Dom.next,s,o.Dom.isCell,d);switch(n){case r.KEY_TAB:case r.KEY_LEFT:(h=f())||(c.appendRow(d,!!p&&d.querySelector("tr"),!p),h=f());break;case r.KEY_UP:case r.KEY_DOWN:{let t=c.formalMatrix(d),[i,o]=c.formalCoordinate(d,s);n===r.KEY_UP?void 0!==t[i-1]&&(h=t[i-1][o]):void 0!==t[i+1]&&(h=t[i+1][o])}}if(h){if(t.e.fire("hidePopup hideResizer"),h.firstChild)n===r.KEY_TAB?t.s.select(h,!0):t.s.setCursorIn(h,n===r.KEY_RIGHT||n===r.KEY_DOWN);else{let i=t.createInside.element("br");h.appendChild(i),t.s.setCursorBefore(i)}return t.synchronizeValues(),!1}})})},72573:function(t,i,n){"use strict";function r(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var i=this,n=arguments;return new Promise(function(o,s){var a=t.apply(i,n);function l(t){r(a,o,s,l,u,"next",t)}function u(t){r(a,o,s,l,u,"throw",t)}l(void 0)})}}function s(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function a(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){s(t,i,n[i])})}return t}function l(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}function u(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}n.d(i,{marked:function(){return eI}});var c,d=u(),h={exec:()=>null};function p(t,i=""){let n="string"==typeof t?t:t.source,r={replace:(t,i)=>{let o="string"==typeof i?i:i.source;return o=o.replace(m.caret,"$1"),n=n.replace(t,o),r},getRegex:()=>new RegExp(n,i)};return r}var f=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch(t){return!1}})(),m={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376-\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0620-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06E5-\\u06E6\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4-\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088F\\u08A0-\\u08C9\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F-\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC-\\u09DD\\u09DF-\\u09E1\\u09F0-\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F-\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32-\\u0A33\\u0A35-\\u0A36\\u0A38-\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2-\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0-\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F-\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32-\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C-\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99-\\u0B9A\\u0B9C\\u0B9E-\\u0B9F\\u0BA3-\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C5C-\\u0C5D\\u0C60-\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDC-\\u0CDE\\u0CE0-\\u0CE1\\u0CF1-\\u0CF2\\u0D04-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E46\\u0E81-\\u0E82\\u0E84\\u0E86-\\u0E8A\\u0E8C-\\u0EA3\\u0EA5\\u0EA7-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u1711\\u171F-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1878\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C8A\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5-\\u1CF6\\u1CFA\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183-\\u2184\\u2C00-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3006\\u3031-\\u3035\\u303B-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7DC\\uA7F1-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD-\\uA8FE\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB69\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40-\\uFB41\\uFB43-\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC\\u{10000}-\\u{1000B}\\u{1000D}-\\u{10026}\\u{10028}-\\u{1003A}\\u{1003C}-\\u{1003D}\\u{1003F}-\\u{1004D}\\u{10050}-\\u{1005D}\\u{10080}-\\u{100FA}\\u{10280}-\\u{1029C}\\u{102A0}-\\u{102D0}\\u{10300}-\\u{1031F}\\u{1032D}-\\u{10340}\\u{10342}-\\u{10349}\\u{10350}-\\u{10375}\\u{10380}-\\u{1039D}\\u{103A0}-\\u{103C3}\\u{103C8}-\\u{103CF}\\u{10400}-\\u{1049D}\\u{104B0}-\\u{104D3}\\u{104D8}-\\u{104FB}\\u{10500}-\\u{10527}\\u{10530}-\\u{10563}\\u{10570}-\\u{1057A}\\u{1057C}-\\u{1058A}\\u{1058C}-\\u{10592}\\u{10594}-\\u{10595}\\u{10597}-\\u{105A1}\\u{105A3}-\\u{105B1}\\u{105B3}-\\u{105B9}\\u{105BB}-\\u{105BC}\\u{105C0}-\\u{105F3}\\u{10600}-\\u{10736}\\u{10740}-\\u{10755}\\u{10760}-\\u{10767}\\u{10780}-\\u{10785}\\u{10787}-\\u{107B0}\\u{107B2}-\\u{107BA}\\u{10800}-\\u{10805}\\u{10808}\\u{1080A}-\\u{10835}\\u{10837}-\\u{10838}\\u{1083C}\\u{1083F}-\\u{10855}\\u{10860}-\\u{10876}\\u{10880}-\\u{1089E}\\u{108E0}-\\u{108F2}\\u{108F4}-\\u{108F5}\\u{10900}-\\u{10915}\\u{10920}-\\u{10939}\\u{10940}-\\u{10959}\\u{10980}-\\u{109B7}\\u{109BE}-\\u{109BF}\\u{10A00}\\u{10A10}-\\u{10A13}\\u{10A15}-\\u{10A17}\\u{10A19}-\\u{10A35}\\u{10A60}-\\u{10A7C}\\u{10A80}-\\u{10A9C}\\u{10AC0}-\\u{10AC7}\\u{10AC9}-\\u{10AE4}\\u{10B00}-\\u{10B35}\\u{10B40}-\\u{10B55}\\u{10B60}-\\u{10B72}\\u{10B80}-\\u{10B91}\\u{10C00}-\\u{10C48}\\u{10C80}-\\u{10CB2}\\u{10CC0}-\\u{10CF2}\\u{10D00}-\\u{10D23}\\u{10D4A}-\\u{10D65}\\u{10D6F}-\\u{10D85}\\u{10E80}-\\u{10EA9}\\u{10EB0}-\\u{10EB1}\\u{10EC2}-\\u{10EC7}\\u{10F00}-\\u{10F1C}\\u{10F27}\\u{10F30}-\\u{10F45}\\u{10F70}-\\u{10F81}\\u{10FB0}-\\u{10FC4}\\u{10FE0}-\\u{10FF6}\\u{11003}-\\u{11037}\\u{11071}-\\u{11072}\\u{11075}\\u{11083}-\\u{110AF}\\u{110D0}-\\u{110E8}\\u{11103}-\\u{11126}\\u{11144}\\u{11147}\\u{11150}-\\u{11172}\\u{11176}\\u{11183}-\\u{111B2}\\u{111C1}-\\u{111C4}\\u{111DA}\\u{111DC}\\u{11200}-\\u{11211}\\u{11213}-\\u{1122B}\\u{1123F}-\\u{11240}\\u{11280}-\\u{11286}\\u{11288}\\u{1128A}-\\u{1128D}\\u{1128F}-\\u{1129D}\\u{1129F}-\\u{112A8}\\u{112B0}-\\u{112DE}\\u{11305}-\\u{1130C}\\u{1130F}-\\u{11310}\\u{11313}-\\u{11328}\\u{1132A}-\\u{11330}\\u{11332}-\\u{11333}\\u{11335}-\\u{11339}\\u{1133D}\\u{11350}\\u{1135D}-\\u{11361}\\u{11380}-\\u{11389}\\u{1138B}\\u{1138E}\\u{11390}-\\u{113B5}\\u{113B7}\\u{113D1}\\u{113D3}\\u{11400}-\\u{11434}\\u{11447}-\\u{1144A}\\u{1145F}-\\u{11461}\\u{11480}-\\u{114AF}\\u{114C4}-\\u{114C5}\\u{114C7}\\u{11580}-\\u{115AE}\\u{115D8}-\\u{115DB}\\u{11600}-\\u{1162F}\\u{11644}\\u{11680}-\\u{116AA}\\u{116B8}\\u{11700}-\\u{1171A}\\u{11740}-\\u{11746}\\u{11800}-\\u{1182B}\\u{118A0}-\\u{118DF}\\u{118FF}-\\u{11906}\\u{11909}\\u{1190C}-\\u{11913}\\u{11915}-\\u{11916}\\u{11918}-\\u{1192F}\\u{1193F}\\u{11941}\\u{119A0}-\\u{119A7}\\u{119AA}-\\u{119D0}\\u{119E1}\\u{119E3}\\u{11A00}\\u{11A0B}-\\u{11A32}\\u{11A3A}\\u{11A50}\\u{11A5C}-\\u{11A89}\\u{11A9D}\\u{11AB0}-\\u{11AF8}\\u{11BC0}-\\u{11BE0}\\u{11C00}-\\u{11C08}\\u{11C0A}-\\u{11C2E}\\u{11C40}\\u{11C72}-\\u{11C8F}\\u{11D00}-\\u{11D06}\\u{11D08}-\\u{11D09}\\u{11D0B}-\\u{11D30}\\u{11D46}\\u{11D60}-\\u{11D65}\\u{11D67}-\\u{11D68}\\u{11D6A}-\\u{11D89}\\u{11D98}\\u{11DB0}-\\u{11DDB}\\u{11EE0}-\\u{11EF2}\\u{11F02}\\u{11F04}-\\u{11F10}\\u{11F12}-\\u{11F33}\\u{11FB0}\\u{12000}-\\u{12399}\\u{12480}-\\u{12543}\\u{12F90}-\\u{12FF0}\\u{13000}-\\u{1342F}\\u{13441}-\\u{13446}\\u{13460}-\\u{143FA}\\u{14400}-\\u{14646}\\u{16100}-\\u{1611D}\\u{16800}-\\u{16A38}\\u{16A40}-\\u{16A5E}\\u{16A70}-\\u{16ABE}\\u{16AD0}-\\u{16AED}\\u{16B00}-\\u{16B2F}\\u{16B40}-\\u{16B43}\\u{16B63}-\\u{16B77}\\u{16B7D}-\\u{16B8F}\\u{16D40}-\\u{16D6C}\\u{16E40}-\\u{16E7F}\\u{16EA0}-\\u{16EB8}\\u{16EBB}-\\u{16ED3}\\u{16F00}-\\u{16F4A}\\u{16F50}\\u{16F93}-\\u{16F9F}\\u{16FE0}-\\u{16FE1}\\u{16FE3}\\u{16FF2}-\\u{16FF3}\\u{17000}-\\u{18CD5}\\u{18CFF}-\\u{18D1E}\\u{18D80}-\\u{18DF2}\\u{1AFF0}-\\u{1AFF3}\\u{1AFF5}-\\u{1AFFB}\\u{1AFFD}-\\u{1AFFE}\\u{1B000}-\\u{1B122}\\u{1B132}\\u{1B150}-\\u{1B152}\\u{1B155}\\u{1B164}-\\u{1B167}\\u{1B170}-\\u{1B2FB}\\u{1BC00}-\\u{1BC6A}\\u{1BC70}-\\u{1BC7C}\\u{1BC80}-\\u{1BC88}\\u{1BC90}-\\u{1BC99}\\u{1D400}-\\u{1D454}\\u{1D456}-\\u{1D49C}\\u{1D49E}-\\u{1D49F}\\u{1D4A2}\\u{1D4A5}-\\u{1D4A6}\\u{1D4A9}-\\u{1D4AC}\\u{1D4AE}-\\u{1D4B9}\\u{1D4BB}\\u{1D4BD}-\\u{1D4C3}\\u{1D4C5}-\\u{1D505}\\u{1D507}-\\u{1D50A}\\u{1D50D}-\\u{1D514}\\u{1D516}-\\u{1D51C}\\u{1D51E}-\\u{1D539}\\u{1D53B}-\\u{1D53E}\\u{1D540}-\\u{1D544}\\u{1D546}\\u{1D54A}-\\u{1D550}\\u{1D552}-\\u{1D6A5}\\u{1D6A8}-\\u{1D6C0}\\u{1D6C2}-\\u{1D6DA}\\u{1D6DC}-\\u{1D6FA}\\u{1D6FC}-\\u{1D714}\\u{1D716}-\\u{1D734}\\u{1D736}-\\u{1D74E}\\u{1D750}-\\u{1D76E}\\u{1D770}-\\u{1D788}\\u{1D78A}-\\u{1D7A8}\\u{1D7AA}-\\u{1D7C2}\\u{1D7C4}-\\u{1D7CB}\\u{1DF00}-\\u{1DF1E}\\u{1DF25}-\\u{1DF2A}\\u{1E030}-\\u{1E06D}\\u{1E100}-\\u{1E12C}\\u{1E137}-\\u{1E13D}\\u{1E14E}\\u{1E290}-\\u{1E2AD}\\u{1E2C0}-\\u{1E2EB}\\u{1E4D0}-\\u{1E4EB}\\u{1E5D0}-\\u{1E5ED}\\u{1E5F0}\\u{1E6C0}-\\u{1E6DE}\\u{1E6E0}-\\u{1E6E2}\\u{1E6E4}-\\u{1E6E5}\\u{1E6E7}-\\u{1E6ED}\\u{1E6F0}-\\u{1E6F4}\\u{1E6FE}-\\u{1E6FF}\\u{1E7E0}-\\u{1E7E6}\\u{1E7E8}-\\u{1E7EB}\\u{1E7ED}-\\u{1E7EE}\\u{1E7F0}-\\u{1E7FE}\\u{1E800}-\\u{1E8C4}\\u{1E900}-\\u{1E943}\\u{1E94B}\\u{1EE00}-\\u{1EE03}\\u{1EE05}-\\u{1EE1F}\\u{1EE21}-\\u{1EE22}\\u{1EE24}\\u{1EE27}\\u{1EE29}-\\u{1EE32}\\u{1EE34}-\\u{1EE37}\\u{1EE39}\\u{1EE3B}\\u{1EE42}\\u{1EE47}\\u{1EE49}\\u{1EE4B}\\u{1EE4D}-\\u{1EE4F}\\u{1EE51}-\\u{1EE52}\\u{1EE54}\\u{1EE57}\\u{1EE59}\\u{1EE5B}\\u{1EE5D}\\u{1EE5F}\\u{1EE61}-\\u{1EE62}\\u{1EE64}\\u{1EE67}-\\u{1EE6A}\\u{1EE6C}-\\u{1EE72}\\u{1EE74}-\\u{1EE77}\\u{1EE79}-\\u{1EE7C}\\u{1EE7E}\\u{1EE80}-\\u{1EE89}\\u{1EE8B}-\\u{1EE9B}\\u{1EEA1}-\\u{1EEA3}\\u{1EEA5}-\\u{1EEA9}\\u{1EEAB}-\\u{1EEBB}\\u{20000}-\\u{2A6DF}\\u{2A700}-\\u{2B81D}\\u{2B820}-\\u{2CEAD}\\u{2CEB0}-\\u{2EBE0}\\u{2EBF0}-\\u{2EE5D}\\u{2F800}-\\u{2FA1D}\\u{30000}-\\u{3134A}\\u{31350}-\\u{33479}\\u0030-\\u0039\\u00B2-\\u00B3\\u00B9\\u00BC-\\u00BE\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u09F4-\\u09F9\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0B72-\\u0B77\\u0BE6-\\u0BF2\\u0C66-\\u0C6F\\u0C78-\\u0C7E\\u0CE6-\\u0CEF\\u0D58-\\u0D5E\\u0D66-\\u0D78\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F33\\u1040-\\u1049\\u1090-\\u1099\\u1369-\\u137C\\u16EE-\\u16F0\\u17E0-\\u17E9\\u17F0-\\u17F9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19DA\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\u2070\\u2074-\\u2079\\u2080-\\u2089\\u2150-\\u2182\\u2185-\\u2189\\u2460-\\u249B\\u24EA-\\u24FF\\u2776-\\u2793\\u2CFD\\u3007\\u3021-\\u3029\\u3038-\\u303A\\u3192-\\u3195\\u3220-\\u3229\\u3248-\\u324F\\u3251-\\u325F\\u3280-\\u3289\\u32B1-\\u32BF\\uA620-\\uA629\\uA6E6-\\uA6EF\\uA830-\\uA835\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19\\u{10107}-\\u{10133}\\u{10140}-\\u{10178}\\u{1018A}-\\u{1018B}\\u{102E1}-\\u{102FB}\\u{10320}-\\u{10323}\\u{10341}\\u{1034A}\\u{103D1}-\\u{103D5}\\u{104A0}-\\u{104A9}\\u{10858}-\\u{1085F}\\u{10879}-\\u{1087F}\\u{108A7}-\\u{108AF}\\u{108FB}-\\u{108FF}\\u{10916}-\\u{1091B}\\u{109BC}-\\u{109BD}\\u{109C0}-\\u{109CF}\\u{109D2}-\\u{109FF}\\u{10A40}-\\u{10A48}\\u{10A7D}-\\u{10A7E}\\u{10A9D}-\\u{10A9F}\\u{10AEB}-\\u{10AEF}\\u{10B58}-\\u{10B5F}\\u{10B78}-\\u{10B7F}\\u{10BA9}-\\u{10BAF}\\u{10CFA}-\\u{10CFF}\\u{10D30}-\\u{10D39}\\u{10D40}-\\u{10D49}\\u{10E60}-\\u{10E7E}\\u{10F1D}-\\u{10F26}\\u{10F51}-\\u{10F54}\\u{10FC5}-\\u{10FCB}\\u{11052}-\\u{1106F}\\u{110F0}-\\u{110F9}\\u{11136}-\\u{1113F}\\u{111D0}-\\u{111D9}\\u{111E1}-\\u{111F4}\\u{112F0}-\\u{112F9}\\u{11450}-\\u{11459}\\u{114D0}-\\u{114D9}\\u{11650}-\\u{11659}\\u{116C0}-\\u{116C9}\\u{116D0}-\\u{116E3}\\u{11730}-\\u{1173B}\\u{118E0}-\\u{118F2}\\u{11950}-\\u{11959}\\u{11BF0}-\\u{11BF9}\\u{11C50}-\\u{11C6C}\\u{11D50}-\\u{11D59}\\u{11DA0}-\\u{11DA9}\\u{11DE0}-\\u{11DE9}\\u{11F50}-\\u{11F59}\\u{11FC0}-\\u{11FD4}\\u{12400}-\\u{1246E}\\u{16130}-\\u{16139}\\u{16A60}-\\u{16A69}\\u{16AC0}-\\u{16AC9}\\u{16B50}-\\u{16B59}\\u{16B5B}-\\u{16B61}\\u{16D70}-\\u{16D79}\\u{16E80}-\\u{16E96}\\u{16FF4}-\\u{16FF6}\\u{1CCF0}-\\u{1CCF9}\\u{1D2C0}-\\u{1D2D3}\\u{1D2E0}-\\u{1D2F3}\\u{1D360}-\\u{1D378}\\u{1D7CE}-\\u{1D7FF}\\u{1E140}-\\u{1E149}\\u{1E2F0}-\\u{1E2F9}\\u{1E4F0}-\\u{1E4F9}\\u{1E5F1}-\\u{1E5FA}\\u{1E8C7}-\\u{1E8CF}\\u{1E950}-\\u{1E959}\\u{1EC71}-\\u{1ECAB}\\u{1ECAD}-\\u{1ECAF}\\u{1ECB1}-\\u{1ECB4}\\u{1ED01}-\\u{1ED2D}\\u{1ED2F}-\\u{1ED3D}\\u{1F100}-\\u{1F10C}\\u{1FBF0}-\\u{1FBF9}]","u"),escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}>`)},g=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,b=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,v=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,y=p(v).replace(/bull/g,b).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),_=p(v).replace(/bull/g,b).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),C=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,w=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,F=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",w).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),E=p(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,b).getRegex(),k="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",S=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,A=p("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",S).replace("tag",k).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),D=p(C).replace("hr",g).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",k).getRegex(),x={blockquote:p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",D).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:F,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:g,html:A,lheading:y,list:E,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:D,table:h,text:/^[^\n]+/},I=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",g).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",k).getRegex(),B=l(a({},x),{lheading:_,table:I,paragraph:p(C).replace("hr",g).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",I).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",k).getRegex()}),T=l(a({},x),{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",S).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:h,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(C).replace("hr",g).replace("heading",` *#{1,6} *[^
|
|
477
|
-
]`).replace("lheading",y).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),j=/^( {2,}|\\)\n(?!\s*$)/,P=RegExp("[\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),L=RegExp("[\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),R=RegExp("[^\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),M=p(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,L).getRegex(),z=RegExp("(?!~)[\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),O=RegExp("(?!~)[\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),N=RegExp("(?:[^\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]|~)","u"),H=RegExp("(?![*_])[\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),U=RegExp("(?![*_])[\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),q=RegExp("(?:[^\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]|[*_])","u"),V=p(/link|precode-code|html/,"g").replace("link",RegExp("\\[(?:[^\\[\\]`]|(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)")).replace("precode-",f?"(?<!`)()":"(^^|[^`])").replace("code",RegExp("(?<b>`+)[^`]+\\k<b>(?!`)")).replace("html",/<(?! )[^<>]*?>/).getRegex(),W=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,$=p(W,"u").replace(/punct/g,P).getRegex(),G=p(W,"u").replace(/punct/g,z).getRegex(),K="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Y=p(K,"gu").replace(/notPunctSpace/g,R).replace(/punctSpace/g,L).replace(/punct/g,P).getRegex(),J=p(K,"gu").replace(/notPunctSpace/g,N).replace(/punctSpace/g,O).replace(/punct/g,z).getRegex(),X=p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,R).replace(/punctSpace/g,L).replace(/punct/g,P).getRegex(),Z=p(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,H).getRegex(),Q=p("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,q).replace(/punctSpace/g,U).replace(/punct/g,H).getRegex(),ee=p(/\\(punct)/,"gu").replace(/punct/g,P).getRegex(),et=p(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ei=p(S).replace("(?:--\x3e|$)","--\x3e").getRegex(),en=p("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ei).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),er=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,eo=p(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",er).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),es=p(/^!?\[(label)\]\[(ref)\]/).replace("label",er).replace("ref",w).getRegex(),ea=p(/^!?\[(ref)\](?:\[\])?/).replace("ref",w).getRegex(),el=p("reflink|nolink(?!\\()","g").replace("reflink",es).replace("nolink",ea).getRegex(),eu=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ec={_backpedal:h,anyPunctuation:ee,autolink:et,blockSkip:V,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:h,delLDelim:h,delRDelim:h,emStrongLDelim:$,emStrongRDelimAst:Y,emStrongRDelimUnd:X,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:eo,nolink:ea,punctuation:M,reflink:es,reflinkSearch:el,tag:en,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:h},ed=l(a({},ec),{link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",er).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",er).getRegex()}),eh=l(a({},ec),{emStrongRDelimAst:J,emStrongLDelim:G,delLDelim:Z,delRDelim:Q,url:p(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",eu).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:p(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",eu).getRegex()}),ep=l(a({},eh),{br:p(j).replace("{2,}","*").getRegex(),text:p(eh.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),ef={normal:x,gfm:B,pedantic:T},em={normal:ec,gfm:eh,breaks:ep,pedantic:ed},eg={"&":"&","<":"<",">":">",'"':""","'":"'"},eb=t=>eg[t];function ev(t,i){if(i){if(m.escapeTest.test(t))return t.replace(m.escapeReplace,eb)}else if(m.escapeTestNoEncode.test(t))return t.replace(m.escapeReplaceNoEncode,eb);return t}function ey(t){try{t=encodeURI(t).replace(m.percentDecode,"%")}catch(t){return null}return t}function e_(t,i){var n;let r=t.replace(m.findPipe,(t,i,n)=>{let r=!1,o=i;for(;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"}).split(m.splitPipe),o=0;if(r[0].trim()||r.shift(),!(r.length>0)||(null==(n=r.at(-1))?void 0:n.trim())||r.pop(),i)if(r.length>i)r.splice(i);else for(;r.length<i;)r.push("");for(;o<r.length;o++)r[o]=r[o].trim().replace(m.slashPipe,"|");return r}function eC(t,i,n){let r=t.length;if(0===r)return"";let o=0;for(;o<r;){let s=t.charAt(r-o-1);if(s!==i||n)if(s!==i&&n)o++;else break;else o++}return t.slice(0,r-o)}function ew(t,i,n,r,o){let s=i.href,a=i.title||null,l=t[1].replace(o.other.outputLinkReplace,"$1");r.state.inLink=!0;let u={type:"!"===t[0].charAt(0)?"image":"link",raw:n,href:s,title:a,text:l,tokens:r.inlineTokens(l)};return r.state.inLink=!1,u}var eF=class{space(t){let i=this.rules.block.newline.exec(t);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(t){let i=this.rules.block.code.exec(t);if(i){let t=i[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?t:eC(t,`
|
|
476
|
+
</div>`}appendChildToContainer(t){let i=this.getElm("options");(0,o.assert)(null!=i,"Options does not exist"),i.appendChild(t)}select(t){var i,n;this.elements.forEach((i,n)=>{n===t||i.state.value===t?i.state.activated=!0:this.options.radio&&(i.state.activated=!1)});let r=this.elements.filter(t=>t.state.activated).map(t=>({text:t.state.text,value:t.state.value}));this.jodit.e.fire(this,"select",r),null==(n=(i=this.options).onChange)||n.call(i,r)}constructor(t,i={radio:!0}){var n,r;super(t,null==(n=i.options)?void 0:n.map(i=>{let n=new s.UIButton(t,{text:i.text,value:i.value,variant:"primary"});return n.onAction(()=>{this.select(i.value)}),n}),i),this.options=i,this.select(null!=(r=i.value)?r:0)}};l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],l)},72144:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24"> <g transform="translate(-251.000000, -443.000000)"> <g transform="translate(215.000000, 119.000000)"/> <path d="M252,448 L256,448 L256,444 L252,444 L252,448 Z M257,448 L269,448 L269,446 L257,446 L257,448 Z M257,464 L269,464 L269,462 L257,462 L257,464 Z M270,444 L270,448 L274,448 L274,444 L270,444 Z M252,462 L252,466 L256,466 L256,462 L252,462 Z M270,462 L270,466 L274,466 L274,462 L270,462 Z M254,461 L256,461 L256,449 L254,449 L254,461 Z M270,461 L272,461 L272,449 L270,449 L270,461 Z"/> </g> </svg> '},72157:function(t,i,n){"use strict";n.d(i,{findControlType:function(){return l},getControlType:function(){return a}});var r=n(21537),o=n(6441);function s(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}function a(t,i){let n;return i||(i=o.Config.defaultOptions.controls),(0,r.isString)(t)?n=l(t,i)||{name:t,command:t,tooltip:t}:void 0!==i[(n=s({name:"empty"},(0,r.ConfigFlatten)(t))).name]&&(n=s({},(0,r.ConfigFlatten)(i[n.name]),(0,r.ConfigFlatten)(n))),n}function l(t,i){let[n,o]=t.split(/\./),a=i;return null!=o?void 0!==i[n]&&(a=i[n]):o=n,a[o]?s({name:o},(0,r.ConfigFlatten)(a[o])):void 0}},72253:function(t,i,n){"use strict";var r=n(65478),o=n(22732),s=n(580),a=n(70799),l=n(50911);n(96967);var u=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class c extends l.Plugin{afterInit(t){"br"!==t.o.enter.toLowerCase()&&t.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(t){t.e.off(".wtn")}postProcessSetEditorValue(){let{jodit:t}=this;if(!t.isEditorMode())return;let i=t.editor.firstChild,n=!1;for(;i;){if(i=function(t,i){let n=t,r=t;do if(o.Dom.isElement(r)&&o.Dom.isLeaf(r)&&!o.Dom.isList(r.parentElement)){let t=o.Dom.findNotEmptySibling(r,!1);o.Dom.isTag(n,"ul")?n.appendChild(r):n=o.Dom.wrap(r,"ul",i.createInside),r=t}else break;while(r);return n}(i,t),this.isSuitableStart(i)){n||t.s.save(),n=!0;let r=t.createInside.element(t.o.enter);for(o.Dom.before(i,r);i&&this.isSuitable(i);){let t=i.nextSibling;r.appendChild(i),i=t}r.normalize(),i=r}i=i&&i.nextSibling}n&&(t.s.restore(),"afterInit"===t.e.current&&t.e.fire("internalChange"))}preprocessInput(){let{jodit:t}=this,i="afterInit"===t.e.current;if(!t.isEditorMode()||t.editor.firstChild||!t.o.wrapNodes.emptyBlockAfterInit&&i)return;let n=t.createInside.element(t.o.enter),r=t.createInside.element("br");o.Dom.append(n,r),o.Dom.append(t.editor,n),t.s.isFocused()&&t.s.setCursorBefore(r),t.e.fire("internalChange")}constructor(){super(...arguments),this.isSuitableStart=t=>{var i;return o.Dom.isText(t)&&(0,a.isString)(t.nodeValue)&&(/[^\s]/.test(t.nodeValue)||(null==(i=t.parentNode)?void 0:i.firstChild)===t&&this.isSuitable(t.nextSibling))||this.isNotWrapped(t)&&!o.Dom.isTemporary(t)},this.isSuitable=t=>o.Dom.isText(t)||this.isNotWrapped(t),this.isNotWrapped=t=>o.Dom.isElement(t)&&!(o.Dom.isBlock(t)||o.Dom.isTag(t,this.j.o.wrapNodes.exclude))}}u([r.autobind],c.prototype,"postProcessSetEditorValue",null),u([r.autobind],c.prototype,"preprocessInput",null),s.pluginSystem.add("wrapNodes",c)},72337:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg> '},72392:function(t,i){"use strict";i.default={"copy-format":"Kop\xedrovat form\xe1t"}},72430:function(t,i,n){"use strict";n.d(i,{isPlainObject:function(){return o}});var r=n(52742);function o(t){return!(!t||"object"!=typeof t||t.nodeType||(0,r.isWindow)(t))&&!(t.constructor&&!({}).hasOwnProperty.call(t.constructor.prototype,"isPrototypeOf"))}},72439:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(21537),l=n(76014);let u=new Set([r.KEY_TAB,r.KEY_LEFT,r.KEY_RIGHT,r.KEY_UP,r.KEY_DOWN]);s.pluginSystem.add("tableKeyboardNavigation",function(t){t.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",i=>{let{key:n}=i,s=function(t,i){if(!u.has(i))return;let n=t.s.current();if(!n)return;let s=o.Dom.up(n,o.Dom.isCell,t.editor);if(!s)return;let{range:l}=t.s;if(i!==r.KEY_TAB&&n!==s){let t=i===r.KEY_RIGHT||i===r.KEY_DOWN,u=(0,a.call)(t?o.Dom.next:o.Dom.prev,n,t=>i===r.KEY_UP||i===r.KEY_DOWN?o.Dom.isTag(t,"br"):!!t,s);if(!t&&(u||i!==r.KEY_UP&&o.Dom.isText(n)&&0!==l.startOffset)||t&&(u||i!==r.KEY_DOWN&&o.Dom.isText(n)&&n.nodeValue&&l.startOffset!==n.nodeValue.length))return}return s}(t,n);if(!s)return;let c=t.getInstance(l.Table,t.o),d=o.Dom.closest(s,"table",t.editor),h=null,p=n===r.KEY_LEFT||i.shiftKey,f=()=>(0,a.call)(p?o.Dom.prev:o.Dom.next,s,o.Dom.isCell,d);switch(n){case r.KEY_TAB:case r.KEY_LEFT:(h=f())||(c.appendRow(d,!!p&&d.querySelector("tr"),!p),h=f());break;case r.KEY_UP:case r.KEY_DOWN:{let t=c.formalMatrix(d),[i,o]=c.formalCoordinate(d,s);n===r.KEY_UP?void 0!==t[i-1]&&(h=t[i-1][o]):void 0!==t[i+1]&&(h=t[i+1][o])}}if(h){if(t.e.fire("hidePopup hideResizer"),h.firstChild)n===r.KEY_TAB?t.s.select(h,!0):t.s.setCursorIn(h,n===r.KEY_RIGHT||n===r.KEY_DOWN);else{let i=t.createInside.element("br");h.appendChild(i),t.s.setCursorBefore(i)}return t.synchronizeValues(),!1}})})},72573:function(t,i,n){"use strict";function r(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var i=this,n=arguments;return new Promise(function(o,s){var a=t.apply(i,n);function l(t){r(a,o,s,l,u,"next",t)}function u(t){r(a,o,s,l,u,"throw",t)}l(void 0)})}}function s(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}function a(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){s(t,i,n[i])})}return t}function l(t,i){return i=null!=i?i:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(i)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(i,n))}),t}function u(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}n.d(i,{marked:function(){return eI}});var c,d=u(),h={exec:()=>null};function p(t,i=""){let n="string"==typeof t?t:t.source,r={replace:(t,i)=>{let o="string"==typeof i?i:i.source;return o=o.replace(m.caret,"$1"),n=n.replace(t,o),r},getRegex:()=>new RegExp(n,i)};return r}var f=(()=>{try{return!!RegExp("(?<=1)(?<!1)")}catch(t){return!1}})(),m={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:RegExp("[\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376-\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0560-\\u0588\\u05D0-\\u05EA\\u05EF-\\u05F2\\u0620-\\u064A\\u066E-\\u066F\\u0671-\\u06D3\\u06D5\\u06E5-\\u06E6\\u06EE-\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4-\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u0860-\\u086A\\u0870-\\u0887\\u0889-\\u088F\\u08A0-\\u08C9\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F-\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC-\\u09DD\\u09DF-\\u09E1\\u09F0-\\u09F1\\u09FC\\u0A05-\\u0A0A\\u0A0F-\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32-\\u0A33\\u0A35-\\u0A36\\u0A38-\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2-\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0-\\u0AE1\\u0AF9\\u0B05-\\u0B0C\\u0B0F-\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32-\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C-\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99-\\u0B9A\\u0B9C\\u0B9E-\\u0B9F\\u0BA3-\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58-\\u0C5A\\u0C5C-\\u0C5D\\u0C60-\\u0C61\\u0C80\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDC-\\u0CDE\\u0CE0-\\u0CE1\\u0CF1-\\u0CF2\\u0D04-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D54-\\u0D56\\u0D5F-\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32-\\u0E33\\u0E40-\\u0E46\\u0E81-\\u0E82\\u0E84\\u0E86-\\u0E8A\\u0E8C-\\u0EA3\\u0EA5\\u0EA7-\\u0EB0\\u0EB2-\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065-\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F5\\u13F8-\\u13FD\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16F1-\\u16F8\\u1700-\\u1711\\u171F-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1878\\u1880-\\u1884\\u1887-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4C\\u1B83-\\u1BA0\\u1BAE-\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1C80-\\u1C8A\\u1C90-\\u1CBA\\u1CBD-\\u1CBF\\u1CE9-\\u1CEC\\u1CEE-\\u1CF3\\u1CF5-\\u1CF6\\u1CFA\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183-\\u2184\\u2C00-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3006\\u3031-\\u3035\\u303B-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312F\\u3131-\\u318E\\u31A0-\\u31BF\\u31F0-\\u31FF\\u3400-\\u4DBF\\u4E00-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A-\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA7DC\\uA7F1-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA8FD-\\uA8FE\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5-\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB69\\uAB70-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40-\\uFB41\\uFB43-\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC\\u{10000}-\\u{1000B}\\u{1000D}-\\u{10026}\\u{10028}-\\u{1003A}\\u{1003C}-\\u{1003D}\\u{1003F}-\\u{1004D}\\u{10050}-\\u{1005D}\\u{10080}-\\u{100FA}\\u{10280}-\\u{1029C}\\u{102A0}-\\u{102D0}\\u{10300}-\\u{1031F}\\u{1032D}-\\u{10340}\\u{10342}-\\u{10349}\\u{10350}-\\u{10375}\\u{10380}-\\u{1039D}\\u{103A0}-\\u{103C3}\\u{103C8}-\\u{103CF}\\u{10400}-\\u{1049D}\\u{104B0}-\\u{104D3}\\u{104D8}-\\u{104FB}\\u{10500}-\\u{10527}\\u{10530}-\\u{10563}\\u{10570}-\\u{1057A}\\u{1057C}-\\u{1058A}\\u{1058C}-\\u{10592}\\u{10594}-\\u{10595}\\u{10597}-\\u{105A1}\\u{105A3}-\\u{105B1}\\u{105B3}-\\u{105B9}\\u{105BB}-\\u{105BC}\\u{105C0}-\\u{105F3}\\u{10600}-\\u{10736}\\u{10740}-\\u{10755}\\u{10760}-\\u{10767}\\u{10780}-\\u{10785}\\u{10787}-\\u{107B0}\\u{107B2}-\\u{107BA}\\u{10800}-\\u{10805}\\u{10808}\\u{1080A}-\\u{10835}\\u{10837}-\\u{10838}\\u{1083C}\\u{1083F}-\\u{10855}\\u{10860}-\\u{10876}\\u{10880}-\\u{1089E}\\u{108E0}-\\u{108F2}\\u{108F4}-\\u{108F5}\\u{10900}-\\u{10915}\\u{10920}-\\u{10939}\\u{10940}-\\u{10959}\\u{10980}-\\u{109B7}\\u{109BE}-\\u{109BF}\\u{10A00}\\u{10A10}-\\u{10A13}\\u{10A15}-\\u{10A17}\\u{10A19}-\\u{10A35}\\u{10A60}-\\u{10A7C}\\u{10A80}-\\u{10A9C}\\u{10AC0}-\\u{10AC7}\\u{10AC9}-\\u{10AE4}\\u{10B00}-\\u{10B35}\\u{10B40}-\\u{10B55}\\u{10B60}-\\u{10B72}\\u{10B80}-\\u{10B91}\\u{10C00}-\\u{10C48}\\u{10C80}-\\u{10CB2}\\u{10CC0}-\\u{10CF2}\\u{10D00}-\\u{10D23}\\u{10D4A}-\\u{10D65}\\u{10D6F}-\\u{10D85}\\u{10E80}-\\u{10EA9}\\u{10EB0}-\\u{10EB1}\\u{10EC2}-\\u{10EC7}\\u{10F00}-\\u{10F1C}\\u{10F27}\\u{10F30}-\\u{10F45}\\u{10F70}-\\u{10F81}\\u{10FB0}-\\u{10FC4}\\u{10FE0}-\\u{10FF6}\\u{11003}-\\u{11037}\\u{11071}-\\u{11072}\\u{11075}\\u{11083}-\\u{110AF}\\u{110D0}-\\u{110E8}\\u{11103}-\\u{11126}\\u{11144}\\u{11147}\\u{11150}-\\u{11172}\\u{11176}\\u{11183}-\\u{111B2}\\u{111C1}-\\u{111C4}\\u{111DA}\\u{111DC}\\u{11200}-\\u{11211}\\u{11213}-\\u{1122B}\\u{1123F}-\\u{11240}\\u{11280}-\\u{11286}\\u{11288}\\u{1128A}-\\u{1128D}\\u{1128F}-\\u{1129D}\\u{1129F}-\\u{112A8}\\u{112B0}-\\u{112DE}\\u{11305}-\\u{1130C}\\u{1130F}-\\u{11310}\\u{11313}-\\u{11328}\\u{1132A}-\\u{11330}\\u{11332}-\\u{11333}\\u{11335}-\\u{11339}\\u{1133D}\\u{11350}\\u{1135D}-\\u{11361}\\u{11380}-\\u{11389}\\u{1138B}\\u{1138E}\\u{11390}-\\u{113B5}\\u{113B7}\\u{113D1}\\u{113D3}\\u{11400}-\\u{11434}\\u{11447}-\\u{1144A}\\u{1145F}-\\u{11461}\\u{11480}-\\u{114AF}\\u{114C4}-\\u{114C5}\\u{114C7}\\u{11580}-\\u{115AE}\\u{115D8}-\\u{115DB}\\u{11600}-\\u{1162F}\\u{11644}\\u{11680}-\\u{116AA}\\u{116B8}\\u{11700}-\\u{1171A}\\u{11740}-\\u{11746}\\u{11800}-\\u{1182B}\\u{118A0}-\\u{118DF}\\u{118FF}-\\u{11906}\\u{11909}\\u{1190C}-\\u{11913}\\u{11915}-\\u{11916}\\u{11918}-\\u{1192F}\\u{1193F}\\u{11941}\\u{119A0}-\\u{119A7}\\u{119AA}-\\u{119D0}\\u{119E1}\\u{119E3}\\u{11A00}\\u{11A0B}-\\u{11A32}\\u{11A3A}\\u{11A50}\\u{11A5C}-\\u{11A89}\\u{11A9D}\\u{11AB0}-\\u{11AF8}\\u{11BC0}-\\u{11BE0}\\u{11C00}-\\u{11C08}\\u{11C0A}-\\u{11C2E}\\u{11C40}\\u{11C72}-\\u{11C8F}\\u{11D00}-\\u{11D06}\\u{11D08}-\\u{11D09}\\u{11D0B}-\\u{11D30}\\u{11D46}\\u{11D60}-\\u{11D65}\\u{11D67}-\\u{11D68}\\u{11D6A}-\\u{11D89}\\u{11D98}\\u{11DB0}-\\u{11DDB}\\u{11EE0}-\\u{11EF2}\\u{11F02}\\u{11F04}-\\u{11F10}\\u{11F12}-\\u{11F33}\\u{11FB0}\\u{12000}-\\u{12399}\\u{12480}-\\u{12543}\\u{12F90}-\\u{12FF0}\\u{13000}-\\u{1342F}\\u{13441}-\\u{13446}\\u{13460}-\\u{143FA}\\u{14400}-\\u{14646}\\u{16100}-\\u{1611D}\\u{16800}-\\u{16A38}\\u{16A40}-\\u{16A5E}\\u{16A70}-\\u{16ABE}\\u{16AD0}-\\u{16AED}\\u{16B00}-\\u{16B2F}\\u{16B40}-\\u{16B43}\\u{16B63}-\\u{16B77}\\u{16B7D}-\\u{16B8F}\\u{16D40}-\\u{16D6C}\\u{16E40}-\\u{16E7F}\\u{16EA0}-\\u{16EB8}\\u{16EBB}-\\u{16ED3}\\u{16F00}-\\u{16F4A}\\u{16F50}\\u{16F93}-\\u{16F9F}\\u{16FE0}-\\u{16FE1}\\u{16FE3}\\u{16FF2}-\\u{16FF3}\\u{17000}-\\u{18CD5}\\u{18CFF}-\\u{18D1E}\\u{18D80}-\\u{18DF2}\\u{1AFF0}-\\u{1AFF3}\\u{1AFF5}-\\u{1AFFB}\\u{1AFFD}-\\u{1AFFE}\\u{1B000}-\\u{1B122}\\u{1B132}\\u{1B150}-\\u{1B152}\\u{1B155}\\u{1B164}-\\u{1B167}\\u{1B170}-\\u{1B2FB}\\u{1BC00}-\\u{1BC6A}\\u{1BC70}-\\u{1BC7C}\\u{1BC80}-\\u{1BC88}\\u{1BC90}-\\u{1BC99}\\u{1D400}-\\u{1D454}\\u{1D456}-\\u{1D49C}\\u{1D49E}-\\u{1D49F}\\u{1D4A2}\\u{1D4A5}-\\u{1D4A6}\\u{1D4A9}-\\u{1D4AC}\\u{1D4AE}-\\u{1D4B9}\\u{1D4BB}\\u{1D4BD}-\\u{1D4C3}\\u{1D4C5}-\\u{1D505}\\u{1D507}-\\u{1D50A}\\u{1D50D}-\\u{1D514}\\u{1D516}-\\u{1D51C}\\u{1D51E}-\\u{1D539}\\u{1D53B}-\\u{1D53E}\\u{1D540}-\\u{1D544}\\u{1D546}\\u{1D54A}-\\u{1D550}\\u{1D552}-\\u{1D6A5}\\u{1D6A8}-\\u{1D6C0}\\u{1D6C2}-\\u{1D6DA}\\u{1D6DC}-\\u{1D6FA}\\u{1D6FC}-\\u{1D714}\\u{1D716}-\\u{1D734}\\u{1D736}-\\u{1D74E}\\u{1D750}-\\u{1D76E}\\u{1D770}-\\u{1D788}\\u{1D78A}-\\u{1D7A8}\\u{1D7AA}-\\u{1D7C2}\\u{1D7C4}-\\u{1D7CB}\\u{1DF00}-\\u{1DF1E}\\u{1DF25}-\\u{1DF2A}\\u{1E030}-\\u{1E06D}\\u{1E100}-\\u{1E12C}\\u{1E137}-\\u{1E13D}\\u{1E14E}\\u{1E290}-\\u{1E2AD}\\u{1E2C0}-\\u{1E2EB}\\u{1E4D0}-\\u{1E4EB}\\u{1E5D0}-\\u{1E5ED}\\u{1E5F0}\\u{1E6C0}-\\u{1E6DE}\\u{1E6E0}-\\u{1E6E2}\\u{1E6E4}-\\u{1E6E5}\\u{1E6E7}-\\u{1E6ED}\\u{1E6F0}-\\u{1E6F4}\\u{1E6FE}-\\u{1E6FF}\\u{1E7E0}-\\u{1E7E6}\\u{1E7E8}-\\u{1E7EB}\\u{1E7ED}-\\u{1E7EE}\\u{1E7F0}-\\u{1E7FE}\\u{1E800}-\\u{1E8C4}\\u{1E900}-\\u{1E943}\\u{1E94B}\\u{1EE00}-\\u{1EE03}\\u{1EE05}-\\u{1EE1F}\\u{1EE21}-\\u{1EE22}\\u{1EE24}\\u{1EE27}\\u{1EE29}-\\u{1EE32}\\u{1EE34}-\\u{1EE37}\\u{1EE39}\\u{1EE3B}\\u{1EE42}\\u{1EE47}\\u{1EE49}\\u{1EE4B}\\u{1EE4D}-\\u{1EE4F}\\u{1EE51}-\\u{1EE52}\\u{1EE54}\\u{1EE57}\\u{1EE59}\\u{1EE5B}\\u{1EE5D}\\u{1EE5F}\\u{1EE61}-\\u{1EE62}\\u{1EE64}\\u{1EE67}-\\u{1EE6A}\\u{1EE6C}-\\u{1EE72}\\u{1EE74}-\\u{1EE77}\\u{1EE79}-\\u{1EE7C}\\u{1EE7E}\\u{1EE80}-\\u{1EE89}\\u{1EE8B}-\\u{1EE9B}\\u{1EEA1}-\\u{1EEA3}\\u{1EEA5}-\\u{1EEA9}\\u{1EEAB}-\\u{1EEBB}\\u{20000}-\\u{2A6DF}\\u{2A700}-\\u{2B81D}\\u{2B820}-\\u{2CEAD}\\u{2CEB0}-\\u{2EBE0}\\u{2EBF0}-\\u{2EE5D}\\u{2F800}-\\u{2FA1D}\\u{30000}-\\u{3134A}\\u{31350}-\\u{33479}\\u0030-\\u0039\\u00B2-\\u00B3\\u00B9\\u00BC-\\u00BE\\u0660-\\u0669\\u06F0-\\u06F9\\u07C0-\\u07C9\\u0966-\\u096F\\u09E6-\\u09EF\\u09F4-\\u09F9\\u0A66-\\u0A6F\\u0AE6-\\u0AEF\\u0B66-\\u0B6F\\u0B72-\\u0B77\\u0BE6-\\u0BF2\\u0C66-\\u0C6F\\u0C78-\\u0C7E\\u0CE6-\\u0CEF\\u0D58-\\u0D5E\\u0D66-\\u0D78\\u0DE6-\\u0DEF\\u0E50-\\u0E59\\u0ED0-\\u0ED9\\u0F20-\\u0F33\\u1040-\\u1049\\u1090-\\u1099\\u1369-\\u137C\\u16EE-\\u16F0\\u17E0-\\u17E9\\u17F0-\\u17F9\\u1810-\\u1819\\u1946-\\u194F\\u19D0-\\u19DA\\u1A80-\\u1A89\\u1A90-\\u1A99\\u1B50-\\u1B59\\u1BB0-\\u1BB9\\u1C40-\\u1C49\\u1C50-\\u1C59\\u2070\\u2074-\\u2079\\u2080-\\u2089\\u2150-\\u2182\\u2185-\\u2189\\u2460-\\u249B\\u24EA-\\u24FF\\u2776-\\u2793\\u2CFD\\u3007\\u3021-\\u3029\\u3038-\\u303A\\u3192-\\u3195\\u3220-\\u3229\\u3248-\\u324F\\u3251-\\u325F\\u3280-\\u3289\\u32B1-\\u32BF\\uA620-\\uA629\\uA6E6-\\uA6EF\\uA830-\\uA835\\uA8D0-\\uA8D9\\uA900-\\uA909\\uA9D0-\\uA9D9\\uA9F0-\\uA9F9\\uAA50-\\uAA59\\uABF0-\\uABF9\\uFF10-\\uFF19\\u{10107}-\\u{10133}\\u{10140}-\\u{10178}\\u{1018A}-\\u{1018B}\\u{102E1}-\\u{102FB}\\u{10320}-\\u{10323}\\u{10341}\\u{1034A}\\u{103D1}-\\u{103D5}\\u{104A0}-\\u{104A9}\\u{10858}-\\u{1085F}\\u{10879}-\\u{1087F}\\u{108A7}-\\u{108AF}\\u{108FB}-\\u{108FF}\\u{10916}-\\u{1091B}\\u{109BC}-\\u{109BD}\\u{109C0}-\\u{109CF}\\u{109D2}-\\u{109FF}\\u{10A40}-\\u{10A48}\\u{10A7D}-\\u{10A7E}\\u{10A9D}-\\u{10A9F}\\u{10AEB}-\\u{10AEF}\\u{10B58}-\\u{10B5F}\\u{10B78}-\\u{10B7F}\\u{10BA9}-\\u{10BAF}\\u{10CFA}-\\u{10CFF}\\u{10D30}-\\u{10D39}\\u{10D40}-\\u{10D49}\\u{10E60}-\\u{10E7E}\\u{10F1D}-\\u{10F26}\\u{10F51}-\\u{10F54}\\u{10FC5}-\\u{10FCB}\\u{11052}-\\u{1106F}\\u{110F0}-\\u{110F9}\\u{11136}-\\u{1113F}\\u{111D0}-\\u{111D9}\\u{111E1}-\\u{111F4}\\u{112F0}-\\u{112F9}\\u{11450}-\\u{11459}\\u{114D0}-\\u{114D9}\\u{11650}-\\u{11659}\\u{116C0}-\\u{116C9}\\u{116D0}-\\u{116E3}\\u{11730}-\\u{1173B}\\u{118E0}-\\u{118F2}\\u{11950}-\\u{11959}\\u{11BF0}-\\u{11BF9}\\u{11C50}-\\u{11C6C}\\u{11D50}-\\u{11D59}\\u{11DA0}-\\u{11DA9}\\u{11DE0}-\\u{11DE9}\\u{11F50}-\\u{11F59}\\u{11FC0}-\\u{11FD4}\\u{12400}-\\u{1246E}\\u{16130}-\\u{16139}\\u{16A60}-\\u{16A69}\\u{16AC0}-\\u{16AC9}\\u{16B50}-\\u{16B59}\\u{16B5B}-\\u{16B61}\\u{16D70}-\\u{16D79}\\u{16E80}-\\u{16E96}\\u{16FF4}-\\u{16FF6}\\u{1CCF0}-\\u{1CCF9}\\u{1D2C0}-\\u{1D2D3}\\u{1D2E0}-\\u{1D2F3}\\u{1D360}-\\u{1D378}\\u{1D7CE}-\\u{1D7FF}\\u{1E140}-\\u{1E149}\\u{1E2F0}-\\u{1E2F9}\\u{1E4F0}-\\u{1E4F9}\\u{1E5F1}-\\u{1E5FA}\\u{1E8C7}-\\u{1E8CF}\\u{1E950}-\\u{1E959}\\u{1EC71}-\\u{1ECAB}\\u{1ECAD}-\\u{1ECAF}\\u{1ECB1}-\\u{1ECB4}\\u{1ED01}-\\u{1ED2D}\\u{1ED2F}-\\u{1ED3D}\\u{1F100}-\\u{1F10C}\\u{1FBF0}-\\u{1FBF9}]","u"),escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:t=>RegExp(`^ {0,${Math.min(3,t-1)}}>`)},g=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,b=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,v=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,y=p(v).replace(/bull/g,b).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),_=p(v).replace(/bull/g,b).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),C=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,w=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,F=p(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",w).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),E=p(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,b).getRegex(),k="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",S=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,A=p("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",S).replace("tag",k).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),D=p(C).replace("hr",g).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",k).getRegex(),x={blockquote:p(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",D).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:F,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:g,html:A,lheading:y,list:E,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:D,table:h,text:/^[^\n]+/},I=p("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",g).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",k).getRegex(),B=l(a({},x),{lheading:_,table:I,paragraph:p(C).replace("hr",g).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",I).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",k).getRegex()}),T=l(a({},x),{html:p("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",S).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:h,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:p(C).replace("hr",g).replace("heading",` *#{1,6} *[^
|
|
477
|
+
]`).replace("lheading",y).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),j=/^( {2,}|\\)\n(?!\s*$)/,P=RegExp("[\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),L=RegExp("[\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),R=RegExp("[^\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),M=p(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,L).getRegex(),z=RegExp("(?!~)[\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),O=RegExp("(?!~)[\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),N=RegExp("(?:[^\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]|~)","u"),H=RegExp("(?![*_])[\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),U=RegExp("(?![*_])[\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]","u"),q=RegExp("(?:[^\\s\\u0021-\\u0023\\u0025-\\u002A\\u002C-\\u002F\\u003A-\\u003B\\u003F-\\u0040\\u005B-\\u005D\\u005F\\u007B\\u007D\\u00A1\\u00A7\\u00AB\\u00B6-\\u00B7\\u00BB\\u00BF\\u037E\\u0387\\u055A-\\u055F\\u0589-\\u058A\\u05BE\\u05C0\\u05C3\\u05C6\\u05F3-\\u05F4\\u0609-\\u060A\\u060C-\\u060D\\u061B\\u061D-\\u061F\\u066A-\\u066D\\u06D4\\u0700-\\u070D\\u07F7-\\u07F9\\u0830-\\u083E\\u085E\\u0964-\\u0965\\u0970\\u09FD\\u0A76\\u0AF0\\u0C77\\u0C84\\u0DF4\\u0E4F\\u0E5A-\\u0E5B\\u0F04-\\u0F12\\u0F14\\u0F3A-\\u0F3D\\u0F85\\u0FD0-\\u0FD4\\u0FD9-\\u0FDA\\u104A-\\u104F\\u10FB\\u1360-\\u1368\\u1400\\u166E\\u169B-\\u169C\\u16EB-\\u16ED\\u1735-\\u1736\\u17D4-\\u17D6\\u17D8-\\u17DA\\u1800-\\u180A\\u1944-\\u1945\\u1A1E-\\u1A1F\\u1AA0-\\u1AA6\\u1AA8-\\u1AAD\\u1B4E-\\u1B4F\\u1B5A-\\u1B60\\u1B7D-\\u1B7F\\u1BFC-\\u1BFF\\u1C3B-\\u1C3F\\u1C7E-\\u1C7F\\u1CC0-\\u1CC7\\u1CD3\\u2010-\\u2027\\u2030-\\u2043\\u2045-\\u2051\\u2053-\\u205E\\u207D-\\u207E\\u208D-\\u208E\\u2308-\\u230B\\u2329-\\u232A\\u2768-\\u2775\\u27C5-\\u27C6\\u27E6-\\u27EF\\u2983-\\u2998\\u29D8-\\u29DB\\u29FC-\\u29FD\\u2CF9-\\u2CFC\\u2CFE-\\u2CFF\\u2D70\\u2E00-\\u2E2E\\u2E30-\\u2E4F\\u2E52-\\u2E5D\\u3001-\\u3003\\u3008-\\u3011\\u3014-\\u301F\\u3030\\u303D\\u30A0\\u30FB\\uA4FE-\\uA4FF\\uA60D-\\uA60F\\uA673\\uA67E\\uA6F2-\\uA6F7\\uA874-\\uA877\\uA8CE-\\uA8CF\\uA8F8-\\uA8FA\\uA8FC\\uA92E-\\uA92F\\uA95F\\uA9C1-\\uA9CD\\uA9DE-\\uA9DF\\uAA5C-\\uAA5F\\uAADE-\\uAADF\\uAAF0-\\uAAF1\\uABEB\\uFD3E-\\uFD3F\\uFE10-\\uFE19\\uFE30-\\uFE52\\uFE54-\\uFE61\\uFE63\\uFE68\\uFE6A-\\uFE6B\\uFF01-\\uFF03\\uFF05-\\uFF0A\\uFF0C-\\uFF0F\\uFF1A-\\uFF1B\\uFF1F-\\uFF20\\uFF3B-\\uFF3D\\uFF3F\\uFF5B\\uFF5D\\uFF5F-\\uFF65\\u{10100}-\\u{10102}\\u{1039F}\\u{103D0}\\u{1056F}\\u{10857}\\u{1091F}\\u{1093F}\\u{10A50}-\\u{10A58}\\u{10A7F}\\u{10AF0}-\\u{10AF6}\\u{10B39}-\\u{10B3F}\\u{10B99}-\\u{10B9C}\\u{10D6E}\\u{10EAD}\\u{10ED0}\\u{10F55}-\\u{10F59}\\u{10F86}-\\u{10F89}\\u{11047}-\\u{1104D}\\u{110BB}-\\u{110BC}\\u{110BE}-\\u{110C1}\\u{11140}-\\u{11143}\\u{11174}-\\u{11175}\\u{111C5}-\\u{111C8}\\u{111CD}\\u{111DB}\\u{111DD}-\\u{111DF}\\u{11238}-\\u{1123D}\\u{112A9}\\u{113D4}-\\u{113D5}\\u{113D7}-\\u{113D8}\\u{1144B}-\\u{1144F}\\u{1145A}-\\u{1145B}\\u{1145D}\\u{114C6}\\u{115C1}-\\u{115D7}\\u{11641}-\\u{11643}\\u{11660}-\\u{1166C}\\u{116B9}\\u{1173C}-\\u{1173E}\\u{1183B}\\u{11944}-\\u{11946}\\u{119E2}\\u{11A3F}-\\u{11A46}\\u{11A9A}-\\u{11A9C}\\u{11A9E}-\\u{11AA2}\\u{11B00}-\\u{11B09}\\u{11BE1}\\u{11C41}-\\u{11C45}\\u{11C70}-\\u{11C71}\\u{11EF7}-\\u{11EF8}\\u{11F43}-\\u{11F4F}\\u{11FFF}\\u{12470}-\\u{12474}\\u{12FF1}-\\u{12FF2}\\u{16A6E}-\\u{16A6F}\\u{16AF5}\\u{16B37}-\\u{16B3B}\\u{16B44}\\u{16D6D}-\\u{16D6F}\\u{16E97}-\\u{16E9A}\\u{16FE2}\\u{1BC9F}\\u{1DA87}-\\u{1DA8B}\\u{1E5FF}\\u{1E95E}-\\u{1E95F}\\u0024\\u002B\\u003C-\\u003E\\u005E\\u0060\\u007C\\u007E\\u00A2-\\u00A6\\u00A8-\\u00A9\\u00AC\\u00AE-\\u00B1\\u00B4\\u00B8\\u00D7\\u00F7\\u02C2-\\u02C5\\u02D2-\\u02DF\\u02E5-\\u02EB\\u02ED\\u02EF-\\u02FF\\u0375\\u0384-\\u0385\\u03F6\\u0482\\u058D-\\u058F\\u0606-\\u0608\\u060B\\u060E-\\u060F\\u06DE\\u06E9\\u06FD-\\u06FE\\u07F6\\u07FE-\\u07FF\\u0888\\u09F2-\\u09F3\\u09FA-\\u09FB\\u0AF1\\u0B70\\u0BF3-\\u0BFA\\u0C7F\\u0D4F\\u0D79\\u0E3F\\u0F01-\\u0F03\\u0F13\\u0F15-\\u0F17\\u0F1A-\\u0F1F\\u0F34\\u0F36\\u0F38\\u0FBE-\\u0FC5\\u0FC7-\\u0FCC\\u0FCE-\\u0FCF\\u0FD5-\\u0FD8\\u109E-\\u109F\\u1390-\\u1399\\u166D\\u17DB\\u1940\\u19DE-\\u19FF\\u1B61-\\u1B6A\\u1B74-\\u1B7C\\u1FBD\\u1FBF-\\u1FC1\\u1FCD-\\u1FCF\\u1FDD-\\u1FDF\\u1FED-\\u1FEF\\u1FFD-\\u1FFE\\u2044\\u2052\\u207A-\\u207C\\u208A-\\u208C\\u20A0-\\u20C1\\u2100-\\u2101\\u2103-\\u2106\\u2108-\\u2109\\u2114\\u2116-\\u2118\\u211E-\\u2123\\u2125\\u2127\\u2129\\u212E\\u213A-\\u213B\\u2140-\\u2144\\u214A-\\u214D\\u214F\\u218A-\\u218B\\u2190-\\u2307\\u230C-\\u2328\\u232B-\\u2429\\u2440-\\u244A\\u249C-\\u24E9\\u2500-\\u2767\\u2794-\\u27C4\\u27C7-\\u27E5\\u27F0-\\u2982\\u2999-\\u29D7\\u29DC-\\u29FB\\u29FE-\\u2B73\\u2B76-\\u2BFF\\u2CE5-\\u2CEA\\u2E50-\\u2E51\\u2E80-\\u2E99\\u2E9B-\\u2EF3\\u2F00-\\u2FD5\\u2FF0-\\u2FFF\\u3004\\u3012-\\u3013\\u3020\\u3036-\\u3037\\u303E-\\u303F\\u309B-\\u309C\\u3190-\\u3191\\u3196-\\u319F\\u31C0-\\u31E5\\u31EF\\u3200-\\u321E\\u322A-\\u3247\\u3250\\u3260-\\u327F\\u328A-\\u32B0\\u32C0-\\u33FF\\u4DC0-\\u4DFF\\uA490-\\uA4C6\\uA700-\\uA716\\uA720-\\uA721\\uA789-\\uA78A\\uA828-\\uA82B\\uA836-\\uA839\\uAA77-\\uAA79\\uAB5B\\uAB6A-\\uAB6B\\uFB29\\uFBB2-\\uFBD2\\uFD40-\\uFD4F\\uFD90-\\uFD91\\uFDC8-\\uFDCF\\uFDFC-\\uFDFF\\uFE62\\uFE64-\\uFE66\\uFE69\\uFF04\\uFF0B\\uFF1C-\\uFF1E\\uFF3E\\uFF40\\uFF5C\\uFF5E\\uFFE0-\\uFFE6\\uFFE8-\\uFFEE\\uFFFC-\\uFFFD\\u{10137}-\\u{1013F}\\u{10179}-\\u{10189}\\u{1018C}-\\u{1018E}\\u{10190}-\\u{1019C}\\u{101A0}\\u{101D0}-\\u{101FC}\\u{10877}-\\u{10878}\\u{10AC8}\\u{10D8E}-\\u{10D8F}\\u{10ED1}-\\u{10ED8}\\u{1173F}\\u{11FD5}-\\u{11FF1}\\u{16B3C}-\\u{16B3F}\\u{16B45}\\u{1BC9C}\\u{1CC00}-\\u{1CCEF}\\u{1CCFA}-\\u{1CCFC}\\u{1CD00}-\\u{1CEB3}\\u{1CEBA}-\\u{1CED0}\\u{1CEE0}-\\u{1CEF0}\\u{1CF50}-\\u{1CFC3}\\u{1D000}-\\u{1D0F5}\\u{1D100}-\\u{1D126}\\u{1D129}-\\u{1D164}\\u{1D16A}-\\u{1D16C}\\u{1D183}-\\u{1D184}\\u{1D18C}-\\u{1D1A9}\\u{1D1AE}-\\u{1D1EA}\\u{1D200}-\\u{1D241}\\u{1D245}\\u{1D300}-\\u{1D356}\\u{1D6C1}\\u{1D6DB}\\u{1D6FB}\\u{1D715}\\u{1D735}\\u{1D74F}\\u{1D76F}\\u{1D789}\\u{1D7A9}\\u{1D7C3}\\u{1D800}-\\u{1D9FF}\\u{1DA37}-\\u{1DA3A}\\u{1DA6D}-\\u{1DA74}\\u{1DA76}-\\u{1DA83}\\u{1DA85}-\\u{1DA86}\\u{1E14F}\\u{1E2FF}\\u{1ECAC}\\u{1ECB0}\\u{1ED2E}\\u{1EEF0}-\\u{1EEF1}\\u{1F000}-\\u{1F02B}\\u{1F030}-\\u{1F093}\\u{1F0A0}-\\u{1F0AE}\\u{1F0B1}-\\u{1F0BF}\\u{1F0C1}-\\u{1F0CF}\\u{1F0D1}-\\u{1F0F5}\\u{1F10D}-\\u{1F1AD}\\u{1F1E6}-\\u{1F202}\\u{1F210}-\\u{1F23B}\\u{1F240}-\\u{1F248}\\u{1F250}-\\u{1F251}\\u{1F260}-\\u{1F265}\\u{1F300}-\\u{1F6D8}\\u{1F6DC}-\\u{1F6EC}\\u{1F6F0}-\\u{1F6FC}\\u{1F700}-\\u{1F7D9}\\u{1F7E0}-\\u{1F7EB}\\u{1F7F0}\\u{1F800}-\\u{1F80B}\\u{1F810}-\\u{1F847}\\u{1F850}-\\u{1F859}\\u{1F860}-\\u{1F887}\\u{1F890}-\\u{1F8AD}\\u{1F8B0}-\\u{1F8BB}\\u{1F8C0}-\\u{1F8C1}\\u{1F8D0}-\\u{1F8D8}\\u{1F900}-\\u{1FA57}\\u{1FA60}-\\u{1FA6D}\\u{1FA70}-\\u{1FA7C}\\u{1FA80}-\\u{1FA8A}\\u{1FA8E}-\\u{1FAC6}\\u{1FAC8}\\u{1FACD}-\\u{1FADC}\\u{1FADF}-\\u{1FAEA}\\u{1FAEF}-\\u{1FAF8}\\u{1FB00}-\\u{1FB92}\\u{1FB94}-\\u{1FBEF}\\u{1FBFA}]|[*_])","u"),V=p(/link|precode-code|html/,"g").replace("link",RegExp("\\[(?:[^\\[\\]`]|(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)")).replace("precode-",f?"(?<!`)()":"(^^|[^`])").replace("code",RegExp("(?<b>`+)[^`]+\\k<b>(?!`)")).replace("html",/<(?! )[^<>]*?>/).getRegex(),W=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,$=p(W,"u").replace(/punct/g,P).getRegex(),G=p(W,"u").replace(/punct/g,z).getRegex(),K="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",Y=p(K,"gu").replace(/notPunctSpace/g,R).replace(/punctSpace/g,L).replace(/punct/g,P).getRegex(),J=p(K,"gu").replace(/notPunctSpace/g,N).replace(/punctSpace/g,O).replace(/punct/g,z).getRegex(),X=p("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,R).replace(/punctSpace/g,L).replace(/punct/g,P).getRegex(),Z=p(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,H).getRegex(),Q=p("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,q).replace(/punctSpace/g,U).replace(/punct/g,H).getRegex(),ee=p(/\\(punct)/,"gu").replace(/punct/g,P).getRegex(),et=p(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),ei=p(S).replace("(?:--\x3e|$)","--\x3e").getRegex(),en=p("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",ei).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),er=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,eo=p(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",er).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),es=p(/^!?\[(label)\]\[(ref)\]/).replace("label",er).replace("ref",w).getRegex(),ea=p(/^!?\[(ref)\](?:\[\])?/).replace("ref",w).getRegex(),el=p("reflink|nolink(?!\\()","g").replace("reflink",es).replace("nolink",ea).getRegex(),eu=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,ec={_backpedal:h,anyPunctuation:ee,autolink:et,blockSkip:V,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:h,delLDelim:h,delRDelim:h,emStrongLDelim:$,emStrongRDelimAst:Y,emStrongRDelimUnd:X,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:eo,nolink:ea,punctuation:M,reflink:es,reflinkSearch:el,tag:en,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:h},ed=l(a({},ec),{link:p(/^!?\[(label)\]\((.*?)\)/).replace("label",er).getRegex(),reflink:p(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",er).getRegex()}),eh=l(a({},ec),{emStrongRDelimAst:J,emStrongLDelim:G,delLDelim:Z,delRDelim:Q,url:p(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",eu).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:p(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",eu).getRegex()}),ep=l(a({},eh),{br:p(j).replace("{2,}","*").getRegex(),text:p(eh.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),ef={normal:x,gfm:B,pedantic:T},em={normal:ec,gfm:eh,breaks:ep,pedantic:ed},eg={"&":"&","<":"<",">":">",'"':""","'":"'"},eb=t=>eg[t];function ev(t,i){if(i){if(m.escapeTest.test(t))return t.replace(m.escapeReplace,eb)}else if(m.escapeTestNoEncode.test(t))return t.replace(m.escapeReplaceNoEncode,eb);return t}function ey(t){try{t=encodeURI(t).replace(m.percentDecode,"%")}catch(t){return null}return t}function e_(t,i){var n;let r=t.replace(m.findPipe,(t,i,n)=>{let r=!1,o=i;for(;--o>=0&&"\\"===n[o];)r=!r;return r?"|":" |"}).split(m.splitPipe),o=0;if(r[0].trim()||r.shift(),!(r.length>0)||(null==(n=r.at(-1))?void 0:n.trim())||r.pop(),i)if(r.length>i)r.splice(i);else for(;r.length<i;)r.push("");for(;o<r.length;o++)r[o]=r[o].trim().replace(m.slashPipe,"|");return r}function eC(t,i,n){let r=t.length;if(0===r)return"";let o=0;for(;o<r;){let s=t.charAt(r-o-1);if(s!==i||n)if(s!==i&&n)o++;else break;else o++}return t.slice(0,r-o)}function ew(t,i,n,r,o){let s=i.href,a=i.title||null,l=t[1].replace(o.other.outputLinkReplace,"$1");r.state.inLink=!0;let u={type:"!"===t[0].charAt(0)?"image":"link",raw:n,href:s,title:a,text:l,tokens:r.inlineTokens(l)};return r.state.inLink=!1,u}var eF=class{space(t){let i=this.rules.block.newline.exec(t);if(i&&i[0].length>0)return{type:"space",raw:i[0]}}code(t){let i=this.rules.block.code.exec(t);if(i){let t=i[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:i[0],codeBlockStyle:"indented",text:this.options.pedantic?t:eC(t,`
|
|
478
478
|
`)}}}fences(t){let i=this.rules.block.fences.exec(t);if(i){let t=i[0],n=function(t,i,n){let r=t.match(n.other.indentCodeCompensation);if(null===r)return i;let o=r[1];return i.split(`
|
|
479
479
|
`).map(t=>{let i=t.match(n.other.beginningSpace);if(null===i)return t;let[r]=i;return r.length>=o.length?t.slice(o.length):t}).join(`
|
|
480
480
|
`)}(t,i[3]||"",this.rules);return{type:"code",raw:t,lang:i[2]?i[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):i[2],text:n}}}heading(t){let i=this.rules.block.heading.exec(t);if(i){let t=i[2].trim();if(this.rules.other.endingHash.test(t)){let i=eC(t,"#");(this.options.pedantic||!i||this.rules.other.endingSpaceChar.test(i))&&(t=i.trim())}return{type:"heading",raw:i[0],depth:i[1].length,text:t,tokens:this.lexer.inline(t)}}}hr(t){let i=this.rules.block.hr.exec(t);if(i)return{type:"hr",raw:eC(i[0],`
|
|
@@ -542,7 +542,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error
|
|
|
542
542
|
${n("contains detailed help for using")}
|
|
543
543
|
</div>
|
|
544
544
|
<div>${n("Copyright \xa9 XDSoft.net - Chupurnov Valerii. All rights reserved.")}</div>
|
|
545
|
-
</div>`),(0,s.css)(i.dialog,{minHeight:200,minWidth:420}),i.open(!0,!0)},tooltip:"About Jodit",mode:r.MODE_SOURCE+r.MODE_WYSIWYG},o.pluginSystem.add("about",function(t){t.registerButton({name:"about",group:"info"})}),a.Icon.set("about",u.default)},73534:function(t,i,n){"use strict";n.d(i,{getSelectionFragments:function(){return o}});var r=n(2748);function o(t){let i=[],n=t.s.expandSelection().sel;if(!n||0===n.rangeCount||n.isCollapsed)return i;t.s.range.commonAncestorContainer.normalize();let o=t.s.range,{commonAncestorContainer:u,startContainer:c,endContainer:d,startOffset:h,endOffset:p}=o;if(c===d){if(r.Dom.isText(c))return[a(c,h,p)];if(p-h==1){let t=c.childNodes[h];return r.Dom.isText(t)?[a(t,0,t.nodeValue.length)]:[l(t)]}if(0===h&&c.childNodes.length===p)return[l(c)];for(let t=h;t<p;t++){let n=c.childNodes[t];r.Dom.isText(n)?i.push(a(n,0,n.nodeValue.length)):i.push(l(n))}return i}let f=new Set,m=t.ed.createTreeWalker(u,NodeFilter.SHOW_ALL,{acceptNode:t=>!o.intersectsNode(t)||r.Dom.closest(t,t=>t&&f.has(t),u)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),g=m.nextNode();for(;g;){if(r.Dom.isElement(g)&&s(o,g))f.add(g),i.push(l(g));else if(r.Dom.isText(g)&&s(o,g))i.push(a(g,0,g.nodeValue.length));else if(r.Dom.isText(g)){let t=0,n=g.nodeValue.length;g===c&&(t=h),g===d&&(n=p),i.push(a(g,t,n))}g=m.nextNode()}return i}let s=(t,i)=>{let n=document.createRange();try{n.selectNodeContents(i)}catch(t){n.selectNode(i)}return 0>=t.compareBoundaryPoints(Range.START_TO_START,n)&&t.compareBoundaryPoints(Range.END_TO_END,n)>=0};function a(t,i,n){return{text:t.nodeValue.slice(i,n),replace:r=>{t.nodeValue=t.nodeValue.slice(0,i)+r+t.nodeValue.slice(n)}}}function l(t){return{text:t.innerHTML,replace:i=>{t.innerHTML=i}}}},73674:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},r.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},r.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},r.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},r.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},r.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},73792:function(t,i,n){"use strict";n.d(i,{checkRemoveChar:function(){return function t(i,n,a,u){var c,d,h,p;let f,m=a?-1:1,g=o.Dom.sibling(n,!a),b=o.Dom.sibling(n,a),v=null,y=!1;for(b||(b=l(n,a,i.editor));b&&(o.Dom.isText(b)||o.Dom.isInlineBlock(b));){for(;o.Dom.isInlineBlock(b);)b=a?null==b?void 0:b.lastChild:null==b?void 0:b.firstChild;if(!b)break;if((null==(c=b.nodeValue)?void 0:c.length)&&(f=function(t,i,n,a){let l=(0,s.toArray)(t.nodeValue),u=l.length,c=i?u-1:0;if(l[c]===r.INVISIBLE_SPACE)for(;l[c]===r.INVISIBLE_SPACE;)c+=n;let d=l[c];if(l[c+n]===r.INVISIBLE_SPACE){for(c+=n;l[c]===r.INVISIBLE_SPACE;)c+=n;c+=i?1:-1}return l=i&&c<0?[]:l.slice(i?0:c+1,i?c:u),function(t,i,n){var a;if(!t||!o.Dom.isText(t)||(!i?/ $/:/^ /).test(null!=(a=t.nodeValue)?a:"")||!(0,s.trimInv)(t.nodeValue||"").length)for(let t=i?n.length-1:0;i?t>=0:t<n.length;t+=i?-1:1)if(" "===n[t])n[t]=r.NBSP_SPACE;else break}(a,i,l),t.nodeValue=l.join(""),d}(b,a,m,g),!b.nodeValue.length&&o.Dom.isInlineBlock(b.parentNode)&&(b.nodeValue=r.INVISIBLE_SPACE)),(null==(d=b.nodeValue)?void 0:d.length)||(v=b),!(0,s.isVoid)(f)&&f!==r.INVISIBLE_SPACE){h=b,p=f,(0,s.call)(a?o.Dom.after:o.Dom.before,h,n),("sentence"===u||"word"===u&&" "!==p&&p!==r.NBSP_SPACE)&&t(i,n,a,u),y=!0;break}let _=l(b,a,i.editor);v&&(o.Dom.safeRemove(v),v=null),b=_}return v&&(o.Dom.safeRemove(v),v=null),y&&(function(t){let i=t.parentElement;for(;i&&o.Dom.isInlineBlock(i)&&o.Dom.isTag(i,"a");){let n=i.parentElement;o.Dom.isEmpty(i)&&(o.Dom.after(i,t),o.Dom.safeRemove(i)),i=n}}(n),n.parentElement!==i.editor&&o.Dom.isBlock(n.parentElement)&&o.Dom.each(n.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(n,i.createInside.element("br")),i.s.setCursorBefore(n),o.Dom.isTag(n.previousSibling,"br")&&!o.Dom.findNotEmptySibling(n,!1)&&o.Dom.after(n,i.createInside.element("br"))),y}}});var r=n(82758),o=n(22732),s=n(21537),a=n(63785);function l(t,i,n){let r=o.Dom.sibling(t,i);return!r&&t.parentNode&&t.parentNode!==n&&(r=(0,a.findMostNestedNeighbor)(t,!i,n,!0)),r}},73943:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="applyFormat",o="Apply or remove inline formatting to the current selection (bold, italic, underline, etc.) or to a specific block",s=[{name:"element",type:"string",description:'HTML element to wrap selection (e.g., "strong", "em", "u", "span")',required:!1},{name:"attributes",type:"object",description:'Attributes to apply (e.g., {"className": "highlight"}, {"style": {"color": "red"}})',required:!1},{name:"remove",type:"boolean",description:"If true, remove the formatting instead of applying it",required:!1,default:!1},{name:"blockIndex",type:"number",description:"Zero-based index of the block to format (if not using current selection)",required:!1},{name:"selector",type:"string",description:"CSS selector to find the block to format (if not using current selection)",required:!1}],a=!0},73948:function(t,i,n){"use strict";n.d(i,{nativeListeners:function(){return c}});var r=n(29960),o=n(15456),s=n(41457),a=n(32118),l=n(21735),u=n(20201);function c(){let t=!1,i=(0,a.elementsMap)(this),n=this;n.e.on(n.tree.container,"dragstart",i=>{let r=(0,l.getItem)(i.target,n.container);r&&n.o.moveFolder&&(t=r)}).on(n.tree.container,"drop",i=>{if((n.o.moveFile||n.o.moveFolder)&&t){let o=(0,r.attr)(t,"-path")||"";if(!n.o.moveFolder&&t.classList.contains(this.tree.getFullElName("item"))||t.classList.contains(this.files.getFullElName("item"))&&(o+=(0,r.attr)(t,"-name"),!n.o.moveFile))return!1;let s=(0,l.getItem)(i.target,n.container);s&&(n.dataProvider.move(o,(0,r.attr)(s,"-path")||"",(0,r.attr)(s,"-source")||"",t.classList.contains(this.files.getFullElName("item"))).then(()=>(0,u.loadTree)(this)).catch(n.status),t=!1)}}).on(n.files.container,"contextmenu",(0,s.default)(n)).on(n.files.container,"click",t=>{(0,o.ctrlKey)(t)||(this.state.activeElements=[])}).on(n.files.container,"click",t=>{let r=(0,l.getItem)(t.target,n.container);if(!r)return;let s=(0,l.elementToItem)(r,i);if(s)return(0,o.ctrlKey)(t)?n.state.activeElements=[...n.state.activeElements,s]:n.state.activeElements=[s],t.stopPropagation(),!1}).on(n.files.container,"dragstart",i=>{if(n.o.moveFile){let r=(0,l.getItem)(i.target,n.container);r&&(t=r)}}).on(n.container,"drop",t=>t.preventDefault())}},74398:function(t,i,n){"use strict";var r=n(82749),o=n(31635),s=n(29606),a=n(65478),l=n(43555),u=n(50911),c=n(2692);class d extends u.Plugin{className(){return"MobileView"}afterInit(t){t.registerCommand("mobileView",{exec:(i,n,r)=>{this.__currentMode===r&&(r="default"),this.__currentMode=r,(0,l.dataBind)(t,s.dataBindCurrentKey,r),"default"!==this.__currentMode&&(0,l.dataBind)(t,s.dataBindStoredKey,r),"default"===r?(0,l.css)(this.jodit.currentPlace.slots.center,{width:null,margin:null}):(0,l.css)(this.j.currentPlace.slots.center,{width:r,margin:"0 auto"})}}),t.events.on("beforeSetMode",()=>{})}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"mobileView",group:"state"}]),(0,r._)(this,"__currentMode","default")}}(0,r._)(d,"requires",["license"]),(0,o.__decorate)([(0,a.watch)(":beforeSetMode.mobileView")],d.prototype,"__beforeSetMode",null),d=(0,o.__decorate)([a.component],d),c.JoditPro.plugins.add("mobileView",d)},74551:function(t,i){"use strict";i.default={"copy-format":"Format kopierenт"}},74569:function(t,i,n){"use strict";function r(t){let i=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new Uint8Array(new ArrayBuffer(i.length));for(let t=0;t<i.length;t+=1)r[t]=i.charCodeAt(t);return new Blob([r.buffer],{type:n})}n.d(i,{dataURItoBlob:function(){return r}})},74922:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M13.98 22L6 30l7.98 8v-6H28v-4H13.98v-6zM42 18l-7.98-8v6H20v4h14.02v6L42 18z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg>'},75259:function(t,i){"use strict";i.default='<svg viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z"/> <path d="M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z"/> </svg> '},75275:function(t,i,n){"use strict";n.d(i,{applyStyles:function(){return r.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return s.htmlspecialchars},nl2br:function(){return a.nl2br},safeHTML:function(){return l.safeHTML},sanitizeHTMLElement:function(){return l.sanitizeHTMLElement},stripTags:function(){return u.stripTags}});var r=n(32574),o=n(53212),s=n(53326),a=n(45971),l=n(86518),u=n(91003)},75330:function(t,i,n){"use strict";n.d(i,{FileBrowser:function(){return F}});var r=n(91907),o=n(82758),s=n(65478),a=n(37133),l=n(3827),u=n(21537),c=n(12081),d=n(70231),h=n(84075),p=n(6441);n(61251);var f=n(30465),m=n(20201),g=n(73948),b=n(33281),v=n(94538),y=n(11787),_=n(63399),C=n(8172),w=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let F=class t extends h.ViewWithToolbar{className(){return"FileBrowser"}get dataProvider(){return(0,_.makeDataProvider)(this,this.options)}onSelect(t){return()=>{if(this.state.activeElements.length){let i=[],n=[];this.state.activeElements.forEach(t=>{let r=t.fileURL;r&&(i.push(r),n.push(t.isImage||!1))}),this.close(),(0,u.isFunction)(t)&&t({baseurl:"",files:i,isImages:n}),this.close()}return!1}}get _dialog(){var t;let i=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!=(t=this.o.headerButtons)?t:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(t=>i.events.on(i,t,()=>this.e.fire(t))),i.setSize(this.o.width,this.o.height),i}get storage(){return c.Storage.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(t,i){!t||(0,u.isAbortError)(t)||((0,u.isString)(t)||(t=t.message),(0,u.isString)(t)&&(0,u.trim)(t).length&&this.message.message(t,i?"success":"error",this.o.howLongShowMsg))}open(t=this.o.defaultCallback,i=!1){return this.state.onlyImages=i,this.async.promise((i,n)=>{var r;if(!this.o.items||!this.o.items.url)throw(0,u.error)("Need set options.filebrowser.ajax.url");let s=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(t)).on(this.files.container,"touchstart",()=>{let i=new Date().getTime();i-s<o.EMULATE_DBLCLICK_TIMEOUT&&this.onSelect(t)(),s=i}).off("select.filebrowser").on("select.filebrowser",this.onSelect(t));let a=this.c.div();null==(r=this.toolbar)||r.appendTo(a),this.__updateToolbarButtons(),this._dialog.open(this.browser,a),this.e.fire("sort.filebrowser",this.state.sortBy),(0,m.loadTree)(this).then(i,n).finally(()=>{var t;this.isInDestruct||null==(t=this===null||void 0===this?void 0:this.e)||t.fire("fileBrowserReady.filebrowser")})}).catch(t=>{if(!(0,u.isAbortError)(t)&&!o.IS_PROD)throw t})}__getButtons(){var t;return(null!=(t=this.o.buttons)?t:[]).filter(t=>{if(!(0,u.isString)(t))return!0;switch(t){case"filebrowser.upload":return this.dataProvider.canI("FileUpload");case"filebrowser.edit":return this.dataProvider.canI("ImageResize")||this.dataProvider.canI("ImageCrop");case"filebrowser.remove":return this.dataProvider.canI("FileRemove")}return!0})}initUploader(t){var i;let n=this,r=null==(i=null==t?void 0:t.options)?void 0:i.uploader,o=(0,u.ConfigProto)(r||{},p.Config.defaultOptions.uploader),s=()=>(0,f.loadItems)(this);n.uploader=n.getInstance("Uploader",o),n.uploader.setPath(n.state.currentPath).setSource(n.state.currentSource).bind(n.browser,s,n.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),n.e.on("bindUploader.filebrowser",t=>{n.uploader.bind(t,s,n.errorHandler)})}destruct(){var t;!this.isInDestruct&&(null==(t=(0,s.cached)(this,"_dialog"))||t.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var t;let i=this.__getButtons();!function(t,i){if(t.length!==i.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==i[n])return!1;return!0}(this.__prevButtons,i)&&(this.__prevButtons=i,null==(t=this.toolbar)||t.build(i))}constructor(t){super(t),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new C.FileBrowserTree(this),this.files=new C.FileBrowserFiles(this),this.state=(0,l.observable)({currentPath:"",currentSource:y.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=t=>{(0,u.isAbortError)(t)||(t instanceof Error?this.status(this.i18n(t.message)):this.status(this.dataProvider.getMessage(t)))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(t),this.options=(0,u.ConfigProto)(t||{},p.Config.defaultOptions.filebrowser),this.browser.component=this,this.container=this.browser,this.o.showFoldersPanel&&this.browser.appendChild(this.tree.container),this.browser.appendChild(this.files.container),this.browser.appendChild(this.status_line),b.selfListeners.call(this),g.nativeListeners.call(this),v.stateListeners.call(this),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(t=>{null!=this.options[t]&&(this.options[t]=(0,u.ConfigProto)(this.options[t],this.o.ajax))});const{storeView:i,storeSortBy:n,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},s=i&&this.storage.get("view");s&&null==this.o.view?this.state.view="list"===s?"list":"tiles":this.state.view="list"===this.o.view?"list":"tiles",this.files.setMod("view",this.state.view);const a=n&&this.storage.get("sortBy");if(a){const t=a.split("-");this.state.sortBy=["changed","name","size"].includes(t[0])?a:"changed-desc"}else this.state.sortBy=this.o.sortBy||"changed-desc";if(o){const t=this.storage.get("currentPath"),i=this.storage.get("currentSource");this.state.currentPath=null!=t?t:"",this.state.currentSource=null!=i?i:""}this.initUploader(this),this.setStatus(r.STATUSES.ready)}};w([s.cache],F.prototype,"dataProvider",null),w([s.cache],F.prototype,"_dialog",null),w([s.cache],F.prototype,"storage",null),w([s.autobind],F.prototype,"status",null),w([s.autobind],F.prototype,"open",null),w([(0,a.watch)("dataProvider:changePermissions")],F.prototype,"__updateToolbarButtons",null),F=w([(0,s.derive)(d.Dlgs)],F)},75352:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="readBlocks",o="Read blocks from the editor with optional filtering and pagination",s=[{name:"offset",type:"number",description:"Number of blocks to skip from the beginning (default: 0)",required:!1,default:0},{name:"limit",type:"number",description:"Maximum number of blocks to return (default: all)",required:!1},{name:"query",type:"string",description:"Filter blocks by text content",required:!1}],a=!1},75393:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg> '},75445:function(t,i){"use strict";i.default={}},75554:function(t,i,n){"use strict";var r=n(82749);n(28609);var o=n(50911),s=n(2692);class a extends o.Plugin{afterInit(t){}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"style",group:"font"}])}}(0,r._)(a,"requires",["license"]),s.JoditPro.plugins.add("style",a)},75595:function(t,i,n){"use strict";n.d(i,{readLink:function(){return s}});var r=n(2748),o=n(29960);function s(t,i,n){let s=r.Dom.closest(t.sourceImage,"a",i.editor);s?(n.imageLink=(0,o.attr)(s,"href")||"",n.imageLinkOpenInNewTab="_blank"===(0,o.attr)(s,"target")):(n.imageLink="",n.imageLinkOpenInNewTab=!1)}},75689:function(t){t.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},75703:function(t,i,n){"use strict";n.r(i),i.default={symbols:"سمبل"}},75882:function(t,i,n){"use strict";n.d(i,{unwrapChildren:function(){return l}});var r=n(2748),o=n(43555),s=n(22030),a=n(97380);function l(t,i){var n;let l,u=[],c=[],d=null==(n=t.options.attributes)?void 0:n.style;if(i.firstChild){let n=r.Dom.eachGen(i),h=n.next();for(;!h.done;){let i=h.value;(0,a.isSuitElement)(t,i,!0)&&(!d||(0,s.hasSameStyleKeys)(i,d))?(void 0===l&&(l=!0),u.push(i)):d&&(0,a.isSameStyleChild)(t,i)?(void 0===l&&(l=!1),c.push(()=>{(0,o.css)(i,Object.keys(d).reduce((t,i)=>(t[i]=null,t),{})),(0,o.attr)(i,"style")||(0,o.attr)(i,"style",null),(0,o.attr)(i,"style")||i.nodeName.toLowerCase()!==t.element||u.push(i)})):r.Dom.isEmptyTextNode(i)||void 0!==l||(l=!1),h=n.next()}}return c.forEach(t=>t()),u.forEach(r.Dom.unwrap),!!l}},75966:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> \x3c!-- Wand handle - diagonal line --\x3e <rect x="12" y="10" width="13" height="3.5" rx="0.5" transform="rotate(45 12 12)"/> \x3c!-- Wand tip - diamond --\x3e <rect x="3" y="3" width="6" height="6" rx="1" transform="rotate(45 6 6)"/> \x3c!-- Large sparkle - top --\x3e <polygon points="15,0 16,4 15,8 14,4"/> <polygon points="11,4 15,5 19,4 15,3"/> \x3c!-- Medium sparkle - left --\x3e <polygon points="1,11 2,14 1,17 0,14"/> <polygon points="-2,14 1,15 4,14 1,13"/> \x3c!-- Small sparkle - middle --\x3e <polygon points="8,14 8.5,16 8,18 7.5,16"/> <polygon points="6,16 8,16.5 10,16 8,15.5"/> </svg>'},76014:function(t,i,n){"use strict";n.d(i,{Table:function(){return d}});var r=n(91907),o=n(82758),s=n(65478),a=n(22732),l=n(580),u=n(21537);let c=new WeakMap;class d extends r.ViewComponent{className(){return"Table"}__recalculateStyles(){let t=(0,l.getContainer)(this.j,d,"style",!0),i=[];this.selected.forEach(t=>{let n=(0,u.cssPath)(t);n&&i.push(n)}),t.innerHTML=i.length?i.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(t){this.selected.add(t),this.__recalculateStyles();let i=a.Dom.closest(t,"table",this.j.editor);if(i){let n=d.__selectedByTable.get(i)||new Set;n.add(t),d.__selectedByTable.set(i,n)}}removeSelection(t){this.selected.delete(t),this.__recalculateStyles();let i=a.Dom.closest(t,"table",this.j.editor);if(i){let n=d.__selectedByTable.get(i);n&&(n.delete(t),n.size||d.__selectedByTable.delete(i))}}getAllSelectedCells(){return(0,u.toArray)(this.selected)}static __getSelectedCellsByTable(t){let i=d.__selectedByTable.get(t);return i?(0,u.toArray)(i):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(t){return t.rows.length}getRowsCount(t){return d.__getRowsCount(t)}static __getColumnsCount(t){return d.__formalMatrix(t).reduce((t,i)=>Math.max(t,i.length),0)}getColumnsCount(t){return d.__getColumnsCount(t)}static __formalMatrix(t,i){let n=[[]],r=(0,u.toArray)(t.rows),o=(t,r)=>{void 0===n[r]&&(n[r]=[]);let o=t.colSpan,s=t.rowSpan,a,l,u=0;for(;n[r][u];)u+=1;for(l=0;s>l;l+=1)for(a=0;a<o;a+=1){if(void 0===n[r+l]&&(n[r+l]=[]),i&&!1===i(t,r+l,u+a,o,s))return!1;n[r+l][u+a]=t}};for(let t=0;t<r.length;t+=1){let i=(0,u.toArray)(r[t].cells);for(let r=0;r<i.length;r+=1)if(!1===o(i[r],t))return n}return n}formalMatrix(t,i){return d.__formalMatrix(t,i)}static __formalCoordinate(t,i,n=!1){let r=0,o=0,s=1,a=1;return d.__formalMatrix(t,(t,l,u,c,d)=>{if(i===t)return r=l,o=u,s=c||1,a=d||1,n&&(o+=(c||1)-1,r+=(d||1)-1),!1}),[r,o,s,a]}formalCoordinate(t,i,n=!1){return d.__formalCoordinate(t,i,n)}static __appendRow(t,i,n,r){var o;let s;if(i)s=i.cloneNode(!0),(0,u.$$)("td,th",i).forEach(t=>{let i=(0,u.attr)(t,"rowspan");if(i&&parseInt(i,10)>1){let n=parseInt(i,10)-1;(0,u.attr)(t,"rowspan",n>1?n:null)}}),(0,u.$$)("td,th",s).forEach(t=>{t.innerHTML=""});else{let i=d.__getColumnsCount(t);s=r.element("tr");for(let t=0;t<i;t+=1)s.appendChild(r.element("td"))}n&&i&&i.nextSibling?i.parentNode&&i.parentNode.insertBefore(s,i.nextSibling):!n&&i?i.parentNode&&i.parentNode.insertBefore(s,i):((null==(o=t.getElementsByTagName("tbody"))?void 0:o[0])||t).appendChild(s)}appendRow(t,i,n){return d.__appendRow(t,i,n,this.j.createInside)}static __removeRow(t,i){let n,r=d.__formalMatrix(t),o=t.rows[i];r[i].forEach((s,l)=>{if(n=!1,i-1>=0&&r[i-1][l]===s)n=!0;else if(r[i+1]&&r[i+1][l]===s){if(s.parentNode===o&&s.parentNode.nextSibling){n=!0;let o=l+1;for(;r[i+1][o]===s;)o+=1;let u=a.Dom.next(s.parentNode,t=>a.Dom.isTag(t,"tr"),t);u&&(r[i+1][o]?u.insertBefore(s,r[i+1][o]):u.appendChild(s))}}else a.Dom.safeRemove(s);if(n&&(s.parentNode===o||s!==r[i][l-1])){let t=s.rowSpan;(0,u.attr)(s,"rowspan",t-1>1?t-1:null)}}),a.Dom.safeRemove(o)}removeRow(t,i){return d.__removeRow(t,i)}appendColumn(t,i,n=!0){let r=d.__formalMatrix(t);if(!n&&a.Dom.isCell(i.previousElementSibling))return this.appendColumn(t,i.previousElementSibling,!0);let o=n?i.cellIndex+((i.colSpan||1)-1):i.cellIndex,s=n?o+1:o;for(let t=0;t<r.length;){let i=r[t];if(i[o]!==i[s]||o===s){let t=this.j.createInside.element("td");n?a.Dom.after(i[o],t):a.Dom.before(i[o],t),i[o].rowSpan>1&&(t.rowSpan=i[o].rowSpan)}else i[o].colSpan+=1;t+=i[o].rowSpan||1}}static __removeColumn(t,i){let n,r=d.__formalMatrix(t);r.forEach((t,o)=>{let s=t[i];if(n=!1,i-1>=0&&r[o][i-1]===s||i+1<t.length&&r[o][i+1]===s?n=!0:a.Dom.safeRemove(s),n&&(o-1<0||s!==r[o-1][i])){let t=s.colSpan;(0,u.attr)(s,"colspan",t-1>1?(t-1).toString():null)}})}removeColumn(t,i){return d.__removeColumn(t,i)}static __getSelectedBound(t,i){let n,r,o,s=[[1/0,1/0],[0,0]],a=d.__formalMatrix(t);for(n=0;n<a.length;n+=1)for(r=0;a[n]&&r<a[n].length;r+=1)i.includes(a[n][r])&&(s[0][0]=Math.min(n,s[0][0]),s[0][1]=Math.min(r,s[0][1]),s[1][0]=Math.max(n,s[1][0]),s[1][1]=Math.max(r,s[1][1]));for(n=s[0][0];n<=s[1][0];n+=1)for(o=1,r=s[0][1];r<=s[1][1];r+=1){for(;a[n]&&a[n][r-o]&&a[n][r]===a[n][r-o];)s[0][1]=Math.min(r-o,s[0][1]),s[1][1]=Math.max(r-o,s[1][1]),o+=1;for(o=1;a[n]&&a[n][r+o]&&a[n][r]===a[n][r+o];)s[0][1]=Math.min(r+o,s[0][1]),s[1][1]=Math.max(r+o,s[1][1]),o+=1;for(o=1;a[n-o]&&a[n][r]===a[n-o][r];)s[0][0]=Math.min(n-o,s[0][0]),s[1][0]=Math.max(n-o,s[1][0]),o+=1;for(o=1;a[n+o]&&a[n][r]===a[n+o][r];)s[0][0]=Math.min(n+o,s[0][0]),s[1][0]=Math.max(n+o,s[1][0]),o+=1}return s}getSelectedBound(t,i){return d.__getSelectedBound(t,i)}static __normalizeTable(t){let i=[],n=d.__formalMatrix(t);d.__removeExtraColspans(n,i),d.__removeExtraRowspans(n,i);for(let t=0;t<n.length;t+=1)for(let i=0;i<n[t].length;i+=1)void 0!==n[t][i]&&(n[t][i].hasAttribute("rowspan")&&1===n[t][i].rowSpan&&(0,u.attr)(n[t][i],"rowspan",null),n[t][i].hasAttribute("colspan")&&1===n[t][i].colSpan&&(0,u.attr)(n[t][i],"colspan",null),n[t][i].hasAttribute("class")&&!(0,u.attr)(n[t][i],"class")&&(0,u.attr)(n[t][i],"class",null));d.__unmark(i)}static __removeExtraColspans(t,i){for(let n=0;n<t[0].length;n+=1){let r=1e6,o=!1;for(let i=0;i<t.length;i+=1)if(void 0!==t[i][n]){if(t[i][n].colSpan<2){o=!0;break}r=Math.min(r,t[i][n].colSpan)}if(!o)for(let o=0;o<t.length;o+=1)void 0!==t[o][n]&&d.__mark(t[o][n],"colspan",t[o][n].colSpan-r+1,i)}}static __removeExtraRowspans(t,i){let n=0,r=0;for(n=0;n<t.length;n+=1){let o=1e6,s=!1;for(r=0;r<t[n].length;r+=1)if(void 0!==t[n][r]){if(t[n][r].rowSpan<2){s=!0;break}o=Math.min(o,t[n][r].rowSpan)}if(!s)for(r=0;r<t[n].length;r+=1)void 0!==t[n][r]&&d.__mark(t[n][r],"rowspan",t[n][r].rowSpan-o+1,i)}}normalizeTable(t){return d.__normalizeTable(t)}static __mergeSelected(t,i){let n=[],r=d.__getSelectedBound(t,d.__getSelectedCellsByTable(t)),s=0,l=null,c=0,p=0,f=0,m=new Set,g=[];r&&(r[0][0]-r[1][0]||r[0][1]-r[1][1])&&(d.__formalMatrix(t,(t,o,a,b,v)=>{o>=r[0][0]&&o<=r[1][0]&&a>=r[0][1]&&a<=r[1][1]&&(m.has(t)||(m.add(t),o===r[0][0]&&t.style.width&&(s+=t.offsetWidth),""!==(0,u.trim)(t.innerHTML.replace(/<br(\/)?>/g,""))&&n.push(t.innerHTML),b>1&&(p+=b-1),v>1&&(f+=v-1),l?(d.__mark(t,"remove",1,g),h(i).removeSelection(t)):(l=t,c=a)))}),p=r[1][1]-r[0][1]+1,f=r[1][0]-r[0][0]+1,l&&(p>1&&d.__mark(l,"colspan",p,g),f>1&&d.__mark(l,"rowspan",f,g),s&&(d.__mark(l,"width",(s/t.offsetWidth*100).toFixed(o.ACCURACY)+"%",g),c&&d.__setColumnWidthByDelta(t,c,0,!0,g)),l.innerHTML=n.join("<br/>"),h(i).addSelection(l),m.delete(l),d.__unmark(g),d.__normalizeTable(t),(0,u.toArray)(t.rows).forEach(t=>{t.cells.length||a.Dom.safeRemove(t)})))}mergeSelected(t){return d.__mergeSelected(t,this.j)}static __splitHorizontal(t,i){let n,r,o,s,l,u=[];d.__getSelectedCellsByTable(t).forEach(c=>{(r=i.createInside.element("td")).appendChild(i.createInside.element("br")),o=i.createInside.element("tr"),n=d.__formalCoordinate(t,c),c.rowSpan<2?(d.__formalMatrix(t,(t,i,r)=>{n[0]===i&&n[1]!==r&&t!==c&&d.__mark(t,"rowspan",t.rowSpan+1,u)}),a.Dom.after(a.Dom.closest(c,"tr",t),o),o.appendChild(r)):(d.__mark(c,"rowspan",c.rowSpan-1,u),d.__formalMatrix(t,(i,r,o)=>{r>n[0]&&r<n[0]+c.rowSpan&&n[1]>o&&i.parentNode.rowIndex===r&&(l=i),n[0]<r&&i===c&&(s=t.rows[r])}),l?a.Dom.after(l,r):s.insertBefore(r,s.firstChild)),c.colSpan>1&&d.__mark(r,"colspan",c.colSpan,u),d.__unmark(u),h(i).removeSelection(c)}),this.__normalizeTable(t)}splitHorizontal(t){return d.__splitHorizontal(t,this.j)}static __splitVertical(t,i){let n,r,s,l=[];d.__getSelectedCellsByTable(t).forEach(u=>{n=d.__formalCoordinate(t,u),u.colSpan<2?d.__formalMatrix(t,(t,i,r)=>{n[1]===r&&n[0]!==i&&t!==u&&d.__mark(t,"colspan",t.colSpan+1,l)}):d.__mark(u,"colspan",u.colSpan-1,l),(r=i.createInside.element("td")).appendChild(i.createInside.element("br")),u.rowSpan>1&&d.__mark(r,"rowspan",u.rowSpan,l);let c=u.offsetWidth;a.Dom.after(u,r),s=c/t.offsetWidth/2,d.__mark(u,"width",(100*s).toFixed(o.ACCURACY)+"%",l),d.__mark(r,"width",(100*s).toFixed(o.ACCURACY)+"%",l),d.__unmark(l),h(i).removeSelection(u)}),d.__normalizeTable(t)}splitVertical(t){return d.__splitVertical(t,this.j)}static __setColumnWidthByDelta(t,i,n,r,s){let a=d.__formalMatrix(t),l=0;for(let r=0;r<a.length;r+=1){let u=a[r][i];if(u.colSpan>1&&a.length>1)continue;let c=(u.offsetWidth+n)/t.offsetWidth*100;d.__mark(u,"width",c.toFixed(o.ACCURACY)+"%",s),l=r;break}for(let t=l+1;t<a.length;t+=1){let n=a[t][i];d.__mark(n,"width",null,s)}r||d.__unmark(s)}setColumnWidthByDelta(t,i,n,r,o){return d.__setColumnWidthByDelta(t,i,n,r,o)}static __mark(t,i,n,r){var o;r.push(t);let s=null!=(o=c.get(t))?o:{};s[i]=void 0===n?1:n,c.set(t,s)}static __unmark(t){t.forEach(t=>{let i=c.get(t);i&&(Object.keys(i).forEach(n=>{let r=i[n];switch(n){case"remove":a.Dom.safeRemove(t);break;case"rowspan":(0,u.attr)(t,"rowspan",(0,u.isNumber)(r)&&r>1?r:null);break;case"colspan":(0,u.attr)(t,"colspan",(0,u.isNumber)(r)&&r>1?r:null);break;case"width":null==r?(t.style.removeProperty("width"),(0,u.attr)(t,"style")||(0,u.attr)(t,"style",null)):t.style.width=r.toString()}delete i[n]}),c.delete(t))})}constructor(){super(...arguments),this.selected=new Set}}d.__selectedByTable=new WeakMap,function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,s.debounce)()],d.prototype,"__recalculateStyles",null);let h=t=>t.getInstance("Table",t.o)},76059:function(t,i,n){"use strict";n.d(i,{replaceOldTags:function(){return o}});let r={i:"em",b:"strong"};function o(t){let{name:i}=t;return i in r&&(t.name=r[i]),t}},76078:function(t,i,n){"use strict";n.d(i,{$$:function(){return h},cssPath:function(){return m},getXPathByElement:function(){return p},refs:function(){return f},resolveElement:function(){return g}});var r=n(82758),o=n(2748),s=n(4510),a=n(70799),l=n(87058),u=n(29960),c=n(89890);let d=1;function h(t,i){let n;if(!r.IS_ES_NEXT&&/:scope/.test(t)&&r.IS_IE&&!(i&&i.nodeType===Node.DOCUMENT_NODE)){let r=i.id,o=r||"_selector_id_"+String(Math.random()).slice(2)+ ++d;t=t.replace(/:scope/g,"#"+o),r||i.setAttribute("id",o),n=i.parentNode.querySelectorAll(t),r||i.removeAttribute("id")}else n=i.querySelectorAll(t);return[].slice.call(n)}let p=(t,i)=>{if(!t||t.nodeType!==Node.ELEMENT_NODE||!t.parentNode||i===t)return"";if(t.id)return"//*[@id='"+t.id+"']";let n=[].filter.call(t.parentNode.childNodes,i=>i.nodeName===t.nodeName);return p(t.parentNode,i)+"/"+t.nodeName.toLowerCase()+(n.length>1?"["+((0,s.toArray)(n).indexOf(t)+1)+"]":"")},f=t=>("container"in t&&(t=t.container),h("[ref],[data-ref]",t).reduce((t,i)=>{let n=(0,u.attr)(i,"-ref");return n&&(0,a.isString)(n)&&(t[(0,l.camelCase)(n)]=i,t[n]=i),t},{})),m=t=>{if(!o.Dom.isElement(t))return null;let i=[],n=t;for(;n&&n.nodeType===Node.ELEMENT_NODE;){let t=n.nodeName.toLowerCase();if(n.id){t+="#"+n.id,i.unshift(t);break}{let i=n,r=1;do(i=i.previousElementSibling)&&i.nodeName.toLowerCase()===t&&r++;while(i);t+=":nth-of-type("+r+")"}i.unshift(t),n=n.parentNode}return i.join(" > ")};function g(t,i){let n=t;if((0,a.isString)(t))try{n=i.querySelector(t)}catch(i){throw(0,c.error)('String "'+t+'" should be valid HTML selector')}if(!n||"object"!=typeof n||!o.Dom.isElement(n)||!n.cloneNode)throw(0,c.error)('Element "'+t+'" should be string or HTMLElement instance');return n}},76295:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(21537),a=n(25726),l=n(41180),u=n(12153),c=n(6441),d=n(5567);u.Icon.set("justify",d.default),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(t,i){let n=i.control,o=t.s.current();if(o){let a=r.Dom.closest(o,r.Dom.isBlock,t.editor)||t.editor,u=(0,l.css)(a,"text-align").toString();n.defaultValue&&-1!==n.defaultValue.indexOf(u)&&(u="left");let{list:c,data:d}=n;d&&d.currentValue!==u&&c&&((0,s.isPlainObject)(c)?c[u]:c.includes(u))&&(t.o.textIcons||"select"===n.component?i.state.text=u:i.state.icon.name=u,d.currentValue=u)}},isActive:(t,i)=>{let n=t.s.current();if(!n||!i.control.defaultValue)return!1;let o=r.Dom.closest(n,r.Dom.isBlock,t.editor)||t.editor;return -1===i.control.defaultValue.indexOf((0,l.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(t){t.registerButton({name:"align",group:"indent"});let i=i=>(t.s.focus(),t.s.eachSelection(n=>{if(!n)return;let o=r.Dom.up(n,r.Dom.isBlock,t.editor);o||(o=r.Dom.wrapInline(n,t.o.enterBlock,t)),(0,a.alignElement)(i,o)}),!1);t.registerCommand("justifyfull",i),t.registerCommand("justifyright",i),t.registerCommand("justifyleft",i),t.registerCommand("justifycenter",i)})},76636:function(t,i,n){"use strict";n.r(i),n.d(i,{ru:function(){return o.a}});var r=n(28125),o=n.n(r)},76697:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return d}});var r=n(82749),o=n(31635),s=n(79455),a=n(87325),l=n(37133),u=n(48538),c=n(78644);class d extends u.UIElement{className(){return"UISettingsButton"}setParentView(t){var i,n;return null==(i=this.settingsPopup)||i.setParentView(t),null==(n=this.button)||n.setParentView(t),super.setParentView(t)}onChangeOptionsClosePopup(t){this.closeCallback()}openSettingsPopup(){return this.settingsPopup||(this.settingsPopup=new s.UISettingsPopup(this.jodit,this.extraState,this.options,this.getConversation,this.updateConversation)),this.settingsPopup.update(),this.settingsPopup}constructor(t,i,n,o,s){super(t),(0,r._)(this,"extraState",void 0),(0,r._)(this,"options",void 0),(0,r._)(this,"getConversation",void 0),(0,r._)(this,"updateConversation",void 0),(0,r._)(this,"closeCallback",void 0),(0,r._)(this,"settingsPopup",void 0),(0,r._)(this,"button",void 0),this.extraState=i,this.options=n,this.getConversation=o,this.updateConversation=s,this.closeCallback=()=>{},this.settingsPopup=null,this.button=new c.ToolbarButton(this.jodit,{name:"settings",tooltip:"Settings",popup:(t,i,n)=>(this.closeCallback=n,this.openSettingsPopup())}),this.button.state.variant="initial",this.button.state.size="small",this.container.appendChild(this.button.container)}}(0,o.__decorate)([(0,l.watch)("extraState.displayMode")],d.prototype,"onChangeOptionsClosePopup",null),d=(0,o.__decorate)([a.component],d)},76725:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"V\xfdška č\xe1ry"}},76855:function(t,i,n){"use strict";n.d(i,{asArray:function(){return r.asArray},splitArray:function(){return o.splitArray},toArray:function(){return s.toArray}});var r=n(29999),o=n(46559),s=n(4510)},77361:function(t,i,n){"use strict";n.d(i,{CHANGE:function(){return s},INITIAL:function(){return l},REPLACE:function(){return u},UNSET:function(){return a},UNWRAP:function(){return o},WRAP:function(){return r},_PREFIX:function(){return c}});let r="wrap",o="unwrap",s="change",a="unset",l="initial",u="replace",c="commitStyle"},77469:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(21537);n(50963),o.pluginSystem.add("iframe",function(t){let i=t.options;t.e.on("afterSetMode",()=>{t.isEditorMode()&&t.s.focus()}).on("generateDocumentStructure.iframe",(t,n)=>{let r=t||n.iframe.contentWindow.document;if(r.open(),r.write(i.iframeDoctype+`<html dir="${i.direction}" class="jodit" lang="${(0,s.defaultLanguage)(i.language)}">`+"<head>"+`<title>${i.iframeTitle}</title>`+(i.iframeBaseUrl?`<base href="${i.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),r.close(),i.iframeCSSLinks&&i.iframeCSSLinks.forEach(t=>{let i=r.createElement("link");i.setAttribute("rel","stylesheet"),i.setAttribute("href",t),r.head&&r.head.appendChild(i)}),i.iframeStyle){let t=r.createElement("style");t.innerHTML=i.iframeStyle,r.head&&r.head.appendChild(t)}}).on("createEditor",()=>{if(!i.iframe)return;let n=t.c.element("iframe");n.style.display="block",n.src="about:blank",n.className="jodit-wysiwyg_iframe",n.setAttribute("allowtransparency","true"),n.setAttribute("tabindex",i.tabIndex.toString()),n.setAttribute("frameborder","0"),null!=i.iframeSandbox&&n.setAttribute("sandbox",i.iframeSandbox),t.workplace.appendChild(n),t.iframe=n;let o=t.e.fire("generateDocumentStructure.iframe",null,t);return(0,s.callPromise)(o,()=>{if(!t.iframe)return!1;let n=t.iframe.contentWindow.document;t.editorWindow=t.iframe.contentWindow;let o=i.editHTMLDocumentMode,a=()=>{(0,s.attr)(n.body,"contenteditable",t.getMode()!==r.MODE_SOURCE&&!t.getReadOnly()||null)},l=t=>{let i=/<body.*<\/body>/im,n="{%%BODY%%}",r=i.exec(t);return r&&(t=t.replace(i,n).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/<span([^&]*?)>(.*?)<\/span>/gim,"").replace(n,r[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),t};if(o){let i=t.element.tagName;if("TEXTAREA"!==i&&"INPUT"!==i)throw(0,s.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");t.e.on("beforeGetNativeEditorValue",()=>l(t.o.iframeDoctype+n.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:i})=>!t.isLocked&&(/<(html|body)/i.test(i)?l(n.documentElement.outerHTML)!==l(i)&&(n.open(),n.write(t.o.iframeDoctype+l(i)),n.close(),t.editor=n.body,t.e.fire("safeHTML",t.editor),a(),t.e.fire("prepareWYSIWYGEditor"),t.e.stopPropagation("beforeSetNativeEditorValue")):n.body.innerHTML=i,!0),{top:!0})}if(t.editor=n.body,t.e.on("afterSetMode afterInit afterAddPlace",a),"auto"===i.height){n.documentElement&&(n.documentElement.style.overflowY="hidden");let r=t.async.throttle((...n)=>{t.async.requestAnimationFrame(()=>{if(t.editor&&t.iframe&&"auto"===i.height){let i=t.ew.getComputedStyle(t.editor),n=parseInt(i.marginTop||"0",10)+parseInt(i.marginBottom||"0",10);(0,s.css)(t.iframe,"height",t.editor.offsetHeight+n)}})},t.defaultTimeout/2);if(t.e.on("change afterInit afterSetMode resize",r).on([t.iframe,t.ew,n.documentElement],"load",r).on(n,"readystatechange DOMContentLoaded",r),"function"==typeof ResizeObserver){let i=new ResizeObserver(r);i.observe(n.body),t.e.on("beforeDestruct",()=>{i.disconnect()})}}return n.documentElement&&t.e.on(n.documentElement,"mousedown touchend",()=>{t.s.isFocused()||(t.s.focus(),t.editor===n.body&&t.s.setCursorIn(n.body))}).on(t.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",i=>{var n;null==(n=t.events)||n.fire(t.ow,i)}),!1})})})},77688:function(t,i,n){"use strict";function r(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var i=this,n=arguments;return new Promise(function(o,s){var a=t.apply(i,n);function l(t){r(a,o,s,l,u,"next",t)}function u(t){r(a,o,s,l,u,"throw",t)}l(void 0)})}}n.d(i,{_:function(){return o}})},77725:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Correcci\xf3n ortogr\xe1fica"}},77841:function(t,i,n){"use strict";n.d(i,{parentPath:function(){return r}});let r=t=>{let i=t.split("/").filter(t=>t.length);return i.pop(),i.join("/")||"/"}},77894:function(t,i,n){"use strict";var r=n(76636),o=n(6441),s=n(580);let a=o.Config.prototype.controls.filebrowser;a.settings={icon:"settings",tooltip:"Settings",exec:t=>{var i;(null!=(i=t.parent)?i:t).e.fire("toggleSettings.filebrowser")}},a.home={icon:"home",tooltip:"Home",exec:t=>{t.e.fire("goHome.filebrowser")}},a.preview={icon:"eye",tooltip:"Preview",isDisabled(t){return 0===t.state.activeElements.length},exec:t=>{t.e.fire("togglePreview.filebrowser")}},a.next={icon:"angle-right",tooltip:"History next",isDisabled:t=>!t.historyManager.canNext(),exec:t=>{t.historyManager.next()}},a.previous={icon:"angle-left",tooltip:"History previous",isDisabled:t=>!t.historyManager.canPrevious(),exec:t=>{t.historyManager.previous()}},a["new-folder"]={icon:"new-folder",exec:t=>{t.e.fire("folderCreate.filebrowser",{path:t.state.currentPath,sourceName:t.state.currentSource})},tooltip:"New folder"},Object.assign(o.Config.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.new-folder","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:300,width:800,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="}),(0,s.extendLang)(r)},78116:function(t,i,n){"use strict";n.d(i,{isMarker:function(){return o}});var r=n(2748);function o(t){return r.Dom.isMarker(t)}},78173:function(t,i){"use strict";i.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> '},78213:function(t,i,n){"use strict";n.d(i,{STATUSES:function(){return r}});let r={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},78513:function(t,i,n){"use strict";n.d(i,{FileBrowser:function(){return r.FileBrowser}});var r=n(75330)},78524:function(t,i,n){"use strict";n(6441).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},78584:function(t,i,n){"use strict";n.d(i,{Dialog:function(){return C}});var r,o,s,a=n(91907),l=n(82758),u=n(65478),c=n(2748),d=n(580),h=n(76855),p=n(27613),f=n(43555),m=n(38837),g=n(67510),b=n(35608),v=n(84075),y=n(6441),_=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};y.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},y.Config.prototype.controls.dialog={close:{icon:"cancel",exec:t=>{t.close()}}};let C=s=class t extends v.ViewWithToolbar{className(){return"Dialog"}get destination(){let{popupRoot:t,shadowRoot:i}=this.o;return t||i||this.od.body}setElements(t,i){let n=[];(0,h.asArray)(i).forEach(i=>{let r;if((0,p.isArray)(i)){let r=this.c.div(this.getFullElName("column"));return n.push(r),t.appendChild(r),this.setElements(r,i)}r=(0,p.isString)(i)?this.c.fromHTML(i):(0,p.hasContainer)(i)?i.container:i,n.push(r),r.parentNode!==t&&t.appendChild(r)}),(0,h.toArray)(t.childNodes).forEach(i=>{-1===n.indexOf(i)&&t.removeChild(i)})}__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(t){let i=t.target;!(!this.o.draggable||i&&i.nodeName.match(/^(INPUT|SELECT)$/))&&(this.draggable=!0,this.startX=t.clientX,this.startY=t.clientY,this.startPoint.x=(0,f.css)(this.dialog,"left"),this.startPoint.y=(0,f.css)(this.dialog,"top"),this.setMaxZIndex(),t.cancelable&&t.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}__onMouseMove(t){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+t.clientX-this.startX,this.startPoint.y+t.clientY-this.startY),this.e&&this.e.fire(this,"move",t.clientX-this.startX,t.clientY-this.startY),t.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+t.clientX-this.startX,this.startPoint.h+t.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",t.clientX-this.startX,t.clientY-this.startY))}__onEsc(t){if(this.o.closeOnEsc&&this.isOpened&&t.key===l.KEY_ESC&&!0!==this.getMod("static")){let i=this.getMaxZIndexDialog();i?i.close():this.close(),t.stopImmediatePropagation()}}__onResizerMouseDown(t){this.resizable=!0,this.startX=t.clientX,this.startY=t.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(t,i){return null==t&&(t=this.dialog.offsetWidth),null==i&&(i=this.dialog.offsetHeight),(0,f.css)(this.dialog,{width:t,height:i}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(t,i){let n=this.ow.innerWidth,r=this.ow.innerHeight,o=n/2-this.dialog.offsetWidth/2,s=r/2-this.dialog.offsetHeight/2;return o<0&&(o=0),s<0&&(s=0),void 0!==t&&void 0!==i&&(this.offsetX=t,this.offsetY=i,this.moved=Math.abs(t-o)>100||Math.abs(i-s)>100),this.dialog.style.left=(t||o)+"px",this.dialog.style.top=(i||s)+"px",this}setHeader(t){return this.setElements(this.dialogbox_header,t),this}setContent(t){return this.setElements(this.dialogbox_content,t),this}setFooter(t){return this.setElements(this.dialogbox_footer,t),this.setMod("footer",!!t),this}getZIndex(){return parseInt((0,f.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let t=0,i,n,r=this;return(0,f.$$)(".jodit-dialog",this.destination).forEach(o=>{i=o.component,n=parseInt((0,f.css)(o,"zIndex"),10),i.isOpened&&!isNaN(n)&&n>t&&(r=i,t=n)}),r}setMaxZIndex(){if(this.getMod("static"))return;let t=0x1312d04,i=0;(0,f.$$)(".jodit-dialog",this.destination).forEach(n=>{t=Math.max(isNaN(i=parseInt((0,f.css)(n,"zIndex"),10))?0:i,t)}),this.container.style.zIndex=(t+1).toString()}toggleFullSize(t){(0,p.isVoid)(t)&&(t=!this.getMod("fullsize")),this.setMod("fullsize",t),super.toggleFullSize(t)}open(t,i,n,r){if(d.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,p.isBoolean)(t)&&(n=t),(0,p.isBoolean)(i)&&(r=i),this.destroyAfterClose=!0===n;let o=(0,p.isBoolean)(t)?void 0:t,s=(0,p.isBoolean)(i)?void 0:i;return void 0!==s&&this.setHeader(s),o&&this.setContent(o),this.setMod("active",!0),this.isOpened=!0,this.setModal(r),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(t){return this.isModal=!!t,this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;let{e:t}=this;return!1===t.fire(this,"beforeClose")||!1===t.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),c.Dom.safeRemove(this.container),this.__removeGlobalResizeListeners(),t.fire(this,"afterClose"),t.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,h.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(a.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(t={}){super(t),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)(t,(0,f.ConfigProto)(y.Config.prototype.dialog,s.defaultOptions)),c.Dom.safeRemove(this.container);const i=this.getFullElName.bind(this);this.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">
|
|
545
|
+
</div>`),(0,s.css)(i.dialog,{minHeight:200,minWidth:420}),i.open(!0,!0)},tooltip:"About Jodit",mode:r.MODE_SOURCE+r.MODE_WYSIWYG},o.pluginSystem.add("about",function(t){t.registerButton({name:"about",group:"info"})}),a.Icon.set("about",u.default)},73534:function(t,i,n){"use strict";n.d(i,{getSelectionFragments:function(){return o}});var r=n(2748);function o(t){let i=[],n=t.s.expandSelection().sel;if(!n||0===n.rangeCount||n.isCollapsed)return i;t.s.range.commonAncestorContainer.normalize();let o=t.s.range,{commonAncestorContainer:u,startContainer:c,endContainer:d,startOffset:h,endOffset:p}=o;if(c===d){if(r.Dom.isText(c))return[a(c,h,p)];if(p-h==1){let t=c.childNodes[h];return r.Dom.isText(t)?[a(t,0,t.nodeValue.length)]:[l(t)]}if(0===h&&c.childNodes.length===p)return[l(c)];for(let t=h;t<p;t++){let n=c.childNodes[t];r.Dom.isText(n)?i.push(a(n,0,n.nodeValue.length)):i.push(l(n))}return i}let f=new Set,m=t.ed.createTreeWalker(u,NodeFilter.SHOW_ALL,{acceptNode:t=>!o.intersectsNode(t)||r.Dom.closest(t,t=>t&&f.has(t),u)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT}),g=m.nextNode();for(;g;){if(r.Dom.isElement(g)&&s(o,g))f.add(g),i.push(l(g));else if(r.Dom.isText(g)&&s(o,g))i.push(a(g,0,g.nodeValue.length));else if(r.Dom.isText(g)){let t=0,n=g.nodeValue.length;g===c&&(t=h),g===d&&(n=p),i.push(a(g,t,n))}g=m.nextNode()}return i}let s=(t,i)=>{let n=document.createRange();try{n.selectNodeContents(i)}catch(t){n.selectNode(i)}return 0>=t.compareBoundaryPoints(Range.START_TO_START,n)&&t.compareBoundaryPoints(Range.END_TO_END,n)>=0};function a(t,i,n){return{text:t.nodeValue.slice(i,n),replace:r=>{t.nodeValue=t.nodeValue.slice(0,i)+r+t.nodeValue.slice(n)}}}function l(t){return{text:t.innerHTML,replace:i=>{t.innerHTML=i}}}},73674:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.controls.subscript={tags:["sub"],tooltip:"subscript"},r.Config.prototype.controls.superscript={tags:["sup"],tooltip:"superscript"},r.Config.prototype.controls.bold={tagRegExp:/^(strong|b)$/i,tags:["strong","b"],css:{"font-weight":["bold","700"]},tooltip:"Bold"},r.Config.prototype.controls.italic={tagRegExp:/^(em|i)$/i,tags:["em","i"],css:{"font-style":"italic"},tooltip:"Italic"},r.Config.prototype.controls.underline={tagRegExp:/^(u)$/i,tags:["u"],css:{"text-decoration-line":"underline"},tooltip:"Underline"},r.Config.prototype.controls.strikethrough={tagRegExp:/^(s)$/i,tags:["s"],css:{"text-decoration-line":"line-through"},tooltip:"Strike through"}},73792:function(t,i,n){"use strict";n.d(i,{checkRemoveChar:function(){return function t(i,n,a,u){var c,d,h,p;let f,m=a?-1:1,g=o.Dom.sibling(n,!a),b=o.Dom.sibling(n,a),v=null,y=!1;for(b||(b=l(n,a,i.editor));b&&(o.Dom.isText(b)||o.Dom.isInlineBlock(b));){for(;o.Dom.isInlineBlock(b);)b=a?null==b?void 0:b.lastChild:null==b?void 0:b.firstChild;if(!b)break;if((null==(c=b.nodeValue)?void 0:c.length)&&(f=function(t,i,n,a){let l=(0,s.toArray)(t.nodeValue),u=l.length,c=i?u-1:0;if(l[c]===r.INVISIBLE_SPACE)for(;l[c]===r.INVISIBLE_SPACE;)c+=n;let d=l[c];if(l[c+n]===r.INVISIBLE_SPACE){for(c+=n;l[c]===r.INVISIBLE_SPACE;)c+=n;c+=i?1:-1}return l=i&&c<0?[]:l.slice(i?0:c+1,i?c:u),function(t,i,n){var a;if(!t||!o.Dom.isText(t)||(!i?/ $/:/^ /).test(null!=(a=t.nodeValue)?a:"")||!(0,s.trimInv)(t.nodeValue||"").length)for(let t=i?n.length-1:0;i?t>=0:t<n.length;t+=i?-1:1)if(" "===n[t])n[t]=r.NBSP_SPACE;else break}(a,i,l),t.nodeValue=l.join(""),d}(b,a,m,g),!b.nodeValue.length&&o.Dom.isInlineBlock(b.parentNode)&&(b.nodeValue=r.INVISIBLE_SPACE)),(null==(d=b.nodeValue)?void 0:d.length)||(v=b),!(0,s.isVoid)(f)&&f!==r.INVISIBLE_SPACE){h=b,p=f,(0,s.call)(a?o.Dom.after:o.Dom.before,h,n),("sentence"===u||"word"===u&&" "!==p&&p!==r.NBSP_SPACE)&&t(i,n,a,u),y=!0;break}let _=l(b,a,i.editor);v&&(o.Dom.safeRemove(v),v=null),b=_}return v&&(o.Dom.safeRemove(v),v=null),y&&(function(t){let i=t.parentElement;for(;i&&o.Dom.isInlineBlock(i)&&o.Dom.isTag(i,"a");){let n=i.parentElement;o.Dom.isEmpty(i)&&(o.Dom.after(i,t),o.Dom.safeRemove(i)),i=n}}(n),n.parentElement!==i.editor&&o.Dom.isBlock(n.parentElement)&&o.Dom.each(n.parentElement,o.Dom.isEmptyTextNode)&&o.Dom.after(n,i.createInside.element("br")),i.s.setCursorBefore(n),o.Dom.isTag(n.previousSibling,"br")&&!o.Dom.findNotEmptySibling(n,!1)&&o.Dom.after(n,i.createInside.element("br"))),y}}});var r=n(82758),o=n(22732),s=n(21537),a=n(63785);function l(t,i,n){let r=o.Dom.sibling(t,i);return!r&&t.parentNode&&t.parentNode!==n&&(r=(0,a.findMostNestedNeighbor)(t,!i,n,!0)),r}},73943:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="applyFormat",o="Apply or remove inline formatting to the current selection (bold, italic, underline, etc.) or to a specific block",s=[{name:"element",type:"string",description:'HTML element to wrap selection (e.g., "strong", "em", "u", "span")',required:!1},{name:"attributes",type:"object",description:'Attributes to apply (e.g., {"className": "highlight"}, {"style": {"color": "red"}})',required:!1},{name:"remove",type:"boolean",description:"If true, remove the formatting instead of applying it",required:!1,default:!1},{name:"blockIndex",type:"number",description:"Zero-based index of the block to format (if not using current selection)",required:!1},{name:"selector",type:"string",description:"CSS selector to find the block to format (if not using current selection)",required:!1}],a=!0},73948:function(t,i,n){"use strict";n.d(i,{nativeListeners:function(){return c}});var r=n(29960),o=n(15456),s=n(41457),a=n(32118),l=n(21735),u=n(20201);function c(){let t=!1,i=(0,a.elementsMap)(this),n=this;n.e.on(n.tree.container,"dragstart",i=>{let r=(0,l.getItem)(i.target,n.container);r&&n.o.moveFolder&&(t=r)}).on(n.tree.container,"drop",i=>{if((n.o.moveFile||n.o.moveFolder)&&t){let o=(0,r.attr)(t,"-path")||"";if(!n.o.moveFolder&&t.classList.contains(this.tree.getFullElName("item"))||t.classList.contains(this.files.getFullElName("item"))&&(o+=(0,r.attr)(t,"-name"),!n.o.moveFile))return!1;let s=(0,l.getItem)(i.target,n.container);s&&(n.dataProvider.move(o,(0,r.attr)(s,"-path")||"",(0,r.attr)(s,"-source")||"",t.classList.contains(this.files.getFullElName("item"))).then(()=>(0,u.loadTree)(this)).catch(n.status),t=!1)}}).on(n.files.container,"contextmenu",(0,s.default)(n)).on(n.files.container,"click",t=>{(0,o.ctrlKey)(t)||(this.state.activeElements=[])}).on(n.files.container,"click",t=>{let r=(0,l.getItem)(t.target,n.container);if(!r)return;let s=(0,l.elementToItem)(r,i);if(s)return(0,o.ctrlKey)(t)?n.state.activeElements=[...n.state.activeElements,s]:n.state.activeElements=[s],t.stopPropagation(),!1}).on(n.files.container,"dragstart",i=>{if(n.o.moveFile){let r=(0,l.getItem)(i.target,n.container);r&&(t=r)}}).on(n.container,"drop",t=>t.preventDefault())}},74398:function(t,i,n){"use strict";var r=n(82749),o=n(31635),s=n(29606),a=n(65478),l=n(43555),u=n(50911),c=n(2692);class d extends u.Plugin{className(){return"MobileView"}afterInit(t){t.registerCommand("mobileView",{exec:(i,n,r)=>{this.__currentMode===r&&(r="default"),this.__currentMode=r,(0,l.dataBind)(t,s.dataBindCurrentKey,r),"default"!==this.__currentMode&&(0,l.dataBind)(t,s.dataBindStoredKey,r),"default"===r?(0,l.css)(this.jodit.currentPlace.slots.center,{width:null,margin:null}):(0,l.css)(this.j.currentPlace.slots.center,{width:r,margin:"0 auto"})}}),t.events.on("beforeSetMode",()=>{})}__beforeSetMode(){"default"!==this.__currentMode&&this.j.execCommand("mobileView",!1,"default")}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"mobileView",group:"state"}]),(0,r._)(this,"__currentMode","default")}}(0,r._)(d,"requires",["license"]),(0,o.__decorate)([(0,a.watch)(":beforeSetMode.mobileView")],d.prototype,"__beforeSetMode",null),d=(0,o.__decorate)([a.component],d),c.JoditPro.plugins.add("mobileView",d)},74551:function(t,i){"use strict";i.default={"copy-format":"Format kopierenт"}},74569:function(t,i,n){"use strict";function r(t){let i=atob(t.split(",")[1]),n=t.split(",")[0].split(":")[1].split(";")[0],r=new Uint8Array(new ArrayBuffer(i.length));for(let t=0;t<i.length;t+=1)r[t]=i.charCodeAt(t);return new Blob([r.buffer],{type:n})}n.d(i,{dataURItoBlob:function(){return r}})},74922:function(t){t.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M13.98 22L6 30l7.98 8v-6H28v-4H13.98v-6zM42 18l-7.98-8v6H20v4h14.02v6L42 18z"/> <path d="M0 0h48v48H0z" fill="none"/> </svg>'},75259:function(t,i){"use strict";i.default='<svg viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M8,11c1.657,0,3-1.343,3-3V3c0-1.657-1.343-3-3-3S5,1.343,5,3v5C5,9.657,6.343,11,8,11z"/> <path d="M13,8V6h-1l0,1.844c0,1.92-1.282,3.688-3.164,4.071C6.266,12.438,4,10.479,4,8V6H3v2c0,2.414,1.721,4.434,4,4.899V15H5v1h6 v-1H9v-2.101C11.279,12.434,13,10.414,13,8z"/> </svg> '},75275:function(t,i,n){"use strict";n.d(i,{applyStyles:function(){return r.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return s.htmlspecialchars},nl2br:function(){return a.nl2br},safeHTML:function(){return l.safeHTML},sanitizeHTMLElement:function(){return l.sanitizeHTMLElement},stripTags:function(){return u.stripTags}});var r=n(32574),o=n(53212),s=n(53326),a=n(45971),l=n(86518),u=n(91003)},75330:function(t,i,n){"use strict";n.d(i,{FileBrowser:function(){return F}});var r=n(91907),o=n(82758),s=n(65478),a=n(37133),l=n(3827),u=n(21537),c=n(12081),d=n(70231),h=n(84075),p=n(6441);n(61251);var f=n(30465),m=n(20201),g=n(73948),b=n(33281),v=n(94538),y=n(11787),_=n(63399),C=n(8172),w=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let F=class t extends h.ViewWithToolbar{className(){return"FileBrowser"}get dataProvider(){return(0,_.makeDataProvider)(this,this.options)}onSelect(t){return()=>{if(this.state.activeElements.length){let i=[],n=[];this.state.activeElements.forEach(t=>{let r=t.fileURL;r&&(i.push(r),n.push(t.isImage||!1))}),this.close(),(0,u.isFunction)(t)&&t({baseurl:"",files:i,isImages:n}),this.close()}return!1}}get _dialog(){var t;let i=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:null!=(t=this.o.headerButtons)?t:["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach(t=>i.events.on(i,t,()=>this.e.fire(t))),i.setSize(this.o.width,this.o.height),i}get storage(){return c.Storage.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(t,i){!t||(0,u.isAbortError)(t)||((0,u.isString)(t)||(t=t.message),(0,u.isString)(t)&&(0,u.trim)(t).length&&this.message.message(t,i?"success":"error",this.o.howLongShowMsg))}open(t=this.o.defaultCallback,i=!1){return this.state.onlyImages=i,this.async.promise((i,n)=>{var r;if(!this.o.items||!this.o.items.url)throw(0,u.error)("Need set options.filebrowser.ajax.url");let s=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(t)).on(this.files.container,"touchstart",()=>{let i=new Date().getTime();i-s<o.EMULATE_DBLCLICK_TIMEOUT&&this.onSelect(t)(),s=i}).off("select.filebrowser").on("select.filebrowser",this.onSelect(t));let a=this.c.div();null==(r=this.toolbar)||r.appendTo(a),this.__updateToolbarButtons(),this._dialog.open(this.browser,a),this.e.fire("sort.filebrowser",this.state.sortBy),(0,m.loadTree)(this).then(i,n).finally(()=>{var t;this.isInDestruct||null==(t=this===null||void 0===this?void 0:this.e)||t.fire("fileBrowserReady.filebrowser")})}).catch(t=>{if(!(0,u.isAbortError)(t)&&!o.IS_PROD)throw t})}__getButtons(){var t;return(null!=(t=this.o.buttons)?t:[]).filter(t=>{if(!(0,u.isString)(t))return!0;switch(t){case"filebrowser.upload":return this.dataProvider.canI("FileUpload");case"filebrowser.edit":return this.dataProvider.canI("ImageResize")||this.dataProvider.canI("ImageCrop");case"filebrowser.remove":return this.dataProvider.canI("FileRemove")}return!0})}initUploader(t){var i;let n=this,r=null==(i=null==t?void 0:t.options)?void 0:i.uploader,o=(0,u.ConfigProto)(r||{},p.Config.defaultOptions.uploader),s=()=>(0,f.loadItems)(this);n.uploader=n.getInstance("Uploader",o),n.uploader.setPath(n.state.currentPath).setSource(n.state.currentSource).bind(n.browser,s,n.errorHandler),this.state.on(["change.currentPath","change.currentSource"],()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)}),n.e.on("bindUploader.filebrowser",t=>{n.uploader.bind(t,s,n.errorHandler)})}destruct(){var t;!this.isInDestruct&&(null==(t=(0,s.cached)(this,"_dialog"))||t.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){var t;let i=this.__getButtons();!function(t,i){if(t.length!==i.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==i[n])return!1;return!0}(this.__prevButtons,i)&&(this.__prevButtons=i,null==(t=this.toolbar)||t.build(i))}constructor(t){super(t),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new C.FileBrowserTree(this),this.files=new C.FileBrowserFiles(this),this.state=(0,l.observable)({currentPath:"",currentSource:y.DEFAULT_SOURCE_NAME,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=t=>{(0,u.isAbortError)(t)||(t instanceof Error?this.status(this.i18n(t.message)):this.status(this.dataProvider.getMessage(t)))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(t),this.options=(0,u.ConfigProto)(t||{},p.Config.defaultOptions.filebrowser),this.browser.component=this,this.container=this.browser,this.o.showFoldersPanel&&this.browser.appendChild(this.tree.container),this.browser.appendChild(this.files.container),this.browser.appendChild(this.status_line),b.selfListeners.call(this),g.nativeListeners.call(this),v.stateListeners.call(this),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach(t=>{null!=this.options[t]&&(this.options[t]=(0,u.ConfigProto)(this.options[t],this.o.ajax))});const{storeView:i,storeSortBy:n,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},s=i&&this.storage.get("view");s&&null==this.o.view?this.state.view="list"===s?"list":"tiles":this.state.view="list"===this.o.view?"list":"tiles",this.files.setMod("view",this.state.view);const a=n&&this.storage.get("sortBy");if(a){const t=a.split("-");this.state.sortBy=["changed","name","size"].includes(t[0])?a:"changed-desc"}else this.state.sortBy=this.o.sortBy||"changed-desc";if(o){const t=this.storage.get("currentPath"),i=this.storage.get("currentSource");this.state.currentPath=null!=t?t:"",this.state.currentSource=null!=i?i:""}this.initUploader(this),this.setStatus(r.STATUSES.ready)}};w([s.cache],F.prototype,"dataProvider",null),w([s.cache],F.prototype,"_dialog",null),w([s.cache],F.prototype,"storage",null),w([s.autobind],F.prototype,"status",null),w([s.autobind],F.prototype,"open",null),w([(0,a.watch)("dataProvider:changePermissions")],F.prototype,"__updateToolbarButtons",null),F=w([(0,s.derive)(d.Dlgs)],F)},75352:function(t,i,n){"use strict";n.r(i),n.d(i,{description:function(){return o},name:function(){return r},parameters:function(){return s},requiresPermission:function(){return a}});let r="readBlocks",o="Read blocks from the editor with optional filtering and pagination",s=[{name:"offset",type:"number",description:"Number of blocks to skip from the beginning (default: 0)",required:!1,default:0},{name:"limit",type:"number",description:"Maximum number of blocks to return (default: all)",required:!1},{name:"query",type:"string",description:"Filter blocks by text content",required:!1}],a=!1},75393:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 432 432"> <g> <polygon points="203.688,96 0,96 0,144 155.688,144 "/> <polygon points="155.719,288 0,288 0,336 203.719,336 "/> <path d="M97.844,230.125c-3.701-3.703-5.856-8.906-5.856-14.141s2.154-10.438,5.856-14.141l9.844-9.844H0v48h107.719 L97.844,230.125z"/> <polygon points="232,176 232,96 112,216 232,336 232,256 432,256 432,176"/> </g> </svg> '},75445:function(t,i){"use strict";i.default={}},75554:function(t,i,n){"use strict";var r=n(82749);n(28609);var o=n(50911),s=n(2692);class a extends o.Plugin{afterInit(t){}beforeDestruct(t){}constructor(...t){super(...t),(0,r._)(this,"buttons",[{name:"style",group:"font"}])}}(0,r._)(a,"requires",["license"]),s.JoditPro.plugins.add("style",a)},75595:function(t,i,n){"use strict";n.d(i,{readLink:function(){return s}});var r=n(2748),o=n(29960);function s(t,i,n){let s=r.Dom.closest(t.sourceImage,"a",i.editor);s?(n.imageLink=(0,o.attr)(s,"href")||"",n.imageLinkOpenInNewTab="_blank"===(0,o.attr)(s,"target")):(n.imageLink="",n.imageLinkOpenInNewTab=!1)}},75689:function(t){t.exports='<svg viewBox="0 0 24 24" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"> <path d="M2.5244141,23.5h18.9511719c0.4140625,0,0.75-0.3359375,0.75-0.75V4.9208984 c0-0.1992188-0.0795898-0.390625-0.2207031-0.53125L18.3198242,0.71875C18.1791992,0.5786133,17.9887695,0.5,17.7905273,0.5 H2.5244141c-0.4140625,0-0.75,0.3359375-0.75,0.75v21.5C1.7744141,23.1640625,2.1103516,23.5,2.5244141,23.5z M20.7128296,5.2197266 h-2.6986694V2.531189L20.7128296,5.2197266z M3.2744141,2h13.2397461v3.9697266c0,0.4140625,0.3359375,0.75,0.75,0.75h3.4614258V22 H3.2744141V2z" fill="#1D1D1D"/> <path d="M8.75,10.25h1.75c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8 c-0.4140625,0-0.75,0.3359375-0.75,0.75v2.75H6c-0.4140625,0-0.75,0.3359375-0.75,0.75S5.5859375,13.75,6,13.75h1.25v2.75 c0,0.4140625,0.3359375,0.75,0.75,0.75h2.5c0.4140625,0,0.75-0.3359375,0.75-0.75s-0.3359375-0.75-0.75-0.75H8.75V10.25z" fill="#1D1D1D"/> <path d="M18.5,12.25h-1.25V9.5c0-0.4140625-0.3359375-0.75-0.75-0.75H14c-0.4140625,0-0.75,0.3359375-0.75,0.75 s0.3359375,0.75,0.75,0.75h1.75v5.5H14c-0.4140625,0-0.75,0.3359375-0.75,0.75s0.3359375,0.75,0.75,0.75h2.5 c0.4140625,0,0.75-0.3359375,0.75-0.75v-2.75h1.25c0.4140625,0,0.75-0.3359375,0.75-0.75S18.9140625,12.25,18.5,12.25z" fill="#1D1D1D"/></svg>'},75703:function(t,i,n){"use strict";n.r(i),i.default={symbols:"سمبل"}},75882:function(t,i,n){"use strict";n.d(i,{unwrapChildren:function(){return l}});var r=n(2748),o=n(43555),s=n(22030),a=n(97380);function l(t,i){var n;let l,u=[],c=[],d=null==(n=t.options.attributes)?void 0:n.style;if(i.firstChild){let n=r.Dom.eachGen(i),h=n.next();for(;!h.done;){let i=h.value;(0,a.isSuitElement)(t,i,!0)&&(!d||(0,s.hasSameStyleKeys)(i,d))?(void 0===l&&(l=!0),u.push(i)):d&&(0,a.isSameStyleChild)(t,i)?(void 0===l&&(l=!1),c.push(()=>{(0,o.css)(i,Object.keys(d).reduce((t,i)=>(t[i]=null,t),{})),(0,o.attr)(i,"style")||(0,o.attr)(i,"style",null),(0,o.attr)(i,"style")||i.nodeName.toLowerCase()!==t.element||u.push(i)})):r.Dom.isEmptyTextNode(i)||void 0!==l||(l=!1),h=n.next()}}return c.forEach(t=>t()),u.forEach(r.Dom.unwrap),!!l}},75966:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> \x3c!-- Wand handle - diagonal line --\x3e <rect x="12" y="10" width="13" height="3.5" rx="0.5" transform="rotate(45 12 12)"/> \x3c!-- Wand tip - diamond --\x3e <rect x="3" y="3" width="6" height="6" rx="1" transform="rotate(45 6 6)"/> \x3c!-- Large sparkle - top --\x3e <polygon points="15,0 16,4 15,8 14,4"/> <polygon points="11,4 15,5 19,4 15,3"/> \x3c!-- Medium sparkle - left --\x3e <polygon points="1,11 2,14 1,17 0,14"/> <polygon points="-2,14 1,15 4,14 1,13"/> \x3c!-- Small sparkle - middle --\x3e <polygon points="8,14 8.5,16 8,18 7.5,16"/> <polygon points="6,16 8,16.5 10,16 8,15.5"/> </svg>'},76014:function(t,i,n){"use strict";n.d(i,{Table:function(){return d}});var r=n(91907),o=n(82758),s=n(65478),a=n(22732),l=n(580),u=n(21537);let c=new WeakMap;class d extends r.ViewComponent{className(){return"Table"}__recalculateStyles(){let t=(0,l.getContainer)(this.j,d,"style",!0),i=[];this.selected.forEach(t=>{let n=(0,u.cssPath)(t);n&&i.push(n)}),t.innerHTML=i.length?i.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(t){this.selected.add(t),this.__recalculateStyles();let i=a.Dom.closest(t,"table",this.j.editor);if(i){let n=d.__selectedByTable.get(i)||new Set;n.add(t),d.__selectedByTable.set(i,n)}}removeSelection(t){this.selected.delete(t),this.__recalculateStyles();let i=a.Dom.closest(t,"table",this.j.editor);if(i){let n=d.__selectedByTable.get(i);n&&(n.delete(t),n.size||d.__selectedByTable.delete(i))}}getAllSelectedCells(){return(0,u.toArray)(this.selected)}static __getSelectedCellsByTable(t){let i=d.__selectedByTable.get(t);return i?(0,u.toArray)(i):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(t){return t.rows.length}getRowsCount(t){return d.__getRowsCount(t)}static __getColumnsCount(t){return d.__formalMatrix(t).reduce((t,i)=>Math.max(t,i.length),0)}getColumnsCount(t){return d.__getColumnsCount(t)}static __formalMatrix(t,i){let n=[[]],r=(0,u.toArray)(t.rows),o=(t,r)=>{void 0===n[r]&&(n[r]=[]);let o=t.colSpan,s=t.rowSpan,a,l,u=0;for(;n[r][u];)u+=1;for(l=0;s>l;l+=1)for(a=0;a<o;a+=1){if(void 0===n[r+l]&&(n[r+l]=[]),i&&!1===i(t,r+l,u+a,o,s))return!1;n[r+l][u+a]=t}};for(let t=0;t<r.length;t+=1){let i=(0,u.toArray)(r[t].cells);for(let r=0;r<i.length;r+=1)if(!1===o(i[r],t))return n}return n}formalMatrix(t,i){return d.__formalMatrix(t,i)}static __formalCoordinate(t,i,n=!1){let r=0,o=0,s=1,a=1;return d.__formalMatrix(t,(t,l,u,c,d)=>{if(i===t)return r=l,o=u,s=c||1,a=d||1,n&&(o+=(c||1)-1,r+=(d||1)-1),!1}),[r,o,s,a]}formalCoordinate(t,i,n=!1){return d.__formalCoordinate(t,i,n)}static __appendRow(t,i,n,r){var o;let s;if(i)s=i.cloneNode(!0),(0,u.$$)("td,th",i).forEach(t=>{let i=(0,u.attr)(t,"rowspan");if(i&&parseInt(i,10)>1){let n=parseInt(i,10)-1;(0,u.attr)(t,"rowspan",n>1?n:null)}}),(0,u.$$)("td,th",s).forEach(t=>{t.innerHTML=""});else{let i=d.__getColumnsCount(t);s=r.element("tr");for(let t=0;t<i;t+=1)s.appendChild(r.element("td"))}n&&i&&i.nextSibling?i.parentNode&&i.parentNode.insertBefore(s,i.nextSibling):!n&&i?i.parentNode&&i.parentNode.insertBefore(s,i):((null==(o=t.getElementsByTagName("tbody"))?void 0:o[0])||t).appendChild(s)}appendRow(t,i,n){return d.__appendRow(t,i,n,this.j.createInside)}static __removeRow(t,i){let n,r=d.__formalMatrix(t),o=t.rows[i];r[i].forEach((s,l)=>{if(n=!1,i-1>=0&&r[i-1][l]===s)n=!0;else if(r[i+1]&&r[i+1][l]===s){if(s.parentNode===o&&s.parentNode.nextSibling){n=!0;let o=l+1;for(;r[i+1][o]===s;)o+=1;let u=a.Dom.next(s.parentNode,t=>a.Dom.isTag(t,"tr"),t);u&&(r[i+1][o]?u.insertBefore(s,r[i+1][o]):u.appendChild(s))}}else a.Dom.safeRemove(s);if(n&&(s.parentNode===o||s!==r[i][l-1])){let t=s.rowSpan;(0,u.attr)(s,"rowspan",t-1>1?t-1:null)}}),a.Dom.safeRemove(o)}removeRow(t,i){return d.__removeRow(t,i)}appendColumn(t,i,n=!0){let r=d.__formalMatrix(t);if(!n&&a.Dom.isCell(i.previousElementSibling))return this.appendColumn(t,i.previousElementSibling,!0);let o=n?i.cellIndex+((i.colSpan||1)-1):i.cellIndex,s=n?o+1:o;for(let t=0;t<r.length;){let i=r[t];if(i[o]!==i[s]||o===s){let t=this.j.createInside.element("td");n?a.Dom.after(i[o],t):a.Dom.before(i[o],t),i[o].rowSpan>1&&(t.rowSpan=i[o].rowSpan)}else i[o].colSpan+=1;t+=i[o].rowSpan||1}}static __removeColumn(t,i){let n,r=d.__formalMatrix(t);r.forEach((t,o)=>{let s=t[i];if(n=!1,i-1>=0&&r[o][i-1]===s||i+1<t.length&&r[o][i+1]===s?n=!0:a.Dom.safeRemove(s),n&&(o-1<0||s!==r[o-1][i])){let t=s.colSpan;(0,u.attr)(s,"colspan",t-1>1?(t-1).toString():null)}})}removeColumn(t,i){return d.__removeColumn(t,i)}static __getSelectedBound(t,i){let n,r,o,s=[[1/0,1/0],[0,0]],a=d.__formalMatrix(t);for(n=0;n<a.length;n+=1)for(r=0;a[n]&&r<a[n].length;r+=1)i.includes(a[n][r])&&(s[0][0]=Math.min(n,s[0][0]),s[0][1]=Math.min(r,s[0][1]),s[1][0]=Math.max(n,s[1][0]),s[1][1]=Math.max(r,s[1][1]));for(n=s[0][0];n<=s[1][0];n+=1)for(o=1,r=s[0][1];r<=s[1][1];r+=1){for(;a[n]&&a[n][r-o]&&a[n][r]===a[n][r-o];)s[0][1]=Math.min(r-o,s[0][1]),s[1][1]=Math.max(r-o,s[1][1]),o+=1;for(o=1;a[n]&&a[n][r+o]&&a[n][r]===a[n][r+o];)s[0][1]=Math.min(r+o,s[0][1]),s[1][1]=Math.max(r+o,s[1][1]),o+=1;for(o=1;a[n-o]&&a[n][r]===a[n-o][r];)s[0][0]=Math.min(n-o,s[0][0]),s[1][0]=Math.max(n-o,s[1][0]),o+=1;for(o=1;a[n+o]&&a[n][r]===a[n+o][r];)s[0][0]=Math.min(n+o,s[0][0]),s[1][0]=Math.max(n+o,s[1][0]),o+=1}return s}getSelectedBound(t,i){return d.__getSelectedBound(t,i)}static __normalizeTable(t){let i=[],n=d.__formalMatrix(t);d.__removeExtraColspans(n,i),d.__removeExtraRowspans(n,i);for(let t=0;t<n.length;t+=1)for(let i=0;i<n[t].length;i+=1)void 0!==n[t][i]&&(n[t][i].hasAttribute("rowspan")&&1===n[t][i].rowSpan&&(0,u.attr)(n[t][i],"rowspan",null),n[t][i].hasAttribute("colspan")&&1===n[t][i].colSpan&&(0,u.attr)(n[t][i],"colspan",null),n[t][i].hasAttribute("class")&&!(0,u.attr)(n[t][i],"class")&&(0,u.attr)(n[t][i],"class",null));d.__unmark(i)}static __removeExtraColspans(t,i){for(let n=0;n<t[0].length;n+=1){let r=1e6,o=!1;for(let i=0;i<t.length;i+=1)if(void 0!==t[i][n]){if(t[i][n].colSpan<2){o=!0;break}r=Math.min(r,t[i][n].colSpan)}if(!o)for(let o=0;o<t.length;o+=1)void 0!==t[o][n]&&d.__mark(t[o][n],"colspan",t[o][n].colSpan-r+1,i)}}static __removeExtraRowspans(t,i){let n=0,r=0;for(n=0;n<t.length;n+=1){let o=1e6,s=!1;for(r=0;r<t[n].length;r+=1)if(void 0!==t[n][r]){if(t[n][r].rowSpan<2){s=!0;break}o=Math.min(o,t[n][r].rowSpan)}if(!s)for(r=0;r<t[n].length;r+=1)void 0!==t[n][r]&&d.__mark(t[n][r],"rowspan",t[n][r].rowSpan-o+1,i)}}normalizeTable(t){return d.__normalizeTable(t)}static __mergeSelected(t,i){let n=[],r=d.__getSelectedBound(t,d.__getSelectedCellsByTable(t)),s=0,l=null,c=0,p=0,f=0,m=new Set,g=[];r&&(r[0][0]-r[1][0]||r[0][1]-r[1][1])&&(d.__formalMatrix(t,(t,o,a,b,v)=>{o>=r[0][0]&&o<=r[1][0]&&a>=r[0][1]&&a<=r[1][1]&&(m.has(t)||(m.add(t),o===r[0][0]&&t.style.width&&(s+=t.offsetWidth),""!==(0,u.trim)(t.innerHTML.replace(/<br(\/)?>/g,""))&&n.push(t.innerHTML),b>1&&(p+=b-1),v>1&&(f+=v-1),l?(d.__mark(t,"remove",1,g),h(i).removeSelection(t)):(l=t,c=a)))}),p=r[1][1]-r[0][1]+1,f=r[1][0]-r[0][0]+1,l&&(p>1&&d.__mark(l,"colspan",p,g),f>1&&d.__mark(l,"rowspan",f,g),s&&(d.__mark(l,"width",(s/t.offsetWidth*100).toFixed(o.ACCURACY)+"%",g),c&&d.__setColumnWidthByDelta(t,c,0,!0,g)),l.innerHTML=n.join("<br/>"),h(i).addSelection(l),m.delete(l),d.__unmark(g),d.__normalizeTable(t),(0,u.toArray)(t.rows).forEach(t=>{t.cells.length||a.Dom.safeRemove(t)})))}mergeSelected(t){return d.__mergeSelected(t,this.j)}static __splitHorizontal(t,i){let n,r,o,s,l,u=[];d.__getSelectedCellsByTable(t).forEach(c=>{(r=i.createInside.element("td")).appendChild(i.createInside.element("br")),o=i.createInside.element("tr"),n=d.__formalCoordinate(t,c),c.rowSpan<2?(d.__formalMatrix(t,(t,i,r)=>{n[0]===i&&n[1]!==r&&t!==c&&d.__mark(t,"rowspan",t.rowSpan+1,u)}),a.Dom.after(a.Dom.closest(c,"tr",t),o),o.appendChild(r)):(d.__mark(c,"rowspan",c.rowSpan-1,u),d.__formalMatrix(t,(i,r,o)=>{r>n[0]&&r<n[0]+c.rowSpan&&n[1]>o&&i.parentNode.rowIndex===r&&(l=i),n[0]<r&&i===c&&(s=t.rows[r])}),l?a.Dom.after(l,r):s.insertBefore(r,s.firstChild)),c.colSpan>1&&d.__mark(r,"colspan",c.colSpan,u),d.__unmark(u),h(i).removeSelection(c)}),this.__normalizeTable(t)}splitHorizontal(t){return d.__splitHorizontal(t,this.j)}static __splitVertical(t,i){let n,r,s,l=[];d.__getSelectedCellsByTable(t).forEach(u=>{n=d.__formalCoordinate(t,u),u.colSpan<2?d.__formalMatrix(t,(t,i,r)=>{n[1]===r&&n[0]!==i&&t!==u&&d.__mark(t,"colspan",t.colSpan+1,l)}):d.__mark(u,"colspan",u.colSpan-1,l),(r=i.createInside.element("td")).appendChild(i.createInside.element("br")),u.rowSpan>1&&d.__mark(r,"rowspan",u.rowSpan,l);let c=u.offsetWidth;a.Dom.after(u,r),s=c/t.offsetWidth/2,d.__mark(u,"width",(100*s).toFixed(o.ACCURACY)+"%",l),d.__mark(r,"width",(100*s).toFixed(o.ACCURACY)+"%",l),d.__unmark(l),h(i).removeSelection(u)}),d.__normalizeTable(t)}splitVertical(t){return d.__splitVertical(t,this.j)}static __setColumnWidthByDelta(t,i,n,r,s){let a=d.__formalMatrix(t),l=0;for(let r=0;r<a.length;r+=1){let u=a[r][i];if(u.colSpan>1&&a.length>1)continue;let c=(u.offsetWidth+n)/t.offsetWidth*100;d.__mark(u,"width",c.toFixed(o.ACCURACY)+"%",s),l=r;break}for(let t=l+1;t<a.length;t+=1){let n=a[t][i];d.__mark(n,"width",null,s)}r||d.__unmark(s)}setColumnWidthByDelta(t,i,n,r,o){return d.__setColumnWidthByDelta(t,i,n,r,o)}static __mark(t,i,n,r){var o;r.push(t);let s=null!=(o=c.get(t))?o:{};s[i]=void 0===n?1:n,c.set(t,s)}static __unmark(t){t.forEach(t=>{let i=c.get(t);i&&(Object.keys(i).forEach(n=>{let r=i[n];switch(n){case"remove":a.Dom.safeRemove(t);break;case"rowspan":(0,u.attr)(t,"rowspan",(0,u.isNumber)(r)&&r>1?r:null);break;case"colspan":(0,u.attr)(t,"colspan",(0,u.isNumber)(r)&&r>1?r:null);break;case"width":null==r?(t.style.removeProperty("width"),(0,u.attr)(t,"style")||(0,u.attr)(t,"style",null)):t.style.width=r.toString()}delete i[n]}),c.delete(t))})}constructor(){super(...arguments),this.selected=new Set}}d.__selectedByTable=new WeakMap,function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);s>3&&a&&Object.defineProperty(i,n,a)}([(0,s.debounce)()],d.prototype,"__recalculateStyles",null);let h=t=>t.getInstance("Table",t.o)},76059:function(t,i,n){"use strict";n.d(i,{replaceOldTags:function(){return o}});let r={i:"em",b:"strong"};function o(t){let{name:i}=t;return i in r&&(t.name=r[i]),t}},76078:function(t,i,n){"use strict";n.d(i,{$$:function(){return h},cssPath:function(){return m},getXPathByElement:function(){return p},refs:function(){return f},resolveElement:function(){return g}});var r=n(82758),o=n(2748),s=n(4510),a=n(70799),l=n(87058),u=n(29960),c=n(89890);let d=1;function h(t,i){let n;if(!r.IS_ES_NEXT&&/:scope/.test(t)&&r.IS_IE&&!(i&&i.nodeType===Node.DOCUMENT_NODE)){let r=i.id,o=r||"_selector_id_"+String(Math.random()).slice(2)+ ++d;t=t.replace(/:scope/g,"#"+o),r||i.setAttribute("id",o),n=i.parentNode.querySelectorAll(t),r||i.removeAttribute("id")}else n=i.querySelectorAll(t);return[].slice.call(n)}let p=(t,i)=>{if(!t||t.nodeType!==Node.ELEMENT_NODE||!t.parentNode||i===t)return"";if(t.id)return"//*[@id='"+t.id+"']";let n=[].filter.call(t.parentNode.childNodes,i=>i.nodeName===t.nodeName);return p(t.parentNode,i)+"/"+t.nodeName.toLowerCase()+(n.length>1?"["+((0,s.toArray)(n).indexOf(t)+1)+"]":"")},f=t=>("container"in t&&(t=t.container),h("[ref],[data-ref]",t).reduce((t,i)=>{let n=(0,u.attr)(i,"-ref");return n&&(0,a.isString)(n)&&(t[(0,l.camelCase)(n)]=i,t[n]=i),t},{})),m=t=>{if(!o.Dom.isElement(t))return null;let i=[],n=t;for(;n&&n.nodeType===Node.ELEMENT_NODE;){let t=n.nodeName.toLowerCase();if(n.id){t+="#"+n.id,i.unshift(t);break}{let i=n,r=1;do(i=i.previousElementSibling)&&i.nodeName.toLowerCase()===t&&r++;while(i);t+=":nth-of-type("+r+")"}i.unshift(t),n=n.parentNode}return i.join(" > ")};function g(t,i){let n=t;if((0,a.isString)(t))try{n=i.querySelector(t)}catch(i){throw(0,c.error)('String "'+t+'" should be valid HTML selector')}if(!n||"object"!=typeof n||!o.Dom.isElement(n)||!n.cloneNode)throw(0,c.error)('Element "'+t+'" should be string or HTMLElement instance');return n}},76295:function(t,i,n){"use strict";var r=n(2748),o=n(580),s=n(21537),a=n(25726),l=n(41180),u=n(12153),c=n(6441),d=n(5567);u.Icon.set("justify",d.default),c.Config.prototype.controls.align={name:"left",tooltip:"Align",update(t,i){let n=i.control,o=t.s.current();if(o){let a=r.Dom.closest(o,r.Dom.isBlock,t.editor)||t.editor,u=(0,l.css)(a,"text-align").toString();n.defaultValue&&-1!==n.defaultValue.indexOf(u)&&(u="left");let{list:c,data:d}=n;d&&d.currentValue!==u&&c&&((0,s.isPlainObject)(c)?c[u]:c.includes(u))&&(t.o.textIcons||"select"===n.component?i.state.text=u:i.state.icon.name=u,d.currentValue=u)}},isActive:(t,i)=>{let n=t.s.current();if(!n||!i.control.defaultValue)return!1;let o=r.Dom.closest(n,r.Dom.isBlock,t.editor)||t.editor;return -1===i.control.defaultValue.indexOf((0,l.css)(o,"text-align").toString())},defaultValue:["left","start","inherit"],data:{currentValue:"left"},list:["center","left","right","justify"]},c.Config.prototype.controls.center={command:"justifyCenter",css:{"text-align":"center"},tooltip:"Align Center"},c.Config.prototype.controls.justify={command:"justifyFull",css:{"text-align":"justify"},tooltip:"Align Justify"},c.Config.prototype.controls.left={command:"justifyLeft",css:{"text-align":"left"},tooltip:"Align Left"},c.Config.prototype.controls.right={command:"justifyRight",css:{"text-align":"right"},tooltip:"Align Right"},o.pluginSystem.add("justify",function(t){t.registerButton({name:"align",group:"indent"});let i=i=>(t.s.focus(),t.s.eachSelection(n=>{if(!n)return;let o=r.Dom.up(n,r.Dom.isBlock,t.editor);o||(o=r.Dom.wrapInline(n,t.o.enterBlock,t)),(0,a.alignElement)(i,o)}),!1);t.registerCommand("justifyfull",i),t.registerCommand("justifyright",i),t.registerCommand("justifyleft",i),t.registerCommand("justifycenter",i)})},76636:function(t,i,n){"use strict";n.r(i),n.d(i,{de:function(){return o.a},ru:function(){return a.a}});var r=n(46732),o=n.n(r),s=n(28125),a=n.n(s)},76697:function(t,i,n){"use strict";n.d(i,{UISettingsButton:function(){return d}});var r=n(82749),o=n(31635),s=n(79455),a=n(87325),l=n(37133),u=n(48538),c=n(78644);class d extends u.UIElement{className(){return"UISettingsButton"}setParentView(t){var i,n;return null==(i=this.settingsPopup)||i.setParentView(t),null==(n=this.button)||n.setParentView(t),super.setParentView(t)}onChangeOptionsClosePopup(t){this.closeCallback()}openSettingsPopup(){return this.settingsPopup||(this.settingsPopup=new s.UISettingsPopup(this.jodit,this.extraState,this.options,this.getConversation,this.updateConversation)),this.settingsPopup.update(),this.settingsPopup}constructor(t,i,n,o,s){super(t),(0,r._)(this,"extraState",void 0),(0,r._)(this,"options",void 0),(0,r._)(this,"getConversation",void 0),(0,r._)(this,"updateConversation",void 0),(0,r._)(this,"closeCallback",void 0),(0,r._)(this,"settingsPopup",void 0),(0,r._)(this,"button",void 0),this.extraState=i,this.options=n,this.getConversation=o,this.updateConversation=s,this.closeCallback=()=>{},this.settingsPopup=null,this.button=new c.ToolbarButton(this.jodit,{name:"settings",tooltip:"Settings",popup:(t,i,n)=>(this.closeCallback=n,this.openSettingsPopup())}),this.button.state.variant="initial",this.button.state.size="small",this.container.appendChild(this.button.container)}}(0,o.__decorate)([(0,l.watch)("extraState.displayMode")],d.prototype,"onChangeOptionsClosePopup",null),d=(0,o.__decorate)([a.component],d)},76725:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"V\xfdška č\xe1ry"}},76855:function(t,i,n){"use strict";n.d(i,{asArray:function(){return r.asArray},splitArray:function(){return o.splitArray},toArray:function(){return s.toArray}});var r=n(29999),o=n(46559),s=n(4510)},77361:function(t,i,n){"use strict";n.d(i,{CHANGE:function(){return s},INITIAL:function(){return l},REPLACE:function(){return u},UNSET:function(){return a},UNWRAP:function(){return o},WRAP:function(){return r},_PREFIX:function(){return c}});let r="wrap",o="unwrap",s="change",a="unset",l="initial",u="replace",c="commitStyle"},77469:function(t,i,n){"use strict";var r=n(82758),o=n(580),s=n(21537);n(50963),o.pluginSystem.add("iframe",function(t){let i=t.options;t.e.on("afterSetMode",()=>{t.isEditorMode()&&t.s.focus()}).on("generateDocumentStructure.iframe",(t,n)=>{let r=t||n.iframe.contentWindow.document;if(r.open(),r.write(i.iframeDoctype+`<html dir="${i.direction}" class="jodit" lang="${(0,s.defaultLanguage)(i.language)}">`+"<head>"+`<title>${i.iframeTitle}</title>`+(i.iframeBaseUrl?`<base href="${i.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),r.close(),i.iframeCSSLinks&&i.iframeCSSLinks.forEach(t=>{let i=r.createElement("link");i.setAttribute("rel","stylesheet"),i.setAttribute("href",t),r.head&&r.head.appendChild(i)}),i.iframeStyle){let t=r.createElement("style");t.innerHTML=i.iframeStyle,r.head&&r.head.appendChild(t)}}).on("createEditor",()=>{if(!i.iframe)return;let n=t.c.element("iframe");n.style.display="block",n.src="about:blank",n.className="jodit-wysiwyg_iframe",n.setAttribute("allowtransparency","true"),n.setAttribute("tabindex",i.tabIndex.toString()),n.setAttribute("frameborder","0"),null!=i.iframeSandbox&&n.setAttribute("sandbox",i.iframeSandbox),t.workplace.appendChild(n),t.iframe=n;let o=t.e.fire("generateDocumentStructure.iframe",null,t);return(0,s.callPromise)(o,()=>{if(!t.iframe)return!1;let n=t.iframe.contentWindow.document;t.editorWindow=t.iframe.contentWindow;let o=i.editHTMLDocumentMode,a=()=>{(0,s.attr)(n.body,"contenteditable",t.getMode()!==r.MODE_SOURCE&&!t.getReadOnly()||null)},l=t=>{let i=/<body.*<\/body>/im,n="{%%BODY%%}",r=i.exec(t);return r&&(t=t.replace(i,n).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/<span([^&]*?)>(.*?)<\/span>/gim,"").replace(n,r[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),t};if(o){let i=t.element.tagName;if("TEXTAREA"!==i&&"INPUT"!==i)throw(0,s.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");t.e.on("beforeGetNativeEditorValue",()=>l(t.o.iframeDoctype+n.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:i})=>!t.isLocked&&(/<(html|body)/i.test(i)?l(n.documentElement.outerHTML)!==l(i)&&(n.open(),n.write(t.o.iframeDoctype+l(i)),n.close(),t.editor=n.body,t.e.fire("safeHTML",t.editor),a(),t.e.fire("prepareWYSIWYGEditor"),t.e.stopPropagation("beforeSetNativeEditorValue")):n.body.innerHTML=i,!0),{top:!0})}if(t.editor=n.body,t.e.on("afterSetMode afterInit afterAddPlace",a),"auto"===i.height){n.documentElement&&(n.documentElement.style.overflowY="hidden");let r=t.async.throttle((...n)=>{t.async.requestAnimationFrame(()=>{if(t.editor&&t.iframe&&"auto"===i.height){let i=t.ew.getComputedStyle(t.editor),n=parseInt(i.marginTop||"0",10)+parseInt(i.marginBottom||"0",10);(0,s.css)(t.iframe,"height",t.editor.offsetHeight+n)}})},t.defaultTimeout/2);if(t.e.on("change afterInit afterSetMode resize",r).on([t.iframe,t.ew,n.documentElement],"load",r).on(n,"readystatechange DOMContentLoaded",r),"function"==typeof ResizeObserver){let i=new ResizeObserver(r);i.observe(n.body),t.e.on("beforeDestruct",()=>{i.disconnect()})}}return n.documentElement&&t.e.on(n.documentElement,"mousedown touchend",()=>{t.s.isFocused()||(t.s.focus(),t.editor===n.body&&t.s.setCursorIn(n.body))}).on(t.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",i=>{var n;null==(n=t.events)||n.fire(t.ow,i)}),!1})})})},77688:function(t,i,n){"use strict";function r(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var i=this,n=arguments;return new Promise(function(o,s){var a=t.apply(i,n);function l(t){r(a,o,s,l,u,"next",t)}function u(t){r(a,o,s,l,u,"throw",t)}l(void 0)})}}n.d(i,{_:function(){return o}})},77725:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"Correcci\xf3n ortogr\xe1fica"}},77841:function(t,i,n){"use strict";n.d(i,{parentPath:function(){return r}});let r=t=>{let i=t.split("/").filter(t=>t.length);return i.pop(),i.join("/")||"/"}},77894:function(t,i,n){"use strict";var r=n(76636),o=n(6441),s=n(580);let a=o.Config.prototype.controls.filebrowser;a.settings={icon:"settings",tooltip:"Settings",exec:t=>{var i;(null!=(i=t.parent)?i:t).e.fire("toggleSettings.filebrowser")}},a.home={icon:"home",tooltip:"Home",exec:t=>{t.e.fire("goHome.filebrowser")}},a.preview={icon:"eye",tooltip:"Preview",isDisabled(t){return 0===t.state.activeElements.length},exec:t=>{t.e.fire("togglePreview.filebrowser")}},a.next={icon:"angle-right",tooltip:"History next",isDisabled:t=>!t.historyManager.canNext(),exec:t=>{t.historyManager.next()}},a.previous={icon:"angle-left",tooltip:"History previous",isDisabled:t=>!t.historyManager.canPrevious(),exec:t=>{t.historyManager.previous()}},a["new-folder"]={icon:"new-folder",exec:t=>{t.e.fire("folderCreate.filebrowser",{path:t.state.currentPath,sourceName:t.state.currentSource})},tooltip:"New folder"},Object.assign(o.Config.prototype.filebrowser,{buttons:["filebrowser.home","filebrowser.previous","filebrowser.next","|","filebrowser.upload","filebrowser.new-folder","filebrowser.remove","filebrowser.update","filebrowser.select","filebrowser.edit","|","filebrowser.preview","about"],sort:!1,pixelOffsetLoadNewChunk:300,width:800,height:400,previewOfficeURL:"https://view.officeapps.live.com/op/view.aspx?src="}),(0,s.extendLang)(r)},78116:function(t,i,n){"use strict";n.d(i,{isMarker:function(){return o}});var r=n(2748);function o(t){return r.Dom.isMarker(t)}},78173:function(t,i){"use strict";i.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> '},78213:function(t,i,n){"use strict";n.d(i,{STATUSES:function(){return r}});let r={beforeInit:"beforeInit",ready:"ready",beforeDestruct:"beforeDestruct",destructed:"destructed"}},78513:function(t,i,n){"use strict";n.d(i,{FileBrowser:function(){return r.FileBrowser}});var r=n(75330)},78524:function(t,i,n){"use strict";n(6441).Config.prototype.commandToHotkeys={removeFormat:["ctrl+shift+m","cmd+shift+m"],insertOrderedList:["ctrl+shift+7","cmd+shift+7"],insertUnorderedList:["ctrl+shift+8, cmd+shift+8"],selectall:["ctrl+a","cmd+a"]}},78584:function(t,i,n){"use strict";n.d(i,{Dialog:function(){return C}});var r,o,s,a=n(91907),l=n(82758),u=n(65478),c=n(2748),d=n(580),h=n(76855),p=n(27613),f=n(43555),m=n(38837),g=n(67510),b=n(35608),v=n(84075),y=n(6441),_=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};y.Config.prototype.dialog={namespace:"",extraButtons:[],resizable:!0,draggable:!0,buttons:["dialog.close"],removeButtons:[],toolbarButtonSize:"middle",zIndex:"inherit"},y.Config.prototype.controls.dialog={close:{icon:"cancel",exec:t=>{t.close()}}};let C=s=class t extends v.ViewWithToolbar{className(){return"Dialog"}get destination(){let{popupRoot:t,shadowRoot:i}=this.o;return t||i||this.od.body}setElements(t,i){let n=[];(0,h.asArray)(i).forEach(i=>{let r;if((0,p.isArray)(i)){let r=this.c.div(this.getFullElName("column"));return n.push(r),t.appendChild(r),this.setElements(r,i)}r=(0,p.isString)(i)?this.c.fromHTML(i):(0,p.hasContainer)(i)?i.container:i,n.push(r),r.parentNode!==t&&t.appendChild(r)}),(0,h.toArray)(t.childNodes).forEach(i=>{-1===n.indexOf(i)&&t.removeChild(i)})}__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(t){let i=t.target;!(!this.o.draggable||i&&i.nodeName.match(/^(INPUT|SELECT)$/))&&(this.draggable=!0,this.startX=t.clientX,this.startY=t.clientY,this.startPoint.x=(0,f.css)(this.dialog,"left"),this.startPoint.y=(0,f.css)(this.dialog,"top"),this.setMaxZIndex(),t.cancelable&&t.preventDefault(),this.lockSelect(),this.__addGlobalResizeListeners(),this.e&&(this.e.fire(this,"startMove"),this.e.fire("closeAllPopups")))}__onMouseMove(t){this.draggable&&this.o.draggable&&(this.setPosition(this.startPoint.x+t.clientX-this.startX,this.startPoint.y+t.clientY-this.startY),this.e&&this.e.fire(this,"move",t.clientX-this.startX,t.clientY-this.startY),t.stopImmediatePropagation()),this.resizable&&this.o.resizable&&(this.setSize(this.startPoint.w+t.clientX-this.startX,this.startPoint.h+t.clientY-this.startY),this.e&&this.e.fire(this,"resizeDialog",t.clientX-this.startX,t.clientY-this.startY))}__onEsc(t){if(this.o.closeOnEsc&&this.isOpened&&t.key===l.KEY_ESC&&!0!==this.getMod("static")){let i=this.getMaxZIndexDialog();i?i.close():this.close(),t.stopImmediatePropagation()}}__onResizerMouseDown(t){this.resizable=!0,this.startX=t.clientX,this.startY=t.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(t,i){return null==t&&(t=this.dialog.offsetWidth),null==i&&(i=this.dialog.offsetHeight),(0,f.css)(this.dialog,{width:t,height:i}),this}calcAutoSize(){return this.setSize("auto","auto"),this.setSize(),this}setPosition(t,i){let n=this.ow.innerWidth,r=this.ow.innerHeight,o=n/2-this.dialog.offsetWidth/2,s=r/2-this.dialog.offsetHeight/2;return o<0&&(o=0),s<0&&(s=0),void 0!==t&&void 0!==i&&(this.offsetX=t,this.offsetY=i,this.moved=Math.abs(t-o)>100||Math.abs(i-s)>100),this.dialog.style.left=(t||o)+"px",this.dialog.style.top=(i||s)+"px",this}setHeader(t){return this.setElements(this.dialogbox_header,t),this}setContent(t){return this.setElements(this.dialogbox_content,t),this}setFooter(t){return this.setElements(this.dialogbox_footer,t),this.setMod("footer",!!t),this}getZIndex(){return parseInt((0,f.css)(this.container,"zIndex"),10)||0}getMaxZIndexDialog(){let t=0,i,n,r=this;return(0,f.$$)(".jodit-dialog",this.destination).forEach(o=>{i=o.component,n=parseInt((0,f.css)(o,"zIndex"),10),i.isOpened&&!isNaN(n)&&n>t&&(r=i,t=n)}),r}setMaxZIndex(){if(this.getMod("static"))return;let t=0x1312d04,i=0;(0,f.$$)(".jodit-dialog",this.destination).forEach(n=>{t=Math.max(isNaN(i=parseInt((0,f.css)(n,"zIndex"),10))?0:i,t)}),this.container.style.zIndex=(t+1).toString()}toggleFullSize(t){(0,p.isVoid)(t)&&(t=!this.getMod("fullsize")),this.setMod("fullsize",t),super.toggleFullSize(t)}open(t,i,n,r){if(d.eventEmitter.fire("closeAllPopups hideHelpers"),!1===this.e.fire(this,"beforeOpen"))return this;(0,p.isBoolean)(t)&&(n=t),(0,p.isBoolean)(i)&&(r=i),this.destroyAfterClose=!0===n;let o=(0,p.isBoolean)(t)?void 0:t,s=(0,p.isBoolean)(i)?void 0:i;return void 0!==s&&this.setHeader(s),o&&this.setContent(o),this.setMod("active",!0),this.isOpened=!0,this.setModal(r),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(t){return this.isModal=!!t,this.setMod("modal",this.isModal),this}close(){if(this.isDestructed||!this.isOpened||!0===this.getMod("static"))return this;let{e:t}=this;return!1===t.fire(this,"beforeClose")||!1===t.fire("beforeClose",this)||(this.setMod("active",!1),this.isOpened=!1,this.isFullSize&&this.toggleFullSize(!1),c.Dom.safeRemove(this.container),this.__removeGlobalResizeListeners(),t.fire(this,"afterClose"),t.fire(this.ow,"joditCloseDialog"),this.destroyAfterClose&&this.destruct()),this}buildToolbar(){this.o.buttons&&this.toolbar.build((0,h.splitArray)(this.o.buttons)).setMod("mode","header").appendTo(this.dialogbox_toolbar)}destruct(){this.isInDestruct||(this.setStatus(a.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(t={}){super(t),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)(t,(0,f.ConfigProto)(y.Config.prototype.dialog,s.defaultOptions)),c.Dom.safeRemove(this.container);const i=this.getFullElName.bind(this);this.container=this.c.fromHTML(`<div class="jodit jodit-dialog ${this.componentName}">
|
|
546
546
|
<div class="${i("overlay")}"></div>
|
|
547
547
|
<div class="${this.getFullElName("panel")}">
|
|
548
548
|
<div class="${i("header")}">
|
|
@@ -562,7 +562,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error
|
|
|
562
562
|
<div class='&__wrapper'>
|
|
563
563
|
<button class='&__button'>css</button>
|
|
564
564
|
</div>
|
|
565
|
-
</div>`}static extractStyle(t,i){var n,r,a,l;let u=(null==(l=i.ownerDocument.defaultView)?void 0:l.getComputedStyle(i))||{},c=(t,i,n,r)=>{let o=u[n];return!o||["none","inherit","initial","unset"].includes(o)?{[n]:!1}:(o.replace(/,\s/g,",").split(/\s+/).forEach(n=>{if(/[0-9.]+(px|pt|em|%)/.test(n)){let r=t.shift();r&&(i[r]=n)}else"inset"===n?i.boxShadowInset=!0:i[r]=n}),i[n]=!0,i)};Object.assign(t,(0,o._)((0,s._)((0,o._)((0,s._)((0,o._)({text:i.innerText,className:i.className,href:i.getAttribute("href")||""},(()=>{var t,i;let n={solid:!0,bgStart:null!=(t=u.backgroundColor)?t:"#44c767",bgEnd:null!=(i=u.backgroundColor)?i:"#44c767"},r=u.backgroundImage;if(r&&/linear-gradient/.test(r)){let t=/linear-gradient\((.+)\s+[0-9]+%,\s+(.+)\s+[0-9]+%\)/.exec(r);t&&(n.solid=!1,n.bgStart=t[1]||n.bgStart,n.bgEnd=t[2]||"#5cbf2a")}return n})()),{borderColor:null!=(n=null==u?void 0:u.borderColor)?n:"#18ab29",borderRadius:null!=(r=null==u?void 0:u.borderRadius)?r:0,borderSize:null!=(a=null==u?void 0:u.borderWidth)?a:1}),c(["boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius"],{boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0},"boxShadow","boxShadowColor")),{fontColor:u.color,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:"bold"===u.fontWeight,fontItalic:"italic"===u.fontStyle,paddingX:u.paddingLeft,paddingY:u.paddingTop}),c(["textShadowOffsetX","textShadowOffsetY","textShadowBlurRadius"],{textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},"textShadow","textShadowColor")))}constructor(t,i){super(t),(0,r._)(this,"style",void 0),this.style=i,this.__updateStyles()}}(0,a.__decorate)([(0,l.watch)("style")],p.prototype,"__updateStyles",null),p=(0,a.__decorate)([l.component],p)},82558:function(t,i,n){"use strict";n.d(i,{allowAttributes:function(){return o}});var r=n(2748);function o(t,i,n,o){if(o&&r.Dom.isElement(i)&&!0!==o[i.nodeName]){let t=i.attributes;if(t&&t.length){let r=[];for(let n=0;n<t.length;n+=1){let s=o[i.nodeName][t[n].name];s&&(!0===s||s===t[n].value)||r.push(t[n].name)}r.length&&(n=!0),r.forEach(t=>{i.removeAttribute(t)})}}return n}},82749:function(t,i,n){"use strict";function r(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}n.d(i,{_:function(){return r}})},82758:function(t,i,n){"use strict";n.r(i),n.d(i,{ACCURACY:function(){return V},APP_VERSION:function(){return r},BASE_PATH:function(){return ep},BASE_PATH_IS_MIN:function(){return ef},BR:function(){return $},CLIPBOARD_ID:function(){return eb},COMMAND_KEYS:function(){return W},EMULATE_DBLCLICK_TIMEOUT:function(){return ei},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return d},INSEPARABLE_TAGS:function(){return D},INSERT_AS_HTML:function(){return en},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return er},INSERT_ONLY_TEXT:function(){return es},INVISIBLE_SPACE:function(){return f},INVISIBLE_SPACE_REG_EXP:function(){return g},INVISIBLE_SPACE_REG_EXP_END:function(){return b},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return E},IS_ES_MODERN:function(){return s},IS_ES_NEXT:function(){return a},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return el},IS_PROD:function(){return l},IS_TEST:function(){return u},KEY_ALIASES:function(){return eu},KEY_ALT:function(){return L},KEY_BACKSPACE:function(){return B},KEY_DELETE:function(){return H},KEY_DOWN:function(){return O},KEY_ENTER:function(){return j},KEY_ESC:function(){return P},KEY_F3:function(){return U},KEY_LEFT:function(){return R},KEY_META:function(){return I},KEY_RIGHT:function(){return z},KEY_SPACE:function(){return N},KEY_TAB:function(){return T},KEY_UP:function(){return M},LIST_TAGS:function(){return S},MARKER_CLASS:function(){return et},MODE_SOURCE:function(){return Y},MODE_SPLIT:function(){return J},MODE_WYSIWYG:function(){return K},NBSP_SPACE:function(){return m},NEARBY:function(){return q},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return G},PASSIVE_EVENTS:function(){return ey},SAFE_COUNT_CHANGE_CALL:function(){return ea},SET_TEST:function(){return h},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return y},SPACE_REG_EXP_END:function(){return C},SPACE_REG_EXP_START:function(){return _},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Q},TEXT_PLAIN:function(){return Z},TEXT_RTF:function(){return ee},TOKENS:function(){return p},globalDocument:function(){return F},globalWindow:function(){return w},lang:function(){return eg}});let r="4.9.30",o="es2015",s=!0,a=!1,l=!0,u=!1,c=!0,d="https://xdsoft.net/jodit/pro/",h=()=>u=!0,p={},f="\uFEFF",m="\xa0",g=()=>/[\uFEFF]/g,b=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+/g,_=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,C=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,w="u">typeof window?window:void 0,F="u">typeof document?document:void 0,E=/^(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,S=new Set(["ul","ol"]),A=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],D=new Set([...A,"br","hr"]),x=new Set(A),I="Meta",B="Backspace",T="Tab",j="Enter",P="Escape",L="Alt",R="ArrowLeft",M="ArrowUp",z="ArrowRight",O="ArrowDown",N="Space",H="Delete",U="F3",q=5,V=10,W=[I,B,H,M,O,z,R,j,P,U,T],$="br",G="p",K=1,Y=2,J=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),Z=X?"text":"text/plain",Q=X?"html":"text/html",ee=X?"rtf":"text/rtf",et="jodit-selection_marker",ei=300,en="insert_as_html",er="insert_clear_html",eo="insert_as_text",es="insert_only_text",ea=10,el=void 0!==w&&/Mac|iPod|iPhone|iPad/.test(w.navigator.platform),eu={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:el?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=t=>{let i=t.split("/");return/\.js/.test(i[i.length-1])?{basePath:i.slice(0,i.length-1).join("/")+"/",isMin:!0}:{basePath:t,isMin:!0}},{basePath:ed,isMin:eh}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let t=F.currentScript;if(t)return ec(t.src);let i=F.querySelectorAll("script[src]");return i&&i.length?ec(i[i.length-1].src):ec(w.location.href)})(),ep=ed,ef=eh,em="data-jodit-temp",eg={},eb="clipboard",ev="source-consumer",ey=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},82760:function(t,i,n){"use strict";n.d(i,{connection:function(){return s},error:function(){return o},options:function(){return a}});var r=n(32880);function o(t){return TypeError(t)}function s(t){return new r.ConnectionError(t)}function a(t){return new r.OptionsError(t)}},83039:function(t,i,n){"use strict";n.d(i,{UIMapsPropsForm:function(){return u}});var r=n(82749),o=n(31635),s=n(65478),a=n(76078),l=n(67510);class u extends l.UIForm{className(){return"UIMapsPropsForm"}onChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container);this.state.size=[parseInt(null==t?void 0:t.value,10)||0,parseInt(null==i?void 0:i.value,10)||0]}onExternalChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container),[n,r]=this.state.size;n.toString()!==t.value&&(t.value=n.toString()),r.toString()!==i.value&&(i.value=r.toString())}onChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container);this.state.center=[parseFloat(null==t?void 0:t.value)||0,parseFloat(null==i?void 0:i.value)||0]}onExternalChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container),[n,r]=this.state.center;n.toString()!==t.value&&(t.value=n.toString()),r.toString()!==i.value&&(i.value=r.toString())}onExternalChangeType(){let{mapType:t}=(0,a.refs)(this.container);this.state.type!==t.value&&(t.value=this.state.type)}onExternalChangeLayer(){let{layer:t}=(0,a.refs)(this.container);this.state.layer!==t.value&&(t.value=this.state.layer)}constructor(t,i){var n;super(t),(0,r._)(this,"state",void 0),this.state=i;const[o,s]=i.size,[a,u]=i.center;this.append([new l.UIInput(t,{label:"Width",name:"width",value:o,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Height",name:"height",value:s,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Latitude",name:"lat",value:a,onChange:this.onChangeCenter}),new l.UIInput(t,{label:"Longitude",name:"lng",value:u,onChange:this.onChangeCenter}),new l.UISelect(t,{label:"Map type",value:i.type,name:"mapType",options:[{value:"hybrid",text:"Hybrid"},{value:"roadmap",text:"Roadmap"},{value:"satellite",text:"Satellite"},{value:"terrain",text:"Terrain"}],onChange:t=>{i.type=t}}),new l.UISelect(t,{label:"Layer",value:null!=(n=i.layer)?n:"default",name:"layer",options:[{value:"default",text:"Default"},{value:"traffic",text:"Traffic"},{value:"transit",text:"Transit"},{value:"bicycling",text:"Bicycling"}],onChange:t=>{i.layer=t}})])}}(0,o.__decorate)([s.autobind],u.prototype,"onChangeSize",null),(0,o.__decorate)([(0,s.watch)("state.size")],u.prototype,"onExternalChangeSize",null),(0,o.__decorate)([s.autobind],u.prototype,"onChangeCenter",null),(0,o.__decorate)([(0,s.watch)(["state.center"])],u.prototype,"onExternalChangeCenter",null),(0,o.__decorate)([(0,s.watch)(["state.type"])],u.prototype,"onExternalChangeType",null),(0,o.__decorate)([(0,s.watch)(["state.layer"])],u.prototype,"onExternalChangeLayer",null),u=(0,o.__decorate)([s.component],u)},83059:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbol"}},83111:function(t,i,n){"use strict";n.d(i,{ToolbarSelect:function(){return l}});var r=n(65478),o=n(72430),s=n(70799),a=n(78644);let l=class t extends a.ToolbarButton{className(){return"ToolbarSelect"}update(){var t,i,n;super.update(),this.state.icon.name="";let{list:r,data:a}=this.control;if(r){let l=this.state.value||(a&&(0,s.isString)(a.currentValue)?a.currentValue:void 0);l||(l=Object.keys(r)[0]);let u=((0,o.isPlainObject)(r)&&r[l.toString()]||l).toString();this.state.text=null!=(n=null==(i=(t=this.control).textTemplate)?void 0:i.call(t,this.jodit,u))?n:u}}};l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],l)},83160:function(t,i){"use strict";i.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 для изменения пользовательского размера"}},83447:function(t,i,n){"use strict";n.d(i,{getHash:function(){return s}});var r=n(70799),o=n(49055);function s(t){let i=/([^[]*)\[([^\]]+)]/,n=/[\s]*,[\s]*/,s=/^(.*)[\s]*=[\s]*(.*)$/,a={};return(0,r.isString)(t)?(t.split(n).map(t=>{t=(0,o.trim)(t);let r=i.exec(t),l={};if(r){let t=r[2].split(n);r[1]&&(t.forEach(t=>{t=(0,o.trim)(t);let i=s.exec(t);i?l[i[1]]=i[2]:l[t]=!0}),a[r[1].toUpperCase()]=l)}else a[t.toUpperCase()]=!0}),a):!!t&&(Object.keys(t).forEach(i=>{a[i.toUpperCase()]=t[i]}),a)}},83632:function(t,i,n){"use strict";n.d(i,{ApplyStyle:function(){return a}});var r=n(63687),o=n(77361),s=n(55307);function a(t,i){var n;let{s:a,editor:l}=t;null==(n=l.firstChild)||n.normalize();let u=a.fakes(),c=t.s.wrapInTagGen(u),d=c.next();if(d.done)return;let h={collapsed:a.isCollapsed(),mode:o.INITIAL,element:d.value,next:s.states.START,jodit:t,style:i};for(;d&&!d.done;){let t=new r.FiniteStateMachine(s.states.START,s.transactions);for(h.element=d.value;t.getState()!==s.states.END;)h=t.dispatch("exec",h);d=c.next()}a.restoreFakes(u)}},83671:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(49055),l=n(29960),u=n(76078),c=n(50911),d=n(80870),h=n(21491);n(86012);class p extends c.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,l.attr)(this.container,"role","list");let t=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===r.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=r.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",t),t(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),o.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(t,i)=>(this.menu||(this.menu=new d.ContextMenu(this.j)),this.menu.show(i.clientX,i.clientY,[{icon:"bin",title:t===this.j.editor?"Clear":"Remove",exec:()=>{t!==this.j.editor?o.Dom.safeRemove(t):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(t)}}]),!1),this.onSelectPath=(t,i)=>{this.j.s.focus();let n=(0,l.attr)(i.target,"-path")||"/";if("/"===n)return this.j.execCommand("selectall"),!1;try{let t=this.j.ed.evaluate(n,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(t)return this.j.s.select(t),!1}catch(t){}return this.j.s.select(t),!1},this.tpl=(t,i,n,r)=>{let o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${i}" title="${r}" tabindex="-1"'>${(0,a.trim)(n)}</a></span>`),s=o.firstChild;return this.j.e.on(s,"click",this.onSelectPath.bind(this,t)).on(s,"contextmenu",this.onContext.bind(this,t)),o},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,h.makeButton)(this.j,function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({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 t=this.j.s.current();if(this.container&&(this.container.innerHTML=r.INVISIBLE_SPACE),t){let i,n,r;o.Dom.up(t,t=>{t&&this.j.editor!==t&&!o.Dom.isText(t)&&!o.Dom.isComment(t)&&(i=t.nodeName.toLowerCase(),n=(0,u.getXPathByElement)(t,this.j.editor).replace(/^\//,""),r=this.tpl(t,n,i,this.j.i18n("Select %s",i)),this.container&&this.container.insertBefore(r,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)}}s.pluginSystem.add("xpath",p)},83709:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg> '},83725:function(t,i,n){"use strict";n.d(i,{Autocomplete:function(){return c}});var r=n(82749),o=n(31635),s=n(31356),a=n(35934),l=n(65478),u=n(62405);class c extends u.UIGroup{className(){return"Autocomplete"}onChangeSelection(){var t,i;this.elements.forEach(t=>t.setMod("active",!1)),null==(t=this.elements[this.currentSelection])||t.setMod("active",!0),null==(i=this.elements[this.currentSelection])||i.container.scrollIntoView(!1)}build(t){var i;let n=null==(i=this.elements[this.currentSelection])?void 0:i.item.value,r=t=>t.value,o=s.ListReconciler.reconcile(this.__previousList,t,{getId:r}),l=new Set;o.toRemove.forEach(t=>{let i=r(t);if(l.has(i))return;l.add(i);let n=this.itemsMap.get(i);n&&(-1!==this.elements.indexOf(n)&&(this.remove(n),n.destruct()),this.itemsMap.delete(t.value))}),o.toCreate.forEach(i=>{let n=r(i);if(l.has(n))return;l.add(n);let o=new a.AutocompleteItem(this.jodit,i,i=>{this.currentSelection=t.findIndex(t=>r(t)===i),this.select()});this.itemsMap.set(n,o);let s=t.indexOf(i);this.append(o,s)}),o.toUpdate.forEach(({newItem:t,index:i})=>{let n=r(t);if(l.has(n))return;l.add(n);let o=this.itemsMap.get(n);o&&(o.item=t,this.elements.indexOf(o)!==i&&i<this.elements.length&&(this.remove(o),this.append(o,i)))});let u=this.currentSelection;this.currentSelection=Math.max(0,t.findIndex(t=>r(t)===n)),u===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...t]}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(...t){super(...t),(0,r._)(this,"elements",[]),(0,r._)(this,"currentSelection",-1),(0,r._)(this,"__previousList",[]),(0,r._)(this,"itemsMap",new Map)}}(0,o.__decorate)([(0,l.watch)("currentSelection")],c.prototype,"onChangeSelection",null),c=(0,o.__decorate)([l.component],c)},83967:function(t,i,n){"use strict";var r=n(75689),o=n.n(r),s=n(6441),a=n(53326);s.Config.prototype.controls.pasteCode={icon:o(),tooltip:"Paste code",command:"pasteCode"},s.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(t){switch(t){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return t},highlightLib:{beforeLibLoad(){window.Prism=window.Prism||{},window.Prism.manual=!0},highlight(t,i){return"u">typeof Prism?Prism.highlight(t,Prism.languages[i]||Prism.languages.plain,i):(0,a.htmlspecialchars)(t)},isLangLoaded(t){return"html"===t||"u">typeof Prism&&!!Prism.languages[t]},js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js","https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"],langUrl:t=>`https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-${t}.min.js`,css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:(t,i,n)=>`<pre class="language-${i}">${(0,a.htmlspecialchars)(n)}</pre>`,languages:[{value:"plaintext",text:"Plain"},{value:"html",text:"HTML/XML"},{value:"bash",text:"Bash"},{value:"php",text:"PHP"},{value:"javascript",text:"JavaScript"},{value:"typescript",text:"TypeScript"},{value:"jsx",text:"JSX"},{value:"java",text:"Java"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"},{value:"sql",text:"SQL"},{value:"docker",text:"Docker"},{value:"http",text:"HTTP"},{value:"ini",text:"INI"},{value:"yaml",text:"YAML"},{value:"json",text:"JSON"},{value:"json5",text:"JSON5"},{value:"makefile",text:"Makefile"},{value:"swift",text:"Swift"}],dialog:{width:700,height:600}}},83987:function(t,i,n){"use strict";n.d(i,{buildData:function(){return o}});var r=n(21537);function o(t,i){if((0,r.isFunction)(t.o.buildData))return t.o.buildData.call(t,i);let n=t.ow.FormData;if(void 0!==n){if(i instanceof n||(0,r.isString)(i))return i;let t=new n;return Object.keys(i).forEach(n=>{t.append(n,i[n])}),t}return i}},84021:function(t,i,n){"use strict";n.d(i,{removeExtraTags:function(){return o}});let r=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function o(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||r.has(t.name)?(t.remove(),null):t}},84075:function(t,i,n){"use strict";n.d(i,{ViewWithToolbar:function(){return g}});var r=n(78213),o=n(45219),s=n(37133),a=n(2748),l=n(76855),u=n(70799),c=n(76078),d=n(67510),h=n(43649),p=n(35608),f=n(21491),m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class g extends p.View{get toolbarContainer(){return!this.o.fullsize&&((0,u.isString)(this.o.toolbar)||a.Dom.isHTMLElement(this.o.toolbar))?(0,c.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od):(this.o.toolbar&&a.Dom.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer)}setPanel(t){this.o.toolbar=t,this.buildToolbar()}buildToolbar(){var t;if(!this.o.toolbar)return;let i=this.o.buttons?(0,l.splitArray)(this.o.buttons):[];null==(t=this.toolbar)||t.setRemoveButtons(this.o.removeButtons).build(i.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(t){var i;this.registeredButtons.add(t);let n=null!=(i=t.group)?i:"other";return this.groupToButtons[n]||(this.groupToButtons[n]=[]),null!=t.position?this.groupToButtons[n][t.position]=t.name:this.groupToButtons[n].push(t.name),this}unregisterButton(t){var i;this.registeredButtons.delete(t);let n=null!=(i=t.group)?i:"other",r=this.groupToButtons[n];if(r){let i=r.indexOf(t.name);-1!==i&&r.splice(i,1),0===r.length&&delete this.groupToButtons[n]}return this}beforeToolbarBuild(t){if(Object.keys(this.groupToButtons).length)return t.map(t=>(0,h.isButtonGroup)(t)&&t.group&&this.groupToButtons[t.group]?{group:t.group,buttons:[...t.buttons,...this.groupToButtons[t.group]]}:t)}destruct(){this.isDestructed||(this.setStatus(r.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}constructor(t,i=!1){super(t,i),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 d.UITooltip(this),this.isJodit=i,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}m([(0,s.watch)(":rebuildToolbar")],g.prototype,"buildToolbar",null),m([o.autobind],g.prototype,"beforeToolbarBuild",null)},84272:function(t,i,n){"use strict";n.d(i,{isInlineBlock:function(){return a},removeFormatForCollapsedSelection:function(){return s}});var r=n(82758),o=n(2748);function s(t,i){let{s:n}=t,r=i;if(!r){r=t.createInside.fake();let{range:i}=n;o.Dom.safeInsertNode(i,r),i.collapse()}let s=o.Dom.furthest(r,a,t.editor);if(s)if(n.cursorOnTheLeft(s))o.Dom.before(s,r);else if(n.cursorOnTheRight(s))o.Dom.after(s,r);else{let t=n.splitSelection(s);t&&o.Dom.after(t,r)}i||(n.setCursorBefore(r),o.Dom.safeRemove(r))}function a(t){return o.Dom.isInlineBlock(t)&&!o.Dom.isTag(t,r.INSEPARABLE_TAGS)}},84380:function(t,i,n){"use strict";var r=n(82758),o=n(6441),s=n(117);function a(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}o.Config.prototype.askBeforePasteHTML=!0,o.Config.prototype.processPasteHTML=!0,o.Config.prototype.scrollToPastedContent=!0,o.Config.prototype.pasteExcludeStripTags=["br","hr"],o.Config.prototype.pasteHTMLActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Insert as Text"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.Config.prototype.memorizeChoiceWhenPasteFragment=!1,o.Config.prototype.nl2brInPlainText=!0;let l="pasteStorage";o.Config.prototype.controls.paste={tooltip:"Paste from clipboard",exec(t,i,n){var o;return(o=function*(t,i,{control:n}){if(n.name===l)return void t.execCommand("showPasteStorage");t.s.focus();let o="",a=!0;if(navigator.clipboard){try{let t=yield navigator.clipboard.read();if(t&&t.length){let i=yield t[0].getType(r.TEXT_PLAIN);o=yield new Response(i).text()}a=!1}catch(t){r.IS_PROD}if(a)try{o=yield navigator.clipboard.readText(),a=!1}catch(t){r.IS_PROD}}a&&(a=0===(o=t.buffer.get(r.CLIPBOARD_ID)||"").length);let u=t.value;a?(t.ed.execCommand("paste"),(a=u===t.value)||t.e.fire("afterPaste")):o.length?((0,s.pasteInsertHtml)(null,t,o),t.e.fire("afterPaste")):a&&t.alert("Your browser doesn't support direct access to the clipboard.",()=>void t.s.focus())},function(){var t=this,i=arguments;return new Promise(function(n,r){var s=o.apply(t,i);function l(t){a(s,n,r,l,u,"next",t)}function u(t){a(s,n,r,l,u,"throw",t)}l(void 0)})}).apply(this,arguments)},list:{[l]:"Paste Storage"},isChildDisabled(t){return 2>t.e.fire("pasteStorageList")}}},84767:function(t,i,n){"use strict";function r(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}n.d(i,{isNumber:function(){return r}})},84858:function(t,i){"use strict";i.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> '},85017:function(t,i){"use strict";i.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"}},85120:function(t,i,n){"use strict";n.d(i,{UITextArea:function(){return h}});var r,o,s,a=n(65478),l=n(87325),u=n(80256);function c(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}var d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let h=s=class t extends u.UIInput{className(){return"UITextArea"}createNativeInput(t){return this.j.create.element("textarea")}onChangeStateSize(){let{size:t,resizable:i}=this.state;this.nativeInput.style.resize=i?"auto":"none",this.nativeInput.rows=null!=t?t:5}constructor(t,i){super(t,i),this.state=c({},s.defaultState),Object.assign(this.state,i),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};h.defaultState=(r=c({},u.UIInput.defaultState),o=o={size:5,resizable:!0},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(o)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))}),r),d([(0,a.watch)(["state.size","state.resizable"])],h.prototype,"onChangeStateSize",null),h=s=d([l.component],h)},85130:function(t,i,n){"use strict";n.d(i,{execute:function(){return s}});var r=n(77688),o=n(6689);function s(t,i,n){return(0,r._)(function*(){let{contextCharsBefore:r,contextCharsAfter:s}=i;if((0,o.throwIfAborted)(n),t.s.restore(),t.s.isCollapsed())return{hasSelection:!1};let a=t.s.html,l=t.s.range,u=l.toString(),c={hasSelection:!0,html:a,text:u,startContainer:l.startContainer.nodeName,endContainer:l.endContainer.nodeName};if(r>0||s>0){let i=t.editor.textContent||"",n=i.substring(0,i.indexOf(u)),o=i.substring(i.indexOf(u)+u.length);r>0&&(c.contextBefore=n.slice(-r)),s>0&&(c.contextAfter=o.slice(0,s))}return c})()}},85174:function(t,i,n){"use strict";var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(31635);n(3536);var u=n(4941),c=n(65478),d=n(49055),h=n(20356),p=n(2692);class f extends h.Plugin{afterInit(t){return(0,r._)(function*(){let i=yield t.o.emoji.data();t.isInDestruct||(this.data=(0,a._)((0,s._)({},i),{emoji:i.emoji.map(u.Emoji.normalizeEmoji)}),t.o.emoji.enableAutoComplete&&t.e.fire("registerAutocompleteSource",this.onAutoComplete),t.async.requestIdleCallback(()=>{t.getInstance(u.Emoji)}))}).call(this)}onAutoComplete(t){return t.length>2&&":"===t[0]&&(t=t.substr(1).toLowerCase(),(0,d.trim)(t).length)?this.data.emoji.filter(i=>{var n;return(null==(n=i.description)?void 0:n.indexOf(t))===0}).sort((i,n)=>i.description.indexOf(t)-n.description.indexOf(t)).map(t=>({title:`${t.emoji} ${t.description}`,value:t.emoji})):[]}beforeDestruct(t){}constructor(...t){super(...t),(0,o._)(this,"hasStyle",!p.JoditPro.fatMode),(0,o._)(this,"buttons",[{name:"emoji",group:"insert"}]),(0,o._)(this,"data",void 0)}}(0,o._)(f,"requires",["autocomplete","license"]),(0,l.__decorate)([c.autobind],f.prototype,"onAutoComplete",null),p.JoditPro.plugins.add("emoji",f)},85407:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(21537),l=n(20356),u=n(10830);class c extends l.Plugin{createDialog(){this.dialog=this.j.dlg();let t=(0,u.Button)(this.j,"paste","Paste","primary");t.onAction(this.paste);let i=(0,u.Button)(this.j,"","Cancel");i.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([t,i]),this.j.e.on(this.listBox,"click dblclick",t=>{let i=t.target;return o.Dom.isTag(i,"a")&&i.hasAttribute("data-index")&&this.selectIndex(parseInt((0,a.attr)(i,"-index")||"0",10)),"dblclick"===t.type&&this.paste(),!1})}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",()=>this.list.length).on("afterCopy.paste-storage",t=>{-1!==this.list.indexOf(t)&&this.list.splice(this.list.indexOf(t),1),this.list.unshift(t),this.list.length>5&&(this.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),o.Dom.safeRemove(this.previewBox),o.Dom.safeRemove(this.listBox),o.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}constructor(){super(...arguments),this.currentIndex=0,this.list=[],this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.paste=()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){let t=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=t}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")},this.onKeyDown=t=>{let i=this.currentIndex;if(-1!==[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(t.key)){if(t.key===r.KEY_UP&&(0===i?i=this.list.length-1:i-=1),t.key===r.KEY_DOWN&&(i===this.list.length-1?i=0:i+=1),t.key===r.KEY_ENTER)return void this.paste();i!==this.currentIndex&&this.selectIndex(i),t.stopImmediatePropagation(),t.preventDefault()}},this.selectIndex=t=>{this.listBox&&(0,a.toArray)(this.listBox.childNodes).forEach((i,n)=>{i.classList.remove("jodit_active"),t===n&&this.previewBox&&(i.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[t],i.focus())}),this.currentIndex=t},this.showDialog=()=>{this.list.length<2||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((t,i)=>{let n=this.j.c.element("a");n.textContent=i+1+". "+t.replace((0,r.SPACE_REG_EXP)(),""),this.j.e.on(n,"keydown",this.onKeyDown),(0,a.attr)(n,"href","#"),(0,a.attr)(n,"data-index",i.toString()),(0,a.attr)(n,"tab-index","-1"),this.listBox&&this.listBox.appendChild(n)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))}}}s.pluginSystem.add("pasteStorage",c)},85567:function(t,i,n){"use strict";n.d(i,{PII:function(){return r},WARN:function(){return o}});let r=440,o=940},85723:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Hauteur de ligne"}},85745:function(t,i,n){"use strict";n(6441).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},86012:function(t,i,n){"use strict";n(6441).Config.prototype.showXPathInStatusbar=!0},86019:function(t,i,n){"use strict";n.d(i,{Jodit:function(){return r.Jodit}});var r=n(2303),o=n(27613),s=n(82758),a=n(65478),l=n(41409),u=n(17555),c=n(26152);n(46448),Object.keys(s).forEach(t=>{r.Jodit[t]=s[t]});let d=t=>"__esModule"!==t;Object.keys(u).filter(d).forEach(t=>{l.Icon.set(t.replace("_","-"),u[t])}),Object.keys(l).filter(d).forEach(t=>{var i;let n=l[t],s=(0,o.isFunction)(null==(i=n.prototype)?void 0:i.className)?n.prototype.className():t;(0,o.isString)(s)&&(r.Jodit.modules[s]=n)}),Object.keys(a).filter(d).forEach(t=>{r.Jodit.decorators[t]=a[t]}),["Confirm","Alert","Prompt"].forEach(t=>{r.Jodit[t]=l[t]}),Object.keys(c.default).filter(d).forEach(t=>{r.Jodit.lang[t]=c.default[t]})},86068:function(t,i,n){"use strict";function r(t){return null==t}n.d(i,{isVoid:function(){return r}})},86273:function(t,i){"use strict";i.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"}},86327:function(t,i,n){"use strict";n.d(i,{UIForm:function(){return c}});var r=n(4012),o=n(87325),s=n(43555),a=n(80256),l=n(12234),u=n(62405);let c=class t extends u.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let t of this.allChildren.filter(t=>r.Component.isInstanceOf(t,a.UIInput)))if(!t.validate())return!1;for(let t of this.allChildren.filter(t=>r.Component.isInstanceOf(t,l.UISelect)))if(!t.validate())return!1;return!0}onSubmit(t){return this.j.e.on(this.container,"submit",()=>{let i=this.allChildren.filter(t=>r.Component.isInstanceOf(t,a.UIInput));return!!this.validate()&&(t(i.reduce((t,i)=>(t[i.state.name]=i.value,t),{})),!1)}),this}createContainer(){let t=this.j.c.element("form");return t.classList.add(this.componentName),(0,s.attr)(t,"dir",this.j.o.direction||"auto"),(0,s.attr)(t,"novalidate",""),t}constructor(...t){var i,n;super(...t),(null==(i=this.options)?void 0:i.className)&&this.container.classList.add(null==(n=this.options)?void 0:n.className)}};c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([o.component],c)},86397:function(t,i,n){"use strict";n.d(i,{ConnectionError:function(){return r}});class r extends Error{constructor(t){super(t),Object.setPrototypeOf(this,r.prototype)}}},86401:function(t){t.exports={"Show Blocks":"Mostrar Blocos"}},86428:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> \x3c!-- Background rounded rect --\x3e <rect x="1" y="1" width="22" height="22" rx="3"/> \x3c!-- Letter A - outer shape --\x3e <polygon points="8,5 2,19 5,19 6.5,16 11.5,16 13,19 16,19 10,5" fill="white"/> \x3c!-- Letter A - inner triangle (hole) --\x3e <polygon points="9,9 7.5,13 10.5,13" fill="currentColor"/> \x3c!-- Letter I --\x3e <rect x="17" y="5" width="3" height="14" fill="white"/> </svg>'},86449:function(t,i,n){"use strict";n.d(i,{APIClient:function(){return c}});var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(82758),u=n(21537);class c{sendRequest(t,i,n,o,s){return(0,r._)(function*(){let{apiRequest:r,requestTimeout:a,maxRetries:c}=this.jodit.o.aiAssistantPro;if(!r)throw Error("AI Assistant Pro callback is not configured");let d=new AbortController;this.abortControllers.add(d);try{let h=this.buildRequestContext(t,i,n,o,s),p=null;for(let t=0;c>=t;t++)try{if(d.signal.aborted)throw(0,u.abort)();let t=setTimeout(()=>{d.abort()},a);try{let i=yield r(h,d.signal);return clearTimeout(t),this.validateResponse(i),i}catch(i){throw clearTimeout(t),i}}catch(i){if(p=i,l.IS_PROD,c>t){let i=this.calculateRetryDelay(t);yield this.sleep(i)}else throw i}throw p||Error("API request failed after all retries")}finally{this.abortControllers.delete(d)}}).call(this)}abort(){this.abortControllers.forEach(t=>{t.abort()}),this.abortControllers.clear()}isInProgress(){return this.abortControllers.size>0}buildRequestContext(t,i,n,r,o){let{apiMode:l,instructions:u}=this.jodit.o.aiAssistantPro,c={mode:l,conversationId:t,tools:this.toolRegistry.getAllTools(),selectionContexts:r,conversationOptions:o,instructions:u},d=[];if("full"===l)d=i;else if(n){let t=i.findIndex(t=>t.id===n);d=-1!==t?i.slice(t+1):i,c=(0,a._)((0,s._)({},c),{parentMessageId:n})}else d=i;return(0,a._)((0,s._)({},c),{messages:this.expandToolMessages(d,i.find(t=>t.id===n))})}expandToolMessages(t,i){let n=[];for(let i of t)n.push(i),this.expandToolResultsMessage(i,n);return i&&this.expandToolResultsMessage(i,n),n}expandToolResultsMessage(t,i){if(t.toolCalls&&t.toolCalls.length>0)for(let r of t.toolCalls){var n;let o=null!=(n=r.result)?n:{error:"result not found"};if(i.find(t=>t.id===`${r.id}-result`))continue;let s={id:`${r.id}-result`,role:"tool",content:o.error?`Error: ${o.error}`:JSON.stringify(o.result),timestamp:t.timestamp,toolResults:[{toolCallId:r.id,result:o}]};i.push(s)}}validateResponse(t){if("final"!==t.mode)return;let i=t.response;if(!i)throw Error("API returned empty response");if(!i.responseId)throw Error("API response missing responseId");if(void 0===i.content)throw Error("API response missing content");if(void 0===i.finished)throw Error("API response missing finished flag");if(i.toolCalls){if(!Array.isArray(i.toolCalls))throw Error("API response toolCalls must be an array");i.toolCalls.forEach((t,i)=>{if(!t.id)throw Error(`Tool call at index ${i} is missing id`);if(!t.name)throw Error(`Tool call at index ${i} is missing name`);if(!t.arguments||"object"!=typeof t.arguments)throw Error(`Tool call at index ${i} has invalid arguments`)})}}calculateRetryDelay(t){let{retryDelay:i}=this.jodit.o.aiAssistantPro;return i*Math.pow(2,t)+Math.random()*i}sleep(t){return new Promise(i=>setTimeout(i,t))}destruct(){this.abort()}constructor(t,i){(0,o._)(this,"jodit",void 0),(0,o._)(this,"toolRegistry",void 0),(0,o._)(this,"abortControllers",void 0),this.jodit=t,this.toolRegistry=i,this.abortControllers=new Set}}},86518:function(t,i,n){"use strict";n.d(i,{safeHTML:function(){return s},sanitizeHTMLElement:function(){return a}});var r=n(2748),o=n(43555);function s(t,i){(r.Dom.isElement(t)||r.Dom.isFragment(t))&&(i.removeOnError&&(a(t),(0,o.$$)("[onerror]",t).forEach(t=>a(t,i))),i.safeJavaScriptLink&&(a(t),(0,o.$$)('a[href^="javascript"]',t).forEach(t=>a(t,i))))}function a(t,{safeJavaScriptLink:i,removeOnError:n}={safeJavaScriptLink:!0,removeOnError:!0}){if(!r.Dom.isElement(t))return!1;let s=!1;n&&t.hasAttribute("onerror")&&((0,o.attr)(t,"onerror",null),s=!0);let l=t.getAttribute("href");return i&&l&&0===l.trim().indexOf("javascript")&&((0,o.attr)(t,"href",location.protocol+"//"+l),s=!0),s}},86563:function(t,i,n){"use strict";n.d(i,{UIMessageList:function(){return c}});var r=n(82749),o=n(31635),s=n(51359),a=n(65478),l=n(62405),u=n(31356);class c extends l.UIGroup{className(){return"UIMessageList"}render(){return'<div class="&__scroll-container"></div>'}afterRender(){this.scrollContainer=this.container}onUserScroll(){if(!this.scrollContainer)return;let{scrollTop:t,scrollHeight:i,clientHeight:n}=this.scrollContainer;this.autoScrollEnabled=i-t-n<10}onMessageSent(){this.autoScrollEnabled=!0,this.scrollToBottom()}appendChildToContainer(t){this.scrollContainer&&this.scrollContainer.appendChild(t)}setMessages(t){let i=this.messages.slice();this.messages=t.slice(),this.updateMessageList(i),this.scrollToBottom()}updateMessageList(t){let i=u.ListReconciler.reconcile(t,this.messages,{getId:t=>t.id,isEqual:(t,i)=>t.id===i.id&&t.content===i.content&&t.timestamp===i.timestamp&&JSON.stringify(t.artifacts)===JSON.stringify(i.artifacts)&&JSON.stringify(t.toolCalls)===JSON.stringify(i.toolCalls),preserveOrder:!0});i.toRemove.forEach(t=>{let i=this.messageItems.get(t.id);i&&(-1!==this.elements.indexOf(i)&&(this.remove(i),i.destruct()),this.messageItems.delete(t.id))}),i.toUpdate.forEach(({newItem:t,index:i})=>{let n=this.messageItems.get(t.id);n&&(n.updateMessage(t),this.elements.indexOf(n)!==i&&i<this.elements.length&&(this.remove(n),this.append(n,i)))}),i.toCreate.forEach(t=>{let i=new s.UIMessageListItem(this.j,t,this.params);this.messageItems.set(t.id,i);let n=this.messages.indexOf(t);this.append(i,n)})}scrollToBottom(){!this.j.isDestructed&&this.autoScrollEnabled&&(this.container.scrollTop=this.container.scrollHeight)}destruct(){this.messageItems.clear(),this.messages=[],super.destruct()}constructor(t,i){super(t),(0,r._)(this,"params",void 0),(0,r._)(this,"messages",void 0),(0,r._)(this,"messageItems",void 0),(0,r._)(this,"scrollContainer",void 0),(0,r._)(this,"autoScrollEnabled",void 0),this.params=i,this.messages=[],this.messageItems=new Map,this.autoScrollEnabled=!0}}(0,o.__decorate)([(0,a.hook)("ready")],c.prototype,"afterRender",null),(0,o.__decorate)([(0,a.watch)(["scrollContainer:wheel","scrollContainer:scroll","scrollContainer:touchmove"]),(0,a.throttle)(t=>t.defaultTimeout)],c.prototype,"onUserScroll",null),(0,o.__decorate)([(0,a.watch)(":messageSent.ai-assistant-pro")],c.prototype,"onMessageSent",null),(0,o.__decorate)([a.autobind],c.prototype,"setMessages",null),(0,o.__decorate)([(0,a.throttle)(t=>2*t.defaultTimeout)],c.prototype,"scrollToBottom",null),c=(0,o.__decorate)([a.component],c)},86583:function(t,i,n){"use strict";n.d(i,{dataBind:function(){return s}});var r=n(39955);let o=new WeakMap,s=(t,i,n)=>{let s=o.get(t);if(!s){s={},o.set(t,s);let i=null;(0,r.isViewObject)(t.j)&&(i=t.j.e),(0,r.isViewObject)(t)&&(i=t.e),i&&i.on("beforeDestruct",()=>{o.delete(t)})}return void 0===n?s[i]:(s[i]=n,n)}},86820:function(t){t.exports='<svg viewBox="0 0 88 88" fill="none" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M44 0.513519C27.2931 0.513519 13.75 13.8981 13.75 30.4095C13.75 46.9208 44 87.4835 44 87.4835C44 87.4835 74.25 46.9208 74.25 30.4095C74.25 13.8981 60.7069 0.513519 44 0.513519ZM19.25 30.4095C19.25 16.921 30.3518 5.94914 44 5.94914C57.6482 5.94914 68.75 16.921 68.75 30.4095C68.75 39.8049 54.9945 62.4871 44 78.1329C33.0055 62.4871 19.25 39.8049 19.25 30.4095ZM44 16.8204C36.4052 16.8204 30.25 22.9035 30.25 30.4095C30.25 37.9154 36.4052 43.9985 44 43.9985C51.5948 43.9985 57.75 37.9154 57.75 30.4095C57.75 22.9035 51.5948 16.8204 44 16.8204ZM44 38.5629C39.4508 38.5629 35.75 34.9054 35.75 30.4095C35.75 25.9135 39.4508 22.256 44 22.256C48.5492 22.256 52.25 25.9135 52.25 30.4095C52.25 34.9054 48.5492 38.5629 44 38.5629Z" fill="#404040"/> </g> <defs> <rect width="88" height="86.97" fill="white" transform="translate(0 0.513519)"/> </defs> </svg>'},86835:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},87058:function(t,i,n){"use strict";n.d(i,{camelCase:function(){return r}});let r=t=>t.replace(/([-_])(.)/g,(t,i,n)=>n.toUpperCase())},87325:function(t,i,n){"use strict";n.d(i,{component:function(){return a},getComponentClass:function(){return l}});var r=n(82758),o=n(80568);let s=new Map;function a(t){class i extends t{constructor(...t){super(...t),this.constructor===i&&(this instanceof i||Object.setPrototypeOf(this,i.prototype),this.setStatus("ready"))}}let n=(0,o.getClassName)(t.prototype);if(s.has(n)&&!r.IS_PROD)throw Error(`Component with name "${n}" is already registered`);return s.set(n,i),i}function l(t){return s.get(t)}},87394:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(5119);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],r.Icon.set("symbols",s.default),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:(t,i,n)=>{let r=t.e.fire("generateSpecialCharactersTable.symbols");if(r){if(t.o.usePopupForSpecialCharacters){let i=t.c.div();return i.classList.add("jodit-symbols"),i.appendChild(r),t.e.on(r,"close_dialog",n),i}t.alert(r,"Select Special Character",void 0,"jodit-symbols").bindDestruct(t);let i=r.querySelector("a");i&&i.focus()}}}},87536:function(t,i,n){"use strict";n.d(i,{checkRemoveContentNotEditable:function(){return a}});var r=n(22732),o=n(21537),s=n(45124);function a(t,i,n){let a=r.Dom.findSibling(i,n);return!a&&i.parentElement&&i.parentElement!==t.editor&&(a=r.Dom.findSibling(i.parentElement,n)),!(!r.Dom.isElement(a)||r.Dom.isContentEditable(a,t.editor))&&((0,o.call)(n?r.Dom.before:r.Dom.after,a,i),r.Dom.safeRemove(a),(0,s.moveNodeInsideStart)(t,i,n),(0,o.call)(n?t.s.setCursorBefore:t.s.setCursorAfter,i),!0)}},87602:function(t,i,n){"use strict";n.d(i,{applySize:function(){return l}});var r=n(29807),o=n(29960),s=n(41180),a=n(14415);function l(t,i,n,l){if(i!==t.offsetWidth||n!==t.offsetHeight){let u=i?(0,a.normalSizeToString)(i):null,c=n?(0,a.normalSizeToString)(n):null;(0,s.css)(t,{width:u,height:u&&l?null:c}),(0,o.attr)(t,"width",u&&(0,r.isNumeric)(i)&&(0,o.attr)(t,"width")?u:null),(!(0,o.attr)(t,"width")||l)&&(c=null),(0,o.attr)(t,"height",c)}}},87612:function(t,i,n){"use strict";function r(t){return"boolean"==typeof t}n.d(i,{isBoolean:function(){return r}})},88092:function(t,i,n){"use strict";var r=n(67008),o=n.n(r),s=n(6441),a=n(2748),l=n(68345);s.Config.prototype.controls.iframeEditor={icon:o(),tooltip:"Iframe Editor",exec:(t,i)=>{a.Dom.isTag(i,"jodit")&&a.Dom.isTag(i.firstElementChild,"iframe")&&(i=i.firstElementChild),t.e.fire("toggleIframeEditor",a.Dom.isTag(i,"iframe")?i:null)}},(0,l.isArray)(s.Config.prototype.popup.iframe)&&s.Config.prototype.popup.iframe.push("iframeEditor")},88572:function(t,i,n){"use strict";n.d(i,{UIFormButtonGenerator:function(){return c}});var r=n(82749),o=n(2748),s=n(4510),a=n(38837),l=n(67510),u=n(62357);class c extends l.UIElement{className(){return"UIFormButtonGenerator"}update(){this.onUpdates.forEach(t=>t());let t=this.getElm("box-shadow");(0,a.assert)(null!=t,"box-shadow does not exists");let i=this.getElm("text-shadow");(0,a.assert)(null!=i,"text-shadow does not exists"),t.style.display=this.state.boxShadow?"":"none",i.style.display=this.state.textShadow?"":"none"}render(){return`<div>
|
|
565
|
+
</div>`}static extractStyle(t,i){var n,r,a,l;let u=(null==(l=i.ownerDocument.defaultView)?void 0:l.getComputedStyle(i))||{},c=(t,i,n,r)=>{let o=u[n];return!o||["none","inherit","initial","unset"].includes(o)?{[n]:!1}:(o.replace(/,\s/g,",").split(/\s+/).forEach(n=>{if(/[0-9.]+(px|pt|em|%)/.test(n)){let r=t.shift();r&&(i[r]=n)}else"inset"===n?i.boxShadowInset=!0:i[r]=n}),i[n]=!0,i)};Object.assign(t,(0,o._)((0,s._)((0,o._)((0,s._)((0,o._)({text:i.innerText,className:i.className,href:i.getAttribute("href")||""},(()=>{var t,i;let n={solid:!0,bgStart:null!=(t=u.backgroundColor)?t:"#44c767",bgEnd:null!=(i=u.backgroundColor)?i:"#44c767"},r=u.backgroundImage;if(r&&/linear-gradient/.test(r)){let t=/linear-gradient\((.+)\s+[0-9]+%,\s+(.+)\s+[0-9]+%\)/.exec(r);t&&(n.solid=!1,n.bgStart=t[1]||n.bgStart,n.bgEnd=t[2]||"#5cbf2a")}return n})()),{borderColor:null!=(n=null==u?void 0:u.borderColor)?n:"#18ab29",borderRadius:null!=(r=null==u?void 0:u.borderRadius)?r:0,borderSize:null!=(a=null==u?void 0:u.borderWidth)?a:1}),c(["boxShadowOffsetX","boxShadowOffsetY","boxShadowBlurRadius","boxShadowSpreadRadius"],{boxShadowBlurRadius:0,boxShadowColor:"#3dc21b",boxShadowInset:!1,boxShadowOffsetX:0,boxShadowOffsetY:0,boxShadowSpreadRadius:0},"boxShadow","boxShadowColor")),{fontColor:u.color,fontFamily:u.fontFamily,fontSize:u.fontSize,fontWeight:"bold"===u.fontWeight,fontItalic:"italic"===u.fontStyle,paddingX:u.paddingLeft,paddingY:u.paddingTop}),c(["textShadowOffsetX","textShadowOffsetY","textShadowBlurRadius"],{textShadowBlurRadius:0,textShadowColor:"#2f6627",textShadowOffsetX:0,textShadowOffsetY:1},"textShadow","textShadowColor")))}constructor(t,i){super(t),(0,r._)(this,"style",void 0),this.style=i,this.__updateStyles()}}(0,a.__decorate)([(0,l.watch)("style")],p.prototype,"__updateStyles",null),p=(0,a.__decorate)([l.component],p)},82558:function(t,i,n){"use strict";n.d(i,{allowAttributes:function(){return o}});var r=n(2748);function o(t,i,n,o){if(o&&r.Dom.isElement(i)&&!0!==o[i.nodeName]){let t=i.attributes;if(t&&t.length){let r=[];for(let n=0;n<t.length;n+=1){let s=o[i.nodeName][t[n].name];s&&(!0===s||s===t[n].value)||r.push(t[n].name)}r.length&&(n=!0),r.forEach(t=>{i.removeAttribute(t)})}}return n}},82749:function(t,i,n){"use strict";function r(t,i,n){return i in t?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n,t}n.d(i,{_:function(){return r}})},82758:function(t,i,n){"use strict";n.r(i),n.d(i,{ACCURACY:function(){return V},APP_VERSION:function(){return r},BASE_PATH:function(){return ep},BASE_PATH_IS_MIN:function(){return ef},BR:function(){return $},CLIPBOARD_ID:function(){return eb},COMMAND_KEYS:function(){return W},EMULATE_DBLCLICK_TIMEOUT:function(){return ei},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return d},INSEPARABLE_TAGS:function(){return D},INSERT_AS_HTML:function(){return en},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return er},INSERT_ONLY_TEXT:function(){return es},INVISIBLE_SPACE:function(){return f},INVISIBLE_SPACE_REG_EXP:function(){return g},INVISIBLE_SPACE_REG_EXP_END:function(){return b},INVISIBLE_SPACE_REG_EXP_START:function(){return v},IS_BLOCK:function(){return E},IS_ES_MODERN:function(){return s},IS_ES_NEXT:function(){return a},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return el},IS_PROD:function(){return l},IS_TEST:function(){return u},KEY_ALIASES:function(){return eu},KEY_ALT:function(){return L},KEY_BACKSPACE:function(){return B},KEY_DELETE:function(){return H},KEY_DOWN:function(){return O},KEY_ENTER:function(){return j},KEY_ESC:function(){return P},KEY_F3:function(){return U},KEY_LEFT:function(){return R},KEY_META:function(){return I},KEY_RIGHT:function(){return z},KEY_SPACE:function(){return N},KEY_TAB:function(){return T},KEY_UP:function(){return M},LIST_TAGS:function(){return S},MARKER_CLASS:function(){return et},MODE_SOURCE:function(){return Y},MODE_SPLIT:function(){return J},MODE_WYSIWYG:function(){return K},NBSP_SPACE:function(){return m},NEARBY:function(){return q},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return G},PASSIVE_EVENTS:function(){return ey},SAFE_COUNT_CHANGE_CALL:function(){return ea},SET_TEST:function(){return h},SOURCE_CONSUMER:function(){return ev},SPACE_REG_EXP:function(){return y},SPACE_REG_EXP_END:function(){return C},SPACE_REG_EXP_START:function(){return _},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Q},TEXT_PLAIN:function(){return Z},TEXT_RTF:function(){return ee},TOKENS:function(){return p},globalDocument:function(){return F},globalWindow:function(){return w},lang:function(){return eg}});let r="4.9.35",o="es2015",s=!0,a=!1,l=!0,u=!1,c=!0,d="https://xdsoft.net/jodit/pro/",h=()=>u=!0,p={},f="\uFEFF",m="\xa0",g=()=>/[\uFEFF]/g,b=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+/g,_=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,C=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,w="u">typeof window?window:void 0,F="u">typeof document?document:void 0,E=/^(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,S=new Set(["ul","ol"]),A=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],D=new Set([...A,"br","hr"]),x=new Set(A),I="Meta",B="Backspace",T="Tab",j="Enter",P="Escape",L="Alt",R="ArrowLeft",M="ArrowUp",z="ArrowRight",O="ArrowDown",N="Space",H="Delete",U="F3",q=5,V=10,W=[I,B,H,M,O,z,R,j,P,U,T],$="br",G="p",K=1,Y=2,J=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),Z=X?"text":"text/plain",Q=X?"html":"text/html",ee=X?"rtf":"text/rtf",et="jodit-selection_marker",ei=300,en="insert_as_html",er="insert_clear_html",eo="insert_as_text",es="insert_only_text",ea=10,el=void 0!==w&&/Mac|iPod|iPhone|iPad/.test(w.navigator.platform),eu={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:el?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=t=>{let i=t.split("/");return/\.js/.test(i[i.length-1])?{basePath:i.slice(0,i.length-1).join("/")+"/",isMin:!0}:{basePath:t,isMin:!0}},{basePath:ed,isMin:eh}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let t=F.currentScript;if(t)return ec(t.src);let i=F.querySelectorAll("script[src]");return i&&i.length?ec(i[i.length-1].src):ec(w.location.href)})(),ep=ed,ef=eh,em="data-jodit-temp",eg={},eb="clipboard",ev="source-consumer",ey=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},82760:function(t,i,n){"use strict";n.d(i,{connection:function(){return s},error:function(){return o},options:function(){return a}});var r=n(32880);function o(t){return TypeError(t)}function s(t){return new r.ConnectionError(t)}function a(t){return new r.OptionsError(t)}},83039:function(t,i,n){"use strict";n.d(i,{UIMapsPropsForm:function(){return u}});var r=n(82749),o=n(31635),s=n(65478),a=n(76078),l=n(67510);class u extends l.UIForm{className(){return"UIMapsPropsForm"}onChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container);this.state.size=[parseInt(null==t?void 0:t.value,10)||0,parseInt(null==i?void 0:i.value,10)||0]}onExternalChangeSize(){let{width:t,height:i}=(0,a.refs)(this.container),[n,r]=this.state.size;n.toString()!==t.value&&(t.value=n.toString()),r.toString()!==i.value&&(i.value=r.toString())}onChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container);this.state.center=[parseFloat(null==t?void 0:t.value)||0,parseFloat(null==i?void 0:i.value)||0]}onExternalChangeCenter(){let{lat:t,lng:i}=(0,a.refs)(this.container),[n,r]=this.state.center;n.toString()!==t.value&&(t.value=n.toString()),r.toString()!==i.value&&(i.value=r.toString())}onExternalChangeType(){let{mapType:t}=(0,a.refs)(this.container);this.state.type!==t.value&&(t.value=this.state.type)}onExternalChangeLayer(){let{layer:t}=(0,a.refs)(this.container);this.state.layer!==t.value&&(t.value=this.state.layer)}constructor(t,i){var n;super(t),(0,r._)(this,"state",void 0),this.state=i;const[o,s]=i.size,[a,u]=i.center;this.append([new l.UIInput(t,{label:"Width",name:"width",value:o,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Height",name:"height",value:s,type:"number",onChange:this.onChangeSize}),new l.UIInput(t,{label:"Latitude",name:"lat",value:a,onChange:this.onChangeCenter}),new l.UIInput(t,{label:"Longitude",name:"lng",value:u,onChange:this.onChangeCenter}),new l.UISelect(t,{label:"Map type",value:i.type,name:"mapType",options:[{value:"hybrid",text:"Hybrid"},{value:"roadmap",text:"Roadmap"},{value:"satellite",text:"Satellite"},{value:"terrain",text:"Terrain"}],onChange:t=>{i.type=t}}),new l.UISelect(t,{label:"Layer",value:null!=(n=i.layer)?n:"default",name:"layer",options:[{value:"default",text:"Default"},{value:"traffic",text:"Traffic"},{value:"transit",text:"Transit"},{value:"bicycling",text:"Bicycling"}],onChange:t=>{i.layer=t}})])}}(0,o.__decorate)([s.autobind],u.prototype,"onChangeSize",null),(0,o.__decorate)([(0,s.watch)("state.size")],u.prototype,"onExternalChangeSize",null),(0,o.__decorate)([s.autobind],u.prototype,"onChangeCenter",null),(0,o.__decorate)([(0,s.watch)(["state.center"])],u.prototype,"onExternalChangeCenter",null),(0,o.__decorate)([(0,s.watch)(["state.type"])],u.prototype,"onExternalChangeType",null),(0,o.__decorate)([(0,s.watch)(["state.layer"])],u.prototype,"onExternalChangeLayer",null),u=(0,o.__decorate)([s.component],u)},83059:function(t,i,n){"use strict";n.r(i),i.default={symbols:"symbol"}},83111:function(t,i,n){"use strict";n.d(i,{ToolbarSelect:function(){return l}});var r=n(65478),o=n(72430),s=n(70799),a=n(78644);let l=class t extends a.ToolbarButton{className(){return"ToolbarSelect"}update(){var t,i,n;super.update(),this.state.icon.name="";let{list:r,data:a}=this.control;if(r){let l=this.state.value||(a&&(0,s.isString)(a.currentValue)?a.currentValue:void 0);l||(l=Object.keys(r)[0]);let u=((0,o.isPlainObject)(r)&&r[l.toString()]||l).toString();this.state.text=null!=(n=null==(i=(t=this.control).textTemplate)?void 0:i.call(t,this.jodit,u))?n:u}}};l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([r.component],l)},83160:function(t,i){"use strict";i.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 для изменения пользовательского размера"}},83447:function(t,i,n){"use strict";n.d(i,{getHash:function(){return s}});var r=n(70799),o=n(49055);function s(t){let i=/([^[]*)\[([^\]]+)]/,n=/[\s]*,[\s]*/,s=/^(.*)[\s]*=[\s]*(.*)$/,a={};return(0,r.isString)(t)?(t.split(n).map(t=>{t=(0,o.trim)(t);let r=i.exec(t),l={};if(r){let t=r[2].split(n);r[1]&&(t.forEach(t=>{t=(0,o.trim)(t);let i=s.exec(t);i?l[i[1]]=i[2]:l[t]=!0}),a[r[1].toUpperCase()]=l)}else a[t.toUpperCase()]=!0}),a):!!t&&(Object.keys(t).forEach(i=>{a[i.toUpperCase()]=t[i]}),a)}},83632:function(t,i,n){"use strict";n.d(i,{ApplyStyle:function(){return a}});var r=n(63687),o=n(77361),s=n(55307);function a(t,i){var n;let{s:a,editor:l}=t;null==(n=l.firstChild)||n.normalize();let u=a.fakes(),c=t.s.wrapInTagGen(u),d=c.next();if(d.done)return;let h={collapsed:a.isCollapsed(),mode:o.INITIAL,element:d.value,next:s.states.START,jodit:t,style:i};for(;d&&!d.done;){let t=new r.FiniteStateMachine(s.states.START,s.transactions);for(h.element=d.value;t.getState()!==s.states.END;)h=t.dispatch("exec",h);d=c.next()}a.restoreFakes(u)}},83671:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(49055),l=n(29960),u=n(76078),c=n(50911),d=n(80870),h=n(21491);n(86012);class p extends c.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath"),(0,l.attr)(this.container,"role","list");let t=()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===r.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=r.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",t),t(),this.calcPath()}}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),o.Dom.safeRemove(this.container),delete this.menu,delete this.container}constructor(){super(...arguments),this.onContext=(t,i)=>(this.menu||(this.menu=new d.ContextMenu(this.j)),this.menu.show(i.clientX,i.clientY,[{icon:"bin",title:t===this.j.editor?"Clear":"Remove",exec:()=>{t!==this.j.editor?o.Dom.safeRemove(t):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(t)}}]),!1),this.onSelectPath=(t,i)=>{this.j.s.focus();let n=(0,l.attr)(i.target,"-path")||"/";if("/"===n)return this.j.execCommand("selectall"),!1;try{let t=this.j.ed.evaluate(n,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(t)return this.j.s.select(t),!1}catch(t){}return this.j.s.select(t),!1},this.tpl=(t,i,n,r)=>{let o=this.j.c.fromHTML(`<span class="jodit-xpath__item"><a role="button" data-path="${i}" title="${r}" tabindex="-1"'>${(0,a.trim)(n)}</a></span>`),s=o.firstChild;return this.j.e.on(s,"click",this.onSelectPath.bind(this,t)).on(s,"contextmenu",this.onContext.bind(this,t)),o},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,h.makeButton)(this.j,function(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}({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 t=this.j.s.current();if(this.container&&(this.container.innerHTML=r.INVISIBLE_SPACE),t){let i,n,r;o.Dom.up(t,t=>{t&&this.j.editor!==t&&!o.Dom.isText(t)&&!o.Dom.isComment(t)&&(i=t.nodeName.toLowerCase(),n=(0,u.getXPathByElement)(t,this.j.editor).replace(/^\//,""),r=this.tpl(t,n,i,this.j.i18n("Select %s",i)),this.container&&this.container.insertBefore(r,this.container.firstChild))},this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout,!0)}}s.pluginSystem.add("xpath",p)},83709:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1744 1408q33 0 42 18.5t-11 44.5l-126 162q-20 26-49 26t-49-26l-126-162q-20-26-11-44.5t42-18.5h80v-1024h-80q-33 0-42-18.5t11-44.5l126-162q20-26 49-26t49 26l126 162q20 26 11 44.5t-42 18.5h-80v1024h80zm-1663-1279l54 27q12 5 211 5 44 0 132-2t132-2q36 0 107.5.5t107.5.5h293q6 0 21 .5t20.5 0 16-3 17.5-9 15-17.5l42-1q4 0 14 .5t14 .5q2 112 2 336 0 80-5 109-39 14-68 18-25-44-54-128-3-9-11-48t-14.5-73.5-7.5-35.5q-6-8-12-12.5t-15.5-6-13-2.5-18-.5-16.5.5q-17 0-66.5-.5t-74.5-.5-64 2-71 6q-9 81-8 136 0 94 2 388t2 455q0 16-2.5 71.5t0 91.5 12.5 69q40 21 124 42.5t120 37.5q5 40 5 50 0 14-3 29l-34 1q-76 2-218-8t-207-10q-50 0-151 9t-152 9q-3-51-3-52v-9q17-27 61.5-43t98.5-29 78-27q19-42 19-383 0-101-3-303t-3-303v-117q0-2 .5-15.5t.5-25-1-25.5-3-24-5-14q-11-12-162-12-33 0-93 12t-80 26q-19 13-34 72.5t-31.5 111-42.5 53.5q-42-26-56-44v-383z"/> </svg> '},83725:function(t,i,n){"use strict";n.d(i,{Autocomplete:function(){return c}});var r=n(82749),o=n(31635),s=n(31356),a=n(35934),l=n(65478),u=n(62405);class c extends u.UIGroup{className(){return"Autocomplete"}onChangeSelection(){var t,i;this.elements.forEach(t=>t.setMod("active",!1)),null==(t=this.elements[this.currentSelection])||t.setMod("active",!0),null==(i=this.elements[this.currentSelection])||i.container.scrollIntoView(!1)}build(t){var i;let n=null==(i=this.elements[this.currentSelection])?void 0:i.item.value,r=t=>t.value,o=s.ListReconciler.reconcile(this.__previousList,t,{getId:r}),l=new Set;o.toRemove.forEach(t=>{let i=r(t);if(l.has(i))return;l.add(i);let n=this.itemsMap.get(i);n&&(-1!==this.elements.indexOf(n)&&(this.remove(n),n.destruct()),this.itemsMap.delete(t.value))}),o.toCreate.forEach(i=>{let n=r(i);if(l.has(n))return;l.add(n);let o=new a.AutocompleteItem(this.jodit,i,i=>{this.currentSelection=t.findIndex(t=>r(t)===i),this.select()});this.itemsMap.set(n,o);let s=t.indexOf(i);this.append(o,s)}),o.toUpdate.forEach(({newItem:t,index:i})=>{let n=r(t);if(l.has(n))return;l.add(n);let o=this.itemsMap.get(n);o&&(o.item=t,this.elements.indexOf(o)!==i&&i<this.elements.length&&(this.remove(o),this.append(o,i)))});let u=this.currentSelection;this.currentSelection=Math.max(0,t.findIndex(t=>r(t)===n)),u===this.currentSelection&&this.onChangeSelection(),this.__previousList=[...t]}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(...t){super(...t),(0,r._)(this,"elements",[]),(0,r._)(this,"currentSelection",-1),(0,r._)(this,"__previousList",[]),(0,r._)(this,"itemsMap",new Map)}}(0,o.__decorate)([(0,l.watch)("currentSelection")],c.prototype,"onChangeSelection",null),c=(0,o.__decorate)([l.component],c)},83967:function(t,i,n){"use strict";var r=n(75689),o=n.n(r),s=n(6441),a=n(53326);s.Config.prototype.controls.pasteCode={icon:o(),tooltip:"Paste code",command:"pasteCode"},s.Config.prototype.pasteCode={globalHighlightLib:!1,canonicalLanguageCode(t){switch(t){case"ts":return"typescript";case"js":return"javascript";case"markup":return"html"}return t},highlightLib:{beforeLibLoad(){window.Prism=window.Prism||{},window.Prism.manual=!0},highlight(t,i){return"u">typeof Prism?Prism.highlight(t,Prism.languages[i]||Prism.languages.plain,i):(0,a.htmlspecialchars)(t)},isLangLoaded(t){return"html"===t||"u">typeof Prism&&!!Prism.languages[t]},js:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/prism.min.js","https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/plugins/autoloader/prism-autoloader.min.js"],langUrl:t=>`https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/components/prism-${t}.min.js`,css:["https://cdnjs.cloudflare.com/ajax/libs/prism/1.29.0/themes/prism.min.css"]},defaultLanguage:"html",insertTemplate:(t,i,n)=>`<pre class="language-${i}">${(0,a.htmlspecialchars)(n)}</pre>`,languages:[{value:"plaintext",text:"Plain"},{value:"html",text:"HTML/XML"},{value:"bash",text:"Bash"},{value:"php",text:"PHP"},{value:"javascript",text:"JavaScript"},{value:"typescript",text:"TypeScript"},{value:"jsx",text:"JSX"},{value:"java",text:"Java"},{value:"css",text:"CSS"},{value:"php",text:"PHP"},{value:"ruby",text:"Ruby"},{value:"python",text:"Python"},{value:"java",text:"Java"},{value:"c",text:"C"},{value:"csharp",text:"C#"},{value:"cpp",text:"C++"},{value:"sql",text:"SQL"},{value:"docker",text:"Docker"},{value:"http",text:"HTTP"},{value:"ini",text:"INI"},{value:"yaml",text:"YAML"},{value:"json",text:"JSON"},{value:"json5",text:"JSON5"},{value:"makefile",text:"Makefile"},{value:"swift",text:"Swift"}],dialog:{width:700,height:600}}},83987:function(t,i,n){"use strict";n.d(i,{buildData:function(){return o}});var r=n(21537);function o(t,i){if((0,r.isFunction)(t.o.buildData))return t.o.buildData.call(t,i);let n=t.ow.FormData;if(void 0!==n){if(i instanceof n||(0,r.isString)(i))return i;let t=new n;return Object.keys(i).forEach(n=>{t.append(n,i[n])}),t}return i}},84021:function(t,i,n){"use strict";n.d(i,{removeExtraTags:function(){return o}});let r=new Set(["o:p","xml","script","meta","link","v:imagedata","style"]);function o(t){return"none"===t.style.get("display")||0===t.length&&"span"===t.name||r.has(t.name)?(t.remove(),null):t}},84075:function(t,i,n){"use strict";n.d(i,{ViewWithToolbar:function(){return g}});var r=n(78213),o=n(45219),s=n(37133),a=n(2748),l=n(76855),u=n(70799),c=n(76078),d=n(67510),h=n(43649),p=n(35608),f=n(21491),m=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class g extends p.View{get toolbarContainer(){return!this.o.fullsize&&((0,u.isString)(this.o.toolbar)||a.Dom.isHTMLElement(this.o.toolbar))?(0,c.resolveElement)(this.o.toolbar,this.o.shadowRoot||this.od):(this.o.toolbar&&a.Dom.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer)}setPanel(t){this.o.toolbar=t,this.buildToolbar()}buildToolbar(){var t;if(!this.o.toolbar)return;let i=this.o.buttons?(0,l.splitArray)(this.o.buttons):[];null==(t=this.toolbar)||t.setRemoveButtons(this.o.removeButtons).build(i.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(t){var i;this.registeredButtons.add(t);let n=null!=(i=t.group)?i:"other";return this.groupToButtons[n]||(this.groupToButtons[n]=[]),null!=t.position?this.groupToButtons[n][t.position]=t.name:this.groupToButtons[n].push(t.name),this}unregisterButton(t){var i;this.registeredButtons.delete(t);let n=null!=(i=t.group)?i:"other",r=this.groupToButtons[n];if(r){let i=r.indexOf(t.name);-1!==i&&r.splice(i,1),0===r.length&&delete this.groupToButtons[n]}return this}beforeToolbarBuild(t){if(Object.keys(this.groupToButtons).length)return t.map(t=>(0,h.isButtonGroup)(t)&&t.group&&this.groupToButtons[t.group]?{group:t.group,buttons:[...t.buttons,...this.groupToButtons[t.group]]}:t)}destruct(){this.isDestructed||(this.setStatus(r.STATUSES.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}constructor(t,i=!1){super(t,i),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 d.UITooltip(this),this.isJodit=i,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}}m([(0,s.watch)(":rebuildToolbar")],g.prototype,"buildToolbar",null),m([o.autobind],g.prototype,"beforeToolbarBuild",null)},84272:function(t,i,n){"use strict";n.d(i,{isInlineBlock:function(){return a},removeFormatForCollapsedSelection:function(){return s}});var r=n(82758),o=n(2748);function s(t,i){let{s:n}=t,r=i;if(!r){r=t.createInside.fake();let{range:i}=n;o.Dom.safeInsertNode(i,r),i.collapse()}let s=o.Dom.furthest(r,a,t.editor);if(s)if(n.cursorOnTheLeft(s))o.Dom.before(s,r);else if(n.cursorOnTheRight(s))o.Dom.after(s,r);else{let t=n.splitSelection(s);t&&o.Dom.after(t,r)}i||(n.setCursorBefore(r),o.Dom.safeRemove(r))}function a(t){return o.Dom.isInlineBlock(t)&&!o.Dom.isTag(t,r.INSEPARABLE_TAGS)}},84380:function(t,i,n){"use strict";var r=n(82758),o=n(6441),s=n(117);function a(t,i,n,r,o,s,a){try{var l=t[s](a),u=l.value}catch(t){n(t);return}l.done?i(u):Promise.resolve(u).then(r,o)}o.Config.prototype.askBeforePasteHTML=!0,o.Config.prototype.processPasteHTML=!0,o.Config.prototype.scrollToPastedContent=!0,o.Config.prototype.pasteExcludeStripTags=["br","hr"],o.Config.prototype.pasteHTMLActionList=[{value:r.INSERT_AS_HTML,text:"Keep"},{value:r.INSERT_AS_TEXT,text:"Insert as Text"},{value:r.INSERT_ONLY_TEXT,text:"Insert only Text"}],o.Config.prototype.memorizeChoiceWhenPasteFragment=!1,o.Config.prototype.nl2brInPlainText=!0;let l="pasteStorage";o.Config.prototype.controls.paste={tooltip:"Paste from clipboard",exec(t,i,n){var o;return(o=function*(t,i,{control:n}){if(n.name===l)return void t.execCommand("showPasteStorage");t.s.focus();let o="",a=!0;if(navigator.clipboard){try{let t=yield navigator.clipboard.read();if(t&&t.length){let i=yield t[0].getType(r.TEXT_PLAIN);o=yield new Response(i).text()}a=!1}catch(t){r.IS_PROD}if(a)try{o=yield navigator.clipboard.readText(),a=!1}catch(t){r.IS_PROD}}a&&(a=0===(o=t.buffer.get(r.CLIPBOARD_ID)||"").length);let u=t.value;a?(t.ed.execCommand("paste"),(a=u===t.value)||t.e.fire("afterPaste")):o.length?((0,s.pasteInsertHtml)(null,t,o),t.e.fire("afterPaste")):a&&t.alert("Your browser doesn't support direct access to the clipboard.",()=>void t.s.focus())},function(){var t=this,i=arguments;return new Promise(function(n,r){var s=o.apply(t,i);function l(t){a(s,n,r,l,u,"next",t)}function u(t){a(s,n,r,l,u,"throw",t)}l(void 0)})}).apply(this,arguments)},list:{[l]:"Paste Storage"},isChildDisabled(t){return 2>t.e.fire("pasteStorageList")}}},84767:function(t,i,n){"use strict";function r(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}n.d(i,{isNumber:function(){return r}})},84858:function(t,i){"use strict";i.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> '},85017:function(t,i){"use strict";i.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"}},85120:function(t,i,n){"use strict";n.d(i,{UITextArea:function(){return h}});var r,o,s,a=n(65478),l=n(87325),u=n(80256);function c(t){for(var i=1;i<arguments.length;i++){var n=null!=arguments[i]?arguments[i]:{},r=Object.keys(n);"function"==typeof Object.getOwnPropertySymbols&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(t){return Object.getOwnPropertyDescriptor(n,t).enumerable}))),r.forEach(function(i){var r;r=n[i],i in t?Object.defineProperty(t,i,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[i]=r})}return t}var d=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};let h=s=class t extends u.UIInput{className(){return"UITextArea"}createNativeInput(t){return this.j.create.element("textarea")}onChangeStateSize(){let{size:t,resizable:i}=this.state;this.nativeInput.style.resize=i?"auto":"none",this.nativeInput.rows=null!=t?t:5}constructor(t,i){super(t,i),this.state=c({},s.defaultState),Object.assign(this.state,i),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}};h.defaultState=(r=c({},u.UIInput.defaultState),o=o={size:5,resizable:!0},Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(o)):(function(t){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);i.push.apply(i,n)}return i})(Object(o)).forEach(function(t){Object.defineProperty(r,t,Object.getOwnPropertyDescriptor(o,t))}),r),d([(0,a.watch)(["state.size","state.resizable"])],h.prototype,"onChangeStateSize",null),h=s=d([l.component],h)},85130:function(t,i,n){"use strict";n.d(i,{execute:function(){return s}});var r=n(77688),o=n(6689);function s(t,i,n){return(0,r._)(function*(){let{contextCharsBefore:r,contextCharsAfter:s}=i;if((0,o.throwIfAborted)(n),t.s.restore(),t.s.isCollapsed())return{hasSelection:!1};let a=t.s.html,l=t.s.range,u=l.toString(),c={hasSelection:!0,html:a,text:u,startContainer:l.startContainer.nodeName,endContainer:l.endContainer.nodeName};if(r>0||s>0){let i=t.editor.textContent||"",n=i.substring(0,i.indexOf(u)),o=i.substring(i.indexOf(u)+u.length);r>0&&(c.contextBefore=n.slice(-r)),s>0&&(c.contextAfter=o.slice(0,s))}return c})()}},85174:function(t,i,n){"use strict";var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(31635);n(3536);var u=n(4941),c=n(65478),d=n(49055),h=n(20356),p=n(2692);class f extends h.Plugin{afterInit(t){return(0,r._)(function*(){let i=yield t.o.emoji.data();t.isInDestruct||(this.data=(0,a._)((0,s._)({},i),{emoji:i.emoji.map(u.Emoji.normalizeEmoji)}),t.o.emoji.enableAutoComplete&&t.e.fire("registerAutocompleteSource",this.onAutoComplete),t.async.requestIdleCallback(()=>{t.getInstance(u.Emoji)}))}).call(this)}onAutoComplete(t){return t.length>2&&":"===t[0]&&(t=t.substr(1).toLowerCase(),(0,d.trim)(t).length)?this.data.emoji.filter(i=>{var n;return(null==(n=i.description)?void 0:n.indexOf(t))===0}).sort((i,n)=>i.description.indexOf(t)-n.description.indexOf(t)).map(t=>({title:`${t.emoji} ${t.description}`,value:t.emoji})):[]}beforeDestruct(t){}constructor(...t){super(...t),(0,o._)(this,"hasStyle",!p.JoditPro.fatMode),(0,o._)(this,"buttons",[{name:"emoji",group:"insert"}]),(0,o._)(this,"data",void 0)}}(0,o._)(f,"requires",["autocomplete","license"]),(0,l.__decorate)([c.autobind],f.prototype,"onAutoComplete",null),p.JoditPro.plugins.add("emoji",f)},85407:function(t,i,n){"use strict";var r=n(82758),o=n(2748),s=n(580),a=n(21537),l=n(20356),u=n(10830);class c extends l.Plugin{createDialog(){this.dialog=this.j.dlg();let t=(0,u.Button)(this.j,"paste","Paste","primary");t.onAction(this.paste);let i=(0,u.Button)(this.j,"","Cancel");i.onAction(this.dialog.close),this.container=this.j.c.div(),this.container.classList.add("jodit-paste-storage"),this.listBox=this.j.c.div(),this.previewBox=this.j.c.div(),this.container.appendChild(this.listBox),this.container.appendChild(this.previewBox),this.dialog.setHeader(this.j.i18n("Choose Content to Paste")),this.dialog.setContent(this.container),this.dialog.setFooter([t,i]),this.j.e.on(this.listBox,"click dblclick",t=>{let i=t.target;return o.Dom.isTag(i,"a")&&i.hasAttribute("data-index")&&this.selectIndex(parseInt((0,a.attr)(i,"-index")||"0",10)),"dblclick"===t.type&&this.paste(),!1})}afterInit(){this.j.e.off("afterCopy.paste-storage").on("pasteStorageList.paste-storage",()=>this.list.length).on("afterCopy.paste-storage",t=>{-1!==this.list.indexOf(t)&&this.list.splice(this.list.indexOf(t),1),this.list.unshift(t),this.list.length>5&&(this.list.length=5)}),this.j.registerCommand("showPasteStorage",{exec:this.showDialog,hotkeys:["ctrl+shift+v","cmd+shift+v"]})}beforeDestruct(){this.dialog&&this.dialog.destruct(),this.j.e.off(".paste-storage"),o.Dom.safeRemove(this.previewBox),o.Dom.safeRemove(this.listBox),o.Dom.safeRemove(this.container),this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.list=[]}constructor(){super(...arguments),this.currentIndex=0,this.list=[],this.container=null,this.listBox=null,this.previewBox=null,this.dialog=null,this.paste=()=>{if(this.j.s.focus(),this.j.s.insertHTML(this.list[this.currentIndex]),0!==this.currentIndex){let t=this.list[0];this.list[0]=this.list[this.currentIndex],this.list[this.currentIndex]=t}this.dialog&&this.dialog.close(),this.j.synchronizeValues(),this.j.e.fire("afterPaste")},this.onKeyDown=t=>{let i=this.currentIndex;if(-1!==[r.KEY_UP,r.KEY_DOWN,r.KEY_ENTER].indexOf(t.key)){if(t.key===r.KEY_UP&&(0===i?i=this.list.length-1:i-=1),t.key===r.KEY_DOWN&&(i===this.list.length-1?i=0:i+=1),t.key===r.KEY_ENTER)return void this.paste();i!==this.currentIndex&&this.selectIndex(i),t.stopImmediatePropagation(),t.preventDefault()}},this.selectIndex=t=>{this.listBox&&(0,a.toArray)(this.listBox.childNodes).forEach((i,n)=>{i.classList.remove("jodit_active"),t===n&&this.previewBox&&(i.classList.add("jodit_active"),this.previewBox.innerHTML=this.list[t],i.focus())}),this.currentIndex=t},this.showDialog=()=>{this.list.length<2||(this.dialog||this.createDialog(),this.listBox&&(this.listBox.innerHTML=""),this.previewBox&&(this.previewBox.innerHTML=""),this.list.forEach((t,i)=>{let n=this.j.c.element("a");n.textContent=i+1+". "+t.replace((0,r.SPACE_REG_EXP)(),""),this.j.e.on(n,"keydown",this.onKeyDown),(0,a.attr)(n,"href","#"),(0,a.attr)(n,"data-index",i.toString()),(0,a.attr)(n,"tab-index","-1"),this.listBox&&this.listBox.appendChild(n)}),this.dialog&&this.dialog.open(),this.j.async.setTimeout(()=>{this.selectIndex(0)},100))}}}s.pluginSystem.add("pasteStorage",c)},85567:function(t,i,n){"use strict";n.d(i,{PII:function(){return r},WARN:function(){return o}});let r=440,o=940},85723:function(t,i,n){"use strict";n.r(i),i.default={"Line height":"Hauteur de ligne"}},85745:function(t,i,n){"use strict";n(6441).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},86012:function(t,i,n){"use strict";n(6441).Config.prototype.showXPathInStatusbar=!0},86019:function(t,i,n){"use strict";n.d(i,{Jodit:function(){return r.Jodit}});var r=n(2303),o=n(27613),s=n(82758),a=n(65478),l=n(41409),u=n(17555),c=n(26152);n(46448),Object.keys(s).forEach(t=>{r.Jodit[t]=s[t]});let d=t=>"__esModule"!==t;Object.keys(u).filter(d).forEach(t=>{l.Icon.set(t.replace("_","-"),u[t])}),Object.keys(l).filter(d).forEach(t=>{var i;let n=l[t],s=(0,o.isFunction)(null==(i=n.prototype)?void 0:i.className)?n.prototype.className():t;(0,o.isString)(s)&&(r.Jodit.modules[s]=n)}),Object.keys(a).filter(d).forEach(t=>{r.Jodit.decorators[t]=a[t]}),["Confirm","Alert","Prompt"].forEach(t=>{r.Jodit[t]=l[t]}),Object.keys(c.default).filter(d).forEach(t=>{r.Jodit.lang[t]=c.default[t]})},86068:function(t,i,n){"use strict";function r(t){return null==t}n.d(i,{isVoid:function(){return r}})},86273:function(t,i){"use strict";i.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"}},86327:function(t,i,n){"use strict";n.d(i,{UIForm:function(){return c}});var r=n(4012),o=n(87325),s=n(43555),a=n(80256),l=n(12234),u=n(62405);let c=class t extends u.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let t of this.allChildren.filter(t=>r.Component.isInstanceOf(t,a.UIInput)))if(!t.validate())return!1;for(let t of this.allChildren.filter(t=>r.Component.isInstanceOf(t,l.UISelect)))if(!t.validate())return!1;return!0}onSubmit(t){return this.j.e.on(this.container,"submit",()=>{let i=this.allChildren.filter(t=>r.Component.isInstanceOf(t,a.UIInput));return!!this.validate()&&(t(i.reduce((t,i)=>(t[i.state.name]=i.value,t),{})),!1)}),this}createContainer(){let t=this.j.c.element("form");return t.classList.add(this.componentName),(0,s.attr)(t,"dir",this.j.o.direction||"auto"),(0,s.attr)(t,"novalidate",""),t}constructor(...t){var i,n;super(...t),(null==(i=this.options)?void 0:i.className)&&this.container.classList.add(null==(n=this.options)?void 0:n.className)}};c=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a}([o.component],c)},86397:function(t,i,n){"use strict";n.d(i,{ConnectionError:function(){return r}});class r extends Error{constructor(t){super(t),Object.setPrototypeOf(this,r.prototype)}}},86401:function(t){t.exports={"Show Blocks":"Mostrar Blocos"}},86428:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="currentColor"> \x3c!-- Background rounded rect --\x3e <rect x="1" y="1" width="22" height="22" rx="3"/> \x3c!-- Letter A - outer shape --\x3e <polygon points="8,5 2,19 5,19 6.5,16 11.5,16 13,19 16,19 10,5" fill="white"/> \x3c!-- Letter A - inner triangle (hole) --\x3e <polygon points="9,9 7.5,13 10.5,13" fill="currentColor"/> \x3c!-- Letter I --\x3e <rect x="17" y="5" width="3" height="14" fill="white"/> </svg>'},86449:function(t,i,n){"use strict";n.d(i,{APIClient:function(){return c}});var r=n(77688),o=n(82749),s=n(56075),a=n(11886),l=n(82758),u=n(21537);class c{sendRequest(t,i,n,o,s){return(0,r._)(function*(){let{apiRequest:r,requestTimeout:a,maxRetries:c}=this.jodit.o.aiAssistantPro;if(!r)throw Error("AI Assistant Pro callback is not configured");let d=new AbortController;this.abortControllers.add(d);try{let h=this.buildRequestContext(t,i,n,o,s),p=null;for(let t=0;c>=t;t++)try{if(d.signal.aborted)throw(0,u.abort)();let t=setTimeout(()=>{d.abort()},a);try{let i=yield r(h,d.signal);return clearTimeout(t),this.validateResponse(i),i}catch(i){throw clearTimeout(t),i}}catch(i){if(p=i,l.IS_PROD,c>t){let i=this.calculateRetryDelay(t);yield this.sleep(i)}else throw i}throw p||Error("API request failed after all retries")}finally{this.abortControllers.delete(d)}}).call(this)}abort(){this.abortControllers.forEach(t=>{t.abort()}),this.abortControllers.clear()}isInProgress(){return this.abortControllers.size>0}buildRequestContext(t,i,n,r,o){let{apiMode:l,instructions:u}=this.jodit.o.aiAssistantPro,c={mode:l,conversationId:t,tools:this.toolRegistry.getAllTools(),selectionContexts:r,conversationOptions:o,instructions:u},d=[];if("full"===l)d=i;else if(n){let t=i.findIndex(t=>t.id===n);d=-1!==t?i.slice(t+1):i,c=(0,a._)((0,s._)({},c),{parentMessageId:n})}else d=i;return(0,a._)((0,s._)({},c),{messages:this.expandToolMessages(d,i.find(t=>t.id===n))})}expandToolMessages(t,i){let n=[];for(let i of t)n.push(i),this.expandToolResultsMessage(i,n);return i&&this.expandToolResultsMessage(i,n),n}expandToolResultsMessage(t,i){if(t.toolCalls&&t.toolCalls.length>0)for(let r of t.toolCalls){var n;let o=null!=(n=r.result)?n:{error:"result not found"};if(i.find(t=>t.id===`${r.id}-result`))continue;let s={id:`${r.id}-result`,role:"tool",content:o.error?`Error: ${o.error}`:JSON.stringify(o.result),timestamp:t.timestamp,toolResults:[{toolCallId:r.id,result:o}]};i.push(s)}}validateResponse(t){if("final"!==t.mode)return;let i=t.response;if(!i)throw Error("API returned empty response");if(!i.responseId)throw Error("API response missing responseId");if(void 0===i.content)throw Error("API response missing content");if(void 0===i.finished)throw Error("API response missing finished flag");if(i.toolCalls){if(!Array.isArray(i.toolCalls))throw Error("API response toolCalls must be an array");i.toolCalls.forEach((t,i)=>{if(!t.id)throw Error(`Tool call at index ${i} is missing id`);if(!t.name)throw Error(`Tool call at index ${i} is missing name`);if(!t.arguments||"object"!=typeof t.arguments)throw Error(`Tool call at index ${i} has invalid arguments`)})}}calculateRetryDelay(t){let{retryDelay:i}=this.jodit.o.aiAssistantPro;return i*Math.pow(2,t)+Math.random()*i}sleep(t){return new Promise(i=>setTimeout(i,t))}destruct(){this.abort()}constructor(t,i){(0,o._)(this,"jodit",void 0),(0,o._)(this,"toolRegistry",void 0),(0,o._)(this,"abortControllers",void 0),this.jodit=t,this.toolRegistry=i,this.abortControllers=new Set}}},86518:function(t,i,n){"use strict";n.d(i,{safeHTML:function(){return s},sanitizeHTMLElement:function(){return a}});var r=n(2748),o=n(43555);function s(t,i){(r.Dom.isElement(t)||r.Dom.isFragment(t))&&(i.removeOnError&&(a(t),(0,o.$$)("[onerror]",t).forEach(t=>a(t,i))),i.safeJavaScriptLink&&(a(t),(0,o.$$)('a[href^="javascript"]',t).forEach(t=>a(t,i))))}function a(t,{safeJavaScriptLink:i,removeOnError:n}={safeJavaScriptLink:!0,removeOnError:!0}){if(!r.Dom.isElement(t))return!1;let s=!1;n&&t.hasAttribute("onerror")&&((0,o.attr)(t,"onerror",null),s=!0);let l=t.getAttribute("href");return i&&l&&0===l.trim().indexOf("javascript")&&((0,o.attr)(t,"href",location.protocol+"//"+l),s=!0),s}},86563:function(t,i,n){"use strict";n.d(i,{UIMessageList:function(){return c}});var r=n(82749),o=n(31635),s=n(51359),a=n(65478),l=n(62405),u=n(31356);class c extends l.UIGroup{className(){return"UIMessageList"}render(){return'<div class="&__scroll-container"></div>'}afterRender(){this.scrollContainer=this.container}onUserScroll(){if(!this.scrollContainer)return;let{scrollTop:t,scrollHeight:i,clientHeight:n}=this.scrollContainer;this.autoScrollEnabled=i-t-n<10}onMessageSent(){this.autoScrollEnabled=!0,this.scrollToBottom()}appendChildToContainer(t){this.scrollContainer&&this.scrollContainer.appendChild(t)}setMessages(t){let i=this.messages.slice();this.messages=t.slice(),this.updateMessageList(i),this.scrollToBottom()}updateMessageList(t){let i=u.ListReconciler.reconcile(t,this.messages,{getId:t=>t.id,isEqual:(t,i)=>t.id===i.id&&t.content===i.content&&t.timestamp===i.timestamp&&JSON.stringify(t.artifacts)===JSON.stringify(i.artifacts)&&JSON.stringify(t.toolCalls)===JSON.stringify(i.toolCalls),preserveOrder:!0});i.toRemove.forEach(t=>{let i=this.messageItems.get(t.id);i&&(-1!==this.elements.indexOf(i)&&(this.remove(i),i.destruct()),this.messageItems.delete(t.id))}),i.toUpdate.forEach(({newItem:t,index:i})=>{let n=this.messageItems.get(t.id);n&&(n.updateMessage(t),this.elements.indexOf(n)!==i&&i<this.elements.length&&(this.remove(n),this.append(n,i)))}),i.toCreate.forEach(t=>{let i=new s.UIMessageListItem(this.j,t,this.params);this.messageItems.set(t.id,i);let n=this.messages.indexOf(t);this.append(i,n)})}scrollToBottom(){!this.j.isDestructed&&this.autoScrollEnabled&&(this.container.scrollTop=this.container.scrollHeight)}destruct(){this.messageItems.clear(),this.messages=[],super.destruct()}constructor(t,i){super(t),(0,r._)(this,"params",void 0),(0,r._)(this,"messages",void 0),(0,r._)(this,"messageItems",void 0),(0,r._)(this,"scrollContainer",void 0),(0,r._)(this,"autoScrollEnabled",void 0),this.params=i,this.messages=[],this.messageItems=new Map,this.autoScrollEnabled=!0}}(0,o.__decorate)([(0,a.hook)("ready")],c.prototype,"afterRender",null),(0,o.__decorate)([(0,a.watch)(["scrollContainer:wheel","scrollContainer:scroll","scrollContainer:touchmove"]),(0,a.throttle)(t=>t.defaultTimeout)],c.prototype,"onUserScroll",null),(0,o.__decorate)([(0,a.watch)(":messageSent.ai-assistant-pro")],c.prototype,"onMessageSent",null),(0,o.__decorate)([a.autobind],c.prototype,"setMessages",null),(0,o.__decorate)([(0,a.throttle)(t=>2*t.defaultTimeout)],c.prototype,"scrollToBottom",null),c=(0,o.__decorate)([a.component],c)},86583:function(t,i,n){"use strict";n.d(i,{dataBind:function(){return s}});var r=n(39955);let o=new WeakMap,s=(t,i,n)=>{let s=o.get(t);if(!s){s={},o.set(t,s);let i=null;(0,r.isViewObject)(t.j)&&(i=t.j.e),(0,r.isViewObject)(t)&&(i=t.e),i&&i.on("beforeDestruct",()=>{o.delete(t)})}return void 0===n?s[i]:(s[i]=n,n)}},86820:function(t){t.exports='<svg viewBox="0 0 88 88" fill="none" xmlns="http://www.w3.org/2000/svg"> <g> <path d="M44 0.513519C27.2931 0.513519 13.75 13.8981 13.75 30.4095C13.75 46.9208 44 87.4835 44 87.4835C44 87.4835 74.25 46.9208 74.25 30.4095C74.25 13.8981 60.7069 0.513519 44 0.513519ZM19.25 30.4095C19.25 16.921 30.3518 5.94914 44 5.94914C57.6482 5.94914 68.75 16.921 68.75 30.4095C68.75 39.8049 54.9945 62.4871 44 78.1329C33.0055 62.4871 19.25 39.8049 19.25 30.4095ZM44 16.8204C36.4052 16.8204 30.25 22.9035 30.25 30.4095C30.25 37.9154 36.4052 43.9985 44 43.9985C51.5948 43.9985 57.75 37.9154 57.75 30.4095C57.75 22.9035 51.5948 16.8204 44 16.8204ZM44 38.5629C39.4508 38.5629 35.75 34.9054 35.75 30.4095C35.75 25.9135 39.4508 22.256 44 22.256C48.5492 22.256 52.25 25.9135 52.25 30.4095C52.25 34.9054 48.5492 38.5629 44 38.5629Z" fill="#404040"/> </g> <defs> <rect width="88" height="86.97" fill="white" transform="translate(0 0.513519)"/> </defs> </svg>'},86835:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M384 544v576q0 13-9.5 22.5t-22.5 9.5q-14 0-23-9l-288-288q-9-9-9-23t9-23l288-288q9-9 23-9 13 0 22.5 9.5t9.5 22.5zm1408 768v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1088q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1088q13 0 22.5 9.5t9.5 22.5zm0-384v192q0 13-9.5 22.5t-22.5 9.5h-1728q-13 0-22.5-9.5t-9.5-22.5v-192q0-13 9.5-22.5t22.5-9.5h1728q13 0 22.5 9.5t9.5 22.5z"/> </svg> '},87058:function(t,i,n){"use strict";n.d(i,{camelCase:function(){return r}});let r=t=>t.replace(/([-_])(.)/g,(t,i,n)=>n.toUpperCase())},87325:function(t,i,n){"use strict";n.d(i,{component:function(){return a},getComponentClass:function(){return l}});var r=n(82758),o=n(80568);let s=new Map;function a(t){class i extends t{constructor(...t){super(...t),this.constructor===i&&(this instanceof i||Object.setPrototypeOf(this,i.prototype),this.setStatus("ready"))}}let n=(0,o.getClassName)(t.prototype);if(s.has(n)&&!r.IS_PROD)throw Error(`Component with name "${n}" is already registered`);return s.set(n,i),i}function l(t){return s.get(t)}},87394:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(5119);o.Config.prototype.usePopupForSpecialCharacters=!1,o.Config.prototype.specialCharacters=["!",""","#","$","%","&","'","(",")","*","+","-",".","/","0","1","2","3","4","5","6","7","8","9",":",";","<","=",">","?","@","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","[","]","^","_","`","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","{","|","}","~","€","‘","’","“","”","–","—","¡","¢","£","¤","¥","¦","§","¨","©","ª","«","»","¬","®","¯","°","²","³","´","µ","¶","·","¸","¹","º","¼","½","¾","¿","À","Á","Â","Ã","Ä","Å","Æ","Ç","È","É","Ê","Ë","Ì","Í","Î","Ï","Ð","Ñ","Ò","Ó","Ô","Õ","Ö","×","Ø","Ù","Ú","Û","Ü","Ý","Þ","ß","à","á","â","ã","ä","å","æ","ç","è","é","ê","ë","ì","í","î","ï","ð","ñ","ò","ó","ô","õ","ö","÷","ø","ù","ú","û","ü","ý","þ","ÿ","Œ","œ","Ŵ","Ŷ","ŵ","ŷ","‚","‛","„","…","™","►","•","→","⇒","⇔","♦","≈"],r.Icon.set("symbols",s.default),o.Config.prototype.controls.symbols={hotkeys:["ctrl+shift+i","cmd+shift+i"],tooltip:"Insert Special Character",popup:(t,i,n)=>{let r=t.e.fire("generateSpecialCharactersTable.symbols");if(r){if(t.o.usePopupForSpecialCharacters){let i=t.c.div();return i.classList.add("jodit-symbols"),i.appendChild(r),t.e.on(r,"close_dialog",n),i}t.alert(r,"Select Special Character",void 0,"jodit-symbols").bindDestruct(t);let i=r.querySelector("a");i&&i.focus()}}}},87536:function(t,i,n){"use strict";n.d(i,{checkRemoveContentNotEditable:function(){return a}});var r=n(22732),o=n(21537),s=n(45124);function a(t,i,n){let a=r.Dom.findSibling(i,n);return!a&&i.parentElement&&i.parentElement!==t.editor&&(a=r.Dom.findSibling(i.parentElement,n)),!(!r.Dom.isElement(a)||r.Dom.isContentEditable(a,t.editor))&&((0,o.call)(n?r.Dom.before:r.Dom.after,a,i),r.Dom.safeRemove(a),(0,s.moveNodeInsideStart)(t,i,n),(0,o.call)(n?t.s.setCursorBefore:t.s.setCursorAfter,i),!0)}},87602:function(t,i,n){"use strict";n.d(i,{applySize:function(){return l}});var r=n(29807),o=n(29960),s=n(41180),a=n(14415);function l(t,i,n,l){if(i!==t.offsetWidth||n!==t.offsetHeight){let u=i?(0,a.normalSizeToString)(i):null,c=n?(0,a.normalSizeToString)(n):null;(0,s.css)(t,{width:u,height:u&&l?null:c}),(0,o.attr)(t,"width",u&&(0,r.isNumeric)(i)&&(0,o.attr)(t,"width")?u:null),(!(0,o.attr)(t,"width")||l)&&(c=null),(0,o.attr)(t,"height",c)}}},87612:function(t,i,n){"use strict";function r(t){return"boolean"==typeof t}n.d(i,{isBoolean:function(){return r}})},88092:function(t,i,n){"use strict";var r=n(67008),o=n.n(r),s=n(6441),a=n(2748),l=n(68345);s.Config.prototype.controls.iframeEditor={icon:o(),tooltip:"Iframe Editor",exec:(t,i)=>{a.Dom.isTag(i,"jodit")&&a.Dom.isTag(i.firstElementChild,"iframe")&&(i=i.firstElementChild),t.e.fire("toggleIframeEditor",a.Dom.isTag(i,"iframe")?i:null)}},(0,l.isArray)(s.Config.prototype.popup.iframe)&&s.Config.prototype.popup.iframe.push("iframeEditor")},88572:function(t,i,n){"use strict";n.d(i,{UIFormButtonGenerator:function(){return c}});var r=n(82749),o=n(2748),s=n(4510),a=n(38837),l=n(67510),u=n(62357);class c extends l.UIElement{className(){return"UIFormButtonGenerator"}update(){this.onUpdates.forEach(t=>t());let t=this.getElm("box-shadow");(0,a.assert)(null!=t,"box-shadow does not exists");let i=this.getElm("text-shadow");(0,a.assert)(null!=i,"text-shadow does not exists"),t.style.display=this.state.boxShadow?"":"none",i.style.display=this.state.textShadow?"":"none"}render(){return`<div>
|
|
566
566
|
<div class='&__group &__text'>
|
|
567
567
|
<div class='&__title'>Text</div>
|
|
568
568
|
<div class='&__row'>
|
|
@@ -658,7 +658,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error
|
|
|
658
658
|
<button data-ref="replace-btn" tabindex="0" type="button" class="jodit-ui-button">~Replace~</button>
|
|
659
659
|
</div>
|
|
660
660
|
</div>
|
|
661
|
-
</div>`}get currentIndex(){return this._currentIndex}set currentIndex(t){this._currentIndex=t,this.currentBox.innerText=t.toString()}set count(t){this.countBox.innerText=t.toString()}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(t){if(!this.isOpened)return;let{j:i}=this;if(i.getRealMode()===r.MODE_WYSIWYG)switch(t.key){case r.KEY_ESC:this.close();break;case r.KEY_F3:this.queryInput.value&&(i.e.fire(t.shiftKey?"searchPrevious":"searchNext"),t.preventDefault())}}open(t,i,n=!1){this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",n);let r=null!=t?t:(this.j.s.sel||"").toString();r&&(this.queryInput.value=r),i&&(this.replaceInput.value=i),this.setMod("empty-query",!r.length),this.j.e.fire(this,"needUpdateCounters"),r?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),s.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(t){if(this.isOpened)if(this.setMod("sticky",t),t){let t=(0,a.position)(this.j.toolbarContainer);(0,a.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,a.css)(this.container,{top:null,left:null})}constructor(t){var i;super(t),i=this,this.selInfo=null,this._currentIndex=0,this.isOpened=!1;const{query:n,replace:o,cancel:s,next:l,prev:c,replaceBtn:d,current:h,count:p}=(0,a.refs)(this.container);this.queryInput=n,this.replaceInput=o,this.closeButton=s,this.replaceButton=d,this.currentBox=h,this.countBox=p,t.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{t.s.isFocused()&&(t.s.removeMarkers(),this.selInfo=t.s.save())}).on(this.replaceButton,"pointerdown",()=>(t.e.fire(this,"pressReplaceButton"),!1)).on(l,"pointerdown",()=>(t.e.fire("searchNext"),!1)).on(c,"pointerdown",()=>(t.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,a.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",this.j.async.debounce(n=>{var o;return(o=function*(){n.key===r.KEY_ENTER?(n.preventDefault(),n.stopImmediatePropagation(),(yield t.e.fire("searchNext"))&&i.close()):t.e.fire(i,"needUpdateCounters")},function(){var t=this,i=arguments;return new Promise(function(n,r){var s=o.apply(t,i);function a(t){u(s,n,r,a,l,"next",t)}function l(t){u(s,n,r,a,l,"throw",t)}a(void 0)})})()},this.j.defaultTimeout))}};c([(0,o.watch)([":keydown","queryInput:keydown"])],d.prototype,"onEditorKeyDown",null),c([o.autobind],d.prototype,"open",null),c([o.autobind],d.prototype,"close",null),c([(0,o.watch)(":toggleSticky")],d.prototype,"calcSticky",null),d=c([o.component],d)},92643:function(t,i,n){"use strict";n.d(i,{Command:function(){return r}});class r{undo(){this.history.snapshot.restore(this.oldValue)}redo(){this.history.snapshot.restore(this.newValue)}constructor(t,i,n,r){this.oldValue=t,this.newValue=i,this.history=n,this.tick=r}}},92648:function(t,i){"use strict";i.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"}},92699:function(t,i){"use strict";i.default='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg> '},92762:function(t,i,n){"use strict";n.d(i,{ColorPickerWidget:function(){return r.ColorPickerWidget},FileSelectorWidget:function(){return o.FileSelectorWidget},TabsWidget:function(){return s.TabsWidget}});var r=n(22859),o=n(34793),s=n(38927)},92931:function(t,i,n){"use strict";n.d(i,{staticUrl:function(){return o}});var r=n(60811);function o(t){let{state:i}=t;return`https://maps.googleapis.com/maps/api/staticmap?center=${i.center.join(",")}&zoom=${i.zoom}&size=${i.size.join("x")}&maptype=${i.type}&key=${t.options.googleMaps.API_KEY}`+(0,r.generateStaticElements)(t)}},93079:function(t,i,n){"use strict";var r=n(580),o=n(21537);n(21988),r.pluginSystem.add("color",function(t){t.registerButton({name:"brush",group:"color"});let i=(i,n,r)=>{let s=(0,o.normalizeColor)(r);switch(i){case"background":t.s.commitStyle({attributes:{style:{backgroundColor:s||""}}});break;case"forecolor":t.s.commitStyle({attributes:{style:{color:s||""}}})}return t.synchronizeValues(),!1};t.registerCommand("forecolor",i).registerCommand("background",i)})},93119:function(t,i,n){"use strict";n.d(i,{SentenceFinder:function(){return o}});var r=n(67477);class o{add(t){var i;let n=(null!=(i=t.nodeValue)?i:"").toLowerCase();if(!n.length)return;let r=this.value.length;this.queue.push({startIndex:r,endIndex:r+n.length,node:t}),this.value+=n}ranges(t,i=0){let n=[],r=i,o=0,s=0;do if([r,o]=this.searchIndex(t,this.value,r),-1!==r){let t,i=0,a,l=0;for(let n=s;n<this.queue.length;n+=1)if(!t&&this.queue[n].endIndex>r&&(t=this.queue[n].node,i=r-this.queue[n].startIndex),t&&this.queue[n].endIndex>=r+o){a=this.queue[n].node,l=r+o-this.queue[n].startIndex,s=n;break}t&&a&&n.push({startContainer:t,startOffset:i,endContainer:a,endOffset:l}),r+=o}while(-1!==r);return 0===n.length?null:n}constructor(t=r.fuzzySearchIndex){this.searchIndex=t,this.queue=[],this.value=""}}},93183:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(23282),l=n(50911),u=n(45124);n(32496);var c=n(11338),d=n(14630);class h extends l.Plugin{afterInit(t){t.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:t.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:t.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:t.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:t.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:t.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:t.o.delete.hotkeys.backspaceSentence})}beforeDestruct(t){t.e.off("afterCommand.delete")}onDelete(t,i="char"){let n=this.j,s=n.selection;if(s.isFocused()||s.focus(),(0,c.checkNotCollapsed)(n))return!1;let l=s.range,h=n.createInside.text(r.INVISIBLE_SPACE);try{if(o.Dom.safeInsertNode(l,h),!o.Dom.isOrContains(n.editor,h))return;if(n.e.fire("backSpaceBeforeCases",t,h)||((0,u.moveNodeInsideStart)(n,h,t),d.cases.some(o=>{if((0,a.isFunction)(o)&&o(n,h,t,i))return r.IS_PROD,!0})))return!1}catch(t){throw r.IS_PROD,t}finally{n.e.fire("backSpaceAfterDelete",t,h),this.safeRemoveEmptyNode(h)}return!1}safeRemoveEmptyNode(t){var i,n;let{range:r}=this.j.s;r.startContainer===t&&(t.previousSibling?o.Dom.isText(t.previousSibling)?r.setStart(t.previousSibling,null!=(n=null==(i=t.previousSibling.nodeValue)?void 0:i.length)?n:0):r.setStartAfter(t.previousSibling):t.nextSibling&&(o.Dom.isText(t.nextSibling)?r.setStart(t.nextSibling,0):r.setStartBefore(t.nextSibling)),r.collapse(!0),this.j.s.selectRange(r)),o.Dom.safeRemove(t)}}h.requires=["hotkeys"],s.pluginSystem.add("backspace",h)},93401:function(t,i,n){"use strict";var r=n(65478),o=n(22732),s=n(580),a=n(21537),l=n(50911),u=n(67510),c=n(61259),d=n(21491);n(24526);var h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class p extends l.Plugin{get popup(){return new c.Popup(this.jodit,!1)}get toolbar(){return(0,d.makeCollection)(this.jodit,this.popup)}onClick(t){let i=this.elmsList,n=o.Dom.isTag(t,"img")?t:o.Dom.closest(t,i,this.j.editor);if(n&&this.canShowPopupForType(n.nodeName.toLowerCase()))return this.showPopup(()=>(0,a.position)(n,this.j),n.nodeName.toLowerCase(),n),!1}showPopup(t,i,n){if(i=i.toLowerCase(),!this.canShowPopupForType(i))return!1;if(this.type!==i||n!==this.previousTarget){let t;this.previousTarget=n;let r=this.j.o.popup[i];t=(0,a.isFunction)(r)?r(this.j,n,this.popup.close):r,(0,a.isArray)(t)&&(this.toolbar.build(t,n),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,t=this.toolbar.container),this.popup.setContent(t),this.type=i}return this.popup.open(t),!0}hidePopup(t){this.popup.isOpened&&(!(0,a.isString)(t)||t===this.type)&&this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(t){let i=this.j.o.popup[t.toLowerCase()];return!this.j.o.readonly&&!!this.j.o.toolbarInline&&!!i&&!this.isExcludedTarget(t)}isExcludedTarget(t){return(0,a.splitArray)(this.j.o.toolbarInlineDisableFor).map(t=>t.toLowerCase()).includes(t.toLowerCase())}afterInit(t){this.j.e.on("getDiffButtons.mobile",i=>{if(this.toolbar===i){let i=this.toolbar.getButtonsNames();return(0,a.toArray)(t.registeredButtons).filter(t=>!this.j.o.toolbarInlineDisabledButtons.includes(t.name)).filter(t=>{let n=(0,a.isString)(t)?t:t.name;return n&&"|"!==n&&"\n"!==n&&!i.includes(n)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(t,i,n)=>{this.showPopup(i,n||((0,a.isString)(t)?t:t.nodeName),(0,a.isString)(t)?void 0:t)}).on("mousedown keydown",this.onSelectionStart).on("change",()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(t){if(t&&t.target&&u.UIElement.closestElement(t.target,c.Popup))return;let{snapRange:i}=this,{range:n}=this.j.s;(!i||n.collapsed||n.startContainer!==i.startContainer||n.startOffset!==i.startOffset||n.endContainer!==i.endContainer||n.endOffset!==i.endOffset)&&this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;let t="selection",i=this.j.s.sel,n=this.j.s.range;if((null==i?void 0:i.isCollapsed)||this.isSelectedTarget(n)){this.type===t&&this.popup.isOpened&&this.hidePopup();return}this.j.s.current()&&this.showPopup(()=>n.getBoundingClientRect(),t)}isSelectedTarget(t){let i=t.startContainer;return o.Dom.isElement(i)&&i===t.endContainer&&o.Dom.isTag(i.childNodes[t.startOffset],new Set((0,a.keys)(this.j.o.popup,!1)))&&t.startOffset===t.endOffset-1}beforeDestruct(t){t.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){let t=this.elmsList;return t.map(t=>(0,a.camelCase)(`click_${t}`)).concat(t.map(t=>(0,a.camelCase)(`touchstart_${t}`))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(t){this.showPopup(()=>{if(t)return t;let{range:i}=this.j.s;return i.getBoundingClientRect()},"toolbar")}constructor(){super(...arguments),this.type=null,this.snapRange=null,this.elmsList=(0,a.keys)(this.j.o.popup,!1).filter(t=>!this.isExcludedTarget(t))}}p.requires=["select"],h([r.cache],p.prototype,"popup",null),h([r.cache],p.prototype,"toolbar",null),h([r.autobind],p.prototype,"onClick",null),h([(0,r.wait)(t=>!t.j.isLocked)],p.prototype,"showPopup",null),h([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],p.prototype,"hidePopup",null),h([(0,r.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),h([r.autobind],p.prototype,"onSelectionStart",null),h([r.autobind],p.prototype,"onSelectionEnd",null),h([(0,r.debounce)(t=>t.defaultTimeout)],p.prototype,"onSelectionChange",null),h([r.autobind],p.prototype,"showInlineToolbar",null),s.pluginSystem.add("inlinePopup",p)},93602:function(t,i,n){"use strict";n.d(i,{RecognizeManager:function(){return u}});var r=n(65478),o=n(72757),s=n(37643),a=n(85567),l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class u extends o.Eventify{set lang(t){this._lang=t,this._api.lang=t}get lang(){return this._lang}set continuous(t){this._continuous=t,this._api.continuous=t}get continuous(){return this._continuous}set interimResults(t){this._interimResults=t,this._api.interimResults=t}get interimResults(){return this._interimResults}destruct(){this.stop(),u._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){if(!this._isEnabled){this._isEnabled=!0,u._instances.forEach(t=>{t!==this&&t.stop()});try{this._api.start()}catch(t){this._onError(t),this.stop();return}this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onProgress).__on("end",this._onResults)}}stop(){this._isEnabled&&(this._api.abort(),this._api.stop(),this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onProgress).__off("end",this._onResults),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1))}toggle(){this._isEnabled?this.stop():this.start()}restart(){this.stop(),this.start()}__on(t,i){return this._api.addEventListener(t,i),this}__off(t,i){return this._api.removeEventListener(t,i),this}_onResults(t){this.emit("pulse",!1),this.emit("result",this.__interimResults),this.__interimResults="",this._makeSound(a.PII),this.restart()}_onProgress(t){if(this._isEnabled&&(this.__interimResults="",t.results)){for(let i=0;i<t.results.length;i++){let n=t.results.item(i);if(n.length){let{transcript:t}=n.item(0);this.__interimResults+=t}}this.__interimResults&&this.emit("progress",this.__interimResults)}}_onError(t){"voice-unavailable"===t.error&&this.emit("error","Voice unavailable"),"not-allowed"===t.error&&this.emit("error","Not allowed"),("language-unavailable"===t.error||"language-not-supported"===t.error)&&this.emit("error","Language unavailable"),this._makeSound(a.WARN),this.emit("pulse",!1),this.stop()}_makeSound(t){this.sound&&(0,s.sound)({frequency:t})}constructor(t,i){super(),this.async=t,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=t=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout(()=>{this.restart(),this.emit("pulse",!1),this._makeSound(a.WARN)},5e3),this.emit("pulse",!0))},this.__interimResults="",this._api=i,u._instances.add(this)}}u._instances=new Set,l([r.autobind],u.prototype,"_onResults",null),l([r.autobind],u.prototype,"_onProgress",null),l([r.autobind],u.prototype,"_onError",null)},93620:function(t,i,n){"use strict";n.r(i),i.default={newline:"yeni satır",delete:"silmek",space:"uzay","Speech Recognize":"Konuşma Tanıma",Sound:"Ses","Interim Results":"Ara Sonu\xe7lar"}},93661:function(t,i,n){"use strict";function r(t="Aborted"){return new DOMException(t,"AbortError")}n.d(i,{abort:function(){return r}})},93677:function(t,i,n){"use strict";n.d(i,{UIPermissionRequest:function(){return c}});var r=n(82749),o=n(31635),s=n(65478),a=n(67510),l=n(62843),u=n(12234);class c extends a.UIElement{className(){return"UIPermissionRequest"}setToolCall(t){this.toolCall=t,this.updateContent()}setParentView(t){var i,n,r;return null==(i=this.scopeSelect)||i.setParentView(t),null==(n=this.approveButton)||n.setParentView(t),null==(r=this.denyButton)||r.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
|
|
661
|
+
</div>`}get currentIndex(){return this._currentIndex}set currentIndex(t){this._currentIndex=t,this.currentBox.innerText=t.toString()}set count(t){this.countBox.innerText=t.toString()}get query(){return this.queryInput.value}get replace(){return this.replaceInput.value}onEditorKeyDown(t){if(!this.isOpened)return;let{j:i}=this;if(i.getRealMode()===r.MODE_WYSIWYG)switch(t.key){case r.KEY_ESC:this.close();break;case r.KEY_F3:this.queryInput.value&&(i.e.fire(t.shiftKey?"searchPrevious":"searchNext"),t.preventDefault())}}open(t,i,n=!1){this.isOpened||(this.j.workplace.appendChild(this.container),this.isOpened=!0),this.calcSticky(this.j.e.fire("getStickyState.sticky")||!1),this.j.e.fire("hidePopup"),this.setMod("replace",n);let r=null!=t?t:(this.j.s.sel||"").toString();r&&(this.queryInput.value=r),i&&(this.replaceInput.value=i),this.setMod("empty-query",!r.length),this.j.e.fire(this,"needUpdateCounters"),r?this.queryInput.select():this.queryInput.focus()}close(){this.isOpened&&(this.j.s.restore(),s.Dom.safeRemove(this.container),this.isOpened=!1,this.j.e.fire(this,"afterClose"))}calcSticky(t){if(this.isOpened)if(this.setMod("sticky",t),t){let t=(0,a.position)(this.j.toolbarContainer);(0,a.css)(this.container,{top:t.top+t.height,left:t.left+t.width})}else(0,a.css)(this.container,{top:null,left:null})}constructor(t){var i;super(t),i=this,this.selInfo=null,this._currentIndex=0,this.isOpened=!1;const{query:n,replace:o,cancel:s,next:l,prev:c,replaceBtn:d,current:h,count:p}=(0,a.refs)(this.container);this.queryInput=n,this.replaceInput=o,this.closeButton=s,this.replaceButton=d,this.currentBox=h,this.countBox=p,t.e.on(this.closeButton,"pointerdown",()=>(this.close(),!1)).on(this.queryInput,"input",()=>{this.currentIndex=0}).on(this.queryInput,"pointerdown",()=>{t.s.isFocused()&&(t.s.removeMarkers(),this.selInfo=t.s.save())}).on(this.replaceButton,"pointerdown",()=>(t.e.fire(this,"pressReplaceButton"),!1)).on(l,"pointerdown",()=>(t.e.fire("searchNext"),!1)).on(c,"pointerdown",()=>(t.e.fire("searchPrevious"),!1)).on(this.queryInput,"input",()=>{this.setMod("empty-query",!(0,a.trim)(this.queryInput.value).length)}).on(this.queryInput,"keydown",this.j.async.debounce(n=>{var o;return(o=function*(){n.key===r.KEY_ENTER?(n.preventDefault(),n.stopImmediatePropagation(),(yield t.e.fire("searchNext"))&&i.close()):t.e.fire(i,"needUpdateCounters")},function(){var t=this,i=arguments;return new Promise(function(n,r){var s=o.apply(t,i);function a(t){u(s,n,r,a,l,"next",t)}function l(t){u(s,n,r,a,l,"throw",t)}a(void 0)})})()},this.j.defaultTimeout))}};c([(0,o.watch)([":keydown","queryInput:keydown"])],d.prototype,"onEditorKeyDown",null),c([o.autobind],d.prototype,"open",null),c([o.autobind],d.prototype,"close",null),c([(0,o.watch)(":toggleSticky")],d.prototype,"calcSticky",null),d=c([o.component],d)},92643:function(t,i,n){"use strict";n.d(i,{Command:function(){return r}});class r{undo(){this.history.snapshot.restore(this.oldValue)}redo(){this.history.snapshot.restore(this.newValue)}constructor(t,i,n,r){this.oldValue=t,this.newValue=i,this.history=n,this.tick=r}}},92648:function(t,i){"use strict";i.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"}},92699:function(t,i){"use strict";i.default='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg> '},92762:function(t,i,n){"use strict";n.d(i,{ColorPickerWidget:function(){return r.ColorPickerWidget},FileSelectorWidget:function(){return o.FileSelectorWidget},TabsWidget:function(){return s.TabsWidget}});var r=n(22859),o=n(34793),s=n(38927)},92931:function(t,i,n){"use strict";n.d(i,{staticUrl:function(){return o}});var r=n(60811);function o(t){let{state:i}=t;return`https://maps.googleapis.com/maps/api/staticmap?center=${i.center.join(",")}&zoom=${i.zoom}&size=${i.size.join("x")}&maptype=${i.type}&key=${t.options.googleMaps.API_KEY}`+(0,r.generateStaticElements)(t)}},93079:function(t,i,n){"use strict";var r=n(580),o=n(21537);n(21988),r.pluginSystem.add("color",function(t){t.registerButton({name:"brush",group:"color"});let i=(i,n,r)=>{let s=(0,o.normalizeColor)(r);switch(i){case"background":t.s.commitStyle({attributes:{style:{backgroundColor:s||""}}});break;case"forecolor":t.s.commitStyle({attributes:{style:{color:s||""}}})}return t.synchronizeValues(),!1};t.registerCommand("forecolor",i).registerCommand("background",i)})},93119:function(t,i,n){"use strict";n.d(i,{SentenceFinder:function(){return o}});var r=n(67477);class o{add(t){var i;let n=(null!=(i=t.nodeValue)?i:"").toLowerCase();if(!n.length)return;let r=this.value.length;this.queue.push({startIndex:r,endIndex:r+n.length,node:t}),this.value+=n}ranges(t,i=0){let n=[],r=i,o=0,s=0;do if([r,o]=this.searchIndex(t,this.value,r),-1!==r){let t,i=0,a,l=0;for(let n=s;n<this.queue.length;n+=1)if(!t&&this.queue[n].endIndex>r&&(t=this.queue[n].node,i=r-this.queue[n].startIndex),t&&this.queue[n].endIndex>=r+o){a=this.queue[n].node,l=r+o-this.queue[n].startIndex,s=n;break}t&&a&&n.push({startContainer:t,startOffset:i,endContainer:a,endOffset:l}),r+=o}while(-1!==r);return 0===n.length?null:n}constructor(t=r.fuzzySearchIndex){this.searchIndex=t,this.queue=[],this.value=""}}},93183:function(t,i,n){"use strict";var r=n(82758),o=n(22732),s=n(580),a=n(23282),l=n(50911),u=n(45124);n(32496);var c=n(11338),d=n(14630);class h extends l.Plugin{afterInit(t){t.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:t.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:t.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:t.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:t.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:t.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:t.o.delete.hotkeys.backspaceSentence})}beforeDestruct(t){t.e.off("afterCommand.delete")}onDelete(t,i="char"){let n=this.j,s=n.selection;if(s.isFocused()||s.focus(),(0,c.checkNotCollapsed)(n))return!1;let l=s.range,h=n.createInside.text(r.INVISIBLE_SPACE);try{if(o.Dom.safeInsertNode(l,h),!o.Dom.isOrContains(n.editor,h))return;if(n.e.fire("backSpaceBeforeCases",t,h)||((0,u.moveNodeInsideStart)(n,h,t),d.cases.some(o=>{if((0,a.isFunction)(o)&&o(n,h,t,i))return r.IS_PROD,!0})))return!1}catch(t){throw r.IS_PROD,t}finally{n.e.fire("backSpaceAfterDelete",t,h),this.safeRemoveEmptyNode(h)}return!1}safeRemoveEmptyNode(t){var i,n;let{range:r}=this.j.s;r.startContainer===t&&(t.previousSibling?o.Dom.isText(t.previousSibling)?r.setStart(t.previousSibling,null!=(n=null==(i=t.previousSibling.nodeValue)?void 0:i.length)?n:0):r.setStartAfter(t.previousSibling):t.nextSibling&&(o.Dom.isText(t.nextSibling)?r.setStart(t.nextSibling,0):r.setStartBefore(t.nextSibling)),r.collapse(!0),this.j.s.selectRange(r)),o.Dom.safeRemove(t)}}h.requires=["hotkeys"],s.pluginSystem.add("backspace",h)},93401:function(t,i,n){"use strict";var r=n(65478),o=n(22732),s=n(580),a=n(21537),l=n(50911),u=n(67510),c=n(61259),d=n(21491);n(24526);var h=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class p extends l.Plugin{get popup(){return new c.Popup(this.jodit,!1)}get toolbar(){return(0,d.makeCollection)(this.jodit,this.popup)}onClick(t){let i=this.elmsList,n=o.Dom.isTag(t,"img")?t:o.Dom.closest(t,i,this.j.editor);if(n&&this.canShowPopupForType(n.nodeName.toLowerCase()))return this.showPopup(()=>(0,a.position)(n,this.j),n.nodeName.toLowerCase(),n),!1}showPopup(t,i,n){if(i=i.toLowerCase(),!this.canShowPopupForType(i))return!1;if(this.type!==i||n!==this.previousTarget){let t;this.previousTarget=n;let r=this.j.o.popup[i];if(t=(0,a.isFunction)(r)?r(this.j,n,this.popup.close):r,(0,a.isArray)(t)){let i=this.j.o.toolbarInlineDisabledButtons;this.toolbar.build(i.length?t.filter(t=>{let n=(0,a.isString)(t)?t:t.name;return!i.includes(null!=n?n:"")}):t,n),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,t=this.toolbar.container}this.popup.setContent(t),this.type=i}return this.popup.open(t),!0}hidePopup(t){this.popup.isOpened&&(!(0,a.isString)(t)||t===this.type)&&this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(t){let i=this.j.o.popup[t.toLowerCase()];return!this.j.o.readonly&&!!this.j.o.toolbarInline&&!!i&&!this.isExcludedTarget(t)}isExcludedTarget(t){return(0,a.splitArray)(this.j.o.toolbarInlineDisableFor).map(t=>t.toLowerCase()).includes(t.toLowerCase())}afterInit(t){this.j.e.on("getDiffButtons.mobile",i=>{if(this.toolbar===i){let i=this.toolbar.getButtonsNames();return(0,a.toArray)(t.registeredButtons).filter(t=>!this.j.o.toolbarInlineDisabledButtons.includes(t.name)).filter(t=>{let n=(0,a.isString)(t)?t:t.name;return n&&"|"!==n&&"\n"!==n&&!i.includes(n)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(t,i,n)=>{this.showPopup(i,n||((0,a.isString)(t)?t:t.nodeName),(0,a.isString)(t)?void 0:t)}).on("mousedown keydown",this.onSelectionStart).on("change",()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(t){if(t&&t.target&&u.UIElement.closestElement(t.target,c.Popup))return;let{snapRange:i}=this,{range:n}=this.j.s;(!i||n.collapsed||n.startContainer!==i.startContainer||n.startOffset!==i.startOffset||n.endContainer!==i.endContainer||n.endOffset!==i.endOffset)&&this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;let t="selection",i=this.j.s.sel,n=this.j.s.range;if((null==i?void 0:i.isCollapsed)||this.isSelectedTarget(n)){this.type===t&&this.popup.isOpened&&this.hidePopup();return}this.j.s.current()&&this.showPopup(()=>n.getBoundingClientRect(),t)}isSelectedTarget(t){let i=t.startContainer;return o.Dom.isElement(i)&&i===t.endContainer&&o.Dom.isTag(i.childNodes[t.startOffset],new Set((0,a.keys)(this.j.o.popup,!1)))&&t.startOffset===t.endOffset-1}beforeDestruct(t){t.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){let t=this.elmsList;return t.map(t=>(0,a.camelCase)(`click_${t}`)).concat(t.map(t=>(0,a.camelCase)(`touchstart_${t}`))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(t){this.showPopup(()=>{if(t)return t;let{range:i}=this.j.s;return i.getBoundingClientRect()},"toolbar")}constructor(){super(...arguments),this.type=null,this.snapRange=null,this.elmsList=(0,a.keys)(this.j.o.popup,!1).filter(t=>!this.isExcludedTarget(t))}}p.requires=["select"],h([r.cache],p.prototype,"popup",null),h([r.cache],p.prototype,"toolbar",null),h([r.autobind],p.prototype,"onClick",null),h([(0,r.wait)(t=>!t.j.isLocked)],p.prototype,"showPopup",null),h([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],p.prototype,"hidePopup",null),h([(0,r.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),h([r.autobind],p.prototype,"onSelectionStart",null),h([r.autobind],p.prototype,"onSelectionEnd",null),h([(0,r.debounce)(t=>t.defaultTimeout)],p.prototype,"onSelectionChange",null),h([r.autobind],p.prototype,"showInlineToolbar",null),s.pluginSystem.add("inlinePopup",p)},93602:function(t,i,n){"use strict";n.d(i,{RecognizeManager:function(){return u}});var r=n(65478),o=n(72757),s=n(37643),a=n(85567),l=function(t,i,n,r){var o,s=arguments.length,a=s<3?i:null===r?r=Object.getOwnPropertyDescriptor(i,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(t,i,n,r);else for(var l=t.length-1;l>=0;l--)(o=t[l])&&(a=(s<3?o(a):s>3?o(i,n,a):o(i,n))||a);return s>3&&a&&Object.defineProperty(i,n,a),a};class u extends o.Eventify{set lang(t){this._lang=t,this._api.lang=t}get lang(){return this._lang}set continuous(t){this._continuous=t,this._api.continuous=t}get continuous(){return this._continuous}set interimResults(t){this._interimResults=t,this._api.interimResults=t}get interimResults(){return this._interimResults}destruct(){this.stop(),u._instances.delete(this),super.destruct()}get isEnabled(){return this._isEnabled}start(){if(!this._isEnabled){this._isEnabled=!0,u._instances.forEach(t=>{t!==this&&t.stop()});try{this._api.start()}catch(t){this._onError(t),this.stop();return}this.__on("speechstart",this._onSpeechStart).__on("error",this._onError).__on("result",this._onProgress).__on("end",this._onResults)}}stop(){this._isEnabled&&(this._api.abort(),this._api.stop(),this.__off("speechstart",this._onSpeechStart).__off("error",this._onError).__off("result",this._onProgress).__off("end",this._onResults),this.async.clearTimeout(this._restartTimeout),this._isEnabled=!1,this.emit("pulse",!1))}toggle(){this._isEnabled?this.stop():this.start()}restart(){this.stop(),this.start()}__on(t,i){return this._api.addEventListener(t,i),this}__off(t,i){return this._api.removeEventListener(t,i),this}_onResults(t){this.emit("pulse",!1),this.emit("result",this.__interimResults),this.__interimResults="",this._makeSound(a.PII),this.restart()}_onProgress(t){if(this._isEnabled&&(this.__interimResults="",t.results)){for(let i=0;i<t.results.length;i++){let n=t.results.item(i);if(n.length){let{transcript:t}=n.item(0);this.__interimResults+=t}}this.__interimResults&&this.emit("progress",this.__interimResults)}}_onError(t){"voice-unavailable"===t.error&&this.emit("error","Voice unavailable"),"not-allowed"===t.error&&this.emit("error","Not allowed"),("language-unavailable"===t.error||"language-not-supported"===t.error)&&this.emit("error","Language unavailable"),this._makeSound(a.WARN),this.emit("pulse",!1),this.stop()}_makeSound(t){this.sound&&(0,s.sound)({frequency:t})}constructor(t,i){super(),this.async=t,this._continuous=!1,this._interimResults=!1,this.sound=!0,this._isEnabled=!1,this._restartTimeout=0,this._onSpeechStart=t=>{this._isEnabled&&(this.async.clearTimeout(this._restartTimeout),this._restartTimeout=this.async.setTimeout(()=>{this.restart(),this.emit("pulse",!1),this._makeSound(a.WARN)},5e3),this.emit("pulse",!0))},this.__interimResults="",this._api=i,u._instances.add(this)}}u._instances=new Set,l([r.autobind],u.prototype,"_onResults",null),l([r.autobind],u.prototype,"_onProgress",null),l([r.autobind],u.prototype,"_onError",null)},93620:function(t,i,n){"use strict";n.r(i),i.default={newline:"yeni satır",delete:"silmek",space:"uzay","Speech Recognize":"Konuşma Tanıma",Sound:"Ses","Interim Results":"Ara Sonu\xe7lar"}},93661:function(t,i,n){"use strict";function r(t="Aborted"){return new DOMException(t,"AbortError")}n.d(i,{abort:function(){return r}})},93677:function(t,i,n){"use strict";n.d(i,{UIPermissionRequest:function(){return c}});var r=n(82749),o=n(31635),s=n(65478),a=n(67510),l=n(62843),u=n(12234);class c extends a.UIElement{className(){return"UIPermissionRequest"}setToolCall(t){this.toolCall=t,this.updateContent()}setParentView(t){var i,n,r;return null==(i=this.scopeSelect)||i.setParentView(t),null==(n=this.approveButton)||n.setParentView(t),null==(r=this.denyButton)||r.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
|
|
662
662
|
<div class="&__header">
|
|
663
663
|
<div class="&__icon"></div>
|
|
664
664
|
<div class="&__title">~Permission Required~</div>
|