jodit 4.8.3 → 4.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/es2015/jodit.css +1 -1
- package/es2015/jodit.fat.min.js +4 -4
- package/es2015/jodit.js +15 -14
- package/es2015/jodit.min.js +4 -4
- package/es2015/plugins/debug/debug.css +1 -1
- package/es2015/plugins/debug/debug.js +1 -1
- package/es2015/plugins/debug/debug.min.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2015/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2018/jodit.fat.min.js +4 -4
- package/es2018/jodit.min.js +4 -4
- package/es2018/plugins/debug/debug.min.js +1 -1
- package/es2018/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021/jodit.css +1 -1
- package/es2021/jodit.fat.min.js +4 -4
- package/es2021/jodit.js +15 -14
- package/es2021/jodit.min.js +4 -4
- package/es2021/plugins/debug/debug.css +1 -1
- package/es2021/plugins/debug/debug.js +1 -1
- package/es2021/plugins/debug/debug.min.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es2021.en/jodit.css +1 -1
- package/es2021.en/jodit.fat.min.js +4 -4
- package/es2021.en/jodit.js +15 -14
- package/es2021.en/jodit.min.js +4 -4
- package/es2021.en/plugins/debug/debug.css +1 -1
- package/es2021.en/plugins/debug/debug.js +1 -1
- package/es2021.en/plugins/debug/debug.min.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es2021.en/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/jodit.css +2 -2
- package/es5/jodit.fat.min.js +2 -2
- package/es5/jodit.js +18 -14
- package/es5/jodit.min.css +2 -2
- package/es5/jodit.min.js +2 -2
- package/es5/plugins/debug/debug.css +1 -1
- package/es5/plugins/debug/debug.js +1 -1
- package/es5/plugins/debug/debug.min.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.css +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.js +1 -1
- package/es5/plugins/speech-recognize/speech-recognize.min.js +1 -1
- package/es5/polyfills.fat.min.js +1 -1
- package/es5/polyfills.js +1 -1
- package/es5/polyfills.min.js +1 -1
- package/esm/core/constants.js +1 -1
- package/esm/modules/toolbar/collection/collection.js +3 -2
- package/esm/plugins/size/size.d.ts +1 -0
- package/esm/plugins/size/size.js +4 -1
- package/esm/plugins/source/editor/engines/ace.js +8 -10
- package/esm/plugins/source/editor/engines/area.js +1 -1
- package/package.json +1 -1
- package/types/plugins/size/size.d.ts +1 -0
- package/.nvmrc +0 -1
package/es2021/jodit.min.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser
|
|
3
3
|
* Author: Chupurnov <chupurnov@gmail.com> (https://xdsoft.net/jodit/)
|
|
4
|
-
* Version: v4.8.
|
|
4
|
+
* Version: v4.8.5
|
|
5
5
|
* Url: https://xdsoft.net/jodit/
|
|
6
6
|
* License(s): MIT
|
|
7
7
|
*/
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
body {
|
|
184
184
|
-webkit-print-color-adjust: exact;
|
|
185
185
|
}
|
|
186
|
-
}`,n.document.head.appendChild(t),n.focus(),n.print()}},mode:n.MODE_SOURCE+n.MODE_WYSIWYG,tooltip:"Print"},r.pluginSystem.add("print",function(e){e.registerButton({name:"print"})})},41360:function(e,t,i){"use strict";i.d(t,{nonenumerable:function(){return n}});let n=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},41599:function(e){e.exports={"copy-format":"复制格式"}},42210:function(e){e.exports={"Line height":"Hauteur de ligne"}},42259:function(e,t,i){"use strict";i.d(t,{cursorInTheEdgeOfString:function(){return s},findCorrectCurrentNode:function(){return a},moveNodeInsideStart:function(){return r.moveNodeInsideStart}});var n=i(81937),o=i(23211),r=i(89817);function s(e,t,i,o){let r=e.nodeValue?.length?e.nodeValue:"";if(o&&r.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").length>t)return!0;let s=(0,n.INVISIBLE_SPACE_REG_EXP_START)().exec(r);return i&&(s&&s[0].length<t||!s&&t>0)}function a(e,t,i,n,r,s){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],i=!0),e&&n&&!o.Dom.isText(e)){if(!i&&o.Dom.isText(e.previousSibling))e=e.previousSibling;else if(r){let t=s(e);for(;t;){if(t&&o.Dom.isText(t)){e=t;break}t=s(t)}}}if(e&&!n&&!o.Dom.isText(e)){let t=e,i=e;do t=t.firstChild,i=i.lastChild;while(t&&i&&!o.Dom.isText(t))t===i&&t&&o.Dom.isText(t)&&(e=t)}return{node:e,rightMode:i}}i(7470)},42360:function(e,t,i){"use strict";var n=i(27795),o=i(29434),r=i(5266),s=i(67176),a=i.n(s),l=i(14017),c=i.n(l),u=i(11917);o.Icon.set("indent",a()).set("outdent",c()),r.Config.prototype.controls.indent={tooltip:"Increase Indent"},r.Config.prototype.controls.outdent={isDisabled(e){let t=e.s.current();if(t){let i=n.Dom.closest(t,n.Dom.isBlock,e.editor);if(i){let t=(0,u.getKey)(e.o.direction,i);return!i.style[t]||0>=parseInt(i.style[t],10)}}return!0},tooltip:"Decrease Indent"},r.Config.prototype.indentMargin=10},42412:function(e){e.exports={symbols:"Szimbólum"}},42462:function(e,t,i){"use strict";var n=i(28077),o=i(65946);i(8071),n.pluginSystem.add("color",function(e){e.registerButton({name:"brush",group:"color"});let t=(t,i,n)=>{let r=(0,o.normalizeColor)(n);switch(t){case"background":e.s.commitStyle({attributes:{style:{backgroundColor:r||""}}});break;case"forecolor":e.s.commitStyle({attributes:{style:{color:r||""}}})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)})},42573:function(e,t,i){"use strict";i.d(t,{ToolbarCollection:function(){return c}});var n=i(25045),o=i(31635),r=i(84839),s=i(38027),a=i(4099),l=i(4274);class c extends a.UIList{className(){return"ToolbarCollection"}get firstButton(){let[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,l.makeButton)(this.j,e,t)}makeSelect(e,t=null){return(0,l.makeSelect)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,s.error)("The method is not implemented for this class.")}build(e,t=null){let i=this.j.e.fire("beforeToolbarBuild",e);return i&&(e=i),super.build(e,t),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(e){super(e),(0,n._)(this,"__listenEvents","updatePlugins updateToolbar changeStack mousedown mouseup keydown change afterInit readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur")}}(0,o.__decorate)([r.autobind],c.prototype,"__immediateUpdate",null),(0,o.__decorate)([(0,r.debounce)(e=>e.j.defaultTimeout,!0)],c.prototype,"update",null),(0,o.__decorate)([(0,r.hook)("ready")],c.prototype,"__initEvents",null),c=(0,o.__decorate)([r.component],c)},42766:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(65946),l=i(60936);i(10685);let c="addnewline";class u extends l.Plugin{__show(){this.j.o.readonly||this.j.isLocked||(this.j.async.clearTimeout(this.__timeout),this.__isShown||(this.__isShown=!0,this.j.container.appendChild(this.__line),this.__line.style.width=this.j.container.clientWidth+"px"))}onLock(e){e&&this.__isShown&&this.__hideForce()}__hide(){this.__isShown&&!this.__lineInFocus&&(this.__timeout=this.j.async.setTimeout(this.__hideForce,{timeout:500,label:"add-new-line-hide"}))}afterInit(e){e.o.addNewLine&&(e.e.on(this.__line,"mousemove",e=>{e.stopPropagation()}).on(this.__line,"mousedown touchstart",this.__onClickLine).on("change",this.__hideForce).on(this.__line,"mouseenter",()=>{this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!0}).on(this.__line,"mouseleave",()=>{this.__lineInFocus=!1}).on("changePlace",this.__addEventListeners.bind(this)),this.__addEventListeners())}__addEventListeners(){let e=this.j;e.e.off(e.editor,"."+c).off(e.container,"."+c).off("."+c).on([e.ow,e.ew,e.editor],"scroll."+c,this.__hideForce).on("finishedCleanHTMLWorker."+c,this.__hideForce).on(e.editor,"click."+c,this.__hide).on(e.container,"mouseleave."+c,this.__hide).on(e.editor,"mousemove."+c,this.__onMouseMove)}onDblClickEditor(e){let t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){let i=(0,a.offset)(t.editor,t,t.ed),n=e.pageY-t.ew.scrollX,o=t.createInside.element(t.o.enter);Math.abs(n-i.top)<Math.abs(n-(i.height+i.top))&&t.editor.firstChild?t.editor.insertBefore(o,t.editor.firstChild):t.editor.appendChild(o),t.s.setCursorIn(o),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}__onMouseMove(e){let t=this.j,i=t.ed.elementFromPoint(e.clientX,e.clientY);if(!l.Dom.isHTMLElement(i)||!l.Dom.isOrContains(t.editor,i))return;if(t.editor===i||this.__isMatchedTag(i)||(i=l.Dom.closest(i,this.__isMatchedTag,t.editor)),!i)return void this.__hide();if(this.__isMatchedTag(i)){let e=l.Dom.up(i,l.Dom.isBlock,t.editor);e&&e!==t.editor&&(i=e)}let n=(0,a.position)(i,this.j),o=!1,{clientY:r,clientX:s}=e;if(this.j.iframe){let{top:e,left:t}=(0,a.position)(this.j.iframe,this.j,!0);r+=e,s+=t}let c=this.j.o.addNewLineDeltaShow;Math.abs(r-n.top)<=c?(o=n.top,this.__isBeforeContent=!0):Math.abs(r-(n.top+n.height))<=c&&(o=n.top+n.height,this.__isBeforeContent=!1);let u=t.editor===i;!1===o||(!u||this.__isBeforeContent)&&(u||(0,a.call)(this.__isBeforeContent?l.Dom.prev:l.Dom.next,i,this.__canGetFocus,t.editor))?(this.__current=!1,this.__hide()):(this.__line.style.top=o+"px",this.__current=i,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",s-n.left-10+"px"))}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),l.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+c).off(this.j.container,"."+c).off("."+c)}constructor(...e){super(...e),(0,n._)(this,"__line",this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n("Break")}" class="jodit-add-new-line"><span>${l.Icon.get("enter")}</span></div>`)),(0,n._)(this,"__isMatchedTag",e=>!!(e&&this.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase()))),(0,n._)(this,"__timeout",void 0),(0,n._)(this,"__isBeforeContent",!1),(0,n._)(this,"__current",void 0),(0,n._)(this,"__lineInFocus",!1),(0,n._)(this,"__isShown",!1),(0,n._)(this,"__hideForce",()=>{this.__isShown&&(this.__isShown=!1,this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!1,l.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))}),(0,n._)(this,"__canGetFocus",e=>null!=e&&l.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)),(0,n._)(this,"__onClickLine",e=>{let t=this.j,i=t.createInside.element(t.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===t.editor?l.Dom.prepend(t.editor,i):this.__current.parentNode.insertBefore(i,this.__current):t.editor.appendChild(i),t.s.setCursorIn(i),(0,a.scrollIntoViewIfNeeded)(i,t.editor,t.ed),t.synchronizeValues(),this.__hideForce(),e.preventDefault()})}}(0,o.__decorate)([(0,r.watch)(":lock")],u.prototype,"onLock",null),(0,o.__decorate)([r.autobind],u.prototype,"__hide",null),(0,o.__decorate)([(0,r.watch)(":dblclick")],u.prototype,"onDblClickEditor",null),(0,o.__decorate)([(0,r.throttle)(e=>e.defaultTimeout)],u.prototype,"__onMouseMove",null),s.pluginSystem.add("addNewLine",u)},42820:function(e,t,i){"use strict";i.d(t,{LimitedStack:function(){return o}});var n=i(25045);class o{push(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(e){return this.stack.find(e)}constructor(e){(0,n._)(this,"limit",void 0),(0,n._)(this,"stack",void 0),this.limit=e,this.stack=[]}}},43102:function(e,t,i){"use strict";var n,o=i(25045),r=i(31635),s=i(84839),a=i(27795),l=i(28077),c=i(65946),u=i(91206);i(65701);var d=((n=d||{})[n.IDLE=0]="IDLE",n[n.WAIT_DRAGGING=1]="WAIT_DRAGGING",n[n.DRAGGING=2]="DRAGGING",n);class h extends u.Plugin{afterInit(){this.dragList=this.j.o.draggableTags?(0,c.splitArray)(this.j.o.draggableTags).filter(Boolean).map(e=>e.toLowerCase()):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}onDragStart(e){if("dragstart"===e.type&&this.draggable)return!1;if(this.state>0)return;let t=e.target;if(!this.dragList.length||!t)return;let i=e=>!!(e&&this.dragList.includes(e.nodeName.toLowerCase())),n=a.Dom.furthest(t,i,this.j.editor)||(i(t)?t:null);n&&(a.Dom.isTag(n.parentElement,"a")&&n.parentElement.firstChild===n&&n.parentElement.lastChild===n&&(n=n.parentElement),this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=(0,c.ctrlKey)(e),this.draggable=n.cloneNode(!0),(0,c.dataBind)(this.draggable,"target",n),this.state=1,this.addDragListeners())}onDrag(e){if(!this.draggable||0===this.state)return;let t=e.clientX,i=e.clientY;if(!(1===this.state&&Math.sqrt(Math.pow(t-this.startX,2)+Math.pow(i-this.startY,2))<this.diffStep)){if(1===this.state&&(this.j.lock("drag-and-drop-element"),this.state=2),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){let t=(0,c.dataBind)(this.draggable,"target");(0,c.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:t?.offsetWidth??100,height:t?.offsetHeight??100}),(0,l.getContainer)(this.j,h).appendChild(this.draggable)}(0,c.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}onDragEnd(){!this.isInDestruct&&(this.removeDragListeners(),this.j.unlock(),this.state=0,this.draggable&&(a.Dom.safeRemove(this.draggable),this.draggable=null))}onDrop(){if(!this.draggable||this.state<2)return void this.onDragEnd();let e=(0,c.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));let{parentElement:t}=e;this.j.s.insertNode(e,!0,!1),t&&a.Dom.isEmpty(t)&&!a.Dom.isCell(t)&&a.Dom.safeRemove(t),a.Dom.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}addDragListeners(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)}removeDragListeners(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)}beforeDestruct(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()}constructor(...e){super(...e),(0,o._)(this,"dragList",[]),(0,o._)(this,"draggable",null),(0,o._)(this,"isCopyMode",!1),(0,o._)(this,"diffStep",10),(0,o._)(this,"startX",0),(0,o._)(this,"startY",0),(0,o._)(this,"state",0)}}(0,r.__decorate)([s.autobind],h.prototype,"onDragStart",null),(0,r.__decorate)([(0,s.throttle)(e=>e.defaultTimeout/10)],h.prototype,"onDrag",null),(0,r.__decorate)([s.autobind],h.prototype,"onDragEnd",null),(0,r.__decorate)([s.autobind],h.prototype,"onDrop",null),l.pluginSystem.add("dragAndDropElement",h)},43218:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},43271:function(e,t,i){"use strict";i.d(t,{ImageEditor:function(){return f},openImageEditor:function(){return g}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(27795),l=i(65946),c=i(59400),u=i(5266);i(54500);var d=i(8908);let h="jodit-image-editor",p="resize",m="crop";class f extends r.ViewComponent{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(e,t){return this.j.async.promise(i=>{let n=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=t,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(e)?e+="&_tst="+n:e+="?_tst="+n,this.image.setAttribute("src",e),this._dialog.open();let{widthInput:o,heightInput:r}=(0,l.refs)(this.editor),s=()=>{this.isDestructed||(this.image.removeEventListener("load",s),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,o.value=this.naturalWidth.toString(),r.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"),i(this._dialog))};this.image.addEventListener("load",s),this.image.complete&&s()})}onTitleModeClick(e){let t=e.target,i=t?.parentElement;if(!i)return;(0,l.$$)(`.${h}__slider,.${h}__area`,this.editor).forEach(e=>e.classList.remove(`${h}_active`)),i.classList.add(`${h}_active`),this.activeTab=(0,l.attr)(i,"-area")||p;let n=this.editor.querySelector(`.${h}__area.${h}__area_`+this.activeTab);n&&n.classList.add(`${h}_active`),this.activeTab===m&&this.showCrop()}onChangeSizeInput(e){let t,i=e.target,{widthInput:n,heightInput:o}=(0,l.refs)(this.editor),r="widthInput"===(0,l.attr)(i,"data-ref"),s=parseInt(i.value,10),a=r?this.o.min_width:this.o.min_height,c=r?this.o.min_height:this.o.min_width;s>a&&((0,l.css)(this.image,r?"width":"height",s),this.resizeUseRatio&&(t=r?Math.round(s/this.ratio):Math.round(s*this.ratio))>c&&((0,l.css)(this.image,r?"height":"width",t),r?o.value=t.toString():n.value=t.toString())),this.j.e.fire(this.resizeHandler,"updatesize")}onResizeHandleMouseDown(e){this.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),this.clicked=!0,this.start_x=e.clientX,this.start_y=e.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(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(e){if(!this.clicked)return;let{widthInput:t,heightInput:i}=(0,l.refs)(this.editor);this.diff_x=e.clientX-this.start_x,this.diff_y=e.clientY-this.start_y,this.activeTab===p&&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===p?(this.new_w>this.o.resizeMinWidth&&((0,l.css)(this.image,"width",this.new_w+"px"),t.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,l.css)(this.image,"height",this.new_h+"px"),i.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,"."+h).off("."+h),super.destruct())}constructor(e){super(e),(0,n._)(this,"options",void 0),(0,n._)(this,"onSave",void 0),(0,n._)(this,"resizeUseRatio",!0),(0,n._)(this,"cropUseRatio",!0),(0,n._)(this,"_dialog",void 0),(0,n._)(this,"image",void 0),(0,n._)(this,"cropImage",void 0),(0,n._)(this,"clicked",!1),(0,n._)(this,"target",void 0),(0,n._)(this,"start_x",0),(0,n._)(this,"start_y",0),(0,n._)(this,"top_x",0),(0,n._)(this,"top_y",0),(0,n._)(this,"width",0),(0,n._)(this,"height",0),(0,n._)(this,"activeTab",p),(0,n._)(this,"naturalWidth",0),(0,n._)(this,"naturalHeight",0),(0,n._)(this,"ratio",0),(0,n._)(this,"new_h",0),(0,n._)(this,"new_w",0),(0,n._)(this,"diff_x",0),(0,n._)(this,"diff_y",0),(0,n._)(this,"buttons",void 0),(0,n._)(this,"editor",void 0),(0,n._)(this,"resize_box",void 0),(0,n._)(this,"crop_box",void 0),(0,n._)(this,"sizes",void 0),(0,n._)(this,"resizeHandler",void 0),(0,n._)(this,"cropHandler",void 0),(0,n._)(this,"cropBox",{x:0,y:0,w:0,h:0}),(0,n._)(this,"resizeBox",{w:0,h:0}),(0,n._)(this,"calcCropBox",()=>{let e=this.crop_box.parentNode,t=.8*e.offsetWidth,i=.8*e.offsetHeight,n=t,o=i,{naturalWidth:r,naturalHeight:s}=this;t>r&&i>s?(n=r,o=s):this.ratio>t/i?(n=t,o=t/r*s):(n=i/s*r,o=i),(0,l.css)(this.crop_box,{width:n,height:o})}),(0,n._)(this,"showCrop",()=>{if(!this.cropImage)return;this.calcCropBox();let e=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=f.calcValueByPercent(e,this.o.cropDefaultWidth);let t=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.cropUseRatio?this.new_h=this.new_w/this.ratio:this.new_h=f.calcValueByPercent(t,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:e/2-this.new_w/2,top:t/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")}),(0,n._)(this,"updateCropBox",()=>{if(!this.cropImage)return;let e=this.cropImage.offsetWidth/this.naturalWidth,t=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,l.css)(this.cropHandler,"left")/e,this.cropBox.y=(0,l.css)(this.cropHandler,"top")/t,this.cropBox.w=this.cropHandler.offsetWidth/e,this.cropBox.h=this.cropHandler.offsetHeight/t,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)}),(0,n._)(this,"updateResizeBox",()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight}),(0,n._)(this,"setHandlers",()=>{let e=this,{widthInput:t,heightInput:i}=(0,l.refs)(this.editor);e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown."+h,this.onResizeHandleMouseDown).on(this.j.ow,"resize."+h,()=>{this.j.e.fire(e.resizeHandler,"updatesize"),e.showCrop(),this.j.e.fire(e.cropHandler,"updatesize")}),e.j.e.on((0,l.toArray)(this.editor.querySelectorAll(`.${h}__slider-title`)),"click",this.onTitleModeClick).on([t,i],"input",this.onChangeSizeInput);let{keepAspectRatioResize:n,keepAspectRatioCrop:o}=(0,l.refs)(this.editor);n&&n.addEventListener("change",()=>{this.resizeUseRatio=n.checked}),o&&o.addEventListener("change",()=>{this.cropUseRatio=o.checked}),e.j.e.on(e.resizeHandler,"updatesize",()=>{(0,l.css)(e.resizeHandler,{top:0,left:0,width:e.image.offsetWidth||e.naturalWidth,height:e.image.offsetHeight||e.naturalHeight}),this.updateResizeBox()}).on(e.cropHandler,"updatesize",()=>{if(!e.cropImage)return;let t=(0,l.css)(e.cropHandler,"left"),i=(0,l.css)(e.cropHandler,"top"),n=e.cropHandler.offsetWidth,o=e.cropHandler.offsetHeight;t<0&&(t=0),i<0&&(i=0),t+n>e.cropImage.offsetWidth&&(n=e.cropImage.offsetWidth-t,e.cropUseRatio&&(o=n/e.ratio)),i+o>e.cropImage.offsetHeight&&(o=e.cropImage.offsetHeight-i,e.cropUseRatio&&(n=o*e.ratio)),(0,l.css)(e.cropHandler,{width:n,height:o,left:t,top:i,backgroundPosition:-t-1+"px "+(-i-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}),Object.values(e.buttons).forEach(n=>{n.onAction(()=>{let o={action:e.activeTab,box:e.activeTab===p?e.resizeBox:e.cropBox};switch(n){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",t=>{if(!(0,l.trim)(t))return e.j.alert("The name should not be empty"),!1;e.onSave(t,o,e.hide,t=>{e.j.alert(t.message)})});break;case e.buttons.save:e.onSave(void 0,o,e.hide,t=>{e.j.alert(t.message)});break;case e.buttons.reset:e.activeTab===p?((0,l.css)(e.image,{width:null,height:null}),t.value=e.naturalWidth.toString(),i.value=e.naturalHeight.toString(),e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}})})}),this.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:u.Config.defaultOptions.imageeditor;const t=this.options;this.resizeUseRatio=t.resizeUseRatio,this.cropUseRatio=t.cropUseRatio,this.buttons={reset:(0,c.Button)(this.j,"update","Reset"),save:(0,c.Button)(this.j,"save","Save"),saveas:(0,c.Button)(this.j,"save","Save as ...")},this.activeTab=t.resize?p:m,this.editor=(0,d.form)(this.j,this.options);const{resizeBox:i,cropBox:o}=(0,l.refs)(this.editor);this.resize_box=i,this.crop_box=o,this.sizes=this.editor.querySelector(`.${h}__area.${h}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${h}__resizer`),this.cropHandler=this.editor.querySelector(`.${h}__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 g(e,t,i,n,o,r){return this.getInstance("ImageEditor",this.o).open(e,(e,s,a,c)=>(0,l.call)("resize"===s.action?this.dataProvider.resize:this.dataProvider.crop,i,n,t,e,s.box).then(e=>{e&&(a(),o&&o())}).catch(e=>{c(e),r&&r(e)}))}(0,n._)(f,"calcValueByPercent",(e,t)=>{let i,n=t.toString(),o=parseFloat(e.toString());return(i=/^[-+]?[0-9]+(px)?$/.exec(n))?parseInt(n,10):(i=/^([-+]?[0-9.]+)%$/.exec(n))?Math.round(o*(parseFloat(i[1])/100)):o||0}),(0,o.__decorate)([s.autobind],f.prototype,"hide",null),(0,o.__decorate)([s.autobind],f.prototype,"open",null),(0,o.__decorate)([s.autobind],f.prototype,"onTitleModeClick",null),(0,o.__decorate)([(0,s.debounce)(),s.autobind],f.prototype,"onChangeSizeInput",null),(0,o.__decorate)([s.autobind],f.prototype,"onResizeHandleMouseDown",null),(0,o.__decorate)([s.autobind],f.prototype,"onGlobalMouseUp",null),(0,o.__decorate)([(0,s.throttle)(10)],f.prototype,"onGlobalMouseMove",null),f=(0,o.__decorate)([s.component],f)},43354:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(51676),s=i(28077),a=i(65946);i(81008);class l{init(e){this.buttons?.forEach(t=>e.registerButton(t)),e.e.off(`copy.${o.CLIPBOARD_ID} cut.${o.CLIPBOARD_ID}`).on(`copy.${o.CLIPBOARD_ID} cut.${o.CLIPBOARD_ID}`,t=>{let i=e.s.html,n=(0,a.getDataTransfer)(t)||(0,a.getDataTransfer)(e.ew)||(0,a.getDataTransfer)(t.originalEvent);n&&(n.setData(o.TEXT_PLAIN,(0,a.stripTags)(i)),n.setData(o.TEXT_HTML,i)),e.buffer.set(o.CLIPBOARD_ID,i),e.e.fire("pasteStack",{html:i,action:e.o.defaultActionOnPaste||o.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),e?.events?.fire("afterCopy",i)})}destruct(e){(0,r.cached)(e,"buffer")?.set(o.CLIPBOARD_ID,""),e?.events?.off("."+o.CLIPBOARD_ID)}constructor(){(0,n._)(this,"jodit",void 0),(0,n._)(this,"buttons",[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}])}}s.pluginSystem.add("clipboard",l)},43379:function(e,t,i){"use strict";i.d(t,{reset:function(){return a}});var n=i(81937),o=i(91565),r=i(89308);let s={};function a(e){if(!(e in s)){let t=n.globalDocument.createElement("iframe");try{if(t.src="about:blank",n.globalDocument.body.appendChild(t),!t.contentWindow)return null;let i=(0,r.get)(e,t.contentWindow),a=(0,r.get)(e.split(".").slice(0,-1).join("."),t.contentWindow);(0,o.isFunction)(i)&&(s[e]=i.bind(a))}catch(e){if(!n.IS_PROD)throw e}finally{t.parentNode?.removeChild(t)}}return s[e]??null}},43439:function(e){e.exports={Spellcheck:"Spellchecking"}},43829:function(e){e.exports={"Line height":"Зураасны өндөр"}},44322:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(72412),l=i(80991),c=i(18855);i(80202);class u extends c.Plugin{afterInit(e){e.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(e.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__initialize()}__initialize(){let{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){let i=e.storage.get("height");i&&(t=i)}(0,l.css)(e.editor,{minHeight:"100%"}),(0,l.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),e.isFullSize||(this.__setHeight(t),this.__setWidth(e.o.width))}__setHeight(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,a.isNumber)(e)){let{minHeight:t,maxHeight:i}=this.j.o;(0,a.isNumber)(t)&&t>e&&(e=t),(0,a.isNumber)(i)&&i<e&&(e=i)}(0,l.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__setWidth(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,a.isNumber)(e)){let{minWidth:t,maxWidth:i}=this.j.o;(0,a.isNumber)(t)&&t>e&&(e=t),(0,a.isNumber)(i)&&e>i&&(e=i)}(0,l.css)(this.j.container,"width",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__getNotWorkHeight(){return(this.j.toolbarContainer?.offsetHeight||0)+(this.j.statusbar?.getHeight()||0)+2}__resizeWorkspaceImd({clientHeight:e,clientWidth:t}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline||!this.j.container||!this.j.container.parentNode)return;let i=((0,l.css)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,a.isNumber)(i)&&i>0&&([this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(e=>{e&&(0,l.css)(e,"minHeight",i)}),this.j.e.fire("setMinHeight",i)),(0,a.isNumber)(this.j.o.maxHeight)){let e=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(t=>{t&&(0,l.css)(t,"maxHeight",e)}),this.j.e.fire("setMaxHeight",e)}if(this.j.container){let e="auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto";(0,l.css)(this.j.workplace,"height",e),this.j.container.style.setProperty("--jd-jodit-workplace-height",(0,a.isNumber)(e)?e+"px":e)}let{clientHeight:n,clientWidth:o}=this.j.container;(e!==n||t!==o)&&this.j.e.fire(this.j,"resize")}beforeDestruct(e){e.e.off(e.ow,"load.size",this.__resizeWorkspaces).off(".size")}constructor(...e){super(...e),(0,n._)(this,"__resizeWorkspaces",this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0))}}(0,o.__decorate)([(0,r.throttle)()],u.prototype,"__initialize",null),(0,o.__decorate)([r.autobind],u.prototype,"__setHeight",null),(0,o.__decorate)([r.autobind],u.prototype,"__setWidth",null),(0,o.__decorate)([r.autobind],u.prototype,"__resizeWorkspaceImd",null),s.pluginSystem.add("size",u)},44599:function(e,t,i){"use strict";i.r(t),i.d(t,{en:function(){return n},es:function(){return o}});var n=i(17918),o=i(31369)},44636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},44837:function(e){e.exports={symbols:"기호"}},44906:function(e){e.exports.default=["輸入一些內容","關於Jodit","Jodit Editor","開發者指南","使用幫助","相關授權條款資訊,請造訪我們的網站:","購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","錨點","在新分頁開啟","全螢幕編輯","清除樣式","顏色","取消復原","復原","粗體","斜體","項目符號清單","編號清單","置中","文字對齊","靠左","靠右","分割線","圖片","檔案","插入 youtube/vimeo 影片","插入連結","文字大小","字型","格式化區塊","內文","標題1","標題2","標題3","標題4","引文","程式碼","插入","表格","減少縮排","增加縮排","選擇特殊符號","特殊符號","格式複製","檢視原始碼","邊距","上","右","下","左","樣式","Classes","對齊方式","靠右","置中","靠左","無","Src","Title","替代","Link","在新分頁開啟連結","圖片","檔案","進階","圖片屬性","取消","確定","檔案瀏覽","清單載入錯誤","資料夾載入錯誤","您確定嗎?","輸入路徑","創建路徑","type name","拖曳圖片至此","拖曳檔案至此","或點擊","替代文字","上傳","瀏覽","背景色","文字","頂部","中間","底部","插入左方欄","插入右方欄","插入上方列","插入下方列","刪除表格","刪除整列","刪除整欄","清除內容","字元數: %d","單字數: %d","刪除線","底線","上標","下標","剪下","全選","斷行","尋找","取代為","取代","貼上","選擇內容並貼上","原始碼","粗體","斜體","顏色","連結","復原","取消復原","表格","圖片","橡皮擦","段落","文字大小","影片","字型","關於","列印","底線","刪除線","增加縮排","減少縮排","全螢幕","縮減","分隔線","項目符號清單","編號清單","剪下","全選","嵌入程式碼","打開連結","編輯連結","No follow","取消連結","更新","鉛筆","查看","URL","編輯","水平對齊","篩選","修改時間排序","名稱排序","大小排序","新增資料夾","重設","儲存","另存為...","調整大小","裁切","寬","高","維持長寬比","是","否","移除","選擇","選擇: %s","垂直對齊","分割","合併","新增欄","新增列","許可證: %s","刪除","垂直分割","水平分割","邊框","您的程式碼與 HTML 類似,是否貼上 HTML 格式?","貼上 HTML","保留原始格式","以純文字貼上","僅貼上內文","您只能編輯您自己的圖片。是否下載此圖片?","圖片上傳成功","調色盤","沒有檔案","重新命名","輸入新名稱","預覽","下載","從剪貼簿貼上","瀏覽器無法存取剪貼簿。","複製已選取項目","複製","邊框圓角","顯示全部","應用","請輸入此欄位","請輸入網址","預設","圓圈","點","方形","尋找","尋找上一個","尋找下一個","正在貼上 Word/Excel 文件的內容,是否保留原始格式?","貼上 Word 格式","清除格式","插入 class 名稱","按住 Alt 以調整自訂大小",null,null,null,"全部"]},44998:function(e,t,i){"use strict";i.d(t,{isLicense:function(){return o}});var n=i(85932);let o=e=>(0,n.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},45062:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},45219:function(e,t,i){"use strict";i.d(t,{visitNodeWalker:function(){return s}});var n=i(81937),o=i(91560);let r=Object.keys(o);function s(e,t,i,s,a){let l=!1,c=e.o.cleanHTML.disableCleanFilter;for(let u of r)if(!(c&&c.has(u))&&(l=(0,o[u])(e,t,l,i,s,a),n.IS_PROD,!t.isConnected))return!0;return l}},45244:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},45512:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},45596:function(e){e.exports={Spellcheck:"Spellingcontrole"}},45664:function(e,t,i){"use strict";i.d(t,{asArray:function(){return n.asArray},splitArray:function(){return o.splitArray},toArray:function(){return r.toArray}});var n=i(78982),o=i(32328),r=i(88475)},45674:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},45778:function(e,t,i){"use strict";i.d(t,{formTemplate:function(){return r}});var n=i(59400),o=i(5658);let r=e=>{let{openInNewTabCheckbox:t,noFollowCheckbox:i,modeClassName:r,selectSizeClassName:s,selectMultipleClassName:a,selectOptionsClassName:l}=e.o.link;return new o.UIForm(e,[new o.UIBlock(e,[new o.UIInput(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new o.UIBlock(e,[new o.UIInput(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),r?new o.UIBlock(e,["input"===r?new o.UIInput(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===r?new o.UISelect(e,{name:"className",ref:"className_select",label:"Class name",size:s,multiple:a,options:l}):null]):null,t?new o.UICheckbox(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,i?new o.UICheckbox(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new o.UIBlock(e,[new n.UIButton(e,{name:"unlink",variant:"default",text:"Unlink"}),new n.UIButton(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},45844:function(e,t,i){"use strict";i.d(t,{TextAreaEditor:function(){return a}});var n=i(25045),o=i(23211),r=i(80991),s=i(94193);class a extends s.SourceEditor{init(e){this.instance=e.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===e.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",e=>{(0,r.css)(this.instance,"minHeight",e)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",t=>{e.e.fire(t.type,t)}),this.autosize(),this.onReady()}destruct(){o.Dom.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(e){this.instance.value=e}insertRaw(e){let t=this.getValue();if(this.getSelectionStart()>=0){let i=this.getSelectionStart(),n=this.getSelectionEnd();this.setValue(t.substring(0,i)+e+t.substring(n,t.length))}else this.setValue(t+e)}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(e,t=e){this.instance.setSelectionRange(e,t)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(e){this.instance.setAttribute("placeholder",e)}setReadOnly(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){let{history:e}=this.jodit;this.j.e.on(this.instance,"keydown",t=>{if((t.ctrlKey||t.metaKey)&&"z"===t.key)return t.shiftKey?e.redo():e.undo(),this.setSelectionRange(this.getValue().length),!1})}constructor(...e){super(...e),(0,n._)(this,"autosize",this.j.async.debounce(()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"},this.j.defaultTimeout))}}},46248:function(e,t,i){"use strict";i.d(t,{isHTML:function(){return o}});var n=i(85932);let o=e=>(0,n.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},46303:function(e,t,i){"use strict";i.d(t,{splitFragment:function(){return s}});var n=i(23211),o=i(60898),r=i(65710);function s(e,t,i){let s=t.s,{enter:a}=t.o,l=a.toLowerCase(),c=n.Dom.isLeaf(i),u=i.tagName.toLowerCase()===l||c,d=s.cursorOnTheRight(i,e),h=s.cursorOnTheLeft(i,e);if(!u&&(d||h)){d?n.Dom.after(i,e):n.Dom.before(i,e),(0,r.insertParagraph)(e,t,l),h&&!d&&n.Dom.prepend(i,e);return}let p=s.splitSelection(i,e);(0,o.scrollIntoViewIfNeeded)(p,t.editor,t.ed)}},46363:function(e,t,i){"use strict";i.d(t,{Snapshot:function(){return a}});var n=i(25045),o=i(16964),r=i(81937),s=i(23211);class a extends o.ViewComponent{className(){return"Snapshot"}static equal(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)}static countNodesBeforeInParent(e){if(!e.parentNode)return 0;let t=e.parentNode.childNodes,i=0,n=null;for(let o=0;o<t.length;o+=1){if(!n||this.isIgnoredNode(t[o])||s.Dom.isText(n)&&s.Dom.isText(t[o])||(i+=1),t[o]===e)return i;n=t[o]}return 0}static strokeOffset(e,t){for(;s.Dom.isText(e);)e=e.previousSibling,s.Dom.isText(e)&&e.nodeValue&&(t+=e.nodeValue.length);return t}calcHierarchyLadder(e){let t=[];if(!e||!e.parentNode||!s.Dom.isOrContains(this.j.editor,e))return[];for(;e&&e!==this.j.editor;)e&&!a.isIgnoredNode(e)&&t.push(a.countNodesBeforeInParent(e)),e=e.parentNode;return t.reverse()}getElementByLadder(e){let t=this.j.editor,i;for(i=0;t&&i<e.length;i+=1)t=t.childNodes[e[i]];return t}get isBlocked(){return this.__isBlocked}__block(e){this.__isBlocked=e}transaction(e){this.__block(!0),this.__levelOfTransaction+=1;try{e()}catch(e){if(!r.IS_PROD)throw e}finally{this.__levelOfTransaction-=1,0===this.__levelOfTransaction&&this.__block(!1)}}make(){let e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.__getCleanedEditorValue(this.j.editor);let t=this.j.s.sel;if(t&&t.rangeCount){let i=t.getRangeAt(0),n=this.calcHierarchyLadder(i.startContainer),o=this.calcHierarchyLadder(i.endContainer),r=a.strokeOffset(i.startContainer,i.startOffset),s=a.strokeOffset(i.endContainer,i.endOffset);n.length||i.startContainer===this.j.editor||(r=0),o.length||i.endContainer===this.j.editor||(s=0),e.range={startContainer:n,startOffset:r,endContainer:o,endOffset:s}}return e}restore(e){this.transaction(()=>{let t=this.storeScrollState();this.__getCleanedEditorValue(this.j.editor)!==e.html&&(this.j.value=e.html),this.restoreOnlySelection(e),this.restoreScrollState(t)})}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(e){let{j:t}=this,{ow:i}=t;i.scrollTo(i.scrollX,e[0]),t.editor.scrollTop=e[1]}restoreOnlySelection(e){try{if(e.range){let t=this.j.ed.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.j.s.selectRange(t)}}catch(e){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild),r.IS_PROD}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(e){return s.Dom.isText(e)&&!e.nodeValue||s.Dom.isTemporary(e)}__getCleanedEditorValue(e){let t=e.cloneNode(!0);return s.Dom.temporaryList(t).forEach(s.Dom.unwrap),t.innerHTML}constructor(...e){super(...e),(0,n._)(this,"__isBlocked",!1),(0,n._)(this,"__levelOfTransaction",0)}}},46533:function(e,t,i){"use strict";i.d(t,{sendFiles:function(){return r}});var n=i(65946),o=i(77911);function r(e,t,i,r,s){if(!t)return Promise.reject((0,n.error)("Need files"));let{o:a}=e,l=(0,n.toArray)(t);if(!l.length)return Promise.reject((0,n.error)("Need files"));let c=[];if(a.insertImageAsBase64URI&&function(e,t,i,o,r,s){let a,l;for(l=0;l<e.length;l+=1)if((a=e[l])&&a.type){let c=a.type.match(/\/([a-z0-9]+)/i),u=c[1]?c[1].toLowerCase():"";if(!t.includes(u))continue;let d=new FileReader;i.push(o.j.async.promise((e,t)=>{d.onerror=t,d.onloadend=()=>{let t={baseurl:"",files:[d.result],isImages:[!0]};((0,n.isFunction)(r)?r:s).call(o,t),e(t)},d.readAsDataURL(a)})),e[l]=null}}(l,a.imagesExtensions,c,e,i,a.defaultHandlerSuccess),(l=l.filter(e=>e)).length){let t,u=new FormData;u.append(a.pathVariableName,e.path),u.append("source",e.source);for(let i=0;i<l.length;i+=1)if(t=l[i]){let n=/\.\w+$/.test(t.name),o=t.type.match(/\/([a-z0-9]+)/i),r=o&&o[1]?o[1].toLowerCase():"",s=l[i].name||Math.random().toString().replace(".","");if(!n&&r){let e=r;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+r)}let[c,d,h]=a.processFileName.call(e,a.filesVariableName(i),l[i],s);u.append(c,d,h)}s&&s(u),a.data&&(0,n.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{u.append(e,a.data[e])}),a.prepareData.call(e,u),c.push((0,o.send)(e,u).then(t=>(a.isSuccess.call(e,t)?((0,n.isFunction)(i)?i:a.defaultHandlerSuccess).call(e,a.process.call(e,t)):((0,n.isFunction)(r)?r:a.defaultHandlerError).call(e,(0,n.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},47229:function(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},47670:function(e,t,i){"use strict";i(5266).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1,normalizeTripleClick:!0}},47744:function(e,t,i){"use strict";i.d(t,{readValuesFromImage:function(){return l}});var n=i(7909),o=i(26633),r=i(79310),s=i(18380),a=i(57339);async function l(e,t){let{sourceImage:i,values:l}=t;return(0,o.readAlign)(i,l),l.borderRadius=parseInt(i.style.borderRadius||"0",10)||0,l.id=(0,n.attr)(i,"id")||"",l.imageTitle=(0,n.attr)(i,"title")||"",l.imageAlt=(0,n.attr)(i,"alt")||"",l.style=(0,n.attr)(i,"style")||"",l.classes=((0,n.attr)(i,"class")||"").replace(/jodit_focused_image[\s]*/,""),(0,s.readMargins)(i,l,t),(0,r.readLink)(t,e,l),l.imageSrc=(0,n.attr)(i,"src")||"",(0,a.readSizes)(i,l,t)}},47760:function(e,t,i){"use strict";i.d(t,{alreadyLoadedList:function(){return r},appendScriptAsync:function(){return a},appendStyleAsync:function(){return l},loadNext:function(){return function e(t,i,o=0){return(0,n.isString)(i[o])?a(t,i[o]).then(()=>e(t,i,o+1)):Promise.resolve()}},loadNextStyle:function(){return function e(t,i,o=0){return(0,n.isString)(i[o])?l(t,i[o]).then(()=>e(t,i,o+1)):Promise.resolve()}}});var n=i(85932),o=i(91321);let r=new Map,s=e=>(t,i)=>{if(r.has(i))return r.get(i);let n=e(t,i);return r.set(i,n),n},a=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let r=e.c.element("script",{type:"text/javascript",crossorigin:"anonymous",referrerpolicy:"no-referrer",async:!0,src:(0,o.completeUrl)(t)});e.e.one(r,"error",n).one(r,"load",i),e.od.body.appendChild(r)})),l=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let r=e.c.element("link");r.rel="stylesheet",r.media="all",r.crossOrigin="anonymous",e.isInDestruct||e.e.on(r,"load",()=>i(r)).on(r,"error",n),r.href=(0,o.completeUrl)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(r):e.od.body.appendChild(r)}))},47919:function(e,t,i){"use strict";i.d(t,{moveCursorOutFromSpecialTags:function(){return o}});var n=i(23211);function o(e,t,i){let{s:o}=e,r=n.Dom.closest(t,i,e.editor);r&&(o.cursorOnTheRight(r,t)?n.Dom.after(r,t):o.cursorOnTheLeft(r,t)&&n.Dom.before(r,t))}},48007:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},48009:function(e,t,i){"use strict";i.d(t,{normalizeUrl:function(){return n}});let n=(...e)=>e.filter(e=>e.length).map(e=>e.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},48155:function(e,t,i){"use strict";i.d(t,{safeHTML:function(){return r},sanitizeHTMLElement:function(){return s}});var n=i(23211),o=i(93640);function r(e,t){(n.Dom.isElement(e)||n.Dom.isFragment(e))&&(t.removeOnError&&(s(e),(0,o.$$)("[onerror]",e).forEach(e=>s(e,t))),t.safeJavaScriptLink&&(s(e),(0,o.$$)('a[href^="javascript"]',e).forEach(e=>s(e,t))))}function s(e,{safeJavaScriptLink:t,removeOnError:i}={safeJavaScriptLink:!0,removeOnError:!0}){if(!n.Dom.isElement(e))return!1;let r=!1;i&&e.hasAttribute("onerror")&&((0,o.attr)(e,"onerror",null),r=!0);let a=e.getAttribute("href");return t&&a&&0===a.trim().indexOf("javascript")&&((0,o.attr)(e,"href",location.protocol+"//"+a),r=!0),r}},48290:function(e,t,i){"use strict";var n=i(27795),o=i(65946),r=i(93640),s=i(29434),a=i(5266),l=i(67447),c=i.n(l);a.Config.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",c()),a.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,i,s){e.editor.normalize();let a=e.history.snapshot.make(),l=s.control,c=l.data&&l.data.rows?l.data.rows:10,u=l.data&&l.data.cols?l.data.cols:10,d=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";let t=[];if(l.data){let e=l.data.classList;Object.keys(e).forEach(i=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${i}" type="checkbox"/>${e[i]}</label>`)})}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> × <span>1</span></label></form>'),h=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],m=d.querySelector(".jodit-form__container"),f=d.querySelector(".jodit-form__options"),g=[],_=c*u;for(let t=0;t<_;t+=1)g[t]||g.push(e.c.element("span",{dataIndex:t}));if(e.e.on(m,"mousemove",(e,t)=>{let i=e.target;if(!n.Dom.isTag(i,"span"))return;let o=void 0===t||isNaN(t)?parseInt((0,r.attr)(i,"-index")||"0",10):t||0,s=Math.ceil((o+1)/u),a=o%u+1;for(let e=0;e<g.length;e+=1)a>=e%u+1&&s>=Math.ceil((e+1)/u)?g[e].className="jodit_hovered":g[e].className="";p.textContent=a.toString(),h.textContent=s.toString()}).on(m,"touchstart mousedown",t=>{let s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!n.Dom.isTag(s,"span"))return;let l=parseInt((0,r.attr)(s,"-index")||"0",10),c=Math.ceil((l+1)/u),d=l%u+1,h=e.createInside,p=h.element("tbody"),m=h.element("table");m.appendChild(p);let g=null,_,v;for(let e=1;c>=e;e+=1){_=h.element("tr");for(let e=1;e<=d;e+=1)v=h.element("td"),g||(g=v),(0,o.css)(v,"width",(100/d).toFixed(4)+"%"),v.appendChild(h.element("br")),_.appendChild(h.text(`
|
|
186
|
+
}`,n.document.head.appendChild(t),n.focus(),n.print()}},mode:n.MODE_SOURCE+n.MODE_WYSIWYG,tooltip:"Print"},r.pluginSystem.add("print",function(e){e.registerButton({name:"print"})})},41360:function(e,t,i){"use strict";i.d(t,{nonenumerable:function(){return n}});let n=(e,t)=>{!1!==(Object.getOwnPropertyDescriptor(e,t)||{}).enumerable&&Object.defineProperty(e,t,{enumerable:!1,set(e){Object.defineProperty(this,t,{enumerable:!1,writable:!0,value:e})}})}},41599:function(e){e.exports={"copy-format":"复制格式"}},42210:function(e){e.exports={"Line height":"Hauteur de ligne"}},42259:function(e,t,i){"use strict";i.d(t,{cursorInTheEdgeOfString:function(){return s},findCorrectCurrentNode:function(){return a},moveNodeInsideStart:function(){return r.moveNodeInsideStart}});var n=i(81937),o=i(23211),r=i(89817);function s(e,t,i,o){let r=e.nodeValue?.length?e.nodeValue:"";if(o&&r.replace((0,n.INVISIBLE_SPACE_REG_EXP_END)(),"").length>t)return!0;let s=(0,n.INVISIBLE_SPACE_REG_EXP_START)().exec(r);return i&&(s&&s[0].length<t||!s&&t>0)}function a(e,t,i,n,r,s){if((e=t.startContainer.childNodes[t.startOffset])||(e=t.startContainer.childNodes[t.startOffset-1],i=!0),e&&n&&!o.Dom.isText(e)){if(!i&&o.Dom.isText(e.previousSibling))e=e.previousSibling;else if(r){let t=s(e);for(;t;){if(t&&o.Dom.isText(t)){e=t;break}t=s(t)}}}if(e&&!n&&!o.Dom.isText(e)){let t=e,i=e;do t=t.firstChild,i=i.lastChild;while(t&&i&&!o.Dom.isText(t))t===i&&t&&o.Dom.isText(t)&&(e=t)}return{node:e,rightMode:i}}i(7470)},42360:function(e,t,i){"use strict";var n=i(27795),o=i(29434),r=i(5266),s=i(67176),a=i.n(s),l=i(14017),c=i.n(l),u=i(11917);o.Icon.set("indent",a()).set("outdent",c()),r.Config.prototype.controls.indent={tooltip:"Increase Indent"},r.Config.prototype.controls.outdent={isDisabled(e){let t=e.s.current();if(t){let i=n.Dom.closest(t,n.Dom.isBlock,e.editor);if(i){let t=(0,u.getKey)(e.o.direction,i);return!i.style[t]||0>=parseInt(i.style[t],10)}}return!0},tooltip:"Decrease Indent"},r.Config.prototype.indentMargin=10},42412:function(e){e.exports={symbols:"Szimbólum"}},42462:function(e,t,i){"use strict";var n=i(28077),o=i(65946);i(8071),n.pluginSystem.add("color",function(e){e.registerButton({name:"brush",group:"color"});let t=(t,i,n)=>{let r=(0,o.normalizeColor)(n);switch(t){case"background":e.s.commitStyle({attributes:{style:{backgroundColor:r||""}}});break;case"forecolor":e.s.commitStyle({attributes:{style:{color:r||""}}})}return e.synchronizeValues(),!1};e.registerCommand("forecolor",t).registerCommand("background",t)})},42573:function(e,t,i){"use strict";i.d(t,{ToolbarCollection:function(){return c}});var n=i(25045),o=i(31635),r=i(84839),s=i(38027),a=i(4099),l=i(4274);class c extends a.UIList{className(){return"ToolbarCollection"}get firstButton(){let[e]=this.buttons;return e||null}makeButton(e,t=null){return(0,l.makeButton)(this.j,e,t)}makeSelect(e,t=null){return(0,l.makeSelect)(this.j,e,t)}shouldBeActive(e){}shouldBeDisabled(e){}getTarget(e){return e.target||null}__immediateUpdate(){this.isDestructed||this.j.isLocked||(super.update(),this.j.e.fire("afterUpdateToolbar",this))}update(){this.__immediateUpdate()}setDirection(e){this.container.style.direction=e,this.container.setAttribute("dir",e)}__initEvents(){this.j.e.on(this.__listenEvents,this.update).on("afterSetMode focus",this.__immediateUpdate)}hide(){this.container.remove()}show(){this.appendTo(this.j.toolbarContainer)}showInline(e){throw(0,s.error)("The method is not implemented for this class.")}build(e,t=null){let i=this.j.e.fire("beforeToolbarBuild",e);return i&&(e=i),super.build(e,t),this}destruct(){this.isDestructed||(this.j.e.off(this.__listenEvents,this.update).off("afterSetMode focus",this.__immediateUpdate),super.destruct())}constructor(e){super(e),(0,n._)(this,"__listenEvents","updatePlugins updateToolbar changeStack mousedown mouseup keydown change readonly afterResize selectionchange changeSelection focus afterSetMode touchstart focus blur")}}(0,o.__decorate)([(0,r.watch)(":afterInit"),r.autobind],c.prototype,"__immediateUpdate",null),(0,o.__decorate)([(0,r.debounce)(e=>e.j.defaultTimeout,!0)],c.prototype,"update",null),(0,o.__decorate)([(0,r.hook)("ready")],c.prototype,"__initEvents",null),c=(0,o.__decorate)([r.component],c)},42766:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(65946),l=i(60936);i(10685);let c="addnewline";class u extends l.Plugin{__show(){this.j.o.readonly||this.j.isLocked||(this.j.async.clearTimeout(this.__timeout),this.__isShown||(this.__isShown=!0,this.j.container.appendChild(this.__line),this.__line.style.width=this.j.container.clientWidth+"px"))}onLock(e){e&&this.__isShown&&this.__hideForce()}__hide(){this.__isShown&&!this.__lineInFocus&&(this.__timeout=this.j.async.setTimeout(this.__hideForce,{timeout:500,label:"add-new-line-hide"}))}afterInit(e){e.o.addNewLine&&(e.e.on(this.__line,"mousemove",e=>{e.stopPropagation()}).on(this.__line,"mousedown touchstart",this.__onClickLine).on("change",this.__hideForce).on(this.__line,"mouseenter",()=>{this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!0}).on(this.__line,"mouseleave",()=>{this.__lineInFocus=!1}).on("changePlace",this.__addEventListeners.bind(this)),this.__addEventListeners())}__addEventListeners(){let e=this.j;e.e.off(e.editor,"."+c).off(e.container,"."+c).off("."+c).on([e.ow,e.ew,e.editor],"scroll."+c,this.__hideForce).on("finishedCleanHTMLWorker."+c,this.__hideForce).on(e.editor,"click."+c,this.__hide).on(e.container,"mouseleave."+c,this.__hide).on(e.editor,"mousemove."+c,this.__onMouseMove)}onDblClickEditor(e){let t=this.j;if(!t.o.readonly&&t.o.addNewLineOnDBLClick&&e.target===t.editor&&t.s.isCollapsed()){let i=(0,a.offset)(t.editor,t,t.ed),n=e.pageY-t.ew.scrollX,o=t.createInside.element(t.o.enter);Math.abs(n-i.top)<Math.abs(n-(i.height+i.top))&&t.editor.firstChild?t.editor.insertBefore(o,t.editor.firstChild):t.editor.appendChild(o),t.s.setCursorIn(o),t.synchronizeValues(),this.__hideForce(),e.preventDefault()}}__onMouseMove(e){let t=this.j,i=t.ed.elementFromPoint(e.clientX,e.clientY);if(!l.Dom.isHTMLElement(i)||!l.Dom.isOrContains(t.editor,i))return;if(t.editor===i||this.__isMatchedTag(i)||(i=l.Dom.closest(i,this.__isMatchedTag,t.editor)),!i)return void this.__hide();if(this.__isMatchedTag(i)){let e=l.Dom.up(i,l.Dom.isBlock,t.editor);e&&e!==t.editor&&(i=e)}let n=(0,a.position)(i,this.j),o=!1,{clientY:r,clientX:s}=e;if(this.j.iframe){let{top:e,left:t}=(0,a.position)(this.j.iframe,this.j,!0);r+=e,s+=t}let c=this.j.o.addNewLineDeltaShow;Math.abs(r-n.top)<=c?(o=n.top,this.__isBeforeContent=!0):Math.abs(r-(n.top+n.height))<=c&&(o=n.top+n.height,this.__isBeforeContent=!1);let u=t.editor===i;!1===o||(!u||this.__isBeforeContent)&&(u||(0,a.call)(this.__isBeforeContent?l.Dom.prev:l.Dom.next,i,this.__canGetFocus,t.editor))?(this.__current=!1,this.__hide()):(this.__line.style.top=o+"px",this.__current=i,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",s-n.left-10+"px"))}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),l.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+c).off(this.j.container,"."+c).off("."+c)}constructor(...e){super(...e),(0,n._)(this,"__line",this.j.c.fromHTML(`<div role="button" tabindex="-1" title="${this.j.i18n("Break")}" class="jodit-add-new-line"><span>${l.Icon.get("enter")}</span></div>`)),(0,n._)(this,"__isMatchedTag",e=>!!(e&&this.j.o.addNewLineTagsTriggers.includes(e.nodeName.toLowerCase()))),(0,n._)(this,"__timeout",void 0),(0,n._)(this,"__isBeforeContent",!1),(0,n._)(this,"__current",void 0),(0,n._)(this,"__lineInFocus",!1),(0,n._)(this,"__isShown",!1),(0,n._)(this,"__hideForce",()=>{this.__isShown&&(this.__isShown=!1,this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!1,l.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))}),(0,n._)(this,"__canGetFocus",e=>null!=e&&l.Dom.isBlock(e)&&!/^(img|table|iframe|hr)$/i.test(e.nodeName)),(0,n._)(this,"__onClickLine",e=>{let t=this.j,i=t.createInside.element(t.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===t.editor?l.Dom.prepend(t.editor,i):this.__current.parentNode.insertBefore(i,this.__current):t.editor.appendChild(i),t.s.setCursorIn(i),(0,a.scrollIntoViewIfNeeded)(i,t.editor,t.ed),t.synchronizeValues(),this.__hideForce(),e.preventDefault()})}}(0,o.__decorate)([(0,r.watch)(":lock")],u.prototype,"onLock",null),(0,o.__decorate)([r.autobind],u.prototype,"__hide",null),(0,o.__decorate)([(0,r.watch)(":dblclick")],u.prototype,"onDblClickEditor",null),(0,o.__decorate)([(0,r.throttle)(e=>e.defaultTimeout)],u.prototype,"__onMouseMove",null),s.pluginSystem.add("addNewLine",u)},42820:function(e,t,i){"use strict";i.d(t,{LimitedStack:function(){return o}});var n=i(25045);class o{push(e){return this.stack.push(e),this.stack.length>this.limit&&this.stack.shift(),this}pop(){return this.stack.pop()}find(e){return this.stack.find(e)}constructor(e){(0,n._)(this,"limit",void 0),(0,n._)(this,"stack",void 0),this.limit=e,this.stack=[]}}},43102:function(e,t,i){"use strict";var n,o=i(25045),r=i(31635),s=i(84839),a=i(27795),l=i(28077),c=i(65946),u=i(91206);i(65701);var d=((n=d||{})[n.IDLE=0]="IDLE",n[n.WAIT_DRAGGING=1]="WAIT_DRAGGING",n[n.DRAGGING=2]="DRAGGING",n);class h extends u.Plugin{afterInit(){this.dragList=this.j.o.draggableTags?(0,c.splitArray)(this.j.o.draggableTags).filter(Boolean).map(e=>e.toLowerCase()):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}onDragStart(e){if("dragstart"===e.type&&this.draggable)return!1;if(this.state>0)return;let t=e.target;if(!this.dragList.length||!t)return;let i=e=>!!(e&&this.dragList.includes(e.nodeName.toLowerCase())),n=a.Dom.furthest(t,i,this.j.editor)||(i(t)?t:null);n&&(a.Dom.isTag(n.parentElement,"a")&&n.parentElement.firstChild===n&&n.parentElement.lastChild===n&&(n=n.parentElement),this.startX=e.clientX,this.startY=e.clientY,this.isCopyMode=(0,c.ctrlKey)(e),this.draggable=n.cloneNode(!0),(0,c.dataBind)(this.draggable,"target",n),this.state=1,this.addDragListeners())}onDrag(e){if(!this.draggable||0===this.state)return;let t=e.clientX,i=e.clientY;if(!(1===this.state&&Math.sqrt(Math.pow(t-this.startX,2)+Math.pow(i-this.startY,2))<this.diffStep)){if(1===this.state&&(this.j.lock("drag-and-drop-element"),this.state=2),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){let t=(0,c.dataBind)(this.draggable,"target");(0,c.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:e.clientX,top:e.clientY,width:t?.offsetWidth??100,height:t?.offsetHeight??100}),(0,l.getContainer)(this.j,h).appendChild(this.draggable)}(0,c.css)(this.draggable,{left:e.clientX,top:e.clientY}),this.j.s.insertCursorAtPoint(e.clientX,e.clientY)}}onDragEnd(){!this.isInDestruct&&(this.removeDragListeners(),this.j.unlock(),this.state=0,this.draggable&&(a.Dom.safeRemove(this.draggable),this.draggable=null))}onDrop(){if(!this.draggable||this.state<2)return void this.onDragEnd();let e=(0,c.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(e=e.cloneNode(!0));let{parentElement:t}=e;this.j.s.insertNode(e,!0,!1),t&&a.Dom.isEmpty(t)&&!a.Dom.isCell(t)&&a.Dom.safeRemove(t),a.Dom.isTag(e,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",e),this.j.e.fire("synchro")}addDragListeners(){this.j.e.on(this.j.editor,"mousemove",this.onDrag).on("mouseup",this.onDrop).on([this.j.ew,this.ow],"mouseup",this.onDragEnd)}removeDragListeners(){this.j.e.off(this.j.editor,"mousemove",this.onDrag).off("mouseup",this.onDrop).off([this.j.ew,this.ow],"mouseup",this.onDragEnd)}beforeDestruct(){this.onDragEnd(),this.j.e.off("mousedown dragstart",this.onDragStart),this.removeDragListeners()}constructor(...e){super(...e),(0,o._)(this,"dragList",[]),(0,o._)(this,"draggable",null),(0,o._)(this,"isCopyMode",!1),(0,o._)(this,"diffStep",10),(0,o._)(this,"startX",0),(0,o._)(this,"startY",0),(0,o._)(this,"state",0)}}(0,r.__decorate)([s.autobind],h.prototype,"onDragStart",null),(0,r.__decorate)([(0,s.throttle)(e=>e.defaultTimeout/10)],h.prototype,"onDrag",null),(0,r.__decorate)([s.autobind],h.prototype,"onDragEnd",null),(0,r.__decorate)([s.autobind],h.prototype,"onDrop",null),l.pluginSystem.add("dragAndDropElement",h)},43218:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm-640-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm640 512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68z"/> </svg>'},43271:function(e,t,i){"use strict";i.d(t,{ImageEditor:function(){return f},openImageEditor:function(){return g}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(27795),l=i(65946),c=i(59400),u=i(5266);i(54500);var d=i(8908);let h="jodit-image-editor",p="resize",m="crop";class f extends r.ViewComponent{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(e,t){return this.j.async.promise(i=>{let n=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=t,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(e)?e+="&_tst="+n:e+="?_tst="+n,this.image.setAttribute("src",e),this._dialog.open();let{widthInput:o,heightInput:r}=(0,l.refs)(this.editor),s=()=>{this.isDestructed||(this.image.removeEventListener("load",s),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,o.value=this.naturalWidth.toString(),r.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"),i(this._dialog))};this.image.addEventListener("load",s),this.image.complete&&s()})}onTitleModeClick(e){let t=e.target,i=t?.parentElement;if(!i)return;(0,l.$$)(`.${h}__slider,.${h}__area`,this.editor).forEach(e=>e.classList.remove(`${h}_active`)),i.classList.add(`${h}_active`),this.activeTab=(0,l.attr)(i,"-area")||p;let n=this.editor.querySelector(`.${h}__area.${h}__area_`+this.activeTab);n&&n.classList.add(`${h}_active`),this.activeTab===m&&this.showCrop()}onChangeSizeInput(e){let t,i=e.target,{widthInput:n,heightInput:o}=(0,l.refs)(this.editor),r="widthInput"===(0,l.attr)(i,"data-ref"),s=parseInt(i.value,10),a=r?this.o.min_width:this.o.min_height,c=r?this.o.min_height:this.o.min_width;s>a&&((0,l.css)(this.image,r?"width":"height",s),this.resizeUseRatio&&(t=r?Math.round(s/this.ratio):Math.round(s*this.ratio))>c&&((0,l.css)(this.image,r?"height":"width",t),r?o.value=t.toString():n.value=t.toString())),this.j.e.fire(this.resizeHandler,"updatesize")}onResizeHandleMouseDown(e){this.target=e.target,e.preventDefault(),e.stopImmediatePropagation(),this.clicked=!0,this.start_x=e.clientX,this.start_y=e.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(e){this.clicked&&(this.clicked=!1,e.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(e){if(!this.clicked)return;let{widthInput:t,heightInput:i}=(0,l.refs)(this.editor);this.diff_x=e.clientX-this.start_x,this.diff_y=e.clientY-this.start_y,this.activeTab===p&&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===p?(this.new_w>this.o.resizeMinWidth&&((0,l.css)(this.image,"width",this.new_w+"px"),t.value=this.new_w.toString()),this.new_h>this.o.resizeMinHeight&&((0,l.css)(this.image,"height",this.new_h+"px"),i.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,"."+h).off("."+h),super.destruct())}constructor(e){super(e),(0,n._)(this,"options",void 0),(0,n._)(this,"onSave",void 0),(0,n._)(this,"resizeUseRatio",!0),(0,n._)(this,"cropUseRatio",!0),(0,n._)(this,"_dialog",void 0),(0,n._)(this,"image",void 0),(0,n._)(this,"cropImage",void 0),(0,n._)(this,"clicked",!1),(0,n._)(this,"target",void 0),(0,n._)(this,"start_x",0),(0,n._)(this,"start_y",0),(0,n._)(this,"top_x",0),(0,n._)(this,"top_y",0),(0,n._)(this,"width",0),(0,n._)(this,"height",0),(0,n._)(this,"activeTab",p),(0,n._)(this,"naturalWidth",0),(0,n._)(this,"naturalHeight",0),(0,n._)(this,"ratio",0),(0,n._)(this,"new_h",0),(0,n._)(this,"new_w",0),(0,n._)(this,"diff_x",0),(0,n._)(this,"diff_y",0),(0,n._)(this,"buttons",void 0),(0,n._)(this,"editor",void 0),(0,n._)(this,"resize_box",void 0),(0,n._)(this,"crop_box",void 0),(0,n._)(this,"sizes",void 0),(0,n._)(this,"resizeHandler",void 0),(0,n._)(this,"cropHandler",void 0),(0,n._)(this,"cropBox",{x:0,y:0,w:0,h:0}),(0,n._)(this,"resizeBox",{w:0,h:0}),(0,n._)(this,"calcCropBox",()=>{let e=this.crop_box.parentNode,t=.8*e.offsetWidth,i=.8*e.offsetHeight,n=t,o=i,{naturalWidth:r,naturalHeight:s}=this;t>r&&i>s?(n=r,o=s):this.ratio>t/i?(n=t,o=t/r*s):(n=i/s*r,o=i),(0,l.css)(this.crop_box,{width:n,height:o})}),(0,n._)(this,"showCrop",()=>{if(!this.cropImage)return;this.calcCropBox();let e=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=f.calcValueByPercent(e,this.o.cropDefaultWidth);let t=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.cropUseRatio?this.new_h=this.new_w/this.ratio:this.new_h=f.calcValueByPercent(t,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:e/2-this.new_w/2,top:t/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")}),(0,n._)(this,"updateCropBox",()=>{if(!this.cropImage)return;let e=this.cropImage.offsetWidth/this.naturalWidth,t=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,l.css)(this.cropHandler,"left")/e,this.cropBox.y=(0,l.css)(this.cropHandler,"top")/t,this.cropBox.w=this.cropHandler.offsetWidth/e,this.cropBox.h=this.cropHandler.offsetHeight/t,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)}),(0,n._)(this,"updateResizeBox",()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight}),(0,n._)(this,"setHandlers",()=>{let e=this,{widthInput:t,heightInput:i}=(0,l.refs)(this.editor);e.j.e.on([e.editor.querySelector(".jodit_bottomright"),e.cropHandler],"mousedown."+h,this.onResizeHandleMouseDown).on(this.j.ow,"resize."+h,()=>{this.j.e.fire(e.resizeHandler,"updatesize"),e.showCrop(),this.j.e.fire(e.cropHandler,"updatesize")}),e.j.e.on((0,l.toArray)(this.editor.querySelectorAll(`.${h}__slider-title`)),"click",this.onTitleModeClick).on([t,i],"input",this.onChangeSizeInput);let{keepAspectRatioResize:n,keepAspectRatioCrop:o}=(0,l.refs)(this.editor);n&&n.addEventListener("change",()=>{this.resizeUseRatio=n.checked}),o&&o.addEventListener("change",()=>{this.cropUseRatio=o.checked}),e.j.e.on(e.resizeHandler,"updatesize",()=>{(0,l.css)(e.resizeHandler,{top:0,left:0,width:e.image.offsetWidth||e.naturalWidth,height:e.image.offsetHeight||e.naturalHeight}),this.updateResizeBox()}).on(e.cropHandler,"updatesize",()=>{if(!e.cropImage)return;let t=(0,l.css)(e.cropHandler,"left"),i=(0,l.css)(e.cropHandler,"top"),n=e.cropHandler.offsetWidth,o=e.cropHandler.offsetHeight;t<0&&(t=0),i<0&&(i=0),t+n>e.cropImage.offsetWidth&&(n=e.cropImage.offsetWidth-t,e.cropUseRatio&&(o=n/e.ratio)),i+o>e.cropImage.offsetHeight&&(o=e.cropImage.offsetHeight-i,e.cropUseRatio&&(n=o*e.ratio)),(0,l.css)(e.cropHandler,{width:n,height:o,left:t,top:i,backgroundPosition:-t-1+"px "+(-i-1)+"px",backgroundSize:e.cropImage.offsetWidth+"px "+e.cropImage.offsetHeight+"px"}),e.updateCropBox()}),Object.values(e.buttons).forEach(n=>{n.onAction(()=>{let o={action:e.activeTab,box:e.activeTab===p?e.resizeBox:e.cropBox};switch(n){case e.buttons.saveas:e.j.prompt("Enter new name","Save in new file",t=>{if(!(0,l.trim)(t))return e.j.alert("The name should not be empty"),!1;e.onSave(t,o,e.hide,t=>{e.j.alert(t.message)})});break;case e.buttons.save:e.onSave(void 0,o,e.hide,t=>{e.j.alert(t.message)});break;case e.buttons.reset:e.activeTab===p?((0,l.css)(e.image,{width:null,height:null}),t.value=e.naturalWidth.toString(),i.value=e.naturalHeight.toString(),e.j.e.fire(e.resizeHandler,"updatesize")):e.showCrop()}})})}),this.options=e&&e.o&&e.o.imageeditor?e.o.imageeditor:u.Config.defaultOptions.imageeditor;const t=this.options;this.resizeUseRatio=t.resizeUseRatio,this.cropUseRatio=t.cropUseRatio,this.buttons={reset:(0,c.Button)(this.j,"update","Reset"),save:(0,c.Button)(this.j,"save","Save"),saveas:(0,c.Button)(this.j,"save","Save as ...")},this.activeTab=t.resize?p:m,this.editor=(0,d.form)(this.j,this.options);const{resizeBox:i,cropBox:o}=(0,l.refs)(this.editor);this.resize_box=i,this.crop_box=o,this.sizes=this.editor.querySelector(`.${h}__area.${h}__area_crop .jodit-image-editor__sizes`),this.resizeHandler=this.editor.querySelector(`.${h}__resizer`),this.cropHandler=this.editor.querySelector(`.${h}__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 g(e,t,i,n,o,r){return this.getInstance("ImageEditor",this.o).open(e,(e,s,a,c)=>(0,l.call)("resize"===s.action?this.dataProvider.resize:this.dataProvider.crop,i,n,t,e,s.box).then(e=>{e&&(a(),o&&o())}).catch(e=>{c(e),r&&r(e)}))}(0,n._)(f,"calcValueByPercent",(e,t)=>{let i,n=t.toString(),o=parseFloat(e.toString());return(i=/^[-+]?[0-9]+(px)?$/.exec(n))?parseInt(n,10):(i=/^([-+]?[0-9.]+)%$/.exec(n))?Math.round(o*(parseFloat(i[1])/100)):o||0}),(0,o.__decorate)([s.autobind],f.prototype,"hide",null),(0,o.__decorate)([s.autobind],f.prototype,"open",null),(0,o.__decorate)([s.autobind],f.prototype,"onTitleModeClick",null),(0,o.__decorate)([(0,s.debounce)(),s.autobind],f.prototype,"onChangeSizeInput",null),(0,o.__decorate)([s.autobind],f.prototype,"onResizeHandleMouseDown",null),(0,o.__decorate)([s.autobind],f.prototype,"onGlobalMouseUp",null),(0,o.__decorate)([(0,s.throttle)(10)],f.prototype,"onGlobalMouseMove",null),f=(0,o.__decorate)([s.component],f)},43354:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(51676),s=i(28077),a=i(65946);i(81008);class l{init(e){this.buttons?.forEach(t=>e.registerButton(t)),e.e.off(`copy.${o.CLIPBOARD_ID} cut.${o.CLIPBOARD_ID}`).on(`copy.${o.CLIPBOARD_ID} cut.${o.CLIPBOARD_ID}`,t=>{let i=e.s.html,n=(0,a.getDataTransfer)(t)||(0,a.getDataTransfer)(e.ew)||(0,a.getDataTransfer)(t.originalEvent);n&&(n.setData(o.TEXT_PLAIN,(0,a.stripTags)(i)),n.setData(o.TEXT_HTML,i)),e.buffer.set(o.CLIPBOARD_ID,i),e.e.fire("pasteStack",{html:i,action:e.o.defaultActionOnPaste||o.INSERT_AS_HTML}),"cut"===t.type&&(e.s.remove(),e.s.focus()),t.preventDefault(),e?.events?.fire("afterCopy",i)})}destruct(e){(0,r.cached)(e,"buffer")?.set(o.CLIPBOARD_ID,""),e?.events?.off("."+o.CLIPBOARD_ID)}constructor(){(0,n._)(this,"jodit",void 0),(0,n._)(this,"buttons",[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}])}}s.pluginSystem.add("clipboard",l)},43379:function(e,t,i){"use strict";i.d(t,{reset:function(){return a}});var n=i(81937),o=i(91565),r=i(89308);let s={};function a(e){if(!(e in s)){let t=n.globalDocument.createElement("iframe");try{if(t.src="about:blank",n.globalDocument.body.appendChild(t),!t.contentWindow)return null;let i=(0,r.get)(e,t.contentWindow),a=(0,r.get)(e.split(".").slice(0,-1).join("."),t.contentWindow);(0,o.isFunction)(i)&&(s[e]=i.bind(a))}catch(e){if(!n.IS_PROD)throw e}finally{t.parentNode?.removeChild(t)}}return s[e]??null}},43439:function(e){e.exports={Spellcheck:"Spellchecking"}},43829:function(e){e.exports={"Line height":"Зураасны өндөр"}},44322:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(72412),l=i(80991),c=i(18855);i(80202);class u extends c.Plugin{afterInit(e){e.e.on("setHeight.size",this.__setHeight).on("setWidth.size",this.__setWidth).on("afterInit.size changePlace.size",this.__initialize,{top:!0}).on(e.ow,"load.size",this.__resizeWorkspaces).on("afterInit.size resize.size afterUpdateToolbar.size scroll.size afterResize.size",this.__resizeWorkspaces).on("toggleFullSize.size toggleToolbar.size",this.__resizeWorkspaceImd),this.__immediateInitialize()}__initialize(){this.__immediateInitialize()}__immediateInitialize(){let{j:e}=this;if(e.o.inline)return;let{height:t}=e.o;if(e.o.saveHeightInStorage&&"auto"!==t){let i=e.storage.get("height");i&&(t=i)}(0,l.css)(e.editor,{minHeight:"100%"}),(0,l.css)(e.container,{minHeight:e.o.minHeight,maxHeight:e.o.maxHeight,minWidth:e.o.minWidth,maxWidth:e.o.maxWidth}),e.isFullSize||(this.__setHeight(t),this.__setWidth(e.o.width))}__setHeight(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,a.isNumber)(e)){let{minHeight:t,maxHeight:i}=this.j.o;(0,a.isNumber)(t)&&t>e&&(e=t),(0,a.isNumber)(i)&&i<e&&(e=i)}(0,l.css)(this.j.container,"height",e),this.j.o.saveHeightInStorage&&this.j.storage.set("height",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__setWidth(e){let{clientHeight:t,clientWidth:i}=this.j.container;if((0,a.isNumber)(e)){let{minWidth:t,maxWidth:i}=this.j.o;(0,a.isNumber)(t)&&t>e&&(e=t),(0,a.isNumber)(i)&&e>i&&(e=i)}(0,l.css)(this.j.container,"width",e),this.__resizeWorkspaceImd({clientHeight:t,clientWidth:i})}__getNotWorkHeight(){return(this.j.toolbarContainer?.offsetHeight||0)+(this.j.statusbar?.getHeight()||0)+2}__resizeWorkspaceImd({clientHeight:e,clientWidth:t}=this.j.container){if(!this.j||this.j.isDestructed||!this.j.o||this.j.o.inline||!this.j.container||!this.j.container.parentNode)return;let i=((0,l.css)(this.j.container,"minHeight")||0)-this.__getNotWorkHeight();if((0,a.isNumber)(i)&&i>0&&([this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(e=>{e&&(0,l.css)(e,"minHeight",i)}),this.j.e.fire("setMinHeight",i)),(0,a.isNumber)(this.j.o.maxHeight)){let e=this.j.o.maxHeight-this.__getNotWorkHeight();[this.j.workplace,this.j.currentPlace.slots.center,this.j.iframe,this.j.editor].map(t=>{t&&(0,l.css)(t,"maxHeight",e)}),this.j.e.fire("setMaxHeight",e)}if(this.j.container){let e="auto"!==this.j.o.height||this.j.isFullSize?this.j.container.offsetHeight-this.__getNotWorkHeight():"auto";(0,l.css)(this.j.workplace,"height",e),this.j.container.style.setProperty("--jd-jodit-workplace-height",(0,a.isNumber)(e)?e+"px":e)}let{clientHeight:n,clientWidth:o}=this.j.container;(e!==n||t!==o)&&this.j.e.fire(this.j,"resize")}beforeDestruct(e){e.e.off(e.ow,"load.size",this.__resizeWorkspaces).off(".size")}constructor(...e){super(...e),(0,n._)(this,"__resizeWorkspaces",this.j.async.debounce(this.__resizeWorkspaceImd,this.j.defaultTimeout,!0))}}(0,o.__decorate)([(0,r.throttle)()],u.prototype,"__initialize",null),(0,o.__decorate)([r.autobind],u.prototype,"__setHeight",null),(0,o.__decorate)([r.autobind],u.prototype,"__setWidth",null),(0,o.__decorate)([r.autobind],u.prototype,"__resizeWorkspaceImd",null),s.pluginSystem.add("size",u)},44599:function(e,t,i){"use strict";i.r(t),i.d(t,{en:function(){return n},es:function(){return o}});var n=i(17918),o=i(31369)},44636:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M491 1536l91-91-235-235-91 91v107h128v128h107zm523-928q0-22-22-22-10 0-17 7l-542 542q-7 7-7 17 0 22 22 22 10 0 17-7l542-542q7-7 7-17zm-54-192l416 416-832 832h-416v-416zm683 96q0 53-37 90l-166 166-416-416 166-165q36-38 90-38 53 0 91 38l235 234q37 39 37 91z"/></svg>'},44837:function(e){e.exports={symbols:"기호"}},44906:function(e){e.exports.default=["輸入一些內容","關於Jodit","Jodit Editor","開發者指南","使用幫助","相關授權條款資訊,請造訪我們的網站:","購買完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","錨點","在新分頁開啟","全螢幕編輯","清除樣式","顏色","取消復原","復原","粗體","斜體","項目符號清單","編號清單","置中","文字對齊","靠左","靠右","分割線","圖片","檔案","插入 youtube/vimeo 影片","插入連結","文字大小","字型","格式化區塊","內文","標題1","標題2","標題3","標題4","引文","程式碼","插入","表格","減少縮排","增加縮排","選擇特殊符號","特殊符號","格式複製","檢視原始碼","邊距","上","右","下","左","樣式","Classes","對齊方式","靠右","置中","靠左","無","Src","Title","替代","Link","在新分頁開啟連結","圖片","檔案","進階","圖片屬性","取消","確定","檔案瀏覽","清單載入錯誤","資料夾載入錯誤","您確定嗎?","輸入路徑","創建路徑","type name","拖曳圖片至此","拖曳檔案至此","或點擊","替代文字","上傳","瀏覽","背景色","文字","頂部","中間","底部","插入左方欄","插入右方欄","插入上方列","插入下方列","刪除表格","刪除整列","刪除整欄","清除內容","字元數: %d","單字數: %d","刪除線","底線","上標","下標","剪下","全選","斷行","尋找","取代為","取代","貼上","選擇內容並貼上","原始碼","粗體","斜體","顏色","連結","復原","取消復原","表格","圖片","橡皮擦","段落","文字大小","影片","字型","關於","列印","底線","刪除線","增加縮排","減少縮排","全螢幕","縮減","分隔線","項目符號清單","編號清單","剪下","全選","嵌入程式碼","打開連結","編輯連結","No follow","取消連結","更新","鉛筆","查看","URL","編輯","水平對齊","篩選","修改時間排序","名稱排序","大小排序","新增資料夾","重設","儲存","另存為...","調整大小","裁切","寬","高","維持長寬比","是","否","移除","選擇","選擇: %s","垂直對齊","分割","合併","新增欄","新增列","許可證: %s","刪除","垂直分割","水平分割","邊框","您的程式碼與 HTML 類似,是否貼上 HTML 格式?","貼上 HTML","保留原始格式","以純文字貼上","僅貼上內文","您只能編輯您自己的圖片。是否下載此圖片?","圖片上傳成功","調色盤","沒有檔案","重新命名","輸入新名稱","預覽","下載","從剪貼簿貼上","瀏覽器無法存取剪貼簿。","複製已選取項目","複製","邊框圓角","顯示全部","應用","請輸入此欄位","請輸入網址","預設","圓圈","點","方形","尋找","尋找上一個","尋找下一個","正在貼上 Word/Excel 文件的內容,是否保留原始格式?","貼上 Word 格式","清除格式","插入 class 名稱","按住 Alt 以調整自訂大小",null,null,null,"全部"]},44998:function(e,t,i){"use strict";i.d(t,{isLicense:function(){return o}});var n=i(85932);let o=e=>(0,n.isString)(e)&&23===e.length&&/^[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{5}$/i.test(e)},45062:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1025 1369v167h-248l-159-252-24-42q-8-9-11-21h-3l-9 21q-10 20-25 44l-155 250h-258v-167h128l197-291-185-272h-137v-168h276l139 228q2 4 23 42 8 9 11 21h3q3-9 11-21l25-42 140-228h257v168h-125l-184 267 204 296h109zm639 217v206h-514l-4-27q-3-45-3-46 0-64 26-117t65-86.5 84-65 84-54.5 65-54 26-64q0-38-29.5-62.5t-70.5-24.5q-51 0-97 39-14 11-36 38l-105-92q26-37 63-66 80-65 188-65 110 0 178 59.5t68 158.5q0 66-34.5 118.5t-84 86-99.5 62.5-87 63-41 73h232v-80h126z"/> </svg>'},45219:function(e,t,i){"use strict";i.d(t,{visitNodeWalker:function(){return s}});var n=i(81937),o=i(91560);let r=Object.keys(o);function s(e,t,i,s,a){let l=!1,c=e.o.cleanHTML.disableCleanFilter;for(let u of r)if(!(c&&c.has(u))&&(l=(0,o[u])(e,t,l,i,s,a),n.IS_PROD,!t.isConnected))return!0;return l}},45244:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1639 1056q0 5-1 7-64 268-268 434.5t-478 166.5q-146 0-282.5-55t-243.5-157l-129 129q-19 19-45 19t-45-19-19-45v-448q0-26 19-45t45-19h448q26 0 45 19t19 45-19 45l-137 137q71 66 161 102t187 36q134 0 250-65t186-179q11-17 53-117 8-23 30-23h192q13 0 22.5 9.5t9.5 22.5zm25-800v448q0 26-19 45t-45 19h-448q-26 0-45-19t-19-45 19-45l138-138q-148-137-349-137-134 0-250 65t-186 179q-11 17-53 117-8 23-30 23h-199q-13 0-22.5-9.5t-9.5-22.5v-7q65-268 270-434.5t480-166.5q146 0 284 55.5t245 156.5l130-129q19-19 45-19t45 19 19 45z"/> </svg>'},45512:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 10 10"> <path d="M.941 4.523a.75.75 0 1 1 1.06-1.06l3.006 3.005 3.005-3.005a.75.75 0 1 1 1.06 1.06l-3.549 3.55a.75.75 0 0 1-1.168-.136L.941 4.523z"/> </svg>'},45596:function(e){e.exports={Spellcheck:"Spellingcontrole"}},45664:function(e,t,i){"use strict";i.d(t,{asArray:function(){return n.asArray},splitArray:function(){return o.splitArray},toArray:function(){return r.toArray}});var n=i(78982),o=i(32328),r=i(88475)},45674:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M896 1152q0-36-20-69-1-1-15.5-22.5t-25.5-38-25-44-21-50.5q-4-16-21-16t-21 16q-7 23-21 50.5t-25 44-25.5 38-15.5 22.5q-20 33-20 69 0 53 37.5 90.5t90.5 37.5 90.5-37.5 37.5-90.5zm512-128q0 212-150 362t-362 150-362-150-150-362q0-145 81-275 6-9 62.5-90.5t101-151 99.5-178 83-201.5q9-30 34-47t51-17 51.5 17 33.5 47q28 93 83 201.5t99.5 178 101 151 62.5 90.5q81 127 81 275z"/> </svg>'},45778:function(e,t,i){"use strict";i.d(t,{formTemplate:function(){return r}});var n=i(59400),o=i(5658);let r=e=>{let{openInNewTabCheckbox:t,noFollowCheckbox:i,modeClassName:r,selectSizeClassName:s,selectMultipleClassName:a,selectOptionsClassName:l}=e.o.link;return new o.UIForm(e,[new o.UIBlock(e,[new o.UIInput(e,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new o.UIBlock(e,[new o.UIInput(e,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),r?new o.UIBlock(e,["input"===r?new o.UIInput(e,{name:"className",ref:"className_input",label:"Class name"}):"select"===r?new o.UISelect(e,{name:"className",ref:"className_select",label:"Class name",size:s,multiple:a,options:l}):null]):null,t?new o.UICheckbox(e,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,i?new o.UICheckbox(e,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new o.UIBlock(e,[new n.UIButton(e,{name:"unlink",variant:"default",text:"Unlink"}),new n.UIButton(e,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},45844:function(e,t,i){"use strict";i.d(t,{TextAreaEditor:function(){return a}});var n=i(25045),o=i(23211),r=i(80991),s=i(94193);class a extends s.SourceEditor{init(e){this.instance=e.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===e.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),e.e.on(this.instance,"mousedown keydown touchstart input",e.async.debounce(this.toWYSIWYG,e.defaultTimeout)).on("setMinHeight.source",e=>{(0,r.css)(this.instance,"minHeight",e)}).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",t=>{e.e.fire(t.type,t)}),this.autosize(),this.onReady()}destruct(){o.Dom.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(e){this.instance.value=e}insertRaw(e){let t=this.getValue();if(this.getSelectionStart()>=0){let i=this.getSelectionStart(),n=this.getSelectionEnd();this.setValue(t.substring(0,i)+e+t.substring(n,t.length))}else this.setValue(t+e)}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(e,t=e){this.instance.setSelectionRange(e,t)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(e){this.instance.setAttribute("placeholder",e)}setReadOnly(e){e?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){let{history:e}=this.jodit;this.j.e.on(this.instance,"keydown",t=>{if((t.ctrlKey||t.metaKey)&&"z"===t.key)return t.shiftKey?e.redo():e.undo(),this.setSelectionRange(this.getValue().length),!1})}constructor(...e){super(...e),(0,n._)(this,"autosize",this.j.async.debounce(()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"},this.j.defaultTimeout,!0))}}},46248:function(e,t,i){"use strict";i.d(t,{isHTML:function(){return o}});var n=i(85932);let o=e=>(0,n.isString)(e)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(e.replace(/[\r\n]/g,""))},46303:function(e,t,i){"use strict";i.d(t,{splitFragment:function(){return s}});var n=i(23211),o=i(60898),r=i(65710);function s(e,t,i){let s=t.s,{enter:a}=t.o,l=a.toLowerCase(),c=n.Dom.isLeaf(i),u=i.tagName.toLowerCase()===l||c,d=s.cursorOnTheRight(i,e),h=s.cursorOnTheLeft(i,e);if(!u&&(d||h)){d?n.Dom.after(i,e):n.Dom.before(i,e),(0,r.insertParagraph)(e,t,l),h&&!d&&n.Dom.prepend(i,e);return}let p=s.splitSelection(i,e);(0,o.scrollIntoViewIfNeeded)(p,t.editor,t.ed)}},46363:function(e,t,i){"use strict";i.d(t,{Snapshot:function(){return a}});var n=i(25045),o=i(16964),r=i(81937),s=i(23211);class a extends o.ViewComponent{className(){return"Snapshot"}static equal(e,t){return e.html===t.html&&JSON.stringify(e.range)===JSON.stringify(t.range)}static countNodesBeforeInParent(e){if(!e.parentNode)return 0;let t=e.parentNode.childNodes,i=0,n=null;for(let o=0;o<t.length;o+=1){if(!n||this.isIgnoredNode(t[o])||s.Dom.isText(n)&&s.Dom.isText(t[o])||(i+=1),t[o]===e)return i;n=t[o]}return 0}static strokeOffset(e,t){for(;s.Dom.isText(e);)e=e.previousSibling,s.Dom.isText(e)&&e.nodeValue&&(t+=e.nodeValue.length);return t}calcHierarchyLadder(e){let t=[];if(!e||!e.parentNode||!s.Dom.isOrContains(this.j.editor,e))return[];for(;e&&e!==this.j.editor;)e&&!a.isIgnoredNode(e)&&t.push(a.countNodesBeforeInParent(e)),e=e.parentNode;return t.reverse()}getElementByLadder(e){let t=this.j.editor,i;for(i=0;t&&i<e.length;i+=1)t=t.childNodes[e[i]];return t}get isBlocked(){return this.__isBlocked}__block(e){this.__isBlocked=e}transaction(e){this.__block(!0),this.__levelOfTransaction+=1;try{e()}catch(e){if(!r.IS_PROD)throw e}finally{this.__levelOfTransaction-=1,0===this.__levelOfTransaction&&this.__block(!1)}}make(){let e={html:"",range:{startContainer:[],startOffset:0,endContainer:[],endOffset:0}};e.html=this.__getCleanedEditorValue(this.j.editor);let t=this.j.s.sel;if(t&&t.rangeCount){let i=t.getRangeAt(0),n=this.calcHierarchyLadder(i.startContainer),o=this.calcHierarchyLadder(i.endContainer),r=a.strokeOffset(i.startContainer,i.startOffset),s=a.strokeOffset(i.endContainer,i.endOffset);n.length||i.startContainer===this.j.editor||(r=0),o.length||i.endContainer===this.j.editor||(s=0),e.range={startContainer:n,startOffset:r,endContainer:o,endOffset:s}}return e}restore(e){this.transaction(()=>{let t=this.storeScrollState();this.__getCleanedEditorValue(this.j.editor)!==e.html&&(this.j.value=e.html),this.restoreOnlySelection(e),this.restoreScrollState(t)})}storeScrollState(){return[this.j.ow.scrollY,this.j.editor.scrollTop]}restoreScrollState(e){let{j:t}=this,{ow:i}=t;i.scrollTo(i.scrollX,e[0]),t.editor.scrollTop=e[1]}restoreOnlySelection(e){try{if(e.range){let t=this.j.ed.createRange();t.setStart(this.getElementByLadder(e.range.startContainer),e.range.startOffset),t.setEnd(this.getElementByLadder(e.range.endContainer),e.range.endOffset),this.j.s.selectRange(t)}}catch(e){this.j.editor.lastChild&&this.j.s.setCursorAfter(this.j.editor.lastChild),r.IS_PROD}}destruct(){this.__block(!1),super.destruct()}static isIgnoredNode(e){return s.Dom.isText(e)&&!e.nodeValue||s.Dom.isTemporary(e)}__getCleanedEditorValue(e){let t=e.cloneNode(!0);return s.Dom.temporaryList(t).forEach(s.Dom.unwrap),t.innerHTML}constructor(...e){super(...e),(0,n._)(this,"__isBlocked",!1),(0,n._)(this,"__levelOfTransaction",0)}}},46533:function(e,t,i){"use strict";i.d(t,{sendFiles:function(){return r}});var n=i(65946),o=i(77911);function r(e,t,i,r,s){if(!t)return Promise.reject((0,n.error)("Need files"));let{o:a}=e,l=(0,n.toArray)(t);if(!l.length)return Promise.reject((0,n.error)("Need files"));let c=[];if(a.insertImageAsBase64URI&&function(e,t,i,o,r,s){let a,l;for(l=0;l<e.length;l+=1)if((a=e[l])&&a.type){let c=a.type.match(/\/([a-z0-9]+)/i),u=c[1]?c[1].toLowerCase():"";if(!t.includes(u))continue;let d=new FileReader;i.push(o.j.async.promise((e,t)=>{d.onerror=t,d.onloadend=()=>{let t={baseurl:"",files:[d.result],isImages:[!0]};((0,n.isFunction)(r)?r:s).call(o,t),e(t)},d.readAsDataURL(a)})),e[l]=null}}(l,a.imagesExtensions,c,e,i,a.defaultHandlerSuccess),(l=l.filter(e=>e)).length){let t,u=new FormData;u.append(a.pathVariableName,e.path),u.append("source",e.source);for(let i=0;i<l.length;i+=1)if(t=l[i]){let n=/\.\w+$/.test(t.name),o=t.type.match(/\/([a-z0-9]+)/i),r=o&&o[1]?o[1].toLowerCase():"",s=l[i].name||Math.random().toString().replace(".","");if(!n&&r){let e=r;["jpeg","jpg"].includes(e)&&(e="jpeg|jpg"),RegExp(".("+e+")$","i").test(s)||(s+="."+r)}let[c,d,h]=a.processFileName.call(e,a.filesVariableName(i),l[i],s);u.append(c,d,h)}s&&s(u),a.data&&(0,n.isPlainObject)(a.data)&&Object.keys(a.data).forEach(e=>{u.append(e,a.data[e])}),a.prepareData.call(e,u),c.push((0,o.send)(e,u).then(t=>(a.isSuccess.call(e,t)?((0,n.isFunction)(i)?i:a.defaultHandlerSuccess).call(e,a.process.call(e,t)):((0,n.isFunction)(r)?r:a.defaultHandlerError).call(e,(0,n.error)(a.getMessage.call(e,t))),t)).then(()=>{e.j.events&&e.j.e.fire("filesWereUploaded")}))}return Promise.all(c)}},47229:function(e){e.exports={Spellcheck:"Rechtschreibprüfung"}},47670:function(e,t,i){"use strict";i(5266).Config.prototype.select={normalizeSelectionBeforeCutAndCopy:!1,normalizeTripleClick:!0}},47744:function(e,t,i){"use strict";i.d(t,{readValuesFromImage:function(){return l}});var n=i(7909),o=i(26633),r=i(79310),s=i(18380),a=i(57339);async function l(e,t){let{sourceImage:i,values:l}=t;return(0,o.readAlign)(i,l),l.borderRadius=parseInt(i.style.borderRadius||"0",10)||0,l.id=(0,n.attr)(i,"id")||"",l.imageTitle=(0,n.attr)(i,"title")||"",l.imageAlt=(0,n.attr)(i,"alt")||"",l.style=(0,n.attr)(i,"style")||"",l.classes=((0,n.attr)(i,"class")||"").replace(/jodit_focused_image[\s]*/,""),(0,s.readMargins)(i,l,t),(0,r.readLink)(t,e,l),l.imageSrc=(0,n.attr)(i,"src")||"",(0,a.readSizes)(i,l,t)}},47760:function(e,t,i){"use strict";i.d(t,{alreadyLoadedList:function(){return r},appendScriptAsync:function(){return a},appendStyleAsync:function(){return l},loadNext:function(){return function e(t,i,o=0){return(0,n.isString)(i[o])?a(t,i[o]).then(()=>e(t,i,o+1)):Promise.resolve()}},loadNextStyle:function(){return function e(t,i,o=0){return(0,n.isString)(i[o])?l(t,i[o]).then(()=>e(t,i,o+1)):Promise.resolve()}}});var n=i(85932),o=i(91321);let r=new Map,s=e=>(t,i)=>{if(r.has(i))return r.get(i);let n=e(t,i);return r.set(i,n),n},a=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let r=e.c.element("script",{type:"text/javascript",crossorigin:"anonymous",referrerpolicy:"no-referrer",async:!0,src:(0,o.completeUrl)(t)});e.e.one(r,"error",n).one(r,"load",i),e.od.body.appendChild(r)})),l=s((e,t)=>e.async.promise((i,n)=>{if(e.isInDestruct)return n();let r=e.c.element("link");r.rel="stylesheet",r.media="all",r.crossOrigin="anonymous",e.isInDestruct||e.e.on(r,"load",()=>i(r)).on(r,"error",n),r.href=(0,o.completeUrl)(t),e.o.shadowRoot?e.o.shadowRoot.appendChild(r):e.od.body.appendChild(r)}))},47919:function(e,t,i){"use strict";i.d(t,{moveCursorOutFromSpecialTags:function(){return o}});var n=i(23211);function o(e,t,i){let{s:o}=e,r=n.Dom.closest(t,i,e.editor);r&&(o.cursorOnTheRight(r,t)?n.Dom.after(r,t):o.cursorOnTheLeft(r,t)&&n.Dom.before(r,t))}},48007:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M512 1248v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm-1280-1024v192q0 40-28 68t-68 28h-320q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h320q40 0 68 28t28 68zm1280 512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68zm0-512v192q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h960q40 0 68 28t28 68z"/> </svg>'},48009:function(e,t,i){"use strict";i.d(t,{normalizeUrl:function(){return n}});let n=(...e)=>e.filter(e=>e.length).map(e=>e.replace(/\/$/,"")).join("/").replace(/([^:])[\\/]+/g,"$1/")},48155:function(e,t,i){"use strict";i.d(t,{safeHTML:function(){return r},sanitizeHTMLElement:function(){return s}});var n=i(23211),o=i(93640);function r(e,t){(n.Dom.isElement(e)||n.Dom.isFragment(e))&&(t.removeOnError&&(s(e),(0,o.$$)("[onerror]",e).forEach(e=>s(e,t))),t.safeJavaScriptLink&&(s(e),(0,o.$$)('a[href^="javascript"]',e).forEach(e=>s(e,t))))}function s(e,{safeJavaScriptLink:t,removeOnError:i}={safeJavaScriptLink:!0,removeOnError:!0}){if(!n.Dom.isElement(e))return!1;let r=!1;i&&e.hasAttribute("onerror")&&((0,o.attr)(e,"onerror",null),r=!0);let a=e.getAttribute("href");return t&&a&&0===a.trim().indexOf("javascript")&&((0,o.attr)(e,"href",location.protocol+"//"+a),r=!0),r}},48290:function(e,t,i){"use strict";var n=i(27795),o=i(65946),r=i(93640),s=i(29434),a=i(5266),l=i(67447),c=i.n(l);a.Config.prototype.table={splitBlockOnInsertTable:!0,selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},s.Icon.set("table",c()),a.Config.prototype.controls.table={data:{cols:10,rows:10,classList:{"table table-bordered":"Bootstrap Bordered","table table-striped":"Bootstrap Striped","table table-dark":"Bootstrap Dark"}},popup(e,t,i,s){e.editor.normalize();let a=e.history.snapshot.make(),l=s.control,c=l.data&&l.data.rows?l.data.rows:10,u=l.data&&l.data.cols?l.data.cols:10,d=e.c.fromHTML('<form class="jodit-form jodit-form__inserter"><div class="jodit-form__table-creator-box"><div class="jodit-form__container"></div><div class="jodit-form__options">'+(()=>{if(!e.o.table.useExtraClassesOptions)return"";let t=[];if(l.data){let e=l.data.classList;Object.keys(e).forEach(i=>{t.push(`<label class="jodit_vertical_middle"><input class="jodit-checkbox" value="${i}" type="checkbox"/>${e[i]}</label>`)})}return t.join("")})()+'</div></div><label class="jodit-form__center"><span>1</span> × <span>1</span></label></form>'),h=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],m=d.querySelector(".jodit-form__container"),f=d.querySelector(".jodit-form__options"),g=[],_=c*u;for(let t=0;t<_;t+=1)g[t]||g.push(e.c.element("span",{dataIndex:t}));if(e.e.on(m,"mousemove",(e,t)=>{let i=e.target;if(!n.Dom.isTag(i,"span"))return;let o=void 0===t||isNaN(t)?parseInt((0,r.attr)(i,"-index")||"0",10):t||0,s=Math.ceil((o+1)/u),a=o%u+1;for(let e=0;e<g.length;e+=1)a>=e%u+1&&s>=Math.ceil((e+1)/u)?g[e].className="jodit_hovered":g[e].className="";p.textContent=a.toString(),h.textContent=s.toString()}).on(m,"touchstart mousedown",t=>{let s=t.target;if(t.preventDefault(),t.stopImmediatePropagation(),!n.Dom.isTag(s,"span"))return;let l=parseInt((0,r.attr)(s,"-index")||"0",10),c=Math.ceil((l+1)/u),d=l%u+1,h=e.createInside,p=h.element("tbody"),m=h.element("table");m.appendChild(p);let g=null,_,v;for(let e=1;c>=e;e+=1){_=h.element("tr");for(let e=1;e<=d;e+=1)v=h.element("td"),g||(g=v),(0,o.css)(v,"width",(100/d).toFixed(4)+"%"),v.appendChild(h.element("br")),_.appendChild(h.text(`
|
|
187
187
|
`)),_.appendChild(h.text(" ")),_.appendChild(v);p.appendChild(h.text(`
|
|
188
188
|
`)),p.appendChild(_)}(0,o.$$)("input[type=checkbox]:checked",f).forEach(e=>{e.value.split(/[\s]+/).forEach(e=>{m.classList.add(e)})}),e.s.restore(),e.s.removeMarkers(),e.editor.normalize(),e.history.snapshot.restore(a);let b=n.Dom.furthest(e.s.current(),n.Dom.isBlock,e.editor);if(b&&n.Dom.isEmpty(b))n.Dom.replace(b,m,void 0,!1,!0);else if(b){let t=h.text(`
|
|
189
189
|
`);if(e.o.table.splitBlockOnInsertTable){let i=e.s.range;i.collapse(!1),i.insertNode(t),i.collapse(!1),e.s.selectRange(i);let o=e.s.splitSelection(b,t);o?n.Dom.after(o,m):n.Dom.after(b,m)}else n.Dom.after(b,t),n.Dom.after(t,m)}else e.s.insertNode(m,!1);g&&(e.s.setCursorIn(g),(0,o.scrollIntoViewIfNeeded)(g,e.editor,e.ed)),i()}),s&&s.parentElement){for(let t=0;t<c;t+=1){let i=e.c.div();for(let e=0;e<u;e+=1)i.appendChild(g[t*u+e]);m.appendChild(i)}g[0]&&(g[0].className="hovered")}return d},tooltip:"Insert table"}},48729:function(e,t,i){"use strict";i.d(t,{FiniteStateMachine:function(){return a}});var n=i(25045),o=i(81937),r=i(85932),s=i(28712);class a{setState(e){(0,s.assert)(!this.__previewsStates.has(e),"Circled states"),this.__previewsStates.add(e),this.__state=e}getState(){return this.__state}disableSilent(){this.silent=!1}dispatch(e,t){let i=this.transitions[this.getState()][e];if(i){let e=i.call(this,t);return(0,s.assert)(e&&e!==t,"Action should return new value"),(0,s.assert)((0,r.isString)(e.next),"Value should contain the next state"),(0,s.assert)(e.next!==this.getState(),"The new state should not be equal to the old one."),this.setState(e.next),o.IS_PROD||this.silent,e}throw Error(`invalid action: ${this.getState()}.${e.toString()}`)}constructor(e,t){(0,n._)(this,"transitions",void 0),(0,n._)(this,"__state",void 0),(0,n._)(this,"silent",void 0),(0,n._)(this,"__previewsStates",void 0),this.transitions=t,this.silent=!0,this.__previewsStates=new Set,this.setState(e)}}},48776:function(e,t,i){"use strict";i.r(t),i.d(t,{required:function(){return r},url:function(){return s}});var n=i(91764),o=i(4040);let r=function(e){return!!(0,o.trim)(e.value).length||(e.error="Please fill out this field",!1)},s=function(e){return!!(0,n.isURL)((0,o.trim)(e.value))||(e.error="Please enter a web address",!1)}},48838:function(e,t,i){"use strict";function n(e){return e.replace(/\r\n|\r|\n/g,"<br/>")}i.d(t,{nl2br:function(){return n}})},48842:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M789 559l-170 450q33 0 136.5 2t160.5 2q19 0 57-2-87-253-184-452zm-725 1105l2-79q23-7 56-12.5t57-10.5 49.5-14.5 44.5-29 31-50.5l237-616 280-724h128q8 14 11 21l205 480q33 78 106 257.5t114 274.5q15 34 58 144.5t72 168.5q20 45 35 57 19 15 88 29.5t84 20.5q6 38 6 57 0 4-.5 13t-.5 13q-63 0-190-8t-191-8q-76 0-215 7t-178 8q0-43 4-78l131-28q1 0 12.5-2.5t15.5-3.5 14.5-4.5 15-6.5 11-8 9-11 2.5-14q0-16-31-96.5t-72-177.5-42-100l-450-2q-26 58-76.5 195.5t-50.5 162.5q0 22 14 37.5t43.5 24.5 48.5 13.5 57 8.5 41 4q1 19 1 58 0 9-2 27-58 0-174.5-10t-174.5-10q-8 0-26.5 4t-21.5 4q-80 14-188 14z"/> </svg>'},48899:function(e,t,i){"use strict";var n=i(65946),o=i(59400),r=i(5658),s=i(29434),a=i(5266),l=i(15753),c=i(36339),u=i.n(c);a.Config.prototype.video={parseUrlToVideoEmbed:n.convertMediaUrlToVideoEmbed,defaultWidth:400,defaultHeight:345},s.Icon.set("video",u()),a.Config.prototype.controls.video={popup(e,t,i){let s=new r.UIForm(e,[new r.UIBlock(e,[new r.UIInput(e,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new r.UIBlock(e,[(0,o.Button)(e,"","Insert","primary").onAction(()=>s.submit())])]),a=new r.UIForm(e,[new r.UIBlock(e,[new r.UITextArea(e,{name:"code",required:!0,label:"Embed code"})]),new r.UIBlock(e,[(0,o.Button)(e,"","Insert","primary").onAction(()=>a.submit())])]),c=[],u=t=>{e.s.restore(),e.s.insertHTML(t),i()};return e.s.save(),c.push({icon:"link",name:"Link",content:s.container},{icon:"source",name:"Code",content:a.container}),s.onSubmit(t=>{u((0,n.call)(e.o.video?.parseUrlToVideoEmbed??n.convertMediaUrlToVideoEmbed,t.url,{width:e.o.video?.defaultWidth,height:e.o.video?.defaultHeight}))}),a.onSubmit(e=>{u(e.code)}),(0,l.TabsWidget)(e,c)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},48918:function(e){e.exports={Spellcheck:"Kontrola pravopisu"}},49147:function(e,t,i){"use strict";i.d(t,{applySize:function(){return a}});var n=i(70222),o=i(7909),r=i(80991),s=i(10808);function a(e,t,i,a){if(t!==e.offsetWidth||i!==e.offsetHeight){let l=t?(0,s.normalSizeToString)(t):null,c=i?(0,s.normalSizeToString)(i):null;(0,r.css)(e,{width:l,height:l&&a?null:c}),(0,o.attr)(e,"width",l&&(0,n.isNumeric)(t)&&(0,o.attr)(e,"width")?l:null),(!(0,o.attr)(e,"width")||a)&&(c=null),(0,o.attr)(e,"height",c)}}},49385:function(e,t,i){"use strict";i.d(t,{cns:function(){return n},markDeprecated:function(){return o}});let n=console;function o(e,t=[""],i=null){return(...o)=>(n.warn(`Method "${t[0]}" deprecated.`+(t[1]?` Use "${t[1]}" instead`:"")),e.call(i,...o))}},49422:function(e,t,i){"use strict";i.d(t,{applyLink:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i,r){let s=n.Dom.closest(t,"a",e.editor);i?(s||(s=n.Dom.wrap(t,"a",e.createInside)),(0,o.attr)(s,"href",i),(0,o.attr)(s,"target",r?"_blank":null)):s&&s.parentNode&&s.parentNode.replaceChild(t,s)}},49574:function(e,t,i){"use strict";i.d(t,{autobind:function(){return o}});var n=i(91565);function o(e,t,i){if(!(0,n.isFunction)(i.value))throw TypeError(`@autobind can only be applied to methods, but "${t}" is not a function`);let o=i.value;return{configurable:!0,get(){let e=o.bind(this);return Object.defineProperty(this,t,{value:e,configurable:!0,writable:!0}),e}}}},49663:function(e,t,i){"use strict";i.d(t,{normalizeLicense:function(){return n}});let n=(e,t=8)=>{let i=[];for(;e.length;)i.push(e.substr(0,t)),e=e.substr(t);return i[1]=i[1].replace(/./g,"*"),i[2]=i[2].replace(/./g,"*"),i.join("-")}},49690:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(57075);i(5266).Config.prototype.controls.preview={icon:"eye",command:"preview",mode:n.MODE_SOURCE+n.MODE_WYSIWYG,tooltip:"Preview"},o.pluginSystem.add("preview",function(e){e.registerButton({name:"preview"}),e.registerCommand("preview",(t,i,n)=>{let o=e.dlg();o.setSize(1024,600).open("",e.i18n("Preview")).setModal(!0);let[,s]=(0,r.previewBox)(e,n,"px",o.getElm("content"));o.e.on(o,"afterClose",s)})})},49764:function(e,t,i){"use strict";var n=i(23211),o=i(28077),r=i(5266),s=i(15753);r.Config.prototype.controls.file={popup(e,t,i){let o=(t,i="")=>{e.s.insertNode(e.createInside.fromHTML(`<a href="${t}" title="${i}">${i||t}</a>`))},r=null;return t&&(n.Dom.isTag(t,"a")||n.Dom.closest(t,"a",e.editor))&&(r=n.Dom.isTag(t,"a")?t:n.Dom.closest(t,"a",e.editor)),(0,s.FileSelectorWidget)(e,{filebrowser(e){e.files&&e.files.forEach(t=>o(e.baseurl+t)),i()},upload:!0,url(e,t){r?(r.setAttribute("href",e),r.setAttribute("title",t)):o(e,t),i()}},r,i,!1)},tags:["a"],tooltip:"Insert file"},o.pluginSystem.add("file",function(e){e.registerButton({name:"file",group:"media"})})},49972:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1760 896q14 0 23 9t9 23v64q0 14-9 23t-23 9h-1728q-14 0-23-9t-9-23v-64q0-14 9-23t23-9h1728zm-1277-64q-28-35-51-80-48-97-48-188 0-181 134-309 133-127 393-127 50 0 167 19 66 12 177 48 10 38 21 118 14 123 14 183 0 18-5 45l-12 3-84-6-14-2q-50-149-103-205-88-91-210-91-114 0-182 59-67 58-67 146 0 73 66 140t279 129q69 20 173 66 58 28 95 52h-743zm507 256h411q7 39 7 92 0 111-41 212-23 55-71 104-37 35-109 81-80 48-153 66-80 21-203 21-114 0-195-23l-140-40q-57-16-72-28-8-8-8-22v-13q0-108-2-156-1-30 0-68l2-37v-44l102-2q15 34 30 71t22.5 56 12.5 27q35 57 80 94 43 36 105 57 59 22 132 22 64 0 139-27 77-26 122-86 47-61 47-129 0-84-81-157-34-29-137-71z"/> </svg>'},49983:function(e){e.exports='<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>'},49989:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M24.89 32h4.18L18.86 6h-3.71L4.93 32h4.18l2.25-6h11.29l2.24 6zM12.86 22L17 10.95 21.14 22h-8.28zm30.31 1.17L27 39.34 19.66 32l-2.83 2.83L27 45l19-19-2.83-2.83z"/> </svg>'},49999:function(e,t,i){"use strict";i.d(t,{UISelect:function(){return c}});var n=i(25045),o=i(31635),r=i(91672),s=i(7909),a=i(65273),l=i(81488);class c extends a.UIInput{className(){return"UISelect"}createContainer(e){let t=super.createContainer(e),{j:i}=this,{nativeInput:n}=this;if(void 0!==e.placeholder){let t=i.create.element("option");t.value="",t.text=i.i18n(e.placeholder),n.add(t)}return e.options?.forEach(e=>{let t=i.create.element("option");t.value=e.value.toString(),t.text=i.i18n(e.text),n.add(t)}),e.size&&e.size>0&&(0,s.attr)(n,"size",e.size),e.multiple&&(0,s.attr)(n,"multiple",""),t}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(l.inputValidators.required),this.validators.add(l.selectValidators.required))}constructor(e,t){super(e,t),(0,n._)(this,"state",{...c.defaultState}),Object.assign(this.state,t)}}(0,n._)(c,"defaultState",{...a.UIInput.defaultState,options:[],size:1,multiple:!1}),c=(0,o.__decorate)([r.component],c)},50083:function(e,t,i){"use strict";function n(e){return!!e.length&&!/[^0-9A-Za-zа-яА-ЯЁё\w\-_. ]/.test(e)&&e.trim().length>0}i.d(t,{isValidName:function(){return n}})},50294:function(e,t,i){"use strict";var n=i(28077),o=i(65946);i(7433),n.pluginSystem.add("font",function(e){e.registerButton({name:"font",group:"font"}).registerButton({name:"fontsize",group:"font"});let t=(t,i,n)=>{switch(t){case"fontsize":e.s.commitStyle({attributes:{style:{fontSize:(0,o.normalizeSize)(n,e.o.defaultFontSizePoints)}}});break;case"fontname":e.s.commitStyle({attributes:{style:{fontFamily:n}}})}return e.synchronizeValues(),!1};e.registerCommand("fontsize",t).registerCommand("fontname",t)})},50662:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(91206);i(82147);class l extends a.Plugin{afterInit(e){let{limitWords:t,limitChars:i}=e.o;if(e&&(t||i)){let t=null;e.e.off(".limit").on("beforePaste.limit",()=>{t=e.history.snapshot.make()}).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",()=>{if(this.__shouldDenyInput(!0)&&t)return e.history.snapshot.restore(t),e.e.fire("denyPaste.limit"),!1})}}shouldPreventInsertHTML(e){return!(e&&(o.COMMAND_KEYS.includes(e.key)||e.ctrlKey||e.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(e){var t,i;let{jodit:n}=this,{limitWords:o,limitChars:r}=n.o,s=n.o.limitHTML?n.value:n.text,a=this.__splitWords(s);if(o&&(t=a.length,e?t>o:t>=o))return n.e.fire("denyWords.limit limit.limit"),!0;let l=!!(r&&(i=a.join("").length,e?i>r:i>=r));return l&&n.e.fire("denyChars.limit limit.limit"),l}checkPreventKeyPressOrPaste(e){if(this.shouldPreventInsertHTML(e))return!1}checkPreventChanging(e,t){let{jodit:i}=this;this.__shouldDenyInput(!0)&&(i.value=t)}__splitWords(e){return e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter(e=>e.length)}beforeDestruct(e){e.e.off(".limit")}}(0,n.__decorate)([r.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),(0,n.__decorate)([r.autobind],l.prototype,"checkPreventChanging",null),s.pluginSystem.add("limit",l)},50982:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(28077),s=i(65946),a=i(91206);i(14907);class l extends a.Plugin{afterInit(e){(0,s.keys)(e.o.commandToHotkeys,!1).forEach(t=>{let i=e.o.commandToHotkeys[t];i&&((0,s.isArray)(i)||(0,s.isString)(i))&&e.registerHotkeyToCommand(i,t)});let t=!1;e.e.off(".hotkeys").on([e.ow,e.ew],"keydown.hotkeys",e=>{if(e.key===o.KEY_ESC)return this.j.e.fire("escape",e)}).on("keydown.hotkeys",i=>{let n=this.onKeyPress(i),o={shouldStop:!0};if(!1===this.j.e.fire(n+".hotkey",i.type,o))if(o.shouldStop)return t=!0,e.e.stopPropagation("keydown"),!1;else i.preventDefault()},{top:!0}).on("keyup.hotkeys",()=>{if(t)return t=!1,e.e.stopPropagation("keyup"),!1},{top:!0})}beforeDestruct(e){e.events&&e.e.off(".hotkeys")}constructor(...e){super(...e),(0,n._)(this,"onKeyPress",e=>{let t=this.specialKeys[e.which],i=(e.key||String.fromCharCode(e.which)).toLowerCase(),n=[t||i];return["alt","ctrl","shift","meta"].forEach(i=>{e[i+"Key"]&&t!==i&&n.push(i)}),(0,s.normalizeKeyAliases)(n.join("+"))}),(0,n._)(this,"specialKeys",{8:"backspace",9:"tab",10:"return",13:"return",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"insert",46:"del",59:";",61:"=",91:"meta",96:"0",97:"1",98:"2",99:"3",100:"4",101:"5",102:"6",103:"7",104:"8",105:"9",106:"*",107:"+",109:"-",110:".",111:"/",112:"f1",113:"f2",114:"f3",115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",144:"numlock",145:"scroll",173:"-",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"})}}r.pluginSystem.add("hotkeys",l)},51034:function(e,t,i){"use strict";i(5266).Config.prototype.imageProcessor={replaceDataURIToBlobIdInView:!0}},51116:function(e,t,i){"use strict";i.d(t,{Popup:function(){return m}});var n=i(25045),o=i(31635),r=i(80251),s=i(84839),a=i(23211),l=i(28077),c=i(65946),u=i(28712),d=i(96007),h=i(63468);let p=["escape","cut","delete","backSpaceAfterDelete","beforeCommandDelete"];class m extends h.UIGroup{className(){return"Popup"}appendChildToContainer(e){let t=this.getElm("content");(0,u.assert)(t,"Content element should exist"),t.appendChild(e)}updateParentElement(e){return e!==this&&r.Component.isInstanceOf(e,m)&&(this.__childrenPopups.forEach(t=>{!e.closest(t)&&t.isOpened&&t.close()}),this.__childrenPopups.has(e)||this.j.e.on(e,"beforeClose",()=>{this.__childrenPopups.delete(e)}),this.__childrenPopups.add(e)),super.updateParentElement(e)}setContent(e){if(this.allChildren.length)throw Error("Remove children");if(r.Component.isInstanceOf(e,d.UIElement))this.append(e);else{let t=(0,c.isString)(e)?this.j.c.fromHTML(e):e;this.appendChildToContainer(t)}return this.updatePosition(),this}open(e,t=!1,i){if((0,c.markOwner)(this.jodit,this.container),this.container.classList.add("jodit_theme_"+this.jodit.o.theme),this.__calculateZIndex(),this.isOpened=!0,this.__addGlobalListeners(),this.__targetBound=t?this.getKeepBound(e):e,i)i.appendChild(this.container);else{let e=(0,l.getContainer)(this.jodit,m);i!==this.container.parentElement&&e.appendChild(this.container)}return this.updatePosition(),this.j.e.fire(this,"afterOpen"),this.j.e.fire("afterOpenPopup",this),this}__calculateZIndex(){if(this.container.style.zIndex)return;let e=e=>{let t=e.container.style.zIndex||e.o.zIndex;return!!t&&(this.setZIndex(1+parseInt(t.toString(),10)),!0)},{j:t}=this;if(e(t))return;let i=this.parentElement;for(;i;){if(e(i.j))return;if(i.container.style.zIndex)return void this.setZIndex(1+parseInt(i.container.style.zIndex.toString(),10));if(!i.parentElement&&i.container.parentElement){let e=d.UIElement.closestElement(i.container.parentElement,d.UIElement);if(e){i=e;continue}}i=i.parentElement}}getKeepBound(e){let t=e(),i=this.od.elementFromPoint(t.left,t.top);if(!i)return e;let n=a.Dom.isHTMLElement(i)?i:i.parentElement,o=(0,c.position)(n,this.j);return()=>{let t=e(),i=(0,c.position)(n,this.j);return{...t,top:t.top+(i.top-o.top),left:t.left+(i.left-o.left)}}}updatePosition(){if(!this.isOpened)return this;let[e,t]=this.__calculatePosition(this.__targetBound(),this.viewBound(),(0,c.position)(this.container,this.j));return this.setMod("strategy",t),(0,c.css)(this.container,{left:e.left,top:e.top}),this.__childrenPopups.forEach(e=>e.updatePosition()),this}__throttleUpdatePosition(){this.updatePosition()}__calculatePosition(e,t,i,n=this.strategy){let o={left:e.left,right:e.left-(i.width-e.width)},r={bottom:e.top+e.height,top:e.top-i.height},s=Object.keys(o).reduce((e,t)=>e.concat(Object.keys(r).map(e=>`${t}${(0,c.ucfirst)(e)}`)),[]),a=e=>{let[t,n]=(0,c.kebabCase)(e).split("-");return{left:o[t],top:r[n],width:i.width,height:i.height}},l=e=>m.boxInView(a(n),e)?n:s.find(t=>{if(m.boxInView(a(t),e))return t})||null,u=l((0,c.position)(this.j.container,this.j));return u&&m.boxInView(a(u),t)||(u=l(t)||u||n),[a(u),u]}static boxInView(e,t){return e.top-t.top>=-2&&e.left-t.left>=-2&&t.top+t.height-(e.top+e.height)>=-2&&t.left+t.width-(e.left+e.width)>=-2}close(){return this.isOpened&&(this.isOpened=!1,this.__childrenPopups.forEach(e=>e.close()),this.j.e.fire(this,"beforeClose"),this.j.e.fire("beforePopupClose",this),this.__removeGlobalListeners(),a.Dom.safeRemove(this.container)),this}__closeOnOutsideClick(e){!this.isOpened||this.isOwnClick(e)||this.close()}isOwnClick(e){if(!e.target)return!1;let t=d.UIElement.closestElement(e.target,m);return!!(t&&(this===t||t.closest(this)))}__addGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;l.eventEmitter.on("closeAllPopups",this.close),this.smart&&this.j.e.on(p,this.close).on("mousedown touchstart",this.__closeOnOutsideClick).on(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.on("closeAllPopups",this.close).on("resize",e).on(this.container,"scroll mousewheel",e).on(t,"scroll",e).on(t,"resize",e),a.Dom.up(this.j.container,t=>{t&&this.j.e.on(t,"scroll mousewheel",e)})}__removeGlobalListeners(){let e=this.__throttleUpdatePosition,t=this.ow;l.eventEmitter.off("closeAllPopups",this.close),this.smart&&this.j.e.off(p,this.close).off("mousedown touchstart",this.__closeOnOutsideClick).off(t,"mousedown touchstart",this.__closeOnOutsideClick),this.j.e.off("closeAllPopups",this.close).off("resize",e).off(this.container,"scroll mousewheel",e).off(t,"scroll",e).off(t,"resize",e),this.j.container.isConnected&&a.Dom.up(this.j.container,t=>{t&&this.j.e.off(t,"scroll mousewheel",e)})}setZIndex(e){this.container.style.zIndex=e.toString()}render(){return`<div>
|
|
@@ -250,7 +250,7 @@
|
|
|
250
250
|
<div class="${t("resizer")}">${m.Icon.get("resize_handler")}</div>
|
|
251
251
|
</div>
|
|
252
252
|
</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,h.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 i=this.getElm("panel");(0,p.assert)(null!=i,"Panel element does not exist");const o=this.getElm("resizer");(0,p.assert)(null!=o,"Resizer element does not exist");const r=this.getElm("header-title");(0,p.assert)(null!=r,"header-title element does not exist");const s=this.getElm("content");(0,p.assert)(null!=s,"Content element does not exist");const a=this.getElm("footer");(0,p.assert)(null!=a,"Footer element does not exist");const u=this.getElm("header-toolbar");(0,p.assert)(null!=u,"header-toolbar element does not exist"),this.dialog=i,this.resizer=o,this.dialogbox_header=r,this.dialogbox_content=s,this.dialogbox_footer=a,this.dialogbox_toolbar=u,(0,h.css)(this.dialog,{maxWidth:this.options.maxWidth,minHeight:this.options.minHeight,minWidth:this.options.minWidth});const f=this.getElm("header");f&&this.e.on(f,"pointerdown touchstart",this.__onHeaderMouseDown),this.e.on(this.resizer,"mousedown touchstart",this.__onResizerMouseDown);const g=c.pluginSystem.get("fullsize");if((0,d.isFunction)(g)&&g(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 e=this.getElm("overlay");(0,p.assert)(null!=e,"Overlay element does not exist"),this.e.on(e,"click",this.close)}}}(0,n._)(v,"defaultOptions",{...f.View.defaultOptions,closeOnClickOverlay:!1,closeOnEsc:!0}),(0,o.__decorate)([a.autobind],v.prototype,"__onMouseUp",null),(0,o.__decorate)([a.autobind],v.prototype,"__onHeaderMouseDown",null),(0,o.__decorate)([a.autobind],v.prototype,"__onMouseMove",null),(0,o.__decorate)([a.autobind],v.prototype,"__onEsc",null),(0,o.__decorate)([a.autobind],v.prototype,"__onResizerMouseDown",null),(0,o.__decorate)([a.autobind],v.prototype,"close",null),(0,o.__decorate)([(0,a.hook)("ready")],v.prototype,"buildToolbar",null),v=(0,o.__decorate)([a.component],v)},77036:function(e,t,i){"use strict";i.d(t,{persistent:function(){return r}});var n=i(69364),o=i(31534);function r(e,t){e.hookStatus(n.STATUSES.ready,e=>{let i=(0,o.isViewObject)(e)?e:e.jodit,n=`${i.options.namespace}${e.componentName}_prop_${t}`,r=e[t];Object.defineProperty(e,t,{get:()=>i.storage.get(n)??r,set(e){i.storage.set(n,e)}})})}},77213:function(e,t,i){"use strict";i.d(t,{ctrlKey:function(){return n}});let n=e=>{if("u">typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}},77227:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(91115),s=i.n(r),a=i(1916),l=i.n(a);o.Config.prototype.aiAssistant={aiCommonPrefixPrompt:"",aiCommonSuffixPrompt:"",aiImproveWritingPrompt:"It needs to be refined for better clarity, coherence, and overall quality. Please enhance the writing style while keeping the original meaning and language intact.",aiMakeShorterPrompt:"Please condense this content to make it more concise, while preserving the key messages, language and information.",aiMakeLongerPrompt:"Expand on this content to provide more detail, depth, and richness, without diverging from the original message and language.",aiSimplifyLanguagePrompt:"The language used here needs to be simplified for easier understanding, without altering the core information and the original language.",aiSummarizePrompt:"Provide a brief summary of this content, capturing the essential points in a concise manner. Preserve the original language and meaning.",aiContinuePrompt:"Continue the narrative or discussion from this content seamlessly, maintaining the same language, tone and style.",aiChangeToneProfessionalPrompt:"Adjust the tone to be professional, suitable for a formal business or academic setting, while retaining the original message and language.",aiChangeToneFriendlyPrompt:"It needs to be rewritten in a friendly tone while maintaining the original message and language. Please modify this content to be warm, approachable, and engaging.",aiChangeToneFormalPrompt:"Transform this content to have a formal tone, appropriate for official or serious contexts, without changing the main points and language.",aiChangeToneCasualPrompt:"Revise this content to have a casual, relaxed tone, making it feel more personal and less formal, without changing the original meaning and language.",aiChangeToneDirectPrompt:"Make the tone more direct, with straightforward language and a clear, assertive approach, without changing the original meaning and language.",aiChangeToneConfidentPrompt:"Infuse this content with a confident tone, showcasing assurance and decisiveness, without changing the original meaning and language.",aiChangeStyleBusinessPrompt:"Rewrite this content with a business-oriented style, focusing on clarity, efficiency, and professionalism, without changing the original meaning and language.",aiChangeStyleLegalPrompt:"Adapt this content to a legal style, incorporating appropriate terminology and formality typical of legal documents, without changing the original meaning and language.",aiChangeStyleJournalismPrompt:"Convert this content into a journalistic style, emphasizing factual accuracy, objectivity, and informative reporting, without changing the original meaning and language.",aiChangeStylePoeticPrompt:"Recreate this content with a poetic style, using expressive language, rhythm, and imagery to convey the message, without changing the original meaning and language.",aiTranslateToSpanishPrompt:"Translate this content into Spanish, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToFrenchPrompt:"Translate this content into French, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToGermanPrompt:"Translate this content into German, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToItalianPrompt:"Translate this content into Italian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToPortuguesePrompt:"Translate this content into Portuguese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToEnglishPrompt:"Translate this content into English, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToChinesePrompt:"Translate this content into Chinese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToJapanesePrompt:"Translate this content into Japanese, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToKoreanPrompt:"Translate this content into Korean, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToRussianPrompt:"Translate this content into Russian, ensuring the translation is accurate and maintains the original meaning.",aiTranslateToArabicPrompt:"Translate this content into Arabic, ensuring the translation is accurate and maintains the original meaning."},n.Icon.set("ai-assistant",l()),n.Icon.set("ai-commands",s()),o.Config.prototype.controls["ai-commands"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,tooltip:"AI Commands",list:{aiImproveWritingPrompt:"Improve writing",aiMakeShorterPrompt:"Make shorter",aiMakeLongerPrompt:"Make longer",aiSimplifyLanguagePrompt:"Simplify language",aiSummarizePrompt:"Summarize",aiContinuePrompt:"Continue",aiChangeToneProfessionalPrompt:"Change tone to professional",aiChangeToneFriendlyPrompt:"Change tone to friendly",aiChangeToneFormalPrompt:"Change tone to formal",aiChangeToneCasualPrompt:"Change tone to casual",aiChangeToneDirectPrompt:"Change tone to direct",aiChangeToneConfidentPrompt:"Change tone to confident",aiChangeStyleBusinessPrompt:"Change style to business",aiChangeStyleLegalPrompt:"Change style to legal",aiChangeStyleJournalismPrompt:"Change style of journalism",aiChangeStylePoeticPrompt:"Change style to poetic",aiTranslateToSpanishPrompt:"Translate to Spanish",aiTranslateToFrenchPrompt:"Translate to French",aiTranslateToGermanPrompt:"Translate to German",aiTranslateToItalianPrompt:"Translate to Italian",aiTranslateToPortuguesePrompt:"Translate to Portuguese",aiTranslateToEnglishPrompt:"Translate to English",aiTranslateToChinesePrompt:"Translate to Chinese",aiTranslateToJapanesePrompt:"Translate to Japanese",aiTranslateToKoreanPrompt:"Translate to Korean",aiTranslateToRussianPrompt:"Translate to Russian",aiTranslateToArabicPrompt:"Translate to Arabic"},exec(e,t,{control:i}){e.e.fire("generateAiAssistantForm.ai-assistant",i.name)}},o.Config.prototype.controls["ai-assistant"]={isDisabled:e=>!e.o.aiAssistant.aiAssistantCallback,hotkeys:["ctrl+a+i","cmd+a+i"],tooltip:"AI Assistant",exec(e,t,i){e.e.fire("generateAiAssistantForm.ai-assistant")}}},77367:function(e,t,i){"use strict";i.d(t,{normalizeColor:function(){return r}});var n=i(93387),o=i(4040);let r=e=>{let t=["#"],i=(0,n.colorToHex)(e);if(!i)return!1;if(3===(i=(i=(0,o.trim)(i.toUpperCase())).substring(1)).length){for(let e=0;e<3;e+=1)t.push(i[e]),t.push(i[e]);return t.join("")}return i.length>6&&(i=i.slice(0,6)),"#"+i}},77483:function(e,t,i){"use strict";i.d(t,{ConfigDeepFlatten:function(){return function e(t){return(0,c.keys)(t,!1).reduce((i,n)=>(i[n]=(0,o.isPlainObject)(t[n])?e(t[n]):t[n],i),{})}},ConfigFlatten:function(){return u},ConfigProto:function(){return function e(t,i,c=0){if(Object.getPrototypeOf(t)!==Object.prototype)return t;let u=a.Config.defaultOptions;if((0,r.isString)(t.preset)){if(void 0!==u.presets[t.preset]){let e=u.presets[t.preset];Object.keys(e).forEach(i=>{(0,s.isVoid)(t[i])&&(t[i]=e[i])})}delete t.preset}let d={};return Object.keys(t).forEach(r=>{let s=t[r],a=i?i[r]:null;if((0,o.isPlainObject)(s)&&(0,o.isPlainObject)(a)&&!(0,l.isAtom)(s)){d[r]=e(s,a,c+1);return}if(0!==c&&(0,n.isArray)(s)&&!(0,l.isAtom)(s)&&(0,n.isArray)(a)){d[r]=[...s,...a.slice(s.length)];return}d[r]=s}),Object.setPrototypeOf(d,i),d}}});var n=i(17312),o=i(62101),r=i(85932),s=i(18303),a=i(5266),l=i(54794),c=i(71125);function u(e){return(0,c.keys)(e,!1).reduce((t,i)=>(t[i]=e[i],t),{})}},77911:function(e,t,i){"use strict";i.d(t,{ajaxInstances:function(){return s},send:function(){return a}});var n=i(65946),o=i(73714),r=i(89446);let s=new WeakMap;function a(e,t){let i=(0,r.buildData)(e,t),a=t=>{e.j.progressbar.show().progress(t),t>=100&&e.j.progressbar.hide()},l=(t,i)=>{let r=new o.Ajax({xhr(){let t=new XMLHttpRequest;return void 0!==e.j.ow.FormData&&t.upload?(i(10),t.upload.addEventListener("progress",e=>{if(e.lengthComputable){let t=e.loaded/e.total;i(t*=100)}},!1)):i(100),t},method:e.o.method||"POST",data:t,url:(0,n.isFunction)(e.o.url)?e.o.url(t):e.o.url,headers:e.o.headers,queryBuild:e.o.queryBuild,contentType:e.o.contentType.call(e,t),withCredentials:e.o.withCredentials||!1}),a=s.get(e);return a||(a=new Set,s.set(e,a)),a.add(r),e.j.e.one("beforeDestruct",r.destruct),r.send().then(e=>e.json()).catch(e=>({success:!1,data:{messages:[e]}})).finally(()=>{r.destruct(),a?.delete(r)})};return((0,n.isFunction)(e.o.customUploadFunction)&&(l=e.o.customUploadFunction),(0,n.isPromise)(i))?i.then(e=>l(e,a)).catch(t=>{e.o.error.call(e,t)}):l(i,a)}},78462:function(e,t,i){"use strict";i.d(t,{states:function(){return l},transactions:function(){return c}});var n=i(81937),o=i(23211),r=i(28712),s=i(59841),a=i(51640);let l={START:"START",ELEMENT:"ELEMENT",UNWRAP:"UNWRAP",UNWRAP_CHILDREN:"UNWRAP_CHILDREN",CHANGE:"CHANGE",REPLACE_DEFAULT:"REPLACE_DEFAULT",LIST:"LIST",TOGGLE_LIST:"TOGGLE_LIST",WRAP:"WRAP",EXTRACT:"EXTRACT",END:"END"},c={[l.START]:{exec(e){let{element:t,jodit:i,style:n,mode:r,collapsed:c}=e;if((0,a.isInsideInvisibleElement)(t,i.editor)||!c&&o.Dom.isEmptyContent(t))return{...e,next:l.END};let u=(0,a.getSuitParent)(n,t,i.editor)||(0,a.getSuitChild)(n,t);if(u)return{...e,next:l.ELEMENT,element:u};let d=(0,a.suitableClosest)(n,t,i.editor);return n.elementIsList&&o.Dom.isList(d)?{...e,next:l.LIST}:d?{...e,next:l.EXTRACT}:{...e,next:r!==s.UNWRAP?l.UNWRAP_CHILDREN:l.END}}},[l.LIST]:{exec(e){let{element:t,jodit:i,mode:r}=e;if(r!==s.INITIAL&&r!==s.UNWRAP&&r!==s.REPLACE)return{...e,next:l.END};let a=o.Dom.closest(t,"li",i.editor);return a&&o.Dom.closest(t,n.LIST_TAGS,i.editor)?{...e,element:a,next:l.TOGGLE_LIST}:{...e,next:l.END}}},[l.TOGGLE_LIST]:{exec:e=>({...e,mode:(0,a.toggleOrderedList)(e.style,e.element,e.jodit,e.mode),next:l.END})},[l.EXTRACT]:{exec(e){let{element:t,jodit:i,style:n}=e,s=(0,a.suitableClosest)(n,t,i.editor);return((0,r.assert)(s,"This place should have an element"),!n.elementIsBlock&&n.options.attributes?.style&&o.Dom.isBlock(s))?{...e,next:l.WRAP}:(n.elementIsBlock||(0,a.extractSelectedPart)(s,t,i),{...e,element:s,next:l.ELEMENT})}},[l.UNWRAP_CHILDREN]:{exec(e){let{element:t,style:i}=e;return(0,a.unwrapChildren)(i,t)?{...e,mode:s.UNWRAP,next:l.END}:{...e,next:l.WRAP}}},[l.WRAP]:{exec(e){let{element:t,jodit:i,style:n}=e,o=(0,a.wrap)(n,t,i);return{...e,next:n.elementIsList?l.END:l.CHANGE,mode:s.WRAP,element:o}}},[l.ELEMENT]:{exec(e){let{style:t,element:i,jodit:n}=e;return(0,a.toggleAttributes)(t,i,n,s.INITIAL,!0)!==s.INITIAL?{...e,next:l.CHANGE}:o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,next:l.END}}},[l.CHANGE]:{exec(e){let{style:t,element:i,jodit:n,mode:r}=e,c=(0,a.toggleAttributes)(t,i,n,e.mode);return r!==s.WRAP&&c===s.UNSET&&!i.attributes.length&&o.Dom.isTag(i,t.element)?{...e,next:l.UNWRAP}:{...e,mode:c,next:l.END}}},[l.UNWRAP]:{exec:e=>e.element.attributes.length&&o.Dom.isTag(e.element,e.style.element)?{...e,next:l.REPLACE_DEFAULT}:(o.Dom.unwrap(e.element),{...e,mode:s.UNWRAP,next:l.END})},[l.REPLACE_DEFAULT]:{exec:e=>(o.Dom.replace(e.element,e.style.defaultTag,e.jodit.createInside,!0),{...e,mode:s.REPLACE,next:l.END})},[l.END]:{exec:e=>e}}},78690:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(5266);r.Config.prototype.autofocus=!1,r.Config.prototype.cursorAfterAutofocus="end",r.Config.prototype.saveSelectionOnBlur=!0,o.pluginSystem.add("focus",function(e){e.o.saveSelectionOnBlur&&e.e.on("blur",()=>{e.isEditorMode()&&e.s.save(!0)}).on("focus",()=>{e.s.restore()});let t=()=>{if(e.s.focus(),"end"===e.o.cursorAfterAutofocus){let t=n.Dom.last(e.editor,e=>n.Dom.isText(e));t&&e.s.setCursorIn(t,!1)}};e.e.on("afterInit",()=>{e.o.autofocus&&(e.defaultTimeout?e.async.setTimeout(t,300):t())}),e.e.on("afterInit afterAddPlace",()=>{e.e.off(e.editor,"mousedown.autofocus").on(e.editor,"mousedown.autofocus",t=>{e.isEditorMode()&&t.target&&n.Dom.isBlock(t.target)&&!t.target.childNodes.length&&(e.editor===t.target?e.s.focus():e.s.setCursorIn(t.target))})})})},78982:function(e,t,i){"use strict";i.d(t,{asArray:function(){return o}});var n=i(17312);let o=e=>(0,n.isArray)(e)?e:[e]},79310:function(e,t,i){"use strict";i.d(t,{readLink:function(){return r}});var n=i(23211),o=i(7909);function r(e,t,i){let r=n.Dom.closest(e.sourceImage,"a",t.editor);r?(i.imageLink=(0,o.attr)(r,"href")||"",i.imageLinkOpenInNewTab="_blank"===(0,o.attr)(r,"target")):(i.imageLink="",i.imageLinkOpenInNewTab=!1)}},79400:function(e){e.exports={"copy-format":"Kopioi muotoilu"}},79803:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.toolbarSticky=!0,n.Config.prototype.toolbarDisableStickyForMobile=!0,n.Config.prototype.toolbarStickyOffset=0},79821:function(e,t,i){"use strict";i.d(t,{Create:function(){return n.Create}});var n=i(76517)},79947:function(e,t,i){"use strict";i.d(t,{clearTimeout:function(){return r},setTimeout:function(){return o}});var n=i(81937);function o(e,t,...i){return t?n.globalWindow.setTimeout(e,t,...i):(e.call(null,...i),0)}function r(e){n.globalWindow.clearTimeout(e)}},80202:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.minWidth=200,n.Config.prototype.maxWidth="100%",n.Config.prototype.minHeight=200,n.Config.prototype.maxHeight="auto",n.Config.prototype.saveHeightInStorage=!1},80251:function(e,t,i){"use strict";i.d(t,{Component:function(){return c}});var n=i(25045),o=i(91231),r=i(69364),s=i(28077),a=i(65946);let l=new Map;class c{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,a.kebabCase)(((0,a.isFunction)(this.className)?this.className():"")||(0,a.getClassName)(this))),this.__componentName}getFullElName(e,t,i){let n=[this.componentName];return e&&n.push("__"+(e=e.replace(/[^a-z0-9-]/gi,"-"))),t&&(n.push("_",t),n.push("_",(0,a.isVoid)(i)?"true":i.toString())),n.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(e,t){return(0,a.get)(e,t||this)}get isReady(){return this.componentStatus===r.STATUSES.ready}get isDestructed(){return this.componentStatus===r.STATUSES.destructed}get isInDestruct(){return r.STATUSES.beforeDestruct===this.componentStatus||r.STATUSES.destructed===this.componentStatus}bindDestruct(e){return e.hookStatus(r.STATUSES.beforeDestruct,()=>!this.isInDestruct&&this.destruct()),this}destruct(){this.setStatus(r.STATUSES.destructed),this.async&&(this.async.destruct(),this.async=void 0),l.get(this)&&l.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(e){this.setStatus(e)}setStatus(e){return this.setStatusComponent(e,this)}setStatusComponent(e,t){if(e===this.__componentStatus)return;t===this&&(this.__componentStatus=e);let i=Object.getPrototypeOf(this);i&&(0,a.isFunction)(i.setStatusComponent)&&i.setStatusComponent(e,t);let n=l.get(this),o=n?.[e];o&&o.length&&o.forEach(e=>e(t))}hookStatus(e,t){let i=l.get(this);i||(i={},l.set(this,i)),i[e]||(i[e]=[]),i[e].push(t)}static isInstanceOf(e,t){return e instanceof t}constructor(){(0,n._)(this,"__componentName",void 0),(0,n._)(this,"async",new o.Async),(0,n._)(this,"uid",void 0),(0,n._)(this,"ownerWindow",window),(0,n._)(this,"__componentStatus",r.STATUSES.beforeInit),this.uid="jodit-uid-"+(0,s.uniqueUid)()}}(0,n._)(c,"STATUSES",r.STATUSES)},80347:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 24 24" > <circle cx="12" cy="12" r="2.2"/> <circle cx="12" cy="5" r="2.2"/> <circle cx="12" cy="19" r="2.2"/> </svg>'},80512:function(e,t,i){"use strict";i.d(t,{Dlgs:function(){return a}});var n=i(28077),o=i(28686),r=i(71125),s=i(37333);class a{dlg(e){let t=(0,n.getPopupViewRoot)(this.o,this.container,this.od.body),i=new s.Dialog({language:this.o.language,shadowRoot:this.o.shadowRoot,popupRoot:t,ownerWindow:this.o.ownerWindow,defaultTimeout:this.o.defaultTimeout,direction:this.o.direction,theme:this.o.theme,globalFullSize:this.o.globalFullSize,...e});return(0,r.markOwner)(this,i.container),i.parent=this,i.bindDestruct(this)}confirm(e,t,i){return e=l(e,this),t=l(t,this),s.Confirm.call(this.dlg({closeOnClickOverlay:!0}),e,t,i)}prompt(e,t,i,n,o){return e=l(e,this),t=l(t,this),n=l(n,this),s.Prompt.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n,o)}alert(e,t,i,n){return e=l(e,this),t=l(t,this),s.Alert.call(this.dlg({closeOnClickOverlay:!0}),e,t,i,n)}}function l(e,t){return(0,o.isString)(e)&&!(0,o.isHTML)(e)&&(e=t.i18n(e)),e}},80515:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45z"/> </svg>'},80538:function(e,t,i){"use strict";var n=i(81937),o=i(29434),r=i(5266),s=i(24772),a=i.n(s),l=i(66547),c=i.n(l);r.Config.prototype.fullsize=!1,r.Config.prototype.globalFullSize=!0,o.Icon.set("fullsize",a()).set("shrink",c()),r.Config.prototype.controls.fullsize={exec(e){e.toggleFullSize()},update(e,t){let i=e.isFullSize?"shrink":"fullsize";t.state.activated=e.isFullSize,e.o.textIcons?t.state.text=i:t.state.icon.name=i},tooltip:"Open in fullsize",mode:n.MODE_SOURCE+n.MODE_WYSIWYG}},80696:function(e){e.exports={symbols:"رمز"}},80840:function(e,t,i){"use strict";i.d(t,{wait:function(){return s}});var n=i(69364),o=i(91565),r=i(33201);function s(e){return(t,i)=>{let s=t[i];if(!(0,o.isFunction)(s))throw(0,r.error)("Handler must be a Function");t.hookStatus(n.STATUSES.ready,t=>{let{async:n}=t,o=t[i],r=0;Object.defineProperty(t,i,{configurable:!0,value:function i(...s){n.clearTimeout(r),e(t)?o.apply(t,s):r=n.setTimeout(()=>i(...s),10)}})})}}},80951:function(e,t,i){"use strict";i.d(t,{checkJoinTwoLists:function(){return s}});var n=i(23211),o=i(71125),r=i(15200);function s(e,t,i){let s=n.Dom.findSibling(t,i),a=n.Dom.findSibling(t,!i);if(!n.Dom.closest(t,n.Dom.isElement,e.editor)&&n.Dom.isList(s)&&n.Dom.isList(a)&&n.Dom.isTag(s.lastElementChild,"li")&&n.Dom.isTag(a.firstElementChild,"li")){let{setCursorBefore:l,setCursorAfter:c}=e.s,u=s.lastElementChild,d=a.firstElementChild;return(0,o.call)(i?n.Dom.prepend:n.Dom.append,d,t),n.Dom.moveContent(a,s,!i,(0,r.getMoveFilter)(e)),n.Dom.safeRemove(a),(0,o.call)(i?n.Dom.append:n.Dom.prepend,u,t),(0,o.call)(i?l:c,t),!0}return!1}},80991:function(e,t,i){"use strict";i.d(t,{clearCenterAlign:function(){return c},css:function(){return l}});var n=i(22289),o=i(62101),r=i(19147),s=i(57821),a=i(74264);function l(e,t,i,c=!1){if((0,n.isBoolean)(i)&&(c=i,i=void 0),(0,o.isPlainObject)(t)||void 0!==i){let n=(e,t,i)=>{void 0!==(i=(0,r.normalizeCssNumericValue)(t,i))&&(null==i||l(e,t,!0)!==(0,r.normalizeCssValue)(t,i))&&(e.style[t]=i)};if((0,o.isPlainObject)(t)){let i=Object.keys(t);for(let o=0;o<i.length;o+=1)n(e,(0,s.camelCase)(i[o]),t[i[o]])}else n(e,(0,s.camelCase)(t),i);return""}let u=(0,a.kebabCase)(t),d=e.ownerDocument||document,h=!!d&&(d.defaultView||d.parentWindow),p=e.style[t],m="";return void 0!==p&&""!==p?m=p:h&&!c&&(m=h.getComputedStyle(e).getPropertyValue(u)),r.NUMBER_FIELDS_REG.test(t)&&/^[-+]?[0-9.]+px$/.test(m.toString())&&(m=parseInt(m.toString(),10)),(0,r.normalizeCssValue)(t,m)}let c=e=>{"block"===l(e,"display")&&l(e,"display","");let{style:t}=e;"auto"===t.marginLeft&&"auto"===t.marginRight&&(t.marginLeft="",t.marginRight="")}},81008:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(51457),s=i.n(r),a=i(23602),l=i.n(a),c=i(86899),u=i.n(c),d=i(95320),h=i.n(d);o.Config.prototype.controls.cut={command:"cut",isDisabled:e=>e.s.isCollapsed(),tooltip:"Cut selection"},o.Config.prototype.controls.copy={command:"copy",isDisabled:e=>e.s.isCollapsed(),tooltip:"Copy selection"},o.Config.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},n.Icon.set("copy",s()).set("cut",l()).set("paste",u()).set("select-all",h())},81089:function(e){e.exports={Spellcheck:"בדיקת איות"}},81144:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946);i(17326),o.pluginSystem.add("iframe",function(e){let t=e.options;e.e.on("afterSetMode",()=>{e.isEditorMode()&&e.s.focus()}).on("generateDocumentStructure.iframe",(e,i)=>{let n=e||i.iframe.contentWindow.document;if(n.open(),n.write(t.iframeDoctype+`<html dir="${t.direction}" class="jodit" lang="${(0,r.defaultLanguage)(t.language)}">`+"<head>"+`<title>${t.iframeTitle}</title>`+(t.iframeBaseUrl?`<base href="${t.iframeBaseUrl}"/>`:"")+'</head><body class="jodit-wysiwyg"></body></html>'),n.close(),t.iframeCSSLinks&&t.iframeCSSLinks.forEach(e=>{let t=n.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",e),n.head&&n.head.appendChild(t)}),t.iframeStyle){let e=n.createElement("style");e.innerHTML=t.iframeStyle,n.head&&n.head.appendChild(e)}}).on("createEditor",()=>{if(!t.iframe)return;let i=e.c.element("iframe");i.style.display="block",i.src="about:blank",i.className="jodit-wysiwyg_iframe",i.setAttribute("allowtransparency","true"),i.setAttribute("tabindex",t.tabIndex.toString()),i.setAttribute("frameborder","0"),null!=t.iframeSandbox&&i.setAttribute("sandbox",t.iframeSandbox),e.workplace.appendChild(i),e.iframe=i;let o=e.e.fire("generateDocumentStructure.iframe",null,e);return(0,r.callPromise)(o,()=>{if(!e.iframe)return!1;let i=e.iframe.contentWindow.document;e.editorWindow=e.iframe.contentWindow;let o=t.editHTMLDocumentMode,s=()=>{(0,r.attr)(i.body,"contenteditable",e.getMode()!==n.MODE_SOURCE&&!e.getReadOnly()||null)},a=e=>{let t=/<body.*<\/body>/im,i="{%%BODY%%}",n=t.exec(e);return n&&(e=e.replace(t,i).replace(/<span([^>]*?)>(.*?)<\/span>/gim,"").replace(/<span([^&]*?)>(.*?)<\/span>/gim,"").replace(i,n[0].replace(/(<body[^>]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(<body[^>]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),e};if(o){let t=e.element.tagName;if("TEXTAREA"!==t&&"INPUT"!==t)throw(0,r.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");e.e.on("beforeGetNativeEditorValue",()=>a(e.o.iframeDoctype+i.documentElement.outerHTML)).on("beforeSetNativeEditorValue",({value:t})=>!e.isLocked&&(/<(html|body)/i.test(t)?a(i.documentElement.outerHTML)!==a(t)&&(i.open(),i.write(e.o.iframeDoctype+a(t)),i.close(),e.editor=i.body,e.e.fire("safeHTML",e.editor),s(),e.e.fire("prepareWYSIWYGEditor"),e.e.stopPropagation("beforeSetNativeEditorValue")):i.body.innerHTML=t,!0),{top:!0})}if(e.editor=i.body,e.e.on("afterSetMode afterInit afterAddPlace",s),"auto"===t.height){i.documentElement&&(i.documentElement.style.overflowY="hidden");let n=e.async.throttle((...i)=>{e.async.requestAnimationFrame(()=>{if(e.editor&&e.iframe&&"auto"===t.height){let t=e.ew.getComputedStyle(e.editor),i=parseInt(t.marginTop||"0",10)+parseInt(t.marginBottom||"0",10);(0,r.css)(e.iframe,"height",e.editor.offsetHeight+i)}})},e.defaultTimeout/2);if(e.e.on("change afterInit afterSetMode resize",n).on([e.iframe,e.ew,i.documentElement],"load",n).on(i,"readystatechange DOMContentLoaded",n),"function"==typeof ResizeObserver){let t=new ResizeObserver(n);t.observe(i.body),e.e.on("beforeDestruct",()=>{t.disconnect()})}}return i.documentElement&&e.e.on(i.documentElement,"mousedown touchend",()=>{e.s.isFocused()||(e.s.focus(),e.editor===i.body&&e.s.setCursorIn(i.body))}).on(e.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",t=>{e.events?.fire(e.ow,t)}),!1})})})},81321:function(e){e.exports.default=["Írjon be valamit","Joditról","Jodit Editor","Jodit útmutató","további segítséget tartalmaz","További licence információkért látogassa meg a weboldalunkat:","Teljes verzió megvásárlása","Copyright © XDSoft.net - Chupurnov Valeriy. Minden jog fenntartva.","Horgony","Megnyitás új lapon","Megnyitás teljes méretben","Formázás törlése","Háttér/szöveg szín","Újra","Visszavon","Félkövér","Dőlt","Pontozott lista","Számozott lista","Középre zárt","Sorkizárt","Balra zárt","Jobbra zárt","Vízszintes vonal beszúrása","Kép beszúrás","Fájl beszúrás","Youtube videó beszúrása","Link beszúrás","Betűméret","Betűtípus","Formázott blokk beszúrása","Normál","Fejléc 1","Fejléc 2","Fejléc 3","Fejléc 4","Idézet","Kód","Beszúr","Táblázat beszúrása","Behúzás csökkentése","Behúzás növelése","Speciális karakter kiválasztása","Speciális karakter beszúrása","Kép formázása","Nézet váltása","Szegélyek","felső","jobb","alsó","bal","CSS stílusok","CSS osztályok","Igazítás","Jobbra","Középre","Balra","Nincs","Forrás","Cím","Helyettesítő szöveg","Link","Link megnyitása új lapon","Kép","Fájl","Haladó","Kép tulajdonságai","Mégsem","OK","Fájl tallózó","Hiba a lista betöltése közben","Hiba a mappák betöltése közben","Biztosan ezt szeretné?","Írjon be egy mappanevet","Mappa létrehozása","írjon be bevet","Húzza ide a képet","Húzza ide a fájlt","vagy kattintson","Helyettesítő szöveg","Feltölt","Tallóz","Háttér","Szöveg","Fent","Középen","Lent","Oszlop beszúrás elé","Oszlop beszúrás utána","Sor beszúrás fölé","Sor beszúrás alá","Táblázat törlése","Sor törlése","Oszlop törlése","Cella tartalmának törlése","Karakterek száma: %d","Szavak száma: %d","Áthúzott","Aláhúzott","Felső index","Alsó index","Kivágás","Összes kijelölése","Szünet","Keresés","Csere erre","Cserélje ki","Beillesztés","Válasszon tartalmat a beillesztéshez","HTML","Félkövér","Dőlt","Ecset","Link","Visszavon","Újra","Táblázat","Kép","Törlés","Paragráfus","Betűméret","Videó","Betű","Rólunk","Nyomtat","Aláhúzott","Áthúzott","Behúzás","Aussenseiter","Teljes méret","Összenyom","Egyenes vonal","Lista","Számozott lista","Kivág","Összes kijelölése","Beágyazott kód","Link megnyitása","Link szerkesztése","Nincs követés","Link leválasztása","Frissít","Szerkesztés","felülvizsgálat","URL","Szerkeszt","Vízszintes igazítás","Szűrő","Rendezés módosítás szerint","Rendezés név szerint","Rendezés méret szerint","Mappa hozzáadás","Visszaállít","Mentés","Mentés másként...","Átméretezés","Kivág","Szélesség","Magasság","Képarány megtartása","Igen","Nem","Eltávolít","Kijelöl","Kijelöl: %s","Függőleges igazítás","Felosztás","Összevonás","Oszlop hozzáadás","Sor hozzáadás","Licenc: %s","Törlés","Függőleges felosztás","Vízszintes felosztás","Szegély","A beillesztett szöveg HTML-nek tűnik. Megtartsuk HTML-ként?","Beszúrás HTML-ként","Megtartás","Beszúrás szövegként","Csak szöveg beillesztése","Csak a saját képeit tudja szerkeszteni. Letölti ezt a képet?","Kép sikeresen feltöltve!","Palette","Er zijn geen bestanden in deze map.","átnevezés","Adja meg az új nevet","előnézet","Letöltés","Illessze be a vágólap","A böngésző nem támogatja a közvetlen hozzáférést biztosít a vágólapra.","Másolás kiválasztása","másolás","Határ sugár","Összes","Alkalmazni","Kérjük, töltse ki ezt a mezőt,","Kérjük, írja be a webcímet","Alapértelmezett","Kör","Pont","Quadrate","Találni","Megtalálja Előző","Következő Keresése","A beillesztett tartalom Microsoft Word/Excel dokumentumból származik. Meg szeretné tartani a formátumát?","Word-ből másolt szöveg","Elvetés","Helyezze be az osztály nevét","Nyomja meg az Alt egyéni átméretezés",null,null,null,"Összes"]},81488:function(e,t,i){"use strict";i.d(t,{inputValidators:function(){return n},selectValidators:function(){return o}});var n=i(48776),o=i(6490)},81576:function(e,t,i){"use strict";i.d(t,{generateCriticalCSS:function(){return r}});var n=i(25045),o=i(88475);function r(e){let t=(e,t=e.ownerDocument.styleSheets)=>(0,o.toArray)(t).map(e=>{try{return(0,o.toArray)(e.cssRules)}catch{}return[]}).flat().filter(t=>{try{return!!(t&&e.matches(t.selectorText))}catch{}return!1});class i{generateCSS(){let e="";for(let t in this.css)if(!/:not\(/.test(t)){for(let i in e+=t+" { ",this.css[t])e+=i+": "+this.css[t][i]+"; ";e+=`}
|
|
253
|
-
`}return e}constructor(i,o,r){(0,n._)(this,"css",{});const s=r||{},a=t=>{let i=t.selectorText.split(",").map(e=>e.trim()).sort().join(",");!1==!!this.css[i]&&(this.css[i]={});let n=t.style.cssText.split(/;(?![A-Za-z0-9])/);for(let t=0;t<n.length;t++){if(!n[t])continue;let o=n[t].split(":");o[0]=o[0].trim(),o[1]=o[1].trim(),this.css[i][o[0]]=o[1].replace(/var\(([^)]+)\)/g,(t,i)=>{let[n,o]=i.split(",");return(e.ew.getComputedStyle(e.editor).getPropertyValue(n.trim())||o||t).trim()})}};(()=>{let n=i.innerHeight,r=o.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,()=>NodeFilter.FILTER_ACCEPT);for(;r.nextNode();){let e=r.currentNode;if(e.getBoundingClientRect().top<n||s.scanFullPage){let i=t(e);if(i)for(let e=0;e<i.length;e++)a(i[e])}}})()}}try{return new i(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch{}return""}},81582:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(91206);i(69023);var l=i(2923);class c extends a.Plugin{afterInit(e){}__onTab(e){if(e.key===o.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){let t=(0,l.onTabInsideLi)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}(0,n.__decorate)([(0,r.watch)(":keydown.tab")],c.prototype,"__onTab",null),(0,n.__decorate)([(0,r.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),s.pluginSystem.add("tab",c)},81875:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},81937:function(e,t,i){"use strict";i.r(t),i.d(t,{ACCURACY:function(){return V},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ep},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return U},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return er},INVISIBLE_SPACE:function(){return p},INVISIBLE_SPACE_REG_EXP:function(){return f},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return _},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return r},IS_ES_NEXT:function(){return s},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return P},KEY_BACKSPACE:function(){return j},KEY_DELETE:function(){return q},KEY_DOWN:function(){return R},KEY_ENTER:function(){return L},KEY_ESC:function(){return A},KEY_F3:function(){return F},KEY_LEFT:function(){return M},KEY_META:function(){return D},KEY_RIGHT:function(){return B},KEY_SPACE:function(){return O},KEY_TAB:function(){return z},KEY_UP:function(){return N},LIST_TAGS:function(){return E},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return K},MODE_SPLIT:function(){return G},MODE_WYSIWYG:function(){return Y},NBSP_SPACE:function(){return m},NEARBY:function(){return H},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return $},PASSIVE_EVENTS:function(){return ev},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return e_},SPACE_REG_EXP:function(){return v},SPACE_REG_EXP_END:function(){return y},SPACE_REG_EXP_START:function(){return b},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return J},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return w},globalWindow:function(){return S},lang:function(){return ef}});let n="4.8.3",o="es2021",r=!0,s=!0,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/",d=()=>l=!0,h={},p="\uFEFF",m=" ",f=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,_=()=>/^[\uFEFF]+/g,v=()=>/[\s\n\t\r\uFEFF\u200b]+/g,b=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,S="u">typeof window?window:void 0,w="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,E=new Set(["ul","ol"]),I=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...I,"br","hr"]),x=new Set(I),D="Meta",j="Backspace",z="Tab",L="Enter",A="Escape",P="Alt",M="ArrowLeft",N="ArrowUp",B="ArrowRight",R="ArrowDown",O="Space",q="Delete",F="F3",H=5,V=10,U=[D,j,q,N,R,B,M,L,A,F,z],W="br",$="p",Y=1,K=2,G=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),J=X?"text":"text/plain",Z=X?"html":"text/html",Q=X?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",eo="insert_as_text",er="insert_only_text",es=10,ea=void 0!==S&&/Mac|iPod|iPhone|iPad/.test(S.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=w.currentScript;if(e)return ec(e.src);let t=w.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(S.location.href)})(),eh=eu,ep=ed,em="data-jodit-temp",ef={},eg="clipboard",e_="source-consumer",ev=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},81987:function(e,t,i){"use strict";i.d(t,{Mods:function(){return o}});var n=i(18303);class o{afterSetMod(e,t){}setMod(e,t,i){e=e.toLowerCase();let o=this.mods[e];if(o===t)return this;let r=`${this.componentName}_${e}_`,s=(i||this.container).classList;return null!=o&&s.remove(`${r}${o.toString().toLowerCase()}`),(0,n.isVoid)(t)||""===t||s.add(`${r}${t.toString().toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){return this.mods[e]??null}}},82147:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1},82166:function(e,t,i){"use strict";function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}i.d(t,{isHtmlFromWord:function(){return n}})},82495:function(e,t,i){"use strict";i.d(t,{createSourceEditor:function(){return r}});var n=i(65946),o=i(8105);function r(e,t,i,r,s){let a;if((0,n.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new o.AceEditor(t,i,r,s);break}default:a=new o.TextAreaEditor(t,i,r,s)}return a.init(t),a.onReadyAlways(()=>{a.setReadOnly(t.o.readonly)}),a}},82658:function(e,t,i){"use strict";i.d(t,{applyStyles:function(){return n.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return r.htmlspecialchars},nl2br:function(){return s.nl2br},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},stripTags:function(){return l.stripTags}});var n=i(30893),o=i(1277),r=i(6609),s=i(48838),a=i(48155),l=i(22852)},82794:function(e,t,i){"use strict";i.d(t,{toggleAttributes:function(){return f}});var n=i(81937),o=i(23211),r=i(28077),s=i(28686),a=i(19147),l=i(18073),c=i(74264),u=i(93640),d=i(80991),h=i(36400),p=i(98394);let m="toggleAttributes";function f(e,t,i,_,v=!1){if(!v&&e.isApplied(t,m))return _;v||e.setApplied(t,m);let{attributes:b}=e.options;return b&&(0,l.size)(b)>0&&Object.keys(b).forEach(m=>{var f,y,S;let w=b[m];switch(m){case"style":f=_,(0,u.assert)((0,s.isPlainObject)(w)&&(0,l.size)(w),"Style must be an object"),Object.keys(w).forEach(s=>{let l=t.style.getPropertyValue((0,c.kebabCase)(s)),u=w[s];if(""!==l||null!=u){let c,m;if((c=i.create.element(t.tagName.toLowerCase())).style.cssText=t.style.cssText,(function(e){if(void 0!==(0,h.dataBind)(e,"shadowRoot"))return(0,h.dataBind)(e,"shadowRoot");let t=(0,r.getContainer)(e),i=n.globalDocument.createElement("iframe");(0,d.css)(i,{width:0,height:0,position:"absolute",border:0}),i.src="about:blank",t.appendChild(i);let o=i.contentWindow?.document,s=o?o.body:e.od.body;return(0,h.dataBind)(e,"shadowRoot",s),s})(i).appendChild(c),m=(0,d.css)(c,s),o.Dom.safeRemove(c),m===(0,a.normalizeCssValue)(s,u)){if(!l)return;v||(0,d.css)(t,s,null),f=g(e,t,f=p.UNSET);return}f=p.CHANGE,v||((0,d.css)(t,s,u),f=g(e,t,f))}}),_=f;break;case"className":case"class":let C;y=_,(0,u.assert)((0,s.isString)(w),"Class name must be a string"),C=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),t.classList.contains(w.toString())?(y=p.UNSET,v||(t.classList.remove(w),0===t.classList.length&&((0,u.attr)(t,"class",null),C(y,t,"class",null)))):(y=p.CHANGE,v||(t.classList.add(w),C(y,t,"class",w))),_=y;break;default:let k;S=_,(0,u.assert)((0,s.isString)(w)||(0,s.isNumber)(w)||(0,s.isBoolean)(w)||null==w,"Attribute value must be a string or number or boolean or null"),k=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),(0,u.attr)(t,m)===w?(v||(0,u.attr)(t,m,null),S=p.UNSET,v||k(S,t,m,w)):(S=p.CHANGE,v||((0,u.attr)(t,m,w),k(S,t,m,w))),_=S}}),_}function g(e,t,i){return(0,u.attr)(t,"style")||((0,u.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(o.Dom.unwrap(t),i=p.UNWRAP)),i}},83207:function(e){e.exports='<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>'},83215:function(e,t,i){"use strict";i.d(t,{innerWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.clientWidth-(parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"))}},83335:function(e,t,i){"use strict";i.d(t,{wrapUnwrappedText:function(){return r}});var n=i(23211),o=i(23175);function r(e,t,i){let r=i.editor,s=i.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,o.isMarker)(a)&&!n.Dom.isTag(a,i.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!n.Dom.isBlock(a.parentNode)&&a.parentNode!==r?a.parentNode:null,!n.Dom.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),u=i.s.createRange();u.setStartBefore(l),u.setEndAfter(c);let d=u.extractContents(),h=s.element(e.element);return h.appendChild(d),n.Dom.safeInsertNode(u,h),e.elementIsBlock&&n.Dom.isEmpty(h)&&!n.Dom.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},83376:function(e,t,i){"use strict";i.d(t,{getBlockWrapper:function(){return function e(t,i,r=n.IS_BLOCK){let s=t,a=i.editor;do{if(!s||s===a)break;if(r.test(s.nodeName)){if(o.Dom.isLeaf(s))return s;return e(s.parentNode,i,/^li$/i)||s}s=s.parentNode}while(s&&s!==a)return null}}});var n=i(81937),o=i(23211)},83389:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},83653:function(e,t,i){"use strict";i.d(t,{isNormalNode:function(){return r}});var n=i(23211),o=i(23175);function r(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,o.isMarker)(e))}},83708:function(e){e.exports={"copy-format":"copyformat"}},83778:function(e){e.exports={"copy-format":"Format kopierenт"}},84041:function(e){e.exports={"Line height":"Vonal magassága"}},84578:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return l}});var n=i(25045),o=i(81937),r=i(57821),s=i(98394),a=i(96127);class l{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){let i=this.__applyMap.get(e)??{};i[t]=!0,this.__applyMap.set(e,i)}get elementIsList(){return!!(this.options.element&&o.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&o.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),(0,a.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"__applyMap",void 0),this.options=e,this.__applyMap=new WeakMap}}},84839:function(e,t,i){"use strict";i.r(t),i.d(t,{autobind:function(){return n.autobind},cache:function(){return o.cache},cacheHTML:function(){return o.cacheHTML},cached:function(){return o.cached},component:function(){return r.component},debounce:function(){return s.debounce},derive:function(){return a.derive},getPropertyDescriptor:function(){return p.getPropertyDescriptor},hook:function(){return l.hook},idle:function(){return c.idle},nonenumerable:function(){return u.nonenumerable},persistent:function(){return d.persistent},throttle:function(){return s.throttle},wait:function(){return h.wait},watch:function(){return p.watch}});var n=i(49574),o=i(51676),r=i(91672),s=i(55184),a=i(24968),l=i(29200),c=i(35718),u=i(41360),d=i(77036),h=i(80840),p=i(68616)},84872:function(e){e.exports={Spellcheck:"Перевірка орфографії"}},85127:function(e){e.exports={"Line height":"Высота линии"}},85305:function(e,t,i){"use strict";i.d(t,{PluginSystem:function(){return h}});var n=i(25045),o=i(81937),r=i(28077),s=i(45664),a=i(28686),l=i(55810),c=i(3050),u=i(25974),d=i(86189);class h{get size(){return this.__items.size}add(e,t){this.__items.set((0,d.normalizeName)(e),t),r.eventEmitter.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,d.normalizeName)(e))}remove(e){this.__items.delete((0,d.normalizeName)(e))}__getFullPluginsList(e){let t=[];return this.__items.forEach((i,n)=>{(!e||e.has(n))&&t.push([n,i])}),t}__init(e){let{extraList:t,disableList:i,filter:n}={extraList:e.o.extraPlugins.map(e=>(0,a.isString)(e)?{name:e}:e),disableList:new Set((0,s.splitArray)(e.o.disablePlugins).map(d.normalizeName)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null},r=new Map,h={},p=new Set;e.__plugins=h;let m=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(n).forEach(([n,o])=>{if(i.has(n)||r.has(n))return;let s=o?.requires;if(s&&(0,a.isArray)(s)&&s.length){if(s.some(e=>i.has(e)))return;if(!s.every(e=>r.has(e)))return void p.add(n)}t=!0;let c=(0,u.makeInstance)(e,o);if(!c){r.set(n,null),p.delete(n);return}(0,l.init)(e,n,o,c,r,p),h[n]=c}),t&&(e.e.fire("updatePlugins"),m())};t&&t.length&&(0,c.loadExtras)(this.__items,e,t,m),m(),e.e.on("beforeDestruct",()=>{Object.keys(h).forEach(t=>{let i=h[t];(0,a.isDestructable)(i)&&i.destruct(e),delete h[t]}),delete e.__plugins}),o.IS_PROD||p.size}wait(e){return new Promise(t=>{if(this.get(e))return t();let i=()=>{t(),r.eventEmitter.off(`plugin:${e}:ready`,i)};r.eventEmitter.on(`plugin:${e}:ready`,i)})}constructor(){(0,n._)(this,"__items",new Map)}}},85325:function(e){e.exports.default=["Skriv noe","Om Jodit","Jodit-redigerer","Jodit brukerveiledning","Inneholder detaljert hjelp for bruk","For informasjon om lisensen, besøk vår nettside:","Kjøp fullversjon","Opphavsrett © XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.","Anker","Åpne i ny fane","Åpne i fullskjerm","Fjern formatering","Endre bakgrunns- eller tekstfarge","Gjør om","Angre","Fet","Kursiv","Sett inn punktliste","Sett inn nummerert liste","Midtstill","Juster","Venstrejuster","Høyrejuster","Sett inn horisontal linje","Sett inn bilde","Sett inn fil","Sett inn YouTube/Vimeo-video","Sett inn lenke","Skriftstørrelse","Skriftfamilie","Sett inn formateringsblokk","Normal","Overskrift 1","Overskrift 2","Overskrift 3","Overskrift 4","Sitat","Kode","Sett inn","Sett inn tabell","Reduser innrykk","Øk innrykk","Velg spesialtegn","Sett inn spesialtegn","Kopier format","Bytt modus (WYSIWYG/HTML)","Marger","topp","høyre","bunn","venstre","Stiler","Klasser","Justering","Høyre","Senter","Venstre","--Ikke satt--","Kilde","Tittel","Alternativ","Lenke","Åpne lenke i ny fane","Bilde","fil","Avansert","Bildeegenskaper","Avbryt","OK","Filutforsker","Feil ved lasting av liste","Feil ved lasting av mapper","Er du sikker?","Skriv inn mappenavn","Opprett mappe","skriv navn","Slipp bilde","Slipp fil","eller klikk","Alternativ tekst","Last opp","Bla gjennom","Bakgrunn","Tekst","Topp","Midt","Bunn","Sett inn kolonne før","Sett inn kolonne etter","Sett inn rad over","Sett inn rad under","Slett tabell","Slett rad","Slett kolonne","Tøm celle","Tegn: %d","Ord: %d","Gjennomstreking","Understreking","hevet skrift","senket skrift","Klipp ut markering","Velg alt","Pause","Søk etter","Erstatt med","Erstatt","Lim inn","Velg innhold å lime inn","kilde","fet","kursiv","pensel","lenke","angre","gjør om","tabell","bilde","viskelær","avsnitt","skriftstørrelse","video","skrift","om redigeringsverktøyet","skriv ut","understreking","gjennomstreking","innrykk","reduser innrykk","full størrelse","krympe","linje","punktliste","nummerert liste","klipp ut","velg alt","Bygge inn kode","Åpne lenke","Rediger lenke","Ingen oppfølging","Fjern lenke","Oppdater","Rediger","Forhåndsvisning","URL","Rediger","Horisontal justering","Filter","Sorter etter endring","Sorter etter navn","Sorter etter størrelse","Legg til mappe","Tilbakestill","Lagre","Lagre som ...","Endre størrelse","Beskjær","Bredde","Høyde","Behold proporsjoner","Ja","Nei","Fjern","Velg","Velg: %s","Vertikal justering","Del","Slå sammen","Legg til kolonne","Legg til rad","Lisens: %s","Slett","Del vertikalt","Del horisontalt","Kantlinje","Koden din ligner HTML. Beholde som HTML?","Lim inn som HTML","Behold","Lim inn som tekst","Lim inn kun tekst","Du kan bare redigere dine egne bilder. Last ned dette bildet på verten?","Bildet har blitt lastet opp til verten!","Palett","Det er ingen filer i denne katalogen","Gi nytt navn","Skriv inn nytt navn","Forhåndsvisning","Last ned","Lim inn fra utklippstavlen","Nettleseren din støtter ikke direkte tilgang til utklippstavlen.","Kopier utvalg","kopi","Grenseradius","Vis alle","Bruk","Vennligst fyll ut dette feltet","Vennligst skriv inn en webadresse","Standard","Sirkel","Prikk","Firkant","Finne","Finn forrige","Finn neste","Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Word-innliming oppdaget","Rens","Sett inn klassenavn","Trykk på Alt for å endre størrelse","Linjehøyde",null,null,"Velg alle"]},85932:function(e,t,i){"use strict";i.d(t,{isString:function(){return o},isStringArray:function(){return r}});var n=i(17312);function o(e){return"string"==typeof e}function r(e){return(0,n.isArray)(e)&&o(e[0])}},86038:function(e,t,i){"use strict";i(5266).Config.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},86122:function(e,t,i){"use strict";i.d(t,{FileBrowserFiles:function(){return o}});var n=i(4099);class o extends n.UIGroup{className(){return"FileBrowserFiles"}}},86189:function(e,t,i){"use strict";i.d(t,{normalizeName:function(){return o}});var n=i(74264);function o(e){return(0,n.kebabCase)(e).toLowerCase()}},86236:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(18855);i(88580);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){r.Dom.safeRemove(this.charCounter),r.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(...e){super(...e),(0,n._)(this,"charCounter",null),(0,n._)(this,"wordCounter",null),(0,n._)(this,"reInit",()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()}),(0,n._)(this,"calc",this.j.async.throttle(()=>{let e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let t;t=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):e.replace((0,o.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter(e=>e.length).length))},this.j.defaultTimeout))}}s.pluginSystem.add("stat",l)},86433:function(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit","Guia de usuário Jodit","contém ajuda detalhada para o uso.","Para informação sobre a licença, por favor visite nosso site:","Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formatação","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","Itálico","Inserir lista não ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir vídeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Citação","Código","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--Não Estabelecido--","Fonte","Título","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avançado","Propriedades da imagem","Cancelar","Ok","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Você tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Upload","Explorar","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar célula","Caracteres: %d","Palavras: %d","Tachado","Sublinhar","sobrescrito","subscrito","Cortar seleção","Selecionar tudo","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conteúdo para colar","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir código","Abrir link","Editar link","Não siga","Remover link","Atualizar","Editar","Visualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Selecionar: %s","Alinhamento vertical","Dividir","Mesclar","Adicionar coluna","Adicionar linha","Licença: %s","Excluir","Dividir vertical","Dividir horizontal","Borda","Seu código é similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Inserir como Texto","Inserir somente o Texto","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","Não há arquivos nesse diretório.","Húngara","Digite um novo nome","preview","Baixar","Colar da área de transferência","O seu navegador não oferece suporte a acesso direto para a área de transferência.","Selecção de cópia","cópia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endereço web","Padrão","Círculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Próxima","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Colado do Word Detectado","Limpar","Insira o nome da classe","Pressione Alt para redimensionamento personalizado",null,null,null,"Tudo"]},86581:function(e){e.exports={symbols:"Sembol"}},86634:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},86878:function(e,t,i){"use strict";i.d(t,{getContentWidth:function(){return n.getContentWidth},getScrollParent:function(){return o.getScrollParent},innerWidth:function(){return r.innerWidth},offset:function(){return a.offset},position:function(){return l.position},size:function(){return s.size}});var n=i(54447),o=i(34027),r=i(83215),s=i(18073),a=i(69143),l=i(23599)},86899:function(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},87061:function(e){e.exports.default=["Бичээд үзээрэй","Jodit-ын талаар ","Jodit програм","Jodit гарын авлага","хэрэглээний талаар дэлгэрэнгүй мэдээллийг агуулна","Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:","Бүрэн хувилбар худалдан авах","Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.","Холбоо барих","Шинэ табаар нээх","Бүтэн дэлгэцээр нээх","Форматыг арилгах","Өнгөөр будах эсвэл текстийн өнгө сонгох","Дахих","Буцаах","Тод","Налуу","Тэмдэгт жагсаалт нэмэх","Дугаарт жагсаалт нэмэх","Голлож байрлуулах","Тэгшитгэн байрлуулах","Зүүнд байрлуулах","Баруунд байрлуулах","Хэвтээ зураас нэмэх","Зураг нэмэх","Файл нэмэх","Youtube/Vimeo видео нэмэх","Холбоос нэмэх","Фонтын хэмжээ","Фонтын бүл","Блок нэмэх","Хэвийн","Гарчиг 1","Гарчиг 2","Гарчиг 3","Гарчиг 4","Ишлэл","Код","Оруулах","Хүснэгт оруулах","Доголын зай хасах","Доголын зай нэмэх","Тусгай тэмдэгт сонгох","Тусгай тэмдэгт нэмэх","Зургийн формат","Горим өөрчлөх","Цаасны зай","Дээрээс","Баруунаас","Доороос","Зүүнээс","CSS стиль","CSS анги","Байрлуулах","Баруун","Төв","Зүүн","--Тодорхойгүй--","Эх үүсвэр","Гарчиг","Алтернатив текст","Холбоос","Холбоосыг шинэ хавтсанд нээх","Зураг","Файл","Дэвшилтэт","Зургийн үзүүлэлт","Цуцлах","Ok","Файлын цонх","Жагсаалт татах үед алдаа гарлаа","Хавтас татах үед алдаа гарлаа","Итгэлтэй байна уу?","Хавтсын нэр оруулах","Хавтас үүсгэх","Нэр бичих","Зураг буулгах","Файл буулгах","эсвэл товш","Алтернатив текст","Байршуулах","Үзэх","Арын зураг","Текст","Дээр","Дунд","Доор","Урд нь багана нэмэх","Ард нь багана нэмэх","Дээр нь мөр нэмэх","Доор нь мөр нэмэх","Хүснэгт устгах","Мөр устгах","Багана устгах","Нүд цэвэрлэх","Тэмдэгт: %d","Үг: %d","Дээгүүр зураас","Доогуур зураас","Дээд индекс","Доод индекс","Сонголтыг таслах","Бүгдийг сонго","Мөрийг таслах","Хайх","Үүгээр солих","Солих","Буулгах","Буулгах агуулгаа сонгоно уу","Эх үүсвэр","Тод","Налуу","Будах","Холбоос","Буцаах","Дахих","Хүснэгт","Зураг","Баллуур","Параграф","Фонтын хэмжээ","Видео","Фонт","Тухай","Хэвлэх","Доогуур зураас","Дээгүүр зураас","Догол нэмэх","Догол багасгах","Бүтэн дэлгэц","Багасга","Хаалт","Тэмдэгт жагсаалт","Дугаарласан жагсаалт","Таслах","Бүгдийг сонго","Код оруулах","Холбоос нээх","Холбоос засах","Nofollow özelliği","Холбоос салгах","Шинэчлэх","Засах","Нүд","URL","Засах","Хэвтээ эгнүүлэх","Шүүх","Сүүлд өөрчлөгдсөнөөр жагсаах","Нэрээр жагсаах","Хэмжээгээр жагсаах","Хавтас нэмэх","Буцаах","Хадгалах","Өөрөөр хадгалах","Хэмжээг өөрчил","Тайрах","Өргөн","Өндөр","Харьцааг хадгал","Тийм","Үгүй","Арилга","Сонго","Сонго: %s","Босоо эгнүүлэх","Задлах","Нэгтгэх","Багана нэмэх","Мөр нэмэх","Лиценз: %s","Устгах","Баганаар задлах","Мөрөөр задлах","Хүрээ","Таны код HTML кодтой адил байна. HTML форматаар үргэлжлүүлэх үү?","HTML байдлаар буулгах","Хадгалах","Текст байдлаар нэмэх","Зөвхөн текст оруулах","Та зөвхөн өөрийн зургуудаа янзлах боломжтой. Энэ зургийг өөр лүүгээ татмаар байна уу?","Зургийг хост руу амжилттай хадгалсан","Палет","Энд ямар нэг файл алга","Шинээр нэрлэх","Шинэ нэр оруулна уу","Урьдчилан харах","Татах","Самбараас хуулах ","Энэ вэб хөтчөөс самбарт хандах эрх алга.","Сонголтыг хуул","Хуулах","Хүрээний радиус","Бүгдийг харуулах","Хэрэгжүүл","Энэ талбарыг бөглөнө үү","Вэб хаягаа оруулна уу","Үндсэн","Дугуй","Цэг","Дөрвөлжин","Хайх","Өмнөхийг ол","Дараагийнхийг ол","Буулгасан агуулга Microsoft Word/Excel форматтай байна. Энэ форматыг хэвээр хадгалах уу эсвэл арилгах уу?","Word байдлаар буулгасан байна","Цэвэрлэх","Бүлгийн нэрээ оруулна уу","Хэмжээсийг шинээр өөчрлөхийн тулд Alt товчин дээр дарна уу",null,null,null,"Бүгдийг"]},87141:function(e){e.exports={symbols:"symbool"}},87329:function(e,t,i){"use strict";i.d(t,{UITextArea:function(){return l}});var n=i(25045),o=i(31635),r=i(84839),s=i(91672),a=i(65273);class l extends a.UIInput{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){let{size:e,resizable:t}=this.state;this.nativeInput.style.resize=t?"auto":"none",this.nativeInput.rows=e??5}constructor(e,t){super(e,t),(0,n._)(this,"state",{...l.defaultState}),Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}}(0,n._)(l,"defaultState",{...a.UIInput.defaultState,size:5,resizable:!0}),(0,o.__decorate)([(0,r.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=(0,o.__decorate)([s.component],l)},87623:function(e){e.exports={"Line height":"Tinggi baris"}},87624:function(e,t,i){"use strict";i.d(t,{SentenceFinder:function(){return o.SentenceFinder},clearSelectionWrappers:function(){return n.clearSelectionWrappers},clearSelectionWrappersFromHTML:function(){return n.clearSelectionWrappersFromHTML},getSelectionWrappers:function(){return n.getSelectionWrappers},highlightTextRanges:function(){return n.highlightTextRanges}});var n=i(19213),o=i(59276)},87908:function(e,t,i){"use strict";var n=i(65946),o=i(29434),r=i(5266),s=i(223),a=i.n(s);r.Config.prototype.defaultLineHeight=null,o.Icon.set("line-height",a()),r.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(e,t,{control:i})=>(0,n.memorizeExec)(e,t,{control:i},e=>e)}},88329:function(e,t,i){"use strict";i.d(t,{Confirm:function(){return s}});var n=i(91565),o=i(53681),r=i(76841);function s(e,t,i){let s=this instanceof r.Dialog?this:new r.Dialog({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);let c=e=>()=>{i&&!1===i(e)||s.close()},u=(0,o.Button)(s,"cancel","Cancel"),d=(0,o.Button)(s,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([d,u]),s.open(a,t||" ",!0,!0),d.focus(),s}},88475:function(e,t,i){"use strict";i.d(t,{toArray:function(){return r}});var n=i(23283),o=i(43379);let r=function(...e){return((0,n.isNativeFunction)(Array.from)?Array.from:(0,o.reset)("Array.from")??Array.from).apply(Array,e)}},88497:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},88580:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.showCharsCounter=!0,n.Config.prototype.countHTMLChars=!1,n.Config.prototype.countTextSpaces=!1,n.Config.prototype.showWordsCounter=!0},88952:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(65946),c=i(91206),u=i(4099),d=i(56490),h=i(4274);i(89873);class p extends c.Plugin{get popup(){return new d.Popup(this.jodit,!1)}get toolbar(){return(0,h.makeCollection)(this.jodit,this.popup)}onClick(e){let t=this.elmsList,i=s.Dom.isTag(e,"img")?e:s.Dom.closest(e,t,this.j.editor);if(i&&this.canShowPopupForType(i.nodeName.toLowerCase()))return this.showPopup(()=>(0,l.position)(i,this.j),i.nodeName.toLowerCase(),i),!1}showPopup(e,t,i){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||i!==this.previousTarget){let e;this.previousTarget=i;let n=this.j.o.popup[t];e=(0,l.isFunction)(n)?n(this.j,i,this.popup.close):n,(0,l.isArray)(e)&&(this.toolbar.build(e,i),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,e=this.toolbar.container),this.popup.setContent(e),this.type=t}return this.popup.open(e),!0}hidePopup(e){this.popup.isOpened&&(!(0,l.isString)(e)||e===this.type)&&this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){let t=this.j.o.popup[e.toLowerCase()];return!this.j.o.readonly&&!!this.j.o.toolbarInline&&!!t&&!this.isExcludedTarget(e)}isExcludedTarget(e){return(0,l.splitArray)(this.j.o.toolbarInlineDisableFor).map(e=>e.toLowerCase()).includes(e.toLowerCase())}afterInit(e){this.j.e.on("getDiffButtons.mobile",t=>{if(this.toolbar===t){let t=this.toolbar.getButtonsNames();return(0,l.toArray)(e.registeredButtons).filter(e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name)).filter(e=>{let i=(0,l.isString)(e)?e:e.name;return i&&"|"!==i&&`
|
|
253
|
+
`}return e}constructor(i,o,r){(0,n._)(this,"css",{});const s=r||{},a=t=>{let i=t.selectorText.split(",").map(e=>e.trim()).sort().join(",");!1==!!this.css[i]&&(this.css[i]={});let n=t.style.cssText.split(/;(?![A-Za-z0-9])/);for(let t=0;t<n.length;t++){if(!n[t])continue;let o=n[t].split(":");o[0]=o[0].trim(),o[1]=o[1].trim(),this.css[i][o[0]]=o[1].replace(/var\(([^)]+)\)/g,(t,i)=>{let[n,o]=i.split(",");return(e.ew.getComputedStyle(e.editor).getPropertyValue(n.trim())||o||t).trim()})}};(()=>{let n=i.innerHeight,r=o.createTreeWalker(e.editor,NodeFilter.SHOW_ELEMENT,()=>NodeFilter.FILTER_ACCEPT);for(;r.nextNode();){let e=r.currentNode;if(e.getBoundingClientRect().top<n||s.scanFullPage){let i=t(e);if(i)for(let e=0;e<i.length;e++)a(i[e])}}})()}}try{return new i(e.ew,e.ed,{scanFullPage:!0}).generateCSS()}catch{}return""}},81582:function(e,t,i){"use strict";var n=i(31635),o=i(81937),r=i(84839),s=i(28077),a=i(91206);i(69023);var l=i(2923);class c extends a.Plugin{afterInit(e){}__onTab(e){if(e.key===o.KEY_TAB&&this.__onShift(e.shiftKey))return!1}__onCommand(e){if(("indent"===e||"outdent"===e)&&this.__onShift("outdent"===e))return!1}__onShift(e){let t=(0,l.onTabInsideLi)(this.j,e);return t&&this.j.e.fire("afterTab",e),t}beforeDestruct(e){}}(0,n.__decorate)([(0,r.watch)(":keydown.tab")],c.prototype,"__onTab",null),(0,n.__decorate)([(0,r.watch)(":beforeCommand.tab")],c.prototype,"__onCommand",null),s.pluginSystem.add("tab",c)},81875:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="m240.443652,220.45085l-47.410809,0l0,-10.342138c13.89973,-8.43655 25.752896,-19.844464 34.686646,-33.469923c11.445525,-17.455846 17.496072,-37.709239 17.496072,-58.570077c0,-59.589197 -49.208516,-108.068714 -109.693558,-108.068714s-109.69263,48.479517 -109.69263,108.069628c0,20.860839 6.050547,41.113316 17.497001,58.570077c8.93375,13.625459 20.787845,25.032458 34.686646,33.469008l0,10.342138l-47.412666,0c-10.256959,0 -18.571354,8.191376 -18.571354,18.296574c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.98402,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574l0,-39.496814c0,-7.073455 -4.137698,-13.51202 -10.626529,-16.537358c-25.24497,-11.772016 -41.557118,-37.145704 -41.557118,-64.643625c0,-39.411735 32.545369,-71.476481 72.549922,-71.476481c40.004553,0 72.550851,32.064746 72.550851,71.476481c0,27.497006 -16.312149,52.87161 -41.557118,64.643625c-6.487902,3.026253 -10.6256,9.464818 -10.6256,16.537358l0,39.496814c0,10.105198 8.314395,18.296574 18.571354,18.296574l65.982163,0c10.256959,0 18.571354,-8.191376 18.571354,-18.296574c0,-10.105198 -8.314395,-18.296574 -18.571354,-18.296574z"/> </svg>'},81937:function(e,t,i){"use strict";i.r(t),i.d(t,{ACCURACY:function(){return V},APP_VERSION:function(){return n},BASE_PATH:function(){return eh},BASE_PATH_IS_MIN:function(){return ep},BR:function(){return W},CLIPBOARD_ID:function(){return eg},COMMAND_KEYS:function(){return U},EMULATE_DBLCLICK_TIMEOUT:function(){return et},ES:function(){return o},FAT_MODE:function(){return c},HOMEPAGE:function(){return u},INSEPARABLE_TAGS:function(){return T},INSERT_AS_HTML:function(){return ei},INSERT_AS_TEXT:function(){return eo},INSERT_CLEAR_HTML:function(){return en},INSERT_ONLY_TEXT:function(){return er},INVISIBLE_SPACE:function(){return p},INVISIBLE_SPACE_REG_EXP:function(){return f},INVISIBLE_SPACE_REG_EXP_END:function(){return g},INVISIBLE_SPACE_REG_EXP_START:function(){return _},IS_BLOCK:function(){return C},IS_ES_MODERN:function(){return r},IS_ES_NEXT:function(){return s},IS_IE:function(){return X},IS_INLINE:function(){return k},IS_MAC:function(){return ea},IS_PROD:function(){return a},IS_TEST:function(){return l},KEY_ALIASES:function(){return el},KEY_ALT:function(){return P},KEY_BACKSPACE:function(){return j},KEY_DELETE:function(){return q},KEY_DOWN:function(){return R},KEY_ENTER:function(){return L},KEY_ESC:function(){return A},KEY_F3:function(){return F},KEY_LEFT:function(){return M},KEY_META:function(){return D},KEY_RIGHT:function(){return B},KEY_SPACE:function(){return O},KEY_TAB:function(){return z},KEY_UP:function(){return N},LIST_TAGS:function(){return E},MARKER_CLASS:function(){return ee},MODE_SOURCE:function(){return K},MODE_SPLIT:function(){return G},MODE_WYSIWYG:function(){return Y},NBSP_SPACE:function(){return m},NEARBY:function(){return H},NO_EMPTY_TAGS:function(){return x},PARAGRAPH:function(){return $},PASSIVE_EVENTS:function(){return ev},SAFE_COUNT_CHANGE_CALL:function(){return es},SET_TEST:function(){return d},SOURCE_CONSUMER:function(){return e_},SPACE_REG_EXP:function(){return v},SPACE_REG_EXP_END:function(){return y},SPACE_REG_EXP_START:function(){return b},TEMP_ATTR:function(){return em},TEXT_HTML:function(){return Z},TEXT_PLAIN:function(){return J},TEXT_RTF:function(){return Q},TOKENS:function(){return h},globalDocument:function(){return w},globalWindow:function(){return S},lang:function(){return ef}});let n="4.8.5",o="es2021",r=!0,s=!0,a=!0,l=!1,c=!1,u="https://xdsoft.net/jodit/",d=()=>l=!0,h={},p="\uFEFF",m=" ",f=()=>/[\uFEFF]/g,g=()=>/[\uFEFF]+$/g,_=()=>/^[\uFEFF]+/g,v=()=>/[\s\n\t\r\uFEFF\u200b]+/g,b=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,S="u">typeof window?window:void 0,w="u">typeof document?document:void 0,C=/^(ADDRESS|ARTICLE|ASIDE|BLOCKQUOTE|CANVAS|DD|DFN|DIV|DL|DT|FIELDSET|FIGCAPTION|FIGURE|FOOTER|FORM|H[1-6]|HEADER|HGROUP|HR|LI|MAIN|NAV|NOSCRIPT|OUTPUT|P|PRE|RUBY|SCRIPT|STYLE|OBJECT|OL|SECTION|IFRAME|JODIT|JODIT-MEDIA|UL|TR|TD|TH|TBODY|THEAD|TFOOT|TABLE|BODY|HTML|VIDEO)$/i,k=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,E=new Set(["ul","ol"]),I=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],T=new Set([...I,"br","hr"]),x=new Set(I),D="Meta",j="Backspace",z="Tab",L="Enter",A="Escape",P="Alt",M="ArrowLeft",N="ArrowUp",B="ArrowRight",R="ArrowDown",O="Space",q="Delete",F="F3",H=5,V=10,U=[D,j,q,N,R,B,M,L,A,F,z],W="br",$="p",Y=1,K=2,G=3,X="u">typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),J=X?"text":"text/plain",Z=X?"html":"text/html",Q=X?"rtf":"text/rtf",ee="jodit-selection_marker",et=300,ei="insert_as_html",en="insert_clear_html",eo="insert_as_text",er="insert_only_text",es=10,ea=void 0!==S&&/Mac|iPod|iPhone|iPad/.test(S.navigator.platform),el={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:ea?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ec=e=>{let t=e.split("/");return/\.js/.test(t[t.length-1])?{basePath:t.slice(0,t.length-1).join("/")+"/",isMin:!0}:{basePath:e,isMin:!0}},{basePath:eu,isMin:ed}=(()=>{if("u"<typeof document)return{basePath:"",isMin:!0};let e=w.currentScript;if(e)return ec(e.src);let t=w.querySelectorAll("script[src]");return t&&t.length?ec(t[t.length-1].src):ec(S.location.href)})(),eh=eu,ep=ed,em="data-jodit-temp",ef={},eg="clipboard",e_="source-consumer",ev=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},81987:function(e,t,i){"use strict";i.d(t,{Mods:function(){return o}});var n=i(18303);class o{afterSetMod(e,t){}setMod(e,t,i){e=e.toLowerCase();let o=this.mods[e];if(o===t)return this;let r=`${this.componentName}_${e}_`,s=(i||this.container).classList;return null!=o&&s.remove(`${r}${o.toString().toLowerCase()}`),(0,n.isVoid)(t)||""===t||s.add(`${r}${t.toString().toLowerCase()}`),this.mods[e]=t,this.afterSetMod(e,t),this}getMod(e){return this.mods[e]??null}}},82147:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.limitWords=!1,n.Config.prototype.limitChars=!1,n.Config.prototype.limitHTML=!1},82166:function(e,t,i){"use strict";function n(e){return -1!==e.search(/<meta.*?Microsoft Excel\s[\d].*?>/)||-1!==e.search(/<meta.*?Microsoft Word\s[\d].*?>/)||-1!==e.search(/style="[^"]*mso-/)&&-1!==e.search(/<font/)}i.d(t,{isHtmlFromWord:function(){return n}})},82495:function(e,t,i){"use strict";i.d(t,{createSourceEditor:function(){return r}});var n=i(65946),o=i(8105);function r(e,t,i,r,s){let a;if((0,n.isFunction)(e))a=e(t);else switch(e){case"ace":if(!t.o.shadowRoot){a=new o.AceEditor(t,i,r,s);break}default:a=new o.TextAreaEditor(t,i,r,s)}return a.init(t),a.onReadyAlways(()=>{a.setReadOnly(t.o.readonly)}),a}},82658:function(e,t,i){"use strict";i.d(t,{applyStyles:function(){return n.applyStyles},cleanFromWord:function(){return o.cleanFromWord},htmlspecialchars:function(){return r.htmlspecialchars},nl2br:function(){return s.nl2br},safeHTML:function(){return a.safeHTML},sanitizeHTMLElement:function(){return a.sanitizeHTMLElement},stripTags:function(){return l.stripTags}});var n=i(30893),o=i(1277),r=i(6609),s=i(48838),a=i(48155),l=i(22852)},82794:function(e,t,i){"use strict";i.d(t,{toggleAttributes:function(){return f}});var n=i(81937),o=i(23211),r=i(28077),s=i(28686),a=i(19147),l=i(18073),c=i(74264),u=i(93640),d=i(80991),h=i(36400),p=i(98394);let m="toggleAttributes";function f(e,t,i,_,v=!1){if(!v&&e.isApplied(t,m))return _;v||e.setApplied(t,m);let{attributes:b}=e.options;return b&&(0,l.size)(b)>0&&Object.keys(b).forEach(m=>{var f,y,S;let w=b[m];switch(m){case"style":f=_,(0,u.assert)((0,s.isPlainObject)(w)&&(0,l.size)(w),"Style must be an object"),Object.keys(w).forEach(s=>{let l=t.style.getPropertyValue((0,c.kebabCase)(s)),u=w[s];if(""!==l||null!=u){let c,m;if((c=i.create.element(t.tagName.toLowerCase())).style.cssText=t.style.cssText,(function(e){if(void 0!==(0,h.dataBind)(e,"shadowRoot"))return(0,h.dataBind)(e,"shadowRoot");let t=(0,r.getContainer)(e),i=n.globalDocument.createElement("iframe");(0,d.css)(i,{width:0,height:0,position:"absolute",border:0}),i.src="about:blank",t.appendChild(i);let o=i.contentWindow?.document,s=o?o.body:e.od.body;return(0,h.dataBind)(e,"shadowRoot",s),s})(i).appendChild(c),m=(0,d.css)(c,s),o.Dom.safeRemove(c),m===(0,a.normalizeCssValue)(s,u)){if(!l)return;v||(0,d.css)(t,s,null),f=g(e,t,f=p.UNSET);return}f=p.CHANGE,v||((0,d.css)(t,s,u),f=g(e,t,f))}}),_=f;break;case"className":case"class":let C;y=_,(0,u.assert)((0,s.isString)(w),"Class name must be a string"),C=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),t.classList.contains(w.toString())?(y=p.UNSET,v||(t.classList.remove(w),0===t.classList.length&&((0,u.attr)(t,"class",null),C(y,t,"class",null)))):(y=p.CHANGE,v||(t.classList.add(w),C(y,t,"class",w))),_=y;break;default:let k;S=_,(0,u.assert)((0,s.isString)(w)||(0,s.isNumber)(w)||(0,s.isBoolean)(w)||null==w,"Attribute value must be a string or number or boolean or null"),k=i.e.fire.bind(i.e,`${p._PREFIX}AfterToggleAttribute`),(0,u.attr)(t,m)===w?(v||(0,u.attr)(t,m,null),S=p.UNSET,v||k(S,t,m,w)):(S=p.CHANGE,v||((0,u.attr)(t,m,w),k(S,t,m,w))),_=S}}),_}function g(e,t,i){return(0,u.attr)(t,"style")||((0,u.attr)(t,"style",null),t.tagName.toLowerCase()===e.defaultTag&&(o.Dom.unwrap(t),i=p.UNWRAP)),i}},83207:function(e){e.exports='<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>'},83215:function(e,t,i){"use strict";i.d(t,{innerWidth:function(){return n}});let n=(e,t)=>{let i=t.getComputedStyle(e);return e.clientWidth-(parseFloat(i.paddingLeft||"0")+parseFloat(i.paddingRight||"0"))}},83335:function(e,t,i){"use strict";i.d(t,{wrapUnwrappedText:function(){return r}});var n=i(23211),o=i(23175);function r(e,t,i){let r=i.editor,s=i.createInside,a=(e,t="previousSibling")=>{let s=e,a=e;for(;a&&!(0,o.isMarker)(a)&&!n.Dom.isTag(a,i.o.enter)&&(s=a,a=a[t]?a[t]:a.parentNode&&!n.Dom.isBlock(a.parentNode)&&a.parentNode!==r?a.parentNode:null,!n.Dom.isBlock(a)););return s},l=a(t),c=a(t,"nextSibling"),u=i.s.createRange();u.setStartBefore(l),u.setEndAfter(c);let d=u.extractContents(),h=s.element(e.element);return h.appendChild(d),n.Dom.safeInsertNode(u,h),e.elementIsBlock&&n.Dom.isEmpty(h)&&!n.Dom.isTag(h.firstElementChild,"br")&&h.appendChild(s.element("br")),h}},83376:function(e,t,i){"use strict";i.d(t,{getBlockWrapper:function(){return function e(t,i,r=n.IS_BLOCK){let s=t,a=i.editor;do{if(!s||s===a)break;if(r.test(s.nodeName)){if(o.Dom.isLeaf(s))return s;return e(s.parentNode,i,/^li$/i)||s}s=s.parentNode}while(s&&s!==a)return null}}});var n=i(81937),o=i(23211)},83389:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M176 223q-37-2-45-4l-3-88q13-1 40-1 60 0 112 4 132 7 166 7 86 0 168-3 116-4 146-5 56 0 86-2l-1 14 2 64v9q-60 9-124 9-60 0-79 25-13 14-13 132 0 13 .5 32.5t.5 25.5l1 229 14 280q6 124 51 202 35 59 96 92 88 47 177 47 104 0 191-28 56-18 99-51 48-36 65-64 36-56 53-114 21-73 21-229 0-79-3.5-128t-11-122.5-13.5-159.5l-4-59q-5-67-24-88-34-35-77-34l-100 2-14-3 2-86h84l205 10q76 3 196-10l18 2q6 38 6 51 0 7-4 31-45 12-84 13-73 11-79 17-15 15-15 41 0 7 1.5 27t1.5 31q8 19 22 396 6 195-15 304-15 76-41 122-38 65-112 123-75 57-182 89-109 33-255 33-167 0-284-46-119-47-179-122-61-76-83-195-16-80-16-237v-333q0-188-17-213-25-36-147-39zm1488 1409v-64q0-14-9-23t-23-9h-1472q-14 0-23 9t-9 23v64q0 14 9 23t23 9h1472q14 0 23-9t9-23z"/> </svg>'},83653:function(e,t,i){"use strict";i.d(t,{isNormalNode:function(){return r}});var n=i(23211),o=i(23175);function r(e){return!!(e&&!n.Dom.isEmptyTextNode(e)&&!n.Dom.isTemporary(e)&&!(0,o.isMarker)(e))}},83708:function(e){e.exports={"copy-format":"copyformat"}},83778:function(e){e.exports={"copy-format":"Format kopierenт"}},84041:function(e){e.exports={"Line height":"Vonal magassága"}},84578:function(e,t,i){"use strict";i.d(t,{CommitStyle:function(){return l}});var n=i(25045),o=i(81937),r=i(57821),s=i(98394),a=i(96127);class l{isApplied(e,t){let i=this.__applyMap.get(e);return!!i&&i[t]}setApplied(e,t){let i=this.__applyMap.get(e)??{};i[t]=!0,this.__applyMap.set(e,i)}get elementIsList(){return!!(this.options.element&&o.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!!(this.options.element&&o.IS_BLOCK.test(this.options.element))}get isElementCommit(){return!!(this.options.element&&this.options.element!==this.options.defaultTag)}get defaultTag(){return this.options.defaultTag?this.options.defaultTag:this.elementIsBlock?"p":"span"}get elementIsDefault(){return this.element===this.defaultTag}apply(e){let{hooks:t}=this.options,i=t?Object.keys(t):[];try{i.forEach(i=>{e.e.on((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),(0,a.ApplyStyle)(e,this)}finally{i.forEach(i=>{e.e.off((0,r.camelCase)(s._PREFIX+"_"+i),t[i])}),this.__applyMap=new WeakMap}e.synchronizeValues(),e.e.fire("afterCommitStyle",this)}constructor(e){(0,n._)(this,"options",void 0),(0,n._)(this,"__applyMap",void 0),this.options=e,this.__applyMap=new WeakMap}}},84839:function(e,t,i){"use strict";i.r(t),i.d(t,{autobind:function(){return n.autobind},cache:function(){return o.cache},cacheHTML:function(){return o.cacheHTML},cached:function(){return o.cached},component:function(){return r.component},debounce:function(){return s.debounce},derive:function(){return a.derive},getPropertyDescriptor:function(){return p.getPropertyDescriptor},hook:function(){return l.hook},idle:function(){return c.idle},nonenumerable:function(){return u.nonenumerable},persistent:function(){return d.persistent},throttle:function(){return s.throttle},wait:function(){return h.wait},watch:function(){return p.watch}});var n=i(49574),o=i(51676),r=i(91672),s=i(55184),a=i(24968),l=i(29200),c=i(35718),u=i(41360),d=i(77036),h=i(80840),p=i(68616)},84872:function(e){e.exports={Spellcheck:"Перевірка орфографії"}},85127:function(e){e.exports={"Line height":"Высота линии"}},85305:function(e,t,i){"use strict";i.d(t,{PluginSystem:function(){return h}});var n=i(25045),o=i(81937),r=i(28077),s=i(45664),a=i(28686),l=i(55810),c=i(3050),u=i(25974),d=i(86189);class h{get size(){return this.__items.size}add(e,t){this.__items.set((0,d.normalizeName)(e),t),r.eventEmitter.fire(`plugin:${e}:ready`)}get(e){return this.__items.get((0,d.normalizeName)(e))}remove(e){this.__items.delete((0,d.normalizeName)(e))}__getFullPluginsList(e){let t=[];return this.__items.forEach((i,n)=>{(!e||e.has(n))&&t.push([n,i])}),t}__init(e){let{extraList:t,disableList:i,filter:n}={extraList:e.o.extraPlugins.map(e=>(0,a.isString)(e)?{name:e}:e),disableList:new Set((0,s.splitArray)(e.o.disablePlugins).map(d.normalizeName)),filter:e.o.safeMode?new Set(e.o.safePluginsList):null},r=new Map,h={},p=new Set;e.__plugins=h;let m=()=>{if(e.isInDestruct)return;let t=!1;this.__getFullPluginsList(n).forEach(([n,o])=>{if(i.has(n)||r.has(n))return;let s=o?.requires;if(s&&(0,a.isArray)(s)&&s.length){if(s.some(e=>i.has(e)))return;if(!s.every(e=>r.has(e)))return void p.add(n)}t=!0;let c=(0,u.makeInstance)(e,o);if(!c){r.set(n,null),p.delete(n);return}(0,l.init)(e,n,o,c,r,p),h[n]=c}),t&&(e.e.fire("updatePlugins"),m())};t&&t.length&&(0,c.loadExtras)(this.__items,e,t,m),m(),e.e.on("beforeDestruct",()=>{Object.keys(h).forEach(t=>{let i=h[t];(0,a.isDestructable)(i)&&i.destruct(e),delete h[t]}),delete e.__plugins}),o.IS_PROD||p.size}wait(e){return new Promise(t=>{if(this.get(e))return t();let i=()=>{t(),r.eventEmitter.off(`plugin:${e}:ready`,i)};r.eventEmitter.on(`plugin:${e}:ready`,i)})}constructor(){(0,n._)(this,"__items",new Map)}}},85325:function(e){e.exports.default=["Skriv noe","Om Jodit","Jodit-redigerer","Jodit brukerveiledning","Inneholder detaljert hjelp for bruk","For informasjon om lisensen, besøk vår nettside:","Kjøp fullversjon","Opphavsrett © XDSoft.net - Chupurnov Valeriy. Alle rettigheter forbeholdt.","Anker","Åpne i ny fane","Åpne i fullskjerm","Fjern formatering","Endre bakgrunns- eller tekstfarge","Gjør om","Angre","Fet","Kursiv","Sett inn punktliste","Sett inn nummerert liste","Midtstill","Juster","Venstrejuster","Høyrejuster","Sett inn horisontal linje","Sett inn bilde","Sett inn fil","Sett inn YouTube/Vimeo-video","Sett inn lenke","Skriftstørrelse","Skriftfamilie","Sett inn formateringsblokk","Normal","Overskrift 1","Overskrift 2","Overskrift 3","Overskrift 4","Sitat","Kode","Sett inn","Sett inn tabell","Reduser innrykk","Øk innrykk","Velg spesialtegn","Sett inn spesialtegn","Kopier format","Bytt modus (WYSIWYG/HTML)","Marger","topp","høyre","bunn","venstre","Stiler","Klasser","Justering","Høyre","Senter","Venstre","--Ikke satt--","Kilde","Tittel","Alternativ","Lenke","Åpne lenke i ny fane","Bilde","fil","Avansert","Bildeegenskaper","Avbryt","OK","Filutforsker","Feil ved lasting av liste","Feil ved lasting av mapper","Er du sikker?","Skriv inn mappenavn","Opprett mappe","skriv navn","Slipp bilde","Slipp fil","eller klikk","Alternativ tekst","Last opp","Bla gjennom","Bakgrunn","Tekst","Topp","Midt","Bunn","Sett inn kolonne før","Sett inn kolonne etter","Sett inn rad over","Sett inn rad under","Slett tabell","Slett rad","Slett kolonne","Tøm celle","Tegn: %d","Ord: %d","Gjennomstreking","Understreking","hevet skrift","senket skrift","Klipp ut markering","Velg alt","Pause","Søk etter","Erstatt med","Erstatt","Lim inn","Velg innhold å lime inn","kilde","fet","kursiv","pensel","lenke","angre","gjør om","tabell","bilde","viskelær","avsnitt","skriftstørrelse","video","skrift","om redigeringsverktøyet","skriv ut","understreking","gjennomstreking","innrykk","reduser innrykk","full størrelse","krympe","linje","punktliste","nummerert liste","klipp ut","velg alt","Bygge inn kode","Åpne lenke","Rediger lenke","Ingen oppfølging","Fjern lenke","Oppdater","Rediger","Forhåndsvisning","URL","Rediger","Horisontal justering","Filter","Sorter etter endring","Sorter etter navn","Sorter etter størrelse","Legg til mappe","Tilbakestill","Lagre","Lagre som ...","Endre størrelse","Beskjær","Bredde","Høyde","Behold proporsjoner","Ja","Nei","Fjern","Velg","Velg: %s","Vertikal justering","Del","Slå sammen","Legg til kolonne","Legg til rad","Lisens: %s","Slett","Del vertikalt","Del horisontalt","Kantlinje","Koden din ligner HTML. Beholde som HTML?","Lim inn som HTML","Behold","Lim inn som tekst","Lim inn kun tekst","Du kan bare redigere dine egne bilder. Last ned dette bildet på verten?","Bildet har blitt lastet opp til verten!","Palett","Det er ingen filer i denne katalogen","Gi nytt navn","Skriv inn nytt navn","Forhåndsvisning","Last ned","Lim inn fra utklippstavlen","Nettleseren din støtter ikke direkte tilgang til utklippstavlen.","Kopier utvalg","kopi","Grenseradius","Vis alle","Bruk","Vennligst fyll ut dette feltet","Vennligst skriv inn en webadresse","Standard","Sirkel","Prikk","Firkant","Finne","Finn forrige","Finn neste","Innholdet du limer inn kommer fra et Microsoft Word/Excel-dokument. Vil du beholde formatet eller rense det?","Word-innliming oppdaget","Rens","Sett inn klassenavn","Trykk på Alt for å endre størrelse","Linjehøyde",null,null,"Velg alle"]},85932:function(e,t,i){"use strict";i.d(t,{isString:function(){return o},isStringArray:function(){return r}});var n=i(17312);function o(e){return"string"==typeof e}function r(e){return(0,n.isArray)(e)&&o(e[0])}},86038:function(e,t,i){"use strict";i(5266).Config.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},86122:function(e,t,i){"use strict";i.d(t,{FileBrowserFiles:function(){return o}});var n=i(4099);class o extends n.UIGroup{className(){return"FileBrowserFiles"}}},86189:function(e,t,i){"use strict";i.d(t,{normalizeName:function(){return o}});var n=i(74264);function o(e){return(0,n.kebabCase)(e).toLowerCase()}},86236:function(e,t,i){"use strict";var n=i(25045),o=i(81937),r=i(23211),s=i(28077),a=i(18855);i(88580);class l extends a.Plugin{afterInit(){this.charCounter=this.j.c.span(),this.wordCounter=this.j.c.span(),this.j.e.on("afterInit changePlace afterAddPlace",this.reInit),this.reInit()}beforeDestruct(){r.Dom.safeRemove(this.charCounter),r.Dom.safeRemove(this.wordCounter),this.j.e.off("afterInit changePlace afterAddPlace",this.reInit),this.charCounter=null,this.wordCounter=null}constructor(...e){super(...e),(0,n._)(this,"charCounter",null),(0,n._)(this,"wordCounter",null),(0,n._)(this,"reInit",()=>{this.j.o.showCharsCounter&&this.charCounter&&this.j.statusbar.append(this.charCounter,!0),this.j.o.showWordsCounter&&this.wordCounter&&this.j.statusbar.append(this.wordCounter,!0),this.j.e.off("change keyup",this.calc).on("change keyup",this.calc),this.calc()}),(0,n._)(this,"calc",this.j.async.throttle(()=>{let e=this.j.text;if(this.j.o.showCharsCounter&&this.charCounter){let t;t=this.j.o.countHTMLChars?this.j.value:this.j.o.countTextSpaces?e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").replace(/[\r\n]/g,""):e.replace((0,o.SPACE_REG_EXP)(),""),this.charCounter.textContent=this.j.i18n("Chars: %d",t.length)}this.j.o.showWordsCounter&&this.wordCounter&&(this.wordCounter.textContent=this.j.i18n("Words: %d",e.replace((0,o.INVISIBLE_SPACE_REG_EXP)(),"").split((0,o.SPACE_REG_EXP)()).filter(e=>e.length).length))},this.j.defaultTimeout))}}s.pluginSystem.add("stat",l)},86433:function(e){e.exports.default=["Escreva algo...","Sobre o Jodit","Editor Jodit","Guia de usuário Jodit","contém ajuda detalhada para o uso.","Para informação sobre a licença, por favor visite nosso site:","Compre a versão completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos os direitos reservados.","Link","Abrir em nova aba","Abrir editor em tela cheia","Limpar formatação","Cor de preenchimento ou cor do texto","Refazer","Desfazer","Negrito","Itálico","Inserir lista não ordenada","Inserir lista ordenada","Centralizar","Justificar","Alinhar à Esquerda","Alinhar à Direita","Inserir linha horizontal","Inserir imagem","Inserir arquivo","Inserir vídeo do Youtube/vimeo","Inserir link","Tamanho da letra","Fonte","Inserir bloco","Normal","Cabeçalho 1","Cabeçalho 2","Cabeçalho 3","Cabeçalho 4","Citação","Código","Inserir","Inserir tabela","Diminuir recuo","Aumentar recuo","Selecionar caractere especial","Inserir caractere especial","Copiar formato","Mudar modo","Margens","cima","direta","baixo","esquerda","Estilos CSS","Classes CSS","Alinhamento","Direita","Centro","Esquerda","--Não Estabelecido--","Fonte","Título","Texto Alternativo","Link","Abrir link em nova aba","Imagem","Arquivo","Avançado","Propriedades da imagem","Cancelar","Ok","Procurar arquivo","Erro ao carregar a lista","Erro ao carregar as pastas","Você tem certeza?","Escreva o nome da pasta","Criar pasta","Escreva seu nome","Soltar imagem","Soltar arquivo","ou clique","Texto alternativo","Upload","Explorar","Fundo","Texto","Cima","Meio","Baixo","Inserir coluna antes","Inserir coluna depois","Inserir linha acima","Inserir linha abaixo","Excluir tabela","Excluir linha","Excluir coluna","Limpar célula","Caracteres: %d","Palavras: %d","Tachado","Sublinhar","sobrescrito","subscrito","Cortar seleção","Selecionar tudo","Pausa","Procurar por","Substituir com","Substituir","Colar","Escolher conteúdo para colar","HTML","negrito","itálico","pincel","link","desfazer","refazer","tabela","imagem","apagar","parágrafo","tamanho da letra","vídeo","fonte","Sobre de","Imprimir","sublinhar","tachado","recuar","diminuir recuo","Tamanho completo","diminuir","linha horizontal","lista não ordenada","lista ordenada","Cortar","Selecionar tudo","Incluir código","Abrir link","Editar link","Não siga","Remover link","Atualizar","Editar","Visualizar","URL","Editar","Alinhamento horizontal","filtrar","Ordenar por modificação","Ordenar por nome","Ordenar por tamanho","Adicionar pasta","Resetar","Salvar","Salvar como...","Redimensionar","Recortar","Largura","Altura","Manter a proporção","Sim","Não","Remover","Selecionar","Selecionar: %s","Alinhamento vertical","Dividir","Mesclar","Adicionar coluna","Adicionar linha","Licença: %s","Excluir","Dividir vertical","Dividir horizontal","Borda","Seu código é similar ao HTML. Manter como HTML?","Colar como HTML?","Manter","Inserir como Texto","Inserir somente o Texto","Você só pode editar suas próprias imagens. Baixar essa imagem pro servidor?","A imagem foi enviada com sucesso para o servidor!","Palette","Não há arquivos nesse diretório.","Húngara","Digite um novo nome","preview","Baixar","Colar da área de transferência","O seu navegador não oferece suporte a acesso direto para a área de transferência.","Selecção de cópia","cópia","Border radius","Mostrar todos os","Aplicar","Por favor, preencha este campo","Por favor introduza um endereço web","Padrão","Círculo","Ponto","Quadro","Encontrar","Encontrar Anteriores","Localizar Próxima","O conteúdo colado veio de um documento Microsoft Word/Excel. Você deseja manter o formato ou limpa-lo?","Colado do Word Detectado","Limpar","Insira o nome da classe","Pressione Alt para redimensionamento personalizado",null,null,null,"Tudo"]},86581:function(e){e.exports={symbols:"Sembol"}},86634:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 128 128" xml:space="preserve"> <polygon points="112.4560547,23.3203125 112.4560547,75.8154297 31.4853516,75.8154297 31.4853516,61.953125 16.0131836,72.6357422 0.5410156,83.3164063 16.0131836,93.9990234 31.4853516,104.6796875 31.4853516,90.8183594 112.4560547,90.8183594 112.4560547,90.8339844 127.4589844,90.8339844 127.4589844,23.3203125"/> </svg>'},86878:function(e,t,i){"use strict";i.d(t,{getContentWidth:function(){return n.getContentWidth},getScrollParent:function(){return o.getScrollParent},innerWidth:function(){return r.innerWidth},offset:function(){return a.offset},position:function(){return l.position},size:function(){return s.size}});var n=i(54447),o=i(34027),r=i(83215),s=i(18073),a=i(69143),l=i(23599)},86899:function(e){e.exports='<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"> <path stroke-width="0" d="M10.5 20H2a2 2 0 0 1-2-2V6c0-1.1.9-2 2-2h1V3l2.03-.4a3 3 0 0 1 5.94 0L13 3v1h1a2 2 0 0 1 2 2v1h-2V6h-1v1H3V6H2v12h5v2h3.5zM8 4a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm2 4h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-8a2 2 0 0 1-2-2v-8c0-1.1.9-2 2-2zm0 2v8h8v-8h-8z"/> </svg>'},87061:function(e){e.exports.default=["Бичээд үзээрэй","Jodit-ын талаар ","Jodit програм","Jodit гарын авлага","хэрэглээний талаар дэлгэрэнгүй мэдээллийг агуулна","Лицензийн мэдээллийг манай вэб хуудаснаас авна уу:","Бүрэн хувилбар худалдан авах","Зохиогчийн эрх хамгаалагдсан © XDSoft.net - Chupurnov Valeriy. Бүх эрхийг эзэмшинэ.","Холбоо барих","Шинэ табаар нээх","Бүтэн дэлгэцээр нээх","Форматыг арилгах","Өнгөөр будах эсвэл текстийн өнгө сонгох","Дахих","Буцаах","Тод","Налуу","Тэмдэгт жагсаалт нэмэх","Дугаарт жагсаалт нэмэх","Голлож байрлуулах","Тэгшитгэн байрлуулах","Зүүнд байрлуулах","Баруунд байрлуулах","Хэвтээ зураас нэмэх","Зураг нэмэх","Файл нэмэх","Youtube/Vimeo видео нэмэх","Холбоос нэмэх","Фонтын хэмжээ","Фонтын бүл","Блок нэмэх","Хэвийн","Гарчиг 1","Гарчиг 2","Гарчиг 3","Гарчиг 4","Ишлэл","Код","Оруулах","Хүснэгт оруулах","Доголын зай хасах","Доголын зай нэмэх","Тусгай тэмдэгт сонгох","Тусгай тэмдэгт нэмэх","Зургийн формат","Горим өөрчлөх","Цаасны зай","Дээрээс","Баруунаас","Доороос","Зүүнээс","CSS стиль","CSS анги","Байрлуулах","Баруун","Төв","Зүүн","--Тодорхойгүй--","Эх үүсвэр","Гарчиг","Алтернатив текст","Холбоос","Холбоосыг шинэ хавтсанд нээх","Зураг","Файл","Дэвшилтэт","Зургийн үзүүлэлт","Цуцлах","Ok","Файлын цонх","Жагсаалт татах үед алдаа гарлаа","Хавтас татах үед алдаа гарлаа","Итгэлтэй байна уу?","Хавтсын нэр оруулах","Хавтас үүсгэх","Нэр бичих","Зураг буулгах","Файл буулгах","эсвэл товш","Алтернатив текст","Байршуулах","Үзэх","Арын зураг","Текст","Дээр","Дунд","Доор","Урд нь багана нэмэх","Ард нь багана нэмэх","Дээр нь мөр нэмэх","Доор нь мөр нэмэх","Хүснэгт устгах","Мөр устгах","Багана устгах","Нүд цэвэрлэх","Тэмдэгт: %d","Үг: %d","Дээгүүр зураас","Доогуур зураас","Дээд индекс","Доод индекс","Сонголтыг таслах","Бүгдийг сонго","Мөрийг таслах","Хайх","Үүгээр солих","Солих","Буулгах","Буулгах агуулгаа сонгоно уу","Эх үүсвэр","Тод","Налуу","Будах","Холбоос","Буцаах","Дахих","Хүснэгт","Зураг","Баллуур","Параграф","Фонтын хэмжээ","Видео","Фонт","Тухай","Хэвлэх","Доогуур зураас","Дээгүүр зураас","Догол нэмэх","Догол багасгах","Бүтэн дэлгэц","Багасга","Хаалт","Тэмдэгт жагсаалт","Дугаарласан жагсаалт","Таслах","Бүгдийг сонго","Код оруулах","Холбоос нээх","Холбоос засах","Nofollow özelliği","Холбоос салгах","Шинэчлэх","Засах","Нүд","URL","Засах","Хэвтээ эгнүүлэх","Шүүх","Сүүлд өөрчлөгдсөнөөр жагсаах","Нэрээр жагсаах","Хэмжээгээр жагсаах","Хавтас нэмэх","Буцаах","Хадгалах","Өөрөөр хадгалах","Хэмжээг өөрчил","Тайрах","Өргөн","Өндөр","Харьцааг хадгал","Тийм","Үгүй","Арилга","Сонго","Сонго: %s","Босоо эгнүүлэх","Задлах","Нэгтгэх","Багана нэмэх","Мөр нэмэх","Лиценз: %s","Устгах","Баганаар задлах","Мөрөөр задлах","Хүрээ","Таны код HTML кодтой адил байна. HTML форматаар үргэлжлүүлэх үү?","HTML байдлаар буулгах","Хадгалах","Текст байдлаар нэмэх","Зөвхөн текст оруулах","Та зөвхөн өөрийн зургуудаа янзлах боломжтой. Энэ зургийг өөр лүүгээ татмаар байна уу?","Зургийг хост руу амжилттай хадгалсан","Палет","Энд ямар нэг файл алга","Шинээр нэрлэх","Шинэ нэр оруулна уу","Урьдчилан харах","Татах","Самбараас хуулах ","Энэ вэб хөтчөөс самбарт хандах эрх алга.","Сонголтыг хуул","Хуулах","Хүрээний радиус","Бүгдийг харуулах","Хэрэгжүүл","Энэ талбарыг бөглөнө үү","Вэб хаягаа оруулна уу","Үндсэн","Дугуй","Цэг","Дөрвөлжин","Хайх","Өмнөхийг ол","Дараагийнхийг ол","Буулгасан агуулга Microsoft Word/Excel форматтай байна. Энэ форматыг хэвээр хадгалах уу эсвэл арилгах уу?","Word байдлаар буулгасан байна","Цэвэрлэх","Бүлгийн нэрээ оруулна уу","Хэмжээсийг шинээр өөчрлөхийн тулд Alt товчин дээр дарна уу",null,null,null,"Бүгдийг"]},87141:function(e){e.exports={symbols:"symbool"}},87329:function(e,t,i){"use strict";i.d(t,{UITextArea:function(){return l}});var n=i(25045),o=i(31635),r=i(84839),s=i(91672),a=i(65273);class l extends a.UIInput{className(){return"UITextArea"}createNativeInput(e){return this.j.create.element("textarea")}onChangeStateSize(){let{size:e,resizable:t}=this.state;this.nativeInput.style.resize=t?"auto":"none",this.nativeInput.rows=e??5}constructor(e,t){super(e,t),(0,n._)(this,"state",{...l.defaultState}),Object.assign(this.state,t),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}}(0,n._)(l,"defaultState",{...a.UIInput.defaultState,size:5,resizable:!0}),(0,o.__decorate)([(0,r.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=(0,o.__decorate)([s.component],l)},87623:function(e){e.exports={"Line height":"Tinggi baris"}},87624:function(e,t,i){"use strict";i.d(t,{SentenceFinder:function(){return o.SentenceFinder},clearSelectionWrappers:function(){return n.clearSelectionWrappers},clearSelectionWrappersFromHTML:function(){return n.clearSelectionWrappersFromHTML},getSelectionWrappers:function(){return n.getSelectionWrappers},highlightTextRanges:function(){return n.highlightTextRanges}});var n=i(19213),o=i(59276)},87908:function(e,t,i){"use strict";var n=i(65946),o=i(29434),r=i(5266),s=i(223),a=i.n(s);r.Config.prototype.defaultLineHeight=null,o.Icon.set("line-height",a()),r.Config.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec:(e,t,{control:i})=>(0,n.memorizeExec)(e,t,{control:i},e=>e)}},88329:function(e,t,i){"use strict";i.d(t,{Confirm:function(){return s}});var n=i(91565),o=i(53681),r=i(76841);function s(e,t,i){let s=this instanceof r.Dialog?this:new r.Dialog({closeOnClickOverlay:!0}),a=s.c.fromHTML('<form class="jodit-dialog_prompt"></form>'),l=s.c.element("label");(0,n.isFunction)(t)&&(i=t,t=void 0),l.appendChild(s.c.fromHTML(e)),a.appendChild(l);let c=e=>()=>{i&&!1===i(e)||s.close()},u=(0,o.Button)(s,"cancel","Cancel"),d=(0,o.Button)(s,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),s.e.on(a,"submit",()=>(c(!0)(),!1)),s.setFooter([d,u]),s.open(a,t||" ",!0,!0),d.focus(),s}},88475:function(e,t,i){"use strict";i.d(t,{toArray:function(){return r}});var n=i(23283),o=i(43379);let r=function(...e){return((0,n.isNativeFunction)(Array.from)?Array.from:(0,o.reset)("Array.from")??Array.from).apply(Array,e)}},88497:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1395 736q0 13-10 23l-466 466q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l50-50q10-10 23-10t23 10l393 393 393-393q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},88580:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.showCharsCounter=!0,n.Config.prototype.countHTMLChars=!1,n.Config.prototype.countTextSpaces=!1,n.Config.prototype.showWordsCounter=!0},88952:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(27795),a=i(28077),l=i(65946),c=i(91206),u=i(4099),d=i(56490),h=i(4274);i(89873);class p extends c.Plugin{get popup(){return new d.Popup(this.jodit,!1)}get toolbar(){return(0,h.makeCollection)(this.jodit,this.popup)}onClick(e){let t=this.elmsList,i=s.Dom.isTag(e,"img")?e:s.Dom.closest(e,t,this.j.editor);if(i&&this.canShowPopupForType(i.nodeName.toLowerCase()))return this.showPopup(()=>(0,l.position)(i,this.j),i.nodeName.toLowerCase(),i),!1}showPopup(e,t,i){if(t=t.toLowerCase(),!this.canShowPopupForType(t))return!1;if(this.type!==t||i!==this.previousTarget){let e;this.previousTarget=i;let n=this.j.o.popup[t];e=(0,l.isFunction)(n)?n(this.j,i,this.popup.close):n,(0,l.isArray)(e)&&(this.toolbar.build(e,i),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,e=this.toolbar.container),this.popup.setContent(e),this.type=t}return this.popup.open(e),!0}hidePopup(e){this.popup.isOpened&&(!(0,l.isString)(e)||e===this.type)&&this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(e){let t=this.j.o.popup[e.toLowerCase()];return!this.j.o.readonly&&!!this.j.o.toolbarInline&&!!t&&!this.isExcludedTarget(e)}isExcludedTarget(e){return(0,l.splitArray)(this.j.o.toolbarInlineDisableFor).map(e=>e.toLowerCase()).includes(e.toLowerCase())}afterInit(e){this.j.e.on("getDiffButtons.mobile",t=>{if(this.toolbar===t){let t=this.toolbar.getButtonsNames();return(0,l.toArray)(e.registeredButtons).filter(e=>!this.j.o.toolbarInlineDisabledButtons.includes(e.name)).filter(e=>{let i=(0,l.isString)(e)?e:e.name;return i&&"|"!==i&&`
|
|
254
254
|
`!==i&&!t.includes(i)})}}).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",(e,t,i)=>{this.showPopup(t,i||((0,l.isString)(e)?e:e.nodeName),(0,l.isString)(e)?void 0:e)}).on("mousedown keydown",this.onSelectionStart).on("change",()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)}).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(e){if(e&&e.target&&u.UIElement.closestElement(e.target,d.Popup))return;let{snapRange:t}=this,{range:i}=this.j.s;(!t||i.collapsed||i.startContainer!==t.startContainer||i.startOffset!==t.startOffset||i.endContainer!==t.endContainer||i.endOffset!==t.endOffset)&&this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;let e="selection",t=this.j.s.sel,i=this.j.s.range;if(t?.isCollapsed||this.isSelectedTarget(i)){this.type===e&&this.popup.isOpened&&this.hidePopup();return}this.j.s.current()&&this.showPopup(()=>i.getBoundingClientRect(),e)}isSelectedTarget(e){let t=e.startContainer;return s.Dom.isElement(t)&&t===e.endContainer&&s.Dom.isTag(t.childNodes[e.startOffset],new Set((0,l.keys)(this.j.o.popup,!1)))&&e.startOffset===e.endOffset-1}beforeDestruct(e){e.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){let e=this.elmsList;return e.map(e=>(0,l.camelCase)("click_"+e)).concat(e.map(e=>(0,l.camelCase)("touchstart_"+e))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(e){this.showPopup(()=>{if(e)return e;let{range:t}=this.j.s;return t.getBoundingClientRect()},"toolbar")}constructor(...e){super(...e),(0,n._)(this,"type",null),(0,n._)(this,"previousTarget",void 0),(0,n._)(this,"snapRange",null),(0,n._)(this,"elmsList",(0,l.keys)(this.j.o.popup,!1).filter(e=>!this.isExcludedTarget(e)))}}(0,n._)(p,"requires",["select"]),(0,o.__decorate)([r.cache],p.prototype,"popup",null),(0,o.__decorate)([r.cache],p.prototype,"toolbar",null),(0,o.__decorate)([r.autobind],p.prototype,"onClick",null),(0,o.__decorate)([(0,r.wait)(e=>!e.j.isLocked)],p.prototype,"showPopup",null),(0,o.__decorate)([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],p.prototype,"hidePopup",null),(0,o.__decorate)([(0,r.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionStart",null),(0,o.__decorate)([r.autobind],p.prototype,"onSelectionEnd",null),(0,o.__decorate)([(0,r.debounce)(e=>e.defaultTimeout)],p.prototype,"onSelectionChange",null),(0,o.__decorate)([r.autobind],p.prototype,"showInlineToolbar",null),a.pluginSystem.add("inlinePopup",p)},89081:function(e,t,i){"use strict";i.d(t,{unwrapChildren:function(){return a}});var n=i(23211),o=i(93640),r=i(9703),s=i(73019);function a(e,t){let i,a=[],l=[],c=e.options.attributes?.style;if(t.firstChild){let u=n.Dom.eachGen(t),d=u.next();for(;!d.done;){let t=d.value;(0,s.isSuitElement)(e,t,!0)&&(!c||(0,r.hasSameStyleKeys)(t,c))?(void 0===i&&(i=!0),a.push(t)):c&&(0,s.isSameStyleChild)(e,t)?(void 0===i&&(i=!1),l.push(()=>{(0,o.css)(t,Object.keys(c).reduce((e,t)=>(e[t]=null,e),{})),(0,o.attr)(t,"style")||(0,o.attr)(t,"style",null),(0,o.attr)(t,"style")||t.nodeName.toLowerCase()!==e.element||a.push(t)})):n.Dom.isEmptyTextNode(t)||void 0!==i||(i=!1),d=u.next()}}return l.forEach(e=>e()),a.forEach(n.Dom.unwrap),!!i}},89097:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1600 736v192q0 40-28 68t-68 28h-1216q-40 0-68-28t-28-68v-192q0-40 28-68t68-28h1216q40 0 68 28t28 68z"/> </svg>'},89308:function(e,t,i){"use strict";i.d(t,{get:function(){return r}});var n=i(85932),o=i(18303);function r(e,t){if(!(0,n.isString)(e)||!e.length)return null;let i=e.split("."),r=t;try{for(let e of i){if((0,o.isVoid)(r[e]))return null;r=r[e]}}catch{return null}return(0,o.isVoid)(r)?null:r}},89317:function(e,t,i){"use strict";var n=i(17312),o=i(57741),r=i(56014),s=i(95461),a=i(63837),l=i(39386),c=i(62327),u=i(25090),d=i(53113),h=i(81321),p=i(4679),m=i(31927),f=i(21195),g=i(53414),_=i(11012),v=i(87061),b=i(3268),y=i(85325),S=i(97834),w=i(86433),C=i(28359),k=i(68368),E=i(57456),I=i(25182),T=i(44906);let x={};x={ar:o,cs_cz:r,de:s,en:a,es:l,fi:c,fr:u,he:d,hu:h,id:p,it:m,ja:f,ko:_,mn:v,nl:b,no:y,pl:S,pt_br:w,ru:C,tr:k,ua:E,zh_cn:I,zh_tw:T};let D=e=>e?e.default||e:{},j={};(0,n.isArray)(D(g))&&D(g).forEach((e,t)=>{j[t]=e}),Object.keys(x).forEach(e=>{let t=D(x[e]);(0,n.isArray)(t)?(x[e]={},t.forEach((t,i)=>{x[e][j[i]]=t})):x[e]=t}),t.default=x},89446:function(e,t,i){"use strict";i.d(t,{buildData:function(){return o}});var n=i(65946);function o(e,t){if((0,n.isFunction)(e.o.buildData))return e.o.buildData.call(e,t);let i=e.ow.FormData;if(void 0!==i){if(t instanceof i||(0,n.isString)(t))return t;let e=new i;return Object.keys(t).forEach(i=>{e.append(i,t[i])}),e}return t}},89636:function(e,t,i){"use strict";i.d(t,{TabsWidget:function(){return l}});var n=i(16964),o=i(23211),r=i(91565),s=i(7909),a=i(4099);let l=(e,t,i)=>{let l=e.c.div("jodit-tabs"),c=e.c.div("jodit-tabs__wrapper"),u=e.c.div("jodit-tabs__buttons");(0,s.attr)(u,{role:"tablist","aria-orientation":"horizontal"});let d={},h=[],p="";l.appendChild(u),l.appendChild(c);let m=e=>{d[e]&&(h.forEach(e=>{e.state.activated=!1}),Object.values(d).forEach(({tab:e})=>e.classList.remove("jodit-tab_active")),d[e].button.state.activated=!0,d[e].tab.classList.add("jodit-tab_active"))};if(t.forEach(({icon:l,name:f,content:g})=>{let _=e.c.div("jodit-tab");(0,s.attr)(_,{role:"tabpanel"});let v=(0,a.Button)(e,l||f,f);v.state.role="tab",e.e.on(v.container,"pointerdown",e=>e.preventDefault()),p||(p=f),u.appendChild(v.container),h.push(v),v.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+t.length),(0,r.isFunction)(g)?_.appendChild(e.c.div("jodit-tab_empty")):_.appendChild(n.Component.isInstanceOf(g,a.UIElement)?g.container:g),c.appendChild(_),v.onAction(()=>(m(f),(0,r.isFunction)(g)&&!o.Dom.isElement(g)&&g.call(e),i&&(i.activeTab=f),!1)),d[f]={button:v,tab:_}}),Object.values(d).forEach(({button:e})=>{e.container.style.width=(100/t.length).toFixed(10)+"%"}),m(i&&i.activeTab&&d[i.activeTab]?i.activeTab:p),i){let e=i.activeTab;Object.defineProperty(i,"activeTab",{configurable:!0,enumerable:!1,get:()=>e,set(t){e=t,m(t)}})}return l}},89739:function(e){e.exports={"Line height":"ラインの高さ"}},89817:function(e,t,i){"use strict";i.d(t,{moveNodeInsideStart:function(){return r}});var n=i(81937),o=i(23211);function r(e,t,i){let r=o.Dom.findSibling(t,i),s=o.Dom.findSibling(t,!i);for(;o.Dom.isElement(r)&&!o.Dom.isTag(r,n.INSEPARABLE_TAGS)&&o.Dom.isContentEditable(r,e.editor)&&(!s||!o.Dom.closest(t,o.Dom.isElement,e.editor));)i||!r.firstChild?r.appendChild(t):o.Dom.before(r.firstChild,t),r=o.Dom.sibling(t,i),s=o.Dom.sibling(t,!i)}},89827:function(e,t,i){"use strict";function n(e){return!e.s.isCollapsed()&&(e.execCommand("Delete"),!0)}i.d(t,{checkNotCollapsed:function(){return n}})},89873:function(e,t,i){"use strict";var n=i(29434),o=i(5266),r=i(70235),s=i(17849),a=i(466),l=i(75711),c=i(59399),u=i(38681),d=i.n(u),h=i(64637),p=i.n(h),m=i(94190),f=i.n(m),g=i(51957),_=i.n(g),v=i(71940),b=i.n(v),y=i(43218),S=i.n(y),w=i(48007),C=i.n(w);o.Config.prototype.toolbarInline=!0,o.Config.prototype.toolbarInlineForSelection=!1,o.Config.prototype.toolbarInlineDisableFor=[],o.Config.prototype.toolbarInlineDisabledButtons=["source"],n.Icon.set("addcolumn",d()).set("addrow",p()).set("merge",f()).set("th",S()).set("splitg",_()).set("splitv",b()).set("th-list",C()),o.Config.prototype.popup={a:r.default,img:l.default,cells:s.default,toolbar:c.default,jodit:a.default,iframe:a.default,"jodit-media":a.default,selection:["bold","underline","italic","ul","ol",`
|
|
255
255
|
`,"outdent","indent","fontsize","brush","cut",`
|
|
256
256
|
`,"paragraph","link","align","dots"]}},90204:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(7909),l=i(91206);i(24268);var c=i(33494);class u extends l.Plugin{afterInit(e){e.e.on("afterInit afterAddPlace prepareWYSIWYGEditor",this.toggleSpellcheck),this.toggleSpellcheck(),e.registerCommand("toggleSpellcheck",()=>{this.jodit.o.spellcheck=!this.jodit.o.spellcheck,this.toggleSpellcheck(),this.j.e.fire("updateToolbar")})}toggleSpellcheck(){(0,a.attr)(this.jodit.editor,"spellcheck",this.jodit.o.spellcheck)}beforeDestruct(e){}constructor(e){super(e),(0,n._)(this,"buttons",[{group:"state",name:"spellcheck"}]),(0,s.extendLang)(c)}}(0,o.__decorate)([r.autobind],u.prototype,"toggleSpellcheck",null),s.pluginSystem.add("spellcheck",u)},90826:function(e,t,i){"use strict";var n=i(27795),o=i(28077),r=i(65946),s=i(29434),a=i(5266),l=i(15753),c=i(64831),u=i.n(c);s.Icon.set("image",u()),a.Config.prototype.controls.image={popup(e,t,i){let o=null;return t&&!n.Dom.isText(t)&&n.Dom.isHTMLElement(t)&&(n.Dom.isTag(t,"img")||(0,r.$$)("img",t).length)&&(o=n.Dom.isTag(t,"img")?t:(0,r.$$)("img",t)[0]),e.s.save(),(0,l.FileSelectorWidget)(e,{filebrowser(t){e.s.restore(),t.files&&t.files.forEach(i=>e.s.insertImage(t.baseurl+i,null,e.o.imageDefaultWidth)),i()},upload:!0,async url(t,n){e.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(t)&&(t="//"+t);let r=o||e.createInside.element("img");r.setAttribute("src",t),r.setAttribute("alt",n),o||await e.s.insertImage(r,null,e.o.imageDefaultWidth),i()}},o,i)},tags:["img"],tooltip:"Insert Image"},o.pluginSystem.add("image",function(e){e.registerButton({name:"image",group:"media"})})},90886:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(65946),c=i(18855),u=i(59400);i(34689);var d=i(27137),h=i(28771),p=i(670),m=i(47744),f=i(71552);class g extends c.Plugin{get form(){return new d.UIImagePropertiesForm(this.j,this.state,this.activeTabState,{openImageEditor:()=>(0,h.openImageEditorDialog)(this.j,this.state),openImagePopup:e=>(0,p.openImagePopup)(this.j,this.dialog,this.state,e)})}get dialog(){let{j:e}=this,t=e.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),i=this.__buttons;return i.check.onAction(()=>{(0,f.applyValuesToImage)(e,this.state,this.state.sourceImage),e.synchronizeValues(),t.close()}),i.remove.onAction(()=>{e.s.removeNode(this.state.sourceImage),t.close()}),i.cancel.onAction(()=>{t.close()}),t.setHeader(e.i18n("Image properties")),t.setContent(this.form),t.setFooter([[i.cancel,i.remove],i.check]),e.e.on(t,"afterClose",()=>{this.state.image.parentNode&&e.o.image.selectImageAfterClose&&e.s.select(this.state.sourceImage)}),t.setSize(e.o.image.dialogWidth),(0,l.markOwner)(e,t.container),t}get __buttons(){let{j:e}=this;return{check:(0,u.Button)(e,"ok","Apply","primary"),remove:(0,u.Button)(e,"bin","Delete"),cancel:(0,u.Button)(e,"cancel","Cancel")}}open(){return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise((e,t)=>(0,m.readValuesFromImage)(this.j,this.state).then(e,t)).catch(e=>{(0,l.isAbortError)(e)||this.dialog.message.error(e.message)}).finally(()=>this.__unlock()),!1}__lock(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEach(e=>e.state.disabled=!0)}__unlock(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach(e=>e.state.disabled=!1)}afterInit(e){let t=this;e.e.on("afterConstructor changePlace",()=>{e.e.off(e.editor,".imageproperties").on(e.editor,"dblclick.imageproperties",i=>{let n=i.target;if(s.Dom.isTag(n,"img"))if(e.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",n))return;t.state.sourceImage=n,t.state.image=n.cloneNode(!0),e.o.readonly||(i.stopImmediatePropagation(),i.preventDefault(),t.open())}else i.stopImmediatePropagation(),e.s.select(n)})}).on("openImageProperties.imageproperties",e=>{t.state.sourceImage=e,this.state.image=e.cloneNode(!0),this.open()})}async onStateValuesImageSrcChange(){let{image:e,values:t}=this.state;if(e.src)try{this.__lock();try{await e.decode()}catch(e){}if(this.state.sizeIsLocked&&(0,l.isNumeric)(t.imageWidth)){let e=parseFloat(t.imageWidth.toString());t.imageHeight=Math.round(e/this.state.ratio)}this.j.e.fire("updateImageProperties.imageproperties",e)}catch(e){this.j.alert(e.message)}finally{this.__unlock()}}beforeDestruct(e){Object.values((0,r.cached)(this,"__buttons")??{}).forEach(e=>e.destruct()),(0,r.cached)(this,"dialog")?.destruct(),(0,r.cached)(this,"form")?.destruct(),e.e.off(e.editor,".imageproperties").off(".imageproperties")}constructor(...e){super(...e),(0,n._)(this,"state",{image:new Image,sourceImage:new Image,get ratio(){const{naturalWidth:e,naturalHeight:t}=this.image;return e/t||1},sizeIsLocked:!0,marginIsLocked:!0,values:{style:"",imageSrc:"",borderRadius:0,imageTitle:"",imageAlt:"",imageLink:"",imageLinkOpenInNewTab:!1,imageWidth:0,imageHeight:0,marginTop:0,marginRight:0,marginBottom:0,marginLeft:0,classes:"",id:"",align:""}}),(0,n._)(this,"activeTabState",{activeTab:"Image"})}}(0,o.__decorate)([r.cache],g.prototype,"form",null),(0,o.__decorate)([r.cache],g.prototype,"dialog",null),(0,o.__decorate)([r.cache],g.prototype,"__buttons",null),(0,o.__decorate)([(0,r.watch)("state.image")],g.prototype,"onStateValuesImageSrcChange",null),a.pluginSystem.add("imageProperties",g)},91017:function(e,t,i){"use strict";i.r(t),i.d(t,{ar:function(){return n},cs_cz:function(){return o},de:function(){return r},es:function(){return s},fa:function(){return a},fi:function(){return l},fr:function(){return c},he:function(){return u},hu:function(){return d},id:function(){return h},it:function(){return p},ja:function(){return m},ko:function(){return f},mn:function(){return g},nl:function(){return _},pl:function(){return v},pt_br:function(){return b},ru:function(){return y},tr:function(){return S},ua:function(){return w},zh_cn:function(){return C},zh_tw:function(){return k}});var n=i(80696),o=i(33433),r=i(59488),s=i(14099),a=i(64394),l=i(96978),c=i(54055),u=i(15164),d=i(42412),h=i(98710),p=i(68294),m=i(3294),f=i(44837),g=i(72320),_=i(87141),v=i(10099),b=i(442),y=i(54554),S=i(86581),w=i(97493),C=i(58585),k=i(57629)},91115:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 270 270"> <path d="M 255.9537,58.150081 237.69527,40.997278 c -1.49414,-1.375593 -3.43653,-2.077427 -5.37891,-2.077427 -1.94239,0 -3.88478,0.701834 -5.37892,2.077427 L 29.919751,226.1128 c -2.988286,2.77926 -2.988286,7.32714 0,10.13447 L 48.148295,253.372 c 1.46426,1.37559 3.406646,2.1055 5.378915,2.1055 1.972268,0 3.884771,-0.72991 5.378914,-2.1055 L 221.34935,100.73732 255.9537,68.284552 c 2.9584,-2.807333 2.9584,-7.355212 0,-10.134471 z M 251.17244,63.79282 221.34935,91.781927 201.89561,73.506191 231.68882,45.48901 c 0.20918,-0.140367 0.38847,-0.224587 0.62754,-0.224587 0.23906,0 0.44824,0.08422 0.59765,0.224587 l 18.25843,17.152803 c 0,0 0.23906,0.33688 0.23906,0.561467 0,0.224586 -0.0896,0.4211 -0.23906,0.58954 z" style="stroke-width:2.8964;stroke-opacity:1" /> <path d="m 48.626421,116.87948 10.578532,23.10435 c 0.83672,1.82477 3.615826,1.85284 4.452546,0 l 10.937126,-23.52545 c 2.629692,-5.69888 7.470715,-10.24676 13.536935,-12.71722 l 25.07172,-10.274833 c 1.94239,-0.786053 1.94239,-3.396873 0,-4.182926 L 88.13156,79.008563 C 82.06534,76.53811 77.224317,71.990231 74.594625,66.291346 L 63.657499,42.737824 c -0.83672,-1.824766 -3.615826,-1.824766 -4.452546,0 L 48.267826,66.291346 C 45.638135,71.990231 40.797112,76.53811 34.730891,79.008563 L 9.6292894,89.311474 c -1.9423859,0.786054 -1.9423859,3.3688 0,4.182926 l 25.5498446,10.61172 c 6.036338,2.49852 10.847478,7.07448 13.477169,12.77336 z" style="stroke-width:2.8964;fill-opacity:1;stroke-opacity:1" /> <path d="m 111.79878,33.136746 13.56682,5.642739 c 3.19747,1.319446 5.76739,3.761826 7.14201,6.793745 l 5.61797,12.268044 c 0.44825,0.982567 1.91251,0.982567 2.36075,0 l 5.79727,-12.492631 c 1.4045,-3.031919 3.97442,-5.446225 7.20177,-6.765672 l 13.29788,-5.446225 c 1.0459,-0.4211 1.0459,-1.796693 0,-2.217793 l -13.29788,-5.446225 c -3.22735,-1.319447 -5.79727,-3.733753 -7.20177,-6.765672 L 140.48633,6.2144248 c -0.44824,-0.9825664 -1.9125,-0.9825664 -2.36075,0 l -5.79727,12.4926312 c -1.4045,3.031919 -3.97442,5.446225 -7.20177,6.765672 l -13.32776,5.474298 c -1.01601,0.4211 -1.0459,1.796693 0,2.217793 z" style="stroke-width:2.8964;fill-opacity:1" /> <path d="m 233.09331,192.98627 -14.13459,-5.7831 c -3.40665,-1.40367 -6.12599,-3.95834 -7.62013,-7.1587 l -6.15587,-13.27868 c -0.47813,-1.03872 -2.03203,-1.03872 -2.51016,0 l -6.15587,13.27868 c -1.49414,3.20036 -4.21348,5.75503 -7.62013,7.1587 l -14.13459,5.81118 c -1.10567,0.44917 -1.10567,1.90898 0,2.35816 l 14.40354,5.97961 c 3.40664,1.40367 6.12598,3.98642 7.59024,7.21485 l 5.97658,13.02602 c 0.47812,1.03872 2.03203,1.03872 2.51016,0 l 6.15586,-13.25061 c 1.49415,-3.20036 4.21349,-5.75503 7.62013,-7.1587 l 14.1346,-5.7831 c 1.10566,-0.44917 1.10566,-1.90899 0,-2.35816 z" style="stroke-width:2.8964;stroke-opacity:1" /> </svg>'},91162:function(e,t,i){"use strict";i.d(t,{IndexedDBProvider:function(){return r},canUseIndexedDB:function(){return l},clearUseIndexedDBCache:function(){return a}});var n=i(25045),o=i(81937);class r{getDB(){return this.dbPromise||(this.dbPromise=new Promise((e,t)=>{let i=indexedDB.open(this.dbName,this.DB_VERSION);i.onerror=()=>{t(i.error)},i.onsuccess=()=>{e(i.result)},i.onupgradeneeded=e=>{let t=e.target.result;t.objectStoreNames.contains(this.storeName)||t.createObjectStore(this.storeName)}})),this.dbPromise}async performTransaction(e,t){try{let i=(await this.getDB()).transaction([this.storeName],e).objectStore(this.storeName),n=t(i);return new Promise((e,t)=>{n.onsuccess=()=>{e(n.result)},n.onerror=()=>{t(n.error)}})}catch(e){return Promise.reject(e)}}async set(e,t){try{await this.performTransaction("readwrite",i=>i.put(t,e))}catch(e){o.IS_PROD}return this}async delete(e){try{await this.performTransaction("readwrite",t=>t.delete(e))}catch{}return this}async get(e){try{return await this.performTransaction("readonly",t=>t.get(e))}catch{return}}async exists(e){try{let t=await this.performTransaction("readonly",t=>t.get(e));return void 0!==t}catch{return!1}}async clear(){try{await this.performTransaction("readwrite",e=>e.clear())}catch{}return this}async close(){if(this.dbPromise){try{(await this.dbPromise).close()}catch{}this.dbPromise=null}}async keys(){try{let e=await this.performTransaction("readonly",e=>e.getAllKeys());return e&&"object"==typeof e&&"then"in e&&(e=await e),e.map(e=>e+"")}catch{return[]}}async values(){try{let e=await this.performTransaction("readonly",e=>e.getAll());return e&&"object"==typeof e&&"then"in e&&(e=await e),e}catch{return[]}}async entries(){try{let[e,t]=await Promise.all([this.keys(),this.values()]);return e.map((e,i)=>[e,t[i]])}catch{return[]}}constructor(e="JoditDB",t="keyValueStore"){(0,n._)(this,"dbName",void 0),(0,n._)(this,"dbPromise",void 0),(0,n._)(this,"DB_VERSION",void 0),(0,n._)(this,"storeName",void 0),this.dbName=e,this.dbPromise=null,this.DB_VERSION=1,this.storeName=t}}let s=null;function a(){s=null}async function l(){if(null!=s)return s;try{if("u"<typeof indexedDB)return s=!1,!1;let e="___Jodit___"+Math.random().toString(),t=indexedDB.open(e);return s=await new Promise(i=>{t.onerror=()=>{i(!1)},t.onsuccess=()=>{indexedDB.deleteDatabase(e),i(!0)}})}catch{return s=!1,!1}}},91206:function(e,t,i){"use strict";i.d(t,{Plugin:function(){return n.Plugin}});var n=i(18855);i(85305)},91231:function(e,t,i){"use strict";i.d(t,{Async:function(){return n.Async}});var n=i(24735)},91321:function(e,t,i){"use strict";i.d(t,{completeUrl:function(){return o}});var n=i(81937);let o=e=>("file:"===n.globalWindow.location.protocol&&/^\/\//.test(e)&&(e="https:"+e),e)},91535:function(e,t,i){"use strict";i.d(t,{Alert:function(){return l}});var n=i(23211),o=i(78982),r=i(91565),s=i(53681),a=i(76841);function l(e,t,i,c="jodit-dialog_alert"){(0,r.isFunction)(t)&&(i=t,t=void 0);let u=this instanceof a.Dialog?this:new a.Dialog({closeOnClickOverlay:!0}),d=u.c.div(c),h=(0,s.Button)(u,"ok","Ok");return(0,o.asArray)(e).forEach(e=>{d.appendChild(n.Dom.isNode(e)?e:u.c.fromHTML(e))}),h.onAction(()=>{i&&(0,r.isFunction)(i)&&!1===i(u)||u.close()}),u.setFooter([h]),u.open(d,t||" ",!0,!0),h.focus(),u}},91560:function(e,t,i){"use strict";i.r(t),i.d(t,{allowAttributes:function(){return n.allowAttributes},fillEmptyParagraph:function(){return o.fillEmptyParagraph},removeEmptyTextNode:function(){return r.removeEmptyTextNode},removeInvTextNodes:function(){return s.removeInvTextNodes},replaceOldTags:function(){return a.replaceOldTags},sanitizeAttributes:function(){return l.sanitizeAttributes},tryRemoveNode:function(){return c.tryRemoveNode}});var n=i(95559),o=i(39188),r=i(94561),s=i(53514),a=i(35104),l=i(65015),c=i(27611)},91565:function(e,t,i){"use strict";function n(e){return"function"==typeof e}i.d(t,{isFunction:function(){return n}})},91575:function(e){e.exports={"Line height":"Altezza linea"}},91672:function(e,t,i){"use strict";function n(e){class t extends e{constructor(...e){super(...e),this.constructor===t&&(this instanceof t||Object.setPrototypeOf(this,t.prototype),this.setStatus("ready"))}}return t}i.d(t,{component:function(){return n}})},91678:function(e,t,i){"use strict";var n=i(28077),o=i(65946),r=i(29434),s=i(5266);i(40291);var a=i(52450),l=i.n(a),c=i(41111),u=i.n(c),d=i(49972),h=i.n(d),p=i(45062),m=i.n(p),f=i(18605),g=i.n(f),_=i(83389),v=i.n(_);n.pluginSystem.add("bold",function(e){let t=t=>{let i,n=s.Config.defaultOptions.controls[t],r={...n.css};return Object.keys(r).forEach(e=>{i||(i={}),i[e]=(0,o.isArray)(r[e])?r[e][0]:r[e]}),e.s.commitStyle({element:n.tags?n.tags[0]:void 0}),e.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach(t=>{e.registerButton({name:t,group:"font-style"})}),["superscript","subscript"].forEach(t=>{e.registerButton({name:t,group:"script"})}),e.registerCommand("bold",{exec:t,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:t,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:t,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:t}).registerCommand("subscript",{exec:t}).registerCommand("superscript",{exec:t})}),r.Icon.set("bold",l()).set("italic",u()).set("strikethrough",h()).set("subscript",m()).set("superscript",g()).set("underline",v())},91685:function(e){e.exports={Spellcheck:"Stavekontroll"}},91764:function(e,t,i){"use strict";i.d(t,{isURL:function(){return o}});var n=i(81937);function o(e){if(e.includes(" "))return!1;if("u">typeof URL)try{let t=new URL(e);return["https:","http:","ftp:","file:","rtmp:"].includes(t.protocol)}catch(e){return!1}let t=n.globalDocument.createElement("a");return t.href=e,!!t.hostname}},91882:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1203 544q0 13-10 23l-393 393 393 393q10 10 10 23t-10 23l-50 50q-10 10-23 10t-23-10l-466-466q-10-10-10-23t10-23l466-466q10-10 23-10t23 10l50 50q10 10 10 23z"/> </svg>'},92063:function(e,t,i){"use strict";i(5266).Config.prototype.showXPathInStatusbar=!0},93203:function(e){e.exports={Spellcheck:"スペルチェック"}},93267:function(e){e.exports='<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"> <path d="M36 4h-24c-2.21 0-4 1.79-4 4v32c0 2.21 1.79 4 4 4h24c2.21 0 4-1.79 4-4v-32c0-2.21-1.79-4-4-4zm-24 4h10v16l-5-3-5 3v-16z"/> </svg>'},93387:function(e,t,i){"use strict";i.d(t,{colorToHex:function(){return n}});let n=e=>{if("rgba(0, 0, 0, 0)"===e||""===e)return!1;if(!e)return"#000000";if("#"===e.substr(0,1))return e;let t=/([\s\n\t\r]*?)rgb\((\d+), (\d+), (\d+)\)/.exec(e)||/([\s\n\t\r]*?)rgba\((\d+), (\d+), (\d+), ([\d.]+)\)/.exec(e);if(!t)return"#000000";let i=parseInt(t[2],10),n=parseInt(t[3],10),o=(parseInt(t[4],10)|n<<8|i<<16).toString(16).toUpperCase();for(;o.length<6;)o="0"+o;return t[1]+"#"+o}},93637:function(e,t,i){"use strict";i(94358),i(42766),i(28286),i(63974),i(91678),i(58910),i(11018),i(43354),i(42462),i(30062),i(64222),i(43102),i(3678),i(49764),i(78690),i(50294),i(53390),i(69696),i(50982),i(2952),i(81144),i(90826),i(39978),i(90886),i(39e3),i(88952),i(64094),i(18210),i(50662),i(58354),i(68624),i(76830),i(74240),i(98792),i(23422),i(96730),i(7758),i(28346),i(198),i(49690),i(41134),i(59758),i(14248),i(72214),i(74522),i(30500),i(98988),i(2756),i(44322),i(13810),i(90204),i(86236),i(67582),i(11774),i(14774),i(81582),i(7994),i(30110),i(34142),i(22980),i(56894),i(52014)},93640:function(e,t,i){"use strict";i.r(t),i.d(t,{$$:function(){return x.$$},ConfigDeepFlatten:function(){return h.ConfigDeepFlatten},ConfigFlatten:function(){return h.ConfigFlatten},ConfigProto:function(){return h.ConfigProto},ConnectionError:function(){return v.ConnectionError},LimitedStack:function(){return j.LimitedStack},OptionsError:function(){return v.OptionsError},abort:function(){return v.abort},alignElement:function(){return n.alignElement},alreadyLoadedList:function(){return o.alreadyLoadedList},appendScriptAsync:function(){return o.appendScriptAsync},appendStyleAsync:function(){return o.appendStyleAsync},attr:function(){return l.attr},browser:function(){return c.browser},buildQuery:function(){return u.buildQuery},call:function(){return z.call},callPromise:function(){return z.callPromise},clearAlign:function(){return n.clearAlign},clearCenterAlign:function(){return m.clearCenterAlign},cns:function(){return C.cns},completeUrl:function(){return d.completeUrl},connection:function(){return v.connection},convertMediaUrlToVideoEmbed:function(){return p.convertMediaUrlToVideoEmbed},css:function(){return m.css},cssPath:function(){return x.cssPath},ctrlKey:function(){return f.ctrlKey},dataBind:function(){return g.dataBind},defaultLanguage:function(){return _.defaultLanguage},error:function(){return v.error},fastClone:function(){return b.fastClone},get:function(){return y.get},getClassName:function(){return S.getClassName},getDataTransfer:function(){return z.getDataTransfer},getXPathByElement:function(){return x.getXPathByElement},hAlignElement:function(){return n.hAlignElement},humanSizeToBytes:function(){return w.humanSizeToBytes},inView:function(){return T.inView},isAbort:function(){return v.isAbort},isAtom:function(){return b.isAtom},keepNames:function(){return S.keepNames},keys:function(){return z.keys},loadImage:function(){return z.loadImage},loadNext:function(){return o.loadNext},loadNextStyle:function(){return o.loadNextStyle},markAsAtomic:function(){return b.markAsAtomic},markDeprecated:function(){return C.markDeprecated},markOwner:function(){return z.markOwner},memorizeExec:function(){return z.memorizeExec},options:function(){return v.options},parseQuery:function(){return k.parseQuery},previewBox:function(){return E.previewBox},refs:function(){return x.refs},reset:function(){return I.reset},resolveElement:function(){return x.resolveElement},scrollIntoViewIfNeeded:function(){return T.scrollIntoViewIfNeeded},set:function(){return D.set}});var n=i(16849),o=i(47760),r=i(28712),s={};for(var a in r)0>["default","alignElement","clearAlign","hAlignElement","alreadyLoadedList","appendScriptAsync","appendStyleAsync","loadNext","loadNextStyle"].indexOf(a)&&(s[a]=(function(e){return r[e]}).bind(0,a));i.d(t,s);var l=i(7909),c=i(26136),u=i(36833),d=i(91321),h=i(77483),p=i(3856),m=i(80991),f=i(77213),g=i(36400),_=i(97228),v=i(33201),b=i(54794),y=i(89308),S=i(421),w=i(37427),C=i(49385),k=i(36310),E=i(57075),I=i(43379),T=i(60898),x=i(28723),D=i(52144),j=i(42820),z=i(71125)},93747:function(e,t,i){"use strict";i.d(t,{EventEmitter:function(){return d}});var n=i(25045),o=i(81937),r=i(32328),s=i(17312),a=i(91565),l=i(85932),c=i(33201),u=i(18869);class d{mute(e){return this.__mutedEvents.add(e??"*"),this}isMuted(e){return!!(e&&this.__mutedEvents.has(e))||this.__mutedEvents.has("*")}unmute(e){return this.__mutedEvents.delete(e??"*"),this}__eachEvent(e,t){(0,r.splitArray)(e).map(e=>e.trim()).forEach(e=>{let i=e.split("."),n=i[1]||u.defaultNameSpace;t.call(this,i[0],n)})}__getStore(e){if(!e)throw(0,c.error)("Need subject");if(void 0===e[this.__key]){let t=new u.EventHandlersStore;Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:t})}return e[this.__key]}__removeStoreFromSubject(e){void 0!==e[this.__key]&&Object.defineProperty(e,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(e,t){let i=this.__doc.createEvent("HTMLEvents");(0,l.isString)(t)?i.initEvent(t,!0,!0):(i.initEvent(t.type,t.bubbles,t.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach(e=>{Object.defineProperty(i,e,{value:t[e],enumerable:!0})}),Object.defineProperty(i,"originalEvent",{value:t,enumerable:!0})),e.dispatchEvent(i)}get current(){return this.currents[this.currents.length-1]}on(e,t,i,n){let r,u,d,p;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(r=this,u=e,d=t,p=i):(r=e,u=t,d=i,p=n),!((0,l.isString)(u)||(0,l.isStringArray)(u))||0===u.length)throw(0,c.error)("Need events names");if(!(0,a.isFunction)(d))throw(0,c.error)("Need event handler");if((0,s.isArray)(r))return r.forEach(e=>{this.on(e,u,d,p)}),this;let m=r,f=this.__getStore(m),g=this,_=function(e,...t){if(!g.isMuted(e))return d&&d.call(this,...t)};return h(m)&&(_=function(e){if(!g.isMuted(e.type)&&(g.__prepareEvent(e),d&&!1===d.call(this,e)))return e.preventDefault(),e.stopImmediatePropagation(),!1}),this.__eachEvent(u,(e,t)=>{if(0===e.length)throw(0,c.error)("Need event name");if(!1===f.indexOf(e,t,d)){let i={event:e,originalCallback:d,syntheticCallback:_};if(f.set(e,t,i,p?.top),h(m)){let t=o.PASSIVE_EVENTS.has(e)?{passive:!0,capture:p?.capture??!1}:p?.capture??!1;_.options=t,m.addEventListener(e,_,t),this.__memoryDOMSubjectToHandler(m,_)}}}),this}__memoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap.get(e)||new Set;i.add(t),this.__domEventsMap.set(e,i)}__unmemoryDOMSubjectToHandler(e,t){let i=this.__domEventsMap,n=i.get(e)||new Set;n.delete(t),n.size?i.set(e,n):i.delete(e)}one(e,t,i,n){let o,r,s,a;(0,l.isString)(e)||(0,l.isStringArray)(e)?(o=this,r=e,s=t,a=i):(o=e,r=t,s=i,a=n);let c=(...e)=>(this.off(o,r,c),s(...e));return this.on(o,r,c,a),this}off(e,t,i){let n,o,r;if((0,l.isString)(e)||(0,l.isStringArray)(e)?(n=this,o=e,r=t):(n=e,o=t,r=i),(0,s.isArray)(n))return n.forEach(e=>{this.off(e,o,r)}),this;let c=n,d=this.__getStore(c);if(!((0,l.isString)(o)||(0,l.isStringArray)(o))||0===o.length)return d.namespaces().forEach(e=>{this.off(c,"."+e)}),this.__removeStoreFromSubject(c),this;let p=e=>{h(c)&&(c.removeEventListener(e.event,e.syntheticCallback,e.syntheticCallback.options??!1),this.__unmemoryDOMSubjectToHandler(c,e.syntheticCallback))},m=(e,t)=>{if(""===e)return void d.events(t).forEach(e=>{""!==e&&m(e,t)});let i=d.get(e,t);if(i&&i.length)if((0,a.isFunction)(r)){let n=d.indexOf(e,t,r);!1!==n&&(p(i[n]),i.splice(n,1),i.length||d.clearEvents(t,e))}else i.forEach(p),i.length=0,d.clearEvents(t,e)};return this.__eachEvent(o,(e,t)=>{t===u.defaultNameSpace?d.namespaces().forEach(t=>{m(e,t)}):m(e,t)}),d.isEmpty()&&this.__removeStoreFromSubject(c),this}stopPropagation(e,t){let i=(0,l.isString)(e)?this:e,n=(0,l.isString)(e)?e:t;if("string"!=typeof n)throw(0,c.error)("Need event names");let o=this.__getStore(i);this.__eachEvent(n,(e,t)=>{let n=o.get(e,t);n&&this.__stopped.push(n),t===u.defaultNameSpace&&o.namespaces(!0).forEach(t=>this.stopPropagation(i,e+"."+t))})}__removeStop(e){if(e){let t=this.__stopped.indexOf(e);-1!==t&&this.__stopped.splice(0,t+1)}}__isStopped(e){return void 0!==e&&-1!==this.__stopped.indexOf(e)}fire(e,t,...i){let n,o,r=(0,l.isString)(e)?this:e,s=(0,l.isString)(e)?e:t,a=(0,l.isString)(e)?[t,...i]:i;if(!h(r)&&!(0,l.isString)(s))throw(0,c.error)("Need events names");let d=this.__getStore(r);return!(0,l.isString)(s)&&h(r)?this.__triggerNativeEvent(r,t):this.__eachEvent(s,(e,t)=>{if(h(r))this.__triggerNativeEvent(r,e);else{let i=d.get(e,t);if(i)try{[...i].every(t=>!this.__isStopped(i)&&(this.currents.push(e),o=t.syntheticCallback.call(r,e,...a),this.currents.pop(),void 0!==o&&(n=o),!0))}finally{this.__removeStop(i)}t!==u.defaultNameSpace||h(r)||d.namespaces().filter(e=>e!==t).forEach(t=>{let i=this.fire.apply(this,[r,e+"."+t,...a]);void 0!==i&&(n=i)})}}),n}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach((e,t)=>{this.off(t)}),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}constructor(e){(0,n._)(this,"__domEventsMap",new Map),(0,n._)(this,"__mutedEvents",new Set),(0,n._)(this,"__key","__JoditEventEmitterNamespaces"),(0,n._)(this,"__doc",o.globalDocument),(0,n._)(this,"__prepareEvent",e=>{!e.cancelBubble&&(e.composed&&(0,a.isFunction)(e.composedPath)&&e.composedPath()[0]&&Object.defineProperty(e,"target",{value:e.composedPath()[0],configurable:!0,enumerable:!0}),e.type.match(/^touch/)&&e.changedTouches&&e.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach(t=>{Object.defineProperty(e,t,{value:e.changedTouches[0][t],configurable:!0,enumerable:!0})}),e.originalEvent||(e.originalEvent=e),"paste"===e.type&&void 0===e.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(e,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))}),(0,n._)(this,"currents",[]),(0,n._)(this,"__stopped",[]),(0,n._)(this,"__isDestructed",!1),e&&(this.__doc=e),this.__key+=new Date().getTime()}}function h(e){return(0,a.isFunction)(e.addEventListener)}},93890:function(e,t,i){"use strict";i.d(t,{checkRemoveUnbreakableElement:function(){return s}});var n=i(81937),o=i(23211),r=i(2409);function s(e,t,i){let s=o.Dom.findSibling(t,i);return!!(o.Dom.isElement(s)&&(o.Dom.isTag(s,n.INSEPARABLE_TAGS)||o.Dom.isEmpty(s)))&&(o.Dom.safeRemove(s),o.Dom.isTag(s,"br")&&!o.Dom.findNotEmptySibling(t,!1)&&o.Dom.after(t,e.createInside.element("br")),e.s.setCursorBefore(t),o.Dom.isTag(s,"br")&&(0,r.checkRemoveEmptyParent)(e,t,i),!0)}},94013:function(e,t,i){"use strict";i.d(t,{isEqual:function(){return o},isFastEqual:function(){return r}});var n=i(3347);function o(e,t){return e===t||(0,n.stringify)(e)===(0,n.stringify)(t)}function r(e,t){return e===t}},94190:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 312 312"> <g transform="translate(0.000000,312.000000) scale(0.100000,-0.100000)" stroke="none"> <path d="M50 3109 c0 -7 -11 -22 -25 -35 l-25 -23 0 -961 0 -961 32 -29 32 -30 501 -2 500 -3 3 -502 2 -502 31 -30 31 -31 958 0 958 0 23 25 c13 13 30 25 37 25 9 0 12 199 12 960 0 686 -3 960 -11 960 -6 0 -24 12 -40 28 l-29 27 -503 5 -502 5 -5 502 -5 503 -28 29 c-15 16 -27 34 -27 40 0 8 -274 11 -960 11 -710 0 -960 -3 -960 -11z m1738 -698 l2 -453 -40 -40 c-22 -22 -40 -43 -40 -47 0 -4 36 -42 79 -85 88 -87 82 -87 141 -23 l26 27 455 -2 454 -3 0 -775 0 -775 -775 0 -775 0 -3 450 -2 449 47 48 47 48 -82 80 c-44 44 -84 80 -87 80 -3 0 -25 -18 -48 -40 l-41 -40 -456 2 -455 3 -3 765 c-1 421 0 771 3 778 3 10 164 12 777 10 l773 -3 3 -454z"/> <path d="M607 2492 c-42 -42 -77 -82 -77 -87 0 -6 86 -96 190 -200 105 -104 190 -197 190 -205 0 -8 -41 -56 -92 -107 -65 -65 -87 -94 -77 -98 8 -3 138 -4 289 -3 l275 3 3 275 c1 151 0 281 -3 289 -4 10 -35 -14 -103 -82 -54 -53 -103 -97 -109 -97 -7 0 -99 88 -206 195 -107 107 -196 195 -198 195 -3 0 -39 -35 -82 -78z"/> <path d="M1470 1639 c-47 -49 -87 -91 -89 -94 -5 -6 149 -165 160 -165 9 0 189 179 189 188 0 12 -154 162 -165 161 -6 0 -48 -41 -95 -90z"/> <path d="M1797 1303 c-9 -8 -9 -568 0 -576 4 -4 50 36 103 88 54 52 101 95 106 95 5 0 95 -85 199 -190 104 -104 194 -190 200 -190 6 0 46 36 90 80 l79 79 -197 196 c-108 108 -197 199 -197 203 0 4 45 52 99 106 55 55 98 103 95 108 -6 10 -568 11 -577 1z"/> </g> </svg>'},94193:function(e,t,i){"use strict";i.d(t,{SourceEditor:function(){return o}});var n=i(25045);class o{get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(e){this.isReady?e():this.j.events?.on(this,"ready",e)}constructor(e,t,i,o){(0,n._)(this,"jodit",void 0),(0,n._)(this,"container",void 0),(0,n._)(this,"toWYSIWYG",void 0),(0,n._)(this,"fromWYSIWYG",void 0),(0,n._)(this,"instance",void 0),(0,n._)(this,"className",void 0),(0,n._)(this,"isReady",void 0),this.jodit=e,this.container=t,this.toWYSIWYG=i,this.fromWYSIWYG=o,this.className="",this.isReady=!1}}},94358:function(e,t,i){"use strict";var n=i(81937),o=i(28077),r=i(65946),s=i(29434),a=i(5266),l=i(17995),c=i.n(l);a.Config.prototype.controls.about={exec(e){let t=e.dlg({closeOnClickOverlay:!0}),i=e.i18n.bind(e);t.setMod("theme",e.o.theme).setHeader(i("About Jodit")).setContent(`<div class="jodit-about">
|
|
@@ -264,5 +264,5 @@
|
|
|
264
264
|
${i("contains detailed help for using")}
|
|
265
265
|
</div>
|
|
266
266
|
<div>${i("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")}</div>
|
|
267
|
-
</div>`),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:n.MODE_SOURCE+n.MODE_WYSIWYG},o.pluginSystem.add("about",function(e){e.registerButton({name:"about",group:"info"})}),s.Icon.set("about",c())},94561:function(e,t,i){"use strict";i.d(t,{removeEmptyTextNode:function(){return o}});var n=i(23211);function o(e,t,i,o,r,s){return n.Dom.isText(t)&&!t.nodeValue?(t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),n.Dom.safeRemove(t),!0):i}},94806:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},94925:function(e,t,i){"use strict";i.d(t,{Uploader:function(){return c}});var n=i(25045),o=i(16964),r=i(81937),s=i(65946),a=i(5266),l=i(11981);i(40013);class c extends o.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,i){let n=()=>{e.classList.remove("jodit_drag_hover")},o=this,s=e=>{let s,a,c,u=e.clipboardData,d=e=>{a&&(e.append("extension",c),e.append("mimetype",a.type))};if(!r.IS_IE&&(0,l.hasFiles)(u))return(0,l.sendFiles)(o,u.files,t,i).finally(n),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,l.processOldBrowserDrag)(o,u,t,i,n);if((0,l.hasItems)(u)){let{items:r}=u;for(s=0;s<r.length;s+=1)if("file"===r[s].kind&&"image/png"===r[s].type){if(a=r[s].getAsFile()){let e=a.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,l.sendFiles)(o,[a],t,i,d).finally(n)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s),this.attachEvents(e,t,i,n)}attachEvents(e,t,i,n){let o=this;o.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,l.hasFiles)(t.dataTransfer)||(0,l.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",r=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(r.dataTransfer)&&(r.preventDefault(),r.stopImmediatePropagation(),(0,l.sendFiles)(o,r.dataTransfer.files,t,i).finally(n))});let r=e.querySelector("input[type=file]");r&&o.j.e.on(r,"change",()=>{(0,l.sendFiles)(o,r.files,t,i).then(()=>{r.value="",/safari/i.test(navigator.userAgent)||(r.type="",r.type="file")}).finally(n)})}uploadRemoteImage(e,t,i){let n=this,{o}=n,r=(0,s.isFunction)(i)?i:o.defaultHandlerError;(0,l.send)(n,{action:"fileUploadRemote",url:e}).then(e=>{o.isSuccess.call(n,e)?((0,s.isFunction)(t)?t:o.defaultHandlerSuccess).call(n,o.process.call(n,e)):r.call(n,(0,s.error)(o.getMessage.call(n,e)))}).catch(e=>r.call(n,e))}upload(e){return this.async.promise((t,i)=>{(0,l.sendFiles)(this,e,t,i)})}destruct(){this.setStatus(o.STATUSES.beforeDestruct);let e=l.ajaxInstances.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch{}}),e.clear()),super.destruct()}constructor(e,t){super(e),(0,n._)(this,"path",""),(0,n._)(this,"source","default"),(0,n._)(this,"options",void 0),this.options=(0,s.ConfigProto)(t||{},(0,s.ConfigProto)(a.Config.defaultOptions.uploader,(0,s.isJoditObject)(e)?e.o.uploader:{}))}}},94978:function(e,t,i){"use strict";i.d(t,{AceEditor:function(){return a}});var n=i(25045),o=i(81937),r=i(65946),s=i(94193);class a extends s.SourceEditor{aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){let e=this.instance.session.getLength(),t=[],i=0;for(let n=0;e>n;n++)i+=this.getLastColumnIndex(n),n>0&&(i+=1),t[n]=i;return t}getRowColumnIndices(e){let t=this.getLastColumnIndices();if(e<=t[0])return{row:0,column:e};let i=1;for(let n=1;n<t.length;n++)e>t[n]&&(i=n+1);let n=e-t[i-1]-1;return{row:i,column:n}}setSelectionRangeIndices(e,t){let i=this.getRowColumnIndices(e),n=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:i,end:n})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){let t=()=>{if(void 0!==this.instance||!this.aceExists())return;let t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t);let i=e.ow.ace;this.instance=i.edit(t),"rtl"===e.o.direction&&(this.instance.setOption("rtlText",!0),this.instance.setOption("rtl",!0)),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==o.MODE_WYSIWYG&&this.setValue(this.getValue());let n=this.j.async.throttle(()=>{if(e.isInDestruct||e.getMode()===o.MODE_WYSIWYG)return;let t=this.instance.isFocused();"auto"!==e.o.height?this.instance.setOption("maxLines",e.workplace.offsetHeight/this.instance.renderer.lineHeight):this.instance.setOption("maxLines",1/0),this.instance.resize(),t&&this.focus()},2*this.j.defaultTimeout);e.e.on(e,"resize",n).on("afterResize afterSetMode",n),n(),this.onReady()};e.e.on("afterSetMode",()=>{(e.getRealMode()===o.MODE_SOURCE||e.getMode()===o.MODE_SPLIT)&&(this.fromWYSIWYG(),t())}),t(),this.aceExists()||(0,r.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then(()=>{e.isInDestruct||t()}).catch(()=>null)}destruct(){this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),this.j?.events?.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let t=this.j.e.fire("beautifyHTML",e);(0,r.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.container.focus(),this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){let t=this.instance.selection.getCursor(),i=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:i},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){let{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})}constructor(...e){super(...e),(0,n._)(this,"className","jodit_ace_editor"),(0,n._)(this,"proxyOnBlur",e=>{this.j.e.fire("blur",e)}),(0,n._)(this,"proxyOnFocus",e=>{this.j.e.fire("focus",e)}),(0,n._)(this,"proxyOnMouseDown",e=>{this.j.e.fire("mousedown",e)})}}},95032:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},95042:function(e){e.exports={Spellcheck:"拼字檢查"}},95134:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},95320:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},95399:function(e,t,i){"use strict";i.d(t,{UITooltip:function(){return m}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(27795),l=i(28077),c=i(23599),u=i(93640),d=i(96007);let h=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],p=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"];class m extends d.UIElement{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(e){(0,l.getContainer)(this.j,m).appendChild(this.container),this.__attachedContainers.add(e),this.__attachedContainers.add(this.j.container),this.j.e.on(e,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(e,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;let e=this.j;e.e.on(e.ow,h,this.__hide).on(p,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;let e=this.j;e.e.off(e.ow,h,this.__hide).off(p,this.__hide)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!a.Dom.isHTMLElement(e.target))return;let t=(0,u.attr)(e.target,"aria-label");if(!t||(0,u.attr)(e.target,"disabled")||!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;let i=e.target;this.__open(()=>{let e=(0,c.position)(i);return{x:e.left+e.width/2,y:e.top+e.height}},t)}__open(e,t){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);let i=this.j.o.showTooltipDelay||this.j.defaultTimeout;i?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(e,t),i):this.__show(e,t)}__show(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t;let i=e();(0,u.css)(this.container,{left:i.x,top:i.y})}__hide(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnLeave(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),this.getElm("content").innerHTML="",(0,u.css)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(e=>{this.j.e.off(e,"mouseenter.tooltip",this.__onMouseEnter).off(e,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(e){super(e),(0,n._)(this,"__isOpened",!1),(0,n._)(this,"__attachedContainers",new Set),(0,n._)(this,"__listenClose",!1),(0,n._)(this,"__currentTarget",null),(0,n._)(this,"__delayShowTimeout",0),(0,n._)(this,"__hideTimeout",0),e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||(this.j.e.on("getContainer",e=>{this.__onAttach(e)}),e.hookStatus(r.STATUSES.ready,()=>{this.__onAttach(this.j.container)}))}}(0,o.__decorate)([s.autobind],m.prototype,"__onMouseLeave",null),(0,o.__decorate)([s.autobind],m.prototype,"__onMouseEnter",null),(0,o.__decorate)([s.autobind],m.prototype,"__hide",null),(0,o.__decorate)([s.autobind],m.prototype,"__hideDelay",null),m=(0,o.__decorate)([s.component],m)},95436:function(e,t,i){"use strict";i.d(t,{processOldBrowserDrag:function(){return c}});var n=i(81937),o=i(27795),r=i(28077),s=i(65946),a=i(23112),l=i(46533);function c(e,t,i,c,u){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){let t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.getContainer)(e.j,e.constructor).appendChild(t);let n=(0,s.isJoditObject)(e.j)?e.j.s.save():null;t.focus(),e.j.async.setTimeout(()=>{let r=t.firstChild;if(o.Dom.safeRemove(t),r&&r.hasAttribute("src")){let t=(0,s.attr)(r,"src")||"";n&&(0,s.isJoditObject)(e.j)&&e.j.s.restore(),(0,l.sendFiles)(e,[(0,a.dataURItoBlob)(t)],i,c).finally(u)}},e.j.defaultTimeout)}}},95461:function(e){e.exports.default=["Bitte geben Sie einen Text ein","Über Jodit","Jodit Editor","Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte öffnen","Editor in voller Größe öffnen","Formatierung löschen","Füllfarbe oder Textfarbe ändern","Wiederholen","Rückgängig machen","Fett","Kursiv","Unsortierte Liste einfügen","Nummerierte Liste einfügen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einfügen","Bild einfügen","Datei einfügen","Youtube/vimeo Video einfügen","Link einfügen","Schriftgröße","Schriftfamilie","Formatblock einfügen","Normal","Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Zitat","Code","Einfügen","Tabelle einfügen","Einzug verkleinern","Einzug vergrößern","Sonderzeichen auswählen","Sonderzeichen einfügen","Format kopieren","Änderungsmodus","Ränder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei löschen","oder hier klicken","Alternativtext","Hochladen","Auswählen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einfügen","Spalte danach einfügen","Zeile oberhalb einfügen","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Zelle leeren","Zeichen: %d","Wörter: %d","Durchstreichen","Unterstreichen","Hochstellen","Tiefstellen","Auswahl ausschneiden","Alles markieren","Pause","Suche nach","Ersetzen durch","Ersetzen","Einfügen","Wählen Sie den Inhalt zum Einfügen aus","HTML","Fett gedruckt","Kursiv","Bürste","Verknüpfung","Rückgängig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgröße","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","Wählen Sie Alle aus","Code einbetten","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Aktualisieren","Bearbeiten","Ansehen","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Wiederherstellen","Speichern","Speichern als","Größe ändern","Größe anpassen","Breite","Höhe","Seitenverhältnis beibehalten","Ja","Nein","Entfernen","Markieren","Markieren: %s","Vertikale Ausrichtung","Unterteilen","Vereinen","Spalte hinzufügen","Zeile hinzufügen","Lizenz: %s","Löschen","Vertikal unterteilen","Horizontal unterteilen","Rand","Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Als HTML einfügen?","Original speichern","Als Text einfügen","Nur Text einfügen","Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einfügen","Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius für abgerundete Ecken","Alle anzeigen","Anwenden","Bitte füllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","In Word formatierter Text erkannt","Säubern","className (CSS) einfügen","Drücken Sie Alt für benutzerdefinierte Größenanpassung",null,null,null,"Alles markieren"]},95559:function(e,t,i){"use strict";i.d(t,{allowAttributes:function(){return o}});var n=i(23211);function o(e,t,i,o){if(o&&n.Dom.isElement(t)&&!0!==o[t.nodeName]){let e=t.attributes;if(e&&e.length){let n=[];for(let i=0;i<e.length;i+=1){let r=o[t.nodeName][e[i].name];r&&(!0===r||r===e[i].value)||n.push(e[i].name)}n.length&&(i=!0),n.forEach(e=>{t.removeAttribute(e)})}}return i}},95562:function(e){e.exports={"Line height":"行高"}},95971:function(e,t,i){"use strict";i.d(t,{elementsEqualAttributes:function(){return l},isSameAttributes:function(){return a}});var n=i(18073),o=i(93640),r=i(28712),s=i(9703);function a(e,t){return!((e.attributes.length||(0,n.size)(t))&&(0,n.size)(t))||((0,r.assert)(t,"Attrs must be a non-empty object"),Object.keys(t).every(i=>"class"===i||"className"===i?e.classList.contains(t[i]):"style"===i?(0,s.hasSameStyle)(e,t[i]):(0,o.attr)(e,i)===t[i]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},96007:function(e,t,i){"use strict";i.d(t,{UIElement:function(){return h}});var n=i(25045),o=i(31635),r=i(16964),s=i(24968),a=i(23211),l=i(85932),c=i(23183),u=i(81987),d=i(29434);class h extends r.ViewComponent{get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){return this.__parentElement?.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){let t="object"==typeof e?t=>t===e:t=>r.Component.isInstanceOf(t,e),i=this.__parentElement;for(;i;){if(t(i))return i;i=!i.parentElement&&i.container.parentElement?h.closestElement(i.container.parentElement,h):i.parentElement}return null}static closestElement(e,t){let i=a.Dom.up(e,e=>{if(e){let{component:i}=e;return i&&r.Component.isInstanceOf(i,t)}return!1});return i?i?.component:null}update(){}appendTo(e){return e.appendChild(this.container),this}clearName(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}render(e){return this.j.c.div(this.componentName)}createContainer(e){let t=this.render(e);if((0,l.isString)(t)){let e=this.parseTemplate(t);return e.classList.add(this.componentName),e}return t}parseTemplate(e){return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,(e,t)=>d.Icon.get(t)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(e,t)=>this.i18n(t)))}destruct(){return a.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(e,t){super(e),(0,n._)(this,"container",void 0),(0,n._)(this,"name",""),(0,n._)(this,"__parentElement",null),(0,n._)(this,"mods",{}),this.container=this.createContainer(t),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}}h=(0,o.__decorate)([(0,s.derive)(u.Mods,c.Elms)],h)},96127:function(e,t,i){"use strict";i.d(t,{ApplyStyle:function(){return s}});var n=i(51640),o=i(98394),r=i(78462);function s(e,t){let{s:i,editor:s}=e;s.firstChild?.normalize();let a=i.fakes(),l=e.s.wrapInTagGen(a),c=l.next();if(c.done)return;let u={collapsed:i.isCollapsed(),mode:o.INITIAL,element:c.value,next:r.states.START,jodit:e,style:t};for(;c&&!c.done;){let e=new n.FiniteStateMachine(r.states.START,r.transactions);for(u.element=c.value;e.getState()!==r.states.END;)u=e.dispatch("exec",u);c=l.next()}i.restoreFakes(a)}},96340:function(e,t,i){"use strict";i.d(t,{normalizeRelativePath:function(){return n}});let n=e=>e.split("/").reduce((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},96608:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),n.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},96722:function(e,t,i){"use strict";i(5266).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},96730:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(28077),l=i(65946),c=i(91206);i(71693);var u=i(54308);class d extends c.Plugin{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,i){let{j:n}=this,{processPasteFromWord:o,askBeforePasteFromWord:r,defaultActionOnPasteFromWord:s,defaultActionOnPaste:a,pasteFromWordActionList:c}=n.o;return!!(o&&(0,l.isHtmlFromWord)(t))&&(r?(0,u.askInsertTypeDialog)(n,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",n=>{this.insertFromWordByType(e,t,n,i)},c):this.insertFromWordByType(e,t,s||a,i),!0)}insertFromWordByType(e,t,i,n){switch(i){case r.INSERT_AS_HTML:{t=(0,l.applyStyles)(t);let e=this.j.events?.fire("beautifyHTML",t);(0,l.isString)(e)&&(t=e);break}case r.INSERT_AS_TEXT:t=(0,l.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,l.stripTags)((0,l.cleanFromWord)(t))}(0,u.pasteInsertHtml)(e,this.j,t)}}(0,n._)(d,"requires",["paste"]),(0,o.__decorate)([(0,s.watch)(":processHTML")],d.prototype,"processWordHTML",null),a.pluginSystem.add("pasteFromWord",d)},96863:function(e,t,i){"use strict";var n=i(23211),o=i(62101),r=i(29434),s=i(5266),a=i(29348),l=i.n(a);r.Icon.set("paragraph",l()),s.Config.prototype.controls.paragraph={command:"formatBlock",value(e,t){let i=t.control,o=e.s.current(),r=n.Dom.closest(o,n.Dom.isBlock,e.editor);return r?.nodeName.toLowerCase()??i.data?.currentValue},update(e,t){let i=t.control;if(!e.s.current())return!1;let n=t.state.value,r=i.list;return(0,o.isPlainObject)(r)&&r[n.toString()]&&e.o.textIcons&&(t.state.text=r[n.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:(e,t)=>t.state.value===t.control?.args?.[0],isActive:(e,t)=>t.state.value!==e.o.enter&&(0,o.isPlainObject)(t.control.list)&&!!t.control.list[t.state.value],childTemplate:(e,t,i)=>`<${t} style="margin:0;padding:0"><span>${e.i18n(i)}</span></${t}>`,tooltip:"Insert format block"}},96978:function(e){e.exports={symbols:"Symbolit"}},97022:function(e,t,i){"use strict";i.d(t,{NUMBER_FIELDS_REG:function(){return o.NUMBER_FIELDS_REG},normalizeColor:function(){return n.normalizeColor},normalizeCssNumericValue:function(){return o.normalizeCssNumericValue},normalizeCssValue:function(){return o.normalizeCssValue},normalizeKeyAliases:function(){return r.normalizeKeyAliases},normalizeLicense:function(){return s.normalizeLicense},normalizePath:function(){return a.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return c.normalizeSize},normalizeUrl:function(){return u.normalizeUrl}});var n=i(77367),o=i(19147),r=i(27978),s=i(49663),a=i(18377),l=i(96340),c=i(98831),u=i(48009)},97110:function(e,t,i){"use strict";i.d(t,{wrapList:function(){return s}});var n=i(27795),o=i(51640),r=i(98394);function s(e,t,i){let s=i.e.fire(`${r._PREFIX}BeforeWrapList`,r.REPLACE,t,e)??n.Dom.replace(t,"li",i.createInside),a=s.previousElementSibling,l=s.nextElementSibling,c=n.Dom.isTag(a,e.element)?a:null;return c??=n.Dom.isTag(l,e.element)?l:null,n.Dom.isList(c)&&(0,o.isSameAttributes)(c,e.options.attributes)||(c=i.createInside.element(e.element),(0,o.toggleAttributes)(e,c,i,r.INITIAL),n.Dom.before(s,c)),a===c?n.Dom.append(c,s):n.Dom.prepend(c,s),n.Dom.isTag(c.nextElementSibling,e.element)&&(0,o.elementsEqualAttributes)(c,c.nextElementSibling)&&(n.Dom.append(c,Array.from(c.nextElementSibling.childNodes)),n.Dom.safeRemove(c.nextElementSibling)),i.e.fire(`${r._PREFIX}AfterWrapList`,r.WRAP,c,e),c}},97228:function(e,t,i){"use strict";i.d(t,{defaultLanguage:function(){return r}});var n=i(81937),o=i(85932);let r=(e,t="en")=>"auto"!==e&&(0,o.isString)(e)?e:n.globalDocument.documentElement&&n.globalDocument.documentElement.lang?n.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},97493:function(e){e.exports={symbols:"символ"}},97642:function(e,t,i){"use strict";i.d(t,{CamelCaseToKebabCase:function(){return s.CamelCaseToKebabCase},camelCase:function(){return n.camelCase},fuzzySearchIndex:function(){return o.fuzzySearchIndex},i18n:function(){return r.i18n},kebabCase:function(){return s.kebabCase},sprintf:function(){return r.sprintf},stringify:function(){return a.stringify},trim:function(){return l.trim},trimChars:function(){return l.trimChars},trimInv:function(){return l.trimInv},ucfirst:function(){return c.ucfirst}});var n=i(57821),o=i(57626),r=i(18080),s=i(74264),a=i(3347),l=i(4040),c=i(99436)},97834:function(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit","Instrukcja Jodit","zawiera szczegółowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otwórz w nowej zakładce","Otwórz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Ponów","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyrównaj do lewej","Wyrównaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Krój czcionki","Wstaw formatowanie","Normalne","Nagłówek 1","Nagłówek 2","Nagłówek 3","Nagłówek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz formatów","Zmień tryb","Marginesy","Górny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyrównanie","Prawa","środek","Lewa","brak","Źródło","Tytuł","Tekst alternatywny","Link","Otwórz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Przeglądarka plików","Błąd ładowania listy plików","Błąd ładowania folderów","Czy jesteś pewien?","Wprowadź nazwę folderu","Utwórz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Wczytaj","Przeglądaj","Tło","Treść","Góra","Środek","Dół","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść komórkę","Znaki: %d","Słowa: %d","Przekreślenie","Podkreślenie","indeks górny","index dolny","Wytnij zaznaczenie","Wybierz wszystko","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","HTML","pogrubienie","kursywa","pędzel","link","cofnij","ponów","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otwórz link","edytuj link","Atrybut no-follow","Usuń link","Aktualizuj","edytuj","szukaj","URL","Edytuj","Wyrównywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Wybierz: %s","Wyrównywanie w pionie","Podziel","Scal","Dodaj kolumnę","Dodaj wiersz","Licencja: %s","Usuń","Podziel w pionie","Podziel w poziomie","Obramowanie","Twój kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wstaw jako tekst","Wstaw tylko treść","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plików.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Wykryto tekst w formacie Word","Wyczyść","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar",null,null,null,"Wszystko"]},97959:function(e,t,i){"use strict";i.d(t,{UIList:function(){return f}});var n=i(25045),o=i(31635),r=i(80251),s=i(84839),a=i(32328),l=i(53681),c=i(63468),u=i(35676),d=i(27987),h=i(2496),p=i(15982),m=i(40253);class f extends c.UIGroup{className(){return"UIList"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(){return new c.UIGroup(this.jodit)}get buttons(){return this.allChildren.filter(e=>r.Component.isInstanceOf(e,l.UIButton))}getButtonsNames(){return this.buttons.map(e=>e instanceof l.UIButton&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){let i;e=(0,a.splitArray)(e),this.clear();let n=!1,o=this.makeGroup();this.append(o),o.setMod("line",!0);let r=e=>{let r=null;switch(e.name){case`
|
|
267
|
+
</div>`),(0,r.css)(t.dialog,{minHeight:200,minWidth:420}),t.open(!0,!0)},tooltip:"About Jodit",mode:n.MODE_SOURCE+n.MODE_WYSIWYG},o.pluginSystem.add("about",function(e){e.registerButton({name:"about",group:"info"})}),s.Icon.set("about",c())},94561:function(e,t,i){"use strict";i.d(t,{removeEmptyTextNode:function(){return o}});var n=i(23211);function o(e,t,i,o,r,s){return n.Dom.isText(t)&&!t.nodeValue?(t===s&&e.s.isCollapsed()&&e.s.setCursorAfter(t),n.Dom.safeRemove(t),!0):i}},94806:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"><path d="M640 768h512v-192q0-106-75-181t-181-75-181 75-75 181v192zm832 96v576q0 40-28 68t-68 28h-960q-40 0-68-28t-28-68v-576q0-40 28-68t68-28h32v-192q0-184 132-316t316-132 316 132 132 316v192h32q40 0 68 28t28 68z"/></svg>'},94925:function(e,t,i){"use strict";i.d(t,{Uploader:function(){return c}});var n=i(25045),o=i(16964),r=i(81937),s=i(65946),a=i(5266),l=i(11981);i(40013);class c extends o.ViewComponent{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(e){return this.path=e,this}setSource(e){return this.source=e,this}bind(e,t,i){let n=()=>{e.classList.remove("jodit_drag_hover")},o=this,s=e=>{let s,a,c,u=e.clipboardData,d=e=>{a&&(e.append("extension",c),e.append("mimetype",a.type))};if(!r.IS_IE&&(0,l.hasFiles)(u))return(0,l.sendFiles)(o,u.files,t,i).finally(n),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,l.processOldBrowserDrag)(o,u,t,i,n);if((0,l.hasItems)(u)){let{items:r}=u;for(s=0;s<r.length;s+=1)if("file"===r[s].kind&&"image/png"===r[s].type){if(a=r[s].getAsFile()){let e=a.type.match(/\/([a-z0-9]+)/i);c=e[1]?e[1].toLowerCase():"",(0,l.sendFiles)(o,[a],t,i,d).finally(n)}e.preventDefault();break}}};o.j&&o.j.editor!==e?o.j.e.on(e,"paste",s):o.j.e.on("beforePaste",s),this.attachEvents(e,t,i,n)}attachEvents(e,t,i,n){let o=this;o.j.e.on(e,"dragend dragover dragenter dragleave drop",e=>{e.preventDefault()}).on(e,"dragover",t=>{((0,l.hasFiles)(t.dataTransfer)||(0,l.hasItems)(t.dataTransfer))&&(e.classList.add("jodit_drag_hover"),t.preventDefault())}).on(e,"dragend dragleave",t=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(t.dataTransfer)&&t.preventDefault()}).on(e,"drop",r=>{e.classList.remove("jodit_drag_hover"),(0,l.hasFiles)(r.dataTransfer)&&(r.preventDefault(),r.stopImmediatePropagation(),(0,l.sendFiles)(o,r.dataTransfer.files,t,i).finally(n))});let r=e.querySelector("input[type=file]");r&&o.j.e.on(r,"change",()=>{(0,l.sendFiles)(o,r.files,t,i).then(()=>{r.value="",/safari/i.test(navigator.userAgent)||(r.type="",r.type="file")}).finally(n)})}uploadRemoteImage(e,t,i){let n=this,{o}=n,r=(0,s.isFunction)(i)?i:o.defaultHandlerError;(0,l.send)(n,{action:"fileUploadRemote",url:e}).then(e=>{o.isSuccess.call(n,e)?((0,s.isFunction)(t)?t:o.defaultHandlerSuccess).call(n,o.process.call(n,e)):r.call(n,(0,s.error)(o.getMessage.call(n,e)))}).catch(e=>r.call(n,e))}upload(e){return this.async.promise((t,i)=>{(0,l.sendFiles)(this,e,t,i)})}destruct(){this.setStatus(o.STATUSES.beforeDestruct);let e=l.ajaxInstances.get(this);e&&(e.forEach(e=>{try{e.destruct()}catch{}}),e.clear()),super.destruct()}constructor(e,t){super(e),(0,n._)(this,"path",""),(0,n._)(this,"source","default"),(0,n._)(this,"options",void 0),this.options=(0,s.ConfigProto)(t||{},(0,s.ConfigProto)(a.Config.defaultOptions.uploader,(0,s.isJoditObject)(e)?e.o.uploader:{}))}}},94978:function(e,t,i){"use strict";i.d(t,{AceEditor:function(){return a}});var n=i(25045),o=i(81937),r=i(65946),s=i(94193);class a extends s.SourceEditor{aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(e){return this.instance.session.getLine(e).length}getLastColumnIndices(){let e=this.instance.session.getLength(),t=[],i=0;for(let n=0;e>n;n++)i+=this.getLastColumnIndex(n),n>0&&(i+=1),t[n]=i;return t}getRowColumnIndices(e){let t=this.getLastColumnIndices();if(e<=t[0])return{row:0,column:e};let i=1;for(let n=1;n<t.length;n++)e>t[n]&&(i=n+1);let n=e-t[i-1]-1;return{row:i,column:n}}setSelectionRangeIndices(e,t){let i=this.getRowColumnIndices(e),n=this.getRowColumnIndices(t);this.instance.getSelection().setSelectionRange({start:i,end:n})}getIndexByRowColumn(e,t){return this.getLastColumnIndices()[e]-this.getLastColumnIndex(e)+t}init(e){let t=()=>{if(void 0!==this.instance||!this.aceExists())return;let t=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(t);let i=e.ow.ace;this.instance=i.edit(t),"rtl"===e.o.direction&&(this.instance.setOption("rtlText",!0),this.instance.setOption("rtl",!0)),this.instance.setTheme(e.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(e.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(e.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(e.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",e.o.sourceEditorNativeOptions.wrap),this.instance.getSession().setUseWorker(!1),this.instance.$blockScrolling=1/0,this.instance.on("change",this.toWYSIWYG),this.instance.on("focus",this.proxyOnFocus),this.instance.on("mousedown",this.proxyOnMouseDown),this.instance.on("blur",this.proxyOnBlur),e.getRealMode()!==o.MODE_WYSIWYG&&this.setValue(this.getValue());let n=this.j.async.throttle(()=>{if(e.isInDestruct||e.getMode()===o.MODE_WYSIWYG)return;let t=this.instance.isFocused();"auto"!==e.o.height?this.instance.setOption("maxLines",e.workplace.offsetHeight/this.instance.renderer.lineHeight):this.instance.setOption("maxLines",1/0),this.instance.resize(),t&&this.focus()},2*this.j.defaultTimeout);e.e.on(e,"resize",n).on("afterResize afterSetMode",n),n(),this.onReady()},i=()=>{e.isInDestruct||e.getRealMode()!==o.MODE_SOURCE&&e.getMode()!==o.MODE_SPLIT||(this.fromWYSIWYG(),t())};e.e.on("afterSetMode",i),i(),this.aceExists()||(0,r.loadNext)(e,e.o.sourceEditorCDNUrlsJS).then(i).catch(()=>null)}destruct(){this.instance.off("change",this.toWYSIWYG),this.instance.off("focus",this.proxyOnFocus),this.instance.off("mousedown",this.proxyOnMouseDown),this.instance.destroy(),this.j?.events?.off("aceInited.source")}setValue(e){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){let t=this.j.e.fire("beautifyHTML",e);(0,r.isString)(t)&&(e=t)}this.instance.setValue(e),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(e){this.instance.setReadOnly(e)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.container.focus(),this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.start.row,e.start.column)}getSelectionEnd(){let e=this.instance.selection.getRange();return this.getIndexByRowColumn(e.end.row,e.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(e){let t=this.instance.selection.getCursor(),i=this.instance.session.insert(t,e);this.instance.selection.setRange({start:t,end:i},!1)}setSelectionRange(e,t){this.setSelectionRangeIndices(e,t)}setPlaceHolder(e){}replaceUndoManager(){let{history:e}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){e.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){e.redo()}})}constructor(...e){super(...e),(0,n._)(this,"className","jodit_ace_editor"),(0,n._)(this,"proxyOnBlur",e=>{this.j.e.fire("blur",e)}),(0,n._)(this,"proxyOnFocus",e=>{this.j.e.fire("focus",e)}),(0,n._)(this,"proxyOnMouseDown",e=>{this.j.e.fire("mousedown",e)})}}},95032:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1520 1216q0-40-28-68l-208-208q-28-28-68-28-42 0-72 32 3 3 19 18.5t21.5 21.5 15 19 13 25.5 3.5 27.5q0 40-28 68t-68 28q-15 0-27.5-3.5t-25.5-13-19-15-21.5-21.5-18.5-19q-33 31-33 73 0 40 28 68l206 207q27 27 68 27 40 0 68-26l147-146q28-28 28-67zm-703-705q0-40-28-68l-206-207q-28-28-68-28-39 0-68 27l-147 146q-28 28-28 67 0 40 28 68l208 208q27 27 68 27 42 0 72-31-3-3-19-18.5t-21.5-21.5-15-19-13-25.5-3.5-27.5q0-40 28-68t68-28q15 0 27.5 3.5t25.5 13 19 15 21.5 21.5 18.5 19q33-31 33-73zm895 705q0 120-85 203l-147 146q-83 83-203 83-121 0-204-85l-206-207q-83-83-83-203 0-123 88-209l-88-88q-86 88-208 88-120 0-204-84l-208-208q-84-84-84-204t85-203l147-146q83-83 203-83 121 0 204 85l206 207q83 83 83 203 0 123-88 209l88 88q86-88 208-88 120 0 204 84l208 208q84 84 84 204z"/> </svg>'},95042:function(e){e.exports={Spellcheck:"拼字檢查"}},95134:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1664 960q-152-236-381-353 61 104 61 225 0 185-131.5 316.5t-316.5 131.5-316.5-131.5-131.5-316.5q0-121 61-225-229 117-381 353 133 205 333.5 326.5t434.5 121.5 434.5-121.5 333.5-326.5zm-720-384q0-20-14-34t-34-14q-125 0-214.5 89.5t-89.5 214.5q0 20 14 34t34 14 34-14 14-34q0-86 61-147t147-61q20 0 34-14t14-34zm848 384q0 34-20 69-140 230-376.5 368.5t-499.5 138.5-499.5-139-376.5-368q-20-35-20-69t20-69q140-229 376.5-368t499.5-139 499.5 139 376.5 368q20 35 20 69z"/> </svg>'},95320:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 18 18"> <g fill-rule="evenodd" stroke="none" stroke-width="1"> <g transform="translate(-381.000000, -381.000000)"> <g transform="translate(381.000000, 381.000000)"> <path d="M0,2 L2,2 L2,0 C0.9,0 0,0.9 0,2 L0,2 Z M0,10 L2,10 L2,8 L0,8 L0,10 L0,10 Z M4,18 L6,18 L6,16 L4,16 L4,18 L4,18 Z M0,6 L2,6 L2,4 L0,4 L0,6 L0,6 Z M10,0 L8,0 L8,2 L10,2 L10,0 L10,0 Z M16,0 L16,2 L18,2 C18,0.9 17.1,0 16,0 L16,0 Z M2,18 L2,16 L0,16 C0,17.1 0.9,18 2,18 L2,18 Z M0,14 L2,14 L2,12 L0,12 L0,14 L0,14 Z M6,0 L4,0 L4,2 L6,2 L6,0 L6,0 Z M8,18 L10,18 L10,16 L8,16 L8,18 L8,18 Z M16,10 L18,10 L18,8 L16,8 L16,10 L16,10 Z M16,18 C17.1,18 18,17.1 18,16 L16,16 L16,18 L16,18 Z M16,6 L18,6 L18,4 L16,4 L16,6 L16,6 Z M16,14 L18,14 L18,12 L16,12 L16,14 L16,14 Z M12,18 L14,18 L14,16 L12,16 L12,18 L12,18 Z M12,2 L14,2 L14,0 L12,0 L12,2 L12,2 Z M4,14 L14,14 L14,4 L4,4 L4,14 L4,14 Z M6,6 L12,6 L12,12 L6,12 L6,6 L6,6 Z"/> </g> </g> </g> </svg>'},95399:function(e,t,i){"use strict";i.d(t,{UITooltip:function(){return m}});var n=i(25045),o=i(31635),r=i(16964),s=i(84839),a=i(27795),l=i(28077),c=i(23599),u=i(93640),d=i(96007);let h=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],p=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"];class m extends d.UIElement{className(){return"UITooltip"}render(){return'<div><div class="&__content"></div></div>'}__onAttach(e){(0,l.getContainer)(this.j,m).appendChild(this.container),this.__attachedContainers.add(e),this.__attachedContainers.add(this.j.container),this.j.e.on(e,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(e,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;let e=this.j;e.e.on(e.ow,h,this.__hide).on(p,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;let e=this.j;e.e.off(e.ow,h,this.__hide).off(p,this.__hide)}__onMouseLeave(e){this.__currentTarget===e.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(e){if(!a.Dom.isHTMLElement(e.target))return;let t=(0,u.attr)(e.target,"aria-label");if(!t||(0,u.attr)(e.target,"disabled")||!e.target.className.includes("jodit"))return;this.__currentTarget=e.target;let i=e.target;this.__open(()=>{let e=(0,c.position)(i);return{x:e.left+e.width/2,y:e.top+e.height}},t)}__open(e,t){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);let i=this.j.o.showTooltipDelay||this.j.defaultTimeout;i?this.__delayShowTimeout=this.j.async.setTimeout(()=>this.__show(e,t),i):this.__show(e,t)}__show(e,t){this.setMod("visible",!0),this.getElm("content").innerHTML=t;let i=e();(0,u.css)(this.container,{left:i.x,top:i.y})}__hide(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__removeListenersOnLeave(),this.__isOpened&&(this.__isOpened=!1,this.setMod("visible",!1),this.getElm("content").innerHTML="",(0,u.css)(this.container,{left:-5e3}))}__hideDelay(){this.j.async.clearTimeout(this.__delayShowTimeout),this.j.async.clearTimeout(this.__hideTimeout),this.__isOpened&&(this.__hideTimeout=this.async.setTimeout(this.__hide,this.j.defaultTimeout))}destruct(){this.__attachedContainers.forEach(e=>{this.j.e.off(e,"mouseenter.tooltip",this.__onMouseEnter).off(e,"mouseleave.tooltip",this.__onMouseLeave)}),this.__hide(),super.destruct()}constructor(e){super(e),(0,n._)(this,"__isOpened",!1),(0,n._)(this,"__attachedContainers",new Set),(0,n._)(this,"__listenClose",!1),(0,n._)(this,"__currentTarget",null),(0,n._)(this,"__delayShowTimeout",0),(0,n._)(this,"__hideTimeout",0),e.o.textIcons||!e.o.showTooltip||e.o.useNativeTooltip||(this.j.e.on("getContainer",e=>{this.__onAttach(e)}),e.hookStatus(r.STATUSES.ready,()=>{this.__onAttach(this.j.container)}))}}(0,o.__decorate)([s.autobind],m.prototype,"__onMouseLeave",null),(0,o.__decorate)([s.autobind],m.prototype,"__onMouseEnter",null),(0,o.__decorate)([s.autobind],m.prototype,"__hide",null),(0,o.__decorate)([s.autobind],m.prototype,"__hideDelay",null),m=(0,o.__decorate)([s.component],m)},95436:function(e,t,i){"use strict";i.d(t,{processOldBrowserDrag:function(){return c}});var n=i(81937),o=i(27795),r=i(28077),s=i(65946),a=i(23112),l=i(46533);function c(e,t,i,c,u){if(t&&(!t.types.length||t.types[0]!==n.TEXT_PLAIN)){let t=e.j.c.div("",{tabindex:-1,style:"left: -9999px; top: 0; width: 0; height: 100%;line-height: 140%; overflow: hidden; position: fixed; z-index: 2147483647; word-break: break-all;",contenteditable:!0});(0,r.getContainer)(e.j,e.constructor).appendChild(t);let n=(0,s.isJoditObject)(e.j)?e.j.s.save():null;t.focus(),e.j.async.setTimeout(()=>{let r=t.firstChild;if(o.Dom.safeRemove(t),r&&r.hasAttribute("src")){let t=(0,s.attr)(r,"src")||"";n&&(0,s.isJoditObject)(e.j)&&e.j.s.restore(),(0,l.sendFiles)(e,[(0,a.dataURItoBlob)(t)],i,c).finally(u)}},e.j.defaultTimeout)}}},95461:function(e){e.exports.default=["Bitte geben Sie einen Text ein","Über Jodit","Jodit Editor","Das Jodit Benutzerhandbuch","beinhaltet ausführliche Informationen wie Sie den Editor verwenden können.","Für Informationen zur Lizenz, besuchen Sie bitte unsere Web-Präsenz:","Vollversion kaufen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle Rechte vorbehalten.","Anker","In neuer Registerkarte öffnen","Editor in voller Größe öffnen","Formatierung löschen","Füllfarbe oder Textfarbe ändern","Wiederholen","Rückgängig machen","Fett","Kursiv","Unsortierte Liste einfügen","Nummerierte Liste einfügen","Mittig ausrichten","Blocksatz","Links ausrichten","Rechts ausrichten","Horizontale Linie einfügen","Bild einfügen","Datei einfügen","Youtube/vimeo Video einfügen","Link einfügen","Schriftgröße","Schriftfamilie","Formatblock einfügen","Normal","Überschrift 1","Überschrift 2","Überschrift 3","Überschrift 4","Zitat","Code","Einfügen","Tabelle einfügen","Einzug verkleinern","Einzug vergrößern","Sonderzeichen auswählen","Sonderzeichen einfügen","Format kopieren","Änderungsmodus","Ränder","Oben","Rechts","Unten","Links","CSS Stil","CSS Klassen","Ausrichtung","Rechts","Zentriert","Links","Keine","Pfad","Titel","Alternativer Text","Link","Link in neuem Tab öffnen","Bild","Datei","Fortgeschritten","Bildeigenschaften","Abbrechen","OK","Dateibrowser","Fehler beim Laden der Liste","Fehler beim Laden der Ordner","Sind Sie sicher?","Geben Sie den Verzeichnisnamen ein","Verzeichnis erstellen","Typname","Bild hier hinziehen","Datei löschen","oder hier klicken","Alternativtext","Hochladen","Auswählen","Hintergrund","Text","Oben","Mittig","Unten","Spalte davor einfügen","Spalte danach einfügen","Zeile oberhalb einfügen","Zeile unterhalb einfügen","Tabelle löschen","Zeile löschen","Spalte löschen","Zelle leeren","Zeichen: %d","Wörter: %d","Durchstreichen","Unterstreichen","Hochstellen","Tiefstellen","Auswahl ausschneiden","Alles markieren","Pause","Suche nach","Ersetzen durch","Ersetzen","Einfügen","Wählen Sie den Inhalt zum Einfügen aus","HTML","Fett gedruckt","Kursiv","Bürste","Verknüpfung","Rückgängig machen","Wiederholen","Tabelle","Bild","Radiergummi","Absatz","Schriftgröße","Video","Schriftart","Über","Drucken","Unterstreichen","Durchstreichen","Einzug","Herausstellen","Vollgröße","Schrumpfen","die Linie","Liste von","Nummerierte Liste","Schneiden","Wählen Sie Alle aus","Code einbetten","Link öffnen","Link bearbeiten","Nofollow-Attribut","Link entfernen","Aktualisieren","Bearbeiten","Ansehen","URL","Bearbeiten","Horizontale Ausrichtung","Filter","Sortieren nach geändert","Nach Name sortieren","Nach Größe sortiert","Ordner hinzufügen","Wiederherstellen","Speichern","Speichern als","Größe ändern","Größe anpassen","Breite","Höhe","Seitenverhältnis beibehalten","Ja","Nein","Entfernen","Markieren","Markieren: %s","Vertikale Ausrichtung","Unterteilen","Vereinen","Spalte hinzufügen","Zeile hinzufügen","Lizenz: %s","Löschen","Vertikal unterteilen","Horizontal unterteilen","Rand","Ihr Text ähnelt HTML-Code. Als HTML beibehalten?","Als HTML einfügen?","Original speichern","Als Text einfügen","Nur Text einfügen","Sie können nur Ihre eigenen Bilder bearbeiten. Dieses Bild auf den Host herunterladen?","Das Bild wurde erfolgreich auf den Server hochgeladen!","Palette","In diesem Verzeichnis befinden sich keine Dateien.","Umbenennen","Geben Sie einen neuen Namen ein","Vorschau","Herunterladen","Aus Zwischenablage einfügen","Ihr Browser unterstützt keinen direkten Zugriff auf die Zwischenablage.","Auswahl kopieren","Kopieren","Radius für abgerundete Ecken","Alle anzeigen","Anwenden","Bitte füllen Sie dieses Feld aus","Bitte geben Sie eine Web-Adresse ein","Standard","Kreis","Punkte","Quadrate","Suchen","Suche vorherige","Weitersuchen","Der Inhalt, den Sie einfügen, stammt aus einem Microsoft Word / Excel-Dokument. Möchten Sie das Format erhalten oder bereinigen?","In Word formatierter Text erkannt","Säubern","className (CSS) einfügen","Drücken Sie Alt für benutzerdefinierte Größenanpassung",null,null,null,"Alles markieren"]},95559:function(e,t,i){"use strict";i.d(t,{allowAttributes:function(){return o}});var n=i(23211);function o(e,t,i,o){if(o&&n.Dom.isElement(t)&&!0!==o[t.nodeName]){let e=t.attributes;if(e&&e.length){let n=[];for(let i=0;i<e.length;i+=1){let r=o[t.nodeName][e[i].name];r&&(!0===r||r===e[i].value)||n.push(e[i].name)}n.length&&(i=!0),n.forEach(e=>{t.removeAttribute(e)})}}return i}},95562:function(e){e.exports={"Line height":"行高"}},95971:function(e,t,i){"use strict";i.d(t,{elementsEqualAttributes:function(){return l},isSameAttributes:function(){return a}});var n=i(18073),o=i(93640),r=i(28712),s=i(9703);function a(e,t){return!((e.attributes.length||(0,n.size)(t))&&(0,n.size)(t))||((0,r.assert)(t,"Attrs must be a non-empty object"),Object.keys(t).every(i=>"class"===i||"className"===i?e.classList.contains(t[i]):"style"===i?(0,s.hasSameStyle)(e,t[i]):(0,o.attr)(e,i)===t[i]))}function l(e,t){return e.attributes.length===t.attributes.length&&Array.from(e.attributes).every(e=>t.hasAttribute(e.name)&&t.getAttribute(e.name)===e.value)}},96007:function(e,t,i){"use strict";i.d(t,{UIElement:function(){return h}});var n=i(25045),o=i(31635),r=i(16964),s=i(24968),a=i(23211),l=i(85932),c=i(23183),u=i(81987),d=i(29434);class h extends r.ViewComponent{get parentElement(){return this.__parentElement}set parentElement(e){this.__parentElement=e,e&&e.hookStatus("beforeDestruct",()=>this.destruct()),this.updateParentElement(this)}bubble(e){let t=this.parentElement;for(;t;)e(t),t=t.parentElement;return this}updateParentElement(e){return this.__parentElement?.updateParentElement(e),this}get(e,t){return super.get(e,t)||this.getElm(e)}closest(e){let t="object"==typeof e?t=>t===e:t=>r.Component.isInstanceOf(t,e),i=this.__parentElement;for(;i;){if(t(i))return i;i=!i.parentElement&&i.container.parentElement?h.closestElement(i.container.parentElement,h):i.parentElement}return null}static closestElement(e,t){let i=a.Dom.up(e,e=>{if(e){let{component:i}=e;return i&&r.Component.isInstanceOf(i,t)}return!1});return i?i?.component:null}update(){}appendTo(e){return e.appendChild(this.container),this}clearName(e){return e.replace(/[^a-zA-Z0-9]/g,"_")}render(e){return this.j.c.div(this.componentName)}createContainer(e){let t=this.render(e);if((0,l.isString)(t)){let e=this.parseTemplate(t);return e.classList.add(this.componentName),e}return t}parseTemplate(e){return this.j.c.fromHTML(e.replace(/\*([^*]+?)\*/g,(e,t)=>d.Icon.get(t)||"").replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,(e,t)=>this.i18n(t)))}destruct(){return a.Dom.safeRemove(this.container),this.parentElement=null,super.destruct()}constructor(e,t){super(e),(0,n._)(this,"container",void 0),(0,n._)(this,"name",""),(0,n._)(this,"__parentElement",null),(0,n._)(this,"mods",{}),this.container=this.createContainer(t),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}}h=(0,o.__decorate)([(0,s.derive)(u.Mods,c.Elms)],h)},96127:function(e,t,i){"use strict";i.d(t,{ApplyStyle:function(){return s}});var n=i(51640),o=i(98394),r=i(78462);function s(e,t){let{s:i,editor:s}=e;s.firstChild?.normalize();let a=i.fakes(),l=e.s.wrapInTagGen(a),c=l.next();if(c.done)return;let u={collapsed:i.isCollapsed(),mode:o.INITIAL,element:c.value,next:r.states.START,jodit:e,style:t};for(;c&&!c.done;){let e=new n.FiniteStateMachine(r.states.START,r.transactions);for(u.element=c.value;e.getState()!==r.states.END;)u=e.dispatch("exec",u);c=l.next()}i.restoreFakes(a)}},96340:function(e,t,i){"use strict";i.d(t,{normalizeRelativePath:function(){return n}});let n=e=>e.split("/").reduce((e,t)=>{switch(t){case"":case".":break;case"..":e.pop();break;default:e.push(t)}return e},[]).join("/")+(e.endsWith("/")?"/":"")},96608:function(e,t,i){"use strict";var n=i(5266);n.Config.prototype.allowResizeTags=new Set(["img","iframe","table","jodit"]),n.Config.prototype.resizer={showSize:!0,hideSizeTimeout:1e3,forImageChangeAttributes:!0,min_width:10,min_height:10,useAspectRatio:new Set(["img"])}},96722:function(e,t,i){"use strict";i(5266).Config.prototype.dtd={removeExtraBr:!0,checkBlockNesting:!0,blockLimits:{article:1,aside:1,audio:1,body:1,caption:1,details:1,dir:1,div:1,dl:1,fieldset:1,figcaption:1,figure:1,footer:1,form:1,header:1,hgroup:1,main:1,menu:1,nav:1,ol:1,section:1,table:1,td:1,th:1,tr:1,ul:1,video:1}}},96730:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(28077),l=i(65946),c=i(91206);i(71693);var u=i(54308);class d extends c.Plugin{afterInit(e){}beforeDestruct(e){}processWordHTML(e,t,i){let{j:n}=this,{processPasteFromWord:o,askBeforePasteFromWord:r,defaultActionOnPasteFromWord:s,defaultActionOnPaste:a,pasteFromWordActionList:c}=n.o;return!!(o&&(0,l.isHtmlFromWord)(t))&&(r?(0,u.askInsertTypeDialog)(n,"The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected",n=>{this.insertFromWordByType(e,t,n,i)},c):this.insertFromWordByType(e,t,s||a,i),!0)}insertFromWordByType(e,t,i,n){switch(i){case r.INSERT_AS_HTML:{t=(0,l.applyStyles)(t);let e=this.j.events?.fire("beautifyHTML",t);(0,l.isString)(e)&&(t=e);break}case r.INSERT_AS_TEXT:t=(0,l.cleanFromWord)(t);break;case r.INSERT_ONLY_TEXT:t=(0,l.stripTags)((0,l.cleanFromWord)(t))}(0,u.pasteInsertHtml)(e,this.j,t)}}(0,n._)(d,"requires",["paste"]),(0,o.__decorate)([(0,s.watch)(":processHTML")],d.prototype,"processWordHTML",null),a.pluginSystem.add("pasteFromWord",d)},96863:function(e,t,i){"use strict";var n=i(23211),o=i(62101),r=i(29434),s=i(5266),a=i(29348),l=i.n(a);r.Icon.set("paragraph",l()),s.Config.prototype.controls.paragraph={command:"formatBlock",value(e,t){let i=t.control,o=e.s.current(),r=n.Dom.closest(o,n.Dom.isBlock,e.editor);return r?.nodeName.toLowerCase()??i.data?.currentValue},update(e,t){let i=t.control;if(!e.s.current())return!1;let n=t.state.value,r=i.list;return(0,o.isPlainObject)(r)&&r[n.toString()]&&e.o.textIcons&&(t.state.text=r[n.toString()].toString()),!1},data:{currentValue:"p"},list:{p:"Paragraph",h1:"Heading 1",h2:"Heading 2",h3:"Heading 3",h4:"Heading 4",blockquote:"Quote",pre:"Code"},isChildActive:(e,t)=>t.state.value===t.control?.args?.[0],isActive:(e,t)=>t.state.value!==e.o.enter&&(0,o.isPlainObject)(t.control.list)&&!!t.control.list[t.state.value],childTemplate:(e,t,i)=>`<${t} style="margin:0;padding:0"><span>${e.i18n(i)}</span></${t}>`,tooltip:"Insert format block"}},96978:function(e){e.exports={symbols:"Symbolit"}},97022:function(e,t,i){"use strict";i.d(t,{NUMBER_FIELDS_REG:function(){return o.NUMBER_FIELDS_REG},normalizeColor:function(){return n.normalizeColor},normalizeCssNumericValue:function(){return o.normalizeCssNumericValue},normalizeCssValue:function(){return o.normalizeCssValue},normalizeKeyAliases:function(){return r.normalizeKeyAliases},normalizeLicense:function(){return s.normalizeLicense},normalizePath:function(){return a.normalizePath},normalizeRelativePath:function(){return l.normalizeRelativePath},normalizeSize:function(){return c.normalizeSize},normalizeUrl:function(){return u.normalizeUrl}});var n=i(77367),o=i(19147),r=i(27978),s=i(49663),a=i(18377),l=i(96340),c=i(98831),u=i(48009)},97110:function(e,t,i){"use strict";i.d(t,{wrapList:function(){return s}});var n=i(27795),o=i(51640),r=i(98394);function s(e,t,i){let s=i.e.fire(`${r._PREFIX}BeforeWrapList`,r.REPLACE,t,e)??n.Dom.replace(t,"li",i.createInside),a=s.previousElementSibling,l=s.nextElementSibling,c=n.Dom.isTag(a,e.element)?a:null;return c??=n.Dom.isTag(l,e.element)?l:null,n.Dom.isList(c)&&(0,o.isSameAttributes)(c,e.options.attributes)||(c=i.createInside.element(e.element),(0,o.toggleAttributes)(e,c,i,r.INITIAL),n.Dom.before(s,c)),a===c?n.Dom.append(c,s):n.Dom.prepend(c,s),n.Dom.isTag(c.nextElementSibling,e.element)&&(0,o.elementsEqualAttributes)(c,c.nextElementSibling)&&(n.Dom.append(c,Array.from(c.nextElementSibling.childNodes)),n.Dom.safeRemove(c.nextElementSibling)),i.e.fire(`${r._PREFIX}AfterWrapList`,r.WRAP,c,e),c}},97228:function(e,t,i){"use strict";i.d(t,{defaultLanguage:function(){return r}});var n=i(81937),o=i(85932);let r=(e,t="en")=>"auto"!==e&&(0,o.isString)(e)?e:n.globalDocument.documentElement&&n.globalDocument.documentElement.lang?n.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):t},97493:function(e){e.exports={symbols:"символ"}},97642:function(e,t,i){"use strict";i.d(t,{CamelCaseToKebabCase:function(){return s.CamelCaseToKebabCase},camelCase:function(){return n.camelCase},fuzzySearchIndex:function(){return o.fuzzySearchIndex},i18n:function(){return r.i18n},kebabCase:function(){return s.kebabCase},sprintf:function(){return r.sprintf},stringify:function(){return a.stringify},trim:function(){return l.trim},trimChars:function(){return l.trimChars},trimInv:function(){return l.trimInv},ucfirst:function(){return c.ucfirst}});var n=i(57821),o=i(57626),r=i(18080),s=i(74264),a=i(3347),l=i(4040),c=i(99436)},97834:function(e){e.exports.default=["Napisz coś","O Jodit","Edytor Jodit","Instrukcja Jodit","zawiera szczegółowe informacje dotyczące użytkowania.","Odwiedź naszą stronę, aby uzyskać więcej informacji na temat licencji:","Zakup pełnej wersji","Copyright © XDSoft.net - Chupurnov Valeriy. Wszystkie prawa zastrzeżone.","Kotwica","Otwórz w nowej zakładce","Otwórz edytor w pełnym rozmiarze","Wyczyść formatowanie","Kolor wypełnienia lub ustaw kolor tekstu","Ponów","Cofnij","Pogrubienie","Kursywa","Wstaw listę wypunktowaną","Wstaw listę numeryczną","Wyśrodkuj","Wyjustuj","Wyrównaj do lewej","Wyrównaj do prawej","Wstaw linię poziomą","Wstaw grafikę","Wstaw plik","Wstaw film Youtube/vimeo","Wstaw link","Rozmiar tekstu","Krój czcionki","Wstaw formatowanie","Normalne","Nagłówek 1","Nagłówek 2","Nagłówek 3","Nagłówek 4","Cytat","Kod","Wstaw","Wstaw tabelę","Zmniejsz wcięcie","Zwiększ wcięcie","Wybierz znak specjalny","Wstaw znak specjalny","Malarz formatów","Zmień tryb","Marginesy","Górny","Prawy","Dolny","Levy","Style CSS","Klasy CSS","Wyrównanie","Prawa","środek","Lewa","brak","Źródło","Tytuł","Tekst alternatywny","Link","Otwórz w nowej zakładce","Grafika","Plik","Zaawansowane","Właściwości grafiki","Anuluj","OK","Przeglądarka plików","Błąd ładowania listy plików","Błąd ładowania folderów","Czy jesteś pewien?","Wprowadź nazwę folderu","Utwórz folder","wprowadź nazwę","Upuść plik graficzny","Upuść plik","lub kliknij tu","Tekst alternatywny","Wczytaj","Przeglądaj","Tło","Treść","Góra","Środek","Dół","Wstaw kolumnę przed","Wstaw kolumnę po","Wstaw wiersz przed","Wstaw wiersz po","Usuń tabelę","Usuń wiersz","Usuń kolumnę","Wyczyść komórkę","Znaki: %d","Słowa: %d","Przekreślenie","Podkreślenie","indeks górny","index dolny","Wytnij zaznaczenie","Wybierz wszystko","Przerwa","Szukaj","Zamień na","Wymienić","Wklej","Wybierz zawartość do wklejenia","HTML","pogrubienie","kursywa","pędzel","link","cofnij","ponów","tabela","grafika","wyczyść","akapit","rozmiar czcionki","wideo","czcionka","O programie","drukuj","podkreślenie","przekreślenie","wcięcie","wycięcie","pełen rozmiar","przytnij","linia pozioma","lista","lista numerowana","wytnij","zaznacz wszystko","Wstaw kod","otwórz link","edytuj link","Atrybut no-follow","Usuń link","Aktualizuj","edytuj","szukaj","URL","Edytuj","Wyrównywanie w poziomie","Filtruj","Sortuj wg zmiany","Sortuj wg nazwy","Sortuj wg rozmiaru","Dodaj folder","wyczyść","zapisz","zapisz jako","Zmień rozmiar","Przytnij","Szerokość","Wysokość","Zachowaj proporcje","Tak","Nie","Usuń","Wybierz","Wybierz: %s","Wyrównywanie w pionie","Podziel","Scal","Dodaj kolumnę","Dodaj wiersz","Licencja: %s","Usuń","Podziel w pionie","Podziel w poziomie","Obramowanie","Twój kod wygląda jak HTML. Zachować HTML?","Wkleić jako HTML?","Oryginalny tekst","Wstaw jako tekst","Wstaw tylko treść","Możesz edytować tylko swoje grafiki. Czy chcesz pobrać tą grafikę?","Grafika została pomyślnienie dodana na serwer","Paleta","Brak plików.","zmień nazwę","Wprowadź nową nazwę","podgląd","pobierz","Wklej ze schowka","Twoja przeglądarka nie obsługuje schowka","Kopiuj zaznaczenie","kopiuj","Zaokrąglenie krawędzi","Pokaż wszystkie","Zastosuj","Proszę wypełnić to pole","Proszę, wpisz adres sieci web","Domyślnie","Koło","Punkt","Kwadrat","Znaleźć","Znaleźć Poprzednie","Znajdź Dalej","Wklejany tekst pochodzi z dokumentu Microsoft Word/Excel. Chcesz zachować ten format czy wyczyścić go? ","Wykryto tekst w formacie Word","Wyczyść","Wstaw nazwę zajęć","Naciśnij Alt, aby zmienić rozmiar",null,null,null,"Wszystko"]},97959:function(e,t,i){"use strict";i.d(t,{UIList:function(){return f}});var n=i(25045),o=i(31635),r=i(80251),s=i(84839),a=i(32328),l=i(53681),c=i(63468),u=i(35676),d=i(27987),h=i(2496),p=i(15982),m=i(40253);class f extends c.UIGroup{className(){return"UIList"}__onChangeMode(){this.setMod("mode",this.mode)}makeGroup(){return new c.UIGroup(this.jodit)}get buttons(){return this.allChildren.filter(e=>r.Component.isInstanceOf(e,l.UIButton))}getButtonsNames(){return this.buttons.map(e=>e instanceof l.UIButton&&e.state.name||"").filter(e=>""!==e)}setRemoveButtons(e){return this.removeButtons=e||[],this}build(e,t=null){let i;e=(0,a.splitArray)(e),this.clear();let n=!1,o=this.makeGroup();this.append(o),o.setMod("line",!0);let r=e=>{let r=null;switch(e.name){case`
|
|
268
268
|
`:(o=this.makeGroup()).setMod("line",!0),i=this.makeGroup(),o.append(i),this.append(o);break;case"|":n||(n=!0,r=new u.UISeparator(this.j));break;case"---":{i.setMod("before-spacer",!0);let e=new d.UISpacer(this.j);o.append(e),i=this.makeGroup(),o.append(i),n=!1;break}default:n=!1,r="select"===e.component?this.makeSelect(e,t):this.makeButton(e,t)}r&&(i||(i=this.makeGroup(),o.append(i)),i.append(r))},s=e=>!this.removeButtons.includes(e.name)&&(!e.isVisible||e.isVisible?.(this.j,e));return e.forEach(e=>{if((0,h.isButtonGroup)(e)){let t=e.buttons.filter(e=>e);t.length&&((i=this.makeGroup()).setMod("separated",!0).setMod("group",e.group),o.append(i),(0,m.getStrongControlTypes)(t,this.j.o.controls).filter(s).forEach(r))}else{i||(i=this.makeGroup(),o.append(i));let t=(0,p.getControlType)(e,this.j.o.controls);s(t)&&r(t)}}),this.update(),this}makeSelect(e,t){throw Error("Not implemented behaviour")}makeButton(e,t){return new l.UIButton(this.j,{name:e.name})}constructor(e){super(e),(0,n._)(this,"mode","horizontal"),(0,n._)(this,"removeButtons",[])}}(0,o.__decorate)([(0,s.watch)("mode"),(0,s.hook)("ready")],f.prototype,"__onChangeMode",null),f=(0,o.__decorate)([s.component],f)},98181:function(e){e.exports={"Line height":"Zeilenhöhe"}},98361:function(e){e.exports={"Line height":"גובה שורה"}},98394:function(e,t,i){"use strict";i.d(t,{CHANGE:function(){return r},INITIAL:function(){return a},REPLACE:function(){return l},UNSET:function(){return s},UNWRAP:function(){return o},WRAP:function(){return n},_PREFIX:function(){return c}});let n="wrap",o="unwrap",r="change",s="unset",a="initial",l="replace",c="commitStyle"},98595:function(e,t,i){"use strict";i.d(t,{Selection:function(){return m}});var n=i(25045),o=i(31635),r=i(81937),s=i(84839),a=i(23211),l=i(65946),c=i(28686),u=i(28712),d=i(7470),h=i(84578),p=i(42259);class m{get j(){return this.jodit}errorNode(e){if(!a.Dom.isNode(e))throw(0,l.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,c.isFunction)(this.j.o.shadowRoot.getSelection)?this.j.o.shadowRoot.getSelection():this.win.getSelection()}get range(){let e=this.sel;return e&&e.rangeCount?e.getRangeAt(0):this.createRange()}get isInsideArea(){let{sel:e}=this,t=e?.rangeCount?e.getRangeAt(0):null;return!(!t||!a.Dom.isOrContains(this.area,t.startContainer))}createRange(e=!1){let t=this.doc.createRange();return e&&this.selectRange(t),t}remove(){let e=this.sel,t=this.current();if(e&&t)for(let t=0;t<e.rangeCount;t+=1)e.getRangeAt(t).deleteContents(),e.getRangeAt(t).collapse(!0)}clear(){this.sel?.rangeCount&&this.sel?.removeAllRanges()}removeNode(e){if(!a.Dom.isOrContains(this.j.editor,e,!0))throw(0,l.error)("Selection.removeNode can remove only editor's children");a.Dom.safeRemove(e),this.j.e.fire("afterRemoveNode",e)}insertCursorAtPoint(e,t){this.removeMarkers();try{let i=this.createRange();return(()=>{if(this.doc.caretPositionFromPoint){let n=this.doc.caretPositionFromPoint(e,t);if(n)return i.setStart(n.offsetNode,n.offset)}if(this.doc.caretRangeFromPoint){let n=this.doc.caretRangeFromPoint(e,t);(0,u.assert)(n,"Incorrect caretRangeFromPoint behaviour"),i.setStart(n.startContainer,n.startOffset)}})(),i.collapse(!0),this.selectRange(i),!0}catch{}return!1}get hasMarkers(){return!!this.markers.length}get markers(){return(0,l.$$)("span[data-"+r.MARKER_CLASS+"]",this.area)}removeMarkers(){a.Dom.safeRemove.apply(null,this.markers)}marker(e=!1,t){let i=null;t&&(i=t.cloneRange()).collapse(e);let n=this.j.createInside.span();return n.id=r.MARKER_CLASS+"_"+Number(new Date)+"_"+(Math.random()+"").slice(2),n.style.lineHeight="0",n.style.display="none",a.Dom.markTemporary(n),(0,l.attr)(n,"data-"+r.MARKER_CLASS,e?"start":"end"),n.appendChild(this.j.createInside.text(r.INVISIBLE_SPACE)),i&&a.Dom.isOrContains(this.area,e?i.startContainer:i.endContainer)&&i.insertNode(n),n}restore(){let e=!1,t=e=>`span[data-${r.MARKER_CLASS}=${e?"start":"end"}]`,i=this.area.querySelector(t(!0)),n=this.area.querySelector(t(!1));if(i){if(e=this.createRange(),n)e.setStartAfter(i),a.Dom.safeRemove(i),e.setEndBefore(n),a.Dom.safeRemove(n);else{let t=i.previousSibling;a.Dom.isText(t)?e.setStart(t,t.nodeValue?t.nodeValue.length:0):e.setStartBefore(i),a.Dom.safeRemove(i),e.collapse(!0)}e&&this.selectRange(e)}}fakes(){let e=this.sel;if(!e||!e.rangeCount)return[];let t=e.getRangeAt(0);(0,u.assert)(t,"Range is null");let i=t.cloneRange();i.collapse(!0);let n=this.j.createInside.fake();a.Dom.safeInsertNode(i,n),t.setStartBefore(n);let o=[n];if(!t.collapsed){let e=t.cloneRange();e.collapse(!1);let i=this.j.createInside.fake();a.Dom.safeInsertNode(e,i),t.setEndAfter(i),o.push(i)}return this.selectRange(t),o}restoreFakes(e){let t=e.filter(e=>e.isConnected);if(!t.length)return;let[i,n]=t,o=this.createRange();o.setStartAfter(i),n&&o.setEndBefore(n),this.selectRange(o),i.parentNode?.firstChild!==i.parentNode?.lastChild&&a.Dom.safeRemove(i),n?.parentNode?.firstChild!==n?.parentNode?.lastChild&&a.Dom.safeRemove(n)}save(e=!1){if(this.hasMarkers)return[];let t=this.sel;if(!t||!t.rangeCount)return[];let i=[],n=t.rangeCount,o=[];for(let e=0;n>e;e+=1)if(o[e]=t.getRangeAt(e),o[e].collapsed){let t=this.marker(!0,o[e]);i[e]={startId:t.id,collapsed:!0,startMarker:t.outerHTML}}else{let t=this.marker(!0,o[e]),n=this.marker(!1,o[e]);i[e]={startId:t.id,endId:n.id,collapsed:!1,startMarker:t.outerHTML,endMarker:n.outerHTML}}if(!e){t.removeAllRanges();for(let e=n-1;e>=0;--e){let n=this.doc.getElementById(i[e].startId);if(n){if(i[e].collapsed)o[e].setStartAfter(n),o[e].collapse(!0);else if(o[e].setStartBefore(n),i[e].endId){let t=this.doc.getElementById(i[e].endId);t&&o[e].setEndAfter(t)}try{t.addRange(o[e].cloneRange())}catch{}}}}return i}focus(e={preventScroll:!0}){if(!this.isFocused()){let t=(0,l.getScrollParent)(this.j.container),i=t?.scrollTop;this.j.iframe&&"complete"===this.doc.readyState&&this.j.iframe.focus(e),this.win.focus(),this.area.focus(e),i&&t?.scrollTo&&t.scrollTo(0,i);let n=this.sel,o=n?.rangeCount?n?.getRangeAt(0):null;if(!o||!a.Dom.isOrContains(this.area,o.startContainer)){let e=this.createRange();e.setStart(this.area,0),e.collapse(!0),this.selectRange(e,!1)}return this.j.editorIsActive||this.j?.events?.fire("focus"),!0}return!1}isCollapsed(){let e=this.sel;for(let t=0;e&&t<e.rangeCount;t+=1)if(!e.getRangeAt(t).collapsed)return!1;return!0}isFocused(){return this.doc.hasFocus&&this.doc.hasFocus()&&this.area===this.doc.activeElement}current(e=!0){if(this.j.getRealMode()!==r.MODE_WYSIWYG)return null;let t=this.sel;if(!t||0===t.rangeCount)return null;let i=t.getRangeAt(0),n=i.startContainer,o=!1;if(a.Dom.isTag(n,"br")&&t.isCollapsed)return n;if(!a.Dom.isText(n)){let r=(0,p.findCorrectCurrentNode)(n,i,o,t.isCollapsed,e,e=>o?e.lastChild:e.firstChild);n=r.node,o=r.rightMode}return n&&a.Dom.isOrContains(this.area,n)?n:null}insertNode(e,t=!0,i=!0){this.errorNode(e);let n=a.Dom.isFragment(e)?e.lastChild:e;this.j.e.fire("safeHTML",e),!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",e),o&&o.rangeCount){let t=o.getRangeAt(0),{firstChild:i}=e;a.Dom.isOrContains(this.area,t.commonAncestorContainer)?a.Dom.safeInsertNode(t,e):this.area.appendChild(e),[()=>i?.previousSibling,()=>i?.previousSibling,()=>i?.previousSibling?.lastChild].forEach(e=>{let t=e();t&&a.Dom.isEmptyTextNode(t)&&a.Dom.safeRemove(t)})}else this.area.appendChild(e);let i=e=>{if(a.Dom.isBlock(e)){let t=e.lastChild;if(t)return i(t)}this.setCursorAfter(e)};t&&(a.Dom.isFragment(e)?n&&i(n):i(e)),this.j.o.scrollToPastedContent&&(0,l.scrollIntoViewIfNeeded)(n??e,this.j.editor,this.doc)}),i&&this.j.events&&this.j.__imdSynchronizeValues(),this.j.events&&this.j.e.fire("afterInsertNode",a.Dom.isFragment(e)?n:e)}insertHTML(e,t=!0){if(""===e)return;let i=this.j.createInside.div(),n=this.j.createInside.fragment();if(!this.isFocused()&&this.j.isEditorMode()&&(this.focus(),this.restore()),a.Dom.isNode(e)?i.appendChild(e):i.innerHTML=e.toString(),(this.j.isEditorMode()||!1!==this.j.e.fire("insertHTML",i.innerHTML))&&i.lastChild){for(;i.firstChild;)i.firstChild,n.appendChild(i.firstChild);this.insertNode(n,t,!1),this.j.__imdSynchronizeValues()}}insertImage(e,t=null,i=null){let n=(0,c.isString)(e)?this.j.createInside.element("img"):e;if((0,c.isString)(e)&&n.setAttribute("src",e),null!=i){let e=i.toString();e&&"auto"!==e&&0>(e+"").indexOf("px")&&0>(e+"").indexOf("%")&&(e+="px"),(0,l.attr)(n,"width",e)}t&&"object"==typeof t&&(0,l.css)(n,t);let o=()=>{(n.naturalHeight<n.offsetHeight||n.naturalWidth<n.offsetWidth)&&(n.style.width="",n.style.height=""),n.removeEventListener("load",o)};this.j.e.on(n,"load",o),n.complete&&o(),this.insertNode(n),this.j.e.fire("afterInsertImage",n)}eachSelection(e){let t=this.sel;if(!t||!t.rangeCount)return;let i=t.getRangeAt(0),n=i.commonAncestorContainer;a.Dom.isHTMLElement(n)||(n=n.parentElement);let o=[],s=i.startOffset,u=n.childNodes.length,d=i.startContainer===this.area?n.childNodes[s<u?s:u-1]:i.startContainer,h=i.endContainer===this.area?n.childNodes[i.endOffset-1]:i.endContainer;a.Dom.isText(d)&&d===i.startContainer&&i.startOffset===d.nodeValue?.length&&d.nextSibling&&(d=d.nextSibling),a.Dom.isText(h)&&h===i.endContainer&&0===i.endOffset&&h.previousSibling&&(h=h.previousSibling);let p=e=>{!e||e===n||a.Dom.isEmptyTextNode(e)||(0,c.isMarker)(e)||o.push(e)};p(d),d!==h&&a.Dom.isOrContains(n,d,!0)&&a.Dom.find(d,e=>(p(e),e===h||e&&e.contains&&e.contains(h)),n,!0,!1);let m=t=>{if(a.Dom.isOrContains(this.j.editor,t,!0)){if(t.nodeName.match(/^(UL|OL)$/))return(0,l.toArray)(t.childNodes).forEach(m);if(a.Dom.isTag(t,"li"))if(t.firstChild)t=t.firstChild;else{let e=this.j.createInside.text(r.INVISIBLE_SPACE);t.appendChild(e),t=e}e(t)}};0===o.length&&(a.Dom.isEmptyTextNode(d)&&o.push(d),d.firstChild&&o.push(d.firstChild)),o.forEach(m)}cursorInTheEdge(e,t,i=null){let n=!e,o=this.sel?.getRangeAt(0);if(i??=this.current(!1),!o||!i||!a.Dom.isOrContains(t,i,!0))return null;let r=e?o.startContainer:o.endContainer,s=e?o.startOffset:o.endOffset,c=e=>!!(e&&!a.Dom.isTag(e,"br")&&!a.Dom.isEmptyTextNode(e)&&!a.Dom.isTemporary(e)&&!(a.Dom.isElement(e)&&!0===this.j.e.fire("isInvisibleForCursor",e)));if(a.Dom.isText(r)){if((0,p.cursorInTheEdgeOfString)(r,s,e,n))return!1}else{let e=(0,l.toArray)(r.childNodes);if(n){if(e.slice(s).some(c))return!1}else if(e.slice(0,s).some(c))return!1}let u=i;for(;u&&u!==t;){let t=a.Dom.sibling(u,e);if(!t){u=u.parentNode;continue}if((u=t)&&c(u))return!1}return!0}cursorOnTheLeft(e,t){return this.cursorInTheEdge(!0,e,t)}cursorOnTheRight(e,t){return this.cursorInTheEdge(!1,e,t)}setCursorAfter(e){return this.setCursorNearWith(e,!1)}setCursorBefore(e){return this.setCursorNearWith(e,!0)}setCursorNearWith(e,t){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=null;return a.Dom.isText(e)?t?i.setStart(e,0):i.setEnd(e,e.nodeValue?.length??0):(n=this.j.createInside.fake(),t?i.setStartBefore(e):i.setEndAfter(e),i.collapse(t),a.Dom.safeInsertNode(i,n),i.selectNode(n)),i.collapse(t),this.selectRange(i),n}setCursorIn(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange(),n=e,o=e;do{if(a.Dom.isText(n)||a.Dom.isTag(n,r.INSEPARABLE_TAGS))break;o=n,n=t?n.firstChild:n.lastChild}while(n)if(!n){let e=this.j.createInside.text(r.INVISIBLE_SPACE);a.Dom.isTag(o,r.INSEPARABLE_TAGS)?n=o:(o.appendChild(e),o=e)}let s=n||o;return a.Dom.isTag(s,r.INSEPARABLE_TAGS)?t||a.Dom.isTag(s,"br")?i.setStartBefore(s):i.setEndAfter(s):i.selectNodeContents(s),i.collapse(t),this.selectRange(i),o}selectRange(e,t=!0){let i=this.sel;return t&&!this.isFocused()&&this.focus(),i&&(i.removeAllRanges(),i.addRange(e)),this.j.e.fire("changeSelection"),this}select(e,t=!1){if(this.errorNode(e),!a.Dom.up(e,e=>e===this.area||e&&e.parentNode===this.area,this.area))throw(0,l.error)("Node element must be in editor");let i=this.createRange();return i[t?"selectNodeContents":"selectNode"](e),this.selectRange(i)}get html(){let e=this.sel;if(e&&e.rangeCount>0){let t=e.getRangeAt(0).cloneContents(),i=this.j.createInside.div();return i.appendChild(t),i.innerHTML}return""}*wrapInTagGen(e){if(this.isCollapsed()){let t=this.jodit.createInside.element("font",r.INVISIBLE_SPACE);this.insertNode(t,!1,!1),e&&e[0]&&t.appendChild(e[0]),yield t,a.Dom.unwrap(t);return}for(let e of((0,l.$$)("*[style*=font-size]",this.area).forEach(e=>{(0,l.attr)(e,"data-font-size",e.style.fontSize.toString()),e.style.removeProperty("font-size")}),this.j.nativeExecCommand("fontsize",!1,"7"),(0,l.$$)("*[data-font-size]",this.area).forEach(e=>{let t=(0,l.attr)(e,"data-font-size");t&&(e.style.fontSize=t,(0,l.attr)(e,"data-font-size",null))}),(0,l.$$)('font[size="7"]',this.area))){let{firstChild:t,lastChild:i}=e;if(t&&t===i&&(0,c.isMarker)(t)){a.Dom.unwrap(e);continue}t&&(0,c.isMarker)(t)&&a.Dom.before(e,t),i&&(0,c.isMarker)(i)&&a.Dom.after(e,i),yield e,a.Dom.unwrap(e)}}wrapInTag(e){let t=[];for(let i of this.wrapInTagGen())try{if(i.firstChild&&i.firstChild===i.lastChild&&(0,c.isMarker)(i.firstChild))continue;(0,c.isFunction)(e)?e(i):t.push(a.Dom.replace(i,e,this.j.createInside))}finally{let e=i.parentNode;e&&(a.Dom.unwrap(i),a.Dom.isEmpty(e)&&a.Dom.unwrap(e))}return t}commitStyle(e){(0,u.assert)((0,l.size)(e)>0,"Need to pass at least one option"),new h.CommitStyle(e).apply(this.j)}splitSelection(e,t){if(!this.isCollapsed())return null;let i=this.createRange(),n=this.range;i.setStartBefore(e);let o=this.cursorOnTheRight(e,t),s=this.cursorOnTheLeft(e,t),l=this.j.createInside.element("br"),c=this.j.createInside.fake(),d=c.cloneNode();try{if(o||s){t?a.Dom.before(t,l):a.Dom.safeInsertNode(n,l);let e=(e,t)=>{let i=t(e);for(;i;){let e=t(i);if(i&&(a.Dom.isTag(i,"br")||a.Dom.isEmptyTextNode(i)))a.Dom.safeRemove(i);else break;i=e}};e(l,e=>e.nextSibling),e(l,e=>e.previousSibling),a.Dom.after(l,d),a.Dom.before(l,c),o?(i.setEndBefore(l),n.setEndBefore(l)):(i.setEndAfter(l),n.setEndAfter(l))}else i.setEnd(n.startContainer,n.startOffset);let h=i.extractContents(),p=e=>a.Dom.each(e,e=>a.Dom.isEmptyTextNode(e)&&a.Dom.safeRemove(e));(0,u.assert)(e.parentNode,"Splitting fails");try{if(p(h),p(e),e.parentNode.insertBefore(h,e),!t&&o&&l?.parentNode){let e=this.createRange();e.setStartBefore(l),this.selectRange(e)}}catch(e){if(!r.IS_PROD)throw e}let m=e=>{e?.parentNode?.firstChild===e?.parentNode?.lastChild&&e?.parentNode?.appendChild(l.cloneNode())};m(c),m(d)}finally{a.Dom.safeRemove(c),a.Dom.safeRemove(d)}return e.previousElementSibling}expandSelection(){if(this.isCollapsed())return this;let{range:e}=this,t=e.cloneRange();if(!a.Dom.isOrContains(this.j.editor,e.commonAncestorContainer,!0))return this;let i=t=>{let i=this.j.createInside.fake(),n=e.cloneRange();return n.collapse(t),a.Dom.safeInsertNode(n,i),(0,d.moveTheNodeAlongTheEdgeOutward)(i,t,this.j.editor),i},n=i(!0),o=i(!1);t.setStartAfter(n),t.setEndBefore(o);let r=a.Dom.findSibling(n,!1),s=a.Dom.findSibling(o,!0);if(r!==s){let e=a.Dom.isElement(r)&&a.Dom.isOrContains(r,o),i=!e&&a.Dom.isElement(s)&&a.Dom.isOrContains(s,n);if(e||i){let i=e?r:s,l=i;for(;a.Dom.isElement(i);)(i=e?i.firstElementChild:i.lastElementChild)&&(e?a.Dom.isOrContains(i,o):a.Dom.isOrContains(i,n))&&(l=i);e?t.setStart(l,0):t.setEnd(l,l.childNodes.length)}}if(this.selectRange(t),a.Dom.safeRemove(n,o),this.isCollapsed())throw(0,l.error)("Selection is collapsed");return this}constructor(e){(0,n._)(this,"jodit",void 0),this.jodit=e,e.e.on("removeMarkers",()=>{this.removeMarkers()})}}(0,o.__decorate)([s.autobind],m.prototype,"createRange",null),(0,o.__decorate)([s.autobind],m.prototype,"focus",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorAfter",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorBefore",null),(0,o.__decorate)([s.autobind],m.prototype,"setCursorIn",null)},98710:function(e){e.exports={symbols:"simbol"}},98711:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1792 1344v128q0 26-19 45t-45 19h-1664q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1664q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1280q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1280q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1536q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1536q26 0 45 19t19 45zm0-384v128q0 26-19 45t-45 19h-1152q-26 0-45-19t-19-45v-128q0-26 19-45t45-19h1152q26 0 45 19t19 45z"/> </svg>'},98740:function(e,t,i){"use strict";i.d(t,{hasBrowserColorPicker:function(){return o}});var n=i(81937);function o(){let e=!0;try{let t=n.globalDocument.createElement("input");t.type="color",t.value="!",e="color"===t.type&&"!"!==t.value}catch(t){e=!1}return e}},98792:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(28077),a=i(91206);i(60162);class l extends a.Plugin{afterInit(e){e.registerCommand("insertUnorderedList",this.onCommand).registerCommand("insertOrderedList",this.onCommand)}onCommand(e,t,i){return this.jodit.s.commitStyle({element:"insertunorderedlist"===e?"ul":"ol",attributes:{style:{listStyleType:i??null}}}),this.jodit.synchronizeValues(),!1}beforeDestruct(e){}constructor(...e){super(...e),(0,n._)(this,"buttons",[{name:"ul",group:"list"},{name:"ol",group:"list"}])}}(0,o.__decorate)([r.autobind],l.prototype,"onCommand",null),s.pluginSystem.add("orderedList",l)},98803:function(e,t,i){"use strict";i.d(t,{Table:function(){return h}});var n=i(25045),o=i(31635),r=i(16964),s=i(81937),a=i(84839),l=i(27795),c=i(28077),u=i(65946);let d=new WeakMap;class h extends r.ViewComponent{className(){return"Table"}__recalculateStyles(){let e=(0,c.getContainer)(this.j,h,"style",!0),t=[];this.selected.forEach(e=>{let i=(0,u.cssPath)(e);i&&t.push(i)}),e.innerHTML=t.length?t.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(e){this.selected.add(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t)||new Set;i.add(e),h.__selectedByTable.set(t,i)}}removeSelection(e){this.selected.delete(e),this.__recalculateStyles();let t=l.Dom.closest(e,"table",this.j.editor);if(t){let i=h.__selectedByTable.get(t);i&&(i.delete(e),i.size||h.__selectedByTable.delete(t))}}getAllSelectedCells(){return(0,u.toArray)(this.selected)}static __getSelectedCellsByTable(e){let t=h.__selectedByTable.get(e);return t?(0,u.toArray)(t):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(e){return e.rows.length}getRowsCount(e){return h.__getRowsCount(e)}static __getColumnsCount(e){return h.__formalMatrix(e).reduce((e,t)=>Math.max(e,t.length),0)}getColumnsCount(e){return h.__getColumnsCount(e)}static __formalMatrix(e,t){let i=[[]],n=(0,u.toArray)(e.rows),o=(e,n)=>{void 0===i[n]&&(i[n]=[]);let o=e.colSpan,r=e.rowSpan,s,a,l=0;for(;i[n][l];)l+=1;for(a=0;r>a;a+=1)for(s=0;s<o;s+=1){if(void 0===i[n+a]&&(i[n+a]=[]),t&&!1===t(e,n+a,l+s,o,r))return!1;i[n+a][l+s]=e}};for(let e=0;e<n.length;e+=1){let t=(0,u.toArray)(n[e].cells);for(let n=0;n<t.length;n+=1)if(!1===o(t[n],e))return i}return i}formalMatrix(e,t){return h.__formalMatrix(e,t)}static __formalCoordinate(e,t,i=!1){let n=0,o=0,r=1,s=1;return h.__formalMatrix(e,(e,a,l,c,u)=>{if(t===e)return n=a,o=l,r=c||1,s=u||1,i&&(o+=(c||1)-1,n+=(u||1)-1),!1}),[n,o,r,s]}formalCoordinate(e,t,i=!1){return h.__formalCoordinate(e,t,i)}static __appendRow(e,t,i,n){let o;if(t)o=t.cloneNode(!0),(0,u.$$)("td,th",t).forEach(e=>{let t=(0,u.attr)(e,"rowspan");if(t&&parseInt(t,10)>1){let i=parseInt(t,10)-1;(0,u.attr)(e,"rowspan",i>1?i:null)}}),(0,u.$$)("td,th",o).forEach(e=>{e.innerHTML=""});else{let t=h.__getColumnsCount(e);o=n.element("tr");for(let e=0;e<t;e+=1)o.appendChild(n.element("td"))}i&&t&&t.nextSibling?t.parentNode&&t.parentNode.insertBefore(o,t.nextSibling):!i&&t?t.parentNode&&t.parentNode.insertBefore(o,t):(e.getElementsByTagName("tbody")?.[0]||e).appendChild(o)}appendRow(e,t,i){return h.__appendRow(e,t,i,this.j.createInside)}static __removeRow(e,t){let i,n=h.__formalMatrix(e),o=e.rows[t];n[t].forEach((r,s)=>{if(i=!1,t-1>=0&&n[t-1][s]===r)i=!0;else if(n[t+1]&&n[t+1][s]===r){if(r.parentNode===o&&r.parentNode.nextSibling){i=!0;let o=s+1;for(;n[t+1][o]===r;)o+=1;let a=l.Dom.next(r.parentNode,e=>l.Dom.isTag(e,"tr"),e);a&&(n[t+1][o]?a.insertBefore(r,n[t+1][o]):a.appendChild(r))}}else l.Dom.safeRemove(r);if(i&&(r.parentNode===o||r!==n[t][s-1])){let e=r.rowSpan;(0,u.attr)(r,"rowspan",e-1>1?e-1:null)}}),l.Dom.safeRemove(o)}removeRow(e,t){return h.__removeRow(e,t)}appendColumn(e,t,i=!0){let n=h.__formalMatrix(e);if(!i&&l.Dom.isCell(t.previousElementSibling))return this.appendColumn(e,t.previousElementSibling,!0);let o=i?t.cellIndex+((t.colSpan||1)-1):t.cellIndex,r=i?o+1:o;for(let e=0;e<n.length;){let t=n[e];if(t[o]!==t[r]||o===r){let e=this.j.createInside.element("td");i?l.Dom.after(t[o],e):l.Dom.before(t[o],e),t[o].rowSpan>1&&(e.rowSpan=t[o].rowSpan)}else t[o].colSpan+=1;e+=t[o].rowSpan||1}}static __removeColumn(e,t){let i,n=h.__formalMatrix(e);n.forEach((e,o)=>{let r=e[t];if(i=!1,t-1>=0&&n[o][t-1]===r||t+1<e.length&&n[o][t+1]===r?i=!0:l.Dom.safeRemove(r),i&&(o-1<0||r!==n[o-1][t])){let e=r.colSpan;(0,u.attr)(r,"colspan",e-1>1?(e-1).toString():null)}})}removeColumn(e,t){return h.__removeColumn(e,t)}static __getSelectedBound(e,t){let i,n,o,r=[[1/0,1/0],[0,0]],s=h.__formalMatrix(e);for(i=0;i<s.length;i+=1)for(n=0;s[i]&&n<s[i].length;n+=1)t.includes(s[i][n])&&(r[0][0]=Math.min(i,r[0][0]),r[0][1]=Math.min(n,r[0][1]),r[1][0]=Math.max(i,r[1][0]),r[1][1]=Math.max(n,r[1][1]));for(i=r[0][0];i<=r[1][0];i+=1)for(o=1,n=r[0][1];n<=r[1][1];n+=1){for(;s[i]&&s[i][n-o]&&s[i][n]===s[i][n-o];)r[0][1]=Math.min(n-o,r[0][1]),r[1][1]=Math.max(n-o,r[1][1]),o+=1;for(o=1;s[i]&&s[i][n+o]&&s[i][n]===s[i][n+o];)r[0][1]=Math.min(n+o,r[0][1]),r[1][1]=Math.max(n+o,r[1][1]),o+=1;for(o=1;s[i-o]&&s[i][n]===s[i-o][n];)r[0][0]=Math.min(i-o,r[0][0]),r[1][0]=Math.max(i-o,r[1][0]),o+=1;for(o=1;s[i+o]&&s[i][n]===s[i+o][n];)r[0][0]=Math.min(i+o,r[0][0]),r[1][0]=Math.max(i+o,r[1][0]),o+=1}return r}getSelectedBound(e,t){return h.__getSelectedBound(e,t)}static __normalizeTable(e){let t=[],i=h.__formalMatrix(e);h.__removeExtraColspans(i,t),h.__removeExtraRowspans(i,t);for(let e=0;e<i.length;e+=1)for(let t=0;t<i[e].length;t+=1)void 0!==i[e][t]&&(i[e][t].hasAttribute("rowspan")&&1===i[e][t].rowSpan&&(0,u.attr)(i[e][t],"rowspan",null),i[e][t].hasAttribute("colspan")&&1===i[e][t].colSpan&&(0,u.attr)(i[e][t],"colspan",null),i[e][t].hasAttribute("class")&&!(0,u.attr)(i[e][t],"class")&&(0,u.attr)(i[e][t],"class",null));h.__unmark(t)}static __removeExtraColspans(e,t){for(let i=0;i<e[0].length;i+=1){let n=1e6,o=!1;for(let t=0;t<e.length;t+=1)if(void 0!==e[t][i]){if(e[t][i].colSpan<2){o=!0;break}n=Math.min(n,e[t][i].colSpan)}if(!o)for(let o=0;o<e.length;o+=1)void 0!==e[o][i]&&h.__mark(e[o][i],"colspan",e[o][i].colSpan-n+1,t)}}static __removeExtraRowspans(e,t){let i=0,n=0;for(i=0;i<e.length;i+=1){let o=1e6,r=!1;for(n=0;n<e[i].length;n+=1)if(void 0!==e[i][n]){if(e[i][n].rowSpan<2){r=!0;break}o=Math.min(o,e[i][n].rowSpan)}if(!r)for(n=0;n<e[i].length;n+=1)void 0!==e[i][n]&&h.__mark(e[i][n],"rowspan",e[i][n].rowSpan-o+1,t)}}normalizeTable(e){return h.__normalizeTable(e)}static __mergeSelected(e,t){let i=[],n=h.__getSelectedBound(e,h.__getSelectedCellsByTable(e)),o=0,r=null,a=0,c=0,d=0,m=new Set,f=[];n&&(n[0][0]-n[1][0]||n[0][1]-n[1][1])&&(h.__formalMatrix(e,(e,s,l,g,_)=>{s>=n[0][0]&&s<=n[1][0]&&l>=n[0][1]&&l<=n[1][1]&&(m.has(e)||(m.add(e),s===n[0][0]&&e.style.width&&(o+=e.offsetWidth),""!==(0,u.trim)(e.innerHTML.replace(/<br(\/)?>/g,""))&&i.push(e.innerHTML),g>1&&(c+=g-1),_>1&&(d+=_-1),r?(h.__mark(e,"remove",1,f),p(t).removeSelection(e)):(r=e,a=l)))}),c=n[1][1]-n[0][1]+1,d=n[1][0]-n[0][0]+1,r&&(c>1&&h.__mark(r,"colspan",c,f),d>1&&h.__mark(r,"rowspan",d,f),o&&(h.__mark(r,"width",(o/e.offsetWidth*100).toFixed(s.ACCURACY)+"%",f),a&&h.__setColumnWidthByDelta(e,a,0,!0,f)),r.innerHTML=i.join("<br/>"),p(t).addSelection(r),m.delete(r),h.__unmark(f),h.__normalizeTable(e),(0,u.toArray)(e.rows).forEach(e=>{e.cells.length||l.Dom.safeRemove(e)})))}mergeSelected(e){return h.__mergeSelected(e,this.j)}static __splitHorizontal(e,t){let i,n,o,r,s,a=[];h.__getSelectedCellsByTable(e).forEach(c=>{(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),o=t.createInside.element("tr"),i=h.__formalCoordinate(e,c),c.rowSpan<2?(h.__formalMatrix(e,(e,t,n)=>{i[0]===t&&i[1]!==n&&e!==c&&h.__mark(e,"rowspan",e.rowSpan+1,a)}),l.Dom.after(l.Dom.closest(c,"tr",e),o),o.appendChild(n)):(h.__mark(c,"rowspan",c.rowSpan-1,a),h.__formalMatrix(e,(t,n,o)=>{n>i[0]&&n<i[0]+c.rowSpan&&i[1]>o&&t.parentNode.rowIndex===n&&(s=t),i[0]<n&&t===c&&(r=e.rows[n])}),s?l.Dom.after(s,n):r.insertBefore(n,r.firstChild)),c.colSpan>1&&h.__mark(n,"colspan",c.colSpan,a),h.__unmark(a),p(t).removeSelection(c)}),this.__normalizeTable(e)}splitHorizontal(e){return h.__splitHorizontal(e,this.j)}static __splitVertical(e,t){let i,n,o,r=[];h.__getSelectedCellsByTable(e).forEach(a=>{i=h.__formalCoordinate(e,a),a.colSpan<2?h.__formalMatrix(e,(e,t,n)=>{i[1]===n&&i[0]!==t&&e!==a&&h.__mark(e,"colspan",e.colSpan+1,r)}):h.__mark(a,"colspan",a.colSpan-1,r),(n=t.createInside.element("td")).appendChild(t.createInside.element("br")),a.rowSpan>1&&h.__mark(n,"rowspan",a.rowSpan,r);let c=a.offsetWidth;l.Dom.after(a,n),o=c/e.offsetWidth/2,h.__mark(a,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__mark(n,"width",(100*o).toFixed(s.ACCURACY)+"%",r),h.__unmark(r),p(t).removeSelection(a)}),h.__normalizeTable(e)}splitVertical(e){return h.__splitVertical(e,this.j)}static __setColumnWidthByDelta(e,t,i,n,o){let r=h.__formalMatrix(e),a=0;for(let n=0;n<r.length;n+=1){let l=r[n][t];if(l.colSpan>1&&r.length>1)continue;let c=(l.offsetWidth+i)/e.offsetWidth*100;h.__mark(l,"width",c.toFixed(s.ACCURACY)+"%",o),a=n;break}for(let e=a+1;e<r.length;e+=1){let i=r[e][t];h.__mark(i,"width",null,o)}n||h.__unmark(o)}setColumnWidthByDelta(e,t,i,n,o){return h.__setColumnWidthByDelta(e,t,i,n,o)}static __mark(e,t,i,n){n.push(e);let o=d.get(e)??{};o[t]=void 0===i?1:i,d.set(e,o)}static __unmark(e){e.forEach(e=>{let t=d.get(e);t&&(Object.keys(t).forEach(i=>{let n=t[i];switch(i){case"remove":l.Dom.safeRemove(e);break;case"rowspan":(0,u.attr)(e,"rowspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"colspan":(0,u.attr)(e,"colspan",(0,u.isNumber)(n)&&n>1?n:null);break;case"width":null==n?(e.style.removeProperty("width"),(0,u.attr)(e,"style")||(0,u.attr)(e,"style",null)):e.style.width=n.toString()}delete t[i]}),d.delete(e))})}constructor(...e){super(...e),(0,n._)(this,"selected",new Set)}}(0,n._)(h,"__selectedByTable",new WeakMap),(0,o.__decorate)([(0,a.debounce)()],h.prototype,"__recalculateStyles",null);let p=e=>e.getInstance("Table",e.o)},98831:function(e,t,i){"use strict";i.d(t,{normalizeSize:function(){return n}});let n=(e,t)=>/^[0-9]+$/.test(e.toString())?e+t:e.toString()},98838:function(e,t,i){"use strict";i.d(t,{UIForm:function(){return u}});var n=i(31635),o=i(80251),r=i(91672),s=i(93640),a=i(65273),l=i(49999),c=i(63468);class u extends c.UIGroup{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){for(let e of this.allChildren.filter(e=>o.Component.isInstanceOf(e,a.UIInput)))if(!e.validate())return!1;for(let e of this.allChildren.filter(e=>o.Component.isInstanceOf(e,l.UISelect)))if(!e.validate())return!1;return!0}onSubmit(e){return this.j.e.on(this.container,"submit",()=>{let t=this.allChildren.filter(e=>o.Component.isInstanceOf(e,a.UIInput));return!!this.validate()&&(e(t.reduce((e,t)=>(e[t.state.name]=t.value,e),{})),!1)}),this}createContainer(){let e=this.j.c.element("form");return e.classList.add(this.componentName),(0,s.attr)(e,"dir",this.j.o.direction||"auto"),(0,s.attr)(e,"novalidate",""),e}constructor(...e){super(...e),this.options?.className&&this.container.classList.add(this.options?.className)}}u=(0,n.__decorate)([r.component],u)},98964:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1152 1376v-160q0-14-9-23t-23-9h-96v-512q0-14-9-23t-23-9h-320q-14 0-23 9t-9 23v160q0 14 9 23t23 9h96v320h-96q-14 0-23 9t-9 23v160q0 14 9 23t23 9h448q14 0 23-9t9-23zm-128-896v-160q0-14-9-23t-23-9h-192q-14 0-23 9t-9 23v160q0 14 9 23t23 9h192q14 0 23-9t9-23zm640 416q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z"/> </svg>'},98988:function(e,t,i){"use strict";var n=i(25045),o=i(31635),r=i(84839),s=i(23211),a=i(28077),l=i(57821),c=i(91206),u=i(4099);i(47670);class d extends c.Plugin{afterInit(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}beforeDestruct(e){this.proxyEventsList.forEach(t=>{e.e.on(t+".select",this.onStartSelection)})}onStartSelection(e){let{j:t}=this,i,n=e.target;for(;void 0===i&&n&&n!==t.editor;)i=t.e.fire((0,l.camelCase)(e.type+"_"+n.nodeName.toLowerCase()),n,e),n=n.parentElement;"click"===e.type&&void 0===i&&n===t.editor&&t.e.fire(e.type+"Editor",n,e)}onOutsideClick(e){let t=e.target;s.Dom.up(t,e=>e===this.j.editor)||u.UIElement.closestElement(t,u.Popup)||this.j.e.fire("outsideClick",e)}beforeCommandCut(){let{s:e}=this.j;if(!e.isCollapsed()){let t=e.current();t&&s.Dom.isOrContains(this.j.editor,t)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){let{s:e}=this.j;return e.focus(),e.select(this.j.editor,!0),e.expandSelection(),!1}onTripleClickNormalizeSelection(e){if(3!==e.detail||!this.j.o.select.normalizeTripleClick)return;let{s:t}=this.j,{startContainer:i,startOffset:n}=t.range;0===n&&s.Dom.isText(i)&&t.select(s.Dom.closest(i,s.Dom.isBlock,this.j.editor)||i,!0)}onCopyNormalizeSelectionBound(e){let{s:t,editor:i,o:n}=this.j;!n.select.normalizeSelectionBeforeCutAndCopy||t.isCollapsed()||(!e||e.isTrusted&&s.Dom.isNode(e.target)&&s.Dom.isOrContains(i,e.target))&&this.jodit.s.expandSelection()}constructor(...e){super(...e),(0,n._)(this,"proxyEventsList",["click","mousedown","touchstart","mouseup","touchend"])}}(0,o.__decorate)([r.autobind],d.prototype,"onStartSelection",null),(0,o.__decorate)([(0,r.watch)("ow:click")],d.prototype,"onOutsideClick",null),(0,o.__decorate)([(0,r.watch)([":beforeCommandCut"])],d.prototype,"beforeCommandCut",null),(0,o.__decorate)([(0,r.watch)([":beforeCommandSelectall"])],d.prototype,"beforeCommandSelectAll",null),(0,o.__decorate)([(0,r.watch)([":click"])],d.prototype,"onTripleClickNormalizeSelection",null),(0,o.__decorate)([(0,r.watch)([":copy",":cut"])],d.prototype,"onCopyNormalizeSelectionBound",null),a.pluginSystem.add("select",d)},99436:function(e,t,i){"use strict";function n(e){return e.length?e[0].toUpperCase()+e.substring(1):""}i.d(t,{ucfirst:function(){return n}})},99732:function(e,t,i){"use strict";i.d(t,{isInt:function(){return r}});var n=i(70222),o=i(85932);function r(e){return(0,o.isString)(e)&&(0,n.isNumeric)(e)&&(e=parseFloat(e)),"number"==typeof e&&Number.isFinite(e)&&!(e%1)}},99876:function(e){e.exports='<svg xmlns=\'http://www.w3.org/2000/svg\' viewBox="0 0 1792 1792"> <path d="M1344 1472q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm256 0q0-26-19-45t-45-19-45 19-19 45 19 45 45 19 45-19 19-45zm128-224v320q0 40-28 68t-68 28h-1472q-40 0-68-28t-28-68v-320q0-40 28-68t68-28h427q21 56 70.5 92t110.5 36h256q61 0 110.5-36t70.5-92h427q40 0 68 28t28 68zm-325-648q-17 40-59 40h-256v448q0 26-19 45t-45 19h-256q-26 0-45-19t-19-45v-448h-256q-42 0-59-40-17-39 14-69l448-448q18-19 45-19t45 19l448 448q31 30 14 69z"/> </svg>'}},r={};function s(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return o[e](i,i.exports,s),i.exports}s.m=o,e=[],s.O=function(t,i,n,o){if(i){o=o||0;for(var r=e.length;r>0&&e[r-1][2]>o;r--)e[r]=e[r-1];e[r]=[i,n,o];return}for(var a=1/0,r=0;r<e.length;r++){for(var i=e[r][0],n=e[r][1],o=e[r][2],l=!0,c=0;c<i.length;c++)(!1&o||a>=o)&&Object.keys(s.O).every(function(e){return s.O[e](i[c])})?i.splice(c--,1):(l=!1,o<a&&(a=o));if(l){e.splice(r--,1);var u=n();void 0!==u&&(t=u)}}return t},s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var i in t)s.o(t,i)&&!s.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t={521:0},s.O.j=function(e){return 0===t[e]},i=function(e,i){var n,o,r=i[0],a=i[1],l=i[2],c=0;if(r.some(function(e){return 0!==t[e]})){for(n in a)s.o(a,n)&&(s.m[n]=a[n]);if(l)var u=l(s)}for(e&&e(i);c<r.length;c++)o=r[c],s.o(t,o)&&t[o]&&t[o][0](),t[o]=0;return s.O(u)},(n=self.webpackChunkjodit=self.webpackChunkjodit||[]).forEach(i.bind(null,0)),n.push=i.bind(null,n.push.bind(n));var a={};return!function(){"use strict";s.r(a),s.d(a,{CommitMode:function(){return u},Jodit:function(){return e.Jodit}});var e=s(73302),t=s(28686),i=s(81937),n=s(84839),o=s(60936),r=s(13564),l=s(89317);s(93637),Object.keys(i).forEach(t=>{e.Jodit[t]=i[t]});let c=e=>"__esModule"!==e;Object.keys(r).filter(c).forEach(e=>{o.Icon.set(e.replace("_","-"),r[e])}),Object.keys(o).filter(c).forEach(i=>{let n=o[i],r=(0,t.isFunction)(n.prototype?.className)?n.prototype.className():i;(0,t.isString)(r)&&(e.Jodit.modules[r]=n)}),Object.keys(n).filter(c).forEach(t=>{e.Jodit.decorators[t]=n[t]}),["Confirm","Alert","Prompt"].forEach(t=>{e.Jodit[t]=o[t]}),Object.keys(l.default).filter(c).forEach(t=>{e.Jodit.lang[t]=l.default[t]});class u{}}(),a=s.O(a)}()});
|