/*! * jodit - Jodit is an awesome and useful wysiwyg editor with filebrowser * Author: Chupurnov (https://xdsoft.net/jodit/) * Version: v4.5.17 * Url: https://xdsoft.net/jodit/ * License(s): MIT */ ((t,e)=>{if("object"==typeof exports&&"object"==typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else{var s=e();for(var i in s)("object"==typeof exports?exports:t)[i]=s[i]}})(self,(function(){return function(){var t,e={140(t,e,s){"use strict";s.d(e,{V(){return C}});var i=s(31635),r=s(77753),o=s(17352),n=s(22664),a=s(66927),l=s(50025),c=s(65147),u=s(63915),d=s(58597),h=s(14961),p=s(36115),m=(s(70265),s(9979)),g=s(31859),f=s(62994),v=s(18043),b=s(80004),y=s(75889),_=s(83797),w=s(10274);let C=class t extends h.T{className(){return"FileBrowser"}get dataProvider(){return(0,_.S)(this,this.options)}onSelect(t){return()=>{if(this.state.activeElements.length){const e=[],s=[];this.state.activeElements.forEach((t=>{const i=t.fileURL;i&&(e.push(i),s.push(t.isImage||!1))})),this.close();const i={baseurl:"",files:e,isImages:s};(0,c.isFunction)(t)&&t(i),this.close()}return!1}}get _dialog(){const t=this.dlg({minWidth:Math.min(700,screen.width),minHeight:300,buttons:this.o.headerButtons??["fullsize","dialog.close"]});return["beforeClose","afterClose","beforeOpen"].forEach((e=>t.events.on(t,e,(()=>this.e.fire(e))))),t.setSize(this.o.width,this.o.height),t}get storage(){return u.wc.makeStorage(!!this.o.saveStateInStorage,this.componentName)}get isOpened(){return this._dialog.isOpened&&"none"!==this.browser.style.display}status(t,e){t&&!(0,c.isAbortError)(t)&&((0,c.isString)(t)||(t=t.message),(0,c.isString)(t)&&(0,c.trim)(t).length&&this.message.message(t,e?"success":"error",this.o.howLongShowMsg))}open(t=this.o.defaultCallback,e=!1){return this.state.onlyImages=e,this.async.promise(((e,s)=>{if(!this.o.items||!this.o.items.url)throw(0,c.error)("Need set options.filebrowser.ajax.url");let i=0;this.e.off(this.files.container,"dblclick").on(this.files.container,"dblclick",this.onSelect(t)).on(this.files.container,"touchstart",(()=>{const e=(new Date).getTime();o.EMULATE_DBLCLICK_TIMEOUT>e-i&&this.onSelect(t)(),i=e})).off("select.filebrowser").on("select.filebrowser",this.onSelect(t));const r=this.c.div();this.toolbar?.appendTo(r),this.__updateToolbarButtons(),this._dialog.open(this.browser,r),this.e.fire("sort.filebrowser",this.state.sortBy),(0,g.r)(this).then(e,s).finally((()=>{this.isInDestruct||this?.e?.fire("fileBrowserReady.filebrowser")}))})).catch((t=>{if(!(0,c.isAbortError)(t)&&!o.IS_PROD)throw t}))}__getButtons(){return(this.o.buttons??[]).filter((t=>{if(!(0,c.isString)(t))return!0;switch(t){case"filebrowser.upload":return this.dataProvider.canI("FileUpload");case"filebrowser.edit":return this.dataProvider.canI("ImageResize")||this.dataProvider.canI("ImageCrop");case"filebrowser.remove":return this.dataProvider.canI("FileRemove")}return!0}))}initUploader(t){const e=this,s=t?.options?.uploader,i=(0,c.ConfigProto)(s||{},p.T.defaultOptions.uploader),r=()=>(0,m.f)(this);e.uploader=e.getInstance("Uploader",i),e.uploader.setPath(e.state.currentPath).setSource(e.state.currentSource).bind(e.browser,r,e.errorHandler),this.state.on(["change.currentPath","change.currentSource"],(()=>{this.uploader.setPath(this.state.currentPath).setSource(this.state.currentSource)})),e.e.on("bindUploader.filebrowser",(t=>{e.uploader.bind(t,r,e.errorHandler)}))}constructor(t){super(t),this.browser=this.c.div(this.componentName),this.status_line=this.c.div(this.getFullElName("status")),this.tree=new w.V(this),this.files=new w.Q(this),this.state=(0,l.sH)({currentPath:"",currentSource:y.o,currentBaseUrl:"",activeElements:[],elements:[],sources:[],view:"tiles",sortBy:"changed-desc",filterWord:"",onlyImages:!1}),this.errorHandler=t=>{(0,c.isAbortError)(t)||this.status(t instanceof Error?this.i18n(t.message):this.dataProvider.getMessage(t))},this.close=()=>{this._dialog.close()},this.__prevButtons=[],this.attachEvents(t);const e=this;e.options=(0,c.ConfigProto)(t||{},p.T.defaultOptions.filebrowser),e.browser.component=this,e.container=e.browser,e.o.showFoldersPanel&&e.browser.appendChild(e.tree.container),e.browser.appendChild(e.files.container),e.browser.appendChild(e.status_line),v.c.call(e),f.nW.call(e),b.r.call(e),["getLocalFileByUrl","crop","resize","create","fileMove","folderMove","fileRename","folderRename","fileRemove","folderRemove","folder","items","permissions"].forEach((t=>{null!=this.options[t]&&(this.options[t]=(0,c.ConfigProto)(this.options[t],this.o.ajax))}));const{storeView:s,storeSortBy:i,storeLastOpenedFolder:o}=this.o.saveStateInStorage||{storeLastOpenedFolder:!1,storeView:!1,storeSortBy:!1},n=s&&this.storage.get("view");e.state.view=n&&null==this.o.view?"list"===n?"list":"tiles":"list"===e.o.view?"list":"tiles",e.files.setMod("view",e.state.view);const a=i&&e.storage.get("sortBy");if(a){const t=a.split("-");e.state.sortBy=["changed","name","size"].includes(t[0])?a:"changed-desc"}else e.state.sortBy=e.o.sortBy||"changed-desc";if(o){const t=e.storage.get("currentPath"),s=e.storage.get("currentSource");e.state.currentPath=t??"",e.state.currentSource=s??""}e.initUploader(e),e.setStatus(r.f.ready)}destruct(){this.isInDestruct||((0,n.cached)(this,"_dialog")?.destruct(),super.destruct(),this.events&&this.e.off(".filebrowser"),this.uploader&&this.uploader.destruct())}__updateToolbarButtons(){const t=this.__getButtons();((t,e)=>{if(t.length!==e.length)return!1;for(let s=0;t.length>s;s++)if(t[s]!==e[s])return!1;return!0})(this.__prevButtons,t)||(this.__prevButtons=t,this.toolbar?.build(t))}};(0,i.Cg)([n.cache],C.prototype,"dataProvider",null),(0,i.Cg)([n.cache],C.prototype,"_dialog",null),(0,i.Cg)([n.cache],C.prototype,"storage",null),(0,i.Cg)([n.autobind],C.prototype,"status",null),(0,i.Cg)([n.autobind],C.prototype,"open",null),(0,i.Cg)([(0,a.w)("dataProvider:changePermissions")],C.prototype,"__updateToolbarButtons",null),C=(0,i.Cg)([(0,n.derive)(d.z)],C)},223(t){t.exports=' '},225(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(55186),a=s(56298),l=s(71274),c=s(26150),u=s(38322),d=s(29866);s(50248);class h extends d.k{constructor(){super(...arguments),this.addNativeListeners=()=>{this.j.e.off(this.j.editor,"input.placeholder keydown.placeholder").on(this.j.editor,"input.placeholder keydown.placeholder",this.toggle)},this.addEvents=()=>{const t=this.j;t.o.useInputsPlaceholder&&t.element.hasAttribute("placeholder")&&(this.placeholderElm.innerHTML=(0,c.C)(t.element,"placeholder")||""),t.e.fire("placeholder",this.placeholderElm.innerHTML),t.e.off(".placeholder").on("changePlace.placeholder",this.addNativeListeners).on("change.placeholder focus.placeholder keyup.placeholder mouseup.placeholder keydown.placeholder mousedown.placeholder afterSetMode.placeholder changePlace.placeholder",this.toggle).on(window,"load",this.toggle),this.addNativeListeners(),this.toggle()}}afterInit(t){t.o.showPlaceholder&&(this.placeholderElm=t.c.fromHTML(``),"rtl"===t.o.direction&&(this.placeholderElm.style.right="0px",this.placeholderElm.style.direction="rtl"),t.e.on("readonly",(t=>{t?this.hide():this.toggle()})).on("changePlace",this.addEvents),this.addEvents())}show(){const t=this.j;if(t.o.readonly)return;let e=0,s=0;const i=t.s.current(),r=i&&n.J.closest(i,n.J.isBlock,t.editor)||t.editor,o=t.ew.getComputedStyle(r),a=t.ew.getComputedStyle(t.editor);t.workplace.appendChild(this.placeholderElm);const{firstChild:c}=t.editor;if(n.J.isElement(c)&&!(0,l.r)(c)){const i=t.ew.getComputedStyle(c);e=parseInt(i.getPropertyValue("margin-top"),10),s=parseInt(i.getPropertyValue("margin-left"),10),this.placeholderElm.style.fontSize=parseInt(i.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=i.getPropertyValue("line-height")}else this.placeholderElm.style.fontSize=parseInt(o.getPropertyValue("font-size"),10)+"px",this.placeholderElm.style.lineHeight=o.getPropertyValue("line-height");(0,u.A)(this.placeholderElm,{display:"block",textAlign:o.getPropertyValue("text-align"),paddingTop:parseInt(a.paddingTop,10)+"px",paddingLeft:parseInt(a.paddingLeft,10)+"px",paddingRight:parseInt(a.paddingRight,10)+"px",marginTop:Math.max(parseInt(o.getPropertyValue("margin-top"),10),e),marginLeft:Math.max(parseInt(o.getPropertyValue("margin-left"),10),s)})}hide(){n.J.safeRemove(this.placeholderElm)}toggle(){const t=this.j;t.editor&&!t.isInDestruct&&(t.getRealMode()===r.MODE_WYSIWYG&&(t=>{if(!t.firstChild)return!0;const e=t.firstChild;if(r.INSEPARABLE_TAGS.has(e.nodeName?.toLowerCase())||/^(TABLE)$/i.test(e.nodeName))return!1;const s=n.J.next(e,(t=>t&&!n.J.isEmptyTextNode(t)),t);return n.J.isText(e)&&!s?n.J.isEmptyTextNode(e):!s&&n.J.each(e,(t=>!(n.J.isLeaf(t)||n.J.isList(t))&&(n.J.isEmpty(t)||n.J.isTag(t,"br"))))})(t.editor)?this.show():this.hide())}beforeDestruct(t){this.hide(),t.e.off(".placeholder").off(window,"load",this.toggle)}}(0,i.Cg)([(0,o.debounce)((t=>t.defaultTimeout/10),!0)],h.prototype,"toggle",null),a.fg.add("placeholder",h)},449(t,e,s){"use strict";s.d(e,{N(){return r},k(){return i}});const i=t=>t.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase(),r=t=>t.replace(/([A-Z])([A-Z])([a-z])/g,"$1-$2$3").replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()},641(t,e,s){"use strict";s.d(e,{$(){return o},l(){return r}});var i=s(55186);function r(t,e,s){let i=t.getBoundingClientRect(),r=t;const o=i.top,n=i.height;for(;r&&r!==e&&r.parentNode;){if(r=r.parentNode,i=r.getBoundingClientRect(),o>i.bottom)return!1;if(i.top>=o+n)return!1}return(s.documentElement&&s.documentElement.clientHeight||0)>=o}function o(t,e,s){i.J.isHTMLElement(t)&&!r(t,e,s)&&(e.clientHeight!==e.scrollHeight&&(e.scrollTop=t.offsetTop),r(t,e,s)||t.scrollIntoView())}},926(t,e,s){"use strict";s.d(e,{r(){return r}});var i=s(55186);function r(t,e,s,r,o,n){return i.J.isText(e)&&!e.nodeValue?(e===n&&t.s.isCollapsed()&&t.s.setCursorAfter(e),i.J.safeRemove(e),!0):s}},928(t){t.exports=' '},931(t,e,s){"use strict";s.d(e,{I(){return o}}),s(17352);var i=s(65147),r=s(38322);class o{static getIcon(t){return/s.create.element("option");if(void 0!==t.placeholder){const e=r();e.value="",e.text=s.i18n(t.placeholder),i.add(e)}return t.options?.forEach((t=>{const e=r();e.value=""+t.value,e.text=s.i18n(t.text),i.add(e)})),t.size&&t.size>0&&(0,n.C)(i,"size",t.size),t.multiple&&(0,n.C)(i,"multiple",""),e}createNativeInput(){return this.j.create.element("select")}updateValidators(){super.updateValidators(),this.state.required&&(this.validators.delete(l.O.required),this.validators.add(l.U.m))}constructor(t,e){super(t,e),this.state={...i.defaultState},Object.assign(this.state,e)}};c.defaultState={...a.t.defaultState,options:[],size:1,multiple:!1},c=i=(0,r.Cg)([o.s],c)},1663(t){"use strict";t.exports={symbols:"Simbolo"}},1677(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(55186),a=s(56298),l=s(65147),c=s(29866);s(63400);const u=!r.IS_ES_NEXT&&r.IS_IE;class d extends c.k{constructor(){super(...arguments),this.__isToolbarStuck=!1,this.__createDummy=t=>{this.__dummyBox=this.j.c.div(),this.__dummyBox.classList.add("jodit_sticky-dummy_toolbar"),this.j.container.insertBefore(this.__dummyBox,t)},this.addSticky=t=>{this.__isToolbarStuck||(u&&!this.__dummyBox&&this.__createDummy(t),this.j.container.classList.add("jodit_sticky"),this.__isToolbarStuck=!0),(0,l.css)(t,{top:this.j.o.toolbarStickyOffset||null,width:this.j.container.offsetWidth-2}),this.__dummyBox&&(0,l.css)(this.__dummyBox,{height:t.offsetHeight})},this.removeSticky=t=>{this.__isToolbarStuck&&((0,l.css)(t,{width:"",top:""}),this.j.container.classList.remove("jodit_sticky"),this.__isToolbarStuck=!1)}}afterInit(t){t.e.on(t.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).on("getStickyState.sticky",(()=>this.__isToolbarStuck))}__onScroll(){const{jodit:t}=this;if(!t.o.toolbarSticky||!t.o.toolbar)return;const e=t.ow.pageYOffset||t.od.documentElement&&t.od.documentElement.scrollTop||0,s=(0,l.offset)(t.container,t,t.od,!0),i=t.getMode()===r.MODE_WYSIWYG&&e+t.o.toolbarStickyOffset>s.top&&s.top+s.height>e+t.o.toolbarStickyOffset&&!(t.o.toolbarDisableStickyForMobile&&this.__isMobile());if(this.__isToolbarStuck===i)return;const o=t.toolbarContainer;o&&(i?this.addSticky(o):this.removeSticky(o)),t.e.fire("toggleSticky",i)}__isMobile(){const{j:t}=this;return t&&t.options&&t.container&&t.options.sizeSM>=t.container.offsetWidth}beforeDestruct(t){n.J.safeRemove(this.__dummyBox),t.e.off(t.ow,"scroll.sticky wheel.sticky mousewheel.sticky resize.sticky",this.__onScroll).off(".sticky")}}(0,i.Cg)([(0,o.throttle)()],d.prototype,"__onScroll",null),a.fg.add("sticky",d)},1916(t){t.exports=' '},1963(t,e,s){"use strict";s.d(e,{C(){return r}});var i=s(69052);function r(...t){return e=>{const s=e.prototype;for(let e=0;t.length>e;e++){const r=t[e],o=Object.getOwnPropertyNames(r.prototype);for(let t=0;o.length>t;t++){const e=o[t],n=Object.getOwnPropertyDescriptor(r.prototype,e);null!=n&&(0,i.T)(n.value)&&!(0,i.T)(s[e])&&Object.defineProperty(s,e,{enumerable:!0,configurable:!0,writable:!0,value(...t){return n.value.call(this,...t)}})}}}}},1992(t,e,s){"use strict";s.d(e,{b(){return o}});var i=s(65147),r=s(76134);function o(t,e,s,o,n){let a;if((0,i.isFunction)(t))a=t(e);else switch(t){case"ace":if(!e.o.shadowRoot){a=new r.p(e,s,o,n);break}default:a=new r.S(e,s,o,n)}return a.init(e),a.onReadyAlways((()=>{a.setReadOnly(e.o.readonly)})),a}},2461(t,e,s){"use strict";function i(t){return"number"==typeof t&&!isNaN(t)&&isFinite(t)}s.d(e,{E(){return i}})},2533(t,e,s){"use strict";var i=s(17352),r=s(55186),o=s(56298),n=s(65147),a=s(11648);const l=new Set([i.KEY_TAB,i.KEY_LEFT,i.KEY_RIGHT,i.KEY_UP,i.KEY_DOWN]);o.fg.add("tableKeyboardNavigation",(t=>{t.e.off(".tableKeyboardNavigation").on("keydown.tableKeyboardNavigation",(e=>{const{key:s}=e,o=((t,e)=>{if(!l.has(e))return;const s=t.s.current();if(!s)return;const o=r.J.up(s,r.J.isCell,t.editor);if(!o)return;const{range:a}=t.s;if(e!==i.KEY_TAB&&s!==o){const t=e===i.KEY_RIGHT||e===i.KEY_DOWN,l=(0,n.call)(t?r.J.next:r.J.prev,s,(t=>e===i.KEY_UP||e===i.KEY_DOWN?r.J.isTag(t,"br"):!!t),o);if(!t&&(l||e!==i.KEY_UP&&r.J.isText(s)&&0!==a.startOffset)||t&&(l||e!==i.KEY_DOWN&&r.J.isText(s)&&s.nodeValue&&a.startOffset!==s.nodeValue.length))return}return o})(t,s);if(!o)return;const c=t.getInstance(a.X,t.o),u=r.J.closest(o,"table",t.editor);let d=null;const h=s===i.KEY_LEFT||e.shiftKey,p=()=>(0,n.call)(h?r.J.prev:r.J.next,o,r.J.isCell,u);switch(s){case i.KEY_TAB:case i.KEY_LEFT:d=p(),d||(c.appendRow(u,!!h&&u.querySelector("tr"),!h),d=p());break;case i.KEY_UP:case i.KEY_DOWN:{const t=c.formalMatrix(u),[e,r]=c.formalCoordinate(u,o);s===i.KEY_UP?void 0!==t[e-1]&&(d=t[e-1][r]):void 0!==t[e+1]&&(d=t[e+1][r])}}if(d){if(t.e.fire("hidePopup hideResizer"),d.firstChild)s===i.KEY_TAB?t.s.select(d,!0):t.s.setCursorIn(d,s===i.KEY_RIGHT||s===i.KEY_DOWN);else{const e=t.createInside.element("br");d.appendChild(e),t.s.setCursorBefore(e)}return t.synchronizeValues(),!1}}))}))},2788(t,e,s){"use strict";s.d(e,{M(){return i}});class i{constructor(){this.data=new Map}set(t,e){return this.data.set(t,e),this}delete(t){return this.data.delete(t),this}get(t){return this.data.get(t)}exists(t){return this.data.has(t)}clear(){return this.data.clear(),this}}},2805(t,e,s){"use strict";s(36115).T.prototype.wrapNodes={exclude:new Set(["hr","style","br"]),emptyBlockAfterInit:!0}},2928(t){"use strict";t.exports={"Line height":"גובה שורה"}},3006(t,e,s){"use strict";s.d(e,{c(){return l}});var i,r=s(31635),o=s(22664),n=s(55186),a=s(69198);let l=i=class t extends a.t{className(){return"UICheckbox"}render(){return this.j.c.element("label",{className:this.componentName})}constructor(t,e){super(t,{...e,type:"checkbox"}),this.state={...i.defaultState},Object.assign(this.state,e)}onChangeChecked(){this.value=""+this.state.checked,this.nativeInput.checked=this.state.checked,this.setMod("checked",this.state.checked)}onChangeNativeCheckBox(){this.state.checked=this.nativeInput.checked}onChangeSwitch(){this.setMod("switch",this.state.switch);let t=this.getElm("switch-slider");this.state.switch?(t||(t=this.j.c.div(this.getFullElName("switch-slider"))),n.J.after(this.nativeInput,t)):n.J.safeRemove(t)}};l.defaultState={...a.t.defaultState,checked:!1,switch:!1},(0,r.Cg)([(0,o.watch)("state.checked"),(0,o.hook)("ready")],l.prototype,"onChangeChecked",null),(0,r.Cg)([(0,o.watch)("nativeInput:change")],l.prototype,"onChangeNativeCheckBox",null),(0,r.Cg)([(0,o.watch)("state.switch"),(0,o.hook)("ready")],l.prototype,"onChangeSwitch",null),l=i=(0,r.Cg)([o.component],l)},3101(t,e,s){"use strict";s.d(e,{L(){return a}});var i=s(71842),r=s(26150),o=s(61001),n=s(80394);function a(t,e,s){const a=((t,e,s)=>t.elementIsBlock?i.J.up(e,(t=>i.J.isBlock(t)&&!i.J.isTag(t,l)),s.editor)||(0,n.Y)(t,e,s):((0,r.C)(e,"size",null),e))(t,e,s);return t.elementIsList?(0,o.z)(t,a,s):i.J.replace(a,t.element,s.createInside,!0)}const l=new Set(["td","th","tr","tbody","table","li","ul","ol"])},3258(t,e,s){"use strict";s.d(e,{I(){return m}});var i=s(31635),r=s(64567),o=s(22664),n=s(71842),a=s(65147),l=s(35265),c=s(57023),u=s(931),d=s(80071),h=s(97394),p=s(8809);let m=class t extends l.lD{className(){return"ToolbarButton"}get toolbar(){return this.closest(h.Q)}update(){const{control:t,state:e}=this,s=this.closest(h.Q);if(!s)return;const i=t.value?.(s.jodit,this);void 0!==i&&(e.value=i),e.disabled=this.__calculateDisabledStatus(s),e.activated=this.__calculateActivatedStatus(s),t.update?.(s.jodit,this)}__calculateActivatedStatus(t){return!((0,a.isJoditObject)(this.j)&&!this.j.editorIsActive||!this.control.isActive?.(this.j,this)&&(!t||!t.shouldBeActive(this)))}__calculateDisabledStatus(t){return!(!this.j.o.disabled&&(!this.j.o.readonly||this.j.o.activeButtonsInReadOnly&&this.j.o.activeButtonsInReadOnly.includes(this.control.name))&&!this.control.isDisabled?.(this.j,this)&&(!t||!t.shouldBeDisabled(this)))}onChangeActivated(){(0,a.attr)(this.button,"aria-pressed",this.state.activated),super.onChangeActivated()}onChangeText(){(0,a.isFunction)(this.control.template)?this.text.innerHTML=this.control.template(this.j,this.control.name,this.j.i18n(this.state.text)):super.onChangeText(),this.setMod("text-icons",!!this.text.innerText.trim().length)}onChangeTabIndex(){(0,a.attr)(this.button,"tabindex",this.state.tabIndex)}createContainer(){const t=this.componentName,e=this.j.c.span(t),s=super.createContainer();(0,a.attr)(e,"role","listitem"),s.classList.remove(t),s.classList.add(t+"__button"),Object.defineProperty(s,"component",{value:this}),e.appendChild(s);const i=this.j.c.fromHTML(`${u.I.get("chevron")}`);return s.appendChild(i),e}focus(){this.container.querySelector("button")?.focus()}onChangeHasTrigger(){this.state.hasTrigger?this.container.appendChild(this.trigger):n.J.safeRemove(this.trigger),this.setMod("with-trigger",this.state.hasTrigger||null)}onChangeDisabled(){const t=this.state.disabled?"disabled":null;(0,a.attr)(this.trigger,"disabled",t),(0,a.attr)(this.button,"disabled",t),(0,a.attr)(this.container,"disabled",t)}constructor(t,e,s=null){super(t),this.control=e,this.target=s,this.state={...(0,l.ue)(),theme:"toolbar",currentValue:"",hasTrigger:!1},this.openedPopup=null;const i=this.getElm("button");this.button=i,Object.defineProperty(i,"component",{value:this,configurable:!0});const o=this.getElm("trigger");this.trigger=o,o.remove(),t.e.on([this.button,this.trigger],"mousedown",(t=>t.preventDefault())),this.onAction(this.onClick),this.hookStatus(r.f.ready,(()=>{this.__initFromControl(),this.update()})),e.mods&&Object.keys(e.mods).forEach((t=>{e.mods&&this.setMod(t,e.mods[t])}))}__initFromControl(){const{control:t,state:e}=this;this.updateSize(),e.name=t.name;const{textIcons:s}=this.j.o;if(!0===s||(0,a.isFunction)(s)&&s(t.name)||t.template)e.icon=(0,l.ue)().icon,e.text=t.text||t.name;else{if(t.iconURL)e.icon.iconURL=t.iconURL;else{const s=t.icon||t.name;e.icon.name=u.I.exists(s)||this.j.o.extraIcons?.[s]?s:""}t.iconURL||e.icon.name||(e.text=t.text||t.name)}t.tooltip&&(e.tooltip=this.j.i18n((0,a.isFunction)(t.tooltip)?t.tooltip(this.j,t,this):t.tooltip)),e.hasTrigger=!!(t.list||t.popup&&t.exec)}onTriggerClick(t){if(this.openedPopup)return void this.__closePopup();const{control:e}=this;if(t.buffer={actionTrigger:this},e.list)return this.__openControlList(e);if((0,a.isFunction)(e.popup)){const s=this.openPopup();s.parentElement=this;try{if(!1!==this.j.e.fire((0,a.camelCase)(`before-${e.name}-open-popup`),this.target,e,s)){const t=this.toolbar?.getTarget(this)??this.target??null,i=e.popup(this.j,t,this.__closePopup,this);i?s.setContent((0,a.isString)(i)?this.j.c.fromHTML(i):i).open((()=>(0,a.position)(this.container)),!1,this.j.o.allowTabNavigation?this.container:void 0):this.__closePopup()}}catch(t){throw this.__closePopup(),t}this.j.e.fire((0,a.camelCase)(`after-${e.name}-open-popup`),s.container)}}__openControlList(t){const e=this.jodit.options.controls??{},s=t=>(0,c.x)(t,e),i=t.list,r=this.openPopup(),o=(0,p.$K)(this.j);r.parentElement=this,o.parentElement=r,o.mode="vertical";const n=(e,i)=>{if((0,a.isString)(i)&&s(i))return{name:""+i,...s(i)};if((0,a.isString)(e)&&s(e))return{name:""+e,...s(e),..."object"==typeof i?i:{}};(t=>(0,a.isPlainObject)(t)&&"title"in t&&"value"in t)(e)&&(i=e.value,e=e.title);const{childTemplate:r}=t,o={name:""+e,template:r&&((t,e,s)=>r(t,e,s,this)),exec:t.childExec?(e,s,i)=>t.childExec?.(e,s,{...i,parentControl:t}):t.exec,data:t.data,command:t.command,isActive:t.isChildActive,value:t.value,isDisabled:t.isChildDisabled,mode:t.mode,args:[...t.args?t.args:[],e,i]};return(0,a.isString)(i)&&(o.text=i),o};o.build((0,a.isArray)(i)?i.map(n):(0,a.keys)(i,!1).map((t=>n(t,i[t]))),this.target),r.setContent(o).open((()=>(0,a.position)(this.container)),!1,this.j.o.allowTabNavigation?this.container:void 0),this.state.activated=!0}onOutsideClick(t){this.openedPopup&&(t&&n.J.isNode(t.target)&&(n.J.isOrContains(this.container,t.target)||this.openedPopup.isOwnClick(t))||this.__closePopup())}openPopup(){return this.__closePopup(),this.openedPopup=new d.z(this.j,!1),this.j.e.on(this.ow,"mousedown touchstart",this.onOutsideClick).on("escape closeAllPopups",this.onOutsideClick),this.openedPopup}__closePopup(){this.openedPopup&&(this.j.e.off(this.ow,"mousedown touchstart",this.onOutsideClick).off("escape closeAllPopups",this.onOutsideClick),this.state.activated=!1,this.openedPopup.close(),this.openedPopup.destruct(),this.openedPopup=null)}onClick(t){const{control:e}=this;if((0,a.isFunction)(e.exec)){const s=this.toolbar?.getTarget(this)??this.target??null,i=e.exec(this.j,s,{control:e,originalEvent:t,button:this});if(!1!==i&&!0!==i&&(this.j?.e?.fire("synchro"),this.parentElement&&this.parentElement.update(),this.j?.e?.fire("closeAllPopups afterExec")),!1!==i)return}return e.list?this.__openControlList(e):(0,a.isFunction)(e.popup)?this.onTriggerClick(t):void((e.command||e.name)&&((0,a.call)((0,a.isJoditObject)(this.j)?this.j.execCommand.bind(this.j):this.j.od.execCommand.bind(this.j.od),e.command||e.name,!1,e.args&&e.args[0]),this.j.e.fire("closeAllPopups")))}destruct(){return this.__closePopup(),super.destruct()}};(0,i.Cg)([o.cacheHTML],m.prototype,"createContainer",null),(0,i.Cg)([(0,o.watch)("state.hasTrigger",{immediately:!1})],m.prototype,"onChangeHasTrigger",null),(0,i.Cg)([(0,o.watch)("trigger:click")],m.prototype,"onTriggerClick",null),(0,i.Cg)([o.autobind],m.prototype,"onOutsideClick",null),(0,i.Cg)([o.autobind],m.prototype,"__closePopup",null),m=(0,i.Cg)([o.component],m)},3268(t){t.exports.default=["Begin met typen..","Over Jodit","Jodit Editor","Jodit gebruikershandleiding","bevat gedetailleerde informatie voor gebruik.","Voor informatie over de licentie, ga naar onze website:","Volledige versie kopen","Copyright © XDSoft.net - Chupurnov Valeriy. Alle rechten voorbehouden.","Anker","Open in nieuwe tab","Editor in volledig scherm openen","Opmaak verwijderen","Vulkleur of tekstkleur aanpassen","Opnieuw","Ongedaan maken","Vet","Cursief","Geordende list invoegen","Ongeordende lijst invoegen","Centreren","Uitlijnen op volledige breedte","Links uitlijnen","Rechts uitlijnen","Horizontale lijn invoegen","Afbeelding invoegen","Bestand invoegen","Youtube/Vimeo video invoegen","Link toevoegen","Tekstgrootte","Lettertype","Format blok invoegen","Normaal","Koptekst 1","Koptekst 2","Koptekst 3","Koptekst 4","Citaat","Code","Invoegen","Tabel invoegen","Inspringing verkleinen","Inspringing vergroten","Symbool selecteren","Symbool invoegen","Opmaak kopieren","Modus veranderen","Marges","Boven","Rechts","Onder","Links","CSS styles","CSS classes","Uitlijning","Rechts","Gecentreerd","Links","--Leeg--","Src","Titel","Alternatieve tekst","Link","Link in nieuwe tab openen","Afbeelding","Bestand","Geavanceerd","Afbeeldingseigenschappen","Annuleren","OK","Bestandsbrowser","Fout bij het laden van de lijst","Fout bij het laden van de mappenlijst","Weet je het zeker?","Geef de map een naam","Map aanmaken","Type naam","Sleep hier een afbeelding naartoe","Sleep hier een bestand naartoe","of klik","Alternatieve tekst","Uploaden","Bladeren","Achtergrond","Tekst","Boven","Midden","Onder","Kolom invoegen (voor)","Kolom invoegen (na)","Rij invoegen (boven)","Rij invoegen (onder)","Tabel verwijderen","Rij verwijderen","Kolom verwijderen","Cel leegmaken","Tekens: %d","Woorden: %d","Doorstrepen","Onderstrepen","Superscript","Subscript","Selectie knippen","Selecteer alles","Enter","Zoek naar","Vervangen door","Vervangen","Plakken","Kies content om te plakken","Broncode","vet","cursief","kwast","link","ongedaan maken","opnieuw","tabel","afbeelding","gum","paragraaf","lettergrootte","video","lettertype","over","afdrukken","onderstreept","doorgestreept","inspringen","minder inspringen","volledige grootte","kleiner maken","horizontale lijn","lijst","genummerde lijst","knip","alles selecteren","Embed code","Link openen","Link aanpassen","Niet volgen","link verwijderen","Updaten","Om te bewerken","Recensie"," URL","Bewerken","Horizontaal uitlijnen","Filteren","Sorteren op wijzigingsdatum","Sorteren op naam","Sorteren op grootte","Map toevoegen","Herstellen","Opslaan","Opslaan als ...","Grootte aanpassen","Bijknippen","Breedte","Hoogte","Verhouding behouden","Ja","Nee","Verwijderen","Selecteren","Selecteer: %s","Verticaal uitlijnen","Splitsen","Samenvoegen","Kolom toevoegen","Rij toevoegen",null,"Verwijderen","Verticaal splitsen","Horizontaal splitsen","Rand","Deze code lijkt op HTML. Als HTML behouden?","Invoegen als HTML","Origineel behouden","Als tekst invoegen","Als onopgemaakte tekst invoegen","Je kunt alleen je eigen afbeeldingen aanpassen. Deze afbeelding downloaden?","De afbeelding is succesvol geüploadet!","Palette","Er zijn geen bestanden in deze map.","Hernoemen","Voer een nieuwe naam in","Voorvertoning","Download","Plakken van klembord","Uw browser ondersteunt geen directe toegang tot het klembord.","Selectie kopiëren","kopiëren","Border radius","Toon alle","Toepassen","Vul dit veld in","Voer een webadres in","Standaard","Cirkel","Punt","Kwadraat","Zoeken","Vorige Zoeken","Volgende Zoeken","De geplakte tekst is afkomstig van een Microsoft Word/Excel document. Wil je de opmaak behouden of opschonen?","Word-tekst gedetecteerd","Opschonen","Voeg de klassenaam in","Druk op Alt voor aangepaste grootte"]},3392(t,e,s){"use strict";s.d(e,{i(){return r}});var i=s(55186);const r=(t,e)=>`${i.J.isCell(e)?"padding":"margin"}${"rtl"===t?"Right":"Left"}`},3459(t,e,s){"use strict";var i=s(31635),r=s(22664),o=s(71842),n=s(56298),a=s(65147),l=s(71005),c=s(53048),u=s(96369),d=s(8809);s(15776);class h extends l.k{constructor(){super(...arguments),this.type=null,this.snapRange=null,this.elmsList=(0,a.keys)(this.j.o.popup,!1).filter((t=>!this.isExcludedTarget(t)))}get popup(){return new u.z(this.jodit,!1)}get toolbar(){return(0,d.$K)(this.jodit,this.popup)}onClick(t){const e=this.elmsList,s=o.J.isTag(t,"img")?t:o.J.closest(t,e,this.j.editor);if(s&&this.canShowPopupForType(s.nodeName.toLowerCase()))return this.showPopup((()=>(0,a.position)(s,this.j)),s.nodeName.toLowerCase(),s),!1}showPopup(t,e,s){if(e=e.toLowerCase(),!this.canShowPopupForType(e))return!1;if(this.type!==e||s!==this.previousTarget){this.previousTarget=s;const t=this.j.o.popup[e];let i;i=(0,a.isFunction)(t)?t(this.j,s,this.popup.close):t,(0,a.isArray)(i)&&(this.toolbar.build(i,s),this.toolbar.buttonSize=this.j.o.toolbarButtonSize,i=this.toolbar.container),this.popup.setContent(i),this.type=e}return this.popup.open(t),!0}hidePopup(t){!this.popup.isOpened||(0,a.isString)(t)&&t!==this.type||this.popup.close()}onOutsideClick(){this.popup.close()}canShowPopupForType(t){const e=this.j.o.popup[t.toLowerCase()];return!(this.j.o.readonly||!this.j.o.toolbarInline||!e||this.isExcludedTarget(t))}isExcludedTarget(t){return(0,a.splitArray)(this.j.o.toolbarInlineDisableFor).map((t=>t.toLowerCase())).includes(t.toLowerCase())}afterInit(t){this.j.e.on("getDiffButtons.mobile",(e=>{if(this.toolbar===e){const e=this.toolbar.getButtonsNames();return(0,a.toArray)(t.registeredButtons).filter((t=>!this.j.o.toolbarInlineDisabledButtons.includes(t.name))).filter((t=>{const s=(0,a.isString)(t)?t:t.name;return s&&"|"!==s&&"\n"!==s&&!e.includes(s)}))}})).on("hidePopup",this.hidePopup).on("showInlineToolbar",this.showInlineToolbar).on("showPopup",((t,e,s)=>{this.showPopup(e,s||((0,a.isString)(t)?t:t.nodeName),(0,a.isString)(t)?void 0:t)})).on("mousedown keydown",this.onSelectionStart).on("change",(()=>{this.popup.isOpened&&this.previousTarget&&!this.previousTarget.parentNode&&(this.hidePopup(),this.previousTarget=void 0)})).on([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.addListenersForElements()}onSelectionStart(){this.snapRange=this.j.s.range.cloneRange()}onSelectionEnd(t){if(t&&t.target&&c.D$.closestElement(t.target,u.z))return;const{snapRange:e}=this,{range:s}=this.j.s;e&&!s.collapsed&&s.startContainer===e.startContainer&&s.startOffset===e.startOffset&&s.endContainer===e.endContainer&&s.endOffset===e.endOffset||this.onSelectionChange()}onSelectionChange(){if(!this.j.o.toolbarInlineForSelection)return;const t="selection",e=this.j.s.sel,s=this.j.s.range;e?.isCollapsed||this.isSelectedTarget(s)?this.type===t&&this.popup.isOpened&&this.hidePopup():this.j.s.current()&&this.showPopup((()=>s.getBoundingClientRect()),t)}isSelectedTarget(t){const e=t.startContainer;return o.J.isElement(e)&&e===t.endContainer&&o.J.isTag(e.childNodes[t.startOffset],new Set((0,a.keys)(this.j.o.popup,!1)))&&t.startOffset===t.endOffset-1}beforeDestruct(t){t.e.off("showPopup").off([this.j.ew,this.j.ow],"mouseup keyup",this.onSelectionEnd),this.removeListenersForElements()}_eventsList(){const t=this.elmsList;return t.map((t=>(0,a.camelCase)("click_"+t))).concat(t.map((t=>(0,a.camelCase)("touchstart_"+t)))).join(" ")}addListenersForElements(){this.j.e.on(this._eventsList(),this.onClick)}removeListenersForElements(){this.j.e.off(this._eventsList(),this.onClick)}showInlineToolbar(t){this.showPopup((()=>{if(t)return t;const{range:e}=this.j.s;return e.getBoundingClientRect()}),"toolbar")}}h.requires=["select"],(0,i.Cg)([r.cache],h.prototype,"popup",null),(0,i.Cg)([r.cache],h.prototype,"toolbar",null),(0,i.Cg)([r.autobind],h.prototype,"onClick",null),(0,i.Cg)([(0,r.wait)((t=>!t.j.isLocked))],h.prototype,"showPopup",null),(0,i.Cg)([(0,r.watch)([":clickEditor",":beforeCommandDelete",":backSpaceAfterDelete"]),r.autobind],h.prototype,"hidePopup",null),(0,i.Cg)([(0,r.watch)(":outsideClick")],h.prototype,"onOutsideClick",null),(0,i.Cg)([r.autobind],h.prototype,"onSelectionStart",null),(0,i.Cg)([r.autobind],h.prototype,"onSelectionEnd",null),(0,i.Cg)([(0,r.debounce)((t=>t.defaultTimeout))],h.prototype,"onSelectionChange",null),(0,i.Cg)([r.autobind],h.prototype,"showInlineToolbar",null),n.fg.add("inlinePopup",h)},3593(t,e,s){"use strict";s.r(e),s.d(e,{allowAttributes(){return i.f},fillEmptyParagraph(){return r.f},removeEmptyTextNode(){return o.r},removeInvTextNodes(){return n.u},replaceOldTags(){return a.H},sanitizeAttributes(){return l.L},tryRemoveNode(){return c.k}});var i=s(5232),r=s(63443),o=s(926),n=s(67431),a=s(81199),l=s(32782),c=s(32014)},3843(t){t.exports=' '},3947(t,e,s){"use strict";s.d(e,{E(){return o}});var i=s(12461),r=s(98253);function o(t){return(0,r.K)(t)&&(0,i.k)(t)&&(t=parseFloat(t)),"number"==typeof t&&Number.isFinite(t)&&!(t%1)}},4410(t){"use strict";t.exports={"Line height":"ラインの高さ"}},4679(t){t.exports.default=["Ketik sesuatu","Tentang Jodit","Editor Jodit","Panduan Pengguna Jodit","mencakup detail bantuan penggunaan","Untuk informasi tentang lisensi, silakan kunjungi website:","Beli versi lengkap","Hak Cipta © XDSoft.net - Chupurnov Valeriy. Hak cipta dilindungi undang-undang.","Tautan","Buka di tab baru","Buka editor dalam ukuran penuh","Hapus Pemformatan","Isi warna atau atur warna teks","Ulangi","Batalkan","Tebal","Miring","Sisipkan Daftar Tidak Berurut","Sisipkan Daftar Berurut","Tengah","Penuh","Kiri","Kanan","Sisipkan Garis Horizontal","Sisipkan Gambar","Sisipkan Berkas","Sisipkan video youtube/vimeo","Sisipkan tautan","Ukuran font","Keluarga font","Sisipkan blok format","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Kutip","Kode","Sisipkan","Sisipkan tabel","Kurangi Indentasi","Tambah Indentasi","Pilih Karakter Spesial","Sisipkan Karakter Spesial","Formar warna","Ubah mode","Batas","atas","kanan","bawah","kiri","Gaya","Class","Rata","Kanan","Tengah","Kiri","--Tidak diset--","Src","Judul","Teks alternatif","Tautan","Buka tautan di tab baru","Gambar","berkas","Lanjutan","Properti gambar","Batal","Ya","Penjelajah Berkas","Error ketika memuat list","Error ketika memuat folder","Apakah Anda yakin?","Masukkan nama Direktori","Buat direktori","ketik nama","Letakkan gambar","Letakkan berkas","atau klik","Teks alternatif","Unggah","Jelajahi","Latar Belakang","Teks","Atas","Tengah","Bawah","Sisipkan kolom sebelumnya","Sisipkan kolom setelahnya","Sisipkan baris di atasnya","Sisipkan baris di bawahnya","Hapus tabel","Hapus baris","Hapus kolom","Kosongkan cell","Karakter: %d","Kata: %d","Coret","Garis Bawah","Superskrip","Subskrip","Potong pilihan","Pilih semua","Berhenti","Mencari","Ganti dengan","Mengganti","Paste","Pilih konten untuk dipaste","sumber","tebal","miring","sikat","tautan","batalkan","ulangi","tabel","gambar","penghapus","paragraf","ukuran font","video","font","tentang","cetak","garis bawah","coret","menjorok ke dalam","menjorok ke luar","ukuran penuh","menyusut","hr","ul","ol","potong","Pilih semua","Kode embed","Buka tautan","Edit tautan","No follow","Hapus tautan","Perbarui","pensil","Mata","URL","Edit","Perataan horizontal","Filter","Urutkan berdasarkan perubahan","Urutkan berdasarkan nama","Urutkan berdasarkan ukuran","Tambah folder","Reset","Simpan","Simpan sebagai...","Ubah ukuran","Crop","Lebar","Tinggi","Jaga aspek rasio","Ya","Tidak","Copot","Pilih","Pilih %s","Rata vertikal","Bagi","Gabungkan","Tambah kolom","tambah baris","Lisensi: %s","Hapus","Bagi secara vertikal","Bagi secara horizontal","Bingkai","Kode Anda cenderung ke HTML. Biarkan sebagai HTML?","Paste sebagai HTML","Jaga","Sisipkan sebagai teks","Sisipkan hanya teks","Anda hanya dapat mengedit gambar Anda sendiri. Unduh gambar ini di host?","Gambar telah sukses diunggah ke host!","palet","Tidak ada berkas","ganti nama","Masukkan nama baru","pratinjau","Unduh","Paste dari clipboard","Browser anda tidak mendukung akses langsung ke clipboard.","Copy seleksi","copy","Border radius","Tampilkan semua","Menerapkan","Silahkan mengisi kolom ini","Silahkan masukkan alamat web","Default","Lingkaran","Dot","Kuadrat","Menemukan","Menemukan Sebelumnya","Menemukan Berikutnya","Konten dipaste dari dokumen Microsoft Word/Excel. Apakah Anda ingin tetap menjaga format atau membersihkannya?","Terdeteksi paste dari Word","Bersih","Masukkan nama kelas","Tekan Alt untuk mengubah ukuran kustom"]},4726(t){"use strict";t.exports={symbols:"symbol"}},4909(t,e,s){"use strict";s.d(e,{Z(){return l}});var i=s(77753),r=s(55186),o=s(69052),n=s(26150),a=s(53048);const l=(t,e,s)=>{const l=t.c.div("jodit-tabs"),c=t.c.div("jodit-tabs__wrapper"),u=t.c.div("jodit-tabs__buttons");(0,n.C)(u,{role:"tablist","aria-orientation":"horizontal"});const d={},h=[];let p="";l.appendChild(u),l.appendChild(c);const m=t=>{d[t]&&(h.forEach((t=>{t.state.activated=!1})),Object.values(d).forEach((({tab:t})=>t.classList.remove("jodit-tab_active"))),d[t].button.state.activated=!0,d[t].tab.classList.add("jodit-tab_active"))};if(e.forEach((({icon:l,name:g,content:f})=>{const v=t.c.div("jodit-tab");(0,n.C)(v,{role:"tabpanel"});const b=(0,a.$n)(t,l||g,g);b.state.role="tab",t.e.on(b.container,"pointerdown",(t=>t.preventDefault())),p||(p=g),u.appendChild(b.container),h.push(b),b.container.classList.add("jodit-tabs__button","jodit-tabs__button_columns_"+e.length),(0,o.T)(f)?v.appendChild(t.c.div("jodit-tab_empty")):v.appendChild(i.uA.isInstanceOf(f,a.D$)?f.container:f),c.appendChild(v),b.onAction((()=>(m(g),(0,o.T)(f)&&!r.J.isElement(f)&&f.call(t),s&&(s.activeTab=g),!1))),d[g]={button:b,tab:v}})),Object.values(d).forEach((({button:t})=>{t.container.style.width=(100/e.length).toFixed(10)+"%"})),m(s&&s.activeTab&&d[s.activeTab]?s.activeTab:p),s){let t=s.activeTab;Object.defineProperty(s,"activeTab",{configurable:!0,enumerable:!1,get:()=>t,set(e){t=e,m(e)}})}return l}},4960(t,e,s){"use strict";s.d(e,{G(){return r}});var i=s(17352);function r(t){const e=i.globalDocument.createElement("div");return e.textContent=t,e.innerHTML}},5232(t,e,s){"use strict";s.d(e,{f(){return r}});var i=s(55186);function r(t,e,s,r){if(r&&i.J.isElement(e)&&!0!==r[e.nodeName]){const t=e.attributes;if(t&&t.length){const i=[];for(let s=0;t.length>s;s+=1){const o=r[e.nodeName][t[s].name];(!o||!0!==o&&o!==t[s].value)&&i.push(t[s].name)}i.length&&(s=!0),i.forEach((t=>{e.removeAttribute(t)}))}}return s}},5298(t,e,s){"use strict";s.d(e,{W(){return o}});var i=s(17352),r=s(55186);function o(t,e,s){let o=r.J.findSibling(e,s),n=r.J.findSibling(e,!s);for(;r.J.isElement(o)&&!r.J.isTag(o,i.INSEPARABLE_TAGS)&&r.J.isContentEditable(o,t.editor)&&(!n||!r.J.closest(e,r.J.isElement,t.editor));)s||!o.firstChild?o.appendChild(e):r.J.before(o.firstChild,e),o=r.J.sibling(e,s),n=r.J.sibling(e,!s)}},5454(t,e,s){"use strict";s.d(e,{F(){return l}});var i,r=s(31635),o=s(22664),n=s(24767),a=s(69198);let l=i=class t extends a.t{className(){return"UITextArea"}createNativeInput(t){return this.j.create.element("textarea")}constructor(t,e){super(t,e),this.state={...i.defaultState},Object.assign(this.state,e),!1===this.state.resizable&&(this.nativeInput.style.resize="none")}onChangeStateSize(){const{size:t,resizable:e}=this.state;this.nativeInput.style.resize=e?"auto":"none",this.nativeInput.rows=t??5}};l.defaultState={...a.t.defaultState,size:5,resizable:!0},(0,r.Cg)([(0,o.watch)(["state.size","state.resizable"])],l.prototype,"onChangeStateSize",null),l=i=(0,r.Cg)([n.s],l)},5533(t,e,s){"use strict";s.d(e,{p(){return n}});var i=s(17352),r=s(65147),o=s(53380);class n extends o.F{constructor(){super(...arguments),this.className="jodit_ace_editor",this.proxyOnBlur=t=>{this.j.e.fire("blur",t)},this.proxyOnFocus=t=>{this.j.e.fire("focus",t)},this.proxyOnMouseDown=t=>{this.j.e.fire("mousedown",t)}}aceExists(){return void 0!==this.j.ow.ace}getLastColumnIndex(t){return this.instance.session.getLine(t).length}getLastColumnIndices(){const t=this.instance.session.getLength(),e=[];let s=0;for(let i=0;t>i;i++)s+=this.getLastColumnIndex(i),i>0&&(s+=1),e[i]=s;return e}getRowColumnIndices(t){const e=this.getLastColumnIndices();if(e[0]>=t)return{row:0,column:t};let s=1;for(let i=1;e.length>i;i++)t>e[i]&&(s=i+1);return{row:s,column:t-e[s-1]-1}}setSelectionRangeIndices(t,e){const s=this.getRowColumnIndices(t),i=this.getRowColumnIndices(e);this.instance.getSelection().setSelectionRange({start:s,end:i})}getIndexByRowColumn(t,e){return this.getLastColumnIndices()[t]-this.getLastColumnIndex(t)+e}init(t){const e=()=>{if(void 0!==this.instance||!this.aceExists())return;const e=this.j.c.div("jodit-source__mirror-fake");this.container.appendChild(e),this.instance=t.ow.ace.edit(e),"rtl"===t.o.direction&&(this.instance.setOption("rtlText",!0),this.instance.setOption("rtl",!0)),this.instance.setTheme(t.o.sourceEditorNativeOptions.theme),this.instance.renderer.setShowGutter(t.o.sourceEditorNativeOptions.showGutter),this.instance.getSession().setMode(t.o.sourceEditorNativeOptions.mode),this.instance.setHighlightActiveLine(t.o.sourceEditorNativeOptions.highlightActiveLine),this.instance.getSession().setUseWrapMode(!0),this.instance.setOption("indentedSoftWrap",!1),this.instance.setOption("wrap",t.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),t.getRealMode()!==i.MODE_WYSIWYG&&this.setValue(this.getValue());const s=this.j.async.throttle((()=>{if(t.isInDestruct||t.getMode()===i.MODE_WYSIWYG)return;const e=this.instance.isFocused();this.instance.setOption("maxLines","auto"!==t.o.height?t.workplace.offsetHeight/this.instance.renderer.lineHeight:1/0),this.instance.resize(),e&&this.focus()}),2*this.j.defaultTimeout);t.e.on(t,"resize",s).on("afterResize afterSetMode",s),s(),this.onReady()};t.e.on("afterSetMode",(()=>{t.getRealMode()!==i.MODE_SOURCE&&t.getMode()!==i.MODE_SPLIT||(this.fromWYSIWYG(),e())})),e(),this.aceExists()||(0,r.loadNext)(t,t.o.sourceEditorCDNUrlsJS).then((()=>{t.isInDestruct||e()})).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(t){if(!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const e=this.j.e.fire("beautifyHTML",t);(0,r.isString)(e)&&(t=e)}this.instance.setValue(t),this.instance.clearSelection()}getValue(){return this.instance.getValue()}setReadOnly(t){this.instance.setReadOnly(t)}get isFocused(){return this.instance.isFocused()}focus(){this.instance.container.focus(),this.instance.focus()}blur(){this.instance.blur()}getSelectionStart(){const t=this.instance.selection.getRange();return this.getIndexByRowColumn(t.start.row,t.start.column)}getSelectionEnd(){const t=this.instance.selection.getRange();return this.getIndexByRowColumn(t.end.row,t.end.column)}selectAll(){this.instance.selection.selectAll()}insertRaw(t){const e=this.instance.selection.getCursor(),s=this.instance.session.insert(e,t);this.instance.selection.setRange({start:e,end:s},!1)}setSelectionRange(t,e){this.setSelectionRangeIndices(t,e)}setPlaceHolder(t){}replaceUndoManager(){const{history:t}=this.jodit;this.instance.commands.addCommand({name:"Undo",bindKey:{win:"Ctrl-Z",mac:"Command-Z"},exec(){t.undo()}}),this.instance.commands.addCommand({name:"Redo",bindKey:{win:"Ctrl-Shift-Z",mac:"Command-Shift-Z"},exec(){t.redo()}})}}},5549(t,e,s){"use strict";s.d(e,{U(){return l}});var i=s(26150),r=s(74260),o=s(33201),n=s(85079),a=s(17880);async function l(t,e){const{sourceImage:s,values:l}=e;return(0,r.g)(s,l),l.borderRadius=parseInt(s.style.borderRadius||"0",10)||0,l.id=(0,i.C)(s,"id")||"",l.imageTitle=(0,i.C)(s,"title")||"",l.imageAlt=(0,i.C)(s,"alt")||"",l.style=(0,i.C)(s,"style")||"",l.classes=((0,i.C)(s,"class")||"").replace(/jodit_focused_image[\s]*/,""),(0,n.E)(s,l,e),(0,o.X)(e,t,l),l.imageSrc=(0,i.C)(s,"src")||"",(0,a.P)(s,l,e)}},5832(t,e,s){"use strict";s.d(e,{IB(){return i.I},P1(){return r.P},q4(){return o.q}});var i=s(3258),r=s(49405),o=s(48053)},5854(t,e,s){"use strict";s.d(e,{F(){return l}});var i=s(55186),r=s(82317),o=s(69052),n=s(92032),a=s(58006);function l(t,e,s,l="jodit-dialog_alert"){(0,o.T)(e)&&(s=e,e=void 0);const c=this instanceof a.l?this:new a.l({closeOnClickOverlay:!0}),u=c.c.div(l),d=(0,n.$n)(c,"ok","Ok");return(0,r._)(t).forEach((t=>{u.appendChild(i.J.isNode(t)?t:c.c.fromHTML(t))})),d.onAction((()=>{s&&(0,o.T)(s)&&!1===s(c)||c.close()})),c.setFooter([d]),c.open(u,e||" ",!0,!0),d.focus(),c}},5878(t){"use strict";t.exports={"copy-format":"Kopyalama Biçimi"}},5929(t,e,s){"use strict";var i=s(71842),r=s(56298),o=s(65147),n=s(59101),a=s(71005);class l extends a.k{afterInit(t){t.e.on("afterCommand.delete",(t=>{"delete"===t&&this.__afterDeleteCommand()})),t.registerCommand("delete",{exec:this.__onDeleteCommand.bind(this)},{stopPropagation:!1})}beforeDestruct(t){t.e.off("afterCommand.delete")}__afterDeleteCommand(){const t=this.j,e=t.s.current();if(e&&i.J.isTag(e.firstChild,"br")&&t.s.removeNode(e.firstChild),!((0,n.Bq)(t.editor.textContent||"")||t.editor.querySelector("img,table,jodit,iframe,hr")||e&&i.J.closest(e,"table",t.editor))){t.editor.innerHTML="";const e=t.s.setCursorIn(t.editor);t.s.removeNode(e)}}__onDeleteCommand(){const{jodit:t}=this;if(t.s.isCollapsed())return;t.s.expandSelection();const e=t.s.range;e.deleteContents();const s=t.createInside.fake();e.insertNode(s);const r=i.J.findSibling(s,!0),o=i.J.findSibling(s,!1);return this.__moveContentInLeftSibling(s,r,o),e.setStartBefore(s),e.collapse(!0),this.__moveCursorInEditableSibling(t,r,s,e),this.__addBrInEmptyBlock(s,o,e),i.J.safeRemove(s),t.s.selectRange(e),!1}__moveContentInLeftSibling(t,e,s){e=this.__defineRightLeftBox(e),!i.J.isList(s)&&!i.J.isTag(s,"table")&&i.J.isBlock(s)&&i.J.isBlock(e)&&(i.J.append(e,t),i.J.moveContent(s,e),i.J.safeRemove(s)),i.J.isList(s)&&i.J.isLeaf(s.firstElementChild)&&i.J.isEmpty(s.firstElementChild)&&i.J.safeRemove(s.firstElementChild)}__defineRightLeftBox(t){if(!i.J.isList(t))return t;let e=t.lastElementChild;return i.J.isLeaf(e)||(e=this.j.createInside.element("li"),i.J.append(t,e)),e}__addBrInEmptyBlock(t,e,s){const r=this.j;if(t.isConnected&&i.J.isBlock(t.parentNode)&&!t.nextSibling&&!t.previousSibling){const e=r.createInside.element("br");i.J.after(t,e),s.setStartBefore(e),s.collapse(!0)}if(i.J.isTag(e,"table")){const t=(0,o.$$)("td,th",e).shift();i.J.isCell(t)&&i.J.isEmpty(t)&&i.J.append(t,r.createInside.element("br"))}}__moveCursorInEditableSibling(t,e,s,r){if(!e||!i.J.isText(e)){const e=i.J.closest(s,i.J.isBlock,t.editor)??t.editor,o=i.J.prev(s,i.J.isText,e);o&&(r.setStartAfter(o),r.collapse(!0),i.J.safeRemove(s))}}}l.requires=["backspace"],r.fg.add("deleteCommand",l)},6110(t,e,s){"use strict";s.d(e,{l(){return n}});var i=s(17352),r=s(55186),o=s(641);function n(t,e,s){const n=!!r.J.closest(t,["pre","blockquote"],e.editor),l=!n&&r.J.closest(t,["td","th"],e.editor);if(e.o.enter.toLowerCase()===i.BR.toLowerCase()||l||s&&!n||!s&&n){if(n&&(t=>{const e=a(a(t));return!!e&&(r.J.safeRemove(a(t)),r.J.safeRemove(e),!0)})(t))return!1;const s=e.createInside.element("br");if(r.J.before(t,s),!r.J.findNotEmptySibling(s,!1)){const e=s.cloneNode();r.J.after(s,e),r.J.before(e,t)}return(0,o.$)(s,e.editor,e.ed),!0}return!1}function a(t){if(!t)return!1;const e=r.J.findSibling(t,!0);return!(!e||!r.J.isTag(e,"br"))&&e}},6295(t,e,s){"use strict";var i=s(26396);e.A=[{name:"bin",tooltip:"Delete",exec(t,e){e&&t.s.removeNode(e)}},i.M]},6455(t,e,s){"use strict";s.d(e,{U(){return u}});var i,r=s(31635),o=s(37474),n=s(22664),a=s(55186),l=s(65147),c=(s(28712),s(29780));let u=i=class t extends c.D{className(){return"UIGroup"}get allChildren(){const t=[],e=[...this.elements];for(;e.length;){const s=e.shift();(0,l.isArray)(s)?e.push(...s):o.u.isInstanceOf(s,i)?e.push(...s.elements):s&&t.push(s)}return t}update(){this.elements.forEach((t=>t.update())),this.setMod("size",this.buttonSize)}append(t,e){return(0,l.isArray)(t)?(t.forEach((t=>this.append(t,e))),this):(this.elements.push(t),t.name&&t.container.classList.add(this.getFullElName(t.name)),e?this.getElm(e).appendChild(t.container):this.appendChildToContainer(t.container),t.parentElement=this,this)}afterSetMod(t,e){this.syncMod&&this.elements.forEach((s=>s.setMod(t,e)))}appendChildToContainer(t){this.container.appendChild(t)}remove(t){const e=this.elements.indexOf(t);return-1!==e&&(this.elements.splice(e,1),a.J.safeRemove(t.container),t.parentElement=null),this}clear(){return this.elements.forEach((t=>t.destruct())),this.elements.length=0,this}constructor(t,e,s){super(t,s),this.options=s,this.syncMod=!1,this.elements=[],this.buttonSize="middle",e?.forEach((t=>t&&this.append(t))),s?.name&&(this.name=s.name)}destruct(){return this.clear(),super.destruct()}};(0,r.Cg)([(0,n.watch)("buttonSize")],u.prototype,"update",null),u=i=(0,r.Cg)([n.component],u)},6589(t,e,s){"use strict";s.d(e,{As(){return a.A},Bq(){return l.Bq},Gd(){return l.Gd},Hp(){return r.H},N(){return n.N},Ru(){return o.R},Z2(){return c.Z},gj(){return l.gj},kW(){return n.k},nv(){return o.n},xQ(){return i.x}});var i=s(83260),r=s(67975),o=s(91093),n=s(449),a=s(28616),l=s(59101),c=s(10467)},6857(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(55186),a=s(56298),l=s(65147),c=s(29866);s(69505);const u="__jodit-resizer_binded";class d extends c.k{constructor(){super(...arguments),this.LOCK_KEY="resizer",this.element=null,this.isResizeMode=!1,this.isShown=!1,this.startX=0,this.startY=0,this.width=0,this.height=0,this.ratio=0,this.rect=this.j.c.fromHTML(`
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t100x100\n\t\t\t
`),this.sizeViewer=this.rect.getElementsByTagName("span")[0],this.pointerX=0,this.pointerY=0,this.isAltMode=!1,this.onClickElement=t=>{this.isResizeMode||this.element===t&&this.isShown||(this.element=t,this.show(),n.J.isTag(this.element,"img")&&!this.element.complete&&this.j.e.one(this.element,"load",this.updateSize))},this.updateSize=()=>{if(!this.isInDestruct&&this.isShown&&this.element&&this.rect){const t=this.getWorkplacePosition(),e=(0,l.offset)(this.element,this.j,this.j.ed),s=parseInt(this.rect.style.left||"0",10),i=e.top-t.top,r=e.left-t.left;parseInt(this.rect.style.top||"0",10)===i&&s===r&&this.rect.offsetWidth===this.element.offsetWidth&&this.rect.offsetHeight===this.element.offsetHeight||((0,l.css)(this.rect,{top:i,left:r,width:this.element.offsetWidth,height:this.element.offsetHeight}),this.j.events&&(this.j.e.fire(this.element,"changesize"),isNaN(s)||this.j.e.fire("resize")))}},this.hideSizeViewer=()=>{this.sizeViewer.style.opacity="0"}}afterInit(t){(0,l.$$)("div",this.rect).forEach((e=>{t.e.on(e,"mousedown.resizer touchstart.resizer",this.onStartResizing.bind(this,e))})),a.RR.on("hideHelpers",this.hide),t.e.on("readonly",(t=>{t&&this.hide()})).on("afterInit changePlace",this.addEventListeners.bind(this)).on("afterGetValueFromEditor.resizer",(t=>{const e=/]+data-jodit_iframe_wrapper[^>]+>(.*?]*>.*?<\/iframe>.*?)<\/jodit>/gi;e.test(t.value)&&(t.value=t.value.replace(e,"$1"))})),this.addEventListeners(),this.__onChangeEditor()}onEditorClick(t){let e=t.target;const{editor:s,options:{allowResizeTags:i}}=this.j;for(;e&&e!==s;){if(n.J.isTag(e,i))return this.__bind(e),void this.onClickElement(e);e=e.parentNode}}__afterInsertImage(t){if(this.j.o.resizer.forImageChangeAttributes)return;const e=(0,l.attr)(t,"width");e&&!(0,l.css)(t,"width",!0)&&((0,l.css)(t,"width",e),(0,l.attr)(t,"width",null))}addEventListeners(){const t=this.j;t.e.off(t.editor,".resizer").off(t.ow,".resizer").on(t.editor,"keydown.resizer",(t=>{this.isShown&&t.key===r.KEY_DELETE&&this.element&&!n.J.isTag(this.element,"table")&&this.onDelete(t)})).on(t.ow,"resize.resizer",this.updateSize).on("resize.resizer",this.updateSize).on([t.ow,t.editor],"scroll.resizer",(()=>{this.isShown&&!this.isResizeMode&&this.hide()})).on(t.ow,"keydown.resizer",this.onKeyDown).on(t.ow,"keyup.resizer",this.onKeyUp).on(t.ow,"mouseup.resizer touchend.resizer",this.onClickOutside)}onStartResizing(t,e){if(!this.element||!this.element.parentNode)return this.hide(),!1;this.handle=t,e.cancelable&&e.preventDefault(),e.stopImmediatePropagation(),this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.isResizeMode=!0,this.startX=e.clientX,this.startY=e.clientY,this.pointerX=e.clientX,this.pointerY=e.clientY;const{j:s}=this;s.e.fire("hidePopup"),s.lock(this.LOCK_KEY),s.e.on(s.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onEndResizing(){const{j:t}=this;t.unlock(),this.isResizeMode=!1,this.isAltMode=!1,t.synchronizeValues(),t.e.off(t.ow,"mousemove.resizer touchmove.resizer",this.onResize)}onResize(t){if(this.isResizeMode){if(!this.element)return;let e,s;if(this.pointerX=t.clientX,this.pointerY=t.clientY,this.j.options.iframe){const i=this.getWorkplacePosition();e=t.clientX+i.left-this.startX,s=t.clientY+i.top-this.startY}else e=this.pointerX-this.startX,s=this.pointerY-this.startY;const i=this.handle.className;let r=0,o=0;const a=this.j.o.resizer.useAspectRatio;!this.isAltMode&&(!0===a||a&&n.J.isTag(this.element,a))?(e?(r=this.width+(i.match(/left/)?-1:1)*e,o=Math.round(r/this.ratio)):(o=this.height+(i.match(/top/)?-1:1)*s,r=Math.round(o*this.ratio)),r>(0,l.innerWidth)(this.j.editor,this.j.ow)&&(r=(0,l.innerWidth)(this.j.editor,this.j.ow),o=Math.round(r/this.ratio))):(r=this.width+(i.match(/left/)?-1:1)*e,o=this.height+(i.match(/top/)?-1:1)*s),r>this.j.o.resizer.min_width&&this.applySize(this.element,"width",this.rect.parentNode.offsetWidth>r?r:"100%"),o>this.j.o.resizer.min_height&&this.applySize(this.element,"height",o),this.updateSize(),this.showSizeViewer(this.element.offsetWidth,this.element.offsetHeight),t.stopImmediatePropagation()}}onKeyDown(t){this.isAltMode=t.key===r.KEY_ALT,!this.isAltMode&&this.isResizeMode&&this.onEndResizing()}onKeyUp(){this.isAltMode&&this.isResizeMode&&this.element&&(this.width=this.element.offsetWidth,this.height=this.element.offsetHeight,this.ratio=this.width/this.height,this.startX=this.pointerX,this.startY=this.pointerY),this.isAltMode=!1}onClickOutside(t){if(this.isShown){if(!this.isResizeMode)return this.hide();t.stopImmediatePropagation(),this.onEndResizing()}}getWorkplacePosition(){return(0,l.offset)(this.rect.parentNode||this.j.od.documentElement,this.j,this.j.od,!0)}applySize(t,e,s){const i=n.J.isImage(t)&&this.j.o.resizer.forImageChangeAttributes;i&&(0,l.attr)(t,e,s),i&&!t.style[e]||(0,l.css)(t,e,s)}onDelete(t){this.element&&("JODIT"!==this.element.tagName?this.j.s.select(this.element):(n.J.safeRemove(this.element),this.hide(),t.preventDefault()))}__onChangeEditor(){this.isShown&&(this.element&&this.element.parentNode?this.updateSize():this.hide()),(0,l.$$)("iframe",this.j.editor).forEach(this.__bind)}__bind(t){if(!n.J.isHTMLElement(t)||!this.j.o.allowResizeTags.has(t.tagName.toLowerCase())||(0,l.dataBind)(t,u))return;let e;if((0,l.dataBind)(t,u,!0),n.J.isTag(t,"iframe")){const s=t;n.J.isHTMLElement(t.parentNode)&&(0,l.attr)(t.parentNode,"-jodit_iframe_wrapper")?t=t.parentNode:(e=this.j.createInside.element("jodit",{"data-jodit-temp":1,contenteditable:!1,draggable:!0,"data-jodit_iframe_wrapper":1}),(0,l.attr)(e,"style",(0,l.attr)(t,"style")),(0,l.css)(e,{display:"inline-block"===t.style.display?"inline-block":"block",width:t.offsetWidth,height:t.offsetHeight}),t.parentNode&&t.parentNode.insertBefore(e,t),e.appendChild(t),this.j.e.on(e,"click",(()=>{(0,l.attr)(e,"data-jodit-wrapper_active",!0)})),t=e),this.j.e.off(t,"mousedown.select touchstart.select").on(t,"mousedown.select touchstart.select",(()=>{this.j.s.select(t)})).off(t,"changesize").on(t,"changesize",(()=>{s.setAttribute("width",t.offsetWidth+"px"),s.setAttribute("height",t.offsetHeight+"px")}))}this.j.e.on(t,"dragstart",this.hide),!r.IS_ES_NEXT&&r.IS_IE&&this.j.e.on(t,"mousedown",(e=>{n.J.isTag(t,"img")&&e.preventDefault()}))}showSizeViewer(t,e){this.j.o.resizer.showSize&&(this.sizeViewer.offsetWidth>t||this.sizeViewer.offsetHeight>e?this.hideSizeViewer():(this.sizeViewer.style.opacity="1",this.sizeViewer.textContent=`${t} x ${e}`,this.j.async.setTimeout(this.hideSizeViewer,{timeout:this.j.o.resizer.hideSizeTimeout,label:"hideSizeViewer"})))}show(){this.j.o.readonly||this.isShown||(this.isShown=!0,this.rect.parentNode||((0,l.markOwner)(this.j,this.rect),this.j.workplace.appendChild(this.rect)),this.j.isFullSize&&(this.rect.style.zIndex=""+(0,l.css)(this.j.container,"zIndex")),this.updateSize())}hide(){this.isResizeMode||(this.isResizeMode=!1,this.isShown=!1,this.element=null,n.J.safeRemove(this.rect),(0,l.$$)("[data-jodit-wrapper_active='true']",this.j.editor).forEach((t=>(0,l.attr)(t,"data-jodit-wrapper_active",!1))))}beforeDestruct(t){this.hide(),a.RR.off("hideHelpers",this.hide),t.e.off(this.j.ow,".resizer").off(".resizer")}}(0,i.Cg)([(0,o.watch)(":click")],d.prototype,"onEditorClick",null),(0,i.Cg)([(0,o.watch)(":afterInsertImage")],d.prototype,"__afterInsertImage",null),(0,i.Cg)([o.autobind],d.prototype,"onStartResizing",null),(0,i.Cg)([o.autobind],d.prototype,"onEndResizing",null),(0,i.Cg)([o.autobind],d.prototype,"onResize",null),(0,i.Cg)([o.autobind],d.prototype,"onKeyDown",null),(0,i.Cg)([o.autobind],d.prototype,"onKeyUp",null),(0,i.Cg)([o.autobind],d.prototype,"onClickOutside",null),(0,i.Cg)([(0,o.watch)(":change")],d.prototype,"__onChangeEditor",null),(0,i.Cg)([o.autobind],d.prototype,"__bind",null),(0,i.Cg)([o.autobind,(0,o.watch)(":hideResizer")],d.prototype,"hide",null),a.fg.add("resizer",d)},6939(t,e,s){"use strict";s.d(e,{m(){return r}});var i=s(17352);function r(t){if(t.includes(" "))return!1;if("undefined"!=typeof URL)try{const e=new URL(t);return["https:","http:","ftp:","file:","rtmp:"].includes(e.protocol)}catch(t){return!1}const e=i.globalDocument.createElement("a");return e.href=t,!!e.hostname}},7920(t,e,s){"use strict";s.d(e,{r(){return i}});const i=(t,e)=>/^[0-9]+$/.test(""+t)?t+e:""+t},7982(t,e,s){"use strict";s.d(e,{v(){return r}});var i=s(37474);class r extends i.u{get j(){return this.jodit}get defaultTimeout(){return this.j.defaultTimeout}i18n(t,...e){return this.j.i18n(t,...e)}setParentView(t){return this.jodit=t,t.components.add(this),this}constructor(t){super(),this.setParentView(t)}destruct(){return this.j.components.delete(this),super.destruct()}}},8136(t){t.exports=' '},8453(t,e,s){"use strict";s.d(e,{p(){return a}});var i=s(31635),r=s(22664),o=s(55186),n=s(43431);class a extends n.h{setWork(t){return this.isWorked&&this.break(),this.workNodes=o.J.eachGen(t,!this.options.reverse),this.isFinished=!1,this._requestStarting(),this}constructor(t,e={}){super(),this.async=t,this.options=e,this.workNodes=null,this.hadAffect=!1,this.isWorked=!1,this.isFinished=!1,this.idleId=0,this.__schedulerController=null}_requestStarting(){this.__schedulerController=new AbortController,this.async.schedulerPostTask(this.__workPerform,{delay:this.options.timeout,signal:this.__schedulerController.signal}).catch((()=>null))}break(t){this.isWorked&&(this.stop(),this.emit("break",t))}end(){this.isWorked&&(this.stop(),this.emit("end",this.hadAffect),this.hadAffect=!1)}stop(){this.isWorked=!1,this.isFinished=!0,this.workNodes=null,this.async.cancelIdleCallback(this.idleId)}destruct(){super.destruct(),this.stop()}__workPerform(){if(this.workNodes){this.isWorked=!0;let t=0;const e=this.options.timeoutChunkSize??50;for(;!this.isFinished&&e>=t;){const e=this.workNodes.next();if(t+=1,this.visitNode(e.value)&&(this.hadAffect=!0),e.done)return void this.end()}}else this.end();this.isFinished||this._requestStarting()}visitNode(t){return!(!t||void 0!==this.options.whatToShow&&t.nodeType!==this.options.whatToShow)&&(this.emit("visit",t)??!1)}}(0,i.Cg)([r.autobind],a.prototype,"__workPerform",null)},8757(t,e,s){"use strict";s.d(e,{x(){return a}});var i=s(17352),r=s(83260),o=s(12043),n=s(10494);class a{isApplied(t,e){const s=this.__applyMap.get(t);return!!s&&s[e]}setApplied(t,e){const s=this.__applyMap.get(t)??{};s[e]=!0,this.__applyMap.set(t,s)}get elementIsList(){return!(!this.options.element||!i.LIST_TAGS.has(this.options.element))}get element(){return this.options.element||this.defaultTag}get elementIsBlock(){return!(!this.options.element||!i.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}constructor(t){this.options=t,this.__applyMap=new WeakMap}apply(t){const{hooks:e}=this.options,s=e?Object.keys(e):[];try{s.forEach((s=>{t.e.on((0,r.x)(o.ar+"_"+s),e[s])})),(0,n.O)(t,this)}finally{s.forEach((s=>{t.e.off((0,r.x)(o.ar+"_"+s),e[s])})),this.__applyMap=new WeakMap}t.synchronizeValues(),t.e.fire("afterCommitStyle",this)}}},8809(t,e,s){"use strict";s.d(e,{$K(){return c},BJ(){return u},RR(){return d}});var i=s(65147),r=s(3258),o=s(49405),n=s(48053),a=s(97394),l=s(90428);function c(t,e){const s=(0,i.isJoditObject)(t)?new l.b(t):new a.Q(t);return t.o.textIcons&&s.container.classList.add("jodit_text_icons"),e&&(s.parentElement=e),t.o.toolbarButtonSize&&(s.buttonSize=t.o.toolbarButtonSize),s}function u(t,e,s=null){if((0,i.isFunction)(e.getContent))return new o.P(t,e,s);const n=new r.I(t,e,s);return n.state.tabIndex=t.o.allowTabNavigation?0:-1,n}function d(t,e,s=null){return new n.q(t,e,s)}},8916(t){"use strict";t.exports={Spellcheck:"Spellchecking"}},9103(t){t.exports=' '},9117(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(56298),a=s(71005);s(87238);class l extends a.k{afterInit(t){const{limitWords:e,limitChars:s}=t.o;if(t&&(e||s)){let e=null;t.e.off(".limit").on("beforePaste.limit",(()=>{e=t.history.snapshot.make()})).on("keydown.limit keyup.limit beforeEnter.limit",this.checkPreventKeyPressOrPaste).on("change.limit",this.checkPreventChanging).on("afterPaste.limit",(()=>{if(this.__shouldDenyInput(!0)&&e)return t.history.snapshot.restore(e),t.e.fire("denyPaste.limit"),!1}))}}shouldPreventInsertHTML(t){return(!t||!(r.COMMAND_KEYS.includes(t.key)||t.ctrlKey||t.metaKey))&&this.__shouldDenyInput(!1)}__shouldDenyInput(t){const{jodit:e}=this,{limitWords:s,limitChars:i}=e.o,r=this.__splitWords(e.o.limitHTML?e.value:e.text);if(s&&c(r.length,s,t))return e.e.fire("denyWords.limit limit.limit"),!0;const o=!(!i||!c(r.join("").length,i,t));return o&&e.e.fire("denyChars.limit limit.limit"),o}checkPreventKeyPressOrPaste(t){if(this.shouldPreventInsertHTML(t))return!1}checkPreventChanging(t,e){const{jodit:s}=this;this.__shouldDenyInput(!0)&&(s.value=e)}__splitWords(t){return t.replace((0,r.INVISIBLE_SPACE_REG_EXP)(),"").split((0,r.SPACE_REG_EXP)()).filter((t=>t.length))}beforeDestruct(t){t.e.off(".limit")}}function c(t,e,s){return s?t>e:t>=e}(0,i.Cg)([o.autobind],l.prototype,"checkPreventKeyPressOrPaste",null),(0,i.Cg)([o.autobind],l.prototype,"checkPreventChanging",null),n.fg.add("limit",l)},9407(t){"use strict";t.exports={symbols:"символ"}},9443(t,e,s){"use strict";var i=s(56298),r=s(83044),o=s(38322);s(70061);const n=new Set;i.fg.add("fullsize",(t=>{t.registerButton({name:"fullsize"});let e=!1,s=0,i=0,a=!1;const l=()=>{const{container:r,events:n}=t;n&&(e?(s=(0,o.A)(r,"height",!0),i=(0,o.A)(r,"width",!0),(0,o.A)(r,{height:t.ow.innerHeight,width:t.ow.innerWidth}),a=!0):a&&(0,o.A)(r,{height:s||"auto",width:i||"auto"}))},c=s=>{const{container:i,events:a}=t;if(i){if(void 0===s&&(s=!i.classList.contains("jodit_fullsize")),t.setMod("fullsize",s),t.o.fullsize=s,e=s,i.classList.toggle("jodit_fullsize",s),t.toolbar&&((0,r.y)(t)&&t.toolbarContainer?.appendChild(t.toolbar.container),(0,o.A)(t.toolbar.container,"width","auto")),s?n.add(i):n.delete(i),t.o.globalFullSize&&(1===n.size&&s||0===n.size&&!s)){let t=i.parentNode;for(;t&&t.nodeType!==Node.DOCUMENT_NODE&&t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE;)t.classList.toggle("jodit_fullsize-box_true",s),t=t.parentNode;l()}a.fire("afterResize")}};t.o.globalFullSize&&t.e.on(t.ow,"resize",l),t.e.on("afterInit afterOpen",(()=>{t.toggleFullSize(t?.options?.fullsize)})).on("toggleFullSize",c).on("beforeDestruct",(()=>{e&&c(!1)})).on("beforeDestruct",(()=>{t.events&&t.e.off(t.ow,"resize",l)}))}))},9645(t,e,s){"use strict";s.d(e,{G(){return o},n(){return n}});var i=s(2461),r=s(59101);const o=t=>/^[-+]?[0-9.]+(px)?$/.test(""+t)?parseFloat(""+t):t,n=t=>(0,i.E)(t)?t?t+"px":""+t:(t=(0,r.Bq)(t),/^[0-9]+$/.test(t)?t+"px":t)},9810(t,e,s){"use strict";function i(t){return"boolean"==typeof t}s.d(e,{L(){return i}})},9823(t,e,s){"use strict";s.d(e,{AH(){return c.A},Bo(){return C.B},CE(){return u.C},E6(){return h.E},Et(){return v.E},Gp(){return d.n4},Kg(){return C.K},Lm(){return n.L},Mj(){return m.M},P5(){return a.P},Qd(){return y.Q},Rd(){return E.R},Tn(){return l.T},a3(){return f.a},cy(){return o.c},hH(){return T.h},kC(){return i.k},kO(){return d.kO},kf(){return b.k},l6(){return x.l},mv(){return k.m},n4(){return a.n},pV(){return d.pV},rg(){return g.r},uV(){return S.u},vM(){return w.v},y0(){return p.y},yL(){return _.y},zf(){return r.z}});var i=s(78479),r=s(99951),o=s(37923),n=s(9810),a=s(69810),l=s(69052),c=s(53701),u=s(21811),d=s(10058),h=s(3947),p=s(83044),m=s(82201),g=s(71274),f=s(34796),v=s(2461),b=s(12461),y=s(25376),_=s(92039),w=s(53470),C=s(98253),k=s(6939),S=s(59082),T=s(12041),E=s(35642),x=s(76776)},9979(t,e,s){"use strict";function i(t){return t.files.setMod("active",!0),t.files.setMod("loading",!0),t.dataProvider.items(t.state.currentPath,t.state.currentSource,{sortBy:t.state.sortBy,onlyImages:t.state.onlyImages,filterWord:t.state.filterWord}).then((e=>{e&&(t.state.elements=e,t.state.activeElements=[])})).catch(t.status).finally((()=>t.files.setMod("loading",!1)))}s.d(e,{f(){return i}})},10004(t,e,s){"use strict";s.d(e,{X(){return r},d(){return o}});var i=s(42448);s(28712);const r="JoditEventDefaultNamespace";class o{constructor(){this.__store=new Map}get(t,e){if(this.__store.has(e))return this.__store.get(e)[t]}indexOf(t,e,s){const i=this.get(t,e);if(i)for(let t=0;i.length>t;t+=1)if(i[t].originalCallback===s)return t;return!1}namespaces(t=!1){const e=(0,i.$)(this.__store.keys());return t?e.filter((t=>t!==r)):e}events(t){const e=this.__store.get(t);return e?Object.keys(e):[]}set(t,e,s,i=!1){let r=this.__store.get(e);r||(r={},this.__store.set(e,r)),void 0===r[t]&&(r[t]=[]),i?r[t].unshift(s):r[t].push(s)}clear(){this.__store.clear()}clearEvents(t,e){const s=this.__store.get(t);s&&s[e]&&(delete s[e],Object.keys(s).length||this.__store.delete(t))}isEmpty(){return 0===this.__store.size}}},10025(t,e,s){"use strict";function i(t){return t.replace(/\r\n|\r|\n/g,"
")}s.d(e,{H(){return i}})},10058(t,e,s){"use strict";s.d(e,{kO(){return l},n4(){return n},pV(){return a}});var i=s(55186),r=s(69052),o=s(35642);function n(t){return!(0,o.R)(t)&&(0,r.T)(t.init)}function a(t){return!(0,o.R)(t)&&(0,r.T)(t.destruct)}function l(t){return!(0,o.R)(t)&&i.J.isElement(t.container)}},10067(t,e,s){"use strict";s.d(e,{k(){return a}});var i=s(55186),r=s(65147),o=s(53048),n=s(4909);const a=(t,e,s,a,c=!0)=>{let u;const d=[];if(e.upload&&t.o.uploader&&(t.o.uploader.url||t.o.uploader.insertImageAsBase64URI)){const s=t.c.fromHTML(`
${t.i18n(c?"Drop image":"Drop file")}
${t.i18n("or click")}
`);t.uploader.bind(s,(s=>{const i=(0,r.isFunction)(e.upload)?e.upload:t.o.uploader.defaultHandlerSuccess;(0,r.isFunction)(i)&&i.call(t,s),t.e.fire("closeAllPopups")}),(e=>{t.message.error(e.message),t.e.fire("closeAllPopups")})),d.push({icon:"upload",name:"Upload",content:s})}if(e.filebrowser&&(t.o.filebrowser.ajax.url||t.o.filebrowser.items.url)&&d.push({icon:"folder",name:"Browse",content(){a&&a(),e.filebrowser&&t.filebrowser.open(e.filebrowser,c)}}),e.url){const n=new o.lD(t,{type:"submit",variant:"primary",text:"Insert"}),a=new o.XV(t,[new o.tS(t,{required:!0,label:"URL",name:"url",type:"text",placeholder:"https://"}),new o.tS(t,{name:"text",label:"Alternative text"}),new o.Yh(t,[n])]);u=null,!s||i.J.isText(s)||i.J.isComment(s)||!i.J.isTag(s,"img")&&!(0,r.$$)("img",s).length||(u="IMG"===s.tagName?s:(0,r.$$)("img",s)[0],l(a.container,"input[name=url]",(0,r.attr)(u,"src")),l(a.container,"input[name=text]",(0,r.attr)(u,"alt")),n.state.text="Update"),s&&i.J.isTag(s,"a")&&(l(a.container,"input[name=url]",(0,r.attr)(s,"href")),l(a.container,"input[name=text]",(0,r.attr)(s,"title")),n.state.text="Update"),a.onSubmit((s=>{(0,r.isFunction)(e.url)&&e.url.call(t,s.url,s.text)})),d.push({icon:"link",name:"URL",content:a.container})}return(0,n.Z)(t,d)};function l(t,e,s){const i=t.querySelector(e);return i?(s&&(i.value=s),i.value):""}},10229(t){"use strict";t.exports={"Line height":"Výška čáry"}},10274(t,e,s){"use strict";s.d(e,{Q(){return i.Q},V(){return r.V}});var i=s(96025),r=s(73307)},10466(t,e,s){"use strict";s.d(e,{E(){return i}}),s(17352),s(28712);class i{setState(t){this.__previewsStates.add(t),this.__state=t}getState(){return this.__state}disableSilent(){this.silent=!1}constructor(t,e){this.transitions=e,this.silent=!0,this.__previewsStates=new Set,this.setState(t)}dispatch(t,e){const s=this.transitions[this.getState()][t];if(s){const t=s.call(this,e);return this.setState(t.next),t}throw Error(`invalid action: ${this.getState()}.${""+t}`)}}},10467(t,e,s){"use strict";function i(t){return t.length?t[0].toUpperCase()+t.substring(1):""}s.d(e,{Z(){return i}})},10494(t,e,s){"use strict";s.d(e,{O(){return n}});var i=s(97621),r=s(12043),o=s(37649);function n(t,e){const{s,editor:n}=t;n.firstChild?.normalize();const a=s.fakes(),l=t.s.wrapInTagGen(a);let c=l.next();if(c.done)return;let u={collapsed:s.isCollapsed(),mode:r.DI,element:c.value,next:o.x.START,jodit:t,style:e};for(;c&&!c.done;){const t=new i.EF(o.x.START,o.g);for(u.element=c.value;t.getState()!==o.x.END;)u=t.dispatch("exec",u);c=l.next()}s.restoreFakes(a)}},10572(t){"use strict";t.exports={"Line height":"Zeilenhöhe"}},11012(t){t.exports.default=["무엇이든 입력하세요","Jodit에 대하여","Jodit Editor","Jodit 사용자 안내서","자세한 도움말이 들어있어요","라이센스에 관해서는 Jodit 웹 사이트를 방문해주세요:","풀 버전 구입하기","© XDSoft.net - Chupurnov Valeriy. 에게 저작권과 모든 권리가 있습니다.","Anchor","새 탭에서 열기","전체 크기로 보기","서식 지우기","글씨 색상","재실행","실행 취소","굵게","기울임","글머리 목록","번호 목록","가운데 정렬","양쪽 정렬","왼쪽 정렬","오른쪽 정렬","수평 구분선 넣기","이미지 넣기","파일 넣기","Youtube/Vimeo 동영상","링크 넣기","글꼴 크기","글꼴","블록 요소 넣기","일반 텍스트","제목 1","제목 2","제목 3","제목 4","인용","코드","붙여 넣기","테이블","들여쓰기 감소","들여쓰기 증가","특수문자 선택","특수문자 입력","페인트 형식","편집모드 변경","마진","위","오른쪽","아래","왼쪽","스타일","클래스","정렬","오른쪽으로","가운데로","왼쪽으로","--지정 안 함--","경로(src)","제목","대체 텍스트(alt)","링크","새 탭에서 열기",null,"파일","고급","이미지 속성","취소","확인","파일 탐색기","목록 불러오기 에러","폴더 불러오기","정말 진행할까요?","디렉토리 이름 입력","디렉토리 생성","이름 입력","이미지 드래그","파일 드래그","혹은 클릭","대체 텍스트","업로드","탐색","배경","텍스트","위","중앙","아래","이전 열에 삽입","다음 열에 삽입","위 행에 삽입","아래 행에 삽입","테이블 삭제","행 삭제","열 삭제","빈 셀","문자수: %d","단어수: %d","취소선","밑줄","윗첨자","아래첨자","선택 잘라내기","모두 선택","구분자","검색","대체하기","대체","붙여넣기","붙여넣을 내용 선택","HTML 소스","볼드","이탤릭","브러시","링크","실행 취소","재실행","테이블","이미지","지우개","문단","글꼴 크기","비디오","글꼴","편집기 정보","프린트","밑줄","취소선","들여쓰기","내어쓰기","전체 화면","일반 화면","구분선","글머리 목록","번호 목록","잘라내기","모두 선택","Embed 코드","링크 열기","링크 편집","No follow","링크 제거","갱신","연필","사이트 확인","URL","편집","수평 정렬","필터","변경일 정렬","이름 정렬","크기 정렬","새 폴더","초기화","저장","새로 저장하기 ...","리사이즈","크롭","가로 길이","세로 높이","비율 유지하기","네","아니오","제거","선택","선택: %s","수직 정렬","분할","셀 병합","열 추가","행 추가","라이센스: %s","삭제","세로 셀 분할","가로 셀 분할","외곽선","HTML 코드로 감지했어요. 코드인채로 붙여넣을까요?","HTML로 붙여넣기","원본 유지","텍스트로 넣기","텍스트만 넣기","외부 이미지는 편집할 수 없어요. 외부 이미지를 다운로드 할까요?","이미지를 무사히 업로드 했어요!","팔레트","파일이 없어요","이름 변경","새 이름 입력","미리보기","다운로드","클립보드 붙여넣기","사용중인 브라우저가 클립보드 접근을 지원하지 않아요.","선택 복사","복사","둥근 테두리","모두 보기","적용","이 항목을 입력해주세요!","웹 URL을 입력해주세요.","기본","원","점","정사각형","찾기","이전 찾기","다음 찾기","Microsoft Word/Excel 문서로 감지했어요. 서식을 유지한채로 붙여넣을까요?","Word 붙여넣기 감지","지우기","className 입력","사용자 지정 크기 조정에 대 한 고도 누르십시오"]},11095(t){"use strict";t.exports={"copy-format":"Format kopierenт"}},11131(t,e,s){"use strict";s.d(e,{Y(){return r}});var i=s(42448);function r(t){const e=(t,e=t.ownerDocument.styleSheets)=>(0,i.$)(e).map((t=>{try{return(0,i.$)(t.cssRules)}catch{}return[]})).flat().filter((e=>{try{return!(!e||!t.matches(e.selectorText))}catch{}return!1}));class s{constructor(s,i,r){this.css={};const o=r||{},n=e=>{const s=e.selectorText.split(",").map((t=>t.trim())).sort().join(",");0==!!this.css[s]&&(this.css[s]={});const i=e.style.cssText.split(/;(?![A-Za-z0-9])/);for(let e=0;i.length>e;e++){if(!i[e])continue;const r=i[e].split(":");r[0]=r[0].trim(),r[1]=r[1].trim(),this.css[s][r[0]]=r[1].replace(/var\(([^)]+)\)/g,((e,s)=>{const[i,r]=s.split(",");return(t.ew.getComputedStyle(t.editor).getPropertyValue(i.trim())||r||e).trim()}))}};(()=>{const r=s.innerHeight,a=i.createTreeWalker(t.editor,NodeFilter.SHOW_ELEMENT,(()=>NodeFilter.FILTER_ACCEPT));for(;a.nextNode();){const t=a.currentNode;if(r>t.getBoundingClientRect().top||o.scanFullPage){const s=e(t);if(s)for(let t=0;s.length>t;t++)n(s[t])}}})()}generateCSS(){let t="";for(const e in this.css)if(!/:not\(/.test(e)){t+=e+" { ";for(const s in this.css[e])t+=s+": "+this.css[e][s]+"; ";t+="}\n"}return t}}try{return new s(t.ew,t.ed,{scanFullPage:!0}).generateCSS()}catch{}return""}},11133(t,e,s){"use strict";s.d(e,{u(){return r}});var i=s(65147);class r{constructor(t){this.data=t,Object.keys(t).forEach((e=>{this[e]=t[e]}))}static create(t){return t instanceof r?t:new r(t)}get path(){return(0,i.normalizePath)(this.data.source.path?this.data.source.path+"/":"/")}get imageURL(){const t=this.time||""+(new Date).getTime(),{thumbIsAbsolute:e,source:s,thumb:r,file:o}=this.data,n=r||o;return e&&n?n:(0,i.normalizeUrl)(s.baseurl,s.path,n||"")+"?_tmst="+encodeURIComponent(t)}get fileURL(){let{name:t}=this.data;const{file:e,fileIsAbsolute:s,source:r}=this.data;return void 0!==e&&(t=e),s&&t?t:(0,i.normalizeUrl)(r.baseurl,r.path,t||"")}get time(){const{changed:t}=this.data;return t&&("number"==typeof t?new Date(t).toLocaleString():t)||""}get uniqueHashKey(){const t=this.data;let e=[t.sourceName,t.name,t.file,this.time,t.thumb].join("_");return e=e.toLowerCase().replace(/[^0-9a-z\-.]/g,"-"),e}toJSON(){return this.data}}},11395(t){"use strict";t.exports={"copy-format":"Formátum másolás"}},11648(t,e,s){"use strict";s.d(e,{X(){return d}});var i=s(31635),r=s(77753),o=s(17352),n=s(22664),a=s(71842),l=s(56298),c=s(65147);const u=new WeakMap;class d extends r.vG{constructor(){super(...arguments),this.selected=new Set}className(){return"Table"}__recalculateStyles(){const t=(0,l.My)(this.j,d,"style",!0),e=[];this.selected.forEach((t=>{const s=(0,c.cssPath)(t);s&&e.push(s)})),t.innerHTML=e.length?e.join(",")+`{${this.jodit.options.table.selectionCellStyle}}`:""}addSelection(t){this.selected.add(t),this.__recalculateStyles();const e=a.J.closest(t,"table",this.j.editor);if(e){const s=d.__selectedByTable.get(e)||new Set;s.add(t),d.__selectedByTable.set(e,s)}}removeSelection(t){this.selected.delete(t),this.__recalculateStyles();const e=a.J.closest(t,"table",this.j.editor);if(e){const s=d.__selectedByTable.get(e);s&&(s.delete(t),s.size||d.__selectedByTable.delete(e))}}getAllSelectedCells(){return(0,c.toArray)(this.selected)}static __getSelectedCellsByTable(t){const e=d.__selectedByTable.get(t);return e?(0,c.toArray)(e):[]}destruct(){return this.selected.clear(),super.destruct()}static __getRowsCount(t){return t.rows.length}getRowsCount(t){return d.__getRowsCount(t)}static __getColumnsCount(t){return d.__formalMatrix(t).reduce(((t,e)=>Math.max(t,e.length)),0)}getColumnsCount(t){return d.__getColumnsCount(t)}static __formalMatrix(t,e){const s=[[]],i=(0,c.toArray)(t.rows),r=(t,i)=>{void 0===s[i]&&(s[i]=[]);const r=t.colSpan,o=t.rowSpan;let n,a,l=0;for(;s[i][l];)l+=1;for(a=0;o>a;a+=1)for(n=0;r>n;n+=1){if(void 0===s[i+a]&&(s[i+a]=[]),e&&!1===e(t,i+a,l+n,r,o))return!1;s[i+a][l+n]=t}};for(let t=0;i.length>t;t+=1){const e=(0,c.toArray)(i[t].cells);for(let i=0;e.length>i;i+=1)if(!1===r(e[i],t))return s}return s}formalMatrix(t,e){return d.__formalMatrix(t,e)}static __formalCoordinate(t,e,s=!1){let i=0,r=0,o=1,n=1;return d.__formalMatrix(t,((t,a,l,c,u)=>{if(e===t)return i=a,r=l,o=c||1,n=u||1,s&&(r+=(c||1)-1,i+=(u||1)-1),!1})),[i,r,o,n]}formalCoordinate(t,e,s=!1){return d.__formalCoordinate(t,e,s)}static __appendRow(t,e,s,i){let r;if(e)r=e.cloneNode(!0),(0,c.$$)("td,th",e).forEach((t=>{const e=(0,c.attr)(t,"rowspan");if(e&&parseInt(e,10)>1){const s=parseInt(e,10)-1;(0,c.attr)(t,"rowspan",s>1?s:null)}})),(0,c.$$)("td,th",r).forEach((t=>{t.innerHTML=""}));else{const e=d.__getColumnsCount(t);r=i.element("tr");for(let t=0;e>t;t+=1)r.appendChild(i.element("td"))}s&&e&&e.nextSibling?e.parentNode&&e.parentNode.insertBefore(r,e.nextSibling):!s&&e?e.parentNode&&e.parentNode.insertBefore(r,e):(t.getElementsByTagName("tbody")?.[0]||t).appendChild(r)}appendRow(t,e,s){return d.__appendRow(t,e,s,this.j.createInside)}static __removeRow(t,e){const s=d.__formalMatrix(t);let i;const r=t.rows[e];s[e].forEach(((o,n)=>{if(i=!1,0>e-1||s[e-1][n]!==o)if(s[e+1]&&s[e+1][n]===o){if(o.parentNode===r&&o.parentNode.nextSibling){i=!0;let r=n+1;for(;s[e+1][r]===o;)r+=1;const l=a.J.next(o.parentNode,(t=>a.J.isTag(t,"tr")),t);l&&(s[e+1][r]?l.insertBefore(o,s[e+1][r]):l.appendChild(o))}}else a.J.safeRemove(o);else i=!0;if(i&&(o.parentNode===r||o!==s[e][n-1])){const t=o.rowSpan;(0,c.attr)(o,"rowspan",t-1>1?t-1:null)}})),a.J.safeRemove(r)}removeRow(t,e){return d.__removeRow(t,e)}appendColumn(t,e,s=!0){const i=d.__formalMatrix(t);if(!s&&a.J.isCell(e.previousElementSibling))return this.appendColumn(t,e.previousElementSibling,!0);const r=s?e.cellIndex+((e.colSpan||1)-1):e.cellIndex,o=s?r+1:r;for(let t=0;i.length>t;){const e=i[t];if(e[r]!==e[o]||r===o){const t=this.j.createInside.element("td");s?a.J.after(e[r],t):a.J.before(e[r],t),e[r].rowSpan>1&&(t.rowSpan=e[r].rowSpan)}else e[r].colSpan+=1;t+=e[r].rowSpan||1}}static __removeColumn(t,e){const s=d.__formalMatrix(t);let i;s.forEach(((t,r)=>{const o=t[e];if(i=!1,0>e-1||s[r][e-1]!==o?t.length>e+1&&s[r][e+1]===o?i=!0:a.J.safeRemove(o):i=!0,i&&(0>r-1||o!==s[r-1][e])){const t=o.colSpan;(0,c.attr)(o,"colspan",t-1>1?""+(t-1):null)}}))}removeColumn(t,e){return d.__removeColumn(t,e)}static __getSelectedBound(t,e){const s=[[1/0,1/0],[0,0]],i=d.__formalMatrix(t);let r,o,n;for(r=0;i.length>r;r+=1)for(o=0;i[r]&&i[r].length>o;o+=1)e.includes(i[r][o])&&(s[0][0]=Math.min(r,s[0][0]),s[0][1]=Math.min(o,s[0][1]),s[1][0]=Math.max(r,s[1][0]),s[1][1]=Math.max(o,s[1][1]));for(r=s[0][0];s[1][0]>=r;r+=1)for(n=1,o=s[0][1];s[1][1]>=o;o+=1){for(;i[r]&&i[r][o-n]&&i[r][o]===i[r][o-n];)s[0][1]=Math.min(o-n,s[0][1]),s[1][1]=Math.max(o-n,s[1][1]),n+=1;for(n=1;i[r]&&i[r][o+n]&&i[r][o]===i[r][o+n];)s[0][1]=Math.min(o+n,s[0][1]),s[1][1]=Math.max(o+n,s[1][1]),n+=1;for(n=1;i[r-n]&&i[r][o]===i[r-n][o];)s[0][0]=Math.min(r-n,s[0][0]),s[1][0]=Math.max(r-n,s[1][0]),n+=1;for(n=1;i[r+n]&&i[r][o]===i[r+n][o];)s[0][0]=Math.min(r+n,s[0][0]),s[1][0]=Math.max(r+n,s[1][0]),n+=1}return s}getSelectedBound(t,e){return d.__getSelectedBound(t,e)}static __normalizeTable(t){const e=[],s=d.__formalMatrix(t);d.__removeExtraColspans(s,e),d.__removeExtraRowspans(s,e);for(let t=0;s.length>t;t+=1)for(let e=0;s[t].length>e;e+=1)void 0!==s[t][e]&&(s[t][e].hasAttribute("rowspan")&&1===s[t][e].rowSpan&&(0,c.attr)(s[t][e],"rowspan",null),s[t][e].hasAttribute("colspan")&&1===s[t][e].colSpan&&(0,c.attr)(s[t][e],"colspan",null),s[t][e].hasAttribute("class")&&!(0,c.attr)(s[t][e],"class")&&(0,c.attr)(s[t][e],"class",null));d.__unmark(e)}static __removeExtraColspans(t,e){for(let s=0;t[0].length>s;s+=1){let i=1e6,r=!1;for(let e=0;t.length>e;e+=1)if(void 0!==t[e][s]){if(2>t[e][s].colSpan){r=!0;break}i=Math.min(i,t[e][s].colSpan)}if(!r)for(let r=0;t.length>r;r+=1)void 0!==t[r][s]&&d.__mark(t[r][s],"colspan",t[r][s].colSpan-i+1,e)}}static __removeExtraRowspans(t,e){let s=0,i=0;for(s=0;t.length>s;s+=1){let r=1e6,o=!1;for(i=0;t[s].length>i;i+=1)if(void 0!==t[s][i]){if(2>t[s][i].rowSpan){o=!0;break}r=Math.min(r,t[s][i].rowSpan)}if(!o)for(i=0;t[s].length>i;i+=1)void 0!==t[s][i]&&d.__mark(t[s][i],"rowspan",t[s][i].rowSpan-r+1,e)}}normalizeTable(t){return d.__normalizeTable(t)}static __mergeSelected(t,e){const s=[],i=d.__getSelectedBound(t,d.__getSelectedCellsByTable(t));let r,n=0,l=null,u=0,p=0,m=0;const g=new Set,f=[];i&&(i[0][0]-i[1][0]||i[0][1]-i[1][1])&&(d.__formalMatrix(t,((t,o,a,v,b)=>{if(!(i[0][0]>o||o>i[1][0]||i[0][1]>a||a>i[1][1])){if(r=t,g.has(r))return;g.add(r),o===i[0][0]&&r.style.width&&(n+=r.offsetWidth),""!==(0,c.trim)(t.innerHTML.replace(//g,""))&&s.push(t.innerHTML),v>1&&(p+=v-1),b>1&&(m+=b-1),l?(d.__mark(r,"remove",1,f),h(e).removeSelection(r)):(l=t,u=a)}})),p=i[1][1]-i[0][1]+1,m=i[1][0]-i[0][0]+1,l&&(p>1&&d.__mark(l,"colspan",p,f),m>1&&d.__mark(l,"rowspan",m,f),n&&(d.__mark(l,"width",(n/t.offsetWidth*100).toFixed(o.ACCURACY)+"%",f),u&&d.__setColumnWidthByDelta(t,u,0,!0,f)),l.innerHTML=s.join("
"),h(e).addSelection(l),g.delete(l),d.__unmark(f),d.__normalizeTable(t),(0,c.toArray)(t.rows).forEach((t=>{t.cells.length||a.J.safeRemove(t)}))))}mergeSelected(t){return d.__mergeSelected(t,this.j)}static __splitHorizontal(t,e){let s,i,r,o,n;const l=[];d.__getSelectedCellsByTable(t).forEach((c=>{i=e.createInside.element("td"),i.appendChild(e.createInside.element("br")),r=e.createInside.element("tr"),s=d.__formalCoordinate(t,c),2>c.rowSpan?(d.__formalMatrix(t,((t,e,i)=>{s[0]===e&&s[1]!==i&&t!==c&&d.__mark(t,"rowspan",t.rowSpan+1,l)})),a.J.after(a.J.closest(c,"tr",t),r),r.appendChild(i)):(d.__mark(c,"rowspan",c.rowSpan-1,l),d.__formalMatrix(t,((e,i,r)=>{i>s[0]&&s[0]+c.rowSpan>i&&s[1]>r&&e.parentNode.rowIndex===i&&(n=e),i>s[0]&&e===c&&(o=t.rows[i])})),n?a.J.after(n,i):o.insertBefore(i,o.firstChild)),c.colSpan>1&&d.__mark(i,"colspan",c.colSpan,l),d.__unmark(l),h(e).removeSelection(c)})),this.__normalizeTable(t)}splitHorizontal(t){return d.__splitHorizontal(t,this.j)}static __splitVertical(t,e){let s,i,r;const n=[];d.__getSelectedCellsByTable(t).forEach((l=>{s=d.__formalCoordinate(t,l),2>l.colSpan?d.__formalMatrix(t,((t,e,i)=>{s[1]===i&&s[0]!==e&&t!==l&&d.__mark(t,"colspan",t.colSpan+1,n)})):d.__mark(l,"colspan",l.colSpan-1,n),i=e.createInside.element("td"),i.appendChild(e.createInside.element("br")),l.rowSpan>1&&d.__mark(i,"rowspan",l.rowSpan,n);const c=l.offsetWidth;a.J.after(l,i),r=c/t.offsetWidth/2,d.__mark(l,"width",(100*r).toFixed(o.ACCURACY)+"%",n),d.__mark(i,"width",(100*r).toFixed(o.ACCURACY)+"%",n),d.__unmark(n),h(e).removeSelection(l)})),d.__normalizeTable(t)}splitVertical(t){return d.__splitVertical(t,this.j)}static __setColumnWidthByDelta(t,e,s,i,r){const n=d.__formalMatrix(t);let a=0;for(let i=0;n.length>i;i+=1){const l=n[i][e];if(1>=l.colSpan||1>=n.length){d.__mark(l,"width",((l.offsetWidth+s)/t.offsetWidth*100).toFixed(o.ACCURACY)+"%",r),a=i;break}}for(let t=a+1;n.length>t;t+=1)d.__mark(n[t][e],"width",null,r);i||d.__unmark(r)}setColumnWidthByDelta(t,e,s,i,r){return d.__setColumnWidthByDelta(t,e,s,i,r)}static __mark(t,e,s,i){i.push(t);const r=u.get(t)??{};r[e]=void 0===s?1:s,u.set(t,r)}static __unmark(t){t.forEach((t=>{const e=u.get(t);e&&(Object.keys(e).forEach((s=>{const i=e[s];switch(s){case"remove":a.J.safeRemove(t);break;case"rowspan":(0,c.attr)(t,"rowspan",(0,c.isNumber)(i)&&i>1?i:null);break;case"colspan":(0,c.attr)(t,"colspan",(0,c.isNumber)(i)&&i>1?i:null);break;case"width":null==i?(t.style.removeProperty("width"),(0,c.attr)(t,"style")||(0,c.attr)(t,"style",null)):t.style.width=""+i}delete e[s]})),u.delete(t))}))}}d.__selectedByTable=new WeakMap,(0,i.Cg)([(0,n.debounce)()],d.prototype,"__recalculateStyles",null);const h=t=>t.getInstance("Table",t.o)},11799(t){"use strict";t.exports={symbols:"سمبل"}},11961(t,e,s){"use strict";s.d(e,{d(){return i.Ay}});var i=s(52201)},11968(t){"use strict";t.exports={Spellcheck:"スペルチェック"}},11995(t,e,s){"use strict";s.r(e),s.d(e,{ar(){return i},cs_cz(){return r},de(){return o},es(){return n},fa(){return a},fi(){return l},fr(){return c},he(){return u},hu(){return d},id(){return h},it(){return p},ja(){return m},ko(){return g},mn(){return f},nl(){return v},pl(){return b},pt_br(){return y},ru(){return _},tr(){return w},ua(){return C},zh_cn(){return k},zh_tw(){return S}});var i=s(82602),r=s(24575),o=s(37414),n=s(82333),a=s(80124),l=s(96516),c=s(30965),u=s(80194),d=s(49458),h=s(8916),p=s(43268),m=s(11968),g=s(12715),f=s(45698),v=s(40119),b=s(92657),y=s(68648),_=s(70420),w=s(98439),C=s(65115),k=s(55835),S=s(34747)},12041(t,e,s){"use strict";s.d(e,{h(){return r}});var i=s(69052);function r(t){return!!(t&&t instanceof Object&&(0,i.T)(t.constructor)&&t.isView)}},12043(t,e,s){"use strict";s.d(e,{Ag(){return n},DI(){return a},OJ(){return r},PL(){return o},Zk(){return i},ar(){return c},dj(){return l}});const i="wrap",r="unwrap",o="change",n="unset",a="initial",l="replace",c="commitStyle"},12333(t){"use strict";t.exports={symbols:"тэмдэгт"}},12461(t,e,s){"use strict";s.d(e,{k(){return r}});var i=s(98253);function r(t){if((0,i.K)(t)){if(!t.match(/^([+-])?[0-9]+(\.?)([0-9]+)?(e[0-9]+)?$/))return!1;t=parseFloat(t)}return"number"==typeof t&&!isNaN(t)&&isFinite(t)}},12715(t){"use strict";t.exports={Spellcheck:"맞춤법 검사"}},13265(t,e,s){"use strict";s.d(e,{V(){return i}});const i=t=>t.split("/").reduce(((t,e)=>{switch(e){case"":case".":break;case"..":t.pop();break;default:t.push(e)}return t}),[]).join("/")+(t.endsWith("/")?"/":"")},13405(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(55186),a=s(56298),l=s(9810),c=s(29866),u=s(81781);class d extends c.k{afterInit(t){const e=t.o.enter.toLowerCase(),s=e===r.BR.toLowerCase();t.o.enterBlock||(t.o.enterBlock=s?r.PARAGRAPH:e),t.registerCommand("enter",((t,e,s={})=>this.onEnter(s)))}onEnterKeyDown(t){if(t.key===r.KEY_ENTER){const e=this.j,s=e.e.fire("beforeEnter",t);return void 0!==s?s:(e.s.isCollapsed()||e.execCommand("Delete"),e.s.focus(),this.onEnter(t),e.e.fire("afterEnter",t),e.synchronizeValues(),!1)}}onEnter(t){const{jodit:e}=this,s=e.createInside.fake();try{n.J.safeInsertNode(e.s.range,s),(0,u.Mt)(e,s,["a"]);let i=(0,u.Dk)(s,e);const r=n.J.isLeaf(i);if((!r||t?.shiftKey)&&(0,u.lN)(s,e,t?.shiftKey))return!1;if(i||(0,u.tX)(s,e)||(i=(0,u.C1)(s,e)),!i)return(0,u.yh)(s,e,r?"li":e.o.enter),!1;if(!(0,u.bD)(s,e,i))return!1;if(r&&this.__isEmptyListLeaf(i))return(0,u.cf)(s,e,i),!1;(0,u.HS)(s,e,i)}finally{s.isConnected&&e.s.setCursorBefore(s),n.J.safeRemove(s)}}__isEmptyListLeaf(t){const e=this.j.e.fire("enterIsEmptyListLeaf",t);return(0,l.L)(e)?e:n.J.isEmpty(t)}beforeDestruct(t){t.e.off("keydown.enter")}}(0,i.Cg)([(0,o.watch)(":keydown.enter")],d.prototype,"onEnterKeyDown",null),a.fg.add("enter",d)},13642(t,e,s){"use strict";s.d(e,{b(){return n}});var i=s(31635),r=s(24767),o=s(29780);let n=class t extends o.D{className(){return"UISpacer"}};n=(0,i.Cg)([r.s],n)},13676(t,e,s){"use strict";s.d(e,{D(){return a},M(){return n}});var i=s(95350),r=s(97369),o=(s(28712),s(70592));function n(t,e){return!t.attributes.length&&!(0,i.E)(e)||!(0,i.E)(e)||Object.keys(e).every((s=>"class"===s||"className"===s?t.classList.contains(e[s]):"style"===s?(0,o.g)(t,e[s]):(0,r.attr)(t,s)===e[s]))}function a(t,e){return t.attributes.length===e.attributes.length&&Array.from(t.attributes).every((t=>e.hasAttribute(t.name)&&e.getAttribute(t.name)===t.value))}},13861(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(55186),a=s(56298),l=s(65147),c=s(29866),u=(s(70674),s(90823));class d extends c.k{constructor(){super(...arguments),this.pasteStack=new l.LimitedStack(20),this._isDialogOpened=!1}afterInit(t){t.e.on("paste.paste",this.onPaste).on("pasteStack.paste",(t=>this.pasteStack.push(t))),t.o.nl2brInPlainText&&this.j.e.on("processPaste.paste",this.onProcessPasteReplaceNl2Br)}beforeDestruct(t){t.e.off("paste.paste",this.onPaste).off("processPaste.paste",this.onProcessPasteReplaceNl2Br).off(".paste")}onPaste(t){try{if(!1===this.customPasteProcess(t)||!1===this.j.e.fire("beforePaste",t))return t.preventDefault(),!1;this.defaultPasteProcess(t)}finally{this.j.e.fire("afterPaste",t)}}customPasteProcess(t){if(!this.j.o.processPasteHTML)return;const e=(0,l.getDataTransfer)(t),s=[e?.getData(r.TEXT_PLAIN),e?.getData(r.TEXT_HTML),e?.getData(r.TEXT_RTF)];for(const e of s)if((0,l.isHTML)(e)&&(this.j.e.fire("processHTML",t,e,{plain:s[0],html:s[1],rtf:s[2]})||this.processHTML(t,e)))return!1}defaultPasteProcess(t){const e=(0,l.getDataTransfer)(t);let s=e?.getData(r.TEXT_HTML)||e?.getData(r.TEXT_PLAIN);if(e&&s&&""!==(0,l.trim)(s)){const i=this.j.e.fire("processPaste",t,s,(0,u.DI)(e));void 0!==i&&(s=i),((0,l.isString)(s)||n.J.isNode(s))&&this.__insertByType(t,s,this.j.o.defaultActionOnPaste),t.preventDefault(),t.stopPropagation()}}processHTML(t,e){if(!this.j.o.askBeforePasteHTML)return!1;if(this.j.o.memorizeChoiceWhenPasteFragment){const s=this.pasteStack.find((t=>t.html===e));if(s)return this.__insertByType(t,e,s.action||this.j.o.defaultActionOnPaste),!0}if(this._isDialogOpened)return!0;const s=(0,u.PU)(this.j,"Your code is similar to HTML. Keep as HTML?","Paste as HTML",(s=>{this._isDialogOpened=!1,this.__insertByType(t,e,s)}),this.j.o.pasteHTMLActionList);return s&&(this._isDialogOpened=!0,s.e.on("beforeClose",(()=>{this._isDialogOpened=!1}))),!0}__insertByType(t,e,s){if(this.pasteStack.push({html:e,action:s}),(0,l.isString)(e))switch(this.j.buffer.set(r.CLIPBOARD_ID,e),s){case r.INSERT_CLEAR_HTML:e=(0,l.cleanFromWord)(e);break;case r.INSERT_ONLY_TEXT:e=(0,l.stripTags)(e,this.j.ed,new Set(this.j.o.pasteExcludeStripTags));break;case r.INSERT_AS_TEXT:e=(0,l.htmlspecialchars)(e);break;default:{const i=this.j.e.fire("onCustomPasteHTMLOption",s,e,t);"string"==typeof i&&(e=i)}}(0,u.sX)(t,this.j,e)}onProcessPasteReplaceNl2Br(t,e,s){if(s===r.TEXT_PLAIN+";"&&!(0,l.isHTML)(e))return(0,l.nl2br)(e)}}(0,i.Cg)([o.autobind],d.prototype,"onPaste",null),(0,i.Cg)([o.autobind],d.prototype,"onProcessPasteReplaceNl2Br",null),a.fg.add("paste",d)},13917(t,e,s){"use strict";var i=s(17352),r=s(71842),o=s(56298),n=s(69052),a=s(71005),l=s(46602),c=(s(81982),s(90084)),u=s(89832);class d extends a.k{afterInit(t){t.registerCommand("deleteButton",{exec:()=>this.onDelete(!1),hotkeys:t.o.delete.hotkeys.delete},{stopPropagation:!1}).registerCommand("backspaceButton",{exec:()=>this.onDelete(!0),hotkeys:t.o.delete.hotkeys.backspace},{stopPropagation:!1}).registerCommand("deleteWordButton",{exec:()=>this.onDelete(!1,"word"),hotkeys:t.o.delete.hotkeys.deleteWord}).registerCommand("backspaceWordButton",{exec:()=>this.onDelete(!0,"word"),hotkeys:t.o.delete.hotkeys.backspaceWord}).registerCommand("deleteSentenceButton",{exec:()=>this.onDelete(!1,"sentence"),hotkeys:t.o.delete.hotkeys.deleteSentence}).registerCommand("backspaceSentenceButton",{exec:()=>this.onDelete(!0,"sentence"),hotkeys:t.o.delete.hotkeys.backspaceSentence})}beforeDestruct(t){t.e.off("afterCommand.delete")}onDelete(t,e="char"){const s=this.j,o=s.selection;if(o.isFocused()||o.focus(),(0,c.L)(s))return!1;const a=o.range,d=s.createInside.text(i.INVISIBLE_SPACE);try{if(r.J.safeInsertNode(a,d),!r.J.isOrContains(s.editor,d))return;if(s.e.fire("backSpaceBeforeCases",t,d))return!1;if((0,l.W8)(s,d,t),u.C.some((i=>{if((0,n.T)(i)&&i(s,d,t,e))return!0})))return!1}catch(t){throw t}finally{s.e.fire("backSpaceAfterDelete",t,d),this.safeRemoveEmptyNode(d)}return!1}safeRemoveEmptyNode(t){const{range:e}=this.j.s;e.startContainer===t&&(t.previousSibling?r.J.isText(t.previousSibling)?e.setStart(t.previousSibling,t.previousSibling.nodeValue?.length??0):e.setStartAfter(t.previousSibling):t.nextSibling&&(r.J.isText(t.nextSibling)?e.setStart(t.nextSibling,0):e.setStartBefore(t.nextSibling)),e.collapse(!0),this.j.s.selectRange(e)),r.J.safeRemove(t)}}d.requires=["hotkeys"],o.fg.add("backspace",d)},14006(t){t.exports=' '},14017(t){t.exports=' '},14100(t){"use strict";t.exports={"Line height":"ارتفاع الخط"}},14221(t,e,s){"use strict";var i=s(17352),r=s(56298),o=s(65147),n=s(931),a=s(36115),l=s(17995),c=s.n(l);a.T.prototype.controls.about={exec(t){const e=t.dlg({closeOnClickOverlay:!0}),s=t.i18n.bind(t);e.setMod("theme",t.o.theme).setHeader(s("About Jodit")).setContent(`
\n\t\t\t\t\t
${s("Jodit Editor")} v.${t.getVersion()}
\n\t\t\t\t\t
${s("License: %s",(0,o.isLicense)(t.o.license)?(0,o.normalizeLicense)(t.o.license):"MIT")}
\n\t\t\t\t\t
\n\t\t\t\t\t\t${i.HOMEPAGE}\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t${s("Jodit User's Guide")}\n\t\t\t\t\t\t${s("contains detailed help for using")}\n\t\t\t\t\t
\n\t\t\t\t\t
${s("Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.")}
\n\t\t\t\t
`),(0,o.css)(e.dialog,{minHeight:200,minWidth:420}),e.open(!0,!0)},tooltip:"About Jodit",mode:i.MODE_SOURCE+i.MODE_WYSIWYG},r.fg.add("about",(t=>{t.registerButton({name:"about",group:"info"})})),n.I.set("about",c())},14305(t){t.exports=' '},14367(t,e,s){"use strict";var i=s(31635),r=s(22664),o=s(71842),n=s(56298),a=s(98253),l=s(71005);s(2805);class c extends l.k{constructor(){super(...arguments),this.isSuitableStart=t=>o.J.isText(t)&&(0,a.K)(t.nodeValue)&&(/[^\s]/.test(t.nodeValue)||t.parentNode?.firstChild===t&&this.isSuitable(t.nextSibling))||this.isNotWrapped(t)&&!o.J.isTemporary(t),this.isSuitable=t=>o.J.isText(t)||this.isNotWrapped(t),this.isNotWrapped=t=>o.J.isElement(t)&&!(o.J.isBlock(t)||o.J.isTag(t,this.j.o.wrapNodes.exclude))}afterInit(t){"br"!==t.o.enter.toLowerCase()&&t.e.on("drop.wtn focus.wtn keydown.wtn mousedown.wtn afterInit.wtn backSpaceAfterDelete.wtn",this.preprocessInput,{top:!0}).on("afterInit.wtn postProcessSetEditorValue.wtn afterCommitStyle.wtn backSpaceAfterDelete.wtn",this.postProcessSetEditorValue)}beforeDestruct(t){t.e.off(".wtn")}postProcessSetEditorValue(){const{jodit:t}=this;if(!t.isEditorMode())return;let e=t.editor.firstChild,s=!1;for(;e;){if(e=u(e,t),this.isSuitableStart(e)){s||t.s.save(),s=!0;const i=t.createInside.element(t.o.enter);for(o.J.before(e,i);e&&this.isSuitable(e);){const t=e.nextSibling;i.appendChild(e),e=t}i.normalize(),e=i}e=e&&e.nextSibling}s&&(t.s.restore(),"afterInit"===t.e.current&&t.e.fire("internalChange"))}preprocessInput(){const{jodit:t}=this,e="afterInit"===t.e.current;if(!t.isEditorMode()||t.editor.firstChild||!t.o.wrapNodes.emptyBlockAfterInit&&e)return;const s=t.createInside.element(t.o.enter),i=t.createInside.element("br");o.J.append(s,i),o.J.append(t.editor,s),t.s.isFocused()&&t.s.setCursorBefore(i),t.e.fire("internalChange")}}function u(t,e){let s=t,i=t;do{if(!o.J.isElement(i)||!o.J.isLeaf(i)||o.J.isList(i.parentElement))break;{const t=o.J.findNotEmptySibling(i,!1);o.J.isTag(s,"ul")?s.appendChild(i):s=o.J.wrap(i,"ul",e.createInside),i=t}}while(i);return s}(0,i.Cg)([r.autobind],c.prototype,"postProcessSetEditorValue",null),(0,i.Cg)([r.autobind],c.prototype,"preprocessInput",null),n.fg.add("wrapNodes",c)},14950(t){"use strict";t.exports={"Line height":"Rivin korkeus"}},14961(t,e,s){"use strict";s.d(e,{T(){return g}});var i=s(31635),r=s(64567),o=s(52201),n=s(66927),a=s(55186),l=s(32709),c=s(98253),u=s(58720),d=s(53048),h=s(39611),p=s(77782),m=s(8809);class g extends p.S{get toolbarContainer(){return this.o.fullsize||!(0,c.K)(this.o.toolbar)&&!a.J.isHTMLElement(this.o.toolbar)?(this.o.toolbar&&a.J.appendChildFirst(this.container,this.__defaultToolbarContainer),this.__defaultToolbarContainer):(0,u.tI)(this.o.toolbar,this.o.shadowRoot||this.od)}setPanel(t){this.o.toolbar=t,this.buildToolbar()}buildToolbar(){if(!this.o.toolbar)return;const t=this.o.buttons?(0,l.uM)(this.o.buttons):[];this.toolbar?.setRemoveButtons(this.o.removeButtons).build(t.concat(this.o.extraButtons||[])).appendTo(this.toolbarContainer)}getRegisteredButtonGroups(){return this.groupToButtons}registerButton(t){this.registeredButtons.add(t);const e=t.group??"other";return this.groupToButtons[e]||(this.groupToButtons[e]=[]),null!=t.position?this.groupToButtons[e][t.position]=t.name:this.groupToButtons[e].push(t.name),this}unregisterButton(t){this.registeredButtons.delete(t);const e=t.group??"other",s=this.groupToButtons[e];if(s){const i=s.indexOf(t.name);-1!==i&&s.splice(i,1),0===s.length&&delete this.groupToButtons[e]}return this}beforeToolbarBuild(t){if(Object.keys(this.groupToButtons).length)return t.map((t=>(0,h.i)(t)&&t.group&&this.groupToButtons[t.group]?{group:t.group,buttons:[...t.buttons,...this.groupToButtons[t.group]]}:t))}constructor(t,e=!1){super(t,e),this.toolbar=(0,m.$K)(this),this.__defaultToolbarContainer=this.c.div("jodit-toolbar__box"),this.registeredButtons=new Set,this.groupToButtons={},this.isJodit=!1,this.__tooltip=new d.SB(this),this.isJodit=e,this.e.on("beforeToolbarBuild",this.beforeToolbarBuild)}destruct(){this.isDestructed||(this.setStatus(r.f.beforeDestruct),this.e.off("beforeToolbarBuild",this.beforeToolbarBuild),this.__tooltip.destruct(),this.toolbar.destruct(),this.toolbar=void 0,super.destruct())}}(0,i.Cg)([(0,n.w)(":rebuildToolbar")],g.prototype,"buildToolbar",null),(0,i.Cg)([o.Ay],g.prototype,"beforeToolbarBuild",null)},15396(t,e,s){"use strict";s.d(e,{Zd(){return i.Z},eZ(){return n.e},hk(){return o.h},w5(){return r.w}});var i=s(60549),r=s(30526),o=s(20646),n=s(52306)},15776(t,e,s){"use strict";var i=s(931),r=s(36115),o=s(97836),n=s(82558),a=s(6295),l=s(26396),c=s(58540),u=s(38681),d=s.n(u),h=s(64637),p=s.n(h),m=s(94190),g=s.n(m),f=s(51957),v=s.n(f),b=s(71940),y=s.n(b),_=s(43218),w=s.n(_),C=s(48007),k=s.n(C);r.T.prototype.toolbarInline=!0,r.T.prototype.toolbarInlineForSelection=!1,r.T.prototype.toolbarInlineDisableFor=[],r.T.prototype.toolbarInlineDisabledButtons=["source"],i.I.set("addcolumn",d()).set("addrow",p()).set("merge",g()).set("th",w()).set("splitg",v()).set("splitv",y()).set("th-list",k()),r.T.prototype.popup={a:o.A,img:l.A,cells:n.A,toolbar:c.A,jodit:a.A,iframe:a.A,"jodit-media":a.A,selection:["bold","underline","italic","ul","ol","\n","outdent","indent","fontsize","brush","cut","\n","paragraph","link","align","dots"]}},15966(t){"use strict";t.exports={"Line height":"Высота линии"}},16113(t,e,s){"use strict";s.d(e,{Gq(){return o.G},HA(){return n.H},Kq(){return l.K},ZM(){return i.Z},t_(){return a.t},vn(){return a.v},wE(){return r.w}});var i=s(56176),r=s(94450),o=s(4960),n=s(10025),a=s(26328),l=s(61793)},16116(t,e,s){"use strict";s.d(e,{Kn(){return i.K},Zg(){return o.Z},kG(){return r.k}});var i=s(19633),r=s(10067),o=s(4909)},16841(t,e,s){"use strict";s.d(e,{J(){return o}});var i=s(98253),r=s(35642);function o(t,e){if(!(0,i.K)(t)||!t.length)return null;const s=t.split(".");let o=e;try{for(const t of s){if((0,r.R)(o[t]))return null;o=o[t]}}catch{return null}return(0,r.R)(o)?null:o}},17343(t,e,s){"use strict";var i=s(31635),r=(s(17352),s(22664)),o=s(71842),n=s(56298),a=s(65147),l=s(71005),c=(s(78593),s(78817)),u=s(63064);class d extends l.k{constructor(){super(...arguments),this.buttons=[{name:"find",group:"search"}],this.previousQuery="",this.drawPromise=null,this.walker=null,this.walkerCount=null,this.cache={},this.wrapFrameRequest=0}get ui(){return new u.F(this.j)}async updateCounters(){this.ui.isOpened&&(this.ui.count=await this.calcCounts(this.ui.query))}onPressReplaceButton(){this.findAndReplace(this.ui.query),this.updateCounters()}tryScrollToElement(t){let e=o.J.closest(t,o.J.isElement,this.j.editor);e||(e=o.J.prev(t,o.J.isElement,this.j.editor)),e&&e!==this.j.editor&&(0,a.scrollIntoViewIfNeeded)(e,this.j.editor,this.j.ed)}async calcCounts(t){return(await this.findQueryBounds(t,"walkerCount")).length}async findQueryBounds(t,e){let s=this[e];return s&&s.break(),s=new o.p(this.j.async,{timeout:this.j.o.search.lazyIdleTimeout}),this[e]=s,this.find(s,t).catch((t=>[]))}async findAndReplace(t){const e=await this.findQueryBounds(t,"walker");if(!e.length)return!1;let s=this.findCurrentIndexInRanges(e,this.j.s.range);-1===s&&(s=0);const i=e[s];if(i){try{const e=this.j.ed.createRange();e.setStart(i.startContainer,i.startOffset),e.setEnd(i.endContainer,i.endOffset),e.deleteContents();const r=this.j.createInside.text(this.ui.replace);o.J.safeInsertNode(e,r),(0,c.IJ)(this.j),this.j.s.setCursorAfter(r),this.tryScrollToElement(r),this.cache={},this.ui.currentIndex=s,await this.findAndSelect(t,!0).catch((t=>null))}finally{this.j.synchronizeValues()}return this.j.e.fire("afterFindAndReplace"),!0}return!1}async findAndSelect(t,e){const s=await this.findQueryBounds(t,"walker");if(!s.length)return!1;this.previousQuery===t&&(0,c.zy)(this.j.editor).length||(this.drawPromise?.rejectCallback(),this.j.async.cancelAnimationFrame(this.wrapFrameRequest),(0,c.IJ)(this.j),this.drawPromise=this.__drawSelectionRanges(s)),this.previousQuery=t;let i=this.ui.currentIndex-1;i=-1===i?0:e?i===s.length-1?0:i+1:0===i?s.length-1:i-1,this.ui.currentIndex=i+1;const r=s[i];if(r){const t=this.j.ed.createRange();try{t.setStart(r.startContainer,r.startOffset),t.setEnd(r.endContainer,r.endOffset),this.j.s.selectRange(t)}catch(t){}return this.tryScrollToElement(r.startContainer),await this.updateCounters(),await this.drawPromise,this.j.e.fire("afterFindAndSelect"),!0}return!1}findCurrentIndexInRanges(t,e){return t.findIndex((t=>t.startContainer===e.startContainer&&t.startOffset===e.startOffset&&t.endContainer===e.startContainer&&t.endOffset===e.endOffset))}async isValidCache(t){return(await t).every((t=>t.startContainer.isConnected&&(t.startContainer.nodeValue?.length??0)>=t.startOffset&&t.endContainer.isConnected&&(t.endContainer.nodeValue?.length??0)>=t.endOffset))}async find(t,e){if(!e.length)return[];const s=this.cache[e];return s&&await this.isValidCache(s)?s:(this.cache[e]=this.j.async.promise((s=>{const i=new c.QN(this.j.o.search.fuzzySearch);t.on("break",(()=>{s([])})).on("visit",(t=>(o.J.isText(t)&&i.add(t),!1))).on("end",(()=>{s(i.ranges(e)??[])})).setWork(this.j.editor)})),this.cache[e])}__drawSelectionRanges(t){const{async:e,createInside:s,editor:i}=this.j;e.cancelAnimationFrame(this.wrapFrameRequest);const r=[...t];let o,n=0;return e.promise((t=>{const a=()=>{do{o=r.shift(),o&&(0,c._B)(this.j,o,r,s,i),n+=1}while(o&&5>=n);r.length?this.wrapFrameRequest=e.requestAnimationFrame(a):t()};a()}))}onAfterGetValueFromEditor(t){t.value=(0,c.Tz)(t.value)}afterInit(t){if(t.o.useSearch){const e=this;t.e.on("beforeSetMode.search",(()=>{this.ui.close()})).on(this.ui,"afterClose",(()=>{(0,c.IJ)(t),this.ui.currentIndex=0,this.ui.count=0,this.cache={},t.focus()})).on("click",(()=>{this.ui.currentIndex=0,(0,c.IJ)(t)})).on("change.search",(()=>{this.cache={}})).on("keydown.search mousedown.search",t.async.debounce((()=>{this.ui.selInfo&&(t.s.removeMarkers(),this.ui.selInfo=null),this.ui.isOpened&&this.updateCounters()}),t.defaultTimeout)).on("searchNext.search searchPrevious.search",(()=>(this.ui.isOpened||this.ui.open(),e.findAndSelect(e.ui.query,"searchNext"===t.e.current).catch((t=>{}))))).on("search.search",((t,s=!0)=>(this.ui.currentIndex=0,e.findAndSelect(t||"",s).catch((t=>{}))))),t.registerCommand("search",{exec(t,s,i=!0){return s&&e.findAndSelect(s,i).catch((t=>{})),!1}}).registerCommand("openSearchDialog",{exec(t,s){return e.ui.open(s),!1},hotkeys:["ctrl+f","cmd+f"]}).registerCommand("openReplaceDialog",{exec(s,i,r){return t.o.readonly||e.ui.open(i,r,!0),!1},hotkeys:["ctrl+h","cmd+h"]})}}beforeDestruct(t){(0,r.cached)(this,"ui")?.destruct(),t.e.off(".search")}}(0,i.Cg)([r.cache],d.prototype,"ui",null),(0,i.Cg)([(0,r.watch)("ui:needUpdateCounters")],d.prototype,"updateCounters",null),(0,i.Cg)([(0,r.watch)("ui:pressReplaceButton")],d.prototype,"onPressReplaceButton",null),(0,i.Cg)([r.autobind],d.prototype,"findQueryBounds",null),(0,i.Cg)([r.autobind],d.prototype,"findAndReplace",null),(0,i.Cg)([r.autobind],d.prototype,"findAndSelect",null),(0,i.Cg)([r.autobind],d.prototype,"find",null),(0,i.Cg)([(0,r.watch)(":afterGetValueFromEditor")],d.prototype,"onAfterGetValueFromEditor",null),n.fg.add("search",d)},17352(t,e,s){"use strict";s.r(e),s.d(e,{ACCURACY(){return F},APP_VERSION(){return i},BASE_PATH(){return ct},BR(){return W},CLIPBOARD_ID(){return ht},COMMAND_KEYS(){return V},EMULATE_DBLCLICK_TIMEOUT(){return et},ES(){return r},FAT_MODE(){return c},HOMEPAGE(){return u},INSEPARABLE_TAGS(){return x},INSERT_AS_HTML(){return st},INSERT_AS_TEXT(){return rt},INSERT_CLEAR_HTML(){return it},INSERT_ONLY_TEXT(){return ot},INVISIBLE_SPACE(){return p},INVISIBLE_SPACE_REG_EXP(){return g},INVISIBLE_SPACE_REG_EXP_END(){return f},INVISIBLE_SPACE_REG_EXP_START(){return v},IS_BLOCK(){return k},IS_ES_MODERN(){return o},IS_ES_NEXT(){return n},IS_IE(){return G},IS_INLINE(){return S},IS_MAC(){return at},IS_PROD(){return a},IS_TEST(){return l},KEY_ALIASES(){return lt},KEY_ALT(){return P},KEY_BACKSPACE(){return z},KEY_DELETE(){return q},KEY_DOWN(){return B},KEY_ENTER(){return A},KEY_ESC(){return M},KEY_F3(){return J},KEY_LEFT(){return R},KEY_META(){return j},KEY_RIGHT(){return D},KEY_SPACE(){return O},KEY_TAB(){return L},KEY_UP(){return N},LIST_TAGS(){return T},MARKER_CLASS(){return tt},MODE_SOURCE(){return Y},MODE_SPLIT(){return K},MODE_WYSIWYG(){return U},NBSP_SPACE(){return m},NEARBY(){return H},NO_EMPTY_TAGS(){return I},PARAGRAPH(){return $},PASSIVE_EVENTS(){return mt},SAFE_COUNT_CHANGE_CALL(){return nt},SET_TEST(){return d},SOURCE_CONSUMER(){return pt},SPACE_REG_EXP(){return b},SPACE_REG_EXP_END(){return _},SPACE_REG_EXP_START(){return y},TEMP_ATTR(){return ut},TEXT_HTML(){return Z},TEXT_PLAIN(){return X},TEXT_RTF(){return Q},TOKENS(){return h},globalDocument(){return C},globalWindow(){return w},lang(){return dt}});const i="4.5.17",r="es2021",o=!0,n=!0,a=!0;let l=!1;const c=!1,u="https://xdsoft.net/jodit/",d=()=>l=!0,h={},p="\ufeff",m=" ",g=()=>/[\uFEFF]/g,f=()=>/[\uFEFF]+$/g,v=()=>/^[\uFEFF]+/g,b=()=>/[\s\n\t\r\uFEFF\u200b]+/g,y=()=>/^[\s\n\t\r\uFEFF\u200b]+/g,_=()=>/[\s\n\t\r\uFEFF\u200b]+$/g,w="undefined"!=typeof window?window:void 0,C="undefined"!=typeof document?document:void 0,k=/^(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,S=/^(STRONG|SPAN|I|EM|B|SUP|SUB|A|U)$/i,T=new Set(["ul","ol"]),E=["img","video","svg","iframe","script","input","textarea","link","jodit","jodit-media"],x=new Set([...E,"br","hr"]),I=new Set(E),j="Meta",z="Backspace",L="Tab",A="Enter",M="Escape",P="Alt",R="ArrowLeft",N="ArrowUp",D="ArrowRight",B="ArrowDown",O="Space",q="Delete",J="F3",H=5,F=10,V=[j,z,q,N,B,D,R,A,M,J,L],W="br",$="p",U=1,Y=2,K=3,G="undefined"!=typeof navigator&&(-1!==navigator.userAgent.indexOf("MSIE")||/rv:11.0/i.test(navigator.userAgent)),X=G?"text":"text/plain",Z=G?"html":"text/html",Q=G?"rtf":"text/rtf",tt="jodit-selection_marker",et=300,st="insert_as_html",it="insert_clear_html",rt="insert_as_text",ot="insert_only_text",nt=10,at=void 0!==w&&/Mac|iPod|iPhone|iPad/.test(w.navigator.platform),lt={add:"+",break:"pause",cmd:"meta",command:"meta",ctl:"control",ctrl:"control",del:"delete",down:"arrowdown",esc:"escape",ins:"insert",left:"arrowleft",mod:at?"meta":"control",opt:"alt",option:"alt",return:"enter",right:"arrowright",space:"space",spacebar:"space",up:"arrowup",win:"meta",windows:"meta"},ct=(()=>{if("undefined"==typeof document)return"";const t=C.currentScript,e=t=>{const e=t.split("/");return/\.js/.test(e[e.length-1])?e.slice(0,e.length-1).join("/")+"/":t};if(t)return e(t.src);const s=C.querySelectorAll("script[src]");return s&&s.length?e(s[s.length-1].src):w.location.href})(),ut="data-jodit-temp",dt={},ht="clipboard",pt="source-consumer",mt=new Set(["touchstart","touchend","scroll","mousewheel","mousemove","touchmove"])},17527(t,e,s){"use strict";s.d(e,{e(){return o}});var i=s(17352),r=s(98253);const o=(t,e="en")=>"auto"!==t&&(0,r.K)(t)?t:i.globalDocument.documentElement&&i.globalDocument.documentElement.lang?i.globalDocument.documentElement.lang:navigator.language?navigator.language.substring(0,2):e},17800(t,e,s){"use strict";s.d(e,{I(){return i},O(){return r}});const i=(()=>{let t;return()=>(void 0===t&&(t=(()=>{const t="___Jodit___"+Math.random();try{localStorage.setItem(t,"1");const e="1"===localStorage.getItem(t);return localStorage.removeItem(t),e}catch{}return!1})()),t)})();class r{set(t,e){try{const s=localStorage.getItem(this.rootKey),i=s?JSON.parse(s):{};i[t]=e,localStorage.setItem(this.rootKey,JSON.stringify(i))}catch{}return this}delete(t){try{localStorage.removeItem(this.rootKey)}catch{}return this}get(t){try{const e=localStorage.getItem(this.rootKey),s=e?JSON.parse(e):{};return void 0!==s[t]?s[t]:null}catch{}}exists(t){return null!=this.get(t)}constructor(t){this.rootKey=t}clear(){try{localStorage.removeItem(this.rootKey)}catch{}return this}}},17880(t,e,s){"use strict";s.d(e,{P(){return a}});var i=s(12461),r=s(26150),o=s(38322),n=s(9645);async function a(t,e,s){await t.decode();const a=(0,o.A)(t,"width",!0)||(0,r.C)(t,"width")||!1,l=(0,o.A)(t,"height",!0)||(0,r.C)(t,"height")||!1;e.imageWidth=!1!==a?(0,n.G)(a):t.offsetWidth||t.naturalWidth,e.imageHeight=(0,i.k)(e.imageWidth)?!1!==l?(0,n.G)(l):t.offsetHeight||t.naturalHeight:l||"";const{imageWidth:c,imageHeight:u}=e,d=parseFloat(""+c);if((0,i.k)(c)&&(0,i.k)(u))return!1===l?(e.imageHeight=Math.round(d/s.ratio),void(s.sizeIsLocked=!0)):void(s.sizeIsLocked=1>Math.abs(d-parseFloat(""+u)*s.ratio));s.sizeIsLocked=!1}},17995(t){t.exports=' '},18043(t,e,s){"use strict";s.d(e,{c(){return u}});var i=s(65147),r=s(9823),o=s(75889),n=s(97324),a=s(9979),l=s(31859),c=s(53804);function u(){const t=this.state,e=this.dataProvider,s=this;s.e.on("view.filebrowser",(e=>{e!==t.view&&(t.view=e)})).on("sort.filebrowser",(e=>{e!==t.sortBy&&(t.sortBy=e,(0,a.f)(s))})).on("filter.filebrowser",(e=>{e!==t.filterWord&&(t.filterWord=e,(0,a.f)(s))})).on("openFolder.filebrowser",(t=>{let e;e=".."===t.name?t.path.split("/").filter((t=>t.length)).slice(0,-1).join("/"):(0,i.normalizePath)(t.path,t.name),s.state.currentPath=e,s.state.currentSource="."===t.name?o.o:t.source})).on("removeFolder.filebrowser",(t=>{s.confirm("Are you sure?","Delete",(i=>{i&&e.folderRemove(t.path,t.name,t.source).then((t=>(s.status(t,!0),(0,l.r)(s)))).catch(s.status)}))})).on("renameFolder.filebrowser",(t=>{s.prompt("Enter new name","Rename",(i=>{if(!(0,r.uV)(i))return s.status(s.i18n("Enter new name")),!1;e.folderRename(t.path,t.name,i,t.source).then((t=>(s.state.activeElements=[],s.status(t,!0),(0,l.r)(s)))).catch(s.status)}),"type name",t.name)})).on("addFolder.filebrowser",(t=>{s.prompt("Enter Directory name","Create directory",(i=>{e.createFolder(i,t.path,t.source).then((()=>(0,l.r)(s))).catch(s.status)}),"type name")})).on("fileRemove.filebrowser",(()=>{s.state.activeElements.length&&s.confirm("Are you sure?","",(t=>{if(t){const t=[];s.state.activeElements.forEach((e=>{t.push((0,n.W)(s,e.file||e.name||"",e.sourceName))})),s.state.activeElements=[],Promise.all(t).then((()=>(0,l.r)(s).catch(s.status)),s.status)}}))})).on("edit.filebrowser",(()=>{if(1===s.state.activeElements.length){const[t]=this.state.activeElements;c.B.call(s,t.fileURL,t.file||"",t.path,t.sourceName)}})).on("fileRename.filebrowser",((t,i,o)=>{1===s.state.activeElements.length&&s.prompt("Enter new name","Rename",(n=>{if(!(0,r.uV)(n))return s.status(s.i18n("Enter new name")),!1;e.fileRename(i,t,n,o).then((t=>{s.state.activeElements=[],s.status(t,!0),(0,a.f)(s)})).catch(s.status)}),"type name",t)})).on("update.filebrowser",(()=>{(0,l.r)(this).then(this.status,this.status)}))}},18605(t){t.exports=' '},19085(t,e,s){"use strict";var i=s(31635),r=s(22664),o=s(55186),n=s(56298),a=s(65147),l=s(29866),c=s(35265),u=(s(24654),s(31970)),d=s(80778),h=s(33733),p=s(5549),m=s(30393);class g extends l.k{constructor(){super(...arguments),this.state={image:new Image,sourceImage:new Image,get ratio(){const{naturalWidth:t,naturalHeight:e}=this.image;return t/e||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:""}},this.activeTabState={activeTab:"Image"}}get form(){return new u.l(this.j,this.state,this.activeTabState,{openImageEditor:()=>(0,d.v)(this.j,this.state),openImagePopup:t=>(0,h.q)(this.j,this.dialog,this.state,t)})}get dialog(){const{j:t}=this,e=t.dlg({minWidth:Math.min(400,screen.width),minHeight:590,buttons:["fullsize","dialog.close"]}),s=this.__buttons;return s.check.onAction((()=>{(0,m.j)(t,this.state,this.state.sourceImage),t.synchronizeValues(),e.close()})),s.remove.onAction((()=>{t.s.removeNode(this.state.sourceImage),e.close()})),s.cancel.onAction((()=>{e.close()})),e.setHeader(t.i18n("Image properties")),e.setContent(this.form),e.setFooter([[s.cancel,s.remove],s.check]),t.e.on(e,"afterClose",(()=>{this.state.image.parentNode&&t.o.image.selectImageAfterClose&&t.s.select(this.state.sourceImage)})),e.setSize(t.o.image.dialogWidth),(0,a.markOwner)(t,e.container),e}get __buttons(){const{j:t}=this;return{check:(0,c.$n)(t,"ok","Apply","primary"),remove:(0,c.$n)(t,"bin","Delete"),cancel:(0,c.$n)(t,"cancel","Cancel")}}open(){return this.activeTabState.activeTab="Image",this.__lock(),this.dialog.open().setModal(!0).setPosition(),this.async.promise(((t,e)=>(0,p.U)(this.j,this.state).then(t,e))).catch((t=>{(0,a.isAbortError)(t)||this.dialog.message.error(t.message)})).finally((()=>this.__unlock())),!1}__lock(){this.dialog.lock(),this.form.setMod("lock",!0),Object.values(this.__buttons).forEach((t=>t.state.disabled=!0))}__unlock(){this.dialog.unlock(),this.form.setMod("lock",!1),Object.values(this.__buttons).forEach((t=>t.state.disabled=!1))}afterInit(t){const e=this;t.e.on("afterConstructor changePlace",(()=>{t.e.off(t.editor,".imageproperties").on(t.editor,"dblclick.imageproperties",(s=>{const i=s.target;if(o.J.isTag(i,"img"))if(t.o.image.openOnDblClick){if(!1===this.j.e.fire("openOnDblClick",i))return;e.state.sourceImage=i,e.state.image=i.cloneNode(!0),t.o.readonly||(s.stopImmediatePropagation(),s.preventDefault(),e.open())}else s.stopImmediatePropagation(),t.s.select(i)}))})).on("openImageProperties.imageproperties",(t=>{e.state.sourceImage=t,this.state.image=t.cloneNode(!0),this.open()}))}async onStateValuesImageSrcChange(){const{image:t,values:e}=this.state;if(t.src)try{this.__lock(),await t.decode(),this.state.sizeIsLocked&&(0,a.isNumeric)(e.imageWidth)&&(e.imageHeight=Math.round(parseFloat(""+e.imageWidth)/this.state.ratio)),this.j.e.fire("updateImageProperties.imageproperties",t)}catch(t){this.j.alert(t.message)}finally{this.__unlock()}}beforeDestruct(t){Object.values((0,r.cached)(this,"__buttons")??{}).forEach((t=>t.destruct())),(0,r.cached)(this,"dialog")?.destruct(),(0,r.cached)(this,"form")?.destruct(),t.e.off(t.editor,".imageproperties").off(".imageproperties")}}(0,i.Cg)([r.cache],g.prototype,"form",null),(0,i.Cg)([r.cache],g.prototype,"dialog",null),(0,i.Cg)([r.cache],g.prototype,"__buttons",null),(0,i.Cg)([(0,r.watch)("state.image")],g.prototype,"onStateValuesImageSrcChange",null),n.fg.add("imageProperties",g)},19627(t,e,s){"use strict";s.d(e,{V(){return i.V}});var i=s(140)},19633(t,e,s){"use strict";s.d(e,{K(){return a}});var i=s(71842),r=s(65147),o=s(53048),n=s(54522);o.In.set("palette",s.n(n)());const a=(t,e,s)=>{const n="jodit-color-picker",a=(0,r.normalizeColor)(s),l=t.c.div(n),c=t.o.textIcons?`${t.i18n("palette")}`:o.In.get("palette"),u=t=>{const e=[];return(0,r.isPlainObject)(t)?Object.keys(t).forEach((s=>{e.push(`
`),e.push(u(t[s])),e.push("
")})):(0,r.isArray)(t)&&t.forEach((t=>{e.push(``)})),e.join("")};l.appendChild(t.c.fromHTML(`
${u(t.o.colors)}
`)),l.appendChild(t.c.fromHTML(`
`));const{extra:d}=(0,r.refs)(l);return t.o.showBrowserColorPicker&&(0,r.hasBrowserColorPicker)()&&(d.appendChild(t.c.fromHTML(`
${c}
`)),t.e.on(l,"change",(t=>{t.stopPropagation();const s=t.target;if(!s||!s.tagName||!i.J.isTag(s,"input"))return;const o=s.value||"";(0,r.isFunction)(e)&&e(o),t.preventDefault()}))),t.e.on(l,"mousedown touchend",(s=>{s.stopPropagation(),s.preventDefault();let o=s.target;if(o&&o.tagName&&!i.J.isTag(o,"svg")&&!i.J.isTag(o,"path")||!o.parentNode||(o=i.J.closest(o.parentNode,"span",t.editor)),!i.J.isTag(o,"span")||!o.classList.contains(n+"__color-item"))return;const a=(0,r.attr)(o,"-color")||"";e&&(0,r.isFunction)(e)&&e(a)})),t.e.fire("afterGenerateColorPicker",l,d,e,a),l}},20222(t,e,s){"use strict";s.d(e,{Rc(){return r.R},ZW(){return o.Z},h2(){return i.h},rV(){return i.r}});var i=s(21567),r=s(30495),o=s(34899)},20384(t,e,s){"use strict";s.d(e,{y(){return a}});var i=s(55186),r=s(71274),o=s(59101),n=s(84976);function a(t,e,s){const i=s.s.createRange(),o=(0,r.r)(e.previousSibling)?e.previousSibling:e;i.setStartBefore(t),i.setEndBefore(o),l(t,i,!0);const n=(0,r.r)(e.nextSibling)?e.nextSibling:e;i.setStartAfter(n),i.setEndAfter(t),l(t,i,!1)}function l(t,e,s){const r=e.extractContents();r.textContent&&(0,o.Bq)(r.textContent).length||!r.firstChild||i.J.unwrap(r.firstChild),t.parentNode&&(0,n.T1)(s?i.J.before:i.J.after,t,r)}},20646(t,e,s){"use strict";s.d(e,{h(){return n}});var i=s(55186),r=s(97369),o=s(30526);function n(t){const{s:e,editor:s,createInside:n}=t,{range:a}=e,l=a.cloneRange(),c=a.cloneRange(),u=n.fake(),d=n.fake();l.collapse(!0),c.collapse(!1),i.J.safeInsertNode(l,u),i.J.safeInsertNode(c,d),a.setStartBefore(u),a.collapse(!0),e.selectRange(a),(0,o.w)(t,u),a.setEndAfter(d),a.collapse(!1),e.selectRange(a),(0,o.w)(t,d);const h=[];i.J.between(u,d,(t=>{(0,o.D)(t)&&!i.J.isTag(t,"a")&&h.push(t),i.J.isElement(t)&&(0,r.attr)(t,"style")&&(0,r.attr)(t,"style",null)})),h.forEach((t=>i.J.unwrap(t)));const p=(t,e)=>{if(!i.J.findNotEmptySibling(t,e)){const i=t.parentNode;if(i&&i!==s&&(0,r.attr)(i,"style"))return(0,r.attr)(i,"style",null),p(i,e),!0}};p(u,!0)&&p(d,!1),a.setStartAfter(u),a.setEndBefore(d),e.selectRange(a),i.J.safeRemove(u),i.J.safeRemove(d)}},20703(t,e,s){"use strict";s.d(e,{$6(){return o.$6},F0(){return o.F0},XV(){return r.X},Yh(){return i.Y},cY(){return o.cY},nE(){return o.nE},tS(){return o.tS}});var i=s(68752),r=s(28709),o=s(47165)},20784(t){t.exports=' '},20785(t,e,s){"use strict";s.d(e,{b(){return u}});var i=s(31635),r=s(24767),o=s(66927),n=s(55186),a=s(98253),l=s(53048),c=s(29780);let u=class t extends c.D{className(){return"UIAiAssistant"}constructor(t,{onInsert:e,onInsertAfter:s}){super(t),this.__aiResult="",this.__error=this.getElm("error"),this.__body=this.getElm("body"),this.__buttons=this.getElm("buttons"),this.__results=this.getElm("results"),this.__spinner=this.getElm("spinner"),this.__insertButton=(0,l.$n)(t,"","Insert","primary").onAction((()=>e(this.__aiResult))),this.__insertAfterButton=(0,l.$n)(t,"","Insert After","initial").onAction((()=>s(this.__aiResult)));const i=()=>{this.__formAiAssistant.validate()&&(this.__formAiAssistant.submit(),this.__toggleInsertButton(!0),this.__toggleSubmitButton(!0))};this.__submitButton=(0,l.$n)(t,"ai-assistant","").onAction(i),this.__tryAgainButton=(0,l.$n)(t,"update","","initial").onAction(i),this.promptInput=new l.F0(t,{name:"prompt",required:!0,label:"Prompt",placeholder:"Ask AI to improve generated text",className:this.getFullElName("prompt-row-input")});const r=new l.Yh(t,[this.__insertButton,this.__insertAfterButton,this.__tryAgainButton],{className:this.getFullElName("prompt-row")});this.__formAiAssistant=new l.XV(t,[new l.Yh(t,[this.promptInput,this.__submitButton],{className:this.getFullElName("prompt-row")})]).onSubmit((e=>{this.__error.textContent="",this.setMod("loading",!0),t.e.fire("invokeAiAssistant",e.prompt);const s=this.getFullElName("","hide","true");this.__results.classList.remove(s),this.__buttons.classList.remove(s),n.J.detach(this.__results),this.__results.appendChild(this.__spinner),this.__insertButton.focus()})),this.__buttons.appendChild(r.container),this.__body.appendChild(this.__formAiAssistant.container),this.onChangePromptValue()}render(){return'
\n\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t
'}setPrompt(t){if(t){const{jodit:e}=this,s=e.o.aiAssistant[t],{aiCommonPrefixPrompt:i,aiCommonSuffixPrompt:r}=e.o.aiAssistant;this.promptInput.value=[i,(0,a.K)(s)?s:"",r].filter(Boolean).join(" "),this.__toggleInsertButton(!0),this.promptInput.value&&(this.__formAiAssistant.submit(),this.__toggleSubmitButton(!0))}this.promptInput.focus()}onAiAssistentResponse(t){this.setMod("loading",!1),n.J.detach(this.__results),this.__aiResult=t,this.__results.appendChild(this.jodit.c.fromHTML(t)),this.__toggleSubmitButton(!1),this.__toggleInsertButton(!1)}onAiAssistentError(t){this.__aiResult="",this.setMod("loading",!1),this.__error.textContent=t,n.J.detach(this.__results),this.__toggleSubmitButton(!1);const e=this.getFullElName("","hide","true");this.__results.classList.add(e),this.__toggleInsertButton(!0)}onChangePromptValue(){this.__toggleSubmitButton(!this.promptInput.value)}__toggleSubmitButton(t){this.__submitButton.state.disabled=t,this.__tryAgainButton.state.disabled=t}__toggleInsertButton(t){this.__insertButton.state.disabled=t,this.__insertAfterButton.state.disabled=t}};(0,i.Cg)([(0,o.w)(":ai-assistant-response")],u.prototype,"onAiAssistentResponse",null),(0,i.Cg)([(0,o.w)(":ai-assistant-error")],u.prototype,"onAiAssistentError",null),(0,i.Cg)([(0,o.w)("promptInput:change")],u.prototype,"onChangePromptValue",null),u=(0,i.Cg)([r.s],u)},20797(t,e,s){"use strict";var i=s(72197),r=s(931),o=s(36115),n=s(40037),a=s.n(n),l=s(83207),c=s.n(l);const u=(t,e,{control:s})=>{const r="button"+s.command,o=(s.args&&s.args[0])??(0,i.m)(t,r);(0,i.m)(t,r,o),t.execCommand(s.command,!1,"default"===o?null:o)};r.I.set("ol",a()).set("ul",c()),o.T.prototype.controls.ul={command:"insertUnorderedList",tags:["ul"],tooltip:"Insert Unordered List",list:{default:"Default",circle:"Circle",disc:"Dot",square:"Quadrate"},exec:u},o.T.prototype.controls.ol={command:"insertOrderedList",tags:["ol"],tooltip:"Insert Ordered List",list:{default:"Default","lower-alpha":"Lower Alpha","lower-greek":"Lower Greek","lower-roman":"Lower Roman","upper-alpha":"Upper Alpha","upper-roman":"Upper Roman"},exec:u}},21195(t){t.exports.default=["なにかタイプしてください","Joditについて","Jodit Editor","Jodit ユーザーズ・ガイド","詳しい使い方","ライセンス詳細についてはJodit Webサイトを確認ください:","フルバージョンを購入","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","新しいタブで開く","エディターのサイズ(フル/ノーマル)","書式をクリア","テキストの色","やり直し","元に戻す","太字","斜体","箇条書き","番号付きリスト","中央揃え","両端揃え","左揃え","右揃え","区切り線を挿入","画像を挿入","ファイルを挿入","Youtube/Vimeo 動画","リンクを挿入","フォントサイズ","フォント","テキストのスタイル","指定なし","タイトル1","タイトル2","タイトル3","タイトル4","引用","コード","挿入","表を挿入","インデント減","インデント増","特殊文字を選択","特殊文字を挿入","書式を貼付け","編集モード切替え","マージン","上","右","下","左","スタイル","クラス","配置","右寄せ","中央寄せ","左寄せ","指定なし","ソース","タイトル","代替テキスト","リンク","新しいタブで開く","画像","ファイル","高度な設定","画像のプロパティー","キャンセル","確定","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","ここに画像をドロップ","ここにファイルをドロップ","or クリック","代替テキスト","アップロード","ブラウズ","背景","文字","上","中央","下","左に列を挿入","右に列を挿入","上に行を挿入","下に行を挿入","表を削除","行を削除","列を削除","セルを空にする","文字数: %d","単語数: %d","取り消し線","下線","上付き文字","下付き文字","切り取り","すべて選択","Pause","検索","置換","交換","貼付け","選択した内容を貼付け","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","分割線","箇条書き","番号付きリスト","切り取り","すべて選択","埋め込みコード","リンクを開く","リンクを編集","No follow","リンク解除","更新","鉛筆","サイトを確認","URL","編集","水平方向の配置","Filter","Sort by changed","Sort by name","Sort by size","Add folder","リセット","保存","Save as ...","リサイズ","Crop","幅","高さ","縦横比を保持","はい","いいえ","移除","選択","選択: %s","垂直方向の配置","分割","セルの結合","列を追加","行を追加",null,"削除","セルの分割(垂直方向)","セルの分割(水平方向)","境界線","HTMLコードを保持しますか?","HTMLで貼付け","HTMLを保持","HTMLをテキストにする","テキストだけ","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","パレット","There are no files","Rename","Enter new name","プレビュー","ダウンロード","貼り付け","お使いのブラウザはクリップボードを使用できません","コピー","copy","角の丸み","全て表示","適用","まだこの分野","を入力してくださいウェブアドレス","デフォルト","白丸","黒丸","四角","見","探前","由来","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","Clean","クラス名を挿入","カスタムサイズ変更のためのAltキーを押します"]},21329(t,e,s){"use strict";s.d(e,{B(){return o}});var i=s(35265),r=s(20703);const o=t=>{const{openInNewTabCheckbox:e,noFollowCheckbox:s,modeClassName:o,selectSizeClassName:n,selectMultipleClassName:a,selectOptionsClassName:l}=t.o.link;return new r.XV(t,[new r.Yh(t,[new r.tS(t,{name:"url",type:"text",ref:"url_input",label:"URL",placeholder:"http://",required:!0})]),new r.Yh(t,[new r.tS(t,{name:"content",ref:"content_input",label:"Text"})],{ref:"content_input_box"}),o?new r.Yh(t,["input"===o?new r.tS(t,{name:"className",ref:"className_input",label:"Class name"}):"select"===o?new r.$6(t,{name:"className",ref:"className_select",label:"Class name",size:n,multiple:a,options:l}):null]):null,e?new r.cY(t,{name:"target",ref:"target_checkbox",label:"Open in new tab"}):null,s?new r.cY(t,{name:"nofollow",ref:"nofollow_checkbox",label:"No follow"}):null,new r.Yh(t,[new i.lD(t,{name:"unlink",variant:"default",text:"Unlink"}),new i.lD(t,{name:"insert",type:"submit",variant:"primary",text:"Insert"})],{align:"full"})])}},21567(t,e,s){"use strict";function i(t="Aborted"){return new DOMException(t,"AbortError")}s.d(e,{h(){return i},r(){return r}});const r=s(99951).z},21811(t,e,s){"use strict";function i(t){return-1!==t.search(//)||-1!==t.search(//)||-1!==t.search(/style="[^"]*mso-/)&&-1!==t.search(/'),l=n.c.element("label");(0,i.T)(e)&&(s=e,e=void 0),l.appendChild(n.c.fromHTML(t)),a.appendChild(l);const c=t=>()=>{s&&!1===s(t)||n.close()},u=(0,r.$n)(n,"cancel","Cancel"),d=(0,r.$n)(n,"ok","Yes");return u.onAction(c(!1)),d.onAction(c(!0)),n.e.on(a,"submit",(()=>(c(!0)(),!1))),n.setFooter([d,u]),n.open(a,e||" ",!0,!0),d.focus(),n}},23602(t){t.exports=' '},24103(t,e,s){"use strict";var i=s(36115);i.T.prototype.mediaFakeTag="jodit-media",i.T.prototype.mediaInFakeBlock=!0,i.T.prototype.mediaBlocks=["video","audio"]},24575(t){"use strict";t.exports={Spellcheck:"Kontrola pravopisu"}},24593(t,e,s){"use strict";var i=s(17352),r=s(87875),o=s(56298),n=s(65147);s(51329),o.fg.add("clipboard",class a{constructor(){this.buttons=[{name:"cut",group:"clipboard"},{name:"copy",group:"clipboard"},{name:"paste",group:"clipboard"},{name:"selectall",group:"clipboard"}]}init(t){this.buttons?.forEach((e=>t.registerButton(e))),t.e.off(`copy.${i.CLIPBOARD_ID} cut.${i.CLIPBOARD_ID}`).on(`copy.${i.CLIPBOARD_ID} cut.${i.CLIPBOARD_ID}`,(e=>{const s=t.s.html,r=(0,n.getDataTransfer)(e)||(0,n.getDataTransfer)(t.ew)||(0,n.getDataTransfer)(e.originalEvent);r&&(r.setData(i.TEXT_PLAIN,(0,n.stripTags)(s)),r.setData(i.TEXT_HTML,s)),t.buffer.set(i.CLIPBOARD_ID,s),t.e.fire("pasteStack",{html:s,action:t.o.defaultActionOnPaste||i.INSERT_AS_HTML}),"cut"===e.type&&(t.s.remove(),t.s.focus()),e.preventDefault(),t?.events?.fire("afterCopy",s)}))}destruct(t){(0,r.PO)(t,"buffer")?.set(i.CLIPBOARD_ID,""),t?.events?.off("."+i.CLIPBOARD_ID)}})},24654(t,e,s){"use strict";s(36115).T.prototype.image={dialogWidth:600,openOnDblClick:!0,editSrc:!0,useImageEditor:!0,editTitle:!0,editAlt:!0,editLink:!0,editSize:!0,editBorderRadius:!0,editMargins:!0,editClass:!0,availableClasses:[],editStyle:!0,editId:!0,editAlign:!0,showPreview:!0,selectImageAfterClose:!0}},24767(t,e,s){"use strict";function i(t){class e extends t{constructor(...t){super(...t),this.constructor===e&&(this instanceof e||Object.setPrototypeOf(this,e.prototype),this.setStatus("ready"))}}return e}s.d(e,{s(){return i}})},24772(t){t.exports=' '},24834(t,e,s){"use strict";s.d(e,{w(){return a}});var i=s(83260),r=s(17800),o=s(2788);const n="Jodit_";class a{set(t,e){return this.provider.set((0,i.x)(this.prefix+t),e),this}delete(t){return this.provider.delete((0,i.x)(this.prefix+t)),this}get(t){return this.provider.get((0,i.x)(this.prefix+t))}exists(t){return this.provider.exists((0,i.x)(this.prefix+t))}clear(){return this.provider.clear(),this}constructor(t,e){this.provider=t,this.prefix=n,e&&(this.prefix+=e)}static makeStorage(t=!1,e){let s;return t&&(0,r.I)()&&(s=new r.O(n+e)),s||(s=new o.M),new a(s,e)}}},24863(t,e,s){"use strict";s.d(e,{Z(){return a}});var i=s(53048);const r="jodit-image-editor",o=i.In.get.bind(i.In),n=(t,e="jodti-image-editor_active")=>t?e:"",a=(t,e)=>{const s=t.i18n.bind(t),i=(t,e,i=!0)=>`
\n\t\t\t\n\t
`;return t.create.fromHTML(`
\n\t\t
\n\t\t\t
\n\t\t\t${e.resize?`
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
`:""}\n\t\t\t${e.crop?`
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
`:""}\n\t\t\t
\n\t\t\t
\n\t\t\t${e.resize?`
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${o("resize")}\n\t\t\t\t\t\t\t\t${s("Resize")}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${i("Keep Aspect Ratio","keepAspectRatioResize")}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
`:""}\n\t\t\t${e.crop?`
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${o("crop")}\n\t\t\t\t\t\t\t\t${s("Crop")}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t\t\t${i("Keep Aspect Ratio","keepAspectRatioCrop")}\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
`:""}\n\t\t\t
\n\t\t
\n\t
`)}},25090(t){t.exports.default=["Ecrivez ici","A propos de Jodit","Editeur Jodit","Guide de l'utilisateur","Aide détaillée à l'utilisation","Consulter la licence sur notre site web:","Acheter la version complète","Copyright © XDSoft.net - Chupurnov Valeriy. Tous droits réservés.","Ancre","Ouvrir dans un nouvel onglet","Ouvrir l'éditeur en pleine page","Supprimer le formattage","Modifier la couleur du fond ou du texte","Refaire","Défaire","Gras","Italique","Liste non ordonnée","Liste ordonnée","Centrer","Justifier","Aligner à gauche ","Aligner à droite","Insérer une ligne horizontale","Insérer une image","Insérer un fichier","Insérer une vidéo","Insérer un lien","Taille des caractères","Famille des caractères","Bloc formatté","Normal","Titre 1","Titre 2","Titre 3","Titre 4","Citation","Code","Insérer","Insérer un tableau","Diminuer le retrait","Retrait plus","Sélectionnez un caractère spécial","Insérer un caractère spécial","Cloner le format","Mode wysiwyg <-> code html","Marges","haut","droite","Bas","gauche","Styles","Classes","Alignement","Droite","Centre","Gauche","--Non disponible--","Source","Titre","Alternative","Lien","Ouvrir le lien dans un nouvel onglet","Image","fichier","Avancé","Propriétés de l'image","Annuler","OK","Explorateur de fichiers","Erreur de liste de chargement","Erreur de dossier de chargement","Etes-vous sûrs ?","Entrer le nom de dossier","Créer un dossier","type de fichier","Coller une image","Déposer un fichier","ou cliquer","Texte de remplacemement","Charger","Chercher","Arrière-plan","Texte","Haut","Milieu","Bas","Insérer une colonne avant","Insérer une colonne après","Insérer une ligne au dessus","Insérer une ligne en dessous","Supprimer le tableau","Supprimer la ligne","Supprimer la colonne","Vider la cellule","Symboles: %d","Mots: %d","Barrer","Souligner","exposant","indice","Couper la sélection","Tout sélectionner","Pause","Rechercher","Remplacer par","Remplacer","Coller","Choisissez le contenu à coller","la source","gras","italique","pinceau","lien","annuler","refaire","tableau","image","gomme","clause","taille de police","Video","police","à propos de l'éditeur","impression","souligné","barré","indentation","retrait","taille réelle","taille conventionnelle","la ligne","Liste","Liste numérotée","Couper","Sélectionner tout",null,"Ouvrir le lien","Modifier le lien","Attribut Nofollow","Supprimer le lien","Mettre à jour","Pour éditer","Voir","URL",null,"Alignement horizontal","Filtre","Trier par modification","Trier par nom","Trier par taille","Créer le dossier","Restaurer","Sauvegarder","Enregistrer sous","Changer la taille","Taille de garniture","Largeur","Hauteur","Garder les proportions","Oui","Non","Supprimer","Mettre en évidence","Mettre en évidence: %s","Alignement vertical","Split","aller","Ajouter une colonne","Ajouter une rangée",null,"Effacer","Split vertical","Split horizontal","Bordure","Votre texte que vous essayez de coller est similaire au HTML. Collez-le en HTML?","Coller en HTML?","Sauvegarder l'original","Coller en tant que texte","Coller le texte seulement","Vous ne pouvez éditer que vos propres images. Téléchargez cette image sur l'hôte?","L'image a été téléchargée avec succès sur le serveur!","Palette","Il n'y a aucun fichier dans ce répertoire.","renommer","Entrez un nouveau nom","Aperçu","Télécharger","Coller à partir du presse-papiers","Votre navigateur ne prend pas en charge l'accès direct au presse-papiers.","Copier la sélection","copie","Rayon des bordures","Afficher tous","Appliquer","Veuillez remplir ce champ","Veuillez entrer une adresse web","Par défaut","Cercle","Point","Quadratique","Trouver","Précédent","Suivant","Le contenu que vous insérez provient d'un document Microsoft Word / Excel. Voulez-vous enregistrer le format ou l'effacer?","C'est peut-être un fragment de Word ou Excel","Nettoyer","Insérer un nom de classe","Appuyez sur Alt pour un redimensionnement personnalisé"]},25182(t){t.exports.default=["输入一些内容","关于Jodit","Jodit Editor","开发者指南","使用帮助","有关许可证的信息,请访问我们的网站:","购买完整版本","Copyright © XDSoft.net - Chupurnov Valeriy. 版权所有","Anchor","在新窗口打开","全屏编辑","清除样式","颜色","重做","撤销","粗体","斜体","符号列表","编号","居中","对齐文本","左对齐","右对齐","分割线","图片","文件","视频","链接","字号","字体","格式块","默认","标题1","标题2","标题3","标题4","引用","代码","插入","表格","减少缩进","增加缩进","选择特殊符号","特殊符号","格式复制","改变模式","外边距(Margins)","top","right","bottom","left","样式","Classes","对齐方式","居右","居中","居左","无","Src","Title","Alternative","Link","在新窗口打开链接","图片","file","高级","图片属性","取消","确定","文件管理","加载list错误","加载folders错误","你确定吗?","输入路径","创建路径","type name","拖动图片到此","拖动文件到此","或点击","Alternative text","上传","浏览","背景色","文字","顶部","中间","底部","在之前插入列","在之后插入列","在之前插入行","在之后插入行","删除表格","删除行","删除列","清除内容","字符数: %d","单词数: %d","删除线","下划线","上标","下标","剪切","全选","Break","查找","替换为","替换","粘贴","选择内容并粘贴","源码","粗体","斜体","颜色","链接","撤销","重做","表格","图片","橡皮擦","段落","字号","视频","字体","关于","打印","下划线","上出现","增加缩进","减少缩进","全屏","收缩","分割线","无序列表","顺序列表","剪切","全选","嵌入代码","打开链接","编辑链接","No follow","取消链接","更新","铅笔","预览","URL","编辑","水平对齐","筛选","修改时间排序","名称排序","大小排序","新建文件夹","重置","保存","保存为","调整大小","剪切","宽","高","保持长宽比","是","不","移除","选择","选择: %s","垂直对齐","拆分","合并","添加列","添加行",null,"删除","垂直拆分","水平拆分","边框","你粘贴的文本是一段html代码,是否保留源格式","html粘贴","保留源格式","把html代码视为普通文本","只保留文本","你只能编辑你自己的图片。Download this image on the host?","图片上传成功","调色板","此目录中沒有文件。","重命名","输入新名称","预览","下载","粘贴从剪贴板","你浏览器不支持直接访问的剪贴板。","复制选中内容","复制","边界半径","显示所有","应用","请填写这个字段","请输入一个网址","默认","圆圈","点","方形","搜索","查找上一个","查找下一个","正在粘贴 Word/Excel 的文本,是否保留源格式?","文本粘贴","匹配目标格式","插入班级名称","按Alt自定义调整大小"]},25376(t,e,s){"use strict";s.d(e,{Q(){return r}});var i=s(76776);function r(t){return!(!t||"object"!=typeof t||t.nodeType||(0,i.l)(t)||t.constructor&&!{}.hasOwnProperty.call(t.constructor.prototype,"isPrototypeOf"))}},25459(t){"use strict";t.exports={"copy-format":"העתק עיצוב"}},25501(t){t.exports=' '},25884(t){"use strict";t.exports={"Line height":"Зураасны өндөр"}},26150(t,e,s){"use strict";s.d(e,{C(){return n}});var i=s(9823),r=s(449),o=s(38322);function n(t,e,s){if(!t||!(0,i.Tn)(t.getAttribute))return null;if(!(0,i.Kg)(e))return Object.keys(e).forEach((s=>{const r=e[s];(0,i.Qd)(r)&&"style"===s?(0,o.A)(t,r):("className"===s&&(s="class"),n(t,s,r))})),null;let a=(0,r.N)(e);if(/^-/.test(a)){const e=n(t,"data"+a);if(e)return e;a=a.substr(1)}if(void 0!==s){if(null!=s){let e=""+s;return"IMG"!==t.nodeName||"width"!==a&&"height"!==a||(e=e.replace("px","")),t.setAttribute(a,e),e}t.hasAttribute(a)&&t.removeAttribute(a)}return t.getAttribute(a)}},26328(t,e,s){"use strict";s.d(e,{t(){return o},v(){return n}});var i=s(55186),r=s(97369);function o(t,e){(i.J.isElement(t)||i.J.isFragment(t))&&(e.removeOnError&&(n(t),(0,r.$$)("[onerror]",t).forEach((t=>n(t,e)))),e.safeJavaScriptLink&&(n(t),(0,r.$$)('a[href^="javascript"]',t).forEach((t=>n(t,e)))))}function n(t,{safeJavaScriptLink:e,removeOnError:s}={safeJavaScriptLink:!0,removeOnError:!0}){if(!i.J.isElement(t))return!1;let o=!1;s&&t.hasAttribute("onerror")&&((0,r.attr)(t,"onerror",null),o=!0);const n=t.getAttribute("href");return e&&n&&0===n.trim().indexOf("javascript")&&((0,r.attr)(t,"href",location.protocol+"//"+n),o=!0),o}},26396(t,e,s){"use strict";s.d(e,{M(){return a}});var i=s(71842),r=s(98253),o=s(40080),n=s(38322);const a={name:"left",childTemplate(t,e,s){return s},list:["Left","Right","Center","Normal"],exec(t,e,{control:s}){if(!i.J.isTag(e,new Set(["img","jodit","jodit-media"])))return;const n=s.args&&(0,r.K)(s.args[0])?s.args[0].toLowerCase():"";if(!n)return!1;(0,o.Mr)(e,n),i.J.isTag(e,new Set(["jodit","jodit-media"]))&&e.firstElementChild&&(0,o.Mr)(e.firstElementChild,n),t.synchronizeValues(),t.e.fire("recalcPositionPopup")},tooltip:"Horizontal align"};e.A=[{name:"delete",icon:"bin",tooltip:"Delete",exec(t,e){e&&t.s.removeNode(e)}},{name:"pencil",exec(t,e){"img"===e.tagName.toLowerCase()&&t.e.fire("openImageProperties",e)},tooltip:"Edit"},{name:"valign",list:["Top","Middle","Bottom","Normal"],tooltip:"Vertical align",exec(t,e,{control:s}){if(!i.J.isTag(e,"img"))return;const o=s.args&&(0,r.K)(s.args[0])?s.args[0].toLowerCase():"";if(!o)return!1;(0,n.A)(e,"vertical-align","normal"===o?"":o),t.e.fire("recalcPositionPopup")}},a]},26421(t,e,s){"use strict";var i=s(17352),r=s(56298),o=s(97369);s(24103),r.fg.add("media",(t=>{const e="jodit_fake_wrapper",{mediaFakeTag:s,mediaBlocks:r,mediaInFakeBlock:n}=t.options;n&&t.e.on("afterGetValueFromEditor",(t=>{const i=RegExp(`<${s}[^>]+data-${e}[^>]+>([^]+?)`,"ig");i.test(t.value)&&(t.value=t.value.replace(i,"$1"))})).on("change afterInit afterSetMode changePlace",t.async.debounce((()=>{t.isDestructed||t.getMode()===i.MODE_SOURCE||(0,o.$$)(r.join(","),t.editor).forEach((i=>{(0,o.dataBind)(i,e)||((0,o.dataBind)(i,e,!0),(i=>{if(i.parentNode&&(0,o.attr)(i.parentNode,"data-jodit_iframe_wrapper"))i=i.parentNode;else{const r=t.createInside.element(s,{"data-jodit-temp":1,contenteditable:!1,draggable:!0,["data-"+e]:1});(0,o.attr)(r,"style",(0,o.attr)(i,"style")),r.style.display="inline-block"===i.style.display?"inline-block":"block",r.style.width=i.offsetWidth+"px",r.style.height=i.offsetHeight+"px",i.parentNode&&i.parentNode.insertBefore(r,i),r.appendChild(i),i=r}t.e.off(i,"mousedown.select touchstart.select").on(i,"mousedown.select touchstart.select",(()=>{t.s.setCursorAfter(i)}))})(i))}))}),t.defaultTimeout))}))},26495(t,e,s){"use strict";var i=s(17352),r=s(56298),o=s(65147);s(99689),r.fg.add("iframe",(t=>{const e=t.options;t.e.on("afterSetMode",(()=>{t.isEditorMode()&&t.s.focus()})).on("generateDocumentStructure.iframe",((t,s)=>{const i=t||s.iframe.contentWindow.document;if(i.open(),i.write(e.iframeDoctype+``+`${e.iframeTitle}`+(e.iframeBaseUrl?``:"")+''),i.close(),e.iframeCSSLinks&&e.iframeCSSLinks.forEach((t=>{const e=i.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),i.head&&i.head.appendChild(e)})),e.iframeStyle){const t=i.createElement("style");t.innerHTML=e.iframeStyle,i.head&&i.head.appendChild(t)}})).on("createEditor",(()=>{if(!e.iframe)return;const s=t.c.element("iframe");s.style.display="block",s.src="about:blank",s.className="jodit-wysiwyg_iframe",s.setAttribute("allowtransparency","true"),s.setAttribute("tabindex",""+e.tabIndex),s.setAttribute("frameborder","0"),null!=e.iframeSandbox&&s.setAttribute("sandbox",e.iframeSandbox),t.workplace.appendChild(s),t.iframe=s;const r=t.e.fire("generateDocumentStructure.iframe",null,t);return(0,o.callPromise)(r,(()=>{if(!t.iframe)return!1;const s=t.iframe.contentWindow.document;t.editorWindow=t.iframe.contentWindow;const r=()=>{(0,o.attr)(s.body,"contenteditable",t.getMode()!==i.MODE_SOURCE&&!t.getReadOnly()||null)},n=t=>{const e=//im,s="{%%BODY%%}",i=e.exec(t);return i&&(t=t.replace(e,s).replace(/]*?)>(.*?)<\/span>/gim,"").replace(/<span([^&]*?)>(.*?)<\/span>/gim,"").replace(s,i[0].replace(/(]+?)min-height["'\s]*:[\s"']*[0-9]+(px|%)/im,"$1").replace(/(]+?)([\s]*["'])?contenteditable["'\s]*=[\s"']*true["']?/im,"$1").replace(/<(style|script|span)[^>]+jodit[^>]+>.*?<\/\1>/g,"")).replace(/(class\s*=\s*)(['"])([^"']*)(jodit-wysiwyg|jodit)([^"']*\2)/g,"$1$2$3$5").replace(/(<[^<]+?)\sclass="[\s]*"/gim,"$1").replace(/(<[^<]+?)\sstyle="[\s;]*"/gim,"$1").replace(/(<[^<]+?)\sdir="[\s]*"/gim,"$1")),t};if(e.editHTMLDocumentMode){const e=t.element.tagName;if("TEXTAREA"!==e&&"INPUT"!==e)throw(0,o.error)("If enable `editHTMLDocumentMode` - source element should be INPUT or TEXTAREA");t.e.on("beforeGetNativeEditorValue",(()=>n(t.o.iframeDoctype+s.documentElement.outerHTML))).on("beforeSetNativeEditorValue",(({value:e})=>!t.isLocked&&(/<(html|body)/i.test(e)?n(s.documentElement.outerHTML)!==n(e)&&(s.open(),s.write(t.o.iframeDoctype+n(e)),s.close(),t.editor=s.body,t.e.fire("safeHTML",t.editor),r(),t.e.fire("prepareWYSIWYGEditor"),t.e.stopPropagation("beforeSetNativeEditorValue")):s.body.innerHTML=e,!0)),{top:!0})}if(t.editor=s.body,t.e.on("afterSetMode afterInit afterAddPlace",r),"auto"===e.height){s.documentElement&&(s.documentElement.style.overflowY="hidden");const i=t.async.throttle(((...s)=>{t.async.requestAnimationFrame((()=>{if(t.editor&&t.iframe&&"auto"===e.height){const e=t.ew.getComputedStyle(t.editor);(0,o.css)(t.iframe,"height",t.editor.offsetHeight+(parseInt(e.marginTop||"0",10)+parseInt(e.marginBottom||"0",10)))}}))}),t.defaultTimeout/2);if(t.e.on("change afterInit afterSetMode resize",i).on([t.iframe,t.ew,s.documentElement],"load",i).on(s,"readystatechange DOMContentLoaded",i),"function"==typeof ResizeObserver){const e=new ResizeObserver(i);e.observe(s.body),t.e.on("beforeDestruct",(()=>{e.disconnect()}))}}return s.documentElement&&t.e.on(s.documentElement,"mousedown touchend",(()=>{t.s.isFocused()||(t.s.focus(),t.editor===s.body&&t.s.setCursorIn(s.body))})).on(t.ew,"mousedown touchstart keydown keyup touchend click mouseup mousemove scroll",(e=>{t.events?.fire(t.ow,e)})),!1}))}))}))},26538(t,e,s){"use strict";s.d(e,{d(){return l}});var i=s(77753),r=s(17352),o=s(65147),n=s(36115),a=s(74340);s(77334);class l extends i.vG{get j(){return this.jodit}className(){return"Uploader"}get o(){return this.options}setPath(t){return this.path=t,this}setSource(t){return this.source=t,this}bind(t,e,s){const i=()=>{t.classList.remove("jodit_drag_hover")},o=this,n=t=>{let n,l,c;const u=t.clipboardData,d=t=>{l&&(t.append("extension",c),t.append("mimetype",l.type))};if(!r.IS_IE&&(0,a.YQ)(u))return(0,a._9)(o,u.files,e,s).finally(i),!1;if(r.IS_IE&&!r.IS_ES_NEXT)return(0,a.dT)(o,u,e,s,i);if((0,a.Pb)(u)){const{items:r}=u;for(n=0;r.length>n;n+=1)if("file"===r[n].kind&&"image/png"===r[n].type){if(l=r[n].getAsFile(),l){const t=l.type.match(/\/([a-z0-9]+)/i);c=t[1]?t[1].toLowerCase():"",(0,a._9)(o,[l],e,s,d).finally(i)}t.preventDefault();break}}};o.j&&o.j.editor!==t?o.j.e.on(t,"paste",n):o.j.e.on("beforePaste",n),this.attachEvents(t,e,s,i)}attachEvents(t,e,s,i){const r=this;r.j.e.on(t,"dragend dragover dragenter dragleave drop",(t=>{t.preventDefault()})).on(t,"dragover",(e=>{((0,a.YQ)(e.dataTransfer)||(0,a.Pb)(e.dataTransfer))&&(t.classList.add("jodit_drag_hover"),e.preventDefault())})).on(t,"dragend dragleave",(e=>{t.classList.remove("jodit_drag_hover"),(0,a.YQ)(e.dataTransfer)&&e.preventDefault()})).on(t,"drop",(o=>{t.classList.remove("jodit_drag_hover"),(0,a.YQ)(o.dataTransfer)&&(o.preventDefault(),o.stopImmediatePropagation(),(0,a._9)(r,o.dataTransfer.files,e,s).finally(i))}));const o=t.querySelector("input[type=file]");o&&r.j.e.on(o,"change",(()=>{(0,a._9)(r,o.files,e,s).then((()=>{o.value="",/safari/i.test(navigator.userAgent)||(o.type="",o.type="file")})).finally(i)}))}uploadRemoteImage(t,e,s){const i=this,{o:r}=i,n=(0,o.isFunction)(s)?s:r.defaultHandlerError;(0,a.tN)(i,{action:"fileUploadRemote",url:t}).then((t=>{r.isSuccess.call(i,t)?((0,o.isFunction)(e)?e:r.defaultHandlerSuccess).call(i,r.process.call(i,t)):n.call(i,(0,o.error)(r.getMessage.call(i,t)))})).catch((t=>n.call(i,t)))}constructor(t,e){super(t),this.path="",this.source="default",this.options=(0,o.ConfigProto)(e||{},(0,o.ConfigProto)(n.T.defaultOptions.uploader,(0,o.isJoditObject)(t)?t.o.uploader:{}))}destruct(){this.setStatus(i.f.beforeDestruct);const t=a.$j.get(this);t&&(t.forEach((t=>{try{t.destruct()}catch{}})),t.clear()),super.destruct()}}},26725(t,e,s){"use strict";var i=s(65147),r=s(931),o=s(36115),n=s(223),a=s.n(n);o.T.prototype.defaultLineHeight=null,r.I.set("line-height",a()),o.T.prototype.controls.lineHeight={command:"applyLineHeight",tags:["ol"],tooltip:"Line height",list:[1,1.1,1.2,1.3,1.4,1.5,2],exec(t,e,{control:s}){return(0,i.memorizeExec)(t,e,{control:s},(t=>t))}}},27195(t,e,s){"use strict";var i=s(36115);i.T.prototype.showCharsCounter=!0,i.T.prototype.countHTMLChars=!1,i.T.prototype.countTextSpaces=!1,i.T.prototype.showWordsCounter=!0},27301(t,e,s){"use strict";s.d(e,{EW(){return o},Qt(){return c},S5(){return l},w4(){return a},x_(){return u}});var i=s(98253),r=s(60346);const o=new Map,n=t=>(e,s)=>{if(o.has(s))return o.get(s);const i=t(e,s);return o.set(s,i),i},a=n(((t,e)=>t.async.promise(((s,i)=>{if(t.isInDestruct)return i();const o=t.c.element("script",{type:"text/javascript",crossorigin:"anonymous",referrerpolicy:"no-referrer",async:!0,src:(0,r.X)(e)});t.od.body.appendChild(o),t.e.on(o,"error",i).on(o,"load",s)})))),l=n(((t,e)=>t.async.promise(((s,i)=>{if(t.isInDestruct)return i();const o=t.c.element("link");o.rel="stylesheet",o.media="all",o.crossOrigin="anonymous",!t.isInDestruct&&t.e.on(o,"load",(()=>s(o))).on(o,"error",i),o.href=(0,r.X)(e),t.o.shadowRoot?t.o.shadowRoot.appendChild(o):t.od.body.appendChild(o)}))));function c(t,e,s=0){return(0,i.K)(e[s])?a(t,e[s]).then((()=>c(t,e,s+1))):Promise.resolve()}function u(t,e,s=0){return(0,i.K)(e[s])?l(t,e[s]).then((()=>u(t,e,s+1))):Promise.resolve()}},27337(t,e,s){"use strict";s(36115).T.prototype.defaultAjaxOptions={successStatuses:[200,201,202],method:"GET",url:"",data:null,contentType:"application/x-www-form-urlencoded; charset=UTF-8",headers:{"X-REQUESTED-WITH":"XMLHttpRequest"},withCredentials:!1,xhr:()=>new XMLHttpRequest}},27509(t,e,s){"use strict";var i,r=s(31635),o=s(22664),n=s(71842),a=s(56298),l=s(65147),c=s(71005);s(96900),(t=>{t[t.IDLE=0]="IDLE",t[t.WAIT_DRAGGING=1]="WAIT_DRAGGING",t[t.DRAGGING=2]="DRAGGING"})(i||(i={}));class u extends c.k{constructor(){super(...arguments),this.dragList=[],this.draggable=null,this.isCopyMode=!1,this.diffStep=10,this.startX=0,this.startY=0,this.state=i.IDLE}afterInit(){this.dragList=this.j.o.draggableTags?(0,l.splitArray)(this.j.o.draggableTags).filter(Boolean).map((t=>t.toLowerCase())):[],this.dragList.length&&this.j.e.on("mousedown dragstart",this.onDragStart)}onDragStart(t){if("dragstart"===t.type&&this.draggable)return!1;if(this.state>i.IDLE)return;const e=t.target;if(!this.dragList.length||!e)return;const s=t=>!(!t||!this.dragList.includes(t.nodeName.toLowerCase()));let r=n.J.furthest(e,s,this.j.editor)||(s(e)?e:null);r&&(n.J.isTag(r.parentElement,"a")&&r.parentElement.firstChild===r&&r.parentElement.lastChild===r&&(r=r.parentElement),this.startX=t.clientX,this.startY=t.clientY,this.isCopyMode=(0,l.ctrlKey)(t),this.draggable=r.cloneNode(!0),(0,l.dataBind)(this.draggable,"target",r),this.state=i.WAIT_DRAGGING,this.addDragListeners())}onDrag(t){if(!this.draggable||this.state===i.IDLE)return;const e=t.clientY;if(this.state!==i.WAIT_DRAGGING||Math.sqrt(Math.pow(t.clientX-this.startX,2)+Math.pow(e-this.startY,2))>=this.diffStep){if(this.state===i.WAIT_DRAGGING&&(this.j.lock("drag-and-drop-element"),this.state=i.DRAGGING),this.j.e.fire("hidePopup hideResizer"),!this.draggable.parentNode){const e=(0,l.dataBind)(this.draggable,"target");(0,l.css)(this.draggable,{zIndex:1e13,pointerEvents:"none",pointer:"drag",position:"fixed",opacity:.7,display:"inline-block",left:t.clientX,top:t.clientY,width:e?.offsetWidth??100,height:e?.offsetHeight??100}),(0,a.My)(this.j,u).appendChild(this.draggable)}(0,l.css)(this.draggable,{left:t.clientX,top:t.clientY}),this.j.s.insertCursorAtPoint(t.clientX,t.clientY)}}onDragEnd(){this.isInDestruct||(this.removeDragListeners(),this.j.unlock(),this.state=i.IDLE,this.draggable&&(n.J.safeRemove(this.draggable),this.draggable=null))}onDrop(){if(!this.draggable||i.DRAGGING>this.state)return void this.onDragEnd();let t=(0,l.dataBind)(this.draggable,"target");this.onDragEnd(),this.isCopyMode&&(t=t.cloneNode(!0));const{parentElement:e}=t;this.j.s.insertNode(t,!0,!1),e&&n.J.isEmpty(e)&&!n.J.isCell(e)&&n.J.safeRemove(e),n.J.isTag(t,"img")&&this.j.e&&this.j.e.fire("afterInsertImage",t),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()}}(0,r.Cg)([o.autobind],u.prototype,"onDragStart",null),(0,r.Cg)([(0,o.throttle)((t=>t.defaultTimeout/10))],u.prototype,"onDrag",null),(0,r.Cg)([o.autobind],u.prototype,"onDragEnd",null),(0,r.Cg)([o.autobind],u.prototype,"onDrop",null),a.fg.add("dragAndDropElement",u)},27594(t,e,s){"use strict";s.d(e,{G(){return r}});var i=s(83044);function r(t,e,s=!1){const o=t.getBoundingClientRect();let n=o.left,a=o.top;if((0,i.y)(e)&&e.iframe&&e.ed.body.contains(t)&&!s){const{left:t,top:s}=r(e.iframe,e,!0);n+=t,a+=s}return{left:Math.round(n),top:Math.round(a),width:Math.round(t.offsetWidth??o.width),height:Math.round(t.offsetHeight??o.height)}}},27671(t){"use strict";t.exports={"Line height":"Altura de la línea"}},27835(t){"use strict";t.exports={"copy-format":"Формат хуулах"}},27912(t,e,s){"use strict";s.d(e,{$(){return n},t(){return a}});var i=s(65147),r=s(53883),o=s(89929);const n=new WeakMap;function a(t,e){const s=(0,o.$)(t,e),a=e=>{const s=new r.d({xhr(){const e=new XMLHttpRequest;return void 0!==t.j.ow.FormData&&e.upload?(t.j.progressbar.show().progress(10),e.upload.addEventListener("progress",(e=>{if(e.lengthComputable){let s=e.loaded/e.total;s*=100,t.j.progressbar.show().progress(s),100>s||t.j.progressbar.hide()}}),!1)):t.j.progressbar.hide(),e},method:t.o.method||"POST",data:e,url:(0,i.isFunction)(t.o.url)?t.o.url(e):t.o.url,headers:t.o.headers,queryBuild:t.o.queryBuild,contentType:t.o.contentType.call(t,e),withCredentials:t.o.withCredentials||!1});let o=n.get(t);return o||(o=new Set,n.set(t,o)),o.add(s),t.j.e.one("beforeDestruct",s.destruct),s.send().then((t=>t.json())).catch((t=>({success:!1,data:{messages:[t]}}))).finally((()=>{s.destruct(),o?.delete(s)}))};return(0,i.isPromise)(s)?s.then(a).catch((e=>{t.o.error.call(t,e)})):a(s)}},28313(t,e,s){"use strict";s.r(e),s.d(e,{checkBlockNesting(){return i.o}});var i=s(30958)},28359(t){t.exports.default=["Напишите что-либо","О Jodit","Редактор Jodit","Jodit Руководство пользователя","содержит детальную информацию по использованию","Для получения сведений о лицензии , пожалуйста, перейдите на наш сайт:","Купить полную версию","Авторские права © XDSoft.net - Чупурнов Валерий. Все права защищены.","Анкор","Открывать ссылку в новой вкладке","Открыть редактор в полном размере","Очистить форматирование","Цвет заливки или цвет текста","Повтор","Отмена","Жирный","Наклонный","Вставка маркированного списка","Вставить нумерованный список","Выровнять по центру","Выровнять по ширине","Выровнять по левому краю","Выровнять по правому краю","Вставить горизонтальную линию","Вставить изображение","Вставить файл","Вставьте видео","Вставить ссылку","Размер шрифта","Шрифт","Вставить блочный элемент","Нормальный текст","Заголовок 1","Заголовок 2","Заголовок 3","Заголовок 4","Цитата","Код","Вставить","Вставить таблицу","Уменьшить отступ","Увеличить отступ","Выберите специальный символ","Вставить специальный символ","Формат краски","Источник","Отступы","сверху","справа","снизу","слева","Стили","Классы","Выравнивание","По правому краю","По центру","По левому краю","--не устанавливать--","src","Заголовок","Альтернативный текст (alt)","Ссылка","Открывать ссылку в новом окне",null,"Файл","Расширенные","Свойства изображения","Отмена","Ок","Браузер файлов","Ошибка при загрузке списка изображений","Ошибка при загрузке списка директорий","Вы уверены?","Введите название директории","Создать директорию","введите название","Перетащите сюда изображение","Перетащите сюда файл","или нажмите","Альтернативный текст","Загрузка","Сервер","Фон","Текст"," К верху","По середине","К низу","Вставить столбец до","Вставить столбец после","Вставить ряд выше","Вставить ряд ниже","Удалить таблицу","Удалять ряд","Удалить столбец","Очистить ячейку","Символов: %d","Слов: %d","Перечеркнуть","Подчеркивание","верхний индекс","индекс","Вырезать","Выделить все","Разделитель","Найти","Заменить на","Заменить","Вставить","Выбрать контент для вставки","HTML","жирный","курсив","заливка","ссылка","отменить","повторить","таблица","Изображение","очистить","параграф","размер шрифта","видео","шрифт","о редакторе","печать","подчеркнутый","перечеркнутый","отступ","выступ","во весь экран","обычный размер","линия","Список","Нумерованный список","Вырезать","Выделить все","Код","Открыть ссылку","Редактировать ссылку","Атрибут nofollow","Убрать ссылку","Обновить","Редактировать","Просмотр","URL","Редактировать","Горизонтальное выравнивание","Фильтр","По изменению","По имени","По размеру","Добавить папку","Восстановить","Сохранить","Сохранить как","Изменить размер","Обрезать размер","Ширина","Высота","Сохранять пропорции","Да","Нет","Удалить","Выделить","Выделить: %s","Вертикальное выравнивание","Разделить","Объединить в одну","Добавить столбец","Добавить строку","Лицензия: %s","Удалить","Разделить по вертикали","Разделить по горизонтали","Рамка","Ваш текст, который вы пытаетесь вставить похож на HTML. Вставить его как HTML?","Вставить как HTML?","Сохранить оригинал","Вставить как текст","Вставить только текст","Вы можете редактировать только свои собственные изображения. Загрузить это изображение на ваш сервер?","Изображение успешно загружено на сервер!","палитра","В данном каталоге нет файлов","Переименовать","Введите новое имя","Предпросмотр","Скачать","Вставить из буфера обмена","Ваш браузер не поддерживает прямой доступ к буферу обмена.","Скопировать выделенное","копия","Радиус границы","Показать все","Применить","Пожалуйста, заполните это поле","Пожалуйста, введите веб-адрес","По умолчанию","Круг","Точка","Квадрат","Найти","Найти Предыдущие","Найти Далее","Контент который вы вставляете поступает из документа Microsoft Word / Excel. Вы хотите сохранить формат или очистить его?","Возможно это фрагмент Word или Excel","Почистить","Вставить название класса","Нажмите Alt для изменения пользовательского размера"]},28616(t,e,s){"use strict";function i(t,e={}){if("object"!=typeof t)return t+"";const s=new Set(e.excludeKeys),i=new WeakMap;return JSON.stringify(t,((t,e)=>{if(!s.has(t)){if("object"==typeof e&&null!=e){if(i.get(e))return"[refObject]";i.set(e,!0)}return e}}),e.prettify)}s.d(e,{A(){return i}})},28709(t,e,s){"use strict";s.d(e,{X(){return u}});var i=s(31635),r=s(37474),o=s(24767),n=s(97369),a=s(69198),l=s(1540),c=s(6455);let u=class t extends c.U{className(){return"UIForm"}submit(){this.j.e.fire(this.container,"submit")}validate(){const t=this.allChildren.filter((t=>r.u.isInstanceOf(t,a.t)));for(const e of t)if(!e.validate())return!1;const e=this.allChildren.filter((t=>r.u.isInstanceOf(t,l.$)));for(const t of e)if(!t.validate())return!1;return!0}onSubmit(t){return this.j.e.on(this.container,"submit",(()=>{const e=this.allChildren.filter((t=>r.u.isInstanceOf(t,a.t)));return!!this.validate()&&(t(e.reduce(((t,e)=>(t[e.state.name]=e.value,t)),{})),!1)})),this}createContainer(){const t=this.j.c.element("form");return t.classList.add(this.componentName),(0,n.attr)(t,"dir",this.j.o.direction||"auto"),(0,n.attr)(t,"novalidate",""),t}constructor(...t){super(...t),this.options?.className&&this.container.classList.add(this.options?.className)}};u=(0,i.Cg)([o.s],u)},28712(t){"use strict";t.exports={assert(){}}},28776(t){"use strict";t.exports={symbols:"символ"}},29012(t,e,s){"use strict";s.d(e,{CP(){return o.C},Ue(){return i.U},bk(){return n.b},z4(){return r.z}});var i=s(6455),r=s(94070),o=s(86283),n=s(13642)},29348(t){t.exports=''},29581(t,e,s){"use strict";s(36115).T.prototype.tableAllowCellSelection=!0},29780(t,e,s){"use strict";s.d(e,{D(){return h}});var i,r=s(31635),o=s(77753),n=s(1963),a=s(55186),l=s(98253),c=s(87906),u=s(75758),d=s(931);let h=i=class t extends o.vG{get parentElement(){return this.__parentElement}set parentElement(t){this.__parentElement=t,t&&t.hookStatus("beforeDestruct",(()=>this.destruct())),this.updateParentElement(this)}bubble(t){let e=this.parentElement;for(;e;)t(e),e=e.parentElement;return this}updateParentElement(t){return this.__parentElement?.updateParentElement(t),this}get(t,e){return super.get(t,e)||this.getElm(t)}closest(t){const e="object"==typeof t?e=>e===t:e=>o.uA.isInstanceOf(e,t);let s=this.__parentElement;for(;s;){if(e(s))return s;s=!s.parentElement&&s.container.parentElement?i.closestElement(s.container.parentElement,i):s.parentElement}return null}static closestElement(t,e){const s=a.J.up(t,(t=>{if(t){const{component:s}=t;return s&&o.uA.isInstanceOf(s,e)}return!1}));return s?s?.component:null}update(){}appendTo(t){return t.appendChild(this.container),this}clearName(t){return t.replace(/[^a-zA-Z0-9]/g,"_")}render(t){return this.j.c.div(this.componentName)}createContainer(t){const e=this.render(t);if((0,l.K)(e)){const t=this.parseTemplate(e);return t.classList.add(this.componentName),t}return e}parseTemplate(t){return this.j.c.fromHTML(t.replace(/\*([^*]+?)\*/g,((t,e)=>d.I.get(e)||"")).replace(/&_/g,this.componentName+"_").replace(/~([^~]+?)~/g,((t,e)=>this.i18n(e))))}constructor(t,e){super(t),this.name="",this.__parentElement=null,this.mods={},this.container=this.createContainer(e),Object.defineProperty(this.container,"component",{value:this,configurable:!0})}destruct(){return a.J.safeRemove(this.container),this.parentElement=null,super.destruct()}};h=i=(0,r.Cg)([(0,n.C)(u.K,c.O)],h)},29822(t,e,s){"use strict";s.d(e,{V(){return n}});var i=s(71842),r=s(65147),o=s(46602);function n(t,e,s){let n=i.J.findSibling(e,s);return!n&&e.parentElement&&e.parentElement!==t.editor&&(n=i.J.findSibling(e.parentElement,s)),!(!i.J.isElement(n)||i.J.isContentEditable(n,t.editor)||((0,r.call)(s?i.J.before:i.J.after,n,e),i.J.safeRemove(n),(0,o.W8)(t,e,s),(0,r.call)(s?t.s.setCursorBefore:t.s.setCursorAfter,e),0))}},29866(t,e,s){"use strict";s.d(e,{k(){return a}});var i=s(31635),r=s(77753),o=s(22664),n=s(83044);class a extends r.vG{className(){return"Plugin"}constructor(t){super(t),this.buttons=[],this.hasStyle=!1,this.__inited=!1,t.e.on("afterPluginSystemInit",this.__afterPluginSystemInit).on("afterInit",this.__afterInit).on("beforeDestruct",this.__beforeDestruct)}__afterPluginSystemInit(){const{j:t,buttons:e}=this;e&&(0,n.y)(t)&&e.forEach((e=>{t.registerButton(e)}))}__afterInit(){this.__inited=!0,this.setStatus(r.f.ready),this.afterInit(this.jodit)}init(t){this.jodit.isReady&&(this.afterInit(this.jodit),this.__afterPluginSystemInit(),this.jodit.e.fire("rebuildToolbar"))}__beforeDestruct(){if(this.isInDestruct)return;const{j:t}=this;if(t.e.off("afterPluginSystemInit",this.__afterPluginSystemInit).off("afterInit",this.__afterInit).off("beforeDestruct",this.destruct),this.setStatus(r.f.beforeDestruct),!this.__inited)return super.destruct();(0,n.y)(t)&&this.buttons?.forEach((e=>{t?.unregisterButton(e)})),this.beforeDestruct(this.j),super.destruct()}}a.requires=[],(0,i.Cg)([o.autobind],a.prototype,"__afterPluginSystemInit",null),(0,i.Cg)([o.autobind],a.prototype,"__afterInit",null),(0,i.Cg)([o.autobind],a.prototype,"__beforeDestruct",null)},29920(t){"use strict";t.exports={"Line height":"Vonal magassága"}},30382(t){"use strict";t.exports={"Line height":"ارتفاع خط"}},30393(t,e,s){"use strict";s.d(e,{j(){return l}});var i=s(55186),r=s(97369),o=s(88269),n=s(78139),a=s(58972);function l(t,e,s){const{style:l,imageSrc:c,borderRadius:u,imageTitle:d,imageAlt:h,imageLink:p,imageWidth:m,imageHeight:g,marginTop:f,marginRight:v,marginBottom:b,marginLeft:y,imageLinkOpenInNewTab:_,align:w,classes:C,id:k}=e.values,S=t.o;S.image.editStyle&&(0,r.attr)(s,"style",l||null),c?((0,r.attr)(s,"src",c),s.style.borderRadius=u?u+"px":"",(0,r.attr)(s,"title",d||null),(0,r.attr)(s,"alt",h||null),(0,o.j)(t,s,p,_),(0,a.q)(s,m,g,e.sizeIsLocked),t.o.image.editMargins&&(0,n.N)(t,f,v,b,y,s,e.marginIsLocked),S.image.editClass&&(0,r.attr)(s,"class",C||null),S.image.editId&&(0,r.attr)(s,"id",k||null),S.image.editAlign&&(0,r.hAlignElement)(s,w)):i.J.safeRemove(s)}},30405(t,e,s){"use strict";var i=s(17352),r=s(56298),o=s(65147),n=s(71005);s(81522),r.fg.add("hotkeys",class a extends n.k{constructor(){super(...arguments),this.onKeyPress=t=>{const e=this.specialKeys[t.which],s=(t.key||String.fromCharCode(t.which)).toLowerCase(),i=[e||s];return["alt","ctrl","shift","meta"].forEach((s=>{t[s+"Key"]&&e!==s&&i.push(s)})),(0,o.normalizeKeyAliases)(i.join("+"))},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:"'"}}afterInit(t){(0,o.keys)(t.o.commandToHotkeys,!1).forEach((e=>{const s=t.o.commandToHotkeys[e];s&&((0,o.isArray)(s)||(0,o.isString)(s))&&t.registerHotkeyToCommand(s,e)}));let e=!1;t.e.off(".hotkeys").on([t.ow,t.ew],"keydown.hotkeys",(t=>{if(t.key===i.KEY_ESC)return this.j.e.fire("escape",t)})).on("keydown.hotkeys",(s=>{const i=this.onKeyPress(s),r={shouldStop:!0};if(!1===this.j.e.fire(i+".hotkey",s.type,r)){if(r.shouldStop)return e=!0,t.e.stopPropagation("keydown"),!1;s.preventDefault()}}),{top:!0}).on("keyup.hotkeys",(()=>{if(e)return e=!1,t.e.stopPropagation("keyup"),!1}),{top:!0})}beforeDestruct(t){t.events&&t.e.off(".hotkeys")}})},30495(t,e,s){"use strict";s.d(e,{R(){return i}});class i extends Error{constructor(t){super(t),Object.setPrototypeOf(this,i.prototype)}}},30526(t,e,s){"use strict";s.d(e,{D(){return n},w(){return o}});var i=s(17352),r=s(55186);function o(t,e){const{s}=t;let i=e;if(!i){i=t.createInside.fake();const{range:e}=s;r.J.safeInsertNode(e,i),e.collapse()}const o=r.J.furthest(i,n,t.editor);if(o)if(s.cursorOnTheLeft(o))r.J.before(o,i);else if(s.cursorOnTheRight(o))r.J.after(o,i);else{const t=s.splitSelection(o);t&&r.J.after(t,i)}e||(s.setCursorBefore(i),r.J.safeRemove(i))}function n(t){return r.J.isInlineBlock(t)&&!r.J.isTag(t,i.INSEPARABLE_TAGS)}},30621(t,e,s){"use strict";s.d(e,{Q(){return r}});var i=s(67975);class r{constructor(t=i.H){this.searchIndex=t,this.queue=[],this.value=""}add(t){const e=(t.nodeValue??"").toLowerCase();if(!e.length)return;const s=this.value.length;this.queue.push({startIndex:s,endIndex:s+e.length,node:t}),this.value+=e}ranges(t,e=0){const s=[];let i=e,r=0,o=0;do{if([i,r]=this.searchIndex(t,this.value,i),-1!==i){let t,e,n=0,a=0;for(let s=o;this.queue.length>s;s+=1)if(!t&&this.queue[s].endIndex>i&&(t=this.queue[s].node,n=i-this.queue[s].startIndex),t&&this.queue[s].endIndex>=i+r){e=this.queue[s].node,a=i+r-this.queue[s].startIndex,o=s;break}t&&e&&s.push({startContainer:t,startOffset:n,endContainer:e,endOffset:a}),i+=r}}while(-1!==i);return 0===s.length?null:s}}},30687(t,e,s){"use strict";s.d(e,{c(){return n}});var i=s(55186),r=s(58720),o=s(41159);function n(t,e,s){const n=i.J.closest(s,["ol","ul"],e.editor);if(!n)return;const a=n.parentElement,l=i.J.isLeaf(a),c=l?a:n,u=e.s.createRange();u.setStartAfter(s),u.setEndAfter(n);const d=u.extractContents();i.J.after(c,t),i.J.safeRemove(s),(0,r.$$)("li",n).length||i.J.safeRemove(n);const h=(0,o.y)(t,e,l?"li":e.o.enter);d.querySelector("li")&&(l?h.appendChild(d):i.J.after(h,d))}},30958(t,e,s){"use strict";s.d(e,{o(){return r}});var i=s(55186);function r(t,e){if(i.J.isFragment(e)&&(e=e.firstChild),t.o.dtd.checkBlockNesting&&i.J.isBlock(e)){const e=i.J.furthest(t.s.current(),i.J.isBlock,t.editor);e&&!t.o.dtd.blockLimits[e.tagName.toLowerCase()]&&(t.s.setCursorAfter(e),i.J.isEmpty(e)&&i.J.safeRemove(e))}}},30965(t){"use strict";t.exports={Spellcheck:"Vérification Orthographique"}},31138(t,e,s){"use strict";s.d(e,{f(){return i}});const i=(t,e=8)=>{const s=[];for(;t.length;)s.push(t.substr(0,e)),t=t.substr(e);return s[1]=s[1].replace(/./g,"*"),s[2]=s[2].replace(/./g,"*"),s.join("-")}},31202(t,e,s){"use strict";s.d(e,{s(){return a}});var i=s(31635),r=s(24767),o=(s(28712),s(92032)),n=s(6455);let a=class t extends n.U{className(){return"UIButtonGroup"}render(t){return`
\n\t\t\t
~${t.label}~
\n\t\t\t
\n\t\t
`}appendChildToContainer(t){this.getElm("options").appendChild(t)}constructor(t,e={radio:!0}){super(t,e.options?.map((e=>{const s=new o.lD(t,{text:e.text,value:e.value,variant:"primary"});return s.onAction((()=>{this.select(e.value)})),s})),e),this.options=e,this.select(e.value??0)}select(t){this.elements.forEach(((e,s)=>{s===t||e.state.value===t?e.state.activated=!0:this.options.radio&&(e.state.activated=!1)}));const e=this.elements.filter((t=>t.state.activated)).map((t=>({text:t.state.text,value:t.state.value})));this.jodit.e.fire(this,"select",e),this.options.onChange?.(e)}};a=(0,i.Cg)([r.s],a)},31230(t){t.exports=' '},31365(t){t.exports=' '},31635(t,e,s){"use strict";function i(t,e,s,i){var r,o=arguments.length,n=3>o?e:null===i?i=Object.getOwnPropertyDescriptor(e,s):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)n=Reflect.decorate(t,e,s,i);else for(var a=t.length-1;a>=0;a--)(r=t[a])&&(n=(3>o?r(n):o>3?r(e,s,n):r(e,s))||n);return o>3&&n&&Object.defineProperty(e,s,n),n}s.d(e,{Cg(){return i}}),"function"==typeof SuppressedError&&SuppressedError},31686(t,e,s){"use strict";var i=s(65147),r=s(35265),o=s(20703),n=s(931),a=s(36115),l=s(16116),c=s(36339),u=s.n(c);a.T.prototype.video={parseUrlToVideoEmbed:i.convertMediaUrlToVideoEmbed,defaultWidth:400,defaultHeight:345},n.I.set("video",u()),a.T.prototype.controls.video={popup(t,e,s){const n=new o.XV(t,[new o.Yh(t,[new o.tS(t,{name:"url",required:!0,label:"URL",placeholder:"https://",validators:["url"]})]),new o.Yh(t,[(0,r.$n)(t,"","Insert","primary").onAction((()=>n.submit()))])]),a=new o.XV(t,[new o.Yh(t,[new o.F0(t,{name:"code",required:!0,label:"Embed code"})]),new o.Yh(t,[(0,r.$n)(t,"","Insert","primary").onAction((()=>a.submit()))])]),c=[],u=e=>{t.s.restore(),t.s.insertHTML(e),s()};return t.s.save(),c.push({icon:"link",name:"Link",content:n.container},{icon:"source",name:"Code",content:a.container}),n.onSubmit((e=>{u((0,i.call)(t.o.video?.parseUrlToVideoEmbed??i.convertMediaUrlToVideoEmbed,e.url,{width:t.o.video?.defaultWidth,height:t.o.video?.defaultHeight}))})),a.onSubmit((t=>{u(t.code)})),(0,l.Zg)(t,c)},tags:["iframe"],tooltip:"Insert youtube/vimeo video"}},31859(t,e,s){"use strict";s.d(e,{r(){return o}});var i=s(71842),r=s(9979);async function o(t){t.tree.setMod("active",!0),i.J.detach(t.tree.container);const e=(0,r.f)(t);if(t.o.showFoldersPanel){t.tree.setMod("loading",!0);const s=t.dataProvider.tree(t.state.currentPath,t.state.currentSource).then((e=>{t.state.sources=e})).catch(t.status).finally((()=>t.tree.setMod("loading",!1)));return Promise.all([s,e])}return t.tree.setMod("active",!1),e}},31927(t){t.exports.default=["Scrivi qualcosa...","A proposito di Jodit","Jodit Editor","Guida utente di Jodit","contiene una guida dettagliata per l'uso.","Per informazioni sulla licenza, si prega di visitare il nostro sito web:","Acquista la versione completa","Copyright © XDSoft.net - Chupurnov Valeriy. Tutti i diritti riservati.","Link","Apri in una nuova scheda","Apri l'editor a schermo intero","Pulisci Formattazione","Colore di sfondo o del testo","Ripristina","Annulla","Grassetto","Corsivo","Inserisci lista non ordinata","Inserisci lista ordinata","Allinea al centro","Allineamento Giustificato","Allinea a Sinistra","Allinea a Destra","Inserisci una linea orizzontale","Inserisci immagine","Inserisci un file","Inserisci video Youtube/Vimeo","Inserisci link","Dimensione carattere","Tipo di font","Inserisci blocco","Normale","Intestazione 1","Intestazione 2","Intestazione 3","Intestazione 4","Citazione","Codice","Inserisci","Inserisci tabella","Riduci il rientro","Aumenta il rientro","Seleziona un carattere speciale","Inserisci un carattere speciale","Copia formato","Cambia modalita'","Margini","su","destra","giù","sinistra","Stili CSS","Classi CSS","Allinea","Destra","Centro","Sinistra","--Non Impostato--","Fonte","Titolo","Testo Alternativo","Link","Apri il link in una nuova scheda","Immagine","Archivio","Avanzato","Proprietà dell'immagine","Annulla","Accetta","Cerca file","Errore durante il caricamento dell'elenco","Errore durante il caricamento delle cartelle","Sei sicuro?","Inserisci il nome della cartella","Crea cartella","Digita il nome","Cancella immagine","Cancella file","o clicca","Testo alternativo","Carica","Sfoglia","Sfondo","Testo","Su","Centro","Sotto","Inserisci la colonna prima","Inserisci la colonna dopo","Inserisci la riga sopra","Inserisci la riga sotto","Elimina tabella","Elimina riga","Elimina colonna","Cella vuota","Caratteri: %d","Parole: %d","Barrato","Sottolineato","indice","pedice","Taglia selezione","Seleziona tutto","Pausa","Cerca per","Sostituisci con","Sostituisci","Incolla","Seleziona il contenuto da incollare","risorsa","Grassetto","Corsivo","Pennello","Link","Annulla","Ripristina","Tabella","Immagine","Gomma","Paragrafo","Dimensione del carattere","Video","Font","Approposito di","Stampa","Sottolineato","Barrato","aumenta rientro","riduci rientro","espandi","comprimi","linea orizzontale","lista non ordinata","lista ordinata","Taglia","Seleziona tutto","Includi codice","Apri link","Modifica link","Non seguire","Rimuovi link","Aggiorna","Per modificare","Recensione"," URL","Modifica","Allineamento orizzontale","Filtro","Ordina per data di modifica","Ordina per nome","Ordina per dimensione","Aggiungi cartella","Reset","Salva","Salva con nome...","Ridimensiona","Ritaglia","Larghezza","Altezza","Mantieni le proporzioni","Si","No","Rimuovi","Seleziona","Seleziona: %s","Allineamento verticala","Dividi","Fondi","Aggiungi colonna","Aggiungi riga",null,"Cancella","Dividi verticalmente","Dividi orizzontale","Bordo","Il codice è simile all'HTML. Mantieni come HTML?","Incolla come HTML","Mantieni","Inserisci come testo","Inserisci solo il testo","Puoi modificare solo le tue immagini. Vuoi scaricare questa immagine dal server?","L'immagine è stata caricata correttamente sul server!","tavolozza","Non ci sono file in questa directory.","Rinomina","Inserisci un nuovo nome","anteprima","Scarica","Incolla dagli appunti","Il tuo browser non supporta l'accesso diretto agli appunti.","Copia selezione","copia","Border radius","Mostra tutti","Applica","Si prega di compilare questo campo","Si prega di inserire un indirizzo web","Default","Cerchio","Punto","Quadrato","Trova","Trova Precedente","Trova Successivo","Il contenuto incollato proviene da un documento Microsoft Word / Excel. Vuoi mantenere il formato o pulirlo?","Incolla testo da Word rilevato","Pulisci","Inserisci il nome della classe","Premere Alt per il ridimensionamento personalizzato"]},31970(t,e,s){"use strict";s.d(e,{l(){return h}});var i=s(31635),r=s(22664),o=s(24767),n=s(65147),a=s(6455),l=s(931),c=s(16116),u=s(33403),d=s(46681);let h=class t extends a.U{className(){return"UIImagePropertiesForm"}appendChildToContainer(){}getElm(t){const e=super.getElm(t);if(e)return e;for(const e of this.elements){const s=e.getElm(t);if(s)return s}return null}constructor(t,e,s,i){super(t),this.state=e,this.handlers=i,this.__mainTab=new u.k(this.jodit,this.state,this.handlers),this.__positionTab=new d._(this.jodit,this.state,this.handlers),this.getElm("tabsBox").appendChild((0,c.Zg)(t,[{name:"Image",content:this.__mainTab},{name:"Advanced",content:this.__positionTab}],s)),this.setMod("lock-size",this.state.sizeIsLocked),this.append(this.__mainTab).append(this.__positionTab)}render(){return`
\n\t\t
\n\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t\t\t\t\n\t\t\t\t\t\t${l.I.get("lock")}\n\t\t\t\t\t\t\n\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t
\n\t\t\t
\n\t\t
\n\t
`}onChangeSizeIsLocked(){const t=this.getElm("lockSize"),e=this.getElm("imageWidth");t.innerHTML=l.I.get(this.state.sizeIsLocked?"lock":"unlock"),this.setMod("lock-size",this.state.sizeIsLocked),this.j.e.fire(e,"change")}onLockSizeClick(){this.state.sizeIsLocked=!this.state.sizeIsLocked}onStateValuesSizeChange(){const t=this.getElm("imageWidth"),e=this.getElm("imageHeight");t!==this.j.od.activeElement&&(t.value=""+this.state.values.imageWidth),e!==this.j.od.activeElement&&(e.value=""+this.state.values.imageHeight)}onImageWidthChange(t){const e=this.getElm("imageWidth"),s=this.getElm("imageHeight");if(!this.state.sizeIsLocked||!(0,n.isNumeric)(e.value)||!(0,n.isNumeric)(s.value))return this.state.values.imageWidth=e.value,void(this.state.values.imageHeight=s.value);const i=parseFloat(e.value),r=parseFloat(s.value);t.target===e?(this.state.values.imageWidth=i,this.state.values.imageHeight=Math.round(i/this.state.ratio)):(this.state.values.imageWidth=Math.round(r*this.state.ratio),this.state.values.imageHeight=r)}onStateValuesImageSrcChange(){const{imageSrc:t}=this.state.values;if(!t)return;const e=this.getElm("imageViewSrc");(0,n.attr)(e,"src",t);const s=new Image;s.src=t,this.state.image=s}hideFieldByOptions(){const t=this.j.o.image;[["editSize","imageSizes"],["showPreview","imageView"]].forEach((([e,s])=>{const i=this.getElm(s);(0,n.css)(i,"display",t[e]?null:"none")}))}};(0,i.Cg)([(0,r.hook)("ready"),(0,r.watch)("state.sizeIsLocked")],h.prototype,"onChangeSizeIsLocked",null),(0,i.Cg)([(0,r.watch)("lockSize:click")],h.prototype,"onLockSizeClick",null),(0,i.Cg)([(0,r.hook)("ready"),(0,r.watch)(["state.values.imageWidth","state.values.imageHeight"])],h.prototype,"onStateValuesSizeChange",null),(0,i.Cg)([(0,r.watch)(["imageWidth:change","imageHeight:change","imageWidth:keydown","imageHeight:keydown","imageWidth:mousedown","imageHeight:mousedown","imageWidth:paste","imageHeight:paste"]),(0,r.debounce)()],h.prototype,"onImageWidthChange",null),(0,i.Cg)([(0,r.hook)("ready"),(0,r.watch)("state.values.imageSrc")],h.prototype,"onStateValuesImageSrcChange",null),(0,i.Cg)([(0,r.hook)("ready")],h.prototype,"hideFieldByOptions",null),h=(0,i.Cg)([o.s],h)},32013(t){t.exports=' '},32014(t,e,s){"use strict";s.d(e,{k(){return n}});var i=s(17352),r=s(55186),o=s(59101);function n(t,e,s,n,a,l){return((t,e,s,n,a)=>{if(!r.J.isText(e)){if(n&&!n[e.nodeName])return!0;if(!n&&a&&a[e.nodeName])return!0}return!!t.o.cleanHTML.removeEmptyElements&&r.J.isElement(e)&&null!=e.nodeName.match(i.IS_INLINE)&&!r.J.isTemporary(e)&&0===(0,o.Bq)(e.innerHTML).length&&(null==s||!r.J.isOrContains(e,s))})(t,e,l,n,a)?(r.J.safeRemove(e),!0):s}},32164(t){"use strict";t.exports={"copy-format":"Format de copie"}},32291(t,e,s){"use strict";s.d(e,{M(){return l},o(){return u}});var i=s(17352),r=s(449),o=s(27301),n=s(96134);const a=new Set;async function l(t,e){const s=c(t,e,!1);if(!a.has(s))return a.add(s),(0,o.S5)(t,s)}function c(t,e,s){return e=(0,r.k)(e),t.basePath+"plugins/"+e+"/"+e+"."+(s?"js":"css")}function u(t,e,s,r){try{const i=s.filter((e=>!t.has((0,n.P)(e.name))));i.length&&((t,e,s)=>{e.map((e=>{const i=e.url||c(t,e.name,!0);return(0,o.w4)(t,i).then(s).catch((()=>null))}))})(e,i,r)}catch(t){if(!i.IS_PROD)throw t}}},32332(t,e,s){"use strict";s.d(e,{s(){return c}});var i=s(66927),r=s(37923),o=s(69810),n=s(25376);const a=Symbol("observable-object");function l(t){return void 0!==t[a]}function c(t){if(l(t))return t;const e={},s={},c=(e,i)=>(0,r.c)(e)?(e.map((t=>c(t,i))),t):(s[e]||(s[e]=[]),s[e].push(i),t),u=(i,...o)=>{if((0,r.c)(i))i.map((t=>u(t,...o)));else try{!e[i]&&s[i]&&(e[i]=!0,s[i].forEach((e=>e.call(t,...o))))}finally{e[i]=!1}},d=(e,s=[])=>{const r={};l(e)||(Object.defineProperty(e,a,{enumerable:!1,value:!0}),Object.keys(e).forEach((a=>{const l=a,c=s.concat(l).filter((t=>t.length));r[l]=e[l];const h=(0,i.N)(e,l);Object.defineProperty(e,l,{set(e){const s=r[l];if(!(0,o.P)(r[l],e)){u(["beforeChange","beforeChange."+c.join(".")],l,e),(0,n.Q)(e)&&d(e,c),h&&h.set?h.set.call(t,e):r[l]=e;const i=[];u(["change",...c.reduce(((t,e)=>(i.push(e),t.push("change."+i.join(".")),t)),[])],c.join("."),s,e?.valueOf?e.valueOf():e)}},get(){return h&&h.get?h.get.call(t):r[l]},enumerable:!0,configurable:!0}),(0,n.Q)(r[l])&&d(r[l],c)})),Object.defineProperty(t,"on",{value:c}))};return d(t),t}},32709(t,e,s){"use strict";s.d(e,{$r(){return o.$},_j(){return i._},uM(){return r.u}});var i=s(82317),r=s(42589),o=s(42448)},32782(t,e,s){"use strict";s.d(e,{L(){return o}});var i=s(55186),r=s(65147);function o(t,e,s){return!(!i.J.isElement(e)||!(0,r.sanitizeHTMLElement)(e,{safeJavaScriptLink:t.options.cleanHTML.safeJavaScriptLink,removeOnError:t.options.cleanHTML.removeOnError}))||s}},33087(t,e,s){"use strict";s.d(e,{y(){return o}});var i=s(64567),r=s(12041);function o(t,e){t.hookStatus(i.f.ready,(t=>{const s=(0,r.h)(t)?t:t.jodit,i=`${s.options.namespace}${t.componentName}_prop_${e}`,o=t[e];Object.defineProperty(t,e,{get:()=>s.storage.get(i)??o,set(t){s.storage.set(i,t)}})}))}},33201(t,e,s){"use strict";s.d(e,{X(){return o}});var i=s(55186),r=s(26150);function o(t,e,s){const o=i.J.closest(t.sourceImage,"a",e.editor);o?(s.imageLink=(0,r.C)(o,"href")||"",s.imageLinkOpenInNewTab="_blank"===(0,r.C)(o,"target")):(s.imageLink="",s.imageLinkOpenInNewTab=!1)}},33403(t,e,s){"use strict";s.d(e,{k(){return c}});var i=s(31635),r=s(24767),o=s(71151),n=s(66927),a=s(65147),l=s(6455);let c=class t extends l.U{className(){return"UIImageMainTab"}appendChildToContainer(){}constructor(t,e,s){super(t),this.state=e,this.handlers=s}render(){return'
\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t
\n\t\t\t\t\t\t*image*\n\t\t\t\t\t\t*crop*\n\t\t\t\t
\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t\t\n\t\t
\n\t\t\t\n\t\t
'}async onStateImageSrcChange(){this.getElm("imageSrc").value=this.state.values.imageSrc}onImageSrcChange(){this.state.values.imageSrc=this.getElm("imageSrc").value}onEditImageClick(t){this.handlers.openImageEditor(),t.stopPropagation()}onChangeImageClick(t){this.handlers.openImagePopup(this.getElm("changeImage")),t.stopPropagation()}onStateTitleChange(){this.getElm("imageTitle").value=this.state.values.imageTitle}onTitleChange(){this.state.values.imageTitle=this.getElm("imageTitle").value}onStateAltChange(){this.getElm("imageAlt").value=this.state.values.imageAlt}onAltChange(){this.state.values.imageAlt=this.getElm("imageAlt").value}onStateImageLinkChange(){this.getElm("imageLink").value=this.state.values.imageLink}onImageLinkChange(){this.state.values.imageLink=this.getElm("imageLink").value}onStateImageLinkOpenInNewTabChange(){this.getElm("imageLinkOpenInNewTab").checked=this.state.values.imageLinkOpenInNewTab}onImageLinkOpenInNewTabChange(){this.state.values.imageLinkOpenInNewTab=this.getElm("imageLinkOpenInNewTab").checked}hideFieldByOptions(){const t=this.j.o,e=t.image;[["editSrc","editSrc"],["editTitle","editTitle"],["editAlt","editAlt"],["editLink","editLink"],["editLink","editLinkTarget"],["useImageEditor","editImage"]].forEach((([t,s])=>{const i=this.getElm(s);(0,a.css)(i,"display",e[t]?null:"none")}));const s=this.getElm("changeImage"),i=!(!t.filebrowser.ajax.url&&!t.uploader.url);(0,a.css)(s,"display",i?null:"none");const r=this.getElm("editImage"),o=!!t.filebrowser.ajax.url&&e.useImageEditor;(0,a.css)(r,"display",o?null:"none");const n=this.getElm("fixImage");(0,a.css)(n,"display",i||o?null:"none")}};(0,i.Cg)([(0,n.w)("state.values.imageSrc")],c.prototype,"onStateImageSrcChange",null),(0,i.Cg)([(0,n.w)("imageSrc:change")],c.prototype,"onImageSrcChange",null),(0,i.Cg)([(0,n.w)("editImage:click")],c.prototype,"onEditImageClick",null),(0,i.Cg)([(0,n.w)("changeImage:click")],c.prototype,"onChangeImageClick",null),(0,i.Cg)([(0,n.w)("state.values.imageTitle")],c.prototype,"onStateTitleChange",null),(0,i.Cg)([(0,n.w)("imageTitle:change")],c.prototype,"onTitleChange",null),(0,i.Cg)([(0,n.w)("state.values.imageAlt")],c.prototype,"onStateAltChange",null),(0,i.Cg)([(0,n.w)("imageAlt:change")],c.prototype,"onAltChange",null),(0,i.Cg)([(0,n.w)("state.values.imageLink")],c.prototype,"onStateImageLinkChange",null),(0,i.Cg)([(0,n.w)("imageLink:change")],c.prototype,"onImageLinkChange",null),(0,i.Cg)([(0,n.w)("state.values.imageLinkOpenInNewTab")],c.prototype,"onStateImageLinkOpenInNewTabChange",null),(0,i.Cg)([(0,n.w)("imageLinkOpenInNewTab:change")],c.prototype,"onImageLinkOpenInNewTabChange",null),(0,i.Cg)([(0,o.A)("ready")],c.prototype,"hideFieldByOptions",null),c=(0,i.Cg)([r.s],c)},33733(t,e,s){"use strict";s.d(e,{q(){return a}});var i=s(37923),r=s(27594),o=s(80071),n=s(10067);function a(t,e,s,a){const l=new o.z(e),c=()=>{l.close(),l.destruct()};l.setContent((0,n.k)(t,{upload(t){t.files&&t.files.length&&(s.values.imageSrc=t.baseurl+t.files[0]),c()},async filebrowser(t){t&&(0,i.c)(t.files)&&t.files.length&&(s.values.imageSrc=t.files[0],c())}},s.image,c)).open((()=>(0,r.G)(a)))}},34045(t){t.exports=' '},34125(t,e,s){"use strict";s.d(e,{Ej(){return n.E},G1(){return l.G},cY(){return a.c},mH(){return r.m},xM(){return o.x},y6(){return i.y}});var i=s(73780),r=s(98228),o=s(49744),n=s(95350),a=s(91594),l=s(27594)},34248(t,e,s){"use strict";s.d(e,{t(){return l}});var i=s(31635),r=s(24767),o=s(37923),n=s(92032),a=s(80071);let l=class t extends a.z{className(){return"ContextMenu"}show(t,e,s){const i=this;i.clear(),(0,o.c)(s)&&(s.forEach((t=>{if(!t)return;const e=(0,n.$n)(this.jodit,t.icon||"empty",t.title);this.jodit&&e.setParentView(this.jodit),e.setMod("context","menu"),e.onAction((e=>(t.exec?.call(i,e),i.clear(),i.close(),!1))),this.append(e)})),this.open((()=>({left:t,top:e,width:0,height:0})),!0))}};l=(0,i.Cg)([r.s],l)},34256(t,e,s){"use strict";s.d(e,{Fc(){return i.F},XG(){return n.X},lG(){return o.l},pT(){return r.p}});var i=s(5854),r=s(23132),o=s(58006),n=s(91560)},34446(t,e,s){"use strict";s.d(e,{X(){return i}});const i=t=>{if("undefined"!=typeof navigator&&-1!==navigator.userAgent.indexOf("Mac OS X")){if(t.metaKey&&!t.altKey)return!0}else if(t.ctrlKey&&!t.altKey)return!0;return!1}},34747(t){"use strict";t.exports={Spellcheck:"拼字檢查"}},34796(t,e,s){"use strict";function i(t){return!!t&&"function"===(typeof t).toLowerCase()&&(t===Function.prototype||/^\s*function\s*(\b[a-z$_][a-z0-9$_]*\b)*\s*\((|([a-z$_][a-z0-9$_]*)(\s*,[a-z$_][a-z0-9$_]*)*)\)\s*{\s*\[native code]\s*}\s*$/i.test(t+""))}s.d(e,{a(){return i}})},34899(t,e,s){"use strict";s.d(e,{Z(){return i}});class i extends TypeError{constructor(t){super(t),Object.setPrototypeOf(this,i.prototype)}}},35265(t,e,s){"use strict";s.d(e,{$n(){return i.$n},SB(){return o.S},lD(){return i.lD},ss(){return r.s},ue(){return i.ue}});var i=s(92032),r=s(31202),o=s(36434)},35523(t,e,s){"use strict";var i=s(31635),r=s(22664),o=s(55186),n=s(56298),a=s(83260),l=s(71005),c=s(53048);s(41133);class u extends l.k{constructor(){super(...arguments),this.proxyEventsList=["click","mousedown","touchstart","mouseup","touchend"]}afterInit(t){this.proxyEventsList.forEach((e=>{t.e.on(e+".select",this.onStartSelection)}))}beforeDestruct(t){this.proxyEventsList.forEach((e=>{t.e.on(e+".select",this.onStartSelection)}))}onStartSelection(t){const{j:e}=this;let s,i=t.target;for(;void 0===s&&i&&i!==e.editor;)s=e.e.fire((0,a.x)(t.type+"_"+i.nodeName.toLowerCase()),i,t),i=i.parentElement;"click"===t.type&&void 0===s&&i===e.editor&&e.e.fire(t.type+"Editor",i,t)}onOutsideClick(t){const e=t.target;o.J.up(e,(t=>t===this.j.editor))||c.D$.closestElement(e,c.zD)||this.j.e.fire("outsideClick",t)}beforeCommandCut(){const{s:t}=this.j;if(!t.isCollapsed()){const e=t.current();e&&o.J.isOrContains(this.j.editor,e)&&this.onCopyNormalizeSelectionBound()}}beforeCommandSelectAll(){const{s:t}=this.j;return t.focus(),t.select(this.j.editor,!0),t.expandSelection(),!1}onTripleClickNormalizeSelection(t){if(3!==t.detail||!this.j.o.select.normalizeTripleClick)return;const{s:e}=this.j,{startContainer:s,startOffset:i}=e.range;0===i&&o.J.isText(s)&&e.select(o.J.closest(s,o.J.isBlock,this.j.editor)||s,!0)}onCopyNormalizeSelectionBound(t){const{s:e,editor:s,o:i}=this.j;i.select.normalizeSelectionBeforeCutAndCopy&&!e.isCollapsed()&&(!t||t.isTrusted&&o.J.isNode(t.target)&&o.J.isOrContains(s,t.target))&&this.jodit.s.expandSelection()}}(0,i.Cg)([r.autobind],u.prototype,"onStartSelection",null),(0,i.Cg)([(0,r.watch)("ow:click")],u.prototype,"onOutsideClick",null),(0,i.Cg)([(0,r.watch)([":beforeCommandCut"])],u.prototype,"beforeCommandCut",null),(0,i.Cg)([(0,r.watch)([":beforeCommandSelectall"])],u.prototype,"beforeCommandSelectAll",null),(0,i.Cg)([(0,r.watch)([":click"])],u.prototype,"onTripleClickNormalizeSelection",null),(0,i.Cg)([(0,r.watch)([":copy",":cut"])],u.prototype,"onCopyNormalizeSelectionBound",null),n.fg.add("select",u)},35541(t,e,s){"use strict";var i=s(17352),r=s(55186),o=s(56298),n=s(97369),a=s(29866),l=(s(61964),s(84182));o.fg.add("symbols",class c extends a.k{constructor(t){super(t),this.buttons=[{name:"symbols",group:"insert"}],this.__countInRow=17,(0,o.JW)(l)}afterInit(t){t.e.on("generateSpecialCharactersTable.symbols",(()=>{const e=t.c.fromHTML('
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
'),s=e.querySelector(".jodit-symbols__preview"),o=e.querySelector("table").tBodies[0],a=[];for(let e=0;t.o.specialCharacters.length>e;){const s=t.c.element("tr");for(let i=0;this.__countInRow>i&&t.o.specialCharacters.length>e;i+=1,e+=1){const r=t.c.element("td"),o=t.c.fromHTML(`${t.o.specialCharacters[e]}`);a.push(o),r.appendChild(o),s.appendChild(r)}o.appendChild(s)}const l=this;return t.e.on(a,"focus",(function(){s.innerHTML=this.innerHTML})).on(a,"mousedown",(function(e){r.J.isTag(this,"a")&&(t.s.focus(),t.s.insertHTML(this.innerHTML),e?.shiftKey||t.e.fire(this,"close_dialog"),e&&e.preventDefault(),e&&e.stopImmediatePropagation())})).on(a,"mouseenter",(function(){r.J.isTag(this,"a")&&this.focus()})).on(a,"keydown",(e=>{const s=e.target;if(r.J.isTag(s,"a")){const r=parseInt((0,n.attr)(s,"-index")||"0",10),o=parseInt((0,n.attr)(s,"data-index-j")||"0",10);let c;switch(e.key){case i.KEY_UP:case i.KEY_DOWN:c=e.key===i.KEY_UP?r-l.__countInRow:r+l.__countInRow,void 0===a[c]&&(c=e.key===i.KEY_UP?Math.floor(a.length/l.__countInRow)*l.__countInRow+o:o,c>a.length-1&&(c-=l.__countInRow)),a[c]&&a[c].focus();break;case i.KEY_RIGHT:case i.KEY_LEFT:c=e.key===i.KEY_LEFT?r-1:r+1,void 0===a[c]&&(c=e.key===i.KEY_LEFT?a.length-1:0),a[c]&&a[c].focus();break;case i.KEY_ENTER:t.e.fire(s,"mousedown"),e.stopImmediatePropagation(),e.preventDefault()}}})),e}))}beforeDestruct(t){t.e.off("generateSpecialCharactersTable.symbols")}})},35642(t,e,s){"use strict";function i(t){return null==t}s.d(e,{R(){return i}})},36001(t,e,s){"use strict";s(36115).T.prototype.tableAllowCellResize=!0},36115(t,e,s){"use strict";s.d(e,{T(){return r}});var i=s(17352);class r{constructor(){this.cache=!0,this.defaultTimeout=100,this.namespace="",this.safeMode=!1,this.width="auto",this.height="auto",this.safePluginsList=["about","enter","backspace","size","bold","hotkeys"],this.license="",this.preset="custom",this.presets={inline:{inline:!0,toolbar:!1,toolbarInline:!0,toolbarInlineForSelection:!0,showXPathInStatusbar:!1,showCharsCounter:!1,showWordsCounter:!1,showPlaceholder:!1}},this.ownerDocument=i.globalDocument,this.ownerWindow=i.globalWindow,this.shadowRoot=null,this.zIndex=0,this.readonly=!1,this.disabled=!1,this.activeButtonsInReadOnly=["source","fullsize","print","about","dots","selectall"],this.allowCommandsInReadOnly=["selectall","preview","print"],this.toolbarButtonSize="middle",this.allowTabNavigation=!1,this.inline=!1,this.theme="default",this.saveModeInStorage=!1,this.editorClassName=!1,this.className=!1,this.style=!1,this.containerStyle=!1,this.styleValues={},this.triggerChangeEvent=!0,this.direction="",this.language="auto",this.debugLanguage=!1,this.i18n=!1,this.tabIndex=-1,this.toolbar=!0,this.statusbar=!0,this.showTooltip=!0,this.showTooltipDelay=200,this.useNativeTooltip=!1,this.defaultActionOnPaste=i.INSERT_AS_HTML,this.enter=i.PARAGRAPH,this.iframe=!1,this.editHTMLDocumentMode=!1,this.enterBlock="br"!==this.enter?this.enter:i.PARAGRAPH,this.defaultMode=i.MODE_WYSIWYG,this.useSplitMode=!1,this.colors={greyscale:["#000000","#434343","#666666","#999999","#B7B7B7","#CCCCCC","#D9D9D9","#EFEFEF","#F3F3F3","#FFFFFF"],palette:["#980000","#FF0000","#FF9900","#FFFF00","#00F0F0","#00FFFF","#4A86E8","#0000FF","#9900FF","#FF00FF"],full:["#E6B8AF","#F4CCCC","#FCE5CD","#FFF2CC","#D9EAD3","#D0E0E3","#C9DAF8","#CFE2F3","#D9D2E9","#EAD1DC","#DD7E6B","#EA9999","#F9CB9C","#FFE599","#B6D7A8","#A2C4C9","#A4C2F4","#9FC5E8","#B4A7D6","#D5A6BD","#CC4125","#E06666","#F6B26B","#FFD966","#93C47D","#76A5AF","#6D9EEB","#6FA8DC","#8E7CC3","#C27BA0","#A61C00","#CC0000","#E69138","#F1C232","#6AA84F","#45818E","#3C78D8","#3D85C6","#674EA7","#A64D79","#85200C","#990000","#B45F06","#BF9000","#38761D","#134F5C","#1155CC","#0B5394","#351C75","#733554","#5B0F00","#660000","#783F04","#7F6000","#274E13","#0C343D","#1C4587","#073763","#20124D","#4C1130"]},this.colorPickerDefaultTab="background",this.imageDefaultWidth=300,this.removeButtons=[],this.disablePlugins=[],this.extraPlugins=[],this.extraButtons=[],this.extraIcons={},this.createAttributes={table:{style:"border-collapse:collapse;width: 100%;"}},this.sizeLG=900,this.sizeMD=700,this.sizeSM=400,this.buttons=[{group:"font-style",buttons:[]},{group:"list",buttons:[]},{group:"font",buttons:[]},"---",{group:"script",buttons:[]},{group:"media",buttons:[]},"\n",{group:"state",buttons:[]},{group:"clipboard",buttons:[]},{group:"insert",buttons:[]},{group:"indent",buttons:[]},{group:"color",buttons:[]},{group:"form",buttons:[]},"---",{group:"history",buttons:[]},{group:"search",buttons:[]},{group:"source",buttons:[]},{group:"other",buttons:[]},{group:"info",buttons:[]}],this.events={},this.textIcons=!1,this.popupRoot=null,this.showBrowserColorPicker=!0}static get defaultOptions(){return r.__defaultOptions||(r.__defaultOptions=new r),r.__defaultOptions}}r.prototype.controls={}},36133(t,e,s){"use strict";var i=s(17352),r=s(71842),o=s(56298),n=s(65147),a=s(71005),l=s(34248),c=s(8809);s(88850),o.fg.add("xpath",class u extends a.k{constructor(){super(...arguments),this.onContext=(t,e)=>(this.menu||(this.menu=new l.t(this.j)),this.menu.show(e.clientX,e.clientY,[{icon:"bin",title:t===this.j.editor?"Clear":"Remove",exec:()=>{t!==this.j.editor?r.J.safeRemove(t):this.j.value="",this.j.synchronizeValues()}},{icon:"select-all",title:"Select",exec:()=>{this.j.s.select(t)}}]),!1),this.onSelectPath=(t,e)=>{this.j.s.focus();const s=(0,n.attr)(e.target,"-path")||"/";if("/"===s)return this.j.execCommand("selectall"),!1;try{const t=this.j.ed.evaluate(s,this.j.editor,null,XPathResult.ANY_TYPE,null).iterateNext();if(t)return this.j.s.select(t),!1}catch{}return this.j.s.select(t),!1},this.tpl=(t,e,s,i)=>{const r=this.j.c.fromHTML(`${(0,n.trim)(s)}`),o=r.firstChild;return this.j.e.on(o,"click",this.onSelectPath.bind(this,t)).on(o,"contextmenu",this.onContext.bind(this,t)),r},this.removeSelectAll=()=>{this.selectAllButton&&(this.selectAllButton.destruct(),delete this.selectAllButton)},this.appendSelectAll=()=>{this.removeSelectAll(),this.selectAllButton=(0,c.BJ)(this.j,{name:"selectall",...this.j.o.controls.selectall}),this.selectAllButton.state.size="tiny",this.container&&this.container.insertBefore(this.selectAllButton.container,this.container.firstChild)},this.calcPathImd=()=>{if(this.isDestructed)return;const t=this.j.s.current();if(this.container&&(this.container.innerHTML=i.INVISIBLE_SPACE),t){let e,s,i;r.J.up(t,(t=>{!t||this.j.editor===t||r.J.isText(t)||r.J.isComment(t)||(e=t.nodeName.toLowerCase(),s=(0,n.getXPathByElement)(t,this.j.editor).replace(/^\//,""),i=this.tpl(t,s,e,this.j.i18n("Select %s",e)),this.container&&this.container.insertBefore(i,this.container.firstChild))}),this.j.editor)}this.appendSelectAll()},this.calcPath=this.j.async.debounce(this.calcPathImd,2*this.j.defaultTimeout)}afterInit(){this.j.o.showXPathInStatusbar&&(this.container=this.j.c.div("jodit-xpath"),this.j.e.off(".xpath").on("mouseup.xpath change.xpath keydown.xpath changeSelection.xpath",this.calcPath).on("afterSetMode.xpath afterInit.xpath changePlace.xpath",(()=>{this.j.o.showXPathInStatusbar&&this.container&&(this.j.statusbar.append(this.container),this.j.getRealMode()===i.MODE_WYSIWYG?this.calcPath():(this.container&&(this.container.innerHTML=i.INVISIBLE_SPACE),this.appendSelectAll()))})),this.calcPath())}beforeDestruct(){this.j&&this.j.events&&this.j.e.off(".xpath"),this.removeSelectAll(),this.menu&&this.menu.destruct(),r.J.safeRemove(this.container),delete this.menu,delete this.container}})},36291(t,e,s){"use strict";s.d(e,{D(){return o}});var i=s(17352),r=s(55186);function o(t,e,s=i.IS_BLOCK){let n=t;const a=e.editor;do{if(!n||n===a)break;if(s.test(n.nodeName))return r.J.isLeaf(n)?n:o(n.parentNode,e,/^li$/i)||n;n=n.parentNode}while(n&&n!==a);return null}},36293(t,e,s){"use strict";var i=s(56298),r=s(65147);s(39626),i.fg.add("color",(t=>{t.registerButton({name:"brush",group:"color"});const e=(e,s,i)=>{const o=(0,r.normalizeColor)(i);switch(e){case"background":t.s.commitStyle({attributes:{style:{backgroundColor:o||""}}});break;case"forecolor":t.s.commitStyle({attributes:{style:{color:o||""}}})}return t.synchronizeValues(),!1};t.registerCommand("forecolor",e).registerCommand("background",e)}))},36327(t){t.exports=''},36339(t){t.exports=' '},36434(t,e,s){"use strict";s.d(e,{S(){return m}});var i,r=s(31635),o=s(77753),n=s(22664),a=s(71842),l=s(56298),c=s(27594),u=s(97369),d=s(29780);const h=["scroll.tooltip","joditCloseDialog","mouseleave.tooltip"],p=["escape.tooltip","change.tooltip","changePlace.tooltip","afterOpenPopup.tooltip","hidePopup.tooltip","beforePopupClose.tooltip","closeAllPopups.tooltip"];let m=i=class t extends d.D{className(){return"UITooltip"}render(){return'
'}constructor(t){super(t),this.__isOpened=!1,this.__attachedContainers=new Set,this.__listenClose=!1,this.__currentTarget=null,this.__delayShowTimeout=0,this.__hideTimeout=0,t.o.textIcons||!t.o.showTooltip||t.o.useNativeTooltip||(this.j.e.on("getContainer",(t=>{this.__onAttach(t)})),t.hookStatus(o.f.ready,(()=>{this.__onAttach(this.j.container)})))}__onAttach(t){(0,l.My)(this.j,i).appendChild(this.container),this.__attachedContainers.add(t),this.__attachedContainers.add(this.j.container),this.j.e.on(t,"mouseenter.tooltip",this.__onMouseEnter,{capture:!0}).on(t,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0}).on(this.j.container,"mouseleave.tooltip",this.__onMouseLeave,{capture:!0})}__addListenersOnEnter(){if(this.__listenClose)return;this.__listenClose=!0;const t=this.j;t.e.on(t.ow,h,this.__hide).on(p,this.__hide)}__removeListenersOnLeave(){if(!this.__listenClose)return;this.__listenClose=!1;const t=this.j;t.e.off(t.ow,h,this.__hide).off(p,this.__hide)}__onMouseLeave(t){this.__currentTarget===t.target&&(this.__hideDelay(),this.__currentTarget=null)}__onMouseEnter(t){if(!a.J.isHTMLElement(t.target))return;const e=(0,u.attr)(t.target,"aria-label");if(!e)return;if((0,u.attr)(t.target,"disabled"))return;if(!t.target.className.includes("jodit"))return;this.__currentTarget=t.target;const s=t.target;this.__open((()=>{const t=(0,c.G)(s);return{x:t.left+t.width/2,y:t.top+t.height}}),e)}__open(t,e){this.__addListenersOnEnter(),this.__isOpened=!0,this.j.async.clearTimeout(this.__hideTimeout),this.j.async.clearTimeout(this.__delayShowTimeout);const s=this.j.o.showTooltipDelay||this.j.defaultTimeout;s?this.__delayShowTimeout=this.j.async.setTimeout((()=>this.__show(t,e)),s):this.__show(t,e)}__show(t,e){this.setMod("visible",!0),this.getElm("content").innerHTML=e;const s=t();(0,u.css)(this.container,{left:s.x,top:s.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((t=>{this.j.e.off(t,"mouseenter.tooltip",this.__onMouseEnter).off(t,"mouseleave.tooltip",this.__onMouseLeave)})),this.__hide(),super.destruct()}};(0,r.Cg)([n.autobind],m.prototype,"__onMouseLeave",null),(0,r.Cg)([n.autobind],m.prototype,"__onMouseEnter",null),(0,r.Cg)([n.autobind],m.prototype,"__hide",null),(0,r.Cg)([n.autobind],m.prototype,"__hideDelay",null),m=i=(0,r.Cg)([n.component],m)},36795(t,e,s){"use strict";s.d(e,{m(){return r}});var i=s(59101);const r=t=>!!(0,i.Bq)(t.value).length||(t.error="Please fill out this field",!1)},36969(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(56298),a=s(65147),l=s(71005),c=(s(93324),s(90823));class u extends l.k{afterInit(t){}beforeDestruct(t){}processWordHTML(t,e,s){const{j:i}=this,{processPasteFromWord:r,askBeforePasteFromWord:o,defaultActionOnPasteFromWord:n,defaultActionOnPaste:l,pasteFromWordActionList:u}=i.o;return!(!r||!(0,a.isHtmlFromWord)(e)||(o?(0,c.PU)(i,"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",(i=>{this.insertFromWordByType(t,e,i,s)}),u):this.insertFromWordByType(t,e,n||l,s),0))}insertFromWordByType(t,e,s,i){switch(s){case r.INSERT_AS_HTML:{e=(0,a.applyStyles)(e);const t=this.j.events?.fire("beautifyHTML",e);(0,a.isString)(t)&&(e=t);break}case r.INSERT_AS_TEXT:e=(0,a.cleanFromWord)(e);break;case r.INSERT_ONLY_TEXT:e=(0,a.stripTags)((0,a.cleanFromWord)(e))}(0,c.sX)(t,this.j,e)}}u.requires=["paste"],(0,i.Cg)([(0,o.watch)(":processHTML")],u.prototype,"processWordHTML",null),n.fg.add("pasteFromWord",u)},37075(t,e,s){"use strict";s.d(e,{n(){return a},s(){return n}});var i=s(77753),r=s(9823),o=(s(28712),s(50156));function n(t,e=!1,s="debounce"){return(n,a)=>{const l=n[a];if(!(0,r.Tn)(l))throw(0,o.z3)("Handler must be a Function");return n.hookStatus(i.f.ready,(i=>{const{async:o}=i,n=(0,r.Tn)(t)?t(i):t,l=(0,r.Et)(n)||(0,r.Qd)(n)?n:i.defaultTimeout;Object.defineProperty(i,a,{configurable:!0,value:o[s](i[a].bind(i),l,e)})})),{configurable:!0,get(){return l.bind(this)}}}}function a(t,e=!1){return n(t,e,"throttle")}},37107(t){"use strict";t.exports={symbols:"symbol"}},37414(t){"use strict";t.exports={Spellcheck:"Rechtschreibprüfung"}},37424(t,e,s){"use strict";s.d(e,{Q(){return a}});var i=s(37923),r=s(97369),o=s(36115),n=s(57023);function a(t,e){return((0,i.c)(t)?t:(0,r.keys)(t,!1).map((e=>(0,r.ConfigProto)({name:e},t[e]||{})))).map((t=>(0,n.U)(t,e||o.T.defaultOptions.controls)))}},37435(t,e,s){"use strict";s.r(e),s.d(e,{Ajax(){return p.d},Alert(){return n.Fc},Async(){return l.j},Button(){return m.$n},CommitStyle(){return I.xk},Component(){return i.uA},Confirm(){return n.pT},ContextMenu(){return o.t},Create(){return c.X},Dialog(){return n.lG},Dom(){return u.J},EventEmitter(){return d.bk},EventHandlersStore(){return d.d$},Eventify(){return d.h5},FileBrowser(){return a.V},Helpers(){return r},History(){return v.B},Icon(){return m.In},ImageEditor(){return y.n},LazyWalker(){return u.p},Plugin(){return h.k},PluginSystem(){return x.$},Popup(){return m.zD},ProgressBar(){return m.z2},Prompt(){return n.XG},Response(){return p.Y},STATUSES(){return i.f},Selection(){return I.LN},Snapshot(){return b.F},StatusBar(){return w.e},Table(){return C.X},ToolbarButton(){return k.IB},ToolbarCollection(){return S.Q},ToolbarContent(){return k.P1},ToolbarEditorCollection(){return T.b},ToolbarSelect(){return k.q4},UIBlock(){return m.Yh},UIButton(){return m.lD},UIButtonGroup(){return m.ss},UIButtonState(){return m.ue},UICheckbox(){return m.cY},UIElement(){return m.D$},UIFileInput(){return m.nE},UIForm(){return m.XV},UIGroup(){return m.Ue},UIInput(){return m.tS},UIList(){return m.z4},UIMessages(){return _.N},UISelect(){return m.$6},UISeparator(){return m.CP},UISpacer(){return m.bk},UITextArea(){return m.F0},UITooltip(){return m.SB},Uploader(){return E.d},View(){return g.S},ViewComponent(){return i.vG},ViewWithToolbar(){return f.T},defaultNameSpace(){return d.Xr},observable(){return d.sH}});var i=s(77753),r=s(65147),o=s(34248),n=s(34256),a=s(19627),l=s(64890),c=s(40594),u=s(71842),d=s(50025),h=s(71005),p=s(53883),m=s(53048),g=s(77782),f=s(14961),v=s(69996),b=s(58770),y=s(53804),_=s(91902),w=s(62870),C=s(11648),k=s(5832),S=s(97394),T=s(90428),E=s(26538),x=s(77402),I=s(87332)},37474(t,e,s){"use strict";s.d(e,{u(){return l}});var i=s(64890),r=s(64567),o=s(56298),n=s(65147);const a=new Map;class l{get componentName(){return this.__componentName||(this.__componentName="jodit-"+(0,n.kebabCase)(((0,n.isFunction)(this.className)?this.className():"")||(0,n.getClassName)(this))),this.__componentName}getFullElName(t,e,s){const i=[this.componentName];return t&&(t=t.replace(/[^a-z0-9-]/gi,"-"),i.push("__"+t)),e&&(i.push("_",e),i.push("_",(0,n.isVoid)(s)?"true":""+s)),i.join("")}get ownerDocument(){return this.ow.document}get od(){return this.ownerDocument}get ow(){return this.ownerWindow}get(t,e){return(0,n.get)(t,e||this)}get isReady(){return this.componentStatus===r.f.ready}get isDestructed(){return this.componentStatus===r.f.destructed}get isInDestruct(){return r.f.beforeDestruct===this.componentStatus||r.f.destructed===this.componentStatus}bindDestruct(t){return t.hookStatus(r.f.beforeDestruct,(()=>!this.isInDestruct&&this.destruct())),this}constructor(){this.async=new i.j,this.ownerWindow=window,this.__componentStatus=r.f.beforeInit,this.uid="jodit-uid-"+(0,o.w9)()}destruct(){this.setStatus(r.f.destructed),this.async&&(this.async.destruct(),this.async=void 0),a.get(this)&&a.delete(this),this.ownerWindow=void 0}get componentStatus(){return this.__componentStatus}set componentStatus(t){this.setStatus(t)}setStatus(t){return this.setStatusComponent(t,this)}setStatusComponent(t,e){if(t===this.__componentStatus)return;e===this&&(this.__componentStatus=t);const s=Object.getPrototypeOf(this);s&&(0,n.isFunction)(s.setStatusComponent)&&s.setStatusComponent(t,e);const i=a.get(this),r=i?.[t];r&&r.length&&r.forEach((t=>t(e)))}hookStatus(t,e){let s=a.get(this);s||(s={},a.set(this,s)),s[t]||(s[t]=[]),s[t].push(e)}static isInstanceOf(t,e){return t instanceof e}}l.STATUSES=r.f},37605(t){"use strict";t.exports={symbols:"رمز"}},37649(t,e,s){"use strict";s.d(e,{g(){return l},x(){return a}});var i=s(17352),r=s(55186),o=(s(28712),s(87332)),n=s(97621);const a={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"},l={[a.START]:{exec(t){const{element:e,jodit:s,style:i,mode:l,collapsed:c}=t;if((0,n.iu)(e,s.editor)||!c&&r.J.isEmptyContent(e))return{...t,next:a.END};const u=(0,n.AS)(i,e,s.editor)||(0,n.G6)(i,e);if(u)return{...t,next:a.ELEMENT,element:u};const d=(0,n.$s)(i,e,s.editor);return i.elementIsList&&r.J.isList(d)?{...t,next:a.LIST}:d?{...t,next:a.EXTRACT}:{...t,next:l!==o.OJ?a.UNWRAP_CHILDREN:a.END}}},[a.LIST]:{exec(t){const{element:e,jodit:s,mode:n}=t;if(n!==o.DI&&n!==o.OJ&&n!==o.dj)return{...t,next:a.END};const l=r.J.closest(e,"li",s.editor);return l&&r.J.closest(e,i.LIST_TAGS,s.editor)?{...t,element:l,next:a.TOGGLE_LIST}:{...t,next:a.END}}},[a.TOGGLE_LIST]:{exec:t=>({...t,mode:(0,n.ks)(t.style,t.element,t.jodit,t.mode),next:a.END})},[a.EXTRACT]:{exec(t){const{element:e,jodit:s,style:i}=t,r=(0,n.$s)(i,e,s.editor);return i.elementIsBlock||(0,n.yP)(r,e,s),{...t,element:r,next:a.ELEMENT}}},[a.UNWRAP_CHILDREN]:{exec(t){const{element:e,style:s}=t;return(0,n.tm)(s,e)?{...t,mode:o.OJ,next:a.END}:{...t,next:a.WRAP}}},[a.WRAP]:{exec(t){const{element:e,jodit:s,style:i}=t,r=(0,n.LV)(i,e,s);return{...t,next:i.elementIsList?a.END:a.CHANGE,mode:o.Zk,element:r}}},[a.ELEMENT]:{exec(t){const{style:e,element:s,jodit:i}=t;return(0,n.Yx)(e,s,i,o.DI,!0)!==o.DI?{...t,next:a.CHANGE}:r.J.isTag(s,e.element)?{...t,next:a.UNWRAP}:{...t,next:a.END}}},[a.CHANGE]:{exec(t){const{style:e,element:s,jodit:i,mode:l}=t,c=(0,n.Yx)(e,s,i,t.mode);return l!==o.Zk&&c===o.Ag&&!s.attributes.length&&r.J.isTag(s,e.element)?{...t,next:a.UNWRAP}:{...t,mode:c,next:a.END}}},[a.UNWRAP]:{exec:t=>t.element.attributes.length&&r.J.isTag(t.element,t.style.element)?{...t,next:a.REPLACE_DEFAULT}:(r.J.unwrap(t.element),{...t,mode:o.OJ,next:a.END})},[a.REPLACE_DEFAULT]:{exec:t=>(r.J.replace(t.element,t.style.defaultTag,t.jodit.createInside,!0),{...t,mode:o.dj,next:a.END})},[a.END]:{exec:t=>t}}},37923(t,e,s){"use strict";function i(t){return Array.isArray(t)}s.d(e,{c(){return i}})},38046(t,e,s){"use strict";s.d(e,{_(){return o}});var i=s(55186),r=s(71274);function o(t){return!(!t||i.J.isEmptyTextNode(t)||i.J.isTemporary(t)||(0,r.r)(t))}},38101(t,e,s){"use strict";var i=s(31635),r=s(22664),o=s(55186),n=s(8453),a=s(56298),l=s(26328),c=s(29866),u=(s(74646),s(15396));class d extends c.k{constructor(){super(...arguments),this.buttons=[{name:"eraser",group:"font-style"}],this.currentSelectionNode=null,this.walker=new n.p(this.j.async,{timeout:this.j.o.cleanHTML.timeout})}afterInit(t){}get isEditMode(){return!(this.j.isInDestruct||!this.j.isEditorMode()||this.j.getReadOnly())}onChangeCleanHTML(){if(!this.isEditMode)return;const t=this.j;this.walker.setWork(t.editor),this.currentSelectionNode=t.s.current()}startWalker(){const{jodit:t}=this,e=(0,u.Zd)(this.j.o.cleanHTML.allowTags),s=(0,u.Zd)(this.j.o.cleanHTML.denyTags);this.walker.on("visit",(i=>(0,u.eZ)(t,i,e,s,this.currentSelectionNode))).on("end",(t=>{this.j.e.fire(t?"internalChange finishedCleanHTMLWorker":"finishedCleanHTMLWorker")}))}beforeCommand(t){if("removeformat"===t.toLowerCase())return this.j.s.isCollapsed()?(0,u.w5)(this.j):(0,u.hk)(this.j),!1}onBeforeSetNativeEditorValue(t){const[e,s]=this.j.o.cleanHTML.useIframeSandbox?this.j.createInside.sandbox():[this.j.createInside.div()];return e.innerHTML=t.value,this.onSafeHTML(e),t.value=e.innerHTML,(0,l.t)(e,{safeJavaScriptLink:!0,removeOnError:!0}),o.J.safeRemove(s),!1}onSafeHTML(t){(0,l.t)(t,this.j.o.cleanHTML)}beforeDestruct(){this.walker.destruct()}}(0,i.Cg)([(0,r.watch)([":change",":afterSetMode",":afterInit",":mousedown",":keydown"])],d.prototype,"onChangeCleanHTML",null),(0,i.Cg)([(0,r.hook)("ready")],d.prototype,"startWalker",null),(0,i.Cg)([(0,r.watch)(":beforeCommand")],d.prototype,"beforeCommand",null),(0,i.Cg)([(0,r.watch)(":beforeSetNativeEditorValue")],d.prototype,"onBeforeSetNativeEditorValue",null),(0,i.Cg)([(0,r.watch)(":safeHTML")],d.prototype,"onSafeHTML",null),a.fg.add("cleanHtml",d)},38271(t,e,s){"use strict";s.d(e,{Y(){return m}});var i=s(17352),r=s(55186),o=s(56298),n=(s(9823),s(59678)),a=s(95350),l=s(449),c=s(97369),u=s(38322),d=s(72197),h=s(12043);const p="toggleAttributes";function m(t,e,s,m,f=!1){if(!f&&t.isApplied(e,p))return m;!f&&t.setApplied(e,p);const{attributes:v}=t.options;return v&&(0,a.E)(v)>0&&Object.keys(v).forEach((a=>{const p=v[a];switch(a){case"style":m=((t,e,s,a,c,p)=>(Object.keys(s).forEach((m=>{const f=a.style.getPropertyValue((0,l.k)(m)),v=s[m];if(""!==f||null!=v){if(((t,e,s)=>{const n=t.create.element(e.tagName.toLowerCase());n.style.cssText=e.style.cssText;const a=(t=>{if(void 0!==(0,d.m)(t,"shadowRoot"))return(0,d.m)(t,"shadowRoot");const e=(0,o.My)(t),s=i.globalDocument.createElement("iframe");(0,u.A)(s,{width:0,height:0,position:"absolute",border:0}),s.src="about:blank",e.appendChild(s);const r=s.contentWindow?.document,n=r?r.body:t.od.body;return(0,d.m)(t,"shadowRoot",n),n})(t);a.appendChild(n);const l=(0,u.A)(n,s);return r.J.safeRemove(n),l})(e,a,m)===(0,n.iy)(m,v)){if(!f)return;return!c&&(0,u.A)(a,m,null),void(p=g(t,a,p=h.Ag))}p=h.PL,c||((0,u.A)(a,m,v),p=g(t,a,p))}})),p))(t,s,p,e,f,m);break;case"className":case"class":m=((t,e,s,i,r)=>{const o=t.e.fire.bind(t.e,h.ar+"AfterToggleAttribute");return s.classList.contains(""+e)?(i=h.Ag,r||(s.classList.remove(e),0===s.classList.length&&((0,c.attr)(s,"class",null),o(i,s,"class",null)))):(i=h.PL,r||(s.classList.add(e),o(i,s,"class",e))),i})(s,p,e,m,f);break;default:m=((t,e,s,i,r,o)=>{const n=t.e.fire.bind(t.e,h.ar+"AfterToggleAttribute");return(0,c.attr)(s,i)===e?(!r&&(0,c.attr)(s,i,null),o=h.Ag,!r&&n(o,s,i,e),o):(o=h.PL,r||((0,c.attr)(s,i,e),n(o,s,i,e)),o)})(s,p,e,a,f,m)}})),m}function g(t,e,s){return(0,c.attr)(e,"style")||((0,c.attr)(e,"style",null),e.tagName.toLowerCase()===t.defaultTag&&(r.J.unwrap(e),s=h.OJ)),s}},38309(t,e,s){"use strict";var i=s(56298);s(31686),i.fg.add("video",(t=>{t.registerButton({name:"video",group:"media"})}))},38322(t,e,s){"use strict";s.d(e,{A(){return l},a(){return c}});var i=s(9810),r=s(25376),o=s(59678),n=s(83260),a=s(449);function l(t,e,s,c=!1){if((0,i.L)(s)&&(c=s,s=void 0),(0,r.Q)(e)||void 0!==s){const i=(t,e,s)=>{void 0===(s=(0,o.n8)(e,s))||null!=s&&l(t,e,!0)===(0,o.iy)(e,s)||(t.style[e]=s)};if((0,r.Q)(e)){const s=Object.keys(e);for(let r=0;s.length>r;r+=1)i(t,(0,n.x)(s[r]),e[s[r]])}else i(t,(0,n.x)(e),s);return""}const u=(0,a.k)(e),d=t.ownerDocument||document,h=!!d&&(d.defaultView||d.parentWindow),p=t.style[e];let m="";return void 0!==p&&""!==p?m=p:h&&!c&&(m=h.getComputedStyle(t).getPropertyValue(u)),o.b$.test(e)&&/^[-+]?[0-9.]+px$/.test(""+m)&&(m=parseInt(""+m,10)),(0,o.iy)(e,m)}const c=t=>{"block"===l(t,"display")&&l(t,"display","");const{style:e}=t;"auto"===e.marginLeft&&"auto"===e.marginRight&&(e.marginLeft="",e.marginRight="")}},38373(t,e,s){"use strict";var i=s(55186),r=s(56298),o=s(38322),n=s(931),a=s(36115),l=s(3843),c=s.n(l),u=s(94628);const d="copy-format",h=["fontWeight","fontStyle","fontSize","color","margin","padding","borderWidth","borderStyle","borderColor","borderRadius","backgroundColor","textDecorationLine","fontFamily"],p=(t,e,s,i)=>{let r=(0,o.A)(s,e);return r===i[e]&&(r=s.parentNode&&s!==t.editor&&s.parentNode!==t.editor?p(t,e,s.parentNode,i):void 0),r};a.T.prototype.controls.copyformat={exec(t,e,{button:s}){if(e){if(t.buffer.exists(d))t.buffer.delete(d),t.e.off(t.editor,"mouseup."+d);else{const s={},r=i.J.up(e,(t=>t&&!i.J.isText(t)),t.editor)||t.editor,n=t.createInside.span();t.editor.appendChild(n),h.forEach((t=>{s[t]=(0,o.A)(n,t)})),n!==t.editor&&i.J.safeRemove(n);const a=((t,e,s)=>{const i={};return e&&h.forEach((r=>{i[r]=p(t,r,e,s),r.match(/border(Style|Color)/)&&!i.borderWidth&&(i[r]=void 0)})),i})(t,r,s),l=()=>{t.buffer.delete(d);const e=t.s.current();e&&(i.J.isTag(e,"img")?(0,o.A)(e,a):t.s.commitStyle({attributes:{style:a}})),t.e.off(t.editor,"mouseup."+d)};t.e.on(t.editor,"mouseup."+d,l),t.buffer.set(d,!0)}s.update()}},isActive(t){return t.buffer.exists(d)},tooltip:"Paint format"},r.fg.add("copyformat",(t=>{t.registerButton({name:"copyformat",group:"clipboard"}),(0,r.JW)(u)})),n.I.set("copyformat",c())},38681(t){t.exports=' '},39053(t,e,s){"use strict";s.r(e),s.d(e,{ar(){return i},cs_cz(){return r},de(){return o},es(){return n},fa(){return a},fi(){return l},fr(){return c},he(){return u},hu(){return d},id(){return h},it(){return p},ja(){return m},ko(){return g},mn(){return f},nl(){return v},pl(){return b},pt_br(){return y},ru(){return _},tr(){return w},ua(){return C},zh_cn(){return k},zh_tw(){return S}});var i=s(14100),r=s(10229),o=s(10572),n=s(27671),a=s(30382),l=s(14950),c=s(85051),u=s(2928),d=s(29920),h=s(65226),p=s(51162),m=s(4410),g=s(84777),f=s(25884),v=s(46433),b=s(42055),y=s(70846),_=s(15966),w=s(41145),C=s(71289),k=s(76877),S=s(83289)},39147(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(55186),a=s(56298),l=s(65147),c=s(37435);s(36001);const u="table_processor_observer-resize";class d extends c.Plugin{constructor(){super(...arguments),this.selectMode=!1,this.resizeDelta=0,this.createResizeHandle=()=>{this.resizeHandler||(this.resizeHandler=this.j.c.div("jodit-table-resizer"),this.j.e.on(this.resizeHandler,"mousedown.table touchstart.table",this.onHandleMouseDown).on(this.resizeHandler,"mouseenter.table",(()=>{this.j.async.clearTimeout(this.hideTimeout)})))},this.hideTimeout=0,this.drag=!1,this.minX=0,this.maxX=0,this.startX=0}get module(){return this.j.getInstance("Table",this.j.o)}get isRTL(){return"rtl"===this.j.o.direction}showResizeHandle(){this.j.async.clearTimeout(this.hideTimeout),this.j.workplace.appendChild(this.resizeHandler)}hideResizeHandle(){this.hideTimeout=this.j.async.setTimeout((()=>{n.J.safeRemove(this.resizeHandler)}),{timeout:this.j.defaultTimeout,label:"hideResizer"})}onHandleMouseDown(t){if(this.j.isLocked)return;this.drag=!0,this.j.e.on(this.j.ow,"mouseup.resize-cells touchend.resize-cells",this.onMouseUp).on(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.startX=t.clientX,this.j.lock(u),this.resizeHandler.classList.add("jodit-table-resizer_moved");let e,s=this.workTable.getBoundingClientRect();if(this.minX=0,this.maxX=1e6,null!=this.wholeTable)s=this.workTable.parentNode.getBoundingClientRect(),this.minX=s.left,this.maxX=this.minX+s.width;else{const t=this.module.formalCoordinate(this.workTable,this.workCell,!0);this.module.formalMatrix(this.workTable,((s,i,o)=>{t[1]===o&&(e=s.getBoundingClientRect(),this.minX=Math.max(e.left+r.NEARBY/2,this.minX)),t[1]+(this.isRTL?-1:1)===o&&(e=s.getBoundingClientRect(),this.maxX=Math.min(e.left+e.width-r.NEARBY/2,this.maxX))}))}return!1}onMouseMove(t){if(!this.drag)return;this.j.e.fire("closeAllPopups");let e=t.clientX;const s=(0,l.offset)(this.resizeHandler.parentNode||this.j.od.documentElement,this.j,this.j.od,!0);this.minX>e&&(e=this.minX),e>this.maxX&&(e=this.maxX),this.resizeDelta=e-this.startX+(this.j.o.iframe?s.left:0),this.resizeHandler.style.left=e-(this.j.o.iframe?0:s.left)+"px";const i=this.j.s.sel;i&&i.removeAllRanges()}onMouseUp(t){(this.selectMode||this.drag)&&(this.selectMode=!1,this.j.unlock()),this.resizeHandler&&this.drag&&(this.drag=!1,this.j.e.off(this.j.ew,"mousemove.table touchmove.table",this.onMouseMove),this.resizeHandler.classList.remove("jodit-table-resizer_moved"),this.startX!==t.clientX&&(null==this.wholeTable?this.resizeColumns():this.resizeTable()),this.j.synchronizeValues(),this.j.s.focus())}resizeColumns(){const t=this.resizeDelta,e=[],s=this.module;s.setColumnWidthByDelta(this.workTable,s.formalCoordinate(this.workTable,this.workCell,!0)[1],t,!0,e);const i=(0,l.call)(this.isRTL?n.J.prev:n.J.next,this.workCell,n.J.isCell,this.workCell.parentNode);s.setColumnWidthByDelta(this.workTable,s.formalCoordinate(this.workTable,i)[1],-t,!1,e)}resizeTable(){const t=this.resizeDelta*(this.isRTL?-1:1),e=this.workTable.offsetWidth,s=(0,l.getContentWidth)(this.workTable.parentNode,this.j.ew),i=!this.wholeTable;if(this.isRTL?!i:i)this.workTable.style.width=(e+t)/s*100+"%";else{const i=this.isRTL?"marginRight":"marginLeft",r=parseInt(this.j.ew.getComputedStyle(this.workTable)[i]||"0",10);this.workTable.style.width=(e-t)/s*100+"%",this.workTable.style[i]=(r+t)/s*100+"%"}}setWorkCell(t,e=null){this.wholeTable=e,this.workCell=t,this.workTable=n.J.up(t,(t=>n.J.isTag(t,"table")),this.j.editor)}calcHandlePosition(t,e,s=0,i=0){const o=(0,l.offset)(e,this.j,this.j.ed);if(s>r.NEARBY&&o.width-r.NEARBY>s)return void this.hideResizeHandle();const a=(0,l.offset)(this.j.workplace,this.j,this.j.od,!0),c=(0,l.offset)(t,this.j,this.j.ed);if(this.resizeHandler.style.left=(s>r.NEARBY?o.left+o.width:o.left)-a.left+i+"px",Object.assign(this.resizeHandler.style,{height:c.height+"px",top:c.top-a.top+"px"}),this.showResizeHandle(),s>r.NEARBY){const t=(0,l.call)(this.isRTL?n.J.prev:n.J.next,e,n.J.isCell,e.parentNode);this.setWorkCell(e,!!t&&null)}else{const t=(0,l.call)(this.isRTL?n.J.next:n.J.prev,e,n.J.isCell,e.parentNode);this.setWorkCell(t||e,!t||null)}}afterInit(t){t.o.tableAllowCellResize&&t.e.off(this.j.ow,".resize-cells").off(".resize-cells").on("change.resize-cells afterCommand.resize-cells afterSetMode.resize-cells",(()=>{(0,l.$$)("table",t.editor).forEach(this.observe)})).on(this.j.ow,"scroll.resize-cells",(()=>{if(!this.drag)return;const e=n.J.up(this.workCell,(t=>n.J.isTag(t,"table")),t.editor);if(e){const t=e.getBoundingClientRect();this.resizeHandler.style.top=t.top+"px"}})).on("beforeSetMode.resize-cells",(()=>{const e=this.module;e.getAllSelectedCells().forEach((s=>{e.removeSelection(s),e.normalizeTable(n.J.closest(s,"table",t.editor))}))}))}observe(t){(0,l.dataBind)(t,u)||((0,l.dataBind)(t,u,!0),this.j.e.on(t,"mouseleave.resize-cells",(t=>{this.resizeHandler&&this.resizeHandler!==t.relatedTarget&&this.hideResizeHandle()})).on(t,"mousemove.resize-cells touchmove.resize-cells",this.j.async.throttle((e=>{if(this.j.isLocked)return;const s=n.J.up(e.target,n.J.isCell,t);s&&this.calcHandlePosition(t,s,e.offsetX)}),{timeout:this.j.defaultTimeout})),this.createResizeHandle())}beforeDestruct(t){t.events&&(t.e.off(this.j.ow,".resize-cells"),t.e.off(".resize-cells"))}}(0,i.Cg)([o.autobind],d.prototype,"onHandleMouseDown",null),(0,i.Cg)([o.autobind],d.prototype,"onMouseMove",null),(0,i.Cg)([o.autobind],d.prototype,"onMouseUp",null),(0,i.Cg)([o.autobind],d.prototype,"observe",null),a.fg.add("resizeCells",d)},39199(t){t.exports=' '},39344(t,e,s){"use strict";s.d(e,{l(){return i}});const i=(...t)=>t.filter((t=>t.length)).map((t=>t.replace(/\/$/,""))).join("/").replace(/([^:])[\\/]+/g,"$1/")},39386(t){t.exports.default=["Escriba algo...","Acerca de Jodit","Jodit Editor","Guía de usuario Jodit","contiene ayuda detallada para el uso.","Para información sobre la licencia, por favor visite nuestro sitio:","Compre la versión completa","Copyright © XDSoft.net - Chupurnov Valeriy. Todos los derechos reservados.","Anclar","Abrir en nueva pestaña","Abrir editor en pantalla completa","Limpiar formato","Color de relleno o de letra","Rehacer","Deshacer","Negrita","Cursiva","Insertar lista no ordenada","Insertar lista ordenada","Alinear Centrado","Alinear Justificado","Alinear Izquierda","Alinear Derecha","Insertar línea horizontal","Insertar imagen","Insertar archivo","Insertar video de Youtube/vimeo","Insertar vínculo","Tamaño de letra","Familia de letra","Insertar bloque","Normal","Encabezado 1","Encabezado 2","Encabezado 3","Encabezado 4","Cita","Código","Insertar","Insertar tabla","Disminuir sangría","Aumentar sangría","Seleccionar caracter especial","Insertar caracter especial","Copiar formato","Cambiar modo","Márgenes","arriba","derecha","abajo","izquierda","Estilos CSS","Clases CSS","Alinear","Derecha","Centrado","Izquierda","--No Establecido--","Fuente","Título","Texto Alternativo","Vínculo","Abrir vínculo en nueva pestaña","Imagen","Archivo","Avanzado","Propiedades de imagen","Cancelar","Aceptar","Buscar archivo","Error al cargar la lista","Error al cargar las carpetas","¿Está seguro?","Entre nombre de carpeta","Crear carpeta","Entre el nombre","Soltar imagen","Soltar archivo","o click","Texto alternativo","Subir","Buscar","Fondo","Texto","Arriba","Centro","Abajo","Insertar columna antes","Interar columna después","Insertar fila arriba","Insertar fila debajo","Borrar tabla","Borrar fila","Borrar columna","Vaciar celda","Caracteres: %d","Palabras: %d","Tachado","Subrayado","superíndice","subíndice","Cortar selección","Seleccionar todo","Pausa","Buscar","Reemplazar con","Reemplazar","Pegar","Seleccionar contenido para pegar","HTML","negrita","cursiva","Brocha","Vínculo","deshacer","rehacer","Tabla","Imagen","Borrar","Párrafo","Tamaño de letra","Video","Letra","Acerca de","Imprimir","subrayar","tachar","sangría","quitar sangría","Tamaño completo","encoger","línea horizontal","lista sin ordenar","lista ordenada","Cortar","Seleccionar todo","Incluir código","Abrir vínculo","Editar vínculo","No seguir","Desvincular","Actualizar","Para editar","Ver","URL","Editar","Alineación horizontal","Filtrar","Ordenar por fecha modificación","Ordenar por nombre","Ordenar por tamaño","Agregar carpeta","Resetear","Guardar","Guardar como...","Redimensionar","Recortar","Ancho","Alto","Mantener relación de aspecto","Si","No","Quitar","Seleccionar","Seleccionar: %s","Alineación vertical","Dividir","Mezclar","Agregar columna","Agregar fila",null,"Borrar","Dividir vertical","Dividir horizontal","Borde","El código es similar a HTML. ¿Mantener como HTML?","Pegar como HTML?","Mantener","Insertar como texto","Insertar solo texto","Solo puedes editar tus propias imágenes. ¿Descargar esta imagen en el servidor?","¡La imagen se ha subido correctamente al servidor!","paleta","No hay archivos en este directorio.","renombrar","Ingresa un nuevo nombre","avance","Descargar","Pegar desde el portapapeles","Su navegador no soporta el acceso directo en el portapapeles.","Selección de copia","copia","Radio frontera","Mostrar todos los","Aplicar","Por favor, rellene este campo","Por favor, introduzca una dirección web","Predeterminado","Círculo","Punto","Cuadro","Encontrar","Buscar Anterior","Buscar Siguiente","El contenido pegado proviene de un documento de Microsoft Word/Excel. ¿Desea mantener el formato o limpiarlo?","Pegado desde Word detectado","Limpiar","Insertar nombre de clase","Presione Alt para cambiar el tamaño personalizado"]},39611(t,e,s){"use strict";s.d(e,{V(){return o},i(){return r}});var i=s(37923);const r=t=>(0,i.c)(t.buttons);function o(t,e){const s=e.getRegisteredButtonGroups();return new Set(t.reduce(((t,e)=>(r(e)?t=t.concat([...e.buttons,...s[e.group]??[]]):t.push(e),t)),[]))}},39626(t,e,s){"use strict";var i=s(55186),r=s(65147),o=s(931),n=s(36115),a=s(16116),l=s(45674);o.I.set("brush",s.n(l)()),n.T.prototype.controls.brushCell={isVisible(t){return!t.o.disablePlugins.includes("color")},icon:"brush",popup(t,e,s){if(!(0,r.isJoditObject)(t))return;const i=t.getInstance("Table",t.o).getAllSelectedCells();if(!i.length)return!1;const o=e=>(0,a.Kn)(t,(o=>{i.forEach((t=>{(0,r.css)(t,e,o)})),t.lock(),t.synchronizeValues(),s(),t.unlock()}),(0,r.css)(i[0],e));return(0,a.Zg)(t,[{name:"Background",content:o("background-color")},{name:"Text",content:o("color")},{name:"Border",content:o("border-color")}])},tooltip:"Background"},n.T.prototype.controls.brush={isVisible(t){return!t.o.disablePlugins.includes("color")},update(t,e){const s=(0,r.dataBind)(e,"color"),o=(s,i)=>{i&&i!==""+(0,r.css)(t.editor,s)&&(e.state.icon.fill=i)};if(s){const t=(0,r.dataBind)(e,"color");return void o("color"===t?t:"background-color",s)}const n=t.s.current();if(n&&!e.state.disabled){const e=i.J.closest(n,i.J.isElement,t.editor)||t.editor;o("color",""+(0,r.css)(e,"color")),o("background-color",""+(0,r.css)(e,"background-color"))}e.state.icon.fill="",e.state.activated=!1},popup(t,e,s,o){let n="",l="",c=[],u=null;return e&&e!==t.editor&&i.J.isNode(e)&&(i.J.isElement(e)&&t.s.isCollapsed()&&!i.J.isTag(e,new Set(["br","hr"]))&&(u=e),i.J.up(e,(t=>{if(i.J.isHTMLElement(t)){const e=(0,r.css)(t,"color",!0),s=(0,r.css)(t,"background-color",!0);if(e)return n=""+e,!0;if(s)return l=""+s,!0}}),t.editor)),c=[{name:"Background",content:(0,a.Kn)(t,(e=>{u?u.style.backgroundColor=e:t.execCommand("background",!1,e),(0,r.dataBind)(o,"color",e),(0,r.dataBind)(o,"color-mode","background"),s()}),l)},{name:"Text",content:(0,a.Kn)(t,(e=>{u?u.style.color=e:t.execCommand("forecolor",!1,e),(0,r.dataBind)(o,"color",e),(0,r.dataBind)(o,"color-mode","color"),s()}),n)}],"background"!==t.o.colorPickerDefaultTab&&(c=c.reverse()),(0,a.Zg)(t,c,u)},exec(t,e,{button:s}){const o=(0,r.dataBind)(s,"color-mode"),n=(0,r.dataBind)(s,"color");if(!o)return!1;if(e&&e!==t.editor&&i.J.isNode(e)&&i.J.isElement(e))switch(o){case"color":e.style.color=n;break;case"background":e.style.backgroundColor=n}else t.execCommand("background"===o?o:"forecolor",!1,n)},tooltip:"Fill color or set the text color"}},39858(t){t.exports=' '},40037(t){t.exports=' '},40080(t,e,s){"use strict";s.d(e,{Mr(){return o},Op(){return a},Xm(){return n}});var i=s(71842),r=s(38322);function o(t,e){e&&"normal"!==e?"center"!==e?((0,r.A)(t,"float",e),(0,r.a)(t)):(0,r.A)(t,{float:"",display:"block",marginLeft:"auto",marginRight:"auto"}):((0,r.A)(t,"float")&&-1!==["right","left"].indexOf((""+(0,r.A)(t,"float")).toLowerCase())&&(0,r.A)(t,"float",""),(0,r.a)(t))}function n(t){i.J.each(t,(t=>{i.J.isHTMLElement(t)&&t.style.textAlign&&(t.style.textAlign="",t.style.cssText.trim().length||t.removeAttribute("style"))}))}function a(t,e){if(i.J.isNode(e)&&i.J.isElement(e))switch(n(e),t.toLowerCase()){case"justifyfull":e.style.textAlign="justify";break;case"justifyright":e.style.textAlign="right";break;case"justifyleft":e.style.textAlign="left";break;case"justifycenter":e.style.textAlign="center"}}},40119(t){"use strict";t.exports={Spellcheck:"Spellingcontrole"}},40594(t,e,s){"use strict";s.d(e,{X(){return i.X}});var i=s(92852)},40677(t,e,s){"use strict";s.d(e,{h(){return a}});var i=s(37923),r=s(12461),o=s(25376),n=s(98253);function a(t,e,s){if(!(0,n.K)(t)||!t.length)return;const a=t.split(".");let l=s,c=a[0];for(let t=0;a.length-1>t;t+=1)c=a[t],(0,i.c)(l[c])||(0,o.Q)(l[c])||(l[c]=(0,r.k)(a[t+1])?[]:{}),l=l[c];l&&(l[a[a.length-1]]=e)}},41111(t){t.exports=' '},41133(t,e,s){"use strict";s(36115).T.prototype.select={normalizeSelectionBeforeCutAndCopy:!1,normalizeTripleClick:!0}},41145(t){"use strict";t.exports={"Line height":"Çizgi yüksekliği"}},41159(t,e,s){"use strict";s.d(e,{y(){return o}});var i=s(55186),r=s(641);function o(t,e,s,o){const n="br"===s.toLowerCase(),{createInside:a}=e,l=a.element(s),c=a.element("br");return n||l.appendChild(c),o&&o.cssText&&l.setAttribute("style",o.cssText),i.J.after(t,l),i.J.before(n?l:c,t),(0,r.$)(l,e.editor,e.ed),l}},42055(t){"use strict";t.exports={"Line height":"Wysokość linii"}},42448(t,e,s){"use strict";s.d(e,{$(){return o}});var i=s(34796),r=s(44210);const o=(...t)=>((0,i.a)(Array.from)?Array.from:(0,r.c)("Array.from")??Array.from).apply(Array,t)},42589(t,e,s){"use strict";function i(t){return Array.isArray(t)?t:t.split(/[,\s]+/)}s.d(e,{u(){return i}})},42898(t,e,s){"use strict";s.d(e,{C(){return n}});var i=s(17352),r=s(71842),o=s(72874);function n(t,e,s){let n=!1;const{setCursorBefore:a,setCursorIn:l}=t.s;let c=r.J.closest(e,r.J.isElement,t.editor);if(!c||!r.J.isEmpty(c))return!1;const u=r.J.findNotEmptyNeighbor(e,s,t.editor);do{if(!c||!r.J.isEmpty(c)||r.J.isCell(c))break;{r.J.after(c,e);const s=r.J.closest(c,(t=>r.J.isElement(t)&&t!==c),t.editor);r.J.safeRemove(c),n=!0,c=s}}while(c);return!(!n||!(0,o.a)(t,e,s))||(!u||r.J.isText(u)||r.J.isTag(u,i.INSEPARABLE_TAGS)?a(e):l(u,!s),n)}},43218(t){t.exports=' '},43268(t){"use strict";t.exports={Spellcheck:"Controllo ortografico"}},43327(t,e,s){"use strict";s.d(e,{E(){return n}});var i=s(17352),r=s(55186),o=s(81779);function n(t,e,s){let o=e,n=o;for(;o&&!r.J.findNotEmptySibling(o,s)&&o.parentElement!==t.editor;)o=o.parentElement,n=o;if(r.J.isElement(n)&&r.J.isContentEditable(n,t.editor)){const o=r.J.findNotEmptySibling(n,s);if(o&&(((t,e,s,o)=>{const n=r.J.isTag(s,i.LIST_TAGS),l=r.J.isTag(e,i.LIST_TAGS),c=(t,e)=>e?t.firstElementChild:t.lastElementChild;return l?(s=t.createInside.element(t.o.enterBlock),r.J.before(e,s),a(t,c(e,o),s,o)):!(!s||!n||l)&&a(t,e,c(s,!o),o)})(t,n,o,s)||a(t,n,o,s)))return t.s.setCursorBefore(e),!0}return!1}function a(t,e,s,i){if(e&&r.J.isElement(s)){r.J.moveContent(e,s,!i,(0,o.g)(t));let n=e;for(;n&&n!==t.editor&&r.J.isEmpty(n);){const t=n.parentElement;r.J.safeRemove(n),n=t}return!0}return!1}},43431(t,e,s){"use strict";s.d(e,{h(){return i}});class i{constructor(){this.__map=new Map}on(t,e){return this.__map.has(t)||this.__map.set(t,new Set),this.__map.get(t)?.add(e),this}off(t,e){return this.__map.has(t)&&this.__map.get(t)?.delete(e),this}destruct(){this.__map.clear()}emit(t,...e){let s;return this.__map.has(t)&&this.__map.get(t)?.forEach((t=>{s=t(...e)})),s}}},43655(t,e,s){"use strict";s(36115).T.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}}},44210(t,e,s){"use strict";s.d(e,{c(){return a}});var i=s(17352),r=s(69052),o=s(16841);const n={};function a(t){if(!(t in n)){const e=i.globalDocument.createElement("iframe");try{if(e.src="about:blank",i.globalDocument.body.appendChild(e),!e.contentWindow)return null;const s=(0,o.J)(t,e.contentWindow),a=(0,o.J)(t.split(".").slice(0,-1).join("."),e.contentWindow);(0,r.T)(s)&&(n[t]=s.bind(a))}catch(t){if(!i.IS_PROD)throw t}finally{e.parentNode?.removeChild(e)}}return n[t]??null}},44636(t){t.exports=''},44906(t){t.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",null,"水平對齊","篩選","修改時間排序","名稱排序","大小排序","新增資料夾","重設","儲存","另存為...","調整大小","裁切","寬","高","維持長寬比","是","否","移除","選擇","選擇: %s","垂直對齊","分割","合併","新增欄","新增列",null,"刪除","垂直分割","水平分割","邊框","您的程式碼與 HTML 類似,是否貼上 HTML 格式?","貼上 HTML","保留原始格式","以純文字貼上","僅貼上內文","您只能編輯您自己的圖片。是否下載此圖片?","圖片上傳成功","調色盤","沒有檔案","重新命名","輸入新名稱","預覽","下載","從剪貼簿貼上","瀏覽器無法存取剪貼簿。","複製已選取項目","複製","邊框圓角","顯示全部","應用","請輸入此欄位","請輸入網址","預設","圓圈","點","方形","尋找","尋找上一個","尋找下一個","正在貼上 Word/Excel 文件的內容,是否保留原始格式?","貼上 Word 格式","清除格式","插入 class 名稱","按住 Alt 以調整自訂大小"]},44921(t,e,s){"use strict";var i=s(17352),r=s(56298),o=s(98434);s(36115).T.prototype.controls.preview={icon:"eye",command:"preview",mode:i.MODE_SOURCE+i.MODE_WYSIWYG,tooltip:"Preview"},r.fg.add("preview",(t=>{t.registerButton({name:"preview"}),t.registerCommand("preview",((e,s,i)=>{const r=t.dlg();r.setSize(1024,600).open("",t.i18n("Preview")).setModal(!0);const[,n]=(0,o.u)(t,i,"px",r.getElm("content"));r.e.on(r,"afterClose",n)}))}))},45062(t){t.exports=' '},45244(t){t.exports=' '},45512(t){t.exports=' '},45674(t){t.exports=' '},45698(t){"use strict";t.exports={Spellcheck:"Дүрмийн алдаа шалгах"}},46079(t,e,s){"use strict";var i=s(17352),r=s(71842),o=s(56298),n=s(97369),a=(s(97767),s(3392));const l=(t,e,s,i)=>{if(!e)return;if(t.has(e))return;const r=(0,a.i)(s.o.direction,e);t.add(e);let o=e.style[r]?parseInt(e.style[r],10):0;o+=s.o.indentMargin*("outdent"===i?-1:1),e.style[r]=o>0?o+"px":"",(0,n.attr)(e,"style")||(0,n.attr)(e,"style",null)};o.fg.add("indent",(t=>{t.registerButton({name:"indent",group:"indent"}).registerButton({name:"outdent",group:"indent"});const e=e=>{const s=new Set,{enter:o,enterBlock:a}=t.o,c=o.toLowerCase()===i.BR,u=t.s.current();if(c&&t.s.isCollapsed()&&u){const i=r.J.wrapNextInline(u,a,t);return l(s,i,t,e),!1}return t.s.eachSelection((i=>{t.s.save();let u=!!i&&r.J.up(i,r.J.isBlock,t.editor);if(!u&&i&&(u=(0,n.call)(c?r.J.wrapNextInline:r.J.wrapInline,i,c?a:o.toLowerCase(),t)),!u)return t.s.restore(),!1;l(s,u,t,e),t.s.restore()})),t.synchronizeValues(),!1};t.registerCommand("indent",{exec:e,hotkeys:["ctrl+]","cmd+]"]}),t.registerCommand("outdent",{exec:e,hotkeys:["ctrl+[","cmd+["]})}))},46173(t,e,s){"use strict";s.d(e,{x(){return Jodit}});var i,r=s(31635),o=s(17352),n=s(22664),a=s(56298),l=s(65147),c=s(53883),u=s(58597),d=s(36115),h=s(37435);const p="data-jodit-default-style-display",m="data-jodit-default-classes";let Jodit=i=class Jodit extends h.ViewWithToolbar{className(){return"Jodit"}waitForReady(){return this.isReady?Promise.resolve(this):this.async.promise((t=>{this.hookStatus("ready",(()=>t(this)))}))}static get ready(){return new Promise((t=>{a.RR.on("joditready",t)}))}get text(){if(this.editor)return this.editor.innerText||"";const t=this.createInside.div();return t.innerHTML=this.getElementValue(),t.innerText||""}get defaultTimeout(){return(0,l.isNumber)(this.o.defaultTimeout)?this.o.defaultTimeout:d.T.defaultOptions.defaultTimeout}static atom(t){return(0,l.markAsAtomic)(t)}static make(t,e){return new this(t,e)}static isJoditAssigned(t){return t&&(0,l.isJoditObject)(t.component)&&!t.component.isInDestruct}static get defaultOptions(){return d.T.defaultOptions}get createInside(){return new h.Create((()=>this.ed),this.o.createAttributes)}__setPlaceField(t,e){this.currentPlace||(this.currentPlace={},this.places=[this.currentPlace]),this.currentPlace[t]=e}get element(){return this.currentPlace.element}get editor(){return this.currentPlace.editor}set editor(t){this.__setPlaceField("editor",t)}get container(){return this.currentPlace.container}set container(t){this.__setPlaceField("container",t)}get workplace(){return this.currentPlace.workplace}get message(){return this.getMessageModule(this.workplace)}get statusbar(){return this.currentPlace.statusbar}get iframe(){return this.currentPlace.iframe}set iframe(t){this.__setPlaceField("iframe",t)}get history(){return this.currentPlace.history}get editorWindow(){return this.currentPlace.editorWindow}set editorWindow(t){this.__setPlaceField("editorWindow",t)}get ew(){return this.editorWindow}get editorDocument(){return this.currentPlace.editorWindow.document}get ed(){return this.editorDocument}get options(){return this.currentPlace.options}set options(t){this.__setPlaceField("options",t)}get s(){return this.selection}get uploader(){return this.getInstance("Uploader",this.o.uploader)}get filebrowser(){const t=this,e=(0,l.ConfigProto)({defaultTimeout:t.defaultTimeout,uploader:t.o.uploader,language:t.o.language,license:t.o.license,theme:t.o.theme,shadowRoot:t.o.shadowRoot,defaultCallback(e){e.files&&e.files.length&&e.files.forEach(((s,i)=>{const r=e.baseurl+s;e.isImages&&e.isImages[i]?t.s.insertImage(r,null,t.o.imageDefaultWidth):t.s.insertNode(t.createInside.fromHTML(`${r}`))}))}},this.o.filebrowser);return t.getInstance("FileBrowser",e)}get mode(){return this.__mode}set mode(t){this.setMode(t)}getNativeEditorValue(){const t=this.e.fire("beforeGetNativeEditorValue");return(0,l.isString)(t)?t:this.editor?this.editor.innerHTML:this.getElementValue()}setNativeEditorValue(t){const e={value:t};this.e.fire("beforeSetNativeEditorValue",e)||this.editor&&(this.editor.innerHTML=e.value)}get value(){return this.getEditorValue()}set value(t){this.setEditorValue(t),this.history.__processChanges()}synchronizeValues(){this.__imdSynchronizeValues()}__imdSynchronizeValues(){this.setEditorValue()}getEditorValue(t=!0,e){let s;if(s=this.e.fire("beforeGetValueFromEditor",e),void 0!==s)return s;s=this.getNativeEditorValue().replace(o.INVISIBLE_SPACE_REG_EXP(),""),t&&(s=s.replace(/]+id="jodit-selection_marker_[^>]+><\/span>/g,"")),"
"===s&&(s="");const i={value:s};return this.e.fire("afterGetValueFromEditor",i,e),i.value}setEditorValue(t){const e=this.e.fire("beforeSetValueToEditor",t);if(!1===e)return;if((0,l.isString)(e)&&(t=e),!this.editor)return void(void 0!==t&&this.__setElementValue(t));if(!(0,l.isString)(t)&&!(0,l.isVoid)(t))throw(0,l.error)("value must be string");(0,l.isVoid)(t)||this.getNativeEditorValue()===t||this.setNativeEditorValue(t),this.e.fire("postProcessSetEditorValue");const s=this.getElementValue(),i=this.getEditorValue();if(!this.__isSilentChange&&s!==i&&o.SAFE_COUNT_CHANGE_CALL>this.__callChangeCount){this.__setElementValue(i),this.__callChangeCount+=1;try{this.history.__upTick(),this.e.fire("change",i,s),this.e.fire(this.history,"change",i,s)}finally{this.__callChangeCount=0}}}updateElementValue(){this.__setElementValue(this.getEditorValue())}getElementValue(){return void 0!==this.element.value?this.element.value:this.element.innerHTML}__setElementValue(t){if(!(0,l.isString)(t))throw(0,l.error)("value must be string");if(this.element!==this.container&&t!==this.getElementValue()){const e={value:t},s=this.e.fire("beforeSetElementValue",e);(0,l.callPromise)(s,(()=>{void 0!==this.element.value?this.element.value=e.value:this.element.innerHTML=e.value,this.e.fire("afterSetElementValue",e)}))}}registerCommand(t,e,s){const i=t.toLowerCase();let r=this.commands.get(i);if(void 0===r&&(r=[],this.commands.set(i,r)),r.push(e),!(0,l.isFunction)(e)){const r=this.o.commandToHotkeys[i]||this.o.commandToHotkeys[t]||e.hotkeys;r&&this.registerHotkeyToCommand(r,i,s?.stopPropagation)}return this}registerHotkeyToCommand(t,e,s=!0){const i=(0,l.asArray)(t).map(l.normalizeKeyAliases).map((t=>t+".hotkey")).join(" ");this.e.off(i).on(i,((t,i)=>(i&&(i.shouldStop=s??!0),this.execCommand(e))))}execCommand(t,e,s,...i){if(this.s.isFocused()||this.s.focus(),this.o.readonly&&!this.o.allowCommandsInReadOnly.includes(t))return;let r;if(t=t.toLowerCase(),r=this.e.fire("beforeCommand"+(0,l.ucfirst)(t),e,s,...i),!1!==r&&(r=this.e.fire("beforeCommand",t,e,s,...i)),!1!==r&&(r=this.__execCustomCommands(t,e,s,...i)),!1!==r){this.s.focus();try{r=this.nativeExecCommand(t,e,s)}catch(t){if(!o.IS_PROD)throw t}}return this.e.fire("afterCommand",t,e,s),this.__imdSynchronizeValues(),r}nativeExecCommand(t,e,s){this.__isSilentChange=!0;try{return this.ed.execCommand(t,e,s)}finally{this.__isSilentChange=!1}}__execCustomCommands(t,e,s,...i){t=t.toLowerCase();const r=this.commands.get(t);if(void 0!==r){let o;return r.forEach((r=>{let n;n=(0,l.isFunction)(r)?r:r.exec;const a=n.call(this,t,e,s,...i);void 0!==a&&(o=a)})),o}}lock(t="any"){return!!super.lock(t)&&(this.__selectionLocked=this.s.save(),this.s.clear(),this.editor.classList.add("jodit_lock"),this.e.fire("lock",!0),!0)}unlock(){return!!super.unlock()&&(this.editor.classList.remove("jodit_lock"),this.__selectionLocked&&this.s.restore(),this.e.fire("lock",!1),!0)}getMode(){return this.mode}isEditorMode(){return this.getRealMode()===o.MODE_WYSIWYG}getRealMode(){if(this.getMode()!==o.MODE_SPLIT)return this.getMode();const t=this.od.activeElement;return t&&(t===this.iframe||h.Dom.isOrContains(this.editor,t)||h.Dom.isOrContains(this.toolbar.container,t))?o.MODE_WYSIWYG:o.MODE_SOURCE}setMode(t){const e=this.getMode(),s={mode:parseInt(""+t,10)},i=["jodit-wysiwyg_mode","jodit-source__mode","jodit_split_mode"];!1!==this.e.fire("beforeSetMode",s)&&(this.__mode=[o.MODE_SOURCE,o.MODE_WYSIWYG,o.MODE_SPLIT].includes(s.mode)?s.mode:o.MODE_WYSIWYG,this.o.saveModeInStorage&&this.storage.set("jodit_default_mode",this.mode),i.forEach((t=>{this.container.classList.remove(t)})),this.container.classList.add(i[this.mode-1]),e!==this.getMode()&&this.e.fire("afterSetMode"))}toggleMode(){let t=this.getMode();[o.MODE_SOURCE,o.MODE_WYSIWYG,this.o.useSplitMode?o.MODE_SPLIT:9].includes(t+1)?t+=1:t=o.MODE_WYSIWYG,this.setMode(t)}setDisabled(t){this.o.disabled=t;const e=this.__wasReadOnly;this.setReadOnly(t||e),this.__wasReadOnly=e,this.editor&&(this.editor.setAttribute("aria-disabled",""+t),this.container.classList.toggle("jodit_disabled",t),this.e.fire("disabled",t))}getDisabled(){return this.o.disabled}setReadOnly(t){this.__wasReadOnly!==t&&(this.__wasReadOnly=t,this.o.readonly=t,t?this.editor&&this.editor.removeAttribute("contenteditable"):this.editor&&this.editor.setAttribute("contenteditable","true"),this.e&&this.e.fire("readonly",t))}getReadOnly(){return this.o.readonly}focus(){this.getMode()!==o.MODE_SOURCE&&this.s.focus()}get isFocused(){return this.s.isFocused()}beforeInitHook(){}afterInitHook(){}initOptions(t){this.options=(0,l.ConfigProto)(t||{},d.T.defaultOptions)}initOwners(){this.editorWindow=this.o.ownerWindow,this.ownerWindow=this.o.ownerWindow}constructor(t,e){super(e,!0),this.isJodit=!0,this.commands=new Map,this.__selectionLocked=null,this.__wasReadOnly=!1,this.editorIsActive=!1,this.__mode=o.MODE_WYSIWYG,this.__callChangeCount=0,this.__isSilentChange=!1,this.__elementToPlace=new Map;try{const e=(0,l.resolveElement)(t,this.o.shadowRoot||this.od);if(i.isJoditAssigned(e))return e.component}catch(t){if(!o.IS_PROD)throw t;throw this.destruct(),t}this.setStatus(h.STATUSES.beforeInit),this.id=(0,l.attr)((0,l.resolveElement)(t,this.o.shadowRoot||this.od),"id")||""+(new Date).getTime(),a.VF[this.id]=this,this.attachEvents(e),this.e.on(this.ow,"resize",(()=>{this.e&&this.e.fire("resize")})),this.e.on("prepareWYSIWYGEditor",this.__prepareWYSIWYGEditor),this.selection=new h.Selection(this);const s=this.beforeInitHook();(0,l.callPromise)(s,(()=>{if(this.isInDestruct)return;this.e.fire("beforeInit",this),a.fg.__init(this),this.e.fire("afterPluginSystemInit",this),this.e.on("changePlace",(()=>{this.setReadOnly(this.o.readonly),this.setDisabled(this.o.disabled)})),this.places.length=0;const s=this.addPlace(t,e);a.VF[this.id]=this,(0,l.callPromise)(s,(()=>{this.isInDestruct||(this.e&&this.e.fire("afterInit",this),(0,l.callPromise)(this.afterInitHook()),this.setStatus(h.STATUSES.ready),this.e.fire("afterConstructor",this))}))}))}addPlace(t,e){const s=(0,l.resolveElement)(t,this.o.shadowRoot||this.od);this.attachEvents(e),s.attributes&&(0,l.toArray)(s.attributes).forEach((t=>{const s=t.name;let i=t.value;void 0===d.T.defaultOptions[s]||e&&void 0!==e[s]||(-1!==["readonly","disabled"].indexOf(s)&&(i=""===i||"true"===i),/^[0-9]+(\.)?([0-9]+)?$/.test(""+i)&&(i=Number(i)),this.options[s]=i)}));let i=this.c.div("jodit-container");i.classList.add("jodit"),i.classList.add("jodit-container"),i.classList.add("jodit_theme_"+(this.o.theme||"default")),g(this.o.className,i),this.o.containerStyle&&(0,l.css)(i,this.o.containerStyle);const{styleValues:r}=this.o;Object.keys(r).forEach((t=>{const e=(0,l.kebabCase)(t);i.style.setProperty("--jd-"+e,r[t])})),i.setAttribute("contenteditable","false");let o=null;this.o.inline&&(-1===["TEXTAREA","INPUT"].indexOf(s.nodeName)&&(i=s,s.setAttribute(m,""+s.className),o=i.innerHTML,i.innerHTML=""),i.classList.add("jodit_inline"),i.classList.add("jodit-container")),s!==i&&(s.style.display&&s.setAttribute(p,s.style.display),s.style.display="none");const n=this.c.div("jodit-workplace",{contenteditable:!1});i.appendChild(n),s.parentNode&&s!==i&&s.parentNode.insertBefore(i,s),Object.defineProperty(s,"component",{enumerable:!1,configurable:!0,value:this});const a=this.c.div("jodit-wysiwyg",{contenteditable:!0,"aria-disabled":!1,tabindex:this.o.tabIndex});n.appendChild(a);const c={editor:a,element:s,container:i,workplace:n,statusbar:new h.StatusBar(this,i),options:this.isReady?(0,l.ConfigProto)(e||{},d.T.defaultOptions):this.options,history:new h.History(this),editorWindow:this.ow};this.__elementToPlace.set(a,c),this.setCurrentPlace(c),this.places.push(c),this.setNativeEditorValue(this.getElementValue());const u=this.__initEditor(o),f=this.options;return(0,l.callPromise)(u,(()=>{f.enableDragAndDropFileToEditor&&f.uploader&&(f.uploader.url||f.uploader.insertImageAsBase64URI)&&this.uploader.bind(this.editor),this.__elementToPlace.get(this.editor)||this.__elementToPlace.set(this.editor,c),this.e.fire("afterAddPlace",c)}))}addDisclaimer(t){this.workplace.appendChild(t)}setCurrentPlace(t){this.currentPlace!==t&&(this.isEditorMode()||this.setMode(o.MODE_WYSIWYG),this.currentPlace=t,this.buildToolbar(),this.isReady&&this.e.fire("changePlace",t))}__initEditor(t){const e=this.__createEditor();return(0,l.callPromise)(e,(()=>{if(this.isInDestruct)return;if(this.element!==this.container){const t=this.getElementValue();t!==this.getEditorValue()&&this.setEditorValue(t)}else null!=t&&this.setEditorValue(t);let e=this.o.defaultMode;if(this.o.saveModeInStorage){const t=this.storage.get("jodit_default_mode");"string"==typeof t&&(e=parseInt(t,10))}this.setMode(e),this.o.readonly&&(this.__wasReadOnly=!1,this.setReadOnly(!0)),this.o.disabled&&this.setDisabled(!0);try{this.ed.execCommand("defaultParagraphSeparator",!1,this.o.enter.toLowerCase())}catch{}}))}__createEditor(){const t=this.editor,e=this.e.fire("createEditor",this);return(0,l.callPromise)(e,(()=>{this.isInDestruct||((!1===e||(0,l.isPromise)(e))&&h.Dom.safeRemove(t),g(this.o.editorClassName,this.editor),this.o.style&&(0,l.css)(this.editor,this.o.style),this.e.on("synchro",(()=>{this.setEditorValue()})).on("focus",(()=>{this.editorIsActive=!0})).on("blur",(()=>this.editorIsActive=!1)),this.__prepareWYSIWYGEditor(),this.o.triggerChangeEvent&&this.e.on("change",this.async.debounce((()=>{this.e&&this.e.fire(this.element,"change")}),this.defaultTimeout)))}))}__prepareWYSIWYGEditor(){const{editor:t}=this;if(this.o.direction){const t="rtl"===this.o.direction.toLowerCase()?"rtl":"ltr";this.editor.style.direction=t,this.editor.setAttribute("dir",t),this.container.style.direction=t,this.container.setAttribute("dir",t),this.toolbar.setDirection(t)}this.e.on(t,"mousedown touchstart focus",(()=>{const e=this.__elementToPlace.get(t);e&&this.setCurrentPlace(e)})).on(t,"compositionend",this.synchronizeValues).on(t,"selectionchange selectionstart keydown keyup input keypress dblclick mousedown mouseup click copy cut dragstart drop dragover paste resize touchstart touchend focus blur",(t=>{if(!this.o.readonly&&!this.__isSilentChange&&!(t instanceof this.ew.KeyboardEvent&&t.isComposing)&&this.e&&this.e.fire){if(!1===this.e.fire(t.type,t))return!1;this.synchronizeValues()}}))}fetch(t,e){const s=new c.d({url:t,...e},this.o.defaultAjaxOptions),i=()=>{this.e.off("beforeDestruct",i),this.progressbar.progress(100).hide(),s.destruct()};this.e.one("beforeDestruct",i),this.progressbar.show().progress(30);const r=s.send();return r.finally(i).catch((()=>null)),r}destruct(){if(this.isInDestruct)return;this.setStatus(h.STATUSES.beforeDestruct),this.__elementToPlace.clear(),(0,n.cached)(this,"storage")?.clear(),(0,n.cached)(this,"buffer")?.clear(),this.commands.clear(),this.__selectionLocked=null,this.e.off(this.ow,"resize"),this.e.off(this.ow),this.e.off(this.od),this.e.off(this.od.body);const t=this.editor?this.getEditorValue():"";this.places.forEach((({container:e,workplace:s,statusbar:i,element:r,iframe:o,editor:n,history:a})=>{if(r){if(r!==e)if(r.hasAttribute(p)){const t=(0,l.attr)(r,p);t&&(r.style.display=t,r.removeAttribute(p))}else r.style.display="";else r.hasAttribute(m)&&(r.className=(0,l.attr)(r,m)||"",r.removeAttribute(m));r.hasAttribute("style")&&!(0,l.attr)(r,"style")&&r.removeAttribute("style"),i.destruct(),this.e.off(e),this.e.off(r),this.e.off(n),h.Dom.safeRemove(s),h.Dom.safeRemove(n),e!==r&&h.Dom.safeRemove(e),Object.defineProperty(r,"component",{enumerable:!1,configurable:!0,value:null}),h.Dom.safeRemove(o),e===r&&(r.innerHTML=t),a.destruct()}})),this.places.length=0,this.currentPlace={},delete a.VF[this.id],super.destruct()}};function g(t,e){t&&t.split(/\s+/).forEach((t=>e.classList.add(t)))}Jodit.fatMode=o.FAT_MODE,Jodit.plugins=a.fg,Jodit.modules=a.av,Jodit.ns=a.av,Jodit.decorators={},Jodit.constants=o,Jodit.instances=a.VF,Jodit.lang=o.lang,Jodit.core={Plugin:h.Plugin},(0,r.Cg)([n.cache],Jodit.prototype,"createInside",null),(0,r.Cg)([n.cache],Jodit.prototype,"message",null),(0,r.Cg)([n.cache],Jodit.prototype,"s",null),(0,r.Cg)([n.cache],Jodit.prototype,"uploader",null),(0,r.Cg)([n.cache],Jodit.prototype,"filebrowser",null),(0,r.Cg)([(0,n.throttle)()],Jodit.prototype,"synchronizeValues",null),(0,r.Cg)([(0,n.watch)(":internalChange")],Jodit.prototype,"updateElementValue",null),(0,r.Cg)([n.autobind],Jodit.prototype,"__prepareWYSIWYGEditor",null),Jodit=i=(0,r.Cg)([(0,n.derive)(u.z)],Jodit)},46433(t){"use strict";t.exports={"Line height":"Lijnhoogte"}},46602(t,e,s){"use strict";s.d(e,{Qe(){return n},W8(){return o.W},dY(){return a}});var i=s(17352),r=s(55186),o=s(5298);function n(t,e,s,r){const o=t.nodeValue?.length?t.nodeValue:"";if(r&&o.replace((0,i.INVISIBLE_SPACE_REG_EXP_END)(),"").length>e)return!0;const n=(0,i.INVISIBLE_SPACE_REG_EXP_START)().exec(o);return s&&(n&&e>n[0].length||!n&&e>0)}function a(t,e,s,i,o,n){if((t=e.startContainer.childNodes[e.startOffset])||(t=e.startContainer.childNodes[e.startOffset-1],s=!0),t&&i&&!r.J.isText(t))if(!s&&r.J.isText(t.previousSibling))t=t.previousSibling;else if(o){let e=n(t);for(;e;){if(e&&r.J.isText(e)){t=e;break}e=n(e)}}if(t&&!i&&!r.J.isText(t)){let e=t,s=t;do{e=e.firstChild,s=s.lastChild}while(e&&s&&!r.J.isText(e));e===s&&e&&r.J.isText(e)&&(t=e)}return{node:t,rightMode:s}}s(83541)},46681(t,e,s){"use strict";s.d(e,{_(){return p}});var i=s(31635),r=s(24767),o=s(71151),n=s(66927),a=s(65147),l=s(98253),c=s(26150),u=s(29780),d=s(931),h=s(9645);let p=class t extends u.D{className(){return"UIImagePositionTab"}constructor(t,e,s){super(t,{availableClasses:t.o.image.availableClasses}),this.state=e,this.handlers=s}render({availableClasses:t}){return`
\n\t\t\t\n\t\t\t
\n\t\t\t\t\n\t\t\t\t*lock*\n\t\t\t\t\n\t\t\t\t\n\t\t\t\t\n\t\t\t
\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t${(()=>{const e=[];return t&&t.length>0?(e.push('")):e.push(''),e.join("")})()}\n\t\t
\n\t\t
\n\t\t\t\n\t\t\t\n\t\t
\n\t\t\n\t\t\t\n\t\t\t\n\t\t`}onStateAlignChange(){this.getElm("align").value=this.state.values.align}onChangeAlign(){const t=this.getElm("align");this.state.values.align=t.value}onStateValuesBorderRadiusChange(){this.getElm("borderRadius").value=""+this.state.values.borderRadius}onChangeBorderRadius(){const t=this.getElm("borderRadius");this.state.values.borderRadius=parseFloat(t.value)}onStateValuesIdChange(){this.getElm("id").value=this.state.values.id}onChangeId(){const t=this.getElm("id");this.state.values.id=t.value}onStateValuesStyleChange(){this.getElm("style").value=this.state.values.style}onChangeStyle(){const t=this.getElm("style");this.state.values.style=t.value}onStateValuesClassesChange(){this.getElm("classes").value=this.state.values.classes}onChangClasses(){const t=this.getElm("classes");this.state.values.classes=t.value}onLockMarginClick(t){this.state.marginIsLocked=!this.state.marginIsLocked,t.preventDefault()}onChangeMarginIsLocked(){const t=this.getElm("marginBottom"),e=this.getElm("marginRight"),s=this.getElm("marginLeft"),i=this.getElm("lockMargin");if([e,t,s].forEach((t=>{(0,c.C)(t,"disabled",this.state.marginIsLocked||null)})),i.innerHTML=d.I.get(this.state.marginIsLocked?"lock":"unlock"),this.state.marginIsLocked){const t=this.state.values.marginTop;this.state.values.marginRight=t,this.state.values.marginBottom=t,this.state.values.marginLeft=t}}onStateValuesMarginChange(){const t=this.getElm("marginTop"),e=this.getElm("marginRight"),s=this.getElm("marginBottom"),i=this.getElm("marginLeft");t.value=""+this.state.values.marginTop,e.value=""+this.state.values.marginRight,s.value=""+this.state.values.marginBottom,i.value=""+this.state.values.marginLeft}onChangeMargin(){const t=this.getElm("marginTop"),e=this.getElm("marginRight"),s=this.getElm("marginBottom"),i=this.getElm("marginLeft");this.state.values.marginTop=(0,h.G)(t.value),this.state.marginIsLocked?(this.state.values.marginRight=this.state.values.marginTop,this.state.values.marginBottom=this.state.values.marginTop,this.state.values.marginLeft=this.state.values.marginTop):(this.state.values.marginRight=(0,h.G)(e.value),this.state.values.marginBottom=(0,h.G)(s.value),this.state.values.marginLeft=(0,h.G)(i.value))}hideFieldByOptions(){const t=this.j.o.image;[["editMargins","editMargins"],["editAlign","editAlign"],["editStyle","editStyle"],["editClass","editClass"],["editId","editId"],["editBorderRadius","editBorderRadius"]].forEach((([e,s])=>{const i=this.getElm(s);(0,a.css)(i,"display",t[e]?null:"none")}))}};(0,i.Cg)([(0,o.A)("ready"),(0,n.w)("state.values.align")],p.prototype,"onStateAlignChange",null),(0,i.Cg)([(0,n.w)("align:change")],p.prototype,"onChangeAlign",null),(0,i.Cg)([(0,o.A)("ready"),(0,n.w)("state.values.borderRadius")],p.prototype,"onStateValuesBorderRadiusChange",null),(0,i.Cg)([(0,n.w)("borderRadius:change")],p.prototype,"onChangeBorderRadius",null),(0,i.Cg)([(0,o.A)("ready"),(0,n.w)("state.values.id")],p.prototype,"onStateValuesIdChange",null),(0,i.Cg)([(0,n.w)("id:change")],p.prototype,"onChangeId",null),(0,i.Cg)([(0,o.A)("ready"),(0,n.w)("state.values.style")],p.prototype,"onStateValuesStyleChange",null),(0,i.Cg)([(0,n.w)("style:change")],p.prototype,"onChangeStyle",null),(0,i.Cg)([(0,o.A)("ready"),(0,n.w)("state.values.classes")],p.prototype,"onStateValuesClassesChange",null),(0,i.Cg)([(0,n.w)("classes:change")],p.prototype,"onChangClasses",null),(0,i.Cg)([(0,n.w)("lockMargin:click")],p.prototype,"onLockMarginClick",null),(0,i.Cg)([(0,o.A)("ready"),(0,n.w)("state.marginIsLocked")],p.prototype,"onChangeMarginIsLocked",null),(0,i.Cg)([(0,o.A)("ready"),(0,n.w)(["state.values.marginTop","state.values.marginRight","state.values.marginBottom","state.values.marginLeft"])],p.prototype,"onStateValuesMarginChange",null),(0,i.Cg)([(0,n.w)(["marginTop:change","marginRight:change","marginBottom:change","marginLeft:change"])],p.prototype,"onChangeMargin",null),(0,i.Cg)([(0,o.A)("ready")],p.prototype,"hideFieldByOptions",null),p=(0,i.Cg)([r.s],p)},46939(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(55186),a=s(56298),l=s(65147),c=s(71005),u=s(11648);s(29581);const d="table_processor_observer",h="onMoveTableSelectCell";class p extends c.k{constructor(){super(...arguments),this.__selectedCell=null,this.__isSelectionMode=!1}get __tableModule(){return this.j.getInstance(u.X,this.j.o)}afterInit(t){t.o.tableAllowCellSelection&&t.e.on("keydown.select-cells",(t=>{t.key===r.KEY_TAB&&this.unselectCells()})).on("beforeCommand.select-cells",this.onExecCommand).on("afterCommand.select-cells",this.onAfterCommand).on(["clickEditor","mousedownTd","mousedownTh","touchstartTd","touchstartTh"].map((t=>t+".select-cells")).join(" "),this.onStartSelection).on("clickTr clickTbody",(()=>{const t=this.__tableModule.getAllSelectedCells().length;if(t)return t>1&&this.j.s.sel?.removeAllRanges(),!1}))}onStartSelection(t){if(this.j.o.readonly)return;if(this.unselectCells(),t===this.j.editor)return;const e=n.J.closest(t,"table",this.j.editor);return t&&e?(t.firstChild||t.appendChild(this.j.createInside.element("br")),this.__isSelectionMode=!0,this.__selectedCell=t,this.__tableModule.addSelection(t),this.j.e.on(e,"mousemove.select-cells touchmove.select-cells",this.j.async.throttle(this.__onMove.bind(this,e),{label:h,timeout:this.j.defaultTimeout/2})).on(e,"mouseup.select-cells touchend.select-cells",this.__onStopSelection.bind(this,e)),!1):void 0}onOutsideClick(){this.__selectedCell=null,this.__onRemoveSelection()}onChange(){this.j.isLocked||this.__isSelectionMode||this.__onRemoveSelection()}__onMove(t,e){if(this.j.o.readonly&&!this.j.isLocked)return;if(this.j.isLockedNotBy(d))return;const s=this.j.ed.elementFromPoint(e.clientX,e.clientY);if(!s)return;const i=n.J.closest(s,["td","th"],t);if(!i||!this.__selectedCell)return;i!==this.__selectedCell&&this.j.lock(d),this.unselectCells();const r=this.__tableModule.getSelectedBound(t,[i,this.__selectedCell]),o=this.__tableModule.formalMatrix(t);for(let t=r[0][0];r[1][0]>=t;t+=1)for(let e=r[0][1];r[1][1]>=e;e+=1)this.__tableModule.addSelection(o[t][e]);this.__tableModule.getAllSelectedCells().length>1&&this.j.s.sel?.removeAllRanges(),this.j.e.fire("hidePopup"),e.stopPropagation(),(()=>{const t=this.j.createInside.fromHTML('
 
');i.appendChild(t),this.j.async.setTimeout((()=>{t.parentNode?.removeChild(t)}),this.j.defaultTimeout/5)})()}__onRemoveSelection(t){if(!t?.buffer?.actionTrigger&&!this.__selectedCell&&this.__tableModule.getAllSelectedCells().length)return this.j.unlock(),this.unselectCells(),void this.j.e.fire("hidePopup","cells");this.__isSelectionMode=!1,this.__selectedCell=null}__onStopSelection(t,e){if(!this.__selectedCell)return;this.__isSelectionMode=!1,this.j.unlock();const s=this.j.ed.elementFromPoint(e.clientX,e.clientY);if(!s)return;const i=n.J.closest(s,["td","th"],t);if(!i)return;const r=n.J.closest(i,"table",t);if(r&&r!==t)return;const o=this.__tableModule.getSelectedBound(t,[i,this.__selectedCell]),a=this.__tableModule.formalMatrix(t),c=a[o[1][0]][o[1][1]],u=a[o[0][0]][o[0][1]];this.j.e.fire("showPopup",t,(()=>{const t=(0,l.position)(u,this.j),e=(0,l.position)(c,this.j);return{left:t.left,top:t.top,width:e.left-t.left+e.width,height:e.top-t.top+e.height}}),"cells"),(0,l.$$)("table",this.j.editor).forEach((t=>{this.j.e.off(t,"mousemove.select-cells touchmove.select-cells mouseup.select-cells touchend.select-cells")})),this.j.async.clearTimeout(h)}unselectCells(t){const e=this.__tableModule,s=e.getAllSelectedCells();s.length&&s.forEach((s=>{t&&t===s||e.removeSelection(s)}))}onExecCommand(t){if(/table(splitv|splitg|merge|empty|bin|binrow|bincolumn|addcolumn|addrow)/.test(t)){t=t.replace("table","");const e=this.__tableModule.getAllSelectedCells();if(e.length){const[s]=e;if(!s)return;const i=n.J.closest(s,"table",this.j.editor);if(!i)return;switch(t){case"splitv":this.__tableModule.splitVertical(i);break;case"splitg":this.__tableModule.splitHorizontal(i);break;case"merge":this.__tableModule.mergeSelected(i);break;case"empty":e.forEach((t=>n.J.detach(t)));break;case"bin":n.J.safeRemove(i);break;case"binrow":new Set(e.map((t=>t.parentNode))).forEach((t=>{this.__tableModule.removeRow(i,t.rowIndex)}));break;case"bincolumn":{const t=new Set;e.reduce(((e,s)=>(t.has(s.cellIndex)||(e.push(s),t.add(s.cellIndex)),e)),[]).forEach((t=>{this.__tableModule.removeColumn(i,t.cellIndex)}))}break;case"addcolumnafter":case"addcolumnbefore":this.__tableModule.appendColumn(i,s,"addcolumnafter"===t);break;case"addrowafter":case"addrowbefore":this.__tableModule.appendRow(i,s.parentNode,"addrowafter"===t)}}return!1}}onAfterCommand(t){/^justify/.test(t)&&this.__tableModule.getAllSelectedCells().forEach((e=>(0,l.alignElement)(t,e)))}beforeDestruct(t){this.__onRemoveSelection(),t.e.off(".select-cells")}}p.requires=["select"],(0,i.Cg)([o.autobind],p.prototype,"onStartSelection",null),(0,i.Cg)([(0,o.watch)(":outsideClick")],p.prototype,"onOutsideClick",null),(0,i.Cg)([(0,o.watch)(":change")],p.prototype,"onChange",null),(0,i.Cg)([o.autobind],p.prototype,"__onRemoveSelection",null),(0,i.Cg)([o.autobind],p.prototype,"__onStopSelection",null),(0,i.Cg)([o.autobind],p.prototype,"onExecCommand",null),(0,i.Cg)([o.autobind],p.prototype,"onAfterCommand",null),a.fg.add("selectCells",p)},47165(t,e,s){"use strict";s.d(e,{$6(){return a.$},F0(){return i.F},cY(){return r.c},nE(){return o.n},tS(){return n.t}});var i=s(5454),r=s(3006),o=s(47964),n=s(69198),a=s(1540)},47238(t){"use strict";t.exports={symbols:"符号"}},47317(t,e,s){"use strict";s.d(e,{b(){return r}});var i=s(55186);function r(t,e,s){return!!i.J.canSplitBlock(s)||(i.J.before(t,e.createInside.element("br")),!1)}},47321(t){"use strict";t.exports={symbols:"Símbolo"}},47791(t,e,s){"use strict";var i=s(31635),r=s(22664),o=s(71842),n=s(56298),a=s(65147),l=s(71005);s(64953);class c extends l.k{constructor(){super(...arguments),this.buttons=[{name:"link",group:"insert"}]}afterInit(t){t.o.link.followOnDblClick&&t.e.on("dblclick.link",this.__onDblClickOnLink),t.e.on(t.editor,"click.link",this.__onClickReadOnlyLink),t.o.link.processPastedLink&&t.e.on("processPaste.link",this.onProcessPasteLink),t.e.on("generateLinkForm.link",this.__generateForm),t.registerCommand("openLinkDialog",{exec:()=>{const e=t.dlg({resizable:!1}),s=this.__generateForm(t.s.current(),(()=>{e.close()}));s.container.classList.add("jodit-dialog_alert"),e.setContent(s),e.open(),t.async.requestIdleCallback((()=>{const{url_input:t}=(0,a.refs)(s.container);t?.focus()}))},hotkeys:t.o.link.hotkeys})}__onDblClickOnLink(t){if(!o.J.isTag(t.target,"a"))return;const e=(0,a.attr)(t.target,"href");e&&(location.href=e,t.preventDefault())}onProcessPasteLink(t,e){const{jodit:s}=this;if((0,a.isURL)(e)&&s.o.link.processPastedLink){if(s.e.stopPropagation("processPaste"),s.o.link.processVideoLink){const t=(0,a.call)(s.o.video?.parseUrlToVideoEmbed??a.convertMediaUrlToVideoEmbed,e,{width:s.o.video?.defaultWidth,height:s.o.video?.defaultHeight});if(t!==e)return s.createInside.fromHTML(t)}if(s.s.isCollapsed()){const t=s.createInside.element("a");return t.setAttribute("href",e),t.textContent=e,s.e.fire("applyLink",s,t,null),t}return s.s.commitStyle({element:"a",attributes:{href:e}}),!0}}__generateForm(t,e){const{jodit:s}=this,i=s.i18n.bind(s),{openInNewTabCheckbox:r,noFollowCheckbox:n,formTemplate:l,formClassName:c,modeClassName:u}=s.o.link,d=l(s),h=(0,a.isString)(d)?s.c.fromHTML(d,{target_checkbox_box:r,nofollow_checkbox_box:n}):d,p=o.J.isElement(h)?h:h.container,m=(0,a.refs)(p),{insert:g,unlink:f,content_input_box:v}=m,{target_checkbox:b,nofollow_checkbox:y,url_input:_}=m,w=o.J.isImage(t);let{content_input:C}=m;const{className_input:k}=m,{className_select:S}=m;let T;C||(C=s.c.element("input",{type:"hidden",ref:"content_input"})),c&&p.classList.add(c),w&&o.J.hide(v);const E=()=>T?T.innerText:(0,a.stripTags)(s.s.range.cloneContents(),s.ed);T=!(!t||!o.J.closest(t,"a",s.editor))&&o.J.closest(t,"a",s.editor),!w&&t&&(C.value=E()),T?(_.value=(0,a.attr)(T,"href")||"",u&&((t,e,s,i)=>{switch(t){case"input":e&&(e.value=(0,a.attr)(s,"class")||"");break;case"select":if(i){for(let t=0;i.selectedOptions.length>t;t++){const e=i.options.item(t);e&&(e.selected=!1)}((0,a.attr)(s,"class")||"").split(" ").forEach((t=>{if(t)for(let e=0;i.options.length>e;e++){const s=i.options.item(e);s?.value&&s.value===t&&(s.selected=!0)}}))}}})(u,k,T,S),r&&b&&(b.checked="_blank"===(0,a.attr)(T,"target")),n&&y&&(y.checked="nofollow"===(0,a.attr)(T,"rel")),g.textContent=i("Update")):o.J.hide(f),s.editor.normalize();const x=s.history.snapshot.make();f&&s.e.on(f,"click",(t=>{s.s.restore(),s.history.snapshot.restore(x),T&&o.J.unwrap(T),s.synchronizeValues(),e(),t.preventDefault()}));const I=()=>{if(!_.value.trim().length)return _.focus(),_.classList.add("jodit_error"),!1;let t;s.s.restore(),s.s.removeMarkers(),s.editor.normalize(),s.history.snapshot.restore(x);const i=E()!==C.value.trim(),l=s.createInside;if(T&&o.J.isOrContains(s.editor,T))t=[T];else{if(s.s.isCollapsed()){const e=l.element("a");s.s.insertNode(e,!1,!1),t=[e]}else{const e=s.s.current();t=o.J.isTag(e,"img")?[o.J.wrap(e,"a",l)]:s.s.wrapInTag("a")}t.forEach((t=>s.s.select(t)))}return t.forEach((t=>{(0,a.attr)(t,"href",_.value),((t,e,s,i)=>{if(t&&(e??s))if("input"===t)""===e.value&&i.hasAttribute("class")&&(0,a.attr)(i,"class",null),""!==e.value&&(0,a.attr)(i,"class",e.value);else if("select"===t){i.hasAttribute("class")&&(0,a.attr)(i,"class",null);for(let t=0;s.selectedOptions.length>t;t++){const e=s.selectedOptions.item(t)?.value;e&&i.classList.add(e)}}})(u,k,S,t),w||((t,e,s,i)=>{let r=t.textContent;e.value.trim().length?s&&(r=e.value):r=i.value,r!==t.textContent&&(t.textContent=r)})(t,C,i,_),r&&b&&(0,a.attr)(t,"target",b.checked?"_blank":null),n&&y&&(0,a.attr)(t,"rel",y.checked?"nofollow":null),s.e.fire("applyLink",s,t,h)})),s.synchronizeValues(),e(),!1};return o.J.isElement(h)?s.e.on(h,"submit",(t=>(t.preventDefault(),t.stopImmediatePropagation(),I(),!1))):h.onSubmit(I),h}beforeDestruct(t){t.e.off("generateLinkForm.link",this.__generateForm).off("dblclick.link",this.__onDblClickOnLink).off(t.editor,"click.link",this.__onClickReadOnlyLink).off("processPaste.link",this.onProcessPasteLink)}__onClickReadOnlyLink(t){const{jodit:e}=this;e.o.readonly&&e.o.link.preventReadOnlyNavigation&&o.J.isTag(t.target,"a")&&t.preventDefault()}}(0,i.Cg)([r.autobind],c.prototype,"__onDblClickOnLink",null),(0,i.Cg)([r.autobind],c.prototype,"onProcessPasteLink",null),(0,i.Cg)([r.autobind],c.prototype,"__generateForm",null),(0,i.Cg)([r.autobind],c.prototype,"__onClickReadOnlyLink",null),n.fg.add("link",c)},47964(t,e,s){"use strict";s.d(e,{n(){return a}});var i=s(31635),r=s(24767),o=s(92032),n=s(69198);let a=class t extends n.t{className(){return"UIFileInput"}createContainer(t){this.button=new o.lD(this.j,{tooltip:t.tooltip,icon:{name:"plus"}});const{container:e}=this.button;this.nativeInput||(this.nativeInput=this.createNativeInput(t));const{nativeInput:s}=this;return s.classList.add(this.getFullElName("input")),e.classList.add(this.componentName),e.appendChild(s),e}createNativeInput(t){return this.j.create.fromHTML(``)}constructor(t,e){super(t,{type:"file",...e}),this.state={...n.t.defaultState,type:"file",onlyImages:!0}}};a=(0,i.Cg)([r.s],a)},48007(t){t.exports=' '},48053(t,e,s){"use strict";s.d(e,{q(){return l}});var i=s(31635),r=s(22664),o=s(25376),n=s(98253),a=s(3258);let l=class t extends a.I{className(){return"ToolbarSelect"}update(){super.update(),this.state.icon.name="";const{list:t,data:e}=this.control;if(t){let s=this.state.value||(e&&(0,n.K)(e.currentValue)?e.currentValue:void 0);s||(s=Object.keys(t)[0]);const i=""+((0,o.Q)(t)&&t[""+s]||s);this.state.text=this.control.textTemplate?.(this.jodit,i)??i}}};l=(0,i.Cg)([r.component],l)},48207(t){"use strict";t.exports={symbols:"simbol"}},48647(t,e,s){"use strict";s.d(e,{u(){return n}});var i=s(64567),r=s(69052),o=s(50156);function n(t){return(e,s)=>{if(!(0,r.T)(e[s]))throw(0,o.z3)("Handler must be a Function");e.hookStatus(i.f.ready,(e=>{const{async:i}=e,r=e[s];let o=0;Object.defineProperty(e,s,{configurable:!0,value:function s(...n){i.clearTimeout(o),t(e)?r.apply(e,n):o=i.setTimeout((()=>s(...n)),10)}})}))}}},48791(t,e,s){"use strict";s.d(e,{m(){return i}});const i=(t,e)=>{!1!==(Object.getOwnPropertyDescriptor(t,e)||{}).enumerable&&Object.defineProperty(t,e,{enumerable:!1,set(t){Object.defineProperty(this,e,{enumerable:!1,writable:!0,value:t})}})}},48840(t,e,s){"use strict";s.d(e,{O(){return i.O}});var i=s(86572)},48842(t){t.exports=' '},49289(t,e,s){"use strict";var i=s(56298),r=s(65147),o=s(931),n=s(36115),a=(s(73124),s(52450)),l=s.n(a),c=s(41111),u=s.n(c),d=s(49972),h=s.n(d),p=s(45062),m=s.n(p),g=s(18605),f=s.n(g),v=s(83389),b=s.n(v);i.fg.add("bold",(t=>{const e=e=>{const s=n.T.defaultOptions.controls[e],i={...s.css};let o;return Object.keys(i).forEach((t=>{o||(o={}),o[t]=(0,r.isArray)(i[t])?i[t][0]:i[t]})),t.s.commitStyle({element:s.tags?s.tags[0]:void 0}),t.synchronizeValues(),!1};["bold","italic","underline","strikethrough"].forEach((e=>{t.registerButton({name:e,group:"font-style"})})),["superscript","subscript"].forEach((e=>{t.registerButton({name:e,group:"script"})})),t.registerCommand("bold",{exec:e,hotkeys:["ctrl+b","cmd+b"]}).registerCommand("italic",{exec:e,hotkeys:["ctrl+i","cmd+i"]}).registerCommand("underline",{exec:e,hotkeys:["ctrl+u","cmd+u"]}).registerCommand("strikethrough",{exec:e}).registerCommand("subscript",{exec:e}).registerCommand("superscript",{exec:e})})),o.I.set("bold",l()).set("italic",u()).set("strikethrough",h()).set("subscript",m()).set("superscript",f()).set("underline",b())},49405(t,e,s){"use strict";s.d(e,{P(){return l}});var i=s(31635),r=s(22664),o=s(71842),n=s(65147),a=s(35265);let l=class t extends a.lD{className(){return"ToolbarContent"}update(){const t=this.control.getContent(this.j,this);((0,n.isString)(t)||t.parentNode!==this.container)&&(o.J.detach(this.container),this.container.appendChild((0,n.isString)(t)?this.j.create.fromHTML(t):t)),super.update()}createContainer(){return this.j.c.span(this.componentName)}constructor(t,e,s=null){super(t),this.control=e,this.target=s,this.container.classList.add(`${this.componentName}_${this.clearName(e.name)}`),(0,n.attr)(this.container,"role","content")}};l=(0,i.Cg)([r.component],l)},49429(t,e,s){"use strict";s.d(e,{Hp(){return o},mA(){return r},y6(){return n}});var i=s(28616);function r(t){return t&&t.isAtom}function o(t){return Object.defineProperty(t,"isAtom",{enumerable:!1,value:!0,configurable:!1}),t}function n(t){return JSON.parse((0,i.A)(t))}},49458(t){"use strict";t.exports={Spellcheck:"Helyesírás-ellenőrzés"}},49717(t){"use strict";t.exports={"copy-format":"Kopioi muotoilu"}},49744(t,e,s){"use strict";s.d(e,{x(){return i}});const i=(t,e)=>{const s=e.getComputedStyle(t);let i=t.clientWidth;return i-=parseFloat(s.paddingLeft||"0")+parseFloat(s.paddingRight||"0"),i}},49777(t,e,s){"use strict";var i=s(71842),r=s(56298),o=s(65147),n=s(931),a=s(36115),l=s(16116),c=s(64831);n.I.set("image",s.n(c)()),a.T.prototype.controls.image={popup(t,e,s){let r=null;return e&&!i.J.isText(e)&&i.J.isHTMLElement(e)&&(i.J.isTag(e,"img")||(0,o.$$)("img",e).length)&&(r=i.J.isTag(e,"img")?e:(0,o.$$)("img",e)[0]),t.s.save(),(0,l.kG)(t,{filebrowser(e){t.s.restore(),e.files&&e.files.forEach((s=>t.s.insertImage(e.baseurl+s,null,t.o.imageDefaultWidth))),s()},upload:!0,async url(e,i){t.s.restore(),/^[a-z\d_-]+(\.[a-z\d_-]+)+/i.test(e)&&(e="//"+e);const o=r||t.createInside.element("img");o.setAttribute("src",e),o.setAttribute("alt",i),r||await t.s.insertImage(o,null,t.o.imageDefaultWidth),s()}},r,s)},tags:["img"],tooltip:"Insert Image"},r.fg.add("image",(t=>{t.registerButton({name:"image",group:"media"})}))},49853(t,e,s){"use strict";s.d(e,{d(){return d}});var i=s(31635),r=s(64890),o=s(17352),n=s(52201),a=s(65147),l=s(50156),c=s(36115),u=(s(27337),s(91672));class d{className(){return"Ajax"}constructor(t,e=c.T.prototype.defaultAjaxOptions){this.__async=new r.j,this.__isFulfilled=!1,this.__activated=!1,this.__isDestructed=!1,this.options=(0,a.ConfigProto)(t||{},e),this.xhr=this.o.xhr?this.o.xhr():new XMLHttpRequest}__buildParams(t,e){return(0,a.isPlainObject)(t)&&this.options.contentType&&this.options.contentType.includes("application/json")?JSON.stringify(t):(0,a.isFunction)(this.o.queryBuild)?this.o.queryBuild.call(this,t,e):(0,a.isString)(t)||t instanceof o.globalWindow.FormData||"object"==typeof t&&null!=t&&(0,a.isFunction)(t.append)?t:(0,a.buildQuery)(t)}get o(){return this.options}abort(){if(this.__isFulfilled)return this;try{this.__isFulfilled=!0,this.xhr.abort()}catch{}return this}send(){this.__activated=!0;const{xhr:t,o:e}=this,s=this.prepareRequest();return this.__async.promise((async(i,r)=>{const o=()=>{this.__isFulfilled=!0,r(l.FI("Connection error"))},n=()=>{this.__isFulfilled=!0,i(new u.Y(s,t.status,t.statusText,t.responseType?t.response:t.responseText))};t.onload=n,t.onabort=()=>{this.__isFulfilled=!0,r(l.h2("Abort connection"))},t.onerror=o,t.ontimeout=o,e.responseType&&(t.responseType=e.responseType),t.onprogress=t=>{let e=0;t.lengthComputable&&(e=t.loaded/t.total*100),this.options.onProgress?.(e)},t.onreadystatechange=()=>{this.options.onProgress?.(10),t.readyState===XMLHttpRequest.DONE&&(e.successStatuses.includes(t.status)?n():t.statusText&&(this.__isFulfilled=!0,r(l.FI(t.statusText))))},t.withCredentials=e.withCredentials??!1;const{url:c,data:d,method:h}=s;t.open(h,c,!0),e.contentType&&t.setRequestHeader&&t.setRequestHeader("Content-type",e.contentType);let{headers:p}=e;(0,a.isFunction)(p)&&(p=await p.call(this)),p&&t.setRequestHeader&&Object.keys(p).forEach((e=>{t.setRequestHeader(e,p[e])})),this.__async.setTimeout((()=>{t.send(d?this.__buildParams(d):void 0)}),0)}))}prepareRequest(){if(!this.o.url)throw l.z3("Need URL for AJAX request");let t=this.o.url;const e=this.o.data,s=(this.o.method||"get").toLowerCase();if("get"===s&&e&&(0,a.isPlainObject)(e)){const s=t.indexOf("?");if(-1!==s){const i=(0,a.parseQuery)(t);t=t.substring(0,s)+"?"+(0,a.buildQuery)({...i,...e})}else t+="?"+(0,a.buildQuery)(this.o.data)}const i={url:t,method:s,data:e};return d.log.splice(100),d.log.push(i),i}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__activated&&!this.__isFulfilled&&(this.abort(),this.__isFulfilled=!0),this.__async.destruct())}}d.log=[],(0,i.Cg)([n.Ay],d.prototype,"destruct",null)},49931(t,e,s){"use strict";var i=s(71842),r=s(97369),o=s(931),n=s(77112),a=s(83797),l=s(97324),c=s(31859),u=s(62994),d=s(53804);const h="jodit-file-browser-preview",p=(t="next",e="right")=>`
`+o.I.get("angle-"+e)+"";e.A=t=>{if(!t.o.contextMenu)return()=>{};const e=(0,a.V)(t);return s=>{const o=(0,u.Gq)(s.target,t.container);if(!o)return;let a=o;const m=t.options,g=t=>(0,r.attr)(a,t)||"";return t.async.setTimeout((()=>{const f=(0,u.PZ)(o,(0,n.a)(t));f&&(t.state.activeElements=[f],e.show(s.clientX,s.clientY,[!("1"===g("data-is-file")||!m.editImage||!t.dataProvider.canI("ImageResize")&&!t.dataProvider.canI("ImageCrop"))&&{icon:"pencil",title:"Edit",exec(){return d.B.call(t,g("href"),g("data-name"),g("data-path"),g("data-source"))}},!!t.dataProvider.canI("FileRename")&&{icon:"italic",title:"Rename",exec(){t.e.fire("fileRename.filebrowser",g("data-name"),g("data-path"),g("data-source"))}},!!t.dataProvider.canI("FileRemove")&&{icon:"bin",title:"Delete",async exec(){try{await(0,l.W)(t,g("data-name"),g("data-source"))}catch(e){return t.status(e)}return t.state.activeElements=[],(0,c.r)(t).catch(t.status)}},!!m.preview&&{icon:"eye",title:"Preview",exec(){const e=t.dlg({buttons:["fullsize","dialog.close"]}),s=t.c.div(h,'
'),o=t.c.div(h+"__box"),n=t.c.fromHTML(p()),l=t.c.fromHTML(p("prev","left")),c=r=>{const c=t.c.element("img");c.setAttribute("src",r);const u=()=>{t.isInDestruct||(t.e.off(c,"load"),i.J.detach(s),m.showPreviewNavigation&&(i.J.prevWithClass(a,t.files.getFullElName("item"))&&s.appendChild(l),i.J.nextWithClass(a,t.files.getFullElName("item"))&&s.appendChild(n)),s.appendChild(o),o.appendChild(c),e.setPosition(),t?.events?.fire("previewOpenedAndLoaded"))};t.e.on(c,"load",u),c.complete&&u()};t.e.on([n,l],"click",(function(){if(a=this===n?i.J.nextWithClass(a,t.files.getFullElName("item")):i.J.prevWithClass(a,t.files.getFullElName("item")),!a)throw(0,r.error)("Need element");i.J.detach(s),i.J.detach(o),s.innerHTML='
',c(g("href"))})),t.e.on("beforeDestruct",(()=>{e.destruct()})),e.container.classList.add(h+"__dialog"),e.setContent(s),e.setPosition(),e.open(),c(g("href")),t.events.on("beforeDestruct",(()=>{e.destruct()})).fire("previewOpened")}},{icon:"upload",title:"Download",exec(){const e=g("href");e&&t.ow.open(e)}}]))}),t.defaultTimeout),t.e.on("beforeClose",(()=>{e.close()})).on("beforeDestruct",(()=>e.destruct())),s.stopPropagation(),s.preventDefault(),!1}}},49972(t){t.exports=' '},49983(t){t.exports=' '},49989(t){t.exports=' '},50025(t,e,s){"use strict";s.d(e,{Xr(){return n.X},bk(){return i.b},d$(){return n.d},h5(){return r.h},sH(){return o.s}});var i=s(50658),r=s(43431),o=s(32332),n=s(10004)},50156(t,e,s){"use strict";s.d(e,{FI(){return i.FI},Rc(){return r.Rc},ZW(){return r.ZW},fF(){return i.fF},h2(){return r.h2},rV(){return r.rV},z3(){return i.z3}});var i=s(76166),r=s(20222)},50248(t,e,s){"use strict";var i=s(36115);i.T.prototype.showPlaceholder=!0,i.T.prototype.placeholder="Type something",i.T.prototype.useInputsPlaceholder=!0},50658(t,e,s){"use strict";s.d(e,{b(){return u}});var i=s(17352),r=s(42589),o=s(37923),n=s(69052),a=s(98253),l=s(50156),c=s(10004);class u{mute(t){return this.__mutedEvents.add(t??"*"),this}isMuted(t){return!(!t||!this.__mutedEvents.has(t))||this.__mutedEvents.has("*")}unmute(t){return this.__mutedEvents.delete(t??"*"),this}__eachEvent(t,e){(0,r.u)(t).map((t=>t.trim())).forEach((t=>{const s=t.split(".");e.call(this,s[0],s[1]||c.X)}))}__getStore(t){if(!t)throw(0,l.z3)("Need subject");if(void 0===t[this.__key]){const e=new c.d;Object.defineProperty(t,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:e})}return t[this.__key]}__removeStoreFromSubject(t){void 0!==t[this.__key]&&Object.defineProperty(t,this.__key,{enumerable:!1,configurable:!0,writable:!0,value:void 0})}__triggerNativeEvent(t,e){const s=this.__doc.createEvent("HTMLEvents");(0,a.K)(e)?s.initEvent(e,!0,!0):(s.initEvent(e.type,e.bubbles,e.cancelable),["screenX","screenY","clientX","clientY","target","srcElement","currentTarget","timeStamp","which","keyCode"].forEach((t=>{Object.defineProperty(s,t,{value:e[t],enumerable:!0})})),Object.defineProperty(s,"originalEvent",{value:e,enumerable:!0})),t.dispatchEvent(s)}get current(){return this.currents[this.currents.length-1]}on(t,e,s,r){let c,u,h,p;if((0,a.K)(t)||(0,a.B)(t)?(c=this,u=t,h=e,p=s):(c=t,u=e,h=s,p=r),!(0,a.K)(u)&&!(0,a.B)(u)||0===u.length)throw(0,l.z3)("Need events names");if(!(0,n.T)(h))throw(0,l.z3)("Need event handler");if((0,o.c)(c))return c.forEach((t=>{this.on(t,u,h,p)})),this;const m=c,g=this.__getStore(m),f=this;let v=function(t,...e){if(!f.isMuted(t))return h&&h.call(this,...e)};return d(m)&&(v=function(t){if(!f.isMuted(t.type))return f.__prepareEvent(t),h&&!1===h.call(this,t)?(t.preventDefault(),t.stopImmediatePropagation(),!1):void 0}),this.__eachEvent(u,((t,e)=>{if(0===t.length)throw(0,l.z3)("Need event name");if(!1===g.indexOf(t,e,h)&&(g.set(t,e,{event:t,originalCallback:h,syntheticCallback:v},p?.top),d(m))){const e=i.PASSIVE_EVENTS.has(t)?{passive:!0,capture:p?.capture??!1}:p?.capture??!1;v.options=e,m.addEventListener(t,v,e),this.__memoryDOMSubjectToHandler(m,v)}})),this}__memoryDOMSubjectToHandler(t,e){const s=this.__domEventsMap.get(t)||new Set;s.add(e),this.__domEventsMap.set(t,s)}__unmemoryDOMSubjectToHandler(t,e){const s=this.__domEventsMap,i=s.get(t)||new Set;i.delete(e),i.size?s.set(t,i):s.delete(t)}one(t,e,s,i){let r,o,n,l;(0,a.K)(t)||(0,a.B)(t)?(r=this,o=t,n=e,l=s):(r=t,o=e,n=s,l=i);const c=(...t)=>(this.off(r,o,c),n(...t));return this.on(r,o,c,l),this}off(t,e,s){let i,r,l;if((0,a.K)(t)||(0,a.B)(t)?(i=this,r=t,l=e):(i=t,r=e,l=s),(0,o.c)(i))return i.forEach((t=>{this.off(t,r,l)})),this;const u=i,h=this.__getStore(u);if(!(0,a.K)(r)&&!(0,a.B)(r)||0===r.length)return h.namespaces().forEach((t=>{this.off(u,"."+t)})),this.__removeStoreFromSubject(u),this;const p=t=>{d(u)&&(u.removeEventListener(t.event,t.syntheticCallback,t.syntheticCallback.options??!1),this.__unmemoryDOMSubjectToHandler(u,t.syntheticCallback))},m=(t,e)=>{if(""===t)return void h.events(e).forEach((t=>{""!==t&&m(t,e)}));const s=h.get(t,e);if(s&&s.length)if((0,n.T)(l)){const i=h.indexOf(t,e,l);!1!==i&&(p(s[i]),s.splice(i,1),s.length||h.clearEvents(e,t))}else s.forEach(p),s.length=0,h.clearEvents(e,t)};return this.__eachEvent(r,((t,e)=>{e===c.X?h.namespaces().forEach((e=>{m(t,e)})):m(t,e)})),h.isEmpty()&&this.__removeStoreFromSubject(u),this}stopPropagation(t,e){const s=(0,a.K)(t)?this:t,i=(0,a.K)(t)?t:e;if("string"!=typeof i)throw(0,l.z3)("Need event names");const r=this.__getStore(s);this.__eachEvent(i,((t,e)=>{const i=r.get(t,e);i&&this.__stopped.push(i),e===c.X&&r.namespaces(!0).forEach((e=>this.stopPropagation(s,t+"."+e)))}))}__removeStop(t){if(t){const e=this.__stopped.indexOf(t);-1!==e&&this.__stopped.splice(0,e+1)}}__isStopped(t){return void 0!==t&&-1!==this.__stopped.indexOf(t)}fire(t,e,...s){let i,r;const o=(0,a.K)(t)?this:t,n=(0,a.K)(t)?t:e,u=(0,a.K)(t)?[e,...s]:s;if(!d(o)&&!(0,a.K)(n))throw(0,l.z3)("Need events names");const h=this.__getStore(o);return!(0,a.K)(n)&&d(o)?this.__triggerNativeEvent(o,e):this.__eachEvent(n,((t,e)=>{if(d(o))this.__triggerNativeEvent(o,t);else{const s=h.get(t,e);if(s)try{[...s].every((e=>!this.__isStopped(s)&&(this.currents.push(t),r=e.syntheticCallback.call(o,t,...u),this.currents.pop(),void 0!==r&&(i=r),!0)))}finally{this.__removeStop(s)}e!==c.X||d(o)||h.namespaces().filter((t=>t!==e)).forEach((e=>{const s=this.fire.call(this,o,t+"."+e,...u);void 0!==s&&(i=s)}))}})),i}constructor(t){this.__domEventsMap=new Map,this.__mutedEvents=new Set,this.__key="__JoditEventEmitterNamespaces",this.__doc=i.globalDocument,this.__prepareEvent=t=>{t.cancelBubble||(t.composed&&(0,n.T)(t.composedPath)&&t.composedPath()[0]&&Object.defineProperty(t,"target",{value:t.composedPath()[0],configurable:!0,enumerable:!0}),t.type.match(/^touch/)&&t.changedTouches&&t.changedTouches.length&&["clientX","clientY","pageX","pageY"].forEach((e=>{Object.defineProperty(t,e,{value:t.changedTouches[0][e],configurable:!0,enumerable:!0})})),t.originalEvent||(t.originalEvent=t),"paste"===t.type&&void 0===t.clipboardData&&this.__doc.defaultView.clipboardData&&Object.defineProperty(t,"clipboardData",{get:()=>this.__doc.defaultView.clipboardData,configurable:!0,enumerable:!0}))},this.currents=[],this.__stopped=[],this.__isDestructed=!1,t&&(this.__doc=t),this.__key+=(new Date).getTime()}destruct(){this.__isDestructed||(this.__isDestructed=!0,this.__domEventsMap.forEach(((t,e)=>{this.off(e)})),this.__domEventsMap.clear(),this.__mutedEvents.clear(),this.currents.length=0,this.__stopped.length=0,this.off(this),this.__getStore(this).clear(),this.__removeStoreFromSubject(this))}}function d(t){return(0,n.T)(t.addEventListener)}},50974(t,e,s){"use strict";s(36115).T.prototype.tab={tabInsideLiInsertNewList:!0}},51162(t){"use strict";t.exports={"Line height":"Altezza linea"}},51170(t){"use strict";t.exports={"copy-format":"opmaak kopiëren"}},51271(t,e,s){"use strict";s.r(e),s.d(e,{required(){return o},url(){return n}});var i=s(6939),r=s(59101);const o=t=>!!(0,r.Bq)(t.value).length||(t.error="Please fill out this field",!1),n=t=>!!(0,i.m)((0,r.Bq)(t.value))||(t.error="Please enter a web address",!1)},51329(t,e,s){"use strict";var i=s(931),r=s(36115),o=s(51457),n=s.n(o),a=s(23602),l=s.n(a),c=s(86899),u=s.n(c),d=s(95320),h=s.n(d);r.T.prototype.controls.cut={command:"cut",isDisabled(t){return t.s.isCollapsed()},tooltip:"Cut selection"},r.T.prototype.controls.copy={command:"copy",isDisabled(t){return t.s.isCollapsed()},tooltip:"Copy selection"},r.T.prototype.controls.selectall={icon:"select-all",command:"selectall",tooltip:"Select all"},i.I.set("copy",n()).set("cut",l()).set("paste",u()).set("select-all",h())},51457(t){t.exports=' '},51923(t,e,s){"use strict";function i(t){const e=atob(t.split(",")[1]),s=t.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(e.length),r=new Uint8Array(i);for(let t=0;e.length>t;t+=1)r[t]=e.charCodeAt(t);return new Blob([r],{type:s})}s.d(e,{z(){return i}})},51957(t){t.exports=' '},52052(t,e,s){"use strict";s.d(e,{A(){return n}});var i=s(55186),r=s(38046),o=s(95274);function n(t,e,s){const{parentNode:a}=e;return a===s||!i.J.isHTMLElement(a)||i.J.next(e,r._,a)||i.J.prev(e,r._,a)?null:t.isElementCommit&&t.elementIsBlock&&!i.J.isBlock(a)?n(t,a,s):!(0,o.sz)(t,a,!1)||i.J.isBlock(a)&&!t.elementIsBlock?t.isElementCommit&&!i.J.isBlock(a)?n(t,a,s):null:a}},52201(t,e,s){"use strict";function i(t){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t=>typeof t:t=>t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t,i(t)}function r(t,e,s){var r=s.value;if("function"!=typeof r)throw new TypeError("@boundMethod decorator can only be applied to methods not: ".concat(i(r)));var o=!1;return{configurable:!0,get(){if(o||this===t.prototype||this.hasOwnProperty(e)||"function"!=typeof r)return r;var s=r.bind(this);return o=!0,Object.defineProperty(this,e,{configurable:!0,get(){return s},set(t){r=t,delete this[e]}}),o=!1,s},set(t){r=t}}}function o(t){var e;return"undefined"!=typeof Reflect&&"function"==typeof Reflect.ownKeys?e=Reflect.ownKeys(t.prototype):(e=Object.getOwnPropertyNames(t.prototype),"function"==typeof Object.getOwnPropertySymbols&&(e=e.concat(Object.getOwnPropertySymbols(t.prototype)))),e.forEach((e=>{if("constructor"!==e){var s=Object.getOwnPropertyDescriptor(t.prototype,e);"function"==typeof s.value&&Object.defineProperty(t.prototype,e,r(t,e,s))}})),t}function n(){return 1===arguments.length?o.apply(void 0,arguments):r.apply(void 0,arguments)}s.d(e,{Ay(){return n}})},52306(t,e,s){"use strict";s.d(e,{e(){return o}}),s(17352);var i=s(3593);const r=Object.keys(i);function o(t,e,s,o,n){let a=!1;const l=t.o.cleanHTML.disableCleanFilter;for(const c of r)if(!(l&&l.has(c)||(a=(0,i[c])(t,e,a,s,o,n),e.isConnected)))return!0;return a}},52450(t){t.exports=' '},53048(t,e,s){"use strict";s.d(e,{$6(){return o.$6},$n(){return i.$n},CP(){return n.CP},D$(){return r.D},F0(){return o.F0},In(){return a.I},SB(){return i.SB},Ue(){return n.Ue},XV(){return o.XV},Yh(){return o.Yh},bk(){return n.bk},cY(){return o.cY},lD(){return i.lD},nE(){return o.nE},ss(){return i.ss},tS(){return o.tS},ue(){return i.ue},z2(){return c.z},z4(){return n.z4},zD(){return l.z}});var i=s(35265),r=s(29780),o=s(20703),n=s(29012),a=s(931),l=s(96369),c=s(92227)},53113(t){t.exports.default=["הקלד משהו...","About Jodit","Jodit Editor","Jodit User's Guide","contains detailed help for using.","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","מקום עיגון","פתח בכרטיסיה חדשה","פתח את העורך בחלון חדש","נקה עיצוב","שנה צבע טקסט או רקע","בצע שוב","בטל","מודגש","נטוי","הכנס רשימת תבליטים","הכנס רשימה ממוספרת","מרכז","ישר ","ישר לשמאל","ישר לימין","הכנס קו אופקי","הכנס תמונה","הכנס קובץ","הכנס סרטון וידאו מYouTube/Vimeo","הכנס קישור","גודל גופן","גופן","מעוצב מראש","רגיל","כותרת 1","כותרת 2","כותרת 3","כותרת 4","ציטוט","קוד","הכנס","הכנס טבלה","הקטן כניסה","הגדל כניסה","בחר תו מיוחד","הכנס תו מיוחד","העתק עיצוב","החלף מצב","ריווח","עליון","ימין","תחתון","שמאל","עיצוב CSS","מחלקת CSS","יישור","ימין","מרכז","שמאל","--לא נקבע--","מקור","כותרת","כיתוב חלופי","קישור","פתח בכרטיסיה חדשה","תמונה","קובץ","מתקדם","מאפייני תמונה","ביטול","אישור","סייר הקבצים","שגיאה בזמן טעינת רשימה","שגיאה בזמן טעינת תקיות","האם אתה בטוח?","הכנס שם תקיה","צור תקיה","סוג הקובץ","הסר תמונה","הסר קובץ","או לחץ","כיתוב חלופי","העלה","סייר","רקע","טקסט","עליון","מרכז","תחתון","הכנס עמודה לפני","הכנס עמודה אחרי","הכנס שורה מעל","הכנס שורה מתחת","מחק טבלה","מחק שורה","מחק עמודה","רוקן תא","תווים: %d","מילים: %d","קו חוצה","קו תחתון","superscript","subscript","גזור בחירה","בחר הכל","שבירת שורה","חפש","החלף ב","להחליף","הדבק","בחר תוכן להדבקה","HTML","מודגש","נטוי","מברשת","קישור","בטל","בצע שוב","טבלה","תמונה","מחק","פסקה","גודל גופן","וידאו","גופן","עלינו","הדפס","קו תחתון","קו חוצה","הגדל כניסה","הקטן כניסה","גודל מלא","כווץ","קו אופקי","רשימת תבליטים","רשימה ממוספרת","חתוך","בחר הכל","הוסף קוד","פתח קישור","ערוך קישור","ללא מעקב","בטל קישור","עדכן","כדי לערוך","הצג","כתובת","ערוך","יישור אופקי","סנן","מין לפי שינוי","מיין לפי שם","מיין לפי גודל","הוסף תקייה","אפס","שמור","שמור בשם...","שנה גודל","חתוך","רוחב","גובה","שמור יחס","כן","לא","הסר","בחר","נבחר: %s","יישור אנכי","פיצול","מזג","הוסף עמודה","הוסף שורה",null,"מחק","פיצול אנכי","פיצול אופקי","מסגרת","הקוד דומה לHTML, האם להשאיר כHTML","הדבק כHTML","השאר","הכנס כטקסט","הכנס טקסט בלבד","רק קבצים המשוייכים שלך ניתנים לעריכה. האם להוריד את הקובץ?","התמונה עלתה בהצלחה!","לוח","אין קבצים בספריה זו.","הונגרית","הזן שם חדש","תצוגה מקדימה","הורד","להדביק מהלוח","הדפדפן שלך לא תומך גישה ישירה ללוח.","העתק בחירה","העתק","רדיוס הגבול","הצג את כל","החל","נא למלא שדה זה","אנא הזן כתובת אינטרנט","ברירת המחדל","מעגל","נקודה","הריבוע הזה","למצוא","מצא את הקודם","חפש את הבא","התוכן המודבק מגיע ממסמך וורד/אקסל. האם ברצונך להשאיר את העיצוב או לנקותו",'זוהתה הדבקה מ"וורד"',"נקה","הכנס את שם הכיתה","לחץ על אלט לשינוי גודל מותאם אישית"]},53328(t){t.exports=' '},53380(t,e,s){"use strict";s.d(e,{F(){return i}});class i{constructor(t,e,s,i){this.jodit=t,this.container=e,this.toWYSIWYG=s,this.fromWYSIWYG=i,this.className="",this.isReady=!1}get j(){return this.jodit}onReady(){this.replaceUndoManager(),this.isReady=!0,this.j.e.fire(this,"ready")}onReadyAlways(t){this.isReady?t():this.j.events?.on(this,"ready",t)}}},53414(t){t.exports.default=["Type something","About Jodit","Jodit Editor","Jodit User's Guide","contains detailed help for using","For information about the license, please go to our website:","Buy full version","Copyright © XDSoft.net - Chupurnov Valeriy. All rights reserved.","Anchor","Open in new tab","Open in fullsize","Clear Formatting","Fill color or set the text color","Redo","Undo","Bold","Italic","Insert Unordered List","Insert Ordered List","Align Center","Align Justify","Align Left","Align Right","Insert Horizontal Line","Insert Image","Insert file","Insert youtube/vimeo video","Insert link","Font size","Font family","Insert format block","Normal","Heading 1","Heading 2","Heading 3","Heading 4","Quote","Code","Insert","Insert table","Decrease Indent","Increase Indent","Select Special Character","Insert Special Character","Paint format","Change mode","Margins","top","right","bottom","left","Styles","Classes","Align","Right","Center","Left","--Not Set--","Src","Title","Alternative","Link","Open link in new tab","Image","file","Advanced","Image properties","Cancel","Ok","File Browser","Error on load list","Error on load folders","Are you sure?","Enter Directory name","Create directory","type name","Drop image","Drop file","or click","Alternative text","Upload","Browse","Background","Text","Top","Middle","Bottom","Insert column before","Insert column after","Insert row above","Insert row below","Delete table","Delete row","Delete column","Empty cell","Chars: %d","Words: %d","Strike through","Underline","superscript","subscript","Cut selection","Select all","Break","Search for","Replace with","Replace","Paste","Choose Content to Paste","source","bold","italic","brush","link","undo","redo","table","image","eraser","paragraph","fontsize","video","font","about","print","underline","strikethrough","indent","outdent","fullsize","shrink","hr","ul","ol","cut","selectall","Embed code","Open link","Edit link","No follow","Unlink","Update","pencil","Eye"," URL","Edit","Horizontal align","Filter","Sort by changed","Sort by name","Sort by size","Add folder","Reset","Save","Save as ...","Resize","Crop","Width","Height","Keep Aspect Ratio","Yes","No","Remove","Select","Select %s","Vertical align","Split","Merge","Add column","Add row","License: %s","Delete","Split vertical","Split horizontal","Border","Your code is similar to HTML. Keep as HTML?","Paste as HTML","Keep","Insert as Text","Insert only Text","You can only edit your own images. Download this image on the host?","The image has been successfully uploaded to the host!","palette","There are no files","Rename","Enter new name","preview","download","Paste from clipboard","Your browser doesn't support direct access to the clipboard.","Copy selection","copy","Border radius","Show all","Apply","Please fill out this field","Please enter a web address","Default","Circle","Dot","Quadrate","Find","Find Previous","Find Next","The pasted content is coming from a Microsoft Word/Excel document. Do you want to keep the format or clean it up?","Word Paste Detected","Clean","Insert className","Press Alt for custom resizing"]},53470(t,e,s){"use strict";s.d(e,{v(){return r}});var i=s(69052);function r(t){return!!t&&(0,i.T)(t.has)&&(0,i.T)(t.add)&&(0,i.T)(t.delete)}},53701(t,e,s){"use strict";s.d(e,{A(){return r}});var i=s(98253);const r=t=>(0,i.K)(t)&&/<([A-Za-z][A-Za-z0-9]*)\b[^>]*>(.*?)<\/\1>/m.test(t.replace(/[\r\n]/g,""))},53804(t,e,s){"use strict";s.d(e,{B(){return f},n(){return g}});var i,r=s(31635),o=s(77753),n=s(22664),a=s(71842),l=s(65147),c=s(35265),u=s(36115),d=(s(93027),s(24863));const h="jodit-image-editor",p="resize",m="crop";let g=i=class t extends o.vG{className(){return"ImageEditor"}get o(){return this.options}hide(){this._dialog.close()}open(t,e){return this.j.async.promise((s=>{const i=(new Date).getTime();this.image=this.j.c.element("img"),(0,l.$$)("img,.jodit-icon_loader",this.resize_box).forEach(a.J.safeRemove),(0,l.$$)("img,.jodit-icon_loader",this.crop_box).forEach(a.J.safeRemove),(0,l.css)(this.cropHandler,"background","transparent"),this.onSave=e,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"})),this.image.setAttribute("src",t+=/\?/.test(t)?"&_tst="+i:"?_tst="+i),this._dialog.open();const{widthInput:r,heightInput:o}=(0,l.refs)(this.editor),n=()=>{this.isDestructed||(this.image.removeEventListener("load",n),this.naturalWidth=this.image.naturalWidth,this.naturalHeight=this.image.naturalHeight,r.value=""+this.naturalWidth,o.value=""+this.naturalHeight,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.J.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"),s(this._dialog))};this.image.addEventListener("load",n),this.image.complete&&n()}))}onTitleModeClick(t){const e=this,s=t.target,i=s?.parentElement;if(!i)return;(0,l.$$)(`.${h}__slider,.${h}__area`,e.editor).forEach((t=>t.classList.remove(h+"_active"))),i.classList.add(h+"_active"),this.activeTab=(0,l.attr)(i,"-area")||p;const r=e.editor.querySelector(`.${h}__area.${h}__area_`+e.activeTab);r&&r.classList.add(h+"_active"),e.activeTab===m&&e.showCrop()}onChangeSizeInput(t){const e=this,s=t.target,{widthInput:i,heightInput:r}=(0,l.refs)(this.editor),o="widthInput"===(0,l.attr)(s,"data-ref"),n=parseInt(s.value,10),a=o?e.o.min_height:e.o.min_width;let c;n>(o?e.o.min_width:e.o.min_height)&&((0,l.css)(e.image,o?"width":"height",n),e.resizeUseRatio&&(c=Math.round(o?n/e.ratio:n*e.ratio),c>a&&((0,l.css)(e.image,o?"height":"width",c),o?r.value=""+c:i.value=""+c))),this.j.e.fire(e.resizeHandler,"updatesize")}onResizeHandleMouseDown(t){const e=this;e.target=t.target,t.preventDefault(),t.stopImmediatePropagation(),e.clicked=!0,e.start_x=t.clientX,e.start_y=t.clientY,e.activeTab===m?(e.top_x=(0,l.css)(e.cropHandler,"left"),e.top_y=(0,l.css)(e.cropHandler,"top"),e.width=e.cropHandler.offsetWidth,e.height=e.cropHandler.offsetHeight):(e.width=e.image.offsetWidth,e.height=e.image.offsetHeight),e.j.e.on(this.j.ow,"mousemove",this.onGlobalMouseMove).one(this.j.ow,"mouseup",this.onGlobalMouseUp)}onGlobalMouseUp(t){this.clicked&&(this.clicked=!1,t.stopImmediatePropagation(),this.j.e.off(this.j.ow,"mousemove",this.onGlobalMouseMove))}onGlobalMouseMove(t){const e=this;if(!e.clicked)return;const{widthInput:s,heightInput:i}=(0,l.refs)(this.editor);e.diff_x=t.clientX-e.start_x,e.diff_y=t.clientY-e.start_y,e.activeTab===p&&e.resizeUseRatio||e.activeTab===m&&e.cropUseRatio?e.diff_x?(e.new_w=e.width+e.diff_x,e.new_h=Math.round(e.new_w/e.ratio)):(e.new_h=e.height+e.diff_y,e.new_w=Math.round(e.new_h*e.ratio)):(e.new_w=e.width+e.diff_x,e.new_h=e.height+e.diff_y),e.activeTab===p?(e.new_w>e.o.resizeMinWidth&&((0,l.css)(e.image,"width",e.new_w+"px"),s.value=""+e.new_w),e.new_h>e.o.resizeMinHeight&&((0,l.css)(e.image,"height",e.new_h+"px"),i.value=""+e.new_h),this.j.e.fire(e.resizeHandler,"updatesize")):(e.target!==e.cropHandler?(e.top_x+e.new_w>e.cropImage.offsetWidth&&(e.new_w=e.cropImage.offsetWidth-e.top_x),e.top_y+e.new_h>e.cropImage.offsetHeight&&(e.new_h=e.cropImage.offsetHeight-e.top_y),(0,l.css)(e.cropHandler,{width:e.new_w,height:e.new_h})):(e.top_x+e.diff_x+e.cropHandler.offsetWidth>e.cropImage.offsetWidth&&(e.diff_x=e.cropImage.offsetWidth-e.top_x-e.cropHandler.offsetWidth),(0,l.css)(e.cropHandler,"left",e.top_x+e.diff_x),e.top_y+e.diff_y+e.cropHandler.offsetHeight>e.cropImage.offsetHeight&&(e.diff_y=e.cropImage.offsetHeight-e.top_y-e.cropHandler.offsetHeight),(0,l.css)(e.cropHandler,"top",e.top_y+e.diff_y)),this.j.e.fire(e.cropHandler,"updatesize"))}constructor(t){super(t),this.resizeUseRatio=!0,this.cropUseRatio=!0,this.clicked=!1,this.start_x=0,this.start_y=0,this.top_x=0,this.top_y=0,this.width=0,this.height=0,this.activeTab=p,this.naturalWidth=0,this.naturalHeight=0,this.ratio=0,this.new_h=0,this.new_w=0,this.diff_x=0,this.diff_y=0,this.cropBox={x:0,y:0,w:0,h:0},this.resizeBox={w:0,h:0},this.calcCropBox=()=>{const t=this.crop_box.parentNode,e=.8*t.offsetWidth,s=.8*t.offsetHeight;let i=e,r=s;const{naturalWidth:o,naturalHeight:n}=this;e>o&&s>n?(i=o,r=n):this.ratio>e/s?(i=e,r=n*(e/o)):(i=o*(s/n),r=s),(0,l.css)(this.crop_box,{width:i,height:r})},this.showCrop=()=>{if(!this.cropImage)return;this.calcCropBox();const t=this.cropImage.offsetWidth||this.image.offsetWidth||this.image.naturalWidth;this.new_w=i.calcValueByPercent(t,this.o.cropDefaultWidth);const e=this.cropImage.offsetHeight||this.image.offsetHeight||this.image.naturalHeight;this.new_h=this.cropUseRatio?this.new_w/this.ratio:i.calcValueByPercent(e,this.o.cropDefaultHeight),(0,l.css)(this.cropHandler,{backgroundImage:"url("+(0,l.attr)(this.cropImage,"src")+")",width:this.new_w,height:this.new_h,left:t/2-this.new_w/2,top:e/2-this.new_h/2}),this.j.e.fire(this.cropHandler,"updatesize")},this.updateCropBox=()=>{if(!this.cropImage)return;const t=this.cropImage.offsetWidth/this.naturalWidth,e=this.cropImage.offsetHeight/this.naturalHeight;this.cropBox.x=(0,l.css)(this.cropHandler,"left")/t,this.cropBox.y=(0,l.css)(this.cropHandler,"top")/e,this.cropBox.w=this.cropHandler.offsetWidth/t,this.cropBox.h=this.cropHandler.offsetHeight/e,this.sizes.textContent=this.cropBox.w.toFixed(0)+"x"+this.cropBox.h.toFixed(0)},this.updateResizeBox=()=>{this.resizeBox.w=this.image.offsetWidth||this.naturalWidth,this.resizeBox.h=this.image.offsetHeight||this.naturalHeight},this.setHandlers=()=>{const t=this,{widthInput:e,heightInput:s}=(0,l.refs)(this.editor);t.j.e.on([t.editor.querySelector(".jodit_bottomright"),t.cropHandler],"mousedown."+h,this.onResizeHandleMouseDown).on(this.j.ow,"resize."+h,(()=>{this.j.e.fire(t.resizeHandler,"updatesize"),t.showCrop(),this.j.e.fire(t.cropHandler,"updatesize")})),t.j.e.on((0,l.toArray)(this.editor.querySelectorAll(`.${h}__slider-title`)),"click",this.onTitleModeClick).on([e,s],"input",this.onChangeSizeInput);const{keepAspectRatioResize:i,keepAspectRatioCrop:r}=(0,l.refs)(this.editor);i&&i.addEventListener("change",(()=>{this.resizeUseRatio=i.checked})),r&&r.addEventListener("change",(()=>{this.cropUseRatio=r.checked})),t.j.e.on(t.resizeHandler,"updatesize",(()=>{(0,l.css)(t.resizeHandler,{top:0,left:0,width:t.image.offsetWidth||t.naturalWidth,height:t.image.offsetHeight||t.naturalHeight}),this.updateResizeBox()})).on(t.cropHandler,"updatesize",(()=>{if(!t.cropImage)return;let e=(0,l.css)(t.cropHandler,"left"),s=(0,l.css)(t.cropHandler,"top"),i=t.cropHandler.offsetWidth,r=t.cropHandler.offsetHeight;0>e&&(e=0),0>s&&(s=0),e+i>t.cropImage.offsetWidth&&(i=t.cropImage.offsetWidth-e,t.cropUseRatio&&(r=i/t.ratio)),s+r>t.cropImage.offsetHeight&&(r=t.cropImage.offsetHeight-s,t.cropUseRatio&&(i=r*t.ratio)),(0,l.css)(t.cropHandler,{width:i,height:r,left:e,top:s,backgroundPosition:-e-1+"px "+(-s-1)+"px",backgroundSize:t.cropImage.offsetWidth+"px "+t.cropImage.offsetHeight+"px"}),t.updateCropBox()})),Object.values(t.buttons).forEach((i=>{i.onAction((()=>{const r={action:t.activeTab,box:t.activeTab===p?t.resizeBox:t.cropBox};switch(i){case t.buttons.saveas:t.j.prompt("Enter new name","Save in new file",(e=>{if(!(0,l.trim)(e))return t.j.alert("The name should not be empty"),!1;t.onSave(e,r,t.hide,(e=>{t.j.alert(e.message)}))}));break;case t.buttons.save:t.onSave(void 0,r,t.hide,(e=>{t.j.alert(e.message)}));break;case t.buttons.reset:t.activeTab===p?((0,l.css)(t.image,{width:null,height:null}),e.value=""+t.naturalWidth,s.value=""+t.naturalHeight,t.j.e.fire(t.resizeHandler,"updatesize")):t.showCrop()}}))}))},this.options=t&&t.o&&t.o.imageeditor?t.o.imageeditor:u.T.defaultOptions.imageeditor;const e=this.options;this.resizeUseRatio=e.resizeUseRatio,this.cropUseRatio=e.cropUseRatio,this.buttons={reset:(0,c.$n)(this.j,"update","Reset"),save:(0,c.$n)(this.j,"save","Save"),saveas:(0,c.$n)(this.j,"save","Save as ...")},this.activeTab=e.resize?p:m,this.editor=(0,d.Z)(this.j,this.options);const{resizeBox:s,cropBox:r}=(0,l.refs)(this.editor);this.resize_box=s,this.crop_box=r,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()}destruct(){this.isDestructed||(this._dialog&&!this._dialog.isInDestruct&&this._dialog.destruct(),a.J.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())}};function f(t,e,s,i,r,o){return this.getInstance("ImageEditor",this.o).open(t,((t,n,a,c)=>(0,l.call)("resize"===n.action?this.dataProvider.resize:this.dataProvider.crop,s,i,e,t,n.box).then((t=>{t&&(a(),r&&r())})).catch((t=>{c(t),o&&o(t)}))))}g.calcValueByPercent=(t,e)=>{const s=""+e,i=parseFloat(""+t);let r;return r=/^[-+]?[0-9]+(px)?$/.exec(s),r?parseInt(s,10):(r=/^([-+]?[0-9.]+)%$/.exec(s),r?Math.round(i*(parseFloat(r[1])/100)):i||0)},(0,r.Cg)([n.autobind],g.prototype,"hide",null),(0,r.Cg)([n.autobind],g.prototype,"open",null),(0,r.Cg)([n.autobind],g.prototype,"onTitleModeClick",null),(0,r.Cg)([(0,n.debounce)(),n.autobind],g.prototype,"onChangeSizeInput",null),(0,r.Cg)([n.autobind],g.prototype,"onResizeHandleMouseDown",null),(0,r.Cg)([n.autobind],g.prototype,"onGlobalMouseUp",null),(0,r.Cg)([(0,n.throttle)(10)],g.prototype,"onGlobalMouseMove",null),g=i=(0,r.Cg)([n.component],g)},53808(t){t.exports=' '},53883(t,e,s){"use strict";s.d(e,{Y(){return r.Y},d(){return i.d}});var i=s(49853),r=s(91672)},54522(t){t.exports=' '},55142(t){"use strict";t.exports={"copy-format":"복사 형식"}},55186(t,e,s){"use strict";s.d(e,{J(){return l}});var i=s(17352),r=s(42448),o=s(9823),n=s(59101),a=s(97369);class l{constructor(){throw Error("Dom is static module")}static detach(t){for(;t&&t.firstChild;)t.removeChild(t.firstChild)}static wrapNextInline(t,e,s){let i;const r=t;let o=t;s.s.save();let n=!1;do{n=!1,i=o.nextSibling,!i||l.isBlock(i)||l.isTag(i,"br")||(n=!0,o=i)}while(n);return l.__wrapElements(e,s,r,o)}static __wrapElements(t,e,s,i){const r=(0,o.Kg)(t)?e.createInside.element(t):t;s.parentNode&&s.parentNode.insertBefore(r,s);let n=s;for(;n&&(n=s.nextSibling,r.appendChild(s),s!==i&&n);)s=n;return e.s.restore(),r}static wrapInline(t,e,s){let i,r=t,o=t;s.s.save();let n=!1;do{n=!1,i=r.previousSibling,i&&!l.isBlock(i)&&(n=!0,r=i)}while(n);do{n=!1,i=o.nextSibling,i&&!l.isBlock(i)&&(n=!0,o=i)}while(n);return l.__wrapElements(e,s,r,o)}static wrap(t,e,s){const i=(0,o.Kg)(e)?s.element(e):e;if(l.isNode(t)){if(!t.parentNode)throw(0,a.error)("Element should be in DOM");t.parentNode.insertBefore(i,t),i.appendChild(t)}else{const e=t.extractContents();t.insertNode(i),i.appendChild(e)}return i}static unwrap(t){const e=t.parentNode;if(e){for(;t.firstChild;)e.insertBefore(t.firstChild,t);l.safeRemove(t)}}static between(t,e,s){let i=t;for(;i&&i!==e&&(t===i||!s(i));){let t=i.firstChild||i.nextSibling;if(!t){for(;i&&!i.nextSibling;)i=i.parentNode;t=i?.nextSibling}i=t}}static replace(t,e,s,i=!1,n=!1){let a;if((0,o.AH)(e)&&(e=s.fromHTML(e)),a=(0,o.Kg)(e)?s.element(e):e,!n)for(;t.firstChild;)a.appendChild(t.firstChild);return i&&l.isElement(t)&&l.isElement(a)&&(0,r.$)(t.attributes).forEach((t=>{a.setAttribute(t.name,t.value)})),t.parentNode&&t.parentNode.replaceChild(a,t),a}static isEmptyTextNode(t){return l.isText(t)&&(!t.nodeValue||0===t.nodeValue.replace(i.INVISIBLE_SPACE_REG_EXP(),"").trim().length)}static isEmptyContent(t){return l.each(t,(t=>l.isEmptyTextNode(t)))}static isContentEditable(t,e){return l.isNode(t)&&!l.closest(t,(t=>l.isElement(t)&&"false"===t.getAttribute("contenteditable")),e)}static isEmpty(t,e=i.NO_EMPTY_TAGS){if(!t)return!0;let s;s=(0,o.Tn)(e)?e:t=>e.has(t.nodeName.toLowerCase());const r=t=>null==t.nodeValue||0===(0,n.Bq)(t.nodeValue).length;return l.isText(t)?r(t):!(l.isElement(t)&&s(t))&&l.each(t,(t=>{if(l.isText(t)&&!r(t)||l.isElement(t)&&s(t))return!1}))}static isNode(t){return!!(t&&(0,o.Kg)(t.nodeName)&&"number"==typeof t.nodeType&&t.childNodes&&(0,o.Tn)(t.appendChild))}static isCell(t){return l.isNode(t)&&("TD"===t.nodeName||"TH"===t.nodeName)}static isList(t){return l.isTag(t,i.LIST_TAGS)}static isLeaf(t){return l.isTag(t,"li")}static isImage(t){return l.isNode(t)&&/^(img|svg|picture|canvas)$/i.test(t.nodeName)}static isBlock(t){return!(0,o.Rd)(t)&&"object"==typeof t&&l.isNode(t)&&i.IS_BLOCK.test(t.nodeName)}static isText(t){return!(!t||t.nodeType!==Node.TEXT_NODE)}static isComment(t){return!(!t||t.nodeType!==Node.COMMENT_NODE)}static isElement(t){if(!l.isNode(t))return!1;const e=t.ownerDocument?.defaultView;return!(!e||t.nodeType!==Node.ELEMENT_NODE)}static isFragment(t){if(!l.isNode(t))return!1;const e=t.ownerDocument?.defaultView;return!(!e||t.nodeType!==Node.DOCUMENT_FRAGMENT_NODE)}static isHTMLElement(t){if(!l.isNode(t))return!1;const e=t.ownerDocument?.defaultView;return!!(e&&t instanceof e.HTMLElement)}static isInlineBlock(t){return l.isElement(t)&&!/^(BR|HR)$/i.test(t.tagName)&&-1!==["inline","inline-block"].indexOf(""+(0,a.css)(t,"display"))}static canSplitBlock(t){return!(0,o.Rd)(t)&&l.isHTMLElement(t)&&l.isBlock(t)&&!/^(TD|TH|CAPTION|FORM)$/.test(t.nodeName)&&void 0!==t.style&&!/^(fixed|absolute)/i.test(t.style.position)}static last(t,e){let s=t?.lastChild;if(!s)return null;do{if(e(s))return s;let i=s.lastChild;if(i||(i=s.previousSibling),!i&&s.parentNode!==t){do{s=s.parentNode}while(s&&!s?.previousSibling&&s.parentNode!==t);i=s?.previousSibling}s=i}while(s);return null}static prev(t,e,s,i=!0){return l.find(t,e,s,!1,i)}static next(t,e,s,i=!0){return l.find(t,e,s,!0,i)}static prevWithClass(t,e){return l.prev(t,(t=>l.isElement(t)&&t.classList.contains(e)),t.parentNode)}static nextWithClass(t,e){return l.next(t,(t=>l.isElement(t)&&t.classList.contains(e)),t.parentNode)}static find(t,e,s,i=!0,r=!0){const o=this.nextGen(t,s,i,r);let n=o.next();for(;!n.done;){if(e(n.value))return n.value;n=o.next()}return null}static*nextGen(t,e,s=!0,i=!0){const r=[];let o=t;do{let e=s?o.nextSibling:o.previousSibling;for(;e;)r.unshift(e),e=s?e.nextSibling:e.previousSibling;yield*this.runInStack(t,r,s,i),o=o.parentNode}while(o&&o!==e);return null}static each(t,e,s=!0){const i=this.eachGen(t,s);let r=i.next();for(;!r.done;){if(!1===e(r.value))return!1;r=i.next()}return!0}static eachGen(t,e=!0){return this.runInStack(t,[t],e)}static*runInStack(t,e,s,i=!0){for(;e.length;){const r=e.pop();if(i){let t=s?r.lastChild:r.firstChild;for(;t;)e.push(t),t=s?t.previousSibling:t.nextSibling}t!==r&&(yield r)}}static findWithCurrent(t,e,s,i="nextSibling",r="firstChild"){let o=t;do{if(e(o))return o||null;if(r&&o&&o[r]){const t=l.findWithCurrent(o[r],e,o,i,r);if(t)return t}for(;o&&!o[i]&&o!==s;)o=o.parentNode;o&&o[i]&&o!==s&&(o=o[i])}while(o&&o!==s);return null}static findSibling(t,e=!0,s=t=>!l.isEmptyTextNode(t)){let i=l.sibling(t,e);for(;i&&!s(i);)i=l.sibling(i,e);return i&&s(i)?i:null}static findNotEmptySibling(t,e){return l.findSibling(t,e,(t=>!l.isEmptyTextNode(t)&&!!(!l.isText(t)||t.nodeValue?.length&&(0,n.Bq)(t.nodeValue))))}static findNotEmptyNeighbor(t,e,s){return(0,a.call)(e?l.prev:l.next,t,(t=>!(!t||(l.isText(t)||l.isComment(t))&&!(0,n.Bq)(t?.nodeValue||"").length)),s)}static sibling(t,e){return e?t.previousSibling:t.nextSibling}static up(t,e,s,i=!1){let r=t;if(!r)return null;do{if(e(r))return r;if(r===s||!r.parentNode)break;r=r.parentNode}while(r&&r!==s);return r===s&&i&&e(r)?r:null}static closest(t,e,s){let i;const r=t=>t.toLowerCase();if((0,o.Tn)(e))i=e;else if((0,o.cy)(e)||(0,o.vM)(e)){const t=(0,o.vM)(e)?e:new Set(e.map(r));i=e=>!(!e||!t.has(r(e.nodeName)))}else i=t=>!(!t||r(e)!==r(t.nodeName));return l.up(t,i,s)}static furthest(t,e,s){let i=null,r=t?.parentElement;for(;r&&r!==s;)e(r)&&(i=r),r=r?.parentElement;return i}static appendChildFirst(t,e){const s=t.firstChild;s?s!==e&&t.insertBefore(e,s):t.appendChild(e)}static after(t,e){const{parentNode:s}=t;s&&(s.lastChild===t?s.appendChild(e):s.insertBefore(e,t.nextSibling))}static before(t,e){const{parentNode:s}=t;s&&s.insertBefore(e,t)}static prepend(t,e){t.insertBefore(e,t.firstChild)}static append(t,e){(0,o.cy)(e)?e.forEach((e=>{this.append(t,e)})):t.appendChild(e)}static moveContent(t,e,s=!1,o=()=>!0){const n=(t.ownerDocument||i.globalDocument).createDocumentFragment();(0,r.$)(t.childNodes).filter((t=>!!o(t)||(l.safeRemove(t),!1))).forEach((t=>{n.appendChild(t)})),s&&e.firstChild?e.insertBefore(n,e.firstChild):e.appendChild(n)}static isOrContains(t,e,s=!1){return t===e?!s:!!(e&&t&&this.up(e,(e=>e===t),t,!0))}static safeRemove(...t){t.forEach((t=>l.isNode(t)&&t.parentNode&&t.parentNode.removeChild(t)))}static safeInsertNode(t,e){t.collapsed||t.deleteContents();const s=l.isFragment(e)?e.lastChild:e;t.startContainer===t.endContainer&&t.collapsed&&l.isTag(t.startContainer,i.INSEPARABLE_TAGS)?l.after(t.startContainer,e):(t.insertNode(e),s&&t.setStartBefore(s)),t.collapse(!0),[e.nextSibling,e.previousSibling].forEach((t=>l.isText(t)&&!t.nodeValue&&l.safeRemove(t)))}static hide(t){t&&((0,a.dataBind)(t,"__old_display",t.style.display),t.style.display="none")}static show(t){if(!t)return;const e=(0,a.dataBind)(t,"__old_display");"none"===t.style.display&&(t.style.display=e||"")}static isTag(t,e){if(!this.isElement(t))return!1;const s=t.tagName.toLowerCase(),i=t.tagName.toUpperCase();if(e instanceof Set)return e.has(s)||e.has(i);if(Array.isArray(e))throw new TypeError("Dom.isTag does not support array");return s===e||i===e}static markTemporary(t,e){return e&&(0,a.attr)(t,e),(0,a.attr)(t,i.TEMP_ATTR,!0),t}static isTemporary(t){return!!l.isElement(t)&&((0,o.rg)(t)||"true"===(0,a.attr)(t,i.TEMP_ATTR))}static replaceTemporaryFromString(t){return t.replace(/<([a-z]+)[^>]+data-jodit-temp[^>]+>(.+?)<\/\1>/gi,"$2")}static temporaryList(t){return(0,a.$$)(`[${i.TEMP_ATTR}]`,t)}}},55265(t,e,s){"use strict";s.d(e,{S(){return n}});var i=s(55186),r=s(38322),o=s(53380);class n extends o.F{constructor(){super(...arguments),this.autosize=this.j.async.debounce((()=>{this.instance.style.height="auto",this.instance.style.height=this.instance.scrollHeight+"px"}),this.j.defaultTimeout)}init(t){this.instance=t.c.element("textarea",{class:"jodit-source__mirror",dir:"rtl"===t.o.direction?"rtl":void 0}),this.container.appendChild(this.instance),t.e.on(this.instance,"mousedown keydown touchstart input",t.async.debounce(this.toWYSIWYG,t.defaultTimeout)).on("setMinHeight.source",(t=>{(0,r.A)(this.instance,"minHeight",t)})).on(this.instance,"change keydown mousedown touchstart input",this.autosize).on("afterSetMode.source",this.autosize).on(this.instance,"mousedown focus",(e=>{t.e.fire(e.type,e)})),this.autosize(),this.onReady()}destruct(){i.J.safeRemove(this.instance)}getValue(){return this.instance.value}setValue(t){this.instance.value=t}insertRaw(t){const e=this.getValue();if(0>this.getSelectionStart())this.setValue(e+t);else{const s=this.getSelectionStart(),i=this.getSelectionEnd();this.setValue(e.substring(0,s)+t+e.substring(i,e.length))}}getSelectionStart(){return this.instance.selectionStart}getSelectionEnd(){return this.instance.selectionEnd}setSelectionRange(t,e=t){this.instance.setSelectionRange(t,e)}get isFocused(){return this.instance===this.j.od.activeElement}focus(){this.instance.focus()}blur(){this.instance.blur()}setPlaceHolder(t){this.instance.setAttribute("placeholder",t)}setReadOnly(t){t?this.instance.setAttribute("readonly","true"):this.instance.removeAttribute("readonly")}selectAll(){this.instance.select()}replaceUndoManager(){const{history:t}=this.jodit;this.j.e.on(this.instance,"keydown",(e=>{if((e.ctrlKey||e.metaKey)&&"z"===e.key)return e.shiftKey?t.redo():t.undo(),this.setSelectionRange(this.getValue().length),!1}))}}},55835(t){"use strict";t.exports={Spellcheck:"拼写检查"}},55989(t,e,s){"use strict";var i=s(31635),r=s(22664),o=s(56298),n=s(65147),a=s(37435);s(84018);const l="addnewline";class c extends a.Plugin{constructor(){super(...arguments),this.__line=this.j.c.fromHTML(`
${a.Icon.get("enter")}
`),this.__isMatchedTag=t=>!(!t||!this.j.o.addNewLineTagsTriggers.includes(t.nodeName.toLowerCase())),this.__isBeforeContent=!1,this.__lineInFocus=!1,this.__isShown=!1,this.__hideForce=()=>{this.__isShown&&(this.__isShown=!1,this.j.async.clearTimeout(this.__timeout),this.__lineInFocus=!1,a.Dom.safeRemove(this.__line),this.__line.style.setProperty("--jd-anl-handle-offset","0"))},this.__canGetFocus=t=>null!=t&&a.Dom.isBlock(t)&&!/^(img|table|iframe|hr)$/i.test(t.nodeName),this.__onClickLine=t=>{const e=this.j,s=e.createInside.element(e.o.enter);this.__isBeforeContent&&this.__current&&this.__current.parentNode?this.__current===e.editor?a.Dom.prepend(e.editor,s):this.__current.parentNode.insertBefore(s,this.__current):e.editor.appendChild(s),e.s.setCursorIn(s),(0,n.scrollIntoViewIfNeeded)(s,e.editor,e.ed),e.synchronizeValues(),this.__hideForce(),t.preventDefault()}}__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(t){t&&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(t){t.o.addNewLine&&(t.e.on(this.__line,"mousemove",(t=>{t.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(){const t=this.j;t.e.off(t.editor,"."+l).off(t.container,"."+l).off("."+l).on([t.ow,t.ew,t.editor],"scroll."+l,this.__hideForce).on("finishedCleanHTMLWorker."+l,this.__hideForce).on(t.editor,"click."+l,this.__hide).on(t.container,"mouseleave."+l,this.__hide).on(t.editor,"mousemove."+l,this.__onMouseMove)}onDblClickEditor(t){const e=this.j;if(!e.o.readonly&&e.o.addNewLineOnDBLClick&&t.target===e.editor&&e.s.isCollapsed()){const s=(0,n.offset)(e.editor,e,e.ed),i=t.pageY-e.ew.scrollX,r=e.createInside.element(e.o.enter);Math.abs(i-(s.height+s.top))>Math.abs(i-s.top)&&e.editor.firstChild?e.editor.insertBefore(r,e.editor.firstChild):e.editor.appendChild(r),e.s.setCursorIn(r),e.synchronizeValues(),this.__hideForce(),t.preventDefault()}}__onMouseMove(t){const e=this.j;let s=e.ed.elementFromPoint(t.clientX,t.clientY);if(!a.Dom.isHTMLElement(s)||!a.Dom.isOrContains(e.editor,s))return;if(e.editor===s||this.__isMatchedTag(s)||(s=a.Dom.closest(s,this.__isMatchedTag,e.editor)),!s)return void this.__hide();if(this.__isMatchedTag(s)){const t=a.Dom.up(s,a.Dom.isBlock,e.editor);t&&t!==e.editor&&(s=t)}const i=(0,n.position)(s,this.j);let r=!1,{clientY:o,clientX:l}=t;if(this.j.iframe){const{top:t,left:e}=(0,n.position)(this.j.iframe,this.j,!0);o+=t,l+=e}const c=this.j.o.addNewLineDeltaShow;Math.abs(o-i.top)>c?Math.abs(o-(i.top+i.height))>c||(r=i.top+i.height,this.__isBeforeContent=!1):(r=i.top,this.__isBeforeContent=!0);const u=e.editor===s;!1!==r&&(u&&!this.__isBeforeContent||!u&&!(0,n.call)(this.__isBeforeContent?a.Dom.prev:a.Dom.next,s,this.__canGetFocus,e.editor))?(this.__line.style.top=r+"px",this.__current=s,this.__show(),this.__line.style.setProperty("--jd-anl-handle-offset",l-i.left-10+"px")):(this.__current=!1,this.__hide())}beforeDestruct(){this.j.async.clearTimeout(this.__timeout),this.j.e.off(this.__line).off("changePlace",this.__addEventListeners),a.Dom.safeRemove(this.__line),this.j.e.off([this.j.ow,this.j.ew,this.j.editor],"."+l).off(this.j.container,"."+l).off("."+l)}}(0,i.Cg)([(0,r.watch)(":lock")],c.prototype,"onLock",null),(0,i.Cg)([r.autobind],c.prototype,"__hide",null),(0,i.Cg)([(0,r.watch)(":dblclick")],c.prototype,"onDblClickEditor",null),(0,i.Cg)([(0,r.throttle)((t=>t.defaultTimeout))],c.prototype,"__onMouseMove",null),o.fg.add("addNewLine",c)},56014(t){t.exports.default=["Napiš něco","O Jodit","Editor Jodit","Jodit Uživatelská příručka","obsahuje detailní nápovědu","Pro informace o licenci, prosím, přejděte na naši stránku:","Koupit plnou verzi","Copyright © XDSoft.net - Chupurnov Valeriy. Všechna práva vyhrazena.","Anchor","Otevřít v nové záložce","Otevřít v celoobrazovkovém režimu","Vyčistit formátování","Barva výplně a písma","Vpřed","Zpět","Tučné","Kurzíva","Odrážky","Číslovaný seznam","Zarovnat na střed","Zarovnat do bloku","Zarovnat vlevo","Zarovnat vpravo","Vložit horizontální linku","Vložit obrázek","Vložit soubor","Vložit video (YT/Vimeo)","Vložit odkaz","Velikost písma","Typ písma","Formátovat blok","Normální text","Nadpis 1","Nadpis 2","Nadpis 3","Nadpis 4","Citát","Kód","Vložit","Vložit tabulku","Zmenšit odsazení","Zvětšit odsazení","Vybrat speciální symbol","Vložit speciální symbol","Použít formát","Změnit mód","Okraje","horní","pravý","spodní","levý","Styly","Třídy","Zarovnání","Vpravo","Na střed","Vlevo","--nenastaveno--","src","Titulek","Alternativní text (alt)","Link","Otevřít link v nové záložce","Obrázek","soubor","Rozšířené","Vlastnosti obrázku","Zpět","Ok","Prohlížeč souborů","Chyba při načítání seznamu souborů","Chyba při načítání složek","Jste si jistý(á)?","Název složky","Vytvořit složku","název","Přetáhněte sem obrázek","Přetáhněte sem soubor","nebo klikněte","Alternativní text","Nahrát","Server","Pozadí","Text","Nahoru","Na střed","Dolu","Vložit sloupec před","Vložit sloupec za","Vložit řádek nad","Vložit řádek pod","Vymazat tabulku","Vymazat řádku","Vymazat sloupec","Vyčistit buňku","Znaky: %d","Slova: %d","Přeškrtnuto","Podtrženo","Horní index","Dolní index","Vyjmout označené","Označit vše","Zalomení","Najdi","Nahradit za","Vyměňte","Vložit","Vyber obsah pro vložení","HTML","tučně","kurzíva","štětec","odkaz","zpět","vpřed","tabulka","obrázek","guma","odstavec","velikost písma","video","písmo","о editoru","tisk","podtrženo","přeškrtnuto","zvětšit odsazení","zmenšit odsazení","celoobrazovkový režim","smrsknout","Linka","Odrážka","Číslovaný seznam","Vyjmout","Označit vše","Kód","Otevřít odkaz","Upravit odkaz","Atribut no-follow","Odstranit odkaz","Aktualizovat","Chcete-li upravit","Zobrazit","URL","Editovat","Horizontální zarovnání","Filtr","Dle poslední změny","Dle názvu","Dle velikosti","Přidat složku","Reset","Uložit","Uložit jako...","Změnit rozměr","Ořezat","Šířka","Výška","Ponechat poměr","Ano","Ne","Vyjmout","Označit","Označit %s","Vertikální zarovnání","Rozdělit","Spojit","Přidat sloupec","Přidat řádek","Licence: %s","Vymazat","Rozdělit vertikálně","Rozdělit horizontálně","Okraj","Váš text se podobá HTML. Vložit ho jako HTML?","Vložit jako HTML","Ponechat originál","Vložit jako TEXT","Vložit pouze TEXT","Můžete upravovat pouze své obrázky. Načíst obrázek?","Obrázek byl úspěšně nahrán!","paleta","V tomto adresáři nejsou žádné soubory.","přejmenovat","Zadejte nový název","náhled","Stažení","Vložit ze schránky","Váš prohlížeč nepodporuje přímý přístup do schránky.","Kopírovat výběr","kopírování","Border radius","Zobrazit všechny","Platí","Prosím, vyplňte toto pole","Prosím, zadejte webovou adresu","Výchozí","Kruh","Dot","Quadrate","Najít","Najít Předchozí","Najít Další","Obsah, který vkládáte, je pravděpodobně z Microsoft Word / Excel. Chcete ponechat formát nebo vložit pouze text?","Detekován fragment z Wordu nebo Excelu","Vyčistit","Vložte název třídy","Stiskněte Alt pro vlastní změnu velikosti"]},56114(t){"use strict";t.exports={symbols:"symbol"}},56176(t,e,s){"use strict";s.d(e,{Z(){return l}});var i=s(17352),r=s(55186),o=s(59101),n=s(58720);function a(t){return t.replace(/mso-[a-z-]+:[\s]*[^;]+;/gi,"").replace(/mso-[a-z-]+:[\s]*[^";']+$/gi,"").replace(/border[a-z-]*:[\s]*[^;]+;/gi,"").replace(/([0-9.]+)(pt|cm)/gi,((t,e,s)=>{switch(s.toLowerCase()){case"pt":return(1.328*parseFloat(e)).toFixed(0)+"px";case"cm":return(.02645833*parseFloat(e)).toFixed(0)+"px"}return t}))}function l(t){if(-1===t.indexOf("")+7);const e=i.globalDocument.createElement("iframe");e.style.display="none",i.globalDocument.body.appendChild(e);let s="",l=[];try{const c=e.contentDocument||(e.contentWindow?e.contentWindow.document:null);if(c){c.open(),c.write(t),c.close();try{for(let t=0;c.styleSheets.length>t;t+=1){const e=c.styleSheets[t].cssRules;for(let t=0;e.length>t;t+=1)""!==e[t].selectorText&&(l=(0,n.$$)(e[t].selectorText,c.body),l.forEach((s=>{s.style.cssText=a(e[t].style.cssText+";"+s.style.cssText)})))}}catch(t){if(!i.IS_PROD)throw t}r.J.each(c.body,(t=>{if(r.J.isElement(t)){const e=t,s=e.getAttribute("style");s&&(e.style.cssText=a(s)),e.hasAttribute("style")&&!e.getAttribute("style")&&e.removeAttribute("style")}})),s=c.firstChild?(0,o.Bq)(c.body.innerHTML):""}}catch{}finally{r.J.safeRemove(e)}return s&&(t=s),(0,o.Bq)(t.replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(//i);-1!==e&&(t=t.substring(e+20));const s=t.search(//i);return-1!==s&&(t=t.substring(0,s)),t})(s)),e.s.insertHTML(s)}function l(t){const e=t.types;let s="";if((0,o.cy)(e)||"[object DOMStringList]"==={}.toString.call(e))for(let t=0;e.length>t;t+=1)s+=e[t]+";";else s=(e||i.TEXT_PLAIN)+";";return s}function c(t,e,s,i,r){if(!1===t.e.fire("beforeOpenPasteDialog",e,s,i,r))return;const o=t.confirm(`
${t.i18n(e)}
`,t.i18n(s)),a=r.map((({text:e,value:s})=>(0,n.$n)(t,{text:e,name:e.toLowerCase(),tabIndex:0}).onAction((()=>{o.close(),i(s)}))));o.e.one(o,"afterClose",(()=>{t.s.isFocused()||t.s.focus()}));const l=(0,n.$n)(t,{text:"Cancel",tabIndex:0}).onAction((()=>{o.close()}));return o.setFooter([...a,l]),a[0].focus(),a[0].state.variant="primary",t.e.fire("afterOpenPasteDialog",o,e,s,i,r),o}},91093(t,e,s){"use strict";s.d(e,{R(){return c},n(){return l}});var i=s(17352),r=s(98253),o=s(10467),n=s(97369),a=s(36115);const l=(t,e)=>{if(!e||!e.length)return t;const s=/%([sd])/g;let i=s.exec(t),r=t,o=0;for(;i&&void 0!==e[o];)r=r.replace(i[0],""+e[o]),o+=1,i=s.exec(t);return r};function c(t,e,s){if(!(0,r.K)(t))throw(0,n.error)("i18n: Need string in first argument");if(!t.length)return t;const c=!!s?.debugLanguage;let u={};const d=t=>e&&e.length?l(t,e):t,h=(0,n.defaultLanguage)(a.T.defaultOptions.language,a.T.defaultOptions.language),p=(0,n.defaultLanguage)(s?.language,h),m=e=>{if(!e)return;if((0,r.K)(e[t]))return d(e[t]);const s=t.toLowerCase();if((0,r.K)(e[s]))return d(e[s]);const i=(0,o.Z)(t);return(0,r.K)(e[i])?d(e[i]):void 0};void 0!==i.lang[p]?u=i.lang[p]:c||(u=void 0!==i.lang[h]?i.lang[h]:i.lang.en);const g=s?.i18n;if(g&&g[p]){const t=m(g[p]);if(t)return t}return m(u)||(!c&&i.lang.en&&(0,r.K)(i.lang.en[t])&&i.lang.en[t]?d(i.lang.en[t]):c?"{"+t+"}":d(t))}},91115(t){t.exports=' '},91479(t,e,s){"use strict";s.d(e,{C(){return n}});var i=s(31635),r=s(24767),o=s(53048);let n=class t extends o.D${className(){return"UIMessage"}constructor(t,e){super(t),this.setMod("active",!0),this.setMod("variant",e.variant),this.container.textContent=e.text}};n=(0,i.Cg)([r.s],n)},91560(t,e,s){"use strict";s.d(e,{X(){return a}});var i=s(69052),r=s(26150),o=s(92032),n=s(58006);function a(t,e,s,a,l){const c=this instanceof n.l?this:new n.l({closeOnClickOverlay:!0}),u=(0,o.$n)(c,"cancel","Cancel"),d=(0,o.$n)(c,"ok","Ok"),h=c.c.element("form",{class:"jodit-dialog_prompt"}),p=c.c.element("input",{autofocus:!0,class:"jodit-input"}),m=c.c.element("label");(0,i.T)(e)&&(s=e,e=void 0),a&&(0,r.C)(p,"placeholder",a),m.appendChild(c.c.text(t)),h.appendChild(m),h.appendChild(p),u.onAction(c.close);const g=()=>{s&&(0,i.T)(s)&&!1===s(p.value)||c.close()};return d.onAction(g),c.e.on(h,"submit",(()=>(g(),!1))),c.setFooter([d,u]),c.open(h,e||" ",!0,!0),p.focus(),void 0!==l&&l.length&&(p.value=l,p.select()),c}},91594(t,e,s){"use strict";s.d(e,{c(){return i}});const i=(t,e,s,r=!1)=>{let o;try{o=t.getBoundingClientRect()}catch(t){o={top:0,bottom:0,left:0,right:0,width:0,height:0}}const n=s.body,a=s.documentElement||{clientTop:0,clientLeft:0,scrollTop:0,scrollLeft:0},l=s.defaultView||s.parentWindow,c=l.pageYOffset||a.scrollTop||n.scrollTop,u=l.pageXOffset||a.scrollLeft||n.scrollLeft,d=a.clientTop||n.clientTop||0,h=a.clientLeft||n.clientLeft||0;let p,m;const g=e.iframe;if(!r&&e&&e.options&&e.o.iframe&&g){const{top:t,left:s}=i(g,e,e.od,!0);p=o.top+t,m=o.left+s}else p=o.top+c-d,m=o.left+u-h;return{top:Math.round(p),left:Math.round(m),width:o.width,height:o.height}}},91672(t,e,s){"use strict";s.d(e,{Y(){return i}});class i{get url(){return this.request.url}constructor(t,e,s,i){this.request=t,this.status=e,this.statusText=s,this.body=i}async json(){return JSON.parse(this.body)}text(){return Promise.resolve(this.body)}async blob(){return this.body}}},91882(t){t.exports=' '},91902(t,e,s){"use strict";s.d(e,{N(){return l}});var i=s(31635),r=s(24767),o=s(38322),n=s(6455),a=s(91479);let l=class t extends n.U{className(){return"UIMessages"}constructor(t,e,s={defaultTimeout:3e3,defaultOffset:5}){super(t),this.__box=e,this.options=s,this.__messages=new Set}info(t,e){this.__message(t,"info",e)}success(t,e){this.__message(t,"success",e)}error(t,e){this.__message(t,"error",e)}message(t,e,s){this.__message(t,e,s)}__message(t,e="info",s){const i=t+":"+e;if(this.__messages.has(i))return void this.async.updateTimeout(i,s||this.options.defaultTimeout);if(!this.__box)throw Error("Container is not defined: "+i);this.__box.appendChild(this.container);const r=new a.C(this.j,{text:t,variant:e});this.append(r),this.__calcOffsets(),this.__messages.add(i);const o=this.__getRemoveCallback(r,i);this.j.e.on(r.container,"pointerdown",o),this.async.setTimeout(o,{label:i,timeout:s||this.options.defaultTimeout})}__getRemoveCallback(t,e){const s=i=>{i&&i.preventDefault(),t.isInDestruct||(this.async.clearTimeout(e),this.j.e.off(t.container,"pointerdown",s),this.__messages.delete(e),t.setMod("active",!1),this.async.setTimeout((()=>{this.remove(t),t.destruct(),this.__calcOffsets()}),300))};return s}__calcOffsets(){let t=5;this.elements.forEach((e=>{(0,o.A)(e.container,"bottom",t+"px"),t+=e.container.offsetHeight+this.options.defaultOffset}))}};l=(0,i.Cg)([r.s],l)},92032(t,e,s){"use strict";s.d(e,{$n(){return g},lD(){return m},ue(){return p}});var i=s(31635),r=s(64567),o=s(22664),n=s(55186),a=s(69052),l=s(98253),c=s(97369),u=s(29780),d=s(94070),h=s(931);const p=()=>({size:"middle",type:"button",role:"button",name:"",value:"",variant:"initial",disabled:!1,activated:!1,icon:{name:"empty",fill:"",iconURL:""},tooltip:"",text:"",tabIndex:void 0});let m=class t extends u.D{className(){return"UIButton"}setState(t){return Object.assign(this.state,t),this}get text(){return this.getElm("text")}get icon(){return this.getElm("icon")}onChangeSize(){this.setMod("size",this.state.size)}onChangeType(){(0,c.attr)(this.container,"type",this.state.type)}onChangeRole(){(0,c.attr)(this.container,"role",this.state.role)}updateSize(){const t=this.closest(d.z);t&&(this.state.size=t.buttonSize)}onChangeStatus(){this.setMod("variant",this.state.variant)}onChangeText(){this.text.textContent=this.jodit.i18n(this.state.text)}onChangeTextSetMode(){this.setMod("text-icons",!!this.state.text.trim().length)}onChangeDisabled(){(0,c.attr)(this.container,"disabled",this.state.disabled||null)}onChangeActivated(){(0,c.attr)(this.container,"aria-pressed",this.state.activated)}onChangeName(){this.container.classList.add(`${this.componentName}_${this.clearName(this.state.name)}`),this.name=this.state.name,(0,c.attr)(this.container,"data-ref",this.state.name),(0,c.attr)(this.container,"ref",this.state.name)}onChangeTooltip(){this.get("j.o.useNativeTooltip")&&(0,c.attr)(this.container,"title",this.state.tooltip),(0,c.attr)(this.container,"aria-label",this.state.tooltip)}onChangeTabIndex(){(0,c.attr)(this.container,"tabindex",this.state.tabIndex)}onChangeIcon(){const t=this.get("j.o.textIcons");if(!0===t||(0,a.T)(t)&&t(this.state.name))return;n.J.detach(this.icon);const e=h.I.makeIcon(this.j,this.state.icon);e&&this.icon.appendChild(e)}focus(){this.container.focus()}isFocused(){const{activeElement:t}=this.od;return!(!t||!n.J.isOrContains(this.container,t))}createContainer(){const t=this.componentName,e=this.j.c.element("button",{class:t,type:"button",role:"button",ariaPressed:!1}),s=this.j.c.span(t+"__icon"),i=this.j.c.span(t+"__text");return e.appendChild(s),e.appendChild(i),e}constructor(t,e){super(t),this.isButton=!0,this.state=p(),this.actionHandlers=[],this.button=this.container,this.updateSize(),this.onChangeSize(),this.onChangeStatus(),e&&this.hookStatus(r.f.ready,(()=>{this.setState(e)}))}destruct(){return this.j.e.off(this.container),super.destruct()}onAction(t){return this.actionHandlers.push(t),this}__onActionFire(t){t.buffer={actionTrigger:this},this.actionHandlers.forEach((e=>e.call(this,t)))}};function g(t,e,s,i){const r=new m(t);return r.state.tabIndex=t.o.allowTabNavigation?0:-1,(0,l.K)(e)?(r.state.icon.name=e,r.state.name=e,i&&(r.state.variant=i),s&&(r.state.text=s)):r.setState(e),r}(0,i.Cg)([o.cache],m.prototype,"text",null),(0,i.Cg)([o.cache],m.prototype,"icon",null),(0,i.Cg)([(0,o.watch)("state.size",{immediately:!1})],m.prototype,"onChangeSize",null),(0,i.Cg)([(0,o.watch)("state.type",{immediately:!1})],m.prototype,"onChangeType",null),(0,i.Cg)([(0,o.watch)("state.role",{immediately:!1})],m.prototype,"onChangeRole",null),(0,i.Cg)([(0,o.watch)("parentElement")],m.prototype,"updateSize",null),(0,i.Cg)([(0,o.watch)("state.variant",{immediately:!1})],m.prototype,"onChangeStatus",null),(0,i.Cg)([(0,o.watch)("state.text",{immediately:!1})],m.prototype,"onChangeText",null),(0,i.Cg)([(0,o.watch)("state.text",{immediately:!1})],m.prototype,"onChangeTextSetMode",null),(0,i.Cg)([(0,o.watch)("state.disabled")],m.prototype,"onChangeDisabled",null),(0,i.Cg)([(0,o.watch)("state.activated")],m.prototype,"onChangeActivated",null),(0,i.Cg)([(0,o.watch)("state.name",{immediately:!1})],m.prototype,"onChangeName",null),(0,i.Cg)([(0,o.watch)("state.tooltip",{immediately:!1})],m.prototype,"onChangeTooltip",null),(0,i.Cg)([(0,o.watch)("state.tabIndex",{immediately:!1})],m.prototype,"onChangeTabIndex",null),(0,i.Cg)([(0,o.watch)("state.icon",{immediately:!1})],m.prototype,"onChangeIcon",null),(0,i.Cg)([o.cacheHTML],m.prototype,"createContainer",null),(0,i.Cg)([(0,o.watch)("button:click")],m.prototype,"__onActionFire",null),m=(0,i.Cg)([o.component],m)},92039(t,e,s){"use strict";function i(t){return t&&"function"==typeof t.then}s.d(e,{y(){return i}})},92097(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(56298),a=s(65147),l=s(71005);s(67915);const c="__jodit_imageprocessor_binded",u=c+"blob-id";class d extends l.k{afterInit(t){}beforeDestruct(t){const e=(0,o.cached)(t,"buffer"),s=e?.get(u);if(e&&s){const t=Object.keys(s);for(const e of t)URL.revokeObjectURL(e);e.delete(u)}}onAfterGetValueFromEditor(t,e){if(e!==r.SOURCE_CONSUMER)return this.onBeforeSetElementValue(t)}onBeforeSetElementValue(t){const{jodit:e}=this;if(!e.o.imageProcessor.replaceDataURIToBlobIdInView)return;const s=e.buffer.get(u);if(s){const e=Object.keys(s);for(const i of e)for(;t.value.includes(i);)t.value=t.value.replace(i,s[i])}}async afterChange(t){const{jodit:e}=this;e.editor&&(0,a.$$)("img",e.editor).forEach((t=>{(0,a.dataBind)(t,c)||((0,a.dataBind)(t,c,!0),t.complete||e.e.on(t,"load",(function s(){!e.isInDestruct&&e.e?.fire("resize"),e.e.off(t,"load",s)})),t.src&&/^data:/.test(t.src)&&((t,e)=>{if(!t.o.imageProcessor.replaceDataURIToBlobIdInView)return;if("undefined"==typeof ArrayBuffer||"undefined"==typeof URL)return;const s=e.src,i=(t=>{const e=atob(t.split(",")[1]),s=t.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(e.length),r=new Uint8Array(i);for(let t=0;e.length>t;t++)r[t]=e.charCodeAt(t);return new Blob([i],{type:s})})(s);e.src=URL.createObjectURL(i),t.e.fire("internalUpdate");const{buffer:r}=t,o=r.get(u)||{};o[e.src]=s,t.buffer.set(u,o)})(e,t),e.e.on(t,"mousedown touchstart",(()=>{e.s.select(t)})))}))}}(0,i.Cg)([(0,o.watch)(":afterGetValueFromEditor")],d.prototype,"onAfterGetValueFromEditor",null),(0,i.Cg)([(0,o.watch)(":beforeSetElementValue")],d.prototype,"onBeforeSetElementValue",null),(0,i.Cg)([(0,o.watch)([":change",":afterInit",":changePlace"]),(0,o.debounce)()],d.prototype,"afterChange",null),n.fg.add("imageProcessor",d)},92225(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(55186),a=s(56298),l=s(71005);class c extends l.k{afterInit(t){}beforeDestruct(t){}onKeyDownArrow(t){if(t.key!==r.KEY_RIGHT||!this.j.selection.isCollapsed())return;const{endContainer:e,endOffset:s}=this.j.selection.range;if(n.J.isText(e)&&e.nodeValue?.length===s){const{parentNode:t}=e;n.J.isInlineBlock(t)&&!n.J.findNotEmptyNeighbor(t,!1,this.j.editor)&&n.J.after(t,this.j.createInside.text(r.NBSP_SPACE))}}}(0,i.Cg)([(0,o.watch)(":keydown")],c.prototype,"onKeyDownArrow",null),a.fg.add("keyArrowOutside",c)},92227(t,e,s){"use strict";s.d(e,{z(){return o}});var i=s(55186),r=s(29780);class o extends r.D{className(){return"ProgressBar"}render(){return"
"}show(){return(this.j.workplace||this.j.container).appendChild(this.container),this}hide(){return i.J.safeRemove(this.container),this}progress(t){return this.container.style.width=t.toFixed(2)+"%",this}destruct(){return this.hide(),super.destruct()}}},92553(t,e,s){"use strict";var i=s(71842),r=s(56298),o=s(36115);o.T.prototype.autofocus=!1,o.T.prototype.cursorAfterAutofocus="end",o.T.prototype.saveSelectionOnBlur=!0,r.fg.add("focus",(t=>{t.o.saveSelectionOnBlur&&t.e.on("blur",(()=>{t.isEditorMode()&&t.s.save(!0)})).on("focus",(()=>{t.s.restore()}));const e=()=>{if(t.s.focus(),"end"===t.o.cursorAfterAutofocus){const e=i.J.last(t.editor,(t=>i.J.isText(t)));e&&t.s.setCursorIn(e,!1)}};t.e.on("afterInit",(()=>{t.o.autofocus&&(t.defaultTimeout?t.async.setTimeout(e,300):e())})),t.e.on("afterInit afterAddPlace",(()=>{t.e.off(t.editor,"mousedown.autofocus").on(t.editor,"mousedown.autofocus",(e=>{t.isEditorMode()&&e.target&&i.J.isBlock(e.target)&&!e.target.childNodes.length&&(t.editor===e.target?t.s.focus():t.s.setCursorIn(e.target))}))}))}))},92657(t){"use strict";t.exports={Spellcheck:"Sprawdzanie pisowni"}},92852(t,e,s){"use strict";s.d(e,{X(){return n}});var i=s(17352),r=s(55186),o=s(65147);s(28712);class n{get doc(){return(0,o.isFunction)(this.document)?this.document():this.document}constructor(t,e){this.document=t,this.createAttributes=e}element(t,e,s){const i=this.doc.createElement(t.toLowerCase());return this.applyCreateAttributes(i),e&&((0,o.isPlainObject)(e)?(0,o.attr)(i,e):s=e),s&&(0,o.asArray)(s).forEach((t=>i.appendChild((0,o.isString)(t)?this.fromHTML(t):t))),i}div(t,e,s){const i=this.element("div",e,s);return t&&(i.className=t),i}sandbox(){const t=this.element("iframe",{sandbox:"allow-same-origin"});this.doc.body.appendChild(t);const e=t.contentWindow?.document;if(!e)throw Error("Iframe error");return e.open(),e.write(""),e.close(),[e.body,t]}span(t,e,s){const i=this.element("span",e,s);return t&&(i.className=t),i}a(t,e,s){const i=this.element("a",e,s);return t&&(i.className=t),i}text(t){return this.doc.createTextNode(t)}fake(){return this.text(i.INVISIBLE_SPACE)}fragment(){return this.doc.createDocumentFragment()}fromHTML(t,e){const s=this.div();s.innerHTML=""+t;const i=s.firstChild===s.lastChild&&s.firstChild?s.firstChild:s;if(r.J.safeRemove(i),e){const t=(0,o.refs)(i);Object.keys(e).forEach((s=>{const i=t[s];i&&!1===e[s]&&r.J.hide(i)}))}return i}applyCreateAttributes(t){if(this.createAttributes){const e=this.createAttributes;if(e&&e[t.tagName.toLowerCase()]){const s=e[t.tagName.toLowerCase()];(0,o.isFunction)(s)?s(t):(0,o.isPlainObject)(s)&&(0,o.attr)(t,s)}}}}},92998(t,e,s){"use strict";s.d(e,{F(){return r}});var i=s(59101);const r=(...t)=>t.filter((t=>(0,i.Bq)(t).length)).map(((e,s)=>(e=e.replace(/([^:])[\\/]+/g,"$1/"),s&&(e=e.replace(/^\//,"")),s!==t.length-1&&(e=e.replace(/\/$/,"")),e))).join("/")},93027(t,e,s){"use strict";var i=s(931),r=s(36115),o=s(928),n=s.n(o),a=s(31230),l=s.n(a);r.T.prototype.imageeditor={min_width:20,min_height:20,closeAfterSave:!1,width:"85%",height:"85%",crop:!0,resize:!0,resizeUseRatio:!0,resizeMinWidth:20,resizeMinHeight:20,cropUseRatio:!0,cropDefaultWidth:"70%",cropDefaultHeight:"70%"},i.I.set("crop",n()).set("resize",l())},93267(t){t.exports=' '},93324(t,e,s){"use strict";var i=s(17352),r=s(36115);r.T.prototype.askBeforePasteFromWord=!0,r.T.prototype.processPasteFromWord=!0,r.T.prototype.defaultActionOnPasteFromWord=null,r.T.prototype.pasteFromWordActionList=[{value:i.INSERT_AS_HTML,text:"Keep"},{value:i.INSERT_AS_TEXT,text:"Clean"},{value:i.INSERT_ONLY_TEXT,text:"Insert only Text"}]},93495(t,e,s){"use strict";s.d(e,{s(){return i.s}});var i=s(96768)},93669(t,e,s){"use strict";var i=s(31635),r=s(17352),o=s(22664),n=s(55186),a=s(56298),l=s(65147),c=s(71005),u=(s(90722),s(1992));class d extends c.k{constructor(){super(...arguments),this.buttons=[{name:"source",group:"source"}],this.__lock=!1,this.__oldMirrorValue="",this.tempMarkerStart="{start-jodit-selection}",this.tempMarkerStartReg=/{start-jodit-selection}/g,this.tempMarkerEnd="{end-jodit-selection}",this.tempMarkerEndReg=/{end-jodit-selection}/g,this.getSelectionStart=()=>this.sourceEditor?.getSelectionStart()??0,this.getSelectionEnd=()=>this.sourceEditor?.getSelectionEnd()??0}onInsertHTML(t){if(!this.j.o.readonly&&!this.j.isEditorMode())return this.sourceEditor?.insertRaw(t),this.toWYSIWYG(),!1}fromWYSIWYG(t=!1){if(!this.__lock||!0===t){this.__lock=!0;const t=this.j.getEditorValue(!1,r.SOURCE_CONSUMER);t!==this.getMirrorValue()&&this.setMirrorValue(t),this.__lock=!1}}toWYSIWYG(){if(this.__lock)return;const t=this.getMirrorValue();t!==this.__oldMirrorValue&&(this.__lock=!0,this.j.value=t,this.__lock=!1,this.__oldMirrorValue=t)}getNormalPosition(t,e){for(e=e.replace(/<(script|style|iframe)[^>]*>[^]*?<\/\1>/im,(t=>{let e="";for(let s=0;t.length>s;s+=1)e+=r.INVISIBLE_SPACE;return e}));t>0&&e[t]===r.INVISIBLE_SPACE;)t--;let s=t;for(;s>0;){if(s--,"<"===e[s]&&void 0!==e[s+1]&&e[s+1].match(/[\w/]+/i))return s;if(">"===e[s])return t}return t}clnInv(t){return t.replace(r.INVISIBLE_SPACE_REG_EXP(),"")}onSelectAll(t){if("selectall"===t.toLowerCase()&&this.j.getRealMode()===r.MODE_SOURCE)return this.sourceEditor?.selectAll(),!1}getMirrorValue(){return this.sourceEditor?.getValue()||""}setMirrorValue(t){this.sourceEditor?.setValue(t)}setFocusToMirror(){this.sourceEditor?.focus()}saveSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG)this.j.s.save(),this.j.synchronizeValues(),this.fromWYSIWYG(!0);else{if(this.j.o.editHTMLDocumentMode)return;const t=this.getMirrorValue();if(this.getSelectionStart()===this.getSelectionEnd()){const e=this.j.s.marker(!0),s=this.getNormalPosition(this.getSelectionStart(),this.getMirrorValue());this.setMirrorValue(t.substring(0,s)+this.clnInv(e.outerHTML)+t.substring(s))}else{const e=this.j.s.marker(!0),s=this.j.s.marker(!1),i=this.getNormalPosition(this.getSelectionStart(),t),r=this.getNormalPosition(this.getSelectionEnd(),t);this.setMirrorValue(t.slice(0,i)+this.clnInv(e.outerHTML)+t.slice(i,r)+this.clnInv(s.outerHTML)+t.slice(r))}this.toWYSIWYG()}}removeSelection(){if(this.j.getRealMode()===r.MODE_WYSIWYG)return this.__lock=!0,this.j.s.restore(),void(this.__lock=!1);let t=this.getMirrorValue(),e=0,s=0;try{if(t=t.replace(/]+data-jodit-selection_marker=(["'])start\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerStart).replace(/]+data-jodit-selection_marker=(["'])end\1[^>]*>[<>]*?<\/span>/gim,this.tempMarkerEnd),!this.j.o.editHTMLDocumentMode&&this.j.o.beautifyHTML){const e=this.j.e.fire("beautifyHTML",t);(0,l.isString)(e)&&(t=e)}if(e=t.indexOf(this.tempMarkerStart),s=e,t=t.replace(this.tempMarkerStartReg,""),-1!==e){const e=t.indexOf(this.tempMarkerEnd);-1!==e&&(s=e)}t=t.replace(this.tempMarkerEndReg,"")}finally{t=t.replace(this.tempMarkerEndReg,"").replace(this.tempMarkerStartReg,"")}this.setMirrorValue(t),this.setMirrorSelectionRange(e,s),this.toWYSIWYG(),this.setFocusToMirror()}setMirrorSelectionRange(t,e){this.sourceEditor?.setSelectionRange(t,e)}onReadonlyReact(){this.sourceEditor?.setReadOnly(this.j.o.readonly)}afterInit(t){if(this.mirrorContainer=t.c.div("jodit-source"),t.workplace.appendChild(this.mirrorContainer),t.e.on("afterAddPlace changePlace afterInit",(()=>{t.workplace.appendChild(this.mirrorContainer)})),this.sourceEditor=(0,u.b)("area",t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG),t.e.on(t.ow,"keydown",(t=>{t.key===r.KEY_ESC&&this.sourceEditor?.isFocused&&this.sourceEditor.blur()})),this.onReadonlyReact(),t.e.on("placeholder.source",(t=>{this.sourceEditor?.setPlaceHolder(t)})).on("change.source",this.syncValueFromWYSIWYG).on("beautifyHTML",(t=>t)),t.o.beautifyHTML){const e=()=>{if(t.isInDestruct)return!1;const e=t.ow.html_beautify;return!(!e||t.isInDestruct||(t.events?.off("beautifyHTML").on("beautifyHTML",(t=>e(t))),0))};e()||(0,l.loadNext)(t,t.o.beautifyHTMLCDNUrlsJS).then(e,(()=>null))}this.syncValueFromWYSIWYG(!0),this.initSourceEditor(t)}syncValueFromWYSIWYG(t=!1){const e=this.j;e.getMode()!==r.MODE_SPLIT&&e.getMode()!==r.MODE_SOURCE||this.fromWYSIWYG(t)}initSourceEditor(t){if("area"!==t.o.sourceEditor){const e=(0,u.b)(t.o.sourceEditor,t,this.mirrorContainer,this.toWYSIWYG,this.fromWYSIWYG);e.onReadyAlways((()=>{this.sourceEditor?.destruct(),this.sourceEditor=e,this.syncValueFromWYSIWYG(!0),t.events?.fire("sourceEditorReady",t)}))}else this.sourceEditor?.onReadyAlways((()=>{this.syncValueFromWYSIWYG(!0),t.events?.fire("sourceEditorReady",t)}))}beforeDestruct(){this.sourceEditor&&(this.sourceEditor.destruct(),delete this.sourceEditor),n.J.safeRemove(this.mirrorContainer)}}(0,i.Cg)([(0,o.watch)(":insertHTML.source")],d.prototype,"onInsertHTML",null),(0,i.Cg)([o.autobind],d.prototype,"fromWYSIWYG",null),(0,i.Cg)([o.autobind],d.prototype,"toWYSIWYG",null),(0,i.Cg)([o.autobind],d.prototype,"getNormalPosition",null),(0,i.Cg)([(0,o.watch)(":beforeCommand.source")],d.prototype,"onSelectAll",null),(0,i.Cg)([(0,o.watch)(":beforeSetMode.source")],d.prototype,"saveSelection",null),(0,i.Cg)([(0,o.watch)(":afterSetMode.source")],d.prototype,"removeSelection",null),(0,i.Cg)([o.autobind],d.prototype,"setMirrorSelectionRange",null),(0,i.Cg)([(0,o.watch)(":readonly.source")],d.prototype,"onReadonlyReact",null),(0,i.Cg)([o.autobind],d.prototype,"syncValueFromWYSIWYG",null),a.fg.add("source",d)},94070(t,e,s){"use strict";s.d(e,{z(){return m}});var i=s(31635),r=s(37474),o=s(22664),n=s(42589),a=s(92032),l=s(6455),c=s(86283),u=s(13642),d=s(39611),h=s(57023),p=s(37424);let m=class t extends l.U{className(){return"UIList"}__onChangeMode(){this.setMod("mode",this.mode)}constructor(t){super(t),this.mode="horizontal",this.removeButtons=[]}makeGroup(){return new l.U(this.jodit)}get buttons(){return this.allChildren.filter((t=>r.u.isInstanceOf(t,a.lD)))}getButtonsNames(){return this.buttons.map((t=>t instanceof a.lD&&t.state.name||"")).filter((t=>""!==t))}setRemoveButtons(t){return this.removeButtons=t||[],this}build(t,e=null){t=(0,n.u)(t),this.clear();let s,i=!1,r=this.makeGroup();this.append(r),r.setMod("line",!0);const o=t=>{let o=null;switch(t.name){case"\n":r=this.makeGroup(),r.setMod("line",!0),s=this.makeGroup(),r.append(s),this.append(r);break;case"|":i||(i=!0,o=new c.C(this.j));break;case"---":{s.setMod("before-spacer",!0);const t=new u.b(this.j);r.append(t),s=this.makeGroup(),r.append(s),i=!1;break}default:i=!1,o="select"===t.component?this.makeSelect(t,e):this.makeButton(t,e)}o&&(s||(s=this.makeGroup(),r.append(s)),s.append(o))},a=t=>!this.removeButtons.includes(t.name)&&(!t.isVisible||t.isVisible?.(this.j,t));return t.forEach((t=>{if((0,d.i)(t)){const e=t.buttons.filter((t=>t));e.length&&(s=this.makeGroup(),s.setMod("separated",!0).setMod("group",t.group),r.append(s),(0,p.Q)(e,this.j.o.controls).filter(a).forEach(o))}else{s||(s=this.makeGroup(),r.append(s));const e=(0,h.U)(t,this.j.o.controls);a(e)&&o(e)}})),this.update(),this}makeSelect(t,e){throw Error("Not implemented behaviour")}makeButton(t,e){return new a.lD(this.j,{name:t.name})}};(0,i.Cg)([(0,o.watch)("mode"),(0,o.hook)("ready")],m.prototype,"__onChangeMode",null),m=(0,i.Cg)([o.component],m)},94190(t){t.exports=' '},94291(t,e,s){"use strict";var i=s(71842),r=s(65147),o=s(97369),n=s(931),a=s(36115),l=s(67447),c=s.n(l);a.T.prototype.table={selectionCellStyle:"border: 1px double #1e88e5 !important;",useExtraClassesOptions:!1},n.I.set("table",c()),a.T.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(t,e,s,n){t.editor.normalize();const a=t.history.snapshot.make(),l=n.control,c=l.data&&l.data.rows?l.data.rows:10,u=l.data&&l.data.cols?l.data.cols:10,d=t.c.fromHTML('
'+(()=>{if(!t.o.table.useExtraClassesOptions)return"";const e=[];if(l.data){const t=l.data.classList;Object.keys(t).forEach((s=>{e.push(``)}))}return e.join("")})()+'
'),h=d.querySelectorAll("span")[0],p=d.querySelectorAll("span")[1],m=d.querySelector(".jodit-form__container"),g=d.querySelector(".jodit-form__options"),f=[],v=c*u;for(let e=0;v>e;e+=1)f[e]||f.push(t.c.element("span",{dataIndex:e}));if(t.e.on(m,"mousemove",((t,e)=>{const s=t.target;if(!i.J.isTag(s,"span"))return;const r=void 0===e||isNaN(e)?parseInt((0,o.attr)(s,"-index")||"0",10):e||0,n=Math.ceil((r+1)/u),a=r%u+1;for(let t=0;f.length>t;t+=1)f[t].className=t%u+1>a||Math.ceil((t+1)/u)>n?"":"jodit_hovered";p.textContent=""+a,h.textContent=""+n})).on(m,"touchstart mousedown",(e=>{const n=e.target;if(e.preventDefault(),e.stopImmediatePropagation(),!i.J.isTag(n,"span"))return;const l=parseInt((0,o.attr)(n,"-index")||"0",10),c=Math.ceil((l+1)/u),d=l%u+1,h=t.createInside,p=h.element("tbody"),m=h.element("table");m.appendChild(p);let f,v,b=null;for(let t=1;c>=t;t+=1){f=h.element("tr");for(let t=1;d>=t;t+=1)v=h.element("td"),b||(b=v),(0,r.css)(v,"width",(100/d).toFixed(4)+"%"),v.appendChild(h.element("br")),f.appendChild(h.text("\n")),f.appendChild(h.text("\t")),f.appendChild(v);p.appendChild(h.text("\n")),p.appendChild(f)}(0,r.$$)("input[type=checkbox]:checked",g).forEach((t=>{t.value.split(/[\s]+/).forEach((t=>{m.classList.add(t)}))})),t.s.restore(),t.s.removeMarkers(),t.editor.normalize(),t.history.snapshot.restore(a);const y=i.J.furthest(t.s.current(),i.J.isBlock,t.editor);if(y&&i.J.isEmpty(y))i.J.replace(y,m,void 0,!1,!0);else if(y){const t=h.text("\n");i.J.after(y,t),i.J.after(t,m)}else t.s.insertNode(m,!1);b&&(t.s.setCursorIn(b),(0,r.scrollIntoViewIfNeeded)(b,t.editor,t.ed)),s()})),n&&n.parentElement){for(let e=0;c>e;e+=1){const s=t.c.div();for(let t=0;u>t;t+=1)s.appendChild(f[e*u+t]);m.appendChild(s)}f[0]&&(f[0].className="hovered")}return d},tooltip:"Insert table"}},94450(t,e,s){"use strict";s.d(e,{w(){return a}});var i=s(17352),r=s(55186),o=s(42448),n=s(59101);function a(t){-1!==t.indexOf("")+7));let e="";try{const s=i.globalDocument.createElement("div");s.innerHTML=t;const n=[];s.firstChild&&r.J.each(s,(t=>{if(t)switch(t.nodeType){case Node.ELEMENT_NODE:switch(t.nodeName){case"STYLE":case"LINK":case"META":n.push(t);break;case"W:SDT":case"W:SDTPR":case"FONT":r.J.unwrap(t);break;default:(0,o.$)(t.attributes).forEach((e=>{-1===["src","href","rel","content"].indexOf(e.name.toLowerCase())&&t.removeAttribute(e.name)}))}break;case Node.TEXT_NODE:break;default:n.push(t)}})),r.J.safeRemove.apply(null,n),e=s.innerHTML}catch(t){}return e&&(t=e),(t=t.split(/(\n)/).filter(n.Bq).join("\n")).replace(/<(\/)?(html|colgroup|col|o:p)[^>]*>/g,"").replace(/