jodit-pro 4.9.19 → 4.9.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +5 -5
- package/es2015/jodit.js +207 -70
- package/es2015/jodit.min.js +4 -4
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2015/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.js +1 -1
- package/es2015/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2015/plugins/backup/backup.css +1 -1
- package/es2015/plugins/backup/backup.js +1 -1
- package/es2015/plugins/backup/backup.min.js +1 -1
- package/es2015/plugins/button-generator/button-generator.css +1 -1
- package/es2015/plugins/button-generator/button-generator.js +1 -1
- package/es2015/plugins/button-generator/button-generator.min.js +1 -1
- package/es2015/plugins/change-case/change-case.js +1 -1
- package/es2015/plugins/change-case/change-case.min.js +1 -1
- package/es2015/plugins/color-picker/color-picker.css +1 -1
- package/es2015/plugins/color-picker/color-picker.js +1 -1
- package/es2015/plugins/color-picker/color-picker.min.js +1 -1
- package/es2015/plugins/emoji/emoji.css +1 -1
- package/es2015/plugins/emoji/emoji.js +1 -1
- package/es2015/plugins/emoji/emoji.min.js +1 -1
- package/es2015/plugins/export-docs/export-docs.js +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 +1 -1
- package/es2015/plugins/finder/finder.min.js +1 -1
- package/es2015/plugins/google-maps/google-maps.css +1 -1
- package/es2015/plugins/google-maps/google-maps.js +1 -1
- package/es2015/plugins/google-maps/google-maps.min.js +1 -1
- package/es2015/plugins/google-search/google-search.js +1 -1
- package/es2015/plugins/google-search/google-search.min.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2015/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2015/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2015/plugins/keyboard/keyboard.css +1 -1
- package/es2015/plugins/keyboard/keyboard.js +1 -1
- package/es2015/plugins/keyboard/keyboard.min.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.js +1 -1
- package/es2015/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2015/plugins/page-break/page-break.js +1 -1
- package/es2015/plugins/page-break/page-break.min.js +1 -1
- package/es2015/plugins/paste-code/paste-code.css +1 -1
- package/es2015/plugins/paste-code/paste-code.js +1 -1
- package/es2015/plugins/paste-code/paste-code.min.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2015/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.js +1 -1
- package/es2015/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2015/plugins/style/style.css +1 -1
- package/es2015/plugins/style/style.js +1 -1
- package/es2015/plugins/style/style.min.js +1 -1
- package/es2015/plugins/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 +5 -5
- package/es2018/jodit.min.js +4 -4
- package/es2018/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2018/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2018/plugins/backup/backup.min.js +1 -1
- package/es2018/plugins/button-generator/button-generator.min.js +1 -1
- package/es2018/plugins/change-case/change-case.min.js +1 -1
- package/es2018/plugins/color-picker/color-picker.min.js +1 -1
- package/es2018/plugins/emoji/emoji.min.js +1 -1
- package/es2018/plugins/export-docs/export-docs.min.js +1 -1
- package/es2018/plugins/finder/finder.min.js +1 -1
- package/es2018/plugins/google-maps/google-maps.min.js +1 -1
- package/es2018/plugins/google-search/google-search.min.js +1 -1
- package/es2018/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2018/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2018/plugins/keyboard/keyboard.min.js +1 -1
- package/es2018/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2018/plugins/page-break/page-break.min.js +1 -1
- package/es2018/plugins/paste-code/paste-code.min.js +1 -1
- package/es2018/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2018/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2018/plugins/style/style.min.js +1 -1
- package/es2018/plugins/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 +5 -5
- package/es2021/jodit.js +207 -70
- package/es2021/jodit.min.js +4 -4
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021/plugins/backup/backup.css +1 -1
- package/es2021/plugins/backup/backup.js +1 -1
- package/es2021/plugins/backup/backup.min.js +1 -1
- package/es2021/plugins/button-generator/button-generator.css +1 -1
- package/es2021/plugins/button-generator/button-generator.js +1 -1
- package/es2021/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021/plugins/change-case/change-case.js +1 -1
- package/es2021/plugins/change-case/change-case.min.js +1 -1
- package/es2021/plugins/color-picker/color-picker.css +1 -1
- package/es2021/plugins/color-picker/color-picker.js +1 -1
- package/es2021/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021/plugins/emoji/emoji.css +1 -1
- package/es2021/plugins/emoji/emoji.js +1 -1
- package/es2021/plugins/emoji/emoji.min.js +1 -1
- package/es2021/plugins/export-docs/export-docs.js +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 +1 -1
- package/es2021/plugins/finder/finder.min.js +1 -1
- package/es2021/plugins/google-maps/google-maps.css +1 -1
- package/es2021/plugins/google-maps/google-maps.js +1 -1
- package/es2021/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021/plugins/google-search/google-search.js +1 -1
- package/es2021/plugins/google-search/google-search.min.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021/plugins/keyboard/keyboard.css +1 -1
- package/es2021/plugins/keyboard/keyboard.js +1 -1
- package/es2021/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021/plugins/page-break/page-break.js +1 -1
- package/es2021/plugins/page-break/page-break.min.js +1 -1
- package/es2021/plugins/paste-code/paste-code.css +1 -1
- package/es2021/plugins/paste-code/paste-code.js +1 -1
- package/es2021/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021/plugins/style/style.css +1 -1
- package/es2021/plugins/style/style.js +1 -1
- package/es2021/plugins/style/style.min.js +1 -1
- package/es2021/plugins/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 +5 -5
- package/es2021.en/jodit.js +207 -70
- package/es2021.en/jodit.min.js +4 -4
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.css +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.js +1 -1
- package/es2021.en/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.js +1 -1
- package/es2021.en/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es2021.en/plugins/backup/backup.css +1 -1
- package/es2021.en/plugins/backup/backup.js +1 -1
- package/es2021.en/plugins/backup/backup.min.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.css +1 -1
- package/es2021.en/plugins/button-generator/button-generator.js +1 -1
- package/es2021.en/plugins/button-generator/button-generator.min.js +1 -1
- package/es2021.en/plugins/change-case/change-case.js +1 -1
- package/es2021.en/plugins/change-case/change-case.min.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.css +1 -1
- package/es2021.en/plugins/color-picker/color-picker.js +1 -1
- package/es2021.en/plugins/color-picker/color-picker.min.js +1 -1
- package/es2021.en/plugins/emoji/emoji.css +1 -1
- package/es2021.en/plugins/emoji/emoji.js +1 -1
- package/es2021.en/plugins/emoji/emoji.min.js +1 -1
- package/es2021.en/plugins/export-docs/export-docs.js +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 +1 -1
- package/es2021.en/plugins/finder/finder.min.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.css +1 -1
- package/es2021.en/plugins/google-maps/google-maps.js +1 -1
- package/es2021.en/plugins/google-maps/google-maps.min.js +1 -1
- package/es2021.en/plugins/google-search/google-search.js +1 -1
- package/es2021.en/plugins/google-search/google-search.min.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es2021.en/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es2021.en/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.css +1 -1
- package/es2021.en/plugins/keyboard/keyboard.js +1 -1
- package/es2021.en/plugins/keyboard/keyboard.min.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.js +1 -1
- package/es2021.en/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es2021.en/plugins/page-break/page-break.js +1 -1
- package/es2021.en/plugins/page-break/page-break.min.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.css +1 -1
- package/es2021.en/plugins/paste-code/paste-code.js +1 -1
- package/es2021.en/plugins/paste-code/paste-code.min.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es2021.en/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.js +1 -1
- package/es2021.en/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es2021.en/plugins/style/style.css +1 -1
- package/es2021.en/plugins/style/style.js +1 -1
- package/es2021.en/plugins/style/style.min.js +1 -1
- package/es2021.en/plugins/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 +216 -70
- 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 +1 -1
- package/es5/plugins/ai-assistant-pro/ai-assistant-pro.min.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.js +1 -1
- package/es5/plugins/autocomplete/autocomplete.min.js +1 -1
- package/es5/plugins/backup/backup.css +1 -1
- package/es5/plugins/backup/backup.js +1 -1
- package/es5/plugins/backup/backup.min.js +1 -1
- package/es5/plugins/button-generator/button-generator.css +1 -1
- package/es5/plugins/button-generator/button-generator.js +1 -1
- package/es5/plugins/button-generator/button-generator.min.js +1 -1
- package/es5/plugins/change-case/change-case.js +1 -1
- package/es5/plugins/change-case/change-case.min.js +1 -1
- package/es5/plugins/color-picker/color-picker.css +1 -1
- package/es5/plugins/color-picker/color-picker.js +1 -1
- package/es5/plugins/color-picker/color-picker.min.js +1 -1
- package/es5/plugins/emoji/emoji.css +1 -1
- package/es5/plugins/emoji/emoji.js +1 -1
- package/es5/plugins/emoji/emoji.min.js +1 -1
- package/es5/plugins/export-docs/export-docs.js +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 +1 -1
- package/es5/plugins/finder/finder.min.js +1 -1
- package/es5/plugins/google-maps/google-maps.css +1 -1
- package/es5/plugins/google-maps/google-maps.js +1 -1
- package/es5/plugins/google-maps/google-maps.min.js +1 -1
- package/es5/plugins/google-search/google-search.js +1 -1
- package/es5/plugins/google-search/google-search.min.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.js +1 -1
- package/es5/plugins/highlight-signature/highlight-signature.min.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.css +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.js +1 -1
- package/es5/plugins/iframe-editor/iframe-editor.min.js +1 -1
- package/es5/plugins/keyboard/keyboard.css +1 -1
- package/es5/plugins/keyboard/keyboard.js +1 -1
- package/es5/plugins/keyboard/keyboard.min.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.js +1 -1
- package/es5/plugins/mobile-view/mobile-view.min.js +1 -1
- package/es5/plugins/page-break/page-break.js +1 -1
- package/es5/plugins/page-break/page-break.min.js +1 -1
- package/es5/plugins/paste-code/paste-code.css +1 -1
- package/es5/plugins/paste-code/paste-code.js +1 -1
- package/es5/plugins/paste-code/paste-code.min.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.js +1 -1
- package/es5/plugins/paste-from-word/paste-from-word.min.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.js +1 -1
- package/es5/plugins/show-blocks/show-blocks.min.js +1 -1
- package/es5/plugins/style/style.css +1 -1
- package/es5/plugins/style/style.js +1 -1
- package/es5/plugins/style/style.min.js +1 -1
- package/es5/plugins/todo-list/todo-list.css +1 -1
- package/es5/plugins/todo-list/todo-list.js +1 -1
- package/es5/plugins/todo-list/todo-list.min.js +1 -1
- package/es5/plugins/translate/translate.css +1 -1
- package/es5/plugins/translate/translate.js +1 -1
- package/es5/plugins/translate/translate.min.js +1 -1
- package/es5/plugins/tune-block/tune-block.css +1 -1
- package/es5/plugins/tune-block/tune-block.js +1 -1
- package/es5/plugins/tune-block/tune-block.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/package.json +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.22
|
|
5
5
|
* Url: https://xdsoft.net/jodit/pro/
|
|
6
6
|
* License(s): SEE LICENSE IN LICENSE.md
|
|
7
7
|
*/
|
|
@@ -223,7 +223,7 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
|
|
|
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 h}});var r,o=n(91907),s=n(55153),a=n(2748),l=n(70799),u=n(14316),c=n(34176),d=n(12153);let h=r=class t extends o.ViewComponent{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)=>d.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.container=this.createContainer(i),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}};h=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)(c.Mods,u.Elms)],h)},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 g},openImageEditor:function(){return b}});var r,o=n(91907),s=n(65478),a=n(22732),l=n(21537),u=n(62843),c=n(6441);n(62489);var d=n(22461),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="jodit-image-editor",f="resize",m="crop",g=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,l.$$)("img,.jodit-icon_loader",this.resize_box).forEach(a.Dom.safeRemove),(0,l.$$)("img,.jodit-icon_loader",this.crop_box).forEach(a.Dom.safeRemove),(0,l.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,l.refs)(this.editor),u=()=>{this.isDestructed||(this.image.removeEventListener("load",u),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,l.$$)(".jodit-icon_loader",this.editor)),this.activeTab===m&&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",u),this.image.complete&&u()})}onTitleModeClick(t){let i=t.target,n=null==i?void 0:i.parentElement;if(!n)return;(0,l.$$)(`.${p}__slider,.${p}__area`,this.editor).forEach(t=>t.classList.remove(`${p}_active`)),n.classList.add(`${p}_active`),this.activeTab=(0,l.attr)(n,"-area")||f;let r=this.editor.querySelector(`.${p}__area.${p}__area_`+this.activeTab);r&&r.classList.add(`${p}_active`),this.activeTab===m&&this.showCrop()}onChangeSizeInput(t){let i,n=t.target,{widthInput:r,heightInput:o}=(0,l.refs)(this.editor),s="widthInput"===(0,l.attr)(n,"data-ref"),a=parseInt(n.value,10),u=s?this.o.min_width:this.o.min_height,c=s?this.o.min_height:this.o.min_width;a>u&&((0,l.css)(this.image,s?"width":"height",a),this.resizeUseRatio&&(i=s?Math.round(a/this.ratio):Math.round(a*this.ratio))>c&&((0,l.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===m?(this.top_x=(0,l.css)(this.cropHandler,"left"),this.top_y=(0,l.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,l.refs)(this.editor);this.diff_x=t.clientX-this.start_x,this.diff_y=t.clientY-this.start_y,this.activeTab===f&&this.resizeUseRatio||this.activeTab===m&&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===f?(this.new_w>this.o.resizeMinWidth&&((0,l.css)(this.image,"width",this.new_w+"px"),i.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,l.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,l.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,l.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,l.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,`.${p}`).off(`.${p}`),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=f,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,l.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,l.css)(this.cropHandler,{backgroundImage:"url("+(0,l.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,l.css)(this.cropHandler,"left")/t,this.cropBox.y=(0,l.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,l.refs)(this.editor);t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],`mousedown.${p}`,this.onResizeHandleMouseDown).on(this.j.ow,`resize.${p}`,()=>{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(`.${p}__slider-title`)),"click",this.onTitleModeClick).on([i,n],"input",this.onChangeSizeInput);let{keepAspectRatioResize:r,keepAspectRatioCrop:o}=(0,l.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,l.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,l.css)(t.cropHandler,"left"),n=(0,l.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,l.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===f?t.resizeBox:t.cropBox};switch(r){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",i=>{if(!(0,l.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===f?((0,l.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:c.Config.defaultOptions.imageeditor;const i=this.options;this.resizeUseRatio=i.resizeUseRatio,this.cropUseRatio=i.cropUseRatio,this.buttons={reset:(0,u.Button)(this.j,"update","Reset"),save:(0,u.Button)(this.j,"save","Save"),saveas:(0,u.Button)(this.j,"save","Save as ...")},this.activeTab=i.resize?f:m,this.editor=(0,d.form)(this.j,this.options);const{resizeBox:n,cropBox:o}=(0,l.refs)(this.editor);this.resize_box=n,this.crop_box=o,this.sizes=this.editor.querySelector(`.${p}__area.${p}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${p}__resizer`),this.cropHandler=this.editor.querySelector(`.${p}__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 b(t,i,n,r,o,s){return this.getInstance("ImageEditor",this.o).open(t,(t,a,u,c)=>(0,l.call)("resize"===a.action?this.dataProvider.resize:this.dataProvider.crop,n,r,i,t,a.box).then(t=>{t&&(u(),o&&o())}).catch(t=>{c(t),s&&s(t)}))}g.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},h([s.autobind],g.prototype,"hide",null),h([s.autobind],g.prototype,"open",null),h([s.autobind],g.prototype,"onTitleModeClick",null),h([(0,s.debounce)(),s.autobind],g.prototype,"onChangeSizeInput",null),h([s.autobind],g.prototype,"onResizeHandleMouseDown",null),h([s.autobind],g.prototype,"onGlobalMouseUp",null),h([(0,s.throttle)(10)],g.prototype,"onGlobalMouseMove",null),g=r=h([s.component],g)},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(){return""}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.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 g},openImageEditor:function(){return b}});var r,o=n(91907),s=n(65478),a=n(22732),l=n(21537),u=n(62843),c=n(6441);n(62489);var d=n(22461),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="jodit-image-editor",f="resize",m="crop",g=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,l.$$)("img,.jodit-icon_loader",this.resize_box).forEach(a.Dom.safeRemove),(0,l.$$)("img,.jodit-icon_loader",this.crop_box).forEach(a.Dom.safeRemove),(0,l.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,l.refs)(this.editor),u=()=>{this.isDestructed||(this.image.removeEventListener("load",u),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,l.$$)(".jodit-icon_loader",this.editor)),this.activeTab===m&&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",u),this.image.complete&&u()})}onTitleModeClick(t){let i=t.target,n=null==i?void 0:i.parentElement;if(!n)return;(0,l.$$)(`.${p}__slider,.${p}__area`,this.editor).forEach(t=>t.classList.remove(`${p}_active`)),n.classList.add(`${p}_active`),this.activeTab=(0,l.attr)(n,"-area")||f;let r=this.editor.querySelector(`.${p}__area.${p}__area_`+this.activeTab);r&&r.classList.add(`${p}_active`),this.activeTab===m&&this.showCrop()}onChangeSizeInput(t){let i,n=t.target,{widthInput:r,heightInput:o}=(0,l.refs)(this.editor),s="widthInput"===(0,l.attr)(n,"data-ref"),a=parseInt(n.value,10),u=s?this.o.min_width:this.o.min_height,c=s?this.o.min_height:this.o.min_width;a>u&&((0,l.css)(this.image,s?"width":"height",a),this.resizeUseRatio&&(i=s?Math.round(a/this.ratio):Math.round(a*this.ratio))>c&&((0,l.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===m?(this.top_x=(0,l.css)(this.cropHandler,"left"),this.top_y=(0,l.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,l.refs)(this.editor);this.diff_x=t.clientX-this.start_x,this.diff_y=t.clientY-this.start_y,this.activeTab===f&&this.resizeUseRatio||this.activeTab===m&&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===f?(this.new_w>this.o.resizeMinWidth&&((0,l.css)(this.image,"width",this.new_w+"px"),i.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,l.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,l.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,l.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,l.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,`.${p}`).off(`.${p}`),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=f,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,l.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,l.css)(this.cropHandler,{backgroundImage:"url("+(0,l.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,l.css)(this.cropHandler,"left")/t,this.cropBox.y=(0,l.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,l.refs)(this.editor);t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],`mousedown.${p}`,this.onResizeHandleMouseDown).on(this.j.ow,`resize.${p}`,()=>{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(`.${p}__slider-title`)),"click",this.onTitleModeClick).on([i,n],"input",this.onChangeSizeInput);let{keepAspectRatioResize:r,keepAspectRatioCrop:o}=(0,l.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,l.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,l.css)(t.cropHandler,"left"),n=(0,l.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,l.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===f?t.resizeBox:t.cropBox};switch(r){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",i=>{if(!(0,l.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===f?((0,l.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:c.Config.defaultOptions.imageeditor;const i=this.options;this.resizeUseRatio=i.resizeUseRatio,this.cropUseRatio=i.cropUseRatio,this.buttons={reset:(0,u.Button)(this.j,"update","Reset"),save:(0,u.Button)(this.j,"save","Save"),saveas:(0,u.Button)(this.j,"save","Save as ...")},this.activeTab=i.resize?f:m,this.editor=(0,d.form)(this.j,this.options);const{resizeBox:n,cropBox:o}=(0,l.refs)(this.editor);this.resize_box=n,this.crop_box=o,this.sizes=this.editor.querySelector(`.${p}__area.${p}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${p}__resizer`),this.cropHandler=this.editor.querySelector(`.${p}__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 b(t,i,n,r,o,s){return this.getInstance("ImageEditor",this.o).open(t,(t,a,u,c)=>(0,l.call)("resize"===a.action?this.dataProvider.resize:this.dataProvider.crop,n,r,i,t,a.box).then(t=>{t&&(u(),o&&o())}).catch(t=>{c(t),s&&s(t)}))}g.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},h([s.autobind],g.prototype,"hide",null),h([s.autobind],g.prototype,"open",null),h([s.autobind],g.prototype,"onTitleModeClick",null),h([(0,s.debounce)(),s.autobind],g.prototype,"onChangeSizeInput",null),h([s.autobind],g.prototype,"onResizeHandleMouseDown",null),h([s.autobind],g.prototype,"onGlobalMouseUp",null),h([(0,s.throttle)(10)],g.prototype,"onGlobalMouseMove",null),g=r=h([s.component],g)},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>
|
|
@@ -421,7 +421,7 @@ ${s}`.trim();n?yield this.__executeQuickCommandSilent(u,s):yield this.__executeQ
|
|
|
421
421
|
scr.src = 'https://maps.googleapis.com/maps/api/js?key=${t.o.googleMaps.API_KEY}&language=${t.o.language}&callback=CreateGMap${i.uid}';
|
|
422
422
|
document.appendChild(scr);
|
|
423
423
|
}
|
|
424
|
-
/*]]>*/</script>`.replace(/[\n\t]+/g,"")}},61872:function(t,i,n){"use strict";n.d(i,{processArtifacts:function(){return d},processFinalResponse:function(){return c},processStreamingResponse:function(){return u}});var r=n(89929),o=n(77688),s=n(56075),a=n(11886),l=n(61558);function u(t,i,n){return(0,o._)(function*(){let o=(0,l.createAIMessage)(),u=-1;var c,d=!1,h=!1;try{for(var p,f=(0,r._)(i.stream);d=!(p=yield f.next()).done;d=!1){let i=p.value;switch(i.type){case"created":o=(0,a._)((0,s._)({},o),{id:i.response.responseId,content:""}),u=n.messages.length;break;case"text-delta":o=(0,a._)((0,s._)({},o),{content:o.content+i.delta});break;case"completed":o=(0,a._)((0,s._)({},o),{id:i.response.responseId,toolCalls:i.response.toolCalls||[],artifacts:i.response.artifacts||[]});break;case"error":{let t=(0,l.createErrorMessage)(i.error);o=(0,a._)((0,s._)({},o),{id:t.id,content:t.content})}}if(o.id){let i=n.messages.slice();i[u>=0?u:n.messages.length]=o,n=(0,a._)((0,s._)({},n),{messages:i,updated:Date.now()}),t.setCurrentConversation(n)}}}catch(t){h=!0,c=t}finally{try{d&&null!=f.return&&(yield f.return())}finally{if(h)throw c}}return{aiMessage:o,index:u,conversation:n}})()}function c(t,i){let n=(0,a._)((0,s._)({},(0,l.createAIMessage)()),{id:t.response.responseId,content:t.response.content,toolCalls:t.response.toolCalls||[],artifacts:t.response.artifacts||[]}),r=i.messages.slice();return r.push(n),{aiMessage:n,index:(i=(0,a._)((0,s._)({},i),{messages:r,updated:Date.now()})).messages.length-1,conversation:i}}function d(t,i,n,r){return(0,o._)(function*(){if(i.artifacts&&i.artifacts.length>0){let o=n.messages.slice();return o[r]=(0,a._)((0,s._)({},o[r]),{artifacts:yield(0,l.uploadArtifacts)(t,i.artifacts)}),(0,a._)((0,s._)({},n),{messages:o,updated:Date.now()})}return n})()}},61926:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.showPlaceholder=!0,r.Config.prototype.placeholder="Type something",r.Config.prototype.useInputsPlaceholder=!0},61991:function(t,i,n){"use strict";n.d(i,{checkUnsplittableBox:function(){return o}});var r=n(2748);function o(t,i,n){return!!r.Dom.canSplitBlock(n)||(r.Dom.before(t,i.createInside.element("br")),!1)}},62e3:function(t,i,n){"use strict";var r=n(27613),o=n(41180);let s=t=>t.args&&(0,r.isString)(t.args[0])?t.args[0].toLowerCase():"";i.default=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:(t,i,n)=>n,exec:(t,i,{control:n})=>{let r=s(n);t.getInstance("Table",t.o).getAllSelectedCells().forEach(t=>{(0,o.css)(t,"vertical-align","normal"===r?"":r)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i),t.e.fire("hidePopup")},tooltip:"Delete"}]},62232:function(t,i){"use strict";i.default={"Type something":"Scrivi qualcosa...",Advanced:"Avanzato","About Jodit":"A proposito di Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Guida utente di Jodit","contains detailed help for using":"contiene una guida dettagliata per l'uso.","For information about the license, please go to our website:":"Per informazioni sulla licenza, si prega di visitare il nostro sito web:","Buy full version":"Acquista la versione completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"gi\xf9",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio","Image properties":"Propriet\xe0 dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice \xe8 simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incolla testo da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca per","Replace with":"Sostituisci con",Replace:"Sostituisci",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"risorsa",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine \xe8 stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"}},62357:function(t,i,n){"use strict";n.d(i,{UIRange:function(){return d}});var r=n(82749),o=n(56075),s=n(11886),a=n(31635),l=n(65478),u=n(21537),c=n(67510);class d extends c.UIInput{className(){return"UIRange"}appendUIRange(){let t=this.j.create.div(this.getFullElName("slider"));this.container.appendChild(t);let i=this.j.create.div(this.getFullElName("handle"));t.appendChild(i);let n=this.j.create.div(this.getFullElName("log")),r=this.getElm("label");r&&r.appendChild(n)}onDragStart(t){this.startValue=parseFloat(this.value)||0,this.startX=t.clientX;let i=this.getElm("slider");(0,u.assert)(null!=i,"slider element does not exists"),this.width=i.offsetWidth,this.j.e.on(this.j.ow,"mousemove",this.onDrag)}onDrag(t){let{min:i,max:n,step:r=1}=this.state,o=(t.clientX-this.startX)/this.width*(this.state.max-this.state.min),s=this.startValue+o;s<i&&(s=i),s>n&&(s=n),s=Math.round(s/r)*r,this.value=s.toFixed(10)}onDragEnd(){this.j.e.off(this.j.ow,"mousemove",this.onDrag)}onChangeSelfValue(){let t=this.getElm("handle"),i=parseFloat(this.value)||0;(0,u.assert)(null!=t,"Handle element does not exist"),(0,u.css)(t,{left:(i-this.state.min)/(this.state.max-this.state.min)*100+"%"});let n=this.getElm("log");(0,u.assert)(null!=n,"log element does not exist"),n.innerText=i.toString()}destruct(){return this.onDragEnd(),super.destruct()}constructor(t,i){super(t,(0,s._)((0,o._)({},i),{type:"hidden"})),(0,r._)(this,"state",(0,s._)((0,o._)({},c.UIInput.defaultState),{min:0,max:100,step:1})),(0,r._)(this,"startValue",0),(0,r._)(this,"startX",0),(0,r._)(this,"width",100),Object.assign(this.state,i),this.appendUIRange(),this.onChangeSelfValue()}}(0,a.__decorate)([(0,l.watch)(["handle:mousedown","handle:touchstart"])],d.prototype,"onDragStart",null),(0,a.__decorate)([l.autobind],d.prototype,"onDrag",null),(0,a.__decorate)([(0,l.watch)(["j.ow:mouseup","j.ow:touchend"])],d.prototype,"onDragEnd",null),(0,a.__decorate)([(0,l.watch)(":change")],d.prototype,"onChangeSelfValue",null),d=(0,a.__decorate)([l.component],d)},62395:function(t,i,n){"use strict";n.r(i),i.default={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"}},62405:function(t,i,n){"use strict";n.d(i,{UIGroup:function(){return d}});var r,o=n(4012),s=n(65478),a=n(2748),l=n(21537),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=r=class t extends u.UIElement{className(){return"UIGroup"}get allChildren(){let t=[],i=[...this.elements];for(;i.length;){let n=i.shift();(0,l.isArray)(n)?i.push(...n):o.Component.isInstanceOf(n,r)?i.push(...n.elements):n&&t.push(n)}return t}update(){this.elements.forEach(t=>t.update()),this.setMod("size",this.buttonSize)}append(t,i){let n;if((0,l.isArray)(t)){if("number"==typeof i)throw Error("You can not use index when append array of elements");return t.forEach(t=>this.append(t,i)),this}if("number"==typeof i?(n=Math.min(Math.max(0,i),this.elements.length),this.elements.splice(n,0,t)):this.elements.push(t),t.name&&t.container.classList.add(this.getFullElName(t.name)),i&&"string"==typeof i){let n=this.getElm(i);if(null==n)throw Error("Element does not exist");n.appendChild(t.container)}else this.appendChildToContainer(t.container,n);return t.parentElement=this,this}afterSetMod(t,i){this.syncMod&&this.elements.forEach(n=>n.setMod(t,i))}appendChildToContainer(t,i){void 0===i||i<0||i>this.elements.length-1||null==this.container.children[i]?this.container.appendChild(t):this.container.insertBefore(t,this.container.children[i])}remove(t){let i=this.elements.indexOf(t);return -1!==i&&(this.elements.splice(i,1),a.Dom.safeRemove(t.container),t.parentElement=null),this}clear(){return this.elements.forEach(t=>t.destruct()),this.elements.length=0,this}setParentView(t){var i;return null==(i=this.elements)||i.forEach(i=>i.setParentView(t)),super.setParentView(t)}destruct(){return this.clear(),super.destruct()}constructor(t,i,n){super(t,n),this.options=n,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==i||i.forEach(t=>t&&this.append(t)),(null==n?void 0:n.name)&&(this.name=n.name)}};c([(0,s.watch)("buttonSize")],d.prototype,"update",null),d=r=c([s.component],d)},62489:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(49922),a=n(72144);o.Config.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},r.Icon.set("crop",s.default).set("resize",a.default)},62553: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="replaceInDocument",o="Find and replace text or HTML patterns throughout the entire document",s=[{name:"search",type:"string",description:"Text or pattern to search for",required:!0},{name:"replace",type:"string",description:"Replacement text or HTML",required:!0},{name:"useRegex",type:"boolean",description:"If true, treats search as a regular expression",required:!1,default:!1},{name:"useSelector",type:"string",description:"CSS selector to narrow down the search scope to specific elements",required:!1}],a=!0},62700:function(t,i){"use strict";i.default={"Type something":"なにかタイプしてください",Advanced:"高度な設定","About Jodit":"Joditについて","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit ユーザーズ・ガイド","contains detailed help for using":"詳しい使い方","For information about the license, please go to our website:":"ライセンス詳細についてはJodit Webサイトを確認ください:","Buy full version":"フルバージョンを購入","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"新しいタブで開く","Open in fullsize":"エディターのサイズ(フル/ノーマル)","Clear Formatting":"書式をクリア","Fill color or set the text color":"テキストの色",Redo:"やり直し",Undo:"元に戻す",Bold:"太字",Italic:"斜体","Insert Unordered List":"箇条書き","Insert Ordered List":"番号付きリスト","Align Center":"中央揃え","Align Justify":"両端揃え","Align Left":"左揃え","Align Right":"右揃え","Insert Horizontal Line":"区切り線を挿入","Insert Image":"画像を挿入","Insert file":"ファイルを挿入","Insert youtube/vimeo video":"Youtube/Vimeo 動画","Insert link":"リンクを挿入","Font size":"フォントサイズ","Font family":"フォント","Insert format block":"テキストのスタイル",Normal:"指定なし","Heading 1":"タイトル1","Heading 2":"タイトル2","Heading 3":"タイトル3","Heading 4":"タイトル4",Quote:"引用",Code:"コード",Insert:"挿入","Insert table":"表を挿入","Decrease Indent":"インデント減","Increase Indent":"インデント増","Select Special Character":"特殊文字を選択","Insert Special Character":"特殊文字を挿入","Paint format":"書式を貼付け","Change mode":"編集モード切替え",Margins:"マージン",top:"上",right:"右",bottom:"下",left:"左",Styles:"スタイル",Classes:"クラス",Align:"配置",Right:"右寄せ",Center:"中央寄せ",Left:"左寄せ","--Not Set--":"指定なし",Src:"ソース",Title:"タイトル",Alternative:"代替テキスト",Link:"リンク","Open link in new tab":"新しいタブで開く",Image:"画像",file:"ファイル","Image properties":"画像のプロパティー",Cancel:"キャンセル",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"HTMLコードを保持しますか?","Paste as HTML":"HTMLで貼付け",Keep:"HTMLを保持",Clean:"Clean","Insert as Text":"HTMLをテキストにする","Word Paste Detected":"Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Insert only Text":"テキストだけ","File Browser":"File Browser","Error on load list":"Error on load list","Error on load folders":"Error on load folders","Are you sure?":"Are you sure?","Enter Directory name":"Enter Directory name","Create directory":"Create directory","type name":"type name","Drop image":"ここに画像をドロップ","Drop file":"ここにファイルをドロップ","or click":"or クリック","Alternative text":"代替テキスト",Browse:"ブラウズ",Upload:"アップロード",Background:"背景",Text:"文字",Top:"上",Middle:"中央",Bottom:"下","Insert column before":"左に列を挿入","Insert column after":"右に列を挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Delete table":"表を削除","Delete row":"行を削除","Delete column":"列を削除","Empty cell":"セルを空にする","Chars: %d":"文字数: %d","Words: %d":"単語数: %d","Strike through":"取り消し線",Underline:"下線",superscript:"上付き文字",subscript:"下付き文字","Cut selection":"切り取り","Select all":"すべて選択",Break:"Pause","Search for":"検索","Replace with":"置換",Replace:"交換",Paste:"貼付け","Choose Content to Paste":"選択した内容を貼付け",All:"全部",source:"source",bold:"bold",italic:"italic",brush:"brush",link:"link",undo:"undo",redo:"redo",table:"table",image:"image",eraser:"eraser",paragraph:"paragraph",fontsize:"fontsize",video:"video",font:"font",about:"about",print:"print",underline:"underline",strikethrough:"strikethrough",indent:"indent",outdent:"outdent",fullsize:"fullsize",shrink:"shrink",hr:"分割線",ul:"箇条書き",ol:"番号付きリスト",cut:"切り取り",selectall:"すべて選択","Open link":"リンクを開く","Edit link":"リンクを編集","No follow":"No follow",Unlink:"リンク解除",Eye:"サイトを確認"," URL":"URL",Reset:"リセット",Save:"保存","Save as ...":"Save as ...",Resize:"リサイズ",Crop:"Crop",Width:"幅",Height:"高さ","Keep Aspect Ratio":"縦横比を保持",Yes:"はい",No:"いいえ",Remove:"移除",Select:"選択","Select %s":"選択: %s",Update:"更新","Vertical align":"垂直方向の配置",Merge:"セルの結合","Add column":"列を追加","Add row":"行を追加",Border:"境界線","Embed code":"埋め込みコード",Delete:"削除",Edit:"編集","Horizontal align":"水平方向の配置",Filter:"Filter","Sort by changed":"Sort by changed","Sort by name":"Sort by name","Sort by size":"Sort by size","Add folder":"Add folder",Split:"分割","Split vertical":"セルの分割(垂直方向)","Split horizontal":"セルの分割(水平方向)","You can only edit your own images. Download this image on the host?":"You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!":"The image has been successfully uploaded to the host!",palette:"パレット",pencil:"鉛筆","There are no files":"There are no files",Rename:"Rename","Enter new name":"Enter new name",preview:"プレビュー",download:"ダウンロード","Paste from clipboard":"貼り付け","Your browser doesn't support direct access to the clipboard.":"お使いのブラウザはクリップボードを使用できません","Copy selection":"コピー",copy:"copy","Border radius":"角の丸み","Show all":"全て表示",Apply:"適用","Please fill out this field":"まだこの分野","Please enter a web address":"を入力してくださいウェブアドレス",Default:"デフォルト",Circle:"白丸",Dot:"黒丸",Quadrate:"四角",Find:"見","Find Previous":"探前","Find Next":"由来","Lower Alpha":"英小文字","Lower Greek":"ギリシャ文字","Lower Roman":"ローマ数字小文字","Upper Alpha":"英大文字","Upper Roman":"ローマ数字大文字","Insert className":"クラス名を挿入","Press Alt for custom resizing":"カスタムサイズ変更のためのAltキーを押します","License: %s":"ライセンス: %s"}},62770:function(t,i){"use strict";i.default={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"\xdcber Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","For information about the license, please go to our website:":"F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Buy full version":"Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte \xf6ffnen","Open in fullsize":"Editor in voller Gr\xf6\xdfe \xf6ffnen","Clear Formatting":"Formatierung l\xf6schen","Fill color or set the text color":"F\xfcllfarbe oder Textfarbe \xe4ndern",Redo:"Wiederholen",Undo:"R\xfcckg\xe4ngig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einf\xfcgen","Insert Ordered List":"Nummerierte Liste einf\xfcgen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einf\xfcgen","Insert Image":"Bild einf\xfcgen","Insert file":"Datei einf\xfcgen","Insert youtube/vimeo video":"Youtube/vimeo Video einf\xfcgen","Insert link":"Link einf\xfcgen","Font size":"Schriftgr\xf6\xdfe","Font family":"Schriftfamilie","Insert format block":"Formatblock einf\xfcgen",Normal:"Normal","Heading 1":"\xdcberschrift 1","Heading 2":"\xdcberschrift 2","Heading 3":"\xdcberschrift 3","Heading 4":"\xdcberschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einf\xfcgen","Insert table":"Tabelle einf\xfcgen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergr\xf6\xdfern","Select Special Character":"Sonderzeichen ausw\xe4hlen","Insert Special Character":"Sonderzeichen einf\xfcgen","Paint format":"Format kopieren","Change mode":"\xc4nderungsmodus",Margins:"R\xe4nder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab \xf6ffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einf\xfcgen?",Keep:"Original speichern",Clean:"S\xe4ubern","Insert as Text":"Als Text einf\xfcgen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einf\xfcgen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei l\xf6schen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Ausw\xe4hlen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einf\xfcgen","Insert column after":"Spalte danach einf\xfcgen","Insert row above":"Zeile oberhalb einf\xfcgen","Insert row below":"Zeile unterhalb einf\xfcgen","Delete table":"Tabelle l\xf6schen","Delete row":"Zeile l\xf6schen","Delete column":"Spalte l\xf6schen","Empty cell":"Zelle leeren",Delete:"L\xf6schen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach ge\xe4ndert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Gr\xf6\xdfe sortiert","Add folder":"Ordner hinzuf\xfcgen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzuf\xfcgen","Add row":"Zeile hinzuf\xfcgen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einf\xfcgen","Choose Content to Paste":"W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","Chars: %d":"Zeichen: %d","Words: %d":"W\xf6rter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"B\xfcrste",link:"Verkn\xfcpfung",undo:"R\xfcckg\xe4ngig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgr\xf6\xdfe",video:"Video",font:"Schriftart",about:"\xdcber",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgr\xf6\xdfe",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"R\xf6misch (klein)","Upper Roman":"R\xf6misch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"W\xe4hlen Sie Alle aus","Open link":"Link \xf6ffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Gr\xf6\xdfe \xe4ndern",Crop:"Gr\xf6\xdfe anpassen",Width:"Breite",Height:"H\xf6he","Keep Aspect Ratio":"Seitenverh\xe4ltnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie k\xf6nnen nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einf\xfcgen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius f\xfcr abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte f\xfcllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einf\xfcgen","Press Alt for custom resizing":"Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung","License: %s":"Lizenz: %s"}},62843:function(t,i,n){"use strict";n.d(i,{Button:function(){return r.Button},UIButton:function(){return r.UIButton},UIButtonGroup:function(){return o.UIButtonGroup},UIButtonState:function(){return r.UIButtonState},UITooltip:function(){return s.UITooltip}});var r=n(10830),o=n(71916),s=n(57340)},62845:function(t,i,n){"use strict";n.d(i,{checkJoinNeighbors:function(){return a}});var r=n(82758),o=n(2748),s=n(63785);function a(t,i,n){let s=i,a=s;for(;s&&!o.Dom.findNotEmptySibling(s,n)&&s.parentElement!==t.editor;)a=s=s.parentElement;if(o.Dom.isElement(a)&&o.Dom.isContentEditable(a,t.editor)){var u,c;let s,d,h,p=o.Dom.findNotEmptySibling(a,n);if(p&&(u=a,c=p,s=o.Dom.isTag(c,r.LIST_TAGS),d=o.Dom.isTag(u,r.LIST_TAGS),h=(t,i)=>i?t.firstElementChild:t.lastElementChild,(d?(c=t.createInside.element(t.o.enterBlock),o.Dom.before(u,c),l(t,h(u,n),c,n)):!!c&&!!s&&!d&&l(t,u,h(c,!n),n))||l(t,a,p,n)))return t.s.setCursorBefore(i),!0}return!1}function l(t,i,n,r){if(i&&o.Dom.isElement(n)){o.Dom.moveContent(i,n,!r,(0,s.getMoveFilter)(t));let a=i;for(;a&&a!==t.editor&&o.Dom.isEmpty(a);){let t=a.parentElement;o.Dom.safeRemove(a),a=t}return!0}return!1}},62895:function(t,i,n){"use strict";n.d(i,{WebStorageConversationStorage:function(){return r.WebStorageConversationStorage},createStorageProvider:function(){return r.createStorageProvider}});var r=n(21064)},63134:function(t,i,n){"use strict";n.r(i),i.default={newline:"nueva l\xednea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"}},63195:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"拼写检查"}},63227:function(t,i,n){"use strict";n.d(i,{UIInputArea:function(){return d}});var r=n(82749),o=n(31635),s=n(65478),a=n(38837),l=n(67510),u=n(62843),c=n(85120);class d extends l.UIElement{className(){return"UIInputArea"}setParentView(t){var i,n,r;return null==(i=this.textarea)||i.setParentView(t),null==(n=this.sendButton)||n.setParentView(t),null==(r=this.stopButton)||r.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
|
|
424
|
+
/*]]>*/</script>`.replace(/[\n\t]+/g,"")}},61872:function(t,i,n){"use strict";n.d(i,{processArtifacts:function(){return d},processFinalResponse:function(){return c},processStreamingResponse:function(){return u}});var r=n(89929),o=n(77688),s=n(56075),a=n(11886),l=n(61558);function u(t,i,n){return(0,o._)(function*(){let o=(0,l.createAIMessage)(),u=-1;var c,d=!1,h=!1;try{for(var p,f=(0,r._)(i.stream);d=!(p=yield f.next()).done;d=!1){let i=p.value;switch(i.type){case"created":o=(0,a._)((0,s._)({},o),{id:i.response.responseId,content:""}),u=n.messages.length;break;case"text-delta":o=(0,a._)((0,s._)({},o),{content:o.content+i.delta});break;case"completed":o=(0,a._)((0,s._)({},o),{id:i.response.responseId,toolCalls:i.response.toolCalls||[],artifacts:i.response.artifacts||[]});break;case"error":{let t=(0,l.createErrorMessage)(i.error);o=(0,a._)((0,s._)({},o),{id:t.id,content:t.content})}}if(o.id){let i=n.messages.slice();i[u>=0?u:n.messages.length]=o,n=(0,a._)((0,s._)({},n),{messages:i,updated:Date.now()}),t.setCurrentConversation(n)}}}catch(t){h=!0,c=t}finally{try{d&&null!=f.return&&(yield f.return())}finally{if(h)throw c}}return{aiMessage:o,index:u,conversation:n}})()}function c(t,i){let n=(0,a._)((0,s._)({},(0,l.createAIMessage)()),{id:t.response.responseId,content:t.response.content,toolCalls:t.response.toolCalls||[],artifacts:t.response.artifacts||[]}),r=i.messages.slice();return r.push(n),{aiMessage:n,index:(i=(0,a._)((0,s._)({},i),{messages:r,updated:Date.now()})).messages.length-1,conversation:i}}function d(t,i,n,r){return(0,o._)(function*(){if(i.artifacts&&i.artifacts.length>0){let o=n.messages.slice();return o[r]=(0,a._)((0,s._)({},o[r]),{artifacts:yield(0,l.uploadArtifacts)(t,i.artifacts)}),(0,a._)((0,s._)({},n),{messages:o,updated:Date.now()})}return n})()}},61926:function(t,i,n){"use strict";var r=n(6441);r.Config.prototype.showPlaceholder=!0,r.Config.prototype.placeholder="Type something",r.Config.prototype.useInputsPlaceholder=!0},61991:function(t,i,n){"use strict";n.d(i,{checkUnsplittableBox:function(){return o}});var r=n(2748);function o(t,i,n){return!!r.Dom.canSplitBlock(n)||(r.Dom.before(t,i.createInside.element("br")),!1)}},62e3:function(t,i,n){"use strict";var r=n(27613),o=n(41180);let s=t=>t.args&&(0,r.isString)(t.args[0])?t.args[0].toLowerCase():"";i.default=["brushCell",{name:"valign",list:["Top","Middle","Bottom","Normal"],childTemplate:(t,i,n)=>n,exec:(t,i,{control:n})=>{let r=s(n);t.getInstance("Table",t.o).getAllSelectedCells().forEach(t=>{(0,o.css)(t,"vertical-align","normal"===r?"":r)})},tooltip:"Vertical align"},{name:"splitv",list:{tablesplitv:"Split vertical",tablesplitg:"Split horizontal"},tooltip:"Split"},{name:"align",icon:"left"},"\n",{name:"merge",command:"tablemerge",tooltip:"Merge"},{name:"addcolumn",list:{tableaddcolumnbefore:"Insert column before",tableaddcolumnafter:"Insert column after"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i)},tooltip:"Add column"},{name:"addrow",list:{tableaddrowbefore:"Insert row above",tableaddrowafter:"Insert row below"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i)},tooltip:"Add row"},{name:"delete",icon:"bin",list:{tablebin:"Delete table",tablebinrow:"Delete row",tablebincolumn:"Delete column",tableempty:"Empty cell"},exec:(t,i,{control:n})=>{if(!(0,r.isJoditObject)(t))return;if(!n.args)return!1;let o=s(n);t.execCommand(o,!1,i),t.e.fire("hidePopup")},tooltip:"Delete"}]},62232:function(t,i){"use strict";i.default={"Type something":"Scrivi qualcosa...",Advanced:"Avanzato","About Jodit":"A proposito di Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Guida utente di Jodit","contains detailed help for using":"contiene una guida dettagliata per l'uso.","For information about the license, please go to our website:":"Per informazioni sulla licenza, si prega di visitare il nostro sito web:","Buy full version":"Acquista la versione completa","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.",Anchor:"Link","Open in new tab":"Apri in una nuova scheda","Open in fullsize":"Apri l'editor a schermo intero","Clear Formatting":"Pulisci Formattazione","Fill color or set the text color":"Colore di sfondo o del testo",Redo:"Ripristina",Undo:"Annulla",Bold:"Grassetto",Italic:"Corsivo","Insert Unordered List":"Inserisci lista non ordinata","Insert Ordered List":"Inserisci lista ordinata","Align Center":"Allinea al centro","Align Justify":"Allineamento Giustificato","Align Left":"Allinea a Sinistra","Align Right":"Allinea a Destra","Insert Horizontal Line":"Inserisci una linea orizzontale","Insert Image":"Inserisci immagine","Insert file":"Inserisci un file","Insert youtube/vimeo video":"Inserisci video Youtube/Vimeo","Insert link":"Inserisci link","Font size":"Dimensione carattere","Font family":"Tipo di font","Insert format block":"Inserisci blocco",Normal:"Normale","Heading 1":"Intestazione 1","Heading 2":"Intestazione 2","Heading 3":"Intestazione 3","Heading 4":"Intestazione 4",Quote:"Citazione",Code:"Codice",Insert:"Inserisci","Insert table":"Inserisci tabella","Decrease Indent":"Riduci il rientro","Increase Indent":"Aumenta il rientro","Select Special Character":"Seleziona un carattere speciale","Insert Special Character":"Inserisci un carattere speciale","Paint format":"Copia formato","Change mode":"Cambia modalita'",Margins:"Margini",top:"su",right:"destra",bottom:"gi\xf9",left:"sinistra",Styles:"Stili CSS",Classes:"Classi CSS",Align:"Allinea",Right:"Destra",Center:"Centro",Left:"Sinistra","--Not Set--":"--Non Impostato--",Src:"Fonte",Title:"Titolo",Alternative:"Testo Alternativo",Link:"Link","Open link in new tab":"Apri il link in una nuova scheda",Image:"Immagine",file:"Archivio","Image properties":"Propriet\xe0 dell'immagine",Cancel:"Annulla",Ok:"Accetta","Your code is similar to HTML. Keep as HTML?":"Il codice \xe8 simile all'HTML. Mantieni come HTML?","Paste as HTML":"Incolla come HTML",Keep:"Mantieni",Clean:"Pulisci","Insert as Text":"Inserisci come testo","Word Paste Detected":"Incolla testo da Word rilevato","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Insert only Text":"Inserisci solo il testo","File Browser":"Cerca file","Error on load list":"Errore durante il caricamento dell'elenco","Error on load folders":"Errore durante il caricamento delle cartelle","Are you sure?":"Sei sicuro?","Enter Directory name":"Inserisci il nome della cartella","Create directory":"Crea cartella","type name":"Digita il nome","Drop image":"Cancella immagine","Drop file":"Cancella file","or click":"o clicca","Alternative text":"Testo alternativo",Browse:"Sfoglia",Upload:"Carica",Background:"Sfondo",Text:"Testo",Top:"Su",Middle:"Centro",Bottom:"Sotto","Insert column before":"Inserisci la colonna prima","Insert column after":"Inserisci la colonna dopo","Insert row above":"Inserisci la riga sopra","Insert row below":"Inserisci la riga sotto","Delete table":"Elimina tabella","Delete row":"Elimina riga","Delete column":"Elimina colonna","Empty cell":"Cella vuota",Delete:"Cancella","Strike through":"Barrato",Underline:"Sottolineato",Break:"Pausa","Search for":"Cerca per","Replace with":"Sostituisci con",Replace:"Sostituisci",Edit:"Modifica","Vertical align":"Allineamento verticala","Horizontal align":"Allineamento orizzontale",Filter:"Filtro","Sort by changed":"Ordina per data di modifica","Sort by name":"Ordina per nome","Sort by size":"Ordina per dimensione","Add folder":"Aggiungi cartella",Split:"Dividi","Split vertical":"Dividi verticalmente","Split horizontal":"Dividi orizzontale",Merge:"Fondi","Add column":"Aggiungi colonna","Add row":"Aggiungi riga",Border:"Bordo","Embed code":"Includi codice",Update:"Aggiorna",superscript:"indice",subscript:"pedice","Cut selection":"Taglia selezione",Paste:"Incolla","Choose Content to Paste":"Seleziona il contenuto da incollare","Chars: %d":"Caratteri: %d","Words: %d":"Parole: %d",All:"Tutto","Select %s":"Seleziona: %s","Select all":"Seleziona tutto",source:"risorsa",bold:"Grassetto",italic:"Corsivo",brush:"Pennello",link:"Link",undo:"Annulla",redo:"Ripristina",table:"Tabella",image:"Immagine",eraser:"Gomma",paragraph:"Paragrafo",fontsize:"Dimensione del carattere",video:"Video",font:"Font",about:"Approposito di",print:"Stampa",underline:"Sottolineato",strikethrough:"Barrato",indent:"aumenta rientro",outdent:"riduci rientro",fullsize:"espandi",shrink:"comprimi",hr:"linea orizzontale",ul:"lista non ordinata",ol:"lista ordinata",cut:"Taglia",selectall:"Seleziona tutto","Open link":"Apri link","Edit link":"Modifica link","No follow":"Non seguire",Unlink:"Rimuovi link",Eye:"Recensione",pencil:"Per modificare"," URL":" URL",Reset:"Reset",Save:"Salva","Save as ...":"Salva con nome...",Resize:"Ridimensiona",Crop:"Ritaglia",Width:"Larghezza",Height:"Altezza","Keep Aspect Ratio":"Mantieni le proporzioni",Yes:"Si",No:"No",Remove:"Rimuovi",Select:"Seleziona","You can only edit your own images. Download this image on the host?":"Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","The image has been successfully uploaded to the host!":"L'immagine \xe8 stata caricata correttamente sul server!",palette:"tavolozza","There are no files":"Non ci sono file in questa directory.",Rename:"Rinomina","Enter new name":"Inserisci un nuovo nome",preview:"anteprima",download:"Scarica","Paste from clipboard":"Incolla dagli appunti","Your browser doesn't support direct access to the clipboard.":"Il tuo browser non supporta l'accesso diretto agli appunti.","Copy selection":"Copia selezione",copy:"copia","Border radius":"Border radius","Show all":"Mostra tutti",Apply:"Applica","Please fill out this field":"Si prega di compilare questo campo","Please enter a web address":"Si prega di inserire un indirizzo web",Default:"Default",Circle:"Cerchio",Dot:"Punto",Quadrate:"Quadrato","Lower Alpha":"Lettera Minuscola","Lower Greek":"Lettera Greca Minuscola","Lower Roman":"Numero Romano Minuscolo","Upper Alpha":"Lettera Maiuscola","Upper Roman":"Numero Romano Maiuscolo",Find:"Trova","Find Previous":"Trova Precedente","Find Next":"Trova Successivo","Insert className":"Inserisci il nome della classe","Press Alt for custom resizing":"Premere Alt per il ridimensionamento personalizzato","License: %s":"Licenza: %s"}},62357:function(t,i,n){"use strict";n.d(i,{UIRange:function(){return d}});var r=n(82749),o=n(56075),s=n(11886),a=n(31635),l=n(65478),u=n(21537),c=n(67510);class d extends c.UIInput{className(){return"UIRange"}appendUIRange(){let t=this.j.create.div(this.getFullElName("slider"));this.container.appendChild(t);let i=this.j.create.div(this.getFullElName("handle"));t.appendChild(i);let n=this.j.create.div(this.getFullElName("log")),r=this.getElm("label");r&&r.appendChild(n)}onDragStart(t){this.startValue=parseFloat(this.value)||0,this.startX=t.clientX;let i=this.getElm("slider");(0,u.assert)(null!=i,"slider element does not exists"),this.width=i.offsetWidth,this.j.e.on(this.j.ow,"mousemove",this.onDrag)}onDrag(t){let{min:i,max:n,step:r=1}=this.state,o=(t.clientX-this.startX)/this.width*(this.state.max-this.state.min),s=this.startValue+o;s<i&&(s=i),s>n&&(s=n),s=Math.round(s/r)*r,this.value=s.toFixed(10)}onDragEnd(){this.j.e.off(this.j.ow,"mousemove",this.onDrag)}onChangeSelfValue(){let t=this.getElm("handle"),i=parseFloat(this.value)||0;(0,u.assert)(null!=t,"Handle element does not exist"),(0,u.css)(t,{left:(i-this.state.min)/(this.state.max-this.state.min)*100+"%"});let n=this.getElm("log");(0,u.assert)(null!=n,"log element does not exist"),n.innerText=i.toString()}destruct(){return this.onDragEnd(),super.destruct()}constructor(t,i){super(t,(0,s._)((0,o._)({},i),{type:"hidden"})),(0,r._)(this,"state",(0,s._)((0,o._)({},c.UIInput.defaultState),{min:0,max:100,step:1})),(0,r._)(this,"startValue",0),(0,r._)(this,"startX",0),(0,r._)(this,"width",100),Object.assign(this.state,i),this.appendUIRange(),this.onChangeSelfValue()}}(0,a.__decorate)([(0,l.watch)(["handle:mousedown","handle:touchstart"])],d.prototype,"onDragStart",null),(0,a.__decorate)([l.autobind],d.prototype,"onDrag",null),(0,a.__decorate)([(0,l.watch)(["j.ow:mouseup","j.ow:touchend"])],d.prototype,"onDragEnd",null),(0,a.__decorate)([(0,l.watch)(":change")],d.prototype,"onChangeSelfValue",null),d=(0,a.__decorate)([l.component],d)},62395:function(t,i,n){"use strict";n.r(i),i.default={newline:"nuova riga",delete:"eliminare",space:"spazio","Speech Recognize":"Discorso Riconoscere",Sound:"Suono","Interim Results":"Risultati intermedi"}},62405:function(t,i,n){"use strict";n.d(i,{UIGroup:function(){return d}});var r,o=n(4012),s=n(65478),a=n(2748),l=n(21537),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=r=class t extends u.UIElement{className(){return"UIGroup"}getRole(){return"list"}get allChildren(){let t=[],i=[...this.elements];for(;i.length;){let n=i.shift();(0,l.isArray)(n)?i.push(...n):o.Component.isInstanceOf(n,r)?i.push(...n.elements):n&&t.push(n)}return t}update(){this.elements.forEach(t=>t.update()),this.setMod("size",this.buttonSize)}append(t,i){let n;if((0,l.isArray)(t)){if("number"==typeof i)throw Error("You can not use index when append array of elements");return t.forEach(t=>this.append(t,i)),this}if("number"==typeof i?(n=Math.min(Math.max(0,i),this.elements.length),this.elements.splice(n,0,t)):this.elements.push(t),t.name&&t.container.classList.add(this.getFullElName(t.name)),i&&"string"==typeof i){let n=this.getElm(i);if(null==n)throw Error("Element does not exist");n.appendChild(t.container)}else this.appendChildToContainer(t.container,n);return t.parentElement=this,this}afterSetMod(t,i){this.syncMod&&this.elements.forEach(n=>n.setMod(t,i))}appendChildToContainer(t,i){void 0===i||i<0||i>this.elements.length-1||null==this.container.children[i]?this.container.appendChild(t):this.container.insertBefore(t,this.container.children[i])}remove(t){let i=this.elements.indexOf(t);return -1!==i&&(this.elements.splice(i,1),a.Dom.safeRemove(t.container),t.parentElement=null),this}clear(){return this.elements.forEach(t=>t.destruct()),this.elements.length=0,this}setParentView(t){var i;return null==(i=this.elements)||i.forEach(i=>i.setParentView(t)),super.setParentView(t)}destruct(){return this.clear(),super.destruct()}constructor(t,i,n){super(t,n),this.options=n,this.syncMod=!1,this.elements=[],this.buttonSize="middle",null==i||i.forEach(t=>t&&this.append(t)),(null==n?void 0:n.name)&&(this.name=n.name)}};c([(0,s.watch)("buttonSize")],d.prototype,"update",null),d=r=c([s.component],d)},62489:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(49922),a=n(72144);o.Config.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},r.Icon.set("crop",s.default).set("resize",a.default)},62553: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="replaceInDocument",o="Find and replace text or HTML patterns throughout the entire document",s=[{name:"search",type:"string",description:"Text or pattern to search for",required:!0},{name:"replace",type:"string",description:"Replacement text or HTML",required:!0},{name:"useRegex",type:"boolean",description:"If true, treats search as a regular expression",required:!1,default:!1},{name:"useSelector",type:"string",description:"CSS selector to narrow down the search scope to specific elements",required:!1}],a=!0},62700:function(t,i){"use strict";i.default={"Type something":"なにかタイプしてください",Advanced:"高度な設定","About Jodit":"Joditについて","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Jodit ユーザーズ・ガイド","contains detailed help for using":"詳しい使い方","For information about the license, please go to our website:":"ライセンス詳細についてはJodit Webサイトを確認ください:","Buy full version":"フルバージョンを購入","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.",Anchor:"Anchor","Open in new tab":"新しいタブで開く","Open in fullsize":"エディターのサイズ(フル/ノーマル)","Clear Formatting":"書式をクリア","Fill color or set the text color":"テキストの色",Redo:"やり直し",Undo:"元に戻す",Bold:"太字",Italic:"斜体","Insert Unordered List":"箇条書き","Insert Ordered List":"番号付きリスト","Align Center":"中央揃え","Align Justify":"両端揃え","Align Left":"左揃え","Align Right":"右揃え","Insert Horizontal Line":"区切り線を挿入","Insert Image":"画像を挿入","Insert file":"ファイルを挿入","Insert youtube/vimeo video":"Youtube/Vimeo 動画","Insert link":"リンクを挿入","Font size":"フォントサイズ","Font family":"フォント","Insert format block":"テキストのスタイル",Normal:"指定なし","Heading 1":"タイトル1","Heading 2":"タイトル2","Heading 3":"タイトル3","Heading 4":"タイトル4",Quote:"引用",Code:"コード",Insert:"挿入","Insert table":"表を挿入","Decrease Indent":"インデント減","Increase Indent":"インデント増","Select Special Character":"特殊文字を選択","Insert Special Character":"特殊文字を挿入","Paint format":"書式を貼付け","Change mode":"編集モード切替え",Margins:"マージン",top:"上",right:"右",bottom:"下",left:"左",Styles:"スタイル",Classes:"クラス",Align:"配置",Right:"右寄せ",Center:"中央寄せ",Left:"左寄せ","--Not Set--":"指定なし",Src:"ソース",Title:"タイトル",Alternative:"代替テキスト",Link:"リンク","Open link in new tab":"新しいタブで開く",Image:"画像",file:"ファイル","Image properties":"画像のプロパティー",Cancel:"キャンセル",Ok:"確定","Your code is similar to HTML. Keep as HTML?":"HTMLコードを保持しますか?","Paste as HTML":"HTMLで貼付け",Keep:"HTMLを保持",Clean:"Clean","Insert as Text":"HTMLをテキストにする","Word Paste Detected":"Word Paste Detected","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Insert only Text":"テキストだけ","File Browser":"File Browser","Error on load list":"Error on load list","Error on load folders":"Error on load folders","Are you sure?":"Are you sure?","Enter Directory name":"Enter Directory name","Create directory":"Create directory","type name":"type name","Drop image":"ここに画像をドロップ","Drop file":"ここにファイルをドロップ","or click":"or クリック","Alternative text":"代替テキスト",Browse:"ブラウズ",Upload:"アップロード",Background:"背景",Text:"文字",Top:"上",Middle:"中央",Bottom:"下","Insert column before":"左に列を挿入","Insert column after":"右に列を挿入","Insert row above":"上に行を挿入","Insert row below":"下に行を挿入","Delete table":"表を削除","Delete row":"行を削除","Delete column":"列を削除","Empty cell":"セルを空にする","Chars: %d":"文字数: %d","Words: %d":"単語数: %d","Strike through":"取り消し線",Underline:"下線",superscript:"上付き文字",subscript:"下付き文字","Cut selection":"切り取り","Select all":"すべて選択",Break:"Pause","Search for":"検索","Replace with":"置換",Replace:"交換",Paste:"貼付け","Choose Content to Paste":"選択した内容を貼付け",All:"全部",source:"source",bold:"bold",italic:"italic",brush:"brush",link:"link",undo:"undo",redo:"redo",table:"table",image:"image",eraser:"eraser",paragraph:"paragraph",fontsize:"fontsize",video:"video",font:"font",about:"about",print:"print",underline:"underline",strikethrough:"strikethrough",indent:"indent",outdent:"outdent",fullsize:"fullsize",shrink:"shrink",hr:"分割線",ul:"箇条書き",ol:"番号付きリスト",cut:"切り取り",selectall:"すべて選択","Open link":"リンクを開く","Edit link":"リンクを編集","No follow":"No follow",Unlink:"リンク解除",Eye:"サイトを確認"," URL":"URL",Reset:"リセット",Save:"保存","Save as ...":"Save as ...",Resize:"リサイズ",Crop:"Crop",Width:"幅",Height:"高さ","Keep Aspect Ratio":"縦横比を保持",Yes:"はい",No:"いいえ",Remove:"移除",Select:"選択","Select %s":"選択: %s",Update:"更新","Vertical align":"垂直方向の配置",Merge:"セルの結合","Add column":"列を追加","Add row":"行を追加",Border:"境界線","Embed code":"埋め込みコード",Delete:"削除",Edit:"編集","Horizontal align":"水平方向の配置",Filter:"Filter","Sort by changed":"Sort by changed","Sort by name":"Sort by name","Sort by size":"Sort by size","Add folder":"Add folder",Split:"分割","Split vertical":"セルの分割(垂直方向)","Split horizontal":"セルの分割(水平方向)","You can only edit your own images. Download this image on the host?":"You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!":"The image has been successfully uploaded to the host!",palette:"パレット",pencil:"鉛筆","There are no files":"There are no files",Rename:"Rename","Enter new name":"Enter new name",preview:"プレビュー",download:"ダウンロード","Paste from clipboard":"貼り付け","Your browser doesn't support direct access to the clipboard.":"お使いのブラウザはクリップボードを使用できません","Copy selection":"コピー",copy:"copy","Border radius":"角の丸み","Show all":"全て表示",Apply:"適用","Please fill out this field":"まだこの分野","Please enter a web address":"を入力してくださいウェブアドレス",Default:"デフォルト",Circle:"白丸",Dot:"黒丸",Quadrate:"四角",Find:"見","Find Previous":"探前","Find Next":"由来","Lower Alpha":"英小文字","Lower Greek":"ギリシャ文字","Lower Roman":"ローマ数字小文字","Upper Alpha":"英大文字","Upper Roman":"ローマ数字大文字","Insert className":"クラス名を挿入","Press Alt for custom resizing":"カスタムサイズ変更のためのAltキーを押します","License: %s":"ライセンス: %s"}},62770:function(t,i){"use strict";i.default={"Type something":"Bitte geben Sie einen Text ein",Advanced:"Fortgeschritten","About Jodit":"\xdcber Jodit","Jodit Editor":"Jodit Editor","Jodit User's Guide":"Das Jodit Benutzerhandbuch","contains detailed help for using":"beinhaltet ausf\xfchrliche Informationen wie Sie den Editor verwenden k\xf6nnen.","For information about the license, please go to our website:":"F\xfcr Informationen zur Lizenz, besuchen Sie bitte unsere Web-Pr\xe4senz:","Buy full version":"Vollversion kaufen","Copyright \xa9 XDSoft.net - Chupurnov Valeriy. All rights reserved.":"Copyright \xa9 XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.",Anchor:"Anker","Open in new tab":"In neuer Registerkarte \xf6ffnen","Open in fullsize":"Editor in voller Gr\xf6\xdfe \xf6ffnen","Clear Formatting":"Formatierung l\xf6schen","Fill color or set the text color":"F\xfcllfarbe oder Textfarbe \xe4ndern",Redo:"Wiederholen",Undo:"R\xfcckg\xe4ngig machen",Bold:"Fett",Italic:"Kursiv","Insert Unordered List":"Unsortierte Liste einf\xfcgen","Insert Ordered List":"Nummerierte Liste einf\xfcgen","Align Center":"Mittig ausrichten","Align Justify":"Blocksatz","Align Left":"Links ausrichten","Align Right":"Rechts ausrichten","Insert Horizontal Line":"Horizontale Linie einf\xfcgen","Insert Image":"Bild einf\xfcgen","Insert file":"Datei einf\xfcgen","Insert youtube/vimeo video":"Youtube/vimeo Video einf\xfcgen","Insert link":"Link einf\xfcgen","Font size":"Schriftgr\xf6\xdfe","Font family":"Schriftfamilie","Insert format block":"Formatblock einf\xfcgen",Normal:"Normal","Heading 1":"\xdcberschrift 1","Heading 2":"\xdcberschrift 2","Heading 3":"\xdcberschrift 3","Heading 4":"\xdcberschrift 4",Quote:"Zitat",Code:"Code",Insert:"Einf\xfcgen","Insert table":"Tabelle einf\xfcgen","Decrease Indent":"Einzug verkleinern","Increase Indent":"Einzug vergr\xf6\xdfern","Select Special Character":"Sonderzeichen ausw\xe4hlen","Insert Special Character":"Sonderzeichen einf\xfcgen","Paint format":"Format kopieren","Change mode":"\xc4nderungsmodus",Margins:"R\xe4nder",top:"Oben",right:"Rechts",bottom:"Unten",left:"Links",Styles:"CSS Stil",Classes:"CSS Klassen",Align:"Ausrichtung",Right:"Rechts",Center:"Zentriert",Left:"Links","--Not Set--":"Keine",Src:"Pfad",Title:"Titel",Alternative:"Alternativer Text",Link:"Link","Open link in new tab":"Link in neuem Tab \xf6ffnen",Image:"Bild",file:"Datei","Image properties":"Bildeigenschaften",Cancel:"Abbrechen",Ok:"OK","Your code is similar to HTML. Keep as HTML?":"Ihr Text \xe4hnelt HTML-Code. Als HTML beibehalten?","Paste as HTML":"Als HTML einf\xfcgen?",Keep:"Original speichern",Clean:"S\xe4ubern","Insert as Text":"Als Text einf\xfcgen","Word Paste Detected":"In Word formatierter Text erkannt","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?":"Der Inhalt, den Sie einf\xfcgen, stammt aus einem Microsoft Word / Excel-Dokument. M\xf6chten Sie das Format erhalten oder bereinigen?","Insert only Text":"Nur Text einf\xfcgen","File Browser":"Dateibrowser","Error on load list":"Fehler beim Laden der Liste","Error on load folders":"Fehler beim Laden der Ordner","Are you sure?":"Sind Sie sicher?","Enter Directory name":"Geben Sie den Verzeichnisnamen ein","Create directory":"Verzeichnis erstellen","type name":"Typname","Drop image":"Bild hier hinziehen","Drop file":"Datei l\xf6schen","or click":"oder hier klicken","Alternative text":"Alternativtext",Browse:"Ausw\xe4hlen",Upload:"Hochladen",Background:"Hintergrund",Text:"Text",Top:"Oben",Middle:"Mittig",Bottom:"Unten","Insert column before":"Spalte davor einf\xfcgen","Insert column after":"Spalte danach einf\xfcgen","Insert row above":"Zeile oberhalb einf\xfcgen","Insert row below":"Zeile unterhalb einf\xfcgen","Delete table":"Tabelle l\xf6schen","Delete row":"Zeile l\xf6schen","Delete column":"Spalte l\xf6schen","Empty cell":"Zelle leeren",Delete:"L\xf6schen","Strike through":"Durchstreichen",Underline:"Unterstreichen",Break:"Pause","Search for":"Suche nach","Replace with":"Ersetzen durch",Replace:"Ersetzen",Edit:"Bearbeiten","Vertical align":"Vertikale Ausrichtung","Horizontal align":"Horizontale Ausrichtung",Filter:"Filter","Sort by changed":"Sortieren nach ge\xe4ndert","Sort by name":"Nach Name sortieren","Sort by size":"Nach Gr\xf6\xdfe sortiert","Add folder":"Ordner hinzuf\xfcgen","Split vertical":"Vertikal unterteilen","Split horizontal":"Horizontal unterteilen",Split:"Unterteilen",Merge:"Vereinen","Add column":"Spalte hinzuf\xfcgen","Add row":"Zeile hinzuf\xfcgen",Border:"Rand","Embed code":"Code einbetten",Update:"Aktualisieren",superscript:"Hochstellen",subscript:"Tiefstellen","Cut selection":"Auswahl ausschneiden",Paste:"Einf\xfcgen","Choose Content to Paste":"W\xe4hlen Sie den Inhalt zum Einf\xfcgen aus","Chars: %d":"Zeichen: %d","Words: %d":"W\xf6rter: %d",All:"Alles markieren","Select %s":"Markieren: %s","Select all":"Alles markieren",source:"HTML",bold:"Fett gedruckt",italic:"Kursiv",brush:"B\xfcrste",link:"Verkn\xfcpfung",undo:"R\xfcckg\xe4ngig machen",redo:"Wiederholen",table:"Tabelle",image:"Bild",eraser:"Radiergummi",paragraph:"Absatz",fontsize:"Schriftgr\xf6\xdfe",video:"Video",font:"Schriftart",about:"\xdcber",print:"Drucken",underline:"Unterstreichen",strikethrough:"Durchstreichen",indent:"Einzug",outdent:"Herausstellen",fullsize:"Vollgr\xf6\xdfe",shrink:"Schrumpfen",hr:"die Linie",ul:"Liste von",ol:"Nummerierte Liste","Lower Alpha":"Standard, Alphabet (klein)","Upper Alpha":"Standard, Alphabet (gross)","Lower Roman":"R\xf6misch (klein)","Upper Roman":"R\xf6misch (gross)","Lower Greek":"Griechisch",cut:"Schneiden",selectall:"W\xe4hlen Sie Alle aus","Open link":"Link \xf6ffnen","Edit link":"Link bearbeiten","No follow":"Nofollow-Attribut",Unlink:"Link entfernen",Eye:"Ansehen",pencil:"Bearbeiten"," URL":"URL",Reset:"Wiederherstellen",Save:"Speichern","Save as ...":"Speichern als",Resize:"Gr\xf6\xdfe \xe4ndern",Crop:"Gr\xf6\xdfe anpassen",Width:"Breite",Height:"H\xf6he","Keep Aspect Ratio":"Seitenverh\xe4ltnis beibehalten",Yes:"Ja",No:"Nein",Remove:"Entfernen",Select:"Markieren","You can only edit your own images. Download this image on the host?":"Sie k\xf6nnen nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","The image has been successfully uploaded to the host!":"Das Bild wurde erfolgreich auf den Server hochgeladen!",palette:"Palette","There are no files":"In diesem Verzeichnis befinden sich keine Dateien.",Rename:"Umbenennen","Enter new name":"Geben Sie einen neuen Namen ein",preview:"Vorschau",download:"Herunterladen","Paste from clipboard":"Aus Zwischenablage einf\xfcgen","Your browser doesn't support direct access to the clipboard.":"Ihr Browser unterst\xfctzt keinen direkten Zugriff auf die Zwischenablage.","Copy selection":"Auswahl kopieren",copy:"Kopieren","Border radius":"Radius f\xfcr abgerundete Ecken","Show all":"Alle anzeigen",Apply:"Anwenden","Please fill out this field":"Bitte f\xfcllen Sie dieses Feld aus","Please enter a web address":"Bitte geben Sie eine Web-Adresse ein",Default:"Standard",Circle:"Kreis",Dot:"Punkte",Quadrate:"Quadrate",Find:"Suchen","Find Previous":"Suche vorherige","Find Next":"Weitersuchen","Insert className":"className (CSS) einf\xfcgen","Press Alt for custom resizing":"Dr\xfccken Sie Alt f\xfcr benutzerdefinierte Gr\xf6\xdfenanpassung","License: %s":"Lizenz: %s"}},62843:function(t,i,n){"use strict";n.d(i,{Button:function(){return r.Button},UIButton:function(){return r.UIButton},UIButtonGroup:function(){return o.UIButtonGroup},UIButtonState:function(){return r.UIButtonState},UITooltip:function(){return s.UITooltip}});var r=n(10830),o=n(71916),s=n(57340)},62845:function(t,i,n){"use strict";n.d(i,{checkJoinNeighbors:function(){return a}});var r=n(82758),o=n(2748),s=n(63785);function a(t,i,n){let s=i,a=s;for(;s&&!o.Dom.findNotEmptySibling(s,n)&&s.parentElement!==t.editor;)a=s=s.parentElement;if(o.Dom.isElement(a)&&o.Dom.isContentEditable(a,t.editor)){var u,c;let s,d,h,p=o.Dom.findNotEmptySibling(a,n);if(p&&(u=a,c=p,s=o.Dom.isTag(c,r.LIST_TAGS),d=o.Dom.isTag(u,r.LIST_TAGS),h=(t,i)=>i?t.firstElementChild:t.lastElementChild,(d?(c=t.createInside.element(t.o.enterBlock),o.Dom.before(u,c),l(t,h(u,n),c,n)):!!c&&!!s&&!d&&l(t,u,h(c,!n),n))||l(t,a,p,n)))return t.s.setCursorBefore(i),!0}return!1}function l(t,i,n,r){if(i&&o.Dom.isElement(n)){o.Dom.moveContent(i,n,!r,(0,s.getMoveFilter)(t));let a=i;for(;a&&a!==t.editor&&o.Dom.isEmpty(a);){let t=a.parentElement;o.Dom.safeRemove(a),a=t}return!0}return!1}},62895:function(t,i,n){"use strict";n.d(i,{WebStorageConversationStorage:function(){return r.WebStorageConversationStorage},createStorageProvider:function(){return r.createStorageProvider}});var r=n(21064)},63134:function(t,i,n){"use strict";n.r(i),i.default={newline:"nueva l\xednea",delete:"eliminar",space:"espacio","Speech Recognize":"Reconocimiento de Voz",Sound:"Sonido","Interim Results":"Resultados Provisionales"}},63195:function(t,i,n){"use strict";n.r(i),i.default={Spellcheck:"拼写检查"}},63227:function(t,i,n){"use strict";n.d(i,{UIInputArea:function(){return d}});var r=n(82749),o=n(31635),s=n(65478),a=n(38837),l=n(67510),u=n(62843),c=n(85120);class d extends l.UIElement{className(){return"UIInputArea"}setParentView(t){var i,n,r;return null==(i=this.textarea)||i.setParentView(t),null==(n=this.sendButton)||n.setParentView(t),null==(r=this.stopButton)||r.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
|
|
425
425
|
<div class="&__context-badges"></div>
|
|
426
426
|
<div class="&__loading-indicator">
|
|
427
427
|
<span class="&__loading-dot"></span>
|
|
@@ -553,7 +553,7 @@ Please report this to https://github.com/markedjs/marked.`,t){let t="<p>An error
|
|
|
553
553
|
<div class="${i("footer")}"></div>
|
|
554
554
|
<div class="${i("resizer")}">${g.Icon.get("resize_handler")}</div>
|
|
555
555
|
</div>
|
|
556
|
-
</div>`),"rtl"===this.options.direction&&(this.container.style.direction="rtl",this.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=this.o.zIndex.toString()),(0,f.attr)(this.container,"role","dialog"),Object.defineProperty(this.container,"component",{value:this}),this.setMod("theme",this.o.theme||"default").setMod("resizable",!!this.o.resizable);const n=this.getElm("panel");(0,m.assert)(null!=n,"Panel element does not exist");const r=this.getElm("resizer");(0,m.assert)(null!=r,"Resizer element does not exist");const o=this.getElm("header-title");(0,m.assert)(null!=o,"header-title element does not exist");const a=this.getElm("content");(0,m.assert)(null!=a,"Content element does not exist");const l=this.getElm("footer");(0,m.assert)(null!=l,"Footer element does not exist");const u=this.getElm("header-toolbar");(0,m.assert)(null!=u,"header-toolbar element does not exist"),this.dialog=n,this.resizer=r,this.dialogbox_header=o,this.dialogbox_content=a,this.dialogbox_footer=l,this.dialogbox_toolbar=u,(0,f.css)(this.dialog,{maxWidth:this.options.maxWidth,minHeight:this.options.minHeight,minWidth:this.options.minWidth});const h=this.getElm("header");h&&this.e.on(h,"pointerdown touchstart",this.__onHeaderMouseDown),this.e.on(this.resizer,"mousedown touchstart",this.__onResizerMouseDown);const b=d.pluginSystem.get("fullsize");if((0,p.isFunction)(b)&&b(this),this.e.on(this.container,"close_dialog",this.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const t=this.getElm("overlay");(0,m.assert)(null!=t,"Overlay element does not exist"),this.e.on(t,"click",this.close)}}};w.defaultOptions=(r=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}({},b.View.defaultOptions),o=o={closeOnClickOverlay:!1,closeOnEsc:!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),_([u.autobind],w.prototype,"__onMouseUp",null),_([u.autobind],w.prototype,"__onHeaderMouseDown",null),_([u.autobind],w.prototype,"__onMouseMove",null),_([u.autobind],w.prototype,"__onEsc",null),_([u.autobind],w.prototype,"__onResizerMouseDown",null),_([u.autobind],w.prototype,"close",null),_([(0,u.hook)("ready")],w.prototype,"buildToolbar",null),w=s=_([u.component],w)},78614:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 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> '},78644:function(t,i,n){"use strict";n.d(i,{ToolbarButton:function(){return x}});var r=n(78213),o=n(45219),s=n(33433),a=n(87325),l=n(37133),u=n(2748),c=n(68345),d=n(23282),h=n(19306),p=n(72430),f=n(70799),m=n(56175),g=n(87058),b=n(38837),v=n(29960),y=n(37790),_=n(62843),w=n(72157),C=n(12153),k=n(56917),S=n(21491);function E(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 F(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}var A=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 x=class t extends _.UIButton{className(){return"ToolbarButton"}get toolbar(){let t=(0,a.getComponentClass)("ToolbarCollection");return this.closest(t)}update(){var t,i;let{control:n,state:r}=this,o=this.toolbar;if(!o)return;let s=null==(t=n.value)?void 0:t.call(n,o.jodit,this);void 0!==s&&(r.value=s),r.disabled=this.__calculateDisabledStatus(o),r.activated=this.__calculateActivatedStatus(o),null==(i=n.update)||i.call(n,o.jodit,this)}__calculateActivatedStatus(t){var i,n;return(!(0,h.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(n=(i=this.control).isActive)&&!!n.call(i,this.j,this)||!!(t&&t.shouldBeActive(this)))}__calculateDisabledStatus(t){var i,n;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(n=(i=this.control).isDisabled)?void 0:n.call(i,this.j,this)))||!!(t&&t.shouldBeDisabled(this))}onChangeActivated(){(0,v.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,d.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,v.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let t=this.componentName,i=this.j.c.span(t),n=super.createContainer();(0,v.attr)(i,"role","listitem"),n.classList.remove(t),n.classList.add(t+"__button"),Object.defineProperty(n,"component",{value:this}),i.appendChild(n);let r=this.j.c.fromHTML(`<span role="trigger" class="${t}__trigger">${C.Icon.get("chevron")}</span>`);return n.appendChild(r),i}focus(){var t;null==(t=this.container.querySelector("button"))||t.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):u.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let t=this.state.disabled?"disabled":null;(0,v.attr)(this.trigger,"disabled",t),(0,v.attr)(this.button,"disabled",t),(0,v.attr)(this.container,"disabled",t)}__initFromControl(){var t;let{control:i,state:n}=this;this.updateSize(),n.name=i.name;let{textIcons:r}=this.j.o;if(!0===r||(0,d.isFunction)(r)&&r(i.name)||i.template)n.icon=(0,_.UIButtonState)().icon,n.text=i.text||i.name;else{if(i.iconURL)n.icon.iconURL=i.iconURL;else{let r=i.icon||i.name;n.icon.name=C.Icon.exists(r)||(null==(t=this.j.o.extraIcons)?void 0:t[r])?r:""}i.iconURL||n.icon.name||(n.text=i.text||i.name)}i.tooltip&&(n.tooltip=(0,d.isFunction)(i.tooltip)?i.tooltip(this.j,i,this):i.tooltip),n.hasTrigger=!!(i.list||i.popup&&i.exec)}onTriggerClick(t){var i,n,r;if(this.openedPopup)return void this.__closePopup();let{control:o}=this;if(t.buffer={actionTrigger:this},o.list)return this.__openControlList(o);if((0,d.isFunction)(o.popup)){let t=this.openPopup();t.parentElement=this;try{if(!1!==this.j.e.fire((0,g.camelCase)(`before-${o.name}-open-popup`),this.target,o,t)){let s=null!=(r=null!=(n=null==(i=this.toolbar)?void 0:i.getTarget(this))?n:this.target)?r:null,a=o.popup(this.j,s,this.__closePopup,this);a?t.setContent((0,f.isString)(a)?this.j.c.fromHTML(a):a).open(()=>(0,m.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(t){throw this.__closePopup(),t}this.j.e.fire((0,g.camelCase)(`after-${o.name}-open-popup`),t.container)}}__openControlList(t){var i;let n=null!=(i=this.jodit.options.controls)?i:{},r=t=>(0,w.findControlType)(t,n),o=t.list,s=this.openPopup(),a=(0,S.makeCollection)(this.j);s.parentElement=this,a.parentElement=s,a.mode="vertical";let l=(i,n)=>{let o;if((0,f.isString)(n)&&r(n))return E({name:n.toString()},r(n));if((0,f.isString)(i)&&r(i))return E({name:i.toString()},r(i),"object"==typeof n?n:{});o=i,(0,p.isPlainObject)(o)&&"title"in o&&"value"in o&&(n=i.value,i=i.title);let{childTemplate:s}=t,a={name:i.toString(),template:s&&((t,i,n)=>s(t,i,n,this)),exec:t.childExec?(i,n,r)=>{var o;return null==(o=t.childExec)?void 0:o.call(t,i,n,F(E({},r),{parentControl:t}))}:t.exec,data:t.data,command:t.command,isActive:t.isChildActive,value:t.value,isDisabled:t.isChildDisabled,mode:t.mode,args:[...t.args?t.args:[],i,n]};return(0,f.isString)(n)&&(a.text=n),a};a.build((0,c.isArray)(o)?o.map(l):(0,y.keys)(o,!1).map(t=>l(t,o[t])),this.target),s.setContent(a).open(()=>(0,m.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(t){this.openedPopup&&(t&&u.Dom.isNode(t.target)&&(u.Dom.isOrContains(this.container,t.target)||this.openedPopup.isOwnClick(t))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new k.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(t){var i,n,r,o,s,a,l;let{control:u}=this;if((0,d.isFunction)(u.exec)){let c=null!=(r=null!=(n=null==(i=this.toolbar)?void 0:i.getTarget(this))?n:this.target)?r:null,d=u.exec(this.j,c,{control:u,originalEvent:t,button:this});if(!1!==d&&!0!==d&&(null==(s=null==(o=this.j)?void 0:o.e)||s.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(l=null==(a=this.j)?void 0:a.e)||l.fire("closeAllPopups afterExec")),!1!==d)return}return u.list?this.__openControlList(u):(0,d.isFunction)(u.popup)?this.onTriggerClick(t):void((u.command||u.name)&&((0,y.call)((0,h.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),u.command||u.name,!1,u.args&&u.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(t,i,n=null){super(t),this.control=i,this.target=n,this.state=F(E({},(0,_.UIButtonState)()),{theme:"toolbar",currentValue:"",hasTrigger:!1}),this.openedPopup=null;const o=this.getElm("button");(0,b.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const s=this.getElm("trigger");(0,b.assert)(s,"Element trigger should exists"),this.trigger=s,s.remove(),t.e.on([this.button,this.trigger],"mousedown",t=>t.preventDefault()),this.onAction(this.onClick),this.hookStatus(r.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),i.mods&&Object.keys(i.mods).forEach(t=>{i.mods&&this.setMod(t,i.mods[t])})}};A([s.cacheHTML],x.prototype,"createContainer",null),A([(0,l.watch)("state.hasTrigger",{immediately:!1})],x.prototype,"onChangeHasTrigger",null),A([(0,l.watch)("trigger:click")],x.prototype,"onTriggerClick",null),A([o.autobind],x.prototype,"onOutsideClick",null),A([o.autobind],x.prototype,"__closePopup",null),x=A([a.component],x)},78717:function(t,i,n){"use strict";var r=n(56075),o=n(11886),s=n(75352),a=n(91140);i.default=(0,o._)((0,r._)({},s),{execute:a.execute})},78720:function(t,i,n){"use strict";n.d(i,{checkBlockNesting:function(){return o}});var r=n(2748);function o(t,i){if(r.Dom.isFragment(i)&&(i=i.firstChild),t.o.dtd.checkBlockNesting&&r.Dom.isBlock(i)){let i=r.Dom.furthest(t.s.current(),r.Dom.isBlock,t.editor);i&&!t.o.dtd.blockLimits[i.tagName.toLowerCase()]&&(t.s.setCursorAfter(i),r.Dom.isEmpty(i)&&r.Dom.safeRemove(i))}}},78777:function(t){t.exports={"Show Blocks":"תראה רחובות"}},78818:function(t,i,n){"use strict";n.d(i,{History:function(){return c}});var r=n(80480),o=n(81577),s=n(6441),a=n(92643),l=n(52604),u=n(57034);s.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class c extends r.ViewComponent{className(){return"History"}redo(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canRedo(){return this.__stack.canRedo()}undo(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canUndo(){return this.__stack.canUndo()}clear(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()}get length(){return this.__stack.length}get startValue(){return this.__startValue}set startValue(t){this.__startValue=t}__upTick(){this.updateTick+=1}onChange(){this.__processChanges()}__processChanges(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()}updateStack(t=!1){let i=this.snapshot.make();if(!l.Snapshot.equal(i,this.startValue)){let n=new a.Command(this.startValue,i,this,this.updateTick);if(t){let t=this.__stack.current();t&&this.updateTick===t.tick&&this.__stack.replace(n)}else this.__stack.push(n);this.startValue=i,this.fireChangeStack()}}fireChangeStack(){var t;this.j&&!this.j.isInDestruct&&(null==(t=this.j.events)||t.fire("changeStack"))}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}constructor(t,i=new u.Stack(t.o.history.maxHistoryLength),n=new l.Snapshot(t)){super(t),this.updateTick=0,this.__stack=i,this.snapshot=n,t.o.history.enable&&t.e.on("afterAddPlace.history",()=>{this.isInDestruct||(this.startValue=this.snapshot.make(),t.events.on("internalChange internalUpdate",()=>{this.startValue=this.snapshot.make()}).on(t.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map(t=>t+".history").join(" "),()=>{this.startValue.html===this.j.getNativeEditorValue()&&(this.startValue=this.snapshot.make())}).on(this,"change.history",this.onChange))})}}!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.debounce)()],c.prototype,"onChange",null)},78879:function(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},78927:function(t,i,n){"use strict";n.d(i,{idle:function(){return a}});var r=n(91907),o=n(23282),s=n(89890);function a(){return(t,i)=>{if(!(0,o.isFunction)(t[i]))throw(0,s.error)("Handler must be a Function");t.hookStatus(r.STATUSES.ready,t=>{let{async:n}=t,r=t[i];t[i]=(...i)=>n.requestIdleCallback(r.bind(t,...i))})}}},78955:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="1.5"> <rect x="2" y="3.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="2" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="3.5" width="9" height="9" rx="1.5" fill="currentColor" transform="rotate(45 17.5 8)"/> </svg>'},79078:function(t,i,n){"use strict";n.d(i,{executeToolCall:function(){return a},updateToolCallInMessage:function(){return l}});var r=n(77688),o=n(56075),s=n(11886);function a(t,i,n){return(0,r._)(function*(){let r=(0,o._)({},i);try{let t=new AbortController().signal,a=yield n.executeTool(i.name,i.arguments,t);r=(0,s._)((0,o._)({},i),{result:{result:a},status:"executed"})}catch(n){r=(0,s._)((0,o._)({},i),{result:{error:n instanceof Error?n.message:String(n)},status:"error"}),t.e.fire("toolCallFailed.ai-assistant-pro",r)}return t.e.fire("toolCallExecuted.ai-assistant-pro",r,{toolCallId:r.id,result:r.result}),r})()}function l(t,i){var n,r;let a=null==(r=t.toolCalls)?void 0:r.findIndex(t=>t.id===i.id);if(null==a||-1===a)return t;let l=[...null!=(n=null==t?void 0:t.toolCalls)?n:[]];return l[a]=i,(0,s._)((0,o._)({},t),{toolCalls:l})}},79348:function(t,i,n){"use strict";n.d(i,{Selection:function(){return f}});var r=n(82758),o=n(65478),s=n(2748),a=n(21537),l=n(27613),u=n(38837),c=n(43463),d=n(25639),h=n(45124),p=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 f{get j(){return this.jodit}errorNode(t){if(!s.Dom.isNode(t))throw(0,a.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,l.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let t=this.sel;return t&&t.rangeCount?t.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:t}=this,i=(null==t?void 0:t.rangeCount)?t.getRangeAt(0):null;return!(!i||!s.Dom.isOrContains(this.area,i.startContainer))}createRange(t=!1){let i=this.doc.createRange();return t&&this.selectRange(i),i}remove(){let t=this.sel,i=this.current();if(t&&i)for(let i=0;i<t.rangeCount;i+=1)t.getRangeAt(i).deleteContents(),t.getRangeAt(i).collapse(!0)}clear(){var t,i;(null==(t=this.sel)?void 0:t.rangeCount)&&(null==(i=this.sel)||i.removeAllRanges())}removeNode(t){if(!s.Dom.isOrContains(this.j.editor,t,!0))throw(0,a.error)("Selection.removeNode can remove only editor's children");s.Dom.safeRemove(t),this.j.e.fire("afterRemoveNode",t)}insertCursorAtPoint(t,i){this.removeMarkers();try{let n=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let r=this.doc.caretPositionFromPoint(t,i);if(r)return n.setStart(r.offsetNode,r.offset)}if(this.doc.caretRangeFromPoint){let r=this.doc.caretRangeFromPoint(t,i);(0,u.assert)(r,"Incorrect caretRangeFromPoint behaviour"),n.setStart(r.startContainer,r.startOffset)}})(),n.collapse(!0),this.selectRange(n),!0}catch(t){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,a.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)}removeMarkers(){s.Dom.safeRemove.apply(null,this.markers)}marker(t=!1,i){let n=null;i&&(n=i.cloneRange()).collapse(t);let o=this.j.createInside.span();return o.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),o.style.lineHeight="0",o.style.display="none",s.Dom.markTemporary(o),(0,a.attr)(o,"data-"+r.MARKER_CLASS,t?"start":"end"),o.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),n&&s.Dom.isOrContains(this.area,t?n.startContainer:n.endContainer)&&n.insertNode(o),o}restore(){let t=!1,i=t=>`span[data-${r.MARKER_CLASS}=${t?"start":"end"}]`,n=this.area.querySelector(i(!0)),o=this.area.querySelector(i(!1));if(n){if(t=this.createRange(),o)t.setStartAfter(n),s.Dom.safeRemove(n),t.setEndBefore(o),s.Dom.safeRemove(o);else{let i=n.previousSibling;s.Dom.isText(i)?t.setStart(i,i.nodeValue?i.nodeValue.length:0):t.setStartBefore(n),s.Dom.safeRemove(n),t.collapse(!0)}t&&this.selectRange(t)}}fakes(){let t=this.sel;if(!t||!t.rangeCount)return[];let i=t.getRangeAt(0);(0,u.assert)(i,"Range is null");let n=i.cloneRange();n.collapse(!0);let r=this.j.createInside.fake();s.Dom.safeInsertNode(n,r),i.setStartBefore(r);let o=[r];if(!i.collapsed){let t=i.cloneRange();t.collapse(!1);let n=this.j.createInside.fake();s.Dom.safeInsertNode(t,n),i.setEndAfter(n),o.push(n)}return this.selectRange(i),o}restoreFakes(t){var i,n,r,o;let a=t.filter(t=>t.isConnected);if(!a.length)return;let[l,u]=a,c=this.createRange();c.setStartAfter(l),u&&c.setEndBefore(u),this.selectRange(c),(null==(i=l.parentNode)?void 0:i.firstChild)!==(null==(n=l.parentNode)?void 0:n.lastChild)&&s.Dom.safeRemove(l),(null==(r=null==u?void 0:u.parentNode)?void 0:r.firstChild)!==(null==(o=null==u?void 0:u.parentNode)?void 0:o.lastChild)&&s.Dom.safeRemove(u)}save(t=!1){if(this.hasMarkers)return[];let i=this.sel;if(!i||!i.rangeCount)return[];let n=[],r=i.rangeCount,o=[];for(let t=0;r>t;t+=1)if(o[t]=i.getRangeAt(t),o[t].collapsed){let i=this.marker(!0,o[t]);n[t]={startId:i.id,collapsed:!0,startMarker:i.outerHTML}}else{let i=this.marker(!0,o[t]),r=this.marker(!1,o[t]);n[t]={startId:i.id,endId:r.id,collapsed:!1,startMarker:i.outerHTML,endMarker:r.outerHTML}}if(!t){i.removeAllRanges();for(let t=r-1;t>=0;--t){let r=this.doc.getElementById(n[t].startId);if(r){if(n[t].collapsed)o[t].setStartAfter(r),o[t].collapse(!0);else if(o[t].setStartBefore(r),n[t].endId){let i=this.doc.getElementById(n[t].endId);i&&o[t].setEndAfter(i)}try{i.addRange(o[t].cloneRange())}catch(t){}}}}return n}focus(t={preventScroll:!0}){var i,n;if(!this.isFocused()){let r=(0,a.getScrollParent)(this.j.container),o=null==r?void 0:r.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(t),this.win.focus(),this.area.focus(t),o&&(null==r?void 0:r.scrollTo)&&r.scrollTo(0,o);let l=this.sel,u=(null==l?void 0:l.rangeCount)?null==l?void 0:l.getRangeAt(0):null;if(!u||!s.Dom.isOrContains(this.area,u.startContainer)){let t=this.createRange();t.setStart(this.area,0),t.collapse(!0),this.selectRange(t,!1)}return this.j.editorIsActive||null==(n=null==(i=this.j)?void 0:i.events)||n.fire("focus"),!0}return!1}isCollapsed(){let t=this.sel;for(let i=0;t&&i<t.rangeCount;i+=1)if(!t.getRangeAt(i).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(t=!0){if(this.j.getRealMode()!==r.MODE_WYSIWYG)return null;let i=this.sel;if(!i||0===i.rangeCount)return null;let n=i.getRangeAt(0),o=n.startContainer,a=!1;if(s.Dom.isTag(o,"br")&&i.isCollapsed)return o;if(!s.Dom.isText(o)){let r=(0,h.findCorrectCurrentNode)(o,n,a,i.isCollapsed,t,t=>a?t.lastChild:t.firstChild);o=r.node,a=r.rightMode}return o&&s.Dom.isOrContains(this.area,o)?o:null}insertNode(t,i=!0,n=!0){this.errorNode(t);let r=s.Dom.isFragment(t)?t.lastChild:t;this.j.e.fire("safeHTML",t),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",t),o&&o.rangeCount){let i=o.getRangeAt(0),{firstChild:n}=t;s.Dom.isOrContains(this.area,i.commonAncestorContainer)?s.Dom.safeInsertNode(i,t):this.area.appendChild(t),[()=>null==n?void 0:n.previousSibling,()=>null==n?void 0:n.previousSibling,()=>{var t;return null==(t=null==n?void 0:n.previousSibling)?void 0:t.lastChild}].forEach(t=>{let i=t();i&&s.Dom.isEmptyTextNode(i)&&s.Dom.safeRemove(i)})}else this.area.appendChild(t);let n=t=>{if(s.Dom.isBlock(t)){let i=t.lastChild;if(i)return n(i)}this.setCursorAfter(t)};i&&(s.Dom.isFragment(t)?r&&n(r):n(t)),this.j.o.scrollToPastedContent&&(0,a.scrollIntoViewIfNeeded)(null!=r?r:t,this.j.editor,this.doc)}),n&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",s.Dom.isFragment(t)?r:t)}insertHTML(t,i=!0){if(""===t)return;let n=this.j.createInside.div(),r=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),s.Dom.isNode(t)?n.appendChild(t):n.innerHTML=t.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",n.innerHTML))&&n.lastChild){for(;n.firstChild;)n.firstChild,r.appendChild(n.firstChild);this.insertNode(r,i,!1),this.j.__imdSynchronizeValues()}}insertImage(t,i=null,n=null){let r=(0,l.isString)(t)?this.j.createInside.element("img"):t;if((0,l.isString)(t)&&r.setAttribute("src",t),null!=n){let t=n.toString();t&&"auto"!==t&&0>String(t).indexOf("px")&&0>String(t).indexOf("%")&&(t+="px"),(0,a.attr)(r,"width",t)}i&&"object"==typeof i&&(0,a.css)(r,i);let o=()=>{(r.naturalHeight<r.offsetHeight||r.naturalWidth<r.offsetWidth)&&(r.style.width="",r.style.height=""),r.removeEventListener("load",o)};this.j.e.on(r,"load",o),r.complete&&o(),this.insertNode(r),this.j.e.fire("afterInsertImage",r)}eachSelection(t){var i;let n=this.sel;if(!n||!n.rangeCount)return;let o=n.getRangeAt(0),u=o.commonAncestorContainer;s.Dom.isHTMLElement(u)||(u=u.parentElement);let c=[],d=o.startOffset,h=u.childNodes.length,p=o.startContainer===this.area?u.childNodes[d<h?d:h-1]:o.startContainer,f=o.endContainer===this.area?u.childNodes[o.endOffset-1]:o.endContainer;s.Dom.isText(p)&&p===o.startContainer&&o.startOffset===(null==(i=p.nodeValue)?void 0:i.length)&&p.nextSibling&&(p=p.nextSibling),s.Dom.isText(f)&&f===o.endContainer&&0===o.endOffset&&f.previousSibling&&(f=f.previousSibling);let m=t=>{!t||t===u||s.Dom.isEmptyTextNode(t)||(0,l.isMarker)(t)||c.push(t)};m(p),p!==f&&s.Dom.isOrContains(u,p,!0)&&s.Dom.find(p,t=>(m(t),t===f||t&&t.contains&&t.contains(f)),u,!0,!1);let g=i=>{if(s.Dom.isOrContains(this.j.editor,i,!0)){if(i.nodeName.match(/^(UL|OL)$/))return(0,a.toArray)(i.childNodes).forEach(g);if(s.Dom.isTag(i,"li"))if(i.firstChild)i=i.firstChild;else{let t=this.j.createInside.text(r.INVISIBLE_SPACE);i.appendChild(t),i=t}t(i)}};0===c.length&&(s.Dom.isEmptyTextNode(p)&&c.push(p),p.firstChild&&c.push(p.firstChild)),c.forEach(g)}cursorInTheEdge(t,i,n=null){var r;let o=!t,l=null==(r=this.sel)?void 0:r.getRangeAt(0);if(null!=n||(n=this.current(!1)),!l||!n||!s.Dom.isOrContains(i,n,!0))return null;let u=t?l.startContainer:l.endContainer,c=t?l.startOffset:l.endOffset,d=t=>!!(t&&!s.Dom.isTag(t,"br")&&!s.Dom.isEmptyTextNode(t)&&!s.Dom.isTemporary(t)&&!(s.Dom.isElement(t)&&!0===this.j.e.fire("isInvisibleForCursor",t)));if(s.Dom.isText(u)){if((0,h.cursorInTheEdgeOfString)(u,c,t,o))return!1}else{let t=(0,a.toArray)(u.childNodes);if(o){if(t.slice(c).some(d))return!1}else if(t.slice(0,c).some(d))return!1}let p=n;for(;p&&p!==i;){let i=s.Dom.sibling(p,t);if(!i){p=p.parentNode;continue}if((p=i)&&d(p))return!1}return!0}cursorOnTheLeft(t,i){return this.cursorInTheEdge(!0,t,i)}cursorOnTheRight(t,i){return this.cursorInTheEdge(!1,t,i)}setCursorAfter(t){return this.setCursorNearWith(t,!1)}setCursorBefore(t){return this.setCursorNearWith(t,!0)}setCursorNearWith(t,i){var n,r;if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let o=this.createRange(),l=null;return s.Dom.isText(t)?i?o.setStart(t,0):o.setEnd(t,null!=(r=null==(n=t.nodeValue)?void 0:n.length)?r:0):(l=this.j.createInside.fake(),i?o.setStartBefore(t):o.setEndAfter(t),o.collapse(i),s.Dom.safeInsertNode(o,l),o.selectNode(l)),o.collapse(i),this.selectRange(o),l}setCursorIn(t,i=!1){if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let n=this.createRange(),o=t,l=t;do{if(s.Dom.isText(o)||s.Dom.isTag(o,r.INSEPARABLE_TAGS))break;l=o,o=i?o.firstChild:o.lastChild}while(o);if(!o){let t=this.j.createInside.text(r.INVISIBLE_SPACE);s.Dom.isTag(l,r.INSEPARABLE_TAGS)?o=l:(l.appendChild(t),l=t)}let u=o||l;return s.Dom.isTag(u,r.INSEPARABLE_TAGS)?i||s.Dom.isTag(u,"br")?n.setStartBefore(u):n.setEndAfter(u):n.selectNodeContents(u),n.collapse(i),this.selectRange(n),l}selectRange(t,i=!0){let n=this.sel;return i&&!this.isFocused()&&this.focus(),n&&(n.removeAllRanges(),n.addRange(t)),this.j.e.fire("changeSelection"),this}select(t,i=!1){if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let n=this.createRange();return n[i?"selectNodeContents":"selectNode"](t),this.selectRange(n)}get html(){let t=this.sel;if(t&&t.rangeCount>0){let i=t.getRangeAt(0).cloneContents(),n=this.j.createInside.div();return n.appendChild(i),n.innerHTML}return""}*wrapInTagGen(t){if(this.isCollapsed()){let i=this.jodit.createInside.element("font",r.INVISIBLE_SPACE);this.insertNode(i,!1,!1),t&&t[0]&&i.appendChild(t[0]),yield i,s.Dom.unwrap(i);return}for(let t of((0,a.$$)("*[style*=font-size]",this.area).forEach(t=>{(0,a.attr)(t,"data-font-size",t.style.fontSize.toString()),t.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,a.$$)("*[data-font-size]",this.area).forEach(t=>{let i=(0,a.attr)(t,"data-font-size");i&&(t.style.fontSize=i,(0,a.attr)(t,"data-font-size",null))}),(0,a.$$)('font[size="7"]',this.area))){let{firstChild:i,lastChild:n}=t;if(i&&i===n&&(0,l.isMarker)(i)){s.Dom.unwrap(t);continue}i&&(0,l.isMarker)(i)&&s.Dom.before(t,i),n&&(0,l.isMarker)(n)&&s.Dom.after(t,n),yield t,s.Dom.unwrap(t)}}wrapInTag(t){let i=[];for(let n of this.wrapInTagGen())try{if(n.firstChild&&n.firstChild===n.lastChild&&(0,l.isMarker)(n.firstChild))continue;(0,l.isFunction)(t)?t(n):i.push(s.Dom.replace(n,t,this.j.createInside))}finally{let t=n.parentNode;t&&(s.Dom.unwrap(n),s.Dom.isEmpty(t)&&s.Dom.unwrap(t))}return i}commitStyle(t){(0,u.assert)((0,a.size)(t)>0,"Need to pass at least one option"),new d.CommitStyle(t).apply(this.j)}splitSelection(t,i){if(!this.isCollapsed())return null;let n=this.createRange(),o=this.range;n.setStartBefore(t);let a=this.cursorOnTheRight(t,i),l=this.cursorOnTheLeft(t,i),c=this.j.createInside.element("br"),d=this.j.createInside.fake(),h=d.cloneNode();try{if(a||l){i?s.Dom.before(i,c):s.Dom.safeInsertNode(o,c);let t=(t,i)=>{let n=i(t);for(;n;){let t=i(n);if(n&&(s.Dom.isTag(n,"br")||s.Dom.isEmptyTextNode(n)))s.Dom.safeRemove(n);else break;n=t}};t(c,t=>t.nextSibling),t(c,t=>t.previousSibling),s.Dom.after(c,h),s.Dom.before(c,d),a?(n.setEndBefore(c),o.setEndBefore(c)):(n.setEndAfter(c),o.setEndAfter(c))}else n.setEnd(o.startContainer,o.startOffset);let p=n.extractContents(),f=t=>s.Dom.each(t,t=>s.Dom.isEmptyTextNode(t)&&s.Dom.safeRemove(t));(0,u.assert)(t.parentNode,"Splitting fails");try{if(f(p),f(t),t.parentNode.insertBefore(p,t),!i&&a&&(null==c?void 0:c.parentNode)){let t=this.createRange();t.setStartBefore(c),this.selectRange(t)}}catch(t){if(!r.IS_PROD)throw t}let m=t=>{var i,n,r;(null==(i=null==t?void 0:t.parentNode)?void 0:i.firstChild)===(null==(n=null==t?void 0:t.parentNode)?void 0:n.lastChild)&&(null==(r=null==t?void 0:t.parentNode)||r.appendChild(c.cloneNode()))};m(d),m(h)}finally{s.Dom.safeRemove(d),s.Dom.safeRemove(h)}return t.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:t}=this,i=t.cloneRange();if(!s.Dom.isOrContains(this.j.editor,t.commonAncestorContainer,!0))return this;let n=i=>{let n=this.j.createInside.fake(),r=t.cloneRange();return r.collapse(i),s.Dom.safeInsertNode(r,n),(0,c.moveTheNodeAlongTheEdgeOutward)(n,i,this.j.editor),n},r=n(!0),o=n(!1);i.setStartAfter(r),i.setEndBefore(o);let l=s.Dom.findSibling(r,!1),u=s.Dom.findSibling(o,!0);if(l!==u){let t=s.Dom.isElement(l)&&s.Dom.isOrContains(l,o),n=!t&&s.Dom.isElement(u)&&s.Dom.isOrContains(u,r);if(t||n){let n=t?l:u,a=n;for(;s.Dom.isElement(n);)(n=t?n.firstElementChild:n.lastElementChild)&&(t?s.Dom.isOrContains(n,o):s.Dom.isOrContains(n,r))&&(a=n);t?i.setStart(a,0):i.setEnd(a,a.childNodes.length)}}if(this.selectRange(i),s.Dom.safeRemove(r,o),this.isCollapsed())throw(0,a.error)("Selection is collapsed");return this}constructor(t){this.jodit=t,t.e.on("removeMarkers",()=>{this.removeMarkers()})}}p([o.autobind],f.prototype,"createRange",null),p([o.autobind],f.prototype,"focus",null),p([o.autobind],f.prototype,"setCursorAfter",null),p([o.autobind],f.prototype,"setCursorBefore",null),p([o.autobind],f.prototype,"setCursorIn",null)},79419:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(94775),a=n(23140),l=n(92699),u=n(10052);o.Config.prototype.controls.cut={command:"cut",isDisabled:t=>t.s.isCollapsed(),tooltip:"Cut selection"},o.Config.prototype.controls.copy={command:"copy",isDisabled:t=>t.s.isCollapsed(),tooltip:"Copy selection"},o.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},r.Icon.set("copy",s.default).set("cut",a.default).set("paste",l.default).set("select-all",u.default)},79455:function(t,i,n){"use strict";n.d(i,{UISettingsPopup:function(){return d}});var r=n(77688),o=n(82749),s=n(31635),a=n(16015),l=n(71102),u=n(65478),c=n(67510);class d extends c.UIElement{className(){return"UISettingsPopup"}onChangeTheme(){return(0,r._)(function*(){var t,i,n;let r=(null==(t=this.state)?void 0:t.theme)&&(null==(i=this.state)?void 0:i.theme)!=="parent"?null==(n=this.state)?void 0:n.theme:this.j.o.theme;this.container.classList.remove("jodit_theme_dark","jodit_theme_light"),this.container.classList.add("jodit_theme_"+r)}).call(this)}update(){var t,i;return null==(t=this.dialogSettings)||t.update(),null==(i=this.globalSettings)||i.update(),this.updateContent(),super.update()}setParentView(t){var i,n;return null==(i=this.globalSettings)||i.setParentView(t),null==(n=this.dialogSettings)||n.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
|
|
556
|
+
</div>`),"rtl"===this.options.direction&&(this.container.style.direction="rtl",this.container.setAttribute("dir","rtl")),this.o.zIndex&&(this.container.style.zIndex=this.o.zIndex.toString()),(0,f.attr)(this.container,"role","dialog"),Object.defineProperty(this.container,"component",{value:this}),this.setMod("theme",this.o.theme||"default").setMod("resizable",!!this.o.resizable);const n=this.getElm("panel");(0,m.assert)(null!=n,"Panel element does not exist");const r=this.getElm("resizer");(0,m.assert)(null!=r,"Resizer element does not exist");const o=this.getElm("header-title");(0,m.assert)(null!=o,"header-title element does not exist");const a=this.getElm("content");(0,m.assert)(null!=a,"Content element does not exist");const l=this.getElm("footer");(0,m.assert)(null!=l,"Footer element does not exist");const u=this.getElm("header-toolbar");(0,m.assert)(null!=u,"header-toolbar element does not exist"),this.dialog=n,this.resizer=r,this.dialogbox_header=o,this.dialogbox_content=a,this.dialogbox_footer=l,this.dialogbox_toolbar=u,(0,f.css)(this.dialog,{maxWidth:this.options.maxWidth,minHeight:this.options.minHeight,minWidth:this.options.minWidth});const h=this.getElm("header");h&&this.e.on(h,"pointerdown touchstart",this.__onHeaderMouseDown),this.e.on(this.resizer,"mousedown touchstart",this.__onResizerMouseDown);const b=d.pluginSystem.get("fullsize");if((0,p.isFunction)(b)&&b(this),this.e.on(this.container,"close_dialog",this.close).on(this.ow,"keydown",this.__onEsc).on(this.ow,"resize",this.__onResize),this.o.closeOnClickOverlay){const t=this.getElm("overlay");(0,m.assert)(null!=t,"Overlay element does not exist"),this.e.on(t,"click",this.close)}}};w.defaultOptions=(r=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}({},b.View.defaultOptions),o=o={closeOnClickOverlay:!1,closeOnEsc:!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),_([u.autobind],w.prototype,"__onMouseUp",null),_([u.autobind],w.prototype,"__onHeaderMouseDown",null),_([u.autobind],w.prototype,"__onMouseMove",null),_([u.autobind],w.prototype,"__onEsc",null),_([u.autobind],w.prototype,"__onResizerMouseDown",null),_([u.autobind],w.prototype,"close",null),_([(0,u.hook)("ready")],w.prototype,"buildToolbar",null),w=s=_([u.component],w)},78614:function(t,i){"use strict";i.default='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M352 832q0 14-9 23l-288 288q-9 9-23 9-13 0-22.5-9.5t-9.5-22.5v-576q0-13 9.5-22.5t22.5-9.5q14 0 23 9l288 288q9 9 9 23zm1440 480v192q0 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> '},78644:function(t,i,n){"use strict";n.d(i,{ToolbarButton:function(){return x}});var r=n(78213),o=n(45219),s=n(33433),a=n(87325),l=n(37133),u=n(2748),c=n(68345),d=n(23282),h=n(19306),p=n(72430),f=n(70799),m=n(56175),g=n(87058),b=n(38837),v=n(29960),y=n(37790),_=n(62843),w=n(72157),C=n(12153),k=n(56917),S=n(21491);function E(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 F(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}var A=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 x=class t extends _.UIButton{className(){return"ToolbarButton"}getRole(){return"listitem"}get toolbar(){let t=(0,a.getComponentClass)("ToolbarCollection");return this.closest(t)}update(){var t,i;let{control:n,state:r}=this,o=this.toolbar;if(!o)return;let s=null==(t=n.value)?void 0:t.call(n,o.jodit,this);void 0!==s&&(r.value=s),r.disabled=this.__calculateDisabledStatus(o),r.activated=this.__calculateActivatedStatus(o),null==(i=n.update)||i.call(n,o.jodit,this)}__calculateActivatedStatus(t){var i,n;return(!(0,h.isJoditObject)(this.j)||!!this.j.editorIsActive)&&(null!=(n=(i=this.control).isActive)&&!!n.call(i,this.j,this)||!!(t&&t.shouldBeActive(this)))}__calculateDisabledStatus(t){var i,n;return!!(this.j.o.disabled||this.j.o.readonly&&(!this.j.o.activeButtonsInReadOnly||!this.j.o.activeButtonsInReadOnly.includes(this.control.name))||(null==(n=(i=this.control).isDisabled)?void 0:n.call(i,this.j,this)))||!!(t&&t.shouldBeDisabled(this))}onChangeActivated(){(0,v.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,d.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,v.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){let t=this.componentName,i=this.j.c.span(t),n=super.createContainer();n.classList.remove(t),n.classList.add(t+"__button"),Object.defineProperty(n,"component",{value:this}),i.appendChild(n);let r=this.j.c.fromHTML(`<span role="trigger" class="${t}__trigger">${C.Icon.get("chevron")}</span>`);return n.appendChild(r),i}focus(){var t;null==(t=this.container.querySelector("button"))||t.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):u.Dom.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){let t=this.state.disabled?"disabled":null;(0,v.attr)(this.trigger,"disabled",t),(0,v.attr)(this.button,"disabled",t),(0,v.attr)(this.container,"disabled",t)}__initFromControl(){var t;let{control:i,state:n}=this;this.updateSize(),n.name=i.name;let{textIcons:r}=this.j.o;if(!0===r||(0,d.isFunction)(r)&&r(i.name)||i.template)n.icon=(0,_.UIButtonState)().icon,n.text=i.text||i.name;else{if(i.iconURL)n.icon.iconURL=i.iconURL;else{let r=i.icon||i.name;n.icon.name=C.Icon.exists(r)||(null==(t=this.j.o.extraIcons)?void 0:t[r])?r:""}i.iconURL||n.icon.name||(n.text=i.text||i.name)}i.tooltip&&(n.tooltip=(0,d.isFunction)(i.tooltip)?i.tooltip(this.j,i,this):i.tooltip),n.hasTrigger=!!(i.list||i.popup&&i.exec)}onTriggerClick(t){var i,n,r;if(this.openedPopup)return void this.__closePopup();let{control:o}=this;if(t.buffer={actionTrigger:this},o.list)return this.__openControlList(o);if((0,d.isFunction)(o.popup)){let t=this.openPopup();t.parentElement=this;try{if(!1!==this.j.e.fire((0,g.camelCase)(`before-${o.name}-open-popup`),this.target,o,t)){let s=null!=(r=null!=(n=null==(i=this.toolbar)?void 0:i.getTarget(this))?n:this.target)?r:null,a=o.popup(this.j,s,this.__closePopup,this);a?t.setContent((0,f.isString)(a)?this.j.c.fromHTML(a):a).open(()=>(0,m.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(t){throw this.__closePopup(),t}this.j.e.fire((0,g.camelCase)(`after-${o.name}-open-popup`),t.container)}}__openControlList(t){var i;let n=null!=(i=this.jodit.options.controls)?i:{},r=t=>(0,w.findControlType)(t,n),o=t.list,s=this.openPopup(),a=(0,S.makeCollection)(this.j);s.parentElement=this,a.parentElement=s,a.mode="vertical";let l=(i,n)=>{let o;if((0,f.isString)(n)&&r(n))return E({name:n.toString()},r(n));if((0,f.isString)(i)&&r(i))return E({name:i.toString()},r(i),"object"==typeof n?n:{});o=i,(0,p.isPlainObject)(o)&&"title"in o&&"value"in o&&(n=i.value,i=i.title);let{childTemplate:s}=t,a={name:i.toString(),template:s&&((t,i,n)=>s(t,i,n,this)),exec:t.childExec?(i,n,r)=>{var o;return null==(o=t.childExec)?void 0:o.call(t,i,n,F(E({},r),{parentControl:t}))}:t.exec,data:t.data,command:t.command,isActive:t.isChildActive,value:t.value,isDisabled:t.isChildDisabled,mode:t.mode,args:[...t.args?t.args:[],i,n]};return(0,f.isString)(n)&&(a.text=n),a};a.build((0,c.isArray)(o)?o.map(l):(0,y.keys)(o,!1).map(t=>l(t,o[t])),this.target),s.setContent(a).open(()=>(0,m.position)(this.container),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(t){this.openedPopup&&(t&&u.Dom.isNode(t.target)&&(u.Dom.isOrContains(this.container,t.target)||this.openedPopup.isOwnClick(t))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new k.Popup(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(t){var i,n,r,o,s,a,l;let{control:u}=this;if((0,d.isFunction)(u.exec)){let c=null!=(r=null!=(n=null==(i=this.toolbar)?void 0:i.getTarget(this))?n:this.target)?r:null,d=u.exec(this.j,c,{control:u,originalEvent:t,button:this});if(!1!==d&&!0!==d&&(null==(s=null==(o=this.j)?void 0:o.e)||s.fire("synchro"),this.parentElement&&this.parentElement.update(),null==(l=null==(a=this.j)?void 0:a.e)||l.fire("closeAllPopups afterExec")),!1!==d)return}return u.list?this.__openControlList(u):(0,d.isFunction)(u.popup)?this.onTriggerClick(t):void((u.command||u.name)&&((0,y.call)((0,h.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),u.command||u.name,!1,u.args&&u.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}constructor(t,i,n=null){super(t),this.control=i,this.target=n,this.state=F(E({},(0,_.UIButtonState)()),{theme:"toolbar",currentValue:"",hasTrigger:!1}),this.openedPopup=null;const o=this.getElm("button");(0,b.assert)(o,"Element button should exists"),this.button=o,Object.defineProperty(o,"component",{value:this,configurable:!0});const s=this.getElm("trigger");(0,b.assert)(s,"Element trigger should exists"),this.trigger=s,s.remove(),t.e.on([this.button,this.trigger],"mousedown",t=>t.preventDefault()),this.onAction(this.onClick),this.hookStatus(r.STATUSES.ready,()=>{this.__initFromControl(),this.update()}),i.mods&&Object.keys(i.mods).forEach(t=>{i.mods&&this.setMod(t,i.mods[t])})}};A([s.cacheHTML],x.prototype,"createContainer",null),A([(0,l.watch)("state.hasTrigger",{immediately:!1})],x.prototype,"onChangeHasTrigger",null),A([(0,l.watch)("trigger:click")],x.prototype,"onTriggerClick",null),A([o.autobind],x.prototype,"onOutsideClick",null),A([o.autobind],x.prototype,"__closePopup",null),x=A([a.component],x)},78717:function(t,i,n){"use strict";var r=n(56075),o=n(11886),s=n(75352),a=n(91140);i.default=(0,o._)((0,r._)({},s),{execute:a.execute})},78720:function(t,i,n){"use strict";n.d(i,{checkBlockNesting:function(){return o}});var r=n(2748);function o(t,i){if(r.Dom.isFragment(i)&&(i=i.firstChild),t.o.dtd.checkBlockNesting&&r.Dom.isBlock(i)){let i=r.Dom.furthest(t.s.current(),r.Dom.isBlock,t.editor);i&&!t.o.dtd.blockLimits[i.tagName.toLowerCase()]&&(t.s.setCursorAfter(i),r.Dom.isEmpty(i)&&r.Dom.safeRemove(i))}}},78777:function(t){t.exports={"Show Blocks":"תראה רחובות"}},78818:function(t,i,n){"use strict";n.d(i,{History:function(){return c}});var r=n(80480),o=n(81577),s=n(6441),a=n(92643),l=n(52604),u=n(57034);s.Config.prototype.history={enable:!0,maxHistoryLength:1/0,timeout:1e3};class c extends r.ViewComponent{className(){return"History"}redo(){this.__stack.redo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canRedo(){return this.__stack.canRedo()}undo(){this.__stack.undo()&&(this.startValue=this.snapshot.make(),this.fireChangeStack())}canUndo(){return this.__stack.canUndo()}clear(){this.startValue=this.snapshot.make(),this.__stack.clear(),this.fireChangeStack()}get length(){return this.__stack.length}get startValue(){return this.__startValue}set startValue(t){this.__startValue=t}__upTick(){this.updateTick+=1}onChange(){this.__processChanges()}__processChanges(){!this.snapshot.isBlocked&&this.j.o.history.enable&&this.updateStack()}updateStack(t=!1){let i=this.snapshot.make();if(!l.Snapshot.equal(i,this.startValue)){let n=new a.Command(this.startValue,i,this,this.updateTick);if(t){let t=this.__stack.current();t&&this.updateTick===t.tick&&this.__stack.replace(n)}else this.__stack.push(n);this.startValue=i,this.fireChangeStack()}}fireChangeStack(){var t;this.j&&!this.j.isInDestruct&&(null==(t=this.j.events)||t.fire("changeStack"))}destruct(){this.isInDestruct||(this.j.events&&this.j.e.off(".history"),this.snapshot.destruct(),super.destruct())}constructor(t,i=new u.Stack(t.o.history.maxHistoryLength),n=new l.Snapshot(t)){super(t),this.updateTick=0,this.__stack=i,this.snapshot=n,t.o.history.enable&&t.e.on("afterAddPlace.history",()=>{this.isInDestruct||(this.startValue=this.snapshot.make(),t.events.on("internalChange internalUpdate",()=>{this.startValue=this.snapshot.make()}).on(t.editor,["changeSelection","selectionstart","selectionchange","mousedown","mouseup","keydown","keyup"].map(t=>t+".history").join(" "),()=>{this.startValue.html===this.j.getNativeEditorValue()&&(this.startValue=this.snapshot.make())}).on(this,"change.history",this.onChange))})}}!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.debounce)()],c.prototype,"onChange",null)},78879:function(t){t.exports='<svg viewBox="0 0 1792 1792" xmlns="http://www.w3.org/2000/svg"> <g> <rect rx="10" height="1620" width="1620" y="79.646973" x="80" stroke-width="100" stroke-dasharray="8% 10%" fill="none"/> <path d="m1333.992706,381.692384l0,52.982419q0,21.04781 -12.98052,44.272981t-29.820114,23.22517q-35.082487,0 -37.889085,0.725787q-18.242893,4.354719 -22.452791,22.499384q-2.104949,7.983652 -2.104949,46.45034l0,836.106125q0,18.144664 -12.629695,31.208822t-30.170938,13.064158l-75.778171,0q-17.541243,0 -30.170938,-13.064158t-12.629695,-31.208822l0,-884.008038l-100.335911,0l0,884.008038q0,18.144664 -12.27887,31.208822t-30.521763,13.064158l-75.778171,0q-18.242893,0 -30.521763,-13.064158t-12.27887,-31.208822l0,-359.990137q-103.14251,-8.709439 -171.904184,-42.821407q-88.407866,-42.095621 -134.716748,-129.915795q-44.905583,-84.917028 -44.905583,-187.978721q0,-120.48057 61.745176,-207.574958q61.745176,-85.642815 146.644794,-115.400064q77.88312,-26.854103 292.587937,-26.854103l336.090221,0q17.541243,0 30.170938,13.064158t12.629695,31.208822z"/> </g> </svg>'},78927:function(t,i,n){"use strict";n.d(i,{idle:function(){return a}});var r=n(91907),o=n(23282),s=n(89890);function a(){return(t,i)=>{if(!(0,o.isFunction)(t[i]))throw(0,s.error)("Handler must be a Function");t.hookStatus(r.STATUSES.ready,t=>{let{async:n}=t,r=t[i];t[i]=(...i)=>n.requestIdleCallback(r.bind(t,...i))})}}},78955:function(t){t.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24" stroke="currentColor" stroke-width="1.5"> <rect x="2" y="3.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="2" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="14.5" width="9" height="9" rx="1.5" fill="none"/> <rect x="13" y="3.5" width="9" height="9" rx="1.5" fill="currentColor" transform="rotate(45 17.5 8)"/> </svg>'},79078:function(t,i,n){"use strict";n.d(i,{executeToolCall:function(){return a},updateToolCallInMessage:function(){return l}});var r=n(77688),o=n(56075),s=n(11886);function a(t,i,n){return(0,r._)(function*(){let r=(0,o._)({},i);try{let t=new AbortController().signal,a=yield n.executeTool(i.name,i.arguments,t);r=(0,s._)((0,o._)({},i),{result:{result:a},status:"executed"})}catch(n){r=(0,s._)((0,o._)({},i),{result:{error:n instanceof Error?n.message:String(n)},status:"error"}),t.e.fire("toolCallFailed.ai-assistant-pro",r)}return t.e.fire("toolCallExecuted.ai-assistant-pro",r,{toolCallId:r.id,result:r.result}),r})()}function l(t,i){var n,r;let a=null==(r=t.toolCalls)?void 0:r.findIndex(t=>t.id===i.id);if(null==a||-1===a)return t;let l=[...null!=(n=null==t?void 0:t.toolCalls)?n:[]];return l[a]=i,(0,s._)((0,o._)({},t),{toolCalls:l})}},79348:function(t,i,n){"use strict";n.d(i,{Selection:function(){return f}});var r=n(82758),o=n(65478),s=n(2748),a=n(21537),l=n(27613),u=n(38837),c=n(43463),d=n(25639),h=n(45124),p=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 f{get j(){return this.jodit}errorNode(t){if(!s.Dom.isNode(t))throw(0,a.error)("Parameter node must be instance of Node")}get area(){return this.j.editor}get win(){return this.j.ew}get doc(){return this.j.ed}get sel(){return this.j.o.shadowRoot&&(0,l.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let t=this.sel;return t&&t.rangeCount?t.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:t}=this,i=(null==t?void 0:t.rangeCount)?t.getRangeAt(0):null;return!(!i||!s.Dom.isOrContains(this.area,i.startContainer))}createRange(t=!1){let i=this.doc.createRange();return t&&this.selectRange(i),i}remove(){let t=this.sel,i=this.current();if(t&&i)for(let i=0;i<t.rangeCount;i+=1)t.getRangeAt(i).deleteContents(),t.getRangeAt(i).collapse(!0)}clear(){var t,i;(null==(t=this.sel)?void 0:t.rangeCount)&&(null==(i=this.sel)||i.removeAllRanges())}removeNode(t){if(!s.Dom.isOrContains(this.j.editor,t,!0))throw(0,a.error)("Selection.removeNode can remove only editor's children");s.Dom.safeRemove(t),this.j.e.fire("afterRemoveNode",t)}insertCursorAtPoint(t,i){this.removeMarkers();try{let n=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let r=this.doc.caretPositionFromPoint(t,i);if(r)return n.setStart(r.offsetNode,r.offset)}if(this.doc.caretRangeFromPoint){let r=this.doc.caretRangeFromPoint(t,i);(0,u.assert)(r,"Incorrect caretRangeFromPoint behaviour"),n.setStart(r.startContainer,r.startOffset)}})(),n.collapse(!0),this.selectRange(n),!0}catch(t){}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,a.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)}removeMarkers(){s.Dom.safeRemove.apply(null,this.markers)}marker(t=!1,i){let n=null;i&&(n=i.cloneRange()).collapse(t);let o=this.j.createInside.span();return o.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+String(Math.random()).slice(2),o.style.lineHeight="0",o.style.display="none",s.Dom.markTemporary(o),(0,a.attr)(o,"data-"+r.MARKER_CLASS,t?"start":"end"),o.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),n&&s.Dom.isOrContains(this.area,t?n.startContainer:n.endContainer)&&n.insertNode(o),o}restore(){let t=!1,i=t=>`span[data-${r.MARKER_CLASS}=${t?"start":"end"}]`,n=this.area.querySelector(i(!0)),o=this.area.querySelector(i(!1));if(n){if(t=this.createRange(),o)t.setStartAfter(n),s.Dom.safeRemove(n),t.setEndBefore(o),s.Dom.safeRemove(o);else{let i=n.previousSibling;s.Dom.isText(i)?t.setStart(i,i.nodeValue?i.nodeValue.length:0):t.setStartBefore(n),s.Dom.safeRemove(n),t.collapse(!0)}t&&this.selectRange(t)}}fakes(){let t=this.sel;if(!t||!t.rangeCount)return[];let i=t.getRangeAt(0);(0,u.assert)(i,"Range is null");let n=i.cloneRange();n.collapse(!0);let r=this.j.createInside.fake();s.Dom.safeInsertNode(n,r),i.setStartBefore(r);let o=[r];if(!i.collapsed){let t=i.cloneRange();t.collapse(!1);let n=this.j.createInside.fake();s.Dom.safeInsertNode(t,n),i.setEndAfter(n),o.push(n)}return this.selectRange(i),o}restoreFakes(t){var i,n,r,o;let a=t.filter(t=>t.isConnected);if(!a.length)return;let[l,u]=a,c=this.createRange();c.setStartAfter(l),u&&c.setEndBefore(u),this.selectRange(c),(null==(i=l.parentNode)?void 0:i.firstChild)!==(null==(n=l.parentNode)?void 0:n.lastChild)&&s.Dom.safeRemove(l),(null==(r=null==u?void 0:u.parentNode)?void 0:r.firstChild)!==(null==(o=null==u?void 0:u.parentNode)?void 0:o.lastChild)&&s.Dom.safeRemove(u)}save(t=!1){if(this.hasMarkers)return[];let i=this.sel;if(!i||!i.rangeCount)return[];let n=[],r=i.rangeCount,o=[];for(let t=0;r>t;t+=1)if(o[t]=i.getRangeAt(t),o[t].collapsed){let i=this.marker(!0,o[t]);n[t]={startId:i.id,collapsed:!0,startMarker:i.outerHTML}}else{let i=this.marker(!0,o[t]),r=this.marker(!1,o[t]);n[t]={startId:i.id,endId:r.id,collapsed:!1,startMarker:i.outerHTML,endMarker:r.outerHTML}}if(!t){i.removeAllRanges();for(let t=r-1;t>=0;--t){let r=this.doc.getElementById(n[t].startId);if(r){if(n[t].collapsed)o[t].setStartAfter(r),o[t].collapse(!0);else if(o[t].setStartBefore(r),n[t].endId){let i=this.doc.getElementById(n[t].endId);i&&o[t].setEndAfter(i)}try{i.addRange(o[t].cloneRange())}catch(t){}}}}return n}focus(t={preventScroll:!0}){var i,n;if(!this.isFocused()){let r=(0,a.getScrollParent)(this.j.container),o=null==r?void 0:r.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(t),this.win.focus(),this.area.focus(t),o&&(null==r?void 0:r.scrollTo)&&r.scrollTo(0,o);let l=this.sel,u=(null==l?void 0:l.rangeCount)?null==l?void 0:l.getRangeAt(0):null;if(!u||!s.Dom.isOrContains(this.area,u.startContainer)){let t=this.createRange();t.setStart(this.area,0),t.collapse(!0),this.selectRange(t,!1)}return this.j.editorIsActive||null==(n=null==(i=this.j)?void 0:i.events)||n.fire("focus"),!0}return!1}isCollapsed(){let t=this.sel;for(let i=0;t&&i<t.rangeCount;i+=1)if(!t.getRangeAt(i).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(t=!0){if(this.j.getRealMode()!==r.MODE_WYSIWYG)return null;let i=this.sel;if(!i||0===i.rangeCount)return null;let n=i.getRangeAt(0),o=n.startContainer,a=!1;if(s.Dom.isTag(o,"br")&&i.isCollapsed)return o;if(!s.Dom.isText(o)){let r=(0,h.findCorrectCurrentNode)(o,n,a,i.isCollapsed,t,t=>a?t.lastChild:t.firstChild);o=r.node,a=r.rightMode}return o&&s.Dom.isOrContains(this.area,o)?o:null}insertNode(t,i=!0,n=!0){this.errorNode(t);let r=s.Dom.isFragment(t)?t.lastChild:t;this.j.e.fire("safeHTML",t),!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore());let o=this.sel;this.j.history.snapshot.transaction(()=>{if(this.isCollapsed()||this.j.execCommand("Delete"),this.j.e.fire("beforeInsertNode",t),o&&o.rangeCount){let i=o.getRangeAt(0),{firstChild:n}=t;s.Dom.isOrContains(this.area,i.commonAncestorContainer)?s.Dom.safeInsertNode(i,t):this.area.appendChild(t),[()=>null==n?void 0:n.previousSibling,()=>null==n?void 0:n.previousSibling,()=>{var t;return null==(t=null==n?void 0:n.previousSibling)?void 0:t.lastChild}].forEach(t=>{let i=t();i&&s.Dom.isEmptyTextNode(i)&&s.Dom.safeRemove(i)})}else this.area.appendChild(t);let n=t=>{if(s.Dom.isBlock(t)){let i=t.lastChild;if(i)return n(i)}this.setCursorAfter(t)};i&&(s.Dom.isFragment(t)?r&&n(r):n(t)),this.j.o.scrollToPastedContent&&(0,a.scrollIntoViewIfNeeded)(null!=r?r:t,this.j.editor,this.doc)}),n&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",s.Dom.isFragment(t)?r:t)}insertHTML(t,i=!0){if(""===t)return;let n=this.j.createInside.div(),r=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),s.Dom.isNode(t)?n.appendChild(t):n.innerHTML=t.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",n.innerHTML))&&n.lastChild){for(;n.firstChild;)n.firstChild,r.appendChild(n.firstChild);this.insertNode(r,i,!1),this.j.__imdSynchronizeValues()}}insertImage(t,i=null,n=null){let r=(0,l.isString)(t)?this.j.createInside.element("img"):t;if((0,l.isString)(t)&&r.setAttribute("src",t),null!=n){let t=n.toString();t&&"auto"!==t&&0>String(t).indexOf("px")&&0>String(t).indexOf("%")&&(t+="px"),(0,a.attr)(r,"width",t)}i&&"object"==typeof i&&(0,a.css)(r,i);let o=()=>{(r.naturalHeight<r.offsetHeight||r.naturalWidth<r.offsetWidth)&&(r.style.width="",r.style.height=""),r.removeEventListener("load",o)};this.j.e.on(r,"load",o),r.complete&&o(),this.insertNode(r),this.j.e.fire("afterInsertImage",r)}eachSelection(t){var i;let n=this.sel;if(!n||!n.rangeCount)return;let o=n.getRangeAt(0),u=o.commonAncestorContainer;s.Dom.isHTMLElement(u)||(u=u.parentElement);let c=[],d=o.startOffset,h=u.childNodes.length,p=o.startContainer===this.area?u.childNodes[d<h?d:h-1]:o.startContainer,f=o.endContainer===this.area?u.childNodes[o.endOffset-1]:o.endContainer;s.Dom.isText(p)&&p===o.startContainer&&o.startOffset===(null==(i=p.nodeValue)?void 0:i.length)&&p.nextSibling&&(p=p.nextSibling),s.Dom.isText(f)&&f===o.endContainer&&0===o.endOffset&&f.previousSibling&&(f=f.previousSibling);let m=t=>{!t||t===u||s.Dom.isEmptyTextNode(t)||(0,l.isMarker)(t)||c.push(t)};m(p),p!==f&&s.Dom.isOrContains(u,p,!0)&&s.Dom.find(p,t=>(m(t),t===f||t&&t.contains&&t.contains(f)),u,!0,!1);let g=i=>{if(s.Dom.isOrContains(this.j.editor,i,!0)){if(i.nodeName.match(/^(UL|OL)$/))return(0,a.toArray)(i.childNodes).forEach(g);if(s.Dom.isTag(i,"li"))if(i.firstChild)i=i.firstChild;else{let t=this.j.createInside.text(r.INVISIBLE_SPACE);i.appendChild(t),i=t}t(i)}};0===c.length&&(s.Dom.isEmptyTextNode(p)&&c.push(p),p.firstChild&&c.push(p.firstChild)),c.forEach(g)}cursorInTheEdge(t,i,n=null){var r;let o=!t,l=null==(r=this.sel)?void 0:r.getRangeAt(0);if(null!=n||(n=this.current(!1)),!l||!n||!s.Dom.isOrContains(i,n,!0))return null;let u=t?l.startContainer:l.endContainer,c=t?l.startOffset:l.endOffset,d=t=>!!(t&&!s.Dom.isTag(t,"br")&&!s.Dom.isEmptyTextNode(t)&&!s.Dom.isTemporary(t)&&!(s.Dom.isElement(t)&&!0===this.j.e.fire("isInvisibleForCursor",t)));if(s.Dom.isText(u)){if((0,h.cursorInTheEdgeOfString)(u,c,t,o))return!1}else{let t=(0,a.toArray)(u.childNodes);if(o){if(t.slice(c).some(d))return!1}else if(t.slice(0,c).some(d))return!1}let p=n;for(;p&&p!==i;){let i=s.Dom.sibling(p,t);if(!i){p=p.parentNode;continue}if((p=i)&&d(p))return!1}return!0}cursorOnTheLeft(t,i){return this.cursorInTheEdge(!0,t,i)}cursorOnTheRight(t,i){return this.cursorInTheEdge(!1,t,i)}setCursorAfter(t){return this.setCursorNearWith(t,!1)}setCursorBefore(t){return this.setCursorNearWith(t,!0)}setCursorNearWith(t,i){var n,r;if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let o=this.createRange(),l=null;return s.Dom.isText(t)?i?o.setStart(t,0):o.setEnd(t,null!=(r=null==(n=t.nodeValue)?void 0:n.length)?r:0):(l=this.j.createInside.fake(),i?o.setStartBefore(t):o.setEndAfter(t),o.collapse(i),s.Dom.safeInsertNode(o,l),o.selectNode(l)),o.collapse(i),this.selectRange(o),l}setCursorIn(t,i=!1){if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let n=this.createRange(),o=t,l=t;do{if(s.Dom.isText(o)||s.Dom.isTag(o,r.INSEPARABLE_TAGS))break;l=o,o=i?o.firstChild:o.lastChild}while(o);if(!o){let t=this.j.createInside.text(r.INVISIBLE_SPACE);s.Dom.isTag(l,r.INSEPARABLE_TAGS)?o=l:(l.appendChild(t),l=t)}let u=o||l;return s.Dom.isTag(u,r.INSEPARABLE_TAGS)?i||s.Dom.isTag(u,"br")?n.setStartBefore(u):n.setEndAfter(u):n.selectNodeContents(u),n.collapse(i),this.selectRange(n),l}selectRange(t,i=!0){let n=this.sel;return i&&!this.isFocused()&&this.focus(),n&&(n.removeAllRanges(),n.addRange(t)),this.j.e.fire("changeSelection"),this}select(t,i=!1){if(this.errorNode(t),!s.Dom.up(t,t=>t===this.area||t&&t.parentNode===this.area,this.area))throw(0,a.error)("Node element must be in editor");let n=this.createRange();return n[i?"selectNodeContents":"selectNode"](t),this.selectRange(n)}get html(){let t=this.sel;if(t&&t.rangeCount>0){let i=t.getRangeAt(0).cloneContents(),n=this.j.createInside.div();return n.appendChild(i),n.innerHTML}return""}*wrapInTagGen(t){if(this.isCollapsed()){let i=this.jodit.createInside.element("font",r.INVISIBLE_SPACE);this.insertNode(i,!1,!1),t&&t[0]&&i.appendChild(t[0]),yield i,s.Dom.unwrap(i);return}for(let t of((0,a.$$)("*[style*=font-size]",this.area).forEach(t=>{(0,a.attr)(t,"data-font-size",t.style.fontSize.toString()),t.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,a.$$)("*[data-font-size]",this.area).forEach(t=>{let i=(0,a.attr)(t,"data-font-size");i&&(t.style.fontSize=i,(0,a.attr)(t,"data-font-size",null))}),(0,a.$$)('font[size="7"]',this.area))){let{firstChild:i,lastChild:n}=t;if(i&&i===n&&(0,l.isMarker)(i)){s.Dom.unwrap(t);continue}i&&(0,l.isMarker)(i)&&s.Dom.before(t,i),n&&(0,l.isMarker)(n)&&s.Dom.after(t,n),yield t,s.Dom.unwrap(t)}}wrapInTag(t){let i=[];for(let n of this.wrapInTagGen())try{if(n.firstChild&&n.firstChild===n.lastChild&&(0,l.isMarker)(n.firstChild))continue;(0,l.isFunction)(t)?t(n):i.push(s.Dom.replace(n,t,this.j.createInside))}finally{let t=n.parentNode;t&&(s.Dom.unwrap(n),s.Dom.isEmpty(t)&&s.Dom.unwrap(t))}return i}commitStyle(t){(0,u.assert)((0,a.size)(t)>0,"Need to pass at least one option"),new d.CommitStyle(t).apply(this.j)}splitSelection(t,i){if(!this.isCollapsed())return null;let n=this.createRange(),o=this.range;n.setStartBefore(t);let a=this.cursorOnTheRight(t,i),l=this.cursorOnTheLeft(t,i),c=this.j.createInside.element("br"),d=this.j.createInside.fake(),h=d.cloneNode();try{if(a||l){i?s.Dom.before(i,c):s.Dom.safeInsertNode(o,c);let t=(t,i)=>{let n=i(t);for(;n;){let t=i(n);if(n&&(s.Dom.isTag(n,"br")||s.Dom.isEmptyTextNode(n)))s.Dom.safeRemove(n);else break;n=t}};t(c,t=>t.nextSibling),t(c,t=>t.previousSibling),s.Dom.after(c,h),s.Dom.before(c,d),a?(n.setEndBefore(c),o.setEndBefore(c)):(n.setEndAfter(c),o.setEndAfter(c))}else n.setEnd(o.startContainer,o.startOffset);let p=n.extractContents(),f=t=>s.Dom.each(t,t=>s.Dom.isEmptyTextNode(t)&&s.Dom.safeRemove(t));(0,u.assert)(t.parentNode,"Splitting fails");try{if(f(p),f(t),t.parentNode.insertBefore(p,t),!i&&a&&(null==c?void 0:c.parentNode)){let t=this.createRange();t.setStartBefore(c),this.selectRange(t)}}catch(t){if(!r.IS_PROD)throw t}let m=t=>{var i,n,r;(null==(i=null==t?void 0:t.parentNode)?void 0:i.firstChild)===(null==(n=null==t?void 0:t.parentNode)?void 0:n.lastChild)&&(null==(r=null==t?void 0:t.parentNode)||r.appendChild(c.cloneNode()))};m(d),m(h)}finally{s.Dom.safeRemove(d),s.Dom.safeRemove(h)}return t.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:t}=this,i=t.cloneRange();if(!s.Dom.isOrContains(this.j.editor,t.commonAncestorContainer,!0))return this;let n=i=>{let n=this.j.createInside.fake(),r=t.cloneRange();return r.collapse(i),s.Dom.safeInsertNode(r,n),(0,c.moveTheNodeAlongTheEdgeOutward)(n,i,this.j.editor),n},r=n(!0),o=n(!1);i.setStartAfter(r),i.setEndBefore(o);let l=s.Dom.findSibling(r,!1),u=s.Dom.findSibling(o,!0);if(l!==u){let t=s.Dom.isElement(l)&&s.Dom.isOrContains(l,o),n=!t&&s.Dom.isElement(u)&&s.Dom.isOrContains(u,r);if(t||n){let n=t?l:u,a=n;for(;s.Dom.isElement(n);)(n=t?n.firstElementChild:n.lastElementChild)&&(t?s.Dom.isOrContains(n,o):s.Dom.isOrContains(n,r))&&(a=n);t?i.setStart(a,0):i.setEnd(a,a.childNodes.length)}}if(this.selectRange(i),s.Dom.safeRemove(r,o),this.isCollapsed())throw(0,a.error)("Selection is collapsed");return this}constructor(t){this.jodit=t,t.e.on("removeMarkers",()=>{this.removeMarkers()})}}p([o.autobind],f.prototype,"createRange",null),p([o.autobind],f.prototype,"focus",null),p([o.autobind],f.prototype,"setCursorAfter",null),p([o.autobind],f.prototype,"setCursorBefore",null),p([o.autobind],f.prototype,"setCursorIn",null)},79419:function(t,i,n){"use strict";var r=n(12153),o=n(6441),s=n(94775),a=n(23140),l=n(92699),u=n(10052);o.Config.prototype.controls.cut={command:"cut",isDisabled:t=>t.s.isCollapsed(),tooltip:"Cut selection"},o.Config.prototype.controls.copy={command:"copy",isDisabled:t=>t.s.isCollapsed(),tooltip:"Copy selection"},o.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},r.Icon.set("copy",s.default).set("cut",a.default).set("paste",l.default).set("select-all",u.default)},79455:function(t,i,n){"use strict";n.d(i,{UISettingsPopup:function(){return d}});var r=n(77688),o=n(82749),s=n(31635),a=n(16015),l=n(71102),u=n(65478),c=n(67510);class d extends c.UIElement{className(){return"UISettingsPopup"}onChangeTheme(){return(0,r._)(function*(){var t,i,n;let r=(null==(t=this.state)?void 0:t.theme)&&(null==(i=this.state)?void 0:i.theme)!=="parent"?null==(n=this.state)?void 0:n.theme:this.j.o.theme;this.container.classList.remove("jodit_theme_dark","jodit_theme_light"),this.container.classList.add("jodit_theme_"+r)}).call(this)}update(){var t,i;return null==(t=this.dialogSettings)||t.update(),null==(i=this.globalSettings)||i.update(),this.updateContent(),super.update()}setParentView(t){var i,n;return null==(i=this.globalSettings)||i.setParentView(t),null==(n=this.dialogSettings)||n.setParentView(t),super.setParentView(t)}render(){return`<div class="&__container">
|
|
557
557
|
<div class="&__header">
|
|
558
558
|
<h3 class="&__title">~Settings~</h3>
|
|
559
559
|
</div>
|
|
@@ -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 x},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 S},IS_ES_MODERN:function(){return s},IS_ES_NEXT:function(){return a},IS_IE:function(){return X},IS_INLINE:function(){return E},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 T},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 B},KEY_UP:function(){return M},LIST_TAGS:function(){return F},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 D},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 w},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 k},globalWindow:function(){return C},lang:function(){return eg}});let r="4.9.19",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,w=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,C="u">typeof window?window:void 0,k="u">typeof document?document:void 0,S=/^(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,E=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,F=new Set(["ul","ol"]),A=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],x=new Set([...A,"br","hr"]),D=new Set(A),I="Meta",T="Backspace",B="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,T,H,M,O,z,R,j,P,U,B],$="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!==C&&/Mac|iPod|iPhone|iPad/.test(C.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=k.currentScript;if(t)return ec(t.src);let i=k.querySelectorAll("script[src]");return i&&i.length?ec(i[i.length-1].src):ec(C.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(21537),l=n(50911),u=n(80870),c=n(21491);n(86012);class d extends l.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath");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("mouseup.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 u.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,a.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,c.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,a.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",d)},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 x},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 S},IS_ES_MODERN:function(){return s},IS_ES_NEXT:function(){return a},IS_IE:function(){return X},IS_INLINE:function(){return E},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 T},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 B},KEY_UP:function(){return M},LIST_TAGS:function(){return F},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 D},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 w},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 k},globalWindow:function(){return C},lang:function(){return eg}});let r="4.9.22",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,w=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,C="u">typeof window?window:void 0,k="u">typeof document?document:void 0,S=/^(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,E=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,F=new Set(["ul","ol"]),A=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],x=new Set([...A,"br","hr"]),D=new Set(A),I="Meta",T="Backspace",B="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,T,H,M,O,z,R,j,P,U,B],$="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!==C&&/Mac|iPod|iPhone|iPad/.test(C.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=k.currentScript;if(t)return ec(t.src);let i=k.querySelectorAll("script[src]");return i&&i.length?ec(i[i.length-1].src):ec(C.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(21537),l=n(50911),u=n(80870),c=n(21491);n(86012);class d extends l.Plugin{afterInit(){if(this.j.o.showXPathInStatusbar){this.container=this.j.c.div("jodit-xpath");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("mouseup.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 u.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,a.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,c.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,a.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",d)},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'>
|